PageSourceSearch

https://setverso.com/assets/index-BGL46_Uy.js

js setverso.com collected 2026-10-06 04:45:19 UTC 9,364 bytes, 1 lines download raw bytes

1var a=(r,e,t)=>new Promise((i,s)=>{var n=c=>{try{o(t.next(c))}catch(g){s(g)}},l=c=>{try{o(t.throw(c))}catch(g){s(g)}},o=c=>c.done?i(c.value):Promise.resolve(c.value).then(n,l);o((t=t.apply(r,e)).next())});/*! Capacitor: https://capacitorjs.com/ - MIT License */var P;(function(r){r.Unimplemented="UNIMPLEMENTED",r.Unavailable="UNAVAILABLE"})(P||(P={}));class U extends Error{constructor(e,t,i){super(e),this.message=e,this.code=t,this.data=i}}const I=r=>{var e,t;return r!=null&&r.androidBridge?"android":!((t=(e=r==null?void 0:r.webkit)===null||e===void 0?void 0:e.messageHandlers)===null||t===void 0)&&t.bridge?"ios":"web"},K=r=>{const e=r.CapacitorCustomPlatform||null,t=r.Capacitor||{},i=t.Plugins=t.Plugins||{},s=()=>e!==null?e.name:I(r),n=()=>s()!=="web",l=d=>{const u=g.get(d);return!!(u!=null&&u.platforms.has(s())||o(d))},o=d=>{var u;return(u=t.PluginHeaders)===null||u===void 0?void 0:u.find(E=>E.name===d)},c=d=>r.console.error(d),g=new Map,C=(d,u={})=>{const E=g.get(d);if(E)return console.warn(`Capacitor plugin "${d}" already registered. Cannot register plugins twice.`),E.proxy;const p=s(),L=o(d);let y;const F=()=>a(void 0,null,function*(){return!y&&p in u?y=typeof u[p]=="function"?y=yield u[p]():y=u[p]:e!==null&&!y&&"web"in u&&(y=typeof u.web=="function"?y=yield u.web():y=u.web),y}),_=(f,h)=>{var w,m;if(L){const v=L==null?void 0:L.methods.find(b=>h===b.name);if(v)return v.rtype==="promise"?b=>t.nativePromise(d,h.toString(),b):(b,k)=>t.nativeCallback(d,h.toString(),b,k);if(f)return(w=f[h])===null||w===void 0?void 0:w.bind(f)}else{if(f)return(m=f[h])===null||m===void 0?void 0:m.bind(f);throw new U(`"${d}" plugin is not implemented on ${p}`,P.Unimplemented)}},A=f=>{let h;const w=(...m)=>{const v=F().then(b=>{const k=_(b,f);if(k){const x=k(...m);return h=x==null?void 0:x.remove,x}else throw new U(`"${d}.${f}()" is not implemented on ${p}`,P.Unimplemented)});return f==="addListener"&&(v.remove=()=>a(void 0,null,function*(){return h()})),v};return w.toString=()=>`${f.toString()}() { [capacitor code] }`,Object.defineProperty(w,"name",{value:f,writable:!1,configurable:!1}),w},T=A("addListener"),B=A("removeListener"),q=(f,h)=>{const w=T({eventName:f},h),m=()=>a(void 0,null,function*(){const b=yield w;B({eventName:f,callbackId:b},h)}),v=new Promise(b=>w.then(()=>b({remove:m})));return v.remove=()=>a(void 0,null,function*(){console.warn("Using addListener() without 'await' is deprecated."),yield m()}),v},$=new Proxy({},{get(f,h){switch(h){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return L?q:T;case"removeListener":return B;default:return A(h)}}});return i[d]=$,g.set(d,{name:d,proxy:$,platforms:new Set([...Object.keys(u),...L?[p]:[]])}),$};return t.convertFileSrc||(t.convertFileSrc=d=>d),t.getPlatform=s,t.handleError=c,t.isNativePlatform=n,t.isPluginAvailable=l,t.registerPlugin=C,t.Exception=U,t.DEBUG=!!t.DEBUG,t.isLoggingEnabled=!!t.isLoggingEnabled,t},M=r=>r.Capacitor=K(r),j=M(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),O=j.registerPlugin;class S{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(e,t){let i=!1;this.listeners[e]||(this.listeners[e]=[],i=!0),this.listeners[e].push(t);const n=this.windowListeners[e];n&&!n.registered&&this.addWindowListener(n),i&&this.sendRetainedArgumentsForEvent(e);const l=()=>a(this,null,function*(){return this.removeListener(e,t)});return Promise.resolve({remove:l})}removeAllListeners(){return a(this,null,function*(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}})}notifyListeners(e,t,i){const s=this.listeners[e];if(!s){if(i){let n=this.retainedEventArguments[e];n||(n=[]),n.push(t),this.retainedEventArguments[e]=n}return}s.forEach(n=>n(t))}hasListeners(e){var t;return!!(!((t=this.listeners[e])===null||t===void 0)&&t.length)}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:i=>{this.notifyListeners(t,i)}}}unimplemented(e="not implemented"){return new j.Exception(e,P.Unimplemented)}unavailable(e="not available"){return new j.Exception(e,P.Unavailable)}removeListener(e,t){return a(this,null,function*(){const i=this.listeners[e];if(!i)return;const s=i.indexOf(t);this.listeners[e].splice(s,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])})}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}sendRetainedArgumentsForEvent(e){const t=this.retainedEventArguments[e];t&&(delete this.retainedEventArguments[e],t.forEach(i=>
1{this.notifyListeners(e,i)}))}}const N=O("WebView"),D=r=>encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),H=r=>r.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class G extends S{getCookies(){return a(this,null,function*(){const e=document.cookie,t={};return e.split(";").forEach(i=>{if(i.length<=0)return;let[s,n]=i.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");s=H(s).trim(),n=H(n).trim(),t[s]=n}),t})}setCookie(e){return a(this,null,function*(){try{const t=D(e.key),i=D(e.value),s=e.expires?`; expires=${e.expires.replace("expires=","")}`:"",n=(e.path||"/").replace("path=",""),l=e.url!=null&&e.url.length>0?`domain=${e.url}`:"";document.cookie=`${t}=${i||""}${s}; path=${n}; ${l};`}catch(t){return Promise.reject(t)}})}deleteCookie(e){return a(this,null,function*(){try{document.cookie=`${e.key}=; Max-Age=0`}catch(t){return Promise.reject(t)}})}clearCookies(){return a(this,null,function*(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(e){return Promise.reject(e)}})}clearAllCookies(){return a(this,null,function*(){try{yield this.clearCookies()}catch(e){return Promise.reject(e)}})}}const ee=O("CapacitorCookies",{web:()=>new G}),V=r=>a(void 0,null,function*(){return new Promise((e,t)=>{const i=new FileReader;i.onload=()=>{const s=i.result;e(s.indexOf(",")>=0?s.split(",")[1]:s)},i.onerror=s=>t(s),i.readAsDataURL(r)})}),z=(r={})=>{const e=Object.keys(r);return Object.keys(r).map(s=>s.toLocaleLowerCase()).reduce((s,n,l)=>(s[n]=r[e[l]],s),{})},J=(r,e=!0)=>r?Object.entries(r).reduce((i,s)=>{const[n,l]=s;let o,c;return Array.isArray(l)?(c="",l.forEach(g=>{o=e?encodeURIComponent(g):g,c+=`${n}=${o}&`}),c.slice(0,-1)):(o=e?encodeURIComponent(l):l,c=`${n}=${o}`),`${i}&${c}`},"").substr(1):null,Q=(r,e={})=>{const t=Object.assign({method:r.method||"GET",headers:r.headers},e),s=z(r.headers)["content-type"]||"";if(typeof r.data=="string")t.body=r.data;else if(s.includes("application/x-www-form-urlencoded")){const n=new URLSearchParams;for(const[l,o]of Object.entries(r.data||{}))n.set(l,o);t.body=n.toString()}else if(s.includes("multipart/form-data")||r.data instanceof FormData){const n=new FormData;if(r.data instanceof FormData)r.data.forEach((o,c)=>{n.append(c,o)});else for(const o of Object.keys(r.data))n.append(o,r.data[o]);t.body=n;const l=new Headers(t.headers);l.delete("content-type"),t.headers=l}else(s.includes("application/json")||typeof r.data=="object")&&(t.body=JSON.stringify(r.data));return t};class X extends S{request(e){return a(this,null,function*(){const t=Q(e,e.webFetchExtra),i=J(e.params,e.shouldEncodeUrlParams),s=i?`${e.url}?${i}`:e.url,n=yield fetch(s,t),l=n.headers.get("content-type")||"";let{responseType:o="text"}=n.ok?e:{};l.includes("application/json")&&(o="json");let c,g;switch(o){case"arraybuffer":case"blob":g=yield n.blob(),c=yield V(g);break;case"json":c=yield n.json();break;case"document":case"text":default:c=yield n.text()}const C={};return n.headers.forEach((d,u)=>{C[u]=d}),{data:c,headers:C,status:n.status,url:n.url}})}get(e){return a(this,null,function*(){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))})}post(e){return a(this,null,function*(){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))})}put(e){return a(this,null,function*(){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))})}patch(e){return a(this,null,function*(){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))})}delete(e){return a(this,null,function*(){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))})}}const te=O("CapacitorHttp",{web:()=>new X});var W;(function(r){r.Dark="DARK",r.Light="LIGHT",r.Default="DEFAULT"})(W||(W={}));var R;(function(r){r.StatusBar="StatusBar",r.NavigationBar="NavigationBar"})(R||(R={}));class Y extends S{setStyle(){return a(this,null,function*(){this.unavailable("not available for web")})}setAnimation(){return a(this,null,function*(){this.unavailable("not available for web")})}show(){return a(this,null,function*(){this.unavailable("not available for web")})}hide(){return a(this,null,function*(){this.unavailable("not available for web")})}}const re=O("SystemBars",{web:()=>new Y});export{j as Capacitor,ee as CapacitorCookies,U as CapacitorException,te as CapacitorHttp,P as ExceptionCode,R as SystemBarType,re as SystemBars,W as SystemBarsStyle,S as WebPlugin,N as WebView,Q as buildRequestInit,O as registerPlugin};

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.