@gkits/collect 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{css as t,attr as e,customElement as o,HIElement as n,html as r,ref as i,observable as a,nullableNumberConverter as s,repeat as l,when as c}from"hi-element";function d(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var u,p={exports:{}};(u=p).exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},u.exports.__esModule=!0,u.exports.default=u.exports;var h=d(p.exports),f={exports:{}},v={exports:{}},g={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(g);var m={exports:{}};!function(t){var e=g.exports.default;t.exports=function(t,o){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(m),function(t){var e=g.exports.default,o=m.exports;t.exports=function(t){var n=o(t,"string");return"symbol"==e(n)?n:n+""},t.exports.__esModule=!0,t.exports.default=t.exports}(v),function(t){var e=v.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(f);var y=d(f.exports),x={exports:{}},b={exports:{}};!function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}(b),function(t){var e=g.exports.default,o=b.exports;t.exports=function(t,n){if(n&&("object"==e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(x);var w=d(x.exports),k={exports:{}};!function(t){function e(o){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(k);var S=d(k.exports),C={exports:{}},M={exports:{}};!function(t){var e=k.exports;t.exports=function(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=e(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports}(M),function(t){var e=M.exports;function o(){return t.exports=o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,o,n){var r=e(t,o);if(r){var i=Object.getOwnPropertyDescriptor(r,o);return i.get?i.get.call(arguments.length<3?t:n):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports,o.apply(null,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}(C);var _=d(C.exports),O={exports:{}},I={exports:{}};!function(t){function e(o,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(o,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(I),function(t){var e=I.exports;t.exports=function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports}(O);var L=d(O.exports),E={exports:{}};!function(t){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports}(E);var z=d(E.exports);function B(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}"function"==typeof SuppressedError&&SuppressedError;var A={exports:{}};!function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}(A);var P=d(A.exports),j={exports:{}},T={exports:{}},D={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(D);var R={exports:{}};!function(t){var e=D.exports.default;t.exports=function(t,o){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(R),function(t){var e=D.exports.default,o=R.exports;t.exports=function(t){var n=o(t,"string");return"symbol"===e(n)?n:String(n)},t.exports.__esModule=!0,t.exports.default=t.exports}(T),function(t){var e=T.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(j);var W=d(j.exports);var F={exports:{}};!function(t){var e=T.exports;t.exports=function(t,o,n){return(o=e(o))in t?Object.defineProperty(t,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[o]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports}(F);var N=d(F.exports),$={exports:{}},H={exports:{}},V={exports:{}};!function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n},t.exports.__esModule=!0,t.exports.default=t.exports}(V),function(t){var e=V.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(H);var Y={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Y);var G={exports:{}};!function(t){var e=V.exports;t.exports=function(t,o){if(t){if("string"==typeof t)return e(t,o);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,o):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(G);var U={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(U),function(t){var e=H.exports,o=Y.exports,n=G.exports,r=U.exports;t.exports=function(t){return e(t)||o(t)||n(t)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}($);var X=d($.exports),Z={exports:{}},J={exports:{}};!function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports}(J);var q={exports:{}};!function(t){t.exports=function(t,e){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(t)).next,0===e){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports}(q);var Q={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(Q),function(t){var e=J.exports,o=q.exports,n=G.exports,r=Q.exports;t.exports=function(t,i){return e(t)||o(t,i)||n(t,i)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}(Z);var K=d(Z.exports),tt=Math.min,et=Math.max,ot=Math.floor,nt=Math.round;function rt(t,e,o){e/=100,o/=100;var n=ot(t=t/360*6),r=t-n,i=o*(1-e),a=o*(1-r*e),s=o*(1-(1-r)*e),l=n%6;return[255*[o,a,i,i,s,o][l],255*[s,o,o,a,i,i][l],255*[i,i,s,o,o,a][l]]}function it(t,e,o){var n,r,i=tt(t/=255,e/=255,o/=255),a=et(t,e,o),s=a-i;if(0===s)n=r=0;else{r=s/a;var l=((a-t)/6+s/2)/s,c=((a-e)/6+s/2)/s,d=((a-o)/6+s/2)/s;t===a?n=d-c:e===a?n=1/3+l-d:o===a&&(n=2/3+c-l),n<0?n+=1:n>1&&(n-=1)}return[360*n,100*r,100*a]}function at(t,e,o,n){e/=100,o/=100;var r=255*(1-tt(1,(t/=100)*(1-(n/=100))+n)),i=255*(1-tt(1,e*(1-n)+n)),a=255*(1-tt(1,o*(1-n)+n));return X(it(r,i,a))}function st(t,e,o){return e/=100,[t,(o/=100)+(e*=o<.5?o:1-o)?2*e/(o+e)*100:0,100*(o+e)]}function lt(t){return it.apply(void 0,X(t.match(/.{2}/g).map((function(t){return parseInt(t,16)}))))}function ct(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000000";var e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000000"===e.fillStyle?null:e.fillStyle}(t):t;var e,o={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},n=function(t){return t.map((function(t){return/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0}))};t:for(var r in o)if(e=o[r].exec(t))switch(r){case"cmyk":var i=n(e),a=K(i,5),s=a[1],l=a[2],c=a[3],d=a[4];if(s>100||l>100||c>100||d>100)break t;return{values:at(s,l,c,d),type:r};case"rgba":var u=n(e),p=K(u,7),h=p[3],f=p[4],v=p[5],g=p[6];if(h>255||f>255||v>255||g<0||g>1)break t;return{values:[].concat(X(it(h,f,v)),[g]),a:g,type:r};case"hexa":var m=K(e,2)[1];4!==m.length&&3!==m.length||(m=m.split("").map((function(t){return t+t})).join(""));var y=m.substring(0,6),x=m.substring(6);return x=x?parseInt(x,16)/255:void 0,{values:[].concat(X(lt(y)),[x]),a:x,type:r};case"hsla":var b=n(e),w=K(b,7),k=w[3],S=w[4],C=w[5],M=w[6];if(k>360||S>100||C>100||M<0||M>1)break t;return{values:[].concat(X(st(k,S,C)),[M]),a:M,type:r};case"hsva":var _=n(e),O=K(_,7),I=O[3],L=O[4],E=O[5],z=O[6];if(I>360||L>100||E>100||z<0||z>1)break t;return{values:[I,L,E,z],a:z,type:r}}return{values:null,type:null}}function dt(){var t=function(t,e){return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e(~o?t.map((function(t){return Number(t.toFixed(o))})):t)}},e={h:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s:arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,v:arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a:arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,toHSVA:function(){var o=[e.h,e.s,e.v,e.a];return o.toString=t(o,(function(t){return"hsva(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toHSLA:function(){var o=[].concat(X(function(t,e,o){var n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"hsla(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toRGBA:function(){var o=[].concat(X(rt(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"rgba(".concat(t[0],", ").concat(t[1],", ").concat(t[2],", ").concat(e.a,")")})),o},toCMYK:function(){var o=function(t,e,o){var n,r=rt(t,e,o),i=r[0]/255,a=r[1]/255,s=r[2]/255;return[100*(1===(n=tt(1-i,1-a,1-s))?0:(1-i-n)/(1-n)),100*(1===n?0:(1-a-n)/(1-n)),100*(1===n?0:(1-s-n)/(1-n)),100*n]}(e.h,e.s,e.v);return o.toString=t(o,(function(t){return"cmyk(".concat(t[0],"%, ").concat(t[1],"%, ").concat(t[2],"%, ").concat(t[3],"%)")})),o},toHEXA:function(){var t=function(t,e,o){return rt(t,e,o).map((function(t){return nt(t).toString(16).padStart(2,"0")}))}(e.h,e.s,e.v),o=e.a>=1?"":Number((255*e.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return o&&t.push(o),t.toString=function(){return"#".concat(t.join("").toUpperCase())},t},clone:function(){return dt(e.h,e.s,e.v,e.a)}};return e}function ut(t,e){var o=ct(t),n=dt.apply(void 0,X(o.values)).toRGBA();return"rgba(".concat(n[0].toFixed(0),",").concat(n[1].toFixed(0),",").concat(n[2].toFixed(0),",").concat(Number(n[3].toFixed(2))*e,")")}var pt={theme:"#0073E5",primary:"#0073E5",success:"#18bc37",error:"#F2607A",warning:"#FAA54A",info:"#0073E5"},ht=function(t){return t.trim().toLowerCase().replace(t[0],t[0].toUpperCase())},ft=function(t){return N(N(N(N({},"--".concat(t,"Color"),"var(--hi".concat(ht(t),"Color,").concat(pt[t],")")),"--".concat(t,"Color-hover"),"var(--hi".concat(ht(t),"Color-hover,").concat(ut(pt[t],.6),")")),"--".concat(t,"Color-active"),"var(--hi".concat(ht(t),"Color-active,").concat(ut(pt[t],.4),")")),"--".concat(t,"Color-outline"),"var(--hi".concat(ht(t),"Color-outline,").concat(ut(pt[t],.15),")"))},vt=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"--themeColor":"var(--hiThemeColor,".concat(pt.primary,")"),"--themeShadow":"var(--hiThemeShadow, ".concat(ut(pt.primary,.25),")"),"--themeBackground":"var(--hiThemeBackground,".concat(pt.primary,")"),"--fontColor":"var(--hiFontColor,#333)","--linkFontColor":"var(--hiLinkFontColor,".concat(pt.primary,")"),"--fontSize14":"var(--hiFontSize14,14px)","--fontSize16":"var(--hiFontSize16,16px)","--fontSize20":"var(--hiFontSize20,20px)","--borderColor":"var(--hiBorderColor, rgba(102, 102, 102, 0.3))","--borderRadius":"var(--hiBorderRadius,4px)","--colorWhite":"#fff","--colorGray1":"#fafafa","--colorGray2":"#eee","--colorGray6":"#757575","--colorGray7":"#585858","--colorGray8":"#333","--colorNeutral02":"rgba(0,0,0,0.02)","--colorNeutral05":"rgba(0,0,0,0.05)","--colorNeutral1":"rgba(0,0,0,0.1)","--colorNeutral2":"rgba(0,0,0,0.2)","--colorNeutral3":"rgba(0,0,0,0.3)","--colorNeutral4":"rgba(0,0,0,0.4)","--colorNeutral5":"rgba(0,0,0,0.5)","--colorNeutral6":"rgba(0,0,0,0.65)","--colorNeutral7":"rgba(0,0,0,0.75)","--colorNeutral8":"rgba(0,0,0,0.85)","--colorBlack":"#000"},ft("primary")),ft("success")),ft("error")),ft("warning")),ft("info")),gt=function(t){return Object.prototype.toString.call(t)},mt=function(t){return"[object Object]"==gt(t)};function yt(t){var e={Cursor:"cursor:pointer",PoiNo:"pointer-events:none",PoiAll:"pointer-events:all",Opa0:"opacity:0",Opa1:"opacity:1",Inset:"inset:0",Content:"content:''",PosR:"position:relative",PosA:"position:absolute",PosF:"position:fixed",OH:"overflow:hidden",OA:"overflow:auto",VisHi:"visibility:hidden",VisVi:"visibility:visible",DisBlock:"display:block",DisInBlock:"display:inline-block",DisIn:"display:inline",DisFlex:"display:flex",DisGrid:"display:grid",DisNo:"display:none",DisNoIm:"display:none!important",WS:"white-space:nowrap",WW:"word-wrap:break-word;word-break:normal",WB:"word-break:break-all",TEll:"overflow:hidden;white-space:nowrap;text-overflow:ellipsis",BCover:"background-color:#eee;background-position:center;background-repeat:no-repeat;background-size:cover",TL:"text-align:left",TR:"text-align:right",TC:"text-align:center"},o="\n :host{white-space:normal;line-height:18px;text-align:initial;}\n h1,h2,h3,h4,h5,h6,hr,p,dl,dt,dd,ul,ol,li,form,legend,button,input,textarea,th,td{margin:0;padding:0;}\n ul,ol{list-style:none;}\n table{border-collapse:collapse;border-spacing:0;}\n h1,h2,h3,h4,h5,h6,button,input,select,textarea{font-size:100%;} \n img{border:0;margin:0;}\n *{\n -webkit-text-size-adjust:none;\n -webkit-touch-callout:none;\n -webkit-user-select:none;\n -khtml-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n -webkit-user-drag: none;\n -webkit-tap-highlight-color:rgba(0,0,0,0);\n }\n *,*:before,*:after{".concat("\n -webkit-box-sizing:border-box;\n -moz-box-sizing:border-box;\n -ms-box-sizing:border-box;\n box-sizing:border-box;\n ","}\n [tabindex=\"-1\"]:focus{outline:none!important}\n :host([disabled]),[disabled],.disabled{opacity:.65;pointer-events:none;cursor:not-allowed!important;}\n .Entry{transition:all 0.3s ease 0s}\n .Entry:focus{box-shadow:0 0 0 3px var(--themeShadow);outline:0;}\n .Entry:focus,.Entry:hover{border-color:var(--themeColor)!important;border-right-width:1px;}\n .Track:before{content:'';position:absolute;width:100%;height:100%;left:0px;top:0px;background-color:rgb(0 255 3 / 32%);z-index:1;}\n "),n="";if(t&&"[object Array]"==gt(t))for(var r=0;r<t.length;r++){var i=t[r];n+="".concat(e[i],";")}else for(var a in n+=o,e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=e[a];n+=".".concat(a,"{").concat(s,"}")}return n}var xt=function(){return W((function t(){P(this,t),this.timeOut=0}),[{key:"init",value:function(t){var e,o,n=this;e=setInterval((function(){o="string"==typeof t.front?window[t.front]:t.front(),n.timeOut++,(n.timeOut>=60||o)&&(clearInterval(e),t.callback())}),50)}}])}();var bt=function(){function t(){if(P(this,t),this.config={theme:vt,button:{radius:6,size:"default"},message:{top:10,radius:6,duration:2e3},notify:{radius:6,duration:5e3},modal:{radius:8},toast:{radius:8,duration:2e3},popup:{radius:12,width:630,height:630},float:{margin:12},captcha:{radius:8,margin:24},space:{gutter:12},actions:{radius:12,margin:16}},window.HiServe=window.HiServe||{},!window.HiServe.IS_READY)if(window.HiServe.IS_READY=!0,function(){if(!window.sessionStorage.getItem("HI_KITS_HELLO_CONSOLE")){var t="✰ hi-kits ✰",e="\n\ndocs: ".concat(atob("aHR0cHM6Ly95cy16anJzLmhhaWVyLm5ldA=="),"/hidoc/index.html \n\ngit: https://github.com/hi-kits/hi-kit\n\n如有任何意见和建议可在网站留言\n\n"),o="padding:5px 0",n="background:#0CF;"+o,r="background:#111;font-size:14px;color:#FFF;"+o,i="background:#CFF;"+o;if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var a=["%c %c "+t+" %c %c"+e+"%c %c",n,r,n,i,n,"color:#000"];window.console.log.apply(console,a)}else window.console&&window.console.log(t+e);window.sessionStorage.setItem("HI_KITS_HELLO_CONSOLE","hello")}}(),window.localStorage.getItem("HI_ICONS"))window.HiServe.icons=JSON.parse(window.localStorage.getItem("HI_ICONS"));else{var e="https:"+atob("Ly96anJzLmhhaWVyLm5ldA==");(window.location.href.indexOf(atob("aHcuaGFpZXIubmV0L3BvcnRhbA=="))>-1||window.location.href.indexOf(atob("aHdvcmstaW50ZXJuYWwuaGFpZXIubmV0L3BvcnRhbA=="))>-1||window.location.href.indexOf(atob("aHdvcmsuaGFpZXIubmV0L3BvcnRhbA=="))>-1)&&(e=window.location.href.startsWith("https://p")||window.location.href.startsWith("http://p")?atob("aHR0cHM6Ly9wLWFwaS1jbi1zcDAwMDY3NS1pLmh3b3JrLmhhaWVyLm5ldA=="):atob("aHR0cHM6Ly9hcGktY24tc3AwMDA2NzUtaS5od29yay5oYWllci5uZXQ=")),o=[e+"/download/hikits/icons.js"],n=function(){window.HiServe.icons=window.Hi_Icons,window.localStorage.setItem("HI_ICONS",JSON.stringify(window.Hi_Icons))},r=document.getElementsByTagName("head")[0],Promise.all(o.map((function(t){return new Promise((function(e){var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=t,o.addEventListener("load",(function(t){return e()}),!1),r.appendChild(o)}))}))).then(n)}var o,n,r}return W(t,[{key:"install",value:function(t){}},{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.config;for(var o in t){var n=t[o];mt(n)?this.config[o]&&this.init(n,e[o]):e[o]=n}}}],[{key:"case",get:function(){return this._case||(this._case=new t),this._case}}])}();function wt(){var t="",e=bt.case.config.theme;for(var o in e)o&&(t+="".concat(o,":").concat(e[o],";"));return":host,:root{".concat(t,"} ").concat(".Visibility{visibility:hidden}"," ").concat(yt())}var kt,St={path:atob("aHR0cHM6Ly96anJzLmhhaWVyLm5ldA=="),pathys:atob("aHR0cHM6Ly95cy16anJzLmhhaWVyLm5ldA=="),coupon:"/download/img/collect/certificate.png",card1:"/download/img/collect/card/card01.png",card2:"/download/img/collect/card/card02.png",card3:"/download/img/collect/card/card03.png",card4:"/download/img/collect/card/card04.png",card5:"/download/img/collect/card/card05.png",card6:"/download/img/collect/card/card06.png",title1:"/download/img/collect/card/title1.png",title2:"/download/img/collect/card/title2.png",title3:"/download/img/collect/card/title3.png",title4:"/download/img/collect/card/title4.png",title5:"/download/img/collect/card/title5.png",title6:"/download/img/collect/card/title6.png"},Ct=t(kt||(kt=z(["\n","\n:host{\ntext-align:center;color:#fff;\nposition:fixed;left:-100%;top:0;width:100vw;height:100vh;\n}\n:host([show]){display:block;z-index:3000;top:0;left:0;}\n.VideoWrap{position:absolute;top:0;left:0; width:720px;height:1417px;display:inline-block;\ntransform-origin:0 0;transform: translate3d(0, 0, 0);\n}\n.VideoWrap img{width:100%;height:100%;position:absolute;top:0;left:0;}\n.VideoWrap .Svga {width:100vw;height:100vh;}\n.ConflateWrap {position:absolute;top:0;left:0;width:100vw;height:100vh;display:block;z-index:3200;background:rgba(0, 0, 0, 0.4);}\n.ConflateWrap .Content{position:relative; z-index:6;height:100%;\n padding-top: 15vw;text-align:center;\n}\n\n\n.ConflateWrap .Bg{position:absolute;top:0;left:0;width:100%;height:100%;\n background:url(","/download/img/collect/bg.png) no-repeat center;\n background-size: cover;\n}\n.ConflateWrap .Title img{\n height:28vw\n}\n.ConflateWrap .Subtitle{\nfont-size: 14px;font-weight: 400;line-height: 14px;\ncolor: #FFFFFF;\n}\n.ConflateWrap .Notes{\nposition:absolute;bottom:5vw;width:100%;\nfont-size: 3.2vw;\ncolor: #FFF1D8;\nline-height: 1.5;\nfont-weight: 400;\n}\n.Icon{display:flex;justify-content:space-around;position:absolute;width:100%;bottom:58vw;}\n.Icon span{display:none}\n.Icon span.Coupon{display:block;position:relative;}\n.Icon div{width:33.333333vw;text-align:center}\n.Icon div p{font-size:12px;}\n.Icon img{width:19.2vw}\n.Icon span.Coupon img{width:auto;height:19.2vw}\n.Icon span.Coupon i{position:absolute;font-style:normal;color:#f83a0a;top:4vw;left:0;right:0; text-align:center;}\n.Icon.Two{padding:0 10vw}\n.Button{position:absolute;width:100%;bottom:30vw;text-align:center}\n.Button img{height:20.26666666vw}\n\n.transit{opacity: 0;transition: opacity 1s ease-in-out;}\n.show.transit{opacity: 1;transition-delay: 1s;}\n\n@media screen and (max-height : 210vw) {\n .VideoWrap{margin-top:-5vw}\n .Icon{bottom:54vw;}\n .Button{bottom:25vw;}\n}\n@media screen and (max-height : 200vw) {\n .ConflateWrap .Title{margin-top:-5vw}\n .VideoWrap{margin-top:-10vw}\n .Icon{bottom:50vw;}\n .Button{bottom:22vw;}\n}\n@media screen and (max-height : 190vw) {\n .ConflateWrap .Title{margin-top:-10vw}\n .VideoWrap{margin-top:-15vw}\n .Icon{bottom:45vw;}\n .Button{bottom:20vw;}\n}\n@media screen and (max-height : 180vw) {\n .VideoWrap{margin-top:-18vw}\n .Button{bottom:18vw;}\n}\n@media screen and (max-height : 170vw) {\n .ConflateWrap .Title{margin-top:-16vw}\n .VideoWrap{margin-top:-20vw}\n .Icon{bottom:38vw;}\n .Button{bottom:15vw;}\n}\n"])),wt(),St.path);function Mt(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}const _t=t=>Object.prototype.toString.call(t),Ot=t=>"[object Object]"==_t(t);function It(t){if("string"==typeof t)return String(t).replace(/(^\s*)|(\s*$)/g,"").replace(/\u200B/g,"");if("[object Array]"===Object.prototype.toString.call(t))return t.forEach((t=>{t=It(t)})),t;if("[object Object]"!==Object.prototype.toString.call(t)||null==t)return t;for(const e in t)t[e]=It(t[e]);return t}function Lt(t){return(e,o)=>{if(Ot(e))for(var n in e)Et(t)(n,e[n]);"string"==typeof e&&(/:/g.test(e)?e.split(";").forEach((e=>{const o=(e=It(e)).split(":");Et(t)(o[0],o[1])})):Et(t)(e,o))}}function Et(t){return(e,o)=>{if(t){if(void 0===o)return window.getComputedStyle(t,null).getPropertyValue(e);t.style[e]=o}}}class zt{static get instance(){return this._instance||(this._instance=new zt),this._instance}constructor(){"classList"in document.documentElement?(this.has=(t,e)=>t.classList.contains(e),this.add=(t,e)=>{const o=e.split(" ");for(let e=0;e<o.length;e++)void 0!==t.classList&&t.classList.add(o[e])},this.remove=(t,e)=>{if(!t)return;const o=e.split(" ");for(let e=0;e<o.length;e++)void 0!==t.classList&&t.classList.remove(o[e])}):(this.has=(t,e)=>this.classReg(e).test(t.className),this.add=(t,e)=>{this.has(t,e)||(t.className=t.className+" "+e)},this.remove=(t,e)=>{t.className=t.className.replace(this.classReg(e)," ")})}classReg(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}toggle(t,e){(this.has(t,e)?this.remove:this.add)(t,e)}}const Bt={addHandler(t,e,o,n){t.addEventListener?t.addEventListener(e,o,!1):t.attachEvent?t.attachEvent("on"+e,o):t["on"+e]=o},removeHandler(t,e,o,n){t.removeEventListener?t.removeEventListener(e,o,!1):t.detachEvent?t.detachEvent("on"+e,o):t["on"+e]=null},onceHandler(t,e,o){this.addHandler(t,e,o,{once:!0})},trigger(t,e,o){t.dispatchEvent(new CustomEvent(e,{detail:o,bubbles:!0,cancelable:!0}))},emitEvent(t,e,...o){let n,r;"string"==typeof e?(n=e,r="on"+this.capitalize(e)):(n=e.event,r=e.method),t.$listeners[`${n}`]&&t.$emit(n,...o),"function"==typeof t.$props[r]&&t.$props[r](...o)},capitalize:t=>t.charAt(0).toUpperCase()+t.slice(1)},At=t`
|
|
1
|
+
import{css as t,attr as e,customElement as o,HIElement as n,html as r,ref as i,observable as a,nullableNumberConverter as s,repeat as l,when as c}from"hi-element";function d(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var u,p={exports:{}};(u=p).exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},u.exports.__esModule=!0,u.exports.default=u.exports;var h=d(p.exports),f={exports:{}},v={exports:{}},g={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(g);var m={exports:{}};!function(t){var e=g.exports.default;t.exports=function(t,o){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(m),function(t){var e=g.exports.default,o=m.exports;t.exports=function(t){var n=o(t,"string");return"symbol"==e(n)?n:n+""},t.exports.__esModule=!0,t.exports.default=t.exports}(v),function(t){var e=v.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(f);var y=d(f.exports),x={exports:{}},b={exports:{}};!function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}(b),function(t){var e=g.exports.default,o=b.exports;t.exports=function(t,n){if(n&&("object"==e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(x);var w=d(x.exports),k={exports:{}};!function(t){function e(o){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(k);var S=d(k.exports),C={exports:{}},M={exports:{}};!function(t){var e=k.exports;t.exports=function(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=e(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports}(M),function(t){var e=M.exports;function o(){return t.exports=o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,o,n){var r=e(t,o);if(r){var i=Object.getOwnPropertyDescriptor(r,o);return i.get?i.get.call(arguments.length<3?t:n):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports,o.apply(null,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}(C);var _=d(C.exports),O={exports:{}},I={exports:{}};!function(t){function e(o,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(o,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(I),function(t){var e=I.exports;t.exports=function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports}(O);var L=d(O.exports),E={exports:{}};!function(t){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports}(E);var z=d(E.exports);function B(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}"function"==typeof SuppressedError&&SuppressedError;var A={exports:{}};!function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}(A);var P=d(A.exports),j={exports:{}},T={exports:{}},W={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(W);var N={exports:{}};!function(t){var e=W.exports.default;t.exports=function(t,o){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(N),function(t){var e=W.exports.default,o=N.exports;t.exports=function(t){var n=o(t,"string");return"symbol"===e(n)?n:String(n)},t.exports.__esModule=!0,t.exports.default=t.exports}(T),function(t){var e=T.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(j);var D=d(j.exports);var R={exports:{}};!function(t){var e=T.exports;t.exports=function(t,o,n){return(o=e(o))in t?Object.defineProperty(t,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[o]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports}(R);var F=d(R.exports),$={exports:{}},H={exports:{}},V={exports:{}};!function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n},t.exports.__esModule=!0,t.exports.default=t.exports}(V),function(t){var e=V.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(H);var Y={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Y);var G={exports:{}};!function(t){var e=V.exports;t.exports=function(t,o){if(t){if("string"==typeof t)return e(t,o);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,o):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(G);var U={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(U),function(t){var e=H.exports,o=Y.exports,n=G.exports,r=U.exports;t.exports=function(t){return e(t)||o(t)||n(t)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}($);var X=d($.exports),Z={exports:{}},J={exports:{}};!function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports}(J);var q={exports:{}};!function(t){t.exports=function(t,e){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(t)).next,0===e){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports}(q);var Q={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(Q),function(t){var e=J.exports,o=q.exports,n=G.exports,r=Q.exports;t.exports=function(t,i){return e(t)||o(t,i)||n(t,i)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}(Z);var K=d(Z.exports),tt=Math.min,et=Math.max,ot=Math.floor,nt=Math.round;function rt(t,e,o){e/=100,o/=100;var n=ot(t=t/360*6),r=t-n,i=o*(1-e),a=o*(1-r*e),s=o*(1-(1-r)*e),l=n%6;return[255*[o,a,i,i,s,o][l],255*[s,o,o,a,i,i][l],255*[i,i,s,o,o,a][l]]}function it(t,e,o){var n,r,i=tt(t/=255,e/=255,o/=255),a=et(t,e,o),s=a-i;if(0===s)n=r=0;else{r=s/a;var l=((a-t)/6+s/2)/s,c=((a-e)/6+s/2)/s,d=((a-o)/6+s/2)/s;t===a?n=d-c:e===a?n=1/3+l-d:o===a&&(n=2/3+c-l),n<0?n+=1:n>1&&(n-=1)}return[360*n,100*r,100*a]}function at(t,e,o,n){e/=100,o/=100;var r=255*(1-tt(1,(t/=100)*(1-(n/=100))+n)),i=255*(1-tt(1,e*(1-n)+n)),a=255*(1-tt(1,o*(1-n)+n));return X(it(r,i,a))}function st(t,e,o){return e/=100,[t,(o/=100)+(e*=o<.5?o:1-o)?2*e/(o+e)*100:0,100*(o+e)]}function lt(t){return it.apply(void 0,X(t.match(/.{2}/g).map((function(t){return parseInt(t,16)}))))}function ct(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000000";var e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000000"===e.fillStyle?null:e.fillStyle}(t):t;var e,o={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},n=function(t){return t.map((function(t){return/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0}))};t:for(var r in o)if(e=o[r].exec(t))switch(r){case"cmyk":var i=n(e),a=K(i,5),s=a[1],l=a[2],c=a[3],d=a[4];if(s>100||l>100||c>100||d>100)break t;return{values:at(s,l,c,d),type:r};case"rgba":var u=n(e),p=K(u,7),h=p[3],f=p[4],v=p[5],g=p[6];if(h>255||f>255||v>255||g<0||g>1)break t;return{values:[].concat(X(it(h,f,v)),[g]),a:g,type:r};case"hexa":var m=K(e,2)[1];4!==m.length&&3!==m.length||(m=m.split("").map((function(t){return t+t})).join(""));var y=m.substring(0,6),x=m.substring(6);return x=x?parseInt(x,16)/255:void 0,{values:[].concat(X(lt(y)),[x]),a:x,type:r};case"hsla":var b=n(e),w=K(b,7),k=w[3],S=w[4],C=w[5],M=w[6];if(k>360||S>100||C>100||M<0||M>1)break t;return{values:[].concat(X(st(k,S,C)),[M]),a:M,type:r};case"hsva":var _=n(e),O=K(_,7),I=O[3],L=O[4],E=O[5],z=O[6];if(I>360||L>100||E>100||z<0||z>1)break t;return{values:[I,L,E,z],a:z,type:r}}return{values:null,type:null}}function dt(){var t=function(t,e){return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e(~o?t.map((function(t){return Number(t.toFixed(o))})):t)}},e={h:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s:arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,v:arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a:arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,toHSVA:function(){var o=[e.h,e.s,e.v,e.a];return o.toString=t(o,(function(t){return"hsva(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toHSLA:function(){var o=[].concat(X(function(t,e,o){var n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"hsla(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toRGBA:function(){var o=[].concat(X(rt(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"rgba(".concat(t[0],", ").concat(t[1],", ").concat(t[2],", ").concat(e.a,")")})),o},toCMYK:function(){var o=function(t,e,o){var n,r=rt(t,e,o),i=r[0]/255,a=r[1]/255,s=r[2]/255;return[100*(1===(n=tt(1-i,1-a,1-s))?0:(1-i-n)/(1-n)),100*(1===n?0:(1-a-n)/(1-n)),100*(1===n?0:(1-s-n)/(1-n)),100*n]}(e.h,e.s,e.v);return o.toString=t(o,(function(t){return"cmyk(".concat(t[0],"%, ").concat(t[1],"%, ").concat(t[2],"%, ").concat(t[3],"%)")})),o},toHEXA:function(){var t=function(t,e,o){return rt(t,e,o).map((function(t){return nt(t).toString(16).padStart(2,"0")}))}(e.h,e.s,e.v),o=e.a>=1?"":Number((255*e.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return o&&t.push(o),t.toString=function(){return"#".concat(t.join("").toUpperCase())},t},clone:function(){return dt(e.h,e.s,e.v,e.a)}};return e}function ut(t,e){var o=ct(t),n=dt.apply(void 0,X(o.values)).toRGBA();return"rgba(".concat(n[0].toFixed(0),",").concat(n[1].toFixed(0),",").concat(n[2].toFixed(0),",").concat(Number(n[3].toFixed(2))*e,")")}var pt={theme:"#0073E5",primary:"#0073E5",success:"#18bc37",error:"#F2607A",warning:"#FAA54A",info:"#0073E5"},ht=function(t){return t.trim().toLowerCase().replace(t[0],t[0].toUpperCase())},ft=function(t){return F(F(F(F({},"--".concat(t,"Color"),"var(--hi".concat(ht(t),"Color,").concat(pt[t],")")),"--".concat(t,"Color-hover"),"var(--hi".concat(ht(t),"Color-hover,").concat(ut(pt[t],.6),")")),"--".concat(t,"Color-active"),"var(--hi".concat(ht(t),"Color-active,").concat(ut(pt[t],.4),")")),"--".concat(t,"Color-outline"),"var(--hi".concat(ht(t),"Color-outline,").concat(ut(pt[t],.15),")"))},vt=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"--themeColor":"var(--hiThemeColor,".concat(pt.primary,")"),"--themeShadow":"var(--hiThemeShadow, ".concat(ut(pt.primary,.25),")"),"--themeBackground":"var(--hiThemeBackground,".concat(pt.primary,")"),"--fontColor":"var(--hiFontColor,#333)","--linkFontColor":"var(--hiLinkFontColor,".concat(pt.primary,")"),"--fontSize14":"var(--hiFontSize14,14px)","--fontSize16":"var(--hiFontSize16,16px)","--fontSize20":"var(--hiFontSize20,20px)","--borderColor":"var(--hiBorderColor, rgba(102, 102, 102, 0.3))","--borderRadius":"var(--hiBorderRadius,4px)","--colorWhite":"#fff","--colorGray1":"#fafafa","--colorGray2":"#eee","--colorGray6":"#757575","--colorGray7":"#585858","--colorGray8":"#333","--colorNeutral02":"rgba(0,0,0,0.02)","--colorNeutral05":"rgba(0,0,0,0.05)","--colorNeutral1":"rgba(0,0,0,0.1)","--colorNeutral2":"rgba(0,0,0,0.2)","--colorNeutral3":"rgba(0,0,0,0.3)","--colorNeutral4":"rgba(0,0,0,0.4)","--colorNeutral5":"rgba(0,0,0,0.5)","--colorNeutral6":"rgba(0,0,0,0.65)","--colorNeutral7":"rgba(0,0,0,0.75)","--colorNeutral8":"rgba(0,0,0,0.85)","--colorBlack":"#000"},ft("primary")),ft("success")),ft("error")),ft("warning")),ft("info")),gt=function(t){return Object.prototype.toString.call(t)},mt=function(t){return"[object Object]"==gt(t)};function yt(t){var e={Cursor:"cursor:pointer",PoiNo:"pointer-events:none",PoiAll:"pointer-events:all",Opa0:"opacity:0",Opa1:"opacity:1",Inset:"inset:0",Content:"content:''",PosR:"position:relative",PosA:"position:absolute",PosF:"position:fixed",OH:"overflow:hidden",OA:"overflow:auto",VisHi:"visibility:hidden",VisVi:"visibility:visible",DisBlock:"display:block",DisInBlock:"display:inline-block",DisIn:"display:inline",DisFlex:"display:flex",DisGrid:"display:grid",DisNo:"display:none",DisNoIm:"display:none!important",WS:"white-space:nowrap",WW:"word-wrap:break-word;word-break:normal",WB:"word-break:break-all",TEll:"overflow:hidden;white-space:nowrap;text-overflow:ellipsis",BCover:"background-color:#eee;background-position:center;background-repeat:no-repeat;background-size:cover",TL:"text-align:left",TR:"text-align:right",TC:"text-align:center"},o="\n :host{white-space:normal;line-height:18px;text-align:initial;}\n h1,h2,h3,h4,h5,h6,hr,p,dl,dt,dd,ul,ol,li,form,legend,button,input,textarea,th,td{margin:0;padding:0;}\n ul,ol{list-style:none;}\n table{border-collapse:collapse;border-spacing:0;}\n h1,h2,h3,h4,h5,h6,button,input,select,textarea{font-size:100%;} \n img{border:0;margin:0;}\n *{\n -webkit-text-size-adjust:none;\n -webkit-touch-callout:none;\n -webkit-user-select:none;\n -khtml-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n -webkit-user-drag: none;\n -webkit-tap-highlight-color:rgba(0,0,0,0);\n }\n *,*:before,*:after{".concat("\n -webkit-box-sizing:border-box;\n -moz-box-sizing:border-box;\n -ms-box-sizing:border-box;\n box-sizing:border-box;\n ","}\n [tabindex=\"-1\"]:focus{outline:none!important}\n :host([disabled]),[disabled],.disabled{opacity:.65;pointer-events:none;cursor:not-allowed!important;}\n .Entry{transition:all 0.3s ease 0s}\n .Entry:focus{box-shadow:0 0 0 3px var(--themeShadow);outline:0;}\n .Entry:focus,.Entry:hover{border-color:var(--themeColor)!important;border-right-width:1px;}\n .Track:before{content:'';position:absolute;width:100%;height:100%;left:0px;top:0px;background-color:rgb(0 255 3 / 32%);z-index:1;}\n "),n="";if(t&&"[object Array]"==gt(t))for(var r=0;r<t.length;r++){var i=t[r];n+="".concat(e[i],";")}else for(var a in n+=o,e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=e[a];n+=".".concat(a,"{").concat(s,"}")}return n}var xt=function(){return D((function t(){P(this,t),this.timeOut=0}),[{key:"init",value:function(t){var e,o,n=this;e=setInterval((function(){o="string"==typeof t.front?window[t.front]:t.front(),n.timeOut++,(n.timeOut>=60||o)&&(clearInterval(e),t.callback())}),50)}}])}();var bt=function(){function t(){if(P(this,t),this.config={theme:vt,button:{radius:6,size:"default"},message:{top:10,radius:6,duration:2e3},notify:{radius:6,duration:5e3},modal:{radius:8},toast:{radius:8,duration:2e3},popup:{radius:12,width:630,height:630},float:{margin:12},captcha:{radius:8,margin:24},space:{gutter:12},actions:{radius:12,margin:16}},window.HiServe=window.HiServe||{},!window.HiServe.IS_READY)if(window.HiServe.IS_READY=!0,function(){if(!window.sessionStorage.getItem("HI_KITS_HELLO_CONSOLE")){var t="✰ hi-kits ✰",e="\n\ndocs: ".concat(atob("aHR0cHM6Ly95cy16anJzLmhhaWVyLm5ldA=="),"/hidoc/index.html \n\ngit: https://github.com/hi-kits/hi-kit\n\n如有任何意见和建议可在网站留言\n\n"),o="padding:5px 0",n="background:#0CF;"+o,r="background:#111;font-size:14px;color:#FFF;"+o,i="background:#CFF;"+o;if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var a=["%c %c "+t+" %c %c"+e+"%c %c",n,r,n,i,n,"color:#000"];window.console.log.apply(console,a)}else window.console&&window.console.log(t+e);window.sessionStorage.setItem("HI_KITS_HELLO_CONSOLE","hello")}}(),window.localStorage.getItem("HI_ICONS"))window.HiServe.icons=JSON.parse(window.localStorage.getItem("HI_ICONS"));else{var e="https:"+atob("Ly96anJzLmhhaWVyLm5ldA==");(window.location.href.indexOf(atob("aHcuaGFpZXIubmV0L3BvcnRhbA=="))>-1||window.location.href.indexOf(atob("aHdvcmstaW50ZXJuYWwuaGFpZXIubmV0L3BvcnRhbA=="))>-1||window.location.href.indexOf(atob("aHdvcmsuaGFpZXIubmV0L3BvcnRhbA=="))>-1)&&(e=window.location.href.startsWith("https://p")||window.location.href.startsWith("http://p")?atob("aHR0cHM6Ly9wLWFwaS1jbi1zcDAwMDY3NS1pLmh3b3JrLmhhaWVyLm5ldA=="):atob("aHR0cHM6Ly9hcGktY24tc3AwMDA2NzUtaS5od29yay5oYWllci5uZXQ=")),o=[e+"/download/hikits/icons.js"],n=function(){window.HiServe.icons=window.Hi_Icons,window.localStorage.setItem("HI_ICONS",JSON.stringify(window.Hi_Icons))},r=document.getElementsByTagName("head")[0],Promise.all(o.map((function(t){return new Promise((function(e){var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=t,o.addEventListener("load",(function(t){return e()}),!1),r.appendChild(o)}))}))).then(n)}var o,n,r}return D(t,[{key:"install",value:function(t){}},{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.config;for(var o in t){var n=t[o];mt(n)?this.config[o]&&this.init(n,e[o]):e[o]=n}}}],[{key:"case",get:function(){return this._case||(this._case=new t),this._case}}])}();function wt(){var t="",e=bt.case.config.theme;for(var o in e)o&&(t+="".concat(o,":").concat(e[o],";"));return":host,:root{".concat(t,"} ").concat(".Visibility{visibility:hidden}"," ").concat(yt())}var kt,St={path:atob("aHR0cHM6Ly96anJzLmhhaWVyLm5ldA=="),pathys:atob("aHR0cHM6Ly95cy16anJzLmhhaWVyLm5ldA=="),coupon:"/download/img/collect/certificate.png",card1:"/download/img/collect/card/card01.png",card2:"/download/img/collect/card/card02.png",card3:"/download/img/collect/card/card03.png",card4:"/download/img/collect/card/card04.png",card5:"/download/img/collect/card/card05.png",card6:"/download/img/collect/card/card06.png",title1:"/download/img/collect/card/title1.png",title2:"/download/img/collect/card/title2.png",title3:"/download/img/collect/card/title3.png",title4:"/download/img/collect/card/title4.png",title5:"/download/img/collect/card/title5.png",title6:"/download/img/collect/card/title6.png"},Ct=t(kt||(kt=z(["\n","\n:host{\ntext-align:center;color:#fff;\nposition:fixed;left:-100%;top:0;width:100vw;height:100vh;\n}\n:host([show]){display:block;z-index:3000;top:0;left:0;}\n.VideoWrap{position:absolute;top:0;left:0; width:720px;height:1417px;display:inline-block;\ntransform-origin:0 0;transform: translate3d(0, 0, 0);\n}\n.VideoWrap img{width:100%;height:100%;position:absolute;top:0;left:0;}\n.VideoWrap .Svga {width:100vw;height:100vh;}\n.ConflateWrap {position:absolute;top:0;left:0;width:100vw;height:100vh;display:block;z-index:3200;background:rgba(0, 0, 0, 0.4);}\n.ConflateWrap .Content{position:relative; z-index:6;height:100%;\n padding-top: 15vw;text-align:center;\n}\n\n\n.ConflateWrap .Bg{position:absolute;top:0;left:0;width:100%;height:100%;\n background:url(","/download/img/collect/bg.png) no-repeat center;\n background-size: cover;\n}\n.ConflateWrap .Title img{\n height:28vw\n}\n.ConflateWrap .Subtitle{\nfont-size: 14px;font-weight: 400;line-height: 14px;\ncolor: #FFFFFF;\n}\n.ConflateWrap .Notes{\nposition:absolute;bottom:5vw;width:100%;\nfont-size: 3.2vw;\ncolor: #FFF1D8;\nline-height: 1.5;\nfont-weight: 400;\n}\n.Icon{display:flex;justify-content:space-around;position:absolute;width:100%;bottom:58vw;}\n.Icon span{display:none}\n.Icon span.Coupon{display:block;position:relative;}\n.Icon div{width:33.333333vw;text-align:center}\n.Icon div p{font-size:12px;}\n.Icon img{width:19.2vw}\n.Icon span.Coupon img{width:auto;height:19.2vw}\n.Icon span.Coupon i{position:absolute;font-style:normal;color:#f83a0a;top:4vw;left:0;right:0; text-align:center;}\n.Icon.Two{padding:0 10vw}\n.Button{position:absolute;width:100%;bottom:30vw;text-align:center}\n.Button img{height:20.26666666vw}\n\n.transit{opacity: 0;transition: opacity 1s ease-in-out;}\n.show.transit{opacity: 1;transition-delay: 1s;}\n\n@media screen and (max-height : 210vw) {\n .VideoWrap{margin-top:-5vw}\n .Icon{bottom:54vw;}\n .Button{bottom:25vw;}\n}\n@media screen and (max-height : 200vw) {\n .ConflateWrap .Title{margin-top:-5vw}\n .VideoWrap{margin-top:-10vw}\n .Icon{bottom:50vw;}\n .Button{bottom:22vw;}\n}\n@media screen and (max-height : 190vw) {\n .ConflateWrap .Title{margin-top:-10vw}\n .VideoWrap{margin-top:-15vw}\n .Icon{bottom:45vw;}\n .Button{bottom:20vw;}\n}\n@media screen and (max-height : 180vw) {\n .VideoWrap{margin-top:-18vw}\n .Button{bottom:18vw;}\n}\n@media screen and (max-height : 170vw) {\n .ConflateWrap .Title{margin-top:-16vw}\n .VideoWrap{margin-top:-20vw}\n .Icon{bottom:38vw;}\n .Button{bottom:15vw;}\n}\n@media screen and (min-width: 600px) {\n /* 折叠状态下的样式 */\n\n .VideoWrap{\n margin-top:-50vw\n }\n .VideoWrap .loop{display:none!important}\n\n .Button img{\n height:13.2vw\n }\n}\n"])),wt(),St.path);function Mt(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}const _t=t=>Object.prototype.toString.call(t),Ot=t=>"[object Object]"==_t(t);function It(t){if("string"==typeof t)return String(t).replace(/(^\s*)|(\s*$)/g,"").replace(/\u200B/g,"");if("[object Array]"===Object.prototype.toString.call(t))return t.forEach((t=>{t=It(t)})),t;if("[object Object]"!==Object.prototype.toString.call(t)||null==t)return t;for(const e in t)t[e]=It(t[e]);return t}function Lt(t){return(e,o)=>{if(Ot(e))for(var n in e)Et(t)(n,e[n]);"string"==typeof e&&(/:/g.test(e)?e.split(";").forEach((e=>{const o=(e=It(e)).split(":");Et(t)(o[0],o[1])})):Et(t)(e,o))}}function Et(t){return(e,o)=>{if(t){if(void 0===o)return window.getComputedStyle(t,null).getPropertyValue(e);t.style[e]=o}}}class zt{static get instance(){return this._instance||(this._instance=new zt),this._instance}constructor(){"classList"in document.documentElement?(this.has=(t,e)=>t.classList.contains(e),this.add=(t,e)=>{const o=e.split(" ");for(let e=0;e<o.length;e++)void 0!==t.classList&&t.classList.add(o[e])},this.remove=(t,e)=>{if(!t)return;const o=e.split(" ");for(let e=0;e<o.length;e++)void 0!==t.classList&&t.classList.remove(o[e])}):(this.has=(t,e)=>this.classReg(e).test(t.className),this.add=(t,e)=>{this.has(t,e)||(t.className=t.className+" "+e)},this.remove=(t,e)=>{t.className=t.className.replace(this.classReg(e)," ")})}classReg(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}toggle(t,e){(this.has(t,e)?this.remove:this.add)(t,e)}}const Bt={addHandler(t,e,o,n){t.addEventListener?t.addEventListener(e,o,!1):t.attachEvent?t.attachEvent("on"+e,o):t["on"+e]=o},removeHandler(t,e,o,n){t.removeEventListener?t.removeEventListener(e,o,!1):t.detachEvent?t.detachEvent("on"+e,o):t["on"+e]=null},onceHandler(t,e,o){this.addHandler(t,e,o,{once:!0})},trigger(t,e,o){t.dispatchEvent(new CustomEvent(e,{detail:o,bubbles:!0,cancelable:!0}))},emitEvent(t,e,...o){let n,r;"string"==typeof e?(n=e,r="on"+this.capitalize(e)):(n=e.event,r=e.method),t.$listeners[`${n}`]&&t.$emit(n,...o),"function"==typeof t.$props[r]&&t.$props[r](...o)},capitalize:t=>t.charAt(0).toUpperCase()+t.slice(1)},At=t`
|
|
2
2
|
:host{
|
|
3
3
|
position: fixed;
|
|
4
4
|
left: 0;
|
|
@@ -19,7 +19,7 @@ import{css as t,attr as e,customElement as o,HIElement as n,html as r,ref as i,o
|
|
|
19
19
|
opacity: 0;
|
|
20
20
|
transition: all 0.35s ease-out;
|
|
21
21
|
}
|
|
22
|
-
`;let Pt=class extends n{constructor(){super(),this.show=!1}showChanged(t,e){null===e||!1===e?zt.instance.add(this,"Leave"):zt.instance.remove(this,"Leave")}connectedCallback(){super.connectedCallback(),this.background&&Lt(this)("background",this.background),Bt.addHandler(this,"transitionend",(()=>{this.transitionendChange()}))}transitionendChange(){this.show||this.$emit("change")}};Mt([e],Pt.prototype,"background",void 0),Mt([e({mode:"boolean"})],Pt.prototype,"show",void 0),Pt=Mt([o({name:"h-mask",styles:At,shadowOptions:{mode:"closed"}})],Pt);const jt=new class{constructor(){if(this.hasPassiveEvents=!1,this.isIosDevice="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),this.locks=[],this.documentListenerAdded=!1,this.initialClientY=-1,this.restoreOverflowSetting=()=>{void 0!==this.previousBodyPaddingRight&&(document.body.style.paddingRight=this.previousBodyPaddingRight,this.previousBodyPaddingRight=void 0),void 0!==this.previousBodyOverflowSetting&&(document.body.style.overflow=this.previousBodyOverflowSetting,document.documentElement.style.overflow=this.previousBodyOverflowSetting,this.previousBodyOverflowSetting=void 0)},this.handleScroll=(t,e)=>{const o=t.targetTouches[0].clientY-this.initialClientY;return!this.allowTouchMove(t.target)&&(e&&0===e.scrollTop&&o>0||this.isTargetElementTotallyScrolled(e)&&o<0?this.preventDefault(t):(t.stopPropagation(),!0))},"undefined"!=typeof window){const t={get passive(){this.hasPassiveEvents=!0}};Bt.addHandler(window,"testPassive",null,t),Bt.removeHandler(window,"testPassive",null,t)}}isTargetElementTotallyScrolled(t){return!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight}allowTouchMove(t){this.locks.some((e=>!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))))}preventDefault(t){const e=t||window.event;return!!this.allowTouchMove(e.target)||e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1)}setOverflowHidden(t){if(void 0===this.previousBodyPaddingRight){const e=!!t&&!0===t.reserveScrollBarGap,o=window.innerWidth-document.documentElement.clientWidth;e&&o>0&&(this.previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight=`${o}px`)}void 0===this.previousBodyOverflowSetting&&(this.previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden")}disable(t,e){if(!t)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(this.locks.some((e=>e.targetElement===t)))return;const o={targetElement:t,options:e||{}};this.locks=[...this.locks,o],this.isIosDevice?(t.ontouchstart=t=>{1===t.targetTouches.length&&(this.initialClientY=t.targetTouches[0].clientY)},t.ontouchmove=e=>{1===e.targetTouches.length&&this.handleScroll(e,t)},this.documentListenerAdded||(document.addEventListener("touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!0)):this.setOverflowHidden(e)}clearAll(){this.isIosDevice?(this.locks.forEach((t=>{t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null})),this.documentListenerAdded&&(Bt.removeHandler(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1),this.initialClientY=-1):this.restoreOverflowSetting(),this.locks=[]}enable(t){t?(this.locks=this.locks.filter((e=>e.targetElement!==t)),this.isIosDevice?(t.ontouchstart=null,t.ontouchmove=null,this.documentListenerAdded&&0===this.locks.length&&(Bt.removeHandler(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1)):this.locks.length||this.restoreOverflowSetting()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}};function Tt(t,e,o){const n=o.value;return o.value=function(t,e){return null===e||!1===e?jt.enable(document.body):jt.disable(document.body),n.apply(this,arguments)},o}function Dt(t){return t?function(e,o){if(1===arguments.length&&"string"==typeof e)t.setAttribute(e,"");else if(2===arguments.length)t.setAttribute(e,o);else for(var n in e)t[n]=e[n],t.setAttribute(n,e[n])}:()=>{}}function Rt(t){return t?e=>{if("string"==typeof e)t.removeAttribute(e);else for(let o=0;o<e.length;o++){const n=e[o];t.removeAttribute(n)}}:()=>{}}const{min:Wt,max:Ft,floor:Nt,round:$t}=Math;function Ht(t,e,o){e/=100,o/=100;let n=Nt(t=t/360*6),r=t-n,i=o*(1-e),a=o*(1-r*e),s=o*(1-(1-r)*e),l=n%6;return[255*[o,a,i,i,s,o][l],255*[s,o,o,a,i,i][l],255*[i,i,s,o,o,a][l]]}function Vt(t,e,o){let n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}function Yt(t,e,o){let n,r,i;const a=Wt(t/=255,e/=255,o/=255),s=Ft(t,e,o),l=s-a;if(i=s,0===l)n=r=0;else{r=l/s;let i=((s-t)/6+l/2)/l,a=((s-e)/6+l/2)/l,c=((s-o)/6+l/2)/l;t===s?n=c-a:e===s?n=1/3+i-c:o===s&&(n=2/3+a-i),n<0?n+=1:n>1&&(n-=1)}return[360*n,100*r,100*i]}function Gt(t,e,o,n){return e/=100,o/=100,[...Yt(255*(1-Wt(1,(t/=100)*(1-(n/=100))+n)),255*(1-Wt(1,e*(1-n)+n)),255*(1-Wt(1,o*(1-n)+n)))]}function Ut(t,e,o){return e/=100,[t,(o/=100)+(e*=o<.5?o:1-o)?2*e/(o+e)*100:0,100*(o+e)]}function Xt(t){return Yt(...t.match(/.{2}/g).map((t=>parseInt(t,16))))}function Zt(t=0,e=0,o=0,n=1){const r=(t,e)=>(o=0)=>e(~o?t.map((t=>Number(t.toFixed(o)))):t),i={h:t,s:e,v:o,a:n,toHSVA(){const t=[i.h,i.s,i.v,i.a];return t.toString=r(t,(t=>`hsva(${t[0]}, ${t[1]}%, ${t[2]}%, ${i.a})`)),t},toHSLA(){const t=[...Vt(i.h,i.s,i.v),i.a];return t.toString=r(t,(t=>`hsla(${t[0]}, ${t[1]}%, ${t[2]}%, ${i.a})`)),t},toRGBA(){const t=[...Ht(i.h,i.s,i.v),i.a];return t.toString=r(t,(t=>`rgba(${t[0]}, ${t[1]}, ${t[2]}, ${i.a})`)),t},toCMYK(){const t=function(t,e,o){const n=Ht(t,e,o),r=n[0]/255,i=n[1]/255,a=n[2]/255;let s,l,c,d;return s=Wt(1-r,1-i,1-a),l=1===s?0:(1-r-s)/(1-s),c=1===s?0:(1-i-s)/(1-s),d=1===s?0:(1-a-s)/(1-s),[100*l,100*c,100*d,100*s]}(i.h,i.s,i.v);return t.toString=r(t,(t=>`cmyk(${t[0]}%, ${t[1]}%, ${t[2]}%, ${t[3]}%)`)),t},toHEXA(){const t=function(t,e,o){return Ht(t,e,o).map((t=>$t(t).toString(16).padStart(2,"0")))}(i.h,i.s,i.v),e=i.a>=1?"":Number((255*i.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return e&&t.push(e),t.toString=()=>`#${t.join("").toUpperCase()}`,t},clone:()=>Zt(i.h,i.s,i.v,i.a)};return i}function Jt(t,e){const o=Zt(...function(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000000";const e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000000"===e.fillStyle?null:e.fillStyle}(t):t;const e={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},o=t=>t.map((t=>/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0));let n;t:for(const r in e)if(n=e[r].exec(t))switch(r){case"cmyk":{let[,t,e,i,a]=o(n);if(t>100||e>100||i>100||a>100)break t;return{values:Gt(t,e,i,a),type:r}}case"rgba":{let[,,,t,e,i,a]=o(n);if(t>255||e>255||i>255||a<0||a>1)break t;return{values:[...Yt(t,e,i),a],a:a,type:r}}case"hexa":{let[,t]=n;4!==t.length&&3!==t.length||(t=t.split("").map((t=>t+t)).join(""));const e=t.substring(0,6);let o=t.substring(6);return o=o?parseInt(o,16)/255:void 0,{values:[...Xt(e),o],a:o,type:r}}case"hsla":{let[,,,t,e,i,a]=o(n);if(t>360||e>100||i>100||a<0||a>1)break t;return{values:[...Ut(t,e,i),a],a:a,type:r}}case"hsva":{let[,,,t,e,i,a]=o(n);if(t>360||e>100||i>100||a<0||a>1)break t;return{values:[t,e,i,a],a:a,type:r}}}return{values:null,type:null}}(t).values).toRGBA();return`rgba(${o[0].toFixed(0)},${o[1].toFixed(0)},${o[2].toFixed(0)},${Number(o[3].toFixed(2))*e})`}const qt={theme:"#0073E5",primary:"#0073E5",success:"#18bc37",error:"#F2607A",warning:"#FAA54A",info:"#0073E5"},Qt=t=>t.trim().toLowerCase().replace(t[0],t[0].toUpperCase()),Kt=t=>({[`--${t}Color`]:`var(--hi${Qt(t)}Color,${qt[t]})`,[`--${t}Color-hover`]:`var(--hi${Qt(t)}Color-hover,${Jt(qt[t],.6)})`,[`--${t}Color-active`]:`var(--hi${Qt(t)}Color-active,${Jt(qt[t],.4)})`,[`--${t}Color-outline`]:`var(--hi${Qt(t)}Color-outline,${Jt(qt[t],.15)})`}),te=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"--themeColor":`var(--hiThemeColor,${qt.primary})`,"--themeShadow":`var(--hiThemeShadow, ${Jt(qt.primary,.25)})`,"--themeBackground":`var(--hiThemeBackground,${qt.primary})`,"--fontColor":"var(--hiFontColor,#333)","--linkFontColor":`var(--hiLinkFontColor,${qt.primary})`,"--fontSize14":"var(--hiFontSize14,14px)","--fontSize16":"var(--hiFontSize16,16px)","--fontSize20":"var(--hiFontSize20,20px)","--borderColor":"var(--hiBorderColor, rgba(102, 102, 102, 0.3))","--borderRadius":"var(--hiBorderRadius,4px)","--colorWhite":"#fff","--colorGray1":"#fafafa","--colorGray2":"#eee","--colorGray6":"#757575","--colorGray7":"#585858","--colorGray8":"#333","--colorNeutral02":"rgba(0,0,0,0.02)","--colorNeutral05":"rgba(0,0,0,0.05)","--colorNeutral1":"rgba(0,0,0,0.1)","--colorNeutral2":"rgba(0,0,0,0.2)","--colorNeutral3":"rgba(0,0,0,0.3)","--colorNeutral4":"rgba(0,0,0,0.4)","--colorNeutral5":"rgba(0,0,0,0.5)","--colorNeutral6":"rgba(0,0,0,0.65)","--colorNeutral7":"rgba(0,0,0,0.75)","--colorNeutral8":"rgba(0,0,0,0.85)","--colorBlack":"#000"},Kt("primary")),Kt("success")),Kt("error")),Kt("warning")),Kt("info"));function ee(t){const e={Cursor:"cursor:pointer",PoiNo:"pointer-events:none",PoiAll:"pointer-events:all",Opa0:"opacity:0",Opa1:"opacity:1",Inset:"inset:0",Content:"content:''",PosR:"position:relative",PosA:"position:absolute",PosF:"position:fixed",OH:"overflow:hidden",OA:"overflow:auto",VisHi:"visibility:hidden",VisVi:"visibility:visible",DisBlock:"display:block",DisInBlock:"display:inline-block",DisIn:"display:inline",DisFlex:"display:flex",DisGrid:"display:grid",DisNo:"display:none",DisNoIm:"display:none!important",WS:"white-space:nowrap",WW:"word-wrap:break-word;word-break:normal",WB:"word-break:break-all",TEll:"overflow:hidden;white-space:nowrap;text-overflow:ellipsis",BCover:"background-color:#eee;background-position:center;background-repeat:no-repeat;background-size:cover",TL:"text-align:left",TR:"text-align:right",TC:"text-align:center"};let o="";if(t&&(t=>"[object Array]"==_t(t))(t))for(let n=0;n<t.length;n++)o+=`${e[t[n]]};`;else{o+="\n :host{white-space:normal;line-height:18px;text-align:initial;}\n h1,h2,h3,h4,h5,h6,hr,p,dl,dt,dd,ul,ol,li,form,legend,button,input,textarea,th,td{margin:0;padding:0;}\n ul,ol{list-style:none;}\n table{border-collapse:collapse;border-spacing:0;}\n h1,h2,h3,h4,h5,h6,button,input,select,textarea{font-size:100%;} \n img{border:0;margin:0;}\n *{\n -webkit-text-size-adjust:none;\n -webkit-touch-callout:none;\n -webkit-user-select:none;\n -khtml-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n -webkit-tap-highlight-color:rgba(0,0,0,0);\n }\n *,*:before,*:after{\n -webkit-box-sizing:border-box;\n -moz-box-sizing:border-box;\n -ms-box-sizing:border-box;\n box-sizing:border-box;\n }\n [tabindex=\"-1\"]:focus{outline:none!important}\n :host([disabled]),[disabled],.disabled{opacity:.65;pointer-events:none;cursor:not-allowed!important;}\n .Entry{transition:all 0.3s ease 0s}\n .Entry:focus{box-shadow:0 0 0 3px var(--themeShadow);outline:0;}\n .Entry:focus,.Entry:hover{border-color:var(--themeColor)!important;border-right-width:1px;}\n .Track:before{content:'';position:absolute;width:100%;height:100%;left:0px;top:0px;background-color:rgb(0 255 3 / 32%);z-index:1;}\n ";for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o+=`.${t}{${e[t]}}`)}return o}class oe{static get case(){return this._case||(this._case=new oe),this._case}constructor(){this.config={theme:te,button:{radius:6,size:"default"},message:{top:10,radius:6,duration:2e3},notify:{radius:6,duration:5e3},modal:{radius:8},toast:{radius:8,duration:2e3},popup:{radius:12,width:630,height:630},float:{margin:12},captcha:{radius:8,margin:24},space:{gutter:12},actions:{radius:12,margin:16}},window.HiServe=window.HiServe||{},window.HiServe.IS_READY||(window.HiServe.IS_READY=!0,function(){if(window.sessionStorage.getItem("HI_KITS_HELLO_CONSOLE"))return;let t="✰ hi-kits ✰",e=`\n\ndocs: ${atob("aHR0cHM6Ly95cy16anJzLmhhaWVyLm5ldA==")}/hidoc/index.html \n\ngit: https://github.com/hi-kits/hi-kit\n\n如有任何意见和建议可在网站留言\n\n`,o="padding:5px 0",n="background:#0CF;"+o,r="background:#111;font-size:14px;color:#FFF;"+o,i="background:#CFF;"+o;if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){let o=["%c %c "+t+" %c %c"+e+"%c %c",n,r,n,i,n,"color:#000"];window.console.log.apply(console,o)}else window.console&&window.console.log(t+e);window.sessionStorage.setItem("HI_KITS_HELLO_CONSOLE","hello")}(),window.localStorage.getItem("HI_ICONS")?window.HiServe.icons=JSON.parse(window.localStorage.getItem("HI_ICONS")):function(t,e={}){return new Promise(((o,n)=>{const{async:r=!0,beforeSend:i=()=>{},data:a=null,headers:s={},method:l="get",responseType:c="json",timeout:d=0}=e,u=new XMLHttpRequest;let p,h;if(u.open(l,t,r),d&&(p=window.setTimeout((()=>{n(new Error(`the xhr request timeout ${d}ms`))}),d)),u.onerror=()=>{n(new Error("unknown error"))},u.onreadystatechange=()=>{if(4===u.readyState)if(d&&void 0!==p&&clearTimeout(p),u.status>=200&&u.status<300)o(u);else{const t=new Error("the request is error");n(t)}},Ot(a))try{h=JSON.stringify(a),s["content-type"]="application/json"}catch(t){n(t)}else(t=>"string"==typeof t)(a)&&(s["content-type"]="application/x-www-form-urlencoded");for(const t in s)u.setRequestHeader(t,s[t]);d&&(u.timeout=d),u.responseType=c,!1!==i(u)&&u.send(h)}))}("https:"+atob("Ly96anJzLmhhaWVyLm5ldA==")+"/download/hikits/icons.json",{responseType:"text"}).then((t=>{window.HiServe.icons=JSON.parse(t.responseText),window.localStorage.setItem("HI_ICONS",t.responseText)})))}install(t){}init(t,e=this.config){for(const o in t){const n=t[o];Ot(n)?this.config[o]&&this.init(n,e[o]):e[o]=n}}}const ne=t`
|
|
22
|
+
`;let Pt=class extends n{constructor(){super(),this.show=!1}showChanged(t,e){null===e||!1===e?zt.instance.add(this,"Leave"):zt.instance.remove(this,"Leave")}connectedCallback(){super.connectedCallback(),this.background&&Lt(this)("background",this.background),Bt.addHandler(this,"transitionend",(()=>{this.transitionendChange()}))}transitionendChange(){this.show||this.$emit("change")}};Mt([e],Pt.prototype,"background",void 0),Mt([e({mode:"boolean"})],Pt.prototype,"show",void 0),Pt=Mt([o({name:"h-mask",styles:At,shadowOptions:{mode:"closed"}})],Pt);const jt=new class{constructor(){if(this.hasPassiveEvents=!1,this.isIosDevice="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),this.locks=[],this.documentListenerAdded=!1,this.initialClientY=-1,this.restoreOverflowSetting=()=>{void 0!==this.previousBodyPaddingRight&&(document.body.style.paddingRight=this.previousBodyPaddingRight,this.previousBodyPaddingRight=void 0),void 0!==this.previousBodyOverflowSetting&&(document.body.style.overflow=this.previousBodyOverflowSetting,document.documentElement.style.overflow=this.previousBodyOverflowSetting,this.previousBodyOverflowSetting=void 0)},this.handleScroll=(t,e)=>{const o=t.targetTouches[0].clientY-this.initialClientY;return!this.allowTouchMove(t.target)&&(e&&0===e.scrollTop&&o>0||this.isTargetElementTotallyScrolled(e)&&o<0?this.preventDefault(t):(t.stopPropagation(),!0))},"undefined"!=typeof window){const t={get passive(){this.hasPassiveEvents=!0}};Bt.addHandler(window,"testPassive",null,t),Bt.removeHandler(window,"testPassive",null,t)}}isTargetElementTotallyScrolled(t){return!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight}allowTouchMove(t){this.locks.some((e=>!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))))}preventDefault(t){const e=t||window.event;return!!this.allowTouchMove(e.target)||e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1)}setOverflowHidden(t){if(void 0===this.previousBodyPaddingRight){const e=!!t&&!0===t.reserveScrollBarGap,o=window.innerWidth-document.documentElement.clientWidth;e&&o>0&&(this.previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight=`${o}px`)}void 0===this.previousBodyOverflowSetting&&(this.previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden")}disable(t,e){if(!t)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(this.locks.some((e=>e.targetElement===t)))return;const o={targetElement:t,options:e||{}};this.locks=[...this.locks,o],this.isIosDevice?(t.ontouchstart=t=>{1===t.targetTouches.length&&(this.initialClientY=t.targetTouches[0].clientY)},t.ontouchmove=e=>{1===e.targetTouches.length&&this.handleScroll(e,t)},this.documentListenerAdded||(document.addEventListener("touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!0)):this.setOverflowHidden(e)}clearAll(){this.isIosDevice?(this.locks.forEach((t=>{t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null})),this.documentListenerAdded&&(Bt.removeHandler(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1),this.initialClientY=-1):this.restoreOverflowSetting(),this.locks=[]}enable(t){t?(this.locks=this.locks.filter((e=>e.targetElement!==t)),this.isIosDevice?(t.ontouchstart=null,t.ontouchmove=null,this.documentListenerAdded&&0===this.locks.length&&(Bt.removeHandler(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1)):this.locks.length||this.restoreOverflowSetting()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}};function Tt(t,e,o){const n=o.value;return o.value=function(t,e){return null===e||!1===e?jt.enable(document.body):jt.disable(document.body),n.apply(this,arguments)},o}function Wt(t){return t?function(e,o){if(1===arguments.length&&"string"==typeof e)t.setAttribute(e,"");else if(2===arguments.length)t.setAttribute(e,o);else for(var n in e)t[n]=e[n],t.setAttribute(n,e[n])}:()=>{}}function Nt(t){return t?e=>{if("string"==typeof e)t.removeAttribute(e);else for(let o=0;o<e.length;o++){const n=e[o];t.removeAttribute(n)}}:()=>{}}const{min:Dt,max:Rt,floor:Ft,round:$t}=Math;function Ht(t,e,o){e/=100,o/=100;let n=Ft(t=t/360*6),r=t-n,i=o*(1-e),a=o*(1-r*e),s=o*(1-(1-r)*e),l=n%6;return[255*[o,a,i,i,s,o][l],255*[s,o,o,a,i,i][l],255*[i,i,s,o,o,a][l]]}function Vt(t,e,o){let n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}function Yt(t,e,o){let n,r,i;const a=Dt(t/=255,e/=255,o/=255),s=Rt(t,e,o),l=s-a;if(i=s,0===l)n=r=0;else{r=l/s;let i=((s-t)/6+l/2)/l,a=((s-e)/6+l/2)/l,c=((s-o)/6+l/2)/l;t===s?n=c-a:e===s?n=1/3+i-c:o===s&&(n=2/3+a-i),n<0?n+=1:n>1&&(n-=1)}return[360*n,100*r,100*i]}function Gt(t,e,o,n){return e/=100,o/=100,[...Yt(255*(1-Dt(1,(t/=100)*(1-(n/=100))+n)),255*(1-Dt(1,e*(1-n)+n)),255*(1-Dt(1,o*(1-n)+n)))]}function Ut(t,e,o){return e/=100,[t,(o/=100)+(e*=o<.5?o:1-o)?2*e/(o+e)*100:0,100*(o+e)]}function Xt(t){return Yt(...t.match(/.{2}/g).map((t=>parseInt(t,16))))}function Zt(t=0,e=0,o=0,n=1){const r=(t,e)=>(o=0)=>e(~o?t.map((t=>Number(t.toFixed(o)))):t),i={h:t,s:e,v:o,a:n,toHSVA(){const t=[i.h,i.s,i.v,i.a];return t.toString=r(t,(t=>`hsva(${t[0]}, ${t[1]}%, ${t[2]}%, ${i.a})`)),t},toHSLA(){const t=[...Vt(i.h,i.s,i.v),i.a];return t.toString=r(t,(t=>`hsla(${t[0]}, ${t[1]}%, ${t[2]}%, ${i.a})`)),t},toRGBA(){const t=[...Ht(i.h,i.s,i.v),i.a];return t.toString=r(t,(t=>`rgba(${t[0]}, ${t[1]}, ${t[2]}, ${i.a})`)),t},toCMYK(){const t=function(t,e,o){const n=Ht(t,e,o),r=n[0]/255,i=n[1]/255,a=n[2]/255;let s,l,c,d;return s=Dt(1-r,1-i,1-a),l=1===s?0:(1-r-s)/(1-s),c=1===s?0:(1-i-s)/(1-s),d=1===s?0:(1-a-s)/(1-s),[100*l,100*c,100*d,100*s]}(i.h,i.s,i.v);return t.toString=r(t,(t=>`cmyk(${t[0]}%, ${t[1]}%, ${t[2]}%, ${t[3]}%)`)),t},toHEXA(){const t=function(t,e,o){return Ht(t,e,o).map((t=>$t(t).toString(16).padStart(2,"0")))}(i.h,i.s,i.v),e=i.a>=1?"":Number((255*i.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return e&&t.push(e),t.toString=()=>`#${t.join("").toUpperCase()}`,t},clone:()=>Zt(i.h,i.s,i.v,i.a)};return i}function Jt(t,e){const o=Zt(...function(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000000";const e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000000"===e.fillStyle?null:e.fillStyle}(t):t;const e={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},o=t=>t.map((t=>/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0));let n;t:for(const r in e)if(n=e[r].exec(t))switch(r){case"cmyk":{let[,t,e,i,a]=o(n);if(t>100||e>100||i>100||a>100)break t;return{values:Gt(t,e,i,a),type:r}}case"rgba":{let[,,,t,e,i,a]=o(n);if(t>255||e>255||i>255||a<0||a>1)break t;return{values:[...Yt(t,e,i),a],a:a,type:r}}case"hexa":{let[,t]=n;4!==t.length&&3!==t.length||(t=t.split("").map((t=>t+t)).join(""));const e=t.substring(0,6);let o=t.substring(6);return o=o?parseInt(o,16)/255:void 0,{values:[...Xt(e),o],a:o,type:r}}case"hsla":{let[,,,t,e,i,a]=o(n);if(t>360||e>100||i>100||a<0||a>1)break t;return{values:[...Ut(t,e,i),a],a:a,type:r}}case"hsva":{let[,,,t,e,i,a]=o(n);if(t>360||e>100||i>100||a<0||a>1)break t;return{values:[t,e,i,a],a:a,type:r}}}return{values:null,type:null}}(t).values).toRGBA();return`rgba(${o[0].toFixed(0)},${o[1].toFixed(0)},${o[2].toFixed(0)},${Number(o[3].toFixed(2))*e})`}const qt={theme:"#0073E5",primary:"#0073E5",success:"#18bc37",error:"#F2607A",warning:"#FAA54A",info:"#0073E5"},Qt=t=>t.trim().toLowerCase().replace(t[0],t[0].toUpperCase()),Kt=t=>({[`--${t}Color`]:`var(--hi${Qt(t)}Color,${qt[t]})`,[`--${t}Color-hover`]:`var(--hi${Qt(t)}Color-hover,${Jt(qt[t],.6)})`,[`--${t}Color-active`]:`var(--hi${Qt(t)}Color-active,${Jt(qt[t],.4)})`,[`--${t}Color-outline`]:`var(--hi${Qt(t)}Color-outline,${Jt(qt[t],.15)})`}),te=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"--themeColor":`var(--hiThemeColor,${qt.primary})`,"--themeShadow":`var(--hiThemeShadow, ${Jt(qt.primary,.25)})`,"--themeBackground":`var(--hiThemeBackground,${qt.primary})`,"--fontColor":"var(--hiFontColor,#333)","--linkFontColor":`var(--hiLinkFontColor,${qt.primary})`,"--fontSize14":"var(--hiFontSize14,14px)","--fontSize16":"var(--hiFontSize16,16px)","--fontSize20":"var(--hiFontSize20,20px)","--borderColor":"var(--hiBorderColor, rgba(102, 102, 102, 0.3))","--borderRadius":"var(--hiBorderRadius,4px)","--colorWhite":"#fff","--colorGray1":"#fafafa","--colorGray2":"#eee","--colorGray6":"#757575","--colorGray7":"#585858","--colorGray8":"#333","--colorNeutral02":"rgba(0,0,0,0.02)","--colorNeutral05":"rgba(0,0,0,0.05)","--colorNeutral1":"rgba(0,0,0,0.1)","--colorNeutral2":"rgba(0,0,0,0.2)","--colorNeutral3":"rgba(0,0,0,0.3)","--colorNeutral4":"rgba(0,0,0,0.4)","--colorNeutral5":"rgba(0,0,0,0.5)","--colorNeutral6":"rgba(0,0,0,0.65)","--colorNeutral7":"rgba(0,0,0,0.75)","--colorNeutral8":"rgba(0,0,0,0.85)","--colorBlack":"#000"},Kt("primary")),Kt("success")),Kt("error")),Kt("warning")),Kt("info"));function ee(t){const e={Cursor:"cursor:pointer",PoiNo:"pointer-events:none",PoiAll:"pointer-events:all",Opa0:"opacity:0",Opa1:"opacity:1",Inset:"inset:0",Content:"content:''",PosR:"position:relative",PosA:"position:absolute",PosF:"position:fixed",OH:"overflow:hidden",OA:"overflow:auto",VisHi:"visibility:hidden",VisVi:"visibility:visible",DisBlock:"display:block",DisInBlock:"display:inline-block",DisIn:"display:inline",DisFlex:"display:flex",DisGrid:"display:grid",DisNo:"display:none",DisNoIm:"display:none!important",WS:"white-space:nowrap",WW:"word-wrap:break-word;word-break:normal",WB:"word-break:break-all",TEll:"overflow:hidden;white-space:nowrap;text-overflow:ellipsis",BCover:"background-color:#eee;background-position:center;background-repeat:no-repeat;background-size:cover",TL:"text-align:left",TR:"text-align:right",TC:"text-align:center"};let o="";if(t&&(t=>"[object Array]"==_t(t))(t))for(let n=0;n<t.length;n++)o+=`${e[t[n]]};`;else{o+="\n :host{white-space:normal;line-height:18px;text-align:initial;}\n h1,h2,h3,h4,h5,h6,hr,p,dl,dt,dd,ul,ol,li,form,legend,button,input,textarea,th,td{margin:0;padding:0;}\n ul,ol{list-style:none;}\n table{border-collapse:collapse;border-spacing:0;}\n h1,h2,h3,h4,h5,h6,button,input,select,textarea{font-size:100%;} \n img{border:0;margin:0;}\n *{\n -webkit-text-size-adjust:none;\n -webkit-touch-callout:none;\n -webkit-user-select:none;\n -khtml-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n -webkit-tap-highlight-color:rgba(0,0,0,0);\n }\n *,*:before,*:after{\n -webkit-box-sizing:border-box;\n -moz-box-sizing:border-box;\n -ms-box-sizing:border-box;\n box-sizing:border-box;\n }\n [tabindex=\"-1\"]:focus{outline:none!important}\n :host([disabled]),[disabled],.disabled{opacity:.65;pointer-events:none;cursor:not-allowed!important;}\n .Entry{transition:all 0.3s ease 0s}\n .Entry:focus{box-shadow:0 0 0 3px var(--themeShadow);outline:0;}\n .Entry:focus,.Entry:hover{border-color:var(--themeColor)!important;border-right-width:1px;}\n .Track:before{content:'';position:absolute;width:100%;height:100%;left:0px;top:0px;background-color:rgb(0 255 3 / 32%);z-index:1;}\n ";for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o+=`.${t}{${e[t]}}`)}return o}class oe{static get case(){return this._case||(this._case=new oe),this._case}constructor(){this.config={theme:te,button:{radius:6,size:"default"},message:{top:10,radius:6,duration:2e3},notify:{radius:6,duration:5e3},modal:{radius:8},toast:{radius:8,duration:2e3},popup:{radius:12,width:630,height:630},float:{margin:12},captcha:{radius:8,margin:24},space:{gutter:12},actions:{radius:12,margin:16}},window.HiServe=window.HiServe||{},window.HiServe.IS_READY||(window.HiServe.IS_READY=!0,function(){if(window.sessionStorage.getItem("HI_KITS_HELLO_CONSOLE"))return;let t="✰ hi-kits ✰",e=`\n\ndocs: ${atob("aHR0cHM6Ly95cy16anJzLmhhaWVyLm5ldA==")}/hidoc/index.html \n\ngit: https://github.com/hi-kits/hi-kit\n\n如有任何意见和建议可在网站留言\n\n`,o="padding:5px 0",n="background:#0CF;"+o,r="background:#111;font-size:14px;color:#FFF;"+o,i="background:#CFF;"+o;if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){let o=["%c %c "+t+" %c %c"+e+"%c %c",n,r,n,i,n,"color:#000"];window.console.log.apply(console,o)}else window.console&&window.console.log(t+e);window.sessionStorage.setItem("HI_KITS_HELLO_CONSOLE","hello")}(),window.localStorage.getItem("HI_ICONS")?window.HiServe.icons=JSON.parse(window.localStorage.getItem("HI_ICONS")):function(t,e={}){return new Promise(((o,n)=>{const{async:r=!0,beforeSend:i=()=>{},data:a=null,headers:s={},method:l="get",responseType:c="json",timeout:d=0}=e,u=new XMLHttpRequest;let p,h;if(u.open(l,t,r),d&&(p=window.setTimeout((()=>{n(new Error(`the xhr request timeout ${d}ms`))}),d)),u.onerror=()=>{n(new Error("unknown error"))},u.onreadystatechange=()=>{if(4===u.readyState)if(d&&void 0!==p&&clearTimeout(p),u.status>=200&&u.status<300)o(u);else{const t=new Error("the request is error");n(t)}},Ot(a))try{h=JSON.stringify(a),s["content-type"]="application/json"}catch(t){n(t)}else(t=>"string"==typeof t)(a)&&(s["content-type"]="application/x-www-form-urlencoded");for(const t in s)u.setRequestHeader(t,s[t]);d&&(u.timeout=d),u.responseType=c,!1!==i(u)&&u.send(h)}))}("https:"+atob("Ly96anJzLmhhaWVyLm5ldA==")+"/download/hikits/icons.json",{responseType:"text"}).then((t=>{window.HiServe.icons=JSON.parse(t.responseText),window.localStorage.setItem("HI_ICONS",t.responseText)})))}install(t){}init(t,e=this.config){for(const o in t){const n=t[o];Ot(n)?this.config[o]&&this.init(n,e[o]):e[o]=n}}}const ne=t`
|
|
23
23
|
:host .LoadBox{
|
|
24
24
|
position: fixed;
|
|
25
25
|
display: flex;
|
|
@@ -103,7 +103,7 @@ slot {
|
|
|
103
103
|
<div class="LoadBox" ${i("LoadBox")}>
|
|
104
104
|
<slot></slot>
|
|
105
105
|
</div>
|
|
106
|
-
`;let ie=class extends n{constructor(){super(),this.show=!1,oe.case.install([Pt])}showChanged(t,e){null===e||!1===e?
|
|
106
|
+
`;let ie=class extends n{constructor(){super(),this.show=!1,oe.case.install([Pt])}showChanged(t,e){null===e||!1===e?Nt(this.HIMask)("show"):Wt(this.HIMask)("show")}connectedCallback(){super.connectedCallback()}close(){Nt(this.HIMask)("show"),this.$emit("close")}closeChange(){this.$emit("change")}};function ae(t,e="px"){const o=["%","em","rem","ex","ch","vh","vw","vmax","vmin","px","pt","pc","cm","mm","in","kHz","Hz","ms","s","dpi","dpcm","dppx","deg","grad","rad","turn"];let n=!1;for(let e=0;e<o.length;e++){const r=o[e];String(t).toLowerCase().indexOf(r)>-1&&(n=!0)}return n?t:t+e}Mt([a],ie.prototype,"HIMask",void 0),Mt([a],ie.prototype,"LoadBox",void 0),Mt([e({mode:"boolean"})],ie.prototype,"show",void 0),Mt([Tt],ie.prototype,"showChanged",null),Mt([e],ie.prototype,"dir",void 0),Mt([e],ie.prototype,"background",void 0),ie=Mt([o({name:"h-load",styles:ne,template:re,shadowOptions:{mode:"closed"}})],ie);const se=t`
|
|
107
107
|
:host .LoadBox{
|
|
108
108
|
position: fixed;
|
|
109
109
|
display: flex;
|
|
@@ -186,7 +186,7 @@ slot {
|
|
|
186
186
|
<div class="LoadBox" ${i("LoadBox")}>
|
|
187
187
|
<slot></slot>
|
|
188
188
|
</div>
|
|
189
|
-
`;let ce=class extends n{constructor(){super(),this.show=!1,oe.case.install([Pt])}showChanged(t,e){null===e||!1===e?
|
|
189
|
+
`;let ce=class extends n{constructor(){super(),this.show=!1,oe.case.install([Pt])}showChanged(t,e){null===e||!1===e?Nt(this.HIMask)("show"):Wt(this.HIMask)("show")}connectedCallback(){super.connectedCallback()}clickFn(){this.$emit("click")}changeFn(){this.$emit("change")}};Mt([a],ce.prototype,"HIMask",void 0),Mt([a],ce.prototype,"LoadBox",void 0),Mt([e({mode:"boolean"})],ce.prototype,"show",void 0),Mt([Tt],ce.prototype,"showChanged",null),Mt([e],ce.prototype,"dir",void 0),Mt([e],ce.prototype,"background",void 0),ce=Mt([o({name:"h-enter",styles:se,template:le,shadowOptions:{mode:"closed"}})],ce);const de=t`
|
|
190
190
|
.Border{
|
|
191
191
|
-webkit-mask-size: 100%;
|
|
192
192
|
-webkit-mask-position: 0;
|
|
@@ -232,7 +232,7 @@ ${function(t){return`:host([hidden]),:host([hide]){display:none}:host{display:${
|
|
|
232
232
|
<div class="Overlay PosF OH" style="opacity:0;">
|
|
233
233
|
<slot></slot>
|
|
234
234
|
</div>
|
|
235
|
-
`;let ve=class extends n{constructor(){super(),this.mode="auto",this.show=!1,oe.case.install([Pt])}showChanged(t,e){null===e||!1===e?
|
|
235
|
+
`;let ve=class extends n{constructor(){super(),this.mode="auto",this.show=!1,oe.case.install([Pt])}showChanged(t,e){null===e||!1===e?Nt(this.Mask)("show"):Wt(this.Mask)("show")}connectedCallback(){super.connectedCallback()}close(){"auto"==this.mode&&(this.show=!1)}};Mt([a],ve.prototype,"Mask",void 0),Mt([e],ve.prototype,"mode",void 0),Mt([e({mode:"boolean"})],ve.prototype,"show",void 0),ve=Mt([o({name:"h-overlay",styles:he,template:fe})],ve);const ge=t`
|
|
236
236
|
:host{
|
|
237
237
|
position: absolute;
|
|
238
238
|
pointer-events: none;
|
|
@@ -352,7 +352,7 @@ ${function(t){return`:host([hidden]),:host([hide]){display:none}:host{display:${
|
|
|
352
352
|
<div class="ArrowWrap">
|
|
353
353
|
<span class="Arrow"></span>
|
|
354
354
|
</div>
|
|
355
|
-
`;let ye=class extends n{constructor(){super(),this.dir="top"}colorChanged(t,e){Lt(this)({color:e})}connectedCallback(){super.connectedCallback()}};Mt([e],ye.prototype,"dir",void 0),Mt([e],ye.prototype,"color",void 0),ye=Mt([o({name:"h-arrow",styles:ge,template:me,shadowOptions:{mode:"closed"}})],ye);var xe=function(t,e,o,n){t.addEventListener?t.addEventListener(e,o,!1):t.attachEvent?t.attachEvent("on"+e,o):t["on"+e]=o},be=function(t,e,o,n){t.removeEventListener?t.removeEventListener(e,o,!1):t.detachEvent?t.detachEvent("on"+e,o):t["on"+e]=null},we=function(){return W((function t(){var e=this;if(P(this,t),this.hasPassiveEvents=!1,this.isIosDevice="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),this.locks=[],this.documentListenerAdded=!1,this.initialClientY=-1,this.restoreOverflowSetting=function(){void 0!==e.previousBodyPaddingRight&&(document.body.style.paddingRight=e.previousBodyPaddingRight,e.previousBodyPaddingRight=void 0),void 0!==e.previousBodyOverflowSetting&&(document.body.style.overflow=e.previousBodyOverflowSetting,document.documentElement.style.overflow=e.previousBodyOverflowSetting,e.previousBodyOverflowSetting=void 0)},this.handleScroll=function(t,o){var n=t.targetTouches[0].clientY-e.initialClientY;return!e.allowTouchMove(t.target)&&(o&&0===o.scrollTop&&n>0||e.isTargetElementTotallyScrolled(o)&&n<0?e.preventDefault(t):(t.stopPropagation(),!0))},"undefined"!=typeof window){var o={get passive(){this.hasPassiveEvents=!0}};xe(window,"testPassive",null,o),be(window,"testPassive",null,o)}}),[{key:"isTargetElementTotallyScrolled",value:function(t){return!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight}},{key:"allowTouchMove",value:function(t){this.locks.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))}))}},{key:"preventDefault",value:function(t){var e=t||window.event;return!(!this.allowTouchMove||!this.allowTouchMove(e.target))||(e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1))}},{key:"setOverflowHidden",value:function(t){if(void 0===this.previousBodyPaddingRight){var e=!!t&&!0===t.reserveScrollBarGap,o=window.innerWidth-document.documentElement.clientWidth;e&&o>0&&(this.previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight="".concat(o,"px"))}void 0===this.previousBodyOverflowSetting&&(this.previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden")}},{key:"disable",value:function(t,e){var o=this;if(t){if(!this.locks.some((function(e){return e.targetElement===t}))){var n={targetElement:t,options:e||{}};this.locks=[].concat(X(this.locks),[n]),this.isIosDevice?(t.ontouchstart=function(t){1===t.targetTouches.length&&(o.initialClientY=t.targetTouches[0].clientY)},t.ontouchmove=function(e){1===e.targetTouches.length&&o.handleScroll(e,t)},this.documentListenerAdded||(document.addEventListener("touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!0)):this.setOverflowHidden(e)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")}},{key:"clearAll",value:function(){this.isIosDevice?(this.locks.forEach((function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null})),this.documentListenerAdded&&(be(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1),this.initialClientY=-1):this.restoreOverflowSetting(),this.locks=[]}},{key:"enable",value:function(t){t?(this.locks=this.locks.filter((function(e){return e.targetElement!==t})),this.isIosDevice?(t.ontouchstart=null,t.ontouchmove=null,this.documentListenerAdded&&0===this.locks.length&&(be(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1)):this.locks.length||this.restoreOverflowSetting()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}])}(),ke=new we;function Se(t,e,o){var n=o.value;return o.value=function(t,e){return null===e||!1===e?ke.enable(document.body):ke.disable(document.body),n.apply(this,arguments)},o}var Ce,Me,_e,Oe,Ie=function(){function t(){var e=this;P(this,t),"classList"in document.documentElement?(this.has=function(t,e){return t.classList.contains(e)},this.add=function(t,e){for(var o=e.split(" "),n=0;n<o.length;n++)void 0!==t.classList&&t.classList.add(o[n])},this.remove=function(t,e){if(t)for(var o=e.split(" "),n=0;n<o.length;n++)void 0!==t.classList&&t.classList.remove(o[n])}):(this.has=function(t,o){return e.classReg(o).test(t.className)},this.add=function(t,o){e.has(t,o)||(t.className=t.className+" "+o)},this.remove=function(t,o){t.className=t.className.replace(e.classReg(o)," ")})}return W(t,[{key:"classReg",value:function(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}},{key:"toggle",value:function(t,e){(this.has(t,e)?this.remove:this.add)(t,e)}}],[{key:"instance",get:function(){return this._instance||(this._instance=new t),this._instance}}])}();function Le(t){if("string"==typeof t)return String(t).replace(/(^\s*)|(\s*$)/g,"").replace(/\u200B/g,"");if("[object Array]"===Object.prototype.toString.call(t))return t.forEach((function(t){t=Le(t)})),t;if("[object Object]"!==Object.prototype.toString.call(t)||null==t)return t;for(var e in t)t[e]=Le(t[e]);return t}function Ee(t){return function(e,o){if(mt(e))for(var n in e)ze(t)(n,e[n]);if("string"==typeof e){if(/:/g.test(e))e.split(";").forEach((function(e){var o=(e=Le(e)).split(":");ze(t)(o[0],o[1])}));else ze(t)(e,o)}}}function ze(t){return function(e,o){if(t){if(void 0===o)return window.getComputedStyle(t,null).getPropertyValue(e);t.style[e]=o}}}function Be(t){var e=null;return function(o,n,r){var i=r.value;return r.value=function(){for(var o=this,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e&&clearTimeout(e),e=setTimeout((function(){i.apply(o,r)}),t)},r}}function Ae(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ae=function(){return!!t})()}var Pe=r(Ce||(Ce=z(['\n<div class="ConflateWrap">\n <div class="Bg"></div>\n <div class="VideoBox">\n <div class="VideoWrap" ',">\n ","\n </div>\n </div>\n <div ",' class="Content transit">\n <div class="Title">\n <img src="','/download/img/collect/conflate/title03.png"/>\n </div>\n <div class="Icon ','">\n <div><img src="','/download/img/collect/conflate/icon03.png"/><p class="TEll">2.24抽奖次数+1</p></div>\n <span class="','">\n ','\n </span>\n <div><img src="','/download/img/collect/conflate/icon02.png"/><p class="TEll">iHaier新年头像框</p></div>\n </div>\n <div class="Button">\n <img @click="','" src="','/download/img/collect/button.png"/>\n </div>\n <div class="Notes">\n ',"\n <p>iHaier新年头像框将通过您的iHaier发放</p>\n </div>\n </div>\n </div>\n"])),i("aniImg"),l((function(t,e){return t.ImgList}),r(Me||(Me=z(['<img src="','" style="z-index:',';" />'])),(function(t){return t.img}),(function(t){return t.index})),{positioning:!0}),i("contentWrap"),St.path,(function(t){return t.isCoupon?"":"Two"}),St.path,(function(t){return t.isCoupon?"Coupon":""}),c((function(t){return t.isCoupon}),r(_e||(_e=z(['<div><img src="','"/><p class="TEll">',"</p></div>\n "])),(function(t){return t.prizeImg}),(function(t){return t.prizeName}))),St.path,(function(t){return t.accept()}),St.path,c((function(t){return t.isCoupon}),r(Oe||(Oe=z(["<p>优惠券可在【我的奖品-商城卡券】中查看</p>"]))))),je=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,Ae()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.isLowend=!1,e.isCoupon=!1,e.prizeName="",e.prizeQuota="",e.prizeImg="https://zjrs.haier.net/download/img/collect/coupon.png",e.ImgList=Array.from({length:48},(function(t,e){return{index:80-e,img:St.path+"/download/img/collect/conflate/000"+(e<10?"0":"")+e+".jpg"}})),e.isClick=!1,e.index=0,e.row=0,e.col=0,bt.case.install([ve]),e}return L(t,n),y(t,[{key:"showChanged",value:function(t,e){null===e||!1===e?Ie.instance.remove(this.contentWrap,"show"):this.init()}},{key:"connectedCallback",value:function(){var e=this;!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([]),Ee(this.aniImg)("transform","scale("+document.documentElement.clientWidth/720+")"),window.addEventListener("resize",(function(){Ee(e.aniImg)("transform","scale("+document.documentElement.clientWidth/720+")")})),this.isLowend=736==screen.height&&414==screen.width&&this.isIphone()||667==screen.height&&375==screen.width&&this.isIphone(),setTimeout((function(){e.isLowend?e.ImgList=[{index:80,img:St.path+"/download/img/collect/conflate/loop.webp"}]:e.ImgList.push({index:31,display:"none",img:St.path+"/download/img/collect/conflate/loop.webp"})}),100)}},{key:"isIphone",value:function(){return/iPhone/.test(navigator.userAgent)&&/Mobile/.test(navigator.userAgent)}},{key:"init",value:function(){var t=this;this.isLowend?(Ie.instance.add(this.contentWrap,"show"),setTimeout((function(){t.isClick=!0}),10)):(setTimeout((function(){t.timer=setInterval((function(){t.play()}),40)}),80),setTimeout((function(){Ie.instance.add(t.contentWrap,"show")}),1500),setTimeout((function(){t.isClick=!0}),3500))}},{key:"resize",value:function(){window.outerWidth/window.outerHeight>=.4614121510673235?(this.video.style.width="100%",this.video.style.height=""):(this.video.style.height="100%",this.video.style.width="")}},{key:"accept",value:function(){this.isClick&&(this.close(),this.$emit("change","accept"))}},{key:"play",value:function(){this.aniImg.children[0]&&this.aniImg.children[0].remove(),this.index++,48===this.index&&(Ee(this.aniImg.children[0])("display","block"),clearInterval(this.timer),this.index=0)}},{key:"close",value:function(){this.show=!1}},{key:"update",value:function(t){t&&t.prizeId&&(this.prizeName=t.prizeName,this.prizeImg=t.prizeImg,this.prizeQuota=t.prizeQuota,this.isCoupon=!0)}}])}();B([a],je.prototype,"Overlay",void 0),B([a],je.prototype,"isLowend",void 0),B([a],je.prototype,"video",void 0),B([a],je.prototype,"contentWrap",void 0),B([a],je.prototype,"isCoupon",void 0),B([a],je.prototype,"prizeName",void 0),B([a],je.prototype,"prizeQuota",void 0),B([a],je.prototype,"prizeImg",void 0),B([a],je.prototype,"aniImg",void 0),B([a],je.prototype,"ImgList",void 0),B([e({mode:"boolean"})],je.prototype,"show",void 0),B([Se],je.prototype,"showChanged",null),B([Be(300)],je.prototype,"accept",null),je=B([o({name:"g-collect-conflate",template:Pe,styles:Ct})],je);var Te,De=new(function(){function t(){P(this,t),this.isMobile=!1,this.size=375,this.pageSize=function(){var t=0,e=0;window.innerHeight&&window.scrollMaxY?(t=window.innerWidth+window.scrollMaxX,e=window.innerHeight+window.scrollMaxY):document.body.scrollHeight>document.body.offsetHeight?(t=document.body.scrollWidth,e=document.body.scrollHeight):document.body&&(t=document.body.offsetWidth,e=document.body.offsetHeight);var o=0,n=0;return window.innerHeight?(o=window.innerWidth,n=window.innerHeight):document.documentElement&&document.documentElement.clientHeight?(o=document.documentElement.clientWidth,n=document.documentElement.clientHeight):document.body&&(o=document.body.clientWidth,n=document.body.clientHeight),{PageW:t<o?o:t,PageH:e<n?n:e,WinW:o,WinH:n}}(),this.isMobile=this.pageSize.PageW<768}return W(t,[{key:"toVw",value:function(t){return this.isMobile?"".concat(t/this.size*100,"vw"):"".concat(t,"px")}},{key:"toPerce",value:function(t){return"".concat(t/this.size*100,"%")}},{key:"toPx",value:function(t){return"".concat(this.pageSize.PageW/this.size*t,"px")}},{key:"toEm",value:function(t){return"".concat(t/10,"em")}}],[{key:"case",get:function(){return this._case||(this._case=new t),this._case}}])}()),Re=t(Te||(Te=z(["\n","\n.ListWrap{\ndisplay:flex;\nwidth:100%;\npadding:0 0 0 3.2vw;\nmargin:0 auto;\n}\n.CardBox{width:",";overflow: hidden;\noverflow-x: auto;position:relative;}\n.CardBox::-webkit-scrollbar{display:none}\n.CardWrap{display:inline-flex}\n.CardWrap div.Card{\nwidth:",";\nheight:",";\nmargin: 0 0 0 ",";\n}\n.CardWrap div.Card:last-child{margin-right:","}\n.CardWrap div.Card img {width:100%}\n.Synthesis{\nposition:relative;\nwidth:22.4vw;height:22.4vw;margin:0 1vw 0 -1vw;\n}\n\n.Synthesis .Tips{position:absolute;left:0;top:-6.5vw;z-index:6; width:35.2vw;}\n.Synthesis .Svga,\n.Synthesis .Img,\n.Synthesis video {\nposition: absolute;left:0;top:0;\nwidth:22.4vw;height:22.4vw;\nmargin:0;\n}\n.Synthesis .Img {z-index:2; opacity: 0.8;}\n.Synthesis .Svga{z-index:3;","}\n.Synthesis video{z-index:3;","}\nh-badge{right:6px;top:6px;}\n"])),wt(),De.toVw(279),De.toVw(70),De.toVw(84),De.toVw(10),De.toVw(5),yt(["PoiNo"]),yt(["PoiNo"]));class We extends n{constructor(){super(...arguments),this.disabled=!1}colorChanged(t,e){Lt(this)({color:e})}sizeChanged(t,e){for(let t=0;t<this.children.length;t++){Dt(this.children[t])("size",this.size)}}connectedCallback(){super.connectedCallback()}injection(t){t&&t(this)}setValueFn(t,e){this[t+"Changed"]("",e)}update(t,e){e&&e(t)}childrenFn(t){const e=this.children.length;if(e>0){for(let t=0;t<e;t++){const o=this.children[t];0==t?Dt(o)("first"):t+1==e&&Dt(o)("last"),Dt(o)("index",String(t))}t&&t()}}}Mt([e],We.prototype,"color",void 0),Mt([e],We.prototype,"size",void 0),Mt([e({mode:"boolean"})],We.prototype,"disabled",void 0);class Fe{constructor(){this.timeOut=0}init(t){let e,o;e=setInterval((()=>{o="string"==typeof t.front?window[t.front]:t.front(),this.timeOut++,(this.timeOut>=60||o)&&(clearInterval(e),t.callback())}),50)}}const Ne=t`
|
|
355
|
+
`;let ye=class extends n{constructor(){super(),this.dir="top"}colorChanged(t,e){Lt(this)({color:e})}connectedCallback(){super.connectedCallback()}};Mt([e],ye.prototype,"dir",void 0),Mt([e],ye.prototype,"color",void 0),ye=Mt([o({name:"h-arrow",styles:ge,template:me,shadowOptions:{mode:"closed"}})],ye);var xe=function(t,e,o,n){t.addEventListener?t.addEventListener(e,o,!1):t.attachEvent?t.attachEvent("on"+e,o):t["on"+e]=o},be=function(t,e,o,n){t.removeEventListener?t.removeEventListener(e,o,!1):t.detachEvent?t.detachEvent("on"+e,o):t["on"+e]=null},we=function(){return D((function t(){var e=this;if(P(this,t),this.hasPassiveEvents=!1,this.isIosDevice="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),this.locks=[],this.documentListenerAdded=!1,this.initialClientY=-1,this.restoreOverflowSetting=function(){void 0!==e.previousBodyPaddingRight&&(document.body.style.paddingRight=e.previousBodyPaddingRight,e.previousBodyPaddingRight=void 0),void 0!==e.previousBodyOverflowSetting&&(document.body.style.overflow=e.previousBodyOverflowSetting,document.documentElement.style.overflow=e.previousBodyOverflowSetting,e.previousBodyOverflowSetting=void 0)},this.handleScroll=function(t,o){var n=t.targetTouches[0].clientY-e.initialClientY;return!e.allowTouchMove(t.target)&&(o&&0===o.scrollTop&&n>0||e.isTargetElementTotallyScrolled(o)&&n<0?e.preventDefault(t):(t.stopPropagation(),!0))},"undefined"!=typeof window){var o={get passive(){this.hasPassiveEvents=!0}};xe(window,"testPassive",null,o),be(window,"testPassive",null,o)}}),[{key:"isTargetElementTotallyScrolled",value:function(t){return!!t&&t.scrollHeight-t.scrollTop<=t.clientHeight}},{key:"allowTouchMove",value:function(t){this.locks.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))}))}},{key:"preventDefault",value:function(t){var e=t||window.event;return!(!this.allowTouchMove||!this.allowTouchMove(e.target))||(e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1))}},{key:"setOverflowHidden",value:function(t){if(void 0===this.previousBodyPaddingRight){var e=!!t&&!0===t.reserveScrollBarGap,o=window.innerWidth-document.documentElement.clientWidth;e&&o>0&&(this.previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight="".concat(o,"px"))}void 0===this.previousBodyOverflowSetting&&(this.previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden")}},{key:"disable",value:function(t,e){var o=this;if(t){if(!this.locks.some((function(e){return e.targetElement===t}))){var n={targetElement:t,options:e||{}};this.locks=[].concat(X(this.locks),[n]),this.isIosDevice?(t.ontouchstart=function(t){1===t.targetTouches.length&&(o.initialClientY=t.targetTouches[0].clientY)},t.ontouchmove=function(e){1===e.targetTouches.length&&o.handleScroll(e,t)},this.documentListenerAdded||(document.addEventListener("touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!0)):this.setOverflowHidden(e)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")}},{key:"clearAll",value:function(){this.isIosDevice?(this.locks.forEach((function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null})),this.documentListenerAdded&&(be(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1),this.initialClientY=-1):this.restoreOverflowSetting(),this.locks=[]}},{key:"enable",value:function(t){t?(this.locks=this.locks.filter((function(e){return e.targetElement!==t})),this.isIosDevice?(t.ontouchstart=null,t.ontouchmove=null,this.documentListenerAdded&&0===this.locks.length&&(be(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1)):this.locks.length||this.restoreOverflowSetting()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}])}(),ke=new we;function Se(t,e,o){var n=o.value;return o.value=function(t,e){return null===e||!1===e?ke.enable(document.body):ke.disable(document.body),n.apply(this,arguments)},o}var Ce,Me,_e,Oe,Ie=function(){function t(){var e=this;P(this,t),"classList"in document.documentElement?(this.has=function(t,e){return t.classList.contains(e)},this.add=function(t,e){for(var o=e.split(" "),n=0;n<o.length;n++)void 0!==t.classList&&t.classList.add(o[n])},this.remove=function(t,e){if(t)for(var o=e.split(" "),n=0;n<o.length;n++)void 0!==t.classList&&t.classList.remove(o[n])}):(this.has=function(t,o){return e.classReg(o).test(t.className)},this.add=function(t,o){e.has(t,o)||(t.className=t.className+" "+o)},this.remove=function(t,o){t.className=t.className.replace(e.classReg(o)," ")})}return D(t,[{key:"classReg",value:function(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}},{key:"toggle",value:function(t,e){(this.has(t,e)?this.remove:this.add)(t,e)}}],[{key:"instance",get:function(){return this._instance||(this._instance=new t),this._instance}}])}();function Le(t){if("string"==typeof t)return String(t).replace(/(^\s*)|(\s*$)/g,"").replace(/\u200B/g,"");if("[object Array]"===Object.prototype.toString.call(t))return t.forEach((function(t){t=Le(t)})),t;if("[object Object]"!==Object.prototype.toString.call(t)||null==t)return t;for(var e in t)t[e]=Le(t[e]);return t}function Ee(t){return function(e,o){if(mt(e))for(var n in e)ze(t)(n,e[n]);if("string"==typeof e){if(/:/g.test(e))e.split(";").forEach((function(e){var o=(e=Le(e)).split(":");ze(t)(o[0],o[1])}));else ze(t)(e,o)}}}function ze(t){return function(e,o){if(t){if(void 0===o)return window.getComputedStyle(t,null).getPropertyValue(e);t.style[e]=o}}}function Be(t){var e=null;return function(o,n,r){var i=r.value;return r.value=function(){for(var o=this,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e&&clearTimeout(e),e=setTimeout((function(){i.apply(o,r)}),t)},r}}function Ae(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ae=function(){return!!t})()}var Pe=r(Ce||(Ce=z(['\n<div class="ConflateWrap">\n <div class="Bg"></div>\n <div class="VideoBox">\n <div class="VideoWrap" ',">\n ","\n </div>\n </div>\n <div ",' class="Content transit">\n <div class="Title">\n <img src="','/download/img/collect/conflate/title03.png"/>\n </div>\n <div class="Icon ','">\n <div><img src="','/download/img/collect/conflate/icon03.png"/><p class="TEll">2.24抽奖次数+1</p></div>\n <span class="','">\n ','\n </span>\n <div><img src="','/download/img/collect/conflate/icon02.png"/><p class="TEll">iHaier新年头像框</p></div>\n </div>\n <div class="Button">\n <img @click="','" src="','/download/img/collect/button.png"/>\n </div>\n <div class="Notes">\n ',"\n <p>iHaier新年头像框将通过您的iHaier发放</p>\n </div>\n </div>\n </div>\n"])),i("aniImg"),l((function(t,e){return t.ImgList}),r(Me||(Me=z(['<img src="','" class="','" style="z-index:',';" />'])),(function(t){return t.img}),(function(t){return t.className}),(function(t){return t.index})),{positioning:!0}),i("contentWrap"),St.path,(function(t){return t.isCoupon?"":"Two"}),St.path,(function(t){return t.isCoupon?"Coupon":""}),c((function(t){return t.isCoupon}),r(_e||(_e=z(['<div><img src="','"/><p class="TEll">',"</p></div>\n "])),(function(t){return t.prizeImg}),(function(t){return t.prizeName}))),St.path,(function(t){return t.accept()}),St.path,c((function(t){return t.isCoupon}),r(Oe||(Oe=z(["<p>优惠券可在【我的奖品-商城卡券】中查看</p>"]))))),je=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,Ae()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.isLowend=!1,e.isCoupon=!1,e.prizeName="",e.prizeQuota="",e.prizeImg="https://zjrs.haier.net/download/img/collect/coupon.png",e.ImgList=Array.from({length:48},(function(t,e){return{index:80-e,img:St.path+"/download/img/collect/conflate/000"+(e<10?"0":"")+e+".jpg"}})),e.isClick=!1,e.index=0,e.row=0,e.col=0,bt.case.install([ve]),e}return L(t,n),y(t,[{key:"showChanged",value:function(t,e){null===e||!1===e?Ie.instance.remove(this.contentWrap,"show"):this.init()}},{key:"connectedCallback",value:function(){var e=this;!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([]),Ee(this.aniImg)("transform","scale("+document.documentElement.clientWidth/720+")"),window.addEventListener("resize",(function(){Ee(e.aniImg)("transform","scale("+document.documentElement.clientWidth/720+")")})),this.isLowend=736==screen.height&&414==screen.width&&this.isIphone()||667==screen.height&&375==screen.width&&this.isIphone(),setTimeout((function(){e.isLowend?e.ImgList=[{index:80,className:"loop",img:St.path+"/download/img/collect/conflate/loop.webp"}]:e.ImgList.push({index:31,display:"none",className:"loop",img:St.path+"/download/img/collect/conflate/loop.webp"})}),100)}},{key:"isIphone",value:function(){return/iPhone/.test(navigator.userAgent)&&/Mobile/.test(navigator.userAgent)}},{key:"init",value:function(){var t=this;this.isLowend?(Ie.instance.add(this.contentWrap,"show"),setTimeout((function(){t.isClick=!0}),10)):(setTimeout((function(){t.timer=setInterval((function(){t.play()}),40)}),80),setTimeout((function(){Ie.instance.add(t.contentWrap,"show")}),1500),setTimeout((function(){t.isClick=!0}),3500))}},{key:"resize",value:function(){window.outerWidth/window.outerHeight>=.4614121510673235?(this.video.style.width="100%",this.video.style.height=""):(this.video.style.height="100%",this.video.style.width="")}},{key:"accept",value:function(){this.isClick&&(this.close(),this.$emit("change","accept"))}},{key:"play",value:function(){this.aniImg.children[0]&&this.aniImg.children[0].remove(),this.index++,48===this.index&&(Ee(this.aniImg.children[0])("display","block"),clearInterval(this.timer),this.index=0)}},{key:"close",value:function(){this.show=!1}},{key:"update",value:function(t){t&&t.prizeId&&(this.prizeName=t.prizeName,this.prizeImg=t.prizeImg,this.prizeQuota=t.prizeQuota,this.isCoupon=!0)}}])}();B([a],je.prototype,"Overlay",void 0),B([a],je.prototype,"isLowend",void 0),B([a],je.prototype,"video",void 0),B([a],je.prototype,"contentWrap",void 0),B([a],je.prototype,"isCoupon",void 0),B([a],je.prototype,"prizeName",void 0),B([a],je.prototype,"prizeQuota",void 0),B([a],je.prototype,"prizeImg",void 0),B([a],je.prototype,"aniImg",void 0),B([a],je.prototype,"ImgList",void 0),B([e({mode:"boolean"})],je.prototype,"show",void 0),B([Se],je.prototype,"showChanged",null),B([Be(300)],je.prototype,"accept",null),je=B([o({name:"g-collect-conflate",template:Pe,styles:Ct})],je);var Te,We=new(function(){function t(){P(this,t),this.isMobile=!1,this.size=375,this.pageSize=function(){var t=0,e=0;window.innerHeight&&window.scrollMaxY?(t=window.innerWidth+window.scrollMaxX,e=window.innerHeight+window.scrollMaxY):document.body.scrollHeight>document.body.offsetHeight?(t=document.body.scrollWidth,e=document.body.scrollHeight):document.body&&(t=document.body.offsetWidth,e=document.body.offsetHeight);var o=0,n=0;return window.innerHeight?(o=window.innerWidth,n=window.innerHeight):document.documentElement&&document.documentElement.clientHeight?(o=document.documentElement.clientWidth,n=document.documentElement.clientHeight):document.body&&(o=document.body.clientWidth,n=document.body.clientHeight),{PageW:t<o?o:t,PageH:e<n?n:e,WinW:o,WinH:n}}(),this.isMobile=this.pageSize.PageW<768}return D(t,[{key:"toVw",value:function(t){return this.isMobile?"".concat(t/this.size*100,"vw"):"".concat(t,"px")}},{key:"toPerce",value:function(t){return"".concat(t/this.size*100,"%")}},{key:"toPx",value:function(t){return"".concat(this.pageSize.PageW/this.size*t,"px")}},{key:"toEm",value:function(t){return"".concat(t/10,"em")}}],[{key:"case",get:function(){return this._case||(this._case=new t),this._case}}])}()),Ne=t(Te||(Te=z(["\n","\n.ListWrap{\ndisplay:flex;\nwidth:100%;\npadding:0 0 0 3.2vw;\nmargin:0 auto;\n}\n.CardBox{width:",";overflow: hidden;\noverflow-x: auto;position:relative;}\n.CardBox::-webkit-scrollbar{display:none}\n.CardWrap{display:inline-flex}\n.CardWrap div.Card{\nwidth:",";\nheight:",";\nmargin: 0 0 0 ",";\n}\n.CardWrap div.Card:last-child{margin-right:","}\n.CardWrap div.Card img {width:100%}\n.Synthesis{\nposition:relative;\nwidth:22.4vw;height:22.4vw;margin:0 1vw 0 -1vw;\n}\n\n.Synthesis .Tips{position:absolute;left:0;top:-6.5vw;z-index:6; width:35.2vw;}\n.Synthesis .Svga,\n.Synthesis .Img,\n.Synthesis video {\nposition: absolute;left:0;top:0;\nwidth:22.4vw;height:22.4vw;\nmargin:0;\n}\n.Synthesis .Img {z-index:2;}\n.Synthesis .Svga{z-index:3;","}\n.Synthesis video{z-index:3;","}\nh-badge{right:6px;top:6px;}\n"])),wt(),We.toVw(279),We.toVw(70),We.toVw(84),We.toVw(10),We.toVw(5),yt(["PoiNo"]),yt(["PoiNo"]));class De extends n{constructor(){super(...arguments),this.disabled=!1}colorChanged(t,e){Lt(this)({color:e})}sizeChanged(t,e){for(let t=0;t<this.children.length;t++){Wt(this.children[t])("size",this.size)}}connectedCallback(){super.connectedCallback()}injection(t){t&&t(this)}setValueFn(t,e){this[t+"Changed"]("",e)}update(t,e){e&&e(t)}childrenFn(t){const e=this.children.length;if(e>0){for(let t=0;t<e;t++){const o=this.children[t];0==t?Wt(o)("first"):t+1==e&&Wt(o)("last"),Wt(o)("index",String(t))}t&&t()}}}Mt([e],De.prototype,"color",void 0),Mt([e],De.prototype,"size",void 0),Mt([e({mode:"boolean"})],De.prototype,"disabled",void 0);class Re{constructor(){this.timeOut=0}init(t){let e,o;e=setInterval((()=>{o="string"==typeof t.front?window[t.front]:t.front(),this.timeOut++,(this.timeOut>=60||o)&&(clearInterval(e),t.callback())}),50)}}const Fe=t`
|
|
356
356
|
:host{
|
|
357
357
|
overflow: hidden;
|
|
358
358
|
display: inline-block;
|
|
@@ -375,4 +375,4 @@ div{
|
|
|
375
375
|
<div ${i("SVGAPlayer")}></div>
|
|
376
376
|
</span>
|
|
377
377
|
</template>
|
|
378
|
-
`;let He=class extends We{pathChanged(t,e){e&&this.loadSvga()}connectedCallback(){super.connectedCallback(),this.loadSvga()}loadSvga(){return function(t,e,o,n){return new(o||(o=Promise))((function(r,i){function a(t){try{l(n.next(t))}catch(t){i(t)}}function s(t){try{l(n.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(a,s)}l((n=n.apply(t,e||[])).next())}))}(this,void 0,void 0,(function*(){var t;yield(t=atob("aHR0cHM6Ly96anJzLmhhaWVyLm5ldA==")+"/download/cdn/svga.min.js",new Promise(((e,o)=>{if(void 0!==t){const o=new Fe,n=t.substring(t.lastIndexOf(".")+1),r=document.getElementsByTagName("head")[0];if(document.querySelectorAll('script[src*="'+t+'"]').length<=0){if("js"===n){const o=document.createElement("script");o.src=t,o.type="text/javascript",r.appendChild(o),o.onload=o.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||e(!0)}}else if("css"===n){const e=document.createElement("link");e.href=t,e.rel="stylesheet",e.type="text/css",r.appendChild(e)}}else o.init({front:String("SVGA"),callback:()=>{e(!0)}})}else o(!1)})));let e=new SVGA.Player(this.SVGAPlayer);new SVGA.Parser(this.SVGAPlayer).load(this.path,(t=>{this.height=t.videoSize.height,this.width=t.videoSize.width,this.$emit("change",{height:t.videoSize.height,width:t.videoSize.width}),e.setVideoItem(t),e.startAnimation()}))}))}};var Ve,Ye,Ge;function Ue(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ue=function(){return!!t})()}Mt([a],He.prototype,"SVGAPlayer",void 0),Mt([e],He.prototype,"path",void 0),Mt([e({converter:s})],He.prototype,"width",void 0),Mt([e({converter:s})],He.prototype,"height",void 0),He=Mt([o({name:"h-svga",styles:Ne,template:$e})],He);var Xe,Ze=r(Ve||(Ve=z(['\n<section class="ListWrap">\n <div class="Synthesis">\n <span>\n ','\n </span>\n <img class="Img ','" src="','/download/img/collect/synthesis.png" />\n </div>\n <div class="CardBox">\n <span class="CardWrap">\n ',"\n </span>\n </div>\n</section>\n"])),c((function(t){return t.isVideo}),r(Ye||(Ye=z(['<div style="position:absolute; z-index:4; display: block;height: 100%;width: 100%;" @click="','"> <img class="Img" src="','/download/img/collect/synthesis1.png" /><img class="Tips" src="','/download/img/collect/tips.png" /></div>'])),(function(t){return t.SynthesisFn()}),St.path,St.path)),(function(t){return t.isVideo?"hide":""}),St.path,l((function(t){return t.cardItem}),r(Ge||(Ge=z(['<div class="Card">\n <img src="','"/></div>'])),(function(t){return t.total>0?t.card:t.grey})),{positioning:!0})),Je=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,Ue()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.isVideo=!1,e.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,"-1.png")}})),bt.case.install([He]),e}return L(t,n),y(t,[{key:"connectedCallback",value:function(){!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([])}},{key:"SynthesisFn",value:function(){this.$emit("change","synthesis")}},{key:"revert",value:function(){this.isVideo=!1,this.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,"-1.png")}}))}},{key:"update",value:function(t){if(t&&t.isRevert)this.revert();else if(t&&t.cardList){for(var e=Array.from({length:6}),o=0;o<t.cardList.length;o++){var n=t.cardList[o];e[n.cardType-1]={total:n.cardNum,card:"".concat(St.path,"/download/img/collect/list/small0").concat(n.cardType,".png"),grey:"".concat(St.path,"/download/img/collect/list/small0").concat(n.cardType,"-1.png")}}this.cardItem=e,this.isVideo=t.isCanCompose}}}])}();B([a],Je.prototype,"isVideo",void 0),B([a],Je.prototype,"cardItem",void 0),B([Be(300)],Je.prototype,"SynthesisFn",null),Je=B([o({name:"g-collect-list",template:Ze,styles:Re,shadowOptions:{mode:"closed"}})],Je);var qe=t(Xe||(Xe=z(["\n","\n:host{text-align:center;display:none}\n:host([show]){display:block}\n.VideoWrap{position:absolute;display:flex;width:100vw;height:100vh;justify-content:center;align-items:center}\n.PrizeWrap {position:fixed;top:0;left:0;width:100vw;height:100vh;display:block;z-index:3100;background:rgba(0, 0, 0, 0.4);}\n.PrizeWrap .Content{position:relative; z-index:60;height:100%;\n padding-top: 20vw;text-align:center;","\n}\n.PrizeWrap .Title img{\n height:17.0666666666vw\n}\n.PrizeWrap .Subtitle{\nfont-size: 14px;font-weight: 400;line-height: 14px;\ncolor: #FFFFFF;\n}\n.PrizeWrap .Notes{\nposition:absolute;bottom:5vw;width:100%;\nfont-size: 12px;\ncolor: #FFF1D8;\nline-height: 18px;\nfont-weight: 400;\n}\n\n\n.Conten{position:fixed;top:0;left:0;width:100vw;height:100vh; z-index:2;display:block;}\n.Conten .Bg{position:fixed;top:0;left:0;width:100%;height:100%;\n background:url(","/download/img/collect/bg.png) no-repeat center;\n background-size: cover;\n}\n.Conten .Img{position: absolute; overflow:hidden;\nz-index:99;left:20vw;top:60vw; \nwidth:60vw;\nheight:70vw;}\n.Conten .Img span {display:block}\n.Conten .Light{position: absolute;top: 0;",'\n bottom: 0;width:100%; overflow:hidden;\n left: 0;z-index:30;\n border-radius:8vw;}\n.Conten .Light::after{\n content: "";\n background-color: #fff9;\n opacity: 0.6;\n top: -25%;\n bottom: 0;\n left: -100%;\n position: absolute;\n width: 13vw;\n height:150%;\n box-shadow: 0 0 10vmin 2.5vmin #fff;\n transform:rotateZ(145deg) translateZ(0);\n transition: all 05s ease;\n animation-duration: 0.5s;\n animation-delay: 1s;\n animation-name: Light\n}\n\n.Conten .Img .Card {width:100%;height:100%}\n@keyframes Light{\n to{\n left: 400px;\n transition: left 0.5s ease 0s;\n }\n}\n\n@keyframes zoomInUp {\n from {opacity: 0;transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.49)}\n 60% {opacity: 1;transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -20px, 0);animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.5)}\n}\n.zoomInUp {animation-duration: 1s;\n animation-fill-mode: both;animation-name: zoomInUp}\n\n.CouponWrap {position:relative;}\n.CouponWrap .Info{position:absolute;width:100%;top:14.4vw;left:0;z-index:20;text-align:center;}\n.VideoWrap .Bg,\n.CouponWrap .Bg{position:fixed;top:0;left:0;width:100%;height:100%;\n background:url(',"/download/img/collect/bg.png) no-repeat center;\n background-size: cover;\n}\n.Coupon{width:100%;height:70vw;position:relative;z-index:9;}\n\n.Button{position:absolute;width:100%;bottom:30vw;text-align:center;","}\n.Button img{height:20.26666666vw}\n\n.transit{display:none; ","}\n.show.transit{display:block;","}\n\n.Cache{display:none;position:absolute;bottom:-30px;left:-30px;z-index:-10}\n.Cache img{width:1px;height:1px;}\n\n\n@media screen and (max-height : 210vw) {\n .Button{bottom:27vw;}\n}\n@media screen and (max-height : 200vw) {\n .Button{bottom:25vw;}\n}\n@media screen and (max-height : 190vw) {\n .Button{bottom:22vw;}\n}\n@media screen and (max-height : 180vw) {\n .VideoWrap video{margin-top:10vw;}\n .Button{bottom:20vw;}\n}\n@media screen and (max-height : 170vw) {\n .VideoWrap video{margin-top:15vw;}\n .Button{bottom:15vw;}\n}\n"])),wt(),yt(["PoiNo"]),St.path,yt(["PoiNo"]),St.path,yt(["PoiAll"]),yt(["PoiNo"]),yt(["PoiAll"]));function Qe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ke,to={exports:{}};(Ke=to).exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ke.exports.__esModule=!0,Ke.exports.default=Ke.exports;var eo=Qe(to.exports),oo={exports:{}},no={exports:{}},ro={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(ro);var io=Qe(ro.exports),ao={exports:{}};!function(t){var e=ro.exports.default;t.exports=function(t,o){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(ao),function(t){var e=ro.exports.default,o=ao.exports;t.exports=function(t){var n=o(t,"string");return"symbol"===e(n)?n:String(n)},t.exports.__esModule=!0,t.exports.default=t.exports}(no),function(t){var e=no.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(oo);var so=Qe(oo.exports),lo={exports:{}},co={exports:{}},uo={exports:{}};!function(t){function e(o){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(uo);var po=Qe(uo.exports);!function(t){var e=uo.exports;t.exports=function(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=e(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports}(co),function(t){var e=co.exports;function o(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=o=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=o=function(t,o,n){var r=e(t,o);if(r){var i=Object.getOwnPropertyDescriptor(r,o);return i.get?i.get.call(arguments.length<3?t:n):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports),o.apply(this,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}(lo);var ho=Qe(lo.exports),fo={exports:{}},vo={exports:{}};!function(t){function e(o,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(o,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(vo),function(t){var e=vo.exports;t.exports=function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports}(fo);var go=Qe(fo.exports),mo={exports:{}},yo={exports:{}};!function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}(yo),function(t){var e=ro.exports.default,o=yo.exports;t.exports=function(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(mo);var xo,bo,wo=Qe(mo.exports);function ko(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":io(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}xo=window,bo={},function t(e,o,n,r){var i=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),a="function"==typeof Path2D&&"function"==typeof DOMMatrix,s=function(){if(!e.OffscreenCanvas)return!1;var t=new OffscreenCanvas(1,1),o=t.getContext("2d");o.fillRect(0,0,1,1);var n=t.transferToImageBitmap();try{o.createPattern(n,"no-repeat")}catch(t){return!1}return!0}();function l(){}function c(t){var n=o.exports.Promise,r=void 0!==n?n:e.Promise;return"function"==typeof r?new r(t):(t(l,l),null)}var d,u,p,h,f,v,g,m,y,x,b,w=(d=s,u=new Map,{transform:function(t){if(d)return t;if(u.has(t))return u.get(t);var e=new OffscreenCanvas(t.width,t.height);return e.getContext("2d").drawImage(t,0,0),u.set(t,e),e},clear:function(){u.clear()}}),k=(f=Math.floor(1e3/60),v={},g=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(p=function(t){var e=Math.random();return v[e]=requestAnimationFrame((function o(n){g===n||g+f-1<n?(g=n,delete v[e],t()):v[e]=requestAnimationFrame(o)})),e},h=function(t){v[t]&&cancelAnimationFrame(v[t])}):(p=function(t){return setTimeout(t,f)},h=function(t){return clearTimeout(t)}),{frame:p,cancel:h}),S=(x={},function(){if(m)return m;if(!n&&i){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{m=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return void 0!==("undefined"==typeof console?"undefined":io(console))&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",t),null}!function(t){function e(e,o){t.postMessage({options:e||{},callback:o})}t.init=function(e){var o=e.transferControlToOffscreen();t.postMessage({canvas:o},[o])},t.fire=function(o,n,r){if(y)return e(o,null),y;var i=Math.random().toString(36).slice(2);return y=c((function(n){function a(e){e.data.callback===i&&(delete x[i],t.removeEventListener("message",a),y=null,w.clear(),r(),n())}t.addEventListener("message",a),e(o,i),x[i]=a.bind(null,{data:{callback:i}})}))},t.reset=function(){for(var e in t.postMessage({reset:!0}),x)x[e](),delete x[e]}}(m)}return m}),C={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function M(t,e,o){return function(t,e){return e?e(t):t}(t&&null!=t[e]?t[e]:C[e],o)}function _(t){return t<0?0:Math.floor(t)}function O(t){return parseInt(t,16)}function I(t){return t.map(L)}function L(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:O(e.substring(0,2)),g:O(e.substring(2,4)),b:O(e.substring(4,6))}}function E(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function z(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function B(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.x+10*e.scalar,e.wobbleY=e.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);var o=e.tick++/e.totalTicks,n=e.x+e.random*e.tiltCos,r=e.y+e.random*e.tiltSin,i=e.wobbleX+e.random*e.tiltCos,s=e.wobbleY+e.random*e.tiltSin;if(t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-o)+")",t.beginPath(),a&&"path"===e.shape.type&&"string"==typeof e.shape.path&&Array.isArray(e.shape.matrix))t.fill(function(t,e,o,n,r,i,a){var s=new Path2D(t),l=new Path2D;l.addPath(s,new DOMMatrix(e));var c=new Path2D;return c.addPath(l,new DOMMatrix([Math.cos(a)*r,Math.sin(a)*r,-Math.sin(a)*i,Math.cos(a)*i,o,n])),c}(e.shape.path,e.shape.matrix,e.x,e.y,.1*Math.abs(i-n),.1*Math.abs(s-r),Math.PI/10*e.wobble));else if("bitmap"===e.shape.type){var l=Math.PI/10*e.wobble,c=.1*Math.abs(i-n),d=.1*Math.abs(s-r),u=e.shape.bitmap.width*e.scalar,p=e.shape.bitmap.height*e.scalar,h=new DOMMatrix([Math.cos(l)*c,Math.sin(l)*c,-Math.sin(l)*d,Math.cos(l)*d,e.x,e.y]);h.multiplySelf(new DOMMatrix(e.shape.matrix));var f=t.createPattern(w.transform(e.shape.bitmap),"no-repeat");f.setTransform(h),t.globalAlpha=1-o,t.fillStyle=f,t.fillRect(e.x-u/2,e.y-p/2,u,p),t.globalAlpha=1}else if("circle"===e.shape)t.ellipse?t.ellipse(e.x,e.y,Math.abs(i-n)*e.ovalScalar,Math.abs(s-r)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function(t,e,o,n,r,i,a,s){t.save(),t.translate(e,o),t.rotate(i),t.scale(n,r),t.arc(0,0,1,0,s,void 0),t.restore()}(t,e.x,e.y,Math.abs(i-n)*e.ovalScalar,Math.abs(s-r)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI);else if("star"===e.shape)for(var v=Math.PI/2*3,g=4*e.scalar,m=8*e.scalar,y=e.x,x=e.y,b=5,k=Math.PI/b;b--;)y=e.x+Math.cos(v)*m,x=e.y+Math.sin(v)*m,t.lineTo(y,x),v+=k,y=e.x+Math.cos(v)*g,x=e.y+Math.sin(v)*g,t.lineTo(y,x),v+=k;else t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(r)),t.lineTo(Math.floor(i),Math.floor(s)),t.lineTo(Math.floor(n),Math.floor(e.wobbleY));return t.closePath(),t.fill(),e.tick<e.totalTicks}function A(t,o){var a,s=!t,l=!!M(o||{},"resize"),d=!1,u=M(o,"disableForReducedMotion",Boolean),p=i&&M(o||{},"useWorker")?S():null,h=s?E:z,f=!(!t||!p||!t.__confetti_initialized),v="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function g(e,o,i){for(var s,l,d,u,p=M(e,"particleCount",_),f=M(e,"angle",Number),v=M(e,"spread",Number),g=M(e,"startVelocity",Number),m=M(e,"decay",Number),y=M(e,"gravity",Number),x=M(e,"drift",Number),b=M(e,"colors",I),S=M(e,"ticks",Number),C=M(e,"shapes"),O=M(e,"scalar"),L=!!M(e,"flat"),E=function(t){var e=M(t,"origin",Object);return e.x=M(e,"x",Number),e.y=M(e,"y",Number),e}(e),z=p,A=[],P=t.width*E.x,j=t.height*E.y;z--;)A.push((l=(s={x:P,y:j,angle:f,spread:v,startVelocity:g,color:b[z%b.length],shape:C[(u=C.length,Math.floor(Math.random()*(u-0))+0)],ticks:S,decay:m,gravity:y,drift:x,scalar:O,flat:L}).angle*(Math.PI/180),d=s.spread*(Math.PI/180),{x:s.x,y:s.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*s.startVelocity+Math.random()*s.startVelocity,angle2D:-l+(.5*d-Math.random()*d),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:s.color,shape:s.shape,tick:0,totalTicks:s.ticks,decay:s.decay,drift:s.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*s.gravity,ovalScalar:.6,scalar:s.scalar,flat:s.flat}));return a?a.addFettis(A):(a=function(t,e,o,i,a){var s,l,d=e.slice(),u=t.getContext("2d"),p=c((function(e){function c(){s=l=null,u.clearRect(0,0,i.width,i.height),w.clear(),a(),e()}s=k.frame((function e(){!n||i.width===r.width&&i.height===r.height||(i.width=t.width=r.width,i.height=t.height=r.height),i.width||i.height||(o(t),i.width=t.width,i.height=t.height),u.clearRect(0,0,i.width,i.height),(d=d.filter((function(t){return B(u,t)}))).length?s=k.frame(e):c()})),l=c}));return{addFettis:function(t){return d=d.concat(t),p},canvas:t,promise:p,reset:function(){s&&k.cancel(s),l&&l()}}}(t,A,h,o,i),a.promise)}function m(o){var n=u||M(o,"disableForReducedMotion",Boolean),r=M(o,"zIndex",Number);if(n&&v)return c((function(t){t()}));s&&a?t=a.canvas:s&&!t&&(t=function(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}(r),document.body.appendChild(t)),l&&!f&&h(t);var i={width:t.width,height:t.height};function m(){if(p){var e={getBoundingClientRect:function(){if(!s)return t.getBoundingClientRect()}};return h(e),void p.postMessage({resize:{width:e.width,height:e.height}})}i.width=i.height=null}function y(){a=null,l&&(d=!1,e.removeEventListener("resize",m)),s&&t&&(document.body.removeChild(t),t=null,f=!1)}return p&&!f&&p.init(t),f=!0,p&&(t.__confetti_initialized=!0),l&&!d&&(d=!0,e.addEventListener("resize",m,!1)),p?p.fire(o,i,y):g(o,i,y)}return m.reset=function(){p&&p.reset(),a&&a.reset()},m}function P(){return b||(b=A(null,{useWorker:!0,resize:!0})),b}o.exports=function(){return P().apply(this,arguments)},o.exports.reset=function(){P().reset()},o.exports.create=A,o.exports.shapeFromPath=function(t){if(!a)throw new Error("path confetti are not supported in this browser");var e,o;"string"==typeof t?e=t:(e=t.path,o=t.matrix);var n=new Path2D(e),r=document.createElement("canvas").getContext("2d");if(!o){for(var i,s,l=1e3,c=l,d=l,u=0,p=0,h=0;h<l;h+=2)for(var f=0;f<l;f+=2)r.isPointInPath(n,h,f,"nonzero")&&(c=Math.min(c,h),d=Math.min(d,f),u=Math.max(u,h),p=Math.max(p,f));i=u-c,s=p-d;var v=Math.min(10/i,10/s);o=[v,0,0,v,-Math.round(i/2+c)*v,-Math.round(s/2+d)*v]}return{type:"path",path:e,matrix:o}},o.exports.shapeFromText=function(t){var e,o=1,n="#000000",r='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof t?e=t:(e=t.text,o="scalar"in t?t.scalar:o,r="fontFamily"in t?t.fontFamily:r,n="color"in t?t.color:n);var i=10*o,a=i+"px "+r,s=new OffscreenCanvas(i,i),l=s.getContext("2d");l.font=a;var c=l.measureText(e),d=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),u=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),p=c.actualBoundingBoxLeft+2,h=c.actualBoundingBoxAscent+2;d+=4,u+=4,(l=(s=new OffscreenCanvas(d,u)).getContext("2d")).font=a,l.fillStyle=n,l.fillText(e,p,h);var f=1/o;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[f,0,0,f,-d*f/2,-u*f/2]}}}(function(){return void 0!==xo?xo:"undefined"!=typeof self?self:this||{}}(),bo,!1),xo.confetti=bo.exports;var So=function(){go(e,n);var t=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var o,n=po(t);if(e){var r=po(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return wo(this,o)}}(e);function e(){var o;return eo(this,e),(o=t.call(this)).defaults={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,origin:{x:.5,y:.5},shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],scalar:1},o.zindex=100,o}return so(e,[{key:"connectedCallback",value:function(){ho(po(e.prototype),"connectedCallback",this).call(this),this.load()}},{key:"load",value:function(){confetti({particleCount:150,spread:90,ticks:130,scalar:1.3,zIndex:this.zindex,origin:{y:.35}})}}]),e}();ko([a],So.prototype,"game",void 0),ko([e({converter:s})],So.prototype,"zindex",void 0),So=ko([o({name:"g-confetti",shadowOptions:{mode:"closed"}})],So);var Co={init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};confetti(Object.assign({particleCount:200,spread:70,zIndex:3e3,origin:{y:.4}},t))}};function Mo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}window.Effects=window.Effects||{},window.Effects.confetti=Co;var _o,Oo={exports:{}};(_o=Oo).exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_o.exports.__esModule=!0,_o.exports.default=_o.exports;var Io=Mo(Oo.exports),Lo={exports:{}},Eo={exports:{}},zo={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(zo);var Bo=Mo(zo.exports),Ao={exports:{}};!function(t){var e=zo.exports.default;t.exports=function(t,o){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Ao),function(t){var e=zo.exports.default,o=Ao.exports;t.exports=function(t){var n=o(t,"string");return"symbol"==e(n)?n:n+""},t.exports.__esModule=!0,t.exports.default=t.exports}(Eo),function(t){var e=Eo.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(Lo);var Po=Mo(Lo.exports),jo={exports:{}},To={exports:{}};!function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}(To),function(t){var e=zo.exports.default,o=To.exports;t.exports=function(t,n){if(n&&("object"==e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(jo);var Do=Mo(jo.exports),Ro={exports:{}};!function(t){function e(o){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Ro);var Wo=Mo(Ro.exports),Fo={exports:{}},No={exports:{}};!function(t){var e=Ro.exports;t.exports=function(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=e(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports}(No),function(t){var e=No.exports;function o(){return t.exports=o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,o,n){var r=e(t,o);if(r){var i=Object.getOwnPropertyDescriptor(r,o);return i.get?i.get.call(arguments.length<3?t:n):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports,o.apply(null,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}(Fo);var $o=Mo(Fo.exports),Ho={exports:{}},Vo={exports:{}};!function(t){function e(o,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(o,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Vo),function(t){var e=Vo.exports;t.exports=function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports}(Ho);var Yo=Mo(Ho.exports),Go={exports:{}};!function(t){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports}(Go);var Uo,Xo=Mo(Go.exports);function Zo(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Bo(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}"function"==typeof SuppressedError&&SuppressedError;var Jo=t(Uo||(Uo=Xo(["\n.LightWrap {position:fixed;width:500vw;height:500vw;top:50%;left:50%;transform: translate(-50%, -50%);filter: blur(6px);}\n:host([dir='top']) .LightWrap{top:0;}\n:host([dir='topleft']) .LightWrap{top:0;left:0;}\n:host([dir='topright']) .LightWrap{top:0;left:100%;}\n:host([dir='bottom']) .LightWrap{top:100%;}\n:host([dir='bottomleft']) .LightWrap{top:100%;left:0;}\n:host([dir='bottomright']) .LightWrap{top:100%;left:100%;}\n:host([dir='left']) .LightWrap{left:0;}\n:host([dir='right']) .LightWrap{left:100%;}\n.LightWrap .Circle {position:absolute;inset:0;border-radius:50%;transform:translateZ(0);-webkit-transform:translateZ(0);}\n.LightWrap .Circle1 {\n background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0%,var(--color) 1%,transparent 6%);\n -webkit-animation: 13s linear rotate infinite reverse;\n animation: 13s linear rotate infinite reverse;\n}\n.LightWrap .Circle2 {\n background:repeating-conic-gradient(from 19deg at 50% 50%,transparent 0%, var(--color) 1.2%,var(--color),transparent 4.8%,transparent 7.6%);\n -webkit-animation: 9s linear -2s rotate infinite;\n animation: 9s linear -2s rotate infinite;\n}\n.LightWrap .Circle3 {\n background:repeating-conic-gradient(from 37deg at 50% 50%,transparent 0%,var(--color) 4%,transparent 7.9%,transparent 12%);\n -webkit-animation: 17s linear rotate infinite reverse;\n animation: 17s linear rotate infinite reverse;\n}\n.LightWrap .Circle4 {\n background:repeating-conic-gradient(from 103deg at 50% 50%,transparent 0%,var(--color)) 5%,var(--color) 7%,transparent 12%);\n -webkit-animation:7s linear rotate infinite;\n animation:7s linear rotate infinite;\n}\n@-webkit-keyframes rotate{from{transform:rotate(0deg);}to{transform:rotate(359deg);}}\n@keyframes rotate{from{transform:rotate(0deg);}to{transform:rotate(359deg);}}\n"]))),qo={exports:{}},Qo={exports:{}},Ko={exports:{}};!function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=Array(e);o<e;o++)n[o]=t[o];return n},t.exports.__esModule=!0,t.exports.default=t.exports}(Ko),function(t){var e=Ko.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Qo);var tn={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(tn);var en={exports:{}};!function(t){var e=Ko.exports;t.exports=function(t,o){if(t){if("string"==typeof t)return e(t,o);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,o):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(en);var on={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(on),function(t){var e=Qo.exports,o=tn.exports,n=en.exports,r=on.exports;t.exports=function(t){return e(t)||o(t)||n(t)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}(qo);var nn=Mo(qo.exports),rn={exports:{}},an={exports:{}};!function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports}(an);var sn={exports:{}};!function(t){t.exports=function(t,e){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(t)).next,0===e){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports}(sn);var ln={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(ln),function(t){var e=an.exports,o=sn.exports,n=en.exports,r=ln.exports;t.exports=function(t,i){return e(t)||o(t,i)||n(t,i)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}(rn);var cn,dn=Mo(rn.exports),un=Math.min,pn=Math.max,hn=Math.floor,fn=Math.round;function vn(t,e,o){e/=100,o/=100;var n=hn(t=t/360*6),r=t-n,i=o*(1-e),a=o*(1-r*e),s=o*(1-(1-r)*e),l=n%6;return[255*[o,a,i,i,s,o][l],255*[s,o,o,a,i,i][l],255*[i,i,s,o,o,a][l]]}function gn(t,e,o){var n,r,i=un(t/=255,e/=255,o/=255),a=pn(t,e,o),s=a-i;if(0===s)n=r=0;else{r=s/a;var l=((a-t)/6+s/2)/s,c=((a-e)/6+s/2)/s,d=((a-o)/6+s/2)/s;t===a?n=d-c:e===a?n=1/3+l-d:o===a&&(n=2/3+c-l),n<0?n+=1:n>1&&(n-=1)}return[360*n,100*r,100*a]}function mn(t,e,o,n){e/=100,o/=100;var r=255*(1-un(1,(t/=100)*(1-(n/=100))+n)),i=255*(1-un(1,e*(1-n)+n)),a=255*(1-un(1,o*(1-n)+n));return nn(gn(r,i,a))}function yn(t,e,o){return e/=100,[t,(o/=100)+(e*=o<.5?o:1-o)?2*e/(o+e)*100:0,100*(o+e)]}function xn(t){return gn.apply(void 0,nn(t.match(/.{2}/g).map((function(t){return parseInt(t,16)}))))}function bn(){var t=function(t,e){return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e(~o?t.map((function(t){return Number(t.toFixed(o))})):t)}},e={h:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s:arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,v:arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a:arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,toHSVA:function(){var o=[e.h,e.s,e.v,e.a];return o.toString=t(o,(function(t){return"hsva(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toHSLA:function(){var o=[].concat(nn(function(t,e,o){var n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"hsla(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toRGBA:function(){var o=[].concat(nn(vn(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"rgba(".concat(t[0],", ").concat(t[1],", ").concat(t[2],", ").concat(e.a,")")})),o},toCMYK:function(){var o=function(t,e,o){var n,r=vn(t,e,o),i=r[0]/255,a=r[1]/255,s=r[2]/255;return[100*(1===(n=un(1-i,1-a,1-s))?0:(1-i-n)/(1-n)),100*(1===n?0:(1-a-n)/(1-n)),100*(1===n?0:(1-s-n)/(1-n)),100*n]}(e.h,e.s,e.v);return o.toString=t(o,(function(t){return"cmyk(".concat(t[0],"%, ").concat(t[1],"%, ").concat(t[2],"%, ").concat(t[3],"%)")})),o},toHEXA:function(){var t=function(t,e,o){return vn(t,e,o).map((function(t){return fn(t).toString(16).padStart(2,"0")}))}(e.h,e.s,e.v),o=e.a>=1?"":Number((255*e.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return o&&t.push(o),t.toString=function(){return"#".concat(t.join("").toUpperCase())},t},clone:function(){return bn(e.h,e.s,e.v,e.a)}};return e}function wn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(wn=function(){return!!t})()}var kn,Sn,Cn,Mn,_n,On,In=r(cn||(cn=Xo(['\n<section class="LightWrap">\n <div class="Circle Circle1"></div>\n <div class="Circle Circle2"></div>\n <div class="Circle Circle3"></div>\n <div class="Circle Circle4"></div>\n</section>\n']))),Ln=function(){function t(){var e;return Io(this,t),(e=function(t,e,o){return e=Wo(e),Do(t,wn()?Reflect.construct(e,o||[],Wo(t).constructor):e.apply(t,o))}(this,t)).color="#faf014",e}return Yo(t,n),Po(t,[{key:"colorChanged",value:function(t,e){var o,n;e&&this.style.setProperty("--color",(o=function(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000000";var e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000000"===e.fillStyle?null:e.fillStyle}(t):t;var e,o={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},n=function(t){return t.map((function(t){return/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0}))};t:for(var r in o)if(e=o[r].exec(t))switch(r){case"cmyk":var i=n(e),a=dn(i,5),s=a[1],l=a[2],c=a[3],d=a[4];if(s>100||l>100||c>100||d>100)break t;return{values:mn(s,l,c,d),type:r};case"rgba":var u=n(e),p=dn(u,7),h=p[3],f=p[4],v=p[5],g=p[6];if(h>255||f>255||v>255||g<0||g>1)break t;return{values:[].concat(nn(gn(h,f,v)),[g]),a:g,type:r};case"hexa":var m=dn(e,2)[1];4!==m.length&&3!==m.length||(m=m.split("").map((function(t){return t+t})).join(""));var y=m.substring(0,6),x=m.substring(6);return x=x?parseInt(x,16)/255:void 0,{values:[].concat(nn(xn(y)),[x]),a:x,type:r};case"hsla":var b=n(e),w=dn(b,7),k=w[3],S=w[4],C=w[5],M=w[6];if(k>360||S>100||C>100||M<0||M>1)break t;return{values:[].concat(nn(yn(k,S,C)),[M]),a:M,type:r};case"hsva":var _=n(e),O=dn(_,7),I=O[3],L=O[4],E=O[5],z=O[6];if(I>360||L>100||E>100||z<0||z>1)break t;return{values:[I,L,E,z],a:z,type:r}}return{values:null,type:null}}(e),n=bn.apply(void 0,nn(o.values)).toRGBA(),"rgba(".concat(n[0].toFixed(0),",").concat(n[1].toFixed(0),",").concat(n[2].toFixed(0),",").concat(.2*Number(n[3].toFixed(2)),")")))}},{key:"connectedCallback",value:function(){var e,o,n;(e=t,o=this,n=$o(Wo(1&3?e.prototype:e),"connectedCallback",o),function(t){return n.apply(o,t)})([])}}])}();function En(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(En=function(){return!!t})()}Zo([e],Ln.prototype,"dir",void 0),Zo([e],Ln.prototype,"color",void 0),Ln=Zo([o({name:"h-spotlight",template:In,styles:Jo,shadowOptions:{mode:"closed"}})],Ln);var zn,Bn=r(kn||(kn=z(['\n <div class="PrizeWrap">\n <div class="VideoWrap">\n <div class="Conten">\n <div class="Bg"></div>\n <h-spotlight color="#000"></h-spotlight>\n <div class="Img zoomInUp">\n <span>\n ',"\n </span>\n \n <span>\n ","\n </span>\n \n </div>\n </div>\n </div>\n\n <div ",' class="Content transit">\n <div class="Title">\n <span>\n ',"\n </span>\n <span>\n ",'\n </span> \n </div>\n <div class="Button">\n <img @click="','" src="','/download/img/collect/button.png"/>\n </div>\n </div>\n </div>\n <div class="Cache">\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n </div>\n'])),c((function(t){return 1==t.type}),r(Sn||(Sn=z(['<img src="','" class="Card" draggable="false"/>'])),(function(t){return t.imgSrc}))),c((function(t){return 2==t.type}),r(Cn||(Cn=z(['<div class="CouponWrap">\n <img class="Coupon" src="','"/>\n <div class="Info">\n <p style="color:#FF3B0A;font-size:9.6vw;font-weight:600;line-height:9.6vw">','</p>\n <p style="color:#EB330E;font-size:3.733vw;font-weight:600;margin:2vw 0 7vw">',"</p>\n </div>\n </div>"])),St.path+St.coupon,(function(t){return t.prizeQuota}),(function(t){return t.prizeName}))),i("contentWrap"),c((function(t){return 1==t.type}),r(Mn||(Mn=z(['<img src="',"/download/img/collect/card/title",'.png"/>\n <p class="Subtitle">',"</p>"])),St.path,(function(t){return t.index}),(function(t){return t.number>0?r(_n||(_n=z(["再开","个不同盲盒即可合成"])),(function(t){return t.number})):"恭喜盲盒已集齐,可以合成隐藏款啦~"}))),c((function(t){return 2==t.type}),r(On||(On=z(['<img src="','/download/img/collect/title02.png"/><p class="Subtitle">',"</p>"])),St.path,(function(t){return t.prizeQuota+t.prizeName}))),(function(t){return t.accept()}),St.path,St.path+St.coupon,St.path+St.card1,St.path+St.card2,St.path+St.card3,St.path+St.card4,St.path+St.card5,St.path+St.card6,St.path+St.title1,St.path+St.title2,St.path+St.title3,St.path+St.title4,St.path+St.title5,St.path+St.title6),An=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,En()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.prizeName="",e.prizeQuota="",e.isClick=!1,e.imgSrc="",e.type=1,e.index=6,e.number=3,bt.case.install([ve,So,Ln]),e}return L(t,n),y(t,[{key:"indexChanged",value:function(t,e){var o=this;setTimeout((function(){o.imgSrc=St.path+St["card"+e]}),10)}},{key:"showChanged",value:function(t,e){null===e||!1===e?Ie.instance.remove(this.contentWrap,"show"):this.init()}},{key:"connectedCallback",value:function(){!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([])}},{key:"accept",value:function(){this.isClick&&(this.close(),this.$emit("change","accept"))}},{key:"init",value:function(){var t=this;setTimeout((function(){Ie.instance.add(t.contentWrap,"show")}),1e3),setTimeout((function(){t.isClick=!0}),2e3),window.confetti({particleCount:150,spread:90,ticks:130,scalar:1.3,zIndex:3200,origin:{y:.35}})}},{key:"close",value:function(){this.show=!1}},{key:"update",value:function(t){t&&2==this.type&&(this.prizeName=t.prizeName,this.prizeQuota=t.prizeQuota)}}])}();B([a],An.prototype,"Overlay",void 0),B([a],An.prototype,"video",void 0),B([a],An.prototype,"contentWrap",void 0),B([a],An.prototype,"prizeName",void 0),B([a],An.prototype,"prizeQuota",void 0),B([a],An.prototype,"imgSrc",void 0),B([e({converter:s})],An.prototype,"type",void 0),B([e({converter:s})],An.prototype,"index",void 0),B([e({converter:s})],An.prototype,"number",void 0),B([e({mode:"boolean"})],An.prototype,"show",void 0),B([Se],An.prototype,"showChanged",null),B([Be(300)],An.prototype,"accept",null),An=B([o({name:"g-collect-prize",template:Bn,styles:qe,shadowOptions:{mode:"closed"}})],An);var Pn,jn,Tn,Dn,Rn=t(zn||(zn=z(["\n:host{\ndisplay:inline-block;\nwidth:60vw;\nheight:55vw;\n}\n.SwipeWrap {\nposition: relative;\nwidth:60vw;\nheight:55vw;\nperspective: 500px;\ntransform-style: preserve-3d;\n}\n.CardList{\n position: absolute;\nz-index:99;\nwidth:60vw;\nheight:62vw;\n}\n.CardList svg,\n.CardContainer svg{\n position: absolute;\n z-index:110;\n top:0;\n left:0;\n display: none;\n}\n.CardContainer.active svg{\n display: block;\n}\n.CardContainer {\nposition: absolute;\nz-index:99;\nwidth:60vw;\ntransform: \n rotateY(calc(var(--offset) * 50deg)) \n scaleY(calc(1 + var(--abs-offset) * -0.4))\n translateZ(calc(var(--abs-offset) * -30rem))\n translateX(calc(var(--direction) * -5rem));\nfilter: blur(calc(var(--abs-offset) * 1rem));\ntransition: all 0.3s ease-out;\n}\n.CardContainer img{\n width:100%;\n}\nimg {\n -webkit-touch-callout :none;\n user-select:none;\n}\n.Nav {\n position: absolute;\n display: none;\n align-items: center;\n justify-content: center;\n top: 35%;\n z-index: 299;\n cursor: pointer;\n user-select: none;\n background: unset;\n border: unset;\n width:9.666666666vw;\n height:9.666666666vw;\n}\n.Nav img {\n width:100%;height:100%;\n}\n.Nav.Left {\n left: 0;\n transform: translateX(-100%) translatey(-50%);\n}\n.Nav.Right {\n right: 0;\n transform: translateX(100%) translatey(-50%);\n}\n:host(.isArrow) .Nav{display: flex;}\n"])));function Wn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Wn=function(){return!!t})()}var Fn,Nn=r(Pn||(Pn=z(['\n<section class="SwipeWrap">\n <span>\n ',"\n </span>\n <span ",">\n ","\n </span>\n <span>\n ","\n </span>\n</section>\n"])),c((function(t){return t.active>0}),r(jn||(jn=z(['<img class="Nav Left" @click="','" src="','/download/img/collect/arrowL.png" draggable="false"/>'])),(function(t){return t.setActive("l")}),St.path)),i("listItems"),l((function(t){return t.cardItem}),r(Tn||(Tn=z(['<div class="CardContainer ','" style="','">\n <img src="','" draggable="false"/>\n </div>'])),(function(t,e){return e.parent.classFn(e.index)}),(function(t,e){return e.parent.styleFn(e.index)}),(function(t){return t.total>0?t.card:t.grey})),{positioning:!0}),c((function(t){return t.active<t.cardItem.length-1}),r(Dn||(Dn=z(['<img class="Nav Right" @click="','" src="','/download/img/collect/arrowR.png" draggable="false"/>'])),(function(t){return t.setActive("r")}),St.path))),$n=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,Wn()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/card/card0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/card/card01-1.png")}})),e.MAX_VISIBILITY=1,e.active=0,e.arrow=!0,e}return L(t,n),y(t,[{key:"arrowChanged",value:function(t,e){null===e||!1===e||this.isComposed?Ie.instance.remove(this,"isArrow"):Ie.instance.add(this,"isArrow")}},{key:"connectedCallback",value:function(){var e,o,n=this;!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([]),(e="".concat(St.path,"/download/cdn/lottie.min.js"),o="lottie",new Promise((function(t,n){if(void 0!==e){var r=new xt,i=e.substring(e.lastIndexOf(".")+1),a=document.getElementsByTagName("head")[0];if(document.querySelectorAll('script[src*="'+e+'"]').length<=0){if("js"===i){var s=document.createElement("script");s.src=e,s.type="text/javascript",s.async=!0,a.appendChild(s),s.onload=s.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||t(!0)}}else if("css"===i){var l=document.createElement("link");l.href=e,l.rel="stylesheet",l.type="text/css",a.appendChild(l)}}else r.init({front:String(o),callback:function(){t(!0)}})}else n(!1)}))).then((function(){n.initLottie()}))}},{key:"initLottie",value:function(){this.childs=this.listItems.querySelectorAll(".CardContainer"),Array.from(this.childs).forEach((function(t,e){t.lottie=window.lottie.loadAnimation({container:t,renderer:"svg",loop:!1,autoplay:!1,path:"".concat(St.path,"/download/img/collect/card/card0").concat(e+1,".json")})}))}},{key:"setActive",value:function(t){"l"==t?--this.active:++this.active}},{key:"classFn",value:function(t){return t==this.active&&this.playlotie(t,!1),t==this.active?"active":""}},{key:"playlotie",value:function(t,e){var o=this.childs||this.listItems.querySelectorAll(".CardContainer");o.length>0&&o[t].lottie&&this.cardItem[t].total>0&&setTimeout((function(){o[t].lottie.goToAndStop(0,!0),o[t].lottie.play()}),e?50:0)}},{key:"styleFn",value:function(t){var e="--active:".concat(t===this.active?1:0,";");return e+="--offset:".concat((this.active-t)/3,";"),e+="--direction:".concat(Math.sign(this.active-t),";"),e+="--abs-offset:".concat(Math.abs(this.active-t)/3,";"),e+="pointer-events:".concat(this.active===t?"auto":"none",";"),e+="opacity:".concat(Math.abs(this.active-t)>=this.MAX_VISIBILITY?"0":"1",";"),e+="display:".concat(Math.abs(this.active-t)>this.MAX_VISIBILITY?"none":"block",";")}},{key:"revert",value:function(){this.isComposed=!1,this.arrow=!0,this.active=0,this.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/card/card0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/card/card01-1.png")}}))}},{key:"update",value:function(t){if(t&&t.isRevert)this.revert();else if(t&&t.cardList){for(var e=Array.from({length:6}),o=0;o<t.cardList.length;o++){var n=t.cardList[o];e[n.cardType-1]={total:n.cardNum,card:"".concat(St.path,"/download/img/collect/card/card0").concat(n.cardType,".png"),grey:"".concat(St.path,"/download/img/collect/card/card01-1.png")}}this.cardItem=e,this.playlotie(0,!0),t.isComposed&&(this.arrow=!1,this.isComposed=t.isComposed)}}}])}();B([a],$n.prototype,"listItems",void 0),B([a],$n.prototype,"cardItem",void 0),B([a],$n.prototype,"isComposed",void 0),B([a],$n.prototype,"childs",void 0),B([e({converter:s})],$n.prototype,"active",void 0),B([e({mode:"boolean"})],$n.prototype,"arrow",void 0),B([(Fn=300,function(t,e,o){var n=o.value;return o.value=function(){var t=arguments,e=this;setTimeout((function(){return n.apply(e,t)}),Fn)},o})],$n.prototype,"initLottie",null),$n=B([o({name:"g-collect-swipe",template:Nn,styles:Rn,shadowOptions:{mode:"closed"}})],$n);export{je as HiCollectConflate,Je as HiCollectList,An as HiCollectPrize,$n as HiCollectSwipe};
|
|
378
|
+
`;let He=class extends De{pathChanged(t,e){e&&this.loadSvga()}connectedCallback(){super.connectedCallback(),this.loadSvga()}loadSvga(){return function(t,e,o,n){return new(o||(o=Promise))((function(r,i){function a(t){try{l(n.next(t))}catch(t){i(t)}}function s(t){try{l(n.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(a,s)}l((n=n.apply(t,e||[])).next())}))}(this,void 0,void 0,(function*(){var t;yield(t=atob("aHR0cHM6Ly96anJzLmhhaWVyLm5ldA==")+"/download/cdn/svga.min.js",new Promise(((e,o)=>{if(void 0!==t){const o=new Re,n=t.substring(t.lastIndexOf(".")+1),r=document.getElementsByTagName("head")[0];if(document.querySelectorAll('script[src*="'+t+'"]').length<=0){if("js"===n){const o=document.createElement("script");o.src=t,o.type="text/javascript",r.appendChild(o),o.onload=o.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||e(!0)}}else if("css"===n){const e=document.createElement("link");e.href=t,e.rel="stylesheet",e.type="text/css",r.appendChild(e)}}else o.init({front:String("SVGA"),callback:()=>{e(!0)}})}else o(!1)})));let e=new SVGA.Player(this.SVGAPlayer);new SVGA.Parser(this.SVGAPlayer).load(this.path,(t=>{this.height=t.videoSize.height,this.width=t.videoSize.width,this.$emit("change",{height:t.videoSize.height,width:t.videoSize.width}),e.setVideoItem(t),e.startAnimation()}))}))}};var Ve,Ye,Ge;function Ue(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ue=function(){return!!t})()}Mt([a],He.prototype,"SVGAPlayer",void 0),Mt([e],He.prototype,"path",void 0),Mt([e({converter:s})],He.prototype,"width",void 0),Mt([e({converter:s})],He.prototype,"height",void 0),He=Mt([o({name:"h-svga",styles:Fe,template:$e})],He);var Xe,Ze=r(Ve||(Ve=z(['\n<section class="ListWrap">\n <div class="Synthesis">\n <span>\n ','\n </span>\n <img class="Img ','" src="','/download/img/collect/synthesis.png" />\n </div>\n <div class="CardBox">\n <span class="CardWrap">\n ',"\n </span>\n </div>\n</section>\n"])),c((function(t){return t.isVideo}),r(Ye||(Ye=z(['<div style="position:absolute; z-index:4; display: block;height: 100%;width: 100%;" @click="','"> <img class="Img" src="','/download/img/collect/synthesis.webp" /><img class="Tips" src="','/download/img/collect/tips.png" /></div>'])),(function(t){return t.SynthesisFn()}),St.path,St.path)),(function(t){return t.isVideo?"hide":""}),St.path,l((function(t){return t.cardItem}),r(Ge||(Ge=z(['<div class="Card">\n <img src="','"/></div>'])),(function(t){return t.total>0?t.card:t.grey})),{positioning:!0})),Je=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,Ue()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.isVideo=!0,e.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,"-1.png")}})),bt.case.install([He]),e}return L(t,n),y(t,[{key:"connectedCallback",value:function(){!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([])}},{key:"SynthesisFn",value:function(){this.$emit("change","synthesis")}},{key:"revert",value:function(){this.isVideo=!1,this.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/list/small0").concat(e+1,"-1.png")}}))}},{key:"update",value:function(t){if(t&&t.isRevert)this.revert();else if(t&&t.cardList){for(var e=Array.from({length:6}),o=0;o<t.cardList.length;o++){var n=t.cardList[o];e[n.cardType-1]={total:n.cardNum,card:"".concat(St.path,"/download/img/collect/list/small0").concat(n.cardType,".png"),grey:"".concat(St.path,"/download/img/collect/list/small0").concat(n.cardType,"-1.png")}}this.cardItem=e,this.isVideo=t.isCanCompose}}}])}();B([a],Je.prototype,"isVideo",void 0),B([a],Je.prototype,"cardItem",void 0),B([Be(300)],Je.prototype,"SynthesisFn",null),Je=B([o({name:"g-collect-list",template:Ze,styles:Ne,shadowOptions:{mode:"closed"}})],Je);var qe=t(Xe||(Xe=z(["\n","\n:host{text-align:center;display:none}\n:host([show]){display:block}\n.VideoWrap{position:absolute;display:flex;width:100vw;height:100vh;justify-content:center;align-items:center}\n.PrizeWrap {position:fixed;top:0;left:0;width:100vw;height:100vh;display:block;z-index:3100;background:rgba(0, 0, 0, 0.4);}\n.PrizeWrap .Content{position:relative; z-index:60;height:100%;\n padding-top: 20vw;text-align:center;","\n}\n.PrizeWrap .Title img{\n height:17.0666666666vw\n}\n.PrizeWrap .Subtitle{\nfont-size: 14px;font-weight: 400;line-height: 14px;\ncolor: #FFFFFF;\n}\n.PrizeWrap .Notes{\nposition:absolute;bottom:5vw;width:100%;\nfont-size: 12px;\ncolor: #FFF1D8;\nline-height: 18px;\nfont-weight: 400;\n}\n\n\n.Conten{position:fixed;top:0;left:0;width:100vw;height:100vh; z-index:2;display:block;}\n.Conten .Bg{position:fixed;top:0;left:0;width:100%;height:100%;\n background:url(","/download/img/collect/bg.png) no-repeat center;\n background-size: cover;\n}\n.Conten .Img{position: absolute; overflow:hidden;\nz-index:99;left:20vw;top:60vw; \nwidth:60vw;\nheight:70vw;}\n.Conten .Img span {display:block}\n.Conten .Light{position: absolute;top: 0;",'\n bottom: 0;width:100%; overflow:hidden;\n left: 0;z-index:30;\n border-radius:8vw;}\n.Conten .Light::after{\n content: "";\n background-color: #fff9;\n opacity: 0.6;\n top: -25%;\n bottom: 0;\n left: -100%;\n position: absolute;\n width: 13vw;\n height:150%;\n box-shadow: 0 0 10vmin 2.5vmin #fff;\n transform:rotateZ(145deg) translateZ(0);\n transition: all 05s ease;\n animation-duration: 0.5s;\n animation-delay: 1s;\n animation-name: Light\n}\n\n.Conten .Img .Card {width:100%;height:100%}\n@keyframes Light{\n to{\n left: 400px;\n transition: left 0.5s ease 0s;\n }\n}\n\n@keyframes zoomInUp {\n from {opacity: 0;transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.49)}\n 60% {opacity: 1;transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -20px, 0);animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.5)}\n}\n.zoomInUp {animation-duration: 1s;\n animation-fill-mode: both;animation-name: zoomInUp}\n\n.CouponWrap {position:relative;}\n.CouponWrap .Info{position:absolute;width:100%;top:14.4vw;left:0;z-index:20;text-align:center;}\n.VideoWrap .Bg,\n.CouponWrap .Bg{position:fixed;top:0;left:0;width:100%;height:100%;\n background:url(',"/download/img/collect/bg.png) no-repeat center;\n background-size: cover;\n}\n.Coupon{width:100%;height:70vw;position:relative;z-index:9;}\n\n.Button{position:absolute;width:100%;bottom:30vw;text-align:center;","}\n.Button img{height:20.26666666vw}\n\n.transit{display:none; ","}\n.show.transit{display:block;","}\n\n.Cache{display:none;position:absolute;bottom:-30px;left:-30px;z-index:-10}\n.Cache img{width:1px;height:1px;}\n\n\n@media screen and (max-height : 210vw) {\n .Button{bottom:27vw;}\n}\n@media screen and (max-height : 200vw) {\n .Button{bottom:25vw;}\n}\n@media screen and (max-height : 190vw) {\n .Button{bottom:22vw;}\n}\n@media screen and (max-height : 180vw) {\n .VideoWrap video{margin-top:10vw;}\n .Button{bottom:20vw;}\n}\n@media screen and (max-height : 170vw) {\n .VideoWrap video{margin-top:15vw;}\n .Button{bottom:15vw;}\n}\n@media screen and (min-width: 600px) {\n /* 折叠状态下的样式 */\n .PrizeWrap .Content {\n padding-top: 5vw;\n }\n .PrizeWrap .Title img{\n height:10.0666666666vw\n }\n .Conten .Img{\n top:25vw;\n }\n .Button{\n bottom:7vw;\n }\n .Button img{\n height:13.2vw\n }\n}\n"])),wt(),yt(["PoiNo"]),St.path,yt(["PoiNo"]),St.path,yt(["PoiAll"]),yt(["PoiNo"]),yt(["PoiAll"]));function Qe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ke,to={exports:{}};(Ke=to).exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ke.exports.__esModule=!0,Ke.exports.default=Ke.exports;var eo=Qe(to.exports),oo={exports:{}},no={exports:{}},ro={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(ro);var io=Qe(ro.exports),ao={exports:{}};!function(t){var e=ro.exports.default;t.exports=function(t,o){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(ao),function(t){var e=ro.exports.default,o=ao.exports;t.exports=function(t){var n=o(t,"string");return"symbol"===e(n)?n:String(n)},t.exports.__esModule=!0,t.exports.default=t.exports}(no),function(t){var e=no.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(oo);var so=Qe(oo.exports),lo={exports:{}},co={exports:{}},uo={exports:{}};!function(t){function e(o){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(uo);var po=Qe(uo.exports);!function(t){var e=uo.exports;t.exports=function(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=e(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports}(co),function(t){var e=co.exports;function o(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=o=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=o=function(t,o,n){var r=e(t,o);if(r){var i=Object.getOwnPropertyDescriptor(r,o);return i.get?i.get.call(arguments.length<3?t:n):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports),o.apply(this,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}(lo);var ho=Qe(lo.exports),fo={exports:{}},vo={exports:{}};!function(t){function e(o,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(o,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(vo),function(t){var e=vo.exports;t.exports=function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports}(fo);var go=Qe(fo.exports),mo={exports:{}},yo={exports:{}};!function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}(yo),function(t){var e=ro.exports.default,o=yo.exports;t.exports=function(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(mo);var xo,bo,wo=Qe(mo.exports);function ko(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":io(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}xo=window,bo={},function t(e,o,n,r){var i=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),a="function"==typeof Path2D&&"function"==typeof DOMMatrix,s=function(){if(!e.OffscreenCanvas)return!1;var t=new OffscreenCanvas(1,1),o=t.getContext("2d");o.fillRect(0,0,1,1);var n=t.transferToImageBitmap();try{o.createPattern(n,"no-repeat")}catch(t){return!1}return!0}();function l(){}function c(t){var n=o.exports.Promise,r=void 0!==n?n:e.Promise;return"function"==typeof r?new r(t):(t(l,l),null)}var d,u,p,h,f,v,g,m,y,x,b,w=(d=s,u=new Map,{transform:function(t){if(d)return t;if(u.has(t))return u.get(t);var e=new OffscreenCanvas(t.width,t.height);return e.getContext("2d").drawImage(t,0,0),u.set(t,e),e},clear:function(){u.clear()}}),k=(f=Math.floor(1e3/60),v={},g=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(p=function(t){var e=Math.random();return v[e]=requestAnimationFrame((function o(n){g===n||g+f-1<n?(g=n,delete v[e],t()):v[e]=requestAnimationFrame(o)})),e},h=function(t){v[t]&&cancelAnimationFrame(v[t])}):(p=function(t){return setTimeout(t,f)},h=function(t){return clearTimeout(t)}),{frame:p,cancel:h}),S=(x={},function(){if(m)return m;if(!n&&i){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{m=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return void 0!==("undefined"==typeof console?"undefined":io(console))&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",t),null}!function(t){function e(e,o){t.postMessage({options:e||{},callback:o})}t.init=function(e){var o=e.transferControlToOffscreen();t.postMessage({canvas:o},[o])},t.fire=function(o,n,r){if(y)return e(o,null),y;var i=Math.random().toString(36).slice(2);return y=c((function(n){function a(e){e.data.callback===i&&(delete x[i],t.removeEventListener("message",a),y=null,w.clear(),r(),n())}t.addEventListener("message",a),e(o,i),x[i]=a.bind(null,{data:{callback:i}})}))},t.reset=function(){for(var e in t.postMessage({reset:!0}),x)x[e](),delete x[e]}}(m)}return m}),C={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function M(t,e,o){return function(t,e){return e?e(t):t}(t&&null!=t[e]?t[e]:C[e],o)}function _(t){return t<0?0:Math.floor(t)}function O(t){return parseInt(t,16)}function I(t){return t.map(L)}function L(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:O(e.substring(0,2)),g:O(e.substring(2,4)),b:O(e.substring(4,6))}}function E(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function z(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function B(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.x+10*e.scalar,e.wobbleY=e.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);var o=e.tick++/e.totalTicks,n=e.x+e.random*e.tiltCos,r=e.y+e.random*e.tiltSin,i=e.wobbleX+e.random*e.tiltCos,s=e.wobbleY+e.random*e.tiltSin;if(t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-o)+")",t.beginPath(),a&&"path"===e.shape.type&&"string"==typeof e.shape.path&&Array.isArray(e.shape.matrix))t.fill(function(t,e,o,n,r,i,a){var s=new Path2D(t),l=new Path2D;l.addPath(s,new DOMMatrix(e));var c=new Path2D;return c.addPath(l,new DOMMatrix([Math.cos(a)*r,Math.sin(a)*r,-Math.sin(a)*i,Math.cos(a)*i,o,n])),c}(e.shape.path,e.shape.matrix,e.x,e.y,.1*Math.abs(i-n),.1*Math.abs(s-r),Math.PI/10*e.wobble));else if("bitmap"===e.shape.type){var l=Math.PI/10*e.wobble,c=.1*Math.abs(i-n),d=.1*Math.abs(s-r),u=e.shape.bitmap.width*e.scalar,p=e.shape.bitmap.height*e.scalar,h=new DOMMatrix([Math.cos(l)*c,Math.sin(l)*c,-Math.sin(l)*d,Math.cos(l)*d,e.x,e.y]);h.multiplySelf(new DOMMatrix(e.shape.matrix));var f=t.createPattern(w.transform(e.shape.bitmap),"no-repeat");f.setTransform(h),t.globalAlpha=1-o,t.fillStyle=f,t.fillRect(e.x-u/2,e.y-p/2,u,p),t.globalAlpha=1}else if("circle"===e.shape)t.ellipse?t.ellipse(e.x,e.y,Math.abs(i-n)*e.ovalScalar,Math.abs(s-r)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function(t,e,o,n,r,i,a,s){t.save(),t.translate(e,o),t.rotate(i),t.scale(n,r),t.arc(0,0,1,0,s,void 0),t.restore()}(t,e.x,e.y,Math.abs(i-n)*e.ovalScalar,Math.abs(s-r)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI);else if("star"===e.shape)for(var v=Math.PI/2*3,g=4*e.scalar,m=8*e.scalar,y=e.x,x=e.y,b=5,k=Math.PI/b;b--;)y=e.x+Math.cos(v)*m,x=e.y+Math.sin(v)*m,t.lineTo(y,x),v+=k,y=e.x+Math.cos(v)*g,x=e.y+Math.sin(v)*g,t.lineTo(y,x),v+=k;else t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(r)),t.lineTo(Math.floor(i),Math.floor(s)),t.lineTo(Math.floor(n),Math.floor(e.wobbleY));return t.closePath(),t.fill(),e.tick<e.totalTicks}function A(t,o){var a,s=!t,l=!!M(o||{},"resize"),d=!1,u=M(o,"disableForReducedMotion",Boolean),p=i&&M(o||{},"useWorker")?S():null,h=s?E:z,f=!(!t||!p||!t.__confetti_initialized),v="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function g(e,o,i){for(var s,l,d,u,p=M(e,"particleCount",_),f=M(e,"angle",Number),v=M(e,"spread",Number),g=M(e,"startVelocity",Number),m=M(e,"decay",Number),y=M(e,"gravity",Number),x=M(e,"drift",Number),b=M(e,"colors",I),S=M(e,"ticks",Number),C=M(e,"shapes"),O=M(e,"scalar"),L=!!M(e,"flat"),E=function(t){var e=M(t,"origin",Object);return e.x=M(e,"x",Number),e.y=M(e,"y",Number),e}(e),z=p,A=[],P=t.width*E.x,j=t.height*E.y;z--;)A.push((l=(s={x:P,y:j,angle:f,spread:v,startVelocity:g,color:b[z%b.length],shape:C[(u=C.length,Math.floor(Math.random()*(u-0))+0)],ticks:S,decay:m,gravity:y,drift:x,scalar:O,flat:L}).angle*(Math.PI/180),d=s.spread*(Math.PI/180),{x:s.x,y:s.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*s.startVelocity+Math.random()*s.startVelocity,angle2D:-l+(.5*d-Math.random()*d),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:s.color,shape:s.shape,tick:0,totalTicks:s.ticks,decay:s.decay,drift:s.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*s.gravity,ovalScalar:.6,scalar:s.scalar,flat:s.flat}));return a?a.addFettis(A):(a=function(t,e,o,i,a){var s,l,d=e.slice(),u=t.getContext("2d"),p=c((function(e){function c(){s=l=null,u.clearRect(0,0,i.width,i.height),w.clear(),a(),e()}s=k.frame((function e(){!n||i.width===r.width&&i.height===r.height||(i.width=t.width=r.width,i.height=t.height=r.height),i.width||i.height||(o(t),i.width=t.width,i.height=t.height),u.clearRect(0,0,i.width,i.height),(d=d.filter((function(t){return B(u,t)}))).length?s=k.frame(e):c()})),l=c}));return{addFettis:function(t){return d=d.concat(t),p},canvas:t,promise:p,reset:function(){s&&k.cancel(s),l&&l()}}}(t,A,h,o,i),a.promise)}function m(o){var n=u||M(o,"disableForReducedMotion",Boolean),r=M(o,"zIndex",Number);if(n&&v)return c((function(t){t()}));s&&a?t=a.canvas:s&&!t&&(t=function(t){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=t,e}(r),document.body.appendChild(t)),l&&!f&&h(t);var i={width:t.width,height:t.height};function m(){if(p){var e={getBoundingClientRect:function(){if(!s)return t.getBoundingClientRect()}};return h(e),void p.postMessage({resize:{width:e.width,height:e.height}})}i.width=i.height=null}function y(){a=null,l&&(d=!1,e.removeEventListener("resize",m)),s&&t&&(document.body.removeChild(t),t=null,f=!1)}return p&&!f&&p.init(t),f=!0,p&&(t.__confetti_initialized=!0),l&&!d&&(d=!0,e.addEventListener("resize",m,!1)),p?p.fire(o,i,y):g(o,i,y)}return m.reset=function(){p&&p.reset(),a&&a.reset()},m}function P(){return b||(b=A(null,{useWorker:!0,resize:!0})),b}o.exports=function(){return P().apply(this,arguments)},o.exports.reset=function(){P().reset()},o.exports.create=A,o.exports.shapeFromPath=function(t){if(!a)throw new Error("path confetti are not supported in this browser");var e,o;"string"==typeof t?e=t:(e=t.path,o=t.matrix);var n=new Path2D(e),r=document.createElement("canvas").getContext("2d");if(!o){for(var i,s,l=1e3,c=l,d=l,u=0,p=0,h=0;h<l;h+=2)for(var f=0;f<l;f+=2)r.isPointInPath(n,h,f,"nonzero")&&(c=Math.min(c,h),d=Math.min(d,f),u=Math.max(u,h),p=Math.max(p,f));i=u-c,s=p-d;var v=Math.min(10/i,10/s);o=[v,0,0,v,-Math.round(i/2+c)*v,-Math.round(s/2+d)*v]}return{type:"path",path:e,matrix:o}},o.exports.shapeFromText=function(t){var e,o=1,n="#000000",r='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof t?e=t:(e=t.text,o="scalar"in t?t.scalar:o,r="fontFamily"in t?t.fontFamily:r,n="color"in t?t.color:n);var i=10*o,a=i+"px "+r,s=new OffscreenCanvas(i,i),l=s.getContext("2d");l.font=a;var c=l.measureText(e),d=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),u=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),p=c.actualBoundingBoxLeft+2,h=c.actualBoundingBoxAscent+2;d+=4,u+=4,(l=(s=new OffscreenCanvas(d,u)).getContext("2d")).font=a,l.fillStyle=n,l.fillText(e,p,h);var f=1/o;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[f,0,0,f,-d*f/2,-u*f/2]}}}(function(){return void 0!==xo?xo:"undefined"!=typeof self?self:this||{}}(),bo,!1),xo.confetti=bo.exports;var So=function(){go(e,n);var t=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var o,n=po(t);if(e){var r=po(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return wo(this,o)}}(e);function e(){var o;return eo(this,e),(o=t.call(this)).defaults={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,origin:{x:.5,y:.5},shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],scalar:1},o.zindex=100,o}return so(e,[{key:"connectedCallback",value:function(){ho(po(e.prototype),"connectedCallback",this).call(this),this.load()}},{key:"load",value:function(){confetti({particleCount:150,spread:90,ticks:130,scalar:1.3,zIndex:this.zindex,origin:{y:.35}})}}]),e}();ko([a],So.prototype,"game",void 0),ko([e({converter:s})],So.prototype,"zindex",void 0),So=ko([o({name:"g-confetti",shadowOptions:{mode:"closed"}})],So);var Co={init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};confetti(Object.assign({particleCount:200,spread:70,zIndex:3e3,origin:{y:.4}},t))}};function Mo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}window.Effects=window.Effects||{},window.Effects.confetti=Co;var _o,Oo={exports:{}};(_o=Oo).exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_o.exports.__esModule=!0,_o.exports.default=_o.exports;var Io=Mo(Oo.exports),Lo={exports:{}},Eo={exports:{}},zo={exports:{}};!function(t){function e(o){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(zo);var Bo=Mo(zo.exports),Ao={exports:{}};!function(t){var e=zo.exports.default;t.exports=function(t,o){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Ao),function(t){var e=zo.exports.default,o=Ao.exports;t.exports=function(t){var n=o(t,"string");return"symbol"==e(n)?n:n+""},t.exports.__esModule=!0,t.exports.default=t.exports}(Eo),function(t){var e=Eo.exports;function o(t,o){for(var n=0;n<o.length;n++){var r=o[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}(Lo);var Po=Mo(Lo.exports),jo={exports:{}},To={exports:{}};!function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}(To),function(t){var e=zo.exports.default,o=To.exports;t.exports=function(t,n){if(n&&("object"==e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(jo);var Wo=Mo(jo.exports),No={exports:{}};!function(t){function e(o){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(o)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(No);var Do=Mo(No.exports),Ro={exports:{}},Fo={exports:{}};!function(t){var e=No.exports;t.exports=function(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=e(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports}(Fo),function(t){var e=Fo.exports;function o(){return t.exports=o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,o,n){var r=e(t,o);if(r){var i=Object.getOwnPropertyDescriptor(r,o);return i.get?i.get.call(arguments.length<3?t:n):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports,o.apply(null,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}(Ro);var $o=Mo(Ro.exports),Ho={exports:{}},Vo={exports:{}};!function(t){function e(o,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(o,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Vo),function(t){var e=Vo.exports;t.exports=function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports}(Ho);var Yo=Mo(Ho.exports),Go={exports:{}};!function(t){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports}(Go);var Uo,Xo=Mo(Go.exports);function Zo(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Bo(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}"function"==typeof SuppressedError&&SuppressedError;var Jo=t(Uo||(Uo=Xo(["\n.LightWrap {position:fixed;width:500vw;height:500vw;top:50%;left:50%;transform: translate(-50%, -50%);filter: blur(6px);}\n:host([dir='top']) .LightWrap{top:0;}\n:host([dir='topleft']) .LightWrap{top:0;left:0;}\n:host([dir='topright']) .LightWrap{top:0;left:100%;}\n:host([dir='bottom']) .LightWrap{top:100%;}\n:host([dir='bottomleft']) .LightWrap{top:100%;left:0;}\n:host([dir='bottomright']) .LightWrap{top:100%;left:100%;}\n:host([dir='left']) .LightWrap{left:0;}\n:host([dir='right']) .LightWrap{left:100%;}\n.LightWrap .Circle {position:absolute;inset:0;border-radius:50%;transform:translateZ(0);-webkit-transform:translateZ(0);}\n.LightWrap .Circle1 {\n background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0%,var(--color) 1%,transparent 6%);\n -webkit-animation: 13s linear rotate infinite reverse;\n animation: 13s linear rotate infinite reverse;\n}\n.LightWrap .Circle2 {\n background:repeating-conic-gradient(from 19deg at 50% 50%,transparent 0%, var(--color) 1.2%,var(--color),transparent 4.8%,transparent 7.6%);\n -webkit-animation: 9s linear -2s rotate infinite;\n animation: 9s linear -2s rotate infinite;\n}\n.LightWrap .Circle3 {\n background:repeating-conic-gradient(from 37deg at 50% 50%,transparent 0%,var(--color) 4%,transparent 7.9%,transparent 12%);\n -webkit-animation: 17s linear rotate infinite reverse;\n animation: 17s linear rotate infinite reverse;\n}\n.LightWrap .Circle4 {\n background:repeating-conic-gradient(from 103deg at 50% 50%,transparent 0%,var(--color)) 5%,var(--color) 7%,transparent 12%);\n -webkit-animation:7s linear rotate infinite;\n animation:7s linear rotate infinite;\n}\n@-webkit-keyframes rotate{from{transform:rotate(0deg);}to{transform:rotate(359deg);}}\n@keyframes rotate{from{transform:rotate(0deg);}to{transform:rotate(359deg);}}\n"]))),qo={exports:{}},Qo={exports:{}},Ko={exports:{}};!function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=Array(e);o<e;o++)n[o]=t[o];return n},t.exports.__esModule=!0,t.exports.default=t.exports}(Ko),function(t){var e=Ko.exports;t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Qo);var tn={exports:{}};!function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(tn);var en={exports:{}};!function(t){var e=Ko.exports;t.exports=function(t,o){if(t){if("string"==typeof t)return e(t,o);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,o):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}(en);var on={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(on),function(t){var e=Qo.exports,o=tn.exports,n=en.exports,r=on.exports;t.exports=function(t){return e(t)||o(t)||n(t)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}(qo);var nn=Mo(qo.exports),rn={exports:{}},an={exports:{}};!function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports}(an);var sn={exports:{}};!function(t){t.exports=function(t,e){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(t)).next,0===e){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports}(sn);var ln={exports:{}};!function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports}(ln),function(t){var e=an.exports,o=sn.exports,n=en.exports,r=ln.exports;t.exports=function(t,i){return e(t)||o(t,i)||n(t,i)||r()},t.exports.__esModule=!0,t.exports.default=t.exports}(rn);var cn,dn=Mo(rn.exports),un=Math.min,pn=Math.max,hn=Math.floor,fn=Math.round;function vn(t,e,o){e/=100,o/=100;var n=hn(t=t/360*6),r=t-n,i=o*(1-e),a=o*(1-r*e),s=o*(1-(1-r)*e),l=n%6;return[255*[o,a,i,i,s,o][l],255*[s,o,o,a,i,i][l],255*[i,i,s,o,o,a][l]]}function gn(t,e,o){var n,r,i=un(t/=255,e/=255,o/=255),a=pn(t,e,o),s=a-i;if(0===s)n=r=0;else{r=s/a;var l=((a-t)/6+s/2)/s,c=((a-e)/6+s/2)/s,d=((a-o)/6+s/2)/s;t===a?n=d-c:e===a?n=1/3+l-d:o===a&&(n=2/3+c-l),n<0?n+=1:n>1&&(n-=1)}return[360*n,100*r,100*a]}function mn(t,e,o,n){e/=100,o/=100;var r=255*(1-un(1,(t/=100)*(1-(n/=100))+n)),i=255*(1-un(1,e*(1-n)+n)),a=255*(1-un(1,o*(1-n)+n));return nn(gn(r,i,a))}function yn(t,e,o){return e/=100,[t,(o/=100)+(e*=o<.5?o:1-o)?2*e/(o+e)*100:0,100*(o+e)]}function xn(t){return gn.apply(void 0,nn(t.match(/.{2}/g).map((function(t){return parseInt(t,16)}))))}function bn(){var t=function(t,e){return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e(~o?t.map((function(t){return Number(t.toFixed(o))})):t)}},e={h:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s:arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,v:arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a:arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,toHSVA:function(){var o=[e.h,e.s,e.v,e.a];return o.toString=t(o,(function(t){return"hsva(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toHSLA:function(){var o=[].concat(nn(function(t,e,o){var n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"hsla(".concat(t[0],", ").concat(t[1],"%, ").concat(t[2],"%, ").concat(e.a,")")})),o},toRGBA:function(){var o=[].concat(nn(vn(e.h,e.s,e.v)),[e.a]);return o.toString=t(o,(function(t){return"rgba(".concat(t[0],", ").concat(t[1],", ").concat(t[2],", ").concat(e.a,")")})),o},toCMYK:function(){var o=function(t,e,o){var n,r=vn(t,e,o),i=r[0]/255,a=r[1]/255,s=r[2]/255;return[100*(1===(n=un(1-i,1-a,1-s))?0:(1-i-n)/(1-n)),100*(1===n?0:(1-a-n)/(1-n)),100*(1===n?0:(1-s-n)/(1-n)),100*n]}(e.h,e.s,e.v);return o.toString=t(o,(function(t){return"cmyk(".concat(t[0],"%, ").concat(t[1],"%, ").concat(t[2],"%, ").concat(t[3],"%)")})),o},toHEXA:function(){var t=function(t,e,o){return vn(t,e,o).map((function(t){return fn(t).toString(16).padStart(2,"0")}))}(e.h,e.s,e.v),o=e.a>=1?"":Number((255*e.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return o&&t.push(o),t.toString=function(){return"#".concat(t.join("").toUpperCase())},t},clone:function(){return bn(e.h,e.s,e.v,e.a)}};return e}function wn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(wn=function(){return!!t})()}var kn,Sn,Cn,Mn,_n,On,In=r(cn||(cn=Xo(['\n<section class="LightWrap">\n <div class="Circle Circle1"></div>\n <div class="Circle Circle2"></div>\n <div class="Circle Circle3"></div>\n <div class="Circle Circle4"></div>\n</section>\n']))),Ln=function(){function t(){var e;return Io(this,t),(e=function(t,e,o){return e=Do(e),Wo(t,wn()?Reflect.construct(e,o||[],Do(t).constructor):e.apply(t,o))}(this,t)).color="#faf014",e}return Yo(t,n),Po(t,[{key:"colorChanged",value:function(t,e){var o,n;e&&this.style.setProperty("--color",(o=function(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000000";var e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000000"===e.fillStyle?null:e.fillStyle}(t):t;var e,o={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},n=function(t){return t.map((function(t){return/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0}))};t:for(var r in o)if(e=o[r].exec(t))switch(r){case"cmyk":var i=n(e),a=dn(i,5),s=a[1],l=a[2],c=a[3],d=a[4];if(s>100||l>100||c>100||d>100)break t;return{values:mn(s,l,c,d),type:r};case"rgba":var u=n(e),p=dn(u,7),h=p[3],f=p[4],v=p[5],g=p[6];if(h>255||f>255||v>255||g<0||g>1)break t;return{values:[].concat(nn(gn(h,f,v)),[g]),a:g,type:r};case"hexa":var m=dn(e,2)[1];4!==m.length&&3!==m.length||(m=m.split("").map((function(t){return t+t})).join(""));var y=m.substring(0,6),x=m.substring(6);return x=x?parseInt(x,16)/255:void 0,{values:[].concat(nn(xn(y)),[x]),a:x,type:r};case"hsla":var b=n(e),w=dn(b,7),k=w[3],S=w[4],C=w[5],M=w[6];if(k>360||S>100||C>100||M<0||M>1)break t;return{values:[].concat(nn(yn(k,S,C)),[M]),a:M,type:r};case"hsva":var _=n(e),O=dn(_,7),I=O[3],L=O[4],E=O[5],z=O[6];if(I>360||L>100||E>100||z<0||z>1)break t;return{values:[I,L,E,z],a:z,type:r}}return{values:null,type:null}}(e),n=bn.apply(void 0,nn(o.values)).toRGBA(),"rgba(".concat(n[0].toFixed(0),",").concat(n[1].toFixed(0),",").concat(n[2].toFixed(0),",").concat(.2*Number(n[3].toFixed(2)),")")))}},{key:"connectedCallback",value:function(){var e,o,n;(e=t,o=this,n=$o(Do(1&3?e.prototype:e),"connectedCallback",o),function(t){return n.apply(o,t)})([])}}])}();function En(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(En=function(){return!!t})()}Zo([e],Ln.prototype,"dir",void 0),Zo([e],Ln.prototype,"color",void 0),Ln=Zo([o({name:"h-spotlight",template:In,styles:Jo,shadowOptions:{mode:"closed"}})],Ln);var zn,Bn=r(kn||(kn=z(['\n <div class="PrizeWrap">\n <div class="VideoWrap">\n <div class="Conten">\n <div class="Bg"></div>\n <h-spotlight color="#000"></h-spotlight>\n <div class="Img zoomInUp">\n <span>\n ',"\n </span>\n \n <span>\n ","\n </span>\n \n </div>\n </div>\n </div>\n\n <div ",' class="Content transit">\n <div class="Title">\n <span>\n ',"\n </span>\n <span>\n ",'\n </span> \n </div>\n <div class="Button">\n <img @click="','" src="','/download/img/collect/button.png"/>\n </div>\n </div>\n </div>\n <div class="Cache">\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n <img src="','" />\n </div>\n'])),c((function(t){return 1==t.type}),r(Sn||(Sn=z(['<img src="','" class="Card" draggable="false"/>'])),(function(t){return t.imgSrc}))),c((function(t){return 2==t.type}),r(Cn||(Cn=z(['<div class="CouponWrap">\n <img class="Coupon" src="','"/>\n <div class="Info">\n <p style="color:#FF3B0A;font-size:9.6vw;font-weight:600;line-height:9.6vw">','</p>\n <p style="color:#EB330E;font-size:3.733vw;font-weight:600;margin:2vw 0 7vw">',"</p>\n </div>\n </div>"])),St.path+St.coupon,(function(t){return t.prizeQuota}),(function(t){return t.prizeName}))),i("contentWrap"),c((function(t){return 1==t.type}),r(Mn||(Mn=z(['<img src="',"/download/img/collect/card/title",'.png"/>\n <p class="Subtitle">',"</p>"])),St.path,(function(t){return t.index}),(function(t){return t.number>0?r(_n||(_n=z(["再开","个不同盲盒即可合成"])),(function(t){return t.number})):"恭喜盲盒已集齐,可以合成隐藏款啦~"}))),c((function(t){return 2==t.type}),r(On||(On=z(['<img src="','/download/img/collect/title02.png"/><p class="Subtitle">',"</p>"])),St.path,(function(t){return t.prizeQuota+t.prizeName}))),(function(t){return t.accept()}),St.path,St.path+St.coupon,St.path+St.card1,St.path+St.card2,St.path+St.card3,St.path+St.card4,St.path+St.card5,St.path+St.card6,St.path+St.title1,St.path+St.title2,St.path+St.title3,St.path+St.title4,St.path+St.title5,St.path+St.title6),An=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,En()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.prizeName="",e.prizeQuota="",e.isClick=!1,e.imgSrc="",e.type=1,e.index=6,e.number=3,bt.case.install([ve,So,Ln]),e}return L(t,n),y(t,[{key:"indexChanged",value:function(t,e){var o=this;setTimeout((function(){o.imgSrc=St.path+St["card"+e]}),10)}},{key:"showChanged",value:function(t,e){null===e||!1===e?Ie.instance.remove(this.contentWrap,"show"):this.init()}},{key:"connectedCallback",value:function(){!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([])}},{key:"accept",value:function(){this.isClick&&(this.close(),this.$emit("change","accept"))}},{key:"init",value:function(){var t=this;setTimeout((function(){Ie.instance.add(t.contentWrap,"show")}),1e3),setTimeout((function(){t.isClick=!0}),2e3),window.confetti({particleCount:150,spread:90,ticks:130,scalar:1.3,zIndex:3200,origin:{y:.35}})}},{key:"close",value:function(){this.show=!1}},{key:"update",value:function(t){t&&2==this.type&&(this.prizeName=t.prizeName,this.prizeQuota=t.prizeQuota)}}])}();B([a],An.prototype,"Overlay",void 0),B([a],An.prototype,"video",void 0),B([a],An.prototype,"contentWrap",void 0),B([a],An.prototype,"prizeName",void 0),B([a],An.prototype,"prizeQuota",void 0),B([a],An.prototype,"imgSrc",void 0),B([e({converter:s})],An.prototype,"type",void 0),B([e({converter:s})],An.prototype,"index",void 0),B([e({converter:s})],An.prototype,"number",void 0),B([e({mode:"boolean"})],An.prototype,"show",void 0),B([Se],An.prototype,"showChanged",null),B([Be(300)],An.prototype,"accept",null),An=B([o({name:"g-collect-prize",template:Bn,styles:qe,shadowOptions:{mode:"closed"}})],An);var Pn,jn,Tn,Wn,Nn=t(zn||(zn=z(["\n:host{\ndisplay:inline-block;\nwidth:60vw;\nheight:55vw;\n}\n.SwipeWrap {\nposition: relative;\nwidth:60vw;\nheight:55vw;\nperspective: 500px;\ntransform-style: preserve-3d;\n}\n.CardList{\n position: absolute;\nz-index:99;\nwidth:60vw;\nheight:62vw;\n}\n.CardList svg,\n.CardContainer svg{\n position: absolute;\n z-index:110;\n top:0;\n left:0;\n display: none;\n}\n.CardContainer.active svg{\n display: block;\n}\n.CardContainer {\nposition: absolute;\nz-index:99;\nwidth:60vw;\ntransform: \n rotateY(calc(var(--offset) * 50deg)) \n scaleY(calc(1 + var(--abs-offset) * -0.4))\n translateZ(calc(var(--abs-offset) * -30rem))\n translateX(calc(var(--direction) * -5rem));\nfilter: blur(calc(var(--abs-offset) * 1rem));\ntransition: all 0.3s ease-out;\n}\n.CardContainer img{\n width:100%;\n}\nimg {\n -webkit-touch-callout :none;\n user-select:none;\n}\n.Nav {\n position: absolute;\n display: none;\n align-items: center;\n justify-content: center;\n top: 35%;\n z-index: 299;\n cursor: pointer;\n user-select: none;\n background: unset;\n border: unset;\n width:9.666666666vw;\n height:9.666666666vw;\n}\n.Nav img {\n width:100%;height:100%;\n}\n.Nav.Left {\n left: 0;\n transform: translateX(-100%) translatey(-50%);\n}\n.Nav.Right {\n right: 0;\n transform: translateX(100%) translatey(-50%);\n}\n:host(.isArrow) .Nav{display: flex;}\n"])));function Dn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Dn=function(){return!!t})()}var Rn,Fn=r(Pn||(Pn=z(['\n<section class="SwipeWrap">\n <span>\n ',"\n </span>\n <span ",">\n ","\n </span>\n <span>\n ","\n </span>\n</section>\n"])),c((function(t){return t.active>0}),r(jn||(jn=z(['<img class="Nav Left" @click="','" src="','/download/img/collect/arrowL.png" draggable="false"/>'])),(function(t){return t.setActive("l")}),St.path)),i("listItems"),l((function(t){return t.cardItem}),r(Tn||(Tn=z(['<div class="CardContainer ','" style="','">\n <img src="','" draggable="false"/>\n </div>'])),(function(t,e){return e.parent.classFn(e.index)}),(function(t,e){return e.parent.styleFn(e.index)}),(function(t){return t.total>0?t.card:t.grey})),{positioning:!0}),c((function(t){return t.active<t.cardItem.length-1}),r(Wn||(Wn=z(['<img class="Nav Right" @click="','" src="','/download/img/collect/arrowR.png" draggable="false"/>'])),(function(t){return t.setActive("r")}),St.path))),$n=function(){function t(){var e;return h(this,t),e=function(t,e,o){return e=S(e),w(t,Dn()?Reflect.construct(e,o||[],S(t).constructor):e.apply(t,o))}(this,t),e.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/card/card0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/card/card01-1.png")}})),e.MAX_VISIBILITY=1,e.active=0,e.arrow=!0,e}return L(t,n),y(t,[{key:"arrowChanged",value:function(t,e){null===e||!1===e||this.isComposed?Ie.instance.remove(this,"isArrow"):Ie.instance.add(this,"isArrow")}},{key:"connectedCallback",value:function(){var e,o,n=this;!function(t,e,o,n){var r=_(S(1&n?t.prototype:t),e,o);return 2&n&&"function"==typeof r?function(t){return r.apply(o,t)}:r}(t,"connectedCallback",this,3)([]),(e="".concat(St.path,"/download/cdn/lottie.min.js"),o="lottie",new Promise((function(t,n){if(void 0!==e){var r=new xt,i=e.substring(e.lastIndexOf(".")+1),a=document.getElementsByTagName("head")[0];if(document.querySelectorAll('script[src*="'+e+'"]').length<=0){if("js"===i){var s=document.createElement("script");s.src=e,s.type="text/javascript",s.async=!0,a.appendChild(s),s.onload=s.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||t(!0)}}else if("css"===i){var l=document.createElement("link");l.href=e,l.rel="stylesheet",l.type="text/css",a.appendChild(l)}}else r.init({front:String(o),callback:function(){t(!0)}})}else n(!1)}))).then((function(){n.initLottie()}))}},{key:"initLottie",value:function(){this.childs=this.listItems.querySelectorAll(".CardContainer"),Array.from(this.childs).forEach((function(t,e){t.lottie=window.lottie.loadAnimation({container:t,renderer:"svg",loop:!1,autoplay:!1,path:"".concat(St.path,"/download/img/collect/card/card0").concat(e+1,".json")})}))}},{key:"setActive",value:function(t){"l"==t?--this.active:++this.active}},{key:"classFn",value:function(t){return t==this.active&&this.playlotie(t,!1),t==this.active?"active":""}},{key:"playlotie",value:function(t,e){var o=this.childs||this.listItems.querySelectorAll(".CardContainer");o.length>0&&o[t].lottie&&this.cardItem[t].total>0&&setTimeout((function(){o[t].lottie.goToAndStop(0,!0),o[t].lottie.play()}),e?50:0)}},{key:"styleFn",value:function(t){var e="--active:".concat(t===this.active?1:0,";");return e+="--offset:".concat((this.active-t)/3,";"),e+="--direction:".concat(Math.sign(this.active-t),";"),e+="--abs-offset:".concat(Math.abs(this.active-t)/3,";"),e+="pointer-events:".concat(this.active===t?"auto":"none",";"),e+="opacity:".concat(Math.abs(this.active-t)>=this.MAX_VISIBILITY?"0":"1",";"),e+="display:".concat(Math.abs(this.active-t)>this.MAX_VISIBILITY?"none":"block",";")}},{key:"revert",value:function(){this.isComposed=!1,this.arrow=!0,this.active=0,this.cardItem=Array.from({length:6},(function(t,e){return{card:"".concat(St.path,"/download/img/collect/card/card0").concat(e+1,".png"),grey:"".concat(St.path,"/download/img/collect/card/card01-1.png")}}))}},{key:"update",value:function(t){if(t&&t.isRevert)this.revert();else if(t&&t.cardList){for(var e=Array.from({length:6}),o=0;o<t.cardList.length;o++){var n=t.cardList[o];e[n.cardType-1]={total:n.cardNum,card:"".concat(St.path,"/download/img/collect/card/card0").concat(n.cardType,".png"),grey:"".concat(St.path,"/download/img/collect/card/card01-1.png")}}this.cardItem=e,this.playlotie(0,!0),t.isComposed&&(this.arrow=!1,this.isComposed=t.isComposed)}}}])}();B([a],$n.prototype,"listItems",void 0),B([a],$n.prototype,"cardItem",void 0),B([a],$n.prototype,"isComposed",void 0),B([a],$n.prototype,"childs",void 0),B([e({converter:s})],$n.prototype,"active",void 0),B([e({mode:"boolean"})],$n.prototype,"arrow",void 0),B([(Rn=300,function(t,e,o){var n=o.value;return o.value=function(){var t=arguments,e=this;setTimeout((function(){return n.apply(e,t)}),Rn)},o})],$n.prototype,"initLottie",null),$n=B([o({name:"g-collect-swipe",template:Fn,styles:Nn,shadowOptions:{mode:"closed"}})],$n);export{je as HiCollectConflate,Je as HiCollectList,An as HiCollectPrize,$n as HiCollectSwipe};
|