(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{3600:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=(0,r(853).Z)("alert-circle","IconAlertCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]])},4603:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=(0,r(853).Z)("rotate-clockwise-2","IconRotateClockwise2",[["path",{d:"M9 4.55a8 8 0 0 1 6 14.9m0 -4.45v5h5",key:"svg-0"}],["path",{d:"M5.63 7.16l0 .01",key:"svg-1"}],["path",{d:"M4.06 11l0 .01",key:"svg-2"}],["path",{d:"M4.63 15.1l0 .01",key:"svg-3"}],["path",{d:"M7.16 18.37l0 .01",key:"svg-4"}],["path",{d:"M11 19.94l0 .01",key:"svg-5"}]])},4501:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bypass",function(){return r(4044)}])},4804:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(5944),i=r(4761),o=r(50),s=r(4065);r(7294);var a=r(8725),l=r(8588),c=r(3454);function d(e){let{children:t,isFixedHeight:r,overrideMobileBreakpoint:d}=e,u=(0,i.rZ)(),h=(0,s.a)("(max-width: ".concat(u.breakpoints.md,")")),p=e=>{let{children:t}=e;return(0,n.tZ)(o.r.Col,{span:h?10:d?10:3,sx:e=>({backgroundColor:c.env.NEXT_PUBLIC_ENV_DEV_MODE?e.fn.rgba(e.colors.gray[6],.3):"",height:d?a.Z.ad_height:"",[e.fn.smallerThan("md")]:{height:l.M.disable_ads?"100px":a.Z.ad_height},display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),children:t})};return(0,n.BX)(o.r,{grow:!0,children:[(0,n.tZ)(p,{children:!l.M.disable_ads&&(0,n.tZ)("iframe",{src:"//www.profitablecreativeformat.com/watchnew?key=89473f8457c428976e40e7b5f3df178d",width:"300",height:"250",frameBorder:"0",scrolling:"no"})}),(0,n.tZ)(o.r.Col,{sx:e=>({display:"flex",justifyContent:"center",alignItems:"center",[e.fn.largerThan("md")]:{height:r&&!d?"55vh":""}}),span:4,p:"20px",children:t}),(0,n.tZ)(p,{children:!l.M.disable_ads&&(0,n.tZ)("iframe",{src:"//www.profitablecreativeformat.com/watchnew?key=89473f8457c428976e40e7b5f3df178d",width:"300",height:"250",frameBorder:"0",scrolling:"no"})})]})}},5498:function(e,t,r){"use strict";r.d(t,{Z:function(){return B},y:function(){return _}});var n=r(5944),i=r(6817),o=r(6768),s=r(1017),a=r(5117),l=r(4761),c=r(2445),d=r(9814),u=r(1061),h=r(4730);r(7294);var p=r(9876),f=r(4685),m=r(8949),y=r(5044),g=r(7083),w=r(3844),k=r(5386),Z=r(7837),b=r(6171);function v(e){let{preloadData:t}=e,{classes:r,theme:i}=_(),{data:l}=(0,Z.a)({queryKey:["supported-sites"],queryFn:b.T});return(0,n.BX)(s.Z,{shadow:"md",radius:"md",className:r.card,padding:"xl",children:[(0,n.tZ)(a.x,{fz:"xl",fw:500,className:r.cardTitle,mt:"xs",children:(0,n.BX)(p.k,{gap:"md",align:"center",direction:"row",wrap:"wrap",children:[(0,n.tZ)(g.Z,{stroke:2,color:i.fn.primaryColor(),size:(0,o.h)(40)}),(0,n.BX)(f.e,{href:"/supported",children:["Supported Websites ",(0,n.tZ)(w.Z,{size:"1rem"})]})]})}),(0,n.tZ)(m.a,{mt:"sm",spacing:"xs",size:"sm",sx:e=>({[e.fn.largerThan("md")]:{overflowY:"scroll",height:(0,o.h)(135),width:"100%"}}),icon:(0,n.tZ)(y.k,{color:"teal",size:24,radius:"xl",children:(0,n.tZ)(k.Z,{size:"1rem"})}),children:(l||t||[]).map(e=>(0,n.tZ)(m.a.Item,{children:e.name},e.name))})]},"Supported Websites")}var E=r(8725);let _=(0,i.k)(e=>({card:{border:"".concat((0,o.h)(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1])},cardTitle:{"&::after":{content:'""',display:"block",backgroundColor:e.fn.primaryColor(),width:(0,o.h)(45),height:(0,o.h)(2),marginTop:e.spacing.sm}}}));function x(e){let{title:t,Icon:r,children:i}=e,{classes:o}=_();return(0,n.BX)(s.Z,{shadow:"md",radius:"md",className:o.card,padding:"xl",children:[r,(0,n.tZ)(a.x,{fz:"lg",fw:500,className:o.cardTitle,mt:"md",children:t}),i]},t)}var B=function(e){let{preloadData:t}=e,r=(0,l.rZ)();return(0,n.tZ)(c.W,{size:"lg",py:"xl",children:(0,n.BX)(d.M,{cols:3,spacing:"xl",breakpoints:[{maxWidth:"md",cols:1}],children:[(0,n.tZ)(v,{preloadData:t}),(0,n.tZ)(x,{title:"Instant Response",Icon:(0,n.tZ)(u.Z,{size:(0,o.h)(50),stroke:2,color:r.fn.primaryColor()}),children:(0,n.BX)(a.x,{fz:"sm",c:"dimmed",mt:"sm",children:[E.Z.website_url_name," is a fast and responsive service that will get you the link you need in no time!",(0,n.tZ)("b",{children:" The bypass is instant and the link is ready to be used."})]})}),(0,n.tZ)(x,{title:"Quick and Easy",Icon:(0,n.tZ)(h.Z,{size:(0,o.h)(50),stroke:2,color:r.fn.primaryColor()}),children:(0,n.BX)(a.x,{fz:"sm",c:"dimmed",mt:"sm",children:[E.Z.website_url_name," is a simple and easy to use service that will bypass supported link shorteners in no time!"]})})]})})}},6171:function(e,t,r){"use strict";r.d(t,{G:function(){return a},T:function(){return s}});var n=r(8283),i=r(8725),o=r(3454);let s=async()=>{let e=await fetch("".concat(i.Z.baseUrl,"/bypass/available"));if(!e.ok)throw Error("Network response was not ok");return await e.json()},a=async e=>{let{link:t,turnstile:r}=e;n.PK.start();let s=new Headers;o.env.NEXT_PUBLIC_ENV_DEV_MODE&&o.env.NEXT_PUBLIC_ENV_BYPASS_CAPTCHA_HEADER&&o.env.NEXT_PUBLIC_ENV_BYPASS_CAPTCHA_HEADER_NAME&&s.append(o.env.NEXT_PUBLIC_ENV_BYPASS_CAPTCHA_HEADER_NAME,o.env.NEXT_PUBLIC_ENV_BYPASS_CAPTCHA_HEADER);let a=await fetch("".concat(i.Z.baseUrl,"/bypass"),{method:"POST",headers:s,body:JSON.stringify({link:t,token:r})});if(!a.ok)throw n.PK.reset(),Error("Network response was not ok");return n.PK.reset(),await a.json()}},4044:function(e,t,r){"use strict";r.r(t),r.d(t,{FetchLinkWrapper:function(){return G},TurnstileWrapper:function(){return q},default:function(){return Y}});var n,i,o,s,a=r(5944),l=r(7564),c=r(5117),d=r(9876),u=r(4403),h=r(6137),p=r(7841),f=r(966),m=r(2642),y=r(4777),g=r(9236),w=r(8818),k=r(1759),Z=r(5893),b=r(7294);let v="cf-turnstile-script",E="onloadTurnstileCallback",_=e=>!!document.querySelector(`#${e}`),x=({render:e="explicit",onLoadCallbackName:t=E,scriptOptions:{nonce:r="",defer:n=!0,async:i=!0,id:o="",appendTo:s}={}})=>{let a=o||v,l=document.createElement("script");l.id=a,l.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,l.defer=!!n,l.async=!!i,r&&(l.nonce=r);let c="body"===s?document.body:document.getElementsByTagName("head")[0];c.appendChild(l)},B={normal:{width:300,height:65},compact:{width:130,height:120},invisible:{width:0,height:0,overflow:"hidden"},interactionOnly:{width:"fit-content",height:"auto"}},S=(0,b.forwardRef)(({as:e="div",...t},r)=>(0,Z.jsx)(e,{...t,ref:r})),C=(0,b.forwardRef)((e,t)=>{let{scriptOptions:r,options:n={},siteKey:i,onSuccess:o,onExpire:s,onError:a,onBeforeInteractive:l,onAfterInteractive:c,onUnsupported:d,id:u,style:h,as:p="div",injectScript:f=!0,...m}=e,y=n.size??"normal",[g,w]=(0,b.useState)("execute"===n.execution?B.invisible:"interaction-only"===n.appearance?B.interactionOnly:B[y]),k=(0,b.useRef)(null),C=(0,b.useRef)(!1),[I,T]=(0,b.useState)(),[N,z]=(0,b.useState)(!1),R=r?.id||v,X=function(e=v){let[t,r]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{let t=()=>{let t=_(e);t&&r(!0)},n=new MutationObserver(t);return n.observe(document,{childList:!0,subtree:!0}),t(),()=>{n.disconnect()}},[e]),t}(R),P=u??"cf-turnstile",M=`${r?.onLoadCallbackName||E}#${P}`,A=(0,b.useMemo)(()=>{let e;return{sitekey:i,action:n.action,cData:n.cData,callback:o,"error-callback":a,"expired-callback":s,"before-interactive-callback":l,"after-interactive-callback":c,"unsupported-callback":d,theme:n.theme??"auto",language:n.language??"auto",tabindex:n.tabIndex,"response-field":n.responseField,"response-field-name":n.responseFieldName,size:("invisible"!==y&&(e=y),e),retry:n.retry??"auto","retry-interval":n.retryInterval??8e3,"refresh-expired":n.refreshExpired??"auto",execution:n.execution??"render",appearance:n.appearance??"always"}},[i,n,o,a,s,y,l,c,d]),L=(0,b.useMemo)(()=>JSON.stringify(A),[A]);return(0,b.useImperativeHandle)(t,()=>{if("undefined"==typeof window||!X)return;let{turnstile:e}=window;return{getResponse(){if(!e?.getResponse||!I){console.warn("Turnstile has not been loaded");return}return e.getResponse(I)},reset(){if(!e?.reset||!I){console.warn("Turnstile has not been loaded");return}"execute"===n.execution&&w(B.invisible);try{e.reset(I)}catch(e){console.warn(`Failed to reset Turnstile widget ${I}`,e)}},remove(){if(!e?.remove||!I){console.warn("Turnstile has not been loaded");return}T(""),w(B.invisible),e.remove(I)},render(){if(!e?.render||!k.current||I){console.warn("Turnstile has not been loaded or widget already rendered");return}let t=e.render(k.current,A);return T(t),"execute"!==n.execution&&w(B[y]),t},execute(){if("execute"===n.execution){if(!e?.execute||!k.current||!I){console.warn("Turnstile has not been loaded or widget has not been rendered");return}e.execute(k.current,A),w(B[y])}}}},[X,I,n.execution,y,A,k]),(0,b.useEffect)(()=>(window[M]=()=>z(!0),()=>{delete window[M]}),[M]),(0,b.useEffect)(()=>{f&&!N&&x({onLoadCallbackName:M,scriptOptions:r})},[f,N,M,r]),(0,b.useEffect)(()=>{!f&&X&&!N&&window.turnstile&&z(!0)},[f,N,X]),(0,b.useEffect)(()=>{if(!i){console.warn("sitekey was not provided");return}if(!X||!k.current||!N||C.current)return;let e=window.turnstile.render(k.current,A);T(e),C.current=!0},[X,i,A,C,N]),(0,b.useEffect)(()=>{if(k.current&&I){window.turnstile.remove(I);let e=window.turnstile.render(k.current,A);T(e),C.current=!0}},[L,i]),(0,b.useEffect)(()=>{w("execute"===n.execution?B.invisible:"interaction-only"===A.appearance?B.interactionOnly:B[y])},[n.execution,y,A.appearance]),(0,Z.jsx)(S,{ref:k,as:p,id:P,style:{...g,...h},...m})});C.displayName="Turnstile";var I=(0,r(853).Z)("database-search","IconDatabaseSearch",[["path",{d:"M4 6c0 1.657 3.582 3 8 3s8 -1.343 8 -3s-3.582 -3 -8 -3s-8 1.343 -8 3",key:"svg-0"}],["path",{d:"M4 6v6c0 1.657 3.582 3 8 3m8 -3.5v-5.5",key:"svg-1"}],["path",{d:"M4 12v6c0 1.657 3.582 3 8 3",key:"svg-2"}],["path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-3"}],["path",{d:"M20.2 20.2l1.8 1.8",key:"svg-4"}]]),T=r(5386),N=r(4603),z=r(3844),R=r(335),X=r(3600),P=r(7837),M=r(1163),A=r(2962),L=r(4304),D=r(4804),O=r(5615),U=r(5498),H=r(8807),F=r(8725),K=r(6171);(n=o||(o={})).SUCCESS="/images/favicon-variations/favicon-success-x36.png",n.ERROR="/images/favicon-variations/favicon-error-x36.png",n.DEFAULT="/images/favicon-32x32.png";let V=e=>{let t=document.querySelector('link[rel="icon"][sizes="32x32"]');t.href=e};var W=r(4437),j=r(3454);(i=s||(s={}))[i.LOADING=0]="LOADING",i[i.ERROR=1]="ERROR",i[i.EXPIRED=2]="EXPIRED",i[i.SOLVED=3]="SOLVED";let q=()=>{let[e,t]=(0,b.useState)(0),[r,n]=(0,b.useState)();return 3==e&&r?(0,a.tZ)(G,{token:r}):(0,a.BX)(l.K,{children:[(0,a.tZ)(c.x,{italic:!0,ta:"center",children:"Please solve the captcha to continue"}),(0,a.tZ)(d.k,{gap:"md",justify:"center",align:"center",direction:"row",wrap:"wrap",children:(0,a.tZ)(C,{onError:()=>t(1),onExpire:()=>t(2),options:{},siteKey:j.env.NEXT_PUBLIC_ENV_DEV_MODE?"1x00000000000000000000AA":F.Z.cloudFlareTurnstileSiteKey,onSuccess:e=>{n(e),t(3)}})}),2===e&&(0,a.tZ)(u.b,{icon:(0,a.tZ)(I,{size:"1rem"}),title:"Expired",color:"red",children:"Captcha, please try again"})]})},G=e=>{let{token:t}=e,{query:r}=(0,M.useRouter)(),n=decodeURIComponent(r.bypass),i=r.redirect,[s,{open:w,close:Z}]=(0,k.q)(!1),{data:v,isSuccess:E,isLoading:_,isError:x,error:B}=(0,P.a)({queryKey:["bypass",n],queryFn:()=>(0,K.G)({link:n,turnstile:t}),retry:!1});if((0,b.useEffect)(()=>{if(x||E&&!v.ok){(0,W.CE)(H.m.failedResolves),document.title="Bypass failed | ".concat(F.Z.website_short_name),V(o.ERROR);try{(0,L.B)("bypass_failed",{category:"bypass",bypassHost:new URL(n).host,errorMessage:E&&!v.ok?v.message||v.error:B.message||"Unknown Error"})}catch(e){(0,L.B)("bypass_failed",{category:"bypass",bypassHost:"unrealURL",errorMessage:E&&!v.ok?v.message||v.error:B.message||"Unknown Error"})}}E&&v.ok&&((0,W.CE)(H.m.successfulResolves),document.title="Bypass complete | ".concat(F.Z.website_short_name),V(o.SUCCESS),(0,L.B)("bypass_successful",{category:"bypass",bypassHost:new URL(n).host})),E&&v.ok&&i&&!v.paste&&setTimeout(()=>{window.open(v.link,"_self","noopener,noreferrer")},F.Z.ms_wait_time_on_redirect)},[v,E,i]),!_){if(E&&v.ok){if(v.paste)sessionStorage.setItem(F.Z.sessionStoragePasteKey,v.link.replace("https://bypass.city/paste?paste=","")),window.location.href="/paste";else if(!i)return(0,a.BX)(l.K,{children:[(0,a.BX)(u.b,{icon:(0,a.tZ)(T.Z,{size:"1rem"}),title:"Link Found!",color:"blue",children:["Link is:"," ",(0,a.tZ)("a",{href:v.link,target:"_blank",rel:"noopener noreferrer",children:v.link.length>50?v.link.slice(0,50)+"...":v.link})]}),(0,a.tZ)(h.Z,{grow:!0,children:(0,a.BX)(a.HY,{children:[(0,a.tZ)(p.z,{variant:"outline",leftIcon:(0,a.tZ)(N.Z,{size:"1rem"}),component:"a",href:"/",children:"Try another Link"}),(0,a.tZ)(p.z,{variant:"outline",leftIcon:(0,a.tZ)(z.Z,{size:"1rem"}),component:"a",href:v.link,target:"_blank",rel:"noopener noreferrer",color:"teal",children:"Go to link"})]})})]});else return(0,a.BX)(l.K,{children:[(0,a.tZ)(d.k,{gap:"md",justify:"center",align:"center",direction:"row",wrap:"wrap",children:(0,a.tZ)(f.a,{size:"lg"})}),(0,a.tZ)(u.b,{icon:(0,a.tZ)(T.Z,{size:"1rem"}),title:"Link Found!",color:"blue",children:"We are redirecting you. If it does not work, please click the button below."}),(0,a.tZ)(h.Z,{grow:!0,children:(0,a.tZ)(p.z,{variant:"outline",leftIcon:(0,a.tZ)(z.Z,{size:"1rem"}),component:"a",href:v.link,target:"_blank",rel:"noopener noreferrer",color:"teal",children:"Go to link"})})]})}else if(x||E&&!v.ok)return(0,a.BX)(l.K,{children:[(0,a.tZ)(m.u,{opened:s,onClose:Z,centered:!0,children:(0,a.BX)(u.b,{icon:(0,a.tZ)(I,{size:"1rem"}),title:"Work.ink resolving currently experiences some outage",color:"red",variant:"outline",children:["its not us! the bypass is still working fine but work.ink's servers are down",(0,a.BX)("b",{children:["Join the ",(0,a.tZ)("a",{href:F.Z.discordInviteLink,children:" discord server "})," to get updates on the situation"]})]})}),n.includes("linkvertise.com")?(0,a.BX)(u.b,{title:"Bypass Failed but but we got you covered!",color:"pink",variant:"outline",icon:(0,a.tZ)(R.Z,{size:"1rem"}),children:[(0,a.BX)(c.x,{children:[E&&!v.ok?v.message||v.error:"An error has occurred."," "]}),(0,a.tZ)(y.i,{mt:"1rem",mb:"1rem"}),(0,a.tZ)(g.D,{order:3,children:"However..."}),(0,a.BX)(c.x,{children:["We strongly recommend you to download our userscript to bypass linkvertise links. It is extremely easy to setup and faster. It can also bypass links that bypass.city can't.",(0,a.tZ)("br",{}),(0,a.tZ)("br",{}),"Follow the link below for instructions."]}),(0,a.tZ)("br",{}),(0,a.tZ)(p.z,{component:"a",leftIcon:(0,a.tZ)(R.Z,{size:"1rem"}),href:"/how-to-install-userscript",variant:"outline",color:"green",children:"Get Userscipt and Bypass"})]}):(0,a.BX)(u.b,{icon:(0,a.tZ)(I,{size:"1rem"}),title:E&&!v.ok?v.error:"Error",color:"pink",variant:"outline",children:[E&&!v.ok&&v.message?v.message:"An error has occured."," ","Please try again later."]}),E&&!v.ok&&(null==v?void 0:v.error)==="No bypass found"&&(0,a.BX)(c.x,{children:["We dont have a byass for this yet. Request a bypass on our"," ",(0,a.tZ)("a",{href:F.Z.discordInviteLink,children:" discord server "})," "]}),(0,a.tZ)(h.Z,{grow:!0,children:(0,a.tZ)(p.z,{variant:"outline",leftIcon:(0,a.tZ)(N.Z,{size:"1rem"}),component:"a",href:"/",children:"Try another Link"})})]})}return(0,a.BX)(l.K,{children:[(0,a.tZ)(d.k,{gap:"md",justify:"center",align:"center",direction:"row",wrap:"wrap",children:(0,a.tZ)(f.a,{size:"lg"})}),n.includes("work.ink")&&(0,a.tZ)(u.b,{icon:(0,a.tZ)(X.Z,{size:"1rem"}),title:"Please Wait!",color:"yellow",variant:"outline",children:"bypassing work.ink might take anywhere from 30 seconds to 2 minutes. If it fails then just try again in a few minutes!"})]})};var Y=()=>{let{push:e,isReady:t,query:r}=(0,M.useRouter)(),[n,i]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{if(t){let t=r.bypass;t||"string"==typeof t?i(!0):e("/")}},[t,e,r]),(0,a.BX)(O.Z,{children:[(0,a.tZ)(A.PB,{title:"Bypass in Progress"}),(0,a.tZ)(D.Z,{isFixedHeight:!0,children:n?(0,a.tZ)(q,{}):(0,a.tZ)(f.a,{size:"lg"})}),(0,a.tZ)(w.T,{h:"md"}),(0,a.tZ)(U.Z,{})]})}},4437:function(e,t,r){"use strict";function n(e){let t=Number(localStorage.getItem(e)||0);localStorage.setItem(e,String(t+1))}r.d(t,{CE:function(){return n},VW:function(){return i},oF:function(){return s},zA:function(){return o}});let i=e=>Number(localStorage.getItem(e)||0),o=(e,t)=>{t?localStorage.setItem(e,"true"):localStorage.removeItem(e)},s=e=>!!localStorage.getItem(e)}},function(e){e.O(0,[549,161,642,83,259,615,774,888,179],function(){return e(e.s=4501)}),_N_E=e.O()}]);