bet5688i.com
Open in
urlscan Pro
2606:4700:4400::ac40:93f8
Public Scan
Submitted URL: http://bet5688i.com/assets/63203.dd6b8b8bf31d34b18b0b.js
Effective URL: https://bet5688i.com/assets/63203.dd6b8b8bf31d34b18b0b.js
Submission: On November 18 via api from US — Scanned from DE
Effective URL: https://bet5688i.com/assets/63203.dd6b8b8bf31d34b18b0b.js
Submission: On November 18 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
"use strict";(self.webpackChunkmy_vue_app=self.webpackChunkmy_vue_app||[]).push([[63203],{63203:function(t,e,n){n.r(e),n.d(e,{default:function(){return H}});var i,o,a,r,s,p,c,l,u,d=n(55433),h=n(12040),g=(n(82801),n(38821)),y=n(6860),f=n(28636),m=n(3208),w=n(75990),C=n(5954),P=n(54328),S=n(78910),v=n(451),A=n(63312),b=n(91475),L=n(95059),I=n(21615),B=n(56822),k=n(61082);const D=(0,S.VK)(),O=(0,C.Q)().isH5Pwa();let H=(i=(0,g.wA)({name:"SaveShortcut",components:{SaveShortcutLayout1:B.Z.createAsyncComponent({component:()=>n.e(18897).then(n.bind(n,18897))}),SaveShortcutLayout2:B.Z.createAsyncComponent({component:()=>n.e(39802).then(n.bind(n,39802))}),SaveShortcutLayout3:B.Z.createAsyncComponent({component:()=>n.e(61794).then(n.bind(n,61794))}),SaveShortcutLayout4:B.Z.createAsyncComponent({component:()=>n.e(60522).then(n.bind(n,60522))})}}),o=(0,g.RL)("userkey",{immediate:!0}),a=(0,g.RL)("titleFromPWA"),r=(0,g.RL)("isHideDomain"),s=(0,g.RL)("isCreateAppP2a"),p=(0,g.RL)("isInitializationCompleted",{immediate:!0}),c=(0,g.RL)("isLogin",{immediate:!0}),i((u=class t extends g.XY{constructor(...t){super(...t),(0,d.Z)(this,"mainStore",(0,b.h)())}get isInitializationCompleted(){return(0,b.h)().isInitializationCompleted}get isLogin(){return(0,b.h)().hasLogined}get userkey(){return(0,b.h)()?.userInfos?.userkey}get isApple(){return(0,k.Z)().apple.device}upadtePwaConfigByStartUrl(){this.userkey&&(this.isApple||t.initPwaConfig())}get titleFromPWA(){return(0,A.h)().installationHintLanguage||(0,b.h)()?.brandLogoInfos?.installationHint}upadtePwaConfig(){this.isApple||this.titleFromPWA&&t.initPwaConfig()}static get isHideDomain(){return(0,v.e)()?.channelInfo?.isHideDomain??1}get isHideDomain(){return(0,v.e)()?.channelInfo?.isHideDomain??1}get isCreateAppP2a(){return!!(0,P.B)().isCreateAppP2a||!0}static get displayMode(){const{isCreateAppP2a:t}=(0,P.B)();return t?this.isHideDomain?y.iM:y.h7:y.Hl}upadtePwaConfigByDisplay(){this.isApple||t.initPwaConfig()}static get isChannel(){const{channelInfo:t}=(0,v.e)();return!!t}static flattenAppNameLanguage(t){return t.reduce(((t,e)=>{const{key:n,value:i}=e,o=n.split(",");return 1===o.length?t=t.concat({key:n,value:i}):o.forEach((e=>{t=t.concat({key:e,value:i})})),t}),[])}static get titleByPwa(){if(this.isChannel){const{channelGlobalConfig:t,language:e}=(0,b.h)();if(!t)return"";const{appNameLanguage:n}=t;if(!n)return"";const i=this.flattenAppNameLanguage(n)?.find((t=>e.includes(t.key)));return i?i.value:""}{const{siteInfos:t}=(0,b.h)();return t?.title??t?.siteName??""}}static get srcByPwa(){if(this.isChannel){const{channelGlobalConfig:t}=(0,b.h)();return t?t?.appIcon??"":""}{const{shortcutsLogoByEnv:t}=(0,A.h)(),{brandLogoInfos:e}=(0,b.h)();return t||(e?.appIconBigPath??"")}}static get isP2aChannel(){const{channelInfo:t}=(0,v.e)();if(!t)return!1;const{viewDownload:e,downloadDisplay:n}=t,{Open:i}=f.R$;return n===i&&e===f.GN.H5}static get isNotApple(){return!(0,k.Z)().apple.device}static initPwaConfig(){if(O)return;const t=this.displayMode===y.iM;let e=`${window.location.origin}/?gameCategoryId=0&fixed.isSaveShort=true&fixed.isHideDomain=${Number(t)}`;e=(0,w.Ly)(e);const{tokenInfos:n}=(0,L.u)();n&&(e=(0,w.ce)(e,"_ti",window.btoa(JSON.stringify(n))).href);const i={scope:window.location.origin+"/",$schema:"https://json.schemastore.org/web-manifest-combined.json",name:this.titleByPwa,short_name:this.titleByPwa,description:"Application description",icons:[{src:this.srcByPwa,sizes:"192x192",type:"image/png"}],start_url:e,display:this.displayMode,protocol_handlers:{protocol:"web+pwapcom",url:`${e}&pwaprotocolredirect=%s`}},o=JSON.stringify(i),a="data:text/json;charset=utf-8,"+encodeURIComponent(o);document.querySelector("#pwa-manifest")?.setAttribute("href",a),window.addEventListener("beforeinstallprompt",(t=>{t.preventDefault();const{setInstallPrompt:e}=(0,P.B)();e(t)}))}static get canOpenSaveShortCutBySite(){const{bootInstallationSwitch:t}=(0,A.h)();return!(0,S.hi)()&&!O&&t}created(){this.isApple||t.initPwaConfig()}async getRewardsFromSaveWPA(){if(!this.isInitializationCompleted||!this.isLogin)return;if(I.cY.package.isApp)return;if((0,S.J5)()||D){const t=await(0,m.y0)();await(0,m.gk)({address:t,actionType:2})}}render(){const e=arguments[0];if(I.cY.speedPackageConfig?.isSpeedPackae)return e("div");if(I.cY.isWebClip)return e("div");const{shortcutsStyleByEnv:n}=(0,A.h)(),i="save-shortcut-layout"+n,o=(0,A.h)().isForceInstallation;return t.canOpenSaveShortCutBySite?e(i,{attrs:{isForce:o}}):e("template")}},(0,h.Z)(u.prototype,"upadtePwaConfigByStartUrl",[o],Object.getOwnPropertyDescriptor(u.prototype,"upadtePwaConfigByStartUrl"),u.prototype),(0,h.Z)(u.prototype,"upadtePwaConfig",[a],Object.getOwnPropertyDescriptor(u.prototype,"upadtePwaConfig"),u.prototype),(0,h.Z)(u.prototype,"upadtePwaConfigByDisplay",[r,s],Object.getOwnPropertyDescriptor(u.prototype,"upadtePwaConfigByDisplay"),u.prototype),(0,h.Z)(u.prototype,"getRewardsFromSaveWPA",[p,c],Object.getOwnPropertyDescriptor(u.prototype,"getRewardsFromSaveWPA"),u.prototype),l=u))||l)}}]);