PageSourceSearch

https://account.zendrop.com/build/assets/wix-autologin-D-K9aDp0.js

js zendrop.com collected 2026-10-02 14:41:20 UTC 4,419 bytes, 2 lines download raw bytes

1import{n as r}from"./index-CxHn0Gru.js";const s=10,l=5e3,c="/login",d=5,u={data(){return{aborted:!1,retryTimeout:null,dots:d}},mounted(){this.startAutologin()},beforeDestroy(){this.aborted=!0,this.retryTimeout&&(clearTimeout(this.retryTimeout),this.retryTimeout=null)},methods:{redirectToLogin(){window.location.href=c},async startAutologin(){const n=window.location.search;if(!new URLSearchParams(n).get("instance")){this.redirectToLogin();return}const t=`/oauth/authorize/wix${n}`;let e=0;const a=async()=>{if(!this.aborted){e++;try{const o=await fetch(t,{redirect:"manual"});if(this.aborted)return;if(o.type==="opaqueredirect"||o.ok){window.location.href=t;return}if(o.status>=400&&o.status<500&&o.status!==404){this.redirectToLogin();return}}catch{if(this.aborted)return}if(e>=s){this.redirectToLogin();return}this.retryTimeout=setTimeout(()=>{this.retryTimeout=null,a()},l)}};await a()}}};var h=function(){var i=this,t=i._self._c;return t("div",{staticClass:"wix-connect-loading"},[t("section",{staticClass:"wix-connect-loading-card"},[t("h1",{staticClass:"wix-connect-loading-title"},[i._v(" "+i._s(i.$t("ui.wix_autologin.title"))+" ")]),t("div",{staticClass:"wix-connect-loading-body"},[t("p",[i._v(i._s(i.$t("ui.wix_autologin.body_billing")))]),t("p",[i._v(i._s(i.$t("ui.wix_autologin.body_features")))])]),t("div",{staticClass:"wix-connect-loading-graphic",attrs:{"aria-hidden":"true"}},[t("div",{staticClass:"wix-connect-loading-badge wix-connect-loading-zendrop"},[t("svg",{attrs:{width:"24",height:"27",viewBox:"0 0 17.532 19.017",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M 13.821 0.014 C 15.55 0.033 16.857 0.915 17.353 2.468 C 17.742 3.687 17.492 4.833 16.639 5.833 C 13.772 9.19 10.906 12.547 8.037 15.902 C 7.511 16.517 6.985 17.133 6.443 17.734 C 5.112 19.211 2.863 19.445 1.382 18.27 C -0.223 16.998 -0.469 14.847 0.851 13.273 C 2.457 11.358 4.098 9.469 5.717 7.564 C 5.815 7.449 5.855 7.289 5.922 7.15 C 5.754 7.1 5.587 7.013 5.417 7.005 C 4.834 6.979 4.25 6.956 3.667 6.976 C 1.685 7.041 0.033 5.54 0.012 3.546 C -0.01 1.571 1.548 0.057 3.656 0.016 C 5.369 -0.016 7.082 0.01 8.795 0.01 C 10.47 0.01 12.146 -0.004 13.821 0.014 Z",fill:"currentColor","fill-rule":"evenodd"}}),t("path",{attrs:{d:"M 11.8599 16.08 C 11.9009 15.542 12.0709 15.05 12.4219 14.63 C 13.4149 13.443 14.0319 12.703 15.0739 11.601 C 15.4589 11.195 15.7629 11.391 15.8969 11.706 C 16.5069 13.135 16.8409 14.002 17.3769 15.472 C 17.9869 17.146 16.6309 18.962 14.7899 19 C 14.6139 19.004 14.4369 18.994 14.2599 18.99 C 12.7869 18.77 11.7509 17.516 11.8599 16.08 Z",fill:"currentColor","fill-opacity":"0.5","fill-rule":"evenodd"}})])]),t("div",{staticClass:"wix-connect-loading-connector"},i._l(i.dots,function(e){return t("span",{key:e,staticClass:"wix-connect-loading-dot",style:{animationDelay:(e-1)*.14+"s"}})}),0),t("div",{staticClass:"wix-connect-loading-badge wix-connect-loading-wix"},[t("svg",{attrs:{width:"40",height:"16",viewBox:"0 0 166 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{fill:"currentColor",d:"M165.304 0h-9.131a7.639 7.639 0 0 0-6.323 3.352l-12.211 18.014a.82.82 0 0 1-1.356 0L124.071 3.352A7.635 7.635 0 0 0 117.748 0h-9.131l21.754 32.09L108.737 64h9.131a7.64 7.64 0 0 0 6.324-3.352l12.091-17.835a.82.82 0 0 1 1.356 0l12.091 17.835A7.634 7.634 0 0 0 156.053 64h9.131l-21.633-31.91L165.304 0ZM89.828 6.547V64h4.364a6.546 6.546 0 0 0 6.548-6.547V0h-4.364a6.546 6.546 0 0 0-6.548 6.547ZM81.828 0h-3.884a9.154 9.154 0 0 0-8.928 7.126l-8.688 38.193-7.605-35.653C51.317 3.077 44.556-1.366 37.638.544c-4.407 1.217-7.674 4.94-8.627 9.41L21.484 45.27 12.812 7.128A9.162 9.162 0 0 0 3.88 0H0l14.555 63.997h5.514c5.005 0 9.329-3.498 10.373-8.393l9.304-43.664c.115-.542.6-.934 1.153-.934s1.038.392 1.153.934l9.313 43.667a10.603 10.603 0 0 0 10.372 8.39h5.533L81.828 0Z"}})])])]),t("div",{staticClass:"wix-connect-loading-status"},[t("svg",{attrs:{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"}},[t("rect",{attrs:{x:"4",y:"11",width:"16",height:"10",rx:"2"}}),t("path",{attrs:{d:"M8 11V7a4 4 0 0 1 8 0v4"}})]),t("span",[i._v(i._s(i.$t("ui.wix_autologin.status_caption")))])])])])},w=[],g=r(u,h,w,!1,null,"ae2d5d8b");const _=g.exports;export{_ as default};
2//# sourceMappingURL=wix-autologin-D-K9aDp0.js.map

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.