/g,a=/([a-zA-Z0-9]*);?/gim,c=/"/g,s=/:?/gim,l=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,f=/u\s*r\s*l\s*\(.*/gi,g=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,h=/"/g,p=function(t){return t.replace(i,"<").replace(o,">")},d=function(t,e){var r,n;for(r=0,n=t.length;r127&&n<2048?e+=String.fromCharCode(n>>6|192):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128)),e+=String.fromCharCode(63&n|128))}return e}(t);u>2,o=(3&e)<<4|(r=t.charCodeAt(u++))>>4,a=(15&r)<<2|(n=t.charCodeAt(u++))>>6,c=63&n,isNaN(r)?a=c=64:isNaN(n)&&(c=64),l=l+s.charAt(i)+s.charAt(o)+s.charAt(a)+s.charAt(c);return l}function w(t){var e,r,n,i,o,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",l=0;for(t=t.replace(/[^A-Za-z0-9+/=]/g,"");l>4,r=(15&i)<<4|(o=c.indexOf(t.charAt(l++)))>>2,n=(3&o)<<6|(a=c.indexOf(t.charAt(l++))),s+=String.fromCharCode(e),64!==o&&(s+=String.fromCharCode(r)),64!==a&&(s+=String.fromCharCode(n));return function(t){for(var e="",r=0,n=0;r191&&n<224?(e+=String.fromCharCode((31&n)<<6|63&t.charCodeAt(r+1)),r+=2):(e+=String.fromCharCode((15&n)<<12|(63&t.charCodeAt(r+1))<<6|63&t.charCodeAt(r+2)),r+=3);return e}(s)}function N(t,e,r){var n="",i=0,o=!1,a=!1,c=0,s=t.length,l="",u="";t:for(c=0;c"===f||c===s-1){n+=r(t.slice(i,o)),l=function(t){var e,r=k(t);return e=-1===r?t.slice(1,-1):t.slice(1,r+1),"/"===(e=m(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}(u=t.slice(o,c+1)),n+=e(o,n.length,l,u,""===u.slice(0,2)),i=c+1,o=!1;continue}if('"'===f||"'"===f)for(var g=1,h=t.charAt(c-g);""===h.trim()||"="===h;){if("="===h){a=f;continue t}h=t.charAt(c-++g)}}else if(f===a){a=!1;continue}}return i0;e--){var r=t[e];if(" "!==r)return"="===r?e:-1}return-1}(t,l-1))){s(a,A(m(t.slice(r,l)))),a=!1,r=l+1;continue}}}else{if(-1===(f=t.indexOf(u,l+1)))break;s(a,m(t.slice(i+1,f))),a=!1,r=(l=f)+1}else a=t.slice(r,l),r=l+1,i='"'===t.charAt(r)||"'"===t.charAt(r)?r:function(t,e){for(;et.charCodeAt(r)?" ":t.charAt(r);return m(e)}(r.replace(c,'"').replace(a,(function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))})).replace(s,":").replace(l," ")),"href"===e||"src"===e){if("#"===(r=m(r)))return"#";if("http://"!==r.substr(0,7)&&"https://"!==r.substr(0,8)&&"mailto:"!==r.substr(0,7)&&"tel:"!==r.substr(0,4)&&"data:image/"!==r.substr(0,11)&&"ftp://"!==r.substr(0,6)&&"./"!==r.substr(0,2)&&"../"!==r.substr(0,3)&&"#"!==r[0]&&"/"!==r[0])return""}else if("background"===e){if(u.lastIndex=0,u.test(r))return""}else if("style"===e&&(g.lastIndex=0,g.test(r)||(f.lastIndex=0,f.test(r)&&(u.lastIndex=0,u.test(r)))))return"";return p(r.replace(h,"""))}var R=function(t){return"string"==typeof t?t.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},T=function(){function t(t){var e=function(t){var e={};for(var r in t)e[r]=t[r];return e}(t||{});e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=function(){return""}),e.whiteList={},e.onTag=function(){},e.onTagAttr=function(){},e.onIgnoreTag=function(){},e.onIgnoreTagAttr=function(){},e.safeAttrValue=j,e.escapeHtml=p,this.options=Object.assign(e,t)}return t.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e,r,n,i,o,a=this.options,c=a.whiteList,s=a.onTag,l=a.onIgnoreTag,u=a.onTagAttr,f=a.onIgnoreTagAttr,g=a.safeAttrValue,h=a.escapeHtml;a.stripBlankChar&&(t=t.split("").filter((function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)})).join("")),a.allowCommentTag||(t=function(t){for(var e="",r=0;r");var p=function(t){var e=k(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var r="/"===(t=m(t.slice(e+1,-1)))[t.length-1];return r&&(t=m(t.slice(0,-1))),{html:t,closing:r}}(n),v=c[r],b=L(p.html,(function(t,e){var n=-1!==d(v,t),i=u(r,t,e,n);return null==i?n?(e=g(r,t,e,null))?"".concat(t,'="').concat(e,'"'):t:null==(i=f(r,t,e,n))?void 0:i:i}));return n="<".concat(r),b&&(n+=" ".concat(b)),p.closing&&(n+=" /"),n+">"}return null==(a=l(r,n,o))?h(n):a}),h);return p&&(b=p.remove(b)),b},t}(),I=!0,O=function(t){return t&&t.Math==Math&&t},J=O("object"==typeof globalThis&&globalThis)||O("object"==typeof window&&window)||O("object"==typeof self&&self)||O("object"==typeof global&&global)||Function("return this")();try{!0!==(I=!!(I=String(I)).startsWith("<%=")||JSON.parse(I))&&"true"!==I||(J=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")())}catch(t){console.log(t)}var P=new(function(){function t(){var t=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.isSetedConfig=!1,this.getSlardarBid=function(){var e,r,n="pokeball_shop";if(!y(n,"bid"))return n;if(t.config&&t.config.bid)return t.config.bid;var i=J;if(i&&i._xssBid)return i._xssBid;if(i&&i.slardar&&"function"==typeof i.slardar.config){var o=(i.slardar.config()||{}).bid;if(o)return o}if(i&&i.Slardar&&"function"==typeof i.Slardar.config){var a=(i.Slardar.config()||{}).bid;if(a)return a}return(null==(r=null==(e=null==i?void 0:i.Slardar)?void 0:e._baseParams)?void 0:r.bid)||"argus"},this.getConfigRegion=function(){var e;return y("cn","region")?t.config&&t.config.region?t.config.region:((null==(e=null==J?void 0:J.gfdatav1)?void 0:e.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var e={cn:w("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:w("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:w("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[t.getConfigRegion()];if(e)return e+t.getSlardarBid()}}return t.prototype.setConfig=function(t){this.isSetedConfig||(this.config=t)},t.prototype.upload=function(){var t=this;if(!this.config||!this.config.isCloseSSRReport||(null==J?void 0:J.document)){var e=!1;e=String(!1);try{if((!0===(e=!e.startsWith("<%=")&&JSON.parse(e))||"true"===e)&&!(null==J?void 0:J.document))return}catch(t){console.log(t)}var r=this.gerReportUrl();!this.lock&&r&&0!==this.batchData.length&&(this.lock=!0,setTimeout((function(){var e=t.batchData.slice(0,100);t.batchData=t.batchData.slice(100),J.fetch(r,{method:"post",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}}).catch((function(t){console.warn("xss defense report error",t)})),t.lock=!1,t.upload()}),this.timeout))}},t.prototype.generateKey=function(t){return t.collectKey?[t.collectMode,t.collectKey].join("___"):""},t.prototype.push=function(t){this.batchData.push(t),this.upload()},t.prototype.report=function(t){var e=this.generateKey(t);if(J.fetch&&t.collectKey){var r="SSR";void 0!==J&&void 0!==J.location&&void 0!==J.location.href&&(r=J.location.href),t.documentUrl=r;var n={age:Math.floor(Date.now()),type:"xss",url:r,body:t,"user-agent":""};n.url="".concat(e,"___").concat(t.documentUrl),"SSR"===r&&(n.url="SSR___".concat(n.url),n.body.ssr=!0),this.push(n)}},t}());function W(t,e){return P.setConfig(e),new T(e).process(t)}var X=function(t){return-1===(t=(t=(t=(t=t.replace(/:/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("")?t.trim().toLowerCase():t.trim().replace(/(?:(x)([0-9a-f]+)|([0-9]+));?/gi,(function(t,e,r,n){return String.fromCharCode(e?parseInt(r,16):parseInt(n))})).replace(/(\t|\n|\r)/g,"").toLowerCase()};function M(t,e){if(void 0===t&&(t=""),"string"!=typeof t)return!0;if(t=X(t),y(t,"base64")&&!function(t){if(""===t||""===t.trim())return!0;try{return!y(t,"data:text/html;base64")}catch(t){return!0}}(t))return e&&e("data:text/html;base64"),!1;var r=["expression(","behavior:","view-source:"];if(b(r,(function(e){return-1!==t.indexOf(e)})))return v(r,(function(r){-1!==t.indexOf(r)&&e&&e(r)})),!1;var n=["data:application","data:javascript","data:text/html","data:texthtml"];if(b(n,(function(e){return-1!==t.indexOf(e)})))return v(n,(function(r){-1!==t.indexOf(r)&&e&&e(r)})),!1;if(t.indexOf("javascript:")>0)return e&&e("javascript:"),!1;if(/^javascript:/i.test(t)){var i=t.slice(11).replace(/\s/g,"").trim();return!!b(["void","void(0)","void0","false","undefined",";"],(function(t){return t===i}))||(e&&e("javascript:"),!1)}return!0}var Y=function(t,e){var r,n=!1;if(n=String(!1),"string"!=typeof t||"NaN"!==(r=Number(-1)).toString()&&-1!==r&&t.length>=r||M(t,e))return t;try{if(!0===(n=!n.startsWith("<%=")&&JSON.parse(n))||"true"===n){var i=new URL(t);return i.origin+i.pathname}}catch(t){return console.log(t),"#"}return"#"};function E(t,e,n){if(void 0===t&&(t=""),void 0===e&&(e=[]),"string"!=typeof t)return!0;if(!M(t=X(t)))return!1;var i,o={url:(i=t.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:i[1],slash:i[2],host:i[3],port:i[4],path:i[5],query:i[6],hash:i[7]},a=o.scheme,c=o.host;return n?!!n(t):!(!a||!c)&&(!y(["http","https","file"],a)||("object"==typeof window&&window&&(e=r(r([],e,!0),[location.host],!1)),b(e,(function(t){return!!(t instanceof RegExp&&t.test(c))||t===c}))))}var Z=function(t,e){for(var r={},n=0,i=C(t);n");var o=function(t){var e,r=(e=/\s|\n|\t/.exec(t))?e.index:-1;if(-1===r)return{html:"",closing:"/"===t[t.length-2]};var n="/"===(t=t.slice(r+1,-1).trim())[t.length-1];return n&&(t=t.slice(0,-1).trim()),{html:t,closing:n}}(n),a=L(o.html,(function(t,e){var n,i,o=0;if(z.blackList[r]&&y(z.blackList[r],t)&&(V.collect.blackList[r]=V.collect.blackList[r]||[],V.collect.blackList[r].push(t),o++),z.blackAttrRegExps.length&&z.blackAttrRegExps.some((function(e){return e.test(t)}))&&v(z.blackAttrRegExps,(function(e){e.test(t)&&(V.collect.blackAttrRegExps.push("".concat(e.toString(),"->").concat(t)),o++)})),z.blackAttrs.length&&y(z.blackAttrs,t)&&(z.blackAttrs.push(t),o++),!o){if(Array.isArray(z.specialContentClosure)&&"string"==typeof e&&z.specialContentClosure.find((function(t){return e.includes("".concat(t,">"))}))){null==(n=V.collect)||n.filterAttrs.push(t);var a="#";return e?"".concat(t,"='").concat(a,"'"):t}return z.filterList&&z.filterList[r]&&y(z.filterList[r],t)?((a=Y(e,(function(t){var e;null==(e=V.collect)||e.filterProtocol.push(t)})))!==e&&(V.collect.filterList[r]=V.collect.filterList[r]||[],V.collect.filterList[r].push(t)),e?"".concat(t,"='").concat(a,"'"):t):z.filterAttrs&&y(z.filterAttrs,t)?((a=Y(e,(function(t){var e;null==(e=V.collect)||e.filterProtocol.push(t)})))!==e&&(null==(i=V.collect)||i.filterAttrs.push(t)),e?"".concat(t,"='").concat(a,"'"):t):e?"".concat(t,"='").concat(e,"'"):t}}));return n="<".concat(r),a&&(n+=" ".concat(a)),o.closing&&(n+=" /"),n+">"}),p);null==(r=V.collect)||r.blackTags.push(t)}},D=function(t){var e=t.reportOnly,r=void 0===e||e,n=t.block;return r&&"all"===r?"report":("string"==typeof r&&("true"===r&&(r=!0),"false"===r&&(r=!1)),n?"enforce":r?"report":"enforce")},G=function(t){return function(r,n,i){if(!r||"string"!=typeof r)return r;var o=n;t===W&&(o=V).initCollect();var a=t(r,o);if(R(a)===R(r))return r;if(!i)return a;var c=i.logType,s=D(i),l=o.removeCollect();return P.report(e(e({type:c,disposition:s},l),{sourceText:_(r.replace(/'/g,'"')),filterText:_(a.replace(/'/g,'"'))})),"enforce"===s?a:r}},U=G((function(t,e){return void 0===e&&(e={}),e&&e.whiteList||(e.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new T(e).process(t)})),F=G(W),K=function(t,e,r){var n=[],i=Y(t,(function(t){n.push(t)}));if(i===t)return t;n=S(x(n));var o=e||r||{};if(!o)return i;var a=o.logType,c=D(r);return P.report({type:a,disposition:c,collectKey:n.join("___"),collectData:JSON.stringify(n),collectMode:"black",sourceText:_(t),filterText:_(i)}),"enforce"===c?i:t},q=J._xssProject||{},Q=J.xssNamespace||{},$="3.1.4",tt={FilterXSS:T,version:$,webpackPluginVersion:"3.1.9",reportOnly:"false",filterXSS:U,_filterXSS:F,filterUrl:K,BlackConfig:V,project:q,setProjectName:function(t){q[t]=this,J._xssProjectName=t}};Q[3102]=tt,J.xssNamespace=Q,J.Math&&!J.Math.xssNamespace&&(J.Math.xssNamespace=Q),q[$]=tt,J.globalThis=J,J.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:tt},J.xss=tt,J.isSafeUrl=E,J.isSafeDomain=E,J.isSafeProtocol=M,J._xssProject=q,J._xssProjectName&&(q[J._xssProjectName]=tt);var et=tt.setProjectName.bind(tt);t.BlackConfig=V,t.FilterXSS=T,t._filterXSS=F,t.filterUrl=K,t.filterXSS=U,t.isSafeDomain=E,t.isSafeProtocol=M,t.isSafeUrl=E,t.project=q,t.setProjectName=et,t.setXssNamespace=function(t){var e=t.appId,r=t.bid,n=t.region,i=t.isCloseSSRReport;Q[e]=tt,V.bid=r,V.region=n,V.enabled=!0,V.isCloseSSRReport=i},t.xssNamespace=Q,Object.defineProperty(t,"__esModule",{value:!0})})),function(){var t={57:function(){(t||(t={})).PIACallbackStatus={Success:1,Failed:0,Unauthorized:-1,Unregistered:-2,SETTING_DISABLE:-6},(e||(e={})).CallbackStatus=t.PIACallbackStatus,(r||(r={})).Type={Callback:"callback",Invocation:"invocation"};var t,e,r,n=function(){function t(){this.callbacks=[],this.currentId=1}return t.prototype.getCallbackId=function(){return this.currentId++},t.prototype.register=function(t,e,r){void 0===r&&(r=!1);var n=this.getCallbackId();return this.callbacks.push({id:n,func:e,once:r,name:t}),n},t.prototype.unregister=function(t){this.callbacks=this.callbacks.filter((function(e){return e.id!==t}))},t.prototype.invokeByCallbackId=function(t,e){var r=this;this.callbacks.some((function(n,i){return n.id===t&&(r.invokeCallback(n,e,i),!0)}))},t.prototype.invokeByName=function(t,e){var r=this;this.callbacks.forEach((function(n,i){n.name===t&&r.invokeCallback(n,e,i)}))},t.prototype.invokeCallback=function(t,e,r){t.func(e),t.once&&this.callbacks.splice(r,1)},t}(),i=function(){function t(t,i){var o=this;this.port=t,this.isNativeWorker=i,this.callbackRegistry=new n,this.port.onmessage=function(t){var n="string"==typeof t?JSON.parse(t):t;if(n.type===r.Type.Callback){var i={code:Number(n.status)};n.data&&(i.data=n.data),n.err_msg&&(i.error=n.err_msg),o.callbackRegistry.invokeByCallbackId(n.id,i)}else if(n.type===r.Type.Invocation){var a=n.data;o.callbackRegistry.invokeByName(n.name,{code:e.CallbackStatus.Success,data:a})}},this.port.postMessage("__port_init_next__")}return t.prototype.call=function(t,e,n,i){void 0===i&&(i={});var o,a=n?this.callbackRegistry.register(t,n,!0):0,c=null!=(o=i.sdkVersion)?o:"0",s={type:r.Type.Invocation,id:a,data:e,name:t,version:c};this.port.postMessage(this.isNativeWorker?s:JSON.stringify(s))},t.prototype.on=function(t,e,r){return String(this.callbackRegistry.register(t,e,r))},t}();function o(){var t,e=Function("return this;")();if(e.pia_bridge){var r=(void 0===(t=e)&&(t=window),t.__PIA__||function(t,e){if(void 0===e&&(e=!1),t.__PIA__)throw Error("Multiple runtime detected, which would cause data confusion.");var r={register:function(t,n,i){Object.defineProperty(r,t,{writable:i||e,value:n})}};return t.__PIA__=r,r}(e));if(r.bridge)return r.bridge;var n=new i(e.pia_bridge,"undefined"==typeof window);return r.register("bridge",n),n}console.error("Can not get PIA bridge outside PIA SDK.")}window.__PIA_MONITOR__={_mark:function(t,e){},_setAttribute:function(t,e){},_setMetrics:function(t,e){var r=o();r&&r.call("pia.internal.tracing.set",{events:[{id:0,name:t,ts:e}]},(function(t){}))},_setMetricsList:function(t,e){var r=o();if(r){var n=t.map((function(t){return{id:0,name:t.metric,ts:t.duration}}));r.call("pia.internal.tracing.set",{events:n},(function(t){}))}}}}},e={};!function(){"use strict";!function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}(57)}()}()