cms-chenhj-ui 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cms-chenhj-ui.common.js
CHANGED
|
@@ -10034,7 +10034,7 @@ const i18n = new vue_i18n_esm({
|
|
|
10034
10034
|
const service = axios_default().create({
|
|
10035
10035
|
baseURL: "",
|
|
10036
10036
|
// /apitest
|
|
10037
|
-
timeout:
|
|
10037
|
+
timeout: 60000,
|
|
10038
10038
|
// 请求超时時間
|
|
10039
10039
|
withCredentials: true
|
|
10040
10040
|
// async: false,
|
package/cms-chenhj-ui.umd.js
CHANGED
|
@@ -62304,7 +62304,7 @@ const i18n = new vue_i18n_esm({
|
|
|
62304
62304
|
const service = axios_default().create({
|
|
62305
62305
|
baseURL: "",
|
|
62306
62306
|
// /apitest
|
|
62307
|
-
timeout:
|
|
62307
|
+
timeout: 60000,
|
|
62308
62308
|
// 请求超时時間
|
|
62309
62309
|
withCredentials: true
|
|
62310
62310
|
// async: false,
|
package/cms-chenhj-ui.umd.min.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @copyright Chen, Yi-Cyuan 2014-2017
|
|
9
9
|
* @license MIT
|
|
10
10
|
*/
|
|
11
|
-
function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(t){return new Md5(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var n=OUTPUT_TYPES[t];e[n]=createOutputMethod(n)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"===typeof e)return crypto.createHash("md5").update(e,"utf8").digest("hex");if(null===e||void 0===e)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw ERROR;if(null===e)throw ERROR;if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw ERROR;t=!0}var i,a,r=0,o=e.length,s=this.blocks,l=this.buffer8;while(r<o){if(this.hashed&&(this.hashed=!1,s[0]=s[16],s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)if(ARRAY_BUFFER)for(a=this.start;r<o&&a<64;++r)l[a++]=e[r];else for(a=this.start;r<o&&a<64;++r)s[a>>2]|=e[r]<<SHIFT[3&a++];else if(ARRAY_BUFFER)for(a=this.start;r<o&&a<64;++r)i=e.charCodeAt(r),i<128?l[a++]=i:i<2048?(l[a++]=192|i>>6,l[a++]=128|63&i):i<55296||i>=57344?(l[a++]=224|i>>12,l[a++]=128|i>>6&63,l[a++]=128|63&i):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++r)),l[a++]=240|i>>18,l[a++]=128|i>>12&63,l[a++]=128|i>>6&63,l[a++]=128|63&i);else for(a=this.start;r<o&&a<64;++r)i=e.charCodeAt(r),i<128?s[a>>2]|=i<<SHIFT[3&a++]:i<2048?(s[a>>2]|=(192|i>>6)<<SHIFT[3&a++],s[a>>2]|=(128|63&i)<<SHIFT[3&a++]):i<55296||i>=57344?(s[a>>2]|=(224|i>>12)<<SHIFT[3&a++],s[a>>2]|=(128|i>>6&63)<<SHIFT[3&a++],s[a>>2]|=(128|63&i)<<SHIFT[3&a++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++r)),s[a>>2]|=(240|i>>18)<<SHIFT[3&a++],s[a>>2]|=(128|i>>12&63)<<SHIFT[3&a++],s[a>>2]|=(128|i>>6&63)<<SHIFT[3&a++],s[a>>2]|=(128|63&i)<<SHIFT[3&a++]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=EXTRA[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var e,t,n,i,a,r,o=this.blocks;this.first?(e=o[0]-680876937,e=(e<<7|e>>>25)-271733879|0,i=(-1732584194^2004318071&e)+o[1]-117830708,i=(i<<12|i>>>20)+e|0,n=(-271733879^i&(-271733879^e))+o[2]-1126478375,n=(n<<17|n>>>15)+i|0,t=(e^n&(i^e))+o[3]-1316259209,t=(t<<22|t>>>10)+n|0):(e=this.h0,t=this.h1,n=this.h2,i=this.h3,e+=(i^t&(n^i))+o[0]-680876936,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[1]-389564586,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[2]+606105819,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[3]-1044525330,t=(t<<22|t>>>10)+n|0),e+=(i^t&(n^i))+o[4]-176418897,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[5]+1200080426,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[6]-1473231341,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[7]-45705983,t=(t<<22|t>>>10)+n|0,e+=(i^t&(n^i))+o[8]+1770035416,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[9]-1958414417,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[10]-42063,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[11]-1990404162,t=(t<<22|t>>>10)+n|0,e+=(i^t&(n^i))+o[12]+1804603682,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[13]-40341101,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[14]-1502002290,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[15]+1236535329,t=(t<<22|t>>>10)+n|0,e+=(n^i&(t^n))+o[1]-165796510,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[6]-1069501632,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[11]+643717713,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[0]-373897302,t=(t<<20|t>>>12)+n|0,e+=(n^i&(t^n))+o[5]-701558691,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[10]+38016083,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[15]-660478335,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[4]-405537848,t=(t<<20|t>>>12)+n|0,e+=(n^i&(t^n))+o[9]+568446438,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[14]-1019803690,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[3]-187363961,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[8]+1163531501,t=(t<<20|t>>>12)+n|0,e+=(n^i&(t^n))+o[13]-1444681467,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[2]-51403784,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[7]+1735328473,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[12]-1926607734,t=(t<<20|t>>>12)+n|0,a=t^n,e+=(a^i)+o[5]-378558,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[8]-2022574463,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[11]+1839030562,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[14]-35309556,t=(t<<23|t>>>9)+n|0,a=t^n,e+=(a^i)+o[1]-1530992060,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[4]+1272893353,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[7]-155497632,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[10]-1094730640,t=(t<<23|t>>>9)+n|0,a=t^n,e+=(a^i)+o[13]+681279174,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[0]-358537222,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[3]-722521979,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[6]+76029189,t=(t<<23|t>>>9)+n|0,a=t^n,e+=(a^i)+o[9]-640364487,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[12]-421815835,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[15]+530742520,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[2]-995338651,t=(t<<23|t>>>9)+n|0,e+=(n^(t|~i))+o[0]-198630844,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[7]+1126891415,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[14]-1416354905,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[5]-57434055,t=(t<<21|t>>>11)+n|0,e+=(n^(t|~i))+o[12]+1700485571,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[3]-1894986606,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[10]-1051523,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[1]-2054922799,t=(t<<21|t>>>11)+n|0,e+=(n^(t|~i))+o[8]+1873313359,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[15]-30611744,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[6]-1560198380,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[13]+1309151649,t=(t<<21|t>>>11)+n|0,e+=(n^(t|~i))+o[4]-145523070,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[11]-1120210379,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[2]+718787259,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[9]-343485551,t=(t<<21|t>>>11)+n|0,this.first?(this.h0=e+1732584193|0,this.h1=t-271733879|0,this.h2=n-1732584194|0,this.h3=i+271733878|0,this.first=!1):(this.h0=this.h0+e|0,this.h1=this.h1+t|0,this.h2=this.h2+n|0,this.h3=this.h3+i|0)},Md5.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3;return HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3;return[255&e,e>>8&255,e>>16&255,e>>24&255,255&t,t>>8&255,t>>16&255,t>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var e,t,n,i="",a=this.array(),r=0;r<15;)e=a[r++],t=a[r++],n=a[r++],i+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[63&(e<<4|t>>>4)]+BASE64_ENCODE_CHAR[63&(t<<2|n>>>6)]+BASE64_ENCODE_CHAR[63&n];return e=a[r],i+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[e<<4&63]+"==",i};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()},6909:function(e,t,n){"use strict";var i=n(7223);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=i.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},6955:function(e,t,n){"use strict";var i=n(2140),a=n(4901),r=n(2195),o=n(8227),s=o("toStringTag"),l=Object,c="Arguments"===r(function(){return arguments}()),d=function(e,t){try{return e[t]}catch(n){}};e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=d(t=l(e),s))?n:c?r(t):"Object"===(i=r(t))&&a(t.callee)?"Arguments":i}},6969:function(e,t,n){"use strict";var i=n(2777),a=n(757);e.exports=function(e){var t=i(e,"string");return a(t)?t:t+""}},6979:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData,getLangChange:e.getLangChange}},"BaseComp",e.$attrs,!1),[t("div",{staticClass:"sp-gather wow animate__fadeInUp"},[e._l(e.classifyItemTab,(function(i,a){return t("div",{directives:[{name:"show",rawName:"v-show",value:e.checkHasDispayType(i),expression:"checkHasDispayType(item)"}],key:a,staticClass:"classify-gather",attrs:{id:i.documentId}},[t("div",{class:["classify-gather_header","classify-topbdr","classify-bottombdr",e.expend==i.shopCategoryId?"unfold":""]},[t("section",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"classify-gather_headerbox",attrs:{id:"btn_servicePlan_00"+a},on:{click:function(t){return e.expendCategory(i)}}},[t("CmhkImg",{tag:"component",staticClass:"classify-gather_port",attrs:{src:i.maxPicId,alt:i.shopCategoryName}}),t("div",{staticClass:"classify-gather_label"},[t("p",{staticClass:"main-text"},[e._v(e._s(i.shopCategoryName))])]),[t("img",{directives:[{name:"show",rawName:"v-show",value:e.expend==i.shopCategoryId,expression:"expend == item.shopCategoryId"}],staticClass:"fold-button",attrs:{src:n(8918),alt:e.$t("imgAlt.MinusButton"),id:"img_servicePlan_00"+a},on:{click:function(t){t.stopPropagation(),e.expend=""}}}),t("img",{directives:[{name:"show",rawName:"v-show",value:e.expend!==i.shopCategoryId,expression:"expend !== item.shopCategoryId"}],staticClass:"fold-button",attrs:{src:n(5265)(`./gather-fold${i.colorStyleType?i.colorStyleType:"01"}.png`),alt:e.$t("imgAlt.AddButton"),id:"img_servicePlan_10"+a},on:{click:function(t){return t.stopPropagation(),e.openThirdCategory(i)}}})]],2)])]),e.expend==i.shopCategoryId?t("div",{staticClass:"classify-gather_content"},[e.thirdCateGoryList.length>0?t("div",{staticClass:"can-choose_class"},[t("section",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"classify-lgtab"},e._l(e.thirdCateGoryList,(function(n,i){return t("div",{key:`thirdCate${i}`,staticClass:"classify-lgtab_item",class:[n.shopCategoryId==e.selectThirdCategory?"active":""],attrs:{id:"btn_servicePlan_10"+i},on:{click:function(t){return e.clickThirdCategory(n)}}},[e._v(" "+e._s(n.shopCategoryName)+" ")])})),0)])]):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:i.recommendation,expression:"item.recommendation"}],staticClass:"can-choose_tips"},[t("section",{staticClass:"cmhk-home_main"},[t("p",{staticClass:"can-choose_tips_label"},[t("i",{staticClass:"el-icon-warning-outline"}),t("span",[e._v(e._s(i.recommendation))])])])]),t("div",{staticClass:"can-choose_moreclass"},[t("section",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"flex-box align-c classify-smbox"},[e._l(e.paramList,(function(n,i){return t("div",{directives:[{name:"show",rawName:"v-show",value:n.paramValueList.length>2,expression:"paramitem.paramValueList.length > 2"}],key:`param${i}`,staticClass:"classify-smtab mgr-40"},[t("p",[e._v(e._s(e.$t("servicePlan.choose"))+e._s(n.paramName))]),t("div",{staticClass:"classify-smtab_wapper"},e._l(n.paramValueList,(function(i,a){return t("div",{key:`paramValue${a}`,staticClass:"classify-smtab_item",class:[i.select?"active":""],attrs:{id:"btn_servicePlan_20"+a},on:{click:function(t){return e.clickParam(n.paramValueList,i)}}},[e._v(" "+e._s(i.paramValue)+" ")])})),0)])})),e._l(e.specList,(function(n,i){return n.specDictList.length>2?t("div",{key:`spec${i}`,staticClass:"classify-smtab"},[t("p",[e._v(e._s(e.$t("servicePlan.choose"))+e._s(n.specName))]),t("div",{staticClass:"classify-smtab_wapper"},e._l(n.specDictList,(function(i,a){return t("div",{directives:[{name:"show",rawName:"v-show",value:n.specDictList.length>0,expression:"itemspec.specDictList.length > 0"}],key:`specDict${a}`,staticClass:"classify-smtab_item",class:[i.select?"active":""],attrs:{id:"btn_servicePlan_30"+a},on:{click:function(t){return e.clickSpec(n.specDictList,i)}}},[e._v(" "+e._s(i.specDictValue)+" ")])})),0)]):e._e()}))],2)])]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"can-choose_result"},[t("section",{staticClass:"cmhk-home_main"},[t("p",{staticClass:"result-number"},[t("span",[e._v(e._s(e.$t("servicePlan.allPlan1")))]),t("span",{staticClass:"result-val"},[e._v(e._s(e.totalCount))]),t("span",[e._v(e._s(e.$t("servicePlan.allPlan2")))])]),t("div",{staticClass:"flex-wapper sper-32 layout-allwidth justify-start mobile-change layout-pc",staticStyle:{position:"relative"}},e._l(e.gbList,(function(n,i){var a;return t("div",{key:`gb${i}`,staticClass:"flex-wapper_item"},[t("div",{staticClass:"serviceplan-result",class:["en-US"==e.$i18n.locale?"lang-en":""]},[e._l(null===n||void 0===n?void 0:n.malltCommodityTags,(function(e,n){return t("CmhkImg",{key:e.tagId,tag:"component",staticClass:"serviceplan-result_lttag_img",attrs:{src:e.pictureUrl,alt:""}})})),t("div",{staticClass:"serviceplan-result_header",class:e.getColor(n.colorStyleType)},[t("p",{staticClass:"serviceplan-result_maintext"},[e._v(" "+e._s(n.commodityTitle)+" ")])]),t("div",{staticClass:"flex-wapper_imagebox"},[t("CmhkImg",{tag:"component",staticClass:"card-spimage",attrs:{src:n.maxPicId,alt:n.commodityTitle}})],1),t("div",{staticClass:"content-wapper"},[t("div",{staticClass:"index-wapper"},[t("div",{staticClass:"index-wapper_item"},[t("p",{directives:[{name:"show",rawName:"v-show",value:1==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 1"}]},[e._v(" "+e._s(e.$t("servicePlan.AvgMonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:2==n.servicePlanFeeType||!n.servicePlanFeeType,expression:"\n gbitem.servicePlanFeeType == 2 ||\n !gbitem.servicePlanFeeType\n "}]},[e._v(" "+e._s(e.$t("servicePlan.MonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:3==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 3"}]},[e._v(" "+e._s(e.$t("servicePlan.FullPeriodFee"))+" ")]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"price spc-font mini"},[e._v("HK$")]),t("span",{staticClass:"price spc-font"},[e._v(e._s(e.dealMount(n.averageMonthlyFee)))]),t("span",{directives:[{name:"show",rawName:"v-show",value:"Y"==n.isShowStarting,expression:"gbitem.isShowStarting == 'Y'"}],staticClass:"subtext spc-font"},[e._v(e._s(e.$t("servicePlan.content19")))])])]),t("div",{staticClass:"index-wapper_item"},[t("p",[e._v(e._s(e.$t("servicePlan.content14")))]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"bk-data spc-font"},[e._v(e._s(e.getLocalGb(n.malltCommodityParam)))])])]),t("div",{staticClass:"index-wapper_item fixed-width"},[t("p",[e._v(e._s(e.$t("servicePlan.content15")))]),t("div",{staticClass:"index-wapper_itemval_box"},e._l(null===(a=n.malltCommoditySpec[0])||void 0===a?void 0:a.specDictList,(function(i,a){var r;return t("div",{key:`specDic${a}`,staticClass:"index-wapper_itemval align-c"},[t("span",{staticClass:"wapper-button",class:[(null===(r=n.malltCommoditySpec[0])||void 0===r?void 0:r.specDictList.length)<3?"wapper-button_long":""]},[e._v(e._s(e._f("replaceMonth")(i.specDictName)))])])})),0)])]),t("div",{staticClass:"line-wapper"},[t("p",{staticClass:"line-favour_p"},[e._v(" "+e._s(e.$t("servicePlan.content16"))+" ")]),t("div",{staticClass:"line-decor"})]),t("div",{staticClass:"favour-wapper",class:e.favoourFlag?"":"wapper-down"},e._l(n.youhuiList,(function(i,a){return(e.favoourFlag?a<3:a<n.youhuiList.length)?t("div",{key:`youhui${a}`,staticClass:"favour-wapper_item",class:[""==i.groupName?"":"autoHeight"]},[t("CmhkImg",{tag:"component",staticClass:"star-decor",attrs:{src:i.preferentialDetails[0]?i.preferentialDetails[0].preImgPc:"",alt:"图标"}}),""==i.groupName?e._l(i.preferentialDetails,(function(n,i){return t("span",[e._v(e._s(n.preDesc))])})):[t("span",{staticStyle:{overflow:"visible","-webkit-line-clamp":"unset"}},[e._v(e._s(i.groupName)+" "),e._l(i.preferentialDetails,(function(t,n){return[e._v(e._s(t.preDesc)+e._s(n+1<i.preferentialDetails.length?"/":""))]}))],2)]],2):e._e()})),0),t("div",{staticClass:"see-details_wapper"},[n.youhuiList&&n.youhuiList.length>3?t("p",{staticClass:"favour-wapper-down",class:e.favoourFlag?"":"wapper-down",on:{click:e.favoourClick}},[e._v(" "+e._s(e.favoourText)),t("i",{staticClass:"el-icon-arrow-down"})]):e._e(),t("button",{staticClass:"card-btbtn have-arrow mgt-16",attrs:{id:"btn_servicePlan_40"+i},on:{click:function(t){return e.link(n)}}},[t("span",[e._v(e._s(e.$t("servicePlan.content18")))])])])])],2)])})),0),t("div",{staticClass:"plan-card-mobile-swiper layout-mobile",attrs:{id:`plan-card-swiper${e.data.componentId}`}},[t("div",{staticClass:"swiper-wrapper"},e._l(e.gbList,(function(n,i){var a;return t("div",{key:`gb${n.commodityId}`,staticClass:"swiper-slide"},[t("div",{staticClass:"serviceplan-result",class:["en-US"==e.$i18n.locale?"lang-en":""]},[e._l(null===n||void 0===n?void 0:n.malltCommodityTags,(function(e,n){return t("CmhkImg",{key:e.tagId,tag:"component",staticClass:"serviceplan-result_lttag_img",attrs:{src:e.pictureUrl,alt:""}})})),t("div",{staticClass:"serviceplan-result_header",class:e.getColor(n.colorStyleType)},[t("p",{staticClass:"serviceplan-result_maintext"},[e._v(" "+e._s(n.commodityTitle)+" ")])]),t("div",{staticClass:"flex-wapper_imagebox"},[t("CmhkImg",{tag:"component",staticClass:"card-spimage",attrs:{src:n.maxPicId,alt:n.commodityTitle}})],1),t("div",{staticClass:"content-wapper"},[t("div",{staticClass:"index-wapper"},[t("div",{staticClass:"index-wapper_item"},[t("p",{directives:[{name:"show",rawName:"v-show",value:1==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 1"}]},[e._v(" "+e._s(e.$t("servicePlan.AvgMonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:2==n.servicePlanFeeType||!n.servicePlanFeeType,expression:"\n gbitem.servicePlanFeeType == 2 ||\n !gbitem.servicePlanFeeType\n "}]},[e._v(" "+e._s(e.$t("servicePlan.MonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:3==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 3"}]},[e._v(" "+e._s(e.$t("servicePlan.FullPeriodFee"))+" ")]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"price spc-font mini"},[e._v("HK$")]),t("span",{staticClass:"price spc-font"},[e._v(e._s(e.dealMount(n.averageMonthlyFee)))]),t("span",{directives:[{name:"show",rawName:"v-show",value:"Y"==n.isShowStarting,expression:"gbitem.isShowStarting == 'Y'"}],staticClass:"subtext spc-font"},[e._v(e._s(e.$t("servicePlan.content19")))])])]),t("div",{staticClass:"index-wapper_item"},[t("p",[e._v(e._s(e.$t("servicePlan.content14")))]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"bk-data spc-font"},[e._v(e._s(e.getLocalGb(n.malltCommodityParam)))])])]),t("div",{staticClass:"index-wapper_item fixed-width"},[t("p",[e._v(e._s(e.$t("servicePlan.content15")))]),t("div",{staticClass:"index-wapper_itemval_box"},e._l(null===(a=n.malltCommoditySpec[0])||void 0===a?void 0:a.specDictList,(function(i,a){var r;return t("div",{key:`specDic${a}`,staticClass:"index-wapper_itemval align-c"},[t("span",{staticClass:"wapper-button",class:[(null===(r=n.malltCommoditySpec[0])||void 0===r?void 0:r.specDictList.length)<3?"wapper-button_long":""]},[e._v(e._s(e._f("replaceMonth")(i.specDictName)))])])})),0)])]),t("div",{staticClass:"line-wapper"},[t("p",{staticClass:"line-favour_p"},[e._v(" "+e._s(e.$t("servicePlan.content16"))+" ")]),t("div",{staticClass:"line-decor"})]),t("div",{staticClass:"favour-wapper",class:e.favoourFlag?"":"wapper-down"},e._l(n.youhuiList,(function(i,a){return(e.favoourFlag?a<3:a<n.youhuiList.length)?t("div",{key:`youhui${a}`,staticClass:"favour-wapper_item",class:[""==i.groupName?"":"autoHeight"]},[t("CmhkImg",{tag:"component",staticClass:"star-decor",attrs:{src:i.preferentialDetails[0]?i.preferentialDetails[0].preImgPc:"",alt:"图标"}}),""==i.groupName?e._l(i.preferentialDetails,(function(n,i){return t("span",[e._v(e._s(n.preDesc))])})):[t("span",{staticStyle:{overflow:"visible","-webkit-line-clamp":"unset"}},[e._v(e._s(i.groupName)+" "),e._l(i.preferentialDetails,(function(t,n){return[e._v(e._s(t.preDesc)+e._s(n+1<i.preferentialDetails.length?"/":""))]}))],2)]],2):e._e()})),0),t("div",{staticClass:"see-details_wapper"},[n.youhuiList&&n.youhuiList.length>3?t("p",{staticClass:"favour-wapper-down",class:e.favoourFlag?"":"wapper-down",on:{click:e.favoourClick}},[e._v(" "+e._s(e.favoourText)),t("i",{staticClass:"el-icon-arrow-down"})]):e._e(),t("button",{staticClass:"card-btbtn have-arrow mgt-16",on:{click:function(t){return e.link(n)}}},[t("span",[e._v(e._s(e.$t("servicePlan.content18")))])])])])],2)])})),0)])])])]):e._e()])})),t("el-skeleton",{staticStyle:{width:"100%"},attrs:{loading:0==e.classifyItemTab.length}},[t("template",{slot:"template"},[t("div",{staticStyle:{display:"flex","align-items":"flex-start",padding:"3rem 1.5rem","margin-left":"2rem"}},[t("el-skeleton-item",{staticStyle:{width:"5.5rem",height:"5.5rem"},attrs:{variant:"rect"}}),t("div",{staticStyle:{"padding-left":"1.875rem",width:"75%","line-height":"2rem"}},[t("el-skeleton-item",{staticStyle:{width:"45%"},attrs:{variant:"h1"}}),t("el-skeleton-item",{attrs:{variant:"p"}}),t("el-skeleton-item",{attrs:{variant:"p"}}),t("el-skeleton-item",{attrs:{variant:"p"}}),t("el-skeleton-item",{staticStyle:{width:"45%"},attrs:{variant:"p"}}),t("span",[e._v("loading···")])],1)],1)])],2),t("com-dialog",{staticClass:"ispc-popup",attrs:{visible:e.tipsDialogVisible,height:"450px",width:"768px","max-width":"768px","max-height":"450px"},on:{"update:visible":function(t){e.tipsDialogVisible=t}}},[t("div",{staticClass:"pcdialog-header"},[t("div",{staticClass:"pcdialog-title"}),t("img",{staticClass:"default-pcdialogclose",attrs:{src:n(550),alt:""},on:{click:e.closeTipsDialog}})]),t("div",{staticClass:"pcdialog-container"},[t("div",{staticClass:"error-dialog_wapper"},[t("div",{staticClass:"error-header"},[t("img",{staticClass:"common-error_image",attrs:{src:n(5564)}})]),t("div",{staticClass:"error-labelbox"},[t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.detailFirst)+" "),"LiveChatLink"==e.errorDetail.clickLink?t("LiveChatLink",{tag:"component",staticClass:"alink"},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]):t("cmhkALabel",{tag:"component",staticClass:"alink",attrs:{href:e.errorDetail.clickLink}},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]),e._v(" "+e._s(e.errorDetail.detailLast)+" ")],1),t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.errorCodeDes)+e._s(e.errorDetail.errorCode)+" ")])])])]),t("div",{staticClass:"pcdialog-footer pcdialog-footer_flex"},[t("button",{staticClass:"primary-btn btn-h_md w420",on:{click:e.closeTipsDialog}},[t("span",[e._v(e._s(e.errorDetail.surebtn))])])])]),t("app-popup",{staticClass:"isapp-popup",attrs:{visible:e.tipsAppupVisible,height:"auto",fillet:!0},on:{"update:visible":function(t){e.tipsAppupVisible=t}}},[t("div",{staticClass:"dialog-header"},[t("div",{staticClass:"dialog-title"}),t("img",{staticClass:"default-dialogclose",attrs:{src:n(550),alt:""},on:{click:e.closeTipsAppup}})]),t("div",{staticClass:"popup-main error-main"},[t("div",{staticClass:"error-dialog_wapper"},[t("div",{staticClass:"error-header"},[t("img",{staticClass:"common-error_image",attrs:{src:n(5564)}})]),t("div",{staticClass:"error-labelbox"},[t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.detailFirst)+" "),"LiveChatLink"==e.errorDetail.clickLink?t("LiveChatLink",{tag:"component",staticClass:"alink"},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]):t("cmhkALabel",{tag:"component",staticClass:"alink",attrs:{href:e.errorDetail.clickLink}},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]),e._v(" "+e._s(e.errorDetail.detailLast)+" ")],1),t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.errorCodeDes)+e._s(e.errorDetail.errorCode)+" ")])])])]),t("div",{staticClass:"popup-footer pcdialog-footer_flex"},[t("button",{staticClass:"primary-btn btn-h_big w40",on:{click:e.closeTipsAppup}},[t("span",[e._v(e._s(e.errorDetail.surebtn))])])])])],2)])},a=[],r=(n(4114),n(8111),n(7588),n(1701),n(8237),n(4872)),o=n.n(r),s=n(9846),l=(n(2773),n(8731)),c=n(392),d=n(7396),u=n(5495);const p=[{name:"999999",message:{detailFirst:"對唔住😢 網站異常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"聯絡客户服務專員協助。",errorCodeDes:"錯誤碼:",errorCode:"999999",surebtn:"確認"},message_zh:{detailFirst:"对不起😢 网站异常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"联络客户服务专员协助。",errorCodeDes:"错误码:",errorCode:"999999",surebtn:"确认"},message_en:{detailFirst:"Sorry😢 The website is abnormal, you can click ",clickHere:" HERE ",clickLink:"LiveChatLink",detailLast:"to contact Live Agent for assistance.",errorCodeDes:"Error code:",errorCode:"999999",surebtn:"confirm"}}],f=[{name:"999999",message:{detailFirst:"對唔住😢 網站異常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"聯絡客户服務專員協助。",errorCodeDes:"錯誤碼:",errorCode:"999999",surebtn:"確認"},message_zh:{detailFirst:"对不起😢 网站异常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"联络客户服务专员协助。",errorCodeDes:"错误码:",errorCode:"999999",surebtn:"确认"},message_en:{detailFirst:"Sorry😢 The website is abnormal, you can click ",clickHere:" HERE ",clickLink:"LiveChatLink",detailLast:"to contact Live Agent for assistance.",errorCodeDes:"Error code:",errorCode:"999999",surebtn:"confirm"}},{name:"120041",message:{detailFirst:"對唔住😢 商品已經不存在,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:" 聯絡客户服務專員協助。",errorCodeDes:"錯誤碼",errorCode:"120041",surebtn:"確認"},message_zh:{detailFirst:"对不起😢 商品已经不存在,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"联络客户服务专员协助。",errorCodeDes:" 错误码",errorCode:"120041",surebtn:"确认"},message_en:{detailFirst:"Sorry😢 The product no longer exists, you can click",clickHere:" HERE ",clickLink:"LiveChatLink",detailLast:" to contact Live Agent for assistance.",errorCodeDes:"Error code",errorCode:"120041",surebtn:"confirm"}}],h=(e,t,n)=>{var i=t.$i18n.locale||"zh-HK";let a=(n||"").replaceAll("-","");var r="";for(let o of e)if(o.name===a){r="zh-HK"===i?o.message:"zh-CN"===i?o.message_zh:o.message_en;break}return r};var m={name:"cms-servePlan-tab",components:{BaseComp:c["default"],AppPopup:()=>Promise.resolve().then(n.bind(n,7861)),ComDialog:()=>Promise.resolve().then(n.bind(n,1870))},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:""}},data(){return{loading:!1,colorList:["hk-gradient-blue-cyan","btn-stcost","btn-fm","tag-blue","hk-gradient-pink-light"],classifyItemTab:[],thirdCateGoryList:[],selectThirdCategory:"",paramList:[],specList:[],param:[],epps:[],gbList:[],page:{currentPage:1,pageSize:100},totalCount:0,expend:"",saveExpend:"",dispayType:"",noThirdCategory:!1,tipsDialogVisible:!1,tipsAppupVisible:!1,errorDetail:{},clickElemId:"",parentShopCategoryId:"",favoourText:this.$t("broadband.expend"),favoourFlag:!0,messageSwiper:null,swiperNewsIdx:0,configData:{},jumpUrl:this.$route&&"https://omniapi.hk.chinamobile.com",firstComming:!0}},async mounted(){var e,t,n,i,a,r;if(this.expend=(null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.shopCategoryId)||"",this.saveExpend=(null===(n=this.$route)||void 0===n||null===(i=n.query)||void 0===i?void 0:i.shopCategoryId)||"",this.dispayType=(null===(a=this.$route)||void 0===a||null===(r=a.query)||void 0===r?void 0:r.dispayType)||"all",window.__POWERED_BY_WUJIE__){var o;let e=(null===(o=window.$wujie)||void 0===o?void 0:o.props.data.busiData)||{};this.expend=e.shopCategoryId||"",this.saveExpend=e.shopCategoryId||"",this.dispayType=e.dispayType||"all",this.parentShopCategoryId=e.parentShopCategoryId||""}this.$EventBus||this.isOpcacity||(this.$EventBus||(this.jumpUrl=(0,d.getCompBaseUrl)()),this.jumpUrl=this.$EventBus?this.jumpUrl:window.location.origin)},methods:{isMobile(){let e=0;return document.body&&(e=document.body.scrollWidth||document.body.clientWidth),e<800},checkHasDispayType(e){let t=!1;if(this.dispayType){let n=this.expend||this.saveExpend;"all"==this.dispayType||"only"==this.dispayType&&n==e.shopCategoryId?t=!0:"only"!=this.dispayType||n||(t=!1)}else t=!0;return t},dealMount(e){let t=null;return t=e%100==0?e/100:(e/100).toFixed(2),t},getLocalGb(e){let t="";return e.forEach((e=>{"102"==e.paramId&&(t=e.paramValue)})),t},getColor(e){return e||"hk-gradient-blue-cyan"},openThirdCategory(e){this.gbList=[],this.expend=e.shopCategoryId,this.clickElemId=e.documentId,this.$nextTick((()=>{var t;null===(t=window.document.getElementById(`${e.documentId}`))||void 0===t||t.scrollIntoView(!0)})),this.getThirdCateGory()},async getCateGorys(){this.param=[];let e={busInfo:JSON.stringify({state:"1",parentShopCategoryId:this.parentShopCategoryId||"27202301121613495888833286144"})},t=await(0,u.z_)(o().stringify(e));"000000"==t.resCode&&(t.busiResp.busiDataResp&&t.busiResp.busiDataResp.length>0?(this.classifyItemTab=t.busiResp.busiDataResp,this.classifyItemTab.forEach((e=>{e.documentId="id"+e.shopCategoryId})),this.expend||(this.expend=this.classifyItemTab[0].shopCategoryId),this.expend&&this.getThirdCateGory()):(this.isMobile()?this.tipsAppupVisible=!0:this.tipsDialogVisible=!0,this.errorDetail=h(p,this,"999999"),this.errorDetail.errorCode="["+t.resCode+"]"))},async getThirdCateGory(){this.param=[],this.thirdCateGoryList=[],this.noThirdCategory=!1;let e={busInfo:JSON.stringify({state:"1",parentShopCategoryId:this.expend})},t=await(0,u.z_)(o().stringify(e));"000000"==t.resCode&&(t.busiResp.busiDataResp&&t.busiResp.busiDataResp.length>0?(this.thirdCateGoryList=t.busiResp.busiDataResp,this.$route.query.subCategoryId?this.selectThirdCategory=this.$route.query.subCategoryId:this.selectThirdCategory=this.thirdCateGoryList[0].shopCategoryId):this.noThirdCategory=!0,this.getSpecData())},async getSpecData(){this.paramList=[],this.specList=[];let e={busInfo:JSON.stringify({shopCategoryId:this.noThirdCategory?this.expend:this.selectThirdCategory})};try{let i=await(0,u.oJ)(o().stringify(e));if("000000"==i.resCode){var t,n;let e=["zh-CN","zh-HK","en-US"],a=["全部","全部","ALL"],r=a[e.indexOf(this.$i18n.locale)];(null===(t=i.busiResp.busiDataResp.paramList)||void 0===t?void 0:t.length)>0&&(i.busiResp.busiDataResp.paramList.map((e=>{e.paramValueList.length>0&&(e.paramValueList.unshift({paramValue:r,select:!0}),e.paramValueList.map((e=>{e.paramValue!=r&&(e.select=!1)})))})),this.paramList=i.busiResp.busiDataResp.paramList),(null===(n=i.busiResp.busiDataResp.specList)||void 0===n?void 0:n.length)>0&&(i.busiResp.busiDataResp.specList.map((e=>{e.specDictList.length>0&&(e.specDictList.unshift({specDictValue:r,specDictId:"",select:!0}),e.specDictList.map((e=>{""!==e.specDictId&&(e.select=!1)})))})),this.specList=i.busiResp.busiDataResp.specList)}}catch(i){console.log(i)}this.getShopsCategoryData()},clickThirdCategory(e){this.selectThirdCategory=e.shopCategoryId,this.param=[],this.getSpecData()},clickParam(e,t){t.select=!t.select;let n=["zh-CN","zh-HK","en-US"],i=["全部","全部","ALL"],a=i[n.indexOf(this.$i18n.locale)];if(t.paramValue==a&&t.select)for(let r=1;r<e.length;r++)e[r].select=!1;t.paramValue!=a&&(e[0].select=!1),this.getSearchParams()},clickSpec(e,t){if(t.select=!t.select,!t.specDictId&&t.select)for(let n=1;n<e.length;n++)e[n].select=!1;""!=t.specDictId&&(e[0].select=!1),this.getSearchParams()},getSearchParams(){this.param=[],this.epps=[];let e=["zh-CN","zh-HK","en-US"],t=["全部","全部","ALL"],n=t[e.indexOf(this.$i18n.locale)];this.paramList.forEach((e=>{e.paramValueList.forEach((t=>{t.select&&t.paramValue!=n&&this.param.push({paramId:e.paramId,paramValue:t.paramValue})}))})),this.specList.forEach((e=>{e.specDictList.map((e=>{e.select&&e.specDictId&&this.epps.push({specDictId:e.specDictId})}))})),this.getShopsCategoryData()},async getShopsCategoryData(){this.loading=!0;const e=this;this.gbList=[];let t={busInfo:JSON.stringify({shopCategoryId:this.noThirdCategory?this.expend:this.selectThirdCategory,params:this.param,epps:this.epps,page:this.page,channelId:(0,d.getCmhkChannelMx)(),commodityTypes:["501"]})};try{let a=await(0,u.nP)(o().stringify(t));var n,i;if("000000"==a.resCode)this.totalCount=(null===(n=a.busiResp)||void 0===n||null===(i=n.page)||void 0===i?void 0:i.totalCount)||0,this.gbList=a.busiResp.busiDataResp,console.log("gbList",this.gbList),this.gbList.forEach((e=>{let t={busInfo:JSON.stringify({priceId:e.malltCommodityPrice[0].priceId,channelId:(0,d.getCmhkChannelMx)(),dealerId:sessionStorage.getItem("staffId")})};this.getYouhui(t,e)})),this.loading=!1,this.swiperNewsIdx=0,this.messageSwiper&&this.messageSwiper.destroy(!0,!0),this.$nextTick((()=>{var t;e.messageSwiper=new l.A(`#plan-card-swiper${this.data.componentId}`,{autoplay:!1,loop:!1,slidesPerView:"mobile"!==(0,s.Pf)()?3:1,observer:!0,observeParents:!0,touchMoveStopPropagation:!0,on:{slideChangeTransitionEnd:function(){"mobile"!==(0,s.Pf)()?e.swiperNewsIdx=this.realIndex+2:e.swiperNewsIdx=this.realIndex,console.log("新闻-当前页最后一个元素下标",(0,s.Pf)(),this.realIndex)},resize:function(){this.update(!0)}}}),null===(t=window.document.getElementById(`${this.clickElemId}`))||void 0===t||t.scrollIntoView(!0)}));else this.loading=!1,this.isMobile()?this.tipsAppupVisible=!0:this.tipsDialogVisible=!0,this.errorDetail=h(f,this,a.resCode),this.errorDetail||(this.errorDetail=h(f,this,"999999")),this.errorDetail.errorCode="["+a.resCode+"]"}catch{this.loading=!1}},async getYouhui(e,t){let n=[],i=await(0,u.Xn)(o().stringify(e));if("000000"==i.resCode){let e=i.busiResp.busiDataResp.preferentialInfoList;e.forEach((e=>{if("STYH"==e.code){let t=e.preferentialGroupList;t.map((e=>{""!=e.groupName&&n.push(e)})),t.map((e=>{""==e.groupName&&e.preferentialDetails.map((e=>{n.push({groupName:"",preferentialDetails:[e]})}))}))}})),this.$set(t,"youhuiList",n)}},expendCategory(e){this.expend=this.expend==e.shopCategoryId?"":e.shopCategoryId,this.expend&&this.openThirdCategory(e)},closeTipsDialog(){this.tipsDialogVisible=!1},closeTipsAppup(){this.tipsAppupVisible=!1},favoourClick(){this.favoourFlag?(this.favoourFlag=!1,this.favoourText=this.$t("serviceDes.close")):(this.favoourFlag=!0,this.favoourText=this.$t("broadband.expend"))},toPage(e,t){const n={"zh-CN":"sc","zh-HK":"tc","en-US":"en"},i=t?"home-corp/sme/detail":"home/plan/detail",a=Object.keys(e).reduce(((t,n,i)=>i?`${t}&${n}=${e[n]}`:`${n}=${e[n]}`),"");let r=`${this.jumpUrl}/${n[this.lang]}/${i}?${a}&cmhkChannel=${(0,d.getCmhkChannelMx)()}`;window.location.href=r},link(e){if(window.__POWERED_BY_WUJIE__){var t;null===(t=window.$wujie)||void 0===t||t.bus.$emit("jumpToServicePlanDetail",{commodityId:e.commodityId,isBr:this.isBr})}else{let t={commodityId:e.commodityId};this.isBr&&(t={...t,isBr:this.isBr}),this.toPage(t,this.isBr)}},getConfigData(e){this.configData=e,this.parentShopCategoryId!=e.argument1&&(this.parentShopCategoryId=e.argument1,this.getCateGorys())},getLangChange(){!this.firstComming&&this.getCateGorys(),this.firstComming=!1}},computed:{isBr(){const e="27202306211671456568424927232";return this.parentShopCategoryId==e}},filters:{replaceMonth(e){const t=new RegExp("月","ig"),n=new RegExp("Months","ig");return e?e.replace(t,"").replace(n,""):""}}},g=m,v=n(1656),y=(0,v.A)(g,i,a,!1,null,"ff206690",null),b=y.exports},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6992:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("section",{staticClass:"cms-text-container",class:[`align-${e.configData.textAlign||"left"}`,e.configData.customClass||"",{"has-link":e.configData.linkUrl,"cmhk-home_main":e.showCmhkMain,"hover-effect":e.configData.hoverEffect&&e.configData.linkUrl}],style:e.containerStyle,attrs:{"aria-label":e.configData.ariaLabel,tabindex:e.configData.tabIndex,role:e.configData.role,title:e.configData.seoTitle||e.configData.seoDescription},on:{click:e.handleClick}},[t("div",{staticClass:"text-content",class:e.configData.textType,style:e.textStyle},e._l(e.textLines,(function(n,i){return t("p",{key:i,staticClass:"text-line",style:e.lineStyle},[e._v(" "+e._s(n)+" ")])})),0),e.configData.linkUrl&&e.configData.showLinkIcon?t("div",{staticClass:"link-indicator"},[t("i",{staticClass:"el-icon-link"})]):e._e()])])},a=[],r=(n(8111),n(2489),n(7588),n(392)),o={name:"cms-text",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"},showCmhkMain:{type:Boolean,default:!0}},data(){return{configData:{},defaultConfig:{textContent:"请输入文本内容",enableLineBreak:!0,textAlign:"left",letterSpacing:0,fontColor:"#333333",fontStyle:"normal",textDecoration:"none",paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,backgroundColor:"",borderRadius:0,boxShadow:"",linkUrl:"",linkTarget:"_self",showLinkIcon:!1,hoverEffect:!1,customClass:"",customStyle:"",enableAnimation:!1,animationType:"fadeIn",animationDuration:300,ariaLabel:"",tabIndex:0,role:"",seoTitle:"",seoDescription:"",mobileTextAlign:"",mobileFontSize:0,tabletFontSize:0}}},mounted(){this.initConfigData(),this.setCSSVariables()},watch:{configData:{handler(){this.updateStyles()},deep:!0}},computed:{textLines(){return this.configData.textContent?this.configData.enableLineBreak?this.configData.textContent.split("\n").filter((e=>""!==e.trim())):[this.configData.textContent]:[]},containerStyle(){const e={...this.defaultConfig,...this.configData};let t=`${e.marginTop}px ${e.marginRight}px ${e.marginBottom}px ${e.marginLeft}px`;return this.showCmhkMain&&!(parseInt(e.marginTop)||parseInt(e.marginRight)||parseInt(e.marginBottom)||parseInt(e.marginLeft))&&(t="0 auto"),{padding:`${e.paddingTop}px ${e.paddingRight}px ${e.paddingBottom}px ${e.paddingLeft}px`,margin:t,backgroundColor:e.backgroundColor||"transparent",border:"none",borderRadius:`${e.borderRadius}px`,boxShadow:e.boxShadow||"none",cursor:e.linkUrl?"pointer":"default",transition:e.hoverEffect?"all 0.3s ease":"none",animation:e.enableAnimation?this.getAnimationStyle():"none",...this.parseCustomStyle(e.customStyle)}},textStyle(){const e={...this.defaultConfig,...this.configData};return{color:e.fontColor,fontStyle:e.fontStyle,textDecoration:e.textDecoration,letterSpacing:`${e.letterSpacing}px`,textAlign:e.textAlign,wordBreak:"break-word",wordWrap:"break-word",cursor:e.linkUrl?"pointer":"default"}},lineStyle(){return{margin:"0",padding:"0"}}},methods:{initConfigData(){this.configData={...this.defaultConfig,...this.configData}},getConfigData(e){this.configData={...this.defaultConfig,...e},this.updateStyles()},updateStyles(){this.$nextTick((()=>{this.setCSSVariables(),this.$forceUpdate()}))},setCSSVariables(){if(!this.$el)return;const e={...this.defaultConfig,...this.configData};e.mobileFontSize>0&&this.$el.style.setProperty("--mobile-font-size",`${e.mobileFontSize}px`),e.tabletFontSize>0&&this.$el.style.setProperty("--tablet-font-size",`${e.tabletFontSize}px`),e.mobileTextAlign&&this.$el.style.setProperty("--mobile-text-align",e.mobileTextAlign)},handleClick(){if(this.configData.linkUrl){const e=this.configData.linkTarget||"_self";"_blank"===e?window.open(this.configData.linkUrl,"_blank"):window.location.href=this.configData.linkUrl}},getAnimationStyle(){const e=this.configData.animationType||this.defaultConfig.animationType,t=this.configData.animationDuration||this.defaultConfig.animationDuration;return this.configData.enableAnimation&&"none"!==e?`${e} ${t}ms ease-in-out`:""},parseCustomStyle(e){if(!e)return{};try{const t={},n=e.split(";");return n.forEach((e=>{const[n,i]=e.split(":");if(n&&i){const e=n.trim().replace(/-([a-z])/g,(e=>e[1].toUpperCase()));t[e]=i.trim()}})),t}catch(t){return console.warn("解析自定义样式失败:",t),{}}},validateTextContent(){const e=this.configData.textContent;return!(!e||""===e.trim())||(console.warn("文本内容为空"),!1)},getPlainTextContent(){return this.configData.textContent||""},getTextLength(){return this.getPlainTextContent().length},copyTextToClipboard(){const e=this.getPlainTextContent();if(navigator.clipboard&&window.isSecureContext)navigator.clipboard.writeText(e).then((()=>{var e;null===(e=this.$message)||void 0===e||e.success("文本已复制到剪贴板")})).catch((e=>{console.error("复制失败:",e)}));else{const i=document.createElement("textarea");i.value=e,document.body.appendChild(i),i.select();try{var t;document.execCommand("copy"),null===(t=this.$message)||void 0===t||t.success("文本已复制到剪贴板")}catch(n){console.error("复制失败:",n)}document.body.removeChild(i)}},highlightText(e){if(!e)return;const t=this.getPlainTextContent(),n=new RegExp(`(${e})`,"gi"),i=t.replace(n,"<mark>$1</mark>");console.log("高亮内容:",i)},getTextStats(){const e=this.getPlainTextContent(),t=e.split(/\s+/).filter((e=>e.length>0)),n=e.split("\n").length,i=e.length,a=e.replace(/\s/g,"").length;return{characters:i,charactersNoSpaces:a,words:t.length,lines:n,paragraphs:e.split(/\n\s*\n/).filter((e=>e.trim().length>0)).length}}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"1dc9451c",null),d=c.exports},7040:function(e,t,n){"use strict";var i=n(4495);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:function(e,t,n){"use strict";var i=n(9504),a=n(9039),r=n(2195),o=Object,s=i("".split);e.exports=a((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?s(e,""):o(e)}:o},7080:function(e,t,n){"use strict";var i=n(4402).has;e.exports=function(e){return i(e),e}},7101:function(e,t,n){"use strict";n.r(t);n(8111),n(8237);const i=n(8607),a=i.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1").replace("/en",""),a=i(t);return e[n]=a.default,e}),{});t["default"]=a},7123:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.BaseComp,e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("div",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"corp-static_wrapper"},[t("div",{staticClass:"corp-static_scene_container"},[t("ul",{staticClass:"clearfix"},e._l(e.configList,(function(i,a){return t("li",{key:`${a}${null===i||void 0===i?void 0:i.id}`,on:{click:function(t){return n.decodeJumpUrl(null===i||void 0===i?void 0:i.jumpUrl,e.$router)}}},[t("div",{staticClass:"card-shadow"},[t("div",{staticClass:"image-desbox_wapper"},[t("img",{staticClass:"scene-image",attrs:{src:n.isMobileHook?null===i||void 0===i?void 0:i.uploadImageH5:null===i||void 0===i?void 0:i.uploadImagePC,alt:null===i||void 0===i?void 0:i.imagePcATL}})]),t("div",{staticClass:"corp-static_scene_content"},[t("p",{staticClass:"title"},[e._v(e._s(i.input1))]),t("p",{staticClass:"des",class:e.panelFold?"des-more":""},[e._v(" "+e._s(null===i||void 0===i?void 0:i.input2)+" ")]),"zh-CN"==e.$i18n.locale&&(null===i||void 0===i?void 0:i.input2.length)>66?t("div",{staticClass:"crad-more",on:{click:function(t){t.stopPropagation(),e.panelFold=!e.panelFold}}},[t("span",{directives:[{name:"show",rawName:"v-show",value:"zh-CN"==e.$i18n.locale,expression:"$i18n.locale == 'zh-CN'"}]},[e._v(e._s(e.panelFold?"收起":"展开")),t("i",{class:e.panelFold?"el-icon-arrow-up":"el-icon-arrow-down"})])]):e._e(),"zh-HK"==e.$i18n.locale&&(null===i||void 0===i?void 0:i.input2.length)>66?t("div",{staticClass:"crad-more",on:{click:function(t){t.stopPropagation(),e.panelFold=!e.panelFold}}},[t("span",[e._v(e._s(e.panelFold?"收起":"展開")),t("i",{class:e.panelFold?"el-icon-arrow-up":"el-icon-arrow-down"})])]):e._e(),"en-US"==e.$i18n.locale&&(null===i||void 0===i?void 0:i.input2.length)>132?t("div",{staticClass:"crad-more",on:{click:function(t){t.stopPropagation(),e.panelFold=!e.panelFold}}},[t("span",[e._v(e._s(e.panelFold?"Collpase":"Expand")),t("i",{class:e.panelFold?"el-icon-arrow-up":"el-icon-arrow-down"})])]):e._e()])])])})),0)])])])])},a=[],r=n(392),o=n(3099),s=n(6722);const l=(0,s.ref)(!1),c=()=>{let e=0;document.body&&(e=document.body.scrollWidth||document.body.clientWidth),l.value=e<800};function d(){return(0,s.onMounted)((()=>{c(),window.addEventListener("resize",c)})),(0,s.onUnmounted)((()=>{window.removeEventListener("resize",c)})),{isMobileHook:l}}const u={name:"cms-lineThree",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configList:[],panelFold:!1}},mounted(){},watch:{},methods:{getConfigData(e){this.configList=e.configList}}};var p=Object.assign(u,{setup(e){const{isMobileHook:t}=d();return{__sfc:!0,isMobileHook:t,BaseComp:r["default"],decodeJumpUrl:o.u}}}),f=p,h=n(1656),m=(0,h.A)(f,i,a,!1,null,"241e1e5b",null),g=m.exports},7223:function(e,t,n){"use strict";n(6573),n(8100),n(7936),n(4603),n(7566),n(8721);var i=n(3321),a=Object.prototype.toString;function r(e){return"[object Array]"===a.call(e)}function o(e){return"undefined"===typeof e}function s(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===a.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function d(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function u(e){return"string"===typeof e}function p(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===a.call(e)}function g(e){return"[object File]"===a.call(e)}function v(e){return"[object Blob]"===a.call(e)}function y(e){return"[object Function]"===a.call(e)}function b(e){return f(e)&&y(e.pipe)}function w(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function C(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function T(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=T(e[n],t):h(t)?e[n]=T({},t):r(t)?e[n]=t.slice():e[n]=t}for(var n=0,i=arguments.length;n<i;n++)S(arguments[n],t);return e}function A(e,t,n){return S(t,(function(t,a){e[a]=n&&"function"===typeof t?i(t,n):t})),e}function E(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:r,isArrayBuffer:l,isBuffer:s,isFormData:c,isArrayBufferView:d,isString:u,isNumber:p,isObject:f,isPlainObject:h,isUndefined:o,isDate:m,isFile:g,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:S,merge:T,extend:A,trim:C,stripBOM:E}},7235:function(e,t,n){"use strict";n.r(t),t["default"]={listPrice:"月費",oneoffPrice:"一口價",bannerName:"5G大灣區計劃優惠",price:"平均月費",bannerDes:"暢遊大灣區,無憂無慮拎包旅行",addValue:"立即增值",whyFiveG:"點解揀CMHK 5G寬頻?",whyFiveGDes:"取代慢速固網又得,幫自己加多條線上網又得!",fiveGDesTitle:"揀選你的5G寬頻服務計劃吧 ",fiveGDesSubTitle:"多元豐富的數位內容,為你的世界開啟全新可能 ",nowCostomersYh:"CMHK現有客戶專享優惠 ",login:"立即登入",lookNowCostomerYh:"並查看您的專享優惠",yhPlaceholder:"輸入優惠碼",search:"使用",select:"使用",detail:"了解更多",yhCode:"已應用優惠碼:",listHyq:"合約期限(月)",basePrice:"原價",closeDetail:"收起詳情",open:"選擇服務",expend:"展開",close:"收起",lookDetail:"查看詳情",chooseHyq:"合約期限(月)",addService:"上台優惠",reset:"重設選擇",next:"下一步",nextMobile:"下一步",seeOther:"來看看更多商品",seeOtherDesc:"配合CMHK 5G寬頻,讓你構建更理想家居",stageWay:"上臺方式",newPhone:"新號碼",systemNum:"號碼由系統分配",simType:"SIM卡類型",shitiSim:"實體SIM卡",yhCodeText:"優惠碼",bandwidth:"頻寬",sfmx:"收費明細"}},7249:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"view-container"},[e._l(e.data,(function(n){return[t(n.cmsCompName,{key:n.componentId,tag:"component",attrs:{data:n,lang:e.lang,timeline:e.timeline,cmhkChannel:e.cmhkChannel,isOpcacity:!1}})]}))],2)},a=[],r={name:"cms-view",props:{data:{type:Array,default:()=>[]},lang:{type:String,default:"zh-HK"},timeline:{type:String,default:""},cmhkChannel:{type:String,default:"WWW"}},created(){this.$i18n.locale=this.lang}},o=r,s=n(1656),l=(0,s.A)(o,i,a,!1,null,"e4796b30",null),c=l.exports},7258:function(e,t,n){"use strict";var i=n(7958),a=n(2647);e.exports=function(e,t){return e&&!i(t)?a(e,t):t}},7303:function(e,t,n){"use strict";n.d(t,{A:function(){return Ue}});var i=n(1810),a=n.n(i),r=n(6855),o=n.n(r),s=n(6722),l=(n(4114),n(8111),n(1148),n(2489),n(7588),n(1701),n(8237),n(7642),n(8004),n(3853),n(5876),n(2475),n(5024),n(1698),["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]),c=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function d(e,t){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function u(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}var p=Array.isArray;function f(e){return null!==e&&"object"===typeof e}function h(e){return"boolean"===typeof e}function m(e){return"string"===typeof e}var g=Object.prototype.toString,v="[object Object]";function y(e){return g.call(e)===v}function b(e){return null===e||void 0===e}function w(e){return"function"===typeof e}function C(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=null,i=null;return 1===e.length?f(e[0])||p(e[0])?i=e[0]:"string"===typeof e[0]&&(n=e[0]):2===e.length&&("string"===typeof e[0]&&(n=e[0]),(f(e[1])||p(e[1]))&&(i=e[1])),{locale:n,params:i}}function x(e){return JSON.parse(JSON.stringify(e))}function S(e,t){if(e.delete(t))return e}function T(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function A(e,t){return!!~e.indexOf(t)}var E=Object.prototype.hasOwnProperty;function I(e,t){return E.call(e,t)}function D(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var a=t[i];if(void 0!==a&&null!==a){var r=void 0;for(r in a)I(a,r)&&(f(a[r])?n[r]=D(n[r],a[r]):n[r]=a[r])}}return n}function _(e,t){if(e===t)return!0;var n=f(e),i=f(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var a=p(e),r=p(t);if(a&&r)return e.length===t.length&&e.every((function(e,n){return _(e,t[n])}));if(a||r)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return _(e[n],t[n])}))}catch(l){return!1}}function k(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function P(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=k(e[t]))})),e}function M(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var a=this.$i18n;return a._tc.apply(a,[e,a.locale,a._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}}function L(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof Pe){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{},n=e.__i18nBridge||e.__i18n;n.forEach((function(e){t=D(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(l){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(e.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Pe?this.$root.$i18n:null;if(i&&(e.i18n.root=this.$root,e.i18n.formatter=i.formatter,e.i18n.fallbackLocale=i.fallbackLocale,e.i18n.formatFallbackMessages=i.formatFallbackMessages,e.i18n.silentTranslationWarn=i.silentTranslationWarn,e.i18n.silentFallbackWarn=i.silentFallbackWarn,e.i18n.pluralizationRules=i.pluralizationRules,e.i18n.preserveDirectiveContent=i.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var a=e.i18n&&e.i18n.messages?e.i18n.messages:{},r=e.__i18nBridge||e.__i18n;r.forEach((function(e){a=D(a,JSON.parse(e))})),e.i18n.messages=a}catch(l){0}var o=e.i18n,s=o.sharedMessages;s&&y(s)&&(e.i18n.messages=D(e.i18n.messages,s)),this._i18n=new Pe(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Pe?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof Pe&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof Pe||y(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Pe||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof Pe)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}var O={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,a=t.props,r=t.slots,o=i.$i18n;if(o){var s=a.path,l=a.locale,c=a.places,d=r(),u=o.i(s,l,N(d)||c?R(d.default,c):d),p=a.tag&&!0!==a.tag||!1===a.tag?a.tag:"span";return p?e(p,n,u):u}}};function N(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}function R(e,t){var n=t?B(t):{};if(!e)return n;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var i=e.every(j);return e.reduce(i?F:H,n)}function B(e){return Array.isArray(e)?e.reduce(H,{}):Object.assign({},e)}function F(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function H(e,t,n){return e[n]=t,e}function j(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var z,$={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,a=t.data,r=i.$i18n;if(!r)return null;var o=null,s=null;m(n.format)?o=n.format:f(n.format)&&(n.format.key&&(o=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var i;return A(l,t)?Object.assign({},e,(i={},i[t]=n.format[t],i)):e}),null));var c=n.locale||r.locale,d=r._ntp(n.value,c,o,s),u=d.map((function(e,t){var n,i=a.scopedSlots&&a.scopedSlots[e.type];return i?i((n={},n[e.type]=e.value,n.index=t,n.parts=d,n)):e.value})),p=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return p?e(p,{attrs:a.attrs,class:a["class"],staticClass:a.staticClass},u):u}};function V(e,t,n){X(e,n)&&K(e,t,n)}function U(e,t,n,i){if(X(e,n)){var a=n.context.$i18n;Y(e,n)&&_(t.value,t.oldValue)&&_(e._localeMessage,a.getLocaleMessage(a.locale))||K(e,t,n)}}function G(e,t,n,i){var a=n.context;if(a){var r=n.context.$i18n||{};t.modifiers.preserve||r.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else d("Vue instance does not exists in VNode context")}function X(e,t){var n=t.context;return n?!!n.$i18n||(d("VueI18n instance does not exists in Vue instance"),!1):(d("Vue instance does not exists in VNode context"),!1)}function Y(e,t){var n=t.context;return e._locale===n.$i18n.locale}function K(e,t,n){var i,a,r=t.value,o=q(r),s=o.path,l=o.locale,c=o.args,u=o.choice;if(s||l||c)if(s){var p=n.context;e._vt=e.textContent=null!=u?(i=p.$i18n).tc.apply(i,[s,u].concat(W(l,c))):(a=p.$i18n).t.apply(a,[s].concat(W(l,c))),e._locale=p.$i18n.locale,e._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else d("`path` is required in v-t directive");else d("value type not supported")}function q(e){var t,n,i,a;return m(e)?t=e:y(e)&&(t=e.path,n=e.locale,i=e.args,a=e.choice),{path:t,locale:n,args:i,choice:a}}function W(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||y(t))&&n.push(t),n}function Q(e,t){void 0===t&&(t={bridge:!1}),Q.installed=!0,z=e;z.version&&Number(z.version.split(".")[0]);M(z),z.mixin(L(t.bridge)),z.directive("t",{bind:V,update:U,unbind:G}),z.component(O.name,O),z.component($.name,$);var n=z.config.optionMergeStrategies;n.i18n=function(e,t){return void 0===t?e:t}}var J=function(){this._caches=Object.create(null)};J.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=te(e),this._caches[e]=n),ne(n,t)};var Z=/^(?:\d)+/,ee=/^(?:\w)+/;function te(e){var t=[],n=0,i="";while(n<e.length){var a=e[n++];if("{"===a){i&&t.push({type:"text",value:i}),i="";var r="";a=e[n++];while(void 0!==a&&"}"!==a)r+=a,a=e[n++];var o="}"===a,s=Z.test(r)?"list":o&&ee.test(r)?"named":"unknown";t.push({value:r,type:s})}else"%"===a?"{"!==e[n]&&(i+=a):i+=a}return i&&t.push({type:"text",value:i}),t}function ne(e,t){var n=[],i=0,a=Array.isArray(t)?"list":f(t)?"named":"unknown";if("unknown"===a)return n;while(i<e.length){var r=e[i];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===a&&n.push(t[r.value]);break;case"unknown":0;break}i++}return n}var ie=0,ae=1,re=2,oe=3,se=0,le=1,ce=2,de=3,ue=4,pe=5,fe=6,he=7,me=8,ge=[];ge[se]={ws:[se],ident:[de,ie],"[":[ue],eof:[he]},ge[le]={ws:[le],".":[ce],"[":[ue],eof:[he]},ge[ce]={ws:[ce],ident:[de,ie],0:[de,ie],number:[de,ie]},ge[de]={ident:[de,ie],0:[de,ie],number:[de,ie],ws:[le,ae],".":[ce,ae],"[":[ue,ae],eof:[he,ae]},ge[ue]={"'":[pe,ie],'"':[fe,ie],"[":[ue,re],"]":[le,oe],eof:me,else:[ue,ie]},ge[pe]={"'":[ue,ie],eof:me,else:[pe,ie]},ge[fe]={'"':[ue,ie],eof:me,else:[fe,ie]};var ve=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ye(e){return ve.test(e)}function be(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function we(e){if(void 0===e||null===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Ce(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(ye(t)?be(t):"*"+t)}function xe(e){var t,n,i,a,r,o,s,l=[],c=-1,d=se,u=0,p=[];function f(){var t=e[c+1];if(d===pe&&"'"===t||d===fe&&'"'===t)return c++,i="\\"+t,p[ie](),!0}p[ae]=function(){void 0!==n&&(l.push(n),n=void 0)},p[ie]=function(){void 0===n?n=i:n+=i},p[re]=function(){p[ie](),u++},p[oe]=function(){if(u>0)u--,d=ue,p[ie]();else{if(u=0,void 0===n)return!1;if(n=Ce(n),!1===n)return!1;p[ae]()}};while(null!==d)if(c++,t=e[c],"\\"!==t||!f()){if(a=we(t),s=ge[d],r=s[a]||s["else"]||me,r===me)return;if(d=r[0],o=p[r[1]],o&&(i=r[2],i=void 0===i?t:i,!1===o()))return;if(d===he)return l}}var Se=function(){this._cache=Object.create(null)};Se.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=xe(e),t&&(this._cache[e]=t)),t||[]},Se.prototype.getPathValue=function(e,t){if(!f(e))return null;var n=this.parsePath(t);if(0===n.length)return null;var i=n.length,a=e,r=0;while(r<i){var o=a[n[r]];if(void 0===o||null===o)return null;a=o,r++}return a};var Te,Ae=/<\/?[\w\s="/.':;#-\/]+>/,Ee=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Ie=/^@(?:\.([a-zA-Z]+))?:/,De=/[()]/g,_e={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},ke=new J,Pe=function(e){var t=this;void 0===e&&(e={}),!z&&"undefined"!==typeof window&&window.Vue&&Q(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),a=e.messages||{},r=e.dateTimeFormats||e.datetimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||ke,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Se,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex){var a=i.getChoiceIndex;return a.call(t,e,n)}var r=function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0};return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):r(e,n)},this._exist=function(e,n){return!(!e||!n)&&(!b(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(a).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,a[e])})),this._initVM({locale:n,fallbackLocale:i,messages:a,dateTimeFormats:r,numberFormats:o})},Me={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Pe.prototype._checkLocaleMessage=function(e,t,n){var i=[],a=function(e,t,n,i){if(y(n))Object.keys(n).forEach((function(r){var o=n[r];y(o)?(i.push(r),i.push("."),a(e,t,o,i),i.pop(),i.pop()):(i.push(r),a(e,t,o,i),i.pop())}));else if(p(n))n.forEach((function(n,r){y(n)?(i.push("["+r+"]"),i.push("."),a(e,t,n,i),i.pop(),i.pop()):(i.push("["+r+"]"),a(e,t,n,i),i.pop())}));else if(m(n)){var r=Ae.test(n);if(r){var o="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?d(o):"error"===e&&u(o)}}};a(t,e,n,i)},Pe.prototype._initVM=function(e){var t=z.config.silent;z.config.silent=!0,this._vm=new z({data:e,__VUE18N__INSTANCE__:!0}),z.config.silent=t},Pe.prototype.destroyVM=function(){this._vm.$destroy()},Pe.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},Pe.prototype.unsubscribeDataChanging=function(e){S(this._dataListeners,e)},Pe.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){var t=T(e._dataListeners),n=t.length;while(n--)z.nextTick((function(){t[n]&&t[n].$forceUpdate()}))}),{deep:!0})},Pe.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){i.$set(i,"locale",e),i.$forceUpdate()}),{immediate:!0})},Pe.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},Me.vm.get=function(){return this._vm},Me.messages.get=function(){return x(this._getMessages())},Me.dateTimeFormats.get=function(){return x(this._getDateTimeFormats())},Me.numberFormats.get=function(){return x(this._getNumberFormats())},Me.availableLocales.get=function(){return Object.keys(this.messages).sort()},Me.locale.get=function(){return this._vm.locale},Me.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},Me.fallbackLocale.get=function(){return this._vm.fallbackLocale},Me.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},Me.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Me.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},Me.missing.get=function(){return this._missing},Me.missing.set=function(e){this._missing=e},Me.formatter.get=function(){return this._formatter},Me.formatter.set=function(e){this._formatter=e},Me.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Me.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},Me.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Me.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},Me.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Me.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},Me.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Me.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},Me.postTranslation.get=function(){return this._postTranslation},Me.postTranslation.set=function(e){this._postTranslation=e},Me.sync.get=function(){return this._sync},Me.sync.set=function(e){this._sync=e},Pe.prototype._getMessages=function(){return this._vm.messages},Pe.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Pe.prototype._getNumberFormats=function(){return this._vm.numberFormats},Pe.prototype._warnDefault=function(e,t,n,i,a,r){if(!b(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,i,a]);if(m(o))return o}else 0;if(this._formatFallbackMessages){var s=C.apply(void 0,a);return this._render(t,r,s.params,t)}return t},Pe.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:b(e))&&!b(this._root)&&this._fallbackRoot},Pe.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},Pe.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},Pe.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},Pe.prototype._interpolate=function(e,t,n,i,a,r,o){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(p(l)||y(l))return l;if(b(l)){if(!y(t))return null;if(s=t[n],!m(s)&&!w(s))return null}else{if(!m(l)&&!w(l))return null;s=l}return m(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",r,o)),this._render(s,a,r,n)},Pe.prototype._link=function(e,t,n,i,a,r,o){var s=n,l=s.match(Ee);for(var c in l)if(l.hasOwnProperty(c)){var d=l[c],u=d.match(Ie),f=u[0],h=u[1],m=d.replace(f,"").replace(De,"");if(A(o,m))return s;o.push(m);var g=this._interpolate(e,t,m,i,"raw"===a?"string":a,"raw"===a?void 0:r,o);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;g=v._translate(v._getMessages(),v.locale,v.fallbackLocale,m,i,a,r)}g=this._warnDefault(e,m,g,i,p(r)?r:[r],a),this._modifiers.hasOwnProperty(h)?g=this._modifiers[h](g):_e.hasOwnProperty(h)&&(g=_e[h](g)),o.pop(),s=g?s.replace(d,g):s}return s},Pe.prototype._createMessageContext=function(e,t,n,i){var a=this,r=p(e)?e:[],o=f(e)?e:{},s=function(e){return r[e]},l=function(e){return o[e]},c=this._getMessages(),d=this.locale;return{list:s,named:l,values:e,formatter:t,path:n,messages:c,locale:d,linked:function(e){return a._interpolate(d,c[d]||{},e,null,i,void 0,[e])}}},Pe.prototype._render=function(e,t,n,i){if(w(e))return e(this._createMessageContext(n,this._formatter||ke,i,t));var a=this._formatter.interpolate(e,n,i);return a||(a=ke.interpolate(e,n,i)),"string"!==t||m(a)?a:a.join("")},Pe.prototype._appendItemToChain=function(e,t,n){var i=!1;return A(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},Pe.prototype._appendLocaleToChain=function(e,t,n){var i,a=t.split("-");do{var r=a.join("-");i=this._appendItemToChain(e,r,n),a.splice(-1,1)}while(a.length&&!0===i);return i},Pe.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,a=0;a<t.length&&h(i);a++){var r=t[a];m(r)&&(i=this._appendLocaleToChain(e,r,n))}return i},Pe.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];var i,a=[e];while(p(a))a=this._appendBlockToChain(n,a,t);i=p(t)?t:f(t)?t["default"]?t["default"]:null:t,a=m(i)?[i]:i,a&&this._appendBlockToChain(n,a,null),this._localeChainCache[e]=n}return n},Pe.prototype._translate=function(e,t,n,i,a,r,o){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var d=l[c];if(s=this._interpolate(d,e[d],i,a,r,o,[i]),!b(s))return s}return null},Pe.prototype._t=function(e,t,n,i){var a,r=[],o=arguments.length-4;while(o-- >0)r[o]=arguments[o+4];if(!e)return"";var s=C.apply(void 0,r);this._escapeParameterHtml&&(s.params=P(s.params));var l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(r))}return c=this._warnDefault(l,e,c,i,r,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,e)),c},Pe.prototype.t=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},Pe.prototype._i=function(e,t,n,i,a){var r=this._translate(n,t,this.fallbackLocale,e,i,"raw",a);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,a)}return this._warnDefault(t,e,r,i,[a],"raw")},Pe.prototype.i=function(e,t,n){return e?(m(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},Pe.prototype._tc=function(e,t,n,i,a){var r,o=[],s=arguments.length-5;while(s-- >0)o[s]=arguments[s+5];if(!e)return"";void 0===a&&(a=1);var l={count:a,n:a},c=C.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[e,t,n,i].concat(o)),a)},Pe.prototype.fetchChoice=function(e,t){if(!e||!m(e))return null;var n=e.split("|");return t=this.getChoiceIndex(t,n.length),n[t]?n[t].trim():e},Pe.prototype.tc=function(e,t){var n,i=[],a=arguments.length-2;while(a-- >0)i[a]=arguments[a+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},Pe.prototype._te=function(e,t,n){var i=[],a=arguments.length-3;while(a-- >0)i[a]=arguments[a+3];var r=C.apply(void 0,i).locale||t;return this._exist(n[r],e)},Pe.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},Pe.prototype.getLocaleMessage=function(e){return x(this._vm.messages[e]||{})},Pe.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},Pe.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,D("undefined"!==typeof this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},Pe.prototype.getDateTimeFormat=function(e){return x(this._vm.dateTimeFormats[e]||{})},Pe.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},Pe.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,D(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},Pe.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Pe.prototype._localizeDateTime=function(e,t,n,i,a,r){for(var o=t,s=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var d=l[c];if(s=i[d],o=d,!b(s)&&!b(s[a]))break}if(b(s)||b(s[a]))return null;var u,p=s[a];if(r)u=new Intl.DateTimeFormat(o,Object.assign({},p,r));else{var f=o+"__"+a;u=this._dateTimeFormatters[f],u||(u=this._dateTimeFormatters[f]=new Intl.DateTimeFormat(o,p))}return u.format(e)},Pe.prototype._d=function(e,t,n,i){if(!n){var a=i?new Intl.DateTimeFormat(t,i):new Intl.DateTimeFormat(t);return a.format(e)}var r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,i);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return r||""},Pe.prototype.d=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,a=null,r=null;return 1===t.length?(m(t[0])?a=t[0]:f(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(a=t[0].key)),r=Object.keys(t[0]).reduce((function(e,n){var i;return A(c,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(m(t[0])&&(a=t[0]),m(t[1])&&(i=t[1])),this._d(e,i,a,r)},Pe.prototype.getNumberFormat=function(e){return x(this._vm.numberFormats[e]||{})},Pe.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},Pe.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,D(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},Pe.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Pe.prototype._getNumberFormatter=function(e,t,n,i,a,r){for(var o=t,s=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var d=l[c];if(s=i[d],o=d,!b(s)&&!b(s[a]))break}if(b(s)||b(s[a]))return null;var u,p=s[a];if(r)u=new Intl.NumberFormat(o,Object.assign({},p,r));else{var f=o+"__"+a;u=this._numberFormatters[f],u||(u=this._numberFormatters[f]=new Intl.NumberFormat(o,p))}return u},Pe.prototype._n=function(e,t,n,i){if(!Pe.availabilities.numberFormat)return"";if(!n){var a=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return a.format(e)}var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.format(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return o||""},Pe.prototype.n=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,a=null,r=null;return 1===t.length?m(t[0])?a=t[0]:f(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(a=t[0].key),r=Object.keys(t[0]).reduce((function(e,n){var i;return A(l,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(m(t[0])&&(a=t[0]),m(t[1])&&(i=t[1])),this._n(e,i,a,r)},Pe.prototype._ntp=function(e,t,n,i){if(!Pe.availabilities.numberFormat)return[];if(!n){var a=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return a.formatToParts(e)}var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return o||[]},Object.defineProperties(Pe.prototype,Me),Object.defineProperty(Pe,"availabilities",{get:function(){if(!Te){var e="undefined"!==typeof Intl;Te={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return Te}}),Pe.install=Q,Pe.version="8.28.2";var Le=Pe,Oe=n(7101),Ne=n(4044),Re=n(5095),Be=n(2523),Fe=n(5394),He=n(2945),je=n(2277);n(5844);s["default"].use(Le);const ze=new Le({locale:"zh-HK",messages:{"zh-CN":{...Ne["default"],...He["default"]},"en-US":{...Oe["default"],...Fe.A},"zh-HK":{...Re["default"],...je.A},IN:{...Oe["default"],...Be["default"],...Fe.A}}});var $e=ze;const Ve=a().create({baseURL:"",timeout:100,withCredentials:!0});Ve.defaults.headers.post["Content-Type"]="application/json;charset:utf-8",Ve.interceptors.request.use((e=>{const t=window.location.origin.includes("97"),n=!1,i=window.location.origin.includes(".22:");return n?e.url.includes("/ecosp-console")?document.cookie="JSESSIONID=2BFCD3B3E854E7F65346CE536CE1CB9A":e.url.includes("omni-channel-service-console")&&(document.cookie="JSESSIONID=AA68D98A573B5C33F359334E14A390EA"):e.url.includes("/api/")&&t?e.url=(i?"https://omniapi.hk.chinamobile.com":"https://omniapi-uat.hk.chinamobile.com")+e.url:e.url=window.location.origin+e.url,e.url.includes("/ecosp-console")&&"post"===e.method&&(e.data={signType:"MD5",sign:o()(`${JSON.stringify(e.data)}&key=KHw01puidqkDd4xrueWGf5CiR0lqhb4X`),data:e.data}),e.url.includes("/api/")&&(e.url.includes("/api/omni-channel-service-portal")?e.headers["Content-Type"]="application/json":e.headers["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8",e.headers["cmhkChannel"]="WWW",e.headers["channelId"]="WWW",e.headers["Accept-Language"]=e.headers["Accept-Language"]?e.headers["Accept-Language"]:$e.locale,e.headers["Acc-Lang"]=e.headers["Accept-Language"]),e}),(e=>{Promise.reject(e)})),Ve.interceptors.response.use((e=>{const t=e.data;return t}),(()=>{}));var Ue=Ve},7346:function(e,t,n){"use strict";n.r(t);const i=()=>Promise.resolve().then(n.bind(n,7249));t["default"]={View:i}},7347:function(e,t,n){"use strict";var i=n(3724),a=n(9565),r=n(8773),o=n(6980),s=n(5397),l=n(6969),c=n(9297),d=n(5917),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=s(e),t=l(t),d)try{return u(e,t)}catch(n){}if(c(e,t))return o(!a(r.f,e,t),e[t])}},7360:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,5750)),r={configList:[{id:Math.random().toString(),typeName:"",contentArray:[{id:Math.random().toString(),input2:"",input1:""}]}]},o=(0,i.getLangDataType)(r,{configList:{label:"常见问题栏目配置",value:[{id:{label:""},typeName:{label:"分组名称"},contentArray:{label:"常见问题配置",value:[{id:{label:""},input1:{label:"问题"},input2:{label:"答案",widgetType:"isRichText"}}]}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7394:function(e,t,n){"use strict";var i=n(4576),a=n(6706),r=n(2195),o=i.ArrayBuffer,s=i.TypeError;e.exports=o&&a(o.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==r(e))throw new s("ArrayBuffer expected");return e.byteLength}},7396:function(e,t,n){"use strict";n.r(t),n.d(t,{getCmhkChannelMx:function(){return o},getCompBaseUrl:function(){return s},transfor:function(){return r}});n(4603),n(7566),n(8721);var i=n(2495),a=n(8655);async function r(e){var t,n,r,o,s,l,c,d,u,p,f,h,m;if((null===e||void 0===e||null===(t=e.settings)||void 0===t||!t.settings)&&(null===e||void 0===e||null===(n=e.wujieConfig)||void 0===n||!n.viaCompInstId))return e;if(null!==e&&void 0!==e&&null!==(r=e.wujieConfig)&&void 0!==r&&r.viaCompInstId){var g;const{data:t}=await(0,a.OO)({componentCode:e.wujieConfig.viaCompInstId}),n=null!==t&&void 0!==t&&t.length&&(null===(g=t[0])||void 0===g?void 0:g.goodIdList)||[];return{...e,contentConfig:{lang_all:{configList:[...n]}},wujieConfig:null}}const v=e.compName,y=e.list||[],b=e.settings.settings[0],{isWujie:w=!1,isVia:C=!1,componentUrl:x="",workbenchUrl:S=""}=b,T=(null===(o=b.value)||void 0===o?void 0:o.componentId)||"",A=(null===(s=b.value)||void 0===s?void 0:s.viaCompInstId)||"",E={childList:y,...w?{wujieConfig:{componentUrl:x,workbenchUrl:S,componentId:T,versionId:""}}:{}};let I={};null!==(l=b.value)&&void 0!==l&&null!==(c=l.content)&&void 0!==c&&c.CN?I=b.value.content:null!==(d=b.value.bannerList)&&void 0!==d&&d.CN?I=b.value.bannerList:null!==(u=b.value.routerList)&&void 0!==u&&u.CN?I=b.value.routerList:null!==(p=b.value.busCardList)&&void 0!==p&&p.CN||null!==(f=b.value.busCardList)&&void 0!==f&&f.CN?I=b.value.busCardList:null!==(h=b.value)&&void 0!==h&&h.CN?I=b.value:b.value&&(I="[object Object]"===Object.prototype.toString.call(b.value)?b.value:{value:b.value});const D=!(null!==(m=I)&&void 0!==m&&m.CN);let _={},k={},P={},M={};if(A){var L;const{data:[]}=await(0,a.OO)({componentCode:e.wujieConfig.viaCompInstId}),t=data.length&&(null===(L=data[0])||void 0===L?void 0:L.goodIdList)||[];I={configList:[...t]}}if(D)M=I;else{const e=!D&&Array.isArray(I.CN);e?(_={configList:I.HK},k={configList:I.CN},P={configList:I.EN}):(_=I.HK,k=I.CN,P=I.EN)}const O={...D?{lang_all:M}:{lang_tc:_,lang_sc:k,lang_en:P}};return(0,i.getInitCompData)({cmsCompName:v,wujieConfig:{},compConfig:E,config:{contentConfig:O,styleConfig:[]},isLangAll:D})}function o(e="WWW"){const t=window.location.host,n=["www.hk.chinamobile.com","www-uat.hk.chinamobile.com"],i=new URL(document.location).searchParams,a=i.get("cmhkChannel");return n.includes(t)?"WWW":sessionStorage.getItem("cmhkChannel")||a||e}function s(){return["https://omniapi.hk.chinamobile.com","https://www.hk.chinamobile.com"].includes(window.location.origin)?"https://omniapi.hk.chinamobile.com":"https://omniapi-uat.hk.chinamobile.com"}},7410:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,704)),r={title1:"标题",title2:"副标题"},o=(0,i.getLangDataType)(r,{title1:{label:"标题",widgetType:"el-input",type:"textarea"},title2:{label:"副标题",widgetType:"el-input",type:"textarea"}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7467:function(e,t,n){"use strict";var i=n(7628),a=n(4644),r=a.aTypedArray,o=a.exportTypedArrayMethod,s=a.getTypedArrayConstructor;o("toReversed",(function(){return i(r(this),s(this))}))},7476:function(e,t,n){"use strict";var i=n(2195),a=n(9504);e.exports=function(e){if("Function"===i(e))return a(e)}},7495:function(e,t,n){"use strict";var i=n(5617),a=n(2887),r=n(6613);e.exports=i?function(e){return i(e)}:a?function(e){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new TypeError("getProto: not an object");return a(e)}:r?function(e){return r(e)}:null},7518:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,4018)),r={title1:"标题",title2:"副标题",linkText:"链接文字",link:""},o=(0,i.getLangDataType)(r,{title1:{label:"标题"},title2:{label:"副标题"},linkText:{label:"链接文字"},link:{label:"链接地址"}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7562:function(e,t,n){"use strict";n(8111),n(7588);var i=n(7223),a=n(9877),r=n(6290),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(1857)),e}function c(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||a&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(o){if("SyntaxError"===s.name)throw r(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){d.headers[e]=i.merge(o)})),e.exports=d},7566:function(e,t,n){"use strict";var i=n(6840),a=n(9504),r=n(655),o=n(2812),s=URLSearchParams,l=s.prototype,c=a(l.getAll),d=a(l.has),u=new s("a=1");!u.has("a",2)&&u.has("a",void 0)||i(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return d(this,e);var i=c(this,e);o(t,1);var a=r(n),s=0;while(s<i.length)if(i[s++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},7588:function(e,t,n){"use strict";var i=n(6518),a=n(2652),r=n(9306),o=n(8551),s=n(1767);i({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(this),r(e);var t=s(this),n=0;a(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},7616:function(e,t,n){"use strict";n.r(t)},7628:function(e,t,n){"use strict";var i=n(6198);e.exports=function(e,t){for(var n=i(e),a=new t(n),r=0;r<n;r++)a[r]=e[n-r-1];return a}},7629:function(e,t,n){"use strict";var i=n(6395),a=n(4576),r=n(9433),o="__core-js_shared__",s=e.exports=a[o]||r(o,{});(s.versions||(s.versions=[])).push({version:"3.41.0",mode:i?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7642:function(e,t,n){"use strict";var i=n(6518),a=n(3440),r=n(4916),o=!r("difference",(function(e){return 0===e.size}));i({target:"Set",proto:!0,real:!0,forced:o},{difference:a})},7657:function(e,t,n){"use strict";var i,a,r,o=n(9039),s=n(4901),l=n(34),c=n(2360),d=n(2787),u=n(6840),p=n(8227),f=n(6395),h=p("iterator"),m=!1;[].keys&&(r=[].keys(),"next"in r?(a=d(d(r)),a!==Object.prototype&&(i=a)):m=!0);var g=!l(i)||o((function(){var e={};return i[h].call(e)!==e}));g?i={}:f&&(i=c(i)),s(i[h])||u(i,h,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:m}},7680:function(e,t,n){"use strict";var i=n(9504);e.exports=i([].slice)},7696:function(e,t,n){"use strict";var i=n(1291),a=n(8014),r=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=a(t);if(t!==n)throw new r("Wrong length or index");return n}},7740:function(e,t,n){"use strict";var i=n(9297),a=n(5031),r=n(7347),o=n(4913);e.exports=function(e,t,n){for(var s=a(t),l=o.f,c=r.f,d=0;d<s.length;d++){var u=s[d];i(e,u)||n&&i(n,u)||l(e,u,c(t,u))}}},7748:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("section",{ref:"news",staticClass:"cmhk-home_main"},[e.configList.length?t("div",{staticClass:"section-body"},[t("div",{staticClass:"cmhk-section_corp_news-ser"},[t("div",{staticClass:"news-box_container"},[t("div",{staticClass:"news-box_swiper",attrs:{id:`news-swiper${e.data.componentId}`}},[t("div",{staticClass:"swiper-wrapper"},e._l(e.configList,(function(n,i){return t("div",{key:`${i}${null===n||void 0===n?void 0:n.id}`,staticClass:"swiper-slide"},[t("div",{staticClass:"new-read_card read-card_bg-wt",on:{click:function(t){return e.decodeJumpUrl(n.jumpUrl)}}},[t("div",{staticClass:"image-desbox_wapper"},[t("img",{staticClass:"layout-pc",attrs:{src:n.uploadImagePC,alt:n.imagePcATL}}),t("img",{staticClass:"layout-mobile",attrs:{src:n.uploadImageH5,alt:n.imageH5ATL}})]),t("div",{staticClass:"new-read_card-content"},[t("p",{staticClass:"title"},[e._v(e._s(null===n||void 0===n?void 0:n.input1))]),t("p",{staticClass:"time"},[e._v(e._s(n.input2))]),t("p",{staticClass:"des"},[e._v(e._s(n.input3))]),n.input4?t("p",{staticClass:"continue-read"},[e._v(" "+e._s(n.input4)+" "),t("i",{staticClass:"el-icon-arrow-right"})]):e._e()])])])})),0)]),e.configList.length>3?[t("div",{staticClass:"pag-prev left layout-pc",class:[e.swiperNewsIdx>2?"is-active":""],on:{click:e.newsPrev}},[t("i",{staticClass:"el-icon-arrow-left"})]),t("div",{staticClass:"pag-next right layout-pc",class:[e.swiperNewsIdx<e.configList.length-1?"is-active":""],on:{click:e.newsNext}},[t("i",{staticClass:"el-icon-arrow-right"})])]:e._e()],2)])]):e._e()])])},a=[],r=n(9846),o=(n(2773),n(8731)),s=n(392),l={name:"cms-threeScroll",components:{BaseComp:s["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configList:[],swiperNewsIdx:0,newsSwiper:null}},mounted(){const e=this;this.$nextTick((()=>{this.newsSwiper=new o.A(`#news-swiper${this.data.componentId}`,{autoplay:!1,loop:!1,slidesPerView:"mobile"!==(0,r.Pf)()?3:"auto",observer:!0,observeParents:!0,touchMoveStopPropagation:!0,on:{slideChangeTransitionEnd:function(){"mobile"!==(0,r.Pf)()?e.swiperNewsIdx=this.realIndex+2:e.swiperNewsIdx=this.realIndex,console.log("新闻-当前页最后一个元素下标",e.swiperNewsIdx)},resize:function(){this.update(!0)}}})}))},watch:{},methods:{getConfigData(e){this.configList=e.configList},newsPrev(){this.swiperNewsIdx>2&&this.newsSwiper.slidePrev()},newsNext(){this.swiperNewsIdx<this.configList.length-1&&this.newsSwiper.slideNext()},decodeJumpUrl(e){e&&(top.location.href=e)}}},c=l,d=n(1656),u=(0,d.A)(c,i,a,!1,null,"4ecaae13",null),p=u.exports},7750:function(e,t,n){"use strict";var i=n(4117),a=TypeError;e.exports=function(e){if(i(e))throw new a("Can't call method on "+e);return e}},7751:function(e,t,n){"use strict";var i=n(4576),a=n(4901),r=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e]):i[e]&&i[e][t]}},7811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7816:function(e,t,n){"use strict";n.d(t,{L7:function(){return a}});n(8111),n(116);var i=n(9846);const a=(e,t)=>{let n={};const a=e.find((e=>e.id==t)).configureJson;return a.wujieConfig&&(n={originalComponentId:a.componentId,originalVersionId:a.wujieConfig.versionId,operation:"copyTemplate"}),{...a,componentId:(0,i.J0)(32),...n}}},7826:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(var a in e[t]=i,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},7861:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("div",{},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"popup-mask",style:{zIndex:e.zIndex},on:{click:e.clickPopupClose}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["app-popup",e.fillet?"popup-fillet":""],style:{height:e.height,zIndex:e.zIndex}},[e._t("default")],2)])},a=[],r=n(1837),o={name:"AppPopup",props:{visible:{type:Boolean,default:!1},height:{type:String,default:"50%"},fillet:{type:Boolean,default:!0},isFixBg:{type:Boolean,default:!1},zIndex:{type:String,default:()=>String(r.o.nextZIndex())}},data(){return{maskEl:null}},watch:{visible:{handler(e,t){this.isFixBg&&(this.visible?(console.info("stop"),this.stopScroll()):(console.info("recover"),this.recoverScroll()))},immediate:!0}},methods:{clickPopupClose(){this.$emit("update:visible",!1),this.isFixBg&&this.recoverScroll()},stopScroll(){try{const{body:e}=window.parent.document,t=window.parent.document.body.scrollTop||window.parent.document.documentElement.scrollTop;e.style.position="fixed",e.style.width="100%",e.style.top=`-${t}px`}catch(e){console.log(e)}},recoverScroll(){try{const{body:e}=window.parent.document,{top:t}=e.style;e.style.position="",e.style.width="",e.style.top="",window.parent.document.body.scrollTop=-parseInt(t,10),window.parent.document.documentElement.scrollTop=-parseInt(t,10)}catch(e){console.log(e)}}},beforeDestroy(){if(this.isFixBg)try{const{body:e}=window.parent.document,{top:t}=e.style;""!==t&&(console.log("beforeDestroy"),this.recoverScroll())}catch(e){console.log(e)}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"1cb83381",null),d=c.exports},7926:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,4257)),r={configList:[{id:Math.random().toString(),uploadImageH5:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315174412_ZbqgqhYe_96x95.png",imageH5ATL:"",uploadImagePC:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315174412_ZbqgqhYe_96x95.png",imagePcATL:"",input1:"",input2:"",jumpUrl:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"图片配置",value:[{id:{label:""},uploadImagePC:{label:"上传PC图片"},imagePcATL:{label:"PC alt属性"},uploadImageH5:{label:"上传H5图片"},imageH5ATL:{label:"H5 alt属性"},input1:{label:"标题"},input2:{label:"正文"},jumpUrl:{label:"跳转链接"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7936:function(e,t,n){"use strict";var i=n(6518),a=n(5636);a&&i({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return a(this,arguments.length?arguments[0]:void 0,!1)}})},7958:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7959:function(e){"use strict";e.exports="data:image/png;base64,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"},7980:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData},scopedSlots:e._u([{key:"default",fn:function(n){return[t("section",{staticClass:"cms-button-container",class:[`align-${e.configData.textAlign||"center"}`,e.configData.customClass||""],style:e.containerStyle},[t("button",{staticClass:"cms-button",class:["cms-button-element",{"has-link":e.configData.linkUrl,"hover-effect":e.configData.hoverEffect}],style:{...e.buttonStyle,height:n.isMobile?"40px":"48px"},attrs:{disabled:e.configData.disabled},on:{click:e.handleClick}},[e._v(" "+e._s(e.configData.buttonText)+" "),e.configData.showArrow?t("i",{staticClass:"el-icon-arrow-right el-icon--right"}):e._e()])])]}}])},"BaseComp",e.$attrs,!1))},a=[],r=(n(8111),n(7588),n(392)),o={name:"cms-button",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configData:{},defaultConfig:{buttonText:"按钮文字",textAlign:"center",fontSize:16,fontColor:"#ffffff",fontWeight:"normal",backgroundColor:"#2f85ff",borderRadius:30,borderWidth:1,borderStyle:"solid",borderColor:"#409eff",paddingTop:12,paddingBottom:12,paddingLeft:20,paddingRight:20,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,linkUrl:"",linkTarget:"_self",disabled:!1,customClass:"",customStyle:"",hoverEffect:!1,buttonWidth:"300",buttonHeight:"48",minWidth:80,minHeight:36}}},mounted(){this.initConfigData()},watch:{configData:{handler(){this.updateStyles()},deep:!0}},computed:{containerStyle(){const e={...this.defaultConfig,...this.configData};return{backgroundColor:e.wrapperBackgroundColor,textAlign:e.textAlign,margin:`${e.marginTop}px ${e.marginRight}px ${e.marginBottom}px ${e.marginLeft}px`,...this.parseCustomStyle(e.customStyle)}},buttonStyle(){const e={...this.defaultConfig,...this.configData};return{fontSize:`${e.fontSize}px`,color:e.fontColor,fontWeight:e.fontWeight,backgroundColor:e.backgroundColor?e.backgroundColor:"transparent",borderRadius:`${e.borderRadius}px`,border:e.borderWidth?`${e.borderWidth}px ${e.borderStyle} ${e.borderColor}`:"none",padding:`${e.paddingTop}px ${e.paddingRight}px ${e.paddingBottom}px ${e.paddingLeft}px`,width:"auto"===e.buttonWidth?"auto":`${e.buttonWidth}px`,minWidth:`${e.minWidth}px`,minHeight:`${e.minHeight}px`,cursor:e.linkUrl?"pointer":"default",opacity:e.disabled?.6:1,transition:e.hoverEffect?"all 0.3s ease":"none",outline:"none",textDecoration:"none",display:"inline-block",textAlign:"center",verticalAlign:"middle",userSelect:"none",whiteSpace:"nowrap"}}},methods:{initConfigData(){this.configData={...this.defaultConfig,...this.configData}},getConfigData(e){this.configData={...this.defaultConfig,...e},this.updateStyles()},updateStyles(){this.$nextTick((()=>{this.$forceUpdate()}))},handleClick(){if(!this.configData.disabled&&this.configData.linkUrl){const e=this.configData.linkTarget||"_self";"_blank"===e?window.open(this.configData.linkUrl,"_blank"):window.location.href=this.configData.linkUrl}},parseCustomStyle(e){if(!e)return{};try{const t={},n=e.split(";");return n.forEach((e=>{const[n,i]=e.split(":");if(n&&i){const e=n.trim().replace(/-([a-z])/g,(e=>e[1].toUpperCase()));t[e]=i.trim()}})),t}catch(t){return console.warn("解析自定义样式失败:",t),{}}}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"78e567cf",null),d=c.exports},8004:function(e,t,n){"use strict";var i=n(6518),a=n(9039),r=n(8750),o=n(4916),s=!o("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||a((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));i({target:"Set",proto:!0,real:!0,forced:s},{intersection:r})},8014:function(e,t,n){"use strict";var i=n(1291),a=Math.min;e.exports=function(e){var t=i(e);return t>0?a(t,9007199254740991):0}},8065:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("section",{staticClass:"cmhk-home_main"},[t("section",{ref:"servicePlan"},[t("div",{ref:"box_swiper",staticClass:"pub-row pub-rowflex mgrow-r16 layout-p2 layout-pc"},e._l(e.configList,(function(i,a){return t("div",{key:a,staticClass:"kf-boxxx col-3 nofix-wcard pdrow-16 wow animate__fadeInUp",attrs:{"data-wow-delay":"200","data-wow-iteration":"1"}},[t("div",{staticClass:"kf-sprbox kf-blur",on:{click:function(t){return e.decodeJumpUrl(i.jumpUrl)}}},[t("img",{staticClass:"col331-image",attrs:{src:i.uploadImagePC,alt:i.imagePcATL}}),i.input1?t("div",{staticClass:"swiper-btn"},[t("span",{staticClass:"vm"},[e._v(e._s(i.input1))]),t("img",{staticClass:"icon_rarrow kf-goto vm",attrs:{src:n(1061)}})]):e._e()])])})),0),t("div",{staticClass:"pub-row mgrow-r16 partcontent-top layout-p2 layout-mobile pdb-44"},e._l(e.configList,(function(i,a){return t("div",{key:a,staticClass:"kf-boxxx col-3 pdrow-16 mgb-16 wow animate__fadeInUp",attrs:{"data-wow-delay":"200","data-wow-iteration":"1"}},[t("div",{staticClass:"kf-box",on:{click:function(t){return e.decodeJumpUrl(i.jumpUrl)}}},[t("img",{staticClass:"col331-image",attrs:{src:i.uploadImageH5,alt:i.imageH5ATL}}),i.input1?t("div",{staticClass:"swiper-btn"},[t("span",{staticClass:"vm"},[e._v(e._s(i.input1))]),t("img",{staticClass:"icon_rarrow kf-goto vm",attrs:{src:n(1061)}})]):e._e()])])})),0)])])])},a=[],r=n(392),o={name:"cms-prodCustomization",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configList:[],plan1Inx:0}},mounted(){},watch:{},methods:{getConfigData(e){this.configList=e.configList},decodeJumpUrl(e){e&&(top.location.href=e)}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"792be7e2",null),d=c.exports},8100:function(e,t,n){"use strict";var i=n(6518),a=n(5636);a&&i({target:"ArrayBuffer",proto:!0},{transfer:function(){return a(this,arguments.length?arguments[0]:void 0,!0)}})},8111:function(e,t,n){"use strict";var i=n(6518),a=n(4576),r=n(679),o=n(8551),s=n(4901),l=n(2787),c=n(2106),d=n(4659),u=n(9039),p=n(9297),f=n(8227),h=n(7657).IteratorPrototype,m=n(3724),g=n(6395),v="constructor",y="Iterator",b=f("toStringTag"),w=TypeError,C=a[y],x=g||!s(C)||C.prototype!==h||!u((function(){C({})})),S=function(){if(r(this,h),l(this)===h)throw new w("Abstract class Iterator not directly constructable")},T=function(e,t){m?c(h,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===h)throw new w("You can't redefine this property");p(this,e)?this[e]=t:d(this,e,t)}}):h[e]=t};p(h,b)||T(b,y),!x&&p(h,v)&&h[v]!==Object||T(v,S),S.prototype=h,i({global:!0,constructor:!0,forced:x},{Iterator:S})},8218:function(e,t,n){"use strict";n.r(t),t["default"]={Personal:"Personal",Home:"Home",Enterprise:"Enterprise",Area5G:"5G Coverage Area",AboutCmhk:"About CMHK",Login:"Login",SignOut:"Sign out",skip:"Skip",days:"days",hours:"hours",minutes:"minutes",seconds:"seconds",theEnd:"",button:"Buy Now",notLogged:"Not Logged In",loginForMore:"Login for more services",speedyservice:"Quick Entry",Close:"Close"}},8227:function(e,t,n){"use strict";var i=n(4576),a=n(5745),r=n(9297),o=n(3392),s=n(4495),l=n(7040),c=i.Symbol,d=a("wks"),u=l?c["for"]||c:c&&c.withoutSetter||o;e.exports=function(e){return r(d,e)||(d[e]=s&&r(c,e)?c[e]:u("Symbol."+e)),d[e]}},8237:function(e,t,n){"use strict";var i=n(6518),a=n(2652),r=n(9306),o=n(8551),s=n(1767),l=TypeError;i({target:"Iterator",proto:!0,real:!0},{reduce:function(e){o(this),r(e);var t=s(this),n=arguments.length<2,i=n?void 0:arguments[1],c=0;if(a(t,(function(t){n?(n=!1,i=t):i=e(i,t,c),c++}),{IS_RECORD:!0}),n)throw new l("Reduce of empty iterator with no initial value");return i}})},8259:function(e,t,n){"use strict";n(4114),n(8111),n(7588);var i=n(7223);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(i.isURLSearchParams(t))r=t.toString();else{var o=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),o.push(a(t)+"="+a(e))})))})),r=o.join("&")}if(r){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},8288:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,6466)),r={configList:[{id:Math.random().toString(),ImageUrl:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315172555_9XVGHwD4_600x348.png",commodityId:"21202311071721797951533748224",title:"",input1:"",diyInput:"",colorBody:[{id:Math.random().toString(),color:"rgb(178, 179, 181)"}],input2:"",input3:"",input4:"",input5:"",button:"",jumpUrl:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"商品信息配置",addWidgetType:"addProductCard",value:[{id:{label:""},ImageUrl:{label:"商品图片",hidden:!0},commodityId:{label:"商品id"},title:{label:"标题"},input1:{label:"員工特惠價",hidden:!0},diyInput:{label:"自定义"},input2:{label:"员工优惠"},input3:{label:"市場零售價",hidden:!0},input4:{label:"市场优惠"},input5:{label:"起",hidden:!0},colorBody:{label:"色值配置",maxNums:4,value:[{id:{label:""},color:{label:"色值",widgetType:"el-color-picker",showAlpha:!0,predefine:["#262729","rgb(36,38,40,0.8)","rgb(36,38,40,0.5)","#2F85FF","#D6197F","#52C41A","#f48427","#FFFFFF"]}}]},button:{label:"按钮文案"},jumpUrl:{label:"跳转链接"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},8340:function(e,t,n){"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty,r=n(3476);e.exports=r.call(i,a)},8361:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,5818)),r={configList:[{id:Math.random().toString(),uploadImageH5:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315173315_TRwiweWv_128x128.png",imageH5ATL:"",uploadImagePC:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315173315_TRwiweWv_128x128.png",imagePcATL:"",input1:"",input2:"",jumpUrl:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"图片配置",value:[{id:{label:""},uploadImagePC:{label:"上传PC图片"},imagePcATL:{label:"PC alt属性"},uploadImageH5:{label:"上传H5图片"},imageH5ATL:{label:"H5 alt属性"},input1:{label:"显示内容1"},input2:{label:"显示内容2"},jumpUrl:{label:"跳转链接"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},8369:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,4302)),r={configList:[{id:Math.random().toString(),input1:"",input2:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"条款配置",value:[{id:{label:""},input1:{label:"条款名称"},input2:{label:"内容",widgetType:"isRichText"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},8373:function(e){"use strict";e.exports=Math.round},8396:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[e.showWujie?e._e():t("div",[e._v("配置后才会展示内容")]),e.showWujie&&e.wujieCompUrl?t("WujieVue",{key:e.data.componentId,attrs:{name:`cmsacive${e.data.componentId}`,url:e.wujieCompUrl,props:{data:e.propsdata5}}}):e._e()],1)},a=[],r=n(392),o=n(7396),s={name:"cms-dynamic-comp",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:""}},data(){return{wujieCompUrl:"",propsdata5:{},showWujie:!1,compBaseUrl:"https://omniapi.hk.chinamobile.com",componentUrl:"",componentId:"",viaCompInstId:""}},async mounted(){this.$EventBus||(this.compBaseUrl=(0,o.getCompBaseUrl)()),this.getUrl(this.lang)},created(){},methods:{getConfigData(){const e=this.data.wujieConfig;this.componentUrl=e.componentUrl,this.componentId=e.componentId,this.viaCompInstId=e.viaCompInstId,this.getUrl(this.lang),this.componentId&&setTimeout((()=>{this.showWujie=!0}))},wujieFetchMx(e,t){return window.fetch(e,{...t,credentials:"include"})},getUrl(e){const t={"zh-CN":"sc","zh-HK":"tc","en-US":"en"},n=this.$EventBus?"tc":t[e],i=this.componentUrl.replace("langTag",n);this.wujieCompUrl=`${this.compBaseUrl}${i}`,console.log("wujieCompUrl",this.wujieCompUrl),this.propsdata5={orgId:sessionStorage.getItem("orgId")||"",staffId:sessionStorage.getItem("staffId")||"",cmhkChannel:(0,o.getCmhkChannelMx)(),cmhkToken:sessionStorage.getItem("cmhkToken")||"",componentId:this.componentId,viaCompInstId:this.viaCompInstId}}}},l=s,c=n(1656),d=(0,c.A)(l,i,a,!1,null,"5a95f5e8",null),u=d.exports},8449:function(e){"use strict";e.exports=Math.min},8469:function(e,t,n){"use strict";var i=n(9504),a=n(507),r=n(4402),o=r.Set,s=r.proto,l=i(s.forEach),c=i(s.keys),d=c(new o).next;e.exports=function(e,t,n){return n?a({iterator:c(e),next:d},t):l(e,t)}},8480:function(e,t,n){"use strict";var i=n(1828),a=n(8727),r=a.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},8527:function(e,t,n){"use strict";var i=n(7080),a=n(4402).has,r=n(5170),o=n(3789),s=n(507),l=n(9539);e.exports=function(e){var t=i(this),n=o(e);if(r(t)<n.size)return!1;var c=n.getIterator();return!1!==s(c,(function(e){if(!a(t,e))return l(c,"normal",!1)}))}},8537:function(e,t,n){"use strict";n.r(t),n.d(t,{MultiDrag:function(){return Ft},Sortable:function(){return Je},Swap:function(){return Et}});n(4114),n(8111),n(2489),n(7588),n(3579),n(1806);
|
|
11
|
+
function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(t){return new Md5(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var n=OUTPUT_TYPES[t];e[n]=createOutputMethod(n)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"===typeof e)return crypto.createHash("md5").update(e,"utf8").digest("hex");if(null===e||void 0===e)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw ERROR;if(null===e)throw ERROR;if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw ERROR;t=!0}var i,a,r=0,o=e.length,s=this.blocks,l=this.buffer8;while(r<o){if(this.hashed&&(this.hashed=!1,s[0]=s[16],s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)if(ARRAY_BUFFER)for(a=this.start;r<o&&a<64;++r)l[a++]=e[r];else for(a=this.start;r<o&&a<64;++r)s[a>>2]|=e[r]<<SHIFT[3&a++];else if(ARRAY_BUFFER)for(a=this.start;r<o&&a<64;++r)i=e.charCodeAt(r),i<128?l[a++]=i:i<2048?(l[a++]=192|i>>6,l[a++]=128|63&i):i<55296||i>=57344?(l[a++]=224|i>>12,l[a++]=128|i>>6&63,l[a++]=128|63&i):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++r)),l[a++]=240|i>>18,l[a++]=128|i>>12&63,l[a++]=128|i>>6&63,l[a++]=128|63&i);else for(a=this.start;r<o&&a<64;++r)i=e.charCodeAt(r),i<128?s[a>>2]|=i<<SHIFT[3&a++]:i<2048?(s[a>>2]|=(192|i>>6)<<SHIFT[3&a++],s[a>>2]|=(128|63&i)<<SHIFT[3&a++]):i<55296||i>=57344?(s[a>>2]|=(224|i>>12)<<SHIFT[3&a++],s[a>>2]|=(128|i>>6&63)<<SHIFT[3&a++],s[a>>2]|=(128|63&i)<<SHIFT[3&a++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++r)),s[a>>2]|=(240|i>>18)<<SHIFT[3&a++],s[a>>2]|=(128|i>>12&63)<<SHIFT[3&a++],s[a>>2]|=(128|i>>6&63)<<SHIFT[3&a++],s[a>>2]|=(128|63&i)<<SHIFT[3&a++]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=EXTRA[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var e,t,n,i,a,r,o=this.blocks;this.first?(e=o[0]-680876937,e=(e<<7|e>>>25)-271733879|0,i=(-1732584194^2004318071&e)+o[1]-117830708,i=(i<<12|i>>>20)+e|0,n=(-271733879^i&(-271733879^e))+o[2]-1126478375,n=(n<<17|n>>>15)+i|0,t=(e^n&(i^e))+o[3]-1316259209,t=(t<<22|t>>>10)+n|0):(e=this.h0,t=this.h1,n=this.h2,i=this.h3,e+=(i^t&(n^i))+o[0]-680876936,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[1]-389564586,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[2]+606105819,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[3]-1044525330,t=(t<<22|t>>>10)+n|0),e+=(i^t&(n^i))+o[4]-176418897,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[5]+1200080426,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[6]-1473231341,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[7]-45705983,t=(t<<22|t>>>10)+n|0,e+=(i^t&(n^i))+o[8]+1770035416,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[9]-1958414417,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[10]-42063,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[11]-1990404162,t=(t<<22|t>>>10)+n|0,e+=(i^t&(n^i))+o[12]+1804603682,e=(e<<7|e>>>25)+t|0,i+=(n^e&(t^n))+o[13]-40341101,i=(i<<12|i>>>20)+e|0,n+=(t^i&(e^t))+o[14]-1502002290,n=(n<<17|n>>>15)+i|0,t+=(e^n&(i^e))+o[15]+1236535329,t=(t<<22|t>>>10)+n|0,e+=(n^i&(t^n))+o[1]-165796510,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[6]-1069501632,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[11]+643717713,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[0]-373897302,t=(t<<20|t>>>12)+n|0,e+=(n^i&(t^n))+o[5]-701558691,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[10]+38016083,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[15]-660478335,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[4]-405537848,t=(t<<20|t>>>12)+n|0,e+=(n^i&(t^n))+o[9]+568446438,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[14]-1019803690,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[3]-187363961,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[8]+1163531501,t=(t<<20|t>>>12)+n|0,e+=(n^i&(t^n))+o[13]-1444681467,e=(e<<5|e>>>27)+t|0,i+=(t^n&(e^t))+o[2]-51403784,i=(i<<9|i>>>23)+e|0,n+=(e^t&(i^e))+o[7]+1735328473,n=(n<<14|n>>>18)+i|0,t+=(i^e&(n^i))+o[12]-1926607734,t=(t<<20|t>>>12)+n|0,a=t^n,e+=(a^i)+o[5]-378558,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[8]-2022574463,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[11]+1839030562,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[14]-35309556,t=(t<<23|t>>>9)+n|0,a=t^n,e+=(a^i)+o[1]-1530992060,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[4]+1272893353,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[7]-155497632,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[10]-1094730640,t=(t<<23|t>>>9)+n|0,a=t^n,e+=(a^i)+o[13]+681279174,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[0]-358537222,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[3]-722521979,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[6]+76029189,t=(t<<23|t>>>9)+n|0,a=t^n,e+=(a^i)+o[9]-640364487,e=(e<<4|e>>>28)+t|0,i+=(a^e)+o[12]-421815835,i=(i<<11|i>>>21)+e|0,r=i^e,n+=(r^t)+o[15]+530742520,n=(n<<16|n>>>16)+i|0,t+=(r^n)+o[2]-995338651,t=(t<<23|t>>>9)+n|0,e+=(n^(t|~i))+o[0]-198630844,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[7]+1126891415,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[14]-1416354905,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[5]-57434055,t=(t<<21|t>>>11)+n|0,e+=(n^(t|~i))+o[12]+1700485571,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[3]-1894986606,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[10]-1051523,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[1]-2054922799,t=(t<<21|t>>>11)+n|0,e+=(n^(t|~i))+o[8]+1873313359,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[15]-30611744,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[6]-1560198380,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[13]+1309151649,t=(t<<21|t>>>11)+n|0,e+=(n^(t|~i))+o[4]-145523070,e=(e<<6|e>>>26)+t|0,i+=(t^(e|~n))+o[11]-1120210379,i=(i<<10|i>>>22)+e|0,n+=(e^(i|~t))+o[2]+718787259,n=(n<<15|n>>>17)+i|0,t+=(i^(n|~e))+o[9]-343485551,t=(t<<21|t>>>11)+n|0,this.first?(this.h0=e+1732584193|0,this.h1=t-271733879|0,this.h2=n-1732584194|0,this.h3=i+271733878|0,this.first=!1):(this.h0=this.h0+e|0,this.h1=this.h1+t|0,this.h2=this.h2+n|0,this.h3=this.h3+i|0)},Md5.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3;return HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3;return[255&e,e>>8&255,e>>16&255,e>>24&255,255&t,t>>8&255,t>>16&255,t>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var e,t,n,i="",a=this.array(),r=0;r<15;)e=a[r++],t=a[r++],n=a[r++],i+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[63&(e<<4|t>>>4)]+BASE64_ENCODE_CHAR[63&(t<<2|n>>>6)]+BASE64_ENCODE_CHAR[63&n];return e=a[r],i+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[e<<4&63]+"==",i};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()},6909:function(e,t,n){"use strict";var i=n(7223);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=i.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},6955:function(e,t,n){"use strict";var i=n(2140),a=n(4901),r=n(2195),o=n(8227),s=o("toStringTag"),l=Object,c="Arguments"===r(function(){return arguments}()),d=function(e,t){try{return e[t]}catch(n){}};e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=d(t=l(e),s))?n:c?r(t):"Object"===(i=r(t))&&a(t.callee)?"Arguments":i}},6969:function(e,t,n){"use strict";var i=n(2777),a=n(757);e.exports=function(e){var t=i(e,"string");return a(t)?t:t+""}},6979:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData,getLangChange:e.getLangChange}},"BaseComp",e.$attrs,!1),[t("div",{staticClass:"sp-gather wow animate__fadeInUp"},[e._l(e.classifyItemTab,(function(i,a){return t("div",{directives:[{name:"show",rawName:"v-show",value:e.checkHasDispayType(i),expression:"checkHasDispayType(item)"}],key:a,staticClass:"classify-gather",attrs:{id:i.documentId}},[t("div",{class:["classify-gather_header","classify-topbdr","classify-bottombdr",e.expend==i.shopCategoryId?"unfold":""]},[t("section",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"classify-gather_headerbox",attrs:{id:"btn_servicePlan_00"+a},on:{click:function(t){return e.expendCategory(i)}}},[t("CmhkImg",{tag:"component",staticClass:"classify-gather_port",attrs:{src:i.maxPicId,alt:i.shopCategoryName}}),t("div",{staticClass:"classify-gather_label"},[t("p",{staticClass:"main-text"},[e._v(e._s(i.shopCategoryName))])]),[t("img",{directives:[{name:"show",rawName:"v-show",value:e.expend==i.shopCategoryId,expression:"expend == item.shopCategoryId"}],staticClass:"fold-button",attrs:{src:n(8918),alt:e.$t("imgAlt.MinusButton"),id:"img_servicePlan_00"+a},on:{click:function(t){t.stopPropagation(),e.expend=""}}}),t("img",{directives:[{name:"show",rawName:"v-show",value:e.expend!==i.shopCategoryId,expression:"expend !== item.shopCategoryId"}],staticClass:"fold-button",attrs:{src:n(5265)(`./gather-fold${i.colorStyleType?i.colorStyleType:"01"}.png`),alt:e.$t("imgAlt.AddButton"),id:"img_servicePlan_10"+a},on:{click:function(t){return t.stopPropagation(),e.openThirdCategory(i)}}})]],2)])]),e.expend==i.shopCategoryId?t("div",{staticClass:"classify-gather_content"},[e.thirdCateGoryList.length>0?t("div",{staticClass:"can-choose_class"},[t("section",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"classify-lgtab"},e._l(e.thirdCateGoryList,(function(n,i){return t("div",{key:`thirdCate${i}`,staticClass:"classify-lgtab_item",class:[n.shopCategoryId==e.selectThirdCategory?"active":""],attrs:{id:"btn_servicePlan_10"+i},on:{click:function(t){return e.clickThirdCategory(n)}}},[e._v(" "+e._s(n.shopCategoryName)+" ")])})),0)])]):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:i.recommendation,expression:"item.recommendation"}],staticClass:"can-choose_tips"},[t("section",{staticClass:"cmhk-home_main"},[t("p",{staticClass:"can-choose_tips_label"},[t("i",{staticClass:"el-icon-warning-outline"}),t("span",[e._v(e._s(i.recommendation))])])])]),t("div",{staticClass:"can-choose_moreclass"},[t("section",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"flex-box align-c classify-smbox"},[e._l(e.paramList,(function(n,i){return t("div",{directives:[{name:"show",rawName:"v-show",value:n.paramValueList.length>2,expression:"paramitem.paramValueList.length > 2"}],key:`param${i}`,staticClass:"classify-smtab mgr-40"},[t("p",[e._v(e._s(e.$t("servicePlan.choose"))+e._s(n.paramName))]),t("div",{staticClass:"classify-smtab_wapper"},e._l(n.paramValueList,(function(i,a){return t("div",{key:`paramValue${a}`,staticClass:"classify-smtab_item",class:[i.select?"active":""],attrs:{id:"btn_servicePlan_20"+a},on:{click:function(t){return e.clickParam(n.paramValueList,i)}}},[e._v(" "+e._s(i.paramValue)+" ")])})),0)])})),e._l(e.specList,(function(n,i){return n.specDictList.length>2?t("div",{key:`spec${i}`,staticClass:"classify-smtab"},[t("p",[e._v(e._s(e.$t("servicePlan.choose"))+e._s(n.specName))]),t("div",{staticClass:"classify-smtab_wapper"},e._l(n.specDictList,(function(i,a){return t("div",{directives:[{name:"show",rawName:"v-show",value:n.specDictList.length>0,expression:"itemspec.specDictList.length > 0"}],key:`specDict${a}`,staticClass:"classify-smtab_item",class:[i.select?"active":""],attrs:{id:"btn_servicePlan_30"+a},on:{click:function(t){return e.clickSpec(n.specDictList,i)}}},[e._v(" "+e._s(i.specDictValue)+" ")])})),0)]):e._e()}))],2)])]),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"can-choose_result"},[t("section",{staticClass:"cmhk-home_main"},[t("p",{staticClass:"result-number"},[t("span",[e._v(e._s(e.$t("servicePlan.allPlan1")))]),t("span",{staticClass:"result-val"},[e._v(e._s(e.totalCount))]),t("span",[e._v(e._s(e.$t("servicePlan.allPlan2")))])]),t("div",{staticClass:"flex-wapper sper-32 layout-allwidth justify-start mobile-change layout-pc",staticStyle:{position:"relative"}},e._l(e.gbList,(function(n,i){var a;return t("div",{key:`gb${i}`,staticClass:"flex-wapper_item"},[t("div",{staticClass:"serviceplan-result",class:["en-US"==e.$i18n.locale?"lang-en":""]},[e._l(null===n||void 0===n?void 0:n.malltCommodityTags,(function(e,n){return t("CmhkImg",{key:e.tagId,tag:"component",staticClass:"serviceplan-result_lttag_img",attrs:{src:e.pictureUrl,alt:""}})})),t("div",{staticClass:"serviceplan-result_header",class:e.getColor(n.colorStyleType)},[t("p",{staticClass:"serviceplan-result_maintext"},[e._v(" "+e._s(n.commodityTitle)+" ")])]),t("div",{staticClass:"flex-wapper_imagebox"},[t("CmhkImg",{tag:"component",staticClass:"card-spimage",attrs:{src:n.maxPicId,alt:n.commodityTitle}})],1),t("div",{staticClass:"content-wapper"},[t("div",{staticClass:"index-wapper"},[t("div",{staticClass:"index-wapper_item"},[t("p",{directives:[{name:"show",rawName:"v-show",value:1==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 1"}]},[e._v(" "+e._s(e.$t("servicePlan.AvgMonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:2==n.servicePlanFeeType||!n.servicePlanFeeType,expression:"\n gbitem.servicePlanFeeType == 2 ||\n !gbitem.servicePlanFeeType\n "}]},[e._v(" "+e._s(e.$t("servicePlan.MonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:3==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 3"}]},[e._v(" "+e._s(e.$t("servicePlan.FullPeriodFee"))+" ")]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"price spc-font mini"},[e._v("HK$")]),t("span",{staticClass:"price spc-font"},[e._v(e._s(e.dealMount(n.averageMonthlyFee)))]),t("span",{directives:[{name:"show",rawName:"v-show",value:"Y"==n.isShowStarting,expression:"gbitem.isShowStarting == 'Y'"}],staticClass:"subtext spc-font"},[e._v(e._s(e.$t("servicePlan.content19")))])])]),t("div",{staticClass:"index-wapper_item"},[t("p",[e._v(e._s(e.$t("servicePlan.content14")))]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"bk-data spc-font"},[e._v(e._s(e.getLocalGb(n.malltCommodityParam)))])])]),t("div",{staticClass:"index-wapper_item fixed-width"},[t("p",[e._v(e._s(e.$t("servicePlan.content15")))]),t("div",{staticClass:"index-wapper_itemval_box"},e._l(null===(a=n.malltCommoditySpec[0])||void 0===a?void 0:a.specDictList,(function(i,a){var r;return t("div",{key:`specDic${a}`,staticClass:"index-wapper_itemval align-c"},[t("span",{staticClass:"wapper-button",class:[(null===(r=n.malltCommoditySpec[0])||void 0===r?void 0:r.specDictList.length)<3?"wapper-button_long":""]},[e._v(e._s(e._f("replaceMonth")(i.specDictName)))])])})),0)])]),t("div",{staticClass:"line-wapper"},[t("p",{staticClass:"line-favour_p"},[e._v(" "+e._s(e.$t("servicePlan.content16"))+" ")]),t("div",{staticClass:"line-decor"})]),t("div",{staticClass:"favour-wapper",class:e.favoourFlag?"":"wapper-down"},e._l(n.youhuiList,(function(i,a){return(e.favoourFlag?a<3:a<n.youhuiList.length)?t("div",{key:`youhui${a}`,staticClass:"favour-wapper_item",class:[""==i.groupName?"":"autoHeight"]},[t("CmhkImg",{tag:"component",staticClass:"star-decor",attrs:{src:i.preferentialDetails[0]?i.preferentialDetails[0].preImgPc:"",alt:"图标"}}),""==i.groupName?e._l(i.preferentialDetails,(function(n,i){return t("span",[e._v(e._s(n.preDesc))])})):[t("span",{staticStyle:{overflow:"visible","-webkit-line-clamp":"unset"}},[e._v(e._s(i.groupName)+" "),e._l(i.preferentialDetails,(function(t,n){return[e._v(e._s(t.preDesc)+e._s(n+1<i.preferentialDetails.length?"/":""))]}))],2)]],2):e._e()})),0),t("div",{staticClass:"see-details_wapper"},[n.youhuiList&&n.youhuiList.length>3?t("p",{staticClass:"favour-wapper-down",class:e.favoourFlag?"":"wapper-down",on:{click:e.favoourClick}},[e._v(" "+e._s(e.favoourText)),t("i",{staticClass:"el-icon-arrow-down"})]):e._e(),t("button",{staticClass:"card-btbtn have-arrow mgt-16",attrs:{id:"btn_servicePlan_40"+i},on:{click:function(t){return e.link(n)}}},[t("span",[e._v(e._s(e.$t("servicePlan.content18")))])])])])],2)])})),0),t("div",{staticClass:"plan-card-mobile-swiper layout-mobile",attrs:{id:`plan-card-swiper${e.data.componentId}`}},[t("div",{staticClass:"swiper-wrapper"},e._l(e.gbList,(function(n,i){var a;return t("div",{key:`gb${n.commodityId}`,staticClass:"swiper-slide"},[t("div",{staticClass:"serviceplan-result",class:["en-US"==e.$i18n.locale?"lang-en":""]},[e._l(null===n||void 0===n?void 0:n.malltCommodityTags,(function(e,n){return t("CmhkImg",{key:e.tagId,tag:"component",staticClass:"serviceplan-result_lttag_img",attrs:{src:e.pictureUrl,alt:""}})})),t("div",{staticClass:"serviceplan-result_header",class:e.getColor(n.colorStyleType)},[t("p",{staticClass:"serviceplan-result_maintext"},[e._v(" "+e._s(n.commodityTitle)+" ")])]),t("div",{staticClass:"flex-wapper_imagebox"},[t("CmhkImg",{tag:"component",staticClass:"card-spimage",attrs:{src:n.maxPicId,alt:n.commodityTitle}})],1),t("div",{staticClass:"content-wapper"},[t("div",{staticClass:"index-wapper"},[t("div",{staticClass:"index-wapper_item"},[t("p",{directives:[{name:"show",rawName:"v-show",value:1==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 1"}]},[e._v(" "+e._s(e.$t("servicePlan.AvgMonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:2==n.servicePlanFeeType||!n.servicePlanFeeType,expression:"\n gbitem.servicePlanFeeType == 2 ||\n !gbitem.servicePlanFeeType\n "}]},[e._v(" "+e._s(e.$t("servicePlan.MonthlyFee"))+" ")]),t("p",{directives:[{name:"show",rawName:"v-show",value:3==n.servicePlanFeeType,expression:"gbitem.servicePlanFeeType == 3"}]},[e._v(" "+e._s(e.$t("servicePlan.FullPeriodFee"))+" ")]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"price spc-font mini"},[e._v("HK$")]),t("span",{staticClass:"price spc-font"},[e._v(e._s(e.dealMount(n.averageMonthlyFee)))]),t("span",{directives:[{name:"show",rawName:"v-show",value:"Y"==n.isShowStarting,expression:"gbitem.isShowStarting == 'Y'"}],staticClass:"subtext spc-font"},[e._v(e._s(e.$t("servicePlan.content19")))])])]),t("div",{staticClass:"index-wapper_item"},[t("p",[e._v(e._s(e.$t("servicePlan.content14")))]),t("div",{staticClass:"index-wapper_itemval"},[t("span",{staticClass:"bk-data spc-font"},[e._v(e._s(e.getLocalGb(n.malltCommodityParam)))])])]),t("div",{staticClass:"index-wapper_item fixed-width"},[t("p",[e._v(e._s(e.$t("servicePlan.content15")))]),t("div",{staticClass:"index-wapper_itemval_box"},e._l(null===(a=n.malltCommoditySpec[0])||void 0===a?void 0:a.specDictList,(function(i,a){var r;return t("div",{key:`specDic${a}`,staticClass:"index-wapper_itemval align-c"},[t("span",{staticClass:"wapper-button",class:[(null===(r=n.malltCommoditySpec[0])||void 0===r?void 0:r.specDictList.length)<3?"wapper-button_long":""]},[e._v(e._s(e._f("replaceMonth")(i.specDictName)))])])})),0)])]),t("div",{staticClass:"line-wapper"},[t("p",{staticClass:"line-favour_p"},[e._v(" "+e._s(e.$t("servicePlan.content16"))+" ")]),t("div",{staticClass:"line-decor"})]),t("div",{staticClass:"favour-wapper",class:e.favoourFlag?"":"wapper-down"},e._l(n.youhuiList,(function(i,a){return(e.favoourFlag?a<3:a<n.youhuiList.length)?t("div",{key:`youhui${a}`,staticClass:"favour-wapper_item",class:[""==i.groupName?"":"autoHeight"]},[t("CmhkImg",{tag:"component",staticClass:"star-decor",attrs:{src:i.preferentialDetails[0]?i.preferentialDetails[0].preImgPc:"",alt:"图标"}}),""==i.groupName?e._l(i.preferentialDetails,(function(n,i){return t("span",[e._v(e._s(n.preDesc))])})):[t("span",{staticStyle:{overflow:"visible","-webkit-line-clamp":"unset"}},[e._v(e._s(i.groupName)+" "),e._l(i.preferentialDetails,(function(t,n){return[e._v(e._s(t.preDesc)+e._s(n+1<i.preferentialDetails.length?"/":""))]}))],2)]],2):e._e()})),0),t("div",{staticClass:"see-details_wapper"},[n.youhuiList&&n.youhuiList.length>3?t("p",{staticClass:"favour-wapper-down",class:e.favoourFlag?"":"wapper-down",on:{click:e.favoourClick}},[e._v(" "+e._s(e.favoourText)),t("i",{staticClass:"el-icon-arrow-down"})]):e._e(),t("button",{staticClass:"card-btbtn have-arrow mgt-16",on:{click:function(t){return e.link(n)}}},[t("span",[e._v(e._s(e.$t("servicePlan.content18")))])])])])],2)])})),0)])])])]):e._e()])})),t("el-skeleton",{staticStyle:{width:"100%"},attrs:{loading:0==e.classifyItemTab.length}},[t("template",{slot:"template"},[t("div",{staticStyle:{display:"flex","align-items":"flex-start",padding:"3rem 1.5rem","margin-left":"2rem"}},[t("el-skeleton-item",{staticStyle:{width:"5.5rem",height:"5.5rem"},attrs:{variant:"rect"}}),t("div",{staticStyle:{"padding-left":"1.875rem",width:"75%","line-height":"2rem"}},[t("el-skeleton-item",{staticStyle:{width:"45%"},attrs:{variant:"h1"}}),t("el-skeleton-item",{attrs:{variant:"p"}}),t("el-skeleton-item",{attrs:{variant:"p"}}),t("el-skeleton-item",{attrs:{variant:"p"}}),t("el-skeleton-item",{staticStyle:{width:"45%"},attrs:{variant:"p"}}),t("span",[e._v("loading···")])],1)],1)])],2),t("com-dialog",{staticClass:"ispc-popup",attrs:{visible:e.tipsDialogVisible,height:"450px",width:"768px","max-width":"768px","max-height":"450px"},on:{"update:visible":function(t){e.tipsDialogVisible=t}}},[t("div",{staticClass:"pcdialog-header"},[t("div",{staticClass:"pcdialog-title"}),t("img",{staticClass:"default-pcdialogclose",attrs:{src:n(550),alt:""},on:{click:e.closeTipsDialog}})]),t("div",{staticClass:"pcdialog-container"},[t("div",{staticClass:"error-dialog_wapper"},[t("div",{staticClass:"error-header"},[t("img",{staticClass:"common-error_image",attrs:{src:n(5564)}})]),t("div",{staticClass:"error-labelbox"},[t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.detailFirst)+" "),"LiveChatLink"==e.errorDetail.clickLink?t("LiveChatLink",{tag:"component",staticClass:"alink"},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]):t("cmhkALabel",{tag:"component",staticClass:"alink",attrs:{href:e.errorDetail.clickLink}},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]),e._v(" "+e._s(e.errorDetail.detailLast)+" ")],1),t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.errorCodeDes)+e._s(e.errorDetail.errorCode)+" ")])])])]),t("div",{staticClass:"pcdialog-footer pcdialog-footer_flex"},[t("button",{staticClass:"primary-btn btn-h_md w420",on:{click:e.closeTipsDialog}},[t("span",[e._v(e._s(e.errorDetail.surebtn))])])])]),t("app-popup",{staticClass:"isapp-popup",attrs:{visible:e.tipsAppupVisible,height:"auto",fillet:!0},on:{"update:visible":function(t){e.tipsAppupVisible=t}}},[t("div",{staticClass:"dialog-header"},[t("div",{staticClass:"dialog-title"}),t("img",{staticClass:"default-dialogclose",attrs:{src:n(550),alt:""},on:{click:e.closeTipsAppup}})]),t("div",{staticClass:"popup-main error-main"},[t("div",{staticClass:"error-dialog_wapper"},[t("div",{staticClass:"error-header"},[t("img",{staticClass:"common-error_image",attrs:{src:n(5564)}})]),t("div",{staticClass:"error-labelbox"},[t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.detailFirst)+" "),"LiveChatLink"==e.errorDetail.clickLink?t("LiveChatLink",{tag:"component",staticClass:"alink"},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]):t("cmhkALabel",{tag:"component",staticClass:"alink",attrs:{href:e.errorDetail.clickLink}},[e._v(" "+e._s(e.errorDetail.clickHere)+" ")]),e._v(" "+e._s(e.errorDetail.detailLast)+" ")],1),t("p",{staticClass:"error-labelbox_des"},[e._v(" "+e._s(e.errorDetail.errorCodeDes)+e._s(e.errorDetail.errorCode)+" ")])])])]),t("div",{staticClass:"popup-footer pcdialog-footer_flex"},[t("button",{staticClass:"primary-btn btn-h_big w40",on:{click:e.closeTipsAppup}},[t("span",[e._v(e._s(e.errorDetail.surebtn))])])])])],2)])},a=[],r=(n(4114),n(8111),n(7588),n(1701),n(8237),n(4872)),o=n.n(r),s=n(9846),l=(n(2773),n(8731)),c=n(392),d=n(7396),u=n(5495);const p=[{name:"999999",message:{detailFirst:"對唔住😢 網站異常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"聯絡客户服務專員協助。",errorCodeDes:"錯誤碼:",errorCode:"999999",surebtn:"確認"},message_zh:{detailFirst:"对不起😢 网站异常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"联络客户服务专员协助。",errorCodeDes:"错误码:",errorCode:"999999",surebtn:"确认"},message_en:{detailFirst:"Sorry😢 The website is abnormal, you can click ",clickHere:" HERE ",clickLink:"LiveChatLink",detailLast:"to contact Live Agent for assistance.",errorCodeDes:"Error code:",errorCode:"999999",surebtn:"confirm"}}],f=[{name:"999999",message:{detailFirst:"對唔住😢 網站異常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"聯絡客户服務專員協助。",errorCodeDes:"錯誤碼:",errorCode:"999999",surebtn:"確認"},message_zh:{detailFirst:"对不起😢 网站异常,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"联络客户服务专员协助。",errorCodeDes:"错误码:",errorCode:"999999",surebtn:"确认"},message_en:{detailFirst:"Sorry😢 The website is abnormal, you can click ",clickHere:" HERE ",clickLink:"LiveChatLink",detailLast:"to contact Live Agent for assistance.",errorCodeDes:"Error code:",errorCode:"999999",surebtn:"confirm"}},{name:"120041",message:{detailFirst:"對唔住😢 商品已經不存在,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:" 聯絡客户服務專員協助。",errorCodeDes:"錯誤碼",errorCode:"120041",surebtn:"確認"},message_zh:{detailFirst:"对不起😢 商品已经不存在,你可以",clickHere:" 按此 ",clickLink:"LiveChatLink",detailLast:"联络客户服务专员协助。",errorCodeDes:" 错误码",errorCode:"120041",surebtn:"确认"},message_en:{detailFirst:"Sorry😢 The product no longer exists, you can click",clickHere:" HERE ",clickLink:"LiveChatLink",detailLast:" to contact Live Agent for assistance.",errorCodeDes:"Error code",errorCode:"120041",surebtn:"confirm"}}],h=(e,t,n)=>{var i=t.$i18n.locale||"zh-HK";let a=(n||"").replaceAll("-","");var r="";for(let o of e)if(o.name===a){r="zh-HK"===i?o.message:"zh-CN"===i?o.message_zh:o.message_en;break}return r};var m={name:"cms-servePlan-tab",components:{BaseComp:c["default"],AppPopup:()=>Promise.resolve().then(n.bind(n,7861)),ComDialog:()=>Promise.resolve().then(n.bind(n,1870))},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:""}},data(){return{loading:!1,colorList:["hk-gradient-blue-cyan","btn-stcost","btn-fm","tag-blue","hk-gradient-pink-light"],classifyItemTab:[],thirdCateGoryList:[],selectThirdCategory:"",paramList:[],specList:[],param:[],epps:[],gbList:[],page:{currentPage:1,pageSize:100},totalCount:0,expend:"",saveExpend:"",dispayType:"",noThirdCategory:!1,tipsDialogVisible:!1,tipsAppupVisible:!1,errorDetail:{},clickElemId:"",parentShopCategoryId:"",favoourText:this.$t("broadband.expend"),favoourFlag:!0,messageSwiper:null,swiperNewsIdx:0,configData:{},jumpUrl:this.$route&&"https://omniapi.hk.chinamobile.com",firstComming:!0}},async mounted(){var e,t,n,i,a,r;if(this.expend=(null===(e=this.$route)||void 0===e||null===(t=e.query)||void 0===t?void 0:t.shopCategoryId)||"",this.saveExpend=(null===(n=this.$route)||void 0===n||null===(i=n.query)||void 0===i?void 0:i.shopCategoryId)||"",this.dispayType=(null===(a=this.$route)||void 0===a||null===(r=a.query)||void 0===r?void 0:r.dispayType)||"all",window.__POWERED_BY_WUJIE__){var o;let e=(null===(o=window.$wujie)||void 0===o?void 0:o.props.data.busiData)||{};this.expend=e.shopCategoryId||"",this.saveExpend=e.shopCategoryId||"",this.dispayType=e.dispayType||"all",this.parentShopCategoryId=e.parentShopCategoryId||""}this.$EventBus||this.isOpcacity||(this.$EventBus||(this.jumpUrl=(0,d.getCompBaseUrl)()),this.jumpUrl=this.$EventBus?this.jumpUrl:window.location.origin)},methods:{isMobile(){let e=0;return document.body&&(e=document.body.scrollWidth||document.body.clientWidth),e<800},checkHasDispayType(e){let t=!1;if(this.dispayType){let n=this.expend||this.saveExpend;"all"==this.dispayType||"only"==this.dispayType&&n==e.shopCategoryId?t=!0:"only"!=this.dispayType||n||(t=!1)}else t=!0;return t},dealMount(e){let t=null;return t=e%100==0?e/100:(e/100).toFixed(2),t},getLocalGb(e){let t="";return e.forEach((e=>{"102"==e.paramId&&(t=e.paramValue)})),t},getColor(e){return e||"hk-gradient-blue-cyan"},openThirdCategory(e){this.gbList=[],this.expend=e.shopCategoryId,this.clickElemId=e.documentId,this.$nextTick((()=>{var t;null===(t=window.document.getElementById(`${e.documentId}`))||void 0===t||t.scrollIntoView(!0)})),this.getThirdCateGory()},async getCateGorys(){this.param=[];let e={busInfo:JSON.stringify({state:"1",parentShopCategoryId:this.parentShopCategoryId||"27202301121613495888833286144"})},t=await(0,u.z_)(o().stringify(e));"000000"==t.resCode&&(t.busiResp.busiDataResp&&t.busiResp.busiDataResp.length>0?(this.classifyItemTab=t.busiResp.busiDataResp,this.classifyItemTab.forEach((e=>{e.documentId="id"+e.shopCategoryId})),this.expend||(this.expend=this.classifyItemTab[0].shopCategoryId),this.expend&&this.getThirdCateGory()):(this.isMobile()?this.tipsAppupVisible=!0:this.tipsDialogVisible=!0,this.errorDetail=h(p,this,"999999"),this.errorDetail.errorCode="["+t.resCode+"]"))},async getThirdCateGory(){this.param=[],this.thirdCateGoryList=[],this.noThirdCategory=!1;let e={busInfo:JSON.stringify({state:"1",parentShopCategoryId:this.expend})},t=await(0,u.z_)(o().stringify(e));"000000"==t.resCode&&(t.busiResp.busiDataResp&&t.busiResp.busiDataResp.length>0?(this.thirdCateGoryList=t.busiResp.busiDataResp,this.$route.query.subCategoryId?this.selectThirdCategory=this.$route.query.subCategoryId:this.selectThirdCategory=this.thirdCateGoryList[0].shopCategoryId):this.noThirdCategory=!0,this.getSpecData())},async getSpecData(){this.paramList=[],this.specList=[];let e={busInfo:JSON.stringify({shopCategoryId:this.noThirdCategory?this.expend:this.selectThirdCategory})};try{let i=await(0,u.oJ)(o().stringify(e));if("000000"==i.resCode){var t,n;let e=["zh-CN","zh-HK","en-US"],a=["全部","全部","ALL"],r=a[e.indexOf(this.$i18n.locale)];(null===(t=i.busiResp.busiDataResp.paramList)||void 0===t?void 0:t.length)>0&&(i.busiResp.busiDataResp.paramList.map((e=>{e.paramValueList.length>0&&(e.paramValueList.unshift({paramValue:r,select:!0}),e.paramValueList.map((e=>{e.paramValue!=r&&(e.select=!1)})))})),this.paramList=i.busiResp.busiDataResp.paramList),(null===(n=i.busiResp.busiDataResp.specList)||void 0===n?void 0:n.length)>0&&(i.busiResp.busiDataResp.specList.map((e=>{e.specDictList.length>0&&(e.specDictList.unshift({specDictValue:r,specDictId:"",select:!0}),e.specDictList.map((e=>{""!==e.specDictId&&(e.select=!1)})))})),this.specList=i.busiResp.busiDataResp.specList)}}catch(i){console.log(i)}this.getShopsCategoryData()},clickThirdCategory(e){this.selectThirdCategory=e.shopCategoryId,this.param=[],this.getSpecData()},clickParam(e,t){t.select=!t.select;let n=["zh-CN","zh-HK","en-US"],i=["全部","全部","ALL"],a=i[n.indexOf(this.$i18n.locale)];if(t.paramValue==a&&t.select)for(let r=1;r<e.length;r++)e[r].select=!1;t.paramValue!=a&&(e[0].select=!1),this.getSearchParams()},clickSpec(e,t){if(t.select=!t.select,!t.specDictId&&t.select)for(let n=1;n<e.length;n++)e[n].select=!1;""!=t.specDictId&&(e[0].select=!1),this.getSearchParams()},getSearchParams(){this.param=[],this.epps=[];let e=["zh-CN","zh-HK","en-US"],t=["全部","全部","ALL"],n=t[e.indexOf(this.$i18n.locale)];this.paramList.forEach((e=>{e.paramValueList.forEach((t=>{t.select&&t.paramValue!=n&&this.param.push({paramId:e.paramId,paramValue:t.paramValue})}))})),this.specList.forEach((e=>{e.specDictList.map((e=>{e.select&&e.specDictId&&this.epps.push({specDictId:e.specDictId})}))})),this.getShopsCategoryData()},async getShopsCategoryData(){this.loading=!0;const e=this;this.gbList=[];let t={busInfo:JSON.stringify({shopCategoryId:this.noThirdCategory?this.expend:this.selectThirdCategory,params:this.param,epps:this.epps,page:this.page,channelId:(0,d.getCmhkChannelMx)(),commodityTypes:["501"]})};try{let a=await(0,u.nP)(o().stringify(t));var n,i;if("000000"==a.resCode)this.totalCount=(null===(n=a.busiResp)||void 0===n||null===(i=n.page)||void 0===i?void 0:i.totalCount)||0,this.gbList=a.busiResp.busiDataResp,console.log("gbList",this.gbList),this.gbList.forEach((e=>{let t={busInfo:JSON.stringify({priceId:e.malltCommodityPrice[0].priceId,channelId:(0,d.getCmhkChannelMx)(),dealerId:sessionStorage.getItem("staffId")})};this.getYouhui(t,e)})),this.loading=!1,this.swiperNewsIdx=0,this.messageSwiper&&this.messageSwiper.destroy(!0,!0),this.$nextTick((()=>{var t;e.messageSwiper=new l.A(`#plan-card-swiper${this.data.componentId}`,{autoplay:!1,loop:!1,slidesPerView:"mobile"!==(0,s.Pf)()?3:1,observer:!0,observeParents:!0,touchMoveStopPropagation:!0,on:{slideChangeTransitionEnd:function(){"mobile"!==(0,s.Pf)()?e.swiperNewsIdx=this.realIndex+2:e.swiperNewsIdx=this.realIndex,console.log("新闻-当前页最后一个元素下标",(0,s.Pf)(),this.realIndex)},resize:function(){this.update(!0)}}}),null===(t=window.document.getElementById(`${this.clickElemId}`))||void 0===t||t.scrollIntoView(!0)}));else this.loading=!1,this.isMobile()?this.tipsAppupVisible=!0:this.tipsDialogVisible=!0,this.errorDetail=h(f,this,a.resCode),this.errorDetail||(this.errorDetail=h(f,this,"999999")),this.errorDetail.errorCode="["+a.resCode+"]"}catch{this.loading=!1}},async getYouhui(e,t){let n=[],i=await(0,u.Xn)(o().stringify(e));if("000000"==i.resCode){let e=i.busiResp.busiDataResp.preferentialInfoList;e.forEach((e=>{if("STYH"==e.code){let t=e.preferentialGroupList;t.map((e=>{""!=e.groupName&&n.push(e)})),t.map((e=>{""==e.groupName&&e.preferentialDetails.map((e=>{n.push({groupName:"",preferentialDetails:[e]})}))}))}})),this.$set(t,"youhuiList",n)}},expendCategory(e){this.expend=this.expend==e.shopCategoryId?"":e.shopCategoryId,this.expend&&this.openThirdCategory(e)},closeTipsDialog(){this.tipsDialogVisible=!1},closeTipsAppup(){this.tipsAppupVisible=!1},favoourClick(){this.favoourFlag?(this.favoourFlag=!1,this.favoourText=this.$t("serviceDes.close")):(this.favoourFlag=!0,this.favoourText=this.$t("broadband.expend"))},toPage(e,t){const n={"zh-CN":"sc","zh-HK":"tc","en-US":"en"},i=t?"home-corp/sme/detail":"home/plan/detail",a=Object.keys(e).reduce(((t,n,i)=>i?`${t}&${n}=${e[n]}`:`${n}=${e[n]}`),"");let r=`${this.jumpUrl}/${n[this.lang]}/${i}?${a}&cmhkChannel=${(0,d.getCmhkChannelMx)()}`;window.location.href=r},link(e){if(window.__POWERED_BY_WUJIE__){var t;null===(t=window.$wujie)||void 0===t||t.bus.$emit("jumpToServicePlanDetail",{commodityId:e.commodityId,isBr:this.isBr})}else{let t={commodityId:e.commodityId};this.isBr&&(t={...t,isBr:this.isBr}),this.toPage(t,this.isBr)}},getConfigData(e){this.configData=e,this.parentShopCategoryId!=e.argument1&&(this.parentShopCategoryId=e.argument1,this.getCateGorys())},getLangChange(){!this.firstComming&&this.getCateGorys(),this.firstComming=!1}},computed:{isBr(){const e="27202306211671456568424927232";return this.parentShopCategoryId==e}},filters:{replaceMonth(e){const t=new RegExp("月","ig"),n=new RegExp("Months","ig");return e?e.replace(t,"").replace(n,""):""}}},g=m,v=n(1656),y=(0,v.A)(g,i,a,!1,null,"ff206690",null),b=y.exports},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6992:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("section",{staticClass:"cms-text-container",class:[`align-${e.configData.textAlign||"left"}`,e.configData.customClass||"",{"has-link":e.configData.linkUrl,"cmhk-home_main":e.showCmhkMain,"hover-effect":e.configData.hoverEffect&&e.configData.linkUrl}],style:e.containerStyle,attrs:{"aria-label":e.configData.ariaLabel,tabindex:e.configData.tabIndex,role:e.configData.role,title:e.configData.seoTitle||e.configData.seoDescription},on:{click:e.handleClick}},[t("div",{staticClass:"text-content",class:e.configData.textType,style:e.textStyle},e._l(e.textLines,(function(n,i){return t("p",{key:i,staticClass:"text-line",style:e.lineStyle},[e._v(" "+e._s(n)+" ")])})),0),e.configData.linkUrl&&e.configData.showLinkIcon?t("div",{staticClass:"link-indicator"},[t("i",{staticClass:"el-icon-link"})]):e._e()])])},a=[],r=(n(8111),n(2489),n(7588),n(392)),o={name:"cms-text",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"},showCmhkMain:{type:Boolean,default:!0}},data(){return{configData:{},defaultConfig:{textContent:"请输入文本内容",enableLineBreak:!0,textAlign:"left",letterSpacing:0,fontColor:"#333333",fontStyle:"normal",textDecoration:"none",paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,backgroundColor:"",borderRadius:0,boxShadow:"",linkUrl:"",linkTarget:"_self",showLinkIcon:!1,hoverEffect:!1,customClass:"",customStyle:"",enableAnimation:!1,animationType:"fadeIn",animationDuration:300,ariaLabel:"",tabIndex:0,role:"",seoTitle:"",seoDescription:"",mobileTextAlign:"",mobileFontSize:0,tabletFontSize:0}}},mounted(){this.initConfigData(),this.setCSSVariables()},watch:{configData:{handler(){this.updateStyles()},deep:!0}},computed:{textLines(){return this.configData.textContent?this.configData.enableLineBreak?this.configData.textContent.split("\n").filter((e=>""!==e.trim())):[this.configData.textContent]:[]},containerStyle(){const e={...this.defaultConfig,...this.configData};let t=`${e.marginTop}px ${e.marginRight}px ${e.marginBottom}px ${e.marginLeft}px`;return this.showCmhkMain&&!(parseInt(e.marginTop)||parseInt(e.marginRight)||parseInt(e.marginBottom)||parseInt(e.marginLeft))&&(t="0 auto"),{padding:`${e.paddingTop}px ${e.paddingRight}px ${e.paddingBottom}px ${e.paddingLeft}px`,margin:t,backgroundColor:e.backgroundColor||"transparent",border:"none",borderRadius:`${e.borderRadius}px`,boxShadow:e.boxShadow||"none",cursor:e.linkUrl?"pointer":"default",transition:e.hoverEffect?"all 0.3s ease":"none",animation:e.enableAnimation?this.getAnimationStyle():"none",...this.parseCustomStyle(e.customStyle)}},textStyle(){const e={...this.defaultConfig,...this.configData};return{color:e.fontColor,fontStyle:e.fontStyle,textDecoration:e.textDecoration,letterSpacing:`${e.letterSpacing}px`,textAlign:e.textAlign,wordBreak:"break-word",wordWrap:"break-word",cursor:e.linkUrl?"pointer":"default"}},lineStyle(){return{margin:"0",padding:"0"}}},methods:{initConfigData(){this.configData={...this.defaultConfig,...this.configData}},getConfigData(e){this.configData={...this.defaultConfig,...e},this.updateStyles()},updateStyles(){this.$nextTick((()=>{this.setCSSVariables(),this.$forceUpdate()}))},setCSSVariables(){if(!this.$el)return;const e={...this.defaultConfig,...this.configData};e.mobileFontSize>0&&this.$el.style.setProperty("--mobile-font-size",`${e.mobileFontSize}px`),e.tabletFontSize>0&&this.$el.style.setProperty("--tablet-font-size",`${e.tabletFontSize}px`),e.mobileTextAlign&&this.$el.style.setProperty("--mobile-text-align",e.mobileTextAlign)},handleClick(){if(this.configData.linkUrl){const e=this.configData.linkTarget||"_self";"_blank"===e?window.open(this.configData.linkUrl,"_blank"):window.location.href=this.configData.linkUrl}},getAnimationStyle(){const e=this.configData.animationType||this.defaultConfig.animationType,t=this.configData.animationDuration||this.defaultConfig.animationDuration;return this.configData.enableAnimation&&"none"!==e?`${e} ${t}ms ease-in-out`:""},parseCustomStyle(e){if(!e)return{};try{const t={},n=e.split(";");return n.forEach((e=>{const[n,i]=e.split(":");if(n&&i){const e=n.trim().replace(/-([a-z])/g,(e=>e[1].toUpperCase()));t[e]=i.trim()}})),t}catch(t){return console.warn("解析自定义样式失败:",t),{}}},validateTextContent(){const e=this.configData.textContent;return!(!e||""===e.trim())||(console.warn("文本内容为空"),!1)},getPlainTextContent(){return this.configData.textContent||""},getTextLength(){return this.getPlainTextContent().length},copyTextToClipboard(){const e=this.getPlainTextContent();if(navigator.clipboard&&window.isSecureContext)navigator.clipboard.writeText(e).then((()=>{var e;null===(e=this.$message)||void 0===e||e.success("文本已复制到剪贴板")})).catch((e=>{console.error("复制失败:",e)}));else{const i=document.createElement("textarea");i.value=e,document.body.appendChild(i),i.select();try{var t;document.execCommand("copy"),null===(t=this.$message)||void 0===t||t.success("文本已复制到剪贴板")}catch(n){console.error("复制失败:",n)}document.body.removeChild(i)}},highlightText(e){if(!e)return;const t=this.getPlainTextContent(),n=new RegExp(`(${e})`,"gi"),i=t.replace(n,"<mark>$1</mark>");console.log("高亮内容:",i)},getTextStats(){const e=this.getPlainTextContent(),t=e.split(/\s+/).filter((e=>e.length>0)),n=e.split("\n").length,i=e.length,a=e.replace(/\s/g,"").length;return{characters:i,charactersNoSpaces:a,words:t.length,lines:n,paragraphs:e.split(/\n\s*\n/).filter((e=>e.trim().length>0)).length}}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"1dc9451c",null),d=c.exports},7040:function(e,t,n){"use strict";var i=n(4495);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:function(e,t,n){"use strict";var i=n(9504),a=n(9039),r=n(2195),o=Object,s=i("".split);e.exports=a((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?s(e,""):o(e)}:o},7080:function(e,t,n){"use strict";var i=n(4402).has;e.exports=function(e){return i(e),e}},7101:function(e,t,n){"use strict";n.r(t);n(8111),n(8237);const i=n(8607),a=i.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1").replace("/en",""),a=i(t);return e[n]=a.default,e}),{});t["default"]=a},7123:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.BaseComp,e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("div",{staticClass:"cmhk-home_main"},[t("div",{staticClass:"corp-static_wrapper"},[t("div",{staticClass:"corp-static_scene_container"},[t("ul",{staticClass:"clearfix"},e._l(e.configList,(function(i,a){return t("li",{key:`${a}${null===i||void 0===i?void 0:i.id}`,on:{click:function(t){return n.decodeJumpUrl(null===i||void 0===i?void 0:i.jumpUrl,e.$router)}}},[t("div",{staticClass:"card-shadow"},[t("div",{staticClass:"image-desbox_wapper"},[t("img",{staticClass:"scene-image",attrs:{src:n.isMobileHook?null===i||void 0===i?void 0:i.uploadImageH5:null===i||void 0===i?void 0:i.uploadImagePC,alt:null===i||void 0===i?void 0:i.imagePcATL}})]),t("div",{staticClass:"corp-static_scene_content"},[t("p",{staticClass:"title"},[e._v(e._s(i.input1))]),t("p",{staticClass:"des",class:e.panelFold?"des-more":""},[e._v(" "+e._s(null===i||void 0===i?void 0:i.input2)+" ")]),"zh-CN"==e.$i18n.locale&&(null===i||void 0===i?void 0:i.input2.length)>66?t("div",{staticClass:"crad-more",on:{click:function(t){t.stopPropagation(),e.panelFold=!e.panelFold}}},[t("span",{directives:[{name:"show",rawName:"v-show",value:"zh-CN"==e.$i18n.locale,expression:"$i18n.locale == 'zh-CN'"}]},[e._v(e._s(e.panelFold?"收起":"展开")),t("i",{class:e.panelFold?"el-icon-arrow-up":"el-icon-arrow-down"})])]):e._e(),"zh-HK"==e.$i18n.locale&&(null===i||void 0===i?void 0:i.input2.length)>66?t("div",{staticClass:"crad-more",on:{click:function(t){t.stopPropagation(),e.panelFold=!e.panelFold}}},[t("span",[e._v(e._s(e.panelFold?"收起":"展開")),t("i",{class:e.panelFold?"el-icon-arrow-up":"el-icon-arrow-down"})])]):e._e(),"en-US"==e.$i18n.locale&&(null===i||void 0===i?void 0:i.input2.length)>132?t("div",{staticClass:"crad-more",on:{click:function(t){t.stopPropagation(),e.panelFold=!e.panelFold}}},[t("span",[e._v(e._s(e.panelFold?"Collpase":"Expand")),t("i",{class:e.panelFold?"el-icon-arrow-up":"el-icon-arrow-down"})])]):e._e()])])])})),0)])])])])},a=[],r=n(392),o=n(3099),s=n(6722);const l=(0,s.ref)(!1),c=()=>{let e=0;document.body&&(e=document.body.scrollWidth||document.body.clientWidth),l.value=e<800};function d(){return(0,s.onMounted)((()=>{c(),window.addEventListener("resize",c)})),(0,s.onUnmounted)((()=>{window.removeEventListener("resize",c)})),{isMobileHook:l}}const u={name:"cms-lineThree",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configList:[],panelFold:!1}},mounted(){},watch:{},methods:{getConfigData(e){this.configList=e.configList}}};var p=Object.assign(u,{setup(e){const{isMobileHook:t}=d();return{__sfc:!0,isMobileHook:t,BaseComp:r["default"],decodeJumpUrl:o.u}}}),f=p,h=n(1656),m=(0,h.A)(f,i,a,!1,null,"241e1e5b",null),g=m.exports},7223:function(e,t,n){"use strict";n(6573),n(8100),n(7936),n(4603),n(7566),n(8721);var i=n(3321),a=Object.prototype.toString;function r(e){return"[object Array]"===a.call(e)}function o(e){return"undefined"===typeof e}function s(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===a.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function d(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function u(e){return"string"===typeof e}function p(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===a.call(e)}function g(e){return"[object File]"===a.call(e)}function v(e){return"[object Blob]"===a.call(e)}function y(e){return"[object Function]"===a.call(e)}function b(e){return f(e)&&y(e.pipe)}function w(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function C(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function T(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=T(e[n],t):h(t)?e[n]=T({},t):r(t)?e[n]=t.slice():e[n]=t}for(var n=0,i=arguments.length;n<i;n++)S(arguments[n],t);return e}function A(e,t,n){return S(t,(function(t,a){e[a]=n&&"function"===typeof t?i(t,n):t})),e}function E(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:r,isArrayBuffer:l,isBuffer:s,isFormData:c,isArrayBufferView:d,isString:u,isNumber:p,isObject:f,isPlainObject:h,isUndefined:o,isDate:m,isFile:g,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:S,merge:T,extend:A,trim:C,stripBOM:E}},7235:function(e,t,n){"use strict";n.r(t),t["default"]={listPrice:"月費",oneoffPrice:"一口價",bannerName:"5G大灣區計劃優惠",price:"平均月費",bannerDes:"暢遊大灣區,無憂無慮拎包旅行",addValue:"立即增值",whyFiveG:"點解揀CMHK 5G寬頻?",whyFiveGDes:"取代慢速固網又得,幫自己加多條線上網又得!",fiveGDesTitle:"揀選你的5G寬頻服務計劃吧 ",fiveGDesSubTitle:"多元豐富的數位內容,為你的世界開啟全新可能 ",nowCostomersYh:"CMHK現有客戶專享優惠 ",login:"立即登入",lookNowCostomerYh:"並查看您的專享優惠",yhPlaceholder:"輸入優惠碼",search:"使用",select:"使用",detail:"了解更多",yhCode:"已應用優惠碼:",listHyq:"合約期限(月)",basePrice:"原價",closeDetail:"收起詳情",open:"選擇服務",expend:"展開",close:"收起",lookDetail:"查看詳情",chooseHyq:"合約期限(月)",addService:"上台優惠",reset:"重設選擇",next:"下一步",nextMobile:"下一步",seeOther:"來看看更多商品",seeOtherDesc:"配合CMHK 5G寬頻,讓你構建更理想家居",stageWay:"上臺方式",newPhone:"新號碼",systemNum:"號碼由系統分配",simType:"SIM卡類型",shitiSim:"實體SIM卡",yhCodeText:"優惠碼",bandwidth:"頻寬",sfmx:"收費明細"}},7249:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"view-container"},[e._l(e.data,(function(n){return[t(n.cmsCompName,{key:n.componentId,tag:"component",attrs:{data:n,lang:e.lang,timeline:e.timeline,cmhkChannel:e.cmhkChannel,isOpcacity:!1}})]}))],2)},a=[],r={name:"cms-view",props:{data:{type:Array,default:()=>[]},lang:{type:String,default:"zh-HK"},timeline:{type:String,default:""},cmhkChannel:{type:String,default:"WWW"}},created(){this.$i18n.locale=this.lang}},o=r,s=n(1656),l=(0,s.A)(o,i,a,!1,null,"e4796b30",null),c=l.exports},7258:function(e,t,n){"use strict";var i=n(7958),a=n(2647);e.exports=function(e,t){return e&&!i(t)?a(e,t):t}},7303:function(e,t,n){"use strict";n.d(t,{A:function(){return Ue}});var i=n(1810),a=n.n(i),r=n(6855),o=n.n(r),s=n(6722),l=(n(4114),n(8111),n(1148),n(2489),n(7588),n(1701),n(8237),n(7642),n(8004),n(3853),n(5876),n(2475),n(5024),n(1698),["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]),c=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function d(e,t){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function u(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}var p=Array.isArray;function f(e){return null!==e&&"object"===typeof e}function h(e){return"boolean"===typeof e}function m(e){return"string"===typeof e}var g=Object.prototype.toString,v="[object Object]";function y(e){return g.call(e)===v}function b(e){return null===e||void 0===e}function w(e){return"function"===typeof e}function C(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=null,i=null;return 1===e.length?f(e[0])||p(e[0])?i=e[0]:"string"===typeof e[0]&&(n=e[0]):2===e.length&&("string"===typeof e[0]&&(n=e[0]),(f(e[1])||p(e[1]))&&(i=e[1])),{locale:n,params:i}}function x(e){return JSON.parse(JSON.stringify(e))}function S(e,t){if(e.delete(t))return e}function T(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function A(e,t){return!!~e.indexOf(t)}var E=Object.prototype.hasOwnProperty;function I(e,t){return E.call(e,t)}function D(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var a=t[i];if(void 0!==a&&null!==a){var r=void 0;for(r in a)I(a,r)&&(f(a[r])?n[r]=D(n[r],a[r]):n[r]=a[r])}}return n}function _(e,t){if(e===t)return!0;var n=f(e),i=f(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var a=p(e),r=p(t);if(a&&r)return e.length===t.length&&e.every((function(e,n){return _(e,t[n])}));if(a||r)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return _(e[n],t[n])}))}catch(l){return!1}}function k(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function P(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=k(e[t]))})),e}function M(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var a=this.$i18n;return a._tc.apply(a,[e,a.locale,a._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}}function L(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof Pe){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{},n=e.__i18nBridge||e.__i18n;n.forEach((function(e){t=D(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(l){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(e.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Pe?this.$root.$i18n:null;if(i&&(e.i18n.root=this.$root,e.i18n.formatter=i.formatter,e.i18n.fallbackLocale=i.fallbackLocale,e.i18n.formatFallbackMessages=i.formatFallbackMessages,e.i18n.silentTranslationWarn=i.silentTranslationWarn,e.i18n.silentFallbackWarn=i.silentFallbackWarn,e.i18n.pluralizationRules=i.pluralizationRules,e.i18n.preserveDirectiveContent=i.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var a=e.i18n&&e.i18n.messages?e.i18n.messages:{},r=e.__i18nBridge||e.__i18n;r.forEach((function(e){a=D(a,JSON.parse(e))})),e.i18n.messages=a}catch(l){0}var o=e.i18n,s=o.sharedMessages;s&&y(s)&&(e.i18n.messages=D(e.i18n.messages,s)),this._i18n=new Pe(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Pe?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof Pe&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof Pe||y(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Pe||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof Pe)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}var O={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,a=t.props,r=t.slots,o=i.$i18n;if(o){var s=a.path,l=a.locale,c=a.places,d=r(),u=o.i(s,l,N(d)||c?R(d.default,c):d),p=a.tag&&!0!==a.tag||!1===a.tag?a.tag:"span";return p?e(p,n,u):u}}};function N(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}function R(e,t){var n=t?B(t):{};if(!e)return n;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var i=e.every(j);return e.reduce(i?F:H,n)}function B(e){return Array.isArray(e)?e.reduce(H,{}):Object.assign({},e)}function F(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function H(e,t,n){return e[n]=t,e}function j(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var z,$={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,a=t.data,r=i.$i18n;if(!r)return null;var o=null,s=null;m(n.format)?o=n.format:f(n.format)&&(n.format.key&&(o=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var i;return A(l,t)?Object.assign({},e,(i={},i[t]=n.format[t],i)):e}),null));var c=n.locale||r.locale,d=r._ntp(n.value,c,o,s),u=d.map((function(e,t){var n,i=a.scopedSlots&&a.scopedSlots[e.type];return i?i((n={},n[e.type]=e.value,n.index=t,n.parts=d,n)):e.value})),p=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return p?e(p,{attrs:a.attrs,class:a["class"],staticClass:a.staticClass},u):u}};function V(e,t,n){X(e,n)&&K(e,t,n)}function U(e,t,n,i){if(X(e,n)){var a=n.context.$i18n;Y(e,n)&&_(t.value,t.oldValue)&&_(e._localeMessage,a.getLocaleMessage(a.locale))||K(e,t,n)}}function G(e,t,n,i){var a=n.context;if(a){var r=n.context.$i18n||{};t.modifiers.preserve||r.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else d("Vue instance does not exists in VNode context")}function X(e,t){var n=t.context;return n?!!n.$i18n||(d("VueI18n instance does not exists in Vue instance"),!1):(d("Vue instance does not exists in VNode context"),!1)}function Y(e,t){var n=t.context;return e._locale===n.$i18n.locale}function K(e,t,n){var i,a,r=t.value,o=q(r),s=o.path,l=o.locale,c=o.args,u=o.choice;if(s||l||c)if(s){var p=n.context;e._vt=e.textContent=null!=u?(i=p.$i18n).tc.apply(i,[s,u].concat(W(l,c))):(a=p.$i18n).t.apply(a,[s].concat(W(l,c))),e._locale=p.$i18n.locale,e._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else d("`path` is required in v-t directive");else d("value type not supported")}function q(e){var t,n,i,a;return m(e)?t=e:y(e)&&(t=e.path,n=e.locale,i=e.args,a=e.choice),{path:t,locale:n,args:i,choice:a}}function W(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||y(t))&&n.push(t),n}function Q(e,t){void 0===t&&(t={bridge:!1}),Q.installed=!0,z=e;z.version&&Number(z.version.split(".")[0]);M(z),z.mixin(L(t.bridge)),z.directive("t",{bind:V,update:U,unbind:G}),z.component(O.name,O),z.component($.name,$);var n=z.config.optionMergeStrategies;n.i18n=function(e,t){return void 0===t?e:t}}var J=function(){this._caches=Object.create(null)};J.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=te(e),this._caches[e]=n),ne(n,t)};var Z=/^(?:\d)+/,ee=/^(?:\w)+/;function te(e){var t=[],n=0,i="";while(n<e.length){var a=e[n++];if("{"===a){i&&t.push({type:"text",value:i}),i="";var r="";a=e[n++];while(void 0!==a&&"}"!==a)r+=a,a=e[n++];var o="}"===a,s=Z.test(r)?"list":o&&ee.test(r)?"named":"unknown";t.push({value:r,type:s})}else"%"===a?"{"!==e[n]&&(i+=a):i+=a}return i&&t.push({type:"text",value:i}),t}function ne(e,t){var n=[],i=0,a=Array.isArray(t)?"list":f(t)?"named":"unknown";if("unknown"===a)return n;while(i<e.length){var r=e[i];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===a&&n.push(t[r.value]);break;case"unknown":0;break}i++}return n}var ie=0,ae=1,re=2,oe=3,se=0,le=1,ce=2,de=3,ue=4,pe=5,fe=6,he=7,me=8,ge=[];ge[se]={ws:[se],ident:[de,ie],"[":[ue],eof:[he]},ge[le]={ws:[le],".":[ce],"[":[ue],eof:[he]},ge[ce]={ws:[ce],ident:[de,ie],0:[de,ie],number:[de,ie]},ge[de]={ident:[de,ie],0:[de,ie],number:[de,ie],ws:[le,ae],".":[ce,ae],"[":[ue,ae],eof:[he,ae]},ge[ue]={"'":[pe,ie],'"':[fe,ie],"[":[ue,re],"]":[le,oe],eof:me,else:[ue,ie]},ge[pe]={"'":[ue,ie],eof:me,else:[pe,ie]},ge[fe]={'"':[ue,ie],eof:me,else:[fe,ie]};var ve=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ye(e){return ve.test(e)}function be(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function we(e){if(void 0===e||null===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Ce(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(ye(t)?be(t):"*"+t)}function xe(e){var t,n,i,a,r,o,s,l=[],c=-1,d=se,u=0,p=[];function f(){var t=e[c+1];if(d===pe&&"'"===t||d===fe&&'"'===t)return c++,i="\\"+t,p[ie](),!0}p[ae]=function(){void 0!==n&&(l.push(n),n=void 0)},p[ie]=function(){void 0===n?n=i:n+=i},p[re]=function(){p[ie](),u++},p[oe]=function(){if(u>0)u--,d=ue,p[ie]();else{if(u=0,void 0===n)return!1;if(n=Ce(n),!1===n)return!1;p[ae]()}};while(null!==d)if(c++,t=e[c],"\\"!==t||!f()){if(a=we(t),s=ge[d],r=s[a]||s["else"]||me,r===me)return;if(d=r[0],o=p[r[1]],o&&(i=r[2],i=void 0===i?t:i,!1===o()))return;if(d===he)return l}}var Se=function(){this._cache=Object.create(null)};Se.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=xe(e),t&&(this._cache[e]=t)),t||[]},Se.prototype.getPathValue=function(e,t){if(!f(e))return null;var n=this.parsePath(t);if(0===n.length)return null;var i=n.length,a=e,r=0;while(r<i){var o=a[n[r]];if(void 0===o||null===o)return null;a=o,r++}return a};var Te,Ae=/<\/?[\w\s="/.':;#-\/]+>/,Ee=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Ie=/^@(?:\.([a-zA-Z]+))?:/,De=/[()]/g,_e={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},ke=new J,Pe=function(e){var t=this;void 0===e&&(e={}),!z&&"undefined"!==typeof window&&window.Vue&&Q(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),a=e.messages||{},r=e.dateTimeFormats||e.datetimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||ke,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Se,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex){var a=i.getChoiceIndex;return a.call(t,e,n)}var r=function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0};return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):r(e,n)},this._exist=function(e,n){return!(!e||!n)&&(!b(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(a).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,a[e])})),this._initVM({locale:n,fallbackLocale:i,messages:a,dateTimeFormats:r,numberFormats:o})},Me={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Pe.prototype._checkLocaleMessage=function(e,t,n){var i=[],a=function(e,t,n,i){if(y(n))Object.keys(n).forEach((function(r){var o=n[r];y(o)?(i.push(r),i.push("."),a(e,t,o,i),i.pop(),i.pop()):(i.push(r),a(e,t,o,i),i.pop())}));else if(p(n))n.forEach((function(n,r){y(n)?(i.push("["+r+"]"),i.push("."),a(e,t,n,i),i.pop(),i.pop()):(i.push("["+r+"]"),a(e,t,n,i),i.pop())}));else if(m(n)){var r=Ae.test(n);if(r){var o="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?d(o):"error"===e&&u(o)}}};a(t,e,n,i)},Pe.prototype._initVM=function(e){var t=z.config.silent;z.config.silent=!0,this._vm=new z({data:e,__VUE18N__INSTANCE__:!0}),z.config.silent=t},Pe.prototype.destroyVM=function(){this._vm.$destroy()},Pe.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},Pe.prototype.unsubscribeDataChanging=function(e){S(this._dataListeners,e)},Pe.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){var t=T(e._dataListeners),n=t.length;while(n--)z.nextTick((function(){t[n]&&t[n].$forceUpdate()}))}),{deep:!0})},Pe.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){i.$set(i,"locale",e),i.$forceUpdate()}),{immediate:!0})},Pe.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},Me.vm.get=function(){return this._vm},Me.messages.get=function(){return x(this._getMessages())},Me.dateTimeFormats.get=function(){return x(this._getDateTimeFormats())},Me.numberFormats.get=function(){return x(this._getNumberFormats())},Me.availableLocales.get=function(){return Object.keys(this.messages).sort()},Me.locale.get=function(){return this._vm.locale},Me.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},Me.fallbackLocale.get=function(){return this._vm.fallbackLocale},Me.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},Me.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Me.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},Me.missing.get=function(){return this._missing},Me.missing.set=function(e){this._missing=e},Me.formatter.get=function(){return this._formatter},Me.formatter.set=function(e){this._formatter=e},Me.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Me.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},Me.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Me.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},Me.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Me.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},Me.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Me.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},Me.postTranslation.get=function(){return this._postTranslation},Me.postTranslation.set=function(e){this._postTranslation=e},Me.sync.get=function(){return this._sync},Me.sync.set=function(e){this._sync=e},Pe.prototype._getMessages=function(){return this._vm.messages},Pe.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Pe.prototype._getNumberFormats=function(){return this._vm.numberFormats},Pe.prototype._warnDefault=function(e,t,n,i,a,r){if(!b(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,i,a]);if(m(o))return o}else 0;if(this._formatFallbackMessages){var s=C.apply(void 0,a);return this._render(t,r,s.params,t)}return t},Pe.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:b(e))&&!b(this._root)&&this._fallbackRoot},Pe.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},Pe.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},Pe.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},Pe.prototype._interpolate=function(e,t,n,i,a,r,o){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(p(l)||y(l))return l;if(b(l)){if(!y(t))return null;if(s=t[n],!m(s)&&!w(s))return null}else{if(!m(l)&&!w(l))return null;s=l}return m(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,i,"raw",r,o)),this._render(s,a,r,n)},Pe.prototype._link=function(e,t,n,i,a,r,o){var s=n,l=s.match(Ee);for(var c in l)if(l.hasOwnProperty(c)){var d=l[c],u=d.match(Ie),f=u[0],h=u[1],m=d.replace(f,"").replace(De,"");if(A(o,m))return s;o.push(m);var g=this._interpolate(e,t,m,i,"raw"===a?"string":a,"raw"===a?void 0:r,o);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;g=v._translate(v._getMessages(),v.locale,v.fallbackLocale,m,i,a,r)}g=this._warnDefault(e,m,g,i,p(r)?r:[r],a),this._modifiers.hasOwnProperty(h)?g=this._modifiers[h](g):_e.hasOwnProperty(h)&&(g=_e[h](g)),o.pop(),s=g?s.replace(d,g):s}return s},Pe.prototype._createMessageContext=function(e,t,n,i){var a=this,r=p(e)?e:[],o=f(e)?e:{},s=function(e){return r[e]},l=function(e){return o[e]},c=this._getMessages(),d=this.locale;return{list:s,named:l,values:e,formatter:t,path:n,messages:c,locale:d,linked:function(e){return a._interpolate(d,c[d]||{},e,null,i,void 0,[e])}}},Pe.prototype._render=function(e,t,n,i){if(w(e))return e(this._createMessageContext(n,this._formatter||ke,i,t));var a=this._formatter.interpolate(e,n,i);return a||(a=ke.interpolate(e,n,i)),"string"!==t||m(a)?a:a.join("")},Pe.prototype._appendItemToChain=function(e,t,n){var i=!1;return A(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},Pe.prototype._appendLocaleToChain=function(e,t,n){var i,a=t.split("-");do{var r=a.join("-");i=this._appendItemToChain(e,r,n),a.splice(-1,1)}while(a.length&&!0===i);return i},Pe.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,a=0;a<t.length&&h(i);a++){var r=t[a];m(r)&&(i=this._appendLocaleToChain(e,r,n))}return i},Pe.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];var i,a=[e];while(p(a))a=this._appendBlockToChain(n,a,t);i=p(t)?t:f(t)?t["default"]?t["default"]:null:t,a=m(i)?[i]:i,a&&this._appendBlockToChain(n,a,null),this._localeChainCache[e]=n}return n},Pe.prototype._translate=function(e,t,n,i,a,r,o){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var d=l[c];if(s=this._interpolate(d,e[d],i,a,r,o,[i]),!b(s))return s}return null},Pe.prototype._t=function(e,t,n,i){var a,r=[],o=arguments.length-4;while(o-- >0)r[o]=arguments[o+4];if(!e)return"";var s=C.apply(void 0,r);this._escapeParameterHtml&&(s.params=P(s.params));var l=s.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(r))}return c=this._warnDefault(l,e,c,i,r,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,e)),c},Pe.prototype.t=function(e){var t,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},Pe.prototype._i=function(e,t,n,i,a){var r=this._translate(n,t,this.fallbackLocale,e,i,"raw",a);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,a)}return this._warnDefault(t,e,r,i,[a],"raw")},Pe.prototype.i=function(e,t,n){return e?(m(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},Pe.prototype._tc=function(e,t,n,i,a){var r,o=[],s=arguments.length-5;while(s-- >0)o[s]=arguments[s+5];if(!e)return"";void 0===a&&(a=1);var l={count:a,n:a},c=C.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[e,t,n,i].concat(o)),a)},Pe.prototype.fetchChoice=function(e,t){if(!e||!m(e))return null;var n=e.split("|");return t=this.getChoiceIndex(t,n.length),n[t]?n[t].trim():e},Pe.prototype.tc=function(e,t){var n,i=[],a=arguments.length-2;while(a-- >0)i[a]=arguments[a+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},Pe.prototype._te=function(e,t,n){var i=[],a=arguments.length-3;while(a-- >0)i[a]=arguments[a+3];var r=C.apply(void 0,i).locale||t;return this._exist(n[r],e)},Pe.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},Pe.prototype.getLocaleMessage=function(e){return x(this._vm.messages[e]||{})},Pe.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},Pe.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,D("undefined"!==typeof this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},Pe.prototype.getDateTimeFormat=function(e){return x(this._vm.dateTimeFormats[e]||{})},Pe.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},Pe.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,D(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},Pe.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Pe.prototype._localizeDateTime=function(e,t,n,i,a,r){for(var o=t,s=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var d=l[c];if(s=i[d],o=d,!b(s)&&!b(s[a]))break}if(b(s)||b(s[a]))return null;var u,p=s[a];if(r)u=new Intl.DateTimeFormat(o,Object.assign({},p,r));else{var f=o+"__"+a;u=this._dateTimeFormatters[f],u||(u=this._dateTimeFormatters[f]=new Intl.DateTimeFormat(o,p))}return u.format(e)},Pe.prototype._d=function(e,t,n,i){if(!n){var a=i?new Intl.DateTimeFormat(t,i):new Intl.DateTimeFormat(t);return a.format(e)}var r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,i);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return r||""},Pe.prototype.d=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,a=null,r=null;return 1===t.length?(m(t[0])?a=t[0]:f(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(a=t[0].key)),r=Object.keys(t[0]).reduce((function(e,n){var i;return A(c,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(m(t[0])&&(a=t[0]),m(t[1])&&(i=t[1])),this._d(e,i,a,r)},Pe.prototype.getNumberFormat=function(e){return x(this._vm.numberFormats[e]||{})},Pe.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},Pe.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,D(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},Pe.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Pe.prototype._getNumberFormatter=function(e,t,n,i,a,r){for(var o=t,s=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var d=l[c];if(s=i[d],o=d,!b(s)&&!b(s[a]))break}if(b(s)||b(s[a]))return null;var u,p=s[a];if(r)u=new Intl.NumberFormat(o,Object.assign({},p,r));else{var f=o+"__"+a;u=this._numberFormatters[f],u||(u=this._numberFormatters[f]=new Intl.NumberFormat(o,p))}return u},Pe.prototype._n=function(e,t,n,i){if(!Pe.availabilities.numberFormat)return"";if(!n){var a=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return a.format(e)}var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.format(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return o||""},Pe.prototype.n=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var i=this.locale,a=null,r=null;return 1===t.length?m(t[0])?a=t[0]:f(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(a=t[0].key),r=Object.keys(t[0]).reduce((function(e,n){var i;return A(l,n)?Object.assign({},e,(i={},i[n]=t[0][n],i)):e}),null)):2===t.length&&(m(t[0])&&(a=t[0]),m(t[1])&&(i=t[1])),this._n(e,i,a,r)},Pe.prototype._ntp=function(e,t,n,i){if(!Pe.availabilities.numberFormat)return[];if(!n){var a=i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t);return a.formatToParts(e)}var r=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return o||[]},Object.defineProperties(Pe.prototype,Me),Object.defineProperty(Pe,"availabilities",{get:function(){if(!Te){var e="undefined"!==typeof Intl;Te={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return Te}}),Pe.install=Q,Pe.version="8.28.2";var Le=Pe,Oe=n(7101),Ne=n(4044),Re=n(5095),Be=n(2523),Fe=n(5394),He=n(2945),je=n(2277);n(5844);s["default"].use(Le);const ze=new Le({locale:"zh-HK",messages:{"zh-CN":{...Ne["default"],...He["default"]},"en-US":{...Oe["default"],...Fe.A},"zh-HK":{...Re["default"],...je.A},IN:{...Oe["default"],...Be["default"],...Fe.A}}});var $e=ze;const Ve=a().create({baseURL:"",timeout:6e4,withCredentials:!0});Ve.defaults.headers.post["Content-Type"]="application/json;charset:utf-8",Ve.interceptors.request.use((e=>{const t=window.location.origin.includes("97"),n=!1,i=window.location.origin.includes(".22:");return n?e.url.includes("/ecosp-console")?document.cookie="JSESSIONID=2BFCD3B3E854E7F65346CE536CE1CB9A":e.url.includes("omni-channel-service-console")&&(document.cookie="JSESSIONID=AA68D98A573B5C33F359334E14A390EA"):e.url.includes("/api/")&&t?e.url=(i?"https://omniapi.hk.chinamobile.com":"https://omniapi-uat.hk.chinamobile.com")+e.url:e.url=window.location.origin+e.url,e.url.includes("/ecosp-console")&&"post"===e.method&&(e.data={signType:"MD5",sign:o()(`${JSON.stringify(e.data)}&key=KHw01puidqkDd4xrueWGf5CiR0lqhb4X`),data:e.data}),e.url.includes("/api/")&&(e.url.includes("/api/omni-channel-service-portal")?e.headers["Content-Type"]="application/json":e.headers["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8",e.headers["cmhkChannel"]="WWW",e.headers["channelId"]="WWW",e.headers["Accept-Language"]=e.headers["Accept-Language"]?e.headers["Accept-Language"]:$e.locale,e.headers["Acc-Lang"]=e.headers["Accept-Language"]),e}),(e=>{Promise.reject(e)})),Ve.interceptors.response.use((e=>{const t=e.data;return t}),(()=>{}));var Ue=Ve},7346:function(e,t,n){"use strict";n.r(t);const i=()=>Promise.resolve().then(n.bind(n,7249));t["default"]={View:i}},7347:function(e,t,n){"use strict";var i=n(3724),a=n(9565),r=n(8773),o=n(6980),s=n(5397),l=n(6969),c=n(9297),d=n(5917),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=s(e),t=l(t),d)try{return u(e,t)}catch(n){}if(c(e,t))return o(!a(r.f,e,t),e[t])}},7360:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,5750)),r={configList:[{id:Math.random().toString(),typeName:"",contentArray:[{id:Math.random().toString(),input2:"",input1:""}]}]},o=(0,i.getLangDataType)(r,{configList:{label:"常见问题栏目配置",value:[{id:{label:""},typeName:{label:"分组名称"},contentArray:{label:"常见问题配置",value:[{id:{label:""},input1:{label:"问题"},input2:{label:"答案",widgetType:"isRichText"}}]}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7394:function(e,t,n){"use strict";var i=n(4576),a=n(6706),r=n(2195),o=i.ArrayBuffer,s=i.TypeError;e.exports=o&&a(o.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==r(e))throw new s("ArrayBuffer expected");return e.byteLength}},7396:function(e,t,n){"use strict";n.r(t),n.d(t,{getCmhkChannelMx:function(){return o},getCompBaseUrl:function(){return s},transfor:function(){return r}});n(4603),n(7566),n(8721);var i=n(2495),a=n(8655);async function r(e){var t,n,r,o,s,l,c,d,u,p,f,h,m;if((null===e||void 0===e||null===(t=e.settings)||void 0===t||!t.settings)&&(null===e||void 0===e||null===(n=e.wujieConfig)||void 0===n||!n.viaCompInstId))return e;if(null!==e&&void 0!==e&&null!==(r=e.wujieConfig)&&void 0!==r&&r.viaCompInstId){var g;const{data:t}=await(0,a.OO)({componentCode:e.wujieConfig.viaCompInstId}),n=null!==t&&void 0!==t&&t.length&&(null===(g=t[0])||void 0===g?void 0:g.goodIdList)||[];return{...e,contentConfig:{lang_all:{configList:[...n]}},wujieConfig:null}}const v=e.compName,y=e.list||[],b=e.settings.settings[0],{isWujie:w=!1,isVia:C=!1,componentUrl:x="",workbenchUrl:S=""}=b,T=(null===(o=b.value)||void 0===o?void 0:o.componentId)||"",A=(null===(s=b.value)||void 0===s?void 0:s.viaCompInstId)||"",E={childList:y,...w?{wujieConfig:{componentUrl:x,workbenchUrl:S,componentId:T,versionId:""}}:{}};let I={};null!==(l=b.value)&&void 0!==l&&null!==(c=l.content)&&void 0!==c&&c.CN?I=b.value.content:null!==(d=b.value.bannerList)&&void 0!==d&&d.CN?I=b.value.bannerList:null!==(u=b.value.routerList)&&void 0!==u&&u.CN?I=b.value.routerList:null!==(p=b.value.busCardList)&&void 0!==p&&p.CN||null!==(f=b.value.busCardList)&&void 0!==f&&f.CN?I=b.value.busCardList:null!==(h=b.value)&&void 0!==h&&h.CN?I=b.value:b.value&&(I="[object Object]"===Object.prototype.toString.call(b.value)?b.value:{value:b.value});const D=!(null!==(m=I)&&void 0!==m&&m.CN);let _={},k={},P={},M={};if(A){var L;const{data:[]}=await(0,a.OO)({componentCode:e.wujieConfig.viaCompInstId}),t=data.length&&(null===(L=data[0])||void 0===L?void 0:L.goodIdList)||[];I={configList:[...t]}}if(D)M=I;else{const e=!D&&Array.isArray(I.CN);e?(_={configList:I.HK},k={configList:I.CN},P={configList:I.EN}):(_=I.HK,k=I.CN,P=I.EN)}const O={...D?{lang_all:M}:{lang_tc:_,lang_sc:k,lang_en:P}};return(0,i.getInitCompData)({cmsCompName:v,wujieConfig:{},compConfig:E,config:{contentConfig:O,styleConfig:[]},isLangAll:D})}function o(e="WWW"){const t=window.location.host,n=["www.hk.chinamobile.com","www-uat.hk.chinamobile.com"],i=new URL(document.location).searchParams,a=i.get("cmhkChannel");return n.includes(t)?"WWW":sessionStorage.getItem("cmhkChannel")||a||e}function s(){return["https://omniapi.hk.chinamobile.com","https://www.hk.chinamobile.com"].includes(window.location.origin)?"https://omniapi.hk.chinamobile.com":"https://omniapi-uat.hk.chinamobile.com"}},7410:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,704)),r={title1:"标题",title2:"副标题"},o=(0,i.getLangDataType)(r,{title1:{label:"标题",widgetType:"el-input",type:"textarea"},title2:{label:"副标题",widgetType:"el-input",type:"textarea"}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7467:function(e,t,n){"use strict";var i=n(7628),a=n(4644),r=a.aTypedArray,o=a.exportTypedArrayMethod,s=a.getTypedArrayConstructor;o("toReversed",(function(){return i(r(this),s(this))}))},7476:function(e,t,n){"use strict";var i=n(2195),a=n(9504);e.exports=function(e){if("Function"===i(e))return a(e)}},7495:function(e,t,n){"use strict";var i=n(5617),a=n(2887),r=n(6613);e.exports=i?function(e){return i(e)}:a?function(e){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new TypeError("getProto: not an object");return a(e)}:r?function(e){return r(e)}:null},7518:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,4018)),r={title1:"标题",title2:"副标题",linkText:"链接文字",link:""},o=(0,i.getLangDataType)(r,{title1:{label:"标题"},title2:{label:"副标题"},linkText:{label:"链接文字"},link:{label:"链接地址"}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7562:function(e,t,n){"use strict";n(8111),n(7588);var i=n(7223),a=n(9877),r=n(6290),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(1857)),e}function c(e,t,n){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||a&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(o){if("SyntaxError"===s.name)throw r(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){d.headers[e]=i.merge(o)})),e.exports=d},7566:function(e,t,n){"use strict";var i=n(6840),a=n(9504),r=n(655),o=n(2812),s=URLSearchParams,l=s.prototype,c=a(l.getAll),d=a(l.has),u=new s("a=1");!u.has("a",2)&&u.has("a",void 0)||i(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return d(this,e);var i=c(this,e);o(t,1);var a=r(n),s=0;while(s<i.length)if(i[s++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},7588:function(e,t,n){"use strict";var i=n(6518),a=n(2652),r=n(9306),o=n(8551),s=n(1767);i({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(this),r(e);var t=s(this),n=0;a(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},7616:function(e,t,n){"use strict";n.r(t)},7628:function(e,t,n){"use strict";var i=n(6198);e.exports=function(e,t){for(var n=i(e),a=new t(n),r=0;r<n;r++)a[r]=e[n-r-1];return a}},7629:function(e,t,n){"use strict";var i=n(6395),a=n(4576),r=n(9433),o="__core-js_shared__",s=e.exports=a[o]||r(o,{});(s.versions||(s.versions=[])).push({version:"3.41.0",mode:i?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7642:function(e,t,n){"use strict";var i=n(6518),a=n(3440),r=n(4916),o=!r("difference",(function(e){return 0===e.size}));i({target:"Set",proto:!0,real:!0,forced:o},{difference:a})},7657:function(e,t,n){"use strict";var i,a,r,o=n(9039),s=n(4901),l=n(34),c=n(2360),d=n(2787),u=n(6840),p=n(8227),f=n(6395),h=p("iterator"),m=!1;[].keys&&(r=[].keys(),"next"in r?(a=d(d(r)),a!==Object.prototype&&(i=a)):m=!0);var g=!l(i)||o((function(){var e={};return i[h].call(e)!==e}));g?i={}:f&&(i=c(i)),s(i[h])||u(i,h,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:m}},7680:function(e,t,n){"use strict";var i=n(9504);e.exports=i([].slice)},7696:function(e,t,n){"use strict";var i=n(1291),a=n(8014),r=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=a(t);if(t!==n)throw new r("Wrong length or index");return n}},7740:function(e,t,n){"use strict";var i=n(9297),a=n(5031),r=n(7347),o=n(4913);e.exports=function(e,t,n){for(var s=a(t),l=o.f,c=r.f,d=0;d<s.length;d++){var u=s[d];i(e,u)||n&&i(n,u)||l(e,u,c(t,u))}}},7748:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("section",{ref:"news",staticClass:"cmhk-home_main"},[e.configList.length?t("div",{staticClass:"section-body"},[t("div",{staticClass:"cmhk-section_corp_news-ser"},[t("div",{staticClass:"news-box_container"},[t("div",{staticClass:"news-box_swiper",attrs:{id:`news-swiper${e.data.componentId}`}},[t("div",{staticClass:"swiper-wrapper"},e._l(e.configList,(function(n,i){return t("div",{key:`${i}${null===n||void 0===n?void 0:n.id}`,staticClass:"swiper-slide"},[t("div",{staticClass:"new-read_card read-card_bg-wt",on:{click:function(t){return e.decodeJumpUrl(n.jumpUrl)}}},[t("div",{staticClass:"image-desbox_wapper"},[t("img",{staticClass:"layout-pc",attrs:{src:n.uploadImagePC,alt:n.imagePcATL}}),t("img",{staticClass:"layout-mobile",attrs:{src:n.uploadImageH5,alt:n.imageH5ATL}})]),t("div",{staticClass:"new-read_card-content"},[t("p",{staticClass:"title"},[e._v(e._s(null===n||void 0===n?void 0:n.input1))]),t("p",{staticClass:"time"},[e._v(e._s(n.input2))]),t("p",{staticClass:"des"},[e._v(e._s(n.input3))]),n.input4?t("p",{staticClass:"continue-read"},[e._v(" "+e._s(n.input4)+" "),t("i",{staticClass:"el-icon-arrow-right"})]):e._e()])])])})),0)]),e.configList.length>3?[t("div",{staticClass:"pag-prev left layout-pc",class:[e.swiperNewsIdx>2?"is-active":""],on:{click:e.newsPrev}},[t("i",{staticClass:"el-icon-arrow-left"})]),t("div",{staticClass:"pag-next right layout-pc",class:[e.swiperNewsIdx<e.configList.length-1?"is-active":""],on:{click:e.newsNext}},[t("i",{staticClass:"el-icon-arrow-right"})])]:e._e()],2)])]):e._e()])])},a=[],r=n(9846),o=(n(2773),n(8731)),s=n(392),l={name:"cms-threeScroll",components:{BaseComp:s["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configList:[],swiperNewsIdx:0,newsSwiper:null}},mounted(){const e=this;this.$nextTick((()=>{this.newsSwiper=new o.A(`#news-swiper${this.data.componentId}`,{autoplay:!1,loop:!1,slidesPerView:"mobile"!==(0,r.Pf)()?3:"auto",observer:!0,observeParents:!0,touchMoveStopPropagation:!0,on:{slideChangeTransitionEnd:function(){"mobile"!==(0,r.Pf)()?e.swiperNewsIdx=this.realIndex+2:e.swiperNewsIdx=this.realIndex,console.log("新闻-当前页最后一个元素下标",e.swiperNewsIdx)},resize:function(){this.update(!0)}}})}))},watch:{},methods:{getConfigData(e){this.configList=e.configList},newsPrev(){this.swiperNewsIdx>2&&this.newsSwiper.slidePrev()},newsNext(){this.swiperNewsIdx<this.configList.length-1&&this.newsSwiper.slideNext()},decodeJumpUrl(e){e&&(top.location.href=e)}}},c=l,d=n(1656),u=(0,d.A)(c,i,a,!1,null,"4ecaae13",null),p=u.exports},7750:function(e,t,n){"use strict";var i=n(4117),a=TypeError;e.exports=function(e){if(i(e))throw new a("Can't call method on "+e);return e}},7751:function(e,t,n){"use strict";var i=n(4576),a=n(4901),r=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e]):i[e]&&i[e][t]}},7811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7816:function(e,t,n){"use strict";n.d(t,{L7:function(){return a}});n(8111),n(116);var i=n(9846);const a=(e,t)=>{let n={};const a=e.find((e=>e.id==t)).configureJson;return a.wujieConfig&&(n={originalComponentId:a.componentId,originalVersionId:a.wujieConfig.versionId,operation:"copyTemplate"}),{...a,componentId:(0,i.J0)(32),...n}}},7826:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(var a in e[t]=i,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},7861:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("div",{},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"popup-mask",style:{zIndex:e.zIndex},on:{click:e.clickPopupClose}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["app-popup",e.fillet?"popup-fillet":""],style:{height:e.height,zIndex:e.zIndex}},[e._t("default")],2)])},a=[],r=n(1837),o={name:"AppPopup",props:{visible:{type:Boolean,default:!1},height:{type:String,default:"50%"},fillet:{type:Boolean,default:!0},isFixBg:{type:Boolean,default:!1},zIndex:{type:String,default:()=>String(r.o.nextZIndex())}},data(){return{maskEl:null}},watch:{visible:{handler(e,t){this.isFixBg&&(this.visible?(console.info("stop"),this.stopScroll()):(console.info("recover"),this.recoverScroll()))},immediate:!0}},methods:{clickPopupClose(){this.$emit("update:visible",!1),this.isFixBg&&this.recoverScroll()},stopScroll(){try{const{body:e}=window.parent.document,t=window.parent.document.body.scrollTop||window.parent.document.documentElement.scrollTop;e.style.position="fixed",e.style.width="100%",e.style.top=`-${t}px`}catch(e){console.log(e)}},recoverScroll(){try{const{body:e}=window.parent.document,{top:t}=e.style;e.style.position="",e.style.width="",e.style.top="",window.parent.document.body.scrollTop=-parseInt(t,10),window.parent.document.documentElement.scrollTop=-parseInt(t,10)}catch(e){console.log(e)}}},beforeDestroy(){if(this.isFixBg)try{const{body:e}=window.parent.document,{top:t}=e.style;""!==t&&(console.log("beforeDestroy"),this.recoverScroll())}catch(e){console.log(e)}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"1cb83381",null),d=c.exports},7926:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,4257)),r={configList:[{id:Math.random().toString(),uploadImageH5:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315174412_ZbqgqhYe_96x95.png",imageH5ATL:"",uploadImagePC:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315174412_ZbqgqhYe_96x95.png",imagePcATL:"",input1:"",input2:"",jumpUrl:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"图片配置",value:[{id:{label:""},uploadImagePC:{label:"上传PC图片"},imagePcATL:{label:"PC alt属性"},uploadImageH5:{label:"上传H5图片"},imageH5ATL:{label:"H5 alt属性"},input1:{label:"标题"},input2:{label:"正文"},jumpUrl:{label:"跳转链接"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},7936:function(e,t,n){"use strict";var i=n(6518),a=n(5636);a&&i({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return a(this,arguments.length?arguments[0]:void 0,!1)}})},7958:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7959:function(e){"use strict";e.exports="data:image/png;base64,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"},7980:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData},scopedSlots:e._u([{key:"default",fn:function(n){return[t("section",{staticClass:"cms-button-container",class:[`align-${e.configData.textAlign||"center"}`,e.configData.customClass||""],style:e.containerStyle},[t("button",{staticClass:"cms-button",class:["cms-button-element",{"has-link":e.configData.linkUrl,"hover-effect":e.configData.hoverEffect}],style:{...e.buttonStyle,height:n.isMobile?"40px":"48px"},attrs:{disabled:e.configData.disabled},on:{click:e.handleClick}},[e._v(" "+e._s(e.configData.buttonText)+" "),e.configData.showArrow?t("i",{staticClass:"el-icon-arrow-right el-icon--right"}):e._e()])])]}}])},"BaseComp",e.$attrs,!1))},a=[],r=(n(8111),n(7588),n(392)),o={name:"cms-button",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configData:{},defaultConfig:{buttonText:"按钮文字",textAlign:"center",fontSize:16,fontColor:"#ffffff",fontWeight:"normal",backgroundColor:"#2f85ff",borderRadius:30,borderWidth:1,borderStyle:"solid",borderColor:"#409eff",paddingTop:12,paddingBottom:12,paddingLeft:20,paddingRight:20,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,linkUrl:"",linkTarget:"_self",disabled:!1,customClass:"",customStyle:"",hoverEffect:!1,buttonWidth:"300",buttonHeight:"48",minWidth:80,minHeight:36}}},mounted(){this.initConfigData()},watch:{configData:{handler(){this.updateStyles()},deep:!0}},computed:{containerStyle(){const e={...this.defaultConfig,...this.configData};return{backgroundColor:e.wrapperBackgroundColor,textAlign:e.textAlign,margin:`${e.marginTop}px ${e.marginRight}px ${e.marginBottom}px ${e.marginLeft}px`,...this.parseCustomStyle(e.customStyle)}},buttonStyle(){const e={...this.defaultConfig,...this.configData};return{fontSize:`${e.fontSize}px`,color:e.fontColor,fontWeight:e.fontWeight,backgroundColor:e.backgroundColor?e.backgroundColor:"transparent",borderRadius:`${e.borderRadius}px`,border:e.borderWidth?`${e.borderWidth}px ${e.borderStyle} ${e.borderColor}`:"none",padding:`${e.paddingTop}px ${e.paddingRight}px ${e.paddingBottom}px ${e.paddingLeft}px`,width:"auto"===e.buttonWidth?"auto":`${e.buttonWidth}px`,minWidth:`${e.minWidth}px`,minHeight:`${e.minHeight}px`,cursor:e.linkUrl?"pointer":"default",opacity:e.disabled?.6:1,transition:e.hoverEffect?"all 0.3s ease":"none",outline:"none",textDecoration:"none",display:"inline-block",textAlign:"center",verticalAlign:"middle",userSelect:"none",whiteSpace:"nowrap"}}},methods:{initConfigData(){this.configData={...this.defaultConfig,...this.configData}},getConfigData(e){this.configData={...this.defaultConfig,...e},this.updateStyles()},updateStyles(){this.$nextTick((()=>{this.$forceUpdate()}))},handleClick(){if(!this.configData.disabled&&this.configData.linkUrl){const e=this.configData.linkTarget||"_self";"_blank"===e?window.open(this.configData.linkUrl,"_blank"):window.location.href=this.configData.linkUrl}},parseCustomStyle(e){if(!e)return{};try{const t={},n=e.split(";");return n.forEach((e=>{const[n,i]=e.split(":");if(n&&i){const e=n.trim().replace(/-([a-z])/g,(e=>e[1].toUpperCase()));t[e]=i.trim()}})),t}catch(t){return console.warn("解析自定义样式失败:",t),{}}}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"78e567cf",null),d=c.exports},8004:function(e,t,n){"use strict";var i=n(6518),a=n(9039),r=n(8750),o=n(4916),s=!o("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||a((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));i({target:"Set",proto:!0,real:!0,forced:s},{intersection:r})},8014:function(e,t,n){"use strict";var i=n(1291),a=Math.min;e.exports=function(e){var t=i(e);return t>0?a(t,9007199254740991):0}},8065:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[t("section",{staticClass:"cmhk-home_main"},[t("section",{ref:"servicePlan"},[t("div",{ref:"box_swiper",staticClass:"pub-row pub-rowflex mgrow-r16 layout-p2 layout-pc"},e._l(e.configList,(function(i,a){return t("div",{key:a,staticClass:"kf-boxxx col-3 nofix-wcard pdrow-16 wow animate__fadeInUp",attrs:{"data-wow-delay":"200","data-wow-iteration":"1"}},[t("div",{staticClass:"kf-sprbox kf-blur",on:{click:function(t){return e.decodeJumpUrl(i.jumpUrl)}}},[t("img",{staticClass:"col331-image",attrs:{src:i.uploadImagePC,alt:i.imagePcATL}}),i.input1?t("div",{staticClass:"swiper-btn"},[t("span",{staticClass:"vm"},[e._v(e._s(i.input1))]),t("img",{staticClass:"icon_rarrow kf-goto vm",attrs:{src:n(1061)}})]):e._e()])])})),0),t("div",{staticClass:"pub-row mgrow-r16 partcontent-top layout-p2 layout-mobile pdb-44"},e._l(e.configList,(function(i,a){return t("div",{key:a,staticClass:"kf-boxxx col-3 pdrow-16 mgb-16 wow animate__fadeInUp",attrs:{"data-wow-delay":"200","data-wow-iteration":"1"}},[t("div",{staticClass:"kf-box",on:{click:function(t){return e.decodeJumpUrl(i.jumpUrl)}}},[t("img",{staticClass:"col331-image",attrs:{src:i.uploadImageH5,alt:i.imageH5ATL}}),i.input1?t("div",{staticClass:"swiper-btn"},[t("span",{staticClass:"vm"},[e._v(e._s(i.input1))]),t("img",{staticClass:"icon_rarrow kf-goto vm",attrs:{src:n(1061)}})]):e._e()])])})),0)])])])},a=[],r=n(392),o={name:"cms-prodCustomization",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:"zh-HK"}},data(){return{configList:[],plan1Inx:0}},mounted(){},watch:{},methods:{getConfigData(e){this.configList=e.configList},decodeJumpUrl(e){e&&(top.location.href=e)}}},s=o,l=n(1656),c=(0,l.A)(s,i,a,!1,null,"792be7e2",null),d=c.exports},8100:function(e,t,n){"use strict";var i=n(6518),a=n(5636);a&&i({target:"ArrayBuffer",proto:!0},{transfer:function(){return a(this,arguments.length?arguments[0]:void 0,!0)}})},8111:function(e,t,n){"use strict";var i=n(6518),a=n(4576),r=n(679),o=n(8551),s=n(4901),l=n(2787),c=n(2106),d=n(4659),u=n(9039),p=n(9297),f=n(8227),h=n(7657).IteratorPrototype,m=n(3724),g=n(6395),v="constructor",y="Iterator",b=f("toStringTag"),w=TypeError,C=a[y],x=g||!s(C)||C.prototype!==h||!u((function(){C({})})),S=function(){if(r(this,h),l(this)===h)throw new w("Abstract class Iterator not directly constructable")},T=function(e,t){m?c(h,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===h)throw new w("You can't redefine this property");p(this,e)?this[e]=t:d(this,e,t)}}):h[e]=t};p(h,b)||T(b,y),!x&&p(h,v)&&h[v]!==Object||T(v,S),S.prototype=h,i({global:!0,constructor:!0,forced:x},{Iterator:S})},8218:function(e,t,n){"use strict";n.r(t),t["default"]={Personal:"Personal",Home:"Home",Enterprise:"Enterprise",Area5G:"5G Coverage Area",AboutCmhk:"About CMHK",Login:"Login",SignOut:"Sign out",skip:"Skip",days:"days",hours:"hours",minutes:"minutes",seconds:"seconds",theEnd:"",button:"Buy Now",notLogged:"Not Logged In",loginForMore:"Login for more services",speedyservice:"Quick Entry",Close:"Close"}},8227:function(e,t,n){"use strict";var i=n(4576),a=n(5745),r=n(9297),o=n(3392),s=n(4495),l=n(7040),c=i.Symbol,d=a("wks"),u=l?c["for"]||c:c&&c.withoutSetter||o;e.exports=function(e){return r(d,e)||(d[e]=s&&r(c,e)?c[e]:u("Symbol."+e)),d[e]}},8237:function(e,t,n){"use strict";var i=n(6518),a=n(2652),r=n(9306),o=n(8551),s=n(1767),l=TypeError;i({target:"Iterator",proto:!0,real:!0},{reduce:function(e){o(this),r(e);var t=s(this),n=arguments.length<2,i=n?void 0:arguments[1],c=0;if(a(t,(function(t){n?(n=!1,i=t):i=e(i,t,c),c++}),{IS_RECORD:!0}),n)throw new l("Reduce of empty iterator with no initial value");return i}})},8259:function(e,t,n){"use strict";n(4114),n(8111),n(7588);var i=n(7223);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(i.isURLSearchParams(t))r=t.toString();else{var o=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),o.push(a(t)+"="+a(e))})))})),r=o.join("&")}if(r){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},8288:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,6466)),r={configList:[{id:Math.random().toString(),ImageUrl:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315172555_9XVGHwD4_600x348.png",commodityId:"21202311071721797951533748224",title:"",input1:"",diyInput:"",colorBody:[{id:Math.random().toString(),color:"rgb(178, 179, 181)"}],input2:"",input3:"",input4:"",input5:"",button:"",jumpUrl:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"商品信息配置",addWidgetType:"addProductCard",value:[{id:{label:""},ImageUrl:{label:"商品图片",hidden:!0},commodityId:{label:"商品id"},title:{label:"标题"},input1:{label:"員工特惠價",hidden:!0},diyInput:{label:"自定义"},input2:{label:"员工优惠"},input3:{label:"市場零售價",hidden:!0},input4:{label:"市场优惠"},input5:{label:"起",hidden:!0},colorBody:{label:"色值配置",maxNums:4,value:[{id:{label:""},color:{label:"色值",widgetType:"el-color-picker",showAlpha:!0,predefine:["#262729","rgb(36,38,40,0.8)","rgb(36,38,40,0.5)","#2F85FF","#D6197F","#52C41A","#f48427","#FFFFFF"]}}]},button:{label:"按钮文案"},jumpUrl:{label:"跳转链接"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},8340:function(e,t,n){"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty,r=n(3476);e.exports=r.call(i,a)},8361:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,5818)),r={configList:[{id:Math.random().toString(),uploadImageH5:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315173315_TRwiweWv_128x128.png",imageH5ATL:"",uploadImagePC:"https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315173315_TRwiweWv_128x128.png",imagePcATL:"",input1:"",input2:"",jumpUrl:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"图片配置",value:[{id:{label:""},uploadImagePC:{label:"上传PC图片"},imagePcATL:{label:"PC alt属性"},uploadImageH5:{label:"上传H5图片"},imageH5ATL:{label:"H5 alt属性"},input1:{label:"显示内容1"},input2:{label:"显示内容2"},jumpUrl:{label:"跳转链接"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},8369:function(e,t,n){"use strict";n.r(t);var i=n(2495);const a=()=>Promise.resolve().then(n.bind(n,4302)),r={configList:[{id:Math.random().toString(),input1:"",input2:""}]},o=(0,i.getLangDataType)(r,{configList:{label:"条款配置",value:[{id:{label:""},input1:{label:"条款名称"},input2:{label:"内容",widgetType:"isRichText"}}]}}),s=(0,i.getValidateSchema)(r);t["default"]={View:a,validateSchema:s,configDataType:o,langData:r,settings:e=>(0,i.getInitCompData)({cmsCompName:e,langData:r})}},8373:function(e){"use strict";e.exports=Math.round},8396:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e._self._c;return t("BaseComp",e._b({attrs:{data:e.data,nowCompId:e.nowCompId,isOpcacity:e.isOpcacity,lang:e.lang},on:{getConfigData:e.getConfigData}},"BaseComp",e.$attrs,!1),[e.showWujie?e._e():t("div",[e._v("配置后才会展示内容")]),e.showWujie&&e.wujieCompUrl?t("WujieVue",{key:e.data.componentId,attrs:{name:`cmsacive${e.data.componentId}`,url:e.wujieCompUrl,props:{data:e.propsdata5}}}):e._e()],1)},a=[],r=n(392),o=n(7396),s={name:"cms-dynamic-comp",components:{BaseComp:r["default"]},props:{data:{type:Object,default:()=>({})},nowCompId:{type:[String,Number],default:""},isOpcacity:{type:Boolean,default:!0},lang:{type:String,default:""}},data(){return{wujieCompUrl:"",propsdata5:{},showWujie:!1,compBaseUrl:"https://omniapi.hk.chinamobile.com",componentUrl:"",componentId:"",viaCompInstId:""}},async mounted(){this.$EventBus||(this.compBaseUrl=(0,o.getCompBaseUrl)()),this.getUrl(this.lang)},created(){},methods:{getConfigData(){const e=this.data.wujieConfig;this.componentUrl=e.componentUrl,this.componentId=e.componentId,this.viaCompInstId=e.viaCompInstId,this.getUrl(this.lang),this.componentId&&setTimeout((()=>{this.showWujie=!0}))},wujieFetchMx(e,t){return window.fetch(e,{...t,credentials:"include"})},getUrl(e){const t={"zh-CN":"sc","zh-HK":"tc","en-US":"en"},n=this.$EventBus?"tc":t[e],i=this.componentUrl.replace("langTag",n);this.wujieCompUrl=`${this.compBaseUrl}${i}`,console.log("wujieCompUrl",this.wujieCompUrl),this.propsdata5={orgId:sessionStorage.getItem("orgId")||"",staffId:sessionStorage.getItem("staffId")||"",cmhkChannel:(0,o.getCmhkChannelMx)(),cmhkToken:sessionStorage.getItem("cmhkToken")||"",componentId:this.componentId,viaCompInstId:this.viaCompInstId}}}},l=s,c=n(1656),d=(0,c.A)(l,i,a,!1,null,"5a95f5e8",null),u=d.exports},8449:function(e){"use strict";e.exports=Math.min},8469:function(e,t,n){"use strict";var i=n(9504),a=n(507),r=n(4402),o=r.Set,s=r.proto,l=i(s.forEach),c=i(s.keys),d=c(new o).next;e.exports=function(e,t,n){return n?a({iterator:c(e),next:d},t):l(e,t)}},8480:function(e,t,n){"use strict";var i=n(1828),a=n(8727),r=a.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},8527:function(e,t,n){"use strict";var i=n(7080),a=n(4402).has,r=n(5170),o=n(3789),s=n(507),l=n(9539);e.exports=function(e){var t=i(this),n=o(e);if(r(t)<n.size)return!1;var c=n.getIterator();return!1!==s(c,(function(e){if(!a(t,e))return l(c,"normal",!1)}))}},8537:function(e,t,n){"use strict";n.r(t),n.d(t,{MultiDrag:function(){return Ft},Sortable:function(){return Je},Swap:function(){return Et}});n(4114),n(8111),n(2489),n(7588),n(3579),n(1806);
|
|
12
12
|
/**!
|
|
13
13
|
* Sortable 1.10.2
|
|
14
14
|
* @author RubaXa <trash@rubaxa.org>
|