UNPKG

hel-tpl-remote-vue3-comps-ts

Version:

A simple remote vue3 comp template(typescript、dev with vite or webpack, build with webpack ), see [online usage](https://codesandbox.io/s/demo-load-remote-vue3-comp-2fd34s?file=/src/main.js)

3 lines 45 kB
/*! For license information please see app.a1129bf5.js.LICENSE.txt */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("Vue")):"function"==typeof define&&define.amd?define(["Vue"],e):"object"==typeof exports?exports["hel-tpl-remote-vue3-comps-ts"]=e(require("Vue")):t["hel-tpl-remote-vue3-comps-ts"]=e(t.Vue)}(self,(function(t){return function(){var e,r,n,o,i={9662:function(t,e,r){var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,r){var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,r){var n=r(5656),o=r(1400),i=r(6244),a=function(t){return function(e,r,a){var u,c=n(e),f=i(c),s=o(a,f);if(t&&r!=r){for(;f>s;)if((u=c[s++])!=u)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},3658:function(t,e,r){"use strict";var n=r(9781),o=r(3157),i=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!a(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,r){var n=r(84),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,r){var n=r(2597),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e,r){for(var u=o(e),c=a.f,f=i.f,s=0;s<u.length;s++){var p=u[s];n(t,p)||r&&n(r,p)||c(t,p,f(e,p))}}},8880:function(t,e,r){var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,r){var n=r(614),o=r(3070),i=r(6339),a=r(3072);t.exports=function(t,e,r,u){u||(u={});var c=u.enumerable,f=void 0!==u.name?u.name:e;if(n(r)&&i(r,f,u),u.global)c?t[e]=r:a(e,r);else{try{u.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},3072:function(t,e,r){var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9781:function(t,e,r){var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},317:function(t,e,r){var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8113:function(t,e,r){var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:function(t,e,r){var n,o,i=r(7854),a=r(8113),u=i.process,c=i.Deno,f=u&&u.versions||c&&c.version,s=f&&f.v8;s&&(o=(n=s.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,r){var n=r(7854),o=r(1236).f,i=r(8880),a=r(8052),u=r(3072),c=r(9920),f=r(4705);t.exports=function(t,e){var r,s,p,l,v,d=t.target,m=t.global,g=t.stat;if(r=m?n:g?n[d]||u(d,{}):(n[d]||{}).prototype)for(s in e){if(l=e[s],p=t.dontCallGetSet?(v=o(r,s))&&v.value:r[s],!f(m?s:d+(g?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(r,s,l,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},4374:function(t,e,r){var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,r){var n=r(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,r){var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,f=u&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:f}},84:function(t,e,r){var n=r(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=function(t){return n?a(t):function(){return i.apply(t,arguments)}}},1702:function(t,e,r){var n=r(4326),o=r(84);t.exports=function(t){if("Function"===n(t))return o(t)}},5005:function(t,e,r){var n=r(7854),o=r(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},8173:function(t,e,r){var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},7854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:function(t,e,r){var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,r){var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,r){var n=r(1702),o=r(7293),i=r(4326),a=Object,u=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?u(t,""):a(t)}:a},2788:function(t,e,r){var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},9909:function(t,e,r){var n,o,i,a=r(4811),u=r(7854),c=r(111),f=r(8880),s=r(2597),p=r(5465),l=r(6200),v=r(3501),d="Object already initialized",m=u.TypeError,g=u.WeakMap;if(a||p.state){var y=p.state||(p.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw m(d);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var h=l("state");v[h]=!0,n=function(t,e){if(s(t,h))throw m(d);return e.facade=t,f(t,h,e),e},o=function(t){return s(t,h)?t[h]:{}},i=function(t){return s(t,h)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return r}}}},3157:function(t,e,r){var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:function(t,e,r){var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,r){var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(t,e){var r=c[u(t)];return r==s||r!=f&&(o(e)?n(e):!!e)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},f=a.NATIVE="N",s=a.POLYFILL="P";t.exports=a},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,r){var n=r(614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:function(t){t.exports=!1},2190:function(t,e,r){var n=r(5005),o=r(614),i=r(7976),a=r(3307),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},6244:function(t,e,r){var n=r(7466);t.exports=function(t){return n(t.length)}},6339:function(t,e,r){var n=r(7293),o=r(614),i=r(2597),a=r(9781),u=r(6530).CONFIGURABLE,c=r(2788),f=r(9909),s=f.enforce,p=f.get,l=Object.defineProperty,v=a&&!n((function(){return 8!==l((function(){}),"length",{value:8}).length})),d=String(String).split("String"),m=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||u&&t.name!==e)&&(a?l(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&i(r,"arity")&&t.length!==r.arity&&l(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=s(t);return i(n,"source")||(n.source=d.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return o(this)&&p(this).source||c(this)}),"toString")},4758:function(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3070:function(t,e,r){var n=r(9781),o=r(4664),i=r(3353),a=r(9670),u=r(4948),c=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor;e.f=n?i?function(t,e,r){if(a(t),e=u(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=s(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return f(t,e,r)}:f:function(t,e,r){if(a(t),e=u(e),a(r),o)try{return f(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:function(t,e,r){var n=r(9781),o=r(6916),i=r(5296),a=r(9114),u=r(5656),c=r(4948),f=r(2597),s=r(4664),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=u(t),e=c(e),s)try{return p(t,e)}catch(t){}if(f(t,e))return a(!o(i.f,t,e),t[e])}},8006:function(t,e,r){var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,r){var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:function(t,e,r){var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,u=r(3501),c=n([].push);t.exports=function(t,e){var r,n=i(t),f=0,s=[];for(r in n)!o(u,r)&&o(n,r)&&c(s,r);for(;e.length>f;)o(n,r=e[f++])&&(~a(s,r)||c(s,r));return s}},5296:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2140:function(t,e,r){var n=r(6916),o=r(614),i=r(111),a=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw a("Can't convert object to primitive value")}},3887:function(t,e,r){var n=r(5005),o=r(1702),i=r(8006),a=r(5181),u=r(9670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=a.f;return r?c(e,r(t)):e}},4488:function(t,e,r){var n=r(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,r){var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,r){var n=r(7854),o=r(3072),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:function(t,e,r){var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,r){var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1400:function(t,e,r){var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:function(t,e,r){var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9303:function(t,e,r){var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},7466:function(t,e,r){var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:function(t,e,r){var n=r(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:function(t,e,r){var n=r(6916),o=r(111),i=r(2190),a=r(8173),u=r(2140),c=r(5112),f=TypeError,s=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=a(t,s);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},4948:function(t,e,r){var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,r){var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:function(t,e,r){var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,r){var n=r(9781),o=r(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,r){var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,r){var n=r(7854),o=r(2309),i=r(2597),a=r(9711),u=r(6293),c=r(3307),f=o("wks"),s=n.Symbol,p=s&&s.for,l=c?s:s&&s.withoutSetter||a;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var e="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=c&&p?p(e):l(e)}return f[t]}},7658:function(t,e,r){"use strict";var n=r(2109),o=r(7908),i=r(6244),a=r(3658),u=r(7207),c=r(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();n({target:"Array",proto:!0,arity:1,forced:c||f},{push:function(t){var e=o(this),r=i(e),n=arguments.length;u(r+n);for(var c=0;c<n;c++)e[r]=arguments[c],r++;return a(e,r),r}})},2107:function(t,e,r){!function(t,e){"use strict";var r=function(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})),e.default=t,Object.freeze(e)}(e),n=function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)};function o(t,r){var n=r||(null===e.getAppPlatform||void 0===e.getAppPlatform?void 0:e.getAppPlatform(t)),o=e.getSharedCache(n).appName2Lib;return o[t]||(o[t]={}),o[t]}var i="4.7.0";r.log("hel-lib-proxy ver ".concat(i));var a=r.getUserEventBus,u=r.helConsts,c=a();function f(t,e){var o=n({},e||{});return o.platform=u.DEFAULT_PLAT,r.getVerLib(t,o)}function s(t,n){var i,a=!0,c="";n&&("string"==typeof n?c=n:(c=n.platform||"",a=null===(i=n.asProxy)||void 0===i||i));var f=o(t,c=c||r.getAppPlatform(t)||u.DEFAULT_PLAT);return"function"==typeof Proxy&&a&&(f=function(t,r,n){return new Proxy(r,{get:function(r,i){var a=String(i);return e.log("[[getLibProxy]] call lib [".concat(t,"] method [").concat(a,"]")),Object.keys(r).length?r[a]:o(t,n)[a]}})}(t,f,c)),r.log("[[ exposeLib ]] libName, libObj",t,f),f}function p(t,o,i){var a=function(t){var r={allowDup:!1,platform:e.helConsts.DEFAULT_PLAT};return n(n({},r),t||{})}(i);r.libReady(t,o,a)}function l(t,e,n){r.appReady(t,e,n)}function v(t,e){return r.getVerApp(t,e)}var d=r.isSubApp;function m(){return!r.isSubApp()}var g=Object.freeze({__proto__:null,VER:i,eventBus:c,getLib:f,exposeLib:s,libReady:p,appReady:l,exposeApp:v,isSubApp:d,isMasterApp:m}),y=e.commonUtil.purify,h=["isMasterApp","isSubApp","eventBus"],b=["appReady","libReady"];function _(t,e){return e&&"object"==typeof e?n({platform:t},y(e)):e}function S(t){var e=function(t,e){var r={};return Object.keys(t).forEach((function(n){var o=t[n];if(h.includes(n))r[n]=o;else if(b.includes(n))r[n]=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=r[0],i=r[1],a=r[2];return t(o,i,_(e,void 0===a?{}:a))}}(o,e);else{var i="exposeLib"===n;r[n]=function(t,e,r){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=n[0],a=n[1];return t(i,r&&"string"==typeof a?a||e:_(e,a))}}(o,e,i)}})),r}(g,t);return e.createInstance=S,e}var E=i,A=p,L=s,O=f,N=d,I=m,x=c,T=l,P=v,C={VER:E,libReady:A,exposeLib:L,getLib:O,isSubApp:N,isMasterApp:I,eventBus:x,appReady:T,exposeApp:P,createInstance:S};t.VER=E,t.appReady=T,t.createInstance=S,t.default=C,t.eventBus=x,t.exposeApp=P,t.exposeLib=L,t.getLib=O,t.isMasterApp=I,t.isSubApp=N,t.libReady=A,Object.defineProperty(t,"__esModule",{value:!0})}(e,r(8110))},8110:function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,f=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){f=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(t,e)||f(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||f(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.r(e),r.d(e,{allowLog:function(){return Qt},appReady:function(){return je},commonDataUtil:function(){return de},commonUtil:function(){return Xt},evName:function(){return De},getAppMeta:function(){return ae},getAppPlatform:function(){return Ne},getAppStyleStr:function(){return be},getCommonData:function(){return le},getCustomData:function(){return se},getGlobalThis:function(){return te},getHelDebug:function(){return $t},getHelEventBus:function(){return Pe},getPlatform:function(){return qt},getPlatformConfig:function(){return Oe},getSharedCache:function(){return Jt},getUserEventBus:function(){return Ce},getVerApp:function(){return re},getVerExtraCssList:function(){return Se},getVerLib:function(){return oe},getVerLoadStatus:function(){return me},getVerStyleStrStatus:function(){return ye},getVersion:function(){return ce},helConsts:function(){return Ht},helEvents:function(){return Ut},helLoadStatus:function(){return Yt},inectPlatToMod:function(){return Bt},initPlatformConfig:function(){return xe},isSubApp:function(){return zt},libReady:function(){return we},log:function(){return Zt},originInit:function(){return Te},resetGlobalThis:function(){return Wt},setAppMeta:function(){return ue},setAppPlatform:function(){return Ie},setAppStyleStr:function(){return _e},setCommonData:function(){return ve},setCustomData:function(){return pe},setEmitApp:function(){return ne},setEmitLib:function(){return ie},setGlobalThis:function(){return ee},setVerExtraCssList:function(){return Ee},setVerLoadStatus:function(){return ge},setVerStyleStrStatus:function(){return he},setVersion:function(){return fe},tryGetAppName:function(){return Le},tryGetVersion:function(){return Ae}}),r(7658);var p=null;function l(){return p||function(){if("undefined"==typeof window){if(void 0===r.g)throw new Error("unable to locate global object");p=r.g}else p=window}(),p}function v(){return l()}function d(t){return Object.keys(t)}function m(){var t="";try{throw new Error("getJsRunLocation")}catch(r){var e=r.stack.split("\n");t=e[e.length-1]||""}return t}function g(t,e,r,n){y(t,e)[r]=n}function y(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t[e];return n||(n=r,t[e]=n),n}function h(t,e){Object.keys(e).forEach((function(r){var n=e[r];[null,void 0,""].includes(n)||(t[r]=n)}))}function b(t,e){t.includes(e)||t.push(e)}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.nullValues,n=void 0===r?[null,void 0,""]:r,o=e.emptyObjIsNull,a=void 0===o||o,u=e.emptyArrIsNull,c=void 0===u||u,f=n.includes(t);if(f)return!0;if(Array.isArray(t))return!!c&&0===t.length;if("object"===i(t)){var s=d(t),p=s.length;return!!a&&0===p}return!1}function S(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e}var E=_,A=b,L=d;function O(t,e){var r=e||function(t){return!E(t)},n={};return L(t).forEach((function(e){r(t[e])&&(n[e]=t[e])})),n}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",r=t.split("\n"),n=r.length-1,o=r.map((function(t,r){var o;if(!t&&(0===r||r===n))return"";var i=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=t;return t.endsWith("<br/>")?(n=t.substring(0,n.length-5),"".concat(n).concat(e)):"".concat(n).concat(r)},a=(null===(o=t.trimStart)||void 0===o?void 0:o.call(t))||t;return"MULTI"===e?"".concat(i(a,""),"\n"):a=i(a,"\n"," ")})).join("");return o}function I(t){return N(t,"ONE")}function x(t,e,r){t.dataset?t.dataset[e]=r:t.setAttribute("data-".concat(e),r)}function T(t){x(t,"heldisabled","1"),t.disabled=!0}var P=Object.freeze({__proto__:null,noop:S,safeParse:function(t,e,r){if(t&&"string"!=typeof t)return t;try{return JSON.parse(t)||e}catch(t){if(void 0!==e)return e;if(r)throw new Error(r);throw t}},isNull:E,noDupPush:A,okeys:L,merge2List:function(t,e){var r=[];return t.forEach((function(t){return A(r,t)})),e.forEach((function(t){return A(r,t)})),r},purify:O,getObjsVal:function(t,e,r){var n,o=r,i=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=f(t))){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(t);try{for(i.s();!(n=i.n()).done;){var a=n.value[e];if(![null,void 0,""].includes(a)){o=a;break}}}catch(t){i.e(t)}finally{i.f()}return o},pfstr:N,nbstr:I,nbalert:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=l(),n=I(t),o=r.alert||S;e&&r.location?r.location.port&&o(n):o(n)},setDataset:x,disableNode:T}),C={isIncludeFilter:function(t,e){return e.includes(",")?e.split(",").some((function(e){return t.includes(e)})):t.includes(e)},getLogFilter:function(){return M().logFilter},setLogFilter:function(t){M().logFilter=t},setLogMode:function(t){var e=parseInt(t,10);[1,2].includes(e)&&(M().logMode=e)},getLogMode:function(){return M().logMode}},D={};function w(){if(_(D=v().__HEL_MICRO_DEBUG__)){D={logMode:0,logFilter:"",isInit:!1},v().__HEL_MICRO_DEBUG__=D;try{!function(){if(!M().isInit){M().isInit=!0;var t=(a=function(){try{var t,e;return(null===(t=l().top)||void 0===t||null===(e=t.location)||void 0===e?void 0:e.search)||""}catch(t){var r,n;return(null===(r=l())||void 0===r||null===(n=r.location)||void 0===n?void 0:n.search)||""}}(),c={},null!=a&&a.startsWith("?")&&a.substring(1).split("&").forEach((function(t){var e=u(t.split("="),2),r=e[0],n=e[1];c[r]=n})),c),e=t.hellog,r=t.hellogf,n=l().localStorage,o=e||(null==n?void 0:n.getItem("HelConfig.logMode"))||0;C.setLogMode(o);var i=r||(null==n?void 0:n.getItem("HelConfig.logFilter"))||"";C.setLogFilter(i)}var a,c}()}catch(t){}}else void 0===D.logMode&&(D.logMode=0,D.logFilter="")}function j(){return 0!==C.getLogMode()}function M(){return D}var R=" %c--\x3e HEL LOG:",F="color:#ad4e00;font-weight:600";function G(){if(j()){for(var t=1===C.getLogMode()?console.log:console.trace||console.log,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r[0],i=r.slice(1);if("string"!=typeof o)return t.apply(void 0,[R,F].concat(r));var a=C.getLogFilter(),u=["".concat(R," ").concat(o),F].concat(c(i));a?C.isIncludeFilter(o,a)&&t.apply(void 0,c(u)):t.apply(void 0,c(u))}}var V="unpkg",K="__default_online_ver__",k=V,U={CORE_VER:"4.7.0",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:K,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:k,PLAT_HEL:"hel",PLAT_UNPKG:V,KEY_CSS_STR:"CSS_STR",KEY_ASSET_CTX:"ASSET_CTX",KEY_STYLE_TAG_ADDED:"STYLE_TAG_ADDED",KEY_CSS_LINK_TAG_ADDED:"CSS_LINK_TAG_ADDED",KEY_IGNORE_CSS_PREFIX_LIST:"IGNORE_CSS_PREFIX_LIST",KEY_IGNORE_STYLE_TAG_KEY:"IGNORE_STYLE_TAG_KEY",KEY_IGNORE_CSS_PREFIX_2_KEYS:"IGNORE_CSS_PREFIX_2_KEYS"},Y={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},H={NOT_LOAD:0,LOADING:1,LOADED:2},B=U.DEFAULT_API_URL,X=U.DEFAULT_USER_LS_KEY,z=U.PLAT_HEL,W=U.PLAT_UNPKG,q=U.DEFAULT_API_PREFIX,J=U.CORE_VER,$=U.KEY_CSS_LINK_TAG_ADDED,Q=U.KEY_STYLE_TAG_ADDED,Z=U.KEY_IGNORE_CSS_PREFIX_LIST,tt=U.KEY_IGNORE_STYLE_TAG_KEY,et=U.KEY_IGNORE_CSS_PREFIX_2_KEYS;function rt(t){return{apiMode:"get",apiPrefix:(t||{}).apiPrefix,apiSuffix:"",apiPathOfApp:B,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:X,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function nt(t){return o(o({isConfigOverwrite:!1,platform:t,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},rt()),{},{origin:rt({apiPrefix:q})})}function ot(){var t={};return{on:function(e,r){var n=t[e];if(!n){var o=[];t[e]=o,n=o}n.push(r)},emit:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var i=t[e];if(i){var a=i.slice();a.forEach((function(t){return t.apply(void 0,n)}))}},off:function(e,r){var n=t[e];if(n)for(var o=0,i=n.length;o<i;o++)if(n[o]===r){n.splice(o,1);break}}}}function it(t){[$,Q,Z,tt,et].forEach((function(e){return y(t,e,function(t){return t===Z?[]:{}}(e))}))}function at(){return v().__HEL_MICRO_SHARED__}function ut(){return k}function ct(t){var e=t||ut(),r=ft(),n=r.caches[e];if(!n){var o=i(t);if("string"!==o)throw console.error("invalid plaform:",t),new Error("fatal error: platform only can be a string, now it is ".concat(o));var a=nt(t);r.caches[e]=a,n=a}return n}function ft(){return at().cacheRoot}var st={getCustomData:function(t,e,r){var n=r.versionId,o=y(ct(r.platform).appName2verCustomData,t);return y(o,e)[n||K]},getAppMeta:function(t,e){return ct(e).appName2app[t]},setVerLoadStatus:function(t,e,r,n){var o=n||{},i=o.versionId;g(ct(o.platform)[r],t,i||K,e)},getVerLoadStatus:function(t,e,r){var n,o=r||{},i=o.versionId,a=ct(o.platform)[e],u=i||K;return(null===(n=a[t])||void 0===n?void 0:n[u])||H.NOT_LOAD},ensureOnlineModule:function(t,e,r){if(!t[K]){var n=st.getAppMeta(e,r),o=t[null==n?void 0:n.online_version];o&&(t[K]=o)}}};function pt(t,e){G("[[ core:setEmitApp ]] appName,emitApp:",t,e);var r=e.versionId,n=ct(e.platform),o=n.appName2verEmitApp,i=n.appName2Comp,a=n.appName2EmitApp;y(o,t)[K]||(i[t]=e.Comp,a[t]=e,g(o,t,K,e)),r&&g(o,t,r,e)}var lt=U.KEY_CSS_LINK_TAG_ADDED,vt=U.KEY_STYLE_TAG_ADDED,dt=U.KEY_IGNORE_CSS_PREFIX_LIST,mt=U.KEY_IGNORE_STYLE_TAG_KEY,gt=U.KEY_IGNORE_CSS_PREFIX_2_KEYS;function yt(t){return y(ft().common,t)}function ht(t){return ft().common[t]}function bt(t,e){var r=yt(t)[e];return void 0!==r?r:null}function _t(t,e,r){yt(t)[e]=r}var St={setIgnoreCssPrefix:function(t){b(ht(dt),t)},setIgnoreStyleTagKey:function(t){St.getIgnoreStyleTagMap()[t]=1},getIgnoreStyleTagMap:function(){return ht(mt)},setIgnoreCssPrefixKey:function(t,e){var r=bt(gt,t);r||_t(gt,t,r=[]),b(r,e)},getIgnoreCssPrefixKeys:function(t){return ht(gt)[t]||[]},getMatchedIgnoreCssPrefix:function(t){for(var e=ht(dt),r="",n=0;n<e.length;n++){var o=e[n];if(t.startsWith(o)){r=o;break}}return r},getIgnoreCssPrefixCssUrlList:function(t){var e=bt(lt,t);return e||_t(lt,t,e=[]),e},setIgnoreCssPrefixCssUrl:function(t,e){St.getIgnoreCssPrefixCssUrlList(t).push(e)},getStyleTagText:function(t){return bt(vt,t)||""},clearStyleTagText:function(t){_t(vt,t,"")},appendStyleTagText:function(t,e){var r=St.getStyleTagText(t);_t(vt,t,"".concat(r," ").concat(e))}};function Et(t,e){var r=t.apiMode,n=t.apiPrefix,o=t.apiSuffix,i=t.apiPathOfApp,a=t.apiPathOfAppVersion,u=t.getSubAppAndItsVersionFn,c=t.onFetchMetaFailed,f=t.strictMatchVer,s=t.getUserName,p=t.userLsKey,l=t.shouldUseGray,v=t.getApiPrefix,d=t.trustAppNames,m=t.platform,g=t.origin,y={apiMode:r,apiPrefix:n,apiSuffix:o,apiPathOfApp:i,apiPathOfAppVersion:a,getSubAppAndItsVersionFn:u,onFetchMetaFailed:c,strictMatchVer:f,getUserName:s,userLsKey:p,shouldUseGray:l,getApiPrefix:v,trustAppNames:d,hook:t.hook,platform:m};return e&&(y.origin=g),y}function At(t){return ft().appGroupName2platform[t]||ut()}function Lt(t,e){var r=e.customKey,n=y(ct(e.platform).appName2verCustomData,t);return y(n,r)}var Ot=Y.STYLE_TAG_ADDED,Nt=Y.CSS_LINK_TAG_ADDED;function It(){return at().eventBus}var xt={styleTagAdded:function(t){return"".concat(Ot,"/").concat(t)},cssLinkTagAdded:function(t){return"".concat(Nt,"(").concat(t,")")}};function Tt(t,e,r){var n=(r||{}).appGroupName,o=e.versionId,a=e.appProperties,u=e.platform||r.platform,c=ct(u),f=c.appName2verEmitLib,s=c.appName2Lib,p=c.appName2isLibAssigned,l=st.getAppMeta(t,u),v=function(t){var e=s[t];e?"object"===i(e)&&0===Object.keys(e).length&&Object.assign(e,a):s[t]=a,p[t]=!0};v(t),n?v(n):l&&v(l.app_group_name),G("[[ core:setEmitLib ]] appMeta:",l),y(f,t)[K]||g(f,t,K,a),o&&g(f,t,o,a)}function Pt(t,e){return ct(e).appName2app[t]}function Ct(t,e,r){st.setVerLoadStatus(t,e,"appName2verLoadStatus",r)}function Dt(t,e){var r=m();G("[[ core:tryGetVersion ]] may include source > ".concat(r));var n=ct(e).appGroupName2firstVer[t]||"";if(r.includes("https://")||r.includes("http://")){var o=u(r.split("//"),2)[1].split("/");if(n){if(e===k&&o.some((function(t){return t.includes(n)})))return n;if(o.includes(n))return n;if("static"===o[1]&&"js"===o[2]||"js"===o[1])return n}return e===k?o[1].split("@")[1]||n:o[2]||n}return n}function wt(t,e){return t===K?e||"":t.includes("_")?t.substring(0,t.length-15):e||""}var jt=!1,Mt=!1,Rt=U.KEY_ASSET_CTX;function Ft(t,e){if(!e||!["LINK","SCRIPT"].includes(e.tagName))return t(e);var r=e.href,n=e.tagName,o=e.src,i="LINK"===n,a=bt(Rt,r||o||"")||{},u=a.platform,c=a.groupName,f=a.name,s=a.ver,p=a.beforeAppend,l=e;if(p){var v=i?"href":"src",d=e.getAttribute(v);l=p({el:e,nativeAppend:t,setAssetUrl:function(t){return e.setAttribute(v,t)},url:d,tagName:n})||e}return u&&function(t,e){var r=e.platform,n=e.groupName,o=e.name,i=e.ver;x(t,"el",e.elName),x(t,"plat",r),x(t,"gname",n),x(t,"name",o),x(t,"ver",i)}(l,{platform:u,groupName:c,name:f,ver:s,elName:i?"HelLink":"HelScript"}),t(l)}var Gt="/* @helstart ",Vt=Gt.length;function Kt(t,e){var r=t.tagName,n=t.innerText,o=t.href;if(["STYLE","LINK"].includes(r)&&("STYLE"!==r||n))if("STYLE"===r){var i=n.indexOf(Gt);if(i<0)return;var a=n.indexOf(" @helend */"),u=n.substring(Vt+i,a);if(u){var c=u.trim();x(t,"gname",c),e[c]&&T(t);var f=It();St.appendStyleTagText(c,n),f.emit(xt.styleTagAdded(c),{nodes:[t]})}}else{var s=function(t,e){var r=It(),n=St.getMatchedIgnoreCssPrefix(e);return n&&(St.setIgnoreCssPrefixCssUrl(n,e),r.emit(xt.cssLinkTagAdded(n),{nodes:[t]})),n}(t,o);s&&T(t)}}function kt(t,e){var r=t.tagName,n=t.src,o=void 0===n?"":n;if("SCRIPT"!==r)return!1;if(!o.endsWith(".hot-update.js"))return!1;var i=St.getMatchedIgnoreCssPrefix(o);if(!i)return!1;var a=St.getIgnoreCssPrefixKeys(i);if(!a.length)return!1;var u=!1;return a.forEach((function(t){e[t]&&(function(t){var e=l();if(e){var r=e.document.head.querySelectorAll('style[data-gname="'.concat(t,'"]'));r.length&&(St.clearStyleTagText(t),r.forEach((function(e){T(e),St.appendStyleTagText(t,e.innerText)})),It().emit(xt.styleTagAdded(t),{nodes:r}))}}(t),u=!0)})),u}Wt(),G("hel-micro-core ver ".concat(U.CORE_VER));var Ut=Y,Yt=H,Ht=U,Bt=function t(e,r,n){var a=n||{},u=a.ignoreKeys,c=void 0===u?[]:u,f=a.arg1PlatObjFnKeys,s=void 0===f?[]:f,p={};return Object.keys(r).forEach((function(a){var u=r[a];if(c.includes(a))p[a]=u;else{var f=i(u);p[a]=f&&"object"===f?t(e,u,n):"function"!==f?u:function(t,e){var r=this,n=e.fn,i=e.fnName,a=e.arg1PlatObjFnKeys.includes(i);return function(){for(var e=function(e){return o({platform:t},O(e||{}))},i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var f=u[0],s=u[1];return a?u[0]=e(f):u[1]=e(s),n.apply(r,u)}}(e,{arg1PlatObjFnKeys:s,fn:u,fnName:a})}})),p},Xt=P,zt=function(){return console.log("%c".concat("WARNING: calling isSubApp is unsafe, use hel-iso.isSubApp instead,\nmore details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp"),"color:red;"),!jt};function Wt(t){t&&ee(t),function(t){if(t&&(jt=!1,Mt=!1),!Mt){Mt=!0;var e=l();void 0===e.__MASTER_APP_LOADED__&&(e.__MASTER_APP_LOADED__=!0,jt=!0)}}(!!t),function(){var t=at();if(t){var e=t.cacheRoot;y(e,"appGroupName2platform"),y(e,"common");var r=e.caches;return Object.keys(r).forEach((function(t){var e=r[t];y(e,"appGroupName2firstVer"),y(e,"appName2verExtraCssList"),y(e,"appName2verCustomData"),y(e,"hook"),y(e,"origin",rt()),y(e.origin,"hook")})),it(e.common),void(t.userEventBus||(t.userEventBus=ot()))}t=function(){var t,e=nt(W),r=nt(z),n={platform:z,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:(t={},a(t,W,e),a(t,z,r),t),common:{}},o=ot(),i=ot();return{ver:J,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,createFeature:m(),eventBus:o,userEventBus:i,cacheRoot:n,unpkgCache:e,helCache:r,dev:{setLogMode:C.setLogMode,setLogFilter:C.setLogFilter}}}(),it(t.cacheRoot.common),v().__HEL_MICRO_SHARED__=t}(),w(),function(){var t=at(),e=l().document,r=t.nativeHeadAppend,n=t.nativeBodyAppend;if(!r&&e){var o=e.head,i=e.body;r=o.appendChild.bind(o),n=i.appendChild.bind(i),t.nativeHeadAppend=r,t.nativeBodyAppend=n,e.head.appendChild=function(t){return Ft(r,t)},e.body.appendChild=function(t){return Ft(n,t)}}}(),function(){var t=at(),e=l(),r=t.isStyleObInit,n=e.document;if(!r&&n){t.isStyleObInit=!0;var o=St.getIgnoreStyleTagMap(),i=e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver;i&&new i((function(t){t.forEach((function(t){for(var e=t.addedNodes,r=t.removedNodes,n=e.length,i=0;i<n;i++)Kt(e[i],o);for(var a=r.length,u=0;u<a&&!kt(r[u],o);u++);}))})).observe(document.head,{childList:!0})}}()}var qt=ut,Jt=ct,$t=M,Qt=j,Zt=G,te=l,ee=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null;null!==(e=p)&&void 0!==e&&e.__HEL_MICRO_SHARED__&&(n=p.__HEL_MICRO_SHARED__),p=r?o(o({},p),t):t,n&&(p.__HEL_MICRO_SHARED__=n)},re=function(t,e){var r,n=e||{},o=n.versionId,i=n.platform,a=ct(i),u=a.appName2verEmitApp,c=a.appName2Comp,f=a.strictMatchVer,s=a.appName2EmitApp,p=null!==(r=n.strictMatchVer)&&void 0!==r?r:f,l=y(u,t);st.ensureOnlineModule(l,t,i);var v=l[o||K],d=c[t],m=d?{Comp:d}:null,g=p?null:s[t]||m,h=v||g||null;return G("[[ core:getVerApp ]] appName,options,result:",t,n,h),h},ne=pt,oe=function(t,e){var r,n=e||{},o=n.versionId,i=ct(n.platform),a=i.appName2verEmitLib,u=i.appName2Lib,c=i.strictMatchVer,f=i.appName2isLibAssigned,s=null!==(r=n.strictMatchVer)&&void 0!==r?r:c,p=y(a,t);st.ensureOnlineModule(p,t);var l=p[o||K],v=f[t]?u[t]:null,d=l||(s?null:v)||null;return G("[[ core:getVerLib ]] appName,options,result:",t,n,d),d},ie=Tt,ae=Pt,ue=function(t,e){ct(e).appName2app[t.name]=t},ce=function(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=ct(o),u=a.appName2verAppVersion,c=a.appName2appVersion[t]||null;return i&&(null===(r=u[t])||void 0===r?void 0:r[i])||c},fe=function(t,e,r){var n=(r||{}).platform,o=ct(n),i=o.appName2verAppVersion,a=o.appGroupName2firstVer,u=o.appName2appVersion,c=e.sub_app_version;if(c){var f=st.getAppMeta(t,n);y(i,t)[K]||(g(i,t,K,e),u[t]=e),g(i,t,c,e),a[f.app_group_name]=c}},se=function(t,e){var r=Lt(t,e)[e.versionId||K];return void 0!==r?r:null},pe=function(t,e){var r=e.customValue,n=e.versionId;Lt(t,e)[n||K]=r},le=bt,ve=_t,de=St,me=function(t,e){return st.getVerLoadStatus(t,"appName2verLoadStatus",e)},ge=Ct,ye=function(t,e){return st.getVerLoadStatus(t,"appName2verStyleFetched",e)},he=function(t,e,r){st.setVerLoadStatus(t,e,"appName2verStyleFetched",r)},be=function(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=ct(o),u=a.appName2verStyleStr,c=a.appName2styleStr[t]||"";return i?(null===(r=u[t])||void 0===r?void 0:r[i])||c||"":c},_e=function(t,e,r){var n=r||{},o=n.platform,i=n.versionId,a=ct(o),u=a.appName2verStyleStr,c=a.appName2verStyleFetched,f=a.appName2styleStr;i?(g(u,t,i,e),g(c,t,i,H.LOADED)):f[t]=e},Se=function(t,e){var r=e||{},n=r.versionId,o=y(ct(r.platform).appName2verExtraCssList,t),i=o[n]||o[K]||[];return G("[[ core:getVerExtraCssList ]] options,cssList:",r,i),i},Ee=function(t,e,r){var n=r||{},o=n.versionId,i=ct(n.platform).appName2verExtraCssList;G("[[ core:setVerExtraCssList ]] cssList:",e),y(i,t)[K]||g(i,t,K,e),o&&g(i,t,o,e)},Ae=Dt,Le=wt,Oe=function(t){return Et(ct(t),!0)},Ne=At,Ie=function(t,e){return ft().appGroupName2platform[t]=e,At(t)},xe=function(t,e){var r=ct(e),n=Et(t);r.isConfigOverwrite||(r.isConfigOverwrite=!0,h(r,n))},Te=function(t,e){var r=ct(t),n="[[ core:originInit ]] invalid call, it can only been called";if(r.isConfigOverwrite)G("".concat(n," before init"));else if(r.isOriginInitCalled)G("".concat(n," one time"));else{var o=Et(e);r.isOriginInitCalled=!0,h(r.origin,o)}},Pe=It,Ce=function(){return at().userEventBus},De=xt,we=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.platform||At(t),o=r.versionId||Dt(t,n),i=r.appName||wt(o,t),a=Pt(i,n);null!=a&&a.__fromCust&&(o=r.versionId||a.online_version,i=a.name);var u={platform:n,appName:i,appGroupName:t,versionId:o,appProperties:e,Comp:function(){},lifecycle:{}};Tt(i,u,{appGroupName:t,platform:n}),Ct(i,H.LOADED,{versionId:o,platform:n});var c=It();c.emit(Y.SUB_LIB_LOADED,u)},je=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.lifecycle,o=r.platform||At(t),i=r.versionId||Dt(t,o),a=r.appName||wt(i,t),u={Comp:e,appName:a,appGroupName:t,lifecycle:n,platform:o,versionId:i,isLib:!1};pt(a,u),Ct(a,H.LOADED,{versionId:i,platform:o});var c=It();c.emit(Y.SUB_APP_LOADED,u)}},2740:function(e){"use strict";e.exports=t}},a={};function u(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={exports:{}};return i[t].call(r.exports,r,r.exports,u),r.exports}u.m=i,u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,{a:e}),e},u.d=function(t,e){for(var r in e)u.o(e,r)&&!u.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},u.f={},u.e=function(t){return Promise.all(Object.keys(u.f).reduce((function(e,r){return u.f[r](t,e),e}),[]))},u.u=function(t){return"js/"+t+".4e08d521.js"},u.miniCssF=function(t){return"css/"+t+".44516a26.css"},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e={},r="hel-tpl-remote-vue3-comps-ts:",u.l=function(t,n,o,i){if(e[t])e[t].push(n);else{var a,c;if(void 0!==o)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var p=f[s];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){a=p;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.setAttribute("data-webpack",r+o),a.src=t),e[t]=[n];var l=function(r,n){a.onerror=a.onload=null,clearTimeout(v);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(t){return t(n)})),r)return r(n)},v=setTimeout(l.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=l.bind(null,a.onerror),a.onload=l.bind(null,a.onload),c&&document.head.appendChild(a)}},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.p="https://unpkg.com/hel-tpl-remote-vue3-comps-ts@1.4.0/hel_dist/",n=function(t){return new Promise((function(e,r){var n=u.miniCssF(t),o=u.p+n;if(function(t,e){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===t||o===e))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===t||o===e)return a}}(n,o))return e();!function(t,e,r,n){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)r();else{var a=i&&("load"===i.type?"missing":i.type),u=i&&i.target&&i.target.href||e,c=new Error("Loading CSS chunk "+t+" failed.\n("+u+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=u,o.parentNode.removeChild(o),n(c)}},o.href=e,document.head.appendChild(o)}(t,o,e,r)}))},o={143:0},u.f.miniCss=function(t,e){o[t]?e.push(o[t]):0!==o[t]&&{960:1}[t]&&e.push(o[t]=n(t).then((function(){o[t]=0}),(function(e){throw delete o[t],e})))},function(){var t={143:0};u.f.j=function(e,r){var n=u.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=t[e]=[r,o]}));r.push(n[2]=o);var i=u.p+u.u(e),a=new Error;u.l(i,(function(r){if(u.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+e,e)}};var e=function(e,r){var n,o,i=r[0],a=r[1],c=r[2],f=0;if(i.some((function(e){return 0!==t[e]}))){for(n in a)u.o(a,n)&&(u.m[n]=a[n]);c&&c(u)}for(e&&e(r);f<i.length;f++)o=i[f],u.o(t,o)&&t[o]&&t[o][0](),t[o]=0},r=self["helJsonp_hel-tpl-remote-vue3-comps-ts_1683113119553"]=self["helJsonp_hel-tpl-remote-vue3-comps-ts_1683113119553"]||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))}();var c={};return function(){"use strict";u.r(c);var t,e={isFirstMod:void 0===(t=n()).__HEL_ISO_FLAG__,isBeforeCore:void 0===t.__MASTER_APP_LOADED__};!function(){var t=n();void 0===t.__HEL_ISO_FLAG__&&(t.__HEL_ISO_FLAG__=1)}();var r=function(){var t=n(),r=t.location,o=t.__HEL_MICRO_SHARED__;if(!e.isFirstMod)return!1;if(e.isBeforeCore)return!0;var i=function(){var t="";try{throw new Error("codeHost")}catch(r){var e=r.stack.split("\n");t=e[e.length-1]||""}return t.split("//")[1].split("/")[0]}();if(r&&r.host===i)return!0;if(o){var a=o.cacheRoot.appGroupName2platform;if(!Object.keys(a).length)return!0}return!1}();function n(){return window||u.g}var o=function(){return r},i=u(2107);(async function(){const t=await u.e(960).then(u.bind(u,6687));(0,i.libReady)("hel-tpl-remote-vue3-comps-ts",t.default),o()&&await u.e(960).then(u.bind(u,6049))})().catch(console.error)}(),c}()})); //# sourceMappingURL=app.a1129bf5.js.map