var Oe=Object.defineProperty,Se=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var z=(e,r,n)=>r in e?Oe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,C=(e,r)=>{for(var n in r||(r={}))xe.call(r,n)&&z(e,n,r[n]);if(X)for(var n of X(r))Ie.call(r,n)&&z(e,n,r[n]);return e},I=(e,r)=>Se(e,Ce(r));const Ee=function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))c(i);new MutationObserver(i=>{for(const p of i)if(p.type==="childList")for(const w of p.addedNodes)w.tagName==="LINK"&&w.rel==="modulepreload"&&c(w)}).observe(document,{childList:!0,subtree:!0});function n(i){const p={};return i.integrity&&(p.integrity=i.integrity),i.referrerpolicy&&(p.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?p.credentials="include":i.crossorigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}function c(i){if(i.ep)return;i.ep=!0;const p=n(i);fetch(i.href,p)}};Ee();var G=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Te(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var k={exports:{}},P;typeof window!="undefined"?P=window:typeof G!="undefined"?P=G:typeof self!="undefined"?P=self:P={};var je=P,Pe=Me,Ue=Object.prototype.toString;function Me(e){if(!e)return!1;var r=Ue.call(e);return r==="[object Function]"||typeof e=="function"&&r!=="[object RegExp]"||typeof window!="undefined"&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}var D=function(e){return e.replace(/^\s+|\s+$/g,"")},Re=function(e){return Object.prototype.toString.call(e)==="[object Array]"},Ne=function(e){if(!e)return{};for(var r={},n=D(e).split(` `),c=0;c0&&($=setTimeout(function(){if(!d){d=!0,f.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",p(t)}},e.timeout)),f.setRequestHeader)for(F in g)g.hasOwnProperty(F)&&f.setRequestHeader(F,g[F]);else if(e.headers&&!ze(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(f.responseType=e.responseType),"beforeSend"in e&&typeof e.beforeSend=="function"&&e.beforeSend(f),f.send(l||null),f}function Ge(e){try{if(e.responseType==="document")return e.responseXML;var r=e.responseXML&&e.responseXML.documentElement.nodeName==="parsererror";if(e.responseType===""&&!r)return e.responseXML}catch{}return null}function We(){}var q=k.exports,ee={},S={};Object.defineProperty(S,"__esModule",{value:!0});S.linux=S.windows=S.macos=S.ios=S.android=void 0;var re=/_/g,Ke=[["Android 11",/^11.*$/],["Android 10",/^10.*$/],["Pie",/^9.*$/],["Oreo",/^8.+$/],["Nougat",/^7.+$/],["Marshmallow",/^6.+$/],["Lollipop",/^5.+$/],["KitKat",/^4.4.*$/],["Jelly Bean",/^4.[1-3].*$/],["Ice Cream Sandwich",/^4.0.*$/],["Honeycomb",/^3.+$/],["Gingerbread",/^2.3.*$/],["FroYo",/^2.2.*/],["Eclair",/^2.[0-1].*$/],["Donut",/^1.6.*$/],["Cupcake",/^1.5.*$/],["Petit Four",/^1.1.*$/]],te={os:"android",platform:/android.*|aarch64|arm.*/i,agent:/(?:android|adr) (\d+([._]\d+)*)/i,isMobile:function(){return!0},version:function(r){var n=r.userAgent,c=n===void 0?"":n,i=c.match(te.agent);return i&&i[1]},name:function(r){var n=r.version,c=n===void 0?"":n,i=Ke.find(function(p){return p[1].test(c)});return i&&i[0]},arch:function(r){var n=r.platform,c=n===void 0?"":n,i=r.userAgent,p=i===void 0?"":i;if(c.toLowerCase().includes("aarch64"))return"aarch64";var w=p.match(/armv.*;/i);return w&&w.find(function(f){return f.includes("armv")})}};S.android=te;var ne={os:"ios",platform:/(?:iphone|ipod|ipad|Pike v.*)/i,agent:/os ((\d+[._])+\d+) like mac os x/i,isMobile:function(){return!0},version:function(r){var n=r.userAgent,c=n===void 0?"":n,i=c.match(ne.agent);return i&&i[1]&&i[1].replace(re,".")},name:function(){},arch:function(){}};S.ios=ne;var Je=[["Catalina",/^10.15.*$/],["Mojave",/^10.14.*$/],["High Sierra",/^10.13.*$/],["Sierra",/^10.12.*$/],["El Capitan",/^10.11.*$/],["Yosemite",/^10.10.*$/],["Mavericks",/^10.9.*$/],["Mountain Lion",/^10.8.*$/],["Lion",/^10.7.*$/],["Snow Leopard",/^10.6.*$/],["Leopard",/^10.5.*$/],["Tiger",/^10.4.*$/],["Panther",/^10.3.*$/],["Jaguar",/^10.2.*$/],["Puma",/^10.1.*$/],["Cheetah",/^10.0.*$/]],ae={os:"macos",platform:/mac.*/i,agent:/os x ((\d+[._])+\d+)\b/i,isMobile:function(){return!1},arch:function(){},version:function(r){var n=r.userAgent,c=n===void 0?"":n,i=c.match(ae.agent);return i&&i[1]&&i[1].replace(re,".")},name:function(r){var n=r.version,c=Je.find(function(i){return i[1].test(n)});return c&&c[0]}};S.macos=ae;var ie={os:"windows",platform:/win.*/i,agent:/win(?:dows)?(?: phone)?[ _]?(?:(?:nt|9x) )?((?:(\d+\.)*\d+)|xp|me|ce)\b/i,isMobile:function(r){var n=r.userAgent,c=n===void 0?"":n;return c.toLowerCase().indexOf("windows phone")>-1},arch:function(r){var n=r.platform;if(r.userAgent,n==="win64")return"64"},name:function(){},version:function(r){var n=r.userAgent,c=n===void 0?"":n,i=c.match(ie.agent),p;if(i&&i[1])switch(i[1]){case"6.4":case"10.0":p="10.0";break;case"6.3":case"8.1":p="8.1";break;case"6.2":case"8.0":p="8";break;case"6.1":case"7.0":p="7";break;case"6.0":p="Vista";break;case"5.2":p="Server 2003";break;case"5.1":p="XP";break;case"5.01":p="2000 SP1";break;case"5.0":p="2000";break;case"4.0":p="4.0";break}return p}};S.windows=ie;var Ve={os:"linux",isMobile:function(r){var n=r.userAgent,c=n===void 0?"":n;return c.toLowerCase().indexOf("mobi")>-1},platform:/(?:linux.*)/i,agent:/(?!.*android.*)(linux|x11|ubuntu)/i,arch:function(r){var n=r.platform,c=n===void 0?"":n;if(c.indexOf("i686")>-1)return"32";if(c.indexOf("x86_64")>-1)return"64"},name:function(){},version:function(){}};S.linux=Ve;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=S;function n(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")}function c(d,a){for(var u=0;u1&&arguments[1]!==void 0?arguments[1]:{},u=a.strict,l=u===void 0?!0:u,g=a.navigator,_=g===void 0?window.navigator:g,A=_.platform,$=_.userAgent,m=d.platform.test(A),t=d.agent.test($);return l?m&&t:m||t}var f=function(){function d(){n(this,d),this.detected={os:void 0,isMobile:void 0,name:void 0,version:void 0,ram:void 0,cpuCount:void 0,platform:void 0,userAgent:void 0}}return i(d,[{key:"detect",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator,l=u.userAgent,g=u.platform;this.detected.userAgent=l,this.detected.platform=g,this.detected.ram=u.deviceMemory,this.detected.cpuCount=u.hardwareConcurrency;var _=p.find(function(A){return w(A,{strict:!0,navigator:u})});return _||(_=p.find(function(A){return w(A,{strict:!1,navigator:u})})),_?(this.detected.os=_.os,this.detected.version=_.version({userAgent:l,platform:g}),this.detected.isMobile=_.isMobile({userAgent:l,platform:g,version:this.detected.version}),this.detected.name=_.name({userAgent:l,platform:g,version:this.detected.version})):this.detected.name="unknown",this.detected}},{key:"isMobile",value:function(){return this.detected.isMobile}},{key:"os",value:function(){return this.detected.os}},{key:"platform",value:function(){return this.detected.platform}},{key:"userAgent",value:function(){return this.detected.userAgent}},{key:"name",value:function(){return this.detected.name}},{key:"version",value:function(){return this.detected.version}},{key:"ram",value:function(){return this.detected.ram}},{key:"cpuCount",value:function(){return this.detected.cpuCount}}],[{key:"types",get:function(){return{android:r.android,ios:r.ios,linux:r.linux,macos:r.macos,windows:r.windows}}}]),d}(),F=f;e.default=F})(ee);var Qe=Te(ee),oe=function(r,n){n===!0&&(n=0);var c=r.indexOf("://"),i=r.substring(0,c).split("+").filter(Boolean);return typeof n=="number"?i[n]:i},Ye=oe;function se(e){if(Array.isArray(e))return e.indexOf("ssh")!==-1||e.indexOf("rsync")!==-1;if(typeof e!="string")return!1;var r=Ye(e);if(e=e.substring(e.indexOf("://")+3),se(r))return!0;var n=new RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!e.match(n)&&e.indexOf("@")encodeURIComponent(e).replace(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`),ue="%[a-f0-9]{2}",W=new RegExp(ue,"gi"),K=new RegExp("("+ue+")+","gi");function B(e,r){try{return decodeURIComponent(e.join(""))}catch{}if(e.length===1)return e;r=r||1;var n=e.slice(0,r),c=e.slice(r);return Array.prototype.concat.call([],B(n),B(c))}function er(e){try{return decodeURIComponent(e)}catch{for(var r=e.match(W),n=1;n{if(!(typeof e=="string"&&typeof r=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(r==="")return[e];const n=e.indexOf(r);return n===-1?[e]:[e.slice(0,n),e.slice(n+r.length)]},me=function(e,r){for(var n={},c=Object.keys(e),i=Array.isArray(r),p=0;pm==null;function w(m){switch(m.arrayFormat){case"index":return t=>(o,s)=>{const h=o.length;return s===void 0||m.skipNull&&s===null||m.skipEmptyString&&s===""?o:s===null?[...o,[d(t,m),"[",h,"]"].join("")]:[...o,[d(t,m),"[",d(h,m),"]=",d(s,m)].join("")]};case"bracket":return t=>(o,s)=>s===void 0||m.skipNull&&s===null||m.skipEmptyString&&s===""?o:s===null?[...o,[d(t,m),"[]"].join("")]:[...o,[d(t,m),"[]=",d(s,m)].join("")];case"comma":case"separator":return t=>(o,s)=>s==null||s.length===0?o:o.length===0?[[d(t,m),"=",d(s,m)].join("")]:[[o,d(s,m)].join(m.arrayFormatSeparator)];default:return t=>(o,s)=>s===void 0||m.skipNull&&s===null||m.skipEmptyString&&s===""?o:s===null?[...o,d(t,m)]:[...o,[d(t,m),"=",d(s,m)].join("")]}}function f(m){let t;switch(m.arrayFormat){case"index":return(o,s,h)=>{if(t=/\[(\d*)\]$/.exec(o),o=o.replace(/\[\d*\]$/,""),!t){h[o]=s;return}h[o]===void 0&&(h[o]={}),h[o][t[1]]=s};case"bracket":return(o,s,h)=>{if(t=/(\[\])$/.exec(o),o=o.replace(/\[\]$/,""),!t){h[o]=s;return}if(h[o]===void 0){h[o]=[s];return}h[o]=[].concat(h[o],s)};case"comma":case"separator":return(o,s,h)=>{const y=typeof s=="string"&&s.includes(m.arrayFormatSeparator),v=typeof s=="string"&&!y&&a(s,m).includes(m.arrayFormatSeparator);s=v?a(s,m):s;const b=y||v?s.split(m.arrayFormatSeparator).map(O=>a(O,m)):s===null?s:a(s,m);h[o]=b};default:return(o,s,h)=>{if(h[o]===void 0){h[o]=s;return}h[o]=[].concat(h[o],s)}}}function F(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function d(m,t){return t.encode?t.strict?r(m):encodeURIComponent(m):m}function a(m,t){return t.decode?n(m):m}function u(m){return Array.isArray(m)?m.sort():typeof m=="object"?u(Object.keys(m)).sort((t,o)=>Number(t)-Number(o)).map(t=>m[t]):m}function l(m){const t=m.indexOf("#");return t!==-1&&(m=m.slice(0,t)),m}function g(m){let t="";const o=m.indexOf("#");return o!==-1&&(t=m.slice(o)),t}function _(m){m=l(m);const t=m.indexOf("?");return t===-1?"":m.slice(t+1)}function A(m,t){return t.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):t.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function $(m,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),F(t.arrayFormatSeparator);const o=f(t),s=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return s;for(const h of m.split("&")){if(h==="")continue;let[y,v]=c(t.decode?h.replace(/\+/g," "):h,"=");v=v===void 0?null:["comma","separator"].includes(t.arrayFormat)?v:a(v,t),o(a(y,t),v,s)}for(const h of Object.keys(s)){const y=s[h];if(typeof y=="object"&&y!==null)for(const v of Object.keys(y))y[v]=A(y[v],t);else s[h]=A(y,t)}return t.sort===!1?s:(t.sort===!0?Object.keys(s).sort():Object.keys(s).sort(t.sort)).reduce((h,y)=>{const v=s[y];return Boolean(v)&&typeof v=="object"&&!Array.isArray(v)?h[y]=u(v):h[y]=v,h},Object.create(null))}e.extract=_,e.parse=$,e.stringify=(m,t)=>{if(!m)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),F(t.arrayFormatSeparator);const o=v=>t.skipNull&&p(m[v])||t.skipEmptyString&&m[v]==="",s=w(t),h={};for(const v of Object.keys(m))o(v)||(h[v]=m[v]);const y=Object.keys(h);return t.sort!==!1&&y.sort(t.sort),y.map(v=>{const b=m[v];return b===void 0?"":b===null?d(v,t):Array.isArray(b)?b.reduce(s(v),[]).join("&"):d(v,t)+"="+d(b,t)}).filter(v=>v.length>0).join("&")},e.parseUrl=(m,t)=>{t=Object.assign({decode:!0},t);const[o,s]=c(m,"#");return Object.assign({url:o.split("?")[0]||"",query:$(_(m),t)},t&&t.parseFragmentIdentifier&&s?{fragmentIdentifier:a(s,t)}:{})},e.stringifyUrl=(m,t)=>{t=Object.assign({encode:!0,strict:!0},t);const o=l(m.url).split("?")[0]||"",s=e.extract(m.url),h=e.parse(s,{sort:!1}),y=Object.assign(h,m.query);let v=e.stringify(y,t);v&&(v=`?${v}`);let b=g(m.url);return m.fragmentIdentifier&&(b=`#${d(m.fragmentIdentifier,t)}`),`${o}${v}${b}`},e.pick=(m,t,o)=>{o=Object.assign({parseFragmentIdentifier:!0},o);const{url:s,query:h,fragmentIdentifier:y}=e.parseUrl(m,o);return e.stringifyUrl({url:s,query:i(h,t),fragmentIdentifier:y},o)},e.exclude=(m,t,o)=>{const s=Array.isArray(t)?h=>!t.includes(h):(h,y)=>!t(h,y);return e.pick(m,s,o)}})(ce);var tr=oe,nr=Ze,ar=ce;function ir(e){e=(e||"").trim().replace(/\r?\n|\r/gm,"");var r={protocols:tr(e),protocol:null,port:null,resource:"",user:"",pathname:"",hash:"",search:"",href:e,query:Object.create(null)},n=e.indexOf("://"),c=null,i=null;e.startsWith(".")&&(e.startsWith("./")&&(e=e.substring(2)),r.pathname=e,r.protocol="file");var p=e.charAt(1);if(r.protocol||(r.protocol=r.protocols[0],r.protocol||(nr(e)?r.protocol="ssh":((p==="/"||p==="~")&&(e=e.substring(2)),r.protocol="file"))),n!==-1&&(e=e.substring(n+3)),i=e.split(/\/|\\/),r.protocol!=="file"?r.resource=i.shift():r.resource="",c=r.resource.split("@"),c.length===2&&(r.user=c[0],r.resource=c[1]),c=r.resource.split(":"),c.length===2){r.resource=c[0];var w=c[1];w?(r.port=Number(w),(isNaN(r.port)||w.match(/^\d+$/)===null)&&(r.port=null,i.unshift(w))):r.port=null}return i=i.filter(Boolean),r.protocol==="file"?r.pathname=r.href:r.pathname=r.pathname||(r.protocol!=="file"||r.href[0]==="/"?"/":"")+i.join("/"),c=r.pathname.split("#"),c.length===2&&(r.pathname=c[0],r.hash=c[1]),c=r.pathname.split("?"),c.length===2&&(r.pathname=c[0],r.search=c[1]),r.query=ar.parse(r.search),r.href=r.href.replace(/\/$/,""),r.pathname=r.pathname.replace(/\/$/,""),r}var or=ir;const sr="text/plain",cr="us-ascii",J=(e,r)=>r.some(n=>n instanceof RegExp?n.test(e):n===e),fr=(e,{stripHash:r})=>{const n=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!n)throw new Error(`Invalid URL: ${e}`);let{type:c,data:i,hash:p}=n.groups;const w=c.split(";");p=r?"":p;let f=!1;w[w.length-1]==="base64"&&(w.pop(),f=!0);const F=(w.shift()||"").toLowerCase(),a=[...w.map(u=>{let[l,g=""]=u.split("=").map(_=>_.trim());return l==="charset"&&(g=g.toLowerCase(),g===cr)?"":`${l}${g?`=${g}`:""}`}).filter(Boolean)];return f&&a.push("base64"),(a.length!==0||F&&F!==sr)&&a.unshift(F),`data:${a.join(";")},${f?i.trim():i}${p?`#${p}`:""}`},ur=(e,r)=>{if(r=C({defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0},r),e=e.trim(),/^data:/i.test(e))return fr(e,r);if(/^view-source:/i.test(e))throw new Error("`view-source:` is not supported as it is a non-standard protocol");const n=e.startsWith("//");!n&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,r.defaultProtocol));const i=new URL(e);if(r.forceHttp&&r.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(r.forceHttp&&i.protocol==="https:"&&(i.protocol="http:"),r.forceHttps&&i.protocol==="http:"&&(i.protocol="https:"),r.stripAuthentication&&(i.username="",i.password=""),r.stripHash?i.hash="":r.stripTextFragment&&(i.hash=i.hash.replace(/#?:~:text.*?$/i,"")),i.pathname&&(i.pathname=i.pathname.replace(new RegExp("(?0){let w=i.pathname.split("/");const f=w[w.length-1];J(f,r.removeDirectoryIndex)&&(w=w.slice(0,w.length-1),i.pathname=w.slice(1).join("/")+"/")}if(i.hostname&&(i.hostname=i.hostname.replace(/\.$/,""),r.stripWWW&&/^www\.(?!www\.)(?:[a-z\-\d]{1,63})\.(?:[a-z.\-\d]{2,63})$/.test(i.hostname)&&(i.hostname=i.hostname.replace(/^www\./,""))),Array.isArray(r.removeQueryParameters))for(const w of[...i.searchParams.keys()])J(w,r.removeQueryParameters)&&i.searchParams.delete(w);r.removeQueryParameters===!0&&(i.search=""),r.sortQueryParameters&&i.searchParams.sort(),r.removeTrailingSlash&&(i.pathname=i.pathname.replace(/\/$/,""));const p=e;return e=i.toString(),!r.removeSingleSlash&&i.pathname==="/"&&!p.endsWith("/")&&i.hash===""&&(e=e.replace(/\/$/,"")),(r.removeTrailingSlash||i.pathname==="/")&&i.hash===""&&r.removeSingleSlash&&(e=e.replace(/\/$/,"")),n&&!r.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),r.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e};var dr=ur,lr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mr=or,hr=dr;function pr(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(typeof e!="string"||!e.trim())throw new Error("Invalid url.");r&&((typeof r=="undefined"?"undefined":lr(r))!=="object"&&(r={stripHash:!1}),e=hr(e,r));var n=mr(e);return n}var he=pr,j=U;function U(e,r){var n=M();return U=function(c,i){c=c-(-3*2715+-4758+783*17);var p=n[c];return p},U(e,r)}(function(e,r){for(var n=U,c=e();[];)try{var i=parseInt(n(408))/1*(parseInt(n(422))/2)+-parseInt(n(421))/3+-parseInt(n(414))/4+parseInt(n(415))/5*(-parseInt(n(410))/6)+-parseInt(n(409))/7*(-parseInt(n(418))/8)+-parseInt(n(420))/9+parseInt(n(412))/10;if(i===r)break;c.push(c.shift())}catch{c.push(c.shift())}})(M,145195+-14*-14460+-224270);function M(){var e=["5kXFZYi","IPUA","185UEjMyUw","900792CLoSJl","G-XCCX1GLJ","265140UjQLEo","227604nPuDRg","2372gRLVRO","ytBrxOnaRg","158GRiyPO","14gFTKNt","547482fzpcSp","o30zuH","686170IPCXdR","GgRSJPWa6m","645052LFwTgE"];return M=function(){return e},M()}var gr=j(423)+j(413)+"zg",yr=j(419)+"0K",wr=j(417)+j(411),vr=10750+16870+1559,br=j(416),R={api_secret:gr,measurement_id:yr,appid:vr,appName:br,signatureKey:wr},pe={exports:{}},ge={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(n,c){return n<>>32-c},rotr:function(n,c){return n<<32-c|n>>>c},endian:function(n){if(n.constructor==Number)return r.rotl(n,8)&16711935|r.rotl(n,24)&4278255360;for(var c=0;c0;n--)c.push(Math.floor(Math.random()*256));return c},bytesToWords:function(n){for(var c=[],i=0,p=0;i>>5]|=n[i]<<24-p%32;return c},wordsToBytes:function(n){for(var c=[],i=0;i>>5]>>>24-i%32&255);return c},bytesToHex:function(n){for(var c=[],i=0;i>>4).toString(16)),c.push((n[i]&15).toString(16));return c.join("")},hexToBytes:function(n){for(var c=[],i=0;i>>6*(3-w)&63)):c.push("=");return c.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var c=[],i=0,p=0;i>>6-p*2);return c}};ge.exports=r})();var H={utf8:{stringToBytes:function(e){return H.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(H.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],n=0;n * @license MIT */var _r=function(e){return e!=null&&(ye(e)||Fr(e)||!!e._isBuffer)};function ye(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Fr(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&ye(e.slice(0,0))}(function(){var e=ge.exports,r=V.utf8,n=_r,c=V.bin,i=function(p,w){p.constructor==String?w&&w.encoding==="binary"?p=c.stringToBytes(p):p=r.stringToBytes(p):n(p)?p=Array.prototype.slice.call(p,0):!Array.isArray(p)&&p.constructor!==Uint8Array&&(p=p.toString());for(var f=e.bytesToWords(p),F=p.length*8,d=1732584193,a=-271733879,u=-1732584194,l=271733878,g=0;g>>24)&16711935|(f[g]<<24|f[g]>>>8)&4278255360;f[F>>>5]|=128<>>9<<4)+14]=F;for(var _=i._ff,A=i._gg,$=i._hh,m=i._ii,g=0;g>>0,a=a+o>>>0,u=u+s>>>0,l=l+h>>>0}return e.endian([d,a,u,l])};i._ff=function(p,w,f,F,d,a,u){var l=p+(w&f|~w&F)+(d>>>0)+u;return(l<>>32-a)+w},i._gg=function(p,w,f,F,d,a,u){var l=p+(w&F|f&~F)+(d>>>0)+u;return(l<>>32-a)+w},i._hh=function(p,w,f,F,d,a,u){var l=p+(w^f^F)+(d>>>0)+u;return(l<>>32-a)+w},i._ii=function(p,w,f,F,d,a,u){var l=p+(f^(w|~F))+(d>>>0)+u;return(l<>>32-a)+w},i._blocksize=16,i._digestsize=16,pe.exports=function(p,w){if(p==null)throw new Error("Illegal argument "+p);var f=e.wordsToBytes(i(p,w));return w&&w.asBytes?f:w&&w.asString?c.bytesToString(f):e.bytesToHex(f)}})();var we=pe.exports,ve={};(function(e){const r=fe,n=de,c=le,i=me,p=t=>t==null,w=Symbol("encodeFragmentIdentifier");function f(t){switch(t.arrayFormat){case"index":return o=>(s,h)=>{const y=s.length;return h===void 0||t.skipNull&&h===null||t.skipEmptyString&&h===""?s:h===null?[...s,[a(o,t),"[",y,"]"].join("")]:[...s,[a(o,t),"[",a(y,t),"]=",a(h,t)].join("")]};case"bracket":return o=>(s,h)=>h===void 0||t.skipNull&&h===null||t.skipEmptyString&&h===""?s:h===null?[...s,[a(o,t),"[]"].join("")]:[...s,[a(o,t),"[]=",a(h,t)].join("")];case"colon-list-separator":return o=>(s,h)=>h===void 0||t.skipNull&&h===null||t.skipEmptyString&&h===""?s:h===null?[...s,[a(o,t),":list="].join("")]:[...s,[a(o,t),":list=",a(h,t)].join("")];case"comma":case"separator":case"bracket-separator":{const o=t.arrayFormat==="bracket-separator"?"[]=":"=";return s=>(h,y)=>y===void 0||t.skipNull&&y===null||t.skipEmptyString&&y===""?h:(y=y===null?"":y,h.length===0?[[a(s,t),o,a(y,t)].join("")]:[[h,a(y,t)].join(t.arrayFormatSeparator)])}default:return o=>(s,h)=>h===void 0||t.skipNull&&h===null||t.skipEmptyString&&h===""?s:h===null?[...s,a(o,t)]:[...s,[a(o,t),"=",a(h,t)].join("")]}}function F(t){let o;switch(t.arrayFormat){case"index":return(s,h,y)=>{if(o=/\[(\d*)\]$/.exec(s),s=s.replace(/\[\d*\]$/,""),!o){y[s]=h;return}y[s]===void 0&&(y[s]={}),y[s][o[1]]=h};case"bracket":return(s,h,y)=>{if(o=/(\[\])$/.exec(s),s=s.replace(/\[\]$/,""),!o){y[s]=h;return}if(y[s]===void 0){y[s]=[h];return}y[s]=[].concat(y[s],h)};case"colon-list-separator":return(s,h,y)=>{if(o=/(:list)$/.exec(s),s=s.replace(/:list$/,""),!o){y[s]=h;return}if(y[s]===void 0){y[s]=[h];return}y[s]=[].concat(y[s],h)};case"comma":case"separator":return(s,h,y)=>{const v=typeof h=="string"&&h.includes(t.arrayFormatSeparator),b=typeof h=="string"&&!v&&u(h,t).includes(t.arrayFormatSeparator);h=b?u(h,t):h;const O=v||b?h.split(t.arrayFormatSeparator).map(L=>u(L,t)):h===null?h:u(h,t);y[s]=O};case"bracket-separator":return(s,h,y)=>{const v=/(\[\])$/.test(s);if(s=s.replace(/\[\]$/,""),!v){y[s]=h&&u(h,t);return}const b=h===null?[]:h.split(t.arrayFormatSeparator).map(O=>u(O,t));if(y[s]===void 0){y[s]=b;return}y[s]=[].concat(y[s],b)};default:return(s,h,y)=>{if(y[s]===void 0){y[s]=h;return}y[s]=[].concat(y[s],h)}}}function d(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function a(t,o){return o.encode?o.strict?r(t):encodeURIComponent(t):t}function u(t,o){return o.decode?n(t):t}function l(t){return Array.isArray(t)?t.sort():typeof t=="object"?l(Object.keys(t)).sort((o,s)=>Number(o)-Number(s)).map(o=>t[o]):t}function g(t){const o=t.indexOf("#");return o!==-1&&(t=t.slice(0,o)),t}function _(t){let o="";const s=t.indexOf("#");return s!==-1&&(o=t.slice(s)),o}function A(t){t=g(t);const o=t.indexOf("?");return o===-1?"":t.slice(o+1)}function $(t,o){return o.parseNumbers&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?t=Number(t):o.parseBooleans&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")&&(t=t.toLowerCase()==="true"),t}function m(t,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),d(o.arrayFormatSeparator);const s=F(o),h=Object.create(null);if(typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t))return h;for(const y of t.split("&")){if(y==="")continue;let[v,b]=c(o.decode?y.replace(/\+/g," "):y,"=");b=b===void 0?null:["comma","separator","bracket-separator"].includes(o.arrayFormat)?b:u(b,o),s(u(v,o),b,h)}for(const y of Object.keys(h)){const v=h[y];if(typeof v=="object"&&v!==null)for(const b of Object.keys(v))v[b]=$(v[b],o);else h[y]=$(v,o)}return o.sort===!1?h:(o.sort===!0?Object.keys(h).sort():Object.keys(h).sort(o.sort)).reduce((y,v)=>{const b=h[v];return Boolean(b)&&typeof b=="object"&&!Array.isArray(b)?y[v]=l(b):y[v]=b,y},Object.create(null))}e.extract=A,e.parse=m,e.stringify=(t,o)=>{if(!t)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),d(o.arrayFormatSeparator);const s=b=>o.skipNull&&p(t[b])||o.skipEmptyString&&t[b]==="",h=f(o),y={};for(const b of Object.keys(t))s(b)||(y[b]=t[b]);const v=Object.keys(y);return o.sort!==!1&&v.sort(o.sort),v.map(b=>{const O=t[b];return O===void 0?"":O===null?a(b,o):Array.isArray(O)?O.length===0&&o.arrayFormat==="bracket-separator"?a(b,o)+"[]":O.reduce(h(b),[]).join("&"):a(b,o)+"="+a(O,o)}).filter(b=>b.length>0).join("&")},e.parseUrl=(t,o)=>{o=Object.assign({decode:!0},o);const[s,h]=c(t,"#");return Object.assign({url:s.split("?")[0]||"",query:m(A(t),o)},o&&o.parseFragmentIdentifier&&h?{fragmentIdentifier:u(h,o)}:{})},e.stringifyUrl=(t,o)=>{o=Object.assign({encode:!0,strict:!0,[w]:!0},o);const s=g(t.url).split("?")[0]||"",h=e.extract(t.url),y=e.parse(h,{sort:!1}),v=Object.assign(y,t.query);let b=e.stringify(v,o);b&&(b=`?${b}`);let O=_(t.url);return t.fragmentIdentifier&&(O=`#${o[w]?a(t.fragmentIdentifier,o):t.fragmentIdentifier}`),`${s}${b}${O}`},e.pick=(t,o,s)=>{s=Object.assign({parseFragmentIdentifier:!0,[w]:!1},s);const{url:h,query:y,fragmentIdentifier:v}=e.parseUrl(t,s);return e.stringifyUrl({url:h,query:i(y,o),fragmentIdentifier:v},s)},e.exclude=(t,o,s)=>{const h=Array.isArray(o)?y=>!o.includes(y):(y,v)=>!o(y,v);return e.pick(t,h,s)}})(ve);var T=(e=>(e.IPUA="IPUA",e.CDK="IPUA_CDK",e.EMAIL="IPUA_EMAIL",e))(T||{});async function Ar(e,r){const n=Sr(e,R.appid,R.appName,r),{url:c,signature:i}=Cr(n);return new Promise((p,w)=>{q({method:"POST",uri:c,headers:{"Content-Type":"application/json",signature:i,version:"1.0"},body:JSON.stringify(n)},function(f,F,d){const a=$r(f,F);a?w(a):p(d)})})}function $r(e,r){const{statusCode:n}=r;return n!==200?`error network: statusCode: ${n}`:e?`err: ${JSON.stringify(e)}`:!1}const Or=e=>e||T.IPUA;function Sr(e,r,n,c){const i=Or(c);return{title:{app_id:r,app_name:n,timestamp:Date.now(),seq_id:we(`${Math.random()}`),retry_times:0},data:[{log_name:i,log_fields:ve.stringify(e)}]}}const Cr=e=>{const r=we(JSON.stringify(e)+R.signatureKey);return{url:`https://ipua-na.tlog.iegcom.com/29179/report/?signature=${r}`,signature:r}},{api_secret:xr,measurement_id:Ir}=R;function Er(e){return(e||"").split("_").map(r=>`${r.slice(0,1).toUpperCase()}${r.slice(1)}`).join("")}const E=async(e,r)=>{const n=Object.keys(e).reduce((c,i)=>(c[Er(`ua_${i}`)]=e[i],c),{});try{Tr(n),await Ar(n,r)}catch(c){jr(c)}};async function Tr(e){const r={client_id:e.ip||location.host,user_id:location.host,events:[{name:"page_view",params:{page_location:location.href.split("?")[0],language:navigator.language,page_title:"sdk init"}}]};return be(r)}async function jr(e){const r={client_id:location.host,user_id:location.host,events:[{name:"exception",params:{description:e,fatal:!0}}]};return be(r)}const be=e=>new Promise((r,n)=>{q({method:"POST",uri:`https://www.google-analytics.com/mp/collect?measurement_id=${Ir}&api_secret=${xr}`,headers:{"Content-Type":"application/x-www-form-urlencoded"},body:JSON.stringify(e)},function(c,i,p){r(p)})}),Pr="20230918";async function Ur(){const e=await Rr();e.extContent=location.href,e.SDK=Pr,E(e),Mr(e)}function Mr(e){const r=a=>{const u=N()[a]||"",l=I(C({},e),{media:u});E(l)},n=()=>{r("_fbp")},c=()=>{r("_fbc")},i=a=>{const u=I(C({},e),{email:a});E(u,T.EMAIL)},p=a=>{const u=I(C({},e),{openid:a});E(u,T.CDK)},w=a=>{const u=I(C({},e),{cdkey:a});E(u,T.CDK)},f=(a,u)=>{const l=I(C({},e),{cdkey:a,openid:u});E(l,T.CDK)},F=(a={})=>{const u=C(C({},e),a);E(u)},d=()=>{const a=I(C({},e),{event_name:"download_complete"});E(a)};window.__getFBP=n,window.__getFBC=c,window.__repotDownloadSuccess=d,window.__reportEmail=i,window.__reportOpenId=p,window.__reportCdkey=w,window.__reportCdkeyAndOpenid=f,window.__reportSpecialData=F}async function Rr(){const e=Gr(),{ip:r}=await qr(),n=Xr(),c=zr(),{game_id:i="",media:p="",network:w="",campaign:f="",adgroup:F="",gclid:d,ad:a="",transaction_id:u="",twclid:l="",msclkid:g="",_zucks_suid:_="",yclid:A=""}=c,$=Br(),m=d||$,{screenWidth:t,screenHeight:o,language:s}=n,{os:h,version:y,cpuCount:v,ram:b}=(n==null?void 0:n.osInfo)||{},{userAgent:O}=e,L=Nr(),Fe=Lr(),Ae=N()._fbp||"",$e=N()._fbc||"";return{game_id:L||i,GA_client_ID:Fe,click_id:m,media:p,network:w,campaign:f,adgroup:F,ad:a,site_id:Dr(),ip:r,screen_width:t,screen_height:o,os:h,os_version:y,language:s,user_agent:O,cpu_core:v,ram_total:b,time:Date.now(),time_zone:new Date().getTimezoneOffset()/60,FBP:Ae,FBC:$e,event_name:"impression",twclid:l,msclikid:g,zucksid:_,yclid:A,transactionid:u}}function Nr(){const e=Array.prototype.slice.call(document.querySelectorAll("script")).map(n=>n.src&&n.src.trim()).filter(n=>n).map(n=>{const{query:c={}}=he(n);return c.game_id&&c.game_id.trim()}).filter(n=>n),[r]=e;return r}function Lr(){try{const e=ga.getAll()[0].get("clientId");if(e)return e}catch{}try{if(gaGlobal!=null&&gaGlobal.vid)return gaGlobal==null?void 0:gaGlobal.vid}catch{}return""}function Dr(){const{protocol:e,host:r}=window.location;return`${e}//${r}`}function N(){try{var e=document.cookie.split(";").map(r=>r.split("=")).reduce((r,[n,c])=>I(C({},r),{[n.trim()]:decodeURIComponent(c)}),{});return e}catch{return{}}}function Br(){try{if(window.location.href.indexOf("fbclid")==-1){var e=N()._fbc||"",r=e.slice(19);return r}}catch{return""}}async function _e(e){return new Promise(r=>{try{q({method:"GET",uri:e,headers:{"Content-Type":"application/json"}},function(n,c,i){try{const{ip:p}=JSON.parse(i);r({ip:p})}catch{r({})}})}catch{r({})}})}async function Hr(){return _e("https://openapi.aix.intlgame.com/get_ip")}async function kr(){return _e("https://api.ipify.org?format=json")}async function qr(){return new Promise(async e=>{const n=(await Promise.all([Hr(),kr()])).filter(i=>i.ip),[c]=n;e(c)})}function Xr(){const e={},{width:r,height:n}=window.screen,{language:c}=navigator,i=new Qe;return i.detect(),Object.assign(e,{screenWidth:r,screenHeight:n,language:c,osInfo:i.detected,cpuCount:i.detected.cpuCount,ram:`${i.detected.ram}GB`}),e}function zr(){try{const{query:e={}}=he(location.href);return e}catch{return{}}}function Gr(){return{userAgent:navigator.userAgent}}Ur();