UNPKG

hel-tdesign-react

Version:

基于 hel-tpl-remote-react-comp-ts 改造的远程 tdesign-react 模块,此版本基于[0.42.1](https://0_42_1-tdesign-react.surge.sh/react/overview)构建

2 lines 898 kB
/*! For license information please see css.61c44724.chunk.js.LICENSE.txt */ (this["helJsonp_hel-tdesign-react_1683113726456"]=this["helJsonp_hel-tdesign-react_1683113726456"]||[]).push([[0],[,function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}}).call(this,n(38))},,,,function(e,t,n){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",a="hour",i="day",c="week",l="month",u="quarter",s="year",f="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+h(r,2,"0")+":"+h(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,l),a=n-o<0,i=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-o)/(a?o-i:i-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:s,w:c,d:i,D:f,h:a,m:o,s:r,ms:n,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",y={};y[b]=m;var O=function(e){return e instanceof P},w=function e(t,n,r){var o;if(!t)return b;if("string"==typeof t){var a=t.toLowerCase();y[a]&&(o=a),n&&(y[a]=n,o=a);var i=t.split("-");if(!o&&i.length>1)return e(i[0])}else{var c=t.name;y[c]=t,o=c}return!r&&o&&(b=o),o||!r&&b},j=function(e,t){if(O(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new P(n)},E=g;E.l=w,E.i=O,E.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e)}var h=m.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var o=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return E},h.isValid=function(){return!(this.$d.toString()===d)},h.isSame=function(e,t){var n=j(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return j(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<j(e)},h.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var n=this,u=!!E.u(t)||t,d=E.p(e),p=function(e,t){var r=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return u?r:r.endOf(i)},v=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,h=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(d){case s:return u?p(1,0):p(31,11);case l:return u?p(1,h):p(0,h+1);case c:var y=this.$locale().weekStart||0,O=(m<y?m+7:m)-y;return p(u?g-O:g+(6-O),h);case i:case f:return v(b+"Hours",0);case a:return v(b+"Minutes",1);case o:return v(b+"Seconds",2);case r:return v(b+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var c,u=E.p(e),d="set"+(this.$u?"UTC":""),p=(c={},c[i]=d+"Date",c[f]=d+"Date",c[l]=d+"Month",c[s]=d+"FullYear",c[a]=d+"Hours",c[o]=d+"Minutes",c[r]=d+"Seconds",c[n]=d+"Milliseconds",c)[u],v=u===i?this.$D+(t-this.$W):t;if(u===l||u===s){var m=this.clone().set(f,1);m.$d[p](v),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](v);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[E.p(e)]()},h.add=function(n,u){var f,d=this;n=Number(n);var p=E.p(u),v=function(e){var t=j(d);return E.w(t.date(t.date()+Math.round(e*n)),d)};if(p===l)return this.set(l,this.$M+n);if(p===s)return this.set(s,this.$y+n);if(p===i)return v(1);if(p===c)return v(7);var m=(f={},f[o]=e,f[a]=t,f[r]=1e3,f)[p]||1,h=this.$d.getTime()+n*m;return E.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),a=this.$H,i=this.$m,c=this.$M,l=n.weekdays,u=n.months,s=function(e,n,o,a){return e&&(e[n]||e(t,r))||o[n].slice(0,a)},f=function(e){return E.s(a%12||12,e,"0")},p=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:c+1,MM:E.s(c+1,2,"0"),MMM:s(n.monthsShort,c,u,3),MMMM:s(u,c),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:s(n.weekdaysMin,this.$W,l,2),ddd:s(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(a),HH:E.s(a,2,"0"),h:f(1),hh:f(2),a:p(a,i,!0),A:p(a,i,!1),m:String(i),mm:E.s(i,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:o};return r.replace(v,(function(e,t){return t||m[e]||o.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(n,f,d){var p,v=E.p(f),m=j(n),h=(m.utcOffset()-this.utcOffset())*e,g=this-m,b=E.m(this,m);return b=(p={},p[s]=b/12,p[l]=b,p[u]=b/3,p[c]=(g-h)/6048e5,p[i]=(g-h)/864e5,p[a]=g/t,p[o]=g/e,p[r]=g/1e3,p)[v]||g,d?b:E.a(b)},h.daysInMonth=function(){return this.endOf(l).$D},h.$locale=function(){return y[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=w(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return E.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},m}(),x=P.prototype;return j.prototype=x,[["$ms",n],["$s",r],["$m",o],["$H",a],["$W",i],["$M",l],["$y",s],["$D",f]].forEach((function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),j.extend=function(e,t){return e.$i||(e(t,P,j),e.$i=!0),j},j.locale=w,j.isDayjs=O,j.unix=function(e){return j(1e3*e)},j.en=y[b],j.Ls=y,j.p={},j}()},function(e,t,n){(function(t){for(var r=n(93),o="undefined"===typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",c=o["request"+i],l=o["cancel"+i]||o["cancelRequest"+i],u=0;!c&&u<a.length;u++)c=o[a[u]+"Request"+i],l=o[a[u]+"Cancel"+i]||o[a[u]+"CancelRequest"+i];if(!c||!l){var s=0,f=0,d=[];c=function(e){if(0===d.length){var t=r(),n=Math.max(0,1e3/60-(t-s));s=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(s)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},l=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return c.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=c,e.cancelAnimationFrame=l}}).call(this,n(38))},,,,,function(e,t,n){"use strict";(function(e){function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;var a={exports:{}};!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var i=n.apply(null,o);i&&e.push(i)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var c in o)t.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(a);var i=a.exports}).call(this,n(38))},function(e,t,n){"use strict";var r=n(15),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=i;var u=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(v){var o=p(n);o&&o!==v&&e(t,o,r)}var i=s(n);f&&(i=i.concat(f(n)));for(var c=l(t),m=l(n),h=0;h<i.length;++h){var g=i[h];if(!a[g]&&(!r||!r[g])&&(!m||!m[g])&&(!c||!c[g])){var b=d(n,g);try{u(t,g,b)}catch(y){}}}}return t}},,,,,,,,,,,,function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,c=0,l=o.round,u=o.min,s=o.max,f=o.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,c=null,l=null,f=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(D[e])e=D[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=V.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=V.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=V.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=V.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=V.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=V.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=V.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:z(t[4]),format:n?"name":"hex8"};if(t=V.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=V.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:z(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=V.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(B(e.r)&&B(e.g)&&B(e.b)?(p=e.r,v=e.g,m=e.b,t={r:255*M(p,255),g:255*M(v,255),b:255*M(m,255)},f=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(r=L(e.s),c=L(e.v),t=function(e,t,n){e=6*M(e,360),t=M(t,100),n=M(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),c=n*(1-a*t),l=n*(1-(1-a)*t),u=r%6;return{r:255*[n,c,i,i,l,n][u],g:255*[l,n,n,c,i,i][u],b:255*[i,i,l,n,n,c][u]}}(e.h,r,c),f=!0,d="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(r=L(e.s),l=L(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=M(e,360),t=M(t,100),n=M(n,100),0===t)r=o=a=n;else{var c=n<.5?n*(1+t):n+t-n*t,l=2*n-c;r=i(l,c,e+1/3),o=i(l,c,e),a=i(l,c,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),f=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,v,m;return n=I(n),{ok:f,format:e.format||d,r:u(255,s(t.r,0)),g:u(255,s(t.g,0)),b:u(255,s(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=c++}function p(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,o,a=s(e,t,n),i=u(e,t,n),c=(a+i)/2;if(a==i)r=o=0;else{var l=a-i;switch(o=c>.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:c}}function v(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,o,a=s(e,t,n),i=u(e,t,n),c=a,l=a-i;if(o=0===a?0:l/a,a==i)r=0;else{switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:c}}function m(e,t,n,r){var o=[T(l(e).toString(16)),T(l(t).toString(16)),T(l(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function h(e,t,n,r){return[T(F(r)),T(l(e).toString(16)),T(l(t).toString(16)),T(l(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=A(n.s),d(n)}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=A(n.s),d(n)}function y(e){return d(e).desaturate(100)}function O(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=A(n.l),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=s(0,u(255,n.r-l(-t/100*255))),n.g=s(0,u(255,n.g-l(-t/100*255))),n.b=s(0,u(255,n.b-l(-t/100*255))),d(n)}function j(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=A(n.l),d(n)}function E(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function P(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function _(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function k(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,a=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(d(r));return a}function S(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],c=1/t;t--;)i.push(d({h:r,s:o,v:a})),a=(a+c)%1;return i}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=v(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[T(l(e).toString(16)),T(l(t).toString(16)),T(l(n).toString(16)),T(F(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*M(this._r,255))+"%",g:l(100*M(this._g,255))+"%",b:l(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*M(this._r,255))+"%, "+l(100*M(this._g,255))+"%, "+l(100*M(this._b,255))+"%)":"rgba("+l(100*M(this._r,255))+"%, "+l(100*M(this._g,255))+"%, "+l(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(P,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),a=n/100;return d({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,a=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},d.mostReadable=function(e,t,n){var r,o,a,i,c=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var u=0;u<t.length;u++)(r=d.readability(e,t[u]))>l&&(l=r,c=d(t[u]));return d.isReadable(e,c,{level:a,size:i})||!o?c:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var D=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},N=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(D);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function M(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,s(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return u(1,s(0,e))}function R(e){return parseInt(e,16)}function T(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function z(e){return R(e)/255}var V=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function B(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,c=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(s){u=!0,o=s}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,t)||u(e,t)||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 l(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||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 u(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"allowLog",(function(){return Ze})),n.d(t,"appReady",(function(){return Mt})),n.d(t,"commonDataUtil",(function(){return pt})),n.d(t,"commonUtil",(function(){return Ue})),n.d(t,"evName",(function(){return Nt})),n.d(t,"getAppMeta",(function(){return at})),n.d(t,"getAppPlatform",(function(){return xt})),n.d(t,"getAppStyleStr",(function(){return bt})),n.d(t,"getCommonData",(function(){return ft})),n.d(t,"getCustomData",(function(){return ut})),n.d(t,"getGlobalThis",(function(){return Qe})),n.d(t,"getHelDebug",(function(){return Xe})),n.d(t,"getHelEventBus",(function(){return St})),n.d(t,"getPlatform",(function(){return Ge})),n.d(t,"getPlatformConfig",(function(){return Pt})),n.d(t,"getSharedCache",(function(){return qe})),n.d(t,"getUserEventBus",(function(){return Dt})),n.d(t,"getVerApp",(function(){return tt})),n.d(t,"getVerExtraCssList",(function(){return Ot})),n.d(t,"getVerLib",(function(){return rt})),n.d(t,"getVerLoadStatus",(function(){return vt})),n.d(t,"getVerStyleStrStatus",(function(){return ht})),n.d(t,"getVersion",(function(){return ct})),n.d(t,"helConsts",(function(){return Ke})),n.d(t,"helEvents",(function(){return Be})),n.d(t,"helLoadStatus",(function(){return He})),n.d(t,"inectPlatToMod",(function(){return We})),n.d(t,"initPlatformConfig",(function(){return _t})),n.d(t,"isSubApp",(function(){return Ye})),n.d(t,"libReady",(function(){return It})),n.d(t,"log",(function(){return Je})),n.d(t,"originInit",(function(){return kt})),n.d(t,"resetGlobalThis",(function(){return $e})),n.d(t,"setAppMeta",(function(){return it})),n.d(t,"setAppPlatform",(function(){return Ct})),n.d(t,"setAppStyleStr",(function(){return yt})),n.d(t,"setCommonData",(function(){return dt})),n.d(t,"setCustomData",(function(){return st})),n.d(t,"setEmitApp",(function(){return nt})),n.d(t,"setEmitLib",(function(){return ot})),n.d(t,"setGlobalThis",(function(){return et})),n.d(t,"setVerExtraCssList",(function(){return wt})),n.d(t,"setVerLoadStatus",(function(){return mt})),n.d(t,"setVerStyleStrStatus",(function(){return gt})),n.d(t,"setVersion",(function(){return lt})),n.d(t,"tryGetAppName",(function(){return Et})),n.d(t,"tryGetVersion",(function(){return jt}));var f=null;function d(){return f||function(){if("undefined"===typeof window){if("undefined"===typeof e)throw new Error("unable to locate global object");f=e}else f=window}(),f}function p(){return d()}function v(e){return Object.keys(e)}function m(){var e=function(){try{var e,t;return(null===(e=d().top)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.search)||""}catch(o){var n,r;return(null===(n=d())||void 0===n||null===(r=n.location)||void 0===r?void 0:r.search)||""}}(),t={};null!==e&&void 0!==e&&e.startsWith("?")&&e.substring(1).split("&").forEach((function(e){var n=c(e.split("="),2),r=n[0],o=n[1];t[r]=o}));return t}function h(){var e="";try{throw new Error("getJsRunLocation")}catch(n){var t=n.stack.split("\n");e=t[t.length-1]||""}return e}function g(e,t,n,r){b(e,t)[n]=r}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e[t];return r||(r=n,e[t]=r),r}function y(e,t){Object.keys(t).forEach((function(n){var r=t[n];[null,void 0,""].includes(r)||(e[n]=r)}))}function O(e,t){e.includes(t)||e.push(t)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nullValues,r=void 0===n?[null,void 0,""]:n,o=t.emptyObjIsNull,i=void 0===o||o,c=t.emptyArrIsNull,l=void 0===c||c,u=r.includes(e);if(u)return!0;if(Array.isArray(e))return!!l&&0===e.length;if("object"===a(e)){var s=v(e),f=s.length;return!!i&&0===f}return!1}function j(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}var E=w,P=O,x=v;function C(e,t){var n=t||function(e){return!E(e)},r={};return x(e).forEach((function(t){n(e[t])&&(r[t]=e[t])})),r}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",n=e.split("\n"),r=n.length-1,o=n.map((function(e,n){var o;if(!e&&(0===n||n===r))return"";var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e;return e.endsWith("<br/>")?(r=e.substring(0,r.length-5),"".concat(r).concat(t)):"".concat(r).concat(n)},i=(null===(o=e.trimStart)||void 0===o?void 0:o.call(e))||e;return"MULTI"===t?"".concat(a(i,""),"\n"):i=a(i,"\n"," ")})).join("");return o}function k(e){return _(e,"ONE")}function S(e,t,n){e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(t),n)}function D(e){S(e,"heldisabled","1"),e.disabled=!0}var N=Object.freeze({__proto__:null,noop:j,safeParse:function(e,t,n){if(e&&"string"!==typeof e)return e;try{return JSON.parse(e)||t}catch(r){if(void 0!==t)return t;if(n)throw new Error(n);throw r}},isNull:E,noDupPush:P,okeys:x,merge2List:function(e,t){var n=[];return e.forEach((function(e){return P(n,e)})),t.forEach((function(e){return P(n,e)})),n},purify:C,getObjsVal:function(e,t,n){var r,o=n,a=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}(e);try{for(a.s();!(r=a.n()).done;){var i=r.value[t];if(![null,void 0,""].includes(i)){o=i;break}}}catch(c){a.e(c)}finally{a.f()}return o},pfstr:_,nbstr:k,nbalert:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=d(),r=k(e),o=n.alert||j;t&&n.location?n.location.port&&o(r):o(r)},setDataset:S,disableNode:D});var I={isIncludeFilter:function(e,t){return t.includes(",")?t.split(",").some((function(t){return e.includes(t)})):e.includes(t)},getLogFilter:function(){return T().logFilter},setLogFilter:function(e){T().logFilter=e},setLogMode:function(e){var t=parseInt(e,10);[1,2].includes(t)&&(T().logMode=t)},getLogMode:function(){return T().logMode}},M={};function A(){if(w(M=p().__HEL_MICRO_DEBUG__)){M={logMode:0,logFilter:"",isInit:!1},p().__HEL_MICRO_DEBUG__=M;try{!function(){if(!T().isInit){T().isInit=!0;var e=m(),t=e.hellog,n=e.hellogf,r=d().localStorage,o=t||(null===r||void 0===r?void 0:r.getItem("HelConfig.logMode"))||0;I.setLogMode(o);var a=n||(null===r||void 0===r?void 0:r.getItem("HelConfig.logFilter"))||"";I.setLogFilter(a)}}()}catch(e){}}else void 0===M.logMode&&(M.logMode=0,M.logFilter="")}function R(){return 0!==I.getLogMode()}function T(){return M}var L=" %c--\x3e HEL LOG:",F="color:#ad4e00;font-weight:600";function z(){if(R()){for(var e=1===I.getLogMode()?console.log:console.trace||console.log,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],a=n.slice(1);if("string"!==typeof o)return e.apply(void 0,[L,F].concat(n));var i=I.getLogFilter(),c=["".concat(L," ").concat(o),F].concat(l(a));i?I.isIncludeFilter(o,i)&&e.apply(void 0,l(c)):e.apply(void 0,l(c))}}var V="__default_online_ver__",B={CORE_VER:"4.7.0",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:V,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:"unpkg",PLAT_HEL:"hel",PLAT_UNPKG:"unpkg",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"},H={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},K={NOT_LOAD:0,LOADING:1,LOADED:2},W=B.DEFAULT_API_URL,U=B.DEFAULT_USER_LS_KEY,Y=B.PLAT_HEL,$=B.PLAT_UNPKG,G=B.DEFAULT_API_PREFIX,q=B.CORE_VER,X=B.KEY_CSS_LINK_TAG_ADDED,Z=B.KEY_STYLE_TAG_ADDED,J=B.KEY_IGNORE_CSS_PREFIX_LIST,Q=B.KEY_IGNORE_STYLE_TAG_KEY,ee=B.KEY_IGNORE_CSS_PREFIX_2_KEYS;function te(e){return{apiMode:"get",apiPrefix:(e||{}).apiPrefix,apiSuffix:"",apiPathOfApp:W,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:U,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function ne(e){return o(o({isConfigOverwrite:!1,platform:e,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},te()),{},{origin:te({apiPrefix:G})})}function re(){var e={};return{on:function(t,n){var r=e[t];if(!r){var o=[];e[t]=o,r=o}r.push(n)},emit:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e[t];if(a){var i=a.slice();i.forEach((function(e){return e.apply(void 0,r)}))}},off:function(t,n){var r=e[t];if(r)for(var o=0,a=r.length;o<a;o++){if(r[o]===n){r.splice(o,1);break}}}}}function oe(e){[X,Z,J,Q,ee].forEach((function(t){return b(e,t,function(e){return e===J?[]:{}}(t))}))}function ae(){var e=ie();if(e){var t=e.cacheRoot;b(t,"appGroupName2platform"),b(t,"common");var n=t.caches;return Object.keys(n).forEach((function(e){var t=n[e];b(t,"appGroupName2firstVer"),b(t,"appName2verExtraCssList"),b(t,"appName2verCustomData"),b(t,"hook"),b(t,"origin",te()),b(t.origin,"hook")})),oe(t.common),void(e.userEventBus||(e.userEventBus=re()))}oe((e=function(){var e,t=ne($),n=ne(Y),r={platform:Y,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:(e={},i(e,$,t),i(e,Y,n),e),common:{}},o=re(),a=re();return{ver:q,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,createFeature:h(),eventBus:o,userEventBus:a,cacheRoot:r,unpkgCache:t,helCache:n,dev:{setLogMode:I.setLogMode,setLogFilter:I.setLogFilter}}}()).cacheRoot.common),p().__HEL_MICRO_SHARED__=e}function ie(){return p().__HEL_MICRO_SHARED__}function ce(){return"unpkg"}function le(e){var t=e||"unpkg",n=ue(),r=n.caches[t];if(!r){var o=a(e);if("string"!==o)throw console.error("invalid plaform:",e),new Error("fatal error: platform only can be a string, now it is ".concat(o));var i=ne(e);n.caches[t]=i,r=i}return r}function ue(){return ie().cacheRoot}var se={getCustomData:function(e,t,n){var r=n.versionId,o=b(le(n.platform).appName2verCustomData,e);return b(o,t)[r||V]},getAppMeta:function(e,t){return le(t).appName2app[e]},setVerLoadStatus:function(e,t,n,r){var o=r||{},a=o.versionId;g(le(o.platform)[n],e,a||V,t)},getVerLoadStatus:function(e,t,n){var r,o=n||{},a=o.versionId,i=le(o.platform)[t],c=a||V;return(null===(r=i[e])||void 0===r?void 0:r[c])||K.NOT_LOAD},ensureOnlineModule:function(e,t,n){if(!e[V]){var r=se.getAppMeta(t,n),o=e[null===r||void 0===r?void 0:r.online_version];o&&(e[V]=o)}}};function fe(e,t){z("[[ core:setEmitApp ]] appName,emitApp:",e,t);var n=t.versionId,r=le(t.platform),o=r.appName2verEmitApp,a=r.appName2Comp,i=r.appName2EmitApp;b(o,e)[V]||(a[e]=t.Comp,i[e]=t,g(o,e,V,t)),n&&g(o,e,n,t)}var de=B.KEY_CSS_LINK_TAG_ADDED,pe=B.KEY_STYLE_TAG_ADDED,ve=B.KEY_IGNORE_CSS_PREFIX_LIST,me=B.KEY_IGNORE_STYLE_TAG_KEY,he=B.KEY_IGNORE_CSS_PREFIX_2_KEYS;function ge(e){return b(ue().common,e)}function be(e){return ue().common[e]}function ye(e,t){var n=ge(e)[t];return void 0!==n?n:null}function Oe(e,t,n){ge(e)[t]=n}var we={setIgnoreCssPrefix:function(e){O(be(ve),e)},setIgnoreStyleTagKey:function(e){we.getIgnoreStyleTagMap()[e]=1},getIgnoreStyleTagMap:function(){return be(me)},setIgnoreCssPrefixKey:function(e,t){var n=ye(he,e);n||Oe(he,e,n=[]),O(n,t)},getIgnoreCssPrefixKeys:function(e){return be(he)[e]||[]},getMatchedIgnoreCssPrefix:function(e){for(var t=be(ve),n="",r=0;r<t.length;r++){var o=t[r];if(e.startsWith(o)){n=o;break}}return n},getIgnoreCssPrefixCssUrlList:function(e){var t=ye(de,e);return t||Oe(de,e,t=[]),t},setIgnoreCssPrefixCssUrl:function(e,t){we.getIgnoreCssPrefixCssUrlList(e).push(t)},getStyleTagText:function(e){return ye(pe,e)||""},clearStyleTagText:function(e){Oe(pe,e,"")},appendStyleTagText:function(e,t){var n=we.getStyleTagText(e);Oe(pe,e,"".concat(n," ").concat(t))}};function je(e,t){var n=e.apiMode,r=e.apiPrefix,o=e.apiSuffix,a=e.apiPathOfApp,i=e.apiPathOfAppVersion,c=e.getSubAppAndItsVersionFn,l=e.onFetchMetaFailed,u=e.strictMatchVer,s=e.getUserName,f=e.userLsKey,d=e.shouldUseGray,p=e.getApiPrefix,v=e.trustAppNames,m=e.platform,h=e.origin,g={apiMode:n,apiPrefix:r,apiSuffix:o,apiPathOfApp:a,apiPathOfAppVersion:i,getSubAppAndItsVersionFn:c,onFetchMetaFailed:l,strictMatchVer:u,getUserName:s,userLsKey:f,shouldUseGray:d,getApiPrefix:p,trustAppNames:v,hook:e.hook,platform:m};return t&&(g.origin=h),g}function Ee(e){return ue().appGroupName2platform[e]||"unpkg"}function Pe(e,t){var n=t.customKey,r=b(le(t.platform).appName2verCustomData,e);return b(r,n)}var xe=H.STYLE_TAG_ADDED,Ce=H.CSS_LINK_TAG_ADDED;function _e(){return ie().eventBus}var ke={styleTagAdded:function(e){return"".concat(xe,"/").concat(e)},cssLinkTagAdded:function(e){return"".concat(Ce,"(").concat(e,")")}};function Se(e,t,n){var r=(n||{}).appGroupName,o=t.versionId,i=t.appProperties,c=t.platform||n.platform,l=le(c),u=l.appName2verEmitLib,s=l.appName2Lib,f=l.appName2isLibAssigned,d=se.getAppMeta(e,c),p=function(e){var t=s[e];t?"object"===a(t)&&0===Object.keys(t).length&&Object.assign(t,i):s[e]=i,f[e]=!0};p(e),r?p(r):d&&p(d.app_group_name),z("[[ core:setEmitLib ]] appMeta:",d),b(u,e)[V]||g(u,e,V,i),o&&g(u,e,o,i)}function De(e,t){return le(t).appName2app[e]}function Ne(e,t,n){se.setVerLoadStatus(e,t,"appName2verLoadStatus",n)}function Ie(e,t){var n=h();z("[[ core:tryGetVersion ]] may include source > ".concat(n));var r=le(t).appGroupName2firstVer[e]||"";if(n.includes("https://")||n.includes("http://")){var o=c(n.split("//"),2)[1].split("/");if(r){if("unpkg"===t&&o.some((function(e){return e.includes(r)})))return r;if(o.includes(r))return r;if("static"===o[1]&&"js"===o[2]||"js"===o[1])return r}return"unpkg"===t?o[1].split("@")[1]||r:o[2]||r}return r}function Me(e,t){return e===V?t||"":e.includes("_")?e.substring(0,e.length-15):t||""}var Ae=!1,Re=!1;var Te=B.KEY_ASSET_CTX;function Le(e,t){if(!t||!["LINK","SCRIPT"].includes(t.tagName))return e(t);var n=t.href,r=t.tagName,o=t.src,a="LINK"===r,i=ye(Te,n||o||"")||{},c=i.platform,l=i.groupName,u=i.name,s=i.ver,f=i.beforeAppend,d=t;if(f){var p=a?"href":"src",v=t.getAttribute(p);d=f({el:t,nativeAppend:e,setAssetUrl:function(e){return t.setAttribute(p,e)},url:v,tagName:r})||t}return c&&function(e,t){var n=t.platform,r=t.groupName,o=t.name,a=t.ver;S(e,"el",t.elName),S(e,"plat",n),S(e,"gname",r),S(e,"name",o),S(e,"ver",a)}(d,{platform:c,groupName:l,name:u,ver:s,elName:a?"HelLink":"HelScript"}),e(d)}var Fe="/* @helstart ".length;function ze(e,t){var n=e.tagName,r=e.innerText,o=e.href;if(["STYLE","LINK"].includes(n)&&("STYLE"!==n||r))if("STYLE"===n){var a=r.indexOf("/* @helstart ");if(a<0)return;var i=r.indexOf(" @helend */"),c=r.substring(Fe+a,i);if(c){var l=c.trim();S(e,"gname",l),t[l]&&D(e);var u=_e();we.appendStyleTagText(l,r),u.emit(ke.styleTagAdded(l),{nodes:[e]})}}else{(function(e,t){var n=_e(),r=we.getMatchedIgnoreCssPrefix(t);return r&&(we.setIgnoreCssPrefixCssUrl(r,t),n.emit(ke.cssLinkTagAdded(r),{nodes:[e]})),r})(e,o)&&D(e)}}function Ve(e,t){var n=e.tagName,r=e.src,o=void 0===r?"":r;if("SCRIPT"!==n)return!1;if(!o.endsWith(".hot-update.js"))return!1;var a=we.getMatchedIgnoreCssPrefix(o);if(!a)return!1;var i=we.getIgnoreCssPrefixKeys(a);if(!i.length)return!1;var c=!1;return i.forEach((function(e){t[e]&&(!function(e){var t=d();if(t){var n=t.document.head.querySelectorAll('style[data-gname="'.concat(e,'"]'));if(n.length)we.clearStyleTagText(e),n.forEach((function(t){D(t),we.appendStyleTagText(e,t.innerText)})),_e().emit(ke.styleTagAdded(e),{nodes:n})}}(e),c=!0)})),c}$e(),z("hel-micro-core ver ".concat(B.CORE_VER));var Be=H,He=K,Ke=B,We=function e(t,n,r){var i=r||{},c=i.ignoreKeys,l=void 0===c?[]:c,u=i.arg1PlatObjFnKeys,s=void 0===u?[]:u,f={};return Object.keys(n).forEach((function(i){var c=n[i];if(l.includes(i))f[i]=c;else{var u=a(c);f[i]=u&&"object"===u?e(t,c,r):"function"!==u?c:function(e,t){var n=this,r=t.fn,a=t.fnName,i=t.arg1PlatObjFnKeys.includes(a);return function(){for(var t=function(t){return o({platform:e},C(t||{}))},a=arguments.length,c=new Array(a),l=0;l<a;l++)c[l]=arguments[l];var u=c[0],s=c[1];return i?c[0]=t(u):c[1]=t(s),r.apply(n,c)}}(t,{arg1PlatObjFnKeys:s,fn:c,fnName:i})}})),f},Ue=N,Ye=function(){return"more details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp",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;"),!Ae};function $e(e){e&&et(e),function(e){if(e&&(Ae=!1,Re=!1),!Re){Re=!0;var t=d();void 0===t.__MASTER_APP_LOADED__&&(t.__MASTER_APP_LOADED__=!0,Ae=!0)}}(!!e),ae(),A(),function(){var e=ie(),t=d().document,n=e.nativeHeadAppend,r=e.nativeBodyAppend;if(!n&&t){var o=t.head,a=t.body;n=o.appendChild.bind(o),r=a.appendChild.bind(a),e.nativeHeadAppend=n,e.nativeBodyAppend=r,t.head.appendChild=function(e){return Le(n,e)},t.body.appendChild=function(e){return Le(r,e)}}}(),function(){var e=ie(),t=d(),n=e.isStyleObInit,r=t.document;if(!n&&r){e.isStyleObInit=!0;var o=we.getIgnoreStyleTagMap(),a=t.MutationObserver||t.WebKitMutationObserver||t.MozMutationObserver;if(a)new a((function(e){e.forEach((function(e){for(var t=e.addedNodes,n=e.removedNodes,r=t.length,a=0;a<r;a++)ze(t[a],o);for(var i=n.length,c=0;c<i&&!Ve(n[c],o);c++);}))})).observe(document.head,{childList:!0})}}()}var Ge=ce,qe=le,Xe=T,Ze=R,Je=z,Qe=d,et=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;null!==(t=f)&&void 0!==t&&t.__HEL_MICRO_SHARED__&&(r=f.__HEL_MICRO_SHARED__),f=n?o(o({},f),e):e,r&&(f.__HEL_MICRO_SHARED__=r)},tt=function(e,t){var n,r=t||{},o=r.versionId,a=r.platform,i=le(a),c=i.appName2verEmitApp,l=i.appName2Comp,u=i.strictMatchVer,s=i.appName2EmitApp,f=null!==(n=r.strictMatchVer)&&void 0!==n?n:u,d=b(c,e);se.ensureOnlineModule(d,e,a);var p=d[o||V],v=l[e],m=v?{Comp:v}:null,h=f?null:s[e]||m,g=p||h||null;return z("[[ core:getVerApp ]] appName,options,result:",e,r,g),g},nt=fe,rt=function(e,t){var n,r=t||{},o=r.versionId,a=le(r.platform),i=a.appName2verEmitLib,c=a.appName2Lib,l=a.strictMatchVer,u=a.appName2isLibAssigned,s=null!==(n=r.strictMatchVer)&&void 0!==n?n:l,f=b(i,e);se.ensureOnlineModule(f,e);var d=f[o||V],p=u[e]?c[e]:null,v=d||(s?null:p)||null;return z("[[ core:getVerLib ]] appName,options,result:",e,r,v),v},ot=Se,at=De,it=function(e,t){le(t).appName2app[e.name]=e},ct=function(e,t){var n,r=t||{},o=r.platform,a=r.versionId,i=le(o),c=i.appName2verAppVersion,l=i.appName2appVersion[e]||null;return a&&(null===(n=c[e])||void 0===n?void 0:n[a])||l},lt=function(e,t,n){var r=(n||{}).platform,o=le(r),a=o.appName2verAppVersion,i=o.appGroupName2firstVer,c=o.appName2appVersion,l=t.sub_app_version;if(l){var u=se.getAppMeta(e,r);b(a,e)[V]||(g(a,e,V,t),c[e]=t),g(a,e,l,t),i[u.app_group_name]=l}},ut=function(e,t){var n=Pe(e,t)[t.versionId||V];return void 0!==n?n:null},st=function(e,t){var n=t.customValue,r=t.versionId;Pe(e,t)[r||V]=n},ft=ye,dt=Oe,pt=we,vt=function(e,t){return se.getVerLoadStatus(e,"appName2verLoadStatus",t)},mt=Ne,ht=function(e,t){return se.getVerLoadStatus(e,"appName2verStyleFetched",t)},gt=function(e,t,n){se.setVerLoadStatus(e,t,"appName2verStyleFetched",n)},bt=function(e,t){var n,r=t||{},o=r.platform,a=r.versionId,i=le(o),c=i.appName2verStyleStr,l=i.appName2styleStr[e]||"";return a?(null===(n=c[e])||void 0===n?void 0:n[a])||l||"":l},yt=function(e,t,n){var r=n||{},o=r.platform,a=r.versionId,i=le(o),c=i.appName2verStyleStr,l=i.appName2verStyleFetched,u=i.appName2styleStr;a?(g(c,e,a,t),g(l,e,a,K.LOADED)):u[e]=t},Ot=function(e,t){var n=t||{},r=n.versionId,o=b(le(n.platform).appName2verExtraCssList,e),a=o[r]||o[V]||[];return z("[[ core:getVerExtraCssList ]] options,cssList:",n,a),a},wt=function(e,t,n){var r=n||{},o=r.versionId,a=le(r.platform).appName2verExtraCssList;z("[[ core:setVerExtraCssList ]] cssList:",t),b(a,e)[V]||g(a,e,V,t),o&&g(a,e,o,t)},jt=Ie,Et=Me,Pt=function(e){return je(le(e),!0)},xt=Ee,Ct=function(e,t){return ue().appGroupName2platform[e]=t,Ee(e)},_t=function(e,t){var n=le(t),r=je(e);n.isConfigOverwrite||(n.isConfigOverwrite=!0,y(n,r))},kt=function(e,t){var n=le(e),r="[[ core:originInit ]] invalid call, it can only been called";if(n.isConfigOverwrite)z("".concat(r," before init"));else if(n.isOriginInitCalled)z("".concat(r," one time"));else{var o=je(t);n.isOriginInitCalled=!0,y(n.origin,o)}},St=_e,Dt=function(){return ie().userEventBus},Nt=ke,It=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.platform||Ee(e),o=n.versionId||Ie(e,r),a=n.appName||Me(o,e),i=De(a,r);null!==i&&void 0!==i&&i.__fromCust&&(o=n.versionId||i.online_version,a=i.name);var c={platform:r,appName:a,appGroupName:e,versionId:o,appProperties:t,Comp:function(){},lifecycle:{}};Se(a,c,{appGroupName:e,platform:r}),Ne(a,K.LOADED,{versionId:o,platform:r});var l=_e();l.emit(H.SUB_LIB_LOADED,c)},Mt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.lifecycle,o=n.platform||Ee(e),a=n.versionId||Ie(e,o),i=n.appName||Me(a,e),c={Comp:t,appName:i,appGroupName:e,lifecycle:r,platform:o,versionId:a,isLib:!1};fe(i,c),Ne(i,K.LOADED,{versionId:a,platform:o});var l=_e();l.emit(H.SUB_APP_LOADED,c)}}.call(this,n(38))},,,,,,function(e,t,n){"u