PageSourceSearch

https://circleboom.com/_next/static/chunks/pages/oauth-redirect-twitter-03e8bb9a3a81e160.js

js circleboom.com collected 2026-10-01 11:30:32 UTC 5,189 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[692],{10780:(e,t,r)=>{"use strict";r.d(t,{U:()=>f});var s=r(37876),a=r(14232),n=r(41237),o=r(96896),i=r.n(o),l=r(67912),c=r.n(l);r(71625);var u=r(69241);let f=e=>{let{onChange:t,text:r,isComplated:o,fullScreen:l=!0,timeConstant:f=3e3,intervalTime:d=500}=e,p=new(i())({timeConstant:f,autoStart:!0}),h=(0,a.useRef)(),[_,x]=(0,a.useState)("0");return(0,a.useEffect)(()=>(h.current=setInterval(()=>{if(p.progress>=.999)return;let e=(100*p.progress).toFixed(0);t?.(e),x(e)},d),()=>{clearInterval(h.current)}),[]),(0,a.useEffect)(()=>{o&&(clearInterval(h.current),t?.("100"),x("100"))},[o]),l?(0,s.jsx)("div",{className:c().overlay,children:(0,s.jsxs)("div",{className:c().content,children:[(0,s.jsx)(n.QF,{className:c().circular_progressbar,value:parseFloat(_),text:`${_}%`,strokeWidth:10,styles:{path:{stroke:"#27ADE1",strokeLinecap:"round",transition:"stroke-dashoffset 0.5s ease 0s"},trail:{stroke:"#EFEFFF",strokeLinecap:"round"},text:{fontWeight:"900",fontVariantNumeric:"tabular-nums",fill:"#2A365466",fontSize:"16px"}}}),(0,s.jsx)("h2",{children:r},r),(0,s.jsx)("p",{children:"Please wait! It may take a few minutes."})]})}):(0,s.jsxs)("div",{className:(0,u.A)(c().content,!l&&c().specific),children:[(0,s.jsx)(n.QF,{className:c().circular_progressbar,value:parseFloat(_),text:`${_}%`,strokeWidth:10,styles:{path:{stroke:"#27ADE1",strokeLinecap:"round",transition:"stroke-dashoffset 0.5s ease 0s"},trail:{stroke:"#EFEFFF",strokeLinecap:"round"},text:{fontWeight:"900",fontVariantNumeric:"tabular-nums",fill:"#2A365466",fontSize:"16px"}}}),(0,s.jsx)("h2",{children:r},r),(0,s.jsx)("p",{children:"Please wait! It may take a few minutes."})]})}},37588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var s=r(37876),a=r(14232),n=r(89099),o=r(5068),i=r(59688),l=r(44937);let c=function(){let e=(0,n.useRouter)(),[t,r]=(0,a.useState)(!1),c=async()=>{let t="string"==typeof e.query.redirectURL&&e.query.redirectURL.length>0?e.query.redirectURL:"/";try{await o.A.post("/api/oauth/savextoken",{code:e.query.code,state:e.query.state,follow:e.query.follow,followCoFounder:e.query.followCoFounder,redirectURL:t}),r(!0),e.push(t)}catch(s){let r=s.response?.data?.message||"Something went wrong!";i.toast.error(r),e.push(t)}};return(0,a.useEffect)(()=>{let t=setTimeout(()=>{e.query.code&&e.query.state&&c()},3e3);return()=>clearTimeout(t)},[e.query]),(0,s.jsx)(l.UG,{text:"Authenticating with Twitter",isComplated:t})}},44937:(e,t,r)=>{"use strict";r.d(t,{et:()=>c,a3:()=>d,UG:()=>p.U});var s=r(37876),a=r(14232),n=r(26332),o=r(69241),i=r(92970),l=r.n(i);let c=e=>{let{onConfirm:t,title:r,className:i,loading:c,handleSelectAllPostwithDeleteButton:u,setCheckedAll:f,selectedTweets:d}=e,[p,h]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{d&&d?.length===0&&h(!1)},[d]),(0,s.jsxs)("button",{className:(0,o.A)(i,l().delete,p&&l().confirm),onClick:()=>{p?(t(),h(!1)):(d&&d?.length===0&&(f(!0),u()),h(!0),setTimeout(()=>{h(!1)},5e3))},title:p?"Click again to confirm":"Delete",translate:"no",children:[(0,s.jsx)("span",{"aria-hidden":"true",children:c?(0,s.jsx)(n.hW,{className:l().spinner}):p?(0,s.jsx)(n.CMH,{}):(0,s.jsx)(n.GDL,{})}),(0,s.jsx)("span",{children:c?"":p?"Confirm":r??"Delete"})]})};var u=r(75961),f=r.n(u);let d=e=>{let{count:t,size:r,maxCount:n,circleThickness:o}=e,i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=i.current;if(e){let s=2*Math.PI*(r/2-o),a=t/n*s-s;e.style.strokeDasharray=`${s}`,e.style.strokeDashoffset=`${a}`}},[o,t,n,r]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("svg",{width:r,height:r,className:"jsx-7cf3442630b3e7e8",children:[(0,s.jsx)("circle",{cx:r/2,cy:r/2,r:r/2-o,stroke:"var(--font-color)",opacity:.2,strokeWidth:o,fill:"transparent",className:"jsx-7cf3442630b3e7e8"}),(0,s.jsx)("circle",{ref:i,cx:r/2,cy:r/2,r:r/2-o,stroke:"var(--font-color)",strokeWidth:o,fill:"transparent",className:"jsx-7cf3442630b3e7e8"})]}),(0,s.jsx)(f(),{id:"7cf3442630b3e7e8",children:"svg.jsx-7cf3442630b3e7e8{transform:rotate(-90deg);transition:all.2s ease-in-out}svg.jsx-7cf3442630b3e7e8 circle.jsx-7cf3442630b3e7e8{transition:all.2s ease-in-out}"})]})};var p=r(10780)},67912:e=>{e.exports={overlay:"progress-loading_overlay__A1uDI",content:"progress-loading_content__0a_z3",specific:"progress-loading_specific__8k91q",circular_progressbar:"progress-loading_circular_progressbar__8waR7",rollout:"progress-loading_rollout__yYHfT"}},69241:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=function(){for(var e,t,r=0,s="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,s,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var n=t.length;for(r=0;r<n;
1r++)t[r]&&(s=e(t[r]))&&(a&&(a+=" "),a+=s)}else for(s in t)t[s]&&(a&&(a+=" "),a+=s);return a}(e))&&(s&&(s+=" "),s+=t);return s}},75964:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth-redirect-twitter",function(){return r(37588)}])},92970:e=>{e.exports={delete:"delete-button_delete__XVaWf",confirm:"delete-button_confirm__taIDI",spinner:"delete-button_spinner__moWvT",spin:"delete-button_spin__i2Crw"}}},e=>{e.O(0,[8585,8220,5068,6365,9688,636,6593,8792],()=>e(e.s=75964)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.