@gkits/collect 0.0.17 → 0.0.18
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -352,7 +352,7 @@ ${ht("flex")}
|
|
|
352
352
|
<div class="ArrowWrap">
|
|
353
353
|
<span class="Arrow"></span>
|
|
354
354
|
</div>
|
|
355
|
-
`;let xt=class extends i{constructor(){super(),this.dir="top"}colorChanged(o,t){Mo(this)({color:t})}connectedCallback(){super.connectedCallback()}};mo([t],xt.prototype,"dir",void 0),mo([t],xt.prototype,"color",void 0),xt=mo([e({name:"h-arrow",styles:kt,template:gt,shadowOptions:{mode:"closed"}})],xt);var vt=function(o,t,e,i){o.addEventListener?o.addEventListener(t,e,!1):o.attachEvent?o.attachEvent("on"+t,e):o["on"+t]=e},Ut=function(o,t,e,i){o.removeEventListener?o.removeEventListener(t,e,!1):o.detachEvent?o.detachEvent("on"+t,e):o["on"+t]=null},Jt=function(){function o(){var t=this;if(F(this,o),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!==t.previousBodyPaddingRight&&(document.body.style.paddingRight=t.previousBodyPaddingRight,t.previousBodyPaddingRight=void 0),void 0!==t.previousBodyOverflowSetting&&(document.body.style.overflow=t.previousBodyOverflowSetting,document.documentElement.style.overflow=t.previousBodyOverflowSetting,t.previousBodyOverflowSetting=void 0)},this.handleScroll=function(o,e){var i=o.targetTouches[0].clientY-t.initialClientY;return!t.allowTouchMove(o.target)&&(e&&0===e.scrollTop&&i>0||t.isTargetElementTotallyScrolled(e)&&i<0?t.preventDefault(o):(o.stopPropagation(),!0))},"undefined"!=typeof window){var e={get passive(){this.hasPassiveEvents=!0}};vt(window,"testPassive",null,e),Ut(window,"testPassive",null,e)}}return w(o,[{key:"isTargetElementTotallyScrolled",value:function(o){return!!o&&o.scrollHeight-o.scrollTop<=o.clientHeight}},{key:"allowTouchMove",value:function(o){this.locks.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(o))}))}},{key:"preventDefault",value:function(o){var t=o||window.event;return!(!this.allowTouchMove||!this.allowTouchMove(t.target))||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}},{key:"setOverflowHidden",value:function(o){if(void 0===this.previousBodyPaddingRight){var t=!!o&&!0===o.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth;t&&e>0&&(this.previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight="".concat(e,"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(o,t){var e=this;if(o){if(!this.locks.some((function(t){return t.targetElement===o}))){var i={targetElement:o,options:t||{}};this.locks=[].concat(L(this.locks),[i]),this.isIosDevice?(o.ontouchstart=function(o){1===o.targetTouches.length&&(e.initialClientY=o.targetTouches[0].clientY)},o.ontouchmove=function(t){1===t.targetTouches.length&&e.handleScroll(t,o)},this.documentListenerAdded||(document.addEventListener("touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!0)):this.setOverflowHidden(t)}}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(o){o.targetElement.ontouchstart=null,o.targetElement.ontouchmove=null})),this.documentListenerAdded&&(Ut(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1),this.initialClientY=-1):this.restoreOverflowSetting(),this.locks=[]}},{key:"enable",value:function(o){o?(this.locks=this.locks.filter((function(t){return t.targetElement!==o})),this.isIosDevice?(o.ontouchstart=null,o.ontouchmove=null,this.documentListenerAdded&&0===this.locks.length&&(Ut(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.")}}]),o}(),mt=new Jt;function Ct(o,t,e){var i=e.value;return e.value=function(o,t){return null===t||!1===t?mt.enable(document.body):mt.disable(document.body),i.apply(this,arguments)},e}function Kt(o){return o?function(t,e){if(1===arguments.length&&"string"==typeof t)o.setAttribute(t,"");else if(2===arguments.length)o.setAttribute(t,e);else for(var i in t)o[i]=t[i],o.setAttribute(i,t[i])}:function(){}}function Nt(o){return o?function(t){if("string"==typeof t)o.removeAttribute(t);else for(var e=0;e<t.length;e++){var i=t[e];o.removeAttribute(i)}}:function(){}}var bt,Mt,Qt=function(){function o(){var t=this;F(this,o),"classList"in document.documentElement?(this.has=function(o,t){return o.classList.contains(t)},this.add=function(o,t){for(var e=t.split(" "),i=0;i<e.length;i++)void 0!==o.classList&&o.classList.add(e[i])},this.remove=function(o,t){if(o)for(var e=t.split(" "),i=0;i<e.length;i++)void 0!==o.classList&&o.classList.remove(e[i])}):(this.has=function(o,e){return t.classReg(e).test(o.className)},this.add=function(o,e){t.has(o,e)||(o.className=o.className+" "+e)},this.remove=function(o,e){o.className=o.className.replace(t.classReg(e)," ")})}return w(o,[{key:"classReg",value:function(o){return new RegExp("(^|\\s+)"+o+"(\\s+|$)")}},{key:"toggle",value:function(o,t){(this.has(o,t)?this.remove:this.add)(o,t)}}],[{key:"instance",get:function(){return this._instance||(this._instance=new o),this._instance}}]),o}();function yt(o){var t=null;return function(e,i,n){var a=n.value;return n.value=function(){for(var e=this,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];t&&clearTimeout(t),t=setTimeout((function(){a.apply(e,n)}),o)},n}}function Yt(o){var t=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(o){return!1}}();return function(){var e,i=g(o);if(t){var n=g(this).constructor;e=Reflect.construct(i,arguments,n)}else e=i.apply(this,arguments);return K(this,e)}}var Ft,Ht=n(bt||(bt=b(["\n<h-overlay ",' mode=\'handle\' style="backdrop-filter: blur(5px)" >\n<div class="ConflateWrap">\n <div class="Bg"></div>\n <div class="VideoWrap">\n <video ',' autoplay muted preload="auto" x5-video-orientation="portraint"\n playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true"\n ><source src="','/download/img/collect/conflate.webm" type="video/webm"/><source src="','/download/img/collect/conflate.mp4" type="video/mp4"/></video>\n </div>\n <div ',' class="Content transit">\n <div class="Title">\n <img src="','/download/img/collect/title03.png"/>\n </div>\n <div class="Icon">\n <div><img src="','/download/img/collect/icon03.png"/><p class="TEll">2.18抽奖次数+1</p></div>\n <span class="','">\n ','\n </span>\n <div><img src="','/download/img/collect/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 <p>奖品可在【我的奖品-活动实物】中查看</p><p>ihaier新年头像框将通过您的ihaier发放</p>\n </div>\n </div>\n </div>\n</h-overlay>\n'])),a("Overlay"),a("video"),(location.href.indexOf(atob("eXMtempycw==")),Uo.pathys),(location.href.indexOf(atob("eXMtempycw==")),Uo.pathys),a("contentWrap"),Uo.path,Uo.path,(function(o){return o.isCoupon?"Coupon":""}),s((function(o){return o.isCoupon}),n(Mt||(Mt=b(['<div><img src="','/download/img/collect/icon04.png"/><p class="TEll">三翼鸟定制洗衣液</p></div>\n '])),Uo.path)),Uo.path,(function(o){return o.accept()}),Uo.path),Bt=function(o){J(e,i);var t=Yt(e);function e(){var o;return d(this,e),(o=t.call(this)).isCoupon=!1,o.isClick=!1,go.case.install([ut]),o}return S(e,[{key:"showChanged",value:function(o,t){null===t||!1===t?Nt(this.Overlay)("show"):Kt(this.Overlay)("show")}},{key:"connectedCallback",value:function(){var o=this;x(g(e.prototype),"connectedCallback",this).call(this),this.video.addEventListener("loadeddata",(function(){o.resize(),setTimeout((function(){Qt.instance.add(o.contentWrap,"show")}),1e3),setTimeout((function(){o.isClick=!0}),3e3)}))}},{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.$emit("change","accept"),this.close())}},{key:"close",value:function(){this.show=!1}},{key:"update",value:function(o){o&&o.prizeId&&(this.isCoupon=!0)}}]),e}();y([r],Bt.prototype,"Overlay",void 0),y([r],Bt.prototype,"video",void 0),y([r],Bt.prototype,"contentWrap",void 0),y([r],Bt.prototype,"isCoupon",void 0),y([t({mode:"boolean"})],Bt.prototype,"show",void 0),y([Ct],Bt.prototype,"showChanged",null),y([yt(300)],Bt.prototype,"accept",null),Bt=y([e({name:"g-collect-conflate",template:Ht,styles:Jo,shadowOptions:{mode:"closed"}})],Bt);var Pt=o(Ft||(Ft=b(["\n","\n.ListWrap{\ndisplay:flex;\nwidth:100%;\npadding:0 0 0 3.2vw;\nmargin:0 auto;\n}\n.CardWrap{display:flex}\n.CardWrap div.Card{\nwidth:14.9333333333vw;\nheight:20.266666666vw;\nmargin: 0 2.666666666vw 0 0;\n}\n.CardWrap div.Card img {height:100%;width:100%}\n.Synthesis{\nposition:relative;\nwidth:22.4vw;height:22.4vw;margin:0 1vw 0 -1vw;\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:-2vw 0 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"])),xo(),ko(["PoiNo"]),ko(["PoiNo"]));class wt extends i{constructor(){super(...arguments),this.disabled=!1}colorChanged(o,t){Mo(this)({color:t})}sizeChanged(o,t){for(let o=0;o<this.children.length;o++){wo(this.children[o])("size",this.size)}}connectedCallback(){super.connectedCallback()}injection(o){o&&o(this)}setValueFn(o,t){this[o+"Changed"]("",t)}update(o,t){t&&t(o)}childrenFn(o){const t=this.children.length;if(t>0){for(let o=0;o<t;o++){const e=this.children[o];0==o?wo(e)("first"):o+1==t&&wo(e)("last"),wo(e)("index",String(o))}o&&o()}}}mo([t],wt.prototype,"color",void 0),mo([t],wt.prototype,"size",void 0),mo([t({mode:"boolean"})],wt.prototype,"disabled",void 0);const Ot=o`
|
|
355
|
+
`;let xt=class extends i{constructor(){super(),this.dir="top"}colorChanged(o,t){Mo(this)({color:t})}connectedCallback(){super.connectedCallback()}};mo([t],xt.prototype,"dir",void 0),mo([t],xt.prototype,"color",void 0),xt=mo([e({name:"h-arrow",styles:kt,template:gt,shadowOptions:{mode:"closed"}})],xt);var vt=function(o,t,e,i){o.addEventListener?o.addEventListener(t,e,!1):o.attachEvent?o.attachEvent("on"+t,e):o["on"+t]=e},Ut=function(o,t,e,i){o.removeEventListener?o.removeEventListener(t,e,!1):o.detachEvent?o.detachEvent("on"+t,e):o["on"+t]=null},Jt=function(){function o(){var t=this;if(F(this,o),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!==t.previousBodyPaddingRight&&(document.body.style.paddingRight=t.previousBodyPaddingRight,t.previousBodyPaddingRight=void 0),void 0!==t.previousBodyOverflowSetting&&(document.body.style.overflow=t.previousBodyOverflowSetting,document.documentElement.style.overflow=t.previousBodyOverflowSetting,t.previousBodyOverflowSetting=void 0)},this.handleScroll=function(o,e){var i=o.targetTouches[0].clientY-t.initialClientY;return!t.allowTouchMove(o.target)&&(e&&0===e.scrollTop&&i>0||t.isTargetElementTotallyScrolled(e)&&i<0?t.preventDefault(o):(o.stopPropagation(),!0))},"undefined"!=typeof window){var e={get passive(){this.hasPassiveEvents=!0}};vt(window,"testPassive",null,e),Ut(window,"testPassive",null,e)}}return w(o,[{key:"isTargetElementTotallyScrolled",value:function(o){return!!o&&o.scrollHeight-o.scrollTop<=o.clientHeight}},{key:"allowTouchMove",value:function(o){this.locks.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(o))}))}},{key:"preventDefault",value:function(o){var t=o||window.event;return!(!this.allowTouchMove||!this.allowTouchMove(t.target))||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}},{key:"setOverflowHidden",value:function(o){if(void 0===this.previousBodyPaddingRight){var t=!!o&&!0===o.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth;t&&e>0&&(this.previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight="".concat(e,"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(o,t){var e=this;if(o){if(!this.locks.some((function(t){return t.targetElement===o}))){var i={targetElement:o,options:t||{}};this.locks=[].concat(L(this.locks),[i]),this.isIosDevice?(o.ontouchstart=function(o){1===o.targetTouches.length&&(e.initialClientY=o.targetTouches[0].clientY)},o.ontouchmove=function(t){1===t.targetTouches.length&&e.handleScroll(t,o)},this.documentListenerAdded||(document.addEventListener("touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!0)):this.setOverflowHidden(t)}}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(o){o.targetElement.ontouchstart=null,o.targetElement.ontouchmove=null})),this.documentListenerAdded&&(Ut(document,"touchmove",this.preventDefault,this.hasPassiveEvents?{passive:!1}:void 0),this.documentListenerAdded=!1),this.initialClientY=-1):this.restoreOverflowSetting(),this.locks=[]}},{key:"enable",value:function(o){o?(this.locks=this.locks.filter((function(t){return t.targetElement!==o})),this.isIosDevice?(o.ontouchstart=null,o.ontouchmove=null,this.documentListenerAdded&&0===this.locks.length&&(Ut(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.")}}]),o}(),mt=new Jt;function Ct(o,t,e){var i=e.value;return e.value=function(o,t){return null===t||!1===t?mt.enable(document.body):mt.disable(document.body),i.apply(this,arguments)},e}function Kt(o){return o?function(t,e){if(1===arguments.length&&"string"==typeof t)o.setAttribute(t,"");else if(2===arguments.length)o.setAttribute(t,e);else for(var i in t)o[i]=t[i],o.setAttribute(i,t[i])}:function(){}}function Nt(o){return o?function(t){if("string"==typeof t)o.removeAttribute(t);else for(var e=0;e<t.length;e++){var i=t[e];o.removeAttribute(i)}}:function(){}}var bt,Mt,Qt=function(){function o(){var t=this;F(this,o),"classList"in document.documentElement?(this.has=function(o,t){return o.classList.contains(t)},this.add=function(o,t){for(var e=t.split(" "),i=0;i<e.length;i++)void 0!==o.classList&&o.classList.add(e[i])},this.remove=function(o,t){if(o)for(var e=t.split(" "),i=0;i<e.length;i++)void 0!==o.classList&&o.classList.remove(e[i])}):(this.has=function(o,e){return t.classReg(e).test(o.className)},this.add=function(o,e){t.has(o,e)||(o.className=o.className+" "+e)},this.remove=function(o,e){o.className=o.className.replace(t.classReg(e)," ")})}return w(o,[{key:"classReg",value:function(o){return new RegExp("(^|\\s+)"+o+"(\\s+|$)")}},{key:"toggle",value:function(o,t){(this.has(o,t)?this.remove:this.add)(o,t)}}],[{key:"instance",get:function(){return this._instance||(this._instance=new o),this._instance}}]),o}();function yt(o){var t=null;return function(e,i,n){var a=n.value;return n.value=function(){for(var e=this,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];t&&clearTimeout(t),t=setTimeout((function(){a.apply(e,n)}),o)},n}}function Yt(o){var t=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(o){return!1}}();return function(){var e,i=g(o);if(t){var n=g(this).constructor;e=Reflect.construct(i,arguments,n)}else e=i.apply(this,arguments);return K(this,e)}}var Ft,Ht=n(bt||(bt=b(["\n<h-overlay ",' mode=\'handle\' style="backdrop-filter: blur(5px)" >\n<div class="ConflateWrap">\n <div class="Bg"></div>\n <div class="VideoWrap">\n <video ',' autoplay muted preload="auto" x5-video-orientation="portraint"\n playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true"\n ><source src="','/download/img/collect/conflate.webm" type="video/webm"/><source src="','/download/img/collect/conflate.mp4" type="video/mp4"/></video>\n </div>\n <div ',' class="Content transit">\n <div class="Title">\n <img src="','/download/img/collect/title03.png"/>\n </div>\n <div class="Icon">\n <div><img src="','/download/img/collect/icon03.png"/><p class="TEll">2.18抽奖次数+1</p></div>\n <span class="','">\n ','\n </span>\n <div><img src="','/download/img/collect/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 <p>奖品可在【我的奖品-活动实物】中查看</p><p>ihaier新年头像框将通过您的ihaier发放</p>\n </div>\n </div>\n </div>\n</h-overlay>\n'])),a("Overlay"),a("video"),location.href.indexOf(atob("eXMtempycw=="))>-1?Uo.pathys:Uo.path,location.href.indexOf(atob("eXMtempycw=="))>-1?Uo.pathys:Uo.path,a("contentWrap"),Uo.path,Uo.path,(function(o){return o.isCoupon?"Coupon":""}),s((function(o){return o.isCoupon}),n(Mt||(Mt=b(['<div><img src="','/download/img/collect/icon04.png"/><p class="TEll">三翼鸟定制洗衣液</p></div>\n '])),Uo.path)),Uo.path,(function(o){return o.accept()}),Uo.path),Bt=function(o){J(e,i);var t=Yt(e);function e(){var o;return d(this,e),(o=t.call(this)).isCoupon=!1,o.isClick=!1,go.case.install([ut]),o}return S(e,[{key:"showChanged",value:function(o,t){null===t||!1===t?Nt(this.Overlay)("show"):Kt(this.Overlay)("show")}},{key:"connectedCallback",value:function(){var o=this;x(g(e.prototype),"connectedCallback",this).call(this),this.video.addEventListener("loadeddata",(function(){o.resize(),setTimeout((function(){Qt.instance.add(o.contentWrap,"show")}),1e3),setTimeout((function(){o.isClick=!0}),3e3)}))}},{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.$emit("change","accept"),this.close())}},{key:"close",value:function(){this.show=!1}},{key:"update",value:function(o){o&&o.prizeId&&(this.isCoupon=!0)}}]),e}();y([r],Bt.prototype,"Overlay",void 0),y([r],Bt.prototype,"video",void 0),y([r],Bt.prototype,"contentWrap",void 0),y([r],Bt.prototype,"isCoupon",void 0),y([t({mode:"boolean"})],Bt.prototype,"show",void 0),y([Ct],Bt.prototype,"showChanged",null),y([yt(300)],Bt.prototype,"accept",null),Bt=y([e({name:"g-collect-conflate",template:Ht,styles:Jo,shadowOptions:{mode:"closed"}})],Bt);var Pt=o(Ft||(Ft=b(["\n","\n.ListWrap{\ndisplay:flex;\nwidth:100%;\npadding:0 0 0 3.2vw;\nmargin:0 auto;\n}\n.CardWrap{display:flex}\n.CardWrap div.Card{\nwidth:14.9333333333vw;\nheight:20.266666666vw;\nmargin: 0 2.666666666vw 0 0;\n}\n.CardWrap div.Card img {height:100%;width:100%}\n.Synthesis{\nposition:relative;\nwidth:22.4vw;height:22.4vw;margin:0 1vw 0 -1vw;\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:-2vw 0 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"])),xo(),ko(["PoiNo"]),ko(["PoiNo"]));class wt extends i{constructor(){super(...arguments),this.disabled=!1}colorChanged(o,t){Mo(this)({color:t})}sizeChanged(o,t){for(let o=0;o<this.children.length;o++){wo(this.children[o])("size",this.size)}}connectedCallback(){super.connectedCallback()}injection(o){o&&o(this)}setValueFn(o,t){this[o+"Changed"]("",t)}update(o,t){t&&t(o)}childrenFn(o){const t=this.children.length;if(t>0){for(let o=0;o<t;o++){const e=this.children[o];0==o?wo(e)("first"):o+1==t&&wo(e)("last"),wo(e)("index",String(o))}o&&o()}}}mo([t],wt.prototype,"color",void 0),mo([t],wt.prototype,"size",void 0),mo([t({mode:"boolean"})],wt.prototype,"disabled",void 0);const Ot=o`
|
|
356
356
|
${rt()}
|
|
357
357
|
${ht("flex")}
|
|
358
358
|
:host {
|