vendor: 5,325 bytes, line 1
1import{B as Ti}from"./chunk-EPOLDU6W-Cy0pbNoL.js";import{A as Di}from"./constant-Xkv3-n4F.js";var Ue={exports:{}},bt,Yt;function Hi(){if(Yt)return bt;Yt=1;function e(i){try{return JSON.stringify(i)}catch{return'"[Circular]"'}}bt=t;function t(i,n,s){var r=s&&s.stringify||e,o=1;if(typeof i=="object"&&i!==null){var a=n.length+o;if(a===1)return i;var c=new Array(a);c[0]=r(i);for(var w=1;w<a;w++)c[w]=r(n[w]);return c.join(" ")}if(typeof i!="string")return i;var g=n.length;if(g===0)return i;for(var m="",S=1-o,x=-1,R=i&&i.length||0,v=0;v<R;){if(i.charCodeAt(v)===37&&v+1<R){switch(x=x>-1?x:0,i.charCodeAt(v+1)){case 100:case 102:if(S>=g||n[S]==null)break;x<v&&(m+=i.slice(x,v)),m+=Number(n[S]),x=v+2,v++;break;case 105:if(S>=g||n[S]==null)break;x<v&&(m+=i.slice(x,v)),m+=Math.floor(Number(n[S])),x=v+2,v++;break;case 79:case 111:case 106:if(S>=g||n[S]===void 0)break;x<v&&(m+=i.slice(x,v));var L=typeof n[S];if(L==="string"){m+="'"+n[S]+"'",x=v+2,v++;break}if(L==="function"){m+=n[S].name||"<anonymous>",x=v+2,v++;break}m+=r(n[S]),x=v+2,v++;break;case 115:if(S>=g)break;x<v&&(m+=i.slice(x,v)),m+=String(n[S]),x=v+2,v++;break;case 37:x<v&&(m+=i.slice(x,v)),m+="%",x=v+2,v++,S--;break}++S}++v}return x===-1?i:(x<R&&(m+=i.slice(x)),m)}return bt}var Qt;function qi(){if(Qt)return Ue.exports;Qt=1;const e=Hi();Ue.exports=g;const t=Z().console||{},i={mapHttpRequest:B,mapHttpResponse:B,wrapRequestSerializer:z,wrapResponseSerializer:z,wrapErrorSerializer:z,req:B,res:B,err:A,errWithCause:A};function n(l,y){return l==="silent"?1/0:y.levels.values[l]}const s=Symbol("pino.logFuncs"),r=Symbol("pino.hierarchy"),o={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function a(l,y){const k={logger:y,parent:l[r]};y[r]=k}function c(l,y,k){const E={};y.forEach(I=>{E[I]=k[I]?k[I]:t[I]||t[o[I]||"log"]||U}),l[s]=E}function w(l,y){return Array.isArray(l)?l.filter(function(E){return E!=="!stdSerializers.err"}):l===!0?Object.keys(y):!1}function g(l){l=l||{},l.browser=l.browser||{};const y=l.browser.transmit;if(y&&typeof y.send!="function")throw Error("pino: transmit option must have a send function");const k=l.browser.write||t;l.browser.write&&(l.browser.asObject=!0);const E=l.serializers||{},I=w(l.browser.serialize,E);let H=l.browser.serialize;Array.isArray(l.browser.serialize)&&l.browser.serialize.indexOf("!stdSerializers.err")>-1&&(H=!1);const M=Object.keys(l.customLevels||{}),F=["error","fatal","warn","info","debug","trace"].concat(M);typeof k=="function"&&F.forEach(function(G){k[G]=k}),(l.enabled===!1||l.browser.disabled)&&(l.level="silent");const V=l.level||"info",T=Object.create(k);T.log||(T.log=U),c(T,F,k),a({},T),Object.defineProperty(T,"levelVal",{get:ae}),Object.defineProperty(T,"level",{get:pt,set:Je});const $={transmit:y,serialize:I,asObject:l.browser.asObject,asObjectBindingsOnly:l.browser.asObjectBindingsOnly,formatters:l.browser.formatters,levels:F,timestamp:P(l),messageKey:l.messageKey||"msg",onChild:l.onChild||U};T.levels=m(l),T.level=V,T.isLevelEnabled=function(G){return this.levels.values[G]?this.levels.values[G]>=this.levels.values[this.level]:!1},T.setMaxListeners=T.getMaxListeners=T.emit=T.addListener=T.on=T.prependListener=T.once=T.prependOnceListener=T.removeListener=T.removeAllListeners=T.listeners=T.listenerCount=T.eventNames=T.write=T.flush=U,T.serializers=E,T._serialize=I,T._stdErrSerialize=H,T.child=function(...G){return Gt.call(this,$,...G)},y&&(T._logEvent=O());function ae(){return n(this.level,this)}function pt(){return this._level}function Je(G){if(G!=="silent"&&!this.levels.values[G])throw Error("unknown level "+G);this._level=G,R(this,$,T,"error"),R(this,$,T,"fatal"),R(this,$,T,"warn"),R(this,$,T,"info"),R(this,$,T,"debug"),R(this,$,T,"trace"),M.forEach(ce=>{R(this,$,T,ce)})}function Gt(G,ce,je){if(!ce)throw new Error("missing bindings for child Pino");je=je||{},I&&ce.serializers&&(je.serializers=ce.serializers);const Kt=je.serializers;if(I&&Kt){var Xe=Object.assign({},E,Kt),Jt=l.browser.serialize===!0?Object.keys(Xe):I;delete ce.serializers,b([ce],Jt,Xe,this._stdErrSerialize)}function Xt(Ye){this._childLevel=(Ye._childLevel|0)+1,this.bindings=ce,Xe&&(this.serializers=Xe,this._serialize=Jt),y&&(this._logEvent=O([].concat(Ye._logEvent.bindings,ce)))}Xt.prototype=this;const Pe=new Xt(this);return a(this,Pe),Pe.child=function(...Ye){return Gt.call(this,G,...Ye)},Pe.level=je.level||this.level,G.onChild(Pe),Pe}return T}function m(l){const y=l.customLevels||{},k=Object.assign({},g.levels.values,y),E=Object.assign({},g.levels.labels,S(y));return{values:k,labels:E}}function S(l){const y={};return Object.keys(l).forEach(function(k){y[l[k]]=k}),y}g.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},g.stdSerializers=i,g.stdTimeFunctions=Object.assign({},{nullTime:ee,epochTime:X,unixTime:Q,isoTime:de});function x(l){const y=[];l.bindings&&y.push(l.bindings);let k=l[r];for(;k.parent;)k=k.parent,k.logger.bindings&&y.push(k.logger.bindings);return y.reverse()}function R(l,y,k,E){if(Object.defineProperty(l,E,{value:n(l.level,k)>n(E,k)?U:k[s][E],writable:!0,enumerable:!0,configurable:!0}),l[E]===U){if(!y.transmit)return;const H=y.transmit.level||l.level,M=n(H,k);if(n(E,k)<M)return}l[E]=L(l,y,k,E);const I=x(l);I.length!==0&&(l[E]=v(I,l[E]))}
1function v(l,y){return function(){return y.apply(this,[...l,...arguments])}}function L(l,y,k,E){return(function(I){return function(){const M=y.timestamp(),F=new Array(arguments.length),V=Object.getPrototypeOf&&Object.getPrototypeOf(this)===t?t:this;for(var T=0;T<F.length;T++)F[T]=arguments[T];var $=!1;if(y.serialize&&(b(F,this._serialize,this.serializers,this._stdErrSerialize),$=!0),y.asObject||y.formatters?I.call(V,...D(this,E,F,M,y)):I.apply(V,F),y.transmit){const ae=y.transmit.level||l._level,pt=n(ae,k),Je=n(E,k);if(Je<pt)return;_(this,{ts:M,methodLevel:E,methodValue:Je,transmitValue:k.levels.values[y.transmit.level||l._level],send:y.transmit.send,val:n(l._level,k)},F,$)}}})(l[s][E])}function D(l,y,k,E,I){const{level:H,log:M=ae=>ae}=I.formatters||{},F=k.slice();let V=F[0];const T={};let $=(l._childLevel|0)+1;if($<1&&($=1),E&&(T.time=E),H){const ae=H(y,l.levels.values[y]);Object.assign(T,ae)}else T.level=l.levels.values[y];if(I.asObjectBindingsOnly){if(V!==null&&typeof V=="object")for(;$--&&typeof F[0]=="object";)Object.assign(T,F.shift());return[M(T),...F]}else{if(V!==null&&typeof V=="object"){for(;$--&&typeof F[0]=="object";)Object.assign(T,F.shift());V=F.length?e(F.shift(),F):void 0}else typeof V=="string"&&(V=e(F.shift(),F));return V!==void 0&&(T[I.messageKey]=V),[M(T)]}}function b(l,y,k,E){for(const I in l)if(E&&l[I]instanceof Error)l[I]=g.stdSerializers.err(l[I]);else if(typeof l[I]=="object"&&!Array.isArray(l[I])&&y)for(const H in l[I])y.indexOf(H)>-1&&H in k&&(l[I][H]=k[H](l[I][H]))}function _(l,y,k,E=!1){const I=y.send,H=y.ts,M=y.methodLevel,F=y.methodValue,V=y.val,T=l._logEvent.bindings;E||b(k,l._serialize||Object.keys(l.serializers),l.serializers,l._stdErrSerialize===void 0?!0:l._stdErrSerialize),l._logEvent.ts=H,l._logEvent.messages=k.filter(function($){return T.indexOf($)===-1}),l._logEvent.level.label=M,l._logEvent.level.value=F,I(M,l._logEvent,V),l._logEvent=O(T)}function O(l){return{ts:0,messages:[],bindings:l||[],level:{label:"",value:0}}}function A(l){const y={type:l.constructor.name,msg:l.message,stack:l.stack};for(const k in l)y[k]===void 0&&(y[k]=l[k]);return y}function P(l){return typeof l.timestamp=="function"?l.timestamp:l.timestamp===!1?ee:X}function B(){return{}}function z(l){return l}function U(){}function ee(){return!1}function X(){return Date.now()}function Q(){return Math.round(Date.now()/1e3)}function de(){return new Date(Date.now()).toISOString()}function Z(){function l(y){return typeof y<"u"&&y}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return l(self)||l(window)||l(this)||{}}}return Ue.exports.default=g,Ue.exports.pino=g,Ue.exports}var Ei=qi();const Ni=Ti(Ei),Mi={trace:"debug",debug:"debug",info:"info",warn:"warn",error:"error",fatal:"error"},Se=e=>t=>{const{level:i,msg:n,time:s,...r}=t},$i=Ei.pino({level:"info",browser:{write:{trace:Se(),debug:Se(),info:Se(),warn:Se(),error:Se(),fatal:Se()},transmit:{send(e,t){const{newrelic:i}=window;if(i&&i.log&&i.noticeError){const n=t.messages.pop(),s=t.messages.pop();let r={appVersion:Di,referrer:document.referrer||"none"},o;typeof s=="object"?("error"in s&&s.error instanceof Error&&(o=s.error,delete s.error),r={...r,...s}):r.logData=s,i.log(n,{level:Mi[e],customAttributes:{...r,...o?{errorName:o.name,errorMessage:o.message,errorStack:o.stack}:{}}}),e==="error"&&(o?i.noticeError(o,{errorMessage:n,...r}):i.noticeError(n,{...r}))}}}}}),Vi=/\{[^{}]+\}/g,Wi=()=>typeof process=="object"&&Number.parseInt(process?.versions?.node?.substring(0,2))>=18&&process.versions.undici;function Gi(){return Math.random().toString(36).slice(2,11)}function Ki(e){let{baseUrl:t="",Request:i=globalThis.Request,fetch:n=globalThis.fetch,querySerializer:s,bodySerializer:r,headers:o,requestInitExt:a=void 0,...c}={...e};a=Wi()?a:void 0,t=ti(t);const w=[];async function g(m,S){const{baseUrl:x,fetch:R=n,Request:v=i,headers:L,params:D={},parseAs:b="json",querySerializer:_,bodySerializer:O=r??Xi,body:A,...P}=S||{};let B=t;x&&(B=ti(x)??t);let z=typeof s=="function"?s:Zt(s);_&&(z=typeof _=="function"?_:Zt({...typeof s=="object"?s:{},..._}));const U=A===void 0?void 0:O(A,ei(o,L,D.header)),ee=ei(U===void 0||U instanceof FormData?{}:{"Content-Type":"application/json"},o,L,D.header),X={redirect:"follow",...c,...P,body:U,headers:ee};let Q,de,Z=new v(Yi(m,{baseUrl:B,params:D,querySerializer:z}),X),l;
1for(const k in P)k in Z||(Z[k]=P[k]);if(w.length){Q=Gi(),de=Object.freeze({baseUrl:B,fetch:R,parseAs:b,querySerializer:z,bodySerializer:O});for(const k of w)if(k&&typeof k=="object"&&typeof k.onRequest=="function"){const E=await k.onRequest({request:Z,schemaPath:m,params:D,options:de,id:Q});if(E)if(E instanceof v)Z=E;else if(E instanceof Response){l=E;break}else throw new Error("onRequest: must return new Request() or Response() when modifying the request")}}if(!l){try{l=await R(Z,a)}catch(k){let E=k;if(w.length)for(let I=w.length-1;I>=0;I--){const H=w[I];if(H&&typeof H=="object"&&typeof H.onError=="function"){const M=await H.onError({request:Z,error:E,schemaPath:m,params:D,options:de,id:Q});if(M){if(M instanceof Response){E=void 0,l=M;break}if(M instanceof Error){E=M;continue}throw new Error("onError: must return new Response() or instance of Error")}}}if(E)throw E}if(w.length)for(let k=w.length-1;k>=0;k--){const E=w[k];if(E&&typeof E=="object"&&typeof E.onResponse=="function"){const I=await E.onResponse({request:Z,response:l,schemaPath:m,params:D,options:de,id:Q});if(I){if(!(I instanceof Response))throw new Error("onResponse: must return new Response() when modifying the response");l=I}}}}if(l.status===204||Z.method==="HEAD"||l.headers.get("Content-Length")==="0")return l.ok?{data:void 0,response:l}:{error:void 0,response:l};if(l.ok)return b==="stream"?{data:l.body,response:l}:{data:await l[b](),response:l};let y=await l.text();try{y=JSON.parse(y)}catch{}return{error:y,response:l}}return{request(m,S,x){return g(S,{...x,method:m.toUpperCase()})},GET(m,S){return g(m,{...S,method:"GET"})},PUT(m,S){return g(m,{...S,method:"PUT"})},POST(m,S){return g(m,{...S,method:"POST"})},DELETE(m,S){return g(m,{...S,method:"DELETE"})},OPTIONS(m,S){return g(m,{...S,method:"OPTIONS"})},HEAD(m,S){return g(m,{...S,method:"HEAD"})},PATCH(m,S){return g(m,{...S,method:"PATCH"})},TRACE(m,S){return g(m,{...S,method:"TRACE"})},use(...m){for(const S of m)if(S){if(typeof S!="object"||!("onRequest"in S||"onResponse"in S||"onError"in S))throw new Error("Middleware must be an object with one of `onRequest()`, `onResponse() or `onError()`");w.push(S)}},eject(...m){for(const S of m){const x=w.indexOf(S);x!==-1&&w.splice(x,1)}}}}function ct(e,t,i){if(t==null)return"";if(typeof t=="object")throw new Error("Deeply-nested arrays/objects arenât supported. Provide your own `querySerializer()` to handle these.");return`${e}=${i?.allowReserved===!0?t:encodeURIComponent(t)}`}function xi(e,t,i){if(!t||typeof t!="object")return"";const n=[],s={simple:",",label:".",matrix:";"}[i.style]||"&";if(i.style!=="deepObject"&&i.explode===!1){for(const a in t)n.push(a,i.allowReserved===!0?t[a]:encodeURIComponent(t[a]));const o=n.join(",");switch(i.style){case"form":return`${e}=${o}`;case"label":return`.${o}`;case"matrix":return`;${e}=${o}`;default:return o}}for(const o in t){const a=i.style==="deepObject"?`${e}[${o}]`:o;n.push(ct(a,t[o],i))}const r=n.join(s);return i.style==="label"||i.style==="matrix"?`${s}${r}`:r}function Oi(e,t,i){if(!Array.isArray(t))return"";if(i.explode===!1){const r={form:",",spaceDelimited:"%20",pipeDelimited:"|"}[i.style]||",",o=(i.allowReserved===!0?t:t.map(a=>encodeURIComponent(a))).join(r);switch(i.style){case"simple":return o;case"label":return`.${o}`;case"matrix":return`;${e}=${o}`;default:return`${e}=${o}`}}const n={simple:",",label:".",matrix:";"}[i.style]||"&",s=[];for(const r of t)i.style==="simple"||i.style==="label"?s.push(i.allowReserved===!0?r:encodeURIComponent(r)):s.push(ct(e,r,i));return i.style==="label"||i.style==="matrix"?`${n}${s.join(n)}`:s.join(n)}function Zt(e){return function(i){const n=[];if(i&&typeof i=="object")for(const s in i){const r=i[s];if(r!=null){if(Array.isArray(r)){if(r.length===0)continue;n.push(Oi(s,r,{style:"form",explode:!0,...e?.array,allowReserved:e?.allowReserved||!1}));continue}if(typeof r=="object"){n.push(xi(s,r,{style:"deepObject",explode:!0,...e?.object,allowReserved:e?.allowReserved||!1}));continue}n.push(ct(s,r,e))}}return n.join("&")}}function Ji(e,t){let i=e;for(const n of e.match(Vi)??[]){let s=n.substring(1,n.length-1),r=!1,o="simple";if(s.endsWith("*")&&(r=!0,s=s.substring(0,s.length-1)),s.startsWith(".")?(o="label",s=s.substring(1)):s.startsWith(";")&&(o="matrix",s=s.substring(1)),!t||t[s]===void 0||t[s]===null)continue;const a=t[s];if(Array.isArray(a)){i=i.replace(n,Oi(s,a,{style:o,explode:r}));continue}if(typeof a=="object"){i=i.replace(n,xi(s,a,{style:o,explode:r}));continue}if(o==="matrix"){i=i.replace(n,`;${ct(s,a)}`);continue}i=i.replace(n,o==="label"?`.${encodeURIComponent(a)}`:encodeURIComponent(a))}return i}function Xi(e,t){return e instanceof FormData?e:t&&(t.get instanceof Function?t.get("Content-Type")??t.get("content-type"):t["Content-Type"]??t["content-type"])==="application/x-www-form-urlencoded"?new URLSearchParams(e).toString():JSON.stringify(e)}function Yi(e,t){let i=`${t.baseUrl}${e}`;t.params?.path&&(i=Ji(i,t.params.path));let n=t.querySerializer(t.params.query??{});return n.startsWith("?")&&(n=n.substring(1)),n&&(i+=`?${n}`),i}function ei(...e){const t=new Headers;for(const i of e){if(!i||typeof i!="object")continue;const n=i instanceof Headers?i.entries():Object.entries(i);for(const[s,r]of n)if(r===null)t.delete(s);else if(Array.isArray(r))for(const o of r)t.append(s,o);else r!==void 0&&t.set(s,r)}return t}function ti(e){return e.endsWith("/")?e.substring(0,e.length-1):e}
1class Ne extends Error{}Ne.prototype.name="InvalidTokenError";function Qi(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,i)=>{let n=i.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Zi(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Qi(t)}catch{return atob(t)}}function se(e,t){if(typeof e!="string")throw new Ne("Invalid token specified: must be a string");t||(t={});const i=t.header===!0?0:1,n=e.split(".")[i];if(typeof n!="string")throw new Ne(`Invalid token specified: missing part #${i+1}`);let s;try{s=Zi(n)}catch(r){throw new Ne(`Invalid token specified: invalid base64 for part #${i+1} (${r.message})`)}try{return JSON.parse(s)}catch(r){throw new Ne(`Invalid token specified: invalid json for part #${i+1} (${r.message})`)}}var rt={exports:{}};var wt=rt.exports,ii;function er(){return ii||(ii=1,(function(e){(function(t,i){var n={version:"2.14.4",areas:{},apis:{},nsdelim:".",inherit:function(r,o){for(var a in r)o.hasOwnProperty(a)||Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(r,a));return o},stringify:function(r,o){return r===void 0||typeof r=="function"?r+"":JSON.stringify(r,o||n.replace)},parse:function(r,o){try{return JSON.parse(r,o||n.revive)}catch{return r}},fn:function(r,o){n.storeAPI[r]=o;for(var a in n.apis)n.apis[a][r]=o},get:function(r,o){return r.getItem(o)},set:function(r,o,a){r.setItem(o,a)},remove:function(r,o){r.removeItem(o)},key:function(r,o){return r.key(o)},length:function(r){return r.length},clear:function(r){r.clear()},Store:function(r,o,a){var c=n.inherit(n.storeAPI,function(g,m,S){return arguments.length===0?c.getAll():typeof m=="function"?c.transact(g,m,S):m!==void 0?c.set(g,m,S):typeof g=="string"||typeof g=="number"?c.get(g):typeof g=="function"?c.each(g):g?c.setAll(g,m):c.clear()});c._id=r;try{var w="__store2_test";o.setItem(w,"ok"),c._area=o,o.removeItem(w)}catch{c._area=n.storage("fake")}return c._ns=a||"",n.areas[r]||(n.areas[r]=c._area),n.apis[c._ns+c._id]||(n.apis[c._ns+c._id]=c),c},storeAPI:{area:function(r,o){var a=this[r];return(!a||!a.area)&&(a=n.Store(r,o,this._ns),this[r]||(this[r]=a)),a},namespace:function(r,o,a){if(a=a||this._delim||n.nsdelim,!r)return this._ns?this._ns.substring(0,this._ns.length-a.length):"";var c=r,w=this[c];if((!w||!w.namespace)&&(w=n.Store(this._id,this._area,this._ns+c+a),w._delim=a,this[c]||(this[c]=w),!o))for(var g in n.areas)w.area(g,n.areas[g]);return w},isFake:function(r){return r?(this._real=this._area,this._area=n.storage("fake")):r===!1&&(this._area=this._real||this._area),this._area.name==="fake"},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(r){return this._area.has?this._area.has(this._in(r)):this._in(r)in this._area},size:function(){return this.keys().length},each:function(r,o){for(var a=0,c=n.length(this._area);a<c;a++){var w=this._out(n.key(this._area,a));if(w!==void 0&&r.call(this,w,this.get(w),o)===!1)break;c>n.length(this._area)&&(c--,a--)}return o||this},keys:function(r){return this.each(function(o,a,c){c.push(o)},r||[])},get:function(r,o){var a=n.get(this._area,this._in(r)),c;return typeof o=="function"&&(c=o,o=null),a!==null?n.parse(a,c):o??a},getAll:function(r){return this.each(function(o,a,c){c[o]=a},r||{})},transact:function(r,o,a){var c=this.get(r,a),w=o(c);return this.set(r,w===void 0?c:w),this},set:function(r,o,a){var c=this.get(r),w;return c!=null&&a===!1?o:(typeof a=="function"&&(w=a,a=void 0),n.set(this._area,this._in(r),n.stringify(o,w),a)||c)},setAll:function(r,o){var a,c;for(var w in r)c=r[w],this.set(w,c,o)!==c&&(a=!0);return a},add:function(r,o,a){var c=this.get(r);if(c instanceof Array)o=c.concat(o);else if(c!==null){var w=typeof c;if(w===typeof o&&w==="object"){for(var g in o)c[g]=o[g];o=c}else o=c+o}return n.set(this._area,this._in(r),n.stringify(o,a)),o},remove:function(r,o){var a=this.get(r,o);return n.remove(this._area,this._in(r)),a},clear:function(){return this._ns?this.each(function(r){n.remove(this._area,this._in(r))},1):n.clear(this._area),this},clearAll:function(){var r=this._area;for(var o in n.areas)n.areas.hasOwnProperty(o)&&(this._area=n.areas[o],this.clear());return this._area=r,this},_in:function(r){return typeof r!="string"&&(r=n.stringify(r)),this._ns?this._ns+r:r},_out:function(r){return this._ns?r&&r.indexOf(this._ns)===0?r.substring(this._ns.length):void 0:r}},storage:function(r){return n.inherit(n.storageAPI,{items:{},name:r})},storageAPI:{length:0,has:function(r){return this.items.hasOwnProperty(r)},key:function(r){var o=0;for(var a in this.items)if(this.has(a)&&r===o++)return a},setItem:function(r,o){this.has(r)||this.length++,this.items[r]=o},removeItem:function(r){this.has(r)&&(delete this.items[r],this.length--)},getItem:function(r){return this.has(r)?this.items[r]:null},clear:function(){for(var r in this.items)this.removeItem(r)}}},s=n.Store("local",(function(){try{return localStorage}catch{}})());s.local=s,s._=n,s.area("session",(function(){try{return sessionStorage}catch{}})()),s.area("page",n.storage("page")),typeof i=="function"&&i.amd!==void 0?i("store2",[],function(){return s}):e.exports?e.exports=s:(t.store&&(n.conflict=t.store),t.store=s)})(wt,wt&&wt.define)})(rt)),rt.exports}var tr=er();const we=Ti(tr);function Qe(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)n!=="__proto__"&&(e[n]=i[n])}return e}var ir={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}};function Ot(e,t){function i(s,r,o){if(!(typeof document>"u")){o=Qe({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in o)o[c]&&(a+="; "+c,o[c]!==!0&&(a+="="+o[c].split(";")[0]));return document.cookie=s+"="+e.write(r,s)+a}}function n(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var r=document.cookie?document.cookie.split("; "):[],o={},a=0;a<r.length;a++){var c=r[a].split("="),w=c.slice(1).join("=");try{var g=decodeURIComponent(c[0]);if(g in o||(o[g]=e.read(w,g)),s===g)break}catch{}}return s?o[s]:o}}return Object.create({set:i,get:n,remove:function(s,r){i(s,"",Qe({},r,{expires:-1}))},withAttributes:function(s){return Ot(this.converter,Qe({},this.attributes,s))},withConverter:function(s){return Ot(Qe({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var lt=Ot(ir,{path:"/"}),rr="2.0.9",nr=500,ri="user-agent",Ae="",ni="?",q={FUNCTION:"function",OBJECT:"object",STRING:"string",UNDEFINED:"undefined"},J="browser",ue="cpu",oe="device",ie="engine",Y="os",Re="result",h="name",u="type",p="vendor",d="version",W="architecture",Ve="major",f="model",nt="console",C="mobile",j="tablet",N="smarttv",re="wearable",Ze="xr",Me="embedded",or="fetcher",Te="inapp",Bt="brands",ye="formFactors",jt="fullVersionList",Le="platform",Pt="platformVersion",ut="bitness",me="sec-ch-ua",sr=me+"-full-version-list",ar=me+"-arch",cr=me+"-"+ut,lr=me+"-form-factors",ur=me+"-"+C,fr=me+"-"+f,Ci=me+"-"+Le,hr=Ci+"-version",Ii=[Bt,jt,C,f,Le,Pt,W,ye,ut],et="Amazon",Ee="Apple",oi="ASUS",si="BlackBerry",ve="Google",ai="Huawei",gt="Lenovo",ci="Honor",tt="LG",mt="Microsoft",vt="Motorola",li="Nvidia",ui="OnePlus",yt="OPPO",Fe="Samsung",fi="Sharp",ze="Sony",kt="Xiaomi",_t="Zebra",hi="Chrome",di="Chromium",pe="Chromecast",ot="Edge",De="Firefox",xe="Opera",St="Facebook",pi="Sogou",Oe="Mobile ",Ce=" Browser",Ct="Windows",dr=typeof window!==q.UNDEFINED,K=dr&&window.navigator?window.navigator:void 0,ke=K&&K.userAgentData?K.userAgentData:void 0,pr=function(e,t){var i={},n=t;if(!st(t)){n={};for(var s in t)for(var r in t[s])n[r]=t[s][r].concat(n[r]?n[r]:[])}for(var o in e)i[o]=n[o]&&n[o].length%2===0?n[o].concat(e[o]):e[o];return i},ft=function(e){for(var t={},i=0;i<e.length;i++)t[e[i].toUpperCase()]=e[i];return t},It=function(e,t){if(typeof e===q.OBJECT&&e.length>0){for(var i in e)if(be(t)==be(e[i]))return!0;return!1}return Ke(e)?be(t)==be(e):!1},st=function(e,t){for(var i in e)return/^(browser|cpu|device|engine|os)$/.test(i)||(t?st(e[i]):!1)},Ke=function(e){return typeof e===q.STRING},Tt=function(e){if(e){for(var t=[],i=Be(/\\?\"/g,e).split(","),n=0;n<i.length;n++)if(i[n].indexOf(";")>-1){var s=at(i[n]).split(";v=");t[n]={brand:s[0],version:s[1]}}else t[n]=at(i[n]);return t}},be=function(e){return Ke(e)?e.toLowerCase():e},At=function(e){return Ke(e)?Be(/[^\d\.]/g,e).split(".")[0]:void 0},le=function(e){for(var t in e)if(e.hasOwnProperty(t)){var i=e[t];typeof i==q.OBJECT&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Be=function(e,t){return Ke(t)?t.replace(e,Ae):t},He=function(e){return Be(/\\?\"/g,e)},at=function(e,t){return e=Be(/^\s\s*/,String(e)),typeof t===q.UNDEFINED?e:e.substring(0,t)},Rt=function(e,t){if(!(!e||!t))for(var i=0,n,s,r,o,a,c;i<t.length&&!a;){var w=t[i],g=t[i+1];for(n=s=0;n<w.length&&!a&&w[n];)if(a=w[n++].exec(e),a)for(r=0;r<g.length;r++)c=a[++s],o=g[r],typeof o===q.OBJECT&&o.length>0?o.length===2?typeof o[1]==q.FUNCTION?this[o[0]]=o[1].call(this,c):this[o[0]]=o[1]:o.length>=3&&(typeof o[1]===q.FUNCTION&&!(o[1].exec&&o[1].test)?o.length>3?this[o[0]]=c?o[1].apply(this,o.slice(2)):void 0:this[o[0]]=c?o[1].call(this,c,o[2]):void 0:o.length==3?this[o[0]]=c?c.replace(o[1],o[2]):void 0:o.length==4?this[o[0]]=c?o[3].call(this,c.replace(o[1],o[2])):void 0:o.length>4&&(this[o[0]]=c?o[3].apply(this,[c.replace(o[1],o[2])].concat(o.slice(4))):void 0)):this[o]=c||void 0;i+=2}},te=function(e,t){for(var i in t)if(typeof t[i]===q.OBJECT&&t[i].length>0){for(var n=0;n<t[i].length;n++)if(It(t[i][n],e))return i===ni?void 0:i}else if(It(t[i],e))return i===ni?void 0:i;return t.hasOwnProperty("*")?t["*"]:e},bi={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},wi={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},br={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},gi={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[h,Oe+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[d,[h,ot+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,d],[/opios[\/ ]+([\w\.]+)/i],[d,[h,xe+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[d,[h,xe+" GX"]],[/\bopr\/([\w\.]+)/i],[d,[h,xe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[d,[h,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[d,[h,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[h,d],[/quark(?:pc)?\/([-\w\.]+)/i],[d,[h,"Quark"]],[/\bddg\/([\w\.]+)/i],[d,[h,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[h,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[d,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[d,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[d,[h,"Smart "+gt+Ce]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure"+Ce],d],[/norton\/([\w\.]+)/i],[d,[h,"Norton Private"+Ce]],[/\bfocus\/([\w\.]+)/i],[d,[h,De+" Focus"]],[/ mms\/([\w\.]+)$/i],[d,[h,xe+" Neon"]],[/ opt\/([\w\.]+)$/i],[d,[h,xe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[h,xe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[h,"MIUI"+Ce]],[/fxios\/([\w\.-]+)/i],[d,[h,Oe+De]],[/\bqihoobrowser\/?([\w\.]*)/i],[d,[h,"360"]],[/\b(qq)\/([\w\.]+)/i],[[h,/(.+)/,"$1Browser"],d],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1"+Ce],d],[/samsungbrowser\/([\w\.]+)/i],[d,[h,Fe+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[d,[h,pi+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,pi+" Mobile"],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[h,d],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[h],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[d,h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,St],d,[u,Te]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[h,d,[u,Te]],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[h,"GSA"],[u,Te]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[d,[h,"TikTok"],[u,Te]],[/\[(linkedin)app\]/i],[h,[u,Te]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[h,/(.+)/,"Zalo"],d,[u,Te]],[/(chromium)[\/ ]([-\w\.]+)/i],[h,d],[/ome-(lighthouse)$/i],[h,[u,or]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[h,hi+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[d,[h,ot+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,hi+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[h,"Android"+Ce]],[/chrome\/([\w\.]+) mobile/i],[d,[h,Oe+"Chrome"]],[/(chrome|omniweb|arora|[t
1izenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,d],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[d,[h,Oe+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[h,Oe+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[d,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[d,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[h,d],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[h,Oe+De],d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],d],[/(wolvic|librewolf)\/([\w\.]+)/i],[h,d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[h,De+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[h,[d,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[h,[d,/[^\d\.]+./,Ae]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[W,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[W,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[W,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[W,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[W,"arm"]],[/ sun4\w[;\)]/i],[[W,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[W,/ower/,Ae,be]],[/mc680.0/i],[[W,"68k"]],[/winnt.+\[axp/i],[[W,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[p,Fe],[u,j]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[f,[p,Fe],[u,C]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[f,[p,Ee],[u,C]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[f,[p,Ee],[u,j]],[/(macintosh);/i],[f,[p,Ee]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[p,fi],[u,C]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[f,[p,ci],[u,j]],[/honor([-\w ]+)[;\)]/i],[f,[p,ci],[u,C]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[f,[p,ai],[u,j]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[f,[p,ai],[u,C]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[f,/_/g," "],[p,kt],[u,j]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[f,/_/g," "],[p,kt],[u,C]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[p,ui],[u,C]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[p,yt],[u,C]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[f,[p,te,{OnePlus:["203","304","403","404","413","415"],"*":yt}],[u,j]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[f,[p,"BLU"],[u,C]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[p,"Vivo"],[u,C]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[p,"Realme"],[u,C]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[f,[p,gt],[u,j]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[f,[p,gt],[u,C]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[f,[p,vt],[u,C]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[p,vt],[u,j]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[p,tt],[u,j]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[p,tt],[u,C]],[/(nokia) (t[12][01])/i],[p,f,[u,j]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[f,/_/g," "],[u,C],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[f,[p,ve],[u,j]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[f,[p,ve],[u,C]],[/(google) (pixelbook( go)?)/i],[p,f],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[p,ze],[u,C]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[p,ze],[u,j]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[p,et],[u,j]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[p,et],[u,C]],[/(playbook);[-\w\),; ]+(rim)/i],[f,p,[u,j]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[f,[p,si],[u,C]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[p,oi],[u,j]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[p,oi],[u,C]],[/(nexus 9)/i],[f,[p,"HTC"],[u,j]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[f,/_/g," "],[u,C]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w)
vendor: 5,157 bytes, line 1
1)?(\)| bui)/i],[f,[p,"TCL"],[u,j]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[f,[p,"TCL"],[u,C]],[/(itel) ((\w+))/i],[[p,be],f,[u,te,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[p,"Acer"],[u,j]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[p,"Meizu"],[u,C]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[p,"Ulefone"],[u,C]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[p,"Energizer"],[u,C]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[p,"Cat"],[u,C]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[p,"Smartfren"],[u,C]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[f,[p,"Nothing"],[u,C]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[f,[p,"Archos"],[u,j]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[f,[p,"Archos"],[u,C]],[/; (n159v)/i],[f,[p,"HMD"],[u,C]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[p,f,[u,j]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[p,f,[u,C]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[p,f,[u,j]],[/(surface duo)/i],[f,[p,mt],[u,j]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[p,"Fairphone"],[u,C]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[f,[p,li],[u,j]],[/(sprint) (\w+)/i],[p,f,[u,C]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[p,mt],[u,C]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[p,_t],[u,j]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[p,_t],[u,C]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[p,[u,N]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[p,Fe],[u,N]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[p,f,[u,N]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,tt],[u,N]],[/(apple) ?tv/i],[p,[f,Ee+" TV"],[u,N]],[/crkey.*devicetype\/chromecast/i],[[f,pe+" Third Generation"],[p,ve],[u,N]],[/crkey.*devicetype\/([^/]*)/i],[[f,/^/,"Chromecast "],[p,ve],[u,N]],[/fuchsia.*crkey/i],[[f,pe+" Nest Hub"],[p,ve],[u,N]],[/crkey/i],[[f,pe],[p,ve],[u,N]],[/(portaltv)/i],[f,[p,St],[u,N]],[/droid.+aft(\w+)( bui|\))/i],[f,[p,et],[u,N]],[/(shield \w+ tv)/i],[f,[p,li],[u,N]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[p,fi],[u,N]],[/(bravia[\w ]+)( bui|\))/i],[f,[p,ze],[u,N]],[/(mi(tv|box)-?\w+) bui/i],[f,[p,kt],[u,N]],[/Hbbtv.*(technisat) (.*);/i],[p,f,[u,N]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,/.+\/(\w+)/,"$1",te,{LG:"lge"}],[f,at],[u,N]],[/(playstation \w+)/i],[f,[p,ze],[u,nt]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[p,mt],[u,nt]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[p,te,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],f,[u,nt]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[f,[p,Fe],[u,re]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,f,[u,re]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[f,[p,yt],[u,re]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[p,Ee],[u,re]],[/(opwwe\d{3})/i],[f,[p,ui],[u,re]],[/(moto 360)/i],[f,[p,vt],[u,re]],[/(smartwatch 3)/i],[f,[p,ze],[u,re]],[/(g watch r)/i],[f,[p,tt],[u,re]],[/droid.+; (wt63?0{2,3})\)/i],[f,[p,_t],[u,re]],[/droid.+; (glass) \d/i],[f,[p,ve],[u,Ze]],[/(pico) ([\w ]+) os\d/i],[p,f,[u,Ze]],[/(quest( \d| pro)?s?).+vr/i],[f,[p,St],[u,Ze]],[/mobile vr; rv.+firefox/i],[[u,Ze]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[u,Me]],[/(aeobc)\b/i],[f,[p,et],[u,Me]],[/(homepod).+mac os/i],[f,[p,Ee],[u,Me]],[/windows iot/i],[[u,Me]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[f,[u,N]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[u,N]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[f,[u,te,{mobile:"Mobile",xr:"VR","*":j}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,j]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,C]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[f,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[h,ot+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[h,d],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,d],[/ladybird\//i],[[h,"LibWeb"]],[/rv\
vendor: 5,401 bytes, line 1
1:([\w\.]{1,9})\b.+(gecko)/i],[d,h]],os:[[/(windows nt) (6\.[23]); arm/i],[[h,/N/,"R"],[d,te,bi]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[h,d],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[d,/(;|\))/g,"",te,bi],[h,Ct]],[/(windows ce)\/?([\d\.]*)/i],[h,d],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[h,"macOS"],[d,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[d,[h,pe+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[d,[h,pe+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[d,[h,pe+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[d,[h,pe+" Linux"]],[/crkey\/([\d\.]+)/i],[d,[h,pe]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[d,h],[/(ubuntu) ([\w\.]+) like android/i],[[h,/(.+)/,"$1 Touch"],d],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[h,d],[/\(bb(10);/i],[d,[h,si]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[d,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[d,[h,De+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[d,[h,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[d,te,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[h,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[d,[h,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[d,[h,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[d,[h,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[h,d],[/(sunos) ?([\d\.]*)/i],[[h,"Solaris"],d],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,d]]},it=(function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return le.call(e.init,[[J,[h,d,Ve,u]],[ue,[W]],[oe,[u,f,p]],[ie,[h,d]],[Y,[h,d]]]),le.call(e.isIgnore,[[J,[d,Ve]],[ie,[d]],[Y,[d]]]),le.call(e.isIgnoreRgx,[[J,/ ?browser$/i],[Y,/ ?os$/i]]),le.call(e.toString,[[J,[h,d]],[ue,[W]],[oe,[p,f]],[ie,[h,d]],[Y,[h,d]]]),e})(),wr=function(e,t){var i=it.init[t],n=it.isIgnore[t]||0,s=it.isIgnoreRgx[t]||0,r=it.toString[t]||0;function o(){le.call(this,i)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return ke?ke.getHighEntropyValues(Ii).then(function(a){return e.setCH(new Ai(a,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=Re&&(o.prototype.is=function(a){var c=!1;for(var w in this)if(this.hasOwnProperty(w)&&!It(n,w)&&be(s?Be(s,this[w]):this[w])==be(s?Be(s,a):a)){if(c=!0,a!=q.UNDEFINED)break}else if(a==q.UNDEFINED&&c){c=!c;break}return c},o.prototype.toString=function(){var a=Ae;for(var c in r)typeof this[r[c]]!==q.UNDEFINED&&(a+=(a?" ":Ae)+this[r[c]]);return a||q.UNDEFINED}),o.prototype.then=function(a){var c=this,w=function(){for(var m in c)c.hasOwnProperty(m)&&(this[m]=c[m])};w.prototype={is:o.prototype.is,toString:o.prototype.toString,withClientHints:o.prototype.withClientHints,withFeatureCheck:o.prototype.withFeatureCheck};var g=new w;return a(g),g},new o};function Ai(e,t){if(e=e||{},le.call(this,Ii),t)le.call(this,[[Bt,Tt(e[me])],[jt,Tt(e[sr])],[C,/\?1/.test(e[ur])],[f,He(e[fr])],[Le,He(e[Ci])],[Pt,He(e[hr])],[W,He(e[ar])],[ye,Tt(e[lr])],[ut,He(e[cr])]]);else for(var i in e)this.hasOwnProperty(i)&&typeof e[i]!==q.UNDEFINED&&(this[i]=e[i])}function ge(e,t,i,n){return le.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",i],["data",wr(this,e)]]),this}ge.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data};ge.prototype.set=function(e,t){return this.data[e]=t,this};ge.prototype.setCH=function(e){return this.uaCH=e,this};ge.prototype.detectFeature=function(){if(K&&K.userAgent==this.ua)switch(this.itemType){case J:K.brave&&typeof K.brave.isBrave==q.FUNCTION&&this.set(h,"Brave");break;case oe:!this.get(u)&&ke&&ke[C]&&this.set(u,C),this.get(f)=="Macintosh"&&K&&typeof K.standalone!==q.UNDEFINED&&K.maxTouchPoints&&K.maxTouchPoints>2&&this.set(f,"iPad").set(u,j);break;case Y:!this.get(h)&&ke&&ke[Le]&&this.set(h,ke[Le]);break;case Re:var e=this.data,t=function(i){return e[i].getItem().detectFeature
1().get()};this.set(J,t(J)).set(ue,t(ue)).set(oe,t(oe)).set(ie,t(ie)).set(Y,t(Y))}return this};ge.prototype.parseUA=function(){switch(this.itemType!=Re&&Rt.call(this.data,this.ua,this.rgxMap),this.itemType){case J:this.set(Ve,At(this.get(d)));break;case Y:if(this.get(h)=="iOS"&&this.get(d)=="18.6"){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(d,e[1])}break}return this};ge.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case J:case ie:var i=e[jt]||e[Bt],n;if(i)for(var s=0;s<i.length;s++){var r=i[s].brand||i[s],o=i[s].version;this.itemType==J&&!/not.a.brand/i.test(r)&&(!n||/Chrom/.test(n)&&r!=di||n==ot&&/WebView2/.test(r))&&(r=te(r,br),n=this.get(h),n&&!/Chrom/.test(n)&&/Chrom/.test(r)||this.set(h,r).set(d,o).set(Ve,At(o)),n=r),this.itemType==ie&&r==di&&this.set(d,o)}break;case ue:var a=e[W];a&&(a&&e[ut]=="64"&&(a+="64"),Rt.call(this.data,a+";",t));break;case oe:if(e[C]&&this.set(u,C),e[f]&&(this.set(f,e[f]),!this.get(u)||!this.get(p))){var c={};Rt.call(c,"droid 9; "+e[f]+")",t),!this.get(u)&&c.type&&this.set(u,c.type),!this.get(p)&&c.vendor&&this.set(p,c.vendor)}if(e[ye]){var w;if(typeof e[ye]!="string")for(var g=0;!w&&g<e[ye].length;)w=te(e[ye][g++],wi);else w=te(e[ye],wi);this.set(u,w)}break;case Y:var m=e[Le];if(m){var S=e[Pt];m==Ct&&(S=parseInt(At(S),10)>=13?"11":"10"),this.set(h,m).set(d,S)}this.get(h)==Ct&&e[f]=="Xbox"&&this.set(h,"Xbox").set(d,void 0);break;case Re:var x=this.data,R=function(v){return x[v].getItem().setCH(e).parseCH().get()};this.set(J,R(J)).set(ue,R(ue)).set(oe,R(oe)).set(ie,R(ie)).set(Y,R(Y))}return this};function fe(e,t,i){if(typeof e===q.OBJECT?(st(e,!0)?(typeof t===q.OBJECT&&(i=t),t=e):(i=e,t=void 0),e=void 0):typeof e===q.STRING&&!st(t,!0)&&(i=t,t=void 0),i)if(typeof i.append===q.FUNCTION){var n={};i.forEach(function(g,m){n[String(m).toLowerCase()]=g}),i=n}else{var s={};for(var r in i)i.hasOwnProperty(r)&&(s[String(r).toLowerCase()]=i[r]);i=s}if(!(this instanceof fe))return new fe(e,t,i).getResult();var o=typeof e===q.STRING?e:i&&i[ri]?i[ri]:K&&K.userAgent?K.userAgent:Ae,a=new Ai(i,!0),c=t?pr(gi,t):gi,w=function(g){return g==Re?function(){return new ge(g,o,c,a).set("ua",o).set(J,this.getBrowser()).set(ue,this.getCPU()).set(oe,this.getDevice()).set(ie,this.getEngine()).set(Y,this.getOS()).get()}:function(){return new ge(g,o,c[g],a).parseUA().get()}};return le.call(this,[["getBrowser",w(J)],["getCPU",w(ue)],["getDevice",w(oe)],["getEngine",w(ie)],["getOS",w(Y)],["getResult",w(Re)],["getUA",function(){return o}],["setUA",function(g){return Ke(g)&&(o=at(g,nr)),this}]]).setUA(o),this}fe.VERSION=rr;fe.BROWSER=ft([h,d,Ve,u]);fe.CPU=ft([W]);fe.DEVICE=ft([f,p,u,nt,C,N,j,re,Me]);fe.ENGINE=fe.OS=ft([h,d]);var gr=Object.create,Ri=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,Li=Object.getOwnPropertyNames,vr=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,mi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Bi=(e,t)=>function(){return t||(0,e[Li(e)[0]])((t={exports:{}}).exports,t),t.exports},kr=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Li(t))!yr.call(e,s)&&s!==i&&Ri(e,s,{get:()=>t[s],enumerable:!(n=mr(t,s))||n.enumerable});return e},Ut=(e,t,i)=>(i=e!=null?gr(vr(e)):{},kr(Ri(i,"default",{value:e,enumerable:!0}),e)),he=(e,t,i)=>new Promise((n,s)=>{var r=c=>{try{a(i.next(c))}catch(w){s(w)}},o=c=>{try{a(i.throw(c))}catch(w){s(w)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(r,o);a((i=i.apply(e,t)).next())}),_r=Bi({"node_modules/.pnpm/[email protected]/node_modules/crypto-js/core.js"(e,t){(function(i,n){typeof e=="object"?t.exports=e=n():typeof define=="function"&&define.amd?define([],n):i.CryptoJS=n()})(e,function(){var i=i||(function(n,s){var r;if(typeof window<"u"&&window.crypto&&(r=window.crypto),typeof self<"u"&&self.crypto&&(r=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window<"u"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global<"u"&&global.crypto&&(r=global.crypto),!r&&typeof mi=="function")try{r=mi("crypto")}catch{}var o=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||(function(){function b(){}return function(_){var O;return b.prototype=_,O=new b,b.prototype=null,O}})(),c={},w=c.lib={},g=w.Base=(function(){return{extend:function(b){var _=a(this);return b&&_.mixIn(b),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.a
vendor: 4,514 bytes, line 1
1pply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var _ in b)b.hasOwnProperty(_)&&(this[_]=b[_]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),m=w.WordArray=g.extend({init:function(b,_){b=this.words=b||[],_!=s?this.sigBytes=_:this.sigBytes=b.length*4},toString:function(b){return(b||x).stringify(this)},concat:function(b){var _=this.words,O=b.words,A=this.sigBytes,P=b.sigBytes;if(this.clamp(),A%4)for(var B=0;B<P;B++){var z=O[B>>>2]>>>24-B%4*8&255;_[A+B>>>2]|=z<<24-(A+B)%4*8}else for(var U=0;U<P;U+=4)_[A+U>>>2]=O[U>>>2];return this.sigBytes+=P,this},clamp:function(){var b=this.words,_=this.sigBytes;b[_>>>2]&=4294967295<<32-_%4*8,b.length=n.ceil(_/4)},clone:function(){var b=g.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var _=[],O=0;O<b;O+=4)_.push(o());return new m.init(_,b)}}),S=c.enc={},x=S.Hex={stringify:function(b){for(var _=b.words,O=b.sigBytes,A=[],P=0;P<O;P++){var B=_[P>>>2]>>>24-P%4*8&255;A.push((B>>>4).toString(16)),A.push((B&15).toString(16))}return A.join("")},parse:function(b){for(var _=b.length,O=[],A=0;A<_;A+=2)O[A>>>3]|=parseInt(b.substr(A,2),16)<<24-A%8*4;return new m.init(O,_/2)}},R=S.Latin1={stringify:function(b){for(var _=b.words,O=b.sigBytes,A=[],P=0;P<O;P++){var B=_[P>>>2]>>>24-P%4*8&255;A.push(String.fromCharCode(B))}return A.join("")},parse:function(b){for(var _=b.length,O=[],A=0;A<_;A++)O[A>>>2]|=(b.charCodeAt(A)&255)<<24-A%4*8;return new m.init(O,_)}},v=S.Utf8={stringify:function(b){try{return decodeURIComponent(escape(R.stringify(b)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(b){return R.parse(unescape(encodeURIComponent(b)))}},L=w.BufferedBlockAlgorithm=g.extend({reset:function(){this._data=new m.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=v.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var _,O=this._data,A=O.words,P=O.sigBytes,B=this.blockSize,z=B*4,U=P/z;b?U=n.ceil(U):U=n.max((U|0)-this._minBufferSize,0);var ee=U*B,X=n.min(ee*4,P);if(ee){for(var Q=0;Q<ee;Q+=B)this._doProcessBlock(A,Q);_=A.splice(0,ee),O.sigBytes-=X}return new m.init(_,X)},clone:function(){var b=g.clone.call(this);return b._data=this._data.clone(),b},_minBufferSize:0});w.Hasher=L.extend({cfg:g.extend(),init:function(b){this.cfg=this.cfg.extend(b),this.reset()},reset:function(){L.reset.call(this),this._doReset()},update:function(b){return this._append(b),this._process(),this},finalize:function(b){b&&this._append(b);var _=this._doFinalize();return _},blockSize:16,_createHelper:function(b){return function(_,O){return new b.init(O).finalize(_)}},_createHmacHelper:function(b){return function(_,O){return new D.HMAC.init(b,O).finalize(_)}}});var D=c.algo={};return c})(Math);return i})}}),Ft=Bi({"node_modules/.pnpm/[email protected]/node_modules/crypto-js/sha256.js"(e,t){(function(i,n){typeof e=="object"?t.exports=e=n(_r()):typeof define=="function"&&define.amd?define(["./core"],n):n(i.CryptoJS)})(e,function(i){return(function(n){var s=i,r=s.lib,o=r.WordArray,a=r.Hasher,c=s.algo,w=[],g=[];(function(){function x(D){for(var b=n.sqrt(D),_=2;_<=b;_++)if(!(D%_))return!1;return!0}function R(D){return(D-(D|0))*4294967296|0}for(var v=2,L=0;L<64;)x(v)&&(L<8&&(w[L]=R(n.pow(v,1/2))),g[L]=R(n.pow(v,1/3)),L++),v++})();var m=[],S=c.SHA256=a.extend({_doReset:function(){this._hash=new o.init(w.slice(0))},_doProcessBlock:function(x,R){for(var v=this._hash.words,L=v[0],D=v[1],b=v[2],_=v[3],O=v[4],A=v[5],P=v[6],B=v[7],z=0;z<64;z++){if(z<16)m[z]=x[R+z]|0;else{var U=m[z-15],ee=(U<<25|U>>>7)^(U<<14|U>>>18)^U>>>3,X=m[z-2],Q=(X<<15|X>>>17)^(X<<13|X>>>19)^X>>>10;m[z]=ee+m[z-7]+Q+m[z-16]}var de=O&A^~O&P,Z=L&D^L&b^D&b,l=(L<<30|L>>>2)^(L<<19|L>>>13)^(L<<10|L>>>22),y=(O<<26|O>>>6)^(O<<21|O>>>11)^(O<<7|O>>>25),k=B+y+de+g[z]+m[z],E=l+Z;B=P,P=A,A=O,O=_+k|0,_=b,b=D,D=L,L=k+E|0}v[0]=v[0]+L|0,v[1]=v[1]+D|0,v[2]=v[2]+b|0,v[3]=v[3]+_|0,v[4]=v[4]+O|0,v[5]=v[5]+A|0,v[6]=v[6]+P|0,v[7]=v[7]+B|0},_doFinalize:function(){var x=this._data,R=x.words,v=this._nDataBytes*8,L=x.sigBytes*8;return R[L>>>5]|=128<<24-L%32,R[(L+64>>>9<<4)+14]=n.floor(v/4294967296),R[(L+64>>>9<<4)+15]=v,x.sigBytes=R.length*4,this._process(),this._hash},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x}});s.SHA256=a._createHelper(S),s.HmacSHA256=a._createHmacHelper(S)})(Math),i.SHA256})}}
1),Sr=class extends Error{constructor(e){super(e),this.name=this.constructor.name}},Tr=class extends Error{constructor(e,t,i){super(e),this.fields=t,this.updateProfileToken=i,this.name=this.constructor.name,this.fields=t,this.updateProfileToken=i}},Er=class extends Error{constructor(e,t,i,n){super(e),this.fields=t,this.updateProfileToken=i,this.providerAccessToken=n,this.name=this.constructor.name,this.fields=t,this.updateProfileToken=i,this.providerAccessToken=n}},xr=class extends Error{constructor(e){super(e),this.name=this.constructor.name}},Lt=class extends Error{constructor(e,t,i=void 0){super(e),this.providerAccessToken=t,this.user=i,this.name=this.constructor.name,this.providerAccessToken=t,i&&(this.user=i)}},zt=class extends Error{constructor(e){super(e),this.name=this.constructor.name}};function Or({baseUrl:e,apiKey:t}){return Ki({baseUrl:e,headers:{Accept:"application/json","x-api-key":t}})}var Cr=Ni({level:"error",enabled:!1}),Ir=Ut(Ft()),Ar=Ut(Ft());function Rr(e){const i=se(e).email;return i?(0,Ar.default)(i.toLowerCase()).toString():null}function Ie(e,t,i=document.body){const n=document.createElement("script");n.src=e,t&&(n.onload=t),i.appendChild(n)}function Dt(){const e=new fe,t=e.getBrowser().name||"Web Browser",i=e.getOS().name||"Unknown Operating System";return`${t} - ${i}`}function We(){const e=window.location.hostname;return e.match(/.sbs.com.au$/)?".sbs.com.au":e.match(/.sbsod.com$/)?".sbsod.com":""}function Ht(){const e=window.location.hostname;return e.match(/(qa|stg).sbs.com.au$/)||e.match(/edsqa01.aws.sbs.com.au/)||e.match(/(dev|qa|stg).sbsod.com$/)||e.match(/localhost/)?"auth-np.authenticated":"auth.authenticated"}function qt(e){const t=se(e),i=Rr(e),n=t.iat,s=`${i}.${n}`,r=Ht();lt.set(r,s,{expires:365,domain:We()})}function ne(){const e=Ht();return lt.get(e)}function Lr(){const e=Ht();lt.remove(e,{domain:We()})}function Br(){const e=window.location.hostname;return e.match(/(qa|stg).sbs.com.au$/)||e.match(/edsqa01.aws.sbs.com.au/)||e.match(/(dev|qa|stg).sbsod.com$/)||e.match(/localhost/)?"auth-stg.refresh-token":"auth.refresh-token"}function jr(e){const t=Br();lt.set(t,e,{expires:365,domain:We()})}function ji(){return he(this,null,function*(){this.logger.info({authenticatedCookie:ne(),cookieDomain:We(),refreshToken:Vt()},"Sbs Login - logout"),Lr(),Mt(),Pr(),this.logger.info({authenticatedCookie:ne(),cookieDomain:We()},"Sbs Login - removed cookies and tokens");try{yield Ur.bind(this)(),this.logger.info({authenticatedCookie:ne()},"Sbs Login - deleted refresh token")}catch(e){this.logger.debug(e,"Unable to delete the refresh token")}})}function Nt(e){we("auth.t",e)}function Mt(){we.remove("auth.t")}function $t(e){we("auth.rt",e),dt(e).then(t=>{we("auth.rtfp",t)})}function Vt(){return we.get("auth.rt")}function Et(){const e=Vt();return e?`***${e.slice(0,8)}`:null}function $e(){return we.get("auth.rtfp")}function Pr(){we.remove("auth.rt")}function Ur(){return this.authApiClient.DELETE("/refresh",{credentials:"include"}).catch(e=>Promise.reject(new Error(`Unable to delete the refresh token: ${e.message}`)))}function vi(){const e=ne();if(e){const[,t]=e.split(".");return Number.parseInt(t,10)}return 0}var yi=class extends Error{};function Fr(e){try{const{idToken:t,accessToken:i}=e,n=se(t),s=se(i),r=n.exp>Math.floor(Date.now()/1e3);if(!(s.exp>Math.floor(Date.now()/1e3)))return this.logger.info({userId:s.sub,iat:s.iat,exp:s.exp},"Sbs Login - access token has expired"),!1;if(!r)return this.logger.info({userId:s.sub,iat:s.iat,exp:s.exp},"Sbs Login - id token has expired"),!1;const a=ne();if(!a)throw this.logger.info("Sbs Login - tokens are not valid because no auth cookie"),new yi("tokens are not valid");const[c]=a.split("."),w=zr(t);return w&&w===c?!0:(this.logger.info("Sbs Login - token doesn't match authentication cookie"),Mt(),!1)}catch(t){if(this.logger.error({error:t},"Sbs Login - tokens are invalid"),t instanceof yi)throw t;return!1}}function ki(){const e=we.get("auth.t");return e&&Fr.bind(this)(e)?e:null}function zr(e){const i=se(e).email;return i?(0,Ir.default)(i.toLowerCase()).toString():null}
1var _e=class extends Error{constructor(e,t,i){super(e),this.response=t,this.errorData=i}};function _i(){return this.refreshTokenInBody&&this.logger.info({refreshTokenFp:$e(),authenticatedCookie:ne()},"Sbs Login - Refreshing tokens"),this.authApiClient.POST("/refresh",{body:{deviceName:Dt(),refreshTokenInBody:this.refreshTokenInBody},credentials:"include"}).then(e=>he(this,[e],function*({data:t,error:i,response:n}){if(n.status===200&&t){const s={accessToken:t.accessToken,idToken:t.idToken},r=$e();let o="";return this.refreshTokenInBody&&t.refreshToken&&(o=yield dt(t.refreshToken),$t(t.refreshToken)),Nt(s),qt(t.idToken),this.logger.info({oldRefreshTokenFp:r,newRefreshTokenFp:o,userId:se(t.idToken).sub},"Sbs Login - Refresh token successful"),s}throw new _e("Refresh failed",n,i)})).catch(e=>{throw e instanceof _e||this.logger.error({errMessage:e.message},"Error refreshing token due to fetch error"),e})}function Si(){if(!ne())return Mt(),Promise.reject(new Error("Not logged in"));let t=null;try{t=ki.bind(this)()}catch(i){return this.logger.debug({error:i},"Sbs Login - Error getting tokens from local storage"),Promise.resolve(null)}return t?Promise.resolve(t):_i.bind(this)().catch(i=>{var n;const s=i instanceof _e?(n=i.errorData)==null?void 0:n.message:"";if(this.logger.warn({apiErrorMessage:s,statusCode:i instanceof _e?i.response.status:"",refreshToken:Et(),refreshTokenFp:$e(),authenticatedCookie:ne(),lastAuthTimestamp:vi()},"Sbs Login - Unable to refresh token - first try"),s==="invalid input"){const r=Vt();r?(this.logger.info("Sbs Login - set refresh token cookie from local storage"),jr(r)):this.logger.error("Sbs Login - no refresh token available from local storage")}return new Promise((r,o)=>{setTimeout(()=>{const a=ki.bind(this)();if(a){this.logger.info("Sbs Login - recover tokens from local storage"),r(a);return}_i.bind(this)().then(c=>{s==="invalid input"?this.logger.info("Sbs Login - recover tokens from 2nd refresh request using local storage"):this.logger.info("Sbs Login - recover tokens from 2nd refresh request"),r(c)}).catch(c=>{var w;this.logger.error({apiErrorMessage:c instanceof _e?(w=c.errorData)==null?void 0:w.message:"",statusCode:c instanceof _e?c.response.status:"",refreshToken:Et(),refreshTokenFp:$e(),authenticatedCookie:ne(),lastAuthTimestamp:vi()},"Sbs Login - Unable to refresh token - after retry"),c instanceof _e&&c.response.status===400&&(this.logger.info({refreshToken:Et(),refreshTokenFp:$e(),authenticatedCookie:ne()},"Sbs Login - Unable to refresh token - clean up"),ji.bind(this)()),o(c)})},2e3)})})}var qe=null;function ht(){return he(this,null,function*(){return"locks"in navigator?(this.logger.debug("Web Locks API is supported"),yield navigator.locks.request("sbs-login-refresh-lock",()=>he(this,null,function*(){return yield Si.bind(this)()})).then(e=>e)):(this.logger.debug("Web Locks API is not supported"),qe||(qe=Si.bind(this)().finally(()=>{qe=null}),qe))})}function Dr(){return he(this,null,function*(){try{const e=yield ht.bind(this)();if(e)return se(e.idToken).sub}catch(e){return this.logger.debug(e,"Sbs Login - Unable to get id"),null}return null})}function Hr(){return ht.bind(this)().then(e=>{if(e)return se(e.idToken);throw new Error("No tokens")})}function dt(e){return he(this,null,function*(){if(typeof crypto<"u"&&crypto.subtle)try{const i=new TextEncoder().encode(e),n=yield crypto.subtle.digest("SHA-256",i);return Array.from(new Uint8Array(n)).map(r=>r.toString(16).padStart(2,"0")).join("").slice(0,16)}catch{return"unsupported"}return"unsupported"})}function qr(){return ht.bind(this)().then(e=>e?e.accessToken:null).catch(()=>null)}function Nr(){return ht.bind(this)().then(e=>e?e.idToken:null).catch(()=>null)}var Mr=Ut(Ft());function Wt(){return Hr.bind(this)().then(e=>{const t=e.email,i=t?(0,Mr.default)(t.toLowerCase()).toString():null;return{id:e.sub,name:e.given_name||e.preferred_username,emailHash:i}}).catch(()=>({name:null,id:null,emailHash:null}))}function $r(){return he(this,null,function*(){return!!(yield Dr.bind(this)())})}function Vr(e,t){return this.authApiClient.POST("/login",{body:{email:e,password:t,deviceName:Dt(),refreshTokenInBody:this.refreshTokenInBody},credentials:"include"}).then(i=>he(this,[i],function*({data:n,error:s,response:r}){if(r.status===200&&n){const o={accessToken:n.accessToken,idToken:n.idToken};Nt(o),qt(n.idToken);let a="";return this.refreshTokenInBody&&n.refreshToken&&(a=yield dt(n.refreshToken),$t(n.refreshToken)),this.logger.info({newRefreshTokenFp:a,userId:se(n.idToken).sub,loginMethod:"traditional"},"Sbs Login - login successful"),Wt.bind(this)()}throw r.status===401?s&&s.detail==="incomplete_profile"?new Tr("Incomplete Profile","fields"in s?s.fields:[],"accessToken"in s?s.accessToken:""):new Sr("Unauthorised"):new Error("Login failed")}))}var Pi="https://connect.facebook.net/en_US/sdk.js",Ui="v25.0",Fi="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",zi="https://accounts.google.com/gsi/client";function Wr(e,t){return this.authApiClient.GET("/social/info/{provider}",{params:{path:{provider:e},query:{token:t}}}).then(({data:i})=>!!(i&&i.emailFound)).catch(()=>!1)}function Ge(e,t){return this.authApiClient.POST("/social/login/{provider}",{params:{header:{"x-api-key":this.apiKey},path:{provider:e},query:{token:t}},body:{deviceName:Dt(),refreshTokenInBody:this.refreshTokenInBody},credentials:"include"}).then(i=>he(this,[i],function*({data:n,error:s,response:r}){if(r.status===200&&n){const o={accessToken:n.accessToken,idToken:n.idToken};Nt(o),qt(n.idToken);let a="";return this.refreshTokenInBody&&n.refreshToken&&(a=yield dt(n.refreshToken),$t(n.refreshToken)),this.logger.info({newRefreshTokenFp:a,userId:se(n.idToken).sub,loginMethod:"social",provider:e},"Sbs Login - login successful"),Wt.bind(this)()}
1if(r.status===401&&s){if(s.detail==="unauthorised")throw(yield Wr.bind(this)(e,t))?new Lt("No account found",t):new xr("No email provided");if(s.detail==="incomplete_profile")throw new Er("Incomplete Profile","fields"in s?s.fields:[],"accessToken"in s?s.accessToken:"",t)}throw new Error("Unexpected error - social login failed")}))}function Gr({fbAppId:e,appleClientId:t}){var i,n;window.FB||Ie(Pi,()=>{window.fbAsyncInit=function(){window.FB.init({appId:e,version:Ui,cookie:!0,xfbml:!0})}}),window.AppleID||Ie(Fi,()=>{window.AppleID.auth.init({clientId:t,scope:"name email",usePopup:!0,redirectURI:`${window.location.origin}/`})}),(n=(i=window?.google)==null?void 0:i.accounts)!=null&&n.oauth2||Ie(zi)}function Kr(e){return new Promise((t,i)=>{const n=()=>{window.AppleID.auth.signIn().then(({authorization:{id_token:s},user:r})=>{r?Ge.call(this,"apple",s).then(t).catch(o=>{o instanceof Lt&&i(new Lt(o.message,s,r.name)),i(o)}):Ge.call(this,"apple",s).then(t).catch(o=>{i(o)})}).catch(()=>{i(new zt("User exited login"))})};window.AppleID?n():Ie(Fi,()=>{window.AppleID.auth.init({clientId:e,scope:"name email",usePopup:!0,redirectURI:`${window.location.origin}/`}),n()})})}function Jr(e){return new Promise((t,i)=>{const n=()=>{window.FB.login(({status:s,authResponse:r})=>{s==="connected"?Ge.call(this,"facebook",r.accessToken).then(t).catch(o=>{i(o)}):i(new zt("User exited login"))},{scope:"email,user_birthday"})};window.FB?n():Ie(Pi,()=>{window.fbAsyncInit=function(){window.FB.init({appId:e,version:Ui,cookie:!0,xfbml:!0})},n()})})}function Xr(e){return new Promise((t,i)=>{var n,s;const r=()=>{window.google.accounts.oauth2.initTokenClient({client_id:e,scope:"profile email",ux_mode:"popup",callback:a=>{a&&a.access_token?Ge.call(this,"google",a.access_token).then(t).catch(c=>{i(c)}):i(new Error("Unexpected error on login with google"))},error_callback:()=>{i(new zt("User exited login"))}}).requestAccessToken()};(s=(n=window?.google)==null?void 0:n.accounts)!=null&&s.oauth2?r():Ie(zi,r)})}var Yr=class{constructor(e){this.login=Vr,this.loginWithApple=Kr,this.loginWithFacebook=Jr,this.loginWithGoogle=Xr,this.preloadSocialLoginSdks=Gr,this.getAccessToken=qr,this.getIdToken=Nr,this.getUserData=Wt,this.isLoggedIn=$r,this.logout=ji,this.socialLogin=Ge;var t;this.authApiClient=Or({baseUrl:e.apiHost,apiKey:e.apiKey}),this.apiKey=e.apiKey,this.refreshTokenInBody=(t=e.refreshTokenInBody)!=null?t:!0,this.logger=e.logger||Cr}};let xt;function Qr(e){let t=e;return/sbsod.com$/.exec(window.location.hostname)&&(/(?:dev|qa|stg)\.sbs.com.au$/.exec(t)?t=e.replace("sbs.com.au","sbsod.com"):t=e.replace("sbs.com.au","pr.sbsod.com")),/sbs.com.au$/.exec(window.location.hostname)&&(t=e.replace(/(pr\.)?sbsod.com$/,"sbs.com.au")),t}const tn=()=>{if(typeof document>"u")throw new TypeError("Unable to get sbs login instance in server side rendered app");return xt||(xt=new Yr({apiHost:Qr("https://auth.sbs.com.au"),apiKey:"74165a3a-0ae7-4d27-ac1a-e71e81062a89",logger:$i})),xt};export{Tr as I,xr as S,Sr as U,Lt as a,Er as b,tn as g,$i as l};
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.