1var v;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(v||(v={}));class I extends Error{constructor(t,r,o){super(t),this.message=t,this.code=r,this.data=o}}const J=e=>{var t,r;return e?.androidBridge?"android":!((r=(t=e?.webkit)===null||t===void 0?void 0:t.messageHandlers)===null||r===void 0)&&r.bridge?"ios":"web"},X=e=>{const t=e.CapacitorCustomPlatform||null,r=e.Capacitor||{},o=r.Plugins=r.Plugins||{},s=()=>t!==null?t.name:J(e),n=()=>s()!=="web",c=d=>{const a=l.get(d);return!!(a?.platforms.has(s())||i(d))},i=d=>{var a;return(a=r.PluginHeaders)===null||a===void 0?void 0:a.find(b=>b.name===d)},u=d=>e.console.error(d),l=new Map,w=(d,a={})=>{const b=l.get(d);if(b)return b.proxy;const m=s(),L=i(d);let y;const K=async()=>(!y&&m in a?y=typeof a[m]=="function"?y=await a[m]():y=a[m]:t!==null&&!y&&"web"in a&&(y=typeof a.web=="function"?y=await a.web():y=a.web),y),z=(f,h)=>{var p,g;if(L){const R=L?.methods.find(E=>h===E.name);if(R)return R.rtype==="promise"?E=>r.nativePromise(d,h.toString(),E):(E,A)=>r.nativeCallback(d,h.toString(),E,A);if(f)return(p=f[h])===null||p===void 0?void 0:p.bind(f)}else{if(f)return(g=f[h])===null||g===void 0?void 0:g.bind(f);throw new I(`"${d}" plugin is not implemented on ${m}`,v.Unimplemented)}},C=f=>{let h;const p=(...g)=>{const R=K().then(E=>{const A=z(E,f);if(A){const T=A(...g);return h=T?.remove,T}else throw new I(`"${d}.${f}()" is not implemented on ${m}`,v.Unimplemented)});return f==="addListener"&&(R.remove=async()=>h()),R};return p.toString=()=>`${f.toString()}() { [capacitor code] }`,Object.defineProperty(p,"name",{value:f,writable:!1,configurable:!1}),p},S=C("addListener"),D=C("removeListener"),G=(f,h)=>{const p=S({eventName:f},h),g=async()=>{const E=await p;D({eventName:f,callbackId:E},h)},R=new Promise(E=>p.then(()=>E({remove:g})));return R.remove=async()=>{await g()},R},P=new Proxy({},{get(f,h){switch(h){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return L?G:S;case"removeListener":return D;default:return C(h)}}});return o[d]=P,l.set(d,{name:d,proxy:P,platforms:new Set([...Object.keys(a),...L?[m]:[]])}),P};return r.convertFileSrc||(r.convertFileSrc=d=>d),r.getPlatform=s,r.handleError=u,r.isNativePlatform=n,r.isPluginAvailable=c,r.registerPlugin=w,r.Exception=I,r.DEBUG=!!r.DEBUG,r.isLoggingEnabled=!!r.isLoggingEnabled,r},Y=e=>e.Capacitor=X(e),_=Y(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),k=_.registerPlugin;class N{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(t,r){let o=!1;this.listeners[t]||(this.listeners[t]=[],o=!0),this.listeners[t].push(r);const n=this.windowListeners[t];n&&!n.registered&&this.addWindowListener(n),o&&this.sendRetainedArgumentsForEvent(t);const c=async()=>this.removeListener(t,r);return Promise.resolve({remove:c})}async removeAllListeners(){this.listeners={};for(const t in this.windowListeners)this.removeWindowListener(this.windowListeners[t]);this.windowListeners={}}notifyListeners(t,r,o){const s=this.listeners[t];if(!s){if(o){let n=this.retainedEventArguments[t];n||(n=[]),n.push(r),this.retainedEventArguments[t]=n}return}s.forEach(n=>n(r))}hasListeners(t){var r;return!!(!((r=this.listeners[t])===null||r===void 0)&&r.length)}registerWindowListener(t,r){this.windowListeners[r]={registered:!1,windowEventName:t,pluginEventName:r,handler:o=>{this.notifyListeners(r,o)}}}unimplemented(t="not implemented"){return new _.Exception(t,v.Unimplemented)}unavailable(t="not available"){return new _.Exception(t,v.Unavailable)}async removeListener(t,r){const o=this.listeners[t];if(!o)return;const s=o.indexOf(r);this.listeners[t].splice(s,1),this.listeners[t].length||this.removeWindowListener(this.windowListeners[t])}addWindowListener(t){window.addEventListener(t.windowEventName,t.handler),t.registered=!0}removeWindowListener(t){t&&(window.removeEventListener(t.windowEventName,t.handler),t.registered=!1)}sendRetainedArgumentsForEvent(t){const r=this.retainedEventArguments[t];r&&(delete this.retainedEventArguments[t],r.forEach(o=>{this.notifyListeners(t,o)}))}}const F=e=>
1encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),$=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class Z extends N{async getCookies(){const t=document.cookie,r={};return t.split(";").forEach(o=>{if(o.length<=0)return;let[s,n]=o.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");s=$(s).trim(),n=$(n).trim(),r[s]=n}),r}async setCookie(t){try{const r=F(t.key),o=F(t.value),s=t.expires?`; expires=${t.expires.replace("expires=","")}`:"",n=(t.path||"/").replace("path=",""),c=t.url!=null&&t.url.length>0?`domain=${t.url}`:"";document.cookie=`${r}=${o||""}${s}; path=${n}; ${c};`}catch(r){return Promise.reject(r)}}async deleteCookie(t){try{document.cookie=`${t.key}=; Max-Age=0`}catch(r){return Promise.reject(r)}}async clearCookies(){try{const t=document.cookie.split(";")||[];for(const r of t)document.cookie=r.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(t){return Promise.reject(t)}}async clearAllCookies(){try{await this.clearCookies()}catch(t){return Promise.reject(t)}}}k("CapacitorCookies",{web:()=>new Z});const ee=async e=>new Promise((t,r)=>{const o=new FileReader;o.onload=()=>{const s=o.result;t(s.indexOf(",")>=0?s.split(",")[1]:s)},o.onerror=s=>r(s),o.readAsDataURL(e)}),te=(e={})=>{const t=Object.keys(e);return Object.keys(e).map(s=>s.toLocaleLowerCase()).reduce((s,n,c)=>(s[n]=e[t[c]],s),{})},re=(e,t=!0)=>e?Object.entries(e).reduce((o,s)=>{const[n,c]=s;let i,u;return Array.isArray(c)?(u="",c.forEach(l=>{i=t?encodeURIComponent(l):l,u+=`${n}=${i}&`}),u.slice(0,-1)):(i=t?encodeURIComponent(c):c,u=`${n}=${i}`),`${o}&${u}`},"").substr(1):null,ne=(e,t={})=>{const r=Object.assign({method:e.method||"GET",headers:e.headers},t),s=te(e.headers)["content-type"]||"";if(typeof e.data=="string")r.body=e.data;else if(s.includes("application/x-www-form-urlencoded")){const n=new URLSearchParams;for(const[c,i]of Object.entries(e.data||{}))n.set(c,i);r.body=n.toString()}else if(s.includes("multipart/form-data")||e.data instanceof FormData){const n=new FormData;if(e.data instanceof FormData)e.data.forEach((i,u)=>{n.append(u,i)});else for(const i of Object.keys(e.data))n.append(i,e.data[i]);r.body=n;const c=new Headers(r.headers);c.delete("content-type"),r.headers=c}else(s.includes("application/json")||typeof e.data=="object")&&(r.body=JSON.stringify(e.data));return r};class se extends N{async request(t){const r=ne(t,t.webFetchExtra),o=re(t.params,t.shouldEncodeUrlParams),s=o?`${t.url}?${o}`:t.url,n=await fetch(s,r),c=n.headers.get("content-type")||"";let{responseType:i="text"}=n.ok?t:{};c.includes("application/json")&&(i="json");let u,l;switch(i){case"arraybuffer":case"blob":l=await n.blob(),u=await ee(l);break;case"json":u=await n.json();break;case"document":case"text":default:u=await n.text()}const w={};return n.headers.forEach((d,a)=>{w[a]=d}),{data:u,headers:w,status:n.status,url:n.url}}async get(t){return this.request(Object.assign(Object.assign({},t),{method:"GET"}))}async post(t){return this.request(Object.assign(Object.assign({},t),{method:"POST"}))}async put(t){return this.request(Object.assign(Object.assign({},t),{method:"PUT"}))}async patch(t){return this.request(Object.assign(Object.assign({},t),{method:"PATCH"}))}async delete(t){return this.request(Object.assign(Object.assign({},t),{method:"DELETE"}))}}k("CapacitorHttp",{web:()=>new se});const oe="modulepreload",ie=function(e){return"/"+e},j={},ae=function(t,r,o){let s=Promise.resolve();if(r&&r.length>0){let u=function(l){return Promise.all(l.map(w=>Promise.resolve(w).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),i=c?.nonce||c?.getAttribute("nonce");s=u(r.map(l=>{if(l=ie(l),l in j)return;j[l]=!0;const w=l.endsWith(".css"),d=w?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const a=document.createElement("link");if(a.rel=w?"stylesheet":oe,w||(a.as="script"),a.crossOrigin="",a.href=l,i&&a.setAttribute("nonce",i),document.head.appendChild(a),w)return new Promise((b,m)=>{a.addEventListener("load",b),a.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function n(c){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=c,window.dispatchEvent(i),!i.defaultPrevented)throw c}return s.then(c=>{for(const i of c||[])i.status==="rejected"&&n(i.reason);return t().catch(n)})};var x;(function(e){e.General="General",e.ParentalGuidance="ParentalGuidance",e.Teen="Teen",e.MatureAudience="MatureAudience"})(x||(x={}));var B;(function(e){e.SizeChanged="bannerAdSizeChanged",e.Loaded="bannerAdLoaded",e.FailedToLoad="bannerAdFailedToLoad",e.Opened="bannerAdOpened",e.Closed="bannerAdClosed",e.AdImpression="bannerAdImpression"})(B||(B={}));var M;(function(e){e.TOP_CENTER="TOP_CENTER",e.CENTER="CENTER",e.BOTTOM_CENTER="BOTTOM_CENTER"})(M||(M={}));var q;(function(e){e.BANNER="BANNER",e.FULL_BANNER="FULL_BANNER",e.LARGE_BANNER="LARGE_BANNER",e.MEDIUM_RECTANGLE="MEDIUM_RECTANGLE",e.LEADERBOARD="LEADERBOARD",e.ADAPTIVE_BANNER="ADAPTIVE_BANNER",e.SMART_BANNER="SMART_BANNER"})(q||(q={}));var W;(function(e){e.Loaded="interstitialAdLoaded",e.FailedToLoad="interstitialAdFailedToLoad",e.Showed="interstitialAdShowed",e.FailedToShow="interstitialAdFailedToShow",e.Dismissed="interstitialAdDismissed"})(W||(W={}));var V;(function(e){e.Loaded="onRewardedInterstitialAdLoaded",e.FailedToLoad="onRewardedInterstitialAdFailedToLoad",e.Showed="onRewardedInterstitialAdShowed",e.FailedToShow="onRewardedInterstitialAdFailedToShow",e.Dismissed="onRewardedInterstitialAdDismissed",e.Rewarded="onRewardedInterstitialAdReward"})(V||(V={}));var H;(function(e){e.Loaded="onRewardedVideoAdLoaded",e.FailedToLoad="onRewardedVideoAdFailedToLoad",e.Showed="onRewardedVideoAdShowed",e.FailedToShow="onRewardedVideoAdFailedToShow",e.Dismissed="onRewardedVideoAdDismissed",e.Rewarded="onRewardedVideoAdReward"})(H||(H={}));var O;(function(e){e.NOT_REQUIRED="NOT_REQUIRED",e.OBTAINED="OBTAINED",e.REQUIRED="REQUIRED",e.UNKNOWN="UNKNOWN"})(O||(O={}));var Q;(function(e){e[e.DISABLED=0]="DISABLED",e[e.EEA=1]="EEA",e[e.NOT_EEA=2]="NOT_EEA",e[e.US=3]="US",e[e.OTHER=4]="OTHER"})(Q||(Q={}));const le=k("AdMob",{web:()=>ae(()=>Promise.resolve().then(()=>de),void 0).then(e=>new e.AdMobWeb)}
1);var U;(function(e){e.NOT_REQUIRED="NOT_REQUIRED",e.REQUIRED="REQUIRED",e.UNKNOWN="UNKNOWN"})(U||(U={}));class ce extends N{async initialize(){}async requestTrackingAuthorization(){}async trackingAuthorizationStatus(){return{status:"authorized"}}async requestConsentInfo(t){return{status:O.REQUIRED,isConsentFormAvailable:!0,canRequestAds:!0,privacyOptionsRequirementStatus:U.REQUIRED}}async showPrivacyOptionsForm(){}async showConsentForm(){return{status:O.REQUIRED,canRequestAds:!0,privacyOptionsRequirementStatus:U.REQUIRED}}async resetConsentInfo(){}async setApplicationMuted(t){}async setApplicationVolume(t){}async showBanner(t){}async hideBanner(){}async resumeBanner(){}async removeBanner(){}async prepareInterstitial(t){return{adUnitId:t.adId}}async showInterstitial(){}async prepareRewardVideoAd(t){return{adUnitId:t.adId}}async showRewardVideoAd(){return{type:"",amount:0}}async prepareRewardInterstitialAd(t){return{adUnitId:t.adId}}async showRewardInterstitialAd(){return{type:"",amount:0}}}const de=Object.freeze(Object.defineProperty({__proto__:null,AdMobWeb:ce},Symbol.toStringTag,{value:"Module"}));export{le as A,M as B,_ as C,ae as _,O as a,q as b,B as c};
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.