PageSourceSearch

https://www.sanchan.run/assets/web-SiVp_jKn.js

js sanchan.run collected 2026-10-02 02:06:59 UTC 2,924 bytes, 5 lines download raw bytes

1import{W as j}from"./main-CMs2Wnxx.js";import"./api-base-A6DjxvyV.js";import"./index-PuaVkP3f.js";import"./crewOptions-CnwUGwAC.js";var w={exports:{}};/*!
2  * $script.js JS loader & dependency manager
3  * https://github.com/ded/script.js
4  * (c) Dustin Diaz 2014 | License MIT
5  */(function(y){(function(i,p){y.exports?y.exports=p():this[i]=p()})("$script",function(){var i=document,p=i.getElementsByTagName("head")[0],I=!1,h="push",S="readyState",A="onreadystatechange",s={},o={},d={},f,v;function m(e,t){for(var n=0,u=e.length;n<u;++n)if(!t(e[n]))return I;return 1}function g(e,t){m(e,function(n){return t(n),1})}function l(e,t,n){e=e[h]?e:[e];var u=t&&t.call,r=u?t:n,N=u?e.join(""):t,U=e.length;function b(c){return c.call?c():s[c]}function _(){if(!--U){s[N]=1,r&&r();for(var c in o)m(c.split("|"),b)&&!g(o[c],b)&&(o[c]=[])}}return setTimeout(function(){g(e,function c(a,W){if(a===null)return _();if(!W&&!/^https?:\/\//.test(a)&&f&&(a=a.indexOf(".js")===-1?f+a+".js":f+a),d[a])return d[a]==2?_():setTimeout(function(){c(a,!0)},0);d[a]=1,x(a,_)})},0),l}function x(e,t){var n=i.createElement("script"),u;
5n.onload=n.onerror=n[A]=function(){n[S]&&!/^c|loade/.test(n[S])||u||(n.onload=n[A]=null,u=1,d[e]=2,t())},n.async=1,n.src=v?e+(e.indexOf("?")===-1?"?":"&")+v:e,p.insertBefore(n,p.lastChild)}return l.get=x,l.order=function(e,t,n){(function u(r){r=e.shift(),e.length?l(r,u):l(r,t,n)})()},l.path=function(e){f=e},l.urlArgs=function(e){v=e},l.ready=function(e,t,n){e=e[h]?e:[e];var u=[];return!g(e,function(r){s[r]||u[h](r)})&&m(e,function(r){return s[r]})?t():function(r){o[r]=o[r]||[],o[r][h](t),n&&n(u)}(e.join("|")),l},l.done=function(e){l([null],e)},l})})(w);var z=w.exports;class E extends j{constructor(){super(...arguments),this.appleScriptUrl="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",this.isAppleScriptLoaded=!1}async authorize(i){return new Promise((p,I)=>{i?this.loadSignInWithAppleJS().then(h=>{var S,A,s;this.isAppleScriptLoaded=h,this.isAppleScriptLoaded?(AppleID.auth.init({clientId:i.clientId,redirectURI:i.redirectURI,scope:(S=i.scopes)!==null&&S!==void 0?S:void 0,state:(A=i.state)!==null&&A!==void 0?A:void 0,nonce:(s=i.nonce)!==null&&s!==void 0?s:void 0,usePopup:!0}),AppleID.auth.signIn().then(o=>{var d,f,v,m,g;const l={response:{user:null,email:(d=o.user)===null||d===void 0?void 0:d.email,givenName:(v=(f=o.user)===null||f===void 0?void 0:f.name)===null||v===void 0?void 0:v.firstName,familyName:(g=(m=o.user)===null||m===void 0?void 0:m.name)===null||g===void 0?void 0:g.lastName,identityToken:o.authorization.id_token,authorizationCode:o.authorization.code}};p(l)}).catch(o=>{I(o)})):I("Unable to load Sign in with Apple JS framework.")}):I("No options were provided.")})}loadSignInWithAppleJS(){return new Promise(i=>{this.isAppleScriptLoaded?i(!0):typeof window!==void 0?z.get(this.appleScriptUrl,()=>i(!0)):i(!1)})}}export{E as SignInWithAppleWeb};

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.