@lynx-js/web-core-wasm 0.0.2 → 0.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @lynx-js/web-core-wasm
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`e0972ef`](https://github.com/lynx-family/lynx-stack/commit/e0972ef5e9651c3a42fff7512f139d515647ae94), [`3bc017e`](https://github.com/lynx-family/lynx-stack/commit/3bc017e8326f90faf4f75ba34986b2db7b285199), [`e2d349e`](https://github.com/lynx-family/lynx-stack/commit/e2d349e7de156a7edc4045ad14e4b93ed3176902), [`d924b6a`](https://github.com/lynx-family/lynx-stack/commit/d924b6a3bf3121ad45a62a832827aa39e634d5c3)]:
8
+ - @lynx-js/web-elements@0.11.2
9
+ - @lynx-js/web-worker-rpc@0.19.8
10
+
3
11
  ## 0.0.2
4
12
 
5
13
  ### Patch Changes
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_lynx_js_web_core_wasm=globalThis.webpackChunk_lynx_js_web_core_wasm||[]).push([["894"],{5834(e,t,i){i.d(t,{A:()=>c});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l),o=i(8047),s=a()(r());s.i(o.A),s.push([e.id,"[lynx-default-display-linear=false] *{--lynx-display:flex;--lynx-display-toggle:var(--lynx-display-flex)}[lynx-default-overflow-visible=true] x-view{overflow:visible}",""]);let c=s.toString()},8047(e,t,i){i.d(t,{A:()=>T});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l),o=i(3170),s=i(4727),c=i(7416),p=i(4478),x=i(7124),d=i(8031),h=i(5545),m=i(3156),u=i(3420),g=i(204),v=i(6712),f=i(2893),w=i(8693),y=i(6916),b=i(3388),_=i(9508),E=i(5308),k=a()(r());k.i(o.A),k.i(s.A),k.i(c.A),k.i(p.A),k.i(x.A),k.i(d.A),k.i(h.A),k.i(m.A),k.i(u.A),k.i(g.A),k.i(v.A),k.i(f.A),k.i(w.A),k.i(y.A),k.i(b.A),k.i(_.A),k.i(E.A),k.push([e.id,"",""]);let T=k.toString()},3170(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"@supports not ((content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex)){*{--lynx-display:linear;--lynx-linear-weight-sum:1;--lynx-linear-weight:0;--justify-content-column:flex-start;--justify-content-column-reverse:flex-start;--justify-content-row:flex-start;--justify-content-row-reverse:flex-start;--align-self-row:auto;--align-self-column:auto;--lynx-linear-weight-basis:auto;--lynx-linear-orientation:vertical;--flex-direction:row;--flex-grow:0;--flex-shrink:1;--flex-basis:auto;--justify-content:flex-start;--flex-wrap:nowrap;--align-self:auto}[lynx-computed-display=linear]{flex-direction:column;justify-content:flex-start;flex-wrap:nowrap!important}[lynx-computed-display=flex]{flex-direction:var(--flex-direction);justify-content:var(--justify-content);flex-wrap:var(--flex-wrap)}[lynx-computed-display=flex]>*,[lynx-computed-display=flex]>lynx-wrapper>*{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}[lynx-computed-display=linear]>*,[lynx-computed-display=linear]>lynx-wrapper>*{flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))))!important;flex-basis:var(--lynx-linear-weight-basis)!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]{justify-content:var(--justify-content-column);flex-direction:column!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]{justify-content:var(--justify-content-row);flex-direction:row!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]{justify-content:var(--justify-content-column-reverse);flex-direction:column-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]{justify-content:var(--justify-content-row-reverse);flex-direction:row-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse],[lynx-computed-display=linear][lynx-linear-orientation=vertical]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]>lynx-wrapper>*{align-self:var(--align-self-column)}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse],[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]>lynx-wrapper>*{align-self:var(--align-self-row)}}",""]);let o=a.toString()},7416(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}",""]);let o=a.toString()},7124(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"scroll-view{--lynx-display-toggle:var(--lynx-display-linear);flex-wrap:nowrap;flex-direction:var(--linear-flex-direction);justify-content:var(--linear-justify-content);scroll-timeline:--scroll-view-timeline;--lynx-display:linear!important;display:flex!important}scroll-view>*,scroll-view>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}scroll-view,scroll-view{scrollbar-width:none}scroll-view::-webkit-scrollbar{display:none}scroll-view::-webkit-scrollbar{display:none}scroll-view[enable-scrollbar],scroll-view[scroll-bar-enable]{scrollbar-width:initial}scroll-view[enable-scrollbar]::-webkit-scrollbar{display:initial}scroll-view[scroll-bar-enable]::-webkit-scrollbar{display:initial}scroll-view,scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation:vertical!important;flex-direction:column!important;overflow:clip scroll!important}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-horizontal);--lynx-linear-orientation:horizontal!important;flex-direction:row!important;overflow:scroll clip!important}scroll-view[scroll-orientation=both]{overflow:scroll!important}@supports not (overflow:clip){scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{overflow-x:hidden}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{overflow-y:hidden}}scroll-view[scroll-y][enable-scroll=false],scroll-view[scroll-orientation=vertical][enable-scroll=false]{overflow-y:hidden!important}scroll-view[scroll-x][enable-scroll=false],scroll-view[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}@supports (animation-timeline:--scroll-view-timeline){scroll-view[fading-edge-length]::part(top-fade-mask){animation-name:topFading;top:0}scroll-view[fading-edge-length]::part(bot-fade-mask){animation-name:botFading;bottom:0}scroll-view[fading-edge-length]::part(top-fade-mask),scroll-view[fading-edge-length]::part(bot-fade-mask){flex:none;animation-duration:1ms;animation-timeline:--scroll-view-timeline;display:flex;left:0}}scroll-view[x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[x-enable-scrolltoupper-event]::part(upper-threshold-observer){display:flex}scroll-view[scroll-y][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=vertical][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:column-reverse!important}scroll-view[scroll-x][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:row-reverse!important}",""]);let o=a.toString()},3156(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}",""]);let o=a.toString()},8031(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldview-ng::-webkit-scrollbar{display:none}x-foldview-ng[scroll-bar-enable]{scrollbar-width:initial}x-foldview-ng[scroll-bar-enable]::-webkit-scrollbar{display:initial}x-foldview-ng:not([scroll-bar-enable],[scroll-bar-enable=true])::-webkit-scrollbar{display:none}x-foldview-ng[scroll-enable=false]{overflow-y:hidden}x-foldview-ng>*,x-foldview-header-ng,x-foldview-slot-ng,x-foldview-toolbar-ng{display:none}x-foldview-ng>x-foldview-header-ng,x-foldview-ng>x-foldview-slot-ng,x-foldview-ng>x-foldview-toolbar-ng,x-foldview-ng>lynx-wrapper>x-foldview-header-ng,x-foldview-ng>lynx-wrapper>x-foldview-slot-ng,x-foldview-ng>lynx-wrapper>x-foldview-toolbar-ng{display:flex}x-foldview-toolbar-ng{z-index:1;order:1;position:sticky;top:0}x-foldview-header-ng{flex:none;order:2;position:absolute}x-foldview-ng[header-over-slot]>x-foldview-slot-ng,x-foldview-ng[header-over-slot]>lynx-wrapper>x-foldview-slot-ng{z-index:1}x-foldview-slot-ng{contain:strict;order:3}x-foldview-slot-ng scroll-view{overscroll-behavior-y:none}",""]);let o=a.toString()},204(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-image,filter-image{--justify-content:center;contain:strict;object-fit:fill;justify-content:center;align-items:center;flex-direction:row!important}x-image>*,filter-image>*{display:none}x-image[blur-radius]::part(img){--blur-radius:0;filter:blur(var(--blur-radius))}filter-image[blur-radius]::part(img),filter-image[drop-shadow]::part(img){--blur-radius:0;--drop-shadow:0px 0px;filter:blur(var(--blur-radius))drop-shadow(var(--drop-shadow))}x-image:not([auto-size])::part(img),filter-image::part(img){object-fit:inherit;flex:0 0 100%;align-self:stretch;width:100%}x-image[mode=aspectFit],filter-image[mode=aspectFit]{object-fit:contain}x-image[mode=aspectFill],filter-image[mode=aspectFill]{object-fit:cover}x-image[mode=center]:not([auto-size])::part(img),filter-image[mode=center]::part(img){width:unset;flex:unset;align-self:unset;margin:auto;position:absolute}x-image[auto-size]{display:contents}x-image[auto-size]::part(img){margin:inherit;padding:inherit;width:inherit;height:inherit;box-sizing:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;position:inherit;top:inherit;left:inherit;right:inherit;bottom:inherit;transform:inherit;opacity:inherit;z-index:inherit;filter:inherit}",""]);let o=a.toString()},6712(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-input{font-size:14px;display:contents!important}x-input::part(form){display:contents}x-input::part(input),x-input::part(form){width:inherit;height:inherit;border:inherit;align-self:inherit;justify-self:inherit;text-align:inherit;direction:inherit;caret-color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;flex:inherit;background-color:inherit;z-index:inherit;margin:inherit;color:inherit}x-input::part(input){--placeholder-color:grey;--placeholder-font-weight:normal}x-input::part(input)::placeholder{color:var(--placeholder-color);font-family:var(--placeholder-font-family);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight)}",""]);let o=a.toString()},9508(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-list{contain:layout;scrollbar-width:none;--list-item-sticky-offset:0;--list-item-span-count:0;--list-main-axis-gap:0px;--list-cross-axis-gap:0px;container-type:size}x-list>:not(list-item){display:none}x-list::part(content),x-list[list-type=waterfall]::part(waterfall-content){justify-content:inherit;background-color:inherit;flex-wrap:nowrap;flex:none;flex-direction:inherit;scrollbar-width:inherit;scroll-snap-type:inherit;scroll-snap-align:start;width:100%;height:100%;overflow:inherit;content-visibility:auto;row-gap:inherit;column-gap:inherit;display:flex;position:relative}x-list::part(content),x-list::part(slot){--lynx-display:inherit}x-list,x-list::part(content){scrollbar-width:none}x-list::-webkit-scrollbar{display:none}x-list::part(content)::-webkit-scrollbar{display:none}x-list[scrollbar-enable]::part(content){scrollbar-width:initial}x-list[scrollbar-enable]::part(content)::-webkit-scrollbar{display:initial}list-item{content-visibility:auto;contain:layout paint;contain-intrinsic-size:none auto var(--estimated-main-axis-size-px,100cqh);display:none;position:static;flex:none!important}list-item[recyclable=false]{content-visibility:visible;contain:initial}x-list[scroll-orientation=horizontal] list-item{contain-intrinsic-size:auto var(--estimated-main-axis-size-px,100cqw)none}x-list>list-item,x-list>lynx-wrapper>list-item{display:flex}x-list{overflow:clip scroll!important}x-list[scroll-orientation=horizontal]{overflow:scroll clip!important}x-list[enable-scroll=false]{overflow-y:hidden!important}x-list[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}x-list[sticky=true] list-item[sticky-top],x-list[sticky=true] list-item[sticky-bottom]{z-index:1;position:sticky}x-list[sticky=true]>list-item[sticky-top],x-list[sticky=true]>lynx-wrapper>list-item[sticky-top]{top:var(--list-item-sticky-offset)}x-list[sticky=true]>list-item[sticky-bottom],x-list[sticky=true]>lynx-wrapper>list-item[sticky-bottom]{bottom:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-top],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-top]{top:unset;left:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-bottom],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-bottom]{bottom:unset;right:var(--list-item-sticky-offset)}x-list[item-snap],x-list[paging-enabled]{scroll-snap-type:y mandatory;scroll-snap-stop:always}x-list[item-snap][scroll-orientation=horizontal],x-list[paging-enabled][scroll-orientation=horizontal]{scroll-snap-type:x mandatory}x-list[item-snap]>list-item,x-list[item-snap]>lynx-wrapper>list-item{scroll-snap-align:start}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){display:flex}x-list::part(lower-threshold-observer){flex-direction:column-reverse}x-list[vertical-orientation=false]::part(lower-threshold-observer){flex-direction:row-reverse}x-list{align-items:stretch;row-gap:var(--list-main-axis-gap);column-gap:var(--list-cross-axis-gap);flex-direction:column;display:flex}x-list[scroll-orientation=horizontal]{row-gap:var(--list-cross-axis-gap);column-gap:var(--list-main-axis-gap);flex-direction:row}x-list[list-type=flow]::part(content){grid-template-columns:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-main-axis-gap);grid-column-gap:var(--list-cross-axis-gap);grid-auto-rows:min-content;place-items:start stretch;display:grid}x-list[list-type=flow][scroll-orientation=horizontal]::part(content){grid-template-rows:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-cross-axis-gap);grid-column-gap:var(--list-main-axis-gap);grid-auto-columns:min-content;grid-auto-flow:column;place-items:stretch start}x-list[list-type=flow] list-item[full-span]:not([full-span=false]){grid-column-start:1;grid-column-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){grid-row-start:1;grid-row-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-column:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-row:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=waterfall]{flex-direction:column;display:flex}x-list[list-type=waterfall][scroll-orientation=horizontal]{flex-direction:row}x-list[list-type=waterfall]::part(slot){visibility:hidden}x-list[list-type=waterfall] list-item{width:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count));height:fit-content;position:absolute}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item{width:fit-content;height:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count))}x-list[list-type=waterfall] list-item[full-span]:not([full-span=false]){width:100%;height:fit-content}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){width:fit-content;height:100%}x-list[list-type=waterfall]::part(upper-threshold-observer),x-list[list-type=waterfall]::part(lower-threshold-observer){position:absolute}x-list[list-type=waterfall]::part(lower-threshold-observer){bottom:-999px}x-list[list-type=waterfall][scroll-orientation=horizontal]::part(lower-threshold-observer){bottom:unset;right:-999px}",""]);let o=a.toString()},2893(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'x-overlay-ng::part(dialog){background:0 0;border:0;outline:none;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0}x-overlay-ng{contain:strict;width:0;max-width:0;max-height:0;display:contents;position:fixed;top:0;overflow:visible}x-overlay-ng>:not(:first-child){display:none!important}x-overlay-ng>:first-child,x-overlay-ng>lynx-wrapper>:first-child{display:flex;position:absolute;top:0;left:0}x-overlay-ng [event-through]{pointer-events:none}x-overlay-ng:not([level]),x-overlay-ng[level="1"]{z-index:4}x-overlay-ng[level="2"]{z-index:3}x-overlay-ng[level="3"]{z-index:2}x-overlay-ng[level="4"]{z-index:1}',""]);let o=a.toString()},8693(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-refresh-header,x-refresh-footer{display:none}x-refresh-view{box-sizing:border-box;border-style:solid;border-width:0;flex-direction:column;flex-grow:0;flex-shrink:1;min-width:0;min-height:0;display:flex;position:relative}x-refresh-view::part(container),x-refresh-view::part(content),x-refresh-view::part(slot){--lynx-display:inherit}x-refresh-view:not([enable-refresh=false])>x-refresh-header:first-of-type{scroll-snap-align:none;flex-shrink:0;display:flex;position:relative!important}x-refresh-view[enable-refresh=false]::part(placeholder-top){display:none}x-refresh-view>x-refresh-header[x-magnet-enable]:first-of-type{scroll-snap-align:start!important}x-refresh-view>x-refresh-footer[x-magnet-enable]:first-of-type{scroll-snap-align:end!important}x-refresh-view:not([enable-loadmore=false])>x-refresh-footer:first-of-type{scroll-snap-align:none;flex-shrink:0;margin-top:auto;display:flex;position:relative!important}x-refresh-view[enable-loadmore=false]::part(placeholder-bot){display:none}",""]);let o=a.toString()},3420(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-svg{contain:content;display:flex}x-svg::part(img){width:inherit;height:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;filter:inherit}",""]);let o=a.toString()},6916(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'x-swiper{scroll-snap-type:x mandatory;scrollbar-width:none;contain:content;timeline-scope:--x-swiper-item-0,--x-swiper-item-1,--x-swiper-item-2,--x-swiper-item-3,--x-swiper-item-4;flex-direction:row;justify-content:flex-start;display:flex;overflow:scroll clip;flex-wrap:nowrap!important}x-swiper::part(content){--page-margin:0px;--next-margin:0px;--previous-margin:0px}x-swiper,x-swiper::part(content),x-swiper::part(slot),x-swiper::part(slot-start),x-swiper::part(slot-end){--lynx-display:linear;--lynx-display-toggle:var(--lynx-display-linear)}x-swiper>*,x-swiper>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}x-swiper::-webkit-scrollbar{display:none}x-swiper[vertical]{scroll-snap-type:y mandatory;--lynx-linear-orientation:vertical;--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);overflow:clip scroll;flex-direction:column!important}x-swiper[bounces]:not([circular])::part(bounce-padding){display:initial}x-swiper-item{scroll-snap-align:start;animation-duration:10ms;flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum))!important;flex-basis:var(--lynx-linear-weight-basis)!important}x-swiper-item:nth-child(n+20){contain:strict;content-visibility:auto}x-swiper-item:first-child{view-timeline-name:--x-swiper-item-0}x-swiper-item:nth-child(2){view-timeline-name:--x-swiper-item-1}x-swiper-item:nth-child(3){view-timeline-name:--x-swiper-item-2}x-swiper-item:nth-child(4){view-timeline-name:--x-swiper-item-3}x-swiper-item:nth-child(5){view-timeline-name:--x-swiper-item-4}x-swiper>:not(x-swiper-item){display:none}x-swiper>x-swiper-item{view-timeline-axis:inline;height:100%;animation-timeline:view(inline);width:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[vertical]>x-swiper-item{view-timeline-axis:block;width:100%;animation-timeline:view();height:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[circular]{scroll-snap-type:none;overflow:hidden clip}x-swiper[circular][vertical]{overflow:clip hidden}x-swiper[indicator-dots]::part(indicator-container){display:none}x-swiper::part(indicator-container){--indicator-size:.6rem;--indicator-container-margin:.5rem;z-index:100;width:100%;height:var(--indicator-size);contain:strict;margin-bottom:var(--indicator-container-margin);--indicator-color:#ffffff4d;--indicator-active-color:white;flex-direction:row;justify-content:center;align-items:stretch;display:flex;position:absolute;bottom:0;left:0;overflow:clip}x-swiper[vertical]::part(indicator-container){left:unset;height:100%;width:var(--indicator-size);margin-bottom:0;margin-right:var(--indicator-container-margin);flex-direction:column;top:0;right:0}x-swiper::part(indicator-item){background-color:var(--indicator-color);flex:0 0 var(--indicator-size);margin:0 calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5);border-radius:100%}x-swiper[vertical]::part(indicator-item){margin:calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5)0}x-swiper[mode=carousel]:not([vertical])>x-swiper-item{width:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel][vertical]>x-swiper-item{height:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel]:not([circular])>x-swiper-item:last-child{margin-right:20%}@media screen and (-webkit-min-device-pixel-ratio:0){x-swiper[mode=carousel]::part(content):after{content:"";padding-right:20%}}x-swiper[mode=coverflow]::part(content){perspective:200px}x-swiper[mode=coverflow]>x-swiper-item{scroll-snap-align:center;transform-style:preserve-3d;z-index:0;animation-name:x-swiper-coverflow}x-swiper[mode=coverflow]:not([vertical])>x-swiper-item{animation-name:x-swiper-coverflow-horizontal;width:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow][vertical]>x-swiper-item{animation-name:x-swiper-coverflow-vertical;height:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}@keyframes x-swiper-coverflow-horizontal{25%{transform:rotateY(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateY(0)scale(1)}to{transform:rotateY(40deg)scale(.8)}}@keyframes x-swiper-coverflow-vertical{25%{transform:rotateX(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateX(0)scale(1)}to{transform:rotateX(40deg)scale(.8)}}x-swiper[mode=flat-coverflow]>x-swiper-item{scroll-snap-align:center}x-swiper[mode=flat-coverflow]:not([vertical])>x-swiper-item{width:60%!important}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=flat-coverflow][vertical]>x-swiper-item{height:60%!important}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}x-swiper[mode=carry]>x-swiper-item{scroll-snap-align:center;animation-name:x-swiper-carry;width:100%!important}@keyframes x-swiper-carry{0%{transform:scale(.6)}45%,55%{z-index:1;transform:scale(1)}to{transform:scale(.6)}}',""]);let o=a.toString()},4478(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'x-text{overflow-wrap:break-word;background-image:var(--lynx-text-bg-color);color:initial;align-items:stretch;display:flex}x-text>x-text,x-text>lynx-wrapper>x-text{color:inherit}x-text:not(x-text>x-text):not(x-text>lynx-wrapper>x-text){--lynx-text-bg-color:initial}x-text>*{display:none}x-text::part(inner-box){text-overflow:inherit;--lynx-text-bg-color:inherit}x-text>x-text::part(inner-box),x-text>lynx-wrapper>x-text::part(inner-box){display:contents!important}x-text::part(inner-box),inline-text,x-text::part(slot){background-clip:inherit;-webkit-background-clip:inherit}inline-text,inline-image,inline-truncation{display:none}x-text>x-text,x-text>inline-text,inline-text>inline-text,inline-truncation>inline-text,inline-truncation>x-text,x-text>lynx-wrapper>x-text,x-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>x-text,inline-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>*,inline-truncation>lynx-wrapper>inline-text,inline-truncation>lynx-wrapper>x-text{background-clip:inherit;-webkit-background-clip:inherit;display:inline}x-text>inline-image,x-text>x-image,inline-truncation>inline-image,inline-truncation>x-image,inline-text>inline-image,inline-text>x-image,x-text>lynx-wrapper>inline-image,x-text>lynx-wrapper>x-image,inline-truncation>lynx-wrapper>inline-image,inline-truncation>lynx-wrapper>x-image,inline-text>lynx-wrapper>inline-image,inline-text>lynx-wrapper>x-image{display:contents!important}x-text>x-view,x-text>lynx-wrapper>x-view{display:inline-flex!important}x-text>x-view,x-text[x-show-inline-truncation]>inline-truncation,x-text>lynx-wrapper>x-view,x-text[x-show-inline-truncation]>lynx-wrapper>inline-truncation{display:inline-flex}x-text>inline-truncation:first-child,x-text>lynx-wrapper>inline-truncation:first-child{max-width:100%}inline-truncation~inline-truncation{display:none}inline-truncation[x-text-clipped]{flex-direction:row}inline-image::part(img){height:inherit;width:inherit;border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;display:inline-block}x-text>x-image::part(img),x-text>lynx-wrapper>x-image::part(img),inline-truncation>x-image::part(img),inline-truncation>lynx-wrapper>x-image::part(img){border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;object-fit:inherit;display:inline-block;height:inherit!important;width:inherit!important;flex:inherit!important;align-self:inherit!important}x-text,inline-text,inline-image,inline-truncation{-webkit-user-select:none;user-select:none}x-text::part(inner-box){width:100%;height:100%;overflow:inherit}x-text[text-maxline]{overflow:hidden}x-text[text-selection],x-text[text-selection]>inline-text,x-text[text-selection]>x-text,x-text[text-selection]>inline-image,x-text[text-selection]>x-image,x-text[text-selection]>inline-truncation,x-text[text-selection]>lynx-wrapper>inline-text,x-text[text-selection]>lynx-wrapper>x-text,x-text[text-selection]>lynx-wrapper>inline-image,x-text[text-selection]>lynx-wrapper>x-image,x-text[text-selection]>lynx-wrapper>inline-truncation{-webkit-user-select:auto;user-select:auto}x-text[x-text-clipped]>[x-text-clipped]:not(inline-truncation),x-text[x-text-clipped]>lynx-wrapper>[x-text-clipped]:not(inline-truncation){display:none!important}x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after,x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after{content:"..."}x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[text-maxline]::part(inner-box){-webkit-box-orient:vertical;display:-webkit-box}x-text[text-maxline="0"]{display:none}@supports not selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false]):not([x-text-custom-overflow])::part(inner-box){white-space:nowrap;text-overflow:ellipsis}}@supports selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false],:has(inline-truncation))::part(inner-box){text-wrap:nowrap;white-space:nowrap;text-overflow:ellipsis}}x-text[text-maxline="1"]{max-width:-moz-available;max-width:-webkit-fill-available}x-text[text-maxline="1"]:not([tail-color-convert=false])::part(inner-box){display:block}x-text[text-maxline][x-text-custom-overflow]::part(inner-box),x-text[text-maxline][tail-color-convert=false]::part(inner-box){display:block!important}x-text[text-maxline]:has(inline-truncation)::part(inner-box){display:block!important}raw-text{white-space-collapse:preserve-breaks;display:none}x-text>raw-text,inline-text>raw-text,x-text>lynx-wrapper>raw-text,inline-text>lynx-wrapper>raw-text{display:contents!important}raw-text:not(:defined):before{content:attr(text);display:contents}x-text:not(:has(x-text,raw-text)):not(:defined):before{content:attr(text);display:contents}',""]);let o=a.toString()},3388(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-textarea{font-size:14px;display:contents}x-textarea::part(form){display:contents}x-textarea::part(textarea),x-textarea::part(form){width:inherit;height:inherit;font-family:inherit;font-size:inherit;line-height:inherit;flex:inherit;border:inherit;padding:inherit;margin:inherit;caret-color:inherit;direction:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;outline:inherit;background-color:inherit;color:inherit}x-textarea::part(textarea){--placeholder-color:grey;--placeholder-font-weight:normal;--placeholder-font-family:inherit;resize:none}x-textarea::part(textarea)::placeholder{color:var(--placeholder-color);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight);font-family:var(--placeholder-font-family)}",""]);let o=a.toString()},5545(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-viewpager-ng,x-viewpager-item-ng{display:none}x-viewpager-ng,x-viewpager-ng>x-viewpager-item-ng,x-viewpager-ng>lynx-wrapper>x-viewpager-item-ng{display:flex}x-viewpager-ng{contain:content;scrollbar-width:0;--lynx-linear-orientation:horizontal;scroll-snap-type:x mandatory;scroll-snap-stop:always;flex-direction:row;width:100%;height:100%;overflow:scroll clip}x-viewpager-ng[allow-horizontal-gesture=false],x-viewpager-ng[enable-scroll=false]{overflow-x:hidden}x-viewpager-ng::-webkit-scrollbar{display:none}x-viewpager-ng::part(content){scroll-snap-align:start}x-viewpager-ng[bounces]::part(bounce-padding){display:flex}@supports not (overflow:clip){x-viewpager-ng{overflow-y:hidden}}x-viewpager-item-ng{contain:content;--flex-grow:0;--flex-shrink:0;--flex-basis:auto;scroll-snap-align:start;scroll-snap-stop:always;flex:none;width:100%;height:100%;position:relative!important}x-viewpager-item-ng:nth-child(n+5){contain:strict}",""]);let o=a.toString()},5308(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-webview{flex-direction:column;display:flex;overflow:hidden}",""]);let o=a.toString()},4727(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'@property --lynx-display{syntax:"linear|flex";inherits:false;initial-value:linear}@property --lynx-linear-weight-sum{syntax:"<number>";inherits:false;initial-value:1}@property --lynx-linear-weight{syntax:"<number>";inherits:false;initial-value:0}@property --justify-content-column{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-column-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --align-self-row{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --align-self-column{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --lynx-linear-weight-basis{syntax:"auto|<number>|<length>";inherits:false;initial-value:auto}@property --lynx-linear-orientation{syntax:"<custom-ident>";inherits:false;initial-value:vertical}@property --flex-direction{syntax:"*";inherits:false}@property --flex-wrap{syntax:"*";inherits:false}@property --flex-grow{syntax:"<number>";inherits:false;initial-value:0}@property --flex-shrink{syntax:"<number>";inherits:false;initial-value:1}@property --flex-basis{syntax:"*";inherits:false;initial-value:auto}@property --flex-value{syntax:"*";inherits:false}@property --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{box-sizing:border-box;scrollbar-width:none;border-style:solid;border-width:0;min-width:0;min-height:0;display:flex;position:relative;overflow:clip}x-view::--webkit-scrollbar{display:none}x-view,scroll-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{--lynx-display-toggle:var(--lynx-display-linear);--lynx-display-linear:var(--lynx-display-toggle,);--lynx-display-flex:var(--lynx-display-toggle,);--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation-horizontal:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-vertical:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-horizontal-reverse:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical-reverse:var(--lynx-linear-orientation-toggle, );--linear-flex-direction:var(--lynx-linear-orientation-horizontal,row)var(--lynx-linear-orientation-vertical,column)var(--lynx-linear-orientation-horizontal-reverse,row-reverse)var(--lynx-linear-orientation-vertical-reverse,column-reverse);--linear-justify-content:var(--lynx-linear-orientation-horizontal,var(--justify-content-row))var(--lynx-linear-orientation-vertical,var(--justify-content-column))var(--lynx-linear-orientation-horizontal-reverse,var(--justify-content-row-reverse))var(--lynx-linear-orientation-vertical-reverse,var(--justify-content-column-reverse))}x-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{flex-wrap:var(--lynx-display-linear,nowrap)var(--lynx-display-flex,var(--flex-wrap));flex-direction:var(--lynx-display-linear,var(--linear-flex-direction))var(--lynx-display-flex,var(--flex-direction));justify-content:var(--lynx-display-linear,var(--linear-justify-content))}@supports (content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex){@container style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))));flex-basis:var(--lynx-linear-weight-basis)}}@container not style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:vertical) or style(--lynx-linear-orientation:vertical-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-column)}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:horizontal) or style(--lynx-linear-orientation:horizontal-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-row)}}}',""]);let o=a.toString()},1391(e,t,i){i.d(t,{t:()=>n});class n extends EventTarget{#e;constructor(e){super(),this.#e=e}postMessage(...e){console.error("[lynx-web] postMessage not implemented, args:",...e)}dispatchEvent(e){let{rpc:t,sendEventEndpoint:i}=this.#e;return t.invoke(i,[e]),3}__start(){let{rpc:e,receiveEventEndpoint:t}=this.#e;e.registerHandler(t,({type:e,data:t})=>{super.dispatchEvent(new MessageEvent(e,{data:t??{}}))})}}},7103(e,t,i){i.d(t,{F0:()=>j,F6:()=>w,Is:()=>T,JW:()=>l,Ke:()=>r,PC:()=>m,PM:()=>f,Sy:()=>E,VK:()=>v,Ve:()=>o,ZU:()=>u,a$:()=>p,bd:()=>z,eZ:()=>a,g:()=>g,gx:()=>_,hO:()=>s,hh:()=>c,iH:()=>d,jK:()=>k,mB:()=>A,nk:()=>S,o2:()=>x,pT:()=>y,vn:()=>I,vr:()=>b,yn:()=>C,zk:()=>h});var n=i(9282);let r=(0,n.H)("publicComponentEvent",!1,!1),l=(0,n.H)("publishEvent",!1,!1),a=(0,n.H)("switchExposureServiceEndpoint",!1,!1),o=(0,n.H)("updateData",!1,!0),s=(0,n.H)("sendGlobalEventEndpoint",!1,!1),c=(0,n.H)("dispose",!1,!0),p=(0,n.H)("start",!1,!0),x=(0,n.H)("reportError",!1,!1),d=(0,n.H)("callLepusMethod",!1,!0),h=(0,n.H)("__invokeUIMethod",!1,!0),m=(0,n.H)("__setNativeProps",!1,!0),u=(0,n.H)("__getPathInfo",!1,!0),g=(0,n.H)("nativeModulesCall",!1,!0),v=(0,n.H)("napiModulesCall",!1,!0,!0);(0,n.H)("getCustomSections",!1,!0);let f=(0,n.H)("markTiming",!1,!1),w=(0,n.H)("postTimingFlags",!1,!1),y=(0,n.H)("__triggerComponentEvent",!1,!1),b=(0,n.H)("__selectComponent",!1,!0),_=(0,n.H)("dispatchLynxViewEvent",!1,!1),E=(0,n.H)("dispatchNapiModule",!1,!1),k=(0,n.H)("dispatchCoreContextOnBackground",!1,!1),T=(0,n.H)("dispatchJSContextOnMainThread",!1,!1),I=(0,n.H)("__triggerElementMethod",!1,!1),C=(0,n.H)("updateGlobalProps",!1,!1);(0,n.H)("updateI18nResources",!1,!1);let A=(0,n.H)("dispatchI18nResource",!1,!1),S=(0,n.H)("queryComponent",!1,!0),z=(0,n.H)("updateBTSChunkEndpoint",!1,!0),j=(0,n.H)("reload",!1,!1)},9531(e,t,i){i.a(e,async function(e,n){try{i.d(t,{D:()=>y});var r,l=i(8239),a=i(7103),o=i(1391),s=i(3764),c=i(447),p=i(3603),x=i(5885),d=i(1617),h=i(1311),m=i(2698),u=i(6173),g=i(2580),v=i(4333),f=e([s]);function w(){return new Worker(new URL(i.p+i.u("97"),i.b),Object.assign({},{type:"module",name:"lynx-bg"},{type:void 0}))}s=(f.then?(await f)():f)[0],r=Symbol.asyncDispose;class y{static contextIdToBackgroundWorker=[];#t;#i;#n=null;#r=[];#l;jsContext;postTimingFlags;sendGlobalEvent;publicComponentEvent;publishEvent;dispatchI18nResource;updateData;updateGlobalProps;updateBTSChunk;#a;#o;#s;#c;#p=!1;constructor(e,t){this.#a=e,this.#o=t;const i=new l.C(void 0,"main-to-bg");this.#t=i,this.jsContext=new o.t({rpc:this.#t,receiveEventEndpoint:a.Is,sendEventEndpoint:a.jK}),this.#s=new Promise(e=>{this.#c=e}),this.jsContext.__start(),this.#l=this.#t.createCall(a.PM),this.postTimingFlags=this.#t.createCall(a.F6),this.sendGlobalEvent=this.#t.createCall(a.hO),this.publicComponentEvent=this.#t.createCall(a.Ke),this.publishEvent=this.#t.createCall(a.JW),this.dispatchI18nResource=this.#t.createCall(a.mB),this.updateData=this.#t.createCall(a.Ve),this.updateGlobalProps=this.#t.createCall(a.yn),this.updateBTSChunk=this.#t.createCall(a.bd)}startWebWorker(e,t,i,n,r,l){if(this.#i)return;if(void 0!==this.#a){let e=y.contextIdToBackgroundWorker[this.#a];e?e.runningCards+=1:y.contextIdToBackgroundWorker[this.#a]={worker:w(),runningCards:1},this.#i=y.contextIdToBackgroundWorker[this.#a].worker}else this.#i=w();let a=new MessageChannel;this.#i.postMessage({mainThreadMessagePort:a.port2,systemInfo:s.systemInfo,initData:e,globalProps:t,cardType:i,customSections:n,nativeModulesMap:r,napiModulesMap:l,entryTemplateUrl:this.#o.templateUrl},[a.port2]),this.#t.setMessagePort(a.port1)}startBTS(){this.#p||(this.#p=!0,this.#t.registerHandler(a.iH,(e,t)=>{let i=this.#o.mainThreadGlobalThis[e];"function"==typeof i?i.call(this.#o.mainThreadGlobalThis,t):console.error(`Method ${e} not found on mainThreadGlobalThis`)}),this.#t.registerHandler(a.eZ,this.#o.exposureServices.switchExposureService.bind(this.#o.exposureServices)),this.#t.registerHandler(a.o2,(e,t,i)=>{this.#o.reportError(e,i,"app-service.js")}),this.#t.registerHandler(a.gx,(e,t)=>{this.#o.rootDom.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0,composed:!0}))}),this.#t.registerHandler(a.nk,e=>this.#o.queryComponent(e).then(()=>(this.jsContext.dispatchEvent({type:"__OnDynamicJSSourcePrepared",data:e}),{code:0,detail:{schema:e}}))),(0,v.p)(this.#t,this.#o),(0,x.l)(this.#t,this.#o),(0,c.l)(this.#t,this.#o),(0,u.v)(this.#t,this.#o),(0,g.U)(this.#t,this.#o),(0,d.t)(this.#t,this.#o),(0,p.r)(this.#t,this.#o),(0,h.J)(this.#t,this.#o),(0,m.M)(this.#t,this.#o),this.#t.invoke(a.a$,[]).then(this.#c))}markTiming(e,t,i){this.#r.push({timingKey:e,pipelineId:t,timeStamp:i??performance.now()+performance.timeOrigin}),null===this.#n&&(this.#n=setTimeout(()=>{this.flushTimingInfo()},500))}flushTimingInfo(){this.#l(this.#r),this.#r=[],null!==this.#n&&(clearTimeout(this.#n),this.#n=null)}async [r](){if(await this.#s,await this.#t.invoke(a.hh,[]),void 0!==this.#a){let e=y.contextIdToBackgroundWorker[this.#a];e&&(e.runningCards-=1,0===e.runningCards&&(e.worker.terminate(),y.contextIdToBackgroundWorker[this.#a]=void 0))}else this.#i?.terminate();this.#n&&clearTimeout(this.#n)}}n()}catch(e){n(e)}})},42(e,t,i){i.d(t,{_:()=>l});var n=i(1180);function r(e,t,i){if(t){if((t=t.trim()).endsWith("px"))return Number(t.substring(0,t.length-2));if(t.endsWith("%")){let n=Number(t.substring(0,t.length-1)),{width:r,height:l}=e.getBoundingClientRect();return(i?r:l)*n/100}}return 0}class l{#x=new Map;#d=new Map;#h=[];#m=[];#u=null;#g=new Set;#v=!0;#o;constructor(e){this.#o=e}updateExposureStatus(e,t){for(let t of new Set(e).values())this.#x.has(t)&&this.#f(t),this.#w(t);for(let e of new Set(t).values())this.#f(e)}#y=e=>{e.forEach(({target:e,isIntersecting:t})=>{t&&!this.#g.has(e)?(this.#b(e,!0,null,!0),this.#g.add(e)):!t&&this.#g.has(e)&&(this.#b(e,!1,null,!0),this.#g.delete(e))})};#f(e){let t=this.#x.get(e);if(t){let i=this.#d.get(e);t.unobserve(e),t.disconnect(),this.#x.delete(e),this.#d.delete(e);let n=e.getAttribute("exposure-id");null!=i&&n!==i&&this.#b(e,!1,i,!1)}this.#g.delete(e)}#w(e){let t=parseFloat(e.getAttribute("exposure-area")??"0")/100,i=r(e,e.getAttribute("exposure-screen-margin-top")),l=r(e,e.getAttribute("exposure-screen-margin-right")),a=r(e,e.getAttribute("exposure-screen-margin-bottom")),o=r(e,e.getAttribute("exposure-screen-margin-left")),s=r(e,e.getAttribute("exposure-ui-margin-top")),c=r(e,e.getAttribute("exposure-ui-margin-right")),p=r(e,e.getAttribute("exposure-ui-margin-bottom")),x=r(e,e.getAttribute("exposure-ui-margin-left")),d=e.parentElement;for(;d;)if(d[n.li]){d=d[n.li];break}else d=d.parentElement;let h=d??this.#o.rootDom.parentElement,m=new IntersectionObserver(this.#y,{rootMargin:`${(p?-1:1)*(i-p)}px ${(x?-1:1)*(l-x)}px ${(s?-1:1)*(a-s)}px ${(c?-1:1)*(o-c)}px`,root:h,threshold:t});m.observe(e),this.#x.set(e,m);let u=e.getAttribute("exposure-id");null!=u&&this.#d.set(e,u)}#b(e,t,i,n){i=i??e.getAttribute("exposure-id");let r=e.getAttribute("exposure-scene")??"",l={"unique-id":this.#o.mainThreadGlobalThis.__GetElementUniqueID(e),exposureID:i,exposureScene:r,"exposure-id":i,"exposure-scene":r};if(n){let i=new CustomEvent(t?"uiappear":"uidisappear",{bubbles:!1,composed:!1,cancelable:!0,detail:l});e.dispatchEvent(i)}let a=this.#o.mtsWasmBinding.generateTargetObject(e,this.#o.mainThreadGlobalThis.__GetDataset(e)??{}),o={dataset:a.dataset,...l,type:t?"exposure":"disexposure",target:a,currentTarget:a,detail:{...l,"unique-id":0},timestamp:Date.now()};t?this.#h.push(o):this.#m.push(o),this.#u||(this.#u=setTimeout(()=>{if(this.#h.length>0||this.#m.length>0){let e=this.#h,t=this.#m;this.#h=[],this.#m=[],e.length>0&&this.#o.backgroundThread?.sendGlobalEvent("exposure",[e]),t.length>0&&this.#o.backgroundThread?.sendGlobalEvent("disexposure",[t])}this.#u=null},50))}switchExposureService(e,t){e&&!this.#v?this.#g.forEach(e=>{this.#b(e,!0,e.getAttribute("exposure-id"),!1)}):!e&&this.#v&&t&&this.#g.forEach(e=>{this.#b(e,!1,e.getAttribute("exposure-id"),!1)}),this.#v=e}}},7867(e,t,i){i.d(t,{S:()=>l});var n=i(1180);let r=e=>`${e.locale}_${e.channel}_${e.fallback_url}`;class l{#_;#E;#k;constructor(e,t,i=[]){this.#_=e,this.#E=t,this.#k=i}updateData(e,t){this.#k=this.#k.concat(e);let i=e.find(e=>r(e.options)===r(t));this.#_.dispatchI18nResource(i?.resource)}_I18nResourceTranslation=e=>{let t=this.#k?.find(t=>r(t.options)===r(e));if(this.#_.dispatchI18nResource(t?.resource),t)return t.resource;this.#T(e)};#T(e){let t=new CustomEvent(n.hv,{detail:e,bubbles:!0,composed:!0});this.#E.dispatchEvent(t)}}},3764(e,t,i){i.a(e,async function(e,n){try{i.r(t),i.d(t,{LynxViewInstance:()=>y,systemInfo:()=>w});var r,l=i(1180),a=i(9531),o=i(7867),s=i(6466),c=i(42),p=i(5341),x=i(7300),d=i(6658),h=i(3438),m=i(9521),u=e([a,p,x,m]);[a,p,x,m]=u.then?(await u)():u;let g=window.devicePixelRatio,v=window.screen.availWidth*g,f=window.screen.availHeight*g,w=Object.freeze({...l.RM,pixelRatio:g,pixelWidth:v,pixelHeight:f});r=Symbol.asyncDispose;class y{parentDom;initData;globalprops;templateUrl;rootDom;mtsRealm;mainThreadGlobalThis;mtsWasmBinding;backgroundThread;i18nManager;exposureServices;webElementsLoadingPromises=[];styleReadyPromise;styleReadyResolve;#I=null;#C=new Map;#A;#S;#z;lepusCodeUrls=new Map;constructor(e,t,i,n,r,l,p,x={},d={},h){let m;this.parentDom=e,this.initData=t,this.globalprops=i,this.templateUrl=n,this.rootDom=r,this.mtsRealm=l,this.#S=x,this.#z=d;const u=new Promise(e=>{m=e});this.styleReadyPromise=u,this.styleReadyResolve=m,this.parentDom.style.display="none",this.mainThreadGlobalThis=l.globalWindow,this.backgroundThread=new a.D(p,this),this.i18nManager=new o.S(this.backgroundThread,this.rootDom,h),this.mtsWasmBinding=new s.p(this),this.exposureServices=new c._(this),this.backgroundThread.markTiming("create_lynx_start")}onPageConfigReady(e){if(this.#A)return;this.#A=e;let t="true"==e.enableCSSSelector,i="true"==e.defaultDisplayLinear,n="true"==e.defaultOverflowVisible;Object.assign(this.mtsRealm.globalWindow,(0,p.b)(this.rootDom,this.mtsWasmBinding,t,i,n),(0,x.O)(this)),Object.defineProperty(this.mainThreadGlobalThis,"renderPage",{get:()=>this.#I,set:e=>{this.#I=e,this.onMTSScriptsExecuted()},configurable:!0,enumerable:!0})}onStyleInfoReady(e){this.mtsWasmBinding.wasmContext&&this.mtsWasmBinding.wasmContext.push_style_sheet(m.templateManagerWasm,e,this.templateUrl===e),this.parentDom.style.display="flex",this.styleReadyResolve()}onMTSScriptsLoaded(e,t){this.backgroundThread.markTiming("lepus_execute_start");let i=d.Q.getTemplate(e)?.lepusCode;this.lepusCodeUrls.set(e,i),t||this.mtsRealm.loadScript(i.root)}async onMTSScriptsExecuted(){this.backgroundThread.markTiming("lepus_execute_end"),this.webElementsLoadingPromises.push((0,h.l)()),await Promise.all([...this.webElementsLoadingPromises,this.styleReadyPromise]),this.webElementsLoadingPromises.length=0,this.backgroundThread.markTiming("data_processor_start");let e=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData?.(this.initData):this.initData;this.backgroundThread.markTiming("data_processor_end"),this.backgroundThread.startWebWorker(e,this.globalprops,d.Q.getTemplate(this.templateUrl).config.cardType,d.Q.getTemplate(this.templateUrl)?.customSections,this.#S,this.#z),this.#I?.(e),this.mainThreadGlobalThis.__FlushElementTree()}async onBTSScriptsLoaded(e){let t=d.Q.getTemplate(e)?.backgroundCode;await this.backgroundThread.updateBTSChunk(e,t),this.backgroundThread.startBTS()}loadUnknownElement(e){e.includes("-")&&!customElements.get(e)&&(this.rootDom.dispatchEvent(new CustomEvent(l.u9,{detail:{tagName:e}})),this.webElementsLoadingPromises.push(customElements.whenDefined(e).then(()=>{})))}queryComponent(e){if(this.#C.has(e))return this.#C.get(e);let t=d.Q.fetchBundle(e,Promise.resolve(this),{enableCSSSelector:this.#A.enableCSSSelector}).then(async()=>{let t=this.lepusCodeUrls.get(e),i=t?.root;if(!i)throw Error(`[lynx-web] Missing root URL for component: ${e}`);let n=await this.mtsRealm.loadScript(i);return n=this.mainThreadGlobalThis.processEvalResult?.(n,e)});return this.#C.set(e,t),t}async updateData(e,t){let i=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData(e,t):e;this.mainThreadGlobalThis.updatePage?.(i,{processorName:t}),await this.backgroundThread.updateData(i,{processorName:t})}async updateGlobalProps(e){await this.backgroundThread.updateGlobalProps(e)}reportError(e,t,i){this.rootDom.dispatchEvent(new CustomEvent("error",{detail:{sourceMap:{offset:{line:2,col:0}},error:e,release:t,fileName:i},bubbles:!0,cancelable:!0,composed:!0}))}async [r](){await this.backgroundThread[Symbol.asyncDispose]()}}n()}catch(e){n(e)}})},7300(e,t,i){i.a(e,async function(e,n){try{i.d(t,{O:()=>o});var r=i(6658),l=i(3764),a=e([l]);function o(e){let t,i,n,a,o,s,c="";return{__globalProps:e.globalprops,SystemInfo:l.systemInfo,lynx:(t=requestAnimationFrame,i=cancelAnimationFrame,n=setTimeout,a=clearTimeout,o=setInterval,s=clearInterval,{getJSContext:()=>e.backgroundThread.jsContext,requestAnimationFrame:e=>t(e),cancelAnimationFrame:e=>i(e),__globalProps:e.globalprops,getCustomSectionSync:t=>r.Q.getTemplate(e.templateUrl)?.customSections?.[t]?.content,markPipelineTiming:e.backgroundThread.markTiming.bind(e.backgroundThread),SystemInfo:l.systemInfo,setTimeout:n,clearTimeout:a,setInterval:o,clearInterval:s}),__OnLifecycleEvent:t=>{e.backgroundThread.jsContext.dispatchEvent({type:"__OnLifecycleEvent",data:t})},__LoadLepusChunk:t=>{try{return t=e.lepusCodeUrls.get(e.templateUrl)?.[t]??t,e.mtsRealm.loadScriptSync(t),!0}catch(e){return console.error(`failed to load lepus chunk ${t}`,e),!1}},_AddEventListener:()=>{},_ReportError:(t,i)=>{e.reportError?.(t,c,"lepus.js")},_SetSourceMapRelease:e=>c=e?.release,_I18nResourceTranslation:e.i18nManager._I18nResourceTranslation.bind(e.i18nManager),__QueryComponent:(t,i)=>(e.queryComponent(t).then(e=>{i?.({code:0,data:{url:t,evalResult:e}})}),null)}}l=(a.then?(await a)():a)[0],n()}catch(e){n(e)}})},9104(e,t,i){function n(e,t,i,n,r,l,a,o){let s,c=e.rootDom;if(l){let t=e.mtsWasmBinding.getElementByUniqueId(l);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for root_unique_id: ${l}`),o?.(2);return}}else if(n){let t=e.mtsWasmBinding.getElementByComponentId(n);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for component_id: ${n}`),o?.(2);return}}if(0===t)s=i;else if(2===t){let t=e.mtsWasmBinding.getElementByUniqueId(Number(i));return t?void a(t):(console.error(`[lynx-web] cannot find dom for unique_id: ${i}`),o?.(2),void 0)}else{console.error(`[lynx-web] NYI: setnativeprops type ${t}`),o?.(1);return}if(r){let e=null;try{e=c.querySelector(s)}catch(e){console.error(`[lynx-web] cannot use selector: ${s}`),o?.(5);return}e?a(e):(console.error(`[lynx-web] cannot find from for selector ${i} under`,c),o?.(2))}else c.querySelectorAll(s).forEach(e=>{a(e)})}i.d(t,{A:()=>n}),i(1180)},5885(e,t,i){i.d(t,{l:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.ZU,(e,i,r,l,a)=>{let o,s=1;return(0,n.A)(t,e,i,r,l,a,e=>{try{let i=[],n=e;for(;n;){let e=n.parentElement,r=e??t.rootDom,l=Array.from(r.children),a=t.mainThreadGlobalThis.__GetTag(n),o="page"===a?0:l.indexOf(n),s=n.getAttribute("id")||void 0,c=n.getAttribute("class")||void 0,p=t.mainThreadGlobalThis.__GetDataset(n);if(i.push({tag:a,id:s,class:c,dataSet:p,index:o}),"page"===a||n.parentNode===t.rootDom)break;n=e}o={path:i},s=0}catch(t){console.error("[lynx-web] getPathInfo: failed with",t,e),s=1}},e=>{s=e}),{code:s,data:o}})}i(1180)},447(e,t,i){i.d(t,{l:()=>a});var n=i(9104);i(1180);var r=i(7103);let l={boundingClientRect:e=>{let t=e.getBoundingClientRect();return{id:e.id,width:t.width,height:t.height,left:t.left,right:t.right,top:t.top,bottom:t.bottom}}};function a(e,t){e.registerHandler(r.zk,(e,i,r,a,o,s)=>{let c,p=1;return(0,n.A)(t,e,i,r,!0,s,e=>{try{let t=l[a],i="function"==typeof e[a];t||i?(c=t?t(e,o):e[a](o),p=0):p=3}catch(t){console.error("[lynx-web] invokeUIMethod: apply method failed with",t,e),p=4}},e=>{p=e}),{code:p,data:c}})}},6173(e,t,i){i.d(t,{v:()=>r});var n=i(7103);function r(e,t){let i=e.createCall(n.Sy);e.registerHandler(n.VK,(e,n,r)=>t.parentDom.onNapiModulesCall?.(e,n,r,i))}},2580(e,t,i){i.d(t,{U:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.g,(e,i,n)=>t.parentDom.onNativeModulesCall?.(e,i,n))}},4333(e,t,i){i.d(t,{p:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.F0,()=>{t.parentDom.reload()})}},1617(e,t,i){i.d(t,{t:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.vr,(e,i,r)=>{let l=null;return((0,n.A)(t,0,i,"card"===e?"0":e,r,void 0,e=>{l=e}),l)?[t.mainThreadGlobalThis.__GetComponentID(l)]:[]})}i(1180)},3603(e,t,i){i.d(t,{r:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.PC,(e,i,r,l,a,o)=>{(0,n.A)(t,e,i,r,l,o,e=>{var t=e;for(let e in a){let i=a[e];"text"===e&&t?.tagName==="X-TEXT"&&t.firstElementChild&&"RAW-TEXT"==t.firstElementChild.tagName&&(t=t.firstElementChild),CSS.supports(e,i)&&t.style?t.style.setProperty(e,i):t.setAttribute(e,i)}})})}},1311(e,t,i){i.d(t,{J:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.pT,(e,i)=>{let n=t.mtsWasmBinding.getElementByComponentId(e);n?.dispatchEvent(new CustomEvent(e,{...i.eventOption,detail:i.eventDetail}))})}},2698(e,t,i){i.d(t,{M:()=>r});var n=i(7103);function r(e,t){let i=new Map;e.registerHandler(n.vn,(e,n,r)=>{if("animate"===e)switch(r.operation){case 0:i.set(r.id,t.rootDom.querySelector(n)?.animate(r.keyframes,r.timingOptions));break;case 1:i.get(r.id)?.play();break;case 2:i.get(r.id)?.pause();break;case 3:i.get(r.id)?.cancel(),i.delete(r.id);break;case 4:i.get(r.id)?.finish(),i.delete(r.id)}})}i(1180)},6466(e,t,i){i.d(t,{p:()=>a});var n=i(1180);function r(e){let t={};for(let i in e){let n=e[i];("boolean"==typeof n||"number"==typeof n||"string"==typeof n||null===n)&&(t[i]=n)}return t}var l=i(4646);class a{lynxViewInstance;wasmContext;toBeEnabledElement=new Set;toBeDisabledElement=new Set;constructor(e){this.lynxViewInstance=e}markExposureRelatedElementByUniqueId(e,t){e&&(t?(this.toBeDisabledElement.delete(e),this.toBeEnabledElement.add(e)):(this.toBeEnabledElement.delete(e),this.toBeDisabledElement.add(e)))}generateTargetObject(e,t){let i=e[n.Fd];return{dataset:Object.assign(Object.create(null),t),id:e.id||null,uniqueId:i}}getClassList(e){return[...e.classList]}getElementByUniqueId(e){return this.wasmContext?.get_dom_by_unique_id(e)}getElementByComponentId(e){let t=this.wasmContext?.get_unique_id_by_component_id(e);if(void 0!=t)return this.getElementByUniqueId(t)}runWorklet(e,t,i,n,r,l){let a=this.getElementByUniqueId(i),o=this.getElementByUniqueId(r);t.target=this.generateTargetObject(a,n),t.currentTarget=this.generateTargetObject(o,l),t.target.elementRefptr=a,t.currentTarget.elementRefptr=o,this.lynxViewInstance.mainThreadGlobalThis.runWorklet?.(e.value,[t])}publishEvent(e,t,i,n,r,l,a){let o=this.getElementByUniqueId(n),s=this.getElementByUniqueId(l);i.target=this.generateTargetObject(o,r),i.currentTarget=this.generateTargetObject(s,a),t?this.lynxViewInstance?.backgroundThread.publicComponentEvent(t,e,i):this.lynxViewInstance.backgroundThread.publishEvent(e,i)}#j=e=>{let t=e.target,i=new Uint32Array(32),a=0,o=t;for(;o&&o!==this.lynxViewInstance.rootDom;){let e=(0,l.Tj)(o);if(i[a++]=e,a>=i.length){let e=new Uint32Array(2*i.length);e.set(i),i=e}o=o.parentElement}let s=function(e){let t=e.type,i={},l=e.isTrusted,a={},o=e.detail??{};if(t.match(/^transition/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.propertyName,new_animator:!0});else if(t.match(/animation/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.animationName,new_animator:!0});else if(t.startsWith("touch")){let t=[...e.touches],i=[...e.targetTouches],n=[...e.changedTouches];Object.assign(a,{touches:l?t.map(r):t,targetTouches:l?i.map(r):i,changedTouches:l?n.map(r):n})}else t.startsWith("mouse")?Object.assign(a,{button:e.button,buttons:e.buttons,x:e.x,y:e.y,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY}):"click"===t&&(o={x:e.x,y:e.y});return{type:n.$4[t]??t,timestamp:e.timeStamp,detail:o,params:i,...a}}(e);this.wasmContext?.common_event_handler(s,i.slice(0,a),s.type)};addEventListener(e){this.lynxViewInstance.rootDom.addEventListener(n.im[e]??e,this.#j,{passive:!0,capture:!0})}postTimingFlags(e,t){this.lynxViewInstance.backgroundThread.postTimingFlags(e,t)}updateExposureStatus(e,t){this.lynxViewInstance.exposureServices.updateExposureStatus(e,t)}enableElementEvent(e,t){e&&e.enableEvent?.(n.im[t]??t)}disableElementEvent(e,t){e&&e.disableEvent?.(n.im[t]??t)}}},5341(e,t,i){i.a(e,async function(e,n){try{i.d(t,{b:()=>c});var r=i(9521),l=i(1180),a=i(4646),o=i(5834),s=e([r]);r=(s.then?(await s)():s)[0];let p=URL.createObjectURL(new Blob([o.A],{type:"text/css"})),x=document.createElement("link");x.rel="stylesheet",x.href=p,x.type="text/css";let{MainThreadWasmContext:d,add_inline_style_raw_string_key:h,set_inline_styles_number_key:m,set_inline_styles_in_str:u,get_inline_styles_in_key_value_vec:g}=r.wasmInstance;function c(e,t,i,n,r){let o;e.append(x.cloneNode(!1));let s=new d(e,t,i);t.wasmContext=s;let c=[],p=(e,t,i)=>{let n=e.map(e=>e[l.Fd]);return s.set_css_id(new Uint32Array(n),t??0,i)},v=(e,i,n,r)=>{let a=e[l.Fd];if("string"==typeof r?s.add_cross_thread_event(a,i,n,r):null==r?(s.add_cross_thread_event(a,i,n,void 0),s.add_run_worklet_event(a,i,n,void 0)):"object"==typeof r&&s.add_run_worklet_event(a,i,n,r),"uiappear"===n||"uidisappear"===n){let e=s.get_dom_by_unique_id(a);e&&t.markExposureRelatedElementByUniqueId(e,null!=r)}};return{__CreateView(e){let t=document.createElement("x-view");return t[l.Fd]=s.create_element_common(e,t),t},__CreateText(e){let t=document.createElement("x-text");return t[l.Fd]=s.create_element_common(e,t),t},__CreateImage(e){let t=document.createElement("x-image");return t[l.Fd]=s.create_element_common(e,t),t},__CreateRawText(e){let t=document.createElement("raw-text");return t.setAttribute("text",e),t[l.Fd]=s.create_element_common(-1,t),t},__CreateScrollView(e){let t=document.createElement("scroll-view");return t[l.Fd]=s.create_element_common(e,t),t},__CreateElement(e,t){let i=document.createElement(l.H1[e]??e);return i[l.Fd]=s.create_element_common(t,i),i},__CreateComponent(e,t,i,n,r){let a=document.createElement("x-view");return a[l.Fd]=s.create_element_common(e,a,i,t),n&&a.setAttribute(l.Pb,n),r&&a.setAttribute("name",r),a},__CreateWrapperElement(e){let t=document.createElement("lynx-wrapper");return t[l.Fd]=s.create_element_common(e,t),t},__CreateList(e,t,i){let n=document.createElement("x-list");return n.componentAtIndex=t,n.enqueueComponent=i,n[l.Fd]=s.create_element_common(e,n),n},__CreatePage(e,t){if(o)return o;let i=document.createElement("div");return i[l.Fd]=s.create_element_common(0,i,t,e),r&&i.setAttribute(l.f7,"true"),n||i.setAttribute(l.Gm,"false"),i.setAttribute("part","page"),o=i,i},__SetClasses:i?a.R5:(e,t)=>{(0,a.R5)(e,t);let i=e[l.Fd];s.update_css_og_style(i,e.getAttribute(l.Pb))},__SetCSSId:p,__AddInlineStyle:(e,t,i)=>("string"!=typeof i&&(i=i.toString()),"number"==typeof t)?m(e,t,i):h(e,t.toString(),i),__SetInlineStyles:(e,t)=>{t?"string"==typeof t?u(e,t)||e.setAttribute("style",t):t?g(e,Object.entries(t).flat().map(e=>e.toString())):e.removeAttribute("style"):e.removeAttribute("style")},__AddConfig:(e,t,i)=>{let n=e[l.Fd];s.get_config(n)[t]=i},__UpdateComponentInfo:(e,t)=>{let i=e[l.Fd],{componentID:n,cssID:r,entry:a,name:o}=t;o?e.setAttribute("name",o):e.removeAttribute("name"),s.update_component_id(i,n),void 0!==r&&p([e],r,a)},__UpdateComponentID:(e,t)=>{let i=e[l.Fd];s.update_component_id(i,t)},__GetConfig:e=>{let t=e[l.Fd];return s.get_config(t)},__SetConfig:(e,t)=>{let i=e[l.Fd];s.set_config(i,t)},__GetElementConfig:e=>{let t=e[l.Fd];return s.get_element_config(t)},__GetComponentID:e=>{let t=e[l.Fd];return s.get_component_id(t)},__SetDataset:(e,t)=>{let i=e[l.Fd];s.set_dataset(i,e,t)},__AddDataset:(e,t,i)=>{let n=e[l.Fd];i?e.setAttribute(`data-${t}`,"object"==typeof i?JSON.stringify(i):i.toString()):e.removeAttribute(`data-${t}`),s.add_dataset(n,t,i)},__GetDataset:e=>{let t=e[l.Fd];return Object.assign(Object.create(null),s.get_dataset(t))},__GetDataByKey:(e,t)=>{let i=e[l.Fd];return s.get_data_by_key(i,t)},__SetAttribute(e,i,n){if("update-list-info"===i){let{insertAction:t,removeAction:i}=n;queueMicrotask(()=>{let n=e.componentAtIndex,r=e.enqueueComponent,l=(0,a.Tj)(e);for(let i of t)n?.(e,l,i.position,0,!1);for(let t of i)r?.(e,l,t.position)})}else null==n?e.removeAttribute(i):e.setAttribute(i,n.toString()),"exposure-id"===i?null!=n?t.markExposureRelatedElementByUniqueId(e,!0):t.markExposureRelatedElementByUniqueId(e,!1):i===l.xW&&c.push(String(n))},__AddEvent:v,__GetEvent:(e,t,i)=>{let n=e[l.Fd];return s.get_event(n,t,i)},__GetEvents:e=>{let t=e[l.Fd];return s.get_events(t)},__SetEvents:(e,t)=>{for(let i of t)v(e,i.type,i.name,i.function)},__GetPageElement:()=>o,__AppendElement:a.vh,__ElementIsEqual:a.pn,__FirstElement:a.vH,__GetChildren:a.yj,__GetParent:a.d6,__InsertElementBefore:a.pi,__LastElement:a.Nu,__NextElement:a.cw,__RemoveElement:a.z3,__ReplaceElement:a.Xk,__GetAttributes:a.GE,__GetAttributeByName:a.li,__ReplaceElements:a.yE,__GetID:a.cb,__SetID:a.wr,__GetTag:a.zm,__AddClass:a.gA,__GetClasses:a.Tq,__MarkTemplateElement:a.uY,__MarkPartElement:a.ZW,__GetTemplateParts:a.$G,__GetElementUniqueID:a.Tj,__UpdateListCallbacks:a.YW,__SwapElement:a.cJ,__FlushElementTree:(i,n)=>{let r=n?.pipelineOptions?.pipelineID,a=t.lynxViewInstance.backgroundThread;o&&!o.parentNode&&""!==o.getAttribute(l.JA)&&(a.markTiming("dispatch_start",r),a.jsContext.dispatchEvent({type:"__OnNativeAppReady",data:void 0}),a.markTiming("layout_start",r),a.markTiming("ui_operation_flush_start",r),e.appendChild(o),e.host.style.display="flex",a.markTiming("ui_operation_flush_end",r),a.markTiming("layout_end",r),a.markTiming("dispatch_end",r),a.flushTimingInfo());let p=c.concat(s.take_timing_flags());requestAnimationFrame(()=>{t.postTimingFlags(p,r)}),c.length=0;let x=[...t.toBeEnabledElement];t.toBeEnabledElement.clear();let d=[...t.toBeDisabledElement];t.toBeDisabledElement.clear(),t?.updateExposureStatus(x,d)}}}n()}catch(e){n(e)}})},4646(e,t,i){i.d(t,{$G:()=>k,GE:()=>u,Nu:()=>p,R5:()=>_,Tj:()=>C,Tq:()=>y,Xk:()=>h,YW:()=>A,ZW:()=>I,cJ:()=>b,cb:()=>v,cw:()=>x,d6:()=>s,gA:()=>E,li:()=>g,pi:()=>c,pn:()=>l,uY:()=>T,vH:()=>a,vh:()=>r,wr:()=>f,yE:()=>m,yj:()=>o,z3:()=>d,zm:()=>w});var n=i(1180);let r=(e,t)=>e.appendChild(t),l=(e,t)=>e===t,a=e=>e.firstElementChild,o=e=>e.children?[...e.children]:null,s=e=>e.parentElement,c=(e,t,i)=>e.insertBefore(t,i),p=e=>e.lastElementChild,x=e=>e.nextElementSibling,d=(e,t)=>e.removeChild(t),h=(e,t)=>t.replaceWith(e),m=(e,t,i)=>{if(t=Array.isArray(t)?t:[t],!i||Array.isArray(i)&&i?.length===0)e.append(...t);else{i=Array.isArray(i)?i:[i];for(let t=1;t<i.length;t++)d(e,i[t]);i[0].replaceWith(...t)}},u=e=>Object.fromEntries(e.getAttributeNames().map(t=>[t,e.getAttribute(t)]).filter(([,e])=>e)),g=(e,t)=>e.getAttribute(t),v=e=>e.getAttribute("id"),f=(e,t)=>t?e.setAttribute("id",t):e.removeAttribute("id"),w=e=>{let t=e.tagName.toLowerCase();return n.vh[t]??t},y=e=>[...e.classList],b=(e,t)=>{let i=document.createElement("div");e.replaceWith(i),t.replaceWith(e),i.replaceWith(t)},_=(e,t)=>{t?e.setAttribute("class",t):e.removeAttribute("class")},E=(e,t)=>{e.classList.add(t)},k=e=>{if(null===e.getAttribute(n.y))return{};let t=C(e),i={};for(let r of e.querySelectorAll(`[${n.oZ}]:not([${n.y}="${t}"] [${n.y}] [${n.oZ}])`)){let e=r.getAttribute(n.oZ);e&&(i[e]=r)}return i},T=e=>{let t=C(e);e.setAttribute(n.y,t.toString())},I=(e,t)=>{e.setAttribute(n.oZ,t)},C=e=>(e&&e[n.Fd])??-1,A=(e,t,i)=>{e.componentAtIndex=t,e.enqueueComponent=i}},3438(e,t,i){i.d(t,{l:()=>n});function n(){return i.e("724").then(i.bind(i,4086)).then(()=>{})}},8239(e,t,i){i.d(t,{C:()=>n});class n{port;name;incId=0;#R=[];#M={};#D=new TextEncoder;#B=new TextDecoder;#G=new Map;constructor(e,t){this.port=e,this.name=t,e&&(e.onmessage=e=>this.#H(e.data))}setMessagePort(e){if(this.port)throw Error("Rpc port already set");for(let t of(this.port=e,this.#R))this.postMessage(t.message,t.detail);this.#R=[],e.onmessage=e=>this.#H(e.data)}postMessage(e,t){this.port?this.port.postMessage(e,t):this.#R.push({message:e,detail:t})}get nextRetId(){return`ret_${this.name}_${this.incId++}`}static createRetEndpoint(e){return{name:e,hasReturn:!1,isSync:!1}}#H=async e=>{let t=this.#G.get(e.name);if(t){let i=e.sync?new Int32Array(e.lock):void 0,r=!e.sync&&e.retId?n.createRetEndpoint(e.retId):void 0;try{let n=await t(...e.data),l,a=[];if(e.sync?l=n:e.hasTransfer?{data:l,transfer:a}=n||{}:l=n,e.sync){if(e.buf){let t=JSON.stringify(l),i=new Uint32Array(e.buf,0,1),n=new Uint8Array(e.buf,4),r=new Uint8Array(e.buf.byteLength-4),{written:a}=this.#D.encodeInto(t,r);i[0]=a,n.set(r,0)}Atomics.store(i,0,1),Atomics.notify(i,0)}else e.retId&&this.invoke(r,[l,!1],a||[])}catch(t){console.error(t),e.sync?(Atomics.store(i,0,2),Atomics.notify(i,0),i[1]=2):this.invoke(r,[void 0,!0])}}else{let t=this.#M[e.name];t?t.push(e):this.#M[e.name]=[e]}};createCall(e){return(...t)=>this.invoke(e,t)}registerHandler(e,t){this.#G.set(e.name,t);let i=this.#M[e.name];if(i?.length)for(let t of(this.#M[e.name]=void 0,i))this.#H(t)}registerHandlerRef(e,t,i){this.registerHandler(e,(...e)=>t[i]?.call(t,...e))}registerHandlerLazy(e,t,i){if(t[i])this.registerHandlerRef(e,t,i);else{let n,r=this;Object.defineProperty(t,i,{get:()=>n,set(l){n=l,l&&r.registerHandlerRef(e,t,i)}})}}removeHandler(e){this.#G.delete(e.name)}invoke(e,t,i=[]){if(e.isSync){let n=e.bufferSize?new SharedArrayBuffer(e.bufferSize+4):void 0,r=new SharedArrayBuffer(4),l=new Int32Array(r);l[0]=0;let a={name:e.name,data:t,sync:!0,lock:r,buf:n};if(this.postMessage(a,{transfer:i}),Atomics.wait(l,0,0),2===l[0])throw null;if(!n)return;{let e=new Uint32Array(n,0,4)[0],t=new Uint8Array(n,4,e),i=new Uint8Array(e);return i.set(t,0),i?JSON.parse(this.#B.decode(i)):void 0}}if(e.hasReturn){let r,l,a;r=new Promise((e,t)=>{l=e,a=t});let o=n.createRetEndpoint(this.nextRetId);this.registerHandler(o,(e,t)=>{t&&a(),l(e)});let s={name:e.name,data:t,sync:!1,retId:o?.name,hasTransfer:e.hasReturnTransfer};return this.postMessage(s,{transfer:i}),r}{let n={name:e.name,data:t,sync:!1};this.postMessage(n,{transfer:i})}}createCallbackify(e,t){let i=this.createCall(e);return(...e)=>{let n=e.at(t);e.splice(t,1),i(...e).then(n)}}}},9282(e,t,i){i.d(t,{H:()=>n});function n(e,t,i=!0,r=!1,l){return{name:e,isSync:t,hasReturn:i,hasReturnTransfer:r,bufferSize:l}}},3110(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,l){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);n&&a[p[0]]||(void 0!==l&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=l),i&&(p[2]&&(p[1]="@media ".concat(p[2]," {").concat(p[1],"}")),p[2]=i),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),t.push(p))}},t}},245(e){e.exports=function(e){return e[1]}}}]);
1
+ "use strict";(globalThis.webpackChunk_lynx_js_web_core_wasm=globalThis.webpackChunk_lynx_js_web_core_wasm||[]).push([["894"],{2925(e,t,i){i.d(t,{A:()=>c});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l),o=i(8198),s=a()(r());s.i(o.A),s.push([e.id,"[lynx-default-display-linear=false] *{--lynx-display:flex;--lynx-display-toggle:var(--lynx-display-flex)}[lynx-default-overflow-visible=true] x-view{overflow:visible}",""]);let c=s.toString()},8198(e,t,i){i.d(t,{A:()=>T});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l),o=i(385),s=i(3704),c=i(4745),p=i(9415),x=i(9901),d=i(7104),h=i(3354),m=i(6105),u=i(261),g=i(805),v=i(3409),f=i(630),w=i(870),y=i(4373),b=i(6669),_=i(6549),E=i(5773),k=a()(r());k.i(o.A),k.i(s.A),k.i(c.A),k.i(p.A),k.i(x.A),k.i(d.A),k.i(h.A),k.i(m.A),k.i(u.A),k.i(g.A),k.i(v.A),k.i(f.A),k.i(w.A),k.i(y.A),k.i(b.A),k.i(_.A),k.i(E.A),k.push([e.id,"",""]);let T=k.toString()},385(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"@supports not ((content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex)){*{--lynx-display:linear;--lynx-linear-weight-sum:1;--lynx-linear-weight:0;--justify-content-column:flex-start;--justify-content-column-reverse:flex-start;--justify-content-row:flex-start;--justify-content-row-reverse:flex-start;--align-self-row:auto;--align-self-column:auto;--lynx-linear-weight-basis:auto;--lynx-linear-orientation:vertical;--flex-direction:row;--flex-grow:0;--flex-shrink:1;--flex-basis:auto;--justify-content:flex-start;--flex-wrap:nowrap;--align-self:auto}[lynx-computed-display=linear]{flex-direction:column;justify-content:flex-start;flex-wrap:nowrap!important}[lynx-computed-display=flex]{flex-direction:var(--flex-direction);justify-content:var(--justify-content);flex-wrap:var(--flex-wrap)}[lynx-computed-display=flex]>*,[lynx-computed-display=flex]>lynx-wrapper>*{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}[lynx-computed-display=linear]>*,[lynx-computed-display=linear]>lynx-wrapper>*{flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))))!important;flex-basis:var(--lynx-linear-weight-basis)!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]{justify-content:var(--justify-content-column);flex-direction:column!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]{justify-content:var(--justify-content-row);flex-direction:row!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]{justify-content:var(--justify-content-column-reverse);flex-direction:column-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]{justify-content:var(--justify-content-row-reverse);flex-direction:row-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse],[lynx-computed-display=linear][lynx-linear-orientation=vertical]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]>lynx-wrapper>*{align-self:var(--align-self-column)}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse],[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]>lynx-wrapper>*{align-self:var(--align-self-row)}}",""]);let o=a.toString()},4745(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}",""]);let o=a.toString()},9901(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"scroll-view{--lynx-display-toggle:var(--lynx-display-linear);flex-wrap:nowrap;flex-direction:var(--linear-flex-direction);justify-content:var(--linear-justify-content);scroll-timeline:--scroll-view-timeline;--lynx-display:linear!important;display:flex!important}scroll-view>*,scroll-view>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}scroll-view,scroll-view{scrollbar-width:none}scroll-view::-webkit-scrollbar{display:none}scroll-view::-webkit-scrollbar{display:none}scroll-view[enable-scrollbar],scroll-view[scroll-bar-enable]{scrollbar-width:initial}scroll-view[enable-scrollbar]::-webkit-scrollbar{display:initial}scroll-view[scroll-bar-enable]::-webkit-scrollbar{display:initial}scroll-view,scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation:vertical!important;flex-direction:column!important;overflow:clip scroll!important}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-horizontal);--lynx-linear-orientation:horizontal!important;flex-direction:row!important;overflow:scroll clip!important}scroll-view[scroll-orientation=both]{overflow:scroll!important}@supports not (overflow:clip){scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{overflow-x:hidden}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{overflow-y:hidden}}scroll-view[scroll-y][enable-scroll=false],scroll-view[scroll-orientation=vertical][enable-scroll=false]{overflow-y:hidden!important}scroll-view[scroll-x][enable-scroll=false],scroll-view[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}@supports (animation-timeline:--scroll-view-timeline){scroll-view[fading-edge-length]::part(top-fade-mask){animation-name:topFading;top:0}scroll-view[fading-edge-length]::part(bot-fade-mask){animation-name:botFading;bottom:0}scroll-view[fading-edge-length]::part(top-fade-mask),scroll-view[fading-edge-length]::part(bot-fade-mask){flex:none;animation-duration:1ms;animation-timeline:--scroll-view-timeline;display:flex;left:0}}scroll-view[x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[x-enable-scrolltoupper-event]::part(upper-threshold-observer){display:flex}scroll-view[scroll-y][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=vertical][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:column-reverse!important}scroll-view[scroll-x][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:row-reverse!important}",""]);let o=a.toString()},6105(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}",""]);let o=a.toString()},7104(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldview-ng::-webkit-scrollbar{display:none}x-foldview-ng[scroll-bar-enable]{scrollbar-width:initial}x-foldview-ng[scroll-bar-enable]::-webkit-scrollbar{display:initial}x-foldview-ng:not([scroll-bar-enable],[scroll-bar-enable=true])::-webkit-scrollbar{display:none}x-foldview-ng[scroll-enable=false]{overflow-y:hidden}x-foldview-ng>*,x-foldview-header-ng,x-foldview-slot-ng,x-foldview-toolbar-ng{display:none}x-foldview-ng>x-foldview-header-ng,x-foldview-ng>x-foldview-slot-ng,x-foldview-ng>x-foldview-toolbar-ng,x-foldview-ng>lynx-wrapper>x-foldview-header-ng,x-foldview-ng>lynx-wrapper>x-foldview-slot-ng,x-foldview-ng>lynx-wrapper>x-foldview-toolbar-ng{display:flex}x-foldview-toolbar-ng{z-index:1;order:1;position:sticky;top:0}x-foldview-header-ng{flex:none;order:2;position:absolute}x-foldview-ng[header-over-slot]>x-foldview-slot-ng,x-foldview-ng[header-over-slot]>lynx-wrapper>x-foldview-slot-ng{z-index:1}x-foldview-slot-ng{contain:strict;order:3}x-foldview-slot-ng scroll-view{overscroll-behavior-y:none}",""]);let o=a.toString()},805(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-image,filter-image{--justify-content:center;contain:strict;object-fit:fill;justify-content:center;align-items:center;flex-direction:row!important}x-image>*,filter-image>*{display:none}x-image[blur-radius]::part(img){--blur-radius:0;filter:blur(var(--blur-radius))}filter-image[blur-radius]::part(img),filter-image[drop-shadow]::part(img){--blur-radius:0;--drop-shadow:0px 0px;filter:blur(var(--blur-radius))drop-shadow(var(--drop-shadow))}x-image:not([auto-size])::part(img),filter-image::part(img){object-fit:inherit;flex:0 0 100%;align-self:stretch;width:100%}x-image[mode=aspectFit],filter-image[mode=aspectFit]{object-fit:contain}x-image[mode=aspectFill],filter-image[mode=aspectFill]{object-fit:cover}x-image[mode=center]:not([auto-size])::part(img),filter-image[mode=center]::part(img){width:unset;flex:unset;align-self:unset;margin:auto;position:absolute}x-image[auto-size]{display:contents}x-image[auto-size]::part(img){margin:inherit;padding:inherit;width:inherit;height:inherit;box-sizing:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;position:inherit;top:inherit;left:inherit;right:inherit;bottom:inherit;transform:inherit;opacity:inherit;z-index:inherit;filter:inherit}",""]);let o=a.toString()},3409(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-input{font-size:14px;display:contents!important}x-input::part(form){display:contents}x-input::part(input),x-input::part(form){width:inherit;height:inherit;border:inherit;align-self:inherit;justify-self:inherit;text-align:inherit;direction:inherit;caret-color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;flex:inherit;background-color:inherit;z-index:inherit;margin:inherit;padding:inherit;color:inherit}x-input::part(input){--placeholder-color:grey;--placeholder-font-weight:normal}x-input::part(input)::placeholder{color:var(--placeholder-color);font-family:var(--placeholder-font-family);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight)}",""]);let o=a.toString()},6549(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-list{contain:layout;scrollbar-width:none;--list-item-sticky-offset:0;--list-item-span-count:0;--list-main-axis-gap:0px;--list-cross-axis-gap:0px;container-type:size}x-list>:not(list-item){display:none}x-list::part(content),x-list[list-type=waterfall]::part(waterfall-content){justify-content:inherit;background-color:inherit;flex-wrap:nowrap;flex:none;flex-direction:inherit;scrollbar-width:inherit;scroll-snap-type:inherit;scroll-snap-align:start;width:100%;height:100%;overflow:inherit;content-visibility:auto;row-gap:inherit;column-gap:inherit;display:flex;position:relative}x-list::part(content),x-list::part(slot){--lynx-display:inherit}x-list,x-list::part(content){scrollbar-width:none}x-list::-webkit-scrollbar{display:none}x-list::part(content)::-webkit-scrollbar{display:none}x-list[scrollbar-enable]::part(content){scrollbar-width:initial}x-list[scrollbar-enable]::part(content)::-webkit-scrollbar{display:initial}list-item{content-visibility:auto;contain:layout paint;contain-intrinsic-size:none auto var(--estimated-main-axis-size-px,100cqh);display:none;position:static;flex:none!important}list-item[recyclable=false]{content-visibility:visible;contain:initial}x-list[scroll-orientation=horizontal] list-item{contain-intrinsic-size:auto var(--estimated-main-axis-size-px,100cqw)none}x-list>list-item,x-list>lynx-wrapper>list-item{display:flex}x-list{overflow:clip scroll!important}x-list[scroll-orientation=horizontal]{overflow:scroll clip!important}x-list[enable-scroll=false]{overflow-y:hidden!important}x-list[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}x-list[sticky=true] list-item[sticky-top],x-list[sticky=true] list-item[sticky-bottom]{z-index:1;position:sticky}x-list[sticky=true]>list-item[sticky-top],x-list[sticky=true]>lynx-wrapper>list-item[sticky-top]{top:var(--list-item-sticky-offset)}x-list[sticky=true]>list-item[sticky-bottom],x-list[sticky=true]>lynx-wrapper>list-item[sticky-bottom]{bottom:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-top],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-top]{top:unset;left:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-bottom],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-bottom]{bottom:unset;right:var(--list-item-sticky-offset)}x-list[item-snap],x-list[paging-enabled]{scroll-snap-type:y mandatory;scroll-snap-stop:always}x-list[item-snap][scroll-orientation=horizontal],x-list[paging-enabled][scroll-orientation=horizontal]{scroll-snap-type:x mandatory}x-list[item-snap]>list-item,x-list[item-snap]>lynx-wrapper>list-item{scroll-snap-align:start}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){display:flex}x-list::part(lower-threshold-observer){flex-direction:column-reverse}x-list[vertical-orientation=false]::part(lower-threshold-observer){flex-direction:row-reverse}x-list{align-items:stretch;row-gap:var(--list-main-axis-gap);column-gap:var(--list-cross-axis-gap);flex-direction:column;display:flex}x-list[scroll-orientation=horizontal]{row-gap:var(--list-cross-axis-gap);column-gap:var(--list-main-axis-gap);flex-direction:row}x-list[list-type=flow]::part(content){grid-template-columns:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-main-axis-gap);grid-column-gap:var(--list-cross-axis-gap);grid-auto-rows:min-content;place-items:start stretch;display:grid}x-list[list-type=flow][scroll-orientation=horizontal]::part(content){grid-template-rows:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-cross-axis-gap);grid-column-gap:var(--list-main-axis-gap);grid-auto-columns:min-content;grid-auto-flow:column;place-items:stretch start}x-list[list-type=flow] list-item[full-span]:not([full-span=false]){grid-column-start:1;grid-column-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){grid-row-start:1;grid-row-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-column:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-row:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=waterfall]{flex-direction:column;display:flex}x-list[list-type=waterfall][scroll-orientation=horizontal]{flex-direction:row}x-list[list-type=waterfall]::part(slot){visibility:hidden}x-list[list-type=waterfall] list-item{width:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count));height:fit-content;position:absolute}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item{width:fit-content;height:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count))}x-list[list-type=waterfall] list-item[full-span]:not([full-span=false]){width:100%;height:fit-content}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){width:fit-content;height:100%}x-list[list-type=waterfall]::part(upper-threshold-observer),x-list[list-type=waterfall]::part(lower-threshold-observer){position:absolute}x-list[list-type=waterfall]::part(lower-threshold-observer){bottom:-999px}x-list[list-type=waterfall][scroll-orientation=horizontal]::part(lower-threshold-observer){bottom:unset;right:-999px}",""]);let o=a.toString()},630(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,'x-overlay-ng::part(dialog){background:0 0;border:0;outline:none;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0}x-overlay-ng{contain:strict;width:0;max-width:0;max-height:0;display:contents;position:fixed;top:0;overflow:visible}x-overlay-ng>:not(:first-child){display:none!important}x-overlay-ng>:first-child,x-overlay-ng>lynx-wrapper>:first-child{display:flex;position:absolute;top:0;left:0}x-overlay-ng [event-through]{pointer-events:none}x-overlay-ng:not([level]),x-overlay-ng[level="1"]{z-index:4}x-overlay-ng[level="2"]{z-index:3}x-overlay-ng[level="3"]{z-index:2}x-overlay-ng[level="4"]{z-index:1}',""]);let o=a.toString()},870(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-refresh-header,x-refresh-footer{display:none}x-refresh-view{box-sizing:border-box;border-style:solid;border-width:0;flex-direction:column;flex-grow:0;flex-shrink:1;min-width:0;min-height:0;display:flex;position:relative}x-refresh-view::part(container),x-refresh-view::part(content),x-refresh-view::part(slot){--lynx-display:inherit}x-refresh-view:not([enable-refresh=false])>x-refresh-header:first-of-type{scroll-snap-align:none;flex-shrink:0;display:flex;position:relative!important}x-refresh-view[enable-refresh=false]::part(placeholder-top){display:none}x-refresh-view>x-refresh-header[x-magnet-enable]:first-of-type{scroll-snap-align:start!important}x-refresh-view>x-refresh-footer[x-magnet-enable]:first-of-type{scroll-snap-align:end!important}x-refresh-view:not([enable-loadmore=false])>x-refresh-footer:first-of-type{scroll-snap-align:none;flex-shrink:0;margin-top:auto;display:flex;position:relative!important}x-refresh-view[enable-loadmore=false]::part(placeholder-bot){display:none}",""]);let o=a.toString()},261(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-svg{contain:content;display:flex}x-svg::part(img){width:inherit;height:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;filter:inherit}",""]);let o=a.toString()},4373(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,'x-swiper{scroll-snap-type:x mandatory;scrollbar-width:none;contain:content;timeline-scope:--x-swiper-item-0,--x-swiper-item-1,--x-swiper-item-2,--x-swiper-item-3,--x-swiper-item-4;flex-direction:row;justify-content:flex-start;display:flex;overflow:scroll clip;flex-wrap:nowrap!important}x-swiper::part(content){--page-margin:0px;--next-margin:0px;--previous-margin:0px}x-swiper,x-swiper::part(content),x-swiper::part(slot),x-swiper::part(slot-start),x-swiper::part(slot-end){--lynx-display:linear;--lynx-display-toggle:var(--lynx-display-linear)}x-swiper>*,x-swiper>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}x-swiper::-webkit-scrollbar{display:none}x-swiper[vertical]{scroll-snap-type:y mandatory;--lynx-linear-orientation:vertical;--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);overflow:clip scroll;flex-direction:column!important}x-swiper[bounces]:not([circular])::part(bounce-padding){display:initial}x-swiper-item{scroll-snap-align:start;animation-duration:10ms;flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum))!important;flex-basis:var(--lynx-linear-weight-basis)!important}x-swiper-item:nth-child(n+20){contain:strict;content-visibility:auto}x-swiper-item:first-child{view-timeline-name:--x-swiper-item-0}x-swiper-item:nth-child(2){view-timeline-name:--x-swiper-item-1}x-swiper-item:nth-child(3){view-timeline-name:--x-swiper-item-2}x-swiper-item:nth-child(4){view-timeline-name:--x-swiper-item-3}x-swiper-item:nth-child(5){view-timeline-name:--x-swiper-item-4}x-swiper>:not(x-swiper-item){display:none}x-swiper>x-swiper-item{view-timeline-axis:inline;height:100%;animation-timeline:view(inline);width:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[vertical]>x-swiper-item{view-timeline-axis:block;width:100%;animation-timeline:view();height:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[circular]{scroll-snap-type:none;overflow:hidden clip}x-swiper[circular][vertical]{overflow:clip hidden}x-swiper[indicator-dots]::part(indicator-container){display:none}x-swiper::part(indicator-container){--indicator-size:.6rem;--indicator-container-margin:.5rem;z-index:100;width:100%;height:var(--indicator-size);contain:strict;margin-bottom:var(--indicator-container-margin);--indicator-color:#ffffff4d;--indicator-active-color:white;flex-direction:row;justify-content:center;align-items:stretch;display:flex;position:absolute;bottom:0;left:0;overflow:clip}x-swiper[vertical]::part(indicator-container){left:unset;height:100%;width:var(--indicator-size);margin-bottom:0;margin-right:var(--indicator-container-margin);flex-direction:column;top:0;right:0}x-swiper::part(indicator-item){background-color:var(--indicator-color);flex:0 0 var(--indicator-size);margin:0 calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5);border-radius:100%}x-swiper[vertical]::part(indicator-item){margin:calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5)0}x-swiper[mode=carousel]:not([vertical])>x-swiper-item{width:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel][vertical]>x-swiper-item{height:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel]:not([circular])>x-swiper-item:last-child{margin-right:20%}@media screen and (-webkit-min-device-pixel-ratio:0){x-swiper[mode=carousel]::part(content):after{content:"";padding-right:20%}}x-swiper[mode=coverflow]::part(content){perspective:200px}x-swiper[mode=coverflow]>x-swiper-item{scroll-snap-align:center;transform-style:preserve-3d;z-index:0;animation-name:x-swiper-coverflow}x-swiper[mode=coverflow]:not([vertical])>x-swiper-item{animation-name:x-swiper-coverflow-horizontal;width:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow][vertical]>x-swiper-item{animation-name:x-swiper-coverflow-vertical;height:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}@keyframes x-swiper-coverflow-horizontal{25%{transform:rotateY(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateY(0)scale(1)}to{transform:rotateY(40deg)scale(.8)}}@keyframes x-swiper-coverflow-vertical{25%{transform:rotateX(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateX(0)scale(1)}to{transform:rotateX(40deg)scale(.8)}}x-swiper[mode=flat-coverflow]>x-swiper-item{scroll-snap-align:center}x-swiper[mode=flat-coverflow]:not([vertical])>x-swiper-item{width:60%!important}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=flat-coverflow][vertical]>x-swiper-item{height:60%!important}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}x-swiper[mode=carry]>x-swiper-item{scroll-snap-align:center;animation-name:x-swiper-carry;width:100%!important}@keyframes x-swiper-carry{0%{transform:scale(.6)}45%,55%{z-index:1;transform:scale(1)}to{transform:scale(.6)}}',""]);let o=a.toString()},9415(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,'x-text{overflow-wrap:break-word;background-image:var(--lynx-text-bg-color);color:initial;align-items:stretch;display:flex}x-text>x-text,x-text>lynx-wrapper>x-text{color:inherit}x-text:not(x-text>x-text):not(x-text>lynx-wrapper>x-text){--lynx-text-bg-color:initial}x-text>*{display:none}x-text::part(inner-box){text-overflow:inherit;--lynx-text-bg-color:inherit}x-text>x-text::part(inner-box),x-text>lynx-wrapper>x-text::part(inner-box){display:contents!important}x-text::part(inner-box),inline-text,x-text::part(slot){background-clip:inherit;-webkit-background-clip:inherit}inline-text,inline-image,inline-truncation{display:none}x-text>x-text,x-text>inline-text,inline-text>inline-text,inline-truncation>inline-text,inline-truncation>x-text,x-text>lynx-wrapper>x-text,x-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>x-text,inline-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>*,inline-truncation>lynx-wrapper>inline-text,inline-truncation>lynx-wrapper>x-text{background-clip:inherit;-webkit-background-clip:inherit;display:inline}x-text>inline-image,x-text>x-image,inline-truncation>inline-image,inline-truncation>x-image,inline-text>inline-image,inline-text>x-image,x-text>lynx-wrapper>inline-image,x-text>lynx-wrapper>x-image,inline-truncation>lynx-wrapper>inline-image,inline-truncation>lynx-wrapper>x-image,inline-text>lynx-wrapper>inline-image,inline-text>lynx-wrapper>x-image{display:contents!important}x-text>x-view,x-text>lynx-wrapper>x-view{display:inline-flex!important}x-text>x-view,x-text[x-show-inline-truncation]>inline-truncation,x-text>lynx-wrapper>x-view,x-text[x-show-inline-truncation]>lynx-wrapper>inline-truncation{display:inline-flex}x-text>inline-truncation:first-child,x-text>lynx-wrapper>inline-truncation:first-child{max-width:100%}inline-truncation~inline-truncation{display:none}inline-truncation[x-text-clipped]{flex-direction:row}inline-image::part(img){height:inherit;width:inherit;border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;display:inline-block}x-text>x-image::part(img),x-text>lynx-wrapper>x-image::part(img),inline-truncation>x-image::part(img),inline-truncation>lynx-wrapper>x-image::part(img){border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;object-fit:inherit;display:inline-block;height:inherit!important;width:inherit!important;flex:inherit!important;align-self:inherit!important}x-text,inline-text,inline-image,inline-truncation{-webkit-user-select:none;user-select:none}x-text::part(inner-box){width:100%;height:100%;overflow:inherit}x-text[text-maxline]{overflow:hidden}x-text[text-selection],x-text[text-selection]>inline-text,x-text[text-selection]>x-text,x-text[text-selection]>inline-image,x-text[text-selection]>x-image,x-text[text-selection]>inline-truncation,x-text[text-selection]>lynx-wrapper>inline-text,x-text[text-selection]>lynx-wrapper>x-text,x-text[text-selection]>lynx-wrapper>inline-image,x-text[text-selection]>lynx-wrapper>x-image,x-text[text-selection]>lynx-wrapper>inline-truncation{-webkit-user-select:auto;user-select:auto}x-text[x-text-clipped]>[x-text-clipped]:not(inline-truncation),x-text[x-text-clipped]>lynx-wrapper>[x-text-clipped]:not(inline-truncation){display:none!important}x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after,x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after{content:"..."}x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[text-maxline]::part(inner-box){-webkit-box-orient:vertical;display:-webkit-box}x-text[text-maxline="0"]{display:none}@supports not selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false]):not([x-text-custom-overflow])::part(inner-box){white-space:nowrap;text-overflow:ellipsis}}@supports selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false],:has(inline-truncation))::part(inner-box){text-wrap:nowrap;white-space:nowrap;text-overflow:ellipsis}}x-text[text-maxline="1"]{max-width:-moz-available;max-width:-webkit-fill-available}x-text[text-maxline="1"]:not([tail-color-convert=false])::part(inner-box){display:block}x-text[text-maxline][x-text-custom-overflow]::part(inner-box),x-text[text-maxline][tail-color-convert=false]::part(inner-box){display:block!important}x-text[text-maxline]:has(inline-truncation)::part(inner-box){display:block!important}raw-text{white-space-collapse:preserve-breaks;display:none}x-text>raw-text,inline-text>raw-text,x-text>lynx-wrapper>raw-text,inline-text>lynx-wrapper>raw-text{display:contents!important}raw-text:not(:defined):before{content:attr(text);display:contents}x-text:not(:has(x-text,raw-text)):not(:defined):before{content:attr(text);display:contents}',""]);let o=a.toString()},6669(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-textarea{font-size:14px;display:contents}x-textarea::part(form){display:contents}x-textarea::part(textarea),x-textarea::part(form){width:inherit;height:inherit;font-family:inherit;font-size:inherit;line-height:inherit;flex:inherit;border:inherit;padding:inherit;margin:inherit;caret-color:inherit;direction:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;outline:inherit;background-color:inherit;color:inherit}x-textarea::part(textarea){--placeholder-color:grey;--placeholder-font-weight:normal;--placeholder-font-family:inherit;resize:none}x-textarea::part(textarea)::placeholder{color:var(--placeholder-color);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight);font-family:var(--placeholder-font-family)}",""]);let o=a.toString()},3354(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-viewpager-ng,x-viewpager-item-ng{display:none}x-viewpager-ng,x-viewpager-ng>x-viewpager-item-ng,x-viewpager-ng>lynx-wrapper>x-viewpager-item-ng{display:flex}x-viewpager-ng{contain:content;scrollbar-width:0;--lynx-linear-orientation:horizontal;scroll-snap-type:x mandatory;scroll-snap-stop:always;flex-direction:row;width:100%;height:100%;overflow:scroll clip}x-viewpager-ng[allow-horizontal-gesture=false],x-viewpager-ng[enable-scroll=false]{overflow-x:hidden}x-viewpager-ng::-webkit-scrollbar{display:none}x-viewpager-ng::part(content){scroll-snap-align:start}x-viewpager-ng[bounces]::part(bounce-padding){display:flex}@supports not (overflow:clip){x-viewpager-ng{overflow-y:hidden}}x-viewpager-item-ng{contain:content;--flex-grow:0;--flex-shrink:0;--flex-basis:auto;scroll-snap-align:start;scroll-snap-stop:always;flex:none;width:100%;height:100%;position:relative!important}x-viewpager-item-ng:nth-child(n+5){contain:strict}",""]);let o=a.toString()},5773(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,"x-webview{flex-direction:column;display:flex;overflow:hidden}",""]);let o=a.toString()},3704(e,t,i){i.d(t,{A:()=>o});var n=i(4166),r=i.n(n),l=i(2551),a=i.n(l)()(r());a.push([e.id,'@property --lynx-display{syntax:"linear|flex";inherits:false;initial-value:linear}@property --lynx-linear-weight-sum{syntax:"<number>";inherits:false;initial-value:1}@property --lynx-linear-weight{syntax:"<number>";inherits:false;initial-value:0}@property --justify-content-column{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-column-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --align-self-row{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --align-self-column{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --lynx-linear-weight-basis{syntax:"auto|<number>|<length>";inherits:false;initial-value:auto}@property --lynx-linear-orientation{syntax:"<custom-ident>";inherits:false;initial-value:vertical}@property --flex-direction{syntax:"*";inherits:false}@property --flex-wrap{syntax:"*";inherits:false}@property --flex-grow{syntax:"<number>";inherits:false;initial-value:0}@property --flex-shrink{syntax:"<number>";inherits:false;initial-value:1}@property --flex-basis{syntax:"*";inherits:false;initial-value:auto}@property --flex-value{syntax:"*";inherits:false}@property --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{box-sizing:border-box;scrollbar-width:none;border-style:solid;border-width:0;min-width:0;min-height:0;display:flex;position:relative;overflow:clip}x-view::--webkit-scrollbar{display:none}x-view,scroll-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{--lynx-display-toggle:var(--lynx-display-linear);--lynx-display-linear:var(--lynx-display-toggle,);--lynx-display-flex:var(--lynx-display-toggle,);--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation-horizontal:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-vertical:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-horizontal-reverse:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical-reverse:var(--lynx-linear-orientation-toggle, );--linear-flex-direction:var(--lynx-linear-orientation-horizontal,row)var(--lynx-linear-orientation-vertical,column)var(--lynx-linear-orientation-horizontal-reverse,row-reverse)var(--lynx-linear-orientation-vertical-reverse,column-reverse);--linear-justify-content:var(--lynx-linear-orientation-horizontal,var(--justify-content-row))var(--lynx-linear-orientation-vertical,var(--justify-content-column))var(--lynx-linear-orientation-horizontal-reverse,var(--justify-content-row-reverse))var(--lynx-linear-orientation-vertical-reverse,var(--justify-content-column-reverse))}x-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{flex-wrap:var(--lynx-display-linear,nowrap)var(--lynx-display-flex,var(--flex-wrap));flex-direction:var(--lynx-display-linear,var(--linear-flex-direction))var(--lynx-display-flex,var(--flex-direction));justify-content:var(--lynx-display-linear,var(--linear-justify-content))}@supports (content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex){@container style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))));flex-basis:var(--lynx-linear-weight-basis)}}@container not style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:vertical) or style(--lynx-linear-orientation:vertical-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-column)}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:horizontal) or style(--lynx-linear-orientation:horizontal-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-row)}}}',""]);let o=a.toString()},1391(e,t,i){i.d(t,{t:()=>n});class n extends EventTarget{#e;constructor(e){super(),this.#e=e}postMessage(...e){console.error("[lynx-web] postMessage not implemented, args:",...e)}dispatchEvent(e){let{rpc:t,sendEventEndpoint:i}=this.#e;return t.invoke(i,[e]),3}__start(){let{rpc:e,receiveEventEndpoint:t}=this.#e;e.registerHandler(t,({type:e,data:t})=>{super.dispatchEvent(new MessageEvent(e,{data:t??{}}))})}}},7103(e,t,i){i.d(t,{F0:()=>j,F6:()=>w,Is:()=>T,JW:()=>l,Ke:()=>r,PC:()=>m,PM:()=>f,Sy:()=>E,VK:()=>v,Ve:()=>o,ZU:()=>u,a$:()=>p,bd:()=>z,eZ:()=>a,g:()=>g,gx:()=>_,hO:()=>s,hh:()=>c,iH:()=>d,jK:()=>k,mB:()=>A,nk:()=>S,o2:()=>x,pT:()=>y,vn:()=>I,vr:()=>b,yn:()=>C,zk:()=>h});var n=i(9282);let r=(0,n.H)("publicComponentEvent",!1,!1),l=(0,n.H)("publishEvent",!1,!1),a=(0,n.H)("switchExposureServiceEndpoint",!1,!1),o=(0,n.H)("updateData",!1,!0),s=(0,n.H)("sendGlobalEventEndpoint",!1,!1),c=(0,n.H)("dispose",!1,!0),p=(0,n.H)("start",!1,!0),x=(0,n.H)("reportError",!1,!1),d=(0,n.H)("callLepusMethod",!1,!0),h=(0,n.H)("__invokeUIMethod",!1,!0),m=(0,n.H)("__setNativeProps",!1,!0),u=(0,n.H)("__getPathInfo",!1,!0),g=(0,n.H)("nativeModulesCall",!1,!0),v=(0,n.H)("napiModulesCall",!1,!0,!0);(0,n.H)("getCustomSections",!1,!0);let f=(0,n.H)("markTiming",!1,!1),w=(0,n.H)("postTimingFlags",!1,!1),y=(0,n.H)("__triggerComponentEvent",!1,!1),b=(0,n.H)("__selectComponent",!1,!0),_=(0,n.H)("dispatchLynxViewEvent",!1,!1),E=(0,n.H)("dispatchNapiModule",!1,!1),k=(0,n.H)("dispatchCoreContextOnBackground",!1,!1),T=(0,n.H)("dispatchJSContextOnMainThread",!1,!1),I=(0,n.H)("__triggerElementMethod",!1,!1),C=(0,n.H)("updateGlobalProps",!1,!1);(0,n.H)("updateI18nResources",!1,!1);let A=(0,n.H)("dispatchI18nResource",!1,!1),S=(0,n.H)("queryComponent",!1,!0),z=(0,n.H)("updateBTSChunkEndpoint",!1,!0),j=(0,n.H)("reload",!1,!1)},9531(e,t,i){i.a(e,async function(e,n){try{i.d(t,{D:()=>y});var r,l=i(8239),a=i(7103),o=i(1391),s=i(3764),c=i(447),p=i(3603),x=i(5885),d=i(1617),h=i(1311),m=i(2698),u=i(6173),g=i(2580),v=i(4333),f=e([s]);function w(){return new Worker(new URL(i.p+i.u("97"),i.b),Object.assign({},{type:"module",name:"lynx-bg"},{type:void 0}))}s=(f.then?(await f)():f)[0],r=Symbol.asyncDispose;class y{static contextIdToBackgroundWorker=[];#t;#i;#n=null;#r=[];#l;jsContext;postTimingFlags;sendGlobalEvent;publicComponentEvent;publishEvent;dispatchI18nResource;updateData;updateGlobalProps;updateBTSChunk;#a;#o;#s;#c;#p=!1;constructor(e,t){this.#a=e,this.#o=t;const i=new l.C(void 0,"main-to-bg");this.#t=i,this.jsContext=new o.t({rpc:this.#t,receiveEventEndpoint:a.Is,sendEventEndpoint:a.jK}),this.#s=new Promise(e=>{this.#c=e}),this.jsContext.__start(),this.#l=this.#t.createCall(a.PM),this.postTimingFlags=this.#t.createCall(a.F6),this.sendGlobalEvent=this.#t.createCall(a.hO),this.publicComponentEvent=this.#t.createCall(a.Ke),this.publishEvent=this.#t.createCall(a.JW),this.dispatchI18nResource=this.#t.createCall(a.mB),this.updateData=this.#t.createCall(a.Ve),this.updateGlobalProps=this.#t.createCall(a.yn),this.updateBTSChunk=this.#t.createCall(a.bd)}startWebWorker(e,t,i,n,r,l){if(this.#i)return;if(void 0!==this.#a){let e=y.contextIdToBackgroundWorker[this.#a];e?e.runningCards+=1:y.contextIdToBackgroundWorker[this.#a]={worker:w(),runningCards:1},this.#i=y.contextIdToBackgroundWorker[this.#a].worker}else this.#i=w();let a=new MessageChannel;this.#i.postMessage({mainThreadMessagePort:a.port2,systemInfo:s.systemInfo,initData:e,globalProps:t,cardType:i,customSections:n,nativeModulesMap:r,napiModulesMap:l,entryTemplateUrl:this.#o.templateUrl},[a.port2]),this.#t.setMessagePort(a.port1)}startBTS(){this.#p||(this.#p=!0,this.#t.registerHandler(a.iH,(e,t)=>{let i=this.#o.mainThreadGlobalThis[e];"function"==typeof i?i.call(this.#o.mainThreadGlobalThis,t):console.error(`Method ${e} not found on mainThreadGlobalThis`)}),this.#t.registerHandler(a.eZ,this.#o.exposureServices.switchExposureService.bind(this.#o.exposureServices)),this.#t.registerHandler(a.o2,(e,t,i)=>{this.#o.reportError(e,i,"app-service.js")}),this.#t.registerHandler(a.gx,(e,t)=>{this.#o.rootDom.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0,composed:!0}))}),this.#t.registerHandler(a.nk,e=>this.#o.queryComponent(e).then(()=>(this.jsContext.dispatchEvent({type:"__OnDynamicJSSourcePrepared",data:e}),{code:0,detail:{schema:e}}))),(0,v.p)(this.#t,this.#o),(0,x.l)(this.#t,this.#o),(0,c.l)(this.#t,this.#o),(0,u.v)(this.#t,this.#o),(0,g.U)(this.#t,this.#o),(0,d.t)(this.#t,this.#o),(0,p.r)(this.#t,this.#o),(0,h.J)(this.#t,this.#o),(0,m.M)(this.#t,this.#o),this.#t.invoke(a.a$,[]).then(this.#c))}markTiming(e,t,i){this.#r.push({timingKey:e,pipelineId:t,timeStamp:i??performance.now()+performance.timeOrigin}),null===this.#n&&(this.#n=setTimeout(()=>{this.flushTimingInfo()},500))}flushTimingInfo(){this.#l(this.#r),this.#r=[],null!==this.#n&&(clearTimeout(this.#n),this.#n=null)}async [r](){if(await this.#s,await this.#t.invoke(a.hh,[]),void 0!==this.#a){let e=y.contextIdToBackgroundWorker[this.#a];e&&(e.runningCards-=1,0===e.runningCards&&(e.worker.terminate(),y.contextIdToBackgroundWorker[this.#a]=void 0))}else this.#i?.terminate();this.#n&&clearTimeout(this.#n)}}n()}catch(e){n(e)}})},42(e,t,i){i.d(t,{_:()=>l});var n=i(1180);function r(e,t,i){if(t){if((t=t.trim()).endsWith("px"))return Number(t.substring(0,t.length-2));if(t.endsWith("%")){let n=Number(t.substring(0,t.length-1)),{width:r,height:l}=e.getBoundingClientRect();return(i?r:l)*n/100}}return 0}class l{#x=new Map;#d=new Map;#h=[];#m=[];#u=null;#g=new Set;#v=!0;#o;constructor(e){this.#o=e}updateExposureStatus(e,t){for(let t of new Set(e).values())this.#x.has(t)&&this.#f(t),this.#w(t);for(let e of new Set(t).values())this.#f(e)}#y=e=>{e.forEach(({target:e,isIntersecting:t})=>{t&&!this.#g.has(e)?(this.#b(e,!0,null,!0),this.#g.add(e)):!t&&this.#g.has(e)&&(this.#b(e,!1,null,!0),this.#g.delete(e))})};#f(e){let t=this.#x.get(e);if(t){let i=this.#d.get(e);t.unobserve(e),t.disconnect(),this.#x.delete(e),this.#d.delete(e);let n=e.getAttribute("exposure-id");null!=i&&n!==i&&this.#b(e,!1,i,!1)}this.#g.delete(e)}#w(e){let t=parseFloat(e.getAttribute("exposure-area")??"0")/100,i=r(e,e.getAttribute("exposure-screen-margin-top")),l=r(e,e.getAttribute("exposure-screen-margin-right")),a=r(e,e.getAttribute("exposure-screen-margin-bottom")),o=r(e,e.getAttribute("exposure-screen-margin-left")),s=r(e,e.getAttribute("exposure-ui-margin-top")),c=r(e,e.getAttribute("exposure-ui-margin-right")),p=r(e,e.getAttribute("exposure-ui-margin-bottom")),x=r(e,e.getAttribute("exposure-ui-margin-left")),d=e.parentElement;for(;d;)if(d[n.li]){d=d[n.li];break}else d=d.parentElement;let h=d??this.#o.rootDom.parentElement,m=new IntersectionObserver(this.#y,{rootMargin:`${(p?-1:1)*(i-p)}px ${(x?-1:1)*(l-x)}px ${(s?-1:1)*(a-s)}px ${(c?-1:1)*(o-c)}px`,root:h,threshold:t});m.observe(e),this.#x.set(e,m);let u=e.getAttribute("exposure-id");null!=u&&this.#d.set(e,u)}#b(e,t,i,n){i=i??e.getAttribute("exposure-id");let r=e.getAttribute("exposure-scene")??"",l={"unique-id":this.#o.mainThreadGlobalThis.__GetElementUniqueID(e),exposureID:i,exposureScene:r,"exposure-id":i,"exposure-scene":r};if(n){let i=new CustomEvent(t?"uiappear":"uidisappear",{bubbles:!1,composed:!1,cancelable:!0,detail:l});e.dispatchEvent(i)}let a=this.#o.mtsWasmBinding.generateTargetObject(e,this.#o.mainThreadGlobalThis.__GetDataset(e)??{}),o={dataset:a.dataset,...l,type:t?"exposure":"disexposure",target:a,currentTarget:a,detail:{...l,"unique-id":0},timestamp:Date.now()};t?this.#h.push(o):this.#m.push(o),this.#u||(this.#u=setTimeout(()=>{if(this.#h.length>0||this.#m.length>0){let e=this.#h,t=this.#m;this.#h=[],this.#m=[],e.length>0&&this.#o.backgroundThread?.sendGlobalEvent("exposure",[e]),t.length>0&&this.#o.backgroundThread?.sendGlobalEvent("disexposure",[t])}this.#u=null},50))}switchExposureService(e,t){e&&!this.#v?this.#g.forEach(e=>{this.#b(e,!0,e.getAttribute("exposure-id"),!1)}):!e&&this.#v&&t&&this.#g.forEach(e=>{this.#b(e,!1,e.getAttribute("exposure-id"),!1)}),this.#v=e}}},7867(e,t,i){i.d(t,{S:()=>l});var n=i(1180);let r=e=>`${e.locale}_${e.channel}_${e.fallback_url}`;class l{#_;#E;#k;constructor(e,t,i=[]){this.#_=e,this.#E=t,this.#k=i}updateData(e,t){this.#k=this.#k.concat(e);let i=e.find(e=>r(e.options)===r(t));this.#_.dispatchI18nResource(i?.resource)}_I18nResourceTranslation=e=>{let t=this.#k?.find(t=>r(t.options)===r(e));if(this.#_.dispatchI18nResource(t?.resource),t)return t.resource;this.#T(e)};#T(e){let t=new CustomEvent(n.hv,{detail:e,bubbles:!0,composed:!0});this.#E.dispatchEvent(t)}}},3764(e,t,i){i.a(e,async function(e,n){try{i.r(t),i.d(t,{LynxViewInstance:()=>y,systemInfo:()=>w});var r,l=i(1180),a=i(9531),o=i(7867),s=i(6466),c=i(42),p=i(5341),x=i(7300),d=i(6658),h=i(3438),m=i(9521),u=e([a,p,x,m]);[a,p,x,m]=u.then?(await u)():u;let g=window.devicePixelRatio,v=window.screen.availWidth*g,f=window.screen.availHeight*g,w=Object.freeze({...l.RM,pixelRatio:g,pixelWidth:v,pixelHeight:f});r=Symbol.asyncDispose;class y{parentDom;initData;globalprops;templateUrl;rootDom;mtsRealm;mainThreadGlobalThis;mtsWasmBinding;backgroundThread;i18nManager;exposureServices;webElementsLoadingPromises=[];styleReadyPromise;styleReadyResolve;#I=null;#C=new Map;#A;#S;#z;lepusCodeUrls=new Map;constructor(e,t,i,n,r,l,p,x={},d={},h){let m;this.parentDom=e,this.initData=t,this.globalprops=i,this.templateUrl=n,this.rootDom=r,this.mtsRealm=l,this.#S=x,this.#z=d;const u=new Promise(e=>{m=e});this.styleReadyPromise=u,this.styleReadyResolve=m,this.parentDom.style.display="none",this.mainThreadGlobalThis=l.globalWindow,this.backgroundThread=new a.D(p,this),this.i18nManager=new o.S(this.backgroundThread,this.rootDom,h),this.mtsWasmBinding=new s.p(this),this.exposureServices=new c._(this),this.backgroundThread.markTiming("create_lynx_start")}onPageConfigReady(e){if(this.#A)return;this.#A=e;let t="true"==e.enableCSSSelector,i="true"==e.defaultDisplayLinear,n="true"==e.defaultOverflowVisible;Object.assign(this.mtsRealm.globalWindow,(0,p.b)(this.rootDom,this.mtsWasmBinding,t,i,n),(0,x.O)(this)),Object.defineProperty(this.mainThreadGlobalThis,"renderPage",{get:()=>this.#I,set:e=>{this.#I=e,this.onMTSScriptsExecuted()},configurable:!0,enumerable:!0})}onStyleInfoReady(e){this.mtsWasmBinding.wasmContext&&this.mtsWasmBinding.wasmContext.push_style_sheet(m.templateManagerWasm,e,this.templateUrl===e),this.parentDom.style.display="flex",this.styleReadyResolve()}onMTSScriptsLoaded(e,t){this.backgroundThread.markTiming("lepus_execute_start");let i=d.Q.getTemplate(e)?.lepusCode;this.lepusCodeUrls.set(e,i),t||this.mtsRealm.loadScript(i.root)}async onMTSScriptsExecuted(){this.backgroundThread.markTiming("lepus_execute_end"),this.webElementsLoadingPromises.push((0,h.l)()),await Promise.all([...this.webElementsLoadingPromises,this.styleReadyPromise]),this.webElementsLoadingPromises.length=0,this.backgroundThread.markTiming("data_processor_start");let e=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData?.(this.initData):this.initData;this.backgroundThread.markTiming("data_processor_end"),this.backgroundThread.startWebWorker(e,this.globalprops,d.Q.getTemplate(this.templateUrl).config.cardType,d.Q.getTemplate(this.templateUrl)?.customSections,this.#S,this.#z),this.#I?.(e),this.mainThreadGlobalThis.__FlushElementTree()}async onBTSScriptsLoaded(e){let t=d.Q.getTemplate(e)?.backgroundCode;await this.backgroundThread.updateBTSChunk(e,t),this.backgroundThread.startBTS()}loadUnknownElement(e){e.includes("-")&&!customElements.get(e)&&(this.rootDom.dispatchEvent(new CustomEvent(l.u9,{detail:{tagName:e}})),this.webElementsLoadingPromises.push(customElements.whenDefined(e).then(()=>{})))}queryComponent(e){if(this.#C.has(e))return this.#C.get(e);let t=d.Q.fetchBundle(e,Promise.resolve(this),{enableCSSSelector:this.#A.enableCSSSelector}).then(async()=>{let t=this.lepusCodeUrls.get(e),i=t?.root;if(!i)throw Error(`[lynx-web] Missing root URL for component: ${e}`);let n=await this.mtsRealm.loadScript(i);return n=this.mainThreadGlobalThis.processEvalResult?.(n,e)});return this.#C.set(e,t),t}async updateData(e,t){let i=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData(e,t):e;this.mainThreadGlobalThis.updatePage?.(i,{processorName:t}),await this.backgroundThread.updateData(i,{processorName:t})}async updateGlobalProps(e){await this.backgroundThread.updateGlobalProps(e)}reportError(e,t,i){this.rootDom.dispatchEvent(new CustomEvent("error",{detail:{sourceMap:{offset:{line:2,col:0}},error:e,release:t,fileName:i},bubbles:!0,cancelable:!0,composed:!0}))}async [r](){await this.backgroundThread[Symbol.asyncDispose]()}}n()}catch(e){n(e)}})},7300(e,t,i){i.a(e,async function(e,n){try{i.d(t,{O:()=>o});var r=i(6658),l=i(3764),a=e([l]);function o(e){let t,i,n,a,o,s,c="";return{__globalProps:e.globalprops,SystemInfo:l.systemInfo,lynx:(t=requestAnimationFrame,i=cancelAnimationFrame,n=setTimeout,a=clearTimeout,o=setInterval,s=clearInterval,{getJSContext:()=>e.backgroundThread.jsContext,requestAnimationFrame:e=>t(e),cancelAnimationFrame:e=>i(e),__globalProps:e.globalprops,getCustomSectionSync:t=>r.Q.getTemplate(e.templateUrl)?.customSections?.[t]?.content,markPipelineTiming:e.backgroundThread.markTiming.bind(e.backgroundThread),SystemInfo:l.systemInfo,setTimeout:n,clearTimeout:a,setInterval:o,clearInterval:s}),__OnLifecycleEvent:t=>{e.backgroundThread.jsContext.dispatchEvent({type:"__OnLifecycleEvent",data:t})},__LoadLepusChunk:t=>{try{return t=e.lepusCodeUrls.get(e.templateUrl)?.[t]??t,e.mtsRealm.loadScriptSync(t),!0}catch(e){return console.error(`failed to load lepus chunk ${t}`,e),!1}},_AddEventListener:()=>{},_ReportError:(t,i)=>{e.reportError?.(t,c,"lepus.js")},_SetSourceMapRelease:e=>c=e?.release,_I18nResourceTranslation:e.i18nManager._I18nResourceTranslation.bind(e.i18nManager),__QueryComponent:(t,i)=>(e.queryComponent(t).then(e=>{i?.({code:0,data:{url:t,evalResult:e}})}),null)}}l=(a.then?(await a)():a)[0],n()}catch(e){n(e)}})},9104(e,t,i){function n(e,t,i,n,r,l,a,o){let s,c=e.rootDom;if(l){let t=e.mtsWasmBinding.getElementByUniqueId(l);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for root_unique_id: ${l}`),o?.(2);return}}else if(n){let t=e.mtsWasmBinding.getElementByComponentId(n);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for component_id: ${n}`),o?.(2);return}}if(0===t)s=i;else if(2===t){let t=e.mtsWasmBinding.getElementByUniqueId(Number(i));return t?void a(t):(console.error(`[lynx-web] cannot find dom for unique_id: ${i}`),o?.(2),void 0)}else{console.error(`[lynx-web] NYI: setnativeprops type ${t}`),o?.(1);return}if(r){let e=null;try{e=c.querySelector(s)}catch(e){console.error(`[lynx-web] cannot use selector: ${s}`),o?.(5);return}e?a(e):(console.error(`[lynx-web] cannot find from for selector ${i} under`,c),o?.(2))}else c.querySelectorAll(s).forEach(e=>{a(e)})}i.d(t,{A:()=>n}),i(1180)},5885(e,t,i){i.d(t,{l:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.ZU,(e,i,r,l,a)=>{let o,s=1;return(0,n.A)(t,e,i,r,l,a,e=>{try{let i=[],n=e;for(;n;){let e=n.parentElement,r=e??t.rootDom,l=Array.from(r.children),a=t.mainThreadGlobalThis.__GetTag(n),o="page"===a?0:l.indexOf(n),s=n.getAttribute("id")||void 0,c=n.getAttribute("class")||void 0,p=t.mainThreadGlobalThis.__GetDataset(n);if(i.push({tag:a,id:s,class:c,dataSet:p,index:o}),"page"===a||n.parentNode===t.rootDom)break;n=e}o={path:i},s=0}catch(t){console.error("[lynx-web] getPathInfo: failed with",t,e),s=1}},e=>{s=e}),{code:s,data:o}})}i(1180)},447(e,t,i){i.d(t,{l:()=>a});var n=i(9104);i(1180);var r=i(7103);let l={boundingClientRect:e=>{let t=e.getBoundingClientRect();return{id:e.id,width:t.width,height:t.height,left:t.left,right:t.right,top:t.top,bottom:t.bottom}}};function a(e,t){e.registerHandler(r.zk,(e,i,r,a,o,s)=>{let c,p=1;return(0,n.A)(t,e,i,r,!0,s,e=>{try{let t=l[a],i="function"==typeof e[a];t||i?(c=t?t(e,o):e[a](o),p=0):p=3}catch(t){console.error("[lynx-web] invokeUIMethod: apply method failed with",t,e),p=4}},e=>{p=e}),{code:p,data:c}})}},6173(e,t,i){i.d(t,{v:()=>r});var n=i(7103);function r(e,t){let i=e.createCall(n.Sy);e.registerHandler(n.VK,(e,n,r)=>t.parentDom.onNapiModulesCall?.(e,n,r,i))}},2580(e,t,i){i.d(t,{U:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.g,(e,i,n)=>t.parentDom.onNativeModulesCall?.(e,i,n))}},4333(e,t,i){i.d(t,{p:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.F0,()=>{t.parentDom.reload()})}},1617(e,t,i){i.d(t,{t:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.vr,(e,i,r)=>{let l=null;return((0,n.A)(t,0,i,"card"===e?"0":e,r,void 0,e=>{l=e}),l)?[t.mainThreadGlobalThis.__GetComponentID(l)]:[]})}i(1180)},3603(e,t,i){i.d(t,{r:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.PC,(e,i,r,l,a,o)=>{(0,n.A)(t,e,i,r,l,o,e=>{var t=e;for(let e in a){let i=a[e];"text"===e&&t?.tagName==="X-TEXT"&&t.firstElementChild&&"RAW-TEXT"==t.firstElementChild.tagName&&(t=t.firstElementChild),CSS.supports(e,i)&&t.style?t.style.setProperty(e,i):t.setAttribute(e,i)}})})}},1311(e,t,i){i.d(t,{J:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.pT,(e,i)=>{let n=t.mtsWasmBinding.getElementByComponentId(e);n?.dispatchEvent(new CustomEvent(e,{...i.eventOption,detail:i.eventDetail}))})}},2698(e,t,i){i.d(t,{M:()=>r});var n=i(7103);function r(e,t){let i=new Map;e.registerHandler(n.vn,(e,n,r)=>{if("animate"===e)switch(r.operation){case 0:i.set(r.id,t.rootDom.querySelector(n)?.animate(r.keyframes,r.timingOptions));break;case 1:i.get(r.id)?.play();break;case 2:i.get(r.id)?.pause();break;case 3:i.get(r.id)?.cancel(),i.delete(r.id);break;case 4:i.get(r.id)?.finish(),i.delete(r.id)}})}i(1180)},6466(e,t,i){i.d(t,{p:()=>a});var n=i(1180);function r(e){let t={};for(let i in e){let n=e[i];("boolean"==typeof n||"number"==typeof n||"string"==typeof n||null===n)&&(t[i]=n)}return t}var l=i(4646);class a{lynxViewInstance;wasmContext;toBeEnabledElement=new Set;toBeDisabledElement=new Set;constructor(e){this.lynxViewInstance=e}markExposureRelatedElementByUniqueId(e,t){e&&(t?(this.toBeDisabledElement.delete(e),this.toBeEnabledElement.add(e)):(this.toBeEnabledElement.delete(e),this.toBeDisabledElement.add(e)))}generateTargetObject(e,t){let i=e[n.Fd];return{dataset:Object.assign(Object.create(null),t),id:e.id||null,uniqueId:i}}getClassList(e){return[...e.classList]}getElementByUniqueId(e){return this.wasmContext?.get_dom_by_unique_id(e)}getElementByComponentId(e){let t=this.wasmContext?.get_unique_id_by_component_id(e);if(void 0!=t)return this.getElementByUniqueId(t)}runWorklet(e,t,i,n,r,l){let a=this.getElementByUniqueId(i),o=this.getElementByUniqueId(r);t.target=this.generateTargetObject(a,n),t.currentTarget=this.generateTargetObject(o,l),t.target.elementRefptr=a,t.currentTarget.elementRefptr=o,this.lynxViewInstance.mainThreadGlobalThis.runWorklet?.(e.value,[t])}publishEvent(e,t,i,n,r,l,a){let o=this.getElementByUniqueId(n),s=this.getElementByUniqueId(l);i.target=this.generateTargetObject(o,r),i.currentTarget=this.generateTargetObject(s,a),t?this.lynxViewInstance?.backgroundThread.publicComponentEvent(t,e,i):this.lynxViewInstance.backgroundThread.publishEvent(e,i)}#j=e=>{let t=e.target,i=new Uint32Array(32),a=0,o=t;for(;o&&o!==this.lynxViewInstance.rootDom;){let e=(0,l.Tj)(o);if(i[a++]=e,a>=i.length){let e=new Uint32Array(2*i.length);e.set(i),i=e}o=o.parentElement}let s=function(e){let t=e.type,i={},l=e.isTrusted,a={},o=e.detail??{};if(t.match(/^transition/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.propertyName,new_animator:!0});else if(t.match(/animation/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.animationName,new_animator:!0});else if(t.startsWith("touch")){let t=[...e.touches],i=[...e.targetTouches],n=[...e.changedTouches];Object.assign(a,{touches:l?t.map(r):t,targetTouches:l?i.map(r):i,changedTouches:l?n.map(r):n})}else t.startsWith("mouse")?Object.assign(a,{button:e.button,buttons:e.buttons,x:e.x,y:e.y,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY}):"click"===t&&(o={x:e.x,y:e.y});return{type:n.$4[t]??t,timestamp:e.timeStamp,detail:o,params:i,...a}}(e);this.wasmContext?.common_event_handler(s,i.slice(0,a),s.type)};addEventListener(e){this.lynxViewInstance.rootDom.addEventListener(n.im[e]??e,this.#j,{passive:!0,capture:!0})}postTimingFlags(e,t){this.lynxViewInstance.backgroundThread.postTimingFlags(e,t)}updateExposureStatus(e,t){this.lynxViewInstance.exposureServices.updateExposureStatus(e,t)}enableElementEvent(e,t){e&&e.enableEvent?.(n.im[t]??t)}disableElementEvent(e,t){e&&e.disableEvent?.(n.im[t]??t)}}},5341(e,t,i){i.a(e,async function(e,n){try{i.d(t,{b:()=>c});var r=i(9521),l=i(1180),a=i(4646),o=i(2925),s=e([r]);r=(s.then?(await s)():s)[0];let p=URL.createObjectURL(new Blob([o.A],{type:"text/css"})),x=document.createElement("link");x.rel="stylesheet",x.href=p,x.type="text/css";let{MainThreadWasmContext:d,add_inline_style_raw_string_key:h,set_inline_styles_number_key:m,set_inline_styles_in_str:u,get_inline_styles_in_key_value_vec:g}=r.wasmInstance;function c(e,t,i,n,r){let o;e.append(x.cloneNode(!1));let s=new d(e,t,i);t.wasmContext=s;let c=[],p=(e,t,i)=>{let n=e.map(e=>e[l.Fd]);return s.set_css_id(new Uint32Array(n),t??0,i)},v=(e,i,n,r)=>{let a=e[l.Fd];if("string"==typeof r?s.add_cross_thread_event(a,i,n,r):null==r?(s.add_cross_thread_event(a,i,n,void 0),s.add_run_worklet_event(a,i,n,void 0)):"object"==typeof r&&s.add_run_worklet_event(a,i,n,r),"uiappear"===n||"uidisappear"===n){let e=s.get_dom_by_unique_id(a);e&&t.markExposureRelatedElementByUniqueId(e,null!=r)}};return{__CreateView(e){let t=document.createElement("x-view");return t[l.Fd]=s.create_element_common(e,t),t},__CreateText(e){let t=document.createElement("x-text");return t[l.Fd]=s.create_element_common(e,t),t},__CreateImage(e){let t=document.createElement("x-image");return t[l.Fd]=s.create_element_common(e,t),t},__CreateRawText(e){let t=document.createElement("raw-text");return t.setAttribute("text",e),t[l.Fd]=s.create_element_common(-1,t),t},__CreateScrollView(e){let t=document.createElement("scroll-view");return t[l.Fd]=s.create_element_common(e,t),t},__CreateElement(e,t){let i=document.createElement(l.H1[e]??e);return i[l.Fd]=s.create_element_common(t,i),i},__CreateComponent(e,t,i,n,r){let a=document.createElement("x-view");return a[l.Fd]=s.create_element_common(e,a,i,t),n&&a.setAttribute(l.Pb,n),r&&a.setAttribute("name",r),a},__CreateWrapperElement(e){let t=document.createElement("lynx-wrapper");return t[l.Fd]=s.create_element_common(e,t),t},__CreateList(e,t,i){let n=document.createElement("x-list");return n.componentAtIndex=t,n.enqueueComponent=i,n[l.Fd]=s.create_element_common(e,n),n},__CreatePage(e,t){if(o)return o;let i=document.createElement("div");return i[l.Fd]=s.create_element_common(0,i,t,e),r&&i.setAttribute(l.f7,"true"),n||i.setAttribute(l.Gm,"false"),i.setAttribute("part","page"),o=i,i},__SetClasses:i?a.R5:(e,t)=>{(0,a.R5)(e,t);let i=e[l.Fd];s.update_css_og_style(i,e.getAttribute(l.Pb))},__SetCSSId:p,__AddInlineStyle:(e,t,i)=>("string"!=typeof i&&(i=i.toString()),"number"==typeof t)?m(e,t,i):h(e,t.toString(),i),__SetInlineStyles:(e,t)=>{t?"string"==typeof t?u(e,t)||e.setAttribute("style",t):t?g(e,Object.entries(t).flat().map(e=>e.toString())):e.removeAttribute("style"):e.removeAttribute("style")},__AddConfig:(e,t,i)=>{let n=e[l.Fd];s.get_config(n)[t]=i},__UpdateComponentInfo:(e,t)=>{let i=e[l.Fd],{componentID:n,cssID:r,entry:a,name:o}=t;o?e.setAttribute("name",o):e.removeAttribute("name"),s.update_component_id(i,n),void 0!==r&&p([e],r,a)},__UpdateComponentID:(e,t)=>{let i=e[l.Fd];s.update_component_id(i,t)},__GetConfig:e=>{let t=e[l.Fd];return s.get_config(t)},__SetConfig:(e,t)=>{let i=e[l.Fd];s.set_config(i,t)},__GetElementConfig:e=>{let t=e[l.Fd];return s.get_element_config(t)},__GetComponentID:e=>{let t=e[l.Fd];return s.get_component_id(t)},__SetDataset:(e,t)=>{let i=e[l.Fd];s.set_dataset(i,e,t)},__AddDataset:(e,t,i)=>{let n=e[l.Fd];i?e.setAttribute(`data-${t}`,"object"==typeof i?JSON.stringify(i):i.toString()):e.removeAttribute(`data-${t}`),s.add_dataset(n,t,i)},__GetDataset:e=>{let t=e[l.Fd];return Object.assign(Object.create(null),s.get_dataset(t))},__GetDataByKey:(e,t)=>{let i=e[l.Fd];return s.get_data_by_key(i,t)},__SetAttribute(e,i,n){if("update-list-info"===i){let{insertAction:t,removeAction:i}=n;queueMicrotask(()=>{let n=e.componentAtIndex,r=e.enqueueComponent,l=(0,a.Tj)(e);for(let i of t)n?.(e,l,i.position,0,!1);for(let t of i)r?.(e,l,t.position)})}else null==n?e.removeAttribute(i):e.setAttribute(i,n.toString()),"exposure-id"===i?null!=n?t.markExposureRelatedElementByUniqueId(e,!0):t.markExposureRelatedElementByUniqueId(e,!1):i===l.xW&&c.push(String(n))},__AddEvent:v,__GetEvent:(e,t,i)=>{let n=e[l.Fd];return s.get_event(n,t,i)},__GetEvents:e=>{let t=e[l.Fd];return s.get_events(t)},__SetEvents:(e,t)=>{for(let i of t)v(e,i.type,i.name,i.function)},__GetPageElement:()=>o,__AppendElement:a.vh,__ElementIsEqual:a.pn,__FirstElement:a.vH,__GetChildren:a.yj,__GetParent:a.d6,__InsertElementBefore:a.pi,__LastElement:a.Nu,__NextElement:a.cw,__RemoveElement:a.z3,__ReplaceElement:a.Xk,__GetAttributes:a.GE,__GetAttributeByName:a.li,__ReplaceElements:a.yE,__GetID:a.cb,__SetID:a.wr,__GetTag:a.zm,__AddClass:a.gA,__GetClasses:a.Tq,__MarkTemplateElement:a.uY,__MarkPartElement:a.ZW,__GetTemplateParts:a.$G,__GetElementUniqueID:a.Tj,__UpdateListCallbacks:a.YW,__SwapElement:a.cJ,__FlushElementTree:(i,n)=>{let r=n?.pipelineOptions?.pipelineID,a=t.lynxViewInstance.backgroundThread;o&&!o.parentNode&&""!==o.getAttribute(l.JA)&&(a.markTiming("dispatch_start",r),a.jsContext.dispatchEvent({type:"__OnNativeAppReady",data:void 0}),a.markTiming("layout_start",r),a.markTiming("ui_operation_flush_start",r),e.appendChild(o),e.host.style.display="flex",a.markTiming("ui_operation_flush_end",r),a.markTiming("layout_end",r),a.markTiming("dispatch_end",r),a.flushTimingInfo());let p=c.concat(s.take_timing_flags());requestAnimationFrame(()=>{t.postTimingFlags(p,r)}),c.length=0;let x=[...t.toBeEnabledElement];t.toBeEnabledElement.clear();let d=[...t.toBeDisabledElement];t.toBeDisabledElement.clear(),t?.updateExposureStatus(x,d)}}}n()}catch(e){n(e)}})},4646(e,t,i){i.d(t,{$G:()=>k,GE:()=>u,Nu:()=>p,R5:()=>_,Tj:()=>C,Tq:()=>y,Xk:()=>h,YW:()=>A,ZW:()=>I,cJ:()=>b,cb:()=>v,cw:()=>x,d6:()=>s,gA:()=>E,li:()=>g,pi:()=>c,pn:()=>l,uY:()=>T,vH:()=>a,vh:()=>r,wr:()=>f,yE:()=>m,yj:()=>o,z3:()=>d,zm:()=>w});var n=i(1180);let r=(e,t)=>e.appendChild(t),l=(e,t)=>e===t,a=e=>e.firstElementChild,o=e=>e.children?[...e.children]:null,s=e=>e.parentElement,c=(e,t,i)=>e.insertBefore(t,i),p=e=>e.lastElementChild,x=e=>e.nextElementSibling,d=(e,t)=>e.removeChild(t),h=(e,t)=>t.replaceWith(e),m=(e,t,i)=>{if(t=Array.isArray(t)?t:[t],!i||Array.isArray(i)&&i?.length===0)e.append(...t);else{i=Array.isArray(i)?i:[i];for(let t=1;t<i.length;t++)d(e,i[t]);i[0].replaceWith(...t)}},u=e=>Object.fromEntries(e.getAttributeNames().map(t=>[t,e.getAttribute(t)]).filter(([,e])=>e)),g=(e,t)=>e.getAttribute(t),v=e=>e.getAttribute("id"),f=(e,t)=>t?e.setAttribute("id",t):e.removeAttribute("id"),w=e=>{let t=e.tagName.toLowerCase();return n.vh[t]??t},y=e=>[...e.classList],b=(e,t)=>{let i=document.createElement("div");e.replaceWith(i),t.replaceWith(e),i.replaceWith(t)},_=(e,t)=>{t?e.setAttribute("class",t):e.removeAttribute("class")},E=(e,t)=>{e.classList.add(t)},k=e=>{if(null===e.getAttribute(n.y))return{};let t=C(e),i={};for(let r of e.querySelectorAll(`[${n.oZ}]:not([${n.y}="${t}"] [${n.y}] [${n.oZ}])`)){let e=r.getAttribute(n.oZ);e&&(i[e]=r)}return i},T=e=>{let t=C(e);e.setAttribute(n.y,t.toString())},I=(e,t)=>{e.setAttribute(n.oZ,t)},C=e=>(e&&e[n.Fd])??-1,A=(e,t,i)=>{e.componentAtIndex=t,e.enqueueComponent=i}},3438(e,t,i){i.d(t,{l:()=>n});function n(){return i.e("724").then(i.bind(i,4086)).then(()=>{})}},8239(e,t,i){i.d(t,{C:()=>n});class n{port;name;incId=0;#R=[];#M={};#D=new TextEncoder;#B=new TextDecoder;#G=new Map;constructor(e,t){this.port=e,this.name=t,e&&(e.onmessage=e=>this.#H(e.data))}setMessagePort(e){if(this.port)throw Error("Rpc port already set");for(let t of(this.port=e,this.#R))this.postMessage(t.message,t.detail);this.#R=[],e.onmessage=e=>this.#H(e.data)}postMessage(e,t){this.port?this.port.postMessage(e,t):this.#R.push({message:e,detail:t})}get nextRetId(){return`ret_${this.name}_${this.incId++}`}static createRetEndpoint(e){return{name:e,hasReturn:!1,isSync:!1}}#H=async e=>{let t=this.#G.get(e.name);if(t){let i=e.sync?new Int32Array(e.lock):void 0,r=!e.sync&&e.retId?n.createRetEndpoint(e.retId):void 0;try{let n=await t(...e.data),l,a=[];if(e.sync?l=n:e.hasTransfer?{data:l,transfer:a}=n||{}:l=n,e.sync){if(e.buf){let t=JSON.stringify(l),i=new Uint32Array(e.buf,0,1),n=new Uint8Array(e.buf,4),r=new Uint8Array(e.buf.byteLength-4),{written:a}=this.#D.encodeInto(t,r);i[0]=a,n.set(r,0)}Atomics.store(i,0,1),Atomics.notify(i,0)}else e.retId&&this.invoke(r,[l,!1],a||[])}catch(t){console.error(t),e.sync?(Atomics.store(i,0,2),Atomics.notify(i,0),i[1]=2):this.invoke(r,[void 0,!0])}}else{let t=this.#M[e.name];t?t.push(e):this.#M[e.name]=[e]}};createCall(e){return(...t)=>this.invoke(e,t)}registerHandler(e,t){this.#G.set(e.name,t);let i=this.#M[e.name];if(i?.length)for(let t of(this.#M[e.name]=void 0,i))this.#H(t)}registerHandlerRef(e,t,i){this.registerHandler(e,(...e)=>t[i]?.call(t,...e))}registerHandlerLazy(e,t,i){if(t[i])this.registerHandlerRef(e,t,i);else{let n,r=this;Object.defineProperty(t,i,{get:()=>n,set(l){n=l,l&&r.registerHandlerRef(e,t,i)}})}}removeHandler(e){this.#G.delete(e.name)}invoke(e,t,i=[]){if(e.isSync){let n=e.bufferSize?new SharedArrayBuffer(e.bufferSize+4):void 0,r=new SharedArrayBuffer(4),l=new Int32Array(r);l[0]=0;let a={name:e.name,data:t,sync:!0,lock:r,buf:n};if(this.postMessage(a,{transfer:i}),Atomics.wait(l,0,0),2===l[0])throw null;if(!n)return;{let e=new Uint32Array(n,0,4)[0],t=new Uint8Array(n,4,e),i=new Uint8Array(e);return i.set(t,0),i?JSON.parse(this.#B.decode(i)):void 0}}if(e.hasReturn){let r,l,a;r=new Promise((e,t)=>{l=e,a=t});let o=n.createRetEndpoint(this.nextRetId);this.registerHandler(o,(e,t)=>{t&&a(),l(e)});let s={name:e.name,data:t,sync:!1,retId:o?.name,hasTransfer:e.hasReturnTransfer};return this.postMessage(s,{transfer:i}),r}{let n={name:e.name,data:t,sync:!1};this.postMessage(n,{transfer:i})}}createCallbackify(e,t){let i=this.createCall(e);return(...e)=>{let n=e.at(t);e.splice(t,1),i(...e).then(n)}}}},9282(e,t,i){i.d(t,{H:()=>n});function n(e,t,i=!0,r=!1,l){return{name:e,isSync:t,hasReturn:i,hasReturnTransfer:r,bufferSize:l}}},2551(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,l){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);n&&a[p[0]]||(void 0!==l&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=l),i&&(p[2]&&(p[1]="@media ".concat(p[2]," {").concat(p[1],"}")),p[2]=i),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),t.push(p))}},t}},4166(e){e.exports=function(e){return e[1]}}}]);
@@ -80,7 +80,7 @@
80
80
  class="mask placeholder-dom"
81
81
  id="bot-fade-mask"
82
82
  part="bot-fade-mask"
83
- ></div>`,oK=/<\s*script/g,oG=e=>{let{src:t}=e;if(t&&oK.test(t))throw Error("detected <script, this is a potential XSS attack, please check your src");return`<img part="img" alt="" loading="lazy" id="img" ${t?`src="${t}"`:""}/> `},oJ=`<style>
83
+ ></div>`,oK=/<\s*script/g,oG=e=>{let{src:t}=e;if(t&&oK.test(t))throw Error("detected <script, this is a potential XSS attack, please check your src");return`<img part="img" alt="" id="img" ${t?`src="${t}"`:""}/> `},oJ=`<style>
84
84
  #input:focus {
85
85
  outline: none;
86
86
  }
@@ -306,4 +306,4 @@
306
306
  border: none;
307
307
  }
308
308
  </style>
309
- <iframe id="webview" part="webview"></iframe>`,o5=CSS.supports("width:1rex")&&CSS.supports("transition-behavior:allow-discrete")&&CSS.supports("content-visibility: auto");class o8{static observedAttributes=[];static observedCSSProperties=["--lynx-display","--lynx-linear-orientation"];#c;constructor(e){this.#c=e,this.cssPropertyChangedHandler={"--lynx-display":this.#M,"--lynx-linear-orientation":this.#k}}#M=o_(()=>this.#c,"lynx-computed-display");#k=o_(()=>this.#c,"lynx-linear-orientation")}let o9=o5?void 0:o8;I=oO("scroll-view",[o9,oz,oW,oV,oq,oY],oj),new class extends oN{constructor(){super(i1),A()}static #h=(()=>{class e extends(O=HTMLElement){static #h={c:[i1,A]}=ox(this,[],[I],O);static notToFilterFalseAttributes=new Set(["enable-scroll"]);static scrollInterval=100;#D;scrollTo(...e){let t;if("string"==typeof e[0].offset){let s=parseFloat(e[0].offset);t={left:s,top:s}}else"number"==typeof e[0].offset&&(t={left:e[0].offset,top:e[0].offset});if("number"==typeof e[0].index){let s=e[0].index;if(0===s)this.scrollTop=0,this.scrollLeft=0;else if(s>0&&s<this.childElementCount){let e=this.children.item(s);e instanceof HTMLElement&&(t=t?{left:e.offsetLeft+t.left,top:e.offsetTop+t.top}:{left:e.offsetLeft,top:e.offsetTop})}}t?this.scrollTo({...t,behavior:e[0].smooth?"smooth":"auto"}):super.scrollTo(...e)}autoScroll(t){if(clearInterval(this.#D),t.start){let s=("number"==typeof t.rate?t.rate:parseFloat(t.rate))*e.scrollInterval/1e3;this.#D=setInterval(e=>{e.scrollBy({left:s,top:s,behavior:"smooth"})},e.scrollInterval,this)}}get[oU](){return this}}})()};let o6=Symbol("__src"),o7=Symbol("__src"),re={loadstart:{code:0,type:"init"},canplay:{code:1,type:"playable"},stalled:{code:2,type:"stalled"},error:{code:3,type:"error"}},rt={stop:{code:0,type:"stopped"},play:{code:1,type:"playing"},pause:{code:2,type:"paused"}};R=oM("src",!0),M=oM("loop",!0),k=oM("pause-on-hide",!0);class rs{static #h={e:[D,F]}=ox(this,[[R,2,"_handleSrc"],[k,2,"_handlePauseOnHide"],[M,0,"_handleLoop"]],[]);static observedAttributes=["src","loop","pause-on-hide"];#c;#F=(F(this),oA(()=>this.#c.shadowRoot,"#audio"));_handleSrc(e){let t;try{t=JSON.parse(e||"")||{}}catch(e){console.error(`JSON.parse src error: ${e}`),t={}}null===e?this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:-1,msg:"",from:"res loader",currentSrcID:this.#c[o6]?.id}})):(t?.id===void 0||t?.play_url===void 0)&&this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:-2,msg:"",from:"res loader",currentSrcID:this.#c[o6]?.id}})),this.#c[o6]=t,this.#c[o7]=void 0,this.#c.stop()}_handleLoop=D(this,o_(this.#F,"loop"));#N=()=>{"hidden"===document.visibilityState&&this.#c.pause()};_handlePauseOnHide(e){null!==e?document.addEventListener("visibilitychange",this.#N,{passive:!0}):document.removeEventListener("visibilitychange",this.#N)}constructor(e){this.#c=e}}class ri{static observedAttributes=[];#c;#H;#F=oA(()=>this.#c.shadowRoot,"#audio");#P=e=>{let t=Number(this.#c.getAttribute("interval")),s=Number.isNaN(t)?0:t;this.#H=setInterval(()=>{this.#c.dispatchEvent(new CustomEvent("timeupdate",{...oH,detail:{currentTime:this.#F().currentTime,currentSrcID:this.#c[o6]?.id}}))},s);let i=rt[e.type];this.#c.dispatchEvent(new CustomEvent("playbackstatechanged",{...oH,detail:{code:i?.code,type:i?.type,currentSrcID:this.#c[o6]?.id}}))};#z=e=>{clearInterval(this.#H);let t=rt[e.type];this.#c.dispatchEvent(new CustomEvent("playbackstatechanged",{...oH,detail:{code:t?.code,type:t?.type,currentSrcID:this.#c[o6]?.id}}))};#V=e=>{let t=re[e.type];this.#c.dispatchEvent(new CustomEvent("loadingstatechanged",{...oH,detail:{code:t?.code,type:t?.type,currentSrcID:this.#c[o6]?.id}}))};#W=e=>{this.#V(e);let t=e.target?.error?.code,s=t===MediaError.MEDIA_ERR_DECODE?-5:-6;t===MediaError.MEDIA_ERR_DECODE&&(s=-5),this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:s,msg:"",from:"player",currentSrcID:this.#c[o6]?.id}}))};#X=()=>{let e=null!==this.#c.getAttribute("loop");this.#c.dispatchEvent(new CustomEvent("finished",{...oH,detail:{loop:e,currentSrcID:this.#c[o6]?.id}}))};constructor(e){this.#c=e}connectedCallback(){let e=this.#F();e.addEventListener("play",this.#P,{passive:!0}),e.addEventListener("pause",this.#z,{passive:!0}),e.addEventListener("ended",this.#X,{passive:!0}),e.addEventListener("loadstart",this.#V,{passive:!0}),e.addEventListener("canplay",this.#V,{passive:!0}),e.addEventListener("stalled",this.#V,{passive:!0}),e.addEventListener("error",this.#W,{passive:!0})}}N=oO("x-audio-tt",[oz,rs,ri],'<audio id="audio"></audio>');class ro extends(P=HTMLElement){static #h={c:[i2,H]}=ox(this,[],[N],P);#$=oA(()=>this.shadowRoot,"#audio");#F=oA(()=>this.shadowRoot,"#audio");#B=o_(this.#F,"src");[o6];[o7];#U=()=>{let e,t=this[o6];if(t&&t.id&&t.play_url){try{e=JSON.parse(this.getAttribute("headers")||"{}")||{}}catch(t){console.error(`JSON.parse headers error: ${t}`),e={}}this[o7]=new Promise(async(s,i)=>{this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...oH,detail:{code:0,type:"loading",currentSrcID:t.id}}));let o=await fetch(t.play_url,{headers:e});o.ok||(this.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:-3,msg:"",from:"res loader",currentSrcID:t.id}})),i()),this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...oH,detail:{code:1,type:"success",currentSrcID:t.id}}));let r=await o.blob(),n=URL.createObjectURL(r);this.#B(n),s()})}};play(){return this[o7]||this.#U(),this[o7]?.then(()=>{let e=this.#$();e.currentTime=0,e.play()}),{currentSrcID:this[o6]?.id,loadingSrcID:""}}stop(){let e=this.#$(),t=rt.stop;return this.dispatchEvent(new CustomEvent("playbackstatechanged",{...oH,detail:{code:t?.code,type:t?.type,currentSrcID:this[o6]?.id}})),e.currentTime=0,e.pause(),{currentSrcID:this[o6]?.id}}pause(){return this.#$().pause(),{currentSrcID:this[o6]?.id}}resume(){return this.#$().play(),{currentSrcID:this[o6]?.id,loadingSrcID:""}}seek(e){return this.#$().currentTime=(e.currentTime||0)/1e3,this.dispatchEvent(new CustomEvent("seek",{...oH,detail:{seekresult:1,currentSrcID:this[o6]?.id}})),{currentSrcID:this[o6]?.id}}mute(e){return this.#$().muted=e.mute,{currentSrcID:this[o6]?.id}}playerInfo(){var e;let t=this.#$(),s=t.buffered,i=s.end(s.length-1);return{currentSrcID:this[o6]?.id,duration:1e3*t.duration,playbackState:(e=t)?e.paused?2*!e.ended:e.currentTime>0?1:3:-1,currentTime:t.currentTime,cacheTime:i}}prepare(){this[o7]||this.#U()}setVolume(e){return this.#$().volume=e.volume,{code:1}}static #d=H()}z=oM("name",!0),V=oM("height",!0),W=oM("width",!0);class rr{static #h={e:[X,$,B]}=ox(this,[[z,0,"handleName"],[V,0,"handleHeight"],[W,0,"handleWidth"]],[]);static observedAttributes=["name","height","width"];#c;#p;#q=oA(()=>this.#c.shadowRoot,"#canvas");constructor(e){this.#c=e}handleName=X(this,o_(this.#q,"name"));handleHeight=$(this,o_(this.#q,"height"));handleWidth=B(this,o_(this.#q,"width"));#Y=e=>{let{contentRect:t}=e[0],s=this.#c.shadowRoot.firstElementChild;if(s){let{height:e,width:i}=t;e*=window.devicePixelRatio,i*=window.devicePixelRatio;let o=new CustomEvent("resize",{...oH,detail:{height:e,width:i}});o.height=e,o.width=i,s.dispatchEvent(o)}};#j(){this.#p||(this.#p=new ResizeObserver(this.#Y),this.#p.observe(this.#c))}#K(){this.#p?.disconnect(),this.#p=void 0}connectedCallback(){this.#j()}dispose(){this.#K()}}U=oO("x-canvas",[oz,rr],((e,...t)=>String.raw({raw:e},...t))`<canvas id="canvas" part="canvas"></canvas>`);class rn extends(Y=HTMLElement){static #h={c:[i3,q]}=ox(this,[],[U],Y);static #d=q()}j=oM("granularity",!0),K=oD("offset");class rl{static #h={e:[G]}=ox(this,[[j,2,"_handleGranularity"],[K,2,"_enableOffsetEvent"]],[]);#c;#G=(G(this),.01);#J=0;constructor(e){this.#c=e}static observedAttributes=["granularity"];_handleGranularity(e){e&&""!==e?this.#G=parseFloat(e):this.#G=.01}_enableOffsetEvent(e){e?this.#c.addEventListener("scroll",this.#L,{passive:!0}):this.#c.removeEventListener("scroll",this.#L)}#L=()=>{let e=this.#c.scrollTop;(Math.abs(this.#J-e)>this.#G||0===this.#c.scrollTop||1>=Math.abs(this.#c.scrollHeight-this.#c.clientHeight-this.#c.scrollTop))&&(this.#J=e,this.#c.dispatchEvent(new CustomEvent("offset",{...oH,detail:{offset:e,height:this.#c[ra]}})))}}let ra=Symbol("scrollableLength"),rh=Symbol("isHeaderShowing"),rd=Symbol("resizeObserver"),rc=Symbol("slotKid");J=oO("x-foldview-ng",[o9,oz,rl]),new class extends oN{constructor(){super(i4),Q()}static #h=(()=>{class e extends(Z=HTMLElement){static #h={c:[i4,Q]}=ox(this,[],[J],Z);static notToFilterFalseAttributes=new Set(["scroll-enable"]);[rc];[rd]=new ResizeObserver(e=>{for(let t of e)"X-FOLDVIEW-HEADER-NG"===t.target.tagName?this.#Q=t.contentRect.height:"X-FOLDVIEW-TOOLBAR-NG"===t.target.tagName&&(this.#Z=t.contentRect.height);this[rc]&&(this[rc].style.top=`${this.#Q-this.#Z}px`)});#Q=0;#Z=0;get[ra](){return this.#Q-this.#Z}get[rh](){return this[ra]-this.scrollTop>=1}get scrollTop(){return super.scrollTop}set scrollTop(e){e>this[ra]?e=this[ra]:e<0&&(e=0),super.scrollTop=e}setFoldExpanded(e){let{offset:t,smooth:s=!0}=e,i=parseFloat(t);this.scrollTo({top:i,behavior:s?"smooth":"instant"})}get[oU](){return this}disconnectedCallback(){this[rd]?.disconnect(),this[rd]=void 0}}})()};let ru=(e,t)=>{let s=e.parentElement;if(s?.tagName==="LYNX-WRAPPER"&&(s=s.parentElement),s?.tagName===t)return s};ee=oO("x-foldview-header-ng",[o9,oz]);class rp extends(es=HTMLElement){static #h={c:[i5,et]}=ox(this,[],[ee],es);#ee=void 0;connectedCallback(){let e=ru(this,"X-FOLDVIEW-NG");this.#ee=e?.[rd],this.#ee?.observe(this)}dispose(){this.#ee?.unobserve(this)}static #d=et()}ei=oO("x-foldview-slot-drag-ng",[o9,oz]);class rm extends(er=HTMLElement){static #h={c:[i8,eo]}=ox(this,[],[ei],er);static #d=eo()}class rv{#et=0;#es=new WeakMap;#ei;#eo=0;#er=0;#en=null;#el;#ea=0;#c;static observedAttributes=[];constructor(e){this.#c=e,this.#c.addEventListener("touchmove",this.#eh,{passive:!1}),this.#c.addEventListener("touchstart",this.#ed,{passive:!0}),this.#c.addEventListener("touchend",this.#ec,{passive:!0}),this.#c.addEventListener("wheel",this.#eu,{passive:!1})}#ep(e){return this.#ei?.find(t=>{if(t.scrollHeight>t.clientHeight){let s=e<0&&0!==t.scrollTop,i=e>0&&Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)>1;return s||i}return!1})}#em(e,t){let s=this.#es.get(e)??0;s+=t,this.#es.set(e,s),e.scrollTop=s}#eh=e=>{let t=this.#ev();if(!t)return;let{pageY:s,pageX:i}=e.touches.item(0),o=this.#eo-s;if(null===this.#en){let e=this.#er-i;this.#en=Math.abs(o)>Math.abs(e)}!1!==this.#en&&(e.cancelable&&e.preventDefault(),this.#eg(o,t),this.#eo=s)};#eu=e=>{let t=this.#ev();if(!t||Math.abs(e.deltaY)<=Math.abs(e.deltaX))return;let s=e.composedPath().filter(e=>e instanceof Element&&this.#c.contains(e)),{clientX:i,clientY:o}=e,r=document.elementsFromPoint(i,o).filter(e=>this.#c.contains(e));if(this.#ei=[...new Set([...s,...r])],this.#et=t.scrollTop,this.#ei)for(let e of this.#ei)this.#es.set(e,e.scrollTop);e.cancelable&&e.preventDefault(),this.#eg(e.deltaY,t)};#ev(){let e=this.#c.parentElement;if(e&&"X-FOLDVIEW-NG"===e.tagName)return e}#ed=e=>{let{pageX:t,pageY:s}=e.touches.item(0);for(let e of(this.#ei=document.elementsFromPoint(t,s).filter(e=>this.#c.contains(e)),this.#eo=s,this.#er=t,this.#et=this.#ev()?.scrollTop??0,this.#ei))this.#es.set(e,e.scrollTop);this.#en=null,this.#el=void 0};#ec=()=>{if(this.#en=null,this.#el){let e=this.#ev();(this.#el!==e||e[rh])&&this.#el.scrollBy({top:4*this.#ea,behavior:"smooth"})}};#eg(e,t){let s=this.#ep(e);t[rh]&&e>0||e<0&&!s||!t[rh]&&!s?(t.scrollBy({top:e,behavior:"smooth"}),this.#et+=e,t.scrollTop=this.#et,this.#el=t):s&&(this.#el=s,this.#em(s,e)),this.#ea=e}}en=oO("x-foldview-slot-ng",[o9,oz,rv]);class rg extends(ea=HTMLElement){static #h={c:[i9,el]}=ox(this,[],[en],ea);connectedCallback(){this.matches("x-foldview-ng>x-foldview-slot-ng:first-of-type")&&(this.parentElement[rc]=this)}static #d=el()}eh=oO("x-foldview-toolbar-ng",[o9,oz]);class rb extends(ec=HTMLElement){static #h={c:[i6,ed]}=ox(this,[],[eh],ec);#ee=void 0;connectedCallback(){let e=ru(this,"X-FOLDVIEW-NG");this.#ee=e?.[rd],this.#ee?.observe(this)}dispose(){this.#ee?.unobserve(this)}static #d=ed()}eu=oM("drop-shadow",!0);class rf{static #h={e:[ep]}=ox(this,[[eu,0,"_handleBlurRadius"]],[]);static observedAttributes=["drop-shadow"];#c;#eb=oA(()=>this.#c.shadowRoot,"#img");_handleBlurRadius=ep(this,oI(this.#eb,"--drop-shadow",void 0,!0));constructor(e){this.#c=e}}em=oM("src",!0),ev=oM("placeholder",!0),eg=oM("blur-radius",!0),eb=oM("crossorigin",!0),ef=oM("referrerpolicy",!0);class rE{static #h={e:[eE,ew,ey,ex,eS]}=ox(this,[[ev,2,"_preloadPlaceholder"],[em,0,"_handleSrc"],[eg,0,"_handleBlurRadius"],[eb,0,"_handleCrossorigin"],[ef,0,"_handleReferrerpolicy"]],[]);static observedAttributes=["src","placeholder","blur-radius","crossorigin","referrerpolicy"];#c;#eb=(eS(this),oA(()=>this.#c.shadowRoot,"#img"));_handleSrc=eE(this,o_(this.#eb,"src",e=>e||this.#c.getAttribute("placeholder")));_preloadPlaceholder(e){e&&(new Image().src=e)}_handleBlurRadius=ew(this,oI(this.#eb,"--blur-radius",void 0,!0));_handleCrossorigin=ey(this,o_(this.#eb,"crossorigin"));_handleReferrerpolicy=ex(this,o_(this.#eb,"referrerpolicy"));#ef=()=>{let e=this.#eb().src,t=this.#c.getAttribute("placeholder");t&&e!==t&&(this.#eb().src=t)};constructor(e){this.#c=e,this.#eb().addEventListener("error",this.#ef)}connectedCallback(){(null===this.#c.getAttribute("src")||""===this.#c.getAttribute("src"))&&this._handleSrc(null)}}eT=oD("load"),eC=oD("error");class rw{static #h={e:[eL]}=ox(this,[[eT,2,"_enableLoadEvent"],[eC,2,"_enableErrorEvent"]],[]);static observedAttributes=[];#c;#eb=(eL(this),oA(()=>this.#c.shadowRoot,"#img"));_enableLoadEvent(e){e?this.#eb().addEventListener("load",this.#eE,{passive:!0}):this.#eb().removeEventListener("load",this.#eE)}_enableErrorEvent(e){e?this.#eb().addEventListener("error",this.#ew,{passive:!0}):this.#eb().removeEventListener("error",this.#ew)}#eE=()=>{this.#c.dispatchEvent(new CustomEvent("load",{...oH,detail:{width:this.#eb().naturalWidth,height:this.#eb().naturalHeight}}))};#ew=()=>{this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{}}))};constructor(e){this.#c=e}}e_=oO("filter-image",[oz,rE,rf,rw],oG({}));class ry extends(eA=HTMLElement){static #h={c:[i7,eI]}=ox(this,[],[e_],eA);static #d=eI()}eO=oO("x-image",[oz,rE,rw],oG({}));class rx extends(eM=HTMLElement){static #h={c:[oe,eR]}=ox(this,[],[eO],eM);static #d=eR()}ek=oM("confirm-type",!0),eD=oM("maxlength",!0),eF=oM("readonly",!0),eN=oM("type",!0),eH=oM("ios-spell-check",!0),eP=oM("spell-check",!0);class rS{static #h={e:[ez,eV,eW,eX,e$]}=ox(this,[[eN,2,"_handleType"],[ek,0,"_handlerConfirmType"],[eD,0,"_handlerMaxlength"],[eF,0,"_handleReadonly"],[[eH,eP],0,"_handleSpellCheck"]],[]);static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check"];#c;#ey=(e$(this),oA(()=>this.#c.shadowRoot,"#input"));_handlerConfirmType=ez(this,o_(this.#ey,"enterkeyhint",e=>null===e?"send":e));_handlerMaxlength=eV(this,o_(this.#ey,"maxlength",e=>null===e?"140":e));_handleReadonly=eW(this,o_(this.#ey,"readonly",e=>null!==e?"":null));#ex=o_(this.#ey,"type");#eS=o_(this.#ey,"inputmode");_handleType(e){let t="text",s="text";"digit"===e?t="numeric":"number"===e?t="decimal":"email"===e?t="email":"tel"===e?t="tel":s=e,this.#eS(t),this.#ex(s)}_handleSpellCheck=eX(this,o_(this.#ey,"spellcheck",e=>null===e?"false":"true"));constructor(e){this.#c=e}}eB=oM("placeholder",!0),eU=oM("placeholder-color",!0),eq=oM("placeholder-font-family",!0),eY=oM("placeholder-font-size",!0),ej=oM("placeholder-font-weight",!0);class rT{static #h={e:[eK,eG,eJ,eQ,eZ]}=ox(this,[[eB,0,"_handlerPlaceholder"],[eU,0,"_handlerPlaceholderColor"],[eq,0,"_handlerPlaceholderFontFamily"],[eY,0,"_handlerPlaceholderFontSize"],[ej,0,"_handlerPlaceholderFontWeight"]],[]);static observedAttributes=["placeholder","placeholder-color","placeholder-font-family","placeholder-font-size","placeholder-font-weight"];#c;#ey=oA(()=>this.#c.shadowRoot,"#input");_handlerPlaceholder=eK(this,o_(this.#ey,"placeholder"));_handlerPlaceholderColor=eG(this,oI(this.#ey,"--placeholder-color",void 0,!0));_handlerPlaceholderFontFamily=eJ(this,oI(this.#ey,"--placeholder-font-family",void 0,!0));_handlerPlaceholderFontSize=eQ(this,oI(this.#ey,"--placeholder-font-size",void 0,!0));_handlerPlaceholderFontWeight=eZ(this,oI(this.#ey,"--placeholder-font-weight",void 0,!0));constructor(e){this.#c=e}}e0=oM("value",!1),e1=oM("disabled",!0),e2=oM("autocomplete",!0);class rC{static #h={e:[e3,e4,e5]}=ox(this,[[e0,2,"_handleValue"],[e1,0,"_handleDisabled"],[e2,0,"_handleAutocomplete"]],[]);static observedAttributes=["value","disabled","autocomplete"];#c;#ey=(e5(this),oA(()=>this.#c.shadowRoot,"#input"));_handleValue(e){if(e){let t=parseFloat(this.#c.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#ey();t.value!==e&&(t.value=e)}_handleDisabled=e3(this,o_(this.#ey,"disabled",e=>null!==e?"":null));_handleAutocomplete=e4(this,o_(this.#ey,"autocomplete"));constructor(e){this.#c=e}}let rL={submit:"confirm",blur:"lynxblur",focus:"lynxfocus"};e8=oM("input-filter",!0),e9=oD("lynxinput"),e6=oM("send-composing-input",!0),e7=oD("selection");class r_{static #h={e:[te]}=ox(this,[[[e8,e9],2,"_handleEnableInputEvent"],[e6,2,"_handleSendComposingInput"],[e7,2,"_handleEnableSelectionEvent"]],[]);static observedAttributes=["send-composing-input","input-filter"];#c;#eT=(te(this),!1);#ey=oA(()=>this.#c.shadowRoot,"#input");#eC=oA(()=>this.#c.shadowRoot,"#form");_handleEnableInputEvent(e){let t=this.#ey();e?(t.addEventListener("input",this.#eL,{passive:!0}),t.addEventListener("compositionend",this.#e_,{passive:!0})):(t.removeEventListener("input",this.#eL),t.removeEventListener("compositionend",this.#e_))}_handleSendComposingInput(e){this.#eT=null!==e}#eI=e=>{let t=rL[e.type]??e.type;this.#c.dispatchEvent(new CustomEvent(t,{...oH,detail:{value:this.#ey().value}}))};#eL=e=>{let t=this.#ey(),s=this.#c.getAttribute("input-filter"),i=s?t.value.replace(RegExp(s,"g"),""):t.value,o=e.isComposing;t.value=i,(!o||this.#eT)&&this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:i,textLength:i.length,cursor:t.selectionStart,isComposing:o,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#e_=()=>{let e=this.#ey(),t=this.#c.getAttribute("input-filter"),s=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=s,this.#eT||this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:s,textLength:s.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};_handleEnableSelectionEvent(e){e?this.#ey().addEventListener("select",this.#eA,{passive:!0}):this.#ey().removeEventListener("select",this.#eA)}#eA=()=>{let e=this.#ey();this.#c.dispatchEvent(new CustomEvent("selection",{...oH,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#eO=e=>{e.target===this.#ey()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#c=e;const t=this.#ey(),s=this.#eC();t.addEventListener("blur",this.#eI,{passive:!0}),t.addEventListener("focus",this.#eI,{passive:!0}),s.addEventListener("submit",this.#eI,{passive:!0}),s.addEventListener("input",this.#eO,{passive:!0})}}tt=oO("x-input",[oz,rT,rC,rS,r_],oJ);class rI extends(ti=HTMLElement){static #h={c:[ot,ts]}=ox(this,[],[tt],ti);#eR=oA(()=>this.shadowRoot,"#input");addText(e){let{text:t}=e,s=this.#eR(),i=s.selectionStart;if(null===i)s.value=t;else{let e=s.value;s.value=e.slice(0,i)+t+e.slice(i)}}controlKeyBoard(e){let{action:t}=e;0===t||1===t?this.focus():(2===t||3===t)&&this.blur()}setValue(e){let t,s=this.#eR();s.value=e.value,(t=e.index)&&s.setSelectionRange(t,t)}getValue(){let e=this.#eR();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:s}=e,i=this.#eR();1===t&&(s=1);let o=i.selectionStart;if(null===o){let e=i.value;i.value=i.value.substring(0,e.length-s)}else{let e=i.value;i.value=e.slice(0,o-s)+e.slice(o)}}setInputFilter(e){this.#eR().setAttribute("pattern",e.pattern)}select(){let e=this.#eR();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#eR().setSelectionRange(e.selectionStart,e.selectionEnd)}focus(e){this.#eR().focus(e)}blur(){this.#eR().blur()}connectedCallback(){let e=this.#eR();null===this.getAttribute("confirm-type")&&e.setAttribute("confirm-type","send"),null===this.getAttribute("maxlength")&&e.setAttribute("maxlength","140")}static #d=ts()}to=oM("events-pass-through",!0),tr=oM("visible",!1);class rA{static #h={e:[tn]}=ox(this,[[to,2,"_handleEventsPassThrough"],[tr,2,"_handleVisible"]],[]);static observedAttributes=["visible","events-pass-through"];#c;#eM=(tn(this),!!window.HTMLDialogElement);#ek=!1;constructor(e){this.#c=e}#eD=oA(()=>this.#c.shadowRoot,"#dialog");_handleEventsPassThrough(e){null!==e?(this.#eD().addEventListener("click",this.#eF,{passive:!1}),this.#c.addEventListener("click",this.#eF,{passive:!1})):(this.#eD().removeEventListener("click",this.#eF),this.#c.removeEventListener("click",this.#eF))}_handleVisible(e){this.#ek=null!==e,this.#eM&&(this.#ek?(this.#eD().showModal(),this.#c.dispatchEvent(new CustomEvent("showoverlay",oH))):(this.#eD().close(),this.#c.dispatchEvent(new CustomEvent("dismissoverlay",oH))))}#eF=e=>{e.stopPropagation();let t=this.#eD();if(e.target===this.#c||e.target===t){t.close();let{clientX:s,clientY:i}=e,o=document.elementFromPoint(s,i);o?.tagName==="LYNX-VIEW"&&o.shadowRoot&&(o=o.shadowRoot.elementFromPoint(s,i)??o),o?.dispatchEvent(new MouseEvent("click",e)),requestAnimationFrame(()=>{this.#ek&&t.isConnected&&t.showModal()})}};connectedCallback(){this.#eM||(this.#eD().style.display="none")}}tl=oO("x-overlay-ng",[oz,rA],oZ);class rO extends(th=HTMLElement){static #h={c:[os,ta]}=ox(this,[],[tl],th);get[oP](){return this.shadowRoot.firstElementChild}static #d=ta()}class rR extends Event{startShowing;fullyShowing;static EventName="x-refresh-view-intersecting";constructor(e,t){super(rR.EventName,{composed:!1,cancelable:!0,bubbles:!0}),this.startShowing=e,this.fullyShowing=t}}class rM{#c;static observedAttributes=[];#eN;constructor(e){this.#c=e}connectedCallback(){if(IntersectionObserver&&!this.#eN){let e=this.#c.parentElement;e&&(this.#eN=new IntersectionObserver(e=>{let t=!1,s=!1;e.forEach(e=>{t=e.intersectionRatio>0,s=e.intersectionRatio>.9}),this.#c.dispatchEvent(new rR(t,s)),s&&this.#c.setAttribute("x-magnet-enable","")},{root:e,threshold:[.1,.9]}),this.#eN.observe(this.#c))}}dispose(){this.#eN&&(this.#eN.disconnect(),this.#eN=void 0)}}td=oO("x-refresh-footer",[o9,oz,rM]);class rk extends(tu=HTMLElement){static #h={c:[oi,tc]}=ox(this,[],[td],tu);connectedCallback(){this.setAttribute("slot","footer")}static #d=tc()}tp=oO("x-refresh-header",[o9,oz,rM]);class rD extends(tv=HTMLElement){static #h={c:[oo,tm]}=ox(this,[],[tp],tv);connectedCallback(){this.setAttribute("slot","header")}static #d=tm()}tg=oD("headeroffset"),tb=oD("headershow"),tf=oD("footeroffset"),tE=oD("startrefresh"),tw=oD("headerreleased"),ty=oD("startloadmore"),tx=oD("footerreleased");class rF{static #h={e:[tS]}=ox(this,[[[tg,tb,tf],2,"_handleComplexEventEnableAttributes"],[[tE,tw,ty,tx],2,"_handleXEnableHeaderOffsetEvent"]],[]);#c;static observedAttributes=[];#eH=(tS(this),oA(()=>this.#c,"x-refresh-view > x-refresh-header:first-of-type"));#eP=oA(()=>this.#c,"x-refresh-view > x-refresh-footer:first-of-type");constructor(e){this.#c=e,this.#c.addEventListener(rR.EventName,this.#ez)}#eV={headeroffset:!1,headerreleased:!1,startrefresh:!1,footeroffset:!1,headershow:!1,footerreleased:!1,startloadmore:!1};_handleComplexEventEnableAttributes(e,t){this.#eV[t]=e;let{headeroffset:s,headershow:i,footeroffset:o}=this.#eV;s||i||o?this.#eW():this.#eX()}_handleXEnableHeaderOffsetEvent(e,t){this.#eV[t]=e;let{startrefresh:s,headerreleased:i,startloadmore:o,footerreleased:r}=this.#eV;i||r||o||s?this.#e$():this.#eB()}#eU=!1;#eq=!1;#eY=!1;#ej=!1;#ez=e=>{e.stopPropagation(),"X-REFRESH-HEADER"===e.target.tagName?(this.#eU=e.startShowing,this.#eq=e.fullyShowing):(this.#eY=e.startShowing,this.#ej=e.fullyShowing)};#eK=!1;#e$(){this.#eK||(this.#c.addEventListener("touchend",this.#eG),this.#eK=!0)}#eG=()=>{this.#eq?(this.#c.dispatchEvent(new CustomEvent("headerreleased",oH)),this.#c.dispatchEvent(new CustomEvent("startrefresh",{...oH,detail:{isManual:this.#c._nextRefreshIsManual}})),this.#c._nextRefreshIsManual=!0):("true"===this.#c.getAttribute("enable-auto-loadmore")&&this.#eY||this.#ej)&&(this.#c.dispatchEvent(new CustomEvent("footerreleased",oH)),this.#c.dispatchEvent(new CustomEvent("startloadmore",oH)))};#eB(){this.#eK&&this.#c.removeEventListener("touchend",this.#eG)}#eJ=!1;#eQ=!1;#eW(){this.#eQ||(this.#c.addEventListener("touchstart",this.#eZ),this.#c.addEventListener("touchend",this.#e0),this.#c.addEventListener("touchcancel",this.#e0),this.#c.shadowRoot.querySelector("#container").addEventListener("scroll",this.#L))}#e0=()=>{this.#eJ=!1};#eZ=()=>{this.#eJ=!0};#L=()=>{if(this.#eU&&(this.#eV.headershow||this.#eV.headeroffset)){let e=this.#eH();if(e){let t=parseFloat(getComputedStyle(e).height),s=this.#c.shadowRoot.querySelector("#container").scrollTop;this.#c.dispatchEvent(new CustomEvent("headershow",{...oH,detail:{isDragging:this.#eJ,offsetPercent:1-s/t}})),this.#c.dispatchEvent(new CustomEvent("headeroffset",{...oH,detail:{isDragging:this.#eJ,offsetPercent:1-s/t}}))}}else if(this.#eY&&this.#eV.footeroffset){let e=this.#eP();if(e){let t=this.#c.shadowRoot.querySelector("#container").scrollTop,s=parseFloat(getComputedStyle(e).height);this.#c.dispatchEvent(new CustomEvent("footeroffset",{...oH,detail:{isDragging:this.#eJ,offsetPercent:1-t/s}}))}}};#eX(){this.#eQ&&(this.#c.removeEventListener("touchstart",this.#eZ),this.#c.removeEventListener("touchend",this.#e0),this.#c.removeEventListener("touchcancel",this.#e0),this.#c.shadowRoot.querySelector("#container").removeEventListener("scroll",this.#L))}dispose(){this.#eB(),this.#eX()}}tT=oO("x-refresh-view",[o9,oz,rF],o0),new class extends oN{constructor(){super(or),tC()}static #h=(()=>{class e extends(tL=HTMLElement){static #h={c:[or,tC]}=ox(this,[],[tT],tL);static notToFilterFalseAttributes=new Set(["enable-refresh","enable-loadmore","enable-auto-loadmore"]);_nextRefreshIsManual=!0;finishRefresh(){this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.removeAttribute("x-magnet-enable")}finishLoadMore(){this.querySelector("x-refresh-view > x-refresh-footer:first-of-type")?.removeAttribute("x-magnet-enable")}autoStartRefresh(){let e=this.shadowRoot.querySelector("#container");this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.setAttribute("x-magnet-enable",""),this._nextRefreshIsManual=!1,e.scroll({top:0,behavior:"smooth"})}#e1=oA(()=>this.shadowRoot,"#container");#e2=oA(()=>this.shadowRoot,"#content");get scrollTop(){let e=this.#e1(),t=this.#e2();return t.scrollTop+t.offsetTop-e.scrollTop}set scrollTop(e){console.log(e);let t=this.#e1(),s=this.#e2();e>0?s.scrollTop=e:t.scrollTop=s.offsetTop+e}get scrollHeight(){return this.#e2().scrollHeight}get[oU](){return this}}})()},t_=oM("src",!0),tI=oM("content",!0),tA=oD("load");class rN{static #h={e:[tO]}=ox(this,[[t_,2,"_handleSrc"],[tI,2,"_handleContent"],[tA,2,"_enableLoadEvent"]],[]);static observedAttributes=["src","content"];#c;#e3=(tO(this),null);#eb=oA(()=>this.#c.shadowRoot,"#img");_handleSrc(e){e?this.#eb().src=e:this.#eb().src=""}_handleContent(e){if(this.#e3&&URL.revokeObjectURL(this.#e3),!e){this.#e3="";return}let t=new Blob([e],{type:"image/svg+xml;charset=UTF-8"}),s=URL.createObjectURL(t);this.#e3=s,this.#eb().src=s}_enableLoadEvent(e){e?this.#eb().addEventListener("load",this.#eE,{passive:!0}):this.#eb().removeEventListener("load",this.#eE)}#eE=()=>{this.#c.dispatchEvent(new CustomEvent("load",{...oH,detail:{width:this.#eb().naturalWidth,height:this.#eb().naturalHeight}}))};constructor(e){this.#c=e}}tR=oO("x-svg",[oz,rN],'<img part="img" alt="" loading="lazy" id="img" /> ');class rH extends(tk=HTMLElement){static #h={c:[on,tM]}=ox(this,[],[tR],tk);static #d=tM()}tD=oO("x-swiper-item",[o9,oz]);class rP extends(tN=HTMLElement){static #h={c:[ol,tF]}=ox(this,[],[tD],tN);static #d=tF()}tH=oD("transition"),tP=oD("scrollstart"),tz=oD("lynxscrollend"),tV=oD("change"),tW=oD("change-event-for-indicator");class rz{static #h={e:[tX,t$]}=ox(this,[[[tP,tz,tV,tW],2,"_enableScrollEventProcessor"],[tH,0,"_handleEnableTransitionEvent"]],[]);static observedAttributes=[];#c;#e4=(t$(this),0);#e5=0;#eJ=!1;#g;#e8=!1;constructor(e){this.#c=e}#e2=oA(()=>this.#c.shadowRoot,"#content").bind(this);_handleEnableTransitionEvent=tX(this,oL(this.#e2,"scroll",this.#e9,{passive:!0}));#L(){o$||(clearTimeout(this.#g),this.#g=setTimeout(()=>{this.#I()},100)),this.#e8||(this.#c.dispatchEvent(new CustomEvent("scrollstart",{...oH,detail:{current:this.#e4,isDragged:this.#eJ}})),this.#e8=!0);let e=this.#e2(),t=this.#c.isVertical,s=t?e.scrollTop:e.scrollLeft,i=t?e.clientHeight:e.clientWidth,o=t?e.scrollHeight:e.scrollWidth;if(Math.abs(this.#e5-s)>i/4||s<10||Math.abs(s-o)<=i){let e=this.#c.currentIndex;e!==this.#e4&&(this.#c.dispatchEvent(new CustomEvent("change",{...oH,detail:{current:e,isDragged:this.#eJ}})),this.#e4=e),this.#e5=s}}#I(){this.#c.dispatchEvent(new CustomEvent("lynxscrollend",{...oH,detail:{current:this.#e4}})),this.#e8=!1}#e6(){this.#eJ=!0}#e7(){this.#eJ=!1}#e9(){this.#c.dispatchEvent(new CustomEvent("transition",{...oH,detail:{dx:this.#e2().scrollLeft,dy:this.#e2().scrollTop}}))}#te=[oL(this.#e2,"scroll",this.#L.bind(this),{passive:!0}),oL(this.#e2,"touchstart",this.#e6.bind(this),{passive:!0}),oL(this.#e2,"touchend",this.#e7.bind(this),{passive:!0}),oL(this.#e2,"touchcancel",this.#e7.bind(this),{passive:!0}),oL(this.#e2,"scrollend",this.#I.bind(this),{passive:!0})];#eV={scrollstart:!1,lynxscrollend:!1,change:!1,"change-event-for-indicator":!1};_enableScrollEventProcessor(e,t){this.#eV[t]=e;let{lynxscrollend:s,scrollstart:i,change:o}=this.#eV,r=o||s||i||this.#eV["change-event-for-indicator"];this.#te.forEach(e=>e(r))}connectedCallback(){this.#e4=parseFloat(this.#c.getAttribute("current")??"0");let e=this.#c.isVertical;this.#e5=e?this.#e2().scrollTop:this.#e2().scrollLeft}}tB=oM("current",!1),tU=oM("interval",!1),tq=oM("autoplay",!1);class rV{static #h={e:[tY]}=ox(this,[[tB,2,"_handleCurrentChange"],[[tU,tq],2,"_handleAutoplay"]],[]);static observedAttributes=["current","interval","autoplay"];#c;constructor(e){this.#c=e}#tt(){this.#c.currentIndex===this.#c.childElementCount-1?this.#c.circularPlay&&(this.#c.currentIndex=0):this.#c.currentIndex+=1}_handleCurrentChange(e){let t=Number(e);Number.isNaN(t)||(this.#c.currentIndex=t)}#ts;#ti=(tY(this),(()=>{this.#tt()}).bind(this));#to(e){this.#tr(),this.#ts=setInterval(this.#ti,e)}#tr(){this.#ts&&clearInterval(this.#ts)}_handleAutoplay(){if(null!==this.#c.getAttribute("autoplay")){let e=this.#c.getAttribute("interval"),t=e?parseFloat(e):5e3;Number.isNaN(t)&&(t=5e3),this.#to(t)}}dispose(){this.#tr()}}tj=oM("circular",!1),tK=oM("vertical",!0);class rW{static #h={e:[tG]}=ox(this,[[tj,2,"_handleCircular"],[tK,2,"_handleVerticalChange"]],[]);static observedAttributes=["circular","vertical"];#c;#tn=(tG(this),!1);#tl;#ta=0;#e2=oA(()=>this.#c.shadowRoot,"#content").bind(this);constructor(e){this.#c=e}#th=oA(()=>this.#c.shadowRoot,"#circular-start").bind(this);#td=oA(()=>this.#c.shadowRoot,"#circular-end").bind(this);#tc(e){let t=this.#c.childElementCount;if(t>2){let{current:s,isDragged:i,__isFirstLayout:o}=e.detail;if(0===s||s===t-1||2===s||s===t-2){let e,r=this.#e2(),n=this.#th().assignedElements(),l=this.#td().assignedElements(),a=this.#c.firstElementChild,h=this.#c.lastElementChild,d=this.#c.snapDistance;if(0===s?(l.forEach(e=>e.removeAttribute("slot")),h.setAttribute("slot","circular-start"),e=a):s===t-1?(n.forEach(e=>e.removeAttribute("slot")),a.setAttribute("slot","circular-end"),e=h):(n.forEach(e=>e.removeAttribute("slot")),l.forEach(e=>e.removeAttribute("slot")),e=this.#c.children[s]),this.#tn){let t="carousel"===this.#c.getAttribute("mode")?.8*r.clientHeight/2:r.clientHeight/2;this.#ta=e.offsetTop+e.offsetHeight/2-d-t,r.scrollTop=this.#ta}else{let t="carousel"===this.#c.getAttribute("mode")?.8*r.clientWidth/2:r.clientWidth/2;this.#ta=e.offsetLeft+e.offsetWidth/2-d-t,r.scrollLeft=this.#ta}if(!i){let e=this.#c.getAttribute("mode");if(o&&(null===e||"normal"===e||"carousel"===e||"carry"===e))return;this.#tu(o?"instant":"smooth")}}}}#tu(e){let t=this.#e2(),s=this.#c.snapDistance;t.scrollBy({top:this.#tn?s:0,left:this.#tn?0:s,behavior:e??"smooth"})}#te=[oL(()=>this.#c,"change",this.#tc.bind(this),{passive:!0}),oL(()=>this.#c,"touchmove",this.#tp.bind(this),{passive:!1}),oL(()=>this.#c,"touchend",this.#tm.bind(this),{passive:!1}),oL(()=>this.#c,"touchcancel",this.#tm.bind(this),{passive:!1})];_handleCircular(e){this.#te.forEach(t=>t(null!=e)),null!==e&&this.#tc({detail:{current:this.#c.currentIndex,isDragged:!1,__isFirstLayout:!0}})}#tp(e){let t=e.touches.item(0);if(t){let e=this.#tn?t.pageY:t.pageX;if(void 0!==this.#tl){this.#tv();let t=this.#tl-e;this.#ta+=t}this.#tl=e}}#tm(e){this.#tg(),this.#tu(),this.#tl=void 0}_handleVerticalChange(e){this.#tn=null!==e}#tb;#tv(){if(!this.#tb){let e=this.#e2();this.#ta=this.#tn?e.scrollTop:e.scrollLeft,this.#tb=setInterval(()=>{this.#tn?e.scrollTop=this.#ta:e.scrollLeft=this.#ta},10)}}#tg(){this.#tb&&(clearInterval(this.#tb),this.#tb=void 0)}dispose(){this.#tg()}}tJ=oM("indicator-color",!0),tQ=oM("indicator-active-color",!0),tZ=oM("page-margin",!0),t0=oM("previous-margin",!0),t1=oM("next-margin",!0);class rX{static #h={e:[t2,t3,t4,t5,t8]}=ox(this,[[tJ,0,"_handleIndicatorColor"],[tQ,0,"_handleIndicatorActiveColor"],[tZ,0,"_handlePageMargin"],[t0,0,"_handlePreviousMargin"],[t1,0,"_handleNextMargin"]],[]);static observedAttributes=["indicator-color","indicator-active-color","page-margin","previous-margin","next-margin"];#c;#tf=0;#tE=oA(()=>this.#c.shadowRoot,"#indicator-container");#tw=oA(()=>this.#c.shadowRoot,"#indicator-style");#ty;constructor(e){this.#c=e}_handleIndicatorColor=t2(this,oI(this.#tE,"--indicator-color",void 0,!0));_handleIndicatorActiveColor=t3(this,oI(this.#tE,"--indicator-active-color",void 0,!0));_handlePageMargin=t4(this,oI(this.#tE,"--page-margin",void 0,!0));_handlePreviousMargin=t5(this,oI(this.#tE,"--previous-margin",void 0,!0));_handleNextMargin=t8(this,oI(this.#tE,"--next-margin",void 0,!0));#tx(){let e=this.#c.childElementCount;if(e!==this.#tf){let t="";for(let s=0;s<e;s++)t+=`<div style="animation-timeline:--x-swiper-item-${s};" part="indicator-item"></div>`;if(this.#tE().innerHTML=t,e>5){for(let t=0;t<e;t++)this.#c.children.item(t)?.style.setProperty("view-timeline-name",`--x-swiper-item-${t}`);this.#tw().innerHTML=`:host { timeline-scope: ${Array.from({length:e},(e,t)=>`--x-swiper-item-${t}`).join(",")} !important; }`}}this.#tf=e}connectedCallback(){this.#tx(),this.#ty=new MutationObserver(this.#tx.bind(this)),this.#ty.observe(this.#c,{attributes:!1,characterData:!1,childList:!0,subtree:!1}),CSS.supports("timeline-scope","--a, --b")||(this.#c.addEventListener("change",(({detail:e})=>{let t=e.current,s=this.#c.childElementCount,i=this.#tE();for(let e=0;e<s;e++){let s=i.children[e];s&&(e===t?s.style.setProperty("background-color","var(--indicator-active-color)","important"):s.style.removeProperty("background-color"))}}).bind(this)),oC(()=>{this.#tE().children[this.#c.currentIndex]?.style.setProperty("background-color","var(--indicator-active-color)","important")}))}dispose(){this.#ty?.disconnect(),this.#ty=void 0}}t9=oO("x-swiper",[oz,rX,rz,rW,rV],o1),new class extends oN{constructor(){super(oa),t6()}static #h=(()=>{class e extends(t7=HTMLElement){static #h={c:[oa,t6]}=ox(this,[],[t9],t7);static notToFilterFalseAttributes=new Set(["smooth-scroll","indicator-dots"]);#e2=oA(()=>this.shadowRoot,"#content").bind(this);#tS(){let e=0,t=Number.MAX_SAFE_INTEGER,s=0;if(this.childElementCount>0){let i=this.#e2(),o=this.isVertical,r=this.childElementCount,n=o?i.scrollTop:i.scrollLeft,l=o?i.clientHeight:i.clientWidth,a=o?this.firstElementChild.offsetHeight:this.firstElementChild.offsetWidth,h=n+("carousel"===this.getAttribute("mode")?.8*l/2:l/2);for(let i=0;i<r;i++){let r=this.children[i];if(r){let n=(o?r.offsetTop:r.offsetLeft)+a/2-h,l=Math.abs(n);l<t&&(e=i,t=l,s=n)}}}return{current:e,minDistanceToMid:t,minOffsetToMid:s}}get currentIndex(){return this.#tS().current}set currentIndex(e){if(this.currentIndex===e)return;let t=null===this.getAttribute("smooth-scroll");this.#tT(e,t?"smooth":"instant")}#tT(e,t){let s=this.children.item(e);if(s){let e=this.isVertical,i=0;i="flat-coverflow"===this.getAttribute("mode")?e?s.offsetTop-s.offsetHeight/3:s.offsetLeft-s.offsetWidth/3:e?s.offsetTop:s.offsetLeft,this.#e2().scrollTo({left:e?0:i,top:e?i:0,behavior:t})}}get snapDistance(){return this.#tS().minOffsetToMid}get isVertical(){return null!==this.getAttribute("vertical")}get circularPlay(){return null!==this.getAttribute("circular")}scrollTo(...e){if(e.length>0&&"object"==typeof e[0]&&null!==e[0]&&"index"in e[0]){let{index:t,smooth:s=!0}=e[0];if("number"==typeof t)return void this.#tT(t,s?"smooth":"instant")}super.scrollTo(...e)}connectedCallback(){let e=this.getAttribute("current");null!==e&&this.#tT(Number(e),"instant")}get[oU](){return this}}})()},se=oM("src",!0);class r${static #h={e:[st]}=ox(this,[[se,2,"_handleSrc"]],[]);static observedAttributes=["src"];#c;constructor(e){this.#c=e}#tC=(st(this),oA(()=>this.#c.shadowRoot,"#img"));_handleSrc(e){e?this.#tC().setAttribute("src",e):this.#tC().removeAttribute("src")}}ss=oO("inline-image",[r$],oG({}));class rB extends(so=HTMLElement){static #h={c:[oh,si]}=ox(this,[],[ss],so);static #d=si()}sr=oO("inline-text",[]);class rU extends(sl=HTMLElement){static #h={c:[od,sn]}=ox(this,[],[sr],sl);static #d=sn()}sa=oO("inline-truncation",[]),new class extends oN{constructor(){super(oc),sh()}static #h=(()=>{class e extends(sd=HTMLElement){static #h={c:[oc,sh]}=ox(this,[],[sa],sd);static XEnableCustomTruncation="x-text-custom-overflow";connectedCallback(){CSS.supports("selector(:has(inline-truncation))")||this.parentElement?.tagName!=="X-TEXT"||this.matches("inline-truncation ~ inline-truncation")||this.parentElement.setAttribute(e.XEnableCustomTruncation,""),this.setAttribute("slot","inline-truncation")}disconnectedCallback(){this.parentElement?.removeAttribute(e.XEnableCustomTruncation)}}})()},sc=oM("text",!0);class rq{static #h={e:[su]}=ox(this,[[sc,2,"_handleText"]],[]);static observedAttributes=["text"];#c;#tL;constructor(e){su(this),this.#c=e}_handleText(e){this.#tL?.remove(),e&&(this.#tL=new Text(e),this.#c.append(this.#tL))}}sp=oO("raw-text",[rq]);class rY extends(sv=HTMLElement){static #h={c:[ou,sm]}=ox(this,[],[sp],sv);static #d=sm()}sg=oM("text-maxlength",!0),sb=oM("text-maxline",!0),sf=oM("tail-color-convert",!0),sE=oD("layout");class rj{static #h={e:[sw]}=ox(this,[[[sg,sb,sf],2,"_handleAttributeChange"],[sE,2,"_handleEnableLayoutEvent"]],[]);static exceedMathLengthAttribute="x-text-clipped";static showInlineTruncation="x-show-inline-truncation";static observedAttributes=["text-maxlength","text-maxline","tail-color-convert"];#t_=(sw(this),!1);#tI=!1;#tA=new Map;#tO;#p;#tR;#tM;#tk=!1;#tD=NaN;#tF=NaN;#tN=!0;#tH=!1;get #tP(){return!this.#tz&&!this.#tN}get #tz(){if(CSS.supports("selector(:has(inline-truncation))"))return this.#c.matches(":has(inline-truncation)");{let e=this.#c.querySelector("inline-truncation");if(e?.parentElement===this.#c)return!0}return!1}get #tV(){return!isNaN(this.#tF)&&(this.#tz||!this.#tN)}#c;constructor(e){this.#c=e}#tW=oA(()=>this.#c.shadowRoot,"#inner-box");#tX(e){e.forEach(e=>{e.removedNodes.forEach(e=>{this.#tA.delete(e)}),"characterData"===e.type&&void 0!==this.#tA.get(e.target)&&this.#tA.set(e.target,e.target.data)})}#t$(){for(let[e,t]of this.#tA)e.nodeType===Node.TEXT_NODE?void 0!==t&&(e.data=t):e.removeAttribute(rj.exceedMathLengthAttribute);this.#c.removeAttribute(rj.exceedMathLengthAttribute),this.#c.removeAttribute(rj.showInlineTruncation)}#tB(e){let t=[],s=e;for(;s=s.nextSibling;)(s.nodeType===Node.TEXT_NODE||s.nodeType===Node.ELEMENT_NODE)&&t.push(s);return t}#tU(){!this.#tI||this.#c.matches("x-text>x-text")||this.#t_||(this.#t_=!0,oC(async()=>{await this.#tq(),this.#tY(),this.#t_=!1}))}async #tq(){if(this.#tR?.parentElement?.removeChild(this.#tR),this.#t$(),!this.#tV&&isNaN(this.#tD))return;await document.fonts.ready;let e=this.#tW().getBoundingClientRect();this.#tM=new rK(this.#c,e);let t=this.#tM,s=(isNaN(this.#tD)?void 0:t.getNodeInfoByCharIndex(this.#tD))?this.#tD:1/0,i=this.#tV&&t.getLineInfo(this.#tF)?t.getLineInfo(this.#tF-1):void 0,o=1/0,r=3;if(i){let{start:s,end:n}=i,l=n-s;if(this.#tz){this.#c.setAttribute(rj.showInlineTruncation,"");let i=this.#c.querySelector("inline-truncation").getBoundingClientRect(),r=e.width,l=i.width;if(r>l){o=n-1;let e=document.createRange(),s=t.getNodeInfoByCharIndex(o),i=n-s.start;for(e.setEnd(s.node,i),e.setStart(s.node,i);e.getBoundingClientRect().width<l&&(o-=1)&&(s=t.getNodeInfoByCharIndex(o));)e.setStart(s.node,o-s.start)}else o=s,this.#c.removeAttribute(rj.showInlineTruncation)}else l<3?(r=l,o=s):o=n-3}let n=Math.min(s,o);if(n<1/0){let e=t.getNodeInfoByCharIndex(n);if(e){let s=n-e.start,i=e.node,o=[];i.nodeType===Node.TEXT_NODE?(this.#tA.set(i,i.data),i.data=i.data.substring(0,s)):o.push(i),o=o.concat(this.#tB(i));let l=i.parentElement;for(;l!==this.#c;)o=o.concat(this.#tB(l)),l=l.parentElement;if(o.forEach(e=>{e.nodeType===Node.TEXT_NODE&&0!==e.data.length?(this.#tA.set(e,e.data),e.data=""):e.nodeType===Node.ELEMENT_NODE&&(this.#tA.set(e,""),e.setAttribute(rj.exceedMathLengthAttribute,""))}),this.#tP){let o=(0===s?t.nodelist.at(e.nodeIndex-1)?.parentElement:i.parentElement)??i.parentElement;this.#tR=new Text(Array(r).fill(".").join("")),o.append(this.#tR)}this.#c.setAttribute(rj.exceedMathLengthAttribute,"")}this.#tj(n)}}#tK=e=>{this.#tX(e),this.#tU()};#tG=()=>{if(this.#tk){this.#tk=!1;return}this.#tU()};#tY(){this.#tI&&((this.#tD||this.#tF)&&!this.#tO&&(this.#tO=new MutationObserver(this.#tK),this.#tO.observe(this.#c,{subtree:!0,childList:!0,attributes:!1,characterData:!0})),this.#tF&&!this.#p&&(this.#p=new ResizeObserver(this.#tG),this.#tk=!0,this.#p.observe(this.#tW(),{box:"content-box"})))}#tJ(){this.#tO?.disconnect(),this.#tO=void 0,this.#p?.disconnect(),this.#p=void 0}_handleAttributeChange(){this.#tD=parseFloat(this.#c.getAttribute("text-maxlength")??""),this.#tF=parseFloat(this.#c.getAttribute("text-maxline")??""),this.#tN="false"!==this.#c.getAttribute("tail-color-convert"),this.#tD<0&&(this.#tD=NaN),this.#tF<1&&(this.#tF=NaN),isNaN(this.#tF)?this.#tW().style.removeProperty("-webkit-line-clamp"):this.#tW().style.webkitLineClamp=this.#tF.toString(),this.#tU()}_handleEnableLayoutEvent(e){this.#tH=e}#tj(e){if(!this.#tH)return;let t=new Proxy(this,{get:(t,s)=>"lineCount"===s?(t.#tM||(t.#tM=new rK(t.#c,t.#c.getBoundingClientRect())),t.#tM.getLineCount()):"lines"===s?new Proxy(t,{get(t,s){let i=parseFloat(s.toString());if(!isNaN(i)){t.#tM||(t.#tM=new rK(t.#c,t.#c.getBoundingClientRect()));let s=t.#tM.getLineInfo(i);if(s)return new Proxy(s,{get(t,s){switch(s){case"start":case"end":return t[s];case"ellipsisCount":if(void 0!==e&&e>=t.start&&e<t.end)return t.end-e;return 0}}})}}}):void 0});this.#c.dispatchEvent(new CustomEvent("layout",{...oH,detail:t}))}dispose(){this.#tJ()}connectedCallback(){this.#tI=!0,this._handleEnableLayoutEvent(this.#tH),this._handleAttributeChange(),oC(()=>{this.#tj()})}}class rK{#tQ=[{start:0}];#tZ=[];#t0=[];#c;#t1;nodelist;constructor(e,t){this.#c=e,this.nodelist=new rG(this.#c),this.#t1=t}#t2(e){if(e.node.nodeType!==Node.TEXT_NODE)return 1;{let{rect:t,rectIndex:s}=e,i=e.node,o=document.createRange();o.selectNode(i);for(let e=0;e<i.data.length;e++){o.setEnd(i,e);let r=o.getClientRects().item(s);if(r&&r.right===t.right)return e}return i.data.length}}#t3(e){if(this.#tZ[e])return;let{left:t}=this.#t1,s=this.#tZ[this.#tZ.length-1],i=s?.[s.length-1],o=i?.nodeIndex?i?.nodeIndex+1:0;for(let s=o,i;(i=this.#t4(s))&&e>=this.#tZ.length;s++){let e,{node:s}=i;if(s.nodeType===Node.ELEMENT_NODE)e=s.getClientRects();else{let t=document.createRange();t.selectNode(s),e=t.getClientRects()}if(e.length>0){let s=this.#tZ[this.#tZ.length-1],o=e[0];if(.2>Math.abs(o.left-t)||!s?this.#tZ.push([{...i,rect:o,rectIndex:0}]):s.push({...i,rect:o,rectIndex:0}),e.length>1)for(let s=1;s<e.length;s++){let r=e[s];(r.left!==o.left||r.bottom!==o.bottom)&&(.2>Math.abs(r.left-t)?this.#tZ.push([{...i,rect:r,rectIndex:s}]):this.#tZ[this.#tZ.length-1].push({...i,rect:r,rectIndex:s}))}}}}getLineCount(){return this.#t3(1/0),this.#tZ.length}getLineInfo(e){if(this.#t3(e+1),e<this.#tZ.length){let t=e>0?this.#tQ[e-1]??{}:void 0,s=this.#tQ[e]??{},i=e<this.#tZ.length-1?this.#tQ[e+1]??{}:void 0;if(void 0===s.start){let i=this.#tZ[e-1],o=i[i.length-1],r=this.#t2(o),n=o.start+r;t&&(t.end=n),s.start=n+1}if(void 0===s.end){let t=this.#tZ[e],o=t[t.length-1];if(e===this.#tZ.length-1){let e=o.node.nodeType===Node.TEXT_NODE?o.node.data.length:1;s.end=o.start+e}else{let e=this.#t2(o);s.end=o.start+e,i.start=s.end+1}}return s}}#t4(e){let t=this.#t0.length-1,s=this.#t0[t],i=s?s.start+s.length:0;for(let t=this.#t0.length,s;(s=this.nodelist.at(t))&&e>=this.#t0.length;t++){let e=s.nodeType===Node.ELEMENT_NODE?1:s.data.length,o={node:s,length:e,start:i,nodeIndex:t};this.#t0.push(o)}return this.#t0[e]}getNodeInfoByCharIndex(e){let t,s=0,i=this.#t0.length-1;for(;s<=i;){let o=Math.floor((s+i)/2),r=this.#t0[o],n=r.node,l=n.nodeType===Node.TEXT_NODE?n.data.length:1,a=r.start;if(e>=a&&e<a+l){t=r;break}e<a?i=o-1:s=o+1}if(t)return t;for(let t=this.#t0.length,s;s=this.#t4(t);t++)if(e<s.start+s.length)return s}}class rG{#t5=[];#t8;constructor(e){this.#t8=document.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName;if("X-TEXT"===t||"INLINE-TEXT"===t||"RAW-TEXT"===t||"LYNX-WRAPPER"===t)return NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_ACCEPT})}at(e){return this.#t5[e]||this.#t9(e),this.#t5[e]}#t9(e){let t=null;for(;e>=this.#t5.length&&(t=this.#t8.nextNode());){this.#t5.push(t);break}}}sy=oO("x-text",[oz,rj,rq],'<div id="inner-box" part="inner-box"><slot part="slot"></slot><slot name="inline-truncation"></slot></div>'),new class extends oN{constructor(){super(op),sx()}static #h=(()=>{class e extends(sS=HTMLElement){static #h={c:[op,sx]}=ox(this,[],[sy],sS);static notToFilterFalseAttributes=new Set(["tail-color-convert"]);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(oY.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[oP]=this}})()},sT=oM("placeholder-color",!0),sC=oM("placeholder-font-size",!0),sL=oM("placeholder-font-weight",!0),s_=oM("placeholder-font-family",!0),sI=oM("placeholder",!0);class rJ{static #h={e:[sA,sO,sR,sM,sk]}=ox(this,[[sT,0,"_updatePlaceholderColor"],[sC,0,"_updatePlaceholderFontSize"],[sL,0,"_updatePlaceholderFontWeight"],[s_,0,"_updatePlaceholderFontFamily"],[sI,0,"_handlePlaceholder"]],[]);static observedAttributes=["placeholder","placeholder-color","placeholder-font-size","placeholder-font-weight","placeholder-font-family"];#t6=oA(()=>this.#c.shadowRoot,"#textarea");_updatePlaceholderColor=sA(this,oI(this.#t6,"--placeholder-color",void 0,!0));_updatePlaceholderFontSize=sO(this,oI(this.#t6,"--placeholder-font-size",void 0,!0));_updatePlaceholderFontWeight=sR(this,oI(this.#t6,"--placeholder-font-weight",void 0,!0));_updatePlaceholderFontFamily=sM(this,oI(this.#t6,"--placeholder-font-family",void 0,!0));_handlePlaceholder=sk(this,o_(this.#t6,"placeholder"));#c;constructor(e){this.#c=e}}sD=oM("confirm-type",!0),sF=oM("maxlength",!0),sN=oM("readonly",!0),sH=oM("ios-spell-check",!0),sP=oM("show-soft-input-onfocus",!0);class rQ{static #h={e:[sz,sV,sW,sX,s$]}=ox(this,[[sD,0,"_handlerConfirmType"],[sF,0,"_handlerMaxlength"],[sN,0,"_handleReadonly"],[sH,0,"_handleSpellCheck"],[sP,0,"_handleShowSoftInputOnfocus"]],[]);static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check","show-soft-input-onfocus"];#c;#t7=oA(()=>this.#c.shadowRoot,"#textarea");_handlerConfirmType=sz(this,o_(this.#t7,"enterkeyhint",e=>null===e?"send":e));_handlerMaxlength=sV(this,o_(this.#t7,"maxlength",e=>null===e?"140":e));_handleReadonly=sW(this,o_(this.#t7,"readonly",e=>null!==e?"":null));_handleSpellCheck=sX(this,o_(this.#t7,"spellcheck",e=>null===e?"false":"true"));_handleShowSoftInputOnfocus=s$(this,o_(this.#t7,"virtualkeyboardpolicy",e=>null===e?"manual":"auto"));constructor(e){this.#c=e}}sB=oM("confirm-enter",!0),sU=oM("disabled",!0),sq=oM("max-height",!0),sY=oM("min-height",!0),sj=oM("value",!1);class rZ{static #h={e:[sK,sG,sJ,sQ]}=ox(this,[[sB,2,"_handleConfirmEnter"],[sj,2,"_handleValue"],[sU,0,"_handleDisabled"],[sq,0,"_handleMaxHeight"],[sY,0,"_handleMinHeight"]],[]);static observedAttributes=["confirm-enter","disabled","max-height","min-height","value"];#c;#t7=(sQ(this),oA(()=>this.#c.shadowRoot,"#textarea"));#eC=oA(()=>this.#c.shadowRoot,"#form");#se=!1;_handleConfirmEnter(e){this.#se=null!==e}_handleDisabled=sK(this,o_(this.#t7,"disabled",e=>null!==e?"":null));_handleMaxHeight=sG(this,oI(this.#t7,"max-height"));_handleMinHeight=sJ(this,oI(this.#t7,"min-height"));_handleValue(e){if(e){let t=parseFloat(this.#c.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#t7();t.value!==e&&(t.value=e)}#st=e=>{this.#se&&"Enter"===e.key&&this.#eC().dispatchEvent(new SubmitEvent("submit"))};constructor(e){this.#c=e,this.#t7().addEventListener("keyup",this.#st)}}sZ=oM("input-filter",!0),s0=oD("lynxinput"),s1=oM("send-composing-input",!0),s2=oD("selection");class r0{static #h={e:[s3]}=ox(this,[[[sZ,s0],2,"_handleEnableConfirmEvent"],[s1,2,"_handleSendComposingInput"],[s2,2,"_handleEnableSelectionEvent"]],[]);static observedAttributes=["send-composing-input","input-filter"];#c;#eT=(s3(this),!1);#t7=oA(()=>this.#c.shadowRoot,"#textarea");#eC=oA(()=>this.#c.shadowRoot,"#form");_handleEnableConfirmEvent(e){let t=this.#t7();e?(t.addEventListener("input",this.#eL,{passive:!0}),t.addEventListener("compositionend",this.#e_,{passive:!0})):(t.removeEventListener("input",this.#eL),t.removeEventListener("compositionend",this.#e_))}_handleSendComposingInput(e){this.#eT=null!==e}#eI=e=>{let t=rL[e.type]??e.type;this.#c.dispatchEvent(new CustomEvent(t,{...oH,detail:{value:this.#t7().value}}))};#eL=e=>{let t=this.#t7(),s=this.#c.getAttribute("input-filter"),i=s?t.value.replace(RegExp(s,"g"),""):t.value,o=e.isComposing;t.value=i,(!o||this.#eT)&&this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:i,textLength:i.length,cursor:t.selectionStart,isComposing:o,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#e_=()=>{let e=this.#t7(),t=this.#c.getAttribute("input-filter"),s=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=s,this.#eT||this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:s,textLength:s.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};_handleEnableSelectionEvent(e){e?this.#t7().addEventListener("select",this.#eA,{passive:!0}):this.#t7().removeEventListener("select",this.#eA)}#eA=()=>{let e=this.#t7();this.#c.dispatchEvent(new CustomEvent("selection",{...oH,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#eO=e=>{e.target===this.#t7()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#c=e;const t=this.#t7(),s=this.#eC();t.addEventListener("blur",this.#eI,{passive:!0}),t.addEventListener("focus",this.#eI,{passive:!0}),s.addEventListener("submit",this.#eI,{passive:!0}),s.addEventListener("input",this.#eO,{passive:!0})}}s4=oO("x-textarea",[oz,rJ,rQ,rZ,r0],o2);class r1 extends(s8=HTMLElement){static #h={c:[om,s5]}=ox(this,[],[s4],s8);#t6=oA(()=>this.shadowRoot,"#textarea");get value(){return this.#t6().value}set value(e){this.#t6().value=e}addText(e){let{text:t}=e,s=this.#t6(),i=s.selectionStart;if(null===i)s.value=t;else{let e=s.value;s.value=e.slice(0,i)+t+e.slice(i)}}setValue(e){let t,s=this.#t6();s.value=e.value,(t=e.index)&&s.setSelectionRange(t,t)}getValue(){let e=this.#t6();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:s}=e,i=this.#t6();1===t&&(s=1);let o=i.selectionStart;if(null===o){let e=i.value;i.value=i.value.substring(0,e.length-s)}else{let e=i.value;i.value=e.slice(0,o-s)+e.slice(o)}}select(){let e=this.#t6();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#t6().setSelectionRange(e.selectionStart,e.selectionEnd)}static #d=s5()}s9=oO("x-view",[o9,oz]);class r2 extends(s7=HTMLElement){static #h={c:[ov,s6]}=ox(this,[],[s9],s7);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(oY.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[oP]=this;static #d=s6()}ie=oM("blur-radius",!0);class r3{static #h={e:[it]}=ox(this,[[ie,2,"_handleBlurRadius"]],[]);static observedAttributes=["blur-radius"];#c;#ss=(it(this),oA(()=>this.#c.shadowRoot,"#dynamic-style"));_handleBlurRadius(e){e?(e=`blur(${parseFloat(e)}px)`,this.#ss().innerHTML=`:host { backdrop-filter: ${e}; -webkit-backdrop-filter: ${e}}`):this.#ss().innerHTML=""}constructor(e){this.#c=e}}is=oO("x-blur-view",[oz,r3],'<style id="dynamic-style"></style><slot></slot>');class r4 extends(io=HTMLElement){static #h={c:[og,ii]}=ox(this,[],[is],io);static #d=ii()}ir=oD("change"),il=oD("offsetchange");class r5{static #h={e:[ia]}=ox(this,[[ir,2,"_enableChangeEvent"],[il,2,"_enableOffsetChangeEvent"]],[]);static observedAttributes=[];#c;#si=(ia(this),!1);#n=!1;#so=0;#g;constructor(e){this.#c=e}#E=oA(()=>this.#c.shadowRoot,"#content");#sr=()=>{if(!this.#n)return;let e=this.#E(),t=this.#c.clientWidth,s=e.scrollLeft;this.#sn&&!o$&&(clearTimeout(this.#g),this.#g=setTimeout(()=>{this.#sl()},100)),this.#c.dispatchEvent(new CustomEvent("offsetchange",{...oH,detail:{offset:s/t}}))};#sl=()=>{if(this.#n){let e=this.#E(),t=this.#c.clientWidth,s=Math.floor(e.scrollLeft/t);s!==this.#so&&(this.#c.dispatchEvent(new CustomEvent("change",{...oH,detail:{index:s,isDragged:this.#si}})),this.#so=s)}};#sa=()=>{this.#si=!0};#sh=()=>{this.#si=!1};#sn=!1;_enableChangeEvent(e){this.#sn=e,this.#sd()}#sc=!1;_enableOffsetChangeEvent(e){this.#sc=e,this.#sd()}#sd(){let e=this.#E();this.#sc||this.#sn?e.addEventListener("scroll",this.#sr,{passive:!0}):e.removeEventListener("scroll",this.#sr),o$&&this.#sn?e.addEventListener("scrollend",this.#sl,{passive:!0}):e.removeEventListener("scrollend",this.#sl)}connectedCallback(){this.#n=!0;let e=this.#E();this.#c.addEventListener("touchstart",this.#sa,{passive:!0}),e.addEventListener("touchend",this.#sh,{passive:!0}),e.addEventListener("touchcancel",this.#sh,{passive:!0})}dispose(){let e=this.#E();e.removeEventListener("scroll",this.#sr),e.removeEventListener("scrollend",this.#sl)}}ih=oO("x-viewpager-ng",[o9,oz,r5],o3),new class extends oN{constructor(){super(ob),id()}static #h=(()=>{class e extends(ic=HTMLElement){static #h={c:[ob,id]}=ox(this,[],[ih],ic);static notToFilterFalseAttributes=new Set(["allow-horizontal-gesture","enable-scroll"]);selectTab(e){let{index:t,smooth:s}=e;void 0===s&&(s=!0);let i=this.shadowRoot.children.item(2),o=i.clientWidth*t;i.scrollTo({left:o,behavior:s?"smooth":"instant"})}connectedCallback(){let e=this.getAttribute("select-index")||this.getAttribute("initial-select-index");if(null!==e){let t=Number(e),s=this.shadowRoot.children.item(2),i=()=>{0===s.clientWidth?requestAnimationFrame(i):this.selectTab({index:t,smooth:!1})};oC(i)}}get[oU](){return this}}})()},iu=oO("x-viewpager-item-ng",[o9,oz]);class r8 extends(im=HTMLElement){static #h={c:[of,ip]}=ox(this,[],[iu],im);static #d=ip()}iv=oM("estimated-main-axis-size-px",!0);class r9{static #h={e:[ig]}=ox(this,[[iv,0,"_handlerEstimatedMainAxisSizePx"]],[]);static observedAttributes=["estimated-main-axis-size-px"];#c;_handlerEstimatedMainAxisSizePx=ig(this,oI(()=>this.#c,"--estimated-main-axis-size-px",e=>`${parseFloat(e)}px`));constructor(e){this.#c=e}}ib=oO("list-item",[oz,r9]),new class extends oN{constructor(){super(oE),iE()}static #h=(()=>{class e extends(iw=HTMLElement){static #h={c:[oE,iE]}=ox(this,[],[ib],iw);static notToFilterFalseAttributes=new Set(["recyclable"])}})()},iy=oM("sticky-offset",!0),ix=oM("span-count",!0),iS=oM("column-count",!0);class r6{static #h={e:[iT,iC]}=ox(this,[[iy,0,"_handlerStickyOffset"],[[ix,iS],0,"_handlerCount"]],[]);static observedAttributes=["sticky-offset","initial-scroll-index","span-count","column-count"];#c;_handlerStickyOffset=iT(this,oI(()=>this.#c,"--list-item-sticky-offset",e=>`${parseFloat(e)}px`));_handlerCount=iC(this,oI(()=>this.#c,"--list-item-span-count",e=>`${parseFloat(e)}`));constructor(e){this.#c=e}connectedCallback(){let e=this.#c.getAttribute("initial-scroll-index");if(null!==e){let t=parseFloat(e),s=()=>{0===this.#c.clientHeight?requestAnimationFrame(s):this.#c.scrollToPosition({position:t})};oC(s)}}}let r7=function(e,t,s){let i,o,r,n,l=0;var a=function(){l=s?.leading===!1?0:new Date().getTime(),i=null,n=e.apply(o,r),i||(o=r=null)};return function(){var h=new Date().getTime();l||s?.leading!==!1||(l=h);var d=t-(h-l);return o=this,r=arguments,d<=0||d>t?(i&&(clearTimeout(i),i=null),l=h,n=e.apply(o,r),i||(o=r=null)):i||s?.trailing===!1||(i=setTimeout(a,d)),n}};iL=oD("scrolltoupper"),i_=oM("upper-threshold-item-count",!0),iI=oD("scrolltolower"),iA=oM("lower-threshold-item-count",!0),iO=oD("lynxscroll"),iR=oD("lynxscrollend"),iM=oD("snap"),ik=oD("scrolltoupperedge"),iD=oD("scrolltoloweredge");class ne{static #h={e:[iF,iN,iH,iP,iz,iV]}=ox(this,[[i_,2,"_handleUpperThresholdItemCountChange"],[iA,2,"_handleLowerThresholdItemCountChange"],[iL,0,"_updateEventSwitches"],[iI,0,"_updateScrollToLowerEventSwitches"],[[iO,iR,iM],0,"_handleScrollEventsSwitches"],[ik,0,"_handleScrollToUpperEdgeEventEnable"],[iD,0,"_handleScrollToLowerEdgeEventEnable"]],[]);static observedAttributes=["upper-threshold-item-count","lower-threshold-item-count"];#c;#su=(iV(this),oA(()=>this.#c.shadowRoot,"#content"));#sp;#sm;#sv;#b=0;#f=0;#sg=!1;#g;#w=oA(()=>this.#c.shadowRoot,"#upper-threshold-observer");#y=oA(()=>this.#c.shadowRoot,"#lower-threshold-observer");#S(){let e=null!==this.#c.getAttribute("need-visible-item-info"),{scrollTop:t,scrollLeft:s,scrollHeight:i,scrollWidth:o}=this.#su(),r={scrollTop:t,scrollLeft:s,scrollHeight:i,scrollWidth:o,deltaX:s-this.#b,deltaY:t-this.#f,attachedCells:e?this.#c.getVisibleCells():void 0};return this.#b=s,this.#f=t,r}#sb=e=>{let{isIntersecting:t}=e[0];t&&this.#c.dispatchEvent(new CustomEvent("scrolltoupper",{...oH,detail:this.#S()}))};_updateEventSwitches=iF(this,e=>{if(e?this.#c.setAttribute("x-enable-scrolltoupper-event",""):this.#c.removeAttribute("x-enable-scrolltoupper-event"),this.#eV.scrolltoupper=e,e){this.#sp||(this.#sp=new IntersectionObserver(this.#sb,{root:this.#su()})),this.#sv||(this.#sv=new MutationObserver(this.#sf));let e=this.#c.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#w():this.#c.children[t-1];s&&this.#sp.observe(s),this.#sv.observe(this.#c,{childList:!0})}else this.#sp&&(this.#sp.disconnect(),this.#sp=void 0),this.#sv&&(this.#sv.disconnect(),this.#sv=void 0)});_handleUpperThresholdItemCountChange(e,t){let s=null!==t?parseFloat(t):0,i=0===s?this.#w():this.#c.children[s-1];i&&this.#sp?.unobserve(i);let o=null!==e?parseFloat(e):0,r=0===o?this.#w():this.#c.children[o-1];r&&this.#sp?.observe(r)}#sE=e=>{let{isIntersecting:t}=e[0];t&&this.#c.dispatchEvent(new CustomEvent("scrolltolower",{...oH,detail:this.#S()}))};#eV={lynxscroll:!1,lynxscrollend:!1,snap:!1,scrolltolower:!1,scrolltoupper:!1};_updateScrollToLowerEventSwitches=iN(this,e=>{if(this.#eV.scrolltolower=e,e?this.#c.setAttribute("x-enable-scrolltolower-event",""):this.#c.removeAttribute("x-enable-scrolltolower-event"),e){this.#sm||(this.#sm=new IntersectionObserver(this.#sE,{root:this.#su()})),this.#sv||(this.#sv=new MutationObserver(this.#sf));let e=this.#c.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#y():this.#c.children[this.#c.children.length-t];s&&this.#sm.observe(s),this.#sv.observe(this.#c,{childList:!0})}else this.#sm&&(this.#sm.disconnect(),this.#sm=void 0),this.#sv&&(this.#sv.disconnect(),this.#sv=void 0)});_handleLowerThresholdItemCountChange(e,t){let s=null!==t?parseFloat(t):0,i=0===s?this.#y():this.#c.children[this.#c.children.length-s];i&&this.#sm?.unobserve(i);let o=null!==e?parseFloat(e):0,r=0===o?this.#y():this.#c.children[this.#c.children.length-o];r&&this.#sm?.observe(r)}#sf=e=>{let t=e?.[0];if(t?.type==="childList"){if(this.#eV.scrolltolower){this.#sm&&(this.#sm.disconnect(),this.#sm=void 0),this.#sm=new IntersectionObserver(this.#sE,{root:this.#su()});let e=this.#c.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#y():this.#c.children[this.#c.children.length-t];s&&this.#sm.observe(s)}if(null!==this.#c.getAttribute("x-enable-scrolltoupper-event")){this.#sp&&(this.#sp.disconnect(),this.#sp=void 0),this.#sp=new IntersectionObserver(this.#sb,{root:this.#su()});let e=this.#c.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#w():this.#c.children[t-1];s&&this.#sp.observe(s)}}};#sw=null;#L=()=>{this.#sg&&!o$&&(clearTimeout(this.#g),this.#g=setTimeout(()=>{this.#I()},100)),this.#c.dispatchEvent(new CustomEvent("lynxscroll",{...oH,detail:this.#S()}))};_handleScrollEventsSwitches=iH(this,(e,t)=>{this.#eV[t]=e;let{lynxscroll:s,lynxscrollend:i,snap:o}=this.#eV,r=this.#c.getAttribute("scroll-event-throttle");this.#sg=null!==i||null!==o;let n=this.#su();if(this.#sw&&n.removeEventListener("scroll",this.#sw),null!==s||this.#sg){let e=null!==r?parseFloat(r):0,t=r7(this.#L,e,{leading:!0,trailing:!1});this.#sw=t,n.addEventListener("scroll",this.#sw),this.#b=0,this.#f=0}o$&&this.#sg?n.addEventListener("scrollend",this.#I):n.removeEventListener("scrollend",this.#I)});#x=e=>{let{isIntersecting:t,target:s}=e[0],i=s.id;t&&("upper-threshold-observer"===i?this.#c.dispatchEvent(new CustomEvent("scrolltoupperedge",{...oH,detail:this.#S()})):"lower-threshold-observer"===i&&this.#c.dispatchEvent(new CustomEvent("scrolltoloweredge",{...oH,detail:this.#S()})))};_handleScrollToUpperEdgeEventEnable=iP(this,e=>{e?this.#c.setAttribute("x-enable-scrolltoupperedge-event",""):this.#c.removeAttribute("x-enable-scrolltoupperedge-event"),this.#sy(e)});#sy=oX(this.#su,this.#w,this.#x);_handleScrollToLowerEdgeEventEnable=iz(this,e=>{e?this.#c.setAttribute("x-enable-scrolltoloweredge-event",""):this.#c.removeAttribute("x-enable-scrolltoloweredge-event"),this.#sx(e)});#sx=oX(this.#su,this.#y,this.#x);#I=()=>{let e=this.#c.getAttribute("item-snap");if(this.#c.dispatchEvent(new CustomEvent("lynxscrollend",{...oH})),null!==e){let e=Array.from(this.#c.children).filter(e=>"LIST-ITEM"===e.tagName),t=this.#su().scrollTop,s=this.#su().scrollLeft,i=e.find(e=>t>=e.offsetTop&&t<e.offsetTop+e.offsetHeight);this.#c.dispatchEvent(new CustomEvent("snap",{...oH,detail:{position:i&&e.indexOf(i),scrollTop:t,scrollLeft:s}}))}};constructor(e){this.#c=e}}let nt="waterfall-slot",ns="waterfall-style";iW=oD("scrolltolower"),iX=oM("list-type",!0);class ni{static #h={e:[i$]}=ox(this,[[iW,2,"_handleXEnableHeaderOffsetEvent"],[iX,2,"_handlerListType"]],[]);static observedAttributes=["list-type"];#c;#su=(i$(this),oA(()=>this.#c.shadowRoot,"#content"));#sS=oA(()=>this.#c.shadowRoot,'div[part="lower-threshold-observer"]');#p;#sv;_handleXEnableHeaderOffsetEvent(e){if(e?this.#c.setAttribute("x-enable-scrolltolower-event",""):this.#c.removeAttribute("x-enable-scrolltolower-event"),e){let e=this.#sS(),t=this.#c.getAttribute("scroll-orientation")||"vertical",s=this.#su();setTimeout(()=>{"vertical"===t?(e.style.setProperty("top",`${String(s.scrollHeight-1)}px`,"important"),e.style.setProperty("bottom","unset","important")):(e.style.setProperty("left",`${String(s.scrollWidth-1)}px`,"important"),e.style.setProperty("right","unset","important"))},100)}}#sT=()=>{let e=document.createElement("slot");e.setAttribute("name",`${nt}`),this.#c.shadowRoot?.querySelector("[part=upper-threshold-observer]")?.insertAdjacentElement("afterend",e)};#sC=()=>{let e=parseFloat(this.#c.getAttribute("span-count")||this.#c.getAttribute("column-count")||"")||1,t="vertical"===(this.#c.getAttribute("scroll-orientation")||"vertical"),s=Array(e).fill(0);for(let i=0;i<this.#c.children.length;i++){let o=this.#c.children[i],r=getComputedStyle(o).getPropertyValue("--list-main-axis-gap"),n=getComputedStyle(o).getPropertyValue("--list-cross-axis-gap"),l=t?o.getBoundingClientRect().height+parseFloat(r):o.getBoundingClientRect().width+parseFloat(r);if(null!==o.getAttribute("full-span")){let i=s[0];for(let t=1;t<e;t++)s[t]>i&&(i=s[t]);for(let t=0;t<e;t++)s[t]=i+l;t?(o.setAttribute(`${ns}-left`,"0"),o.setAttribute(`${ns}-top`,`${i}px`)):(o.setAttribute(`${ns}-left`,`${i}px`),o.setAttribute(`${ns}-top`,"0"))}else{let i=0,r=s[0];for(let t=1;t<e;t++)s[t]<r&&(i=t,r=s[t]);let a=`calc(${i} * (100% - ${n} * (${e} - 1))/ ${e} + ${Math.max(0,i)} * ${n})`;t?(o.setAttribute(`${ns}-left`,a),o.setAttribute(`${ns}-top`,`${r}px`)):(o.setAttribute(`${ns}-left`,`${r}px`),o.setAttribute(`${ns}-top`,a)),s[i]+=l}}for(let e=0;e<this.#c.children.length;e++){let t=this.#c.children[e];t.style.setProperty("left",t.getAttribute(`${ns}-left`)),t.style.setProperty("top",t.getAttribute(`${ns}-top`)),t.setAttribute("slot",nt)}};constructor(e){this.#c=e}#sL=()=>{this.#p?.disconnect(),this.#p=new ResizeObserver(()=>{requestAnimationFrame(()=>{this.#sC()})}),Array.from(this.#c.children).forEach(e=>{this.#p?.observe(e)})};_handlerListType(e){if("waterfall"===e)this.#sT(),this.#p||this.#sL(),this.#sv||(this.#sv=new MutationObserver(e=>{let t=e?.[0];t?.type==="childList"&&this.#sL()}),this.#sv.observe(this.#c,{childList:!0}));else{this.#p?.disconnect(),this.#p=void 0,this.#sv?.disconnect(),this.#sv=void 0;for(let e=0;e<this.#c.children.length;e++)this.#c.children[e].removeAttribute("slot");this.#c.shadowRoot?.querySelector(`slot[name=${nt}]`)?.remove()}}}iB=oO("x-list",[oz,r6,ne,ni],oQ),new class extends oN{constructor(){super(ow),iU()}static #h=(()=>{class e extends(iq=HTMLElement){static #h={c:[ow,iU]}=ox(this,[],[iB],iq);static notToFilterFalseAttributes=new Set(["enable-scroll"]);#su=oA(()=>this.shadowRoot,"#content");#s_={rate:0,lastTimestamp:0,autoStop:!0,isScrolling:!1};#sI={};get scrollTop(){return this.#su().scrollTop}set scrollTop(e){this.#su().scrollTop=e}get scrollLeft(){return this.#su().scrollTop}set scrollLeft(e){this.#su().scrollLeft=e}get __scrollTop(){return super.scrollTop}get __scrollLeft(){return super.scrollTop}scrollToPosition(e){let t;if("string"==typeof e.offset){let s=parseFloat(e.offset);t={left:s,top:s}}else"number"==typeof e.offset&&(t={left:e.offset,top:e.offset});if("number"==typeof e.position){if(0===e.position)this.#su().scrollTop=0,this.#su().scrollLeft=0;else if(e.position>0&&e.position<this.childElementCount){let s=this.children.item(e.position);s instanceof HTMLElement&&(t=t?{left:s.offsetLeft+t.left,top:s.offsetTop+t.top}:{left:s.offsetLeft,top:s.offsetTop})}}t&&this.#su().scrollTo({...t,behavior:e.smooth?"smooth":"auto"})}#sA=e=>{if(!this.#s_.isScrolling)return;if(!this.#s_.lastTimestamp){this.#s_.lastTimestamp=e,requestAnimationFrame(this.#sA);return}let t=this.#su(),s=(e-this.#s_.lastTimestamp)/1e3*this.#s_.rate;t.scrollBy({left:s,top:s,behavior:"auto"}),this.#s_.lastTimestamp=e;let i="vertical"===(this.getAttribute("scroll-orientation")||"vertical");(i?t.scrollTop+t.clientHeight>=t.scrollHeight:t.scrollLeft+t.clientWidth>=t.scrollWidth)&&this.#s_.autoStop?(i?t.scrollTop=t.scrollHeight-t.clientHeight:t.scrollLeft=t.scrollWidth-t.clientWidth,this.#s_.isScrolling=!1):requestAnimationFrame(this.#sA)};autoScroll(e){if(e.start){let t="number"==typeof e.rate?e.rate:parseFloat(e.rate);this.#s_={rate:t,lastTimestamp:0,isScrolling:!0,autoStop:!1!==e.autoStop};let s=this.#su(),i="vertical"===(this.getAttribute("scroll-orientation")||"vertical")?s.clientHeight<=s.scrollHeight:s.clientWidth<=s.scrollWidth;this.#s_.lastTimestamp=0,i?setTimeout(()=>requestAnimationFrame(this.#sA),0):requestAnimationFrame(this.#sA)}else this.#s_.isScrolling=!1}getScrollContainerInfo(){return{scrollTop:this.scrollTop,scrollLeft:this.scrollLeft,scrollHeight:this.scrollHeight,scrollWidth:this.scrollWidth}}getVisibleCells=()=>{let e=Object.values(this.#sI),t=Array.from(this.children).filter(e=>"LIST-ITEM"===e.tagName);return e.map(e=>{let s=e.getBoundingClientRect();return{id:e.getAttribute("id"),itemKey:e.getAttribute("item-key"),bottom:s.bottom,top:s.top,left:s.left,right:s.right,index:t.indexOf(e)}})};#sO=()=>Object.values(this.#sI).map(e=>{let t=e.getBoundingClientRect();return{height:t.height,width:t.width,itemKey:e.getAttribute("item-key"),originX:t.x,originY:t.y}});#sR=e=>{if(!e.target||!(e.target instanceof HTMLElement))return;let t=e.skipped,s=e.target?.getAttribute("id")==="content"&&e.target?.getAttribute("part")==="content",i="LIST-ITEM"===e.target.tagName;if(s&&!t){let e=this.#sO();setTimeout(()=>{this.dispatchEvent(new CustomEvent("layoutcomplete",{...oH,detail:{visibleItemBeforeUpdate:e,visibleItemAfterUpdate:this.#sO()}}))},100);return}if(i){let s=e.target?.getAttribute("item-key");if(!s)return;t?this.#sI[s]&&delete this.#sI[s]:this.#sI[s]=e.target;return}};connectedCallback(){this.#su().addEventListener("contentvisibilityautostatechange",this.#sR,{passive:!0})}}})()},iY=oM("src",!0),ij=oM("html",!0);class no{static #h={e:[iK,iG]}=ox(this,[[iY,0,"_handleSrc"],[ij,0,"_handleHtml"]],[]);static observedAttributes=["src","html"];#c;#sM=oA(()=>this.#c.shadowRoot,"#webview");constructor(e){this.#c=e}_handleSrc=iK(this,o_(this.#sM,"src"));_handleHtml=iG(this,o_(this.#sM,"srcdoc"))}iJ=oO("x-webview",[oz,no],o4);class nr extends(iZ=HTMLElement){static #h={c:[oy,iQ]}=ox(this,[],[iJ],iZ);#sM=oA(()=>this.shadowRoot,"#webview");#sk=()=>{this.dispatchEvent(new CustomEvent("load",{bubbles:!0,composed:!0,detail:{url:this.#sM().src}})),this.dispatchEvent(new CustomEvent("bindload",{bubbles:!0,composed:!0,detail:{url:this.#sM().src}}))};#sD=e=>{this.dispatchEvent(new CustomEvent("error",{bubbles:!0,composed:!0,detail:{errorMsg:e.message||"unknown error"}})),this.dispatchEvent(new CustomEvent("binderror",{bubbles:!0,composed:!0,detail:{errorMsg:e.message||"unknown error"}}))};#sF=e=>{e.source===this.#sM().contentWindow&&(this.dispatchEvent(new CustomEvent("message",{bubbles:!0,composed:!0,detail:{msg:e.data,data:e.data}})),this.dispatchEvent(new CustomEvent("bindmessage",{bubbles:!0,composed:!0,detail:{msg:e.data}})))};connectedCallback(){this.#sM().addEventListener("load",this.#sk),this.#sM().addEventListener("error",this.#sD),window.addEventListener("message",this.#sF)}disconnectedCallback(){this.#sM().removeEventListener("load",this.#sk),this.#sM().removeEventListener("error",this.#sD),window.removeEventListener("message",this.#sF)}get src(){return this.getAttribute("src")}set src(e){null===e?this.removeAttribute("src"):this.setAttribute("src",e)}get html(){return this.getAttribute("html")}set html(e){null===e?this.removeAttribute("html"):this.setAttribute("html",e)}reload(){this.#sM().src=this.#sM().src}static #d=iQ()}}}]);
309
+ <iframe id="webview" part="webview"></iframe>`,o5=CSS.supports("width:1rex")&&CSS.supports("transition-behavior:allow-discrete")&&CSS.supports("content-visibility: auto");class o8{static observedAttributes=[];static observedCSSProperties=["--lynx-display","--lynx-linear-orientation"];#c;constructor(e){this.#c=e,this.cssPropertyChangedHandler={"--lynx-display":this.#M,"--lynx-linear-orientation":this.#k}}#M=o_(()=>this.#c,"lynx-computed-display");#k=o_(()=>this.#c,"lynx-linear-orientation")}let o9=o5?void 0:o8;I=oO("scroll-view",[o9,oz,oW,oV,oq,oY],oj),new class extends oN{constructor(){super(i1),A()}static #h=(()=>{class e extends(O=HTMLElement){static #h={c:[i1,A]}=ox(this,[],[I],O);static notToFilterFalseAttributes=new Set(["enable-scroll"]);static scrollInterval=100;#D;scrollTo(...e){let t;if("string"==typeof e[0].offset){let s=parseFloat(e[0].offset);t={left:s,top:s}}else"number"==typeof e[0].offset&&(t={left:e[0].offset,top:e[0].offset});if("number"==typeof e[0].index){let s=e[0].index;if(0===s)this.scrollTop=0,this.scrollLeft=0;else if(s>0&&s<this.childElementCount){let e=this.children.item(s);e instanceof HTMLElement&&(t=t?{left:e.offsetLeft+t.left,top:e.offsetTop+t.top}:{left:e.offsetLeft,top:e.offsetTop})}}t?this.scrollTo({...t,behavior:e[0].smooth?"smooth":"auto"}):super.scrollTo(...e)}autoScroll(t){if(clearInterval(this.#D),t.start){let s=("number"==typeof t.rate?t.rate:parseFloat(t.rate))*e.scrollInterval/1e3;this.#D=setInterval(e=>{e.scrollBy({left:s,top:s,behavior:"smooth"})},e.scrollInterval,this)}}get[oU](){return this}}})()};let o6=Symbol("__src"),o7=Symbol("__src"),re={loadstart:{code:0,type:"init"},canplay:{code:1,type:"playable"},stalled:{code:2,type:"stalled"},error:{code:3,type:"error"}},rt={stop:{code:0,type:"stopped"},play:{code:1,type:"playing"},pause:{code:2,type:"paused"}};R=oM("src",!0),M=oM("loop",!0),k=oM("pause-on-hide",!0);class rs{static #h={e:[D,F]}=ox(this,[[R,2,"_handleSrc"],[k,2,"_handlePauseOnHide"],[M,0,"_handleLoop"]],[]);static observedAttributes=["src","loop","pause-on-hide"];#c;#F=(F(this),oA(()=>this.#c.shadowRoot,"#audio"));_handleSrc(e){let t;try{t=JSON.parse(e||"")||{}}catch(e){console.error(`JSON.parse src error: ${e}`),t={}}null===e?this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:-1,msg:"",from:"res loader",currentSrcID:this.#c[o6]?.id}})):(t?.id===void 0||t?.play_url===void 0)&&this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:-2,msg:"",from:"res loader",currentSrcID:this.#c[o6]?.id}})),this.#c[o6]=t,this.#c[o7]=void 0,this.#c.stop()}_handleLoop=D(this,o_(this.#F,"loop"));#N=()=>{"hidden"===document.visibilityState&&this.#c.pause()};_handlePauseOnHide(e){null!==e?document.addEventListener("visibilitychange",this.#N,{passive:!0}):document.removeEventListener("visibilitychange",this.#N)}constructor(e){this.#c=e}}class ri{static observedAttributes=[];#c;#H;#F=oA(()=>this.#c.shadowRoot,"#audio");#P=e=>{let t=Number(this.#c.getAttribute("interval")),s=Number.isNaN(t)?0:t;this.#H=setInterval(()=>{this.#c.dispatchEvent(new CustomEvent("timeupdate",{...oH,detail:{currentTime:this.#F().currentTime,currentSrcID:this.#c[o6]?.id}}))},s);let i=rt[e.type];this.#c.dispatchEvent(new CustomEvent("playbackstatechanged",{...oH,detail:{code:i?.code,type:i?.type,currentSrcID:this.#c[o6]?.id}}))};#z=e=>{clearInterval(this.#H);let t=rt[e.type];this.#c.dispatchEvent(new CustomEvent("playbackstatechanged",{...oH,detail:{code:t?.code,type:t?.type,currentSrcID:this.#c[o6]?.id}}))};#V=e=>{let t=re[e.type];this.#c.dispatchEvent(new CustomEvent("loadingstatechanged",{...oH,detail:{code:t?.code,type:t?.type,currentSrcID:this.#c[o6]?.id}}))};#W=e=>{this.#V(e);let t=e.target?.error?.code,s=t===MediaError.MEDIA_ERR_DECODE?-5:-6;t===MediaError.MEDIA_ERR_DECODE&&(s=-5),this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:s,msg:"",from:"player",currentSrcID:this.#c[o6]?.id}}))};#X=()=>{let e=null!==this.#c.getAttribute("loop");this.#c.dispatchEvent(new CustomEvent("finished",{...oH,detail:{loop:e,currentSrcID:this.#c[o6]?.id}}))};constructor(e){this.#c=e}connectedCallback(){let e=this.#F();e.addEventListener("play",this.#P,{passive:!0}),e.addEventListener("pause",this.#z,{passive:!0}),e.addEventListener("ended",this.#X,{passive:!0}),e.addEventListener("loadstart",this.#V,{passive:!0}),e.addEventListener("canplay",this.#V,{passive:!0}),e.addEventListener("stalled",this.#V,{passive:!0}),e.addEventListener("error",this.#W,{passive:!0})}}N=oO("x-audio-tt",[oz,rs,ri],'<audio id="audio"></audio>');class ro extends(P=HTMLElement){static #h={c:[i2,H]}=ox(this,[],[N],P);#$=oA(()=>this.shadowRoot,"#audio");#F=oA(()=>this.shadowRoot,"#audio");#B=o_(this.#F,"src");[o6];[o7];#U=()=>{let e,t=this[o6];if(t&&t.id&&t.play_url){try{e=JSON.parse(this.getAttribute("headers")||"{}")||{}}catch(t){console.error(`JSON.parse headers error: ${t}`),e={}}this[o7]=new Promise(async(s,i)=>{this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...oH,detail:{code:0,type:"loading",currentSrcID:t.id}}));let o=await fetch(t.play_url,{headers:e});o.ok||(this.dispatchEvent(new CustomEvent("error",{...oH,detail:{code:-3,msg:"",from:"res loader",currentSrcID:t.id}})),i()),this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...oH,detail:{code:1,type:"success",currentSrcID:t.id}}));let r=await o.blob(),n=URL.createObjectURL(r);this.#B(n),s()})}};play(){return this[o7]||this.#U(),this[o7]?.then(()=>{let e=this.#$();e.currentTime=0,e.play()}),{currentSrcID:this[o6]?.id,loadingSrcID:""}}stop(){let e=this.#$(),t=rt.stop;return this.dispatchEvent(new CustomEvent("playbackstatechanged",{...oH,detail:{code:t?.code,type:t?.type,currentSrcID:this[o6]?.id}})),e.currentTime=0,e.pause(),{currentSrcID:this[o6]?.id}}pause(){return this.#$().pause(),{currentSrcID:this[o6]?.id}}resume(){return this.#$().play(),{currentSrcID:this[o6]?.id,loadingSrcID:""}}seek(e){return this.#$().currentTime=(e.currentTime||0)/1e3,this.dispatchEvent(new CustomEvent("seek",{...oH,detail:{seekresult:1,currentSrcID:this[o6]?.id}})),{currentSrcID:this[o6]?.id}}mute(e){return this.#$().muted=e.mute,{currentSrcID:this[o6]?.id}}playerInfo(){var e;let t=this.#$(),s=t.buffered,i=s.end(s.length-1);return{currentSrcID:this[o6]?.id,duration:1e3*t.duration,playbackState:(e=t)?e.paused?2*!e.ended:e.currentTime>0?1:3:-1,currentTime:t.currentTime,cacheTime:i}}prepare(){this[o7]||this.#U()}setVolume(e){return this.#$().volume=e.volume,{code:1}}static #d=H()}z=oM("name",!0),V=oM("height",!0),W=oM("width",!0);class rr{static #h={e:[X,$,B]}=ox(this,[[z,0,"handleName"],[V,0,"handleHeight"],[W,0,"handleWidth"]],[]);static observedAttributes=["name","height","width"];#c;#p;#q=oA(()=>this.#c.shadowRoot,"#canvas");constructor(e){this.#c=e}handleName=X(this,o_(this.#q,"name"));handleHeight=$(this,o_(this.#q,"height"));handleWidth=B(this,o_(this.#q,"width"));#Y=e=>{let{contentRect:t}=e[0],s=this.#c.shadowRoot.firstElementChild;if(s){let{height:e,width:i}=t;e*=window.devicePixelRatio,i*=window.devicePixelRatio;let o=new CustomEvent("resize",{...oH,detail:{height:e,width:i}});o.height=e,o.width=i,s.dispatchEvent(o)}};#j(){this.#p||(this.#p=new ResizeObserver(this.#Y),this.#p.observe(this.#c))}#K(){this.#p?.disconnect(),this.#p=void 0}connectedCallback(){this.#j()}dispose(){this.#K()}}U=oO("x-canvas",[oz,rr],((e,...t)=>String.raw({raw:e},...t))`<canvas id="canvas" part="canvas"></canvas>`);class rn extends(Y=HTMLElement){static #h={c:[i3,q]}=ox(this,[],[U],Y);static #d=q()}j=oM("granularity",!0),K=oD("offset");class rl{static #h={e:[G]}=ox(this,[[j,2,"_handleGranularity"],[K,2,"_enableOffsetEvent"]],[]);#c;#G=(G(this),.01);#J=0;constructor(e){this.#c=e}static observedAttributes=["granularity"];_handleGranularity(e){e&&""!==e?this.#G=parseFloat(e):this.#G=.01}_enableOffsetEvent(e){e?this.#c.addEventListener("scroll",this.#L,{passive:!0}):this.#c.removeEventListener("scroll",this.#L)}#L=()=>{let e=this.#c.scrollTop;(Math.abs(this.#J-e)>this.#G||0===this.#c.scrollTop||1>=Math.abs(this.#c.scrollHeight-this.#c.clientHeight-this.#c.scrollTop))&&(this.#J=e,this.#c.dispatchEvent(new CustomEvent("offset",{...oH,detail:{offset:e,height:this.#c[ra]}})))}}let ra=Symbol("scrollableLength"),rh=Symbol("isHeaderShowing"),rd=Symbol("resizeObserver"),rc=Symbol("slotKid");J=oO("x-foldview-ng",[o9,oz,rl]),new class extends oN{constructor(){super(i4),Q()}static #h=(()=>{class e extends(Z=HTMLElement){static #h={c:[i4,Q]}=ox(this,[],[J],Z);static notToFilterFalseAttributes=new Set(["scroll-enable"]);[rc];[rd]=new ResizeObserver(e=>{for(let t of e)"X-FOLDVIEW-HEADER-NG"===t.target.tagName?this.#Q=t.contentRect.height:"X-FOLDVIEW-TOOLBAR-NG"===t.target.tagName&&(this.#Z=t.contentRect.height);this[rc]&&(this[rc].style.top=`${this.#Q-this.#Z}px`)});#Q=0;#Z=0;get[ra](){return this.#Q-this.#Z}get[rh](){return this[ra]-this.scrollTop>=1}get scrollTop(){return super.scrollTop}set scrollTop(e){e>this[ra]?e=this[ra]:e<0&&(e=0),super.scrollTop=e}setFoldExpanded(e){let{offset:t,smooth:s=!0}=e,i=parseFloat(t);this.scrollTo({top:i,behavior:s?"smooth":"instant"})}get[oU](){return this}disconnectedCallback(){this[rd]?.disconnect(),this[rd]=void 0}}})()};let ru=(e,t)=>{let s=e.parentElement;if(s?.tagName==="LYNX-WRAPPER"&&(s=s.parentElement),s?.tagName===t)return s};ee=oO("x-foldview-header-ng",[o9,oz]);class rp extends(es=HTMLElement){static #h={c:[i5,et]}=ox(this,[],[ee],es);#ee=void 0;connectedCallback(){let e=ru(this,"X-FOLDVIEW-NG");this.#ee=e?.[rd],this.#ee?.observe(this)}dispose(){this.#ee?.unobserve(this)}static #d=et()}ei=oO("x-foldview-slot-drag-ng",[o9,oz]);class rm extends(er=HTMLElement){static #h={c:[i8,eo]}=ox(this,[],[ei],er);static #d=eo()}class rv{#et=0;#es=new WeakMap;#ei;#eo=0;#er=0;#en=null;#el;#ea=0;#c;static observedAttributes=[];constructor(e){this.#c=e,this.#c.addEventListener("touchmove",this.#eh,{passive:!1}),this.#c.addEventListener("touchstart",this.#ed,{passive:!0}),this.#c.addEventListener("touchend",this.#ec,{passive:!0}),this.#c.addEventListener("wheel",this.#eu,{passive:!1})}#ep(e){return this.#ei?.find(t=>{if(t.scrollHeight>t.clientHeight){let s=e<0&&0!==t.scrollTop,i=e>0&&Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)>1;return s||i}return!1})}#em(e,t){let s=this.#es.get(e)??0;s+=t,this.#es.set(e,s),e.scrollTop=s}#eh=e=>{let t=this.#ev();if(!t)return;let{pageY:s,pageX:i}=e.touches.item(0),o=this.#eo-s;if(null===this.#en){let e=this.#er-i;this.#en=Math.abs(o)>Math.abs(e)}!1!==this.#en&&(e.cancelable&&e.preventDefault(),this.#eg(o,t),this.#eo=s)};#eu=e=>{let t=this.#ev();if(!t||Math.abs(e.deltaY)<=Math.abs(e.deltaX))return;let s=e.composedPath().filter(e=>e instanceof Element&&this.#c.contains(e)),{clientX:i,clientY:o}=e,r=document.elementsFromPoint(i,o).filter(e=>this.#c.contains(e));if(this.#ei=[...new Set([...s,...r])],this.#et=t.scrollTop,this.#ei)for(let e of this.#ei)this.#es.set(e,e.scrollTop);e.cancelable&&e.preventDefault(),this.#eg(e.deltaY,t)};#ev(){let e=this.#c.parentElement;if(e&&"X-FOLDVIEW-NG"===e.tagName)return e}#ed=e=>{let{pageX:t,pageY:s}=e.touches.item(0);for(let e of(this.#ei=document.elementsFromPoint(t,s).filter(e=>this.#c.contains(e)),this.#eo=s,this.#er=t,this.#et=this.#ev()?.scrollTop??0,this.#ei))this.#es.set(e,e.scrollTop);this.#en=null,this.#el=void 0};#ec=()=>{if(this.#en=null,this.#el){let e=this.#ev();(this.#el!==e||e[rh])&&this.#el.scrollBy({top:4*this.#ea,behavior:"smooth"})}};#eg(e,t){let s=this.#ep(e);t[rh]&&e>0||e<0&&!s||!t[rh]&&!s?(t.scrollBy({top:e,behavior:"smooth"}),this.#et+=e,t.scrollTop=this.#et,this.#el=t):s&&(this.#el=s,this.#em(s,e)),this.#ea=e}}en=oO("x-foldview-slot-ng",[o9,oz,rv]);class rg extends(ea=HTMLElement){static #h={c:[i9,el]}=ox(this,[],[en],ea);connectedCallback(){this.matches("x-foldview-ng>x-foldview-slot-ng:first-of-type")&&(this.parentElement[rc]=this)}static #d=el()}eh=oO("x-foldview-toolbar-ng",[o9,oz]);class rb extends(ec=HTMLElement){static #h={c:[i6,ed]}=ox(this,[],[eh],ec);#ee=void 0;connectedCallback(){let e=ru(this,"X-FOLDVIEW-NG");this.#ee=e?.[rd],this.#ee?.observe(this)}dispose(){this.#ee?.unobserve(this)}static #d=ed()}eu=oM("drop-shadow",!0);class rf{static #h={e:[ep]}=ox(this,[[eu,0,"_handleBlurRadius"]],[]);static observedAttributes=["drop-shadow"];#c;#eb=oA(()=>this.#c.shadowRoot,"#img");_handleBlurRadius=ep(this,oI(this.#eb,"--drop-shadow",void 0,!0));constructor(e){this.#c=e}}em=oM("src",!0),ev=oM("placeholder",!0),eg=oM("blur-radius",!0),eb=oM("crossorigin",!0),ef=oM("referrerpolicy",!0);class rE{static #h={e:[eE,ew,ey,ex,eS]}=ox(this,[[ev,2,"_preloadPlaceholder"],[em,0,"_handleSrc"],[eg,0,"_handleBlurRadius"],[eb,0,"_handleCrossorigin"],[ef,0,"_handleReferrerpolicy"]],[]);static observedAttributes=["src","placeholder","blur-radius","crossorigin","referrerpolicy"];#c;#eb=(eS(this),oA(()=>this.#c.shadowRoot,"#img"));_handleSrc=eE(this,o_(this.#eb,"src",e=>e||this.#c.getAttribute("placeholder")));_preloadPlaceholder(e){e&&(new Image().src=e)}_handleBlurRadius=ew(this,oI(this.#eb,"--blur-radius",void 0,!0));_handleCrossorigin=ey(this,o_(this.#eb,"crossorigin"));_handleReferrerpolicy=ex(this,o_(this.#eb,"referrerpolicy"));#ef=()=>{let e=this.#eb().src,t=this.#c.getAttribute("placeholder");t&&e!==t&&(this.#eb().src=t)};constructor(e){this.#c=e,this.#eb().addEventListener("error",this.#ef)}connectedCallback(){(null===this.#c.getAttribute("src")||""===this.#c.getAttribute("src"))&&this._handleSrc(null)}}eT=oD("load"),eC=oD("error");class rw{static #h={e:[eL]}=ox(this,[[eT,2,"_enableLoadEvent"],[eC,2,"_enableErrorEvent"]],[]);static observedAttributes=[];#c;#eb=(eL(this),oA(()=>this.#c.shadowRoot,"#img"));_enableLoadEvent(e){e?this.#eb().addEventListener("load",this.#eE,{passive:!0}):this.#eb().removeEventListener("load",this.#eE)}_enableErrorEvent(e){e?this.#eb().addEventListener("error",this.#ew,{passive:!0}):this.#eb().removeEventListener("error",this.#ew)}#eE=()=>{this.#c.dispatchEvent(new CustomEvent("load",{...oH,detail:{width:this.#eb().naturalWidth,height:this.#eb().naturalHeight}}))};#ew=()=>{this.#c.dispatchEvent(new CustomEvent("error",{...oH,detail:{}}))};constructor(e){this.#c=e}}e_=oO("filter-image",[oz,rE,rf,rw],oG({}));class ry extends(eA=HTMLElement){static #h={c:[i7,eI]}=ox(this,[],[e_],eA);static #d=eI()}eO=oO("x-image",[oz,rE,rw],oG({}));class rx extends(eM=HTMLElement){static #h={c:[oe,eR]}=ox(this,[],[eO],eM);static #d=eR()}ek=oM("confirm-type",!0),eD=oM("maxlength",!0),eF=oM("readonly",!0),eN=oM("type",!0),eH=oM("ios-spell-check",!0),eP=oM("spell-check",!0);class rS{static #h={e:[ez,eV,eW,eX,e$]}=ox(this,[[eN,2,"_handleType"],[ek,0,"_handlerConfirmType"],[eD,0,"_handlerMaxlength"],[eF,0,"_handleReadonly"],[[eH,eP],0,"_handleSpellCheck"]],[]);static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check"];#c;#ey=(e$(this),oA(()=>this.#c.shadowRoot,"#input"));_handlerConfirmType=ez(this,o_(this.#ey,"enterkeyhint",e=>null===e?"send":e));_handlerMaxlength=eV(this,o_(this.#ey,"maxlength",e=>null===e?"140":e));_handleReadonly=eW(this,o_(this.#ey,"readonly",e=>null!==e?"":null));#ex=o_(this.#ey,"type");#eS=o_(this.#ey,"inputmode");_handleType(e){let t="text",s="text";"digit"===e?t="numeric":"number"===e?t="decimal":"email"===e?t="email":"tel"===e?t="tel":s=e,this.#eS(t),this.#ex(s)}_handleSpellCheck=eX(this,o_(this.#ey,"spellcheck",e=>null===e?"false":"true"));constructor(e){this.#c=e}}eB=oM("placeholder",!0),eU=oM("placeholder-color",!0),eq=oM("placeholder-font-family",!0),eY=oM("placeholder-font-size",!0),ej=oM("placeholder-font-weight",!0);class rT{static #h={e:[eK,eG,eJ,eQ,eZ]}=ox(this,[[eB,0,"_handlerPlaceholder"],[eU,0,"_handlerPlaceholderColor"],[eq,0,"_handlerPlaceholderFontFamily"],[eY,0,"_handlerPlaceholderFontSize"],[ej,0,"_handlerPlaceholderFontWeight"]],[]);static observedAttributes=["placeholder","placeholder-color","placeholder-font-family","placeholder-font-size","placeholder-font-weight"];#c;#ey=oA(()=>this.#c.shadowRoot,"#input");_handlerPlaceholder=eK(this,o_(this.#ey,"placeholder"));_handlerPlaceholderColor=eG(this,oI(this.#ey,"--placeholder-color",void 0,!0));_handlerPlaceholderFontFamily=eJ(this,oI(this.#ey,"--placeholder-font-family",void 0,!0));_handlerPlaceholderFontSize=eQ(this,oI(this.#ey,"--placeholder-font-size",void 0,!0));_handlerPlaceholderFontWeight=eZ(this,oI(this.#ey,"--placeholder-font-weight",void 0,!0));constructor(e){this.#c=e}}e0=oM("value",!1),e1=oM("disabled",!0),e2=oM("autocomplete",!0);class rC{static #h={e:[e3,e4,e5]}=ox(this,[[e0,2,"_handleValue"],[e1,0,"_handleDisabled"],[e2,0,"_handleAutocomplete"]],[]);static observedAttributes=["value","disabled","autocomplete"];#c;#ey=(e5(this),oA(()=>this.#c.shadowRoot,"#input"));_handleValue(e){if(e){let t=parseFloat(this.#c.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#ey();t.value!==e&&(t.value=e)}_handleDisabled=e3(this,o_(this.#ey,"disabled",e=>null!==e?"":null));_handleAutocomplete=e4(this,o_(this.#ey,"autocomplete"));constructor(e){this.#c=e}}let rL={submit:"confirm",blur:"lynxblur",focus:"lynxfocus"};e8=oM("input-filter",!0),e9=oD("lynxinput"),e6=oM("send-composing-input",!0),e7=oD("selection");class r_{static #h={e:[te]}=ox(this,[[[e8,e9],2,"_handleEnableInputEvent"],[e6,2,"_handleSendComposingInput"],[e7,2,"_handleEnableSelectionEvent"]],[]);static observedAttributes=["send-composing-input","input-filter"];#c;#eT=(te(this),!1);#eC=/[^0-9.]|\.(?=.*\.)/g;#ey=oA(()=>this.#c.shadowRoot,"#input");#eL=oA(()=>this.#c.shadowRoot,"#form");_handleEnableInputEvent(e){let t=this.#ey();e?(t.addEventListener("input",this.#e_,{passive:!0}),t.addEventListener("compositionend",this.#eI,{passive:!0})):(t.removeEventListener("input",this.#e_),t.removeEventListener("compositionend",this.#eI))}_handleSendComposingInput(e){this.#eT=null!==e}#eA=e=>{let t=rL[e.type]??e.type;this.#c.dispatchEvent(new CustomEvent(t,{...oH,detail:{value:this.#ey().value}}))};#e_=e=>{let t=this.#ey(),s=this.#eO(t.value),i=e.isComposing;t.value=s,(!i||this.#eT)&&this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:s,textLength:s.length,cursor:t.selectionStart,isComposing:i,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#eI=()=>{let e=this.#ey(),t=this.#eO(e.value);e.value=t,this.#eT||this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:t,textLength:t.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#eO(e){let t=e;"number"===this.#c.getAttribute("type")&&(t=t.replace(this.#eC,""));let s=this.#c.getAttribute("input-filter");return s&&(t=t.replace(RegExp(s,"g"),"")),t}_handleEnableSelectionEvent(e){e?this.#ey().addEventListener("select",this.#eR,{passive:!0}):this.#ey().removeEventListener("select",this.#eR)}#eR=()=>{let e=this.#ey();this.#c.dispatchEvent(new CustomEvent("selection",{...oH,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#eM=e=>{e.target===this.#ey()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#c=e;const t=this.#ey(),s=this.#eL();t.addEventListener("blur",this.#eA,{passive:!0}),t.addEventListener("focus",this.#eA,{passive:!0}),s.addEventListener("submit",this.#eA,{passive:!0}),s.addEventListener("input",this.#eM,{passive:!0})}}tt=oO("x-input",[oz,rT,rC,rS,r_],oJ);class rI extends(ti=HTMLElement){static #h={c:[ot,ts]}=ox(this,[],[tt],ti);#ek=oA(()=>this.shadowRoot,"#input");addText(e){let{text:t}=e,s=this.#ek(),i=s.selectionStart;if(null===i)s.value=t;else{let e=s.value;s.value=e.slice(0,i)+t+e.slice(i)}}controlKeyBoard(e){let{action:t}=e;0===t||1===t?this.focus():(2===t||3===t)&&this.blur()}setValue(e){let t,s=this.#ek();s.value=e.value,(t=e.index)&&s.setSelectionRange(t,t)}getValue(){let e=this.#ek();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:s}=e,i=this.#ek();1===t&&(s=1);let o=i.selectionStart;if(null===o){let e=i.value;i.value=i.value.substring(0,e.length-s)}else{let e=i.value;i.value=e.slice(0,o-s)+e.slice(o)}}setInputFilter(e){this.#ek().setAttribute("pattern",e.pattern)}select(){let e=this.#ek();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#ek().setSelectionRange(e.selectionStart,e.selectionEnd)}focus(e){this.#ek().focus(e)}blur(){this.#ek().blur()}connectedCallback(){let e=this.#ek();null===this.getAttribute("confirm-type")&&e.setAttribute("confirm-type","send"),null===this.getAttribute("maxlength")&&e.setAttribute("maxlength","140")}static #d=ts()}to=oM("events-pass-through",!0),tr=oM("visible",!1);class rA{static #h={e:[tn]}=ox(this,[[to,2,"_handleEventsPassThrough"],[tr,2,"_handleVisible"]],[]);static observedAttributes=["visible","events-pass-through"];#c;#eD=(tn(this),!!window.HTMLDialogElement);#eF=!1;constructor(e){this.#c=e}#eN=oA(()=>this.#c.shadowRoot,"#dialog");_handleEventsPassThrough(e){null!==e?(this.#eN().addEventListener("click",this.#eH,{passive:!1}),this.#c.addEventListener("click",this.#eH,{passive:!1})):(this.#eN().removeEventListener("click",this.#eH),this.#c.removeEventListener("click",this.#eH))}_handleVisible(e){this.#eF=null!==e,this.#eD&&(this.#eF?(this.#eN().showModal(),this.#c.dispatchEvent(new CustomEvent("showoverlay",oH))):(this.#eN().close(),this.#c.dispatchEvent(new CustomEvent("dismissoverlay",oH))))}#eH=e=>{e.stopPropagation();let t=this.#eN();if(e.target===this.#c||e.target===t){t.close();let{clientX:s,clientY:i}=e,o=document.elementFromPoint(s,i);o?.tagName==="LYNX-VIEW"&&o.shadowRoot&&(o=o.shadowRoot.elementFromPoint(s,i)??o),o?.dispatchEvent(new MouseEvent("click",e)),requestAnimationFrame(()=>{this.#eF&&t.isConnected&&t.showModal()})}};connectedCallback(){this.#eD||(this.#eN().style.display="none")}}tl=oO("x-overlay-ng",[oz,rA],oZ);class rO extends(th=HTMLElement){static #h={c:[os,ta]}=ox(this,[],[tl],th);get[oP](){return this.shadowRoot.firstElementChild}static #d=ta()}class rR extends Event{startShowing;fullyShowing;static EventName="x-refresh-view-intersecting";constructor(e,t){super(rR.EventName,{composed:!1,cancelable:!0,bubbles:!0}),this.startShowing=e,this.fullyShowing=t}}class rM{#c;static observedAttributes=[];#eP;constructor(e){this.#c=e}connectedCallback(){if(IntersectionObserver&&!this.#eP){let e=this.#c.parentElement;e&&(this.#eP=new IntersectionObserver(e=>{let t=!1,s=!1;e.forEach(e=>{t=e.intersectionRatio>0,s=e.intersectionRatio>.9}),this.#c.dispatchEvent(new rR(t,s)),s&&this.#c.setAttribute("x-magnet-enable","")},{root:e,threshold:[.1,.9]}),this.#eP.observe(this.#c))}}dispose(){this.#eP&&(this.#eP.disconnect(),this.#eP=void 0)}}td=oO("x-refresh-footer",[o9,oz,rM]);class rk extends(tu=HTMLElement){static #h={c:[oi,tc]}=ox(this,[],[td],tu);connectedCallback(){this.setAttribute("slot","footer")}static #d=tc()}tp=oO("x-refresh-header",[o9,oz,rM]);class rD extends(tv=HTMLElement){static #h={c:[oo,tm]}=ox(this,[],[tp],tv);connectedCallback(){this.setAttribute("slot","header")}static #d=tm()}tg=oD("headeroffset"),tb=oD("headershow"),tf=oD("footeroffset"),tE=oD("startrefresh"),tw=oD("headerreleased"),ty=oD("startloadmore"),tx=oD("footerreleased");class rF{static #h={e:[tS]}=ox(this,[[[tg,tb,tf],2,"_handleComplexEventEnableAttributes"],[[tE,tw,ty,tx],2,"_handleXEnableHeaderOffsetEvent"]],[]);#c;static observedAttributes=[];#ez=(tS(this),oA(()=>this.#c,"x-refresh-view > x-refresh-header:first-of-type"));#eV=oA(()=>this.#c,"x-refresh-view > x-refresh-footer:first-of-type");constructor(e){this.#c=e,this.#c.addEventListener(rR.EventName,this.#eW)}#eX={headeroffset:!1,headerreleased:!1,startrefresh:!1,footeroffset:!1,headershow:!1,footerreleased:!1,startloadmore:!1};_handleComplexEventEnableAttributes(e,t){this.#eX[t]=e;let{headeroffset:s,headershow:i,footeroffset:o}=this.#eX;s||i||o?this.#e$():this.#eB()}_handleXEnableHeaderOffsetEvent(e,t){this.#eX[t]=e;let{startrefresh:s,headerreleased:i,startloadmore:o,footerreleased:r}=this.#eX;i||r||o||s?this.#eU():this.#eq()}#eY=!1;#ej=!1;#eK=!1;#eG=!1;#eW=e=>{e.stopPropagation(),"X-REFRESH-HEADER"===e.target.tagName?(this.#eY=e.startShowing,this.#ej=e.fullyShowing):(this.#eK=e.startShowing,this.#eG=e.fullyShowing)};#eJ=!1;#eU(){this.#eJ||(this.#c.addEventListener("touchend",this.#eQ),this.#eJ=!0)}#eQ=()=>{this.#ej?(this.#c.dispatchEvent(new CustomEvent("headerreleased",oH)),this.#c.dispatchEvent(new CustomEvent("startrefresh",{...oH,detail:{isManual:this.#c._nextRefreshIsManual}})),this.#c._nextRefreshIsManual=!0):("true"===this.#c.getAttribute("enable-auto-loadmore")&&this.#eK||this.#eG)&&(this.#c.dispatchEvent(new CustomEvent("footerreleased",oH)),this.#c.dispatchEvent(new CustomEvent("startloadmore",oH)))};#eq(){this.#eJ&&this.#c.removeEventListener("touchend",this.#eQ)}#eZ=!1;#e0=!1;#e$(){this.#e0||(this.#c.addEventListener("touchstart",this.#e1),this.#c.addEventListener("touchend",this.#e2),this.#c.addEventListener("touchcancel",this.#e2),this.#c.shadowRoot.querySelector("#container").addEventListener("scroll",this.#L))}#e2=()=>{this.#eZ=!1};#e1=()=>{this.#eZ=!0};#L=()=>{if(this.#eY&&(this.#eX.headershow||this.#eX.headeroffset)){let e=this.#ez();if(e){let t=parseFloat(getComputedStyle(e).height),s=this.#c.shadowRoot.querySelector("#container").scrollTop;this.#c.dispatchEvent(new CustomEvent("headershow",{...oH,detail:{isDragging:this.#eZ,offsetPercent:1-s/t}})),this.#c.dispatchEvent(new CustomEvent("headeroffset",{...oH,detail:{isDragging:this.#eZ,offsetPercent:1-s/t}}))}}else if(this.#eK&&this.#eX.footeroffset){let e=this.#eV();if(e){let t=this.#c.shadowRoot.querySelector("#container").scrollTop,s=parseFloat(getComputedStyle(e).height);this.#c.dispatchEvent(new CustomEvent("footeroffset",{...oH,detail:{isDragging:this.#eZ,offsetPercent:1-t/s}}))}}};#eB(){this.#e0&&(this.#c.removeEventListener("touchstart",this.#e1),this.#c.removeEventListener("touchend",this.#e2),this.#c.removeEventListener("touchcancel",this.#e2),this.#c.shadowRoot.querySelector("#container").removeEventListener("scroll",this.#L))}dispose(){this.#eq(),this.#eB()}}tT=oO("x-refresh-view",[o9,oz,rF],o0),new class extends oN{constructor(){super(or),tC()}static #h=(()=>{class e extends(tL=HTMLElement){static #h={c:[or,tC]}=ox(this,[],[tT],tL);static notToFilterFalseAttributes=new Set(["enable-refresh","enable-loadmore","enable-auto-loadmore"]);_nextRefreshIsManual=!0;finishRefresh(){this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.removeAttribute("x-magnet-enable")}finishLoadMore(){this.querySelector("x-refresh-view > x-refresh-footer:first-of-type")?.removeAttribute("x-magnet-enable")}autoStartRefresh(){let e=this.shadowRoot.querySelector("#container");this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.setAttribute("x-magnet-enable",""),this._nextRefreshIsManual=!1,e.scroll({top:0,behavior:"smooth"})}#e3=oA(()=>this.shadowRoot,"#container");#e4=oA(()=>this.shadowRoot,"#content");get scrollTop(){let e=this.#e3(),t=this.#e4();return t.scrollTop+t.offsetTop-e.scrollTop}set scrollTop(e){console.log(e);let t=this.#e3(),s=this.#e4();e>0?s.scrollTop=e:t.scrollTop=s.offsetTop+e}get scrollHeight(){return this.#e4().scrollHeight}get[oU](){return this}}})()},t_=oM("src",!0),tI=oM("content",!0),tA=oD("load");class rN{static #h={e:[tO]}=ox(this,[[t_,2,"_handleSrc"],[tI,2,"_handleContent"],[tA,2,"_enableLoadEvent"]],[]);static observedAttributes=["src","content"];#c;#e5=(tO(this),null);#eb=oA(()=>this.#c.shadowRoot,"#img");_handleSrc(e){e?this.#eb().src=e:this.#eb().src=""}_handleContent(e){if(this.#e5&&URL.revokeObjectURL(this.#e5),!e){this.#e5="";return}let t=new Blob([e],{type:"image/svg+xml;charset=UTF-8"}),s=URL.createObjectURL(t);this.#e5=s,this.#eb().src=s}_enableLoadEvent(e){e?this.#eb().addEventListener("load",this.#eE,{passive:!0}):this.#eb().removeEventListener("load",this.#eE)}#eE=()=>{this.#c.dispatchEvent(new CustomEvent("load",{...oH,detail:{width:this.#eb().naturalWidth,height:this.#eb().naturalHeight}}))};constructor(e){this.#c=e}}tR=oO("x-svg",[oz,rN],'<img part="img" alt="" loading="lazy" id="img" /> ');class rH extends(tk=HTMLElement){static #h={c:[on,tM]}=ox(this,[],[tR],tk);static #d=tM()}tD=oO("x-swiper-item",[o9,oz]);class rP extends(tN=HTMLElement){static #h={c:[ol,tF]}=ox(this,[],[tD],tN);static #d=tF()}tH=oD("transition"),tP=oD("scrollstart"),tz=oD("lynxscrollend"),tV=oD("change"),tW=oD("change-event-for-indicator");class rz{static #h={e:[tX,t$]}=ox(this,[[[tP,tz,tV,tW],2,"_enableScrollEventProcessor"],[tH,0,"_handleEnableTransitionEvent"]],[]);static observedAttributes=[];#c;#e8=(t$(this),0);#e9=0;#eZ=!1;#g;#e6=!1;constructor(e){this.#c=e}#e4=oA(()=>this.#c.shadowRoot,"#content").bind(this);_handleEnableTransitionEvent=tX(this,oL(this.#e4,"scroll",this.#e7,{passive:!0}));#L(){o$||(clearTimeout(this.#g),this.#g=setTimeout(()=>{this.#I()},100)),this.#e6||(this.#c.dispatchEvent(new CustomEvent("scrollstart",{...oH,detail:{current:this.#e8,isDragged:this.#eZ}})),this.#e6=!0);let e=this.#e4(),t=this.#c.isVertical,s=t?e.scrollTop:e.scrollLeft,i=t?e.clientHeight:e.clientWidth,o=t?e.scrollHeight:e.scrollWidth;if(Math.abs(this.#e9-s)>i/4||s<10||Math.abs(s-o)<=i){let e=this.#c.currentIndex;e!==this.#e8&&(this.#c.dispatchEvent(new CustomEvent("change",{...oH,detail:{current:e,isDragged:this.#eZ}})),this.#e8=e),this.#e9=s}}#I(){this.#c.dispatchEvent(new CustomEvent("lynxscrollend",{...oH,detail:{current:this.#e8}})),this.#e6=!1}#te(){this.#eZ=!0}#tt(){this.#eZ=!1}#e7(){this.#c.dispatchEvent(new CustomEvent("transition",{...oH,detail:{dx:this.#e4().scrollLeft,dy:this.#e4().scrollTop}}))}#ts=[oL(this.#e4,"scroll",this.#L.bind(this),{passive:!0}),oL(this.#e4,"touchstart",this.#te.bind(this),{passive:!0}),oL(this.#e4,"touchend",this.#tt.bind(this),{passive:!0}),oL(this.#e4,"touchcancel",this.#tt.bind(this),{passive:!0}),oL(this.#e4,"scrollend",this.#I.bind(this),{passive:!0})];#eX={scrollstart:!1,lynxscrollend:!1,change:!1,"change-event-for-indicator":!1};_enableScrollEventProcessor(e,t){this.#eX[t]=e;let{lynxscrollend:s,scrollstart:i,change:o}=this.#eX,r=o||s||i||this.#eX["change-event-for-indicator"];this.#ts.forEach(e=>e(r))}connectedCallback(){this.#e8=parseFloat(this.#c.getAttribute("current")??"0");let e=this.#c.isVertical;this.#e9=e?this.#e4().scrollTop:this.#e4().scrollLeft}}tB=oM("current",!1),tU=oM("interval",!1),tq=oM("autoplay",!1);class rV{static #h={e:[tY]}=ox(this,[[tB,2,"_handleCurrentChange"],[[tU,tq],2,"_handleAutoplay"]],[]);static observedAttributes=["current","interval","autoplay"];#c;constructor(e){this.#c=e}#ti(){this.#c.currentIndex===this.#c.childElementCount-1?this.#c.circularPlay&&(this.#c.currentIndex=0):this.#c.currentIndex+=1}_handleCurrentChange(e){let t=Number(e);Number.isNaN(t)||(this.#c.currentIndex=t)}#to;#tr=(tY(this),(()=>{this.#ti()}).bind(this));#tn(e){this.#tl(),this.#to=setInterval(this.#tr,e)}#tl(){this.#to&&clearInterval(this.#to)}_handleAutoplay(){if(null!==this.#c.getAttribute("autoplay")){let e=this.#c.getAttribute("interval"),t=e?parseFloat(e):5e3;Number.isNaN(t)&&(t=5e3),this.#tn(t)}}dispose(){this.#tl()}}tj=oM("circular",!1),tK=oM("vertical",!0);class rW{static #h={e:[tG]}=ox(this,[[tj,2,"_handleCircular"],[tK,2,"_handleVerticalChange"]],[]);static observedAttributes=["circular","vertical"];#c;#ta=(tG(this),!1);#th;#td=0;#e4=oA(()=>this.#c.shadowRoot,"#content").bind(this);constructor(e){this.#c=e}#tc=oA(()=>this.#c.shadowRoot,"#circular-start").bind(this);#tu=oA(()=>this.#c.shadowRoot,"#circular-end").bind(this);#tp(e){let t=this.#c.childElementCount;if(t>2){let{current:s,isDragged:i,__isFirstLayout:o}=e.detail;if(0===s||s===t-1||2===s||s===t-2){let e,r=this.#e4(),n=this.#tc().assignedElements(),l=this.#tu().assignedElements(),a=this.#c.firstElementChild,h=this.#c.lastElementChild,d=this.#c.snapDistance;if(0===s?(l.forEach(e=>e.removeAttribute("slot")),h.setAttribute("slot","circular-start"),e=a):s===t-1?(n.forEach(e=>e.removeAttribute("slot")),a.setAttribute("slot","circular-end"),e=h):(n.forEach(e=>e.removeAttribute("slot")),l.forEach(e=>e.removeAttribute("slot")),e=this.#c.children[s]),this.#ta){let t="carousel"===this.#c.getAttribute("mode")?.8*r.clientHeight/2:r.clientHeight/2;this.#td=e.offsetTop+e.offsetHeight/2-d-t,r.scrollTop=this.#td}else{let t="carousel"===this.#c.getAttribute("mode")?.8*r.clientWidth/2:r.clientWidth/2;this.#td=e.offsetLeft+e.offsetWidth/2-d-t,r.scrollLeft=this.#td}if(!i){let e=this.#c.getAttribute("mode");if(o&&(null===e||"normal"===e||"carousel"===e||"carry"===e))return;this.#tm(o?"instant":"smooth")}}}}#tm(e){let t=this.#e4(),s=this.#c.snapDistance;t.scrollBy({top:this.#ta?s:0,left:this.#ta?0:s,behavior:e??"smooth"})}#ts=[oL(()=>this.#c,"change",this.#tp.bind(this),{passive:!0}),oL(()=>this.#c,"touchmove",this.#tv.bind(this),{passive:!1}),oL(()=>this.#c,"touchend",this.#tg.bind(this),{passive:!1}),oL(()=>this.#c,"touchcancel",this.#tg.bind(this),{passive:!1})];_handleCircular(e){this.#ts.forEach(t=>t(null!=e)),null!==e&&this.#tp({detail:{current:this.#c.currentIndex,isDragged:!1,__isFirstLayout:!0}})}#tv(e){let t=e.touches.item(0);if(t){let e=this.#ta?t.pageY:t.pageX;if(void 0!==this.#th){this.#tb();let t=this.#th-e;this.#td+=t}this.#th=e}}#tg(e){this.#tf(),this.#tm(),this.#th=void 0}_handleVerticalChange(e){this.#ta=null!==e}#tE;#tb(){if(!this.#tE){let e=this.#e4();this.#td=this.#ta?e.scrollTop:e.scrollLeft,this.#tE=setInterval(()=>{this.#ta?e.scrollTop=this.#td:e.scrollLeft=this.#td},10)}}#tf(){this.#tE&&(clearInterval(this.#tE),this.#tE=void 0)}dispose(){this.#tf()}}tJ=oM("indicator-color",!0),tQ=oM("indicator-active-color",!0),tZ=oM("page-margin",!0),t0=oM("previous-margin",!0),t1=oM("next-margin",!0);class rX{static #h={e:[t2,t3,t4,t5,t8]}=ox(this,[[tJ,0,"_handleIndicatorColor"],[tQ,0,"_handleIndicatorActiveColor"],[tZ,0,"_handlePageMargin"],[t0,0,"_handlePreviousMargin"],[t1,0,"_handleNextMargin"]],[]);static observedAttributes=["indicator-color","indicator-active-color","page-margin","previous-margin","next-margin"];#c;#tw=0;#ty=oA(()=>this.#c.shadowRoot,"#indicator-container");#tx=oA(()=>this.#c.shadowRoot,"#indicator-style");#tS;constructor(e){this.#c=e}_handleIndicatorColor=t2(this,oI(this.#ty,"--indicator-color",void 0,!0));_handleIndicatorActiveColor=t3(this,oI(this.#ty,"--indicator-active-color",void 0,!0));_handlePageMargin=t4(this,oI(this.#ty,"--page-margin",void 0,!0));_handlePreviousMargin=t5(this,oI(this.#ty,"--previous-margin",void 0,!0));_handleNextMargin=t8(this,oI(this.#ty,"--next-margin",void 0,!0));#tT(){let e=this.#c.childElementCount;if(e!==this.#tw){let t="";for(let s=0;s<e;s++)t+=`<div style="animation-timeline:--x-swiper-item-${s};" part="indicator-item"></div>`;if(this.#ty().innerHTML=t,e>5){for(let t=0;t<e;t++)this.#c.children.item(t)?.style.setProperty("view-timeline-name",`--x-swiper-item-${t}`);this.#tx().innerHTML=`:host { timeline-scope: ${Array.from({length:e},(e,t)=>`--x-swiper-item-${t}`).join(",")} !important; }`}}this.#tw=e}connectedCallback(){this.#tT(),this.#tS=new MutationObserver(this.#tT.bind(this)),this.#tS.observe(this.#c,{attributes:!1,characterData:!1,childList:!0,subtree:!1}),CSS.supports("timeline-scope","--a, --b")||(this.#c.addEventListener("change",(({detail:e})=>{let t=e.current,s=this.#c.childElementCount,i=this.#ty();for(let e=0;e<s;e++){let s=i.children[e];s&&(e===t?s.style.setProperty("background-color","var(--indicator-active-color)","important"):s.style.removeProperty("background-color"))}}).bind(this)),oC(()=>{this.#ty().children[this.#c.currentIndex]?.style.setProperty("background-color","var(--indicator-active-color)","important")}))}dispose(){this.#tS?.disconnect(),this.#tS=void 0}}t9=oO("x-swiper",[oz,rX,rz,rW,rV],o1),new class extends oN{constructor(){super(oa),t6()}static #h=(()=>{class e extends(t7=HTMLElement){static #h={c:[oa,t6]}=ox(this,[],[t9],t7);static notToFilterFalseAttributes=new Set(["smooth-scroll","indicator-dots"]);#e4=oA(()=>this.shadowRoot,"#content").bind(this);#tC(){let e=0,t=Number.MAX_SAFE_INTEGER,s=0;if(this.childElementCount>0){let i=this.#e4(),o=this.isVertical,r=this.childElementCount,n=o?i.scrollTop:i.scrollLeft,l=o?i.clientHeight:i.clientWidth,a=o?this.firstElementChild.offsetHeight:this.firstElementChild.offsetWidth,h=n+("carousel"===this.getAttribute("mode")?.8*l/2:l/2);for(let i=0;i<r;i++){let r=this.children[i];if(r){let n=(o?r.offsetTop:r.offsetLeft)+a/2-h,l=Math.abs(n);l<t&&(e=i,t=l,s=n)}}}return{current:e,minDistanceToMid:t,minOffsetToMid:s}}get currentIndex(){return this.#tC().current}set currentIndex(e){if(this.currentIndex===e)return;let t=null===this.getAttribute("smooth-scroll");this.#tL(e,t?"smooth":"instant")}#tL(e,t){let s=this.children.item(e);if(s){let e=this.isVertical,i=0;i="flat-coverflow"===this.getAttribute("mode")?e?s.offsetTop-s.offsetHeight/3:s.offsetLeft-s.offsetWidth/3:e?s.offsetTop:s.offsetLeft,this.#e4().scrollTo({left:e?0:i,top:e?i:0,behavior:t})}}get snapDistance(){return this.#tC().minOffsetToMid}get isVertical(){return null!==this.getAttribute("vertical")}get circularPlay(){return null!==this.getAttribute("circular")}scrollTo(...e){if(e.length>0&&"object"==typeof e[0]&&null!==e[0]&&"index"in e[0]){let{index:t,smooth:s=!0}=e[0];if("number"==typeof t)return void this.#tL(t,s?"smooth":"instant")}super.scrollTo(...e)}connectedCallback(){let e=this.getAttribute("current");null!==e&&this.#tL(Number(e),"instant")}get[oU](){return this}}})()},se=oM("src",!0);class r${static #h={e:[st]}=ox(this,[[se,2,"_handleSrc"]],[]);static observedAttributes=["src"];#c;constructor(e){this.#c=e}#t_=(st(this),oA(()=>this.#c.shadowRoot,"#img"));_handleSrc(e){e?this.#t_().setAttribute("src",e):this.#t_().removeAttribute("src")}}ss=oO("inline-image",[r$],oG({}));class rB extends(so=HTMLElement){static #h={c:[oh,si]}=ox(this,[],[ss],so);static #d=si()}sr=oO("inline-text",[]);class rU extends(sl=HTMLElement){static #h={c:[od,sn]}=ox(this,[],[sr],sl);static #d=sn()}sa=oO("inline-truncation",[]),new class extends oN{constructor(){super(oc),sh()}static #h=(()=>{class e extends(sd=HTMLElement){static #h={c:[oc,sh]}=ox(this,[],[sa],sd);static XEnableCustomTruncation="x-text-custom-overflow";connectedCallback(){CSS.supports("selector(:has(inline-truncation))")||this.parentElement?.tagName!=="X-TEXT"||this.matches("inline-truncation ~ inline-truncation")||this.parentElement.setAttribute(e.XEnableCustomTruncation,""),this.setAttribute("slot","inline-truncation")}disconnectedCallback(){this.parentElement?.removeAttribute(e.XEnableCustomTruncation)}}})()},sc=oM("text",!0);class rq{static #h={e:[su]}=ox(this,[[sc,2,"_handleText"]],[]);static observedAttributes=["text"];#c;#tI;constructor(e){su(this),this.#c=e}_handleText(e){this.#tI?.remove(),e&&(this.#tI=new Text(e),this.#c.append(this.#tI))}}sp=oO("raw-text",[rq]);class rY extends(sv=HTMLElement){static #h={c:[ou,sm]}=ox(this,[],[sp],sv);static #d=sm()}sg=oM("text-maxlength",!0),sb=oM("text-maxline",!0),sf=oM("tail-color-convert",!0),sE=oD("layout");class rj{static #h={e:[sw]}=ox(this,[[[sg,sb,sf],2,"_handleAttributeChange"],[sE,2,"_handleEnableLayoutEvent"]],[]);static exceedMathLengthAttribute="x-text-clipped";static showInlineTruncation="x-show-inline-truncation";static observedAttributes=["text-maxlength","text-maxline","tail-color-convert"];#tA=(sw(this),!1);#tO=!1;#tR=new Map;#tM;#p;#tk;#tD;#tF=!1;#tN=NaN;#tH=NaN;#tP=!0;#tz=!1;get #tV(){return!this.#tW&&!this.#tP}get #tW(){if(CSS.supports("selector(:has(inline-truncation))"))return this.#c.matches(":has(inline-truncation)");{let e=this.#c.querySelector("inline-truncation");if(e?.parentElement===this.#c)return!0}return!1}get #tX(){return!isNaN(this.#tH)&&(this.#tW||!this.#tP)}#c;constructor(e){this.#c=e}#t$=oA(()=>this.#c.shadowRoot,"#inner-box");#tB(e){e.forEach(e=>{e.removedNodes.forEach(e=>{this.#tR.delete(e)}),"characterData"===e.type&&void 0!==this.#tR.get(e.target)&&this.#tR.set(e.target,e.target.data)})}#tU(){for(let[e,t]of this.#tR)e.nodeType===Node.TEXT_NODE?void 0!==t&&(e.data=t):e.removeAttribute(rj.exceedMathLengthAttribute);this.#c.removeAttribute(rj.exceedMathLengthAttribute),this.#c.removeAttribute(rj.showInlineTruncation)}#tq(e){let t=[],s=e;for(;s=s.nextSibling;)(s.nodeType===Node.TEXT_NODE||s.nodeType===Node.ELEMENT_NODE)&&t.push(s);return t}#tY(){!this.#tO||this.#c.matches("x-text>x-text")||this.#tA||(this.#tA=!0,oC(async()=>{await this.#tj(),this.#tK(),this.#tA=!1}))}async #tj(){if(this.#tk?.parentElement?.removeChild(this.#tk),this.#tU(),!this.#tX&&isNaN(this.#tN))return;await document.fonts.ready;let e=this.#t$().getBoundingClientRect();this.#tD=new rK(this.#c,e);let t=this.#tD,s=(isNaN(this.#tN)?void 0:t.getNodeInfoByCharIndex(this.#tN))?this.#tN:1/0,i=this.#tX&&t.getLineInfo(this.#tH)?t.getLineInfo(this.#tH-1):void 0,o=1/0,r=3;if(i){let{start:s,end:n}=i,l=n-s;if(this.#tW){this.#c.setAttribute(rj.showInlineTruncation,"");let i=this.#c.querySelector("inline-truncation").getBoundingClientRect(),r=e.width,l=i.width;if(r>l){o=n-1;let e=document.createRange(),s=t.getNodeInfoByCharIndex(o),i=n-s.start;for(e.setEnd(s.node,i),e.setStart(s.node,i);e.getBoundingClientRect().width<l&&(o-=1)&&(s=t.getNodeInfoByCharIndex(o));)e.setStart(s.node,o-s.start)}else o=s,this.#c.removeAttribute(rj.showInlineTruncation)}else l<3?(r=l,o=s):o=n-3}let n=Math.min(s,o);if(n<1/0){let e=t.getNodeInfoByCharIndex(n);if(e){let s=n-e.start,i=e.node,o=[];i.nodeType===Node.TEXT_NODE?(this.#tR.set(i,i.data),i.data=i.data.substring(0,s)):o.push(i),o=o.concat(this.#tq(i));let l=i.parentElement;for(;l!==this.#c;)o=o.concat(this.#tq(l)),l=l.parentElement;if(o.forEach(e=>{e.nodeType===Node.TEXT_NODE&&0!==e.data.length?(this.#tR.set(e,e.data),e.data=""):e.nodeType===Node.ELEMENT_NODE&&(this.#tR.set(e,""),e.setAttribute(rj.exceedMathLengthAttribute,""))}),this.#tV){let o=(0===s?t.nodelist.at(e.nodeIndex-1)?.parentElement:i.parentElement)??i.parentElement;this.#tk=new Text(Array(r).fill(".").join("")),o.append(this.#tk)}this.#c.setAttribute(rj.exceedMathLengthAttribute,"")}this.#tG(n)}}#tJ=e=>{this.#tB(e),this.#tY()};#tQ=()=>{if(this.#tF){this.#tF=!1;return}this.#tY()};#tK(){this.#tO&&((this.#tN||this.#tH)&&!this.#tM&&(this.#tM=new MutationObserver(this.#tJ),this.#tM.observe(this.#c,{subtree:!0,childList:!0,attributes:!1,characterData:!0})),this.#tH&&!this.#p&&(this.#p=new ResizeObserver(this.#tQ),this.#tF=!0,this.#p.observe(this.#t$(),{box:"content-box"})))}#tZ(){this.#tM?.disconnect(),this.#tM=void 0,this.#p?.disconnect(),this.#p=void 0}_handleAttributeChange(){this.#tN=parseFloat(this.#c.getAttribute("text-maxlength")??""),this.#tH=parseFloat(this.#c.getAttribute("text-maxline")??""),this.#tP="false"!==this.#c.getAttribute("tail-color-convert"),this.#tN<0&&(this.#tN=NaN),this.#tH<1&&(this.#tH=NaN),isNaN(this.#tH)?this.#t$().style.removeProperty("-webkit-line-clamp"):this.#t$().style.webkitLineClamp=this.#tH.toString(),this.#tY()}_handleEnableLayoutEvent(e){this.#tz=e}#tG(e){if(!this.#tz)return;let t=new Proxy(this,{get:(t,s)=>"lineCount"===s?(t.#tD||(t.#tD=new rK(t.#c,t.#c.getBoundingClientRect())),t.#tD.getLineCount()):"lines"===s?new Proxy(t,{get(t,s){let i=parseFloat(s.toString());if(!isNaN(i)){t.#tD||(t.#tD=new rK(t.#c,t.#c.getBoundingClientRect()));let s=t.#tD.getLineInfo(i);if(s)return new Proxy(s,{get(t,s){switch(s){case"start":case"end":return t[s];case"ellipsisCount":if(void 0!==e&&e>=t.start&&e<t.end)return t.end-e;return 0}}})}}}):void 0});this.#c.dispatchEvent(new CustomEvent("layout",{...oH,detail:t}))}dispose(){this.#tZ()}connectedCallback(){this.#tO=!0,this._handleEnableLayoutEvent(this.#tz),this._handleAttributeChange(),oC(()=>{this.#tG()})}}class rK{#t0=[{start:0}];#t1=[];#t2=[];#c;#t3;nodelist;constructor(e,t){this.#c=e,this.nodelist=new rG(this.#c),this.#t3=t}#t4(e){if(e.node.nodeType!==Node.TEXT_NODE)return 1;{let{rect:t,rectIndex:s}=e,i=e.node,o=document.createRange();o.selectNode(i);for(let e=0;e<i.data.length;e++){o.setEnd(i,e);let r=o.getClientRects().item(s);if(r&&r.right===t.right)return e}return i.data.length}}#t5(e){if(this.#t1[e])return;let{left:t}=this.#t3,s=this.#t1[this.#t1.length-1],i=s?.[s.length-1],o=i?.nodeIndex?i?.nodeIndex+1:0;for(let s=o,i;(i=this.#t8(s))&&e>=this.#t1.length;s++){let e,{node:s}=i;if(s.nodeType===Node.ELEMENT_NODE)e=s.getClientRects();else{let t=document.createRange();t.selectNode(s),e=t.getClientRects()}if(e.length>0){let s=this.#t1[this.#t1.length-1],o=e[0];if(.2>Math.abs(o.left-t)||!s?this.#t1.push([{...i,rect:o,rectIndex:0}]):s.push({...i,rect:o,rectIndex:0}),e.length>1)for(let s=1;s<e.length;s++){let r=e[s];(r.left!==o.left||r.bottom!==o.bottom)&&(.2>Math.abs(r.left-t)?this.#t1.push([{...i,rect:r,rectIndex:s}]):this.#t1[this.#t1.length-1].push({...i,rect:r,rectIndex:s}))}}}}getLineCount(){return this.#t5(1/0),this.#t1.length}getLineInfo(e){if(this.#t5(e+1),e<this.#t1.length){let t=e>0?this.#t0[e-1]??{}:void 0,s=this.#t0[e]??{},i=e<this.#t1.length-1?this.#t0[e+1]??{}:void 0;if(void 0===s.start){let i=this.#t1[e-1],o=i[i.length-1],r=this.#t4(o),n=o.start+r;t&&(t.end=n),s.start=n+1}if(void 0===s.end){let t=this.#t1[e],o=t[t.length-1];if(e===this.#t1.length-1){let e=o.node.nodeType===Node.TEXT_NODE?o.node.data.length:1;s.end=o.start+e}else{let e=this.#t4(o);s.end=o.start+e,i.start=s.end+1}}return s}}#t8(e){let t=this.#t2.length-1,s=this.#t2[t],i=s?s.start+s.length:0;for(let t=this.#t2.length,s;(s=this.nodelist.at(t))&&e>=this.#t2.length;t++){let e=s.nodeType===Node.ELEMENT_NODE?1:s.data.length,o={node:s,length:e,start:i,nodeIndex:t};this.#t2.push(o)}return this.#t2[e]}getNodeInfoByCharIndex(e){let t,s=0,i=this.#t2.length-1;for(;s<=i;){let o=Math.floor((s+i)/2),r=this.#t2[o],n=r.node,l=n.nodeType===Node.TEXT_NODE?n.data.length:1,a=r.start;if(e>=a&&e<a+l){t=r;break}e<a?i=o-1:s=o+1}if(t)return t;for(let t=this.#t2.length,s;s=this.#t8(t);t++)if(e<s.start+s.length)return s}}class rG{#t9=[];#t6;constructor(e){this.#t6=document.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName;if("X-TEXT"===t||"INLINE-TEXT"===t||"RAW-TEXT"===t||"LYNX-WRAPPER"===t)return NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_ACCEPT})}at(e){return this.#t9[e]||this.#t7(e),this.#t9[e]}#t7(e){let t=null;for(;e>=this.#t9.length&&(t=this.#t6.nextNode());){this.#t9.push(t);break}}}sy=oO("x-text",[oz,rj,rq],'<div id="inner-box" part="inner-box"><slot part="slot"></slot><slot name="inline-truncation"></slot></div>'),new class extends oN{constructor(){super(op),sx()}static #h=(()=>{class e extends(sS=HTMLElement){static #h={c:[op,sx]}=ox(this,[],[sy],sS);static notToFilterFalseAttributes=new Set(["tail-color-convert"]);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(oY.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[oP]=this}})()},sT=oM("placeholder-color",!0),sC=oM("placeholder-font-size",!0),sL=oM("placeholder-font-weight",!0),s_=oM("placeholder-font-family",!0),sI=oM("placeholder",!0);class rJ{static #h={e:[sA,sO,sR,sM,sk]}=ox(this,[[sT,0,"_updatePlaceholderColor"],[sC,0,"_updatePlaceholderFontSize"],[sL,0,"_updatePlaceholderFontWeight"],[s_,0,"_updatePlaceholderFontFamily"],[sI,0,"_handlePlaceholder"]],[]);static observedAttributes=["placeholder","placeholder-color","placeholder-font-size","placeholder-font-weight","placeholder-font-family"];#se=oA(()=>this.#c.shadowRoot,"#textarea");_updatePlaceholderColor=sA(this,oI(this.#se,"--placeholder-color",void 0,!0));_updatePlaceholderFontSize=sO(this,oI(this.#se,"--placeholder-font-size",void 0,!0));_updatePlaceholderFontWeight=sR(this,oI(this.#se,"--placeholder-font-weight",void 0,!0));_updatePlaceholderFontFamily=sM(this,oI(this.#se,"--placeholder-font-family",void 0,!0));_handlePlaceholder=sk(this,o_(this.#se,"placeholder"));#c;constructor(e){this.#c=e}}sD=oM("confirm-type",!0),sF=oM("maxlength",!0),sN=oM("readonly",!0),sH=oM("ios-spell-check",!0),sP=oM("show-soft-input-onfocus",!0);class rQ{static #h={e:[sz,sV,sW,sX,s$]}=ox(this,[[sD,0,"_handlerConfirmType"],[sF,0,"_handlerMaxlength"],[sN,0,"_handleReadonly"],[sH,0,"_handleSpellCheck"],[sP,0,"_handleShowSoftInputOnfocus"]],[]);static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check","show-soft-input-onfocus"];#c;#st=oA(()=>this.#c.shadowRoot,"#textarea");_handlerConfirmType=sz(this,o_(this.#st,"enterkeyhint",e=>null===e?"send":e));_handlerMaxlength=sV(this,o_(this.#st,"maxlength",e=>null===e?"140":e));_handleReadonly=sW(this,o_(this.#st,"readonly",e=>null!==e?"":null));_handleSpellCheck=sX(this,o_(this.#st,"spellcheck",e=>null===e?"false":"true"));_handleShowSoftInputOnfocus=s$(this,o_(this.#st,"virtualkeyboardpolicy",e=>null===e?"manual":"auto"));constructor(e){this.#c=e}}sB=oM("confirm-enter",!0),sU=oM("disabled",!0),sq=oM("max-height",!0),sY=oM("min-height",!0),sj=oM("value",!1);class rZ{static #h={e:[sK,sG,sJ,sQ]}=ox(this,[[sB,2,"_handleConfirmEnter"],[sj,2,"_handleValue"],[sU,0,"_handleDisabled"],[sq,0,"_handleMaxHeight"],[sY,0,"_handleMinHeight"]],[]);static observedAttributes=["confirm-enter","disabled","max-height","min-height","value"];#c;#st=(sQ(this),oA(()=>this.#c.shadowRoot,"#textarea"));#eL=oA(()=>this.#c.shadowRoot,"#form");#ss=!1;_handleConfirmEnter(e){this.#ss=null!==e}_handleDisabled=sK(this,o_(this.#st,"disabled",e=>null!==e?"":null));_handleMaxHeight=sG(this,oI(this.#st,"max-height"));_handleMinHeight=sJ(this,oI(this.#st,"min-height"));_handleValue(e){if(e){let t=parseFloat(this.#c.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#st();t.value!==e&&(t.value=e)}#si=e=>{this.#ss&&"Enter"===e.key&&this.#eL().dispatchEvent(new SubmitEvent("submit"))};constructor(e){this.#c=e,this.#st().addEventListener("keyup",this.#si)}}sZ=oM("input-filter",!0),s0=oD("lynxinput"),s1=oM("send-composing-input",!0),s2=oD("selection");class r0{static #h={e:[s3]}=ox(this,[[[sZ,s0],2,"_handleEnableConfirmEvent"],[s1,2,"_handleSendComposingInput"],[s2,2,"_handleEnableSelectionEvent"]],[]);static observedAttributes=["send-composing-input","input-filter"];#c;#eT=(s3(this),!1);#st=oA(()=>this.#c.shadowRoot,"#textarea");#eL=oA(()=>this.#c.shadowRoot,"#form");_handleEnableConfirmEvent(e){let t=this.#st();e?(t.addEventListener("input",this.#e_,{passive:!0}),t.addEventListener("compositionend",this.#eI,{passive:!0})):(t.removeEventListener("input",this.#e_),t.removeEventListener("compositionend",this.#eI))}_handleSendComposingInput(e){this.#eT=null!==e}#eA=e=>{let t=rL[e.type]??e.type;this.#c.dispatchEvent(new CustomEvent(t,{...oH,detail:{value:this.#st().value}}))};#e_=e=>{let t=this.#st(),s=this.#c.getAttribute("input-filter"),i=s?t.value.replace(RegExp(s,"g"),""):t.value,o=e.isComposing;t.value=i,(!o||this.#eT)&&this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:i,textLength:i.length,cursor:t.selectionStart,isComposing:o,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#eI=()=>{let e=this.#st(),t=this.#c.getAttribute("input-filter"),s=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=s,this.#eT||this.#c.dispatchEvent(new CustomEvent("lynxinput",{...oH,detail:{value:s,textLength:s.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};_handleEnableSelectionEvent(e){e?this.#st().addEventListener("select",this.#eR,{passive:!0}):this.#st().removeEventListener("select",this.#eR)}#eR=()=>{let e=this.#st();this.#c.dispatchEvent(new CustomEvent("selection",{...oH,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#eM=e=>{e.target===this.#st()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#c=e;const t=this.#st(),s=this.#eL();t.addEventListener("blur",this.#eA,{passive:!0}),t.addEventListener("focus",this.#eA,{passive:!0}),s.addEventListener("submit",this.#eA,{passive:!0}),s.addEventListener("input",this.#eM,{passive:!0})}}s4=oO("x-textarea",[oz,rJ,rQ,rZ,r0],o2);class r1 extends(s8=HTMLElement){static #h={c:[om,s5]}=ox(this,[],[s4],s8);#se=oA(()=>this.shadowRoot,"#textarea");get value(){return this.#se().value}set value(e){this.#se().value=e}addText(e){let{text:t}=e,s=this.#se(),i=s.selectionStart;if(null===i)s.value=t;else{let e=s.value;s.value=e.slice(0,i)+t+e.slice(i)}}setValue(e){let t,s=this.#se();s.value=e.value,(t=e.index)&&s.setSelectionRange(t,t)}getValue(){let e=this.#se();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:s}=e,i=this.#se();1===t&&(s=1);let o=i.selectionStart;if(null===o){let e=i.value;i.value=i.value.substring(0,e.length-s)}else{let e=i.value;i.value=e.slice(0,o-s)+e.slice(o)}}select(){let e=this.#se();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#se().setSelectionRange(e.selectionStart,e.selectionEnd)}static #d=s5()}s9=oO("x-view",[o9,oz]);class r2 extends(s7=HTMLElement){static #h={c:[ov,s6]}=ox(this,[],[s9],s7);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(oY.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[oP]=this;static #d=s6()}ie=oM("blur-radius",!0);class r3{static #h={e:[it]}=ox(this,[[ie,2,"_handleBlurRadius"]],[]);static observedAttributes=["blur-radius"];#c;#so=(it(this),oA(()=>this.#c.shadowRoot,"#dynamic-style"));_handleBlurRadius(e){e?(e=`blur(${parseFloat(e)}px)`,this.#so().innerHTML=`:host { backdrop-filter: ${e}; -webkit-backdrop-filter: ${e}}`):this.#so().innerHTML=""}constructor(e){this.#c=e}}is=oO("x-blur-view",[oz,r3],'<style id="dynamic-style"></style><slot></slot>');class r4 extends(io=HTMLElement){static #h={c:[og,ii]}=ox(this,[],[is],io);static #d=ii()}ir=oD("change"),il=oD("offsetchange");class r5{static #h={e:[ia]}=ox(this,[[ir,2,"_enableChangeEvent"],[il,2,"_enableOffsetChangeEvent"]],[]);static observedAttributes=[];#c;#sr=(ia(this),!1);#n=!1;#sn=0;#g;constructor(e){this.#c=e}#E=oA(()=>this.#c.shadowRoot,"#content");#sl=()=>{if(!this.#n)return;let e=this.#E(),t=this.#c.clientWidth,s=e.scrollLeft;this.#sa&&!o$&&(clearTimeout(this.#g),this.#g=setTimeout(()=>{this.#sh()},100)),this.#c.dispatchEvent(new CustomEvent("offsetchange",{...oH,detail:{offset:s/t}}))};#sh=()=>{if(this.#n){let e=this.#E(),t=this.#c.clientWidth,s=Math.floor(e.scrollLeft/t);s!==this.#sn&&(this.#c.dispatchEvent(new CustomEvent("change",{...oH,detail:{index:s,isDragged:this.#sr}})),this.#sn=s)}};#sd=()=>{this.#sr=!0};#sc=()=>{this.#sr=!1};#sa=!1;_enableChangeEvent(e){this.#sa=e,this.#su()}#sp=!1;_enableOffsetChangeEvent(e){this.#sp=e,this.#su()}#su(){let e=this.#E();this.#sp||this.#sa?e.addEventListener("scroll",this.#sl,{passive:!0}):e.removeEventListener("scroll",this.#sl),o$&&this.#sa?e.addEventListener("scrollend",this.#sh,{passive:!0}):e.removeEventListener("scrollend",this.#sh)}connectedCallback(){this.#n=!0;let e=this.#E();this.#c.addEventListener("touchstart",this.#sd,{passive:!0}),e.addEventListener("touchend",this.#sc,{passive:!0}),e.addEventListener("touchcancel",this.#sc,{passive:!0})}dispose(){let e=this.#E();e.removeEventListener("scroll",this.#sl),e.removeEventListener("scrollend",this.#sh)}}ih=oO("x-viewpager-ng",[o9,oz,r5],o3),new class extends oN{constructor(){super(ob),id()}static #h=(()=>{class e extends(ic=HTMLElement){static #h={c:[ob,id]}=ox(this,[],[ih],ic);static notToFilterFalseAttributes=new Set(["allow-horizontal-gesture","enable-scroll"]);selectTab(e){let{index:t,smooth:s}=e;void 0===s&&(s=!0);let i=this.shadowRoot.children.item(2),o=i.clientWidth*t;i.scrollTo({left:o,behavior:s?"smooth":"instant"})}connectedCallback(){let e=this.getAttribute("select-index")||this.getAttribute("initial-select-index");if(null!==e){let t=Number(e),s=this.shadowRoot.children.item(2),i=()=>{0===s.clientWidth?requestAnimationFrame(i):this.selectTab({index:t,smooth:!1})};oC(i)}}get[oU](){return this}}})()},iu=oO("x-viewpager-item-ng",[o9,oz]);class r8 extends(im=HTMLElement){static #h={c:[of,ip]}=ox(this,[],[iu],im);static #d=ip()}iv=oM("estimated-main-axis-size-px",!0);class r9{static #h={e:[ig]}=ox(this,[[iv,0,"_handlerEstimatedMainAxisSizePx"]],[]);static observedAttributes=["estimated-main-axis-size-px"];#c;_handlerEstimatedMainAxisSizePx=ig(this,oI(()=>this.#c,"--estimated-main-axis-size-px",e=>`${parseFloat(e)}px`));constructor(e){this.#c=e}}ib=oO("list-item",[oz,r9]),new class extends oN{constructor(){super(oE),iE()}static #h=(()=>{class e extends(iw=HTMLElement){static #h={c:[oE,iE]}=ox(this,[],[ib],iw);static notToFilterFalseAttributes=new Set(["recyclable"])}})()},iy=oM("sticky-offset",!0),ix=oM("span-count",!0),iS=oM("column-count",!0);class r6{static #h={e:[iT,iC]}=ox(this,[[iy,0,"_handlerStickyOffset"],[[ix,iS],0,"_handlerCount"]],[]);static observedAttributes=["sticky-offset","initial-scroll-index","span-count","column-count"];#c;_handlerStickyOffset=iT(this,oI(()=>this.#c,"--list-item-sticky-offset",e=>`${parseFloat(e)}px`));_handlerCount=iC(this,oI(()=>this.#c,"--list-item-span-count",e=>`${parseFloat(e)}`));constructor(e){this.#c=e}connectedCallback(){let e=this.#c.getAttribute("initial-scroll-index");if(null!==e){let t=parseFloat(e),s=()=>{0===this.#c.clientHeight?requestAnimationFrame(s):this.#c.scrollToPosition({position:t})};oC(s)}}}let r7=function(e,t,s){let i,o,r,n,l=0;var a=function(){l=s?.leading===!1?0:new Date().getTime(),i=null,n=e.apply(o,r),i||(o=r=null)};return function(){var h=new Date().getTime();l||s?.leading!==!1||(l=h);var d=t-(h-l);return o=this,r=arguments,d<=0||d>t?(i&&(clearTimeout(i),i=null),l=h,n=e.apply(o,r),i||(o=r=null)):i||s?.trailing===!1||(i=setTimeout(a,d)),n}};iL=oD("scrolltoupper"),i_=oM("upper-threshold-item-count",!0),iI=oD("scrolltolower"),iA=oM("lower-threshold-item-count",!0),iO=oD("lynxscroll"),iR=oD("lynxscrollend"),iM=oD("snap"),ik=oD("scrolltoupperedge"),iD=oD("scrolltoloweredge");class ne{static #h={e:[iF,iN,iH,iP,iz,iV]}=ox(this,[[i_,2,"_handleUpperThresholdItemCountChange"],[iA,2,"_handleLowerThresholdItemCountChange"],[iL,0,"_updateEventSwitches"],[iI,0,"_updateScrollToLowerEventSwitches"],[[iO,iR,iM],0,"_handleScrollEventsSwitches"],[ik,0,"_handleScrollToUpperEdgeEventEnable"],[iD,0,"_handleScrollToLowerEdgeEventEnable"]],[]);static observedAttributes=["upper-threshold-item-count","lower-threshold-item-count"];#c;#sm=(iV(this),oA(()=>this.#c.shadowRoot,"#content"));#sv;#sg;#sb;#b=0;#f=0;#sf=!1;#g;#w=oA(()=>this.#c.shadowRoot,"#upper-threshold-observer");#y=oA(()=>this.#c.shadowRoot,"#lower-threshold-observer");#S(){let e=null!==this.#c.getAttribute("need-visible-item-info"),{scrollTop:t,scrollLeft:s,scrollHeight:i,scrollWidth:o}=this.#sm(),r={scrollTop:t,scrollLeft:s,scrollHeight:i,scrollWidth:o,deltaX:s-this.#b,deltaY:t-this.#f,attachedCells:e?this.#c.getVisibleCells():void 0};return this.#b=s,this.#f=t,r}#sE=e=>{let{isIntersecting:t}=e[0];t&&this.#c.dispatchEvent(new CustomEvent("scrolltoupper",{...oH,detail:this.#S()}))};_updateEventSwitches=iF(this,e=>{if(e?this.#c.setAttribute("x-enable-scrolltoupper-event",""):this.#c.removeAttribute("x-enable-scrolltoupper-event"),this.#eX.scrolltoupper=e,e){this.#sv||(this.#sv=new IntersectionObserver(this.#sE,{root:this.#sm()})),this.#sb||(this.#sb=new MutationObserver(this.#sw));let e=this.#c.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#w():this.#c.children[t-1];s&&this.#sv.observe(s),this.#sb.observe(this.#c,{childList:!0})}else this.#sv&&(this.#sv.disconnect(),this.#sv=void 0),this.#sb&&(this.#sb.disconnect(),this.#sb=void 0)});_handleUpperThresholdItemCountChange(e,t){let s=null!==t?parseFloat(t):0,i=0===s?this.#w():this.#c.children[s-1];i&&this.#sv?.unobserve(i);let o=null!==e?parseFloat(e):0,r=0===o?this.#w():this.#c.children[o-1];r&&this.#sv?.observe(r)}#sy=e=>{let{isIntersecting:t}=e[0];t&&this.#c.dispatchEvent(new CustomEvent("scrolltolower",{...oH,detail:this.#S()}))};#eX={lynxscroll:!1,lynxscrollend:!1,snap:!1,scrolltolower:!1,scrolltoupper:!1};_updateScrollToLowerEventSwitches=iN(this,e=>{if(this.#eX.scrolltolower=e,e?this.#c.setAttribute("x-enable-scrolltolower-event",""):this.#c.removeAttribute("x-enable-scrolltolower-event"),e){this.#sg||(this.#sg=new IntersectionObserver(this.#sy,{root:this.#sm()})),this.#sb||(this.#sb=new MutationObserver(this.#sw));let e=this.#c.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#y():this.#c.children[this.#c.children.length-t];s&&this.#sg.observe(s),this.#sb.observe(this.#c,{childList:!0})}else this.#sg&&(this.#sg.disconnect(),this.#sg=void 0),this.#sb&&(this.#sb.disconnect(),this.#sb=void 0)});_handleLowerThresholdItemCountChange(e,t){let s=null!==t?parseFloat(t):0,i=0===s?this.#y():this.#c.children[this.#c.children.length-s];i&&this.#sg?.unobserve(i);let o=null!==e?parseFloat(e):0,r=0===o?this.#y():this.#c.children[this.#c.children.length-o];r&&this.#sg?.observe(r)}#sw=e=>{let t=e?.[0];if(t?.type==="childList"){if(this.#eX.scrolltolower){this.#sg&&(this.#sg.disconnect(),this.#sg=void 0),this.#sg=new IntersectionObserver(this.#sy,{root:this.#sm()});let e=this.#c.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#y():this.#c.children[this.#c.children.length-t];s&&this.#sg.observe(s)}if(null!==this.#c.getAttribute("x-enable-scrolltoupper-event")){this.#sv&&(this.#sv.disconnect(),this.#sv=void 0),this.#sv=new IntersectionObserver(this.#sE,{root:this.#sm()});let e=this.#c.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,s=0===t?this.#w():this.#c.children[t-1];s&&this.#sv.observe(s)}}};#sx=null;#L=()=>{this.#sf&&!o$&&(clearTimeout(this.#g),this.#g=setTimeout(()=>{this.#I()},100)),this.#c.dispatchEvent(new CustomEvent("lynxscroll",{...oH,detail:this.#S()}))};_handleScrollEventsSwitches=iH(this,(e,t)=>{this.#eX[t]=e;let{lynxscroll:s,lynxscrollend:i,snap:o}=this.#eX,r=this.#c.getAttribute("scroll-event-throttle");this.#sf=null!==i||null!==o;let n=this.#sm();if(this.#sx&&n.removeEventListener("scroll",this.#sx),null!==s||this.#sf){let e=null!==r?parseFloat(r):0,t=r7(this.#L,e,{leading:!0,trailing:!1});this.#sx=t,n.addEventListener("scroll",this.#sx),this.#b=0,this.#f=0}o$&&this.#sf?n.addEventListener("scrollend",this.#I):n.removeEventListener("scrollend",this.#I)});#x=e=>{let{isIntersecting:t,target:s}=e[0],i=s.id;t&&("upper-threshold-observer"===i?this.#c.dispatchEvent(new CustomEvent("scrolltoupperedge",{...oH,detail:this.#S()})):"lower-threshold-observer"===i&&this.#c.dispatchEvent(new CustomEvent("scrolltoloweredge",{...oH,detail:this.#S()})))};_handleScrollToUpperEdgeEventEnable=iP(this,e=>{e?this.#c.setAttribute("x-enable-scrolltoupperedge-event",""):this.#c.removeAttribute("x-enable-scrolltoupperedge-event"),this.#sS(e)});#sS=oX(this.#sm,this.#w,this.#x);_handleScrollToLowerEdgeEventEnable=iz(this,e=>{e?this.#c.setAttribute("x-enable-scrolltoloweredge-event",""):this.#c.removeAttribute("x-enable-scrolltoloweredge-event"),this.#sT(e)});#sT=oX(this.#sm,this.#y,this.#x);#I=()=>{let e=this.#c.getAttribute("item-snap");if(this.#c.dispatchEvent(new CustomEvent("lynxscrollend",{...oH})),null!==e){let e=Array.from(this.#c.children).filter(e=>"LIST-ITEM"===e.tagName),t=this.#sm().scrollTop,s=this.#sm().scrollLeft,i=e.find(e=>t>=e.offsetTop&&t<e.offsetTop+e.offsetHeight);this.#c.dispatchEvent(new CustomEvent("snap",{...oH,detail:{position:i&&e.indexOf(i),scrollTop:t,scrollLeft:s}}))}};constructor(e){this.#c=e}}let nt="waterfall-slot",ns="waterfall-style";iW=oD("scrolltolower"),iX=oM("list-type",!0);class ni{static #h={e:[i$]}=ox(this,[[iW,2,"_handleXEnableHeaderOffsetEvent"],[iX,2,"_handlerListType"]],[]);static observedAttributes=["list-type"];#c;#sm=(i$(this),oA(()=>this.#c.shadowRoot,"#content"));#sC=oA(()=>this.#c.shadowRoot,'div[part="lower-threshold-observer"]');#p;#sb;_handleXEnableHeaderOffsetEvent(e){if(e?this.#c.setAttribute("x-enable-scrolltolower-event",""):this.#c.removeAttribute("x-enable-scrolltolower-event"),e){let e=this.#sC(),t=this.#c.getAttribute("scroll-orientation")||"vertical",s=this.#sm();setTimeout(()=>{"vertical"===t?(e.style.setProperty("top",`${String(s.scrollHeight-1)}px`,"important"),e.style.setProperty("bottom","unset","important")):(e.style.setProperty("left",`${String(s.scrollWidth-1)}px`,"important"),e.style.setProperty("right","unset","important"))},100)}}#sL=()=>{let e=document.createElement("slot");e.setAttribute("name",`${nt}`),this.#c.shadowRoot?.querySelector("[part=upper-threshold-observer]")?.insertAdjacentElement("afterend",e)};#s_=()=>{let e=parseFloat(this.#c.getAttribute("span-count")||this.#c.getAttribute("column-count")||"")||1,t="vertical"===(this.#c.getAttribute("scroll-orientation")||"vertical"),s=Array(e).fill(0);for(let i=0;i<this.#c.children.length;i++){let o=this.#c.children[i],r=getComputedStyle(o).getPropertyValue("--list-main-axis-gap"),n=getComputedStyle(o).getPropertyValue("--list-cross-axis-gap"),l=t?o.getBoundingClientRect().height+parseFloat(r):o.getBoundingClientRect().width+parseFloat(r);if(null!==o.getAttribute("full-span")){let i=s[0];for(let t=1;t<e;t++)s[t]>i&&(i=s[t]);for(let t=0;t<e;t++)s[t]=i+l;t?(o.setAttribute(`${ns}-left`,"0"),o.setAttribute(`${ns}-top`,`${i}px`)):(o.setAttribute(`${ns}-left`,`${i}px`),o.setAttribute(`${ns}-top`,"0"))}else{let i=0,r=s[0];for(let t=1;t<e;t++)s[t]<r&&(i=t,r=s[t]);let a=`calc(${i} * (100% - ${n} * (${e} - 1))/ ${e} + ${Math.max(0,i)} * ${n})`;t?(o.setAttribute(`${ns}-left`,a),o.setAttribute(`${ns}-top`,`${r}px`)):(o.setAttribute(`${ns}-left`,`${r}px`),o.setAttribute(`${ns}-top`,a)),s[i]+=l}}for(let e=0;e<this.#c.children.length;e++){let t=this.#c.children[e];t.style.setProperty("left",t.getAttribute(`${ns}-left`)),t.style.setProperty("top",t.getAttribute(`${ns}-top`)),t.setAttribute("slot",nt)}};constructor(e){this.#c=e}#sI=()=>{this.#p?.disconnect(),this.#p=new ResizeObserver(()=>{requestAnimationFrame(()=>{this.#s_()})}),Array.from(this.#c.children).forEach(e=>{this.#p?.observe(e)})};_handlerListType(e){if("waterfall"===e)this.#sL(),this.#p||this.#sI(),this.#sb||(this.#sb=new MutationObserver(e=>{let t=e?.[0];t?.type==="childList"&&this.#sI()}),this.#sb.observe(this.#c,{childList:!0}));else{this.#p?.disconnect(),this.#p=void 0,this.#sb?.disconnect(),this.#sb=void 0;for(let e=0;e<this.#c.children.length;e++)this.#c.children[e].removeAttribute("slot");this.#c.shadowRoot?.querySelector(`slot[name=${nt}]`)?.remove()}}}iB=oO("x-list",[oz,r6,ne,ni],oQ),new class extends oN{constructor(){super(ow),iU()}static #h=(()=>{class e extends(iq=HTMLElement){static #h={c:[ow,iU]}=ox(this,[],[iB],iq);static notToFilterFalseAttributes=new Set(["enable-scroll"]);#sm=oA(()=>this.shadowRoot,"#content");#sA={rate:0,lastTimestamp:0,autoStop:!0,isScrolling:!1};#sO={};get scrollTop(){return this.#sm().scrollTop}set scrollTop(e){this.#sm().scrollTop=e}get scrollLeft(){return this.#sm().scrollTop}set scrollLeft(e){this.#sm().scrollLeft=e}get scrollHeight(){return this.#sm().scrollHeight}get scrollWidth(){return this.#sm().scrollWidth}get __scrollTop(){return super.scrollTop}get __scrollLeft(){return super.scrollTop}scrollToPosition(e){let t;if("string"==typeof e.offset){let s=parseFloat(e.offset);t={left:s,top:s}}else"number"==typeof e.offset&&(t={left:e.offset,top:e.offset});if("number"==typeof e.position){if(0===e.position)this.#sm().scrollTop=0,this.#sm().scrollLeft=0;else if(e.position>0&&e.position<this.childElementCount){let s=this.children.item(e.position);s instanceof HTMLElement&&(t=t?{left:s.offsetLeft+t.left,top:s.offsetTop+t.top}:{left:s.offsetLeft,top:s.offsetTop})}}t&&this.#sm().scrollTo({...t,behavior:e.smooth?"smooth":"auto"})}#sR=e=>{if(!this.#sA.isScrolling)return;if(!this.#sA.lastTimestamp){this.#sA.lastTimestamp=e,requestAnimationFrame(this.#sR);return}let t=this.#sm(),s=(e-this.#sA.lastTimestamp)/1e3*this.#sA.rate;t.scrollBy({left:s,top:s,behavior:"auto"}),this.#sA.lastTimestamp=e;let i="vertical"===(this.getAttribute("scroll-orientation")||"vertical");(i?t.scrollTop+t.clientHeight>=t.scrollHeight:t.scrollLeft+t.clientWidth>=t.scrollWidth)&&this.#sA.autoStop?(i?t.scrollTop=t.scrollHeight-t.clientHeight:t.scrollLeft=t.scrollWidth-t.clientWidth,this.#sA.isScrolling=!1):requestAnimationFrame(this.#sR)};autoScroll(e){if(e.start){let t="number"==typeof e.rate?e.rate:parseFloat(e.rate);this.#sA={rate:t,lastTimestamp:0,isScrolling:!0,autoStop:!1!==e.autoStop};let s=this.#sm(),i="vertical"===(this.getAttribute("scroll-orientation")||"vertical")?s.clientHeight<=s.scrollHeight:s.clientWidth<=s.scrollWidth;this.#sA.lastTimestamp=0,i?setTimeout(()=>requestAnimationFrame(this.#sR),0):requestAnimationFrame(this.#sR)}else this.#sA.isScrolling=!1}getScrollContainerInfo(){return{scrollTop:this.scrollTop,scrollLeft:this.scrollLeft,scrollHeight:this.scrollHeight,scrollWidth:this.scrollWidth}}getVisibleCells=()=>{let e=Object.values(this.#sO),t=Array.from(this.children).filter(e=>"LIST-ITEM"===e.tagName);return e.map(e=>{let s=e.getBoundingClientRect();return{id:e.getAttribute("id"),itemKey:e.getAttribute("item-key"),bottom:s.bottom,top:s.top,left:s.left,right:s.right,index:t.indexOf(e)}})};#sM=()=>Object.values(this.#sO).map(e=>{let t=e.getBoundingClientRect();return{height:t.height,width:t.width,itemKey:e.getAttribute("item-key"),originX:t.x,originY:t.y}});#sk=e=>{if(!e.target||!(e.target instanceof HTMLElement))return;let t=e.skipped,s=e.target?.getAttribute("id")==="content"&&e.target?.getAttribute("part")==="content",i="LIST-ITEM"===e.target.tagName;if(s&&!t){let e=this.#sM();setTimeout(()=>{this.dispatchEvent(new CustomEvent("layoutcomplete",{...oH,detail:{visibleItemBeforeUpdate:e,visibleItemAfterUpdate:this.#sM()}}))},100);return}if(i){let s=e.target?.getAttribute("item-key");if(!s)return;t?this.#sO[s]&&delete this.#sO[s]:this.#sO[s]=e.target;return}};connectedCallback(){this.#sm().addEventListener("contentvisibilityautostatechange",this.#sk,{passive:!0})}}})()},iY=oM("src",!0),ij=oM("html",!0);class no{static #h={e:[iK,iG]}=ox(this,[[iY,0,"_handleSrc"],[ij,0,"_handleHtml"]],[]);static observedAttributes=["src","html"];#c;#sD=oA(()=>this.#c.shadowRoot,"#webview");constructor(e){this.#c=e}_handleSrc=iK(this,o_(this.#sD,"src"));_handleHtml=iG(this,o_(this.#sD,"srcdoc"))}iJ=oO("x-webview",[oz,no],o4);class nr extends(iZ=HTMLElement){static #h={c:[oy,iQ]}=ox(this,[],[iJ],iZ);#sD=oA(()=>this.shadowRoot,"#webview");#sF=()=>{this.dispatchEvent(new CustomEvent("load",{bubbles:!0,composed:!0,detail:{url:this.#sD().src}})),this.dispatchEvent(new CustomEvent("bindload",{bubbles:!0,composed:!0,detail:{url:this.#sD().src}}))};#sN=e=>{this.dispatchEvent(new CustomEvent("error",{bubbles:!0,composed:!0,detail:{errorMsg:e.message||"unknown error"}})),this.dispatchEvent(new CustomEvent("binderror",{bubbles:!0,composed:!0,detail:{errorMsg:e.message||"unknown error"}}))};#sH=e=>{e.source===this.#sD().contentWindow&&(this.dispatchEvent(new CustomEvent("message",{bubbles:!0,composed:!0,detail:{msg:e.data,data:e.data}})),this.dispatchEvent(new CustomEvent("bindmessage",{bubbles:!0,composed:!0,detail:{msg:e.data}})))};connectedCallback(){this.#sD().addEventListener("load",this.#sF),this.#sD().addEventListener("error",this.#sN),window.addEventListener("message",this.#sH)}disconnectedCallback(){this.#sD().removeEventListener("load",this.#sF),this.#sD().removeEventListener("error",this.#sN),window.removeEventListener("message",this.#sH)}get src(){return this.getAttribute("src")}set src(e){null===e?this.removeAttribute("src"):this.setAttribute("src",e)}get html(){return this.getAttribute("html")}set html(e){null===e?this.removeAttribute("html"):this.setAttribute("html",e)}reload(){this.#sD().src=this.#sD().src}static #d=iQ()}}}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-wasm",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "This is an internal experimental package, do not use",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,16 +51,16 @@
51
51
  ]
52
52
  },
53
53
  "dependencies": {
54
- "@lynx-js/web-elements": "0.11.1",
55
- "@lynx-js/web-worker-rpc": "0.19.7"
54
+ "@lynx-js/web-elements": "0.11.2",
55
+ "@lynx-js/web-worker-rpc": "0.19.8"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@lynx-js/lynx-core": "0.1.3",
59
- "@rsbuild/core": "1.7.2",
60
- "@rsbuild/plugin-eslint": "^1.2.0",
61
- "@rsbuild/plugin-source-build": "1.0.3",
59
+ "@rsbuild/core": "1.7.3",
60
+ "@rsbuild/plugin-eslint": "1.2.1",
61
+ "@rsbuild/plugin-source-build": "1.0.4",
62
62
  "binaryen": "^125.0.0",
63
- "eslint-plugin-compat": "^6.0.2",
63
+ "eslint-plugin-compat": "^6.2.0",
64
64
  "fb-dotslash": "^0.5.8",
65
65
  "jsdom": "^27.4.0",
66
66
  "tslib": "^2.8.1",