davidarroyo1234 / InstagramUnfollowers

Check if people follows you back on Instagram.
MIT License
2.98k stars 268 forks source link

Create eleni #205

Open ele532 opened 2 hours ago

ele532 commented 2 hours ago

(()=>{"use strict";var e={99:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(81),l=n.n(r),a=n(645),o=n.n(a)()(l());o.push([e.id,".main-layout,html .iu .app-header-content,html .iu{width:100%;max-width:1300px;margin:0 auto}.with-app-header,html .iu .results-container,html .iu .unfollow-log-container,html .iu .app-sidebar{padding-top:4rem !important}.flex,html .iu .tabs-container,html .iu .results-container .result-item,html .iu .app-sidebar,html .iu .app-header-content,html .iu .app-header{display:flex}.flex.align-center,html .iu .align-center.tabs-container,html .iu .results-container .result-item,html .iu .align-center.app-sidebar,html .iu .app-header-content,html .iu .align-center.app-header{align-items:center}.flex.justify-center,html .iu .justify-center.tabs-container,html .iu .results-container .justify-center.result-item,html .iu .justify-center.app-sidebar,html .iu .justify-center.app-header-content,html .iu .justify-center.app-header{justify-content:center}.flex.column,html .iu .column.tabs-container,html .iu .results-container .column.result-item,html .iu .app-sidebar,html .iu .column.app-header-content,html .iu .column.app-header{flex-direction:column}.grow,html .iu .tabs-container .tab,html .iu .results-container,html .iu .unfollow-log-container{flex:1}.w-100{width:100%}.p-small,html .iu .tabs-container .tab,html .iu .results-container .result-item .private-indicator{padding:.5rem}.p-medium,.controls,html .iu .badge,html .iu button.unfollow,html .iu .unfollow-log-container,html .iu .results-container .result-item,html .iu .results-container .alphabet-character,html .iu .app-sidebar{padding:1rem}.p-large,html .iu .tabs-container{padding:1.5rem}.p-xlarge{padding:2rem}.p-clear,html .iu button{padding:0}.m-small{margin:.5rem}.m-medium,html .iu .results-container .alphabet-character{margin:1rem}.m-large{margin:1.5rem}.m-xlarge{margin:2rem}.m-clear{margin:0}.fs-small{font-size:.5rem}.fs-medium,html .iu button.copy-list{font-size:1rem}.fs-large,.controls,html .iu button.unfollow,html .iu .app-sidebar{font-size:1.5rem}.fs-xlarge,html .iu .tabs-container .tab,html .iu .results-container .alphabet-character{font-size:2rem}.clr-inherit,html .iu button.unfollow{color:inherit}.clr-red{color:#ac2626}.clr-green{color:#56d756}.clr-cyan{color:aqua}.d-none,html .iu .results-container .result-item .avatar-container .avatar-icon-overlay-container{display:none}.t-center,html .iu .tabs-container .tab{text-align:center}.pos-relative,html .iu .results-container .result-item .avatar-container{position:relative}.setting-menu{position:absolute;top:4rem;left:50%;transform:translateX(-50%);width:750px;height:290px;background:#313131;border:1px solid #ccc;padding:1rem;z-index:100;display:flex;flex-direction:column}.setting-menu h3{text-align:center}.setting-menu .btn-container{display:flex;justify-content:center;gap:10px;position:absolute;bottom:10px;left:37%}.minimun-width{min-width:350px}.margin-between-input-and-label{margin-left:10px}.btn{border:1px solid #ccc !important;border-radius:5px !important;padding:5px 10px !important;cursor:pointer !important;color:#fff !important;background-color:gray !important;width:65px !important;height:30px !important}.btn:hover{background-color:#313131 !important}.backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.66);z-index:100}.row{display:flex;flex-wrap:wrap;margin:0 -5px}.setting-menu label,h3{font-weight:bold;color:#fff}.setting-menu input{width:60px;margin-left:10px}.warning{color:#ff0}.warning b{color:red}*{box-sizing:border-box}html{background-color:#111 !important}html body{margin:0;background-color:#111 !important}html .iu{font-family:system-ui}html .iu .overlay{color:#fff}html .iu .app-header{position:fixed;top:0;left:0;right:0;height:4rem;background-color:#222;z-index:1}html .iu .app-header-content{padding:0 1rem;justify-content:space-between}html .iu .app-header .logo{font-size:1.75rem;letter-spacing:2px;font-weight:lighter;cursor:pointer}html .iu .app-header .search-bar{color:#fff;border-radius:8px;padding:.5rem;font-weight:bold;font-family:inherit;background-color:rgba(0,0,0,0);border:1px solid #444}html .iu .app-sidebar{position:sticky;top:0;overflow:auto;height:100vh;min-width:300px;border-inline-end:1px solid #333}html .iu label{cursor:pointer}html .iu input[type=checkbox]{height:1.1rem;width:1.1rem}html .iu a{color:inherit;text-decoration-color:rgba(0,0,0,0);transition:text-decoration-color .1s;cursor:pointer}html .iu a:hover{text-decoration-color:inherit}html .iu button{background:none;border:none;cursor:pointer}html .iu button.copy-list{color:#fff}html .iu button.run-scan{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);font-size:2em;color:#fff;border:1px solid #fff;height:160px;width:160px;border-radius:50%}html .iu button.unfollow{margin-bottom:1.5rem;background-color:#ac2626 !important}html .iu .progressbar{width:100%;height:8px;position:absolute}html .iu .results-container .alphabet-character{border-bottom:1px solid #222}html .iu .results-container .result-item{border-radius:3px;cursor:pointer}html .iu .results-container .result-item .avatar-container:hover .avatar{filter:brightness(0.25) blur(3px)}html .iu .results-container .result-item .avatar-container:hover .avatar-icon-overlay-container{display:inline-block}html .iu .results-container .result-item .avatar-container .avatar{width:75px;border-radius:50%}html .iu .results-container .result-item .avatar-container .avatar-icon-overlay-container{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}html .iu .results-container .result-item .verified-badge{background-color:#49adf4;border-radius:50%;padding:.2rem .3rem;font-size:.45em;height:fit-content;transform:translateY(-15px)}html .iu .results-container .result-item .private-indicator{border:2px solid #51bb42;border-radius:25px;color:#51bb42;font-weight:500}html .iu .tabs-container .tab{color:gray;border-radius:8px;cursor:pointer}html .iu .tabs-container .tab-active{color:inherit;background-color:#222}html .iu .badge,html .iu button.unfollow{background:#222;border-radius:15px}.toast{position:fixed;display:flex;opacity:1;justify-content:space-between;align-items:start;width:100%;max-width:360px;padding:.8em;gap:.5em;bottom:1rem;right:1rem;color:#000;background-color:#fff;font-size:1.25em;border-radius:6px;z-index:2;box-shadow:0 0 10px 0 rgba(0,0,0,.2);animation:slide-out .5s ease-in-out}.toast>.toastmessage{display:flex;margin:0}.toast>.toastclose-button{background:none;border:none;color:inherit;cursor:pointer;font-size:1em}.toast .show{animation:slide-in .5s ease-in-out;display:flex;opacity:1}.toast.success{background-color:#51bb42;color:#fff}.toast.error{background-color:#f4511e;color:#fff}.toast.info{background-color:#2196f3;color:#fff}.toast.warning{background-color:#fdd835;color:#000}.controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:0}.controls .button-control{background-color:#222;border-radius:8px;padding:.5rem 1rem;color:#fff;cursor:pointer}.controls .button-pause{width:100%}",""]);const i=o},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,l,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var i=0;i<this.length;i++){var u=this[i][0];null!=u&&(o[u]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&o[s[0]]||(void 0!==a&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=a),n&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=n):s[2]=n),l&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=l):s[4]="".concat(l)),t.push(s))}},t}},81:e=>{e.exports=function(e){return e[1]}},776:(e,t,n)=>{n.r(t),n.d(t,{Children:()=>Pe,Component:()=>y,Fragment:()=>b,PureComponent:()=>Se,StrictMode:()=>mt,Suspense:()=>Me,SuspenseList:()=>We,SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>it,cloneElement:()=>ft,createContext:()=>B,createElement:()=>m,createFactory:()=>ct,createPortal:()=>Be,createRef:()=>g,default:()=>Et,findDOMNode:()=>dt,flushSync:()=>ht,forwardRef:()=>Ue,hydrate:()=>Je,isValidElement:()=>st,lazy:()=>De,memo:()=>Te,render:()=>Ke,startTransition:()=>vt,unmountComponentAtNode:()=>_t,unstable_batchedUpdates:()=>pt,useCallback:()=>se,useContext:()=>fe,useDebugValue:()=>e,useDeferredValue:()=>gt,useEffect:()=>ae,useErrorBoundary:()=>de,useId:()=>pe,useImperativeHandle:()=>ue,useInsertionEffect:()=>yt,useLayoutEffect:()=>oe,useMemo:()=>ce,useReducer:()=>le,useRef:()=>ie,useState:()=>re,useSyncExternalStore:()=>wt,useTransition:()=>bt,version:()=>ut});var r,l,a,o,i,u,c,s,f={},=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var l,a,o,i={};for(o in t)"key"==o?l=t[o]:"ref"==o?a=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===i[o]&&(i[o]=e.defaultProps[o]);return v(e,i,l,a,null)}function v(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,k:null,:null,b:0,e:null,d:void 0,c:null,h:null,constructor:void 0,v:null==o?++a:o};return null==o&&null!=l.vnode&&l.vnode(i),i}function g(){return{current:null}}function b(e){return e.children}function y(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.?w(e.,e..k.indexOf(e)+1):null;for(var n;t<e.k.length;t++)if(null!=(n=e.k[t])&&null!=n.e)return n.e;return"function"==typeof e.type?w(e):null}function E(e){var t,n;if(null!=(e=e.)&&null!=e.c){for(e.e=e.c.base=null,t=0;t<e.k.length;t++)if(null!=(n=e.k[t])&&null!=n.e){e.e=e.c.base=n.e;break}return E(e)}}function k(e){(!e.d&&(e.d=!0)&&o.push(e)&&!x.r++||i!==l.debounceRendering)&&((i=l.debounceRendering)||u)(x)}function x(){var e,t,n,r,l,a,i,u;for(o.sort(c);e=o.shift();)e.d&&(t=o.length,r=void 0,l=void 0,i=(a=(n=e).v).e,(u=n.P)&&(r=[],(l=p({},a)).v=a.v+1,L(u,a,l,n.n,void 0!==u.ownerSVGElement,null!=a.h?[i]:null,r,null==i?w(a):i,a.h),A(r,a),a.e!=i&&E(a)),o.length>t&&o.sort(c));x.r=0}function S(e,t,n,r,l,a,o,i,u,c){var s,d,p,h,m,g,y,E=r&&r._k||,k=E.length;for(n.k=[],s=0;s<t.length;s++)if(null!=(h=n.k[s]=null==(h=t[s])||"boolean"==typeof h||"function"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?v(null,h,null,null,h):Array.isArray(h)?v(b,{children:h},null,null,null):h.b>0?v(h.type,h.props,h.key,h.ref?h.ref:null,h.v):h)){if(h.=n,h.b=n.b+1,null===(p=E[s])||p&&h.key==p.key&&h.type===p.type)E[s]=void 0;else for(d=0;d<k;d++){if((p=E[d])&&h.key==p.key&&h.type===p.type){E[d]=void 0;break}p=null}L(e,h,p=p||f,l,a,o,i,u,c),m=h.e,(d=h.ref)&&p.ref!=d&&(y||(y=[]),p.ref&&y.push(p.ref,null,h),y.push(d,h.c||m,h)),null!=m?(null==g&&(g=m),"function"==typeof h.type&&h.k===p.k?h.d=u=T(h,u,e):u=N(e,h,p,E,m,u),"function"==typeof n.type&&(n.d=u)):u&&p.e==u&&u.parentNode!=e&&(u=w(p))}for(n.e=g,s=k;s--;)null!=E[s]&&("function"==typeof n.type&&null!=E[s].e&&E[s].e==n.d&&(n.d=U(r).nextSibling),D(E[s],E[s]));if(y)for(s=0;s<y.length;s++)I(y[s],y[++s],y[++s])}function T(e,t,n){for(var r,l=e.k,a=0;l&&a<l.length;a++)(r=l[a])&&(r.=e,t="function"==typeof r.type?T(r,t,n):N(n,r,r,l,r.e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function N(e,t,n,r,l,a){var o,i,u;if(void 0!==t.d)o=t.d,t.d=void 0;else if(null==n||l!=a||null==l.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(l),o=null;else{for(i=a,u=0;(i=i.nextSibling)&&u<r.length;u+=1)if(i==l)break e;e.insertBefore(l,a),o=a}return void 0!==o?o:l.nextSibling}function U(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.e;if(e.k)for(t=e.k.length-1;t>=0;t--)if((n=e.k[t])&&(r=U(n)))return r;return null}function O(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function P(e,t,n,r,l){var a;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||O(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||O(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?R:F,a):e.removeEventListener(t,a?R:F,a);else if("dangerouslySetInnerHTML"!==t){if(l)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function F(e){return this.le.type+!1}function R(e){return this.le.type+!0}function L(e,t,n,r,a,o,i,u,c){var s,f,,d,h,m,v,g,w,E,k,x,T,C,N,U=t.type;if(void 0!==t.constructor)return null;null!=n.h&&(c=n.h,u=t.e=n.e,t.h=null,o=[u]),(s=l.b)&&s(t);try{e:if("function"==typeof U){if(g=t.props,w=(s=U.contextType)&&r[s.c],E=s?w?w.props.value:s.:r,n.c?v=(f=t.c=n.c).=f.E:("prototype"in U&&U.prototype.render?t.c=f=new U(g,E):(t.c=f=new y(g,E),f.constructor=U,f.render=W),w&&w.sub(f),f.props=g,f.state||(f.state={}),f.context=E,f.n=r,=f.d=!0,f.h=[],f.sb=[]),null==f.s&&(f.s=f.state),null!=U.getDerivedStateFromProps&&(f.s==f.state&&(f.s=p({},f.s)),p(f.s,U.getDerivedStateFromProps(g,f.s))),d=f.props,h=f.state,f.v=t,)null==U.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.h.push(f.componentDidMount);else{if(null==U.getDerivedStateFromProps&&g!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(g,E),!f.e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(g,f.s,E)||t.v===n.v){for(t.v!==n.v&&(f.props=g,f.state=f.s,f.d=!1),f.e=!1,t.e=n.e,t.k=n.k,t.k.forEach((function(e){e&&(e.=t)})),k=0;k<f._sb.length;k++)f.h.push(f._sb[k]);f._sb=[],f.h.length&&i.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(g,f.s,E),null!=f.componentDidUpdate&&f.h.push((function(){f.componentDidUpdate(d,h,m)}))}if(f.context=E,f.props=g,f.P=e,x=l.r,T=0,"prototype"in U&&U.prototype.render){for(f.state=f.s,f.d=!1,x&&x(t),s=f.render(f.props,f.state,f.context),C=0;C<f._sb.length;C++)f.h.push(f._sb[C]);f._sb=[]}else do{f.d=!1,x&&x(t),s=f.render(f.props,f.state,f.context),f.state=f.s}while(f.d&&++T<25);f.state=f.s,null!=f.getChildContext&&(r=p(p({},r),f.getChildContext())),||null==f.getSnapshotBeforeUpdate||(m=f.getSnapshotBeforeUpdate(d,h)),N=null!=s&&s.type===b&&null==s.key?s.props.children:s,S(e,Array.isArray(N)?N:[N],t,n,r,a,o,i,u,c),f.base=t.e,t.h=null,f.h.length&&i.push(f),v&&(f.E=f.=null),f.e=!1}else null==o&&t.v===n.v?(t.k=n.k,t.e=n.e):t.e=M(n.e,t,n,r,a,o,i,c);(s=l.diffed)&&s(t)}catch(e){t.v=null,(c||null!=o)&&(t.e=u,t.h=!!c,o[o.indexOf(u)]=null),l.e(e,t,n)}}function A(e,t){l.c&&l.c(t,e),e.some((function(t){try{e=t.h,t.h=[],e.some((function(e){e.call(t)}))}catch(e){l.e(e,t.v)}}))}function M(e,t,n,l,a,o,i,u){var c,s,,d=n.props,p=t.props,m=t.type,v=0;if("svg"===m&&(a=!0),null!=o)for(;v<o.length;v++)if((c=o[v])&&"setAttribute"in c==!!m&&(m?c.localName===m:3===c.nodeType)){e=c,o[v]=null;break}if(null==e){if(null===m)return document.createTextNode(p);e=a?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),o=null,u=!1}if(null===m)d===p||u&&e.data===p||(e.data=p);else{if(o=o&&r.call(e.childNodes),s=(d=n.props||f).dangerouslySetInnerHTML,_=p.dangerouslySetInnerHTML,!u){if(null!=o)for(d={},v=0;v<e.attributes.length;v++)d[e.attributes[v].name]=e.attributes[v].value;(||s)&&(&&(s&&_.html==s.html||_.html===e.innerHTML)||(e.innerHTML=&&.html||""))}if(function(e,t,n,r,l){var a;for(a in n)"children"===a||"key"===a||a in t||P(e,a,null,n[a],r);for(a in t)l&&"function"!=typeof t[a]||"children"===a||"key"===a||"value"===a||"checked"===a||n[a]===t[a]||P(e,a,t[a],n[a],r)}(e,p,d,a,u),_)t.k=[];else if(v=t.props.children,S(e,Array.isArray(v)?v:[v],t,n,l,a&&"foreignObject"!==m,o,i,o?o[0]:n.k&&w(n,0),u),null!=o)for(v=o.length;v--;)null!=o[v]&&h(o[v]);u||("value"in p&&void 0!==(v=p.value)&&(v!==e.value||"progress"===m&&!v||"option"===m&&v!==d.value)&&P(e,"value",v,d.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==e.checked&&P(e,"checked",v,d.checked,!1))}return e}function I(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){l.e(e,n)}}function D(e,t,n){var r,a;if(l.unmount&&l.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.e||I(r,null,t)),null!=(r=e.c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){l.e(e,t)}r.base=r.P=null,e.c=void 0}if(r=e.k)for(a=0;a<r.length;a++)r[a]&&D(r[a],t,n||"function"!=typeof e.type);n||null==e.e||h(e.e),e.=e.e=e.d=void 0}function W(e,t,n){return this.constructor(e,n)}function j(e,t,n){var a,o,i;l.&&l.(e,t),o=(a="function"==typeof n)?null:n&&n.k||t.k,i=[],L(t,e=(!a&&n||t).k=m(b,null,[e]),o||f,f,void 0!==t.ownerSVGElement,!a&&n?[n]:o?null:t.firstChild?r.call(t.childNodes):null,i,!a&&n?n:o?o.e:t.firstChild,a),A(i,e)}function H(e,t){j(e,t,H)}function V(e,t,n){var l,a,o,i=p({},e.props);for(o in t)"key"==o?l=t[o]:"ref"==o?a=t[o]:i[o]=t[o];return arguments.length>2&&(i.children=arguments.length>3?r.call(arguments,2):n),v(e.type,i,l||e.key,a||e.ref,null)}function B(e,t){var n={c:t="cC"+s++,:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.e=!0,k(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.=n.Consumer.contextType=n}r=_.slice,l={e:function(e,t,n,r){for(var l,a,o;t=t.;)if((l=t.c)&&!l.)try{if((a=l.constructor)&&null!=a.getDerivedStateFromError&&(l.setState(a.getDerivedStateFromError(e)),o=l.d),null!=l.componentDidCatch&&(l.componentDidCatch(e,r||{}),o=l.d),o)return l.E=l}catch(t){e=t}throw e}},a=0,y.prototype.setState=function(e,t){var n;n=null!=this.s&&this.s!==this.state?this.s:this.s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.v&&(t&&this._sb.push(t),k(this))},y.prototype.forceUpdate=function(e){this.v&&(this.e=!0,e&&this.h.push(e),k(this))},y.prototype.render=b,o=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.v.b-t.v.b},x.r=0,s=0;var G,z,Y,q,$=0,Z=[],K=[],J=l.b,X=l.r,Q=l.diffed,ee=l.c,te=l.unmount;function ne(e,t){l.h&&l.h(z,e,$||t),$=0;var n=z.H||(z.H={:[],h:[]});return e>=n..length&&n..push({V:K}),n.[e]}function re(e){return $=1,le(we,e)}function le(e,t,n){var r=ne(G++,2);if(r.t=e,!r.c&&(r.=[n?n(t):we(void 0,t),function(e){var t=r.N?r.N[0]:r.[0],n=r.t(t,e);t!==n&&(r.N=[n,r.[1]],r.c.setState({}))}],r.c=z,!z.u)){var l=function(e,t,n){if(!r.c.H)return!0;var l=r.c.H..filter((function(e){return e.c}));if(l.every((function(e){return!e.N})))return!a||a.call(this,e,t,n);var o=!1;return l.forEach((function(e){if(e.N){var t=e.[0];e.=e.N,e.N=void 0,t!==e.[0]&&(o=!0)}})),!(!o&&r.c.props===e)&&(!a||a.call(this,e,t,n))};z.u=!0;var a=z.shouldComponentUpdate,o=z.componentWillUpdate;z.componentWillUpdate=function(e,t,n){if(this.e){var r=a;a=void 0,l(e,t,n),a=r}o&&o.call(this,e,t,n)},z.shouldComponentUpdate=l}return r.N||r.}function ae(e,t){var n=ne(G++,3);!l.s&&ye(n.H,t)&&(n.=e,n.i=t,z.H.h.push(n))}function oe(e,t){var n=ne(G++,4);!l.s&&ye(n.H,t)&&(n.=e,n.i=t,z.h.push(n))}function ie(e){return $=5,ce((function(){return{current:e}}),[])}function ue(e,t,n){$=6,oe((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function ce(e,t){var n=ne(G++,7);return ye(n.H,t)?(n.V=e(),n.i=t,n.h=e,n.V):n.}function se(e,t){return $=8,ce((function(){return e}),t)}function fe(e){var t=z.context[e.c],n=ne(G++,9);return n.c=e,t?(null==n.&&(n.=!0,t.sub(z)),t.props.value):e.}function _e(e,t){l.useDebugValue&&l.useDebugValue(t?t(e):e)}function de(e){var t=ne(G++,10),n=re();return t.=e,z.componentDidCatch||(z.componentDidCatch=function(e,r){t.&&t.(e,r),n1}),[n[0],function(){n[1](void 0)}]}function pe(){var e=ne(G++,11);if(!e.){for(var t=z.v;null!==t&&!t.m&&null!==t.;)t=t.;var n=t.m||(t.m=[0,0]);e.="P"+n[0]+"-"+n[1]++}return e.}function he(){for(var e;e=Z.shift();)if(e.P&&e.H)try{e.H.h.forEach(ge),e.H.h.forEach(be),e.H.h=[]}catch(t){e.H.h=[],l.e(t,e.v)}}l.b=function(e){z=null,J&&J(e)},l.r=function(e){X&&X(e),G=0;var t=(z=e.c).H;t&&(Y===z?(t.h=[],z.h=[],t..forEach((function(e){e.N&&(e.=e.N),e.V=K,e.N=e.i=void 0}))):(t.h.forEach(ge),t.h.forEach(be),t.h=[])),Y=z},l.diffed=function(e){Q&&Q(e);var t=e.c;t&&t.H&&(t.H.h.length&&(1!==Z.push(t)&&q===l.requestAnimationFrame||((q=l.requestAnimationFrame)||ve)(he)),t.H..forEach((function(e){e.i&&(e.H=e.i),e.V!==K&&(e.=e.V),e.i=void 0,e.V=K}))),Y=z=null},l.c=function(e,t){t.some((function(e){try{e.h.forEach(ge),e.h=e.h.filter((function(e){return!e.||be(e)}))}catch(n){t.some((function(e){e.h&&(e.h=[])})),t=[],l.e(n,e.v)}})),ee&&ee(e,t)},l.unmount=function(e){te&&te(e);var t,n=e.c;n&&n.H&&(n.H..forEach((function(e){try{ge(e)}catch(e){t=e}})),n.H=void 0,t&&l.e(t,n.v))};var me="function"==typeof requestAnimationFrame;function ve(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function ge(e){var t=z,n=e.c;"function"==typeof n&&(e.c=void 0,n()),z=t}function be(e){var t=z;e.c=e.(),z=t}function ye(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function Ee(e,t){for(var n in t)e[n]=t[n];return e}function ke(e,t){for(var n in e)if("source"!==n&&!(n in t))return!0;for(var r in t)if("source"!==r&&e[r]!==t[r])return!0;return!1}function xe(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function Se(e){this.props=e}function Te(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ke(this.props,e)}function r(t){return this.shouldComponentUpdate=n,m(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.f=!0,r}(Se.prototype=new y).isPureReactComponent=!0,Se.prototype.shouldComponentUpdate=function(e,t){return ke(this.props,e)||ke(this.state,t)};var Ce=l.b;l.b=function(e){e.type&&e.type.f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ue(e){function t(t){var n=Ee({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ne,t.render=t,t.prototype.isReactComponent=t.f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Oe=function(e,t){return null==e?null:C(C(e).map(t))},Pe={map:Oe,forEach:Oe,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},Fe=l.e;l.e=function(e,t,n,r){if(e.then)for(var l,a=t;a=a.;)if((l=a.c)&&l.c)return null==t.e&&(t.e=n.e,t.k=n.k),l.c(e,t);Fe(e,t,n,r)};var Re=l.unmount;function Le(e,t,n){return e&&(e.c&&e.c.H&&(e.c.H..forEach((function(e){"function"==typeof e.c&&e.c()})),e.c.H=null),null!=(e=Ee({},e)).c&&(e.c.P===n&&(e.c.P=t),e.c=null),e.k=e.k&&e.k.map((function(e){return Le(e,t,n)}))),e}function Ae(e,t,n){return e&&(e.v=null,e.k=e.k&&e.k.map((function(e){return Ae(e,t,n)})),e.c&&e.c.P===t&&(e.e&&n.insertBefore(e.e,e.d),e.c.e=!0,e.c.P=n)),e}function Me(){this.u=0,this.t=null,this.b=null}function Ie(e){var t=e..c;return t&&t.a&&t.a(e)}function De(e){var t,n,r;function l(l){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return m(n,l)}return l.displayName="Lazy",l.f=!0,l}function We(){this.u=null,this.o=null}l.unmount=function(e){var t=e.c;t&&t.R&&t.R(),t&&!0===e.h&&(e.type=null),Re&&Re(e)},(Me.prototype=new y).c=function(e,t){var n=t.c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var l=Ie(r.v),a=!1,o=function(){a||(a=!0,n.R=null,l?l(i):i())};n.R=o;var i=function(){if(!--r.u){if(r.state.a){var e=r.state.a;r.v.k[0]=Ae(e,e.c.P,e.c.O)}var t;for(r.setState({a:r.b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.h;r.u++||u||r.setState({a:r.b=r.v.k[0]}),e.then(o,o)},Me.prototype.componentWillUnmount=function(){this.t=[]},Me.prototype.render=function(e,t){if(this.b){if(this.v.k){var n=document.createElement("div"),r=this.v.k[0].c;this.v.k[0]=Le(this.b,n,r.O=r.P)}this.b=null}var l=t.a&&m(b,null,e.fallback);return l&&(l.h=null),[m(b,null,t.a?null:e.children),l]};var je=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function He(e){return this.getChildContext=function(){return e.context},e.children}function Ve(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),j(m(He,{context:t.context},e.v),t.l)):t.l&&t.componentWillUnmount()}function Be(e,t){var n=m(Ve,{v:e,i:t});return n.containerInfo=t,n}(We.prototype=new y).a=function(e){var t=this,n=Ie(t.v),r=t.o.get(e);return r[0]++,function(l){var a=function(){t.props.revealOrder?(r.push(l),je(t,e,r)):l()};n?n(a):a()}},We.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},We.prototype.componentDidUpdate=We.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){je(e,n,t)}))};var Ge="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ze=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ye=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,qe=/[A-Z0-9]/g,$e="undefined"!=typeof document,Ze=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Ke(e,t,n){return null==t.k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e?e.c:null}function Je(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.c:null}y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Xe=l.event;function Qe(){}function et(){return this.cancelBubble}function tt(){return this.defaultPrevented}l.event=function(e){return Xe&&(e=Xe(e)),e.persist=Qe,e.isPropagationStopped=et,e.isDefaultPrevented=tt,e.nativeEvent=e};var nt,rt={enumerable:!1,configurable:!0,get:function(){return this.class}},lt=l.vnode;l.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var l in t){var a=t[l];if(!("value"===l&&"defaultValue"in t&&null==a||$e&&"children"===l&&"noscript"===n||"class"===l||"className"===l)){var o=l.toLowerCase();"defaultValue"===l&&"value"in t&&null==t.value?l="value":"download"===l&&!0===a?a="":"ondoubleclick"===o?l="ondblclick":"onchange"!==o||"input"!==n&&"textarea"!==n||Ze(t.type)?"onfocus"===o?l="onfocusin":"onblur"===o?l="onfocusout":Ye.test(l)?l=o:-1===n.indexOf("-")&&ze.test(l)?l=l.replace(qe,"-$&").toLowerCase():null===a&&(a=void 0):o=l="oninput","oninput"===o&&r[l=o]&&(l="oninputCapture"),r[l]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",rt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ge,lt&&lt(e)};var at=l.r;l.r=function(e){at&&at(e),nt=e.c};var ot=l.diffed;l.diffed=function(e){ot&&ot(e);var t=e.props,n=e.e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),nt=null};var it={ReactCurrentDispatcher:{current:{readContext:function(e){return nt.n[e.c].props.value}}}},ut="17.0.2";function ct(e){return m.bind(null,e)}function st(e){return!!e&&e.$$typeof===Ge}function ft(e){return st(e)?V.apply(null,arguments):e}function _t(e){return!!e.k&&(j(null,e),!0)}function dt(e){return e&&(e.base||1===e.nodeType&&e)||null}var pt=function(e,t){return e(t)},ht=function(e,t){return e(t)},mt=b;function vt(e){e()}function gt(e){return e}function bt(){return[!1,vt]}var yt=oe;function wt(e,t){var n=t(),r=re({h:{:n,v:t}}),l=r[0].h,a=r[1];return oe((function(){l.=n,l.v=t,xe(l.,t())||a({h:l})}),[e,n,t]),ae((function(){return xe(l.,l.v())||a({h:l}),e((function(){xe(l.,l.v())||a({h:l})}))}),[e]),n}var Et={useState:re,useId:pe,useReducer:le,useEffect:ae,useLayoutEffect:oe,useInsertionEffect:oe,useTransition:bt,useDeferredValue:gt,useSyncExternalStore:wt,startTransition:vt,useRef:ie,useImperativeHandle:ue,useMemo:ce,useCallback:se,useContext:fe,useDebugValue:_e,version:"17.0.2",Children:Pe,render:Ke,hydrate:Je,unmountComponentAtNode:_t,createPortal:Be,createElement:m,createContext:B,createFactory:ct,cloneElement:ft,createRef:g,Fragment:b,isValidElement:st,findDOMNode:dt,Component:y,PureComponent:Se,memo:Te,forwardRef:Ue,flushSync:ht,unstable_batchedUpdates:pt,StrictMode:b,Suspense:Me,SuspenseList:We,lazy:De,SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BEFIRED:it}},273:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var r=n(379),l=n.n(r),a=n(795),o=n.n(a),i=n(569),u=n.n(i),c=n(565),s=n.n(c),f=n(216),=n.n(f),d=n(589),p=n.n(d),h=n(99),m={};m.styleTagTransform=p(),m.setAttributes=s(),m.insert=u().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=(),l()(h.Z,m);const v=h.Z&&h.Z.locals?h.Z.locals:void 0},379:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},o=[],i=0;i<e.length;i++){var u=e[i],c=r.base?u[0]+r.base:u[0],s=a[c]||0,f="".concat(c," ").concat(s);a[c]=s+1;var =n(f),d={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==)t[].references++,t[].updater(d);else{var p=l(d,r);r.byIndex=i,t.splice(i,0,{identifier:f,updater:p,references:1})}o.push(f)}return o}function l(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,l){var a=r(e=e||[],l=l||{});return function(e){e=e||[];for(var o=0;o<a.length;o++){var i=n(a[o]);t[i].references--}for(var u=r(e,l),c=0;c<a.length;c++){var s=n(a[c]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}a=u}}},569:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var l=void 0!==n.layer;l&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,l&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," /")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8:function(e,t,n){var r=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.NotSearching=void 0;var l=r(n(776));t.NotSearching=function(e){var t=e.onScan;return l.default.createElement("button",{className:"run-scan",onClick:t},"RUN")}},578:function(e,t,n){var r=this&&this.assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},r.apply(this,arguments)},l=this&&this.spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,l=0,a=t.length;l<a;l++)!r&&l in t||(r||(r=Array.prototype.slice.call(t,0,l)),r[l]=t[l]);return e.concat(r||Array.prototype.slice.call(t))},a=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.Searching=void 0;var o=a(n(776)),i=n(974);t.Searching=function(e){var t=e.state,n=e.setState,a=e.scanningPaused,u=e.pauseScan,c=e.handleScanFilter,s=e.toggleUser,f=e.UserCheckIcon,=e.UserUncheckIcon;if("scanning"!==t.status)return null;var d=(0,i.getUsersForDisplay)(t.results,t.whitelistedResults,t.currentTab,t.searchTerm,t.filter),p="";return o.default.createElement("section",{className:"flex"},o.default.createElement("aside",{className:"app-sidebar"},o.default.createElement("menu",{className:"flex column m-clear p-clear"},o.default.createElement("p",null,"Filter"),o.default.createElement("label",{className:"badge m-small"},o.default.createElement("input",{type:"checkbox",name:"showNonFollowers",checked:t.filter.showNonFollowers,onChange:c})," Non-Followers"),o.default.createElement("label",{className:"badge m-small"},o.default.createElement("input",{type:"checkbox",name:"showFollowers",checked:t.filter.showFollowers,onChange:c})," Followers"),o.default.createElement("label",{className:"badge m-small"},o.default.createElement("input",{type:"checkbox",name:"showVerified",checked:t.filter.showVerified,onChange:c})," Verified"),o.default.createElement("label",{className:"badge m-small"},o.default.createElement("input",{type:"checkbox",name:"showPrivate",checked:t.filter.showPrivate,onChange:c})," Private"),o.default.createElement("label",{className:"badge m-small"},o.default.createElement("input",{type:"checkbox",name:"showWithOutProfilePicture",checked:t.filter.showWithOutProfilePicture,onChange:c})," Without Profile Picture")),o.default.createElement("div",{className:"grow"},o.default.createElement("p",null,"Displayed: ",d.length),o.default.createElement("p",null,"Total: ",t.results.length)),o.default.createElement("div",{className:"controls"},o.default.createElement("button",{className:"button-control button-pause",onClick:u},a?"Resume":"Pause")),o.default.createElement("div",{className:"grow t-center"},o.default.createElement("p",null,"Pages"),o.default.createElement("a",{onClick:function(){t.page-1>0&&n(r(r({},t),{page:t.page-1}))},className:"p-medium"},"❮"),o.default.createElement("span",null,t.page," / ",(0,i.getMaxPage)(d)),o.default.createElement("a",{onClick:function(){t.page<(0,i.getMaxPage)(d)&&n(r(r({},t),{page:t.page+1}))},className:"p-medium"},"❯")),o.default.createElement("button",{className:"unfollow",onClick:function(){confirm("Are you sure?")&&n((function(e){return"scanning"!==e.status?e:0===e.selectedResults.length?(alert("Must select at least a single user to unfollow"),e):r(r({},e),{status:"unfollowing",percentage:0,unfollowLog:[],filter:{showSucceeded:!0,showFailed:!0}})}))}},"UNFOLLOW (",t.selectedResults.length,")")),o.default.createElement("article",{className:"results-container"},o.default.createElement("nav",{className:"tabs-container"},o.default.createElement("div",{className:"tab ".concat("non_whitelisted"===t.currentTab?"tab-active":""),onClick:function(){"non_whitelisted"!==t.currentTab&&n(r(r({},t),{currentTab:"non_whitelisted",selectedResults:[]}))}},"Non-Whitelisted"),o.default.createElement("div",{className:"tab ".concat("whitelisted"===t.currentTab?"tab-active":""),onClick:function(){"whitelisted"!==t.currentTab&&n(r(r({},t),{currentTab:"whitelisted",selectedResults:[]}))}},"Whitelisted")),(0,i.getCurrentPageUnfollowers)(d,t.page).map((function(e){var a=e.username.substring(0,1).toUpperCase();return o.default.createElement(o.default.Fragment,null,a!==p&&function(e){return p=e,o.default.createElement("div",{className:"alphabet-character"},p)}(a),o.default.createElement("label",{className:"result-item"},o.default.createElement("div",{className:"flex grow align-center"},o.default.createElement("div",{className:"avatar-container",onClick:function(a){a.preventDefault(),a.stopPropagation();var o=[];switch(t.currentTab){case"non_whitelisted":o=l(l([],t.whitelistedResults,!0),[e],!1);break;case"whitelisted":o=t.whitelistedResults.filter((function(t){return t.id!==e.id}));break;default:(0,i.assertUnreachable)(t.currentTab)}localStorage.setItem("WHITELISTED_RESULTS_STORAGE_KEY",JSON.stringify(o)),n(r(r({},t),{whitelistedResults:o}))}},o.default.createElement("img",{className:"avatar",alt:e.username,src:e.profile_pic_url}),o.default.createElement("span",{className:"avatar-icon-overlay-container"},"nonwhitelisted"===t.currentTab?o.default.createElement(f,null):o.default.createElement(,null))),o.default.createElement("div",{className:"flex column m-medium"},o.default.createElement("a",{className:"fs-xlarge",target:"_blank",href:"/".concat(e.username),rel:"noreferrer"},e.username),o.default.createElement("span",{className:"fs-medium"},e.full_name)),e.is_verified&&o.default.createElement("div",{className:"verified-badge"},"✔"),e.isprivate&&o.default.createElement("div",{className:"flex justify-center w-100"},o.default.createElement("span",{className:"private-indicator"},"Private"))),o.default.createElement("input",{className:"account-checkbox",type:"checkbox",checked:-1!==t.selectedResults.indexOf(e),onChange:function(t){return s(t.currentTarget.checked,e)}})))}))))}},392:function(e,t,n){var r=this&&this.createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,l)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),l=this&&this.setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.importStar||function(e){if(e&&e.esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return l(t,e),t};Object.defineProperty(t,"esModule",{value:!0}),t.SettingMenu=void 0;var o=a(n(776));t.SettingMenu=function(e){var t=e.setSettingState,n=e.currentTimings,r=e.setTimings,l=(0,o.useState)(n.timeBetweenSearchCycles),a=l[0],i=l[1],u=(0,o.useState)(n.timeToWaitAfterFiveSearchCycles),c=u[0],s=u[1],f=(0,o.useState)(n.timeBetweenUnfollows),=f[0],d=f[1],p=(0,o.useState)(n.timeToWaitAfterFiveUnfollows),h=p[0],m=p[1],v=function(e,t){var n;t(Number(null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value))};return o.default.createElement("form",{onSubmit:function(e){e.preventDefault(),r({timeBetweenSearchCycles:a,timeToWaitAfterFiveSearchCycles:c,timeBetweenUnfollows:,timeToWaitAfterFiveUnfollows:h}),t(!1)}},o.default.createElement("div",{className:"backdrop"},o.default.createElement("div",{className:"setting-menu"},o.default.createElement("div",null,o.default.createElement("h3",null,"Settings")),o.default.createElement("div",{className:"row"},o.default.createElement("label",{className:"minimun-width"},"Default time between search cycles"),o.default.createElement("input",{type:"number",id:"searchCycles",name:"searchCycles",min:500,max:999999,value:a,onChange:function(e){return v(e,i)}}),o.default.createElement("label",{className:"margin-between-input-and-label"},"(ms)")),o.default.createElement("div",{className:"row"},o.default.createElement("label",{className:"minimun-width"},"Default time to wait after five search cycles"),o.default.createElement("input",{type:"number",id:"fiveSearchCycles",name:"fiveSearchCycles",min:4e3,max:999999,value:c,onChange:function(e){return v(e,s)}}),o.default.createElement("label",{className:"margin-between-input-and-label"},"(ms)")),o.default.createElement("div",{className:"row"},o.default.createElement("label",{className:"minimun-width"},"Default time between unfollows"),o.default.createElement("input",{type:"number",id:"timeBetweenUnfollow",name:"timeBetweenUnfollow",min:1e3,max:999999,value:,onChange:function(e){return v(e,d)}}),o.default.createElement("label",{className:"margin-between-input-and-label"},"(ms)")),o.default.createElement("div",{className:"row"},o.default.createElement("label",{className:"minimun-width"},"Default time to wait after five unfollows"),o.default.createElement("input",{type:"number",id:"timeAfterFiveUnfollows",name:"timeAfterFiveUnfollows",min:7e4,max:999999,value:h,onChange:function(e){return v(e,m)}}),o.default.createElement("label",{className:"margin-between-input-and-label"},"(ms)")),o.default.createElement("div",null,o.default.createElement("h3",{className:"warning"},o.default.createElement("b",null,"WARNING:")," Modifying these settings can lead to your account being banned."),o.default.createElement("h3",{className:"warning"},"USE IT AT YOUR OWN RISK!!!!")),o.default.createElement("div",{className:"btn-container"},o.default.createElement("button",{className:"btn",type:"button",onClick:function(){return t(!1)}},"Cancel"),o.default.createElement("button",{className:"btn",type:"submit"},"Save")))))}},926:function(e,t,n){var r=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.Toast=void 0;var l=r(n(776));t.Toast=function(e){var t=e.show,n=void 0!==t&&t,r=e.style,a=void 0===r?"info":r,o=e.message,i=e.onClose;return l.default.createElement("div",{className:"toast ".concat(n?"show":""," ").concat(a),role:"alert"},l.default.createElement("p",{className:"toastmessage"},o),l.default.createElement("button",{className:"toastclose-button",onClick:i,title:"close"},"×"))}},885:function(e,t,n){var r=this&&this.assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},r.apply(this,arguments)},l=this&&this.createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,l)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.importStar||function(e){if(e&&e.esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return a(t,e),t};Object.defineProperty(t,"esModule",{value:!0}),t.Toolbar=void 0;var i=o(n(776)),u=n(974),c=n(392),s=n(935);t.Toolbar=function(e){var t=e.isActiveProcess,n=e.state,l=e.setState,a=e.scanningPaused,o=e.toggleAllUsers,f=e.toggleCurrentePageUsers,=e.currentTimings,d=e.setTimings,p=(0,i.useState)(!1),h=p[0],m=p[1];return i.default.createElement("header",{className:"app-header"},t&&i.default.createElement("progress",{className:"progressbar",value:"initial"!==n.status?n.percentage:0,max:"100"}),i.default.createElement("div",{className:"app-header-content"},i.default.createElement("div",{className:"logo",onClick:function(){if(!t)switch(n.status){case"initial":confirm("Go back to Instagram?")&&location.reload();break;case"scanning":case"unfollowing":l({status:"initial"})}}},"InstagramUnfollowers"),i.default.createElement("button",{className:"copy-list",onClick:function(){switch(n.status){case"scanning":return(0,u.copyListToClipboard)((0,u.getUsersForDisplay)(n.results,n.whitelistedResults,n.currentTab,n.searchTerm,n.filter));case"initial":case"unfollowing":return;default:(0,u.assertUnreachable)(n)}},disabled:"initial"===n.status},"COPY LIST"),"initial"===n.status&&i.default.createElement(s.SettingIcon,{onClickLogo:function(){m(!0)}}),i.default.createElement("input",{type:"text",className:"search-bar",placeholder:"Search...",disabled:"initial"===n.status,value:"initial"===n.status?"":n.searchTerm,onChange:function(e){switch(n.status){case"initial":return;case"scanning":case"unfollowing":return l(r(r({},n),{searchTerm:e.currentTarget.value}));default:(0,u.assertUnreachable)(n)}}}),"scanning"===n.status&&i.default.createElement("input",{title:"Select all on this page",type:"checkbox",disabled:n.percentage<100&&!a,checked:n.selectedResults.length===(0,u.getUsersForDisplay)(n.results,n.whitelistedResults,n.currentTab,n.searchTerm,n.filter).length,className:"toggle-all-checkbox",onClick:f}),"scanning"===n.status&&i.default.createElement("input",{title:"Select all",type:"checkbox",disabled:n.percentage<100&&!a,checked:n.selectedResults.length===(0,u.getUsersForDisplay)(n.results,n.whitelistedResults,n.currentTab,n.searchTerm,n.filter).length,className:"toggle-all-checkbox",onClick:o})),h&&i.default.createElement(c.SettingMenu,{setSettingState:m,currentTimings:,setTimings:d}))}},982:function(e,t,n){var r=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.Unfollowing=void 0;var l=r(n(776)),a=n(974);t.Unfollowing=function(e){var t=e.state,n=e.handleUnfollowFilter;return"unfollowing"!==t.status?null:l.default.createElement("section",{className:"flex"},l.default.createElement("aside",{className:"app-sidebar"},l.default.createElement("menu",{className:"flex column grow m-clear p-clear"},l.default.createElement("p",null,"Filter"),l.default.createElement("label",{className:"badge m-small"},l.default.createElement("input",{type:"checkbox",name:"showSucceeded",checked:t.filter.showSucceeded,onChange:n})," Succeeded"),l.default.createElement("label",{className:"badge m-small"},l.default.createElement("input",{type:"checkbox",name:"showFailed",checked:t.filter.showFailed,onChange:n})," Failed"))),l.default.createElement("article",{className:"unfollow-log-container"},t.unfollowLog.length===t.selectedResults.length&&l.default.createElement(l.default.Fragment,null,l.default.createElement("hr",null),l.default.createElement("div",{className:"fs-large p-medium clr-green"},"All DONE!"),l.default.createElement("hr",null)),(0,a.getUnfollowLogForDisplay)(t.unfollowLog,t.searchTerm,t.filter).map((function(e,n){return e.unfollowedSuccessfully?l.default.createElement("div",{className:"p-medium",key:e.user.id},"Unfollowed",l.default.createElement("a",{className:"clr-inherit",target:"_blank",href:"../".concat(e.user.username),rel:"noreferrer"}," ",e.user.username),l.default.createElement("span",{className:"clr-cyan"},"  [",n+1,"/",t.selectedResults.length,"]")):l.default.createElement("div",{className:"p-medium clr-red",key:e.user.id},"Failed to unfollow ",e.user.username," [",n+1,"/",t.selectedResults.length,"]")}))))}},935:function(e,t,n){var r=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.SettingIcon=void 0;var l=r(n(776));t.SettingIcon=function(e){var t=e.onClickLogo;return l.default.createElement("svg",{style:{cursor:"pointer"},fill:"#FFFF00",height:"35px",width:"35px",viewBox:"0 0 54 54",onClick:t},l.default.createElement("g",null,l.default.createElement("path",{d:"M51.22,21h-5.052c-0.812,0-1.481-0.447-1.792-1.197s-0.153-1.54,0.42-2.114l3.572-3.571\n c0.525-0.525,0.814-1.224,0.814-1.966c0-0.743-0.289-1.441-0.814-1.967l-4.553-4.553c-1.05-1.05-2.881-1.052-3.933,0l-3.571,3.571\n c-0.574,0.573-1.366,0.733-2.114,0.421C33.447,9.313,33,8.644,33,7.832V2.78C33,1.247,31.753,0,30.22,0H23.78\n C22.247,0,21,1.247,21,2.78v5.052c0,0.812-0.447,1.481-1.197,1.792c-0.748,0.313-1.54,0.152-2.114-0.421l-3.571-3.571\n c-1.052-1.052-2.883-1.05-3.933,0l-4.553,4.553c-0.525,0.525-0.814,1.224-0.814,1.967c0,0.742,0.289,1.44,0.814,1.966l3.572,3.571\n c0.573,0.574,0.73,1.364,0.42,2.114S8.644,21,7.832,21H2.78C1.247,21,0,22.247,0,23.78v6.439C0,31.753,1.247,33,2.78,33h5.052\n c0.812,0,1.481,0.447,1.792,1.197s0.153,1.54-0.42,2.114l-3.572,3.571c-0.525,0.525-0.814,1.224-0.814,1.966\n c0,0.743,0.289,1.441,0.814,1.967l4.553,4.553c1.051,1.051,2.881,1.053,3.933,0l3.571-3.572c0.574-0.573,1.363-0.731,2.114-0.42\n c0.75,0.311,1.197,0.98,1.197,1.792v5.052c0,1.533,1.247,2.78,2.78,2.78h6.439c1.533,0,2.78-1.247,2.78-2.78v-5.052\n c0-0.812,0.447-1.481,1.197-1.792c0.751-0.312,1.54-0.153,2.114,0.42l3.571,3.572c1.052,1.052,2.883,1.05,3.933,0l4.553-4.553\n c0.525-0.525,0.814-1.224,0.814-1.967c0-0.742-0.289-1.44-0.814-1.966l-3.572-3.571c-0.573-0.574-0.73-1.364-0.42-2.114\n S45.356,33,46.168,33h5.052c1.533,0,2.78-1.247,2.78-2.78V23.78C54,22.247,52.753,21,51.22,21z M52,30.22\n C52,30.65,51.65,31,51.22,31h-5.052c-1.624,0-3.019,0.932-3.64,2.432c-0.622,1.5-0.295,3.146,0.854,4.294l3.572,3.571\n c0.305,0.305,0.305,0.8,0,1.104l-4.553,4.553c-0.304,0.304-0.799,0.306-1.104,0l-3.571-3.572c-1.149-1.149-2.794-1.474-4.294-0.854\n c-1.5,0.621-2.432,2.016-2.432,3.64v5.052C31,51.65,30.65,52,30.22,52H23.78C23.35,52,23,51.65,23,51.22v-5.052\n c0-1.624-0.932-3.019-2.432-3.64c-0.503-0.209-1.021-0.311-1.533-0.311c-1.014,0-1.997,0.4-2.761,1.164l-3.571,3.572\n c-0.306,0.306-0.801,0.304-1.104,0l-4.553-4.553c-0.305-0.305-0.305-0.8,0-1.104l3.572-3.571c1.148-1.148,1.476-2.794,0.854-4.294\n C10.851,31.932,9.456,31,7.832,31H2.78C2.35,31,2,30.65,2,30.22V23.78C2,23.35,2.35,23,2.78,23h5.052\n c1.624,0,3.019-0.932,3.64-2.432c0.622-1.5,0.295-3.146-0.854-4.294l-3.572-3.571c-0.305-0.305-0.305-0.8,0-1.104l4.553-4.553\n c0.304-0.305,0.799-0.305,1.104,0l3.571,3.571c1.147,1.147,2.792,1.476,4.294,0.854C22.068,10.851,23,9.456,23,7.832V2.78\n C23,2.35,23.35,2,23.78,2h6.439C30.65,2,31,2.35,31,2.78v5.052c0,1.624,0.932,3.019,2.432,3.64\n c1.502,0.622,3.146,0.294,4.294-0.854l3.571-3.571c0.306-0.305,0.801-0.305,1.104,0l4.553,4.553c0.305,0.305,0.305,0.8,0,1.104\n l-3.572,3.571c-1.148,1.148-1.476,2.794-0.854,4.294c0.621,1.5,2.016,2.432,3.64,2.432h5.052C51.65,23,52,23.35,52,23.78V30.22z"}),l.default.createElement("path",{d:"M27,18c-4.963,0-9,4.037-9,9s4.037,9,9,9s9-4.037,9-9S31.963,18,27,18z M27,34c-3.859,0-7-3.141-7-7s3.141-7,7-7\n s7,3.141,7,7S30.859,34,27,34z"})))}},629:function(e,t,n){var r=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.UserCheckIcon=void 0;var l=r(n(776));t.UserCheckIcon=function(){return l.default.createElement("svg",{width:"35",height:"35",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l.default.createElement("path",{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),l.default.createElement("circle",{cx:"8.5",cy:"7",r:"4"}),l.default.createElement("polyline",{points:"17 11 19 13 23 9"}))}},460:function(e,t,n){var r=this&&this.importDefault||function(e){return e&&e.esModule?e:{default:e}};Object.defineProperty(t,"esModule",{value:!0}),t.UserUncheckIcon=void 0;var l=r(n(776));t.UserUncheckIcon=function(){return l.default.createElement("svg",{width:"35",height:"35",viewBox:"0 0 24 24",fill:"#FFFFFF",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l.default.createElement("path",{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),l.default.createElement("circle",{cx:"8.5",cy:"7",r:"4"}),l.default.createElement("line",{x1:"18",y1:"8",x2:"23",y2:"13"}),l.default.createElement("line",{x1:"23",y1:"8",x2:"18",y2:"13"}))}},78:(e,t)=>{Object.defineProperty(t,"esModule",{value:!0}),t.WITHOUT_PROFILE_PICTURE_URL_ID=t.DEFAULT_TIME_TO_WAIT_AFTER_FIVE_UNFOLLOWS=t.DEFAULT_TIME_BETWEEN_UNFOLLOWS=t.DEFAULT_TIME_TO_WAIT_AFTER_FIVE_SEARCH_CYCLES=t.DEFAULT_TIME_BETWEEN_SEARCH_CYCLES=t.WHITELISTED_RESULTS_STORAGE_KEY=t.UNFOLLOWERS_PER_PAGE=t.INSTAGRAM_HOSTNAME=void 0,t.INSTAGRAM_HOSTNAME="www.instagram.com",t.UNFOLLOWERS_PER_PAGE=50,t.WHITELISTED_RESULTS_STORAGE_KEY="iu_whitelisted-results",t.DEFAULT_TIME_BETWEEN_SEARCH_CYCLES=1e3,t.DEFAULT_TIME_TO_WAIT_AFTER_FIVE_SEARCH_CYCLES=1e4,t.DEFAULT_TIME_BETWEEN_UNFOLLOWS=4e3,t.DEFAULT_TIME_TO_WAIT_AFTER_FIVE_UNFOLLOWS=3e5,t.WITHOUT_PROFILE_PICTURE_URL_ID="44884218_345707102882519_2446069589734326272n"},299:function(e,t,n){var r=this&&this.assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},r.apply(this,arguments)},l=this&&this.createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,l)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.importStar||function(e){if(e&&e.esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return a(t,e),t},i=this&&this.awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(l,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function i(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?l(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,i)}u((r=r.apply(e,t||[])).next())}))},u=this&&this.generator||function(e,t){var n,r,l,a,o={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,i[0]&&(o=0)),o;)try{if(n=1,r&&(l=2&i[0]?r.return:i[0]?r.throw||((l=r.return)&&l.call(r),0):r.next)&&!(l=l.call(r,i[1])).done)return l;switch(r=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((l=(l=o.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){o.label=i[1];break}if(6===i[0]&&o.label<l[1]){o.label=l[1],l=i;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(i);break}l[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},c=this&&this.spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,l=0,a=t.length;l<a;l++)!r&&l in t||(r||(r=Array.prototype.slice.call(t,0,l)),r[l]=t[l]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"esModule",{value:!0});var s=o(n(776)),f=n(776);n(273);var =n(926),d=n(629),p=n(460),h=n(78),m=n(974),v=n(8),g=n(578),b=n(885),y=n(982),w=!1;function E(){w=!w}location.hostname!==h.INSTAGRAM_HOSTNAME?alert("Can be used only on Instagram routes"):(document.title="InstagramUnfollowers",document.body.innerHTML="",(0,f.render)(s.default.createElement((function(){var e,t,n=this,l=(0,s.useState)({status:"initial"}),a=l[0],o=l[1],f=(0,s.useState)({show:!1}),k=f[0],x=f[1],S=(0,s.useState)({timeBetweenSearchCycles:h.DEFAULT_TIME_BETWEEN_SEARCH_CYCLES,timeToWaitAfterFiveSearchCycles:h.DEFAULT_TIME_TO_WAIT_AFTER_FIVE_SEARCH_CYCLES,timeBetweenUnfollows:h.DEFAULT_TIME_BETWEEN_UNFOLLOWS,timeToWaitAfterFiveUnfollows:h.DEFAULT_TIME_TO_WAIT_AFTER_FIVEUNFOLLOWS}),T=S[0],C=S[1];switch(a.status){case"initial":e=!1;break;case"scanning":case"unfollowing":e=a.percentage<100;break;default:(0,m.assertUnreachable)(a)}switch((0,s.useEffect)((function(){var t=function(t){if(e)return(t=t||window.event)&&(t.returnValue="Changes you made may not be saved."),"Changes you made may not be saved."};return window.addEventListener("beforeunload",t),function(){return window.removeEventListener("beforeunload",t)}}),[e,a]),(0,s.useEffect)((function(){i(n,void 0,void 0,(function(){var e,t,n,l,i,s,f,;return u(this,(function(u){switch(u.label){case 0:if("scanning"!==a.status)return[2];e=c([],a.results,!0),t=0,n=(0,m.urlGenerator)(),l=!0,i=0,s=-1,u.label=1;case 1:if(!l)return[3,12];f=void 0,u.label=2;case 2:return u.trys.push([2,4,,5]),[4,fetch(n).then((function(e){return e.json()}))];case 3:return f=u.sent().data.user.edgefollow,[3,5];case 4:return =u.sent(),console.error(_),[3,1];case 5:-1===s&&(s=f.count),l=f.page_info.has_next_page,n=(0,m.urlGenerator)(f.page_info.end_cursor),i+=f.edges.length,f.edges.forEach((function(t){return e.push(t.node)})),o((function(t){return"scanning"!==t.status?t:r(r({},t),{percentage:Math.floor(i/s100),results:e})})),u.label=6;case 6:return w?[4,(0,m.sleep)(1e3)]:[3,8];case 7:return u.sent(),console.info("Scan paused"),[3,6];case 8:return[4,(0,m.sleep)(Math.floor(Math.random()(T.timeBetweenSearchCycles-.7T.timeBetweenSearchCycles))+T.timeBetweenSearchCycles)];case 9:return u.sent(),++t>6?(t=0,x({show:!0,text:"Sleeping ".concat(T.timeToWaitAfterFiveSearchCycles/1e3," seconds to prevent getting temp blocked")}),[4,(0,m.sleep)(T.timeToWaitAfterFiveSearchCycles)]):[3,11];case 10:u.sent(),u.label=11;case 11:return x({show:!1}),[3,1];case 12:return x({show:!0,text:"Scanning completed!"}),[2]}}))}))}),[a.status]),(0,s.useEffect)((function(){i(n,void 0,void 0,(function(){var e,t,n,l,i,s;return u(this,(function(f){switch(f.label){case 0:if("unfollowing"!==a.status)return[2];if(null===(e=(0,m.getCookie)("csrftoken")))throw new Error("csrftoken cookie is null");t=0,n=function(n){var l,i;return u(this,(function(u){switch(u.label){case 0:t+=1,l=Math.floor(t/a.selectedResults.length100),u.label=1;case 1:return u.trys.push([1,3,,4]),[4,fetch((0,m.unfollowUserUrlGenerator)(n.id),{headers:{"content-type":"application/x-www-form-urlencoded","x-csrftoken":e},method:"POST",mode:"cors",credentials:"include"})];case 2:return u.sent(),o((function(e){return"unfollowing"!==e.status?e:r(r({},e),{percentage:l,unfollowLog:c(c([],e.unfollowLog,!0),[{user:n,unfollowedSuccessfully:!0}],!1)})})),[3,4];case 3:return i=u.sent(),console.error(i),o((function(e){return"unfollowing"!==e.status?e:r(r({},e),{percentage:l,unfollowLog:c(c([],e.unfollowLog,!0),[{user:n,unfollowedSuccessfully:!1}],!1)})})),[3,4];case 4:return n===a.selectedResults[a.selectedResults.length-1]?[2,"break"]:[4,(0,m.sleep)(Math.floor(Math.random()(1.2T.timeBetweenUnfollows-T.timeBetweenUnfollows))+T.timeBetweenUnfollows)];case 5:return u.sent(),t%5!=0?[3,7]:(x({show:!0,text:"Sleeping ".concat(T.timeToWaitAfterFiveUnfollows/6e4," minutes to prevent getting temp blocked")}),[4,(0,m.sleep)(T.timeToWaitAfterFiveUnfollows)]);case 6:u.sent(),u.label=7;case 7:return x({show:!1}),[2]}}))},l=0,i=a.selectedResults,f.label=1;case 1:return l<i.length?(s=i[l],[5,n(s)]):[3,4];case 2:if("break"===f.sent())return[3,4];f.label=3;case 3:return l++,[3,1];case 4:return[2]}}))}))}),[a.status]),a.status){case"initial":t=s.default.createElement(v.NotSearching,{onScan:function(){return i(n,void 0,void 0,(function(){var e,t;return u(this,(function(n){return"initial"!==a.status||(e=localStorage.getItem(h.WHITELISTED_RESULTS_STORAGE_KEY),t=null===e?[]:JSON.parse(e),o({status:"scanning",page:1,searchTerm:"",currentTab:"nonwhitelisted",percentage:0,results:[],selectedResults:[],whitelistedResults:t,filter:{showNonFollowers:!0,showFollowers:!1,showVerified:!0,showPrivate:!0,showWithOutProfilePicture:!0}})),[2]}))}))}});break;case"scanning":t=s.default.createElement(g.Searching,{state:a,handleScanFilter:function(e){var t;"scanning"===a.status&&(a.selectedResults.length>0&&!confirm("Changing filter options will clear selected users")?o(r({},a)):o(r(r({},a),{selectedResults:[],filter:r(r({},a.filter),(t={},t[e.currentTarget.name]=e.currentTarget.checked,t))})))},toggleUser:function(e,t){"scanning"===a.status&&o(r(r({},a),e?{selectedResults:c(c([],a.selectedResults,!0),[t],!1)}:{selectedResults:a.selectedResults.filter((function(e){return e.id!==t.id}))}))},pauseScan:E,setState:o,scanningPaused:w,UserCheckIcon:d.UserCheckIcon,UserUncheckIcon:p.UserUncheckIcon});break;case"unfollowing":t=s.default.createElement(y.Unfollowing,{state:a,handleUnfollowFilter:function(e){var t;"unfollowing"===a.status&&o(r(r({},a),{filter:r(r({},a.filter),(t={},t[e.currentTarget.name]=e.currentTarget.checked,t))}))}});break;default:(0,m.assertUnreachable)(a)}return s.default.createElement("main",{id:"main",role:"main",className:"iu"},s.default.createElement("section",{className:"overlay"},s.default.createElement(b.Toolbar,{state:a,setState:o,scanningPaused:w,isActiveProcess:e,toggleAllUsers:function(e){"scanning"===a.status&&(e.currentTarget.checked?o(r(r({},a),{selectedResults:(0,m.getUsersForDisplay)(a.results,a.whitelistedResults,a.currentTab,a.searchTerm,a.filter)})):o(r(r({},a),{selectedResults:[]})))},toggleCurrentePageUsers:function(e){"scanning"===a.status&&(e.currentTarget.checked?o(r(r({},a),{selectedResults:(0,m.getCurrentPageUnfollowers)((0,m.getUsersForDisplay)(a.results,a.whitelistedResults,a.currentTab,a.searchTerm,a.filter),a.page)})):o(r(r({},a),{selectedResults:[]})))},setTimings:C,currentTimings:T}),t,k.show&&s.default.createElement(.Toast,{show:k.show,message:k.text,onClose:function(){return x({show:!1})}})))}),null),document.body))},974:function(e,t,n){var r=this&&this.awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(l,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function i(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?l(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,i)}u((r=r.apply(e,t||[])).next())}))},l=this&&this.generator||function(e,t){var n,r,l,a,o={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,i[0]&&(o=0)),o;)try{if(n=1,r&&(l=2&i[0]?r.return:i[0]?r.throw||((l=r.return)&&l.call(r),0):r.next)&&!(l=l.call(r,i[1])).done)return l;switch(r=0,l&&(i=[2&i[0],l.value]),i[0]){case 0:case 1:l=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((l=(l=o.trys).length>0&&l[l.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!l||i[1]>l[0]&&i[1]<l[3])){o.label=i[1];break}if(6===i[0]&&o.label<l[1]){o.label=l[1],l=i;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(i);break}l[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=l=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,l=0,a=t.length;l<…