@lynx-js/web-rsbuild-server-middleware-canary 0.18.1 → 0.18.2

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,7 @@
1
1
  # @lynx-js/web-rsbuild-server-middleware
2
2
 
3
+ ## 0.18.2
4
+
3
5
  ## 0.18.1
4
6
 
5
7
  ## 0.18.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-rsbuild-server-middleware-canary",
3
- "version": "0.18.1",
3
+ "version": "0.18.2",
4
4
  "private": false,
5
5
  "description": "a dev server middleware for rsbuild to serve Lynx Web Platform shell project",
6
6
  "keywords": [],
@@ -26,7 +26,7 @@
26
26
  "@rsbuild/core": "1.5.17",
27
27
  "rsbuild-plugin-arethetypeswrong": "0.1.1",
28
28
  "rsbuild-plugin-publint": "0.3.3",
29
- "@lynx-js/web-core": "npm:@lynx-js/web-core-canary@0.18.1",
29
+ "@lynx-js/web-core": "npm:@lynx-js/web-core-canary@0.18.2",
30
30
  "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.9"
31
31
  },
32
32
  "scripts": {
@@ -1 +1 @@
1
- lynx-view{contain:strict;display:flex}lynx-view[width=auto]{--lynx-view-width:100%;width:var(--lynx-view-width);inline-size:var(--lynx-view-width)}lynx-view[height=auto],lynx-view[width=auto]{contain:content}lynx-view::part(page){width:100%;height:100%}@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 --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-foldivew-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-foldivew-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-grow:var(--flex-grow);flex-shrink:var(--flex-shrink);flex-basis: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)}}}lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}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{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{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]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::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:-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]:has(inline-truncation)::part(inner-box),x-text[text-maxline][tail-color-convert=false]::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}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[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}x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldivew-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}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}x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}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}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}x-input{font-size:14px;display:contents}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)}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}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}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-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)}}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)}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}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;display:none;position:static;flex:none!important}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){right:-999px}body{margin:0;padding:0}lynx-view{width:100vw;height:100vh}
1
+ lynx-view{contain:strict;display:flex}lynx-view[width=auto]{--lynx-view-width:100%;width:var(--lynx-view-width);inline-size:var(--lynx-view-width)}lynx-view[height=auto],lynx-view[width=auto]{contain:content}lynx-view::part(page){width:100%;height:100%}@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 --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-foldivew-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-foldivew-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-grow:var(--flex-grow);flex-shrink:var(--flex-shrink);flex-basis: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)}}}lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}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{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{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]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::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]:has(inline-truncation)::part(inner-box),x-text[text-maxline][tail-color-convert=false]::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}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[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}x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldivew-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}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}x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}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}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}x-input{font-size:14px;display:contents}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)}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}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}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-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)}}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)}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}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;display:none;position:static;flex:none!important}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){right:-999px}body{margin:0;padding:0}lynx-view{width:100vw;height:100vh}
@@ -1,3 +1,3 @@
1
- (()=>{"use strict";var __webpack_modules__={29:function(e,t,r){var i,n,s,a;r.d(t,{Ke:()=>S,g:()=>q,mB:()=>ee,SP:()=>"l-uid",er:()=>h,Gq:()=>u,pT:()=>G,im:()=>b,js:()=>o,HO:()=>en,gj:()=>P,jK:()=>W,tl:()=>d,Pb:()=>c,O4:()=>n,c1:()=>f,F6:()=>H,PC:()=>U,gI:()=>ea,C6:()=>"l-dset",pP:()=>l,Gm:()=>_,pd:()=>E,hO:()=>I,eZ:()=>T,JW:()=>A,E_:()=>O,M$:()=>ec,gx:()=>Q,tf:()=>eh,iH:()=>N,Fw:()=>B,JA:()=>p,qz:()=>eu,Sy:()=>z,oZ:()=>"l-part",Hf:()=>C,o2:()=>k,$4:()=>g,hh:()=>R,ZU:()=>F,vr:()=>J,Ve:()=>w,Is:()=>V,zk:()=>D,I7:()=>y,vQ:()=>v,yn:()=>Y,k3:()=>X,vn:()=>K,WS:()=>er,BE:()=>Z,y:()=>m,a$:()=>L,PM:()=>$,VK:()=>j,nk:()=>et,hv:()=>es,xY:()=>eo,Zu:()=>M,o3:()=>ei});let o="l-css-id",l="l-comp-id",h="l-p-comp-uid",c="l-e-name",u="lynx-tag",d="l-comp-cfg",p="l-disposed",m="l-template",_="lynx-default-display-linear",y="__lynx_timing_flag",f={platform:"web",lynxSdkVersion:"3.0"},g={click:"tap",lynxscroll:"scroll",lynxscrollend:"scrollend",overlaytouch:"touch",lynxfocus:"focus",lynxblur:"blur",lynxinput:"input"},v={"X-INPUT":{blur:"lynxblur",focus:"lynxfocus",input:"lynxinput"},"X-TEXTAREA":{blur:"lynxblur",focus:"lynxfocus",input:"lynxinput"}},b={tap:"click",scroll:"lynxscroll",scrollend:"lynxscrollend",touch:"overlaytouch"};function x(e,t,r=!0,i=!1,n){return{name:e,isSync:t,hasReturn:r,hasReturnTransfer:i,bufferSize:n}}let E=x("__postExposure",!1,!1),S=x("publicComponentEvent",!1,!1),A=x("publishEvent",!1,!1),M=x("postOffscreenEventEndpoint",!1,!1),T=x("switchExposureServiceEndpoint",!1,!1),C=x("mainThreadStart",!1,!1),w=x("updateData",!1,!0),I=x("sendGlobalEventEndpoint",!1,!1),R=x("dispose",!1,!0),L=x("start",!1,!0),k=x("reportError",!1,!1),O=x("flushElementTree",!1,!0),N=x("callLepusMethod",!1,!0),P=x("multiThreadExposureChangedEndpoint",!1,!1),D=x("__invokeUIMethod",!1,!0),U=x("__setNativeProps",!1,!0),F=x("__getPathInfo",!1,!0),q=x("nativeModulesCall",!1,!0),j=x("napiModulesCall",!1,!0,!0),B=x("getCustomSections",!1,!0),$=x("markTiming",!1,!1),H=x("postTimingFlags",!1,!1),G=x("__triggerComponentEvent",!1,!1),J=x("__selectComponent",!1,!0),Q=x("dispatchLynxViewEvent",!1,!1),z=x("dispatchNapiModule",!1,!1),W=x("dispatchCoreContextOnBackground",!1,!1),V=x("dispatchJSContextOnMainThread",!1,!1),K=x("__triggerElementMethod",!1,!1),Y=x("updateGlobalProps",!1,!1),X=x("updateI18nResources",!1,!1),Z=x("updateI18nResource",!1,!1),ee=x("dispatchI18nResource",!1,!1),et=x("queryComponent",!1,!0),er=x("updateBTSTemplateCacheEndpoint",!1,!0),ei=x("loadTemplateMultiThread",!1,!0);!function(e){e[e.ID_SELECTOR=0]="ID_SELECTOR",e[e.REF_ID=1]="REF_ID",e[e.UNIQUE_ID=2]="UNIQUE_ID"}(i||(i={})),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.UNKNOWN=1]="UNKNOWN",e[e.NODE_NOT_FOUND=2]="NODE_NOT_FOUND",e[e.METHOD_NOT_FOUND=3]="METHOD_NOT_FOUND",e[e.PARAM_INVALID=4]="PARAM_INVALID",e[e.SELECTOR_NOT_SUPPORTED=5]="SELECTOR_NOT_SUPPORTED",e[e.NO_UI_FOR_NODE=6]="NO_UI_FOR_NODE"}(n||(n={})),function(e){e[e.UPDATE=0]="UPDATE",e[e.RESET=1]="RESET"}(s||(s={})),function(e){e[e.START=0]="START",e[e.PLAY=1]="PLAY",e[e.PAUSE=2]="PAUSE",e[e.CANCEL=3]="CANCEL",e[e.FINISH=4]="FINISH"}(a||(a={}));let en=e=>`${e.locale}_${e.channel}_${e.fallback_url}`,es="i18nResourceMissed";class ea{data;constructor(e){this.data=e}setData(e){this.data=e}}class eo{data;constructor(e){this.data=e}setData(e){this.data=e}}let el=3;class eh extends EventTarget{_config;constructor(e){super(),this._config=e}postMessage(...e){console.error("[lynx-web] postMessage not implemented, args:",...e)}dispatchEvent(e){let{rpc:t,sendEventEndpoint:r}=this._config;return t.invoke(r,[e]),el}__start(){let{rpc:e,receiveEventEndpoint:t}=this._config;e.registerHandler(t,({type:e,data:t})=>{super.dispatchEvent(new MessageEvent(e,{data:t??{}}))})}}let ec=({timingKey:e,pipelineId:t,timeStamp:r,markTiming:i,cacheMarkTimings:n})=>{n.records.push({timingKey:e,pipelineId:t,timeStamp:r??performance.now()+performance.timeOrigin}),n.timeout||(n.timeout=setTimeout(()=>{i(n.records),n.records=[],n.timeout=null},500))},eu=(e,t)=>{e(t.records),t.records=[],t.timeout&&(clearTimeout(t.timeout),t.timeout=null)}},352:function(e,t,r){r.d(t,{C:()=>i});class i{port;name;incId=0;#e={};#t=new TextEncoder;#r=new TextDecoder;#i=new Map;constructor(e,t){this.port=e,this.name=t,e.onmessage=e=>this.#n(e.data)}get nextRetId(){return`ret_${this.name}_${this.incId++}`}static createRetEndpoint(e){return{name:e,hasReturn:!1,isSync:!1}}#n=async e=>{let t=this.#i.get(e.name);if(t){let r=e.sync?new Int32Array(e.lock):void 0,n=!e.sync&&e.retId?i.createRetEndpoint(e.retId):void 0;try{let i=await t(...e.data),s,a=[];if(e.sync?s=i:e.hasTransfer?{data:s,transfer:a}=i||{}:s=i,e.sync){if(e.buf){let t=JSON.stringify(s),r=new Uint32Array(e.buf,0,1),i=new Uint8Array(e.buf,4),n=new Uint8Array(e.buf.byteLength-4),{written:a}=this.#t.encodeInto(t,n);r[0]=a,i.set(n,0)}Atomics.store(r,0,1),Atomics.notify(r,0)}else e.retId&&this.invoke(n,[s,!1],a||[])}catch(t){console.error(t),e.sync?(Atomics.store(r,0,2),Atomics.notify(r,0),r[1]=2):this.invoke(n,[void 0,!0])}}else{let t=this.#e[e.name];t?t.push(e):this.#e[e.name]=[e]}};createCall(e){return(...t)=>this.invoke(e,t)}registerHandler(e,t){this.#i.set(e.name,t);let r=this.#e[e.name];if(r?.length)for(let t of(this.#e[e.name]=void 0,r))this.#n(t)}registerHandlerRef(e,t,r){this.registerHandler(e,(...e)=>t[r]?.call(t,...e))}registerHandlerLazy(e,t,r){if(t[r])this.registerHandlerRef(e,t,r);else{let i,n=this;Object.defineProperty(t,r,{get:()=>i,set(s){i=s,s&&n.registerHandlerRef(e,t,r)}})}}removeHandler(e){this.#i.delete(e.name)}invoke(e,t,r=[]){if(e.isSync){let i=e.bufferSize?new SharedArrayBuffer(e.bufferSize+4):void 0,n=new SharedArrayBuffer(4),s=new Int32Array(n);s[0]=0;let a={name:e.name,data:t,sync:!0,lock:n,buf:i};if(this.port.postMessage(a,{transfer:r}),Atomics.wait(s,0,0),2===s[0])throw null;if(!i)return;{let e=new Uint32Array(i,0,4)[0],t=new Uint8Array(i,4,e),r=new Uint8Array(e);return r.set(t,0),r?JSON.parse(this.#r.decode(r)):void 0}}if(e.hasReturn){let{promise:n,resolve:s,reject:a}=Promise.withResolvers(),o=i.createRetEndpoint(this.nextRetId);this.registerHandler(o,(e,t)=>{t&&a(),s(e)});let l={name:e.name,data:t,sync:!1,retId:o?.name,hasTransfer:e.hasReturnTransfer};return this.port.postMessage(l,{transfer:r}),n}{let i={name:e.name,data:t,sync:!1};this.port.postMessage(i,{transfer:r})}}createCallbackify(e,t){let r=this.createCall(e);return(...e)=>{let i=e.at(t);e.splice(t,1),r(...e).then(i)}}}},302:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{callDestroyLifetimeFun:()=>Fe,destroyCard:()=>ke,loadCard:()=>we,loadDynamicComponent:()=>Be,nativeGlobal:()=>l});var _="__Card__",E="app-service.js",ge="LynxGetSourceMapReleaseError",oe={filename:"lynx_core",slot:"df0498fd4b09f634e6135a72ccd7ea940966efe8",release:"unknown_version"},Ne=function(){return this||(0,eval)("this")}(),d=Ne;function w(e){return nativeConsole}var Oe=function(){return this||(0,eval)("this")}(),Ve=w(`groupId:${Oe.groupId||"-1"}`),ie=nativeConsole;function ye(e){let t=typeof e;return"object"!==t?t:Array.isArray(e)?"array":null==e?"null":e instanceof Date?"date":e instanceof RegExp?"regExp":"object"}function R(e){return"string"==typeof e}function k(e){return"object"===ye(e)}function se(e){return"function"===ye(e)}function F(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ce(e,Error)}}function Ce(e,t){try{return e instanceof t}catch{return!1}}var m=ie,B=class{constructor(){this.observersFunc=[]}registerObserver(e){if(this.observersFunc.includes(e))return m.log("Subject: Observer has been attached already.");this.observersFunc.push(e)}removeObserver(e){let t=this.observersFunc.indexOf(e);if(-1===t)return m.log("Subject: Nonexistent observer.");this.observersFunc.splice(t,1)}notifyDataChange(e){this.observersFunc.forEach(t=>{if("function"==typeof t)try{t(e)}catch(e){m.log("SharedData change and notifyDataChange error info:"+e)}})}};d.multiApps={},d.currentAppId="",d.globComponentRegistPath="",d.sharedData={},d.globDynamicComponentEntry=_,d.shareDataSubject=new B,d.TaroLynx={},d.bundleSupportLoadScript=!0;var{loadScript:at}=d,l=d,q=class extends Error{constructor(e,t){super(e),t&&(this.stack=t)}},j=class extends q{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},ae=class extends q{constructor(){super(...arguments),this.kind="USER_ERROR"}},g=class extends ae{constructor(){super(...arguments),this.name="USER_RUNTIME_ERROR"}},y=class extends j{constructor(){super(...arguments),this.name="INTERNAL_RUNTIME_ERROR"}},G=class extends j{constructor(){super(...arguments),this.name="INVOKE_ERROR"}},Ie=/\d+/,v=class r{constructor(e){this.major=0,this.minor=0,this.revision=0,this.build=0,e=String(e),[this.major=0,this.minor=0,this.revision=0,this.build=0]=e.split(".").map(e=>{let t=Ie.exec(e);return t&&t.length>0?+t[0]:0})}gt(e){return"string"==typeof e&&(e=new r(e)),this.major>e.major||!(this.major<e.major)&&(this.minor>e.minor||!(this.minor<e.minor)&&(this.revision>e.revision||!(this.revision<e.revision)&&(this.build>e.build||(this.build<e.build,!1))))}eq(e){return"string"==typeof e&&(e=new r(e)),this.major===e.major&&this.minor===e.minor&&this.revision===e.revision&&this.build===e.build}lt(e){return!this.eq(e)&&!this.gt(e)}gte(e){return this.eq(e)||this.gt(e)}lte(e){return this.eq(e)||this.lt(e)}},_t=new v("2.4"),mt=new v("2.7"),ht=new v("2.9"),ft=new v("2.12"),Et=new v("2.14");function h(e,t,r){let{originError:i,errorCode:n,errorLevel:s,runType:a=oe}=r??{};m.error("The following error occurred in the JSRuntime:"),m.error(`${e?.message}
1
+ (()=>{"use strict";var __webpack_modules__={29:function(e,t,r){var i,n,s,a;r.d(t,{Ke:()=>S,g:()=>q,mB:()=>ee,SP:()=>"l-uid",er:()=>h,Gq:()=>u,pT:()=>G,im:()=>b,js:()=>o,HO:()=>en,gj:()=>P,jK:()=>W,tl:()=>d,Pb:()=>c,O4:()=>n,c1:()=>f,F6:()=>H,PC:()=>U,gI:()=>ea,C6:()=>"l-dset",pP:()=>l,Gm:()=>_,pd:()=>E,hO:()=>I,eZ:()=>T,JW:()=>A,E_:()=>O,M$:()=>ec,gx:()=>Q,tf:()=>eh,iH:()=>N,Fw:()=>B,JA:()=>p,qz:()=>eu,Sy:()=>z,oZ:()=>"l-part",Hf:()=>C,o2:()=>L,$4:()=>g,hh:()=>R,ZU:()=>F,vr:()=>J,Ve:()=>w,Is:()=>V,zk:()=>D,I7:()=>y,vQ:()=>v,yn:()=>Y,k3:()=>X,vn:()=>K,WS:()=>er,BE:()=>Z,y:()=>m,a$:()=>k,PM:()=>$,VK:()=>j,nk:()=>et,hv:()=>es,xY:()=>eo,Zu:()=>M,o3:()=>ei});let o="l-css-id",l="l-comp-id",h="l-p-comp-uid",c="l-e-name",u="lynx-tag",d="l-comp-cfg",p="l-disposed",m="l-template",_="lynx-default-display-linear",y="__lynx_timing_flag",f={platform:"web",lynxSdkVersion:"3.0"},g={click:"tap",lynxscroll:"scroll",lynxscrollend:"scrollend",overlaytouch:"touch",lynxfocus:"focus",lynxblur:"blur",lynxinput:"input"},v={"X-INPUT":{blur:"lynxblur",focus:"lynxfocus",input:"lynxinput"},"X-TEXTAREA":{blur:"lynxblur",focus:"lynxfocus",input:"lynxinput"}},b={tap:"click",scroll:"lynxscroll",scrollend:"lynxscrollend",touch:"overlaytouch"};function x(e,t,r=!0,i=!1,n){return{name:e,isSync:t,hasReturn:r,hasReturnTransfer:i,bufferSize:n}}let E=x("__postExposure",!1,!1),S=x("publicComponentEvent",!1,!1),A=x("publishEvent",!1,!1),M=x("postOffscreenEventEndpoint",!1,!1),T=x("switchExposureServiceEndpoint",!1,!1),C=x("mainThreadStart",!1,!1),w=x("updateData",!1,!0),I=x("sendGlobalEventEndpoint",!1,!1),R=x("dispose",!1,!0),k=x("start",!1,!0),L=x("reportError",!1,!1),O=x("flushElementTree",!1,!0),N=x("callLepusMethod",!1,!0),P=x("multiThreadExposureChangedEndpoint",!1,!1),D=x("__invokeUIMethod",!1,!0),U=x("__setNativeProps",!1,!0),F=x("__getPathInfo",!1,!0),q=x("nativeModulesCall",!1,!0),j=x("napiModulesCall",!1,!0,!0),B=x("getCustomSections",!1,!0),$=x("markTiming",!1,!1),H=x("postTimingFlags",!1,!1),G=x("__triggerComponentEvent",!1,!1),J=x("__selectComponent",!1,!0),Q=x("dispatchLynxViewEvent",!1,!1),z=x("dispatchNapiModule",!1,!1),W=x("dispatchCoreContextOnBackground",!1,!1),V=x("dispatchJSContextOnMainThread",!1,!1),K=x("__triggerElementMethod",!1,!1),Y=x("updateGlobalProps",!1,!1),X=x("updateI18nResources",!1,!1),Z=x("updateI18nResource",!1,!1),ee=x("dispatchI18nResource",!1,!1),et=x("queryComponent",!1,!0),er=x("updateBTSTemplateCacheEndpoint",!1,!0),ei=x("loadTemplateMultiThread",!1,!0);!function(e){e[e.ID_SELECTOR=0]="ID_SELECTOR",e[e.REF_ID=1]="REF_ID",e[e.UNIQUE_ID=2]="UNIQUE_ID"}(i||(i={})),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.UNKNOWN=1]="UNKNOWN",e[e.NODE_NOT_FOUND=2]="NODE_NOT_FOUND",e[e.METHOD_NOT_FOUND=3]="METHOD_NOT_FOUND",e[e.PARAM_INVALID=4]="PARAM_INVALID",e[e.SELECTOR_NOT_SUPPORTED=5]="SELECTOR_NOT_SUPPORTED",e[e.NO_UI_FOR_NODE=6]="NO_UI_FOR_NODE"}(n||(n={})),function(e){e[e.UPDATE=0]="UPDATE",e[e.RESET=1]="RESET"}(s||(s={})),function(e){e[e.START=0]="START",e[e.PLAY=1]="PLAY",e[e.PAUSE=2]="PAUSE",e[e.CANCEL=3]="CANCEL",e[e.FINISH=4]="FINISH"}(a||(a={}));let en=e=>`${e.locale}_${e.channel}_${e.fallback_url}`,es="i18nResourceMissed";class ea{data;constructor(e){this.data=e}setData(e){this.data=e}}class eo{data;constructor(e){this.data=e}setData(e){this.data=e}}let el=3;class eh extends EventTarget{_config;constructor(e){super(),this._config=e}postMessage(...e){console.error("[lynx-web] postMessage not implemented, args:",...e)}dispatchEvent(e){let{rpc:t,sendEventEndpoint:r}=this._config;return t.invoke(r,[e]),el}__start(){let{rpc:e,receiveEventEndpoint:t}=this._config;e.registerHandler(t,({type:e,data:t})=>{super.dispatchEvent(new MessageEvent(e,{data:t??{}}))})}}let ec=({timingKey:e,pipelineId:t,timeStamp:r,markTiming:i,cacheMarkTimings:n})=>{n.records.push({timingKey:e,pipelineId:t,timeStamp:r??performance.now()+performance.timeOrigin}),n.timeout||(n.timeout=setTimeout(()=>{i(n.records),n.records=[],n.timeout=null},500))},eu=(e,t)=>{e(t.records),t.records=[],t.timeout&&(clearTimeout(t.timeout),t.timeout=null)}},352:function(e,t,r){r.d(t,{C:()=>i});class i{port;name;incId=0;#e={};#t=new TextEncoder;#r=new TextDecoder;#i=new Map;constructor(e,t){this.port=e,this.name=t,e.onmessage=e=>this.#n(e.data)}get nextRetId(){return`ret_${this.name}_${this.incId++}`}static createRetEndpoint(e){return{name:e,hasReturn:!1,isSync:!1}}#n=async e=>{let t=this.#i.get(e.name);if(t){let r=e.sync?new Int32Array(e.lock):void 0,n=!e.sync&&e.retId?i.createRetEndpoint(e.retId):void 0;try{let i=await t(...e.data),s,a=[];if(e.sync?s=i:e.hasTransfer?{data:s,transfer:a}=i||{}:s=i,e.sync){if(e.buf){let t=JSON.stringify(s),r=new Uint32Array(e.buf,0,1),i=new Uint8Array(e.buf,4),n=new Uint8Array(e.buf.byteLength-4),{written:a}=this.#t.encodeInto(t,n);r[0]=a,i.set(n,0)}Atomics.store(r,0,1),Atomics.notify(r,0)}else e.retId&&this.invoke(n,[s,!1],a||[])}catch(t){console.error(t),e.sync?(Atomics.store(r,0,2),Atomics.notify(r,0),r[1]=2):this.invoke(n,[void 0,!0])}}else{let t=this.#e[e.name];t?t.push(e):this.#e[e.name]=[e]}};createCall(e){return(...t)=>this.invoke(e,t)}registerHandler(e,t){this.#i.set(e.name,t);let r=this.#e[e.name];if(r?.length)for(let t of(this.#e[e.name]=void 0,r))this.#n(t)}registerHandlerRef(e,t,r){this.registerHandler(e,(...e)=>t[r]?.call(t,...e))}registerHandlerLazy(e,t,r){if(t[r])this.registerHandlerRef(e,t,r);else{let i,n=this;Object.defineProperty(t,r,{get:()=>i,set(s){i=s,s&&n.registerHandlerRef(e,t,r)}})}}removeHandler(e){this.#i.delete(e.name)}invoke(e,t,r=[]){if(e.isSync){let i=e.bufferSize?new SharedArrayBuffer(e.bufferSize+4):void 0,n=new SharedArrayBuffer(4),s=new Int32Array(n);s[0]=0;let a={name:e.name,data:t,sync:!0,lock:n,buf:i};if(this.port.postMessage(a,{transfer:r}),Atomics.wait(s,0,0),2===s[0])throw null;if(!i)return;{let e=new Uint32Array(i,0,4)[0],t=new Uint8Array(i,4,e),r=new Uint8Array(e);return r.set(t,0),r?JSON.parse(this.#r.decode(r)):void 0}}if(e.hasReturn){let{promise:n,resolve:s,reject:a}=Promise.withResolvers(),o=i.createRetEndpoint(this.nextRetId);this.registerHandler(o,(e,t)=>{t&&a(),s(e)});let l={name:e.name,data:t,sync:!1,retId:o?.name,hasTransfer:e.hasReturnTransfer};return this.port.postMessage(l,{transfer:r}),n}{let i={name:e.name,data:t,sync:!1};this.port.postMessage(i,{transfer:r})}}createCallbackify(e,t){let r=this.createCall(e);return(...e)=>{let i=e.at(t);e.splice(t,1),r(...e).then(i)}}}},302:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{callDestroyLifetimeFun:()=>Fe,destroyCard:()=>ke,loadCard:()=>we,loadDynamicComponent:()=>Be,nativeGlobal:()=>l});var _="__Card__",E="app-service.js",ge="LynxGetSourceMapReleaseError",oe={filename:"lynx_core",slot:"df0498fd4b09f634e6135a72ccd7ea940966efe8",release:"unknown_version"},Ne=function(){return this||(0,eval)("this")}(),d=Ne;function w(e){return nativeConsole}var Oe=function(){return this||(0,eval)("this")}(),Ve=w(`groupId:${Oe.groupId||"-1"}`),ie=nativeConsole;function ye(e){let t=typeof e;return"object"!==t?t:Array.isArray(e)?"array":null==e?"null":e instanceof Date?"date":e instanceof RegExp?"regExp":"object"}function R(e){return"string"==typeof e}function k(e){return"object"===ye(e)}function se(e){return"function"===ye(e)}function F(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ce(e,Error)}}function Ce(e,t){try{return e instanceof t}catch{return!1}}var m=ie,B=class{constructor(){this.observersFunc=[]}registerObserver(e){if(this.observersFunc.includes(e))return m.log("Subject: Observer has been attached already.");this.observersFunc.push(e)}removeObserver(e){let t=this.observersFunc.indexOf(e);if(-1===t)return m.log("Subject: Nonexistent observer.");this.observersFunc.splice(t,1)}notifyDataChange(e){this.observersFunc.forEach(t=>{if("function"==typeof t)try{t(e)}catch(e){m.log("SharedData change and notifyDataChange error info:"+e)}})}};d.multiApps={},d.currentAppId="",d.globComponentRegistPath="",d.sharedData={},d.globDynamicComponentEntry=_,d.shareDataSubject=new B,d.TaroLynx={},d.bundleSupportLoadScript=!0;var{loadScript:at}=d,l=d,q=class extends Error{constructor(e,t){super(e),t&&(this.stack=t)}},j=class extends q{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},ae=class extends q{constructor(){super(...arguments),this.kind="USER_ERROR"}},g=class extends ae{constructor(){super(...arguments),this.name="USER_RUNTIME_ERROR"}},y=class extends j{constructor(){super(...arguments),this.name="INTERNAL_RUNTIME_ERROR"}},G=class extends j{constructor(){super(...arguments),this.name="INVOKE_ERROR"}},Ie=/\d+/,v=class r{constructor(e){this.major=0,this.minor=0,this.revision=0,this.build=0,e=String(e),[this.major=0,this.minor=0,this.revision=0,this.build=0]=e.split(".").map(e=>{let t=Ie.exec(e);return t&&t.length>0?+t[0]:0})}gt(e){return"string"==typeof e&&(e=new r(e)),this.major>e.major||!(this.major<e.major)&&(this.minor>e.minor||!(this.minor<e.minor)&&(this.revision>e.revision||!(this.revision<e.revision)&&(this.build>e.build||(this.build<e.build,!1))))}eq(e){return"string"==typeof e&&(e=new r(e)),this.major===e.major&&this.minor===e.minor&&this.revision===e.revision&&this.build===e.build}lt(e){return!this.eq(e)&&!this.gt(e)}gte(e){return this.eq(e)||this.gt(e)}lte(e){return this.eq(e)||this.lt(e)}},_t=new v("2.4"),mt=new v("2.7"),ht=new v("2.9"),ft=new v("2.12"),Et=new v("2.14");function h(e,t,r){let{originError:i,errorCode:n,errorLevel:s,runType:a=oe}=r??{};m.error("The following error occurred in the JSRuntime:"),m.error(`${e?.message}
2
2
  ${e?.stack}`),e.cause=k(e.cause)?JSON.stringify(e.cause):e.cause;try{t.reportException(e,{...a,buildVersion:"unknown_version",versionCode:"unknown_version",errorCode:n,errorLevel:s})}catch(e){m.error(`reportError err:
3
- `,e)}}var I=class{constructor(e,t){this.getApp=e,this.getNativeApp=t,this.setSourceMapRelease=e=>{F(e)&&e.name===u.kGetSourceMapReleaseErrorName&&R(e.message)&&R(e.stack)?this.getNativeApp().__SetSourceMapRelease({name:e.name,message:e.message,stack:e.stack}):JSON.stringify(e)},this.getSourceMapRelease=e=>{let t=this.getNativeApp().__GetSourceMapRelease(e);return t||(t=this.getNativeApp().__GetSourceMapRelease(u.kDefaultSourceMapURL)),t},this.getApp=e,this.getNativeApp=t}rebind(e){this.getApp=e}},V=class r{static{this.count=0}constructor(e){this.effect=e,this.id="__lynx-inner-js-animation-"+r.count++}cancel(){this.effect.target.cancelAnimate(this)}pause(){this.effect.target.pauseAnimate(this)}play(){this.effect.target.playAnimate(this)}},$=class{constructor(e,t,r){this.target=e,this.keyframes=t,this.options=r}},Q=class{constructor(e,t){this.keyframes=e,this.options=t}},Y=class{constructor(e,t,r){this.id=e,this.effect=new Q(t,r)}},L=class{constructor(e,t,r){this._root=e,this._idSelector="#"+t,this._lynx=r,this._element=void 0}ensureElement(){this._element||(this._element=this._lynx.createElement(this._root,this._idSelector))}animate(e,t){this.ensureElement();let r=new V(new $(this,e,t));return this._element.animate(0,r.id,e,t),r}playAnimate(e){this._element.animate(1,e.id,void 0,void 0)}pauseAnimate(e){this._element.animate(2,e.id,void 0,void 0)}cancelAnimate(e){this._element.animate(3,e.id,void 0,void 0)}finishAnimate(e){this._element.animate(4,e.id,void 0,void 0)}setProperty(e,t){if(this.ensureElement(),"string"==typeof e&&"string"==typeof t)this._element.setProperty({[e]:t});else if("object"==typeof e)this._element.setProperty(e);else throw Error(`setProperty's param must be string or object. While current type is ${typeof e} and ${typeof t}.`)}},ve=L,A=class r{constructor(e,t,r){this._component=e,this._taskQueue=t,this._native_proxy=r,this._fire_immediately=!1,this._root_unique_id=void 0}static fromQuery(e,t){return new r(t??e._component,e._taskQueue.slice(),e._native_proxy)}static newEmptyQuery(e,t){return new r(t??"",[],e)}commitTask(e){let t=r.fromQuery(this,this._component);return(t._taskQueue.push(e),this._fire_immediately)?void t.exec():t}in(e){return e.createSelectorQuery(this)}select(e){return new S(this,{type:0,identifier:e,component_id:this._component,root_unique_id:this._root_unique_id,first_only:!0})}selectAll(e){return new S(this,{type:0,identifier:e,component_id:this._component,root_unique_id:this._root_unique_id,first_only:!1})}selectReactRef(e){if(this._taskQueue.length){let e="selectReactRef() should be called before any other selector query methods";nativeConsole.warn(e);let t=Error(e);h(new G(e,t.stack),this._native_proxy.nativeApp);return}return this._fire_immediately=!0,new S(this,{type:1,identifier:e,component_id:this._component,root_unique_id:this._root_unique_id,first_only:!0})}selectRoot(){return this.select("")}selectUniqueID(e){return new S(this,{type:2,identifier:e.toString(),component_id:this._component,root_unique_id:this._root_unique_id,first_only:!0})}exec(){for(let e=0;e<this._taskQueue.length;++e)this._taskQueue[e](this._native_proxy)}setRoot(e){return this._root_unique_id=Number(e),this}},S=class{static{this.nodePool={}}constructor(e,t){this._nodeSelectToken=t,this._selectorQuery=e}invoke(e){let t=t=>{let r=t=>{0===t.code?e.success&&e.success(t.data):e.fail&&e.fail(t)};this._nodeSelectToken.first_only?t.nativeApp.invokeUIMethod(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,e.method,e.params??{},r,this._nodeSelectToken.root_unique_id):r({code:5,data:"selectAll not supported for invoke method"})};return this._selectorQuery.commitTask(t)}path(e){let t=t=>{let r=t=>{e&&e(t.data,t.status)};t.nativeApp.getPathInfo(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,r,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(t)}fields(e,t){let r=r=>{let i=i=>{if(e.query){let t=t=>{t.query=A.newEmptyQuery(r),t.query.setRoot(t.unique_id.toString()),e.unique_id||delete t.unique_id};if(this._nodeSelectToken.first_only){let e=i.data;e&&t(e)}else for(let e of i.data)t(e)}t&&t(i.data,i.status)},n=[];for(let t in e){if("query"==t&&!0==e[t]&&!e.unique_id){n.push("unique_id");continue}e[t]&&n.push(t)}r.nativeApp.getFields(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,n,i,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(r)}animate(e){let t=[];Array.isArray(e)?t=e:t.push(e);let r=e=>{t.forEach(t=>{e.nativeApp.animate(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,0,t?.id,t?.effect?.keyframes,t?.effect?.options)})};return this._selectorQuery.commitTask(r)}animationOperate(e,t){let r=[];Array.isArray(t)?r=t:r.push(t);let i=t=>{r.forEach(r=>{t.nativeApp.animate(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,e,r,null,null)})};return this._selectorQuery.commitTask(i)}playAnimation(e){return this.animationOperate(1,e)}pauseAnimation(e){return this.animationOperate(2,e)}cancelAnimation(e){return this.animationOperate(3,e)}finishAnimation(e){return this.animationOperate(4,e)}setNativeProps(e){let t=t=>{t.nativeApp.setNativeProps(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,e,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(t)}},b=class r{constructor(e,t,i,n){this.getNativeApp=e,this.getApp=t,this.Promise=i,this.getNativeLynx=n,this.setTimeout=this.getApp().wrapReport(this.getNativeApp().setTimeout,"setTimeout Error"),this.setInterval=this.getApp().wrapReport(this.getNativeApp().setInterval,"setInterval Error"),this.clearInterval=this.getNativeApp().clearInterval,this.clearTimeout=this.getNativeApp().clearTimeout,this.resumeExposure=this.getApp()._apiList.resumeExposure,this.requireModule=(e,t,i)=>{if(this.requireModule.cache[e])return this.requireModule.cache[e];let n=this.getApp().requireModule(e,t,i);return this.requireModule.cache[e]=n,n},this.requireModuleAsync=(e,t)=>{(t??=e=>{e&&this.getApp().handleUserError(e)},this.requireModuleAsync.cache[e])?t(null,this.requireModuleAsync.cache[e]):this.getApp().requireModuleAsync(e,(i,n)=>{i||(this.requireModuleAsync.cache[e]=n),t(i,n)})},this.createElement=(e,t)=>this.getNativeLynx().createElement(e,t),this.getElementById=e=>new ve("",e,this),this.reportError=(e,t)=>{let i;if(F(e))i=e;else{let t;i=Error(t="string"!=typeof e?JSON.stringify(e):e)}let{level:n="error"}=t||{},s;switch(n){case"error":default:s=1;break;case"warning":s=2;break;case"fatal":s=0}this.getApp().handleUserError(i,void 0,s)},this.registerModule=(e,t)=>this.getApp().registerModule(e,t),this.getJSModule=e=>this.getApp().getJSModule(e),this.getTextInfo=this.getApp()._apiList.getTextInfo,this.addFont=(e,t)=>{if(!k(e))throw Error("The first argument must be object type");if(!R(e["font-family"])||!R(e.src))throw Error("The font value must have font-family and src");if(!se(t))throw Error("The second argument must be function type");this.getNativeLynx().addFont(e,t)},this.stopExposure=this.getApp()._apiList.stopExposure,this.setObserverFrameRate=this.getApp()._apiList.setObserverFrameRate,this.performance=this.getApp().performance,this.beforePublishEvent=this.getApp()._aopManager._beforePublishEvent,this.setSessionStorageItem=(e,t)=>{this.dispatchSessionStorageEvent({type:"__SetSessionStorageItem",data:{key:e,value:t}})},this.getSessionStorageItem=(e,t)=>{this.getNativeApp().getSessionStorageItem(e,t)},this.subscribeSessionStorage=(e,t)=>{let i=r.__registerSharedDataCounter++;return this.getNativeApp().subscribeSessionStorage(e,i,t),i},this.unsubscribeSessionStorage=(e,t)=>{this.dispatchSessionStorageEvent({type:"__UnSubscribeSessionStorage",data:{key:e,listenerId:t}})},this.getDevtool=this.getNativeLynx().getDevtool,this.getCoreContext=this.getNativeLynx().getCoreContext,this.getJSContext=this.getNativeLynx().getJSContext,this.getUIContext=this.getNativeLynx().getUIContext,this.getNative=this.getNativeLynx().getNative,this.getEngine=this.getNativeLynx().getEngine,this.getCustomSectionSync=this.getNativeLynx().getCustomSectionSync,this.accessibilityAnnounce=this.getNativeApp().nativeModuleProxy.LynxAccessibilityModule?.accessibilityAnnounce,this.requestResourcePrefetch=this.getNativeApp().nativeModuleProxy.LynxResourceModule?.requestResourcePrefetch,this.cancelResourcePrefetch=this.getNativeApp().nativeModuleProxy.LynxResourceModule?.cancelResourcePrefetch,this.setSharedData=(e,t)=>{l.sharedData[e]=t;let i={};i[e]=t,l.shareDataSubject.notifyDataChange(i)},this.getSharedData=e=>l.sharedData[e],this.registerSharedDataObserver=e=>l.shareDataSubject.registerObserver(e),this.removeSharedDataObserver=e=>l.shareDataSubject.removeObserver(e),this.triggerLepusGlobalEvent=(e,t)=>this.getNativeApp().triggerLepusGlobalEvent(e,t),this.reload=(e,t)=>{this.getNativeLynx().reload(e,t)},this.fetchDynamicComponent=(e,t,i,n)=>this.getNativeLynx().fetchDynamicComponent(e,t,i,n),this.QueryComponent=(e,t)=>{let i=()=>{t({code:0,data:{url:e,sync:!0,error_message:"",mode:"cache"},detail:{schema:e,cache:!1,errMsg:""}})};if(this.getApp().loadedDynamicComponentsSet.has(e))return void i();let n=n=>{!0===n.__hasReady?(l.loadDynamicComponent(this.getApp(),e),i()):t(n)};this.getNativeLynx().QueryComponent(e,n)},this.loadDynamicComponent=(e,t,i={})=>new this.Promise((n,s)=>{let a=[],o;(Array.isArray(e)?(a=e,o=t):"string"==typeof t?(a=[e],o=t):(o=e,i=t),this.getApp().loadedDynamicComponentsSet.has(o))?n({code:0,data:{url:o,sync:!1,error_message:"",mode:"normal"},detail:{schema:o,cache:!1,errMsg:""}}):this.getNativeLynx().fetchDynamicComponent(o,i,e=>{e&&0==e.code?n(e):s(e)},a)}),this.fetch=(e,t)=>new this.Promise((i,n)=>{let s=new(this.getApp())._RequestClass(e,t),a=s.signal;if(a.aborted)return n(a.reason);a.addEventListener("abort",e=>{n(a.reason)});let o={method:s.method,url:s.url,origin:this.getNativeApp().__pageUrl,headers:Object.fromEntries(s.headers.entries()),body:s._arrayBuffer,lynxExtension:s.lynxExtension},h=s.lynxExtension.useStreaming;this.getApp().NativeModules.LynxFetchModule.fetch(o,e=>{if(!a.aborted)try{let t=new(this.getApp())._ReadableStreamClass,n=new(this.getApp())._ResponseClass(h?t:e.body,e);if(h){let e=n.lynxExtension.streamingId;this.getApp().GlobalEventEmitter.addListener(e,e=>{let i=e.event;"onData"===i?t.onData(e.data):"onEnd"===i?t.onEnd():"onError"===i&&t.onError(e.error)})}i(n)}catch{n(TypeError(e.statusText))}},e=>{a.aborted||n(TypeError(e.message))})}),this.createSelectorQuery=e=>A.newEmptyQuery({nativeApp:this.getNativeApp(),lynx:this},e),this.requestAnimationFrame=e=>this.getNativeApp().requestAnimationFrame(e),this.cancelAnimationFrame=e=>this.getNativeApp().cancelAnimationFrame(e),this.loadScript=this.getNativeLynx().loadScript,this.fetchBundle=this.getNativeLynx().fetchBundle,this.__addReporterCustomInfo=e=>{this.getNativeApp().__addReporterCustomInfo(e)},this.getModuleLoader=()=>l["napiRestrictedLoader"+this.getApp().nativeAppId],this.createAnimation=(e,t,i)=>new Y(e,t,i),this.init(void 0)}static{this.__registerSharedDataCounter=0}rebind(e){this.init(e)}init(e){if(e)this.getApp=e,this.__globalProps=this.getNativeLynx().__globalProps||{},this.__presetData=this.getNativeLynx().__presetData||{};else{let e={};this.requireModule.cache=e,this.requireModuleAsync.cache=e,this.__globalProps=this.getNativeLynx().__globalProps||{},this.__presetData=this.getNativeLynx().__presetData||{},this._switches={}}}dispatchSessionStorageEvent(e){0!=this.getCoreContext().dispatchEvent(e)&&this.getJSContext().dispatchEvent(e)}queueMicrotask(e){this.getNativeLynx().queueMicrotask(e)}},x=class{constructor(e){this._internal_callLynxSetModule=e,this._events=new Map}getEventsSize(e){return this._events.get(e)?.length}setCallLynxSetModule(e){this._internal_callLynxSetModule=e}addListener(e,t,r){let i=this._events.get(e);"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!0]),i?i.push({listener:t,context:r}):this._events.set(e,[{listener:t,context:r}])}removeListener(e,t){if("function"!=typeof t)throw Error("removeListener only takes instances of Function");let r=this._events.get(e),i=0;Array.isArray(r)&&r.some(e=>{if(t===e.listener)return!0;i++})&&r.splice(i,1),"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!1])}emit(e,t){let r=this._events.get(e);Array.isArray(r)&&r.forEach(e=>{let{listener:r,context:i}=e;"function"==typeof r&&r.apply(i||this,t)})}removeAllListeners(e){"string"==typeof e?this._events.delete(e):this._events=new Map}trigger(e,t){let r=this._events.get(e);Array.isArray(r)&&("string"==typeof t&&(t=JSON.parse(t)),r.forEach(e=>{let{listener:r,context:i}=e;"function"==typeof r&&r.call(i||this,t)}))}toggle(e,...t){this.emit(e,t)}},J=class{constructor(){this._beforePublishEvent=new le}},le=class extends x{add(e,t,r){return super.addListener(e,t,r),this}remove(e,t){return super.removeListener(e,t),this}},T=x,K=class{constructor(e){this._textInfoModule=void 0,this.getTextInfo=(e,t)=>(void 0===this._textInfoModule&&(this._textInfoModule=this._nativeModules.LynxTextInfoModule),this._textInfoModule&&this._textInfoModule.getTextInfo?this._textInfoModule.getTextInfo(e,t):{width:e.length}),this._nativeModules=e}},H=class{constructor(e){this.resumeExposure=()=>{this._exposureModule.resumeExposure()},this.stopExposure=e=>{this._exposureModule.stopExposure(e)},this.setObserverFrameRate=e=>{this._exposureModule.setObserverFrameRate(e)},this._nativeModules=e,this._exposureModule=this._nativeModules.LynxExposureModule}},ce=class{constructor(e,t){this._selector=e,this._callback=t}invokeCallback(e){this._callback(e)}},pe=class{constructor(e,t,r){this._id=e,this._intersectionObserverModule=t,this._manager=r,this._observationTargets=[],this._defaultMargins={left:0,right:0,top:0,bottom:0}}relativeTo(e,t){return this._intersectionObserverModule.relativeTo(this._id,e,t||this._defaultMargins),this}relativeToViewport(e){return this._intersectionObserverModule.relativeToViewport(this._id,e||this._defaultMargins),this}relativeToScreen(e){return this._intersectionObserverModule.relativeToScreen(this._id,e||this._defaultMargins),this}observe(e,t){this._observationTargets.push(new ce(e,t)),this._intersectionObserverModule.observe(this._id,e,this._observationTargets.length-1)}disconnect(){this._intersectionObserverModule.disconnect(this._id),this._manager.removeObserver(this._id)}invokeCallback(e,t){e<this._observationTargets.length&&this._observationTargets[e].invokeCallback(t)}},W=class{constructor(e){this._nativeModules=e,this._observerId=0,this._observers={},this._defaultOptions={thresholds:[0],initialRatio:0,observeAll:!1}}createIntersectionObserver(e,t){let r=this._nativeModules.IntersectionObserverModule,i=new pe(this._observerId,r,this);return this._observers[this._observerId]=i,r.createIntersectionObserver(this._observerId,e,t||this._defaultOptions),this._observerId++,i}getObserver(e){return this._observers[e]}removeObserver(e){this._observers[e]=null}},xe={onPerformance:"lynx.performance.onPerformanceEvent"},X=class{constructor(e,t){this._emitter=e,this._onPerformance=t,this._observedNames=[]}observe(e){this._observedNames.length>0||(this._observedNames=e,this._emitter.addListener(xe.onPerformance,this.onPerformanceEvent.bind(this)))}disconnect(){this._observedNames=[],this._emitter.removeListener(xe.onPerformance,this.onPerformanceEvent.bind(this))}onPerformanceEvent(e){if(0===this._observedNames.length)return;let t=e.entryType+"."+e.name;(this._observedNames.includes(t)||this._observedNames.includes(e.entryType))&&this._onPerformance(e)}},N={onSetup:"lynx.performance.timing.onSetup",onUpdate:"lynx.performance.timing.onUpdate"},P=class{constructor(e,t){this._emitter=e,this._generatePipelineOptions=t.generatePipelineOptions,this._onPipelineStart=t.onPipelineStart,this._markTiming=t.markPipelineTiming,this._profileStart=t.profileStart,this._profileEnd=t.profileEnd,this._profileMark=t.profileMark,this._profileFlowId=t.profileFlowId,this._isProfileRecording=t.isProfileRecording,this._bindPipelineIdWithTimingFlag=t.bindPipelineIdWithTimingFlag}profileStart(e,t){this._profileStart(e,t)}profileEnd(){this._profileEnd()}profileMark(e,t){this._profileMark(e,t)}profileFlowId(){return this._profileFlowId()}createObserver(e){return new X(this._emitter,e)}isProfileRecording(){return this._isProfileRecording()}addTimingListener(e){this._emitter.addListener(N.onSetup,e.onSetup,e),this._emitter.addListener(N.onUpdate,e.onUpdate,e)}removeTimingListener(e){this._emitter.removeListener(N.onSetup,e.onSetup),this._emitter.removeListener(N.onUpdate,e.onUpdate)}removeAllTimingListener(){this._emitter.removeAllListeners(N.onSetup),this._emitter.removeAllListeners(N.onUpdate)}_initializeAndStartPipeline(){let e=this._generatePipelineOptions();return e&&this._onPipelineStart(e.pipelineID),e}_checkAndBindTimingFlag(e,t){if(!e)return;let r="__lynx_timing_flag";t[r]&&(this._bindPipelineIdWithTimingFlag(e.pipelineID,t[r]),this._markTiming(e.pipelineID,"update_set_state_trigger"),e.needTimestamps=!0)}},Re=P,Se=l.LynxJSBI,f=class r{constructor(e){for(let t in this._cachedFunctions={},e)Object.defineProperty(this,t,{get(){if(this._cachedFunctions[t])return this._cachedFunctions[t];let r=e[t];return"function"==typeof r&&(this._cachedFunctions[t]=r),r}})}static create(e){return new r(e)}};function Ae(e,t,r,i,n=!1){let{getPromise:s}=l;return"function"==typeof s?s({nextTick:n?i:t=>e(t,0),setTimeout:e,onUnhandled:t,clearTimeout:r}):l.Promise}var Me,M=class{constructor(){}decode(e){return 0===e.byteLength?"":(e instanceof DataView?e=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength):ArrayBuffer.isView(e)&&(e=e.buffer),globalThis.TextCodecHelper.decode(e))}encodeInto(){throw TypeError("TextEncoder().encodeInto not supported")}get encoding(){return"utf-8"}get fatal(){return!1}get ignoreBOM(){return!0}},z=class{constructor(){}encode(e){return new Uint8Array(globalThis.TextCodecHelper.encode(e))}encodeInto(){throw TypeError("TextEncoder().encodeInto not supported")}get encoding(){return"utf-8"}},O=class r{constructor(){this._arrayBuffer=new ArrayBuffer(0),this._bodyStream=null,this._bodyUsed=!1}safeUseBody(e){if(this._bodyUsed)return;let t=e(this._arrayBuffer);return this._bodyUsed=!0,this._arrayBuffer=null,t}cloneArrayBuffer(e){return e.slice(0)}setBody(e){if(e instanceof r){if(e._bodyUsed||e._bodyStream)throw Error("body used, or try to copy body stream");this._arrayBuffer=this.cloneArrayBuffer(e._arrayBuffer)}else e instanceof ArrayBuffer?this._arrayBuffer=this.cloneArrayBuffer(e):e instanceof DataView?this._arrayBuffer=this.cloneArrayBuffer(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)):ArrayBuffer.isView(e)?this._arrayBuffer=this.cloneArrayBuffer(e.buffer):e&&(this._arrayBuffer=new z().encode(e.toString()).buffer),globalThis.ReadableStream&&e instanceof ReadableStream&&(this._bodyStream=e)}arrayBuffer(){return Promise.resolve(this.safeUseBody(e=>e))}get body(){if(this._bodyUsed)throw Error("body used");return this._bodyUsed=!0,this._bodyStream}text(){return Promise.resolve(this.safeUseBody(e=>new M().decode(e)))}json(){return Promise.resolve(this.safeUseBody(e=>JSON.parse(new M().decode(e))))}get bodyUsed(){return this._bodyUsed}},D=class r{constructor(e){if(this._headers_map=new Map,this[Me]="Headers",null===e||"number"==typeof e)throw TypeError("Headers init with null/number");if(e instanceof r)for(let[t,i]of e)this.append(t,i);else Array.isArray(e)?e.forEach(([e,t])=>{this.append(e,Array.isArray(t)?t.join(" "):t)}):e&&Object.getOwnPropertyNames(e).forEach(t=>{let i=e[t];this.append(t,Array.isArray(i)?i.join(" "):i)})}[(Me=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}*keys(){for(let[e,t]of this._headers_map)yield e}*values(){for(let[e,t]of this._headers_map)yield t}*entries(){for(let e of this._headers_map)yield e}has(e){return this._headers_map.has(e)}get(e){return this._headers_map.get(e)??null}set(e,t){this._headers_map.set(e,String(t))}append(e,t){let r=this.has(e)?`${this.get(e)}, ${t}`:t;this.set(e,r)}delete(e){this.has(e)&&this._headers_map.delete(e)}forEach(e,t){for(let[r,i]of this.entries())e.call(t,i,r,this)}},Z=class r extends T{get aborted(){return this._aborted}get reason(){return this._reason}constructor(){super(),this._aborted=!1}get[Symbol.toStringTag](){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this._aborted=!0,this._reason=e.reason,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.emit(e.type,e)}addEventListener(e,t){super.addListener(e,t)}removeEventListener(e,t){super.removeListener(e,t)}static __create(){return new r}};function de(e){return class e extends O{get url(){return this._url}get headers(){return this._headers}get method(){return this._method}get signal(){return this._signal}get lynxExtension(){return this._lynxExtension}constructor(t,r){if(super(),r=r||{},t instanceof e){if(t.bodyUsed)throw TypeError("Already read");this._url=t.url,r.headers||(this._headers=new D(t.headers)),this._method=t.method,this._signal=t.signal,this.setBody(t._arrayBuffer)}else this._url=String(t);if((r.headers||!this.headers)&&(this._headers=new D(r.headers)),this._method=r.method||this.method||"GET",this._method=this._method.toUpperCase(),("GET"===this.method||"HEAD"===this.method)&&r.body)throw TypeError("Body not allowed for GET or HEAD requests");"u">typeof r.signal&&(this._signal=r.signal),this._signal=this._signal||Z.__create(),this._lynxExtension=r.lynxExtension||{},this._headers.get("Content-Type")||("string"==typeof r.body?this._headers.set("Content-Type","text/plain;charset=UTF-8"):globalThis.URLSearchParams&&r.body instanceof URLSearchParams?this._headers.set("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"):r.body instanceof ArrayBuffer||this._headers.set("Content-Type","text/plain;charset=UTF-8")),this.setBody(r.body)}clone(){let t=new e(this,{method:this.method});return t.setBody(this),t}}}function _e(e){return class e extends O{get url(){return this._url}get status(){return this._status}get statusText(){return this._statusText}get ok(){return this._ok}get headers(){return this._headers}get lynxExtension(){return this._lynxExtension}constructor(e,t){if(super(),t=t||{},this._status=void 0===t.status?200:t.status,this._status<200||this._status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this._ok=this._status>=200&&this._status<300,this._statusText=void 0===t.statusText?"":""+t.statusText,this._headers=new Headers(t.headers),this._url=t.url||"",this._lynxExtension=t.lynxExtension||{},this.setBody(e)}clone(){let t=new e(null,{status:this._status,statusText:this._statusText,headers:new Headers(this._headers),url:this._url});return t.setBody(this),t}}}function he(e){return class{constructor(){this.__dataReceived=[],this.__done=!1,this.__cancelled=!1,this.__locked=!1,this.__eventCenter=new T}onData(e){this.__cancelled||(this.__dataReceived.push(e),this.__eventCenter.emit("waitSignal",null))}onEnd(){this.__done=!0,this.__eventCenter.emit("waitSignal",null)}onError(e){this.__error=Error(e),this.__eventCenter.emit("waitSignal",null)}processRead(e,t){if(this.__error)return t(this.__error);if(this.__cancelled||this.__done&&0==this.__dataReceived.length)return e({done:!0,value:void 0});if(this.__dataReceived.length>0)return e({done:!1,value:this.__dataReceived.shift()});let r=()=>{this.__eventCenter.removeListener("waitSignal",r),this.processRead(e,t)};this.__eventCenter.addListener("waitSignal",r,this)}__read(){return new e((e,t)=>{this.processRead(e,t)})}get locked(){return this.__locked}cancel(t){return this.__cancelled=!0,this.__dataReceived=null,this.__eventCenter.emit("waitSignal",null),e.resolve(t)}getReader(){return this.__locked?null:(this.__locked=!0,new me(this))}}}var me=class{constructor(e){this.__stream=e}cancel(e){return this.__stream.cancel(e)}read(){return this.__stream.__read()}},ee=class{static{this.EXECUTE_LOADED_SCRIPT="executeLoadedScript"}},u=class _BaseApp{constructor(e,t){this.dataTypeSet=new Set(["string","number","array","object","boolean","null","function"]),this.removeInternalEventListenersCallbacks=[],this.setSourceMapRelease=e=>{this.Reporter.setSourceMapRelease(e)},this.getSourceMapRelease=e=>this.Reporter.getSourceMapRelease(e),this.setupGetTextInfoApi=()=>{this._apiList.getTextInfo=(e,t)=>this._textInfoManager.getTextInfo(e,t)},this.setupExposureApi=()=>{this._apiList.resumeExposure=()=>{this._exposureManager.resumeExposure()},this._apiList.stopExposure=e=>{this._exposureManager.stopExposure(e||{sendEvent:!0})},this._apiList.setObserverFrameRate=e=>{this._exposureManager.setObserverFrameRate(e||{forPageRect:20,forExposureCheck:20})}},this.requestAnimationFrame=e=>this._nativeApp.requestAnimationFrame(e),this.cancelAnimationFrame=e=>this._nativeApp.cancelAnimationFrame(e),this.__removeInternalEventListeners=()=>{this.removeInternalEventListenersCallbacks.forEach(e=>{e()})},this.initBase(e),t?t.transferSingletonData(this,this.__internal__callLynxSetModule.bind(this)):this.initExtra(e),this.setTimeout=this.nativeApp.setTimeout,this.setInterval=this.nativeApp.setInterval,this.clearInterval=this.nativeApp.clearInterval,this.clearTimeout=this.nativeApp.clearTimeout,this.addInternalEventListeners()}initExtra(e){let{lynx:t}=e;this.modules={},this._lazyCallableModules=new Map,this._nativeApp=f.create(this._nativeApp),this.sharedConsole=w(`runtimeId:${this.nativeAppId}`),this.dynamicComponentExports={},this.loadedDynamicComponentsSet=new Set,this._lazyCallableModules=new Map,this.Reporter=new I(()=>this,()=>this.nativeApp),this.GlobalEventEmitter=new T(this.__internal__callLynxSetModule.bind(this)),this._intersectionObserverManager=new W(this.NativeModules),this._exposureManager=new H(this.NativeModules),this.setupExposureApi(),this._aopManager=new J,this.beforePublishEvent=this._aopManager._beforePublishEvent,this.performance=new Re(this.GlobalEventEmitter,this.nativeApp);let r=this.setupPromise(this.nativeApp.setTimeout,this.nativeApp.clearTimeout,t);this.lynx=this.createLynx(t,r),this.setupJSModule(),this.setupIntersectionApi(),this.setupFetchAPI(r)}initBase(e){let{nativeApp:t,params:r}=e;this.nativeAppId=t.id,this._params=r,this._nativeApp=t,this.NativeModules=t.nativeModuleProxy,this.LynxUIMethodModule=t.nativeModuleProxy.LynxUIMethodModule,this.LynxTestModule=t.nativeModuleProxy.LynxTestModule,this.LynxResourceModule=t.nativeModuleProxy.LynxResourceModule,this.LynxAccessibilityModule=t.nativeModuleProxy.LynxAccessibilityModule,this.LynxSetModule=t.nativeModuleProxy.LynxSetModule,this._apiList={},this._textInfoManager=new K(this.NativeModules),this.setupGetTextInfoApi()}static{this.kDefaultSourceMapURL="default"}static{this.kGetSourceMapReleaseErrorName=ge}set __sourcemap__release__(e){let t=Error();t.name="LynxGetSourceMapReleaseError",t.message=e,t.stack=`at <anonymous> (${_BaseApp.kDefaultSourceMapURL}:1:1)`,this.setSourceMapRelease(t)}destroy(){this.__removeInternalEventListeners(),this._nativeApp=null,this._params=null,this._lazyCallableModules=null,this.GlobalEventEmitter=null}registerModule(e,t){this._lazyCallableModules[e]=t}getJSModule(e){return this._lazyCallableModules[e]}setupJSModule(){this.registerModule("GlobalEventEmitter",this.GlobalEventEmitter),this.registerModule("Reporter",this.Reporter)}setupFetchAPI(e){this._createResponseClass=_e,this._createRequestClass=de,this._createReadableStreamClass=he,this._RequestClass=l.Request??de(e),this._ResponseClass=l.Response??_e(e),this._ReadableStreamClass=l.ReadableStream??he(e),l.Request||(l.Request=this._RequestClass),l.Response||(l.Response=this._ResponseClass),l.ReadableStream||(l.ReadableStream=this._ReadableStreamClass)}__internal__callLynxSetModule(e,t){let r=this.LynxSetModule[e];r&&Function.prototype.apply.call(r,void 0,t)}get nativeApp(){return this._nativeApp}set nativeApp(e){this._nativeApp=e}get params(){return this._params}set apiList(e){this._apiList={...this._apiList,...e}}setupIntersectionApi(){let e=this;this._apiList.createIntersectionObserver=function(t,r){let{componentId:i=""}=t;return e._intersectionObserverManager.createIntersectionObserver(i,r)},this.lynx.createIntersectionObserver=this._apiList.createIntersectionObserver}onIntersectionObserverEvent(e,t,r){let i=this._intersectionObserverManager.getObserver(e);i&&i.invokeCallback(t,r)}reportError(e){return this.lynx.reportError(e)}handleError(e,t,r){h(e,this.nativeApp,{originError:t,getSourceMapRelease:this.getSourceMapRelease,errorLevel:r})}handleUserError(e,t,r,i){let{message:n,name:s,stack:a}=e||{};n||({message:n,name:s,stack:a}=Error(JSON.stringify(e)));let o=new g(i?`${i} ${s}: ${n}`:`${s}: ${n}`,a);o.cause=t,this.handleError(o,e,r)}handleInternalError(e,t){let{message:r,name:i,stack:n}=e||{};r||({message:r,name:i,stack:n}=Error(JSON.stringify(e)));let s=new y(`${i}: ${r}`,n);s.cause=t,this.handleError(s,e)}getBoolEnv(e){return this.nativeApp.getEnv(e)?.toLowerCase()==="true"}static{this._$factoryCache={}}_$executeInit(e,{path:t,entryName:r}){let i;if(e&&e.init)i=e.init.bind(e);else if(l.initBundle)i=l.initBundle.bind(l.initBundle),delete l.initBundle;else throw new g(`load failed. path:${t},entryName:${r}`);try{this.lynx.performance.profileStart(ee.EXECUTE_LOADED_SCRIPT,{args:{path:t}});let e=i({tt:this});return _BaseApp._$factoryCache[t]=i,e}finally{this.lynx.performance.profileEnd()}}_$executeJSON(e,{path:t}){let r=JSON.parse(e),i=()=>r;return _BaseApp._$factoryCache[t]=i,r}requireModule(e,t,r){let i=_BaseApp._$factoryCache[e];if(i)return this._$executeInit({init:i},{path:e,entryName:t});if(e.split("?")[0].endsWith(".json")){let i=this.nativeApp.readScript(e,{dynamicComponentEntry:t??_,...r});return this._$executeJSON(i,{path:e,entryName:t})}let n=this.nativeApp.loadScript(e,t,r);return this._$executeInit(n,{path:e,entryName:t})}requireModuleAsync(e,t){let r=_BaseApp._$factoryCache[e];if(r)return void t(null,this._$executeInit({init:r},{path:e}));if(e.split("?")[0].endsWith(".json")){try{let r=this.nativeApp.readScript(e),i=this._$executeJSON(r,{path:e});t(null,i)}catch(e){t(e)}return}let i=Error();this.nativeApp.loadScriptAsync(e,(r,n)=>{if(r)return i.message=r,t(i);try{return t(null,this._$executeInit(n,{path:e}))}catch(e){return t(e)}})}require(path,params){let that=this;if("string"!=typeof path)throw Error("require args must be a string");let entryName=params&&params.dynamicComponentEntry?params.dynamicComponentEntry:_;that.modules[entryName]||(that.modules[entryName]={});let module=that.modules[entryName][path];if(!module){try{let tt=that,jsContent=that._nativeApp.readScript(path,{dynamicComponentEntry:entryName});eval(jsContent),module=that.modules[entryName][path]}catch(r){this.handleError(new g(`eval user: ${that._nativeApp.id} error: ${r.message}`,r.stack),r)}if(!that.modules[entryName][path])throw Error(`module ${path} in ${entryName} is not defined in card: ${that._nativeApp.id}`)}if(!module.hasRun){let{factory:r}=module,e={exports:{}},t;if(module.hasRun=!0,module.exports=e.exports,"function"==typeof r){let n=Ue.call(that,path),o=that;t=r(n,e,e.exports,that.Card.bind(o),that.setTimeout,that.setInterval,that.clearInterval,that.clearTimeout,that.NativeModules,that._apiList,that.sharedConsole,that.Component.bind(o),params?.ReactLynx,that.nativeAppId,that.Behavior.bind(o),Se,that.lynx,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,that.lynx.fetch,void 0,void 0,void 0,void 0,void 0,void 0,that.requestAnimationFrame,that.cancelAnimationFrame),module.exports=e.exports||t}}return module.exports}define(e,t,r){r=r||_,this.modules[r]||(this.modules[r]={}),this.modules[r][e]={hasRun:!1,factory:t.bind(this)}}callFunction(e,t,r){try{let i=this.getJSModule(e);"function"==typeof i[t]&&i[t].apply(i,r)}catch(r){this.handleUserError(r,{by:`${e}.${t}`})}}onAppError(e,t){this.handleInternalError(t)}saveDynamicComponentExports(e,t){this.dynamicComponentExports[e]=t}getDynamicComponentExports(e){return this.dynamicComponentExports[e]}Component(){}Card(){}Behavior(){}wrapReport(e,t){let r=this;function i(e){return function(...i){try{return e.apply(this,i)}catch(e){r.handleUserError(e,{by:t})}}}return function(t,...r){return Function.prototype.apply.call(e,void 0,[i(t),...r])}}setupPromise(e,t,r){let i=Ae(e,(e,t)=>{try{t&&(t.stack||(t=Error(JSON.stringify(t))),t.name="unhandled rejection",this.handleUserError(t))}catch{}},t,r.queueMicrotask,this._params?.pageConfigSubset?.enableMicrotaskPromisePolyfill??!1);return this.resolvedPromise=i.resolve(),i}addInternalEventListener(e,t,r){this.contextProxyTypeToMethod[e]().addEventListener(t,r),this.removeInternalEventListenersCallbacks.push(()=>{this.contextProxyTypeToMethod[e]().removeEventListener(t,r)})}addInternalEventListeners(){this.contextProxyTypeToMethod||(this.contextProxyTypeToMethod={0:()=>this.lynx.getCoreContext(),1:()=>this.lynx.getDevtool(),2:()=>this.lynx.getJSContext(),3:()=>this.lynx.getUIContext(),4:()=>this.lynx.getNative(),5:()=>this.lynx.getEngine()}),this.addInternalEventListener(0,"__OnNativeAppReady",()=>{this.onNativeAppReady()}),this.addInternalEventListener(0,"__NotifyGlobalPropsUpdated",e=>{this.updateGlobalProps(e.data)}),this.addInternalEventListener(0,"__OnLifecycleEvent",e=>{this.OnLifecycleEvent(e.data)}),this.addInternalEventListener(0,"__OnAppFirstScreen",()=>{this.onAppFirstScreen()}),this.addInternalEventListener(0,"__OnDynamicJSSourcePrepared",e=>{l.loadDynamicComponent(this,e.data)}),this.addInternalEventListener(0,"__OnAppEnterForeground",()=>{this.onAppEnterForeground()}),this.addInternalEventListener(0,"__OnAppEnterBackground",()=>{this.onAppEnterBackground()})}updateGlobalProps(e){}OnLifecycleEvent(e){}onNativeAppReady(){}onAppFirstScreen(){}onAppEnterBackground(){}onAppEnterForeground(){}};function De(e){let t=e.match(/(.*)\/([^/]+)?$/);return t?.[1]?t[1]:"./"}function Ue(e){let t=this,r=De(e);return function(e){let i=[],n=`${r}/${e}`.split("/"),s=n.length;if("string"!=typeof e)throw Error("require args must be a string");for(let r=0;r<s;++r){let a=n[r];if(""!==a&&"."!==a)if(".."===a){if(0===i.length)throw Error(`can't find module ${e} in app: ${t._nativeApp.id}`);i.pop()}else r+1<s&&".."===n[r+1]?r++:i.push(a)}let a=i.join("/");return a.endsWith(".js")||(a+=".js"),t.require(a)}}var te=class extends u{createLynx(e,t){let r=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>r)}callBeforePublishEvent(e){if(0!==this._aopManager._beforePublishEvent.getEventsSize(e.type)){let t={...e};try{this._aopManager._beforePublishEvent.emit(t.type,[t])}catch(e){this.handleUserError(e,{by:"callBeforePublishEvent",type:t.type})}}}},fe=class{transferSingletonData(e,t){e.nativeApp=this.nativeApp,e.sharedConsole=this.sharedConsole,e.dynamicComponentExports=this.dynamicComponentExports,e.loadedDynamicComponentsSet=this.loadedDynamicComponentsSet,e._intersectionObserverManager=this.intersectionObserverManager,e._exposureManager=this.exposureManager,e._textInfoManager=this.textInfoManager,this.globalEventEmitter.setCallLynxSetModule(t),e.GlobalEventEmitter=this.globalEventEmitter,e._aopManager=this.aopManager,e.performance=this.performance,e.modules=this.modules,e._lazyCallableModules=this.lazyCallableModules,e.lynx=this.lynx,this.lynx.rebind(()=>e),e._apiList=this.apiList,this.Reporter.rebind(()=>e),e.Reporter=this.Reporter,e.resolvedPromise=this.resolvedPromise}},U=class extends u{constructor(e,t){super(e,void 0),this.fillSingletonData();try{t.srcName&&(delete this.lynx.requireModule.cache[t.srcName],delete u._$factoryCache[t.srcName],this.lynx.requireModule(t.srcName,_),this.dataTypeSet.add("undefined"))}catch(e){this.handleUserError(e)}}createLynx(e,t){let r=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>r)}fillSingletonData(){this.singletonData=new fe,this.singletonData.nativeApp=this._nativeApp,this.singletonData.sharedConsole=this.sharedConsole,this.singletonData.dynamicComponentExports=this.dynamicComponentExports,this.singletonData.loadedDynamicComponentsSet=this.loadedDynamicComponentsSet,this.singletonData.intersectionObserverManager=this._intersectionObserverManager,this.singletonData.exposureManager=this._exposureManager,this.singletonData.textInfoManager=this._textInfoManager,this.singletonData.globalEventEmitter=this.GlobalEventEmitter,this.singletonData.aopManager=this._aopManager,this.singletonData.performance=this.performance,this.singletonData.modules=this.modules,this.singletonData.lazyCallableModules=this._lazyCallableModules,this.singletonData.lynx=this.lynx,this.singletonData.apiList=this._apiList,this.singletonData.Reporter=this.Reporter,this.singletonData.resolvedPromise=this.resolvedPromise}};function we(e,t,r){let{id:i}=e,{cardType:n}=t,s=!0,a;try{if(a="standalone"==n?new U({nativeApp:e,params:t,lynx:r},t):new te({nativeApp:e,params:t,lynx:r}),l.currentAppId=i,l.multiApps[i]=a,"standalone"===n)return e.setCard(a),!0;t.bundleSupportLoadScript,s=!0;try{delete a.lynx.requireModule.cache[E],delete u._$factoryCache[E],a.lynx.requireModule(E,_),a.lynx._switches.allowUndefinedInNativeDataTypeSet&&a.dataTypeSet.add("undefined")}catch(e){s=!1,a.handleUserError(e,void 0,void 0,"loadCard failed")}e.setCard(a)}catch(t){qe(e,t),s=!1}return s}function ke(e){l.multiApps[e].destroy(),delete l.multiApps[e]}function Fe(e){l.multiApps[e].callDestroyLifetimeFun()}function Be(e,t){if(e.loadedDynamicComponentsSet.has(t))return e.getDynamicComponentExports(t);let r=l.globDynamicComponentEntry;l.globDynamicComponentEntry=t;try{delete e.lynx.requireModule.cache[E],delete u._$factoryCache[E];let r=e.lynx.requireModule(E,t);return e.saveDynamicComponentExports(t,r),e.loadedDynamicComponentsSet.add(t),r}catch(t){e.handleUserError(t)}finally{l.globDynamicComponentEntry=r}}function qe(e,t,r){let{message:i,name:n,stack:s}=t||{};i||({message:i,name:n,stack:s}=Error(JSON.stringify(t)));let a=new y(`loadCard failed ${n}: ${i}`,s);a.cause=r,h(a,e,{originError:t,getSourceMapRelease:t=>{if(!e.__GetSourceMapRelease(t))return e.__GetSourceMapRelease(u.kDefaultSourceMapURL)}})}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,(()=>{var e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",t="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",i=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},n=n=>n.map(n=>{if(null!==n&&"object"==typeof n){if(n[e])return n;if(n.then){var s=[];s.d=0,n.then(e=>{a[t]=e,i(s)},e=>{a[r]=e,i(s)});var a={};return a[e]=e=>e(s),a}}var o={};return o[e]=function(){},o[t]=n,o});__webpack_require__.a=(s,a,o)=>{o&&((l=[]).d=-1);var l,h,c,u,d=new Set,p=s.exports,m=new Promise((e,t)=>{u=t,c=e});m[t]=p,m[e]=e=>{l&&e(l),d.forEach(e),m.catch(function(){})},s.exports=m,a(i=>{h=n(i);var s,a=()=>h.map(e=>{if(e[r])throw e[r];return e[t]}),o=new Promise(t=>{(s=()=>t(a)).r=0;var r=e=>e!==l&&!d.has(e)&&(d.add(e),e&&!e.d&&(s.r++,e.push(s)));h.map(t=>t[e](r))});return s.r?o:a()},e=>(e?u(m[r]=e):c(p),i(l))),l&&l.d<0&&(l.d=0)}})(),(()=>{__webpack_require__.F={},__webpack_require__.E=e=>{Object.keys(__webpack_require__.F).map(t=>{__webpack_require__.F[t](e)})}})(),(()=>{__webpack_require__.H={},__webpack_require__.G=e=>{Object.keys(__webpack_require__.H).map(t=>{__webpack_require__.H[t](e)})}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=(e,t)=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,i)=>(__webpack_require__.f[i](e,r,t),r),[]))})(),(()=>{__webpack_require__.u=e=>"static/js/async/"+({361:"web-core-main-thread-apis",8:"legacy-wasm-chunk",895:"web-worker-runtime-main-thread"})[e]+".js"})(),(()=>{__webpack_require__.miniCssF=e=>""+e+".css"})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.p="http://lynx-web-core-mocked.localhost/"})(),(()=>{__webpack_require__.v=function(e,t,r,i){var n=fetch(__webpack_require__.p+"static/wasm/"+r.slice(0,8)+".module.wasm"),s=function(){return n.then(function(e){return e.arrayBuffer()}).then(function(e){return WebAssembly.instantiate(e,i)}).then(function(t){return Object.assign(e,t.instance.exports)})};return n.then(function(t){return"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(t,i).then(function(t){return Object.assign(e,t.instance.exports)},function(e){if("application/wasm"!==t.headers.get("Content-Type"))return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e),s();throw e}):s()})}})(),(()=>{var e={540:1},t=t=>{var[r,n,s]=t;for(var a in n)__webpack_require__.o(n,a)&&(__webpack_require__.m[a]=n[a]);for(s&&s(__webpack_require__);r.length;)e[r.pop()]=1;i(t)};__webpack_require__.f.i=(t,r)=>{e[t]||importScripts(__webpack_require__.p+__webpack_require__.u(t))};var r=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware||[],i=r.push.bind(r);r.push=t})(),(()=>{var e={895:["361"]};__webpack_require__.f.prefetch=(t,r)=>{Promise.all(r).then(()=>{var r=e[t];Array.isArray(r)&&r.map(__webpack_require__.E)})}})(),(()=>{var e={895:["361"]};__webpack_require__.f.preload=t=>{var r=e[t];Array.isArray(r)&&r.map(__webpack_require__.G)}})();var __webpack_exports__={};(()=>{var e=__webpack_require__(352),t=__webpack_require__(29);function r(e,r){let i=e.createCall(t.Fw);return(e,t)=>{r[e]&&t(r[e]),i(e).then(t)}}let i=(e,r)=>{let i=r.createCall(t.vn);return{animate(t,r,n,s){i("animate",e,{operation:t,id:r,keyframes:n,timingOptions:s})}}};function n(e,n,s,a){let o=new t.tf({rpc:s,receiveEventEndpoint:t.jK,sendEventEndpoint:t.Is});return{__globalProps:e.globalProps,getJSModule(e){},getNativeApp:()=>n,getCoreContext:()=>o,getCustomSectionSync:t=>e.customSections[t],getCustomSection:r(s,e.customSections),queueMicrotask:e=>{queueMicrotask(e)},createElement:(e,t)=>i(t,a),getI18nResource:()=>n.i18nResource.data,QueryComponent:(e,t)=>n.queryComponent(e,t)}}function s(e){return(r,i,n,s,a,o,l)=>{e.invoke(t.zk,[r,i,n,s,a,l]).then(o).catch(e=>{console.error("[lynx-web] invokeUIMethod failed",e),o({code:t.O4.UNKNOWN,data:""})})}}function a(e,r){e.registerHandlerLazy(t.Ke,r,"publicComponentEvent")}function o(e,r){e.registerHandler(t.pd,({exposures:e,disExposures:t})=>{e.length>0&&r.GlobalEventEmitter.emit("exposure",[e.map(e=>Object.assign(e,e.detail,{dataset:e.target.dataset}))]),t.length>0&&r.GlobalEventEmitter.emit("disexposure",[t.map(e=>Object.assign(e,e.detail,{dataset:e.target.dataset}))])})}async function l(e,r,i){let n=r.createCall(t.eZ),s=e.createCall(t.g),a={resumeExposure(){n(!0,!0)},stopExposure(e){n(!1,e.sendEvent??!0)}},o={call(e,t,r){s(e,t,"bridge").then(r)}},l={},h={};return await Promise.all(Object.entries(i).map(([e,t])=>import(t).then(t=>h[e]=t?.default?.(l,(t,r)=>s(t,r,e))))),Object.assign(l,{bridge:o,LynxExposureModule:a,...h})}function h(e,r){e.registerHandlerLazy(t.Ve,r,"updateCardData")}function c(e,r){e.registerHandlerLazy(t.JW,r,"publishEvent")}function u(e){let t=0;return{generatePipelineOptions:()=>({pipelineID:"_pipeline_"+t++,needTimestamps:!1}),onPipelineStart:function(){},markPipelineTiming:function(t,r){e.markTimingInternal(r,t)},bindPipelineIdWithTimingFlag:function(t,r){e.pipelineIdToTimingFlags.has(t)||e.pipelineIdToTimingFlags.set(t,[]),e.pipelineIdToTimingFlags.get(t).push(r)},profileStart:()=>{console.error("NYI: profileStart. This is an issue of lynx-core.")},profileEnd:()=>{console.error("NYI: profileEnd. This is an issue of lynx-core.")},profileMark:()=>{console.error("NYI: profileMark. This is an issue of lynx-core.")},profileFlowId:()=>(console.error("NYI: profileFlowId. This is an issue of lynx-core."),0),isProfileRecording:()=>(console.error("NYI: isProfileRecording. This is an issue of lynx-core."),!1)}}function d(e,r){e.registerHandler(t.hO,(...e)=>{r.GlobalEventEmitter.emit(...e)})}function p(){let e=new FinalizationRegistry(e=>e());return t=>{let r={};return e.register(r,t),r}}function m(e,r){e.registerHandlerLazy(t.yn,r,"updateGlobalProps")}function _(e,r,i,n){e.registerHandler(t.BE,e=>{i.setData(e),n.GlobalEventEmitter.emit("onI18nResourceReady",[])}),r.registerHandler(t.mB,e=>{i.setData(e),n.GlobalEventEmitter.emit("onI18nResourceReady",[])})}function y(e){return(r,i,n,s,a,o)=>{e.invoke(t.ZU,[r,i,n,s,o]).then(a).catch(e=>{console.error("[lynx-web] getPathInfo failed",e),a({code:t.O4.UNKNOWN,data:e.message||""})})}}function f(e){let t=new Map([["__Card__",e]]),r=(e,r="__Card__")=>{let i=t.get(r)?.manifest[`/${e}`];if(i)return i;let n=new XMLHttpRequest;if(n.open("GET",e,!1),n.send(null),200===n.status)return n.responseText;throw Error(`Failed to load ${e}, status: ${n.status}`)},i=async(e,r="__Card__")=>{let i=t.get(r)?.manifest[`/${e}`];return i||new Promise((t,r)=>{fetch(e).then(i=>{i.ok?i.text().then(e=>t(e),r):r(Error(`Failed to load ${e}, status: ${i.status}`))},r)})},n=(e,t)=>{let r=Function("postMessage","module","exports","lynxCoreInject","Card","setTimeout","setInterval","clearInterval","clearTimeout","NativeModules","Component","ReactLynx","nativeAppId","Behavior","LynxJSBI","lynx","window","document","frames","location","navigator","localStorage","history","Caches","screen","alert","confirm","prompt","fetch","XMLHttpRequest","webkit","Reporter","print","global","requestAnimationFrame","cancelAnimationFrame",e+"\n//# sourceURL="+t);return{init(e){let t={exports:{}},i=e.tt;return r(void 0,t,t.exports,e,i.Card,i.setTimeout,i.setInterval,i.clearInterval,i.clearTimeout,i.NativeModules,i.Component,i.ReactLynx,i.nativeAppId,i.Behavior,i.LynxJSBI,i.lynx,i.window,i.document,i.frames,i.location,i.navigator,i.localStorage,i.history,i.Caches,i.screen,i.alert,i.confirm,i.prompt,i.fetch,i.XMLHttpRequest,i.webkit,i.Reporter,i.print,i.global,i.requestAnimationFrame,i.cancelAnimationFrame),t.exports}}};return{readScript:r,loadScript:(e,t="__Card__")=>n(r(e,t),`${encodeURIComponent(t)}/${e}`),loadScriptAsync:async(e,t,r="__Card__")=>{i(e,r).then(i=>{t(null,n(i,`${encodeURIComponent(r)}/${e}`))})},templateCache:t}}let g=0,v={};async function b(e){let{mainThreadRpc:r,uiThreadRpc:i,template:n,nativeModulesMap:b,timingSystem:x}=e,E=u(x),S=r.createCallbackify(t.iH,2),A=i.createCall(t.PC),M=i.createCall(t.pT),T=i.createCallbackify(t.vr,3),C=r.createCall(t.nk),w=i.createCall(t.o2),{templateCache:I,loadScript:R,loadScriptAsync:L,readScript:k}=f(n);r.registerHandler(t.WS,(e,t)=>{I.set(e,t)});let O=new t.xY,N="",P={id:(g++).toString(),...E,setTimeout:setTimeout,setInterval:setInterval,clearTimeout:clearTimeout,clearInterval:clearInterval,nativeModuleProxy:await l(i,r,b),readScript:k,loadScriptAsync:L,loadScript:R,requestAnimationFrame:e=>requestAnimationFrame(e),cancelAnimationFrame:e=>cancelAnimationFrame(e),callLepusMethod:S,setNativeProps:A,getPathInfo:y(i),invokeUIMethod:s(i),tt:null,setCard(e){a(r,e),c(r,e),o(r,e),h(r,e),d(i,e),m(i,e),_(i,r,O,e),x.registerGlobalEmitter(e.GlobalEventEmitter),e.lynx.getCoreContext().__start(),P.tt=e},triggerComponentEvent:M,selectComponent:T,createJSObjectDestructionObserver:p(),setSharedData(e,t){v[e]=t},getSharedData:e=>v[e],i18nResource:O,reportException:(e,t)=>w(e,t,N),__SetSourceMapRelease:e=>N=e.message,queryComponent:(e,t)=>{I.has(e)?t({__hasReady:!0}):C(e).then(e=>{t?.(e)})}};return P}function x(e,r,i,n){e.registerHandler(t.hh,()=>{let e=r.id;n(e),i(e)})}let E=async(e,r)=>{let i=e.createCall(t.VK),n={};return await Promise.all(Object.entries(r).map(([r,s])=>import(s).then(s=>n[r]=s?.default?.(n,(e,t)=>i(e,t,r),r=>{e.registerHandler(t.Sy,e=>r(e))})))),{load:e=>n[e]}},S="lynx.performance.timing.onSetup",A="lynx.performance.timing.onUpdate";function M(e,r){let i=!0,n={},s=new Map,a=new Map,o=r.createCall(t.gx),l=[];function h(e){for(let{timingKey:t,pipelineId:r,timeStamp:i}of e){if(i||(i=performance.now()+performance.timeOrigin),!r){n[t]=i;continue}s.has(r)||s.set(r,{}),s.get(r)[t]=i}}let c=r=>{e.registerHandler(t.F6,(e,t)=>{if(t?e=e.concat(l):l=l.concat(e),i){let e={extra_timing:{},setup_timing:n,update_timings:{},metrics:{},has_reload:!1,thread_strategy:0,url:""};r.emit(S,[e]),o("timing",n)}else{let i=(t?s.get(t):void 0)??{},n={extra_timing:{},setup_timing:{},update_timings:Object.fromEntries([...e,...a.get(t)??[]].map(e=>[e,i])),metrics:{},has_reload:!1,thread_strategy:0,url:""};r.emit(A,[n]),o("timing",i)}t&&(a.delete(t),s.delete(t)),i&&(i=!1)})};return e.registerHandler(t.PM,h),r.registerHandler(t.PM,h),{markTimingInternal:(e,t,r)=>h([{timingKey:e,pipelineId:t,timeStamp:r}]),registerGlobalEmitter:c,pipelineIdToTimingFlags:a}}let T=Promise.resolve().then(__webpack_require__.bind(__webpack_require__,302));function C(r,i){let s=new e.C(r,"bg-to-ui"),a=new e.C(i,"bg-to-main"),o=M(a,s);o.markTimingInternal("load_core_start"),a.registerHandler(t.a$,async e=>{o.markTimingInternal("load_core_end");let t=await b({...e,uiThreadRpc:s,mainThreadRpc:a,timingSystem:o});globalThis["napiLoaderOnRT"+t.id]=await E(s,e.napiModulesMap);let r=n(e,t,a,s);T.then(({loadCard:i,destroyCard:n,callDestroyLifetimeFun:a,nativeGlobal:o,loadDynamicComponent:l})=>{o&&l&&(o.loadDynamicComponent=l),i(t,{...e,updateData:e.initData},r),x(s,t,n,a)})})}globalThis.nativeConsole=console,globalThis.onmessage=async e=>{let{mode:t,toPeerThread:r,toUIThread:i,systemInfo:n}=e.data;if(globalThis.SystemInfo||(globalThis.SystemInfo=n),"main"===t){let{startMainThreadWorker:e}=await __webpack_require__.e("895").then(__webpack_require__.bind(__webpack_require__,603));e(i,r)}else C(i,r)},Object.assign(globalThis,{module:{exports:null}})})()})();
3
+ `,e)}}var I=class{constructor(e,t){this.getApp=e,this.getNativeApp=t,this.setSourceMapRelease=e=>{F(e)&&e.name===u.kGetSourceMapReleaseErrorName&&R(e.message)&&R(e.stack)?this.getNativeApp().__SetSourceMapRelease({name:e.name,message:e.message,stack:e.stack}):JSON.stringify(e)},this.getSourceMapRelease=e=>{let t=this.getNativeApp().__GetSourceMapRelease(e);return t||(t=this.getNativeApp().__GetSourceMapRelease(u.kDefaultSourceMapURL)),t},this.getApp=e,this.getNativeApp=t}rebind(e){this.getApp=e}},V=class r{static{this.count=0}constructor(e){this.effect=e,this.id="__lynx-inner-js-animation-"+r.count++}cancel(){this.effect.target.cancelAnimate(this)}pause(){this.effect.target.pauseAnimate(this)}play(){this.effect.target.playAnimate(this)}},$=class{constructor(e,t,r){this.target=e,this.keyframes=t,this.options=r}},Q=class{constructor(e,t){this.keyframes=e,this.options=t}},Y=class{constructor(e,t,r){this.id=e,this.effect=new Q(t,r)}},L=class{constructor(e,t,r){this._root=e,this._idSelector="#"+t,this._lynx=r,this._element=void 0}ensureElement(){this._element||(this._element=this._lynx.createElement(this._root,this._idSelector))}animate(e,t){this.ensureElement();let r=new V(new $(this,e,t));return this._element.animate(0,r.id,e,t),r}playAnimate(e){this._element.animate(1,e.id,void 0,void 0)}pauseAnimate(e){this._element.animate(2,e.id,void 0,void 0)}cancelAnimate(e){this._element.animate(3,e.id,void 0,void 0)}finishAnimate(e){this._element.animate(4,e.id,void 0,void 0)}setProperty(e,t){if(this.ensureElement(),"string"==typeof e&&"string"==typeof t)this._element.setProperty({[e]:t});else if("object"==typeof e)this._element.setProperty(e);else throw Error(`setProperty's param must be string or object. While current type is ${typeof e} and ${typeof t}.`)}},ve=L,A=class r{constructor(e,t,r){this._component=e,this._taskQueue=t,this._native_proxy=r,this._fire_immediately=!1,this._root_unique_id=void 0}static fromQuery(e,t){return new r(t??e._component,e._taskQueue.slice(),e._native_proxy)}static newEmptyQuery(e,t){return new r(t??"",[],e)}commitTask(e){let t=r.fromQuery(this,this._component);return(t._taskQueue.push(e),this._fire_immediately)?void t.exec():t}in(e){return e.createSelectorQuery(this)}select(e){return new S(this,{type:0,identifier:e,component_id:this._component,root_unique_id:this._root_unique_id,first_only:!0})}selectAll(e){return new S(this,{type:0,identifier:e,component_id:this._component,root_unique_id:this._root_unique_id,first_only:!1})}selectReactRef(e){if(this._taskQueue.length){let e="selectReactRef() should be called before any other selector query methods";nativeConsole.warn(e);let t=Error(e);h(new G(e,t.stack),this._native_proxy.nativeApp);return}return this._fire_immediately=!0,new S(this,{type:1,identifier:e,component_id:this._component,root_unique_id:this._root_unique_id,first_only:!0})}selectRoot(){return this.select("")}selectUniqueID(e){return new S(this,{type:2,identifier:e.toString(),component_id:this._component,root_unique_id:this._root_unique_id,first_only:!0})}exec(){for(let e=0;e<this._taskQueue.length;++e)this._taskQueue[e](this._native_proxy)}setRoot(e){return this._root_unique_id=Number(e),this}},S=class{static{this.nodePool={}}constructor(e,t){this._nodeSelectToken=t,this._selectorQuery=e}invoke(e){let t=t=>{let r=t=>{0===t.code?e.success&&e.success(t.data):e.fail&&e.fail(t)};this._nodeSelectToken.first_only?t.nativeApp.invokeUIMethod(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,e.method,e.params??{},r,this._nodeSelectToken.root_unique_id):r({code:5,data:"selectAll not supported for invoke method"})};return this._selectorQuery.commitTask(t)}path(e){let t=t=>{let r=t=>{e&&e(t.data,t.status)};t.nativeApp.getPathInfo(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,r,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(t)}fields(e,t){let r=r=>{let i=i=>{if(e.query){let t=t=>{t.query=A.newEmptyQuery(r),t.query.setRoot(t.unique_id.toString()),e.unique_id||delete t.unique_id};if(this._nodeSelectToken.first_only){let e=i.data;e&&t(e)}else for(let e of i.data)t(e)}t&&t(i.data,i.status)},n=[];for(let t in e){if("query"==t&&!0==e[t]&&!e.unique_id){n.push("unique_id");continue}e[t]&&n.push(t)}r.nativeApp.getFields(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,n,i,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(r)}animate(e){let t=[];Array.isArray(e)?t=e:t.push(e);let r=e=>{t.forEach(t=>{e.nativeApp.animate(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,0,t?.id,t?.effect?.keyframes,t?.effect?.options)})};return this._selectorQuery.commitTask(r)}animationOperate(e,t){let r=[];Array.isArray(t)?r=t:r.push(t);let i=t=>{r.forEach(r=>{t.nativeApp.animate(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,e,r,null,null)})};return this._selectorQuery.commitTask(i)}playAnimation(e){return this.animationOperate(1,e)}pauseAnimation(e){return this.animationOperate(2,e)}cancelAnimation(e){return this.animationOperate(3,e)}finishAnimation(e){return this.animationOperate(4,e)}setNativeProps(e){let t=t=>{t.nativeApp.setNativeProps(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,e,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(t)}},b=class r{constructor(e,t,i,n){this.getNativeApp=e,this.getApp=t,this.Promise=i,this.getNativeLynx=n,this.setTimeout=this.getApp().wrapReport(this.getNativeApp().setTimeout,"setTimeout Error"),this.setInterval=this.getApp().wrapReport(this.getNativeApp().setInterval,"setInterval Error"),this.clearInterval=this.getNativeApp().clearInterval,this.clearTimeout=this.getNativeApp().clearTimeout,this.resumeExposure=this.getApp()._apiList.resumeExposure,this.requireModule=(e,t,i)=>{if(this.requireModule.cache[e])return this.requireModule.cache[e];let n=this.getApp().requireModule(e,t,i);return this.requireModule.cache[e]=n,n},this.requireModuleAsync=(e,t)=>{(t??=e=>{e&&this.getApp().handleUserError(e)},this.requireModuleAsync.cache[e])?t(null,this.requireModuleAsync.cache[e]):this.getApp().requireModuleAsync(e,(i,n)=>{i||(this.requireModuleAsync.cache[e]=n),t(i,n)})},this.createElement=(e,t)=>this.getNativeLynx().createElement(e,t),this.getElementById=e=>new ve("",e,this),this.reportError=(e,t)=>{let i;if(F(e))i=e;else{let t;i=Error(t="string"!=typeof e?JSON.stringify(e):e)}let{level:n="error"}=t||{},s;switch(n){case"error":default:s=1;break;case"warning":s=2;break;case"fatal":s=0}this.getApp().handleUserError(i,void 0,s)},this.registerModule=(e,t)=>this.getApp().registerModule(e,t),this.getJSModule=e=>this.getApp().getJSModule(e),this.getTextInfo=this.getApp()._apiList.getTextInfo,this.addFont=(e,t)=>{if(!k(e))throw Error("The first argument must be object type");if(!R(e["font-family"])||!R(e.src))throw Error("The font value must have font-family and src");if(!se(t))throw Error("The second argument must be function type");this.getNativeLynx().addFont(e,t)},this.stopExposure=this.getApp()._apiList.stopExposure,this.setObserverFrameRate=this.getApp()._apiList.setObserverFrameRate,this.performance=this.getApp().performance,this.beforePublishEvent=this.getApp()._aopManager._beforePublishEvent,this.setSessionStorageItem=(e,t)=>{this.dispatchSessionStorageEvent({type:"__SetSessionStorageItem",data:{key:e,value:t}})},this.getSessionStorageItem=(e,t)=>{this.getNativeApp().getSessionStorageItem(e,t)},this.subscribeSessionStorage=(e,t)=>{let i=r.__registerSharedDataCounter++;return this.getNativeApp().subscribeSessionStorage(e,i,t),i},this.unsubscribeSessionStorage=(e,t)=>{this.dispatchSessionStorageEvent({type:"__UnSubscribeSessionStorage",data:{key:e,listenerId:t}})},this.getDevtool=this.getNativeLynx().getDevtool,this.getCoreContext=this.getNativeLynx().getCoreContext,this.getJSContext=this.getNativeLynx().getJSContext,this.getUIContext=this.getNativeLynx().getUIContext,this.getNative=this.getNativeLynx().getNative,this.getEngine=this.getNativeLynx().getEngine,this.getCustomSectionSync=this.getNativeLynx().getCustomSectionSync,this.accessibilityAnnounce=this.getNativeApp().nativeModuleProxy.LynxAccessibilityModule?.accessibilityAnnounce,this.requestResourcePrefetch=this.getNativeApp().nativeModuleProxy.LynxResourceModule?.requestResourcePrefetch,this.cancelResourcePrefetch=this.getNativeApp().nativeModuleProxy.LynxResourceModule?.cancelResourcePrefetch,this.setSharedData=(e,t)=>{l.sharedData[e]=t;let i={};i[e]=t,l.shareDataSubject.notifyDataChange(i)},this.getSharedData=e=>l.sharedData[e],this.registerSharedDataObserver=e=>l.shareDataSubject.registerObserver(e),this.removeSharedDataObserver=e=>l.shareDataSubject.removeObserver(e),this.triggerLepusGlobalEvent=(e,t)=>this.getNativeApp().triggerLepusGlobalEvent(e,t),this.reload=(e,t)=>{this.getNativeLynx().reload(e,t)},this.fetchDynamicComponent=(e,t,i,n)=>this.getNativeLynx().fetchDynamicComponent(e,t,i,n),this.QueryComponent=(e,t)=>{let i=()=>{t({code:0,data:{url:e,sync:!0,error_message:"",mode:"cache"},detail:{schema:e,cache:!1,errMsg:""}})};if(this.getApp().loadedDynamicComponentsSet.has(e))return void i();let n=n=>{!0===n.__hasReady?(l.loadDynamicComponent(this.getApp(),e),i()):t(n)};this.getNativeLynx().QueryComponent(e,n)},this.loadDynamicComponent=(e,t,i={})=>new this.Promise((n,s)=>{let a=[],o;(Array.isArray(e)?(a=e,o=t):"string"==typeof t?(a=[e],o=t):(o=e,i=t),this.getApp().loadedDynamicComponentsSet.has(o))?n({code:0,data:{url:o,sync:!1,error_message:"",mode:"normal"},detail:{schema:o,cache:!1,errMsg:""}}):this.getNativeLynx().fetchDynamicComponent(o,i,e=>{e&&0==e.code?n(e):s(e)},a)}),this.fetch=(e,t)=>new this.Promise((i,n)=>{let s=new(this.getApp())._RequestClass(e,t),a=s.signal;if(a.aborted)return n(a.reason);a.addEventListener("abort",e=>{n(a.reason)});let o={method:s.method,url:s.url,origin:this.getNativeApp().__pageUrl,headers:Object.fromEntries(s.headers.entries()),body:s._arrayBuffer,lynxExtension:s.lynxExtension},h=s.lynxExtension.useStreaming;this.getApp().NativeModules.LynxFetchModule.fetch(o,e=>{if(!a.aborted)try{let t=new(this.getApp())._ReadableStreamClass,n=new(this.getApp())._ResponseClass(h?t:e.body,e);if(h){let e=n.lynxExtension.streamingId;this.getApp().GlobalEventEmitter.addListener(e,e=>{let i=e.event;"onData"===i?t.onData(e.data):"onEnd"===i?t.onEnd():"onError"===i&&t.onError(e.error)})}i(n)}catch{n(TypeError(e.statusText))}},e=>{a.aborted||n(TypeError(e.message))})}),this.createSelectorQuery=e=>A.newEmptyQuery({nativeApp:this.getNativeApp(),lynx:this},e),this.requestAnimationFrame=e=>this.getNativeApp().requestAnimationFrame(e),this.cancelAnimationFrame=e=>this.getNativeApp().cancelAnimationFrame(e),this.loadScript=this.getNativeLynx().loadScript,this.fetchBundle=this.getNativeLynx().fetchBundle,this.__addReporterCustomInfo=e=>{this.getNativeApp().__addReporterCustomInfo(e)},this.getModuleLoader=()=>l["napiRestrictedLoader"+this.getApp().nativeAppId],this.createAnimation=(e,t,i)=>new Y(e,t,i),this.init(void 0)}static{this.__registerSharedDataCounter=0}rebind(e){this.init(e)}init(e){if(e)this.getApp=e,this.__globalProps=this.getNativeLynx().__globalProps||{},this.__presetData=this.getNativeLynx().__presetData||{};else{let e={};this.requireModule.cache=e,this.requireModuleAsync.cache=e,this.__globalProps=this.getNativeLynx().__globalProps||{},this.__presetData=this.getNativeLynx().__presetData||{},this._switches={}}}dispatchSessionStorageEvent(e){0!=this.getCoreContext().dispatchEvent(e)&&this.getJSContext().dispatchEvent(e)}queueMicrotask(e){this.getNativeLynx().queueMicrotask(e)}},x=class{constructor(e){this._internal_callLynxSetModule=e,this._events=new Map}getEventsSize(e){return this._events.get(e)?.length}setCallLynxSetModule(e){this._internal_callLynxSetModule=e}addListener(e,t,r){let i=this._events.get(e);"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!0]),i?i.push({listener:t,context:r}):this._events.set(e,[{listener:t,context:r}])}removeListener(e,t){if("function"!=typeof t)throw Error("removeListener only takes instances of Function");let r=this._events.get(e),i=0;Array.isArray(r)&&r.some(e=>{if(t===e.listener)return!0;i++})&&r.splice(i,1),"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!1])}emit(e,t){let r=this._events.get(e);Array.isArray(r)&&r.forEach(e=>{let{listener:r,context:i}=e;"function"==typeof r&&r.apply(i||this,t)})}removeAllListeners(e){"string"==typeof e?this._events.delete(e):this._events=new Map}trigger(e,t){let r=this._events.get(e);Array.isArray(r)&&("string"==typeof t&&(t=JSON.parse(t)),r.forEach(e=>{let{listener:r,context:i}=e;"function"==typeof r&&r.call(i||this,t)}))}toggle(e,...t){this.emit(e,t)}},J=class{constructor(){this._beforePublishEvent=new le}},le=class extends x{add(e,t,r){return super.addListener(e,t,r),this}remove(e,t){return super.removeListener(e,t),this}},T=x,K=class{constructor(e){this._textInfoModule=void 0,this.getTextInfo=(e,t)=>(void 0===this._textInfoModule&&(this._textInfoModule=this._nativeModules.LynxTextInfoModule),this._textInfoModule&&this._textInfoModule.getTextInfo?this._textInfoModule.getTextInfo(e,t):{width:e.length}),this._nativeModules=e}},H=class{constructor(e){this.resumeExposure=()=>{this._exposureModule.resumeExposure()},this.stopExposure=e=>{this._exposureModule.stopExposure(e)},this.setObserverFrameRate=e=>{this._exposureModule.setObserverFrameRate(e)},this._nativeModules=e,this._exposureModule=this._nativeModules.LynxExposureModule}},ce=class{constructor(e,t){this._selector=e,this._callback=t}invokeCallback(e){this._callback(e)}},pe=class{constructor(e,t,r){this._id=e,this._intersectionObserverModule=t,this._manager=r,this._observationTargets=[],this._defaultMargins={left:0,right:0,top:0,bottom:0}}relativeTo(e,t){return this._intersectionObserverModule.relativeTo(this._id,e,t||this._defaultMargins),this}relativeToViewport(e){return this._intersectionObserverModule.relativeToViewport(this._id,e||this._defaultMargins),this}relativeToScreen(e){return this._intersectionObserverModule.relativeToScreen(this._id,e||this._defaultMargins),this}observe(e,t){this._observationTargets.push(new ce(e,t)),this._intersectionObserverModule.observe(this._id,e,this._observationTargets.length-1)}disconnect(){this._intersectionObserverModule.disconnect(this._id),this._manager.removeObserver(this._id)}invokeCallback(e,t){e<this._observationTargets.length&&this._observationTargets[e].invokeCallback(t)}},W=class{constructor(e){this._nativeModules=e,this._observerId=0,this._observers={},this._defaultOptions={thresholds:[0],initialRatio:0,observeAll:!1}}createIntersectionObserver(e,t){let r=this._nativeModules.IntersectionObserverModule,i=new pe(this._observerId,r,this);return this._observers[this._observerId]=i,r.createIntersectionObserver(this._observerId,e,t||this._defaultOptions),this._observerId++,i}getObserver(e){return this._observers[e]}removeObserver(e){this._observers[e]=null}},xe={onPerformance:"lynx.performance.onPerformanceEvent"},X=class{constructor(e,t){this._emitter=e,this._onPerformance=t,this._observedNames=[]}observe(e){this._observedNames.length>0||(this._observedNames=e,this._emitter.addListener(xe.onPerformance,this.onPerformanceEvent.bind(this)))}disconnect(){this._observedNames=[],this._emitter.removeListener(xe.onPerformance,this.onPerformanceEvent.bind(this))}onPerformanceEvent(e){if(0===this._observedNames.length)return;let t=e.entryType+"."+e.name;(this._observedNames.includes(t)||this._observedNames.includes(e.entryType))&&this._onPerformance(e)}},N={onSetup:"lynx.performance.timing.onSetup",onUpdate:"lynx.performance.timing.onUpdate"},P=class{constructor(e,t){this._emitter=e,this._generatePipelineOptions=t.generatePipelineOptions,this._onPipelineStart=t.onPipelineStart,this._markTiming=t.markPipelineTiming,this._profileStart=t.profileStart,this._profileEnd=t.profileEnd,this._profileMark=t.profileMark,this._profileFlowId=t.profileFlowId,this._isProfileRecording=t.isProfileRecording,this._bindPipelineIdWithTimingFlag=t.bindPipelineIdWithTimingFlag}profileStart(e,t){this._profileStart(e,t)}profileEnd(){this._profileEnd()}profileMark(e,t){this._profileMark(e,t)}profileFlowId(){return this._profileFlowId()}createObserver(e){return new X(this._emitter,e)}isProfileRecording(){return this._isProfileRecording()}addTimingListener(e){this._emitter.addListener(N.onSetup,e.onSetup,e),this._emitter.addListener(N.onUpdate,e.onUpdate,e)}removeTimingListener(e){this._emitter.removeListener(N.onSetup,e.onSetup),this._emitter.removeListener(N.onUpdate,e.onUpdate)}removeAllTimingListener(){this._emitter.removeAllListeners(N.onSetup),this._emitter.removeAllListeners(N.onUpdate)}_initializeAndStartPipeline(){let e=this._generatePipelineOptions();return e&&this._onPipelineStart(e.pipelineID),e}_checkAndBindTimingFlag(e,t){if(!e)return;let r="__lynx_timing_flag";t[r]&&(this._bindPipelineIdWithTimingFlag(e.pipelineID,t[r]),this._markTiming(e.pipelineID,"update_set_state_trigger"),e.needTimestamps=!0)}},Re=P,Se=l.LynxJSBI,f=class r{constructor(e){for(let t in this._cachedFunctions={},e)Object.defineProperty(this,t,{get(){if(this._cachedFunctions[t])return this._cachedFunctions[t];let r=e[t];return"function"==typeof r&&(this._cachedFunctions[t]=r),r}})}static create(e){return new r(e)}};function Ae(e,t,r,i,n=!1){let{getPromise:s}=l;return"function"==typeof s?s({nextTick:n?i:t=>e(t,0),setTimeout:e,onUnhandled:t,clearTimeout:r}):l.Promise}var Me,M=class{constructor(){}decode(e){return 0===e.byteLength?"":(e instanceof DataView?e=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength):ArrayBuffer.isView(e)&&(e=e.buffer),globalThis.TextCodecHelper.decode(e))}encodeInto(){throw TypeError("TextEncoder().encodeInto not supported")}get encoding(){return"utf-8"}get fatal(){return!1}get ignoreBOM(){return!0}},z=class{constructor(){}encode(e){return new Uint8Array(globalThis.TextCodecHelper.encode(e))}encodeInto(){throw TypeError("TextEncoder().encodeInto not supported")}get encoding(){return"utf-8"}},O=class r{constructor(){this._arrayBuffer=new ArrayBuffer(0),this._bodyStream=null,this._bodyUsed=!1}safeUseBody(e){if(this._bodyUsed)return;let t=e(this._arrayBuffer);return this._bodyUsed=!0,this._arrayBuffer=null,t}cloneArrayBuffer(e){return e.slice(0)}setBody(e){if(e instanceof r){if(e._bodyUsed||e._bodyStream)throw Error("body used, or try to copy body stream");this._arrayBuffer=this.cloneArrayBuffer(e._arrayBuffer)}else e instanceof ArrayBuffer?this._arrayBuffer=this.cloneArrayBuffer(e):e instanceof DataView?this._arrayBuffer=this.cloneArrayBuffer(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)):ArrayBuffer.isView(e)?this._arrayBuffer=this.cloneArrayBuffer(e.buffer):e&&(this._arrayBuffer=new z().encode(e.toString()).buffer),globalThis.ReadableStream&&e instanceof ReadableStream&&(this._bodyStream=e)}arrayBuffer(){return Promise.resolve(this.safeUseBody(e=>e))}get body(){if(this._bodyUsed)throw Error("body used");return this._bodyUsed=!0,this._bodyStream}text(){return Promise.resolve(this.safeUseBody(e=>new M().decode(e)))}json(){return Promise.resolve(this.safeUseBody(e=>JSON.parse(new M().decode(e))))}get bodyUsed(){return this._bodyUsed}},D=class r{constructor(e){if(this._headers_map=new Map,this[Me]="Headers",null===e||"number"==typeof e)throw TypeError("Headers init with null/number");if(e instanceof r)for(let[t,i]of e)this.append(t,i);else Array.isArray(e)?e.forEach(([e,t])=>{this.append(e,Array.isArray(t)?t.join(" "):t)}):e&&Object.getOwnPropertyNames(e).forEach(t=>{let i=e[t];this.append(t,Array.isArray(i)?i.join(" "):i)})}[(Me=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}*keys(){for(let[e,t]of this._headers_map)yield e}*values(){for(let[e,t]of this._headers_map)yield t}*entries(){for(let e of this._headers_map)yield e}has(e){return this._headers_map.has(e)}get(e){return this._headers_map.get(e)??null}set(e,t){this._headers_map.set(e,String(t))}append(e,t){let r=this.has(e)?`${this.get(e)}, ${t}`:t;this.set(e,r)}delete(e){this.has(e)&&this._headers_map.delete(e)}forEach(e,t){for(let[r,i]of this.entries())e.call(t,i,r,this)}},Z=class r extends T{get aborted(){return this._aborted}get reason(){return this._reason}constructor(){super(),this._aborted=!1}get[Symbol.toStringTag](){return"[object AbortSignal]"}dispatchEvent(e){"abort"===e.type&&(this._aborted=!0,this._reason=e.reason,"function"==typeof this.onabort&&this.onabort.call(this,e)),super.emit(e.type,e)}addEventListener(e,t){super.addListener(e,t)}removeEventListener(e,t){super.removeListener(e,t)}static __create(){return new r}};function de(e){return class e extends O{get url(){return this._url}get headers(){return this._headers}get method(){return this._method}get signal(){return this._signal}get lynxExtension(){return this._lynxExtension}constructor(t,r){if(super(),r=r||{},t instanceof e){if(t.bodyUsed)throw TypeError("Already read");this._url=t.url,r.headers||(this._headers=new D(t.headers)),this._method=t.method,this._signal=t.signal,this.setBody(t._arrayBuffer)}else this._url=String(t);if((r.headers||!this.headers)&&(this._headers=new D(r.headers)),this._method=r.method||this.method||"GET",this._method=this._method.toUpperCase(),("GET"===this.method||"HEAD"===this.method)&&r.body)throw TypeError("Body not allowed for GET or HEAD requests");"u">typeof r.signal&&(this._signal=r.signal),this._signal=this._signal||Z.__create(),this._lynxExtension=r.lynxExtension||{},this._headers.get("Content-Type")||("string"==typeof r.body?this._headers.set("Content-Type","text/plain;charset=UTF-8"):globalThis.URLSearchParams&&r.body instanceof URLSearchParams?this._headers.set("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"):r.body instanceof ArrayBuffer||this._headers.set("Content-Type","text/plain;charset=UTF-8")),this.setBody(r.body)}clone(){let t=new e(this,{method:this.method});return t.setBody(this),t}}}function _e(e){return class e extends O{get url(){return this._url}get status(){return this._status}get statusText(){return this._statusText}get ok(){return this._ok}get headers(){return this._headers}get lynxExtension(){return this._lynxExtension}constructor(e,t){if(super(),t=t||{},this._status=void 0===t.status?200:t.status,this._status<200||this._status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this._ok=this._status>=200&&this._status<300,this._statusText=void 0===t.statusText?"":""+t.statusText,this._headers=new Headers(t.headers),this._url=t.url||"",this._lynxExtension=t.lynxExtension||{},this.setBody(e)}clone(){let t=new e(null,{status:this._status,statusText:this._statusText,headers:new Headers(this._headers),url:this._url});return t.setBody(this),t}}}function he(e){return class{constructor(){this.__dataReceived=[],this.__done=!1,this.__cancelled=!1,this.__locked=!1,this.__eventCenter=new T}onData(e){this.__cancelled||(this.__dataReceived.push(e),this.__eventCenter.emit("waitSignal",null))}onEnd(){this.__done=!0,this.__eventCenter.emit("waitSignal",null)}onError(e){this.__error=Error(e),this.__eventCenter.emit("waitSignal",null)}processRead(e,t){if(this.__error)return t(this.__error);if(this.__cancelled||this.__done&&0==this.__dataReceived.length)return e({done:!0,value:void 0});if(this.__dataReceived.length>0)return e({done:!1,value:this.__dataReceived.shift()});let r=()=>{this.__eventCenter.removeListener("waitSignal",r),this.processRead(e,t)};this.__eventCenter.addListener("waitSignal",r,this)}__read(){return new e((e,t)=>{this.processRead(e,t)})}get locked(){return this.__locked}cancel(t){return this.__cancelled=!0,this.__dataReceived=null,this.__eventCenter.emit("waitSignal",null),e.resolve(t)}getReader(){return this.__locked?null:(this.__locked=!0,new me(this))}}}var me=class{constructor(e){this.__stream=e}cancel(e){return this.__stream.cancel(e)}read(){return this.__stream.__read()}},ee=class{static{this.EXECUTE_LOADED_SCRIPT="executeLoadedScript"}},u=class _BaseApp{constructor(e,t){this.dataTypeSet=new Set(["string","number","array","object","boolean","null","function"]),this.removeInternalEventListenersCallbacks=[],this.setSourceMapRelease=e=>{this.Reporter.setSourceMapRelease(e)},this.getSourceMapRelease=e=>this.Reporter.getSourceMapRelease(e),this.setupGetTextInfoApi=()=>{this._apiList.getTextInfo=(e,t)=>this._textInfoManager.getTextInfo(e,t)},this.setupExposureApi=()=>{this._apiList.resumeExposure=()=>{this._exposureManager.resumeExposure()},this._apiList.stopExposure=e=>{this._exposureManager.stopExposure(e||{sendEvent:!0})},this._apiList.setObserverFrameRate=e=>{this._exposureManager.setObserverFrameRate(e||{forPageRect:20,forExposureCheck:20})}},this.requestAnimationFrame=e=>this._nativeApp.requestAnimationFrame(e),this.cancelAnimationFrame=e=>this._nativeApp.cancelAnimationFrame(e),this.__removeInternalEventListeners=()=>{this.removeInternalEventListenersCallbacks.forEach(e=>{e()})},this.initBase(e),t?t.transferSingletonData(this,this.__internal__callLynxSetModule.bind(this)):this.initExtra(e),this.setTimeout=this.nativeApp.setTimeout,this.setInterval=this.nativeApp.setInterval,this.clearInterval=this.nativeApp.clearInterval,this.clearTimeout=this.nativeApp.clearTimeout,this.addInternalEventListeners()}initExtra(e){let{lynx:t}=e;this.modules={},this._lazyCallableModules=new Map,this._nativeApp=f.create(this._nativeApp),this.sharedConsole=w(`runtimeId:${this.nativeAppId}`),this.dynamicComponentExports={},this.loadedDynamicComponentsSet=new Set,this._lazyCallableModules=new Map,this.Reporter=new I(()=>this,()=>this.nativeApp),this.GlobalEventEmitter=new T(this.__internal__callLynxSetModule.bind(this)),this._intersectionObserverManager=new W(this.NativeModules),this._exposureManager=new H(this.NativeModules),this.setupExposureApi(),this._aopManager=new J,this.beforePublishEvent=this._aopManager._beforePublishEvent,this.performance=new Re(this.GlobalEventEmitter,this.nativeApp);let r=this.setupPromise(this.nativeApp.setTimeout,this.nativeApp.clearTimeout,t);this.lynx=this.createLynx(t,r),this.setupJSModule(),this.setupIntersectionApi(),this.setupFetchAPI(r)}initBase(e){let{nativeApp:t,params:r}=e;this.nativeAppId=t.id,this._params=r,this._nativeApp=t,this.NativeModules=t.nativeModuleProxy,this.LynxUIMethodModule=t.nativeModuleProxy.LynxUIMethodModule,this.LynxTestModule=t.nativeModuleProxy.LynxTestModule,this.LynxResourceModule=t.nativeModuleProxy.LynxResourceModule,this.LynxAccessibilityModule=t.nativeModuleProxy.LynxAccessibilityModule,this.LynxSetModule=t.nativeModuleProxy.LynxSetModule,this._apiList={},this._textInfoManager=new K(this.NativeModules),this.setupGetTextInfoApi()}static{this.kDefaultSourceMapURL="default"}static{this.kGetSourceMapReleaseErrorName=ge}set __sourcemap__release__(e){let t=Error();t.name="LynxGetSourceMapReleaseError",t.message=e,t.stack=`at <anonymous> (${_BaseApp.kDefaultSourceMapURL}:1:1)`,this.setSourceMapRelease(t)}destroy(){this.__removeInternalEventListeners(),this._nativeApp=null,this._params=null,this._lazyCallableModules=null,this.GlobalEventEmitter=null}registerModule(e,t){this._lazyCallableModules[e]=t}getJSModule(e){return this._lazyCallableModules[e]}setupJSModule(){this.registerModule("GlobalEventEmitter",this.GlobalEventEmitter),this.registerModule("Reporter",this.Reporter)}setupFetchAPI(e){this._createResponseClass=_e,this._createRequestClass=de,this._createReadableStreamClass=he,this._RequestClass=l.Request??de(e),this._ResponseClass=l.Response??_e(e),this._ReadableStreamClass=l.ReadableStream??he(e),l.Request||(l.Request=this._RequestClass),l.Response||(l.Response=this._ResponseClass),l.ReadableStream||(l.ReadableStream=this._ReadableStreamClass)}__internal__callLynxSetModule(e,t){let r=this.LynxSetModule[e];r&&Function.prototype.apply.call(r,void 0,t)}get nativeApp(){return this._nativeApp}set nativeApp(e){this._nativeApp=e}get params(){return this._params}set apiList(e){this._apiList={...this._apiList,...e}}setupIntersectionApi(){let e=this;this._apiList.createIntersectionObserver=function(t,r){let{componentId:i=""}=t;return e._intersectionObserverManager.createIntersectionObserver(i,r)},this.lynx.createIntersectionObserver=this._apiList.createIntersectionObserver}onIntersectionObserverEvent(e,t,r){let i=this._intersectionObserverManager.getObserver(e);i&&i.invokeCallback(t,r)}reportError(e){return this.lynx.reportError(e)}handleError(e,t,r){h(e,this.nativeApp,{originError:t,getSourceMapRelease:this.getSourceMapRelease,errorLevel:r})}handleUserError(e,t,r,i){let{message:n,name:s,stack:a}=e||{};n||({message:n,name:s,stack:a}=Error(JSON.stringify(e)));let o=new g(i?`${i} ${s}: ${n}`:`${s}: ${n}`,a);o.cause=t,this.handleError(o,e,r)}handleInternalError(e,t){let{message:r,name:i,stack:n}=e||{};r||({message:r,name:i,stack:n}=Error(JSON.stringify(e)));let s=new y(`${i}: ${r}`,n);s.cause=t,this.handleError(s,e)}getBoolEnv(e){return this.nativeApp.getEnv(e)?.toLowerCase()==="true"}static{this._$factoryCache={}}_$executeInit(e,{path:t,entryName:r}){let i;if(e&&e.init)i=e.init.bind(e);else if(l.initBundle)i=l.initBundle.bind(l.initBundle),delete l.initBundle;else throw new g(`load failed. path:${t},entryName:${r}`);try{this.lynx.performance.profileStart(ee.EXECUTE_LOADED_SCRIPT,{args:{path:t}});let e=i({tt:this});return _BaseApp._$factoryCache[t]=i,e}finally{this.lynx.performance.profileEnd()}}_$executeJSON(e,{path:t}){let r=JSON.parse(e),i=()=>r;return _BaseApp._$factoryCache[t]=i,r}requireModule(e,t,r){let i=_BaseApp._$factoryCache[e];if(i)return this._$executeInit({init:i},{path:e,entryName:t});if(e.split("?")[0].endsWith(".json")){let i=this.nativeApp.readScript(e,{dynamicComponentEntry:t??_,...r});return this._$executeJSON(i,{path:e,entryName:t})}let n=this.nativeApp.loadScript(e,t,r);return this._$executeInit(n,{path:e,entryName:t})}requireModuleAsync(e,t){let r=_BaseApp._$factoryCache[e];if(r)return void t(null,this._$executeInit({init:r},{path:e}));if(e.split("?")[0].endsWith(".json")){try{let r=this.nativeApp.readScript(e),i=this._$executeJSON(r,{path:e});t(null,i)}catch(e){t(e)}return}let i=Error();this.nativeApp.loadScriptAsync(e,(r,n)=>{if(r)return i.message=r,t(i);try{return t(null,this._$executeInit(n,{path:e}))}catch(e){return t(e)}})}require(path,params){let that=this;if("string"!=typeof path)throw Error("require args must be a string");let entryName=params&&params.dynamicComponentEntry?params.dynamicComponentEntry:_;that.modules[entryName]||(that.modules[entryName]={});let module=that.modules[entryName][path];if(!module){try{let tt=that,jsContent=that._nativeApp.readScript(path,{dynamicComponentEntry:entryName});eval(jsContent),module=that.modules[entryName][path]}catch(r){this.handleError(new g(`eval user: ${that._nativeApp.id} error: ${r.message}`,r.stack),r)}if(!that.modules[entryName][path])throw Error(`module ${path} in ${entryName} is not defined in card: ${that._nativeApp.id}`)}if(!module.hasRun){let{factory:r}=module,e={exports:{}},t;if(module.hasRun=!0,module.exports=e.exports,"function"==typeof r){let n=Ue.call(that,path),o=that;t=r(n,e,e.exports,that.Card.bind(o),that.setTimeout,that.setInterval,that.clearInterval,that.clearTimeout,that.NativeModules,that._apiList,that.sharedConsole,that.Component.bind(o),params?.ReactLynx,that.nativeAppId,that.Behavior.bind(o),Se,that.lynx,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,that.lynx.fetch,void 0,void 0,void 0,void 0,void 0,void 0,that.requestAnimationFrame,that.cancelAnimationFrame),module.exports=e.exports||t}}return module.exports}define(e,t,r){r=r||_,this.modules[r]||(this.modules[r]={}),this.modules[r][e]={hasRun:!1,factory:t.bind(this)}}callFunction(e,t,r){try{let i=this.getJSModule(e);"function"==typeof i[t]&&i[t].apply(i,r)}catch(r){this.handleUserError(r,{by:`${e}.${t}`})}}onAppError(e,t){this.handleInternalError(t)}saveDynamicComponentExports(e,t){this.dynamicComponentExports[e]=t}getDynamicComponentExports(e){return this.dynamicComponentExports[e]}Component(){}Card(){}Behavior(){}wrapReport(e,t){let r=this;function i(e){return function(...i){try{return e.apply(this,i)}catch(e){r.handleUserError(e,{by:t})}}}return function(t,...r){return Function.prototype.apply.call(e,void 0,[i(t),...r])}}setupPromise(e,t,r){let i=Ae(e,(e,t)=>{try{t&&(t.stack||(t=Error(JSON.stringify(t))),t.name="unhandled rejection",this.handleUserError(t))}catch{}},t,r.queueMicrotask,this._params?.pageConfigSubset?.enableMicrotaskPromisePolyfill??!1);return this.resolvedPromise=i.resolve(),i}addInternalEventListener(e,t,r){this.contextProxyTypeToMethod[e]().addEventListener(t,r),this.removeInternalEventListenersCallbacks.push(()=>{this.contextProxyTypeToMethod[e]().removeEventListener(t,r)})}addInternalEventListeners(){this.contextProxyTypeToMethod||(this.contextProxyTypeToMethod={0:()=>this.lynx.getCoreContext(),1:()=>this.lynx.getDevtool(),2:()=>this.lynx.getJSContext(),3:()=>this.lynx.getUIContext(),4:()=>this.lynx.getNative(),5:()=>this.lynx.getEngine()}),this.addInternalEventListener(0,"__OnNativeAppReady",()=>{this.onNativeAppReady()}),this.addInternalEventListener(0,"__NotifyGlobalPropsUpdated",e=>{this.updateGlobalProps(e.data)}),this.addInternalEventListener(0,"__OnLifecycleEvent",e=>{this.OnLifecycleEvent(e.data)}),this.addInternalEventListener(0,"__OnAppFirstScreen",()=>{this.onAppFirstScreen()}),this.addInternalEventListener(0,"__OnDynamicJSSourcePrepared",e=>{l.loadDynamicComponent(this,e.data)}),this.addInternalEventListener(0,"__OnAppEnterForeground",()=>{this.onAppEnterForeground()}),this.addInternalEventListener(0,"__OnAppEnterBackground",()=>{this.onAppEnterBackground()})}updateGlobalProps(e){}OnLifecycleEvent(e){}onNativeAppReady(){}onAppFirstScreen(){}onAppEnterBackground(){}onAppEnterForeground(){}};function De(e){let t=e.match(/(.*)\/([^/]+)?$/);return t?.[1]?t[1]:"./"}function Ue(e){let t=this,r=De(e);return function(e){let i=[],n=`${r}/${e}`.split("/"),s=n.length;if("string"!=typeof e)throw Error("require args must be a string");for(let r=0;r<s;++r){let a=n[r];if(""!==a&&"."!==a)if(".."===a){if(0===i.length)throw Error(`can't find module ${e} in app: ${t._nativeApp.id}`);i.pop()}else r+1<s&&".."===n[r+1]?r++:i.push(a)}let a=i.join("/");return a.endsWith(".js")||(a+=".js"),t.require(a)}}var te=class extends u{createLynx(e,t){let r=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>r)}callBeforePublishEvent(e){if(0!==this._aopManager._beforePublishEvent.getEventsSize(e.type)){let t={...e};try{this._aopManager._beforePublishEvent.emit(t.type,[t])}catch(e){this.handleUserError(e,{by:"callBeforePublishEvent",type:t.type})}}}},fe=class{transferSingletonData(e,t){e.nativeApp=this.nativeApp,e.sharedConsole=this.sharedConsole,e.dynamicComponentExports=this.dynamicComponentExports,e.loadedDynamicComponentsSet=this.loadedDynamicComponentsSet,e._intersectionObserverManager=this.intersectionObserverManager,e._exposureManager=this.exposureManager,e._textInfoManager=this.textInfoManager,this.globalEventEmitter.setCallLynxSetModule(t),e.GlobalEventEmitter=this.globalEventEmitter,e._aopManager=this.aopManager,e.performance=this.performance,e.modules=this.modules,e._lazyCallableModules=this.lazyCallableModules,e.lynx=this.lynx,this.lynx.rebind(()=>e),e._apiList=this.apiList,this.Reporter.rebind(()=>e),e.Reporter=this.Reporter,e.resolvedPromise=this.resolvedPromise}},U=class extends u{constructor(e,t){super(e,void 0),this.fillSingletonData();try{t.srcName&&(delete this.lynx.requireModule.cache[t.srcName],delete u._$factoryCache[t.srcName],this.lynx.requireModule(t.srcName,_),this.dataTypeSet.add("undefined"))}catch(e){this.handleUserError(e)}}createLynx(e,t){let r=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>r)}fillSingletonData(){this.singletonData=new fe,this.singletonData.nativeApp=this._nativeApp,this.singletonData.sharedConsole=this.sharedConsole,this.singletonData.dynamicComponentExports=this.dynamicComponentExports,this.singletonData.loadedDynamicComponentsSet=this.loadedDynamicComponentsSet,this.singletonData.intersectionObserverManager=this._intersectionObserverManager,this.singletonData.exposureManager=this._exposureManager,this.singletonData.textInfoManager=this._textInfoManager,this.singletonData.globalEventEmitter=this.GlobalEventEmitter,this.singletonData.aopManager=this._aopManager,this.singletonData.performance=this.performance,this.singletonData.modules=this.modules,this.singletonData.lazyCallableModules=this._lazyCallableModules,this.singletonData.lynx=this.lynx,this.singletonData.apiList=this._apiList,this.singletonData.Reporter=this.Reporter,this.singletonData.resolvedPromise=this.resolvedPromise}};function we(e,t,r){let{id:i}=e,{cardType:n}=t,s=!0,a;try{if(a="standalone"==n?new U({nativeApp:e,params:t,lynx:r},t):new te({nativeApp:e,params:t,lynx:r}),l.currentAppId=i,l.multiApps[i]=a,"standalone"===n)return e.setCard(a),!0;t.bundleSupportLoadScript,s=!0;try{delete a.lynx.requireModule.cache[E],delete u._$factoryCache[E],a.lynx.requireModule(E,_),a.lynx._switches.allowUndefinedInNativeDataTypeSet&&a.dataTypeSet.add("undefined")}catch(e){s=!1,a.handleUserError(e,void 0,void 0,"loadCard failed")}e.setCard(a)}catch(t){qe(e,t),s=!1}return s}function ke(e){l.multiApps[e].destroy(),delete l.multiApps[e]}function Fe(e){l.multiApps[e].callDestroyLifetimeFun()}function Be(e,t){if(e.loadedDynamicComponentsSet.has(t))return e.getDynamicComponentExports(t);let r=l.globDynamicComponentEntry;l.globDynamicComponentEntry=t;try{delete e.lynx.requireModule.cache[E],delete u._$factoryCache[E];let r=e.lynx.requireModule(E,t);return e.saveDynamicComponentExports(t,r),e.loadedDynamicComponentsSet.add(t),r}catch(t){e.handleUserError(t)}finally{l.globDynamicComponentEntry=r}}function qe(e,t,r){let{message:i,name:n,stack:s}=t||{};i||({message:i,name:n,stack:s}=Error(JSON.stringify(t)));let a=new y(`loadCard failed ${n}: ${i}`,s);a.cause=r,h(a,e,{originError:t,getSourceMapRelease:t=>{if(!e.__GetSourceMapRelease(t))return e.__GetSourceMapRelease(u.kDefaultSourceMapURL)}})}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,(()=>{var e="function"==typeof Symbol,t=e?Symbol("webpack queues"):"__webpack_queues__",r=__webpack_require__.aE=e?Symbol("webpack exports"):"__webpack_exports__",i=e?Symbol("webpack error"):"__webpack_error__",n=e?Symbol("webpack done"):"__webpack_done__",s=__webpack_require__.zS=e?Symbol("webpack defer"):"__webpack_defer__",a=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},o=e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[t]&&e[s]){var o=e[s];if(!o.some(e=>{var t=__webpack_module_cache__[e];return!t||!1===t[n]}))return e;var l=e;e={then(e){Promise.all(o.map(__webpack_require__)).then(()=>e(l))}}}if(e[t])return e;if(e.then){var h=[];h.d=0,e.then(e=>{c[r]=e,a(h)},e=>{c[i]=e,a(h)});var c={};return c[s]=!1,c[t]=e=>e(h),c}}var u={};return u[t]=function(){},u[r]=e,u});__webpack_require__.a=(e,l,h)=>{h&&((c=[]).d=-1);var c,u,d,p,m=new Set,_=e.exports,y=new Promise((e,t)=>{p=t,d=e});y[r]=_,y[t]=e=>{c&&e(c),m.forEach(e),y.catch(function(){})},e.exports=y,l(e=>{u=o(e);var n,a=()=>u.map(e=>{if(e[s])return e;if(e[i])throw e[i];return e[r]}),l=new Promise(e=>{(n=()=>e(a)).r=0;var r=e=>e!==c&&!m.has(e)&&(m.add(e),e&&!e.d&&(n.r++,e.push(n)));u.map(e=>e[s]||e[t](r))});return n.r?l:a()},e=>(e?p(y[i]=e):d(_),a(c),y[n]=!0)),c&&c.d<0&&(c.d=0)}})(),(()=>{__webpack_require__.F={},__webpack_require__.E=e=>{Object.keys(__webpack_require__.F).map(t=>{__webpack_require__.F[t](e)})}})(),(()=>{__webpack_require__.H={},__webpack_require__.G=e=>{Object.keys(__webpack_require__.H).map(t=>{__webpack_require__.H[t](e)})}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=(e,t)=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,i)=>(__webpack_require__.f[i](e,r,t),r),[]))})(),(()=>{__webpack_require__.u=e=>"static/js/async/"+({361:"web-core-main-thread-apis",8:"legacy-wasm-chunk",895:"web-worker-runtime-main-thread"})[e]+".js"})(),(()=>{__webpack_require__.miniCssF=e=>""+e+".css"})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.p="http://lynx-web-core-mocked.localhost/"})(),(()=>{__webpack_require__.v=function(e,t,r,i){var n=fetch(__webpack_require__.p+"static/wasm/"+r.slice(0,8)+".module.wasm"),s=function(){return n.then(function(e){return e.arrayBuffer()}).then(function(e){return WebAssembly.instantiate(e,i)}).then(function(t){return Object.assign(e,t.instance.exports)})};return n.then(function(t){return"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(t,i).then(function(t){return Object.assign(e,t.instance.exports)},function(e){if("application/wasm"!==t.headers.get("Content-Type"))return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e),s();throw e}):s()})}})(),(()=>{var e={540:1},t=t=>{var[r,n,s]=t;for(var a in n)__webpack_require__.o(n,a)&&(__webpack_require__.m[a]=n[a]);for(s&&s(__webpack_require__);r.length;)e[r.pop()]=1;i(t)};__webpack_require__.f.i=(t,r)=>{e[t]||importScripts(__webpack_require__.p+__webpack_require__.u(t))};var r=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware||[],i=r.push.bind(r);r.push=t})(),(()=>{var e={895:["361"]};__webpack_require__.f.prefetch=(t,r)=>{Promise.all(r).then(()=>{var r=e[t];Array.isArray(r)&&r.map(__webpack_require__.E)})}})(),(()=>{var e={895:["361"]};__webpack_require__.f.preload=t=>{var r=e[t];Array.isArray(r)&&r.map(__webpack_require__.G)}})();var __webpack_exports__={};(()=>{var e=__webpack_require__(352),t=__webpack_require__(29);function r(e,r){let i=e.createCall(t.Fw);return(e,t)=>{r[e]&&t(r[e]),i(e).then(t)}}let i=(e,r)=>{let i=r.createCall(t.vn);return{animate(t,r,n,s){i("animate",e,{operation:t,id:r,keyframes:n,timingOptions:s})}}};function n(e,n,s,a){let o=new t.tf({rpc:s,receiveEventEndpoint:t.jK,sendEventEndpoint:t.Is});return{__globalProps:e.globalProps,getJSModule(e){},getNativeApp:()=>n,getCoreContext:()=>o,getCustomSectionSync:t=>e.customSections[t],getCustomSection:r(s,e.customSections),queueMicrotask:e=>{queueMicrotask(e)},createElement:(e,t)=>i(t,a),getI18nResource:()=>n.i18nResource.data,QueryComponent:(e,t)=>n.queryComponent(e,t)}}function s(e){return(r,i,n,s,a,o,l)=>{e.invoke(t.zk,[r,i,n,s,a,l]).then(o).catch(e=>{console.error("[lynx-web] invokeUIMethod failed",e),o({code:t.O4.UNKNOWN,data:""})})}}function a(e,r){e.registerHandlerLazy(t.Ke,r,"publicComponentEvent")}function o(e,r){e.registerHandler(t.pd,({exposures:e,disExposures:t})=>{e.length>0&&r.GlobalEventEmitter.emit("exposure",[e.map(e=>Object.assign(e,e.detail,{dataset:e.target.dataset}))]),t.length>0&&r.GlobalEventEmitter.emit("disexposure",[t.map(e=>Object.assign(e,e.detail,{dataset:e.target.dataset}))])})}async function l(e,r,i){let n=r.createCall(t.eZ),s=e.createCall(t.g),a={resumeExposure(){n(!0,!0)},stopExposure(e){n(!1,e.sendEvent??!0)}},o={call(e,t,r){s(e,t,"bridge").then(r)}},l={},h={};return await Promise.all(Object.entries(i).map(([e,t])=>import(t).then(t=>h[e]=t?.default?.(l,(t,r)=>s(t,r,e))))),Object.assign(l,{bridge:o,LynxExposureModule:a,...h})}function h(e,r){e.registerHandlerLazy(t.Ve,r,"updateCardData")}function c(e,r){e.registerHandlerLazy(t.JW,r,"publishEvent")}function u(e){let t=0;return{generatePipelineOptions:()=>({pipelineID:"_pipeline_"+t++,needTimestamps:!1}),onPipelineStart:function(){},markPipelineTiming:function(t,r){e.markTimingInternal(r,t)},bindPipelineIdWithTimingFlag:function(t,r){e.pipelineIdToTimingFlags.has(t)||e.pipelineIdToTimingFlags.set(t,[]),e.pipelineIdToTimingFlags.get(t).push(r)},profileStart:()=>{console.error("NYI: profileStart. This is an issue of lynx-core.")},profileEnd:()=>{console.error("NYI: profileEnd. This is an issue of lynx-core.")},profileMark:()=>{console.error("NYI: profileMark. This is an issue of lynx-core.")},profileFlowId:()=>(console.error("NYI: profileFlowId. This is an issue of lynx-core."),0),isProfileRecording:()=>(console.error("NYI: isProfileRecording. This is an issue of lynx-core."),!1)}}function d(e,r){e.registerHandler(t.hO,(...e)=>{r.GlobalEventEmitter.emit(...e)})}function p(){let e=new FinalizationRegistry(e=>e());return t=>{let r={};return e.register(r,t),r}}function m(e,r){e.registerHandlerLazy(t.yn,r,"updateGlobalProps")}function _(e,r,i,n){e.registerHandler(t.BE,e=>{i.setData(e),n.GlobalEventEmitter.emit("onI18nResourceReady",[])}),r.registerHandler(t.mB,e=>{i.setData(e),n.GlobalEventEmitter.emit("onI18nResourceReady",[])})}function y(e){return(r,i,n,s,a,o)=>{e.invoke(t.ZU,[r,i,n,s,o]).then(a).catch(e=>{console.error("[lynx-web] getPathInfo failed",e),a({code:t.O4.UNKNOWN,data:e.message||""})})}}function f(e){let t=new Map([["__Card__",e]]),r=(e,r="__Card__")=>{let i=t.get(r)?.manifest[`/${e}`];if(i)return i;let n=new XMLHttpRequest;if(n.open("GET",e,!1),n.send(null),200===n.status)return n.responseText;throw Error(`Failed to load ${e}, status: ${n.status}`)},i=async(e,r="__Card__")=>{let i=t.get(r)?.manifest[`/${e}`];return i||new Promise((t,r)=>{fetch(e).then(i=>{i.ok?i.text().then(e=>t(e),r):r(Error(`Failed to load ${e}, status: ${i.status}`))},r)})},n=(e,t)=>{let r=Function("postMessage","module","exports","lynxCoreInject","Card","setTimeout","setInterval","clearInterval","clearTimeout","NativeModules","Component","ReactLynx","nativeAppId","Behavior","LynxJSBI","lynx","window","document","frames","location","navigator","localStorage","history","Caches","screen","alert","confirm","prompt","fetch","XMLHttpRequest","webkit","Reporter","print","global","requestAnimationFrame","cancelAnimationFrame",e+"\n//# sourceURL="+t);return{init(e){let t={exports:{}},i=e.tt;return r(void 0,t,t.exports,e,i.Card,i.setTimeout,i.setInterval,i.clearInterval,i.clearTimeout,i.NativeModules,i.Component,i.ReactLynx,i.nativeAppId,i.Behavior,i.LynxJSBI,i.lynx,i.window,i.document,i.frames,i.location,i.navigator,i.localStorage,i.history,i.Caches,i.screen,i.alert,i.confirm,i.prompt,i.fetch,i.XMLHttpRequest,i.webkit,i.Reporter,i.print,i.global,i.requestAnimationFrame,i.cancelAnimationFrame),t.exports}}};return{readScript:r,loadScript:(e,t="__Card__")=>n(r(e,t),`${encodeURIComponent(t)}/${e}`),loadScriptAsync:async(e,t,r="__Card__")=>{i(e,r).then(i=>{t(null,n(i,`${encodeURIComponent(r)}/${e}`))})},templateCache:t}}let g=0,v={};async function b(e){let{mainThreadRpc:r,uiThreadRpc:i,template:n,nativeModulesMap:b,timingSystem:x}=e,E=u(x),S=r.createCallbackify(t.iH,2),A=i.createCall(t.PC),M=i.createCall(t.pT),T=i.createCallbackify(t.vr,3),C=r.createCall(t.nk),w=i.createCall(t.o2),{templateCache:I,loadScript:R,loadScriptAsync:k,readScript:L}=f(n);r.registerHandler(t.WS,(e,t)=>{I.set(e,t)});let O=new t.xY,N="",P={id:(g++).toString(),...E,setTimeout:setTimeout,setInterval:setInterval,clearTimeout:clearTimeout,clearInterval:clearInterval,nativeModuleProxy:await l(i,r,b),readScript:L,loadScriptAsync:k,loadScript:R,requestAnimationFrame:e=>requestAnimationFrame(e),cancelAnimationFrame:e=>cancelAnimationFrame(e),callLepusMethod:S,setNativeProps:A,getPathInfo:y(i),invokeUIMethod:s(i),tt:null,setCard(e){a(r,e),c(r,e),o(r,e),h(r,e),d(i,e),m(i,e),_(i,r,O,e),x.registerGlobalEmitter(e.GlobalEventEmitter),e.lynx.getCoreContext().__start(),P.tt=e},triggerComponentEvent:M,selectComponent:T,createJSObjectDestructionObserver:p(),setSharedData(e,t){v[e]=t},getSharedData:e=>v[e],i18nResource:O,reportException:(e,t)=>w(e,t,N),__SetSourceMapRelease:e=>N=e.message,queryComponent:(e,t)=>{I.has(e)?t({__hasReady:!0}):C(e).then(e=>{t?.(e)})}};return P}function x(e,r,i,n){e.registerHandler(t.hh,()=>{let e=r.id;n(e),i(e)})}let E=async(e,r)=>{let i=e.createCall(t.VK),n={};return await Promise.all(Object.entries(r).map(([r,s])=>import(s).then(s=>n[r]=s?.default?.(n,(e,t)=>i(e,t,r),r=>{e.registerHandler(t.Sy,e=>r(e))})))),{load:e=>n[e]}},S="lynx.performance.timing.onSetup",A="lynx.performance.timing.onUpdate";function M(e,r){let i=!0,n={},s=new Map,a=new Map,o=r.createCall(t.gx),l=[];function h(e){for(let{timingKey:t,pipelineId:r,timeStamp:i}of e){if(i||(i=performance.now()+performance.timeOrigin),!r){n[t]=i;continue}s.has(r)||s.set(r,{}),s.get(r)[t]=i}}let c=r=>{e.registerHandler(t.F6,(e,t)=>{if(t?e=e.concat(l):l=l.concat(e),i){let e={extra_timing:{},setup_timing:n,update_timings:{},metrics:{},has_reload:!1,thread_strategy:0,url:""};r.emit(S,[e]),o("timing",n)}else{let i=(t?s.get(t):void 0)??{},n={extra_timing:{},setup_timing:{},update_timings:Object.fromEntries([...e,...a.get(t)??[]].map(e=>[e,i])),metrics:{},has_reload:!1,thread_strategy:0,url:""};r.emit(A,[n]),o("timing",i)}t&&(a.delete(t),s.delete(t)),i&&(i=!1)})};return e.registerHandler(t.PM,h),r.registerHandler(t.PM,h),{markTimingInternal:(e,t,r)=>h([{timingKey:e,pipelineId:t,timeStamp:r}]),registerGlobalEmitter:c,pipelineIdToTimingFlags:a}}let T=Promise.resolve().then(__webpack_require__.bind(__webpack_require__,302));function C(r,i){let s=new e.C(r,"bg-to-ui"),a=new e.C(i,"bg-to-main"),o=M(a,s);o.markTimingInternal("load_core_start"),a.registerHandler(t.a$,async e=>{o.markTimingInternal("load_core_end");let t=await b({...e,uiThreadRpc:s,mainThreadRpc:a,timingSystem:o});globalThis["napiLoaderOnRT"+t.id]=await E(s,e.napiModulesMap);let r=n(e,t,a,s);T.then(({loadCard:i,destroyCard:n,callDestroyLifetimeFun:a,nativeGlobal:o,loadDynamicComponent:l})=>{o&&l&&(o.loadDynamicComponent=l),i(t,{...e,updateData:e.initData},r),x(s,t,n,a)})})}globalThis.nativeConsole=console,globalThis.onmessage=async e=>{let{mode:t,toPeerThread:r,toUIThread:i,systemInfo:n}=e.data;if(globalThis.SystemInfo||(globalThis.SystemInfo=n),"main"===t){let{startMainThreadWorker:e}=await __webpack_require__.e("895").then(__webpack_require__.bind(__webpack_require__,603));e(i,r)}else C(i,r)},Object.assign(globalThis,{module:{exports:null}})})()})();
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware||[]).push([["8"],{431:function(e,n,t){t.a(e,async function(e,_){try{t.d(n,{Ao:()=>o.Ao,Wp:()=>o.Wp,aC:()=>o.aC,bk:()=>o.bk,dZ:()=>o.dZ,iG:()=>o.iG,lI:()=>o.lI,pY:()=>o.pY});var r=t(91),o=t(497),i=e([r]);r=(i.then?(await i)():i)[0],(0,o.lI)(r),_()}catch(e){_(e)}})},497:function(e,n,t){let _;function r(e){_=e}t.d(n,{Ao:()=>v,Wp:()=>k,aC:()=>y,bk:()=>A,dZ:()=>x,iG:()=>m,lI:()=>r,pY:()=>I});let o=Array(128).fill(void 0);o.push(void 0,null,!0,!1);let i=o.length;function a(e){i===o.length&&o.push(o.length+1);let n=i;return i=o[n],o[n]=e,n}let l=null;function u(){return(null===l||0===l.byteLength)&&(l=new Uint8Array(_.memory.buffer)),l}let d=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});d.decode();let b=0;function c(e,n){var t;return e>>>=0,t=e,(b+=n)>=0x7ff00000&&((d=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),b=n),d.decode(u().subarray(t,t+n))}function f(e){let n=o[e];return e<132||(o[e]=i,i=e),n}let w=0,s=new TextEncoder;function g(e,n,t){if(void 0===t){let t=s.encode(e),_=n(t.length,1)>>>0;return u().subarray(_,_+t.length).set(t),w=t.length,_}let _=e.length,r=n(_,1)>>>0,o=u(),i=0;for(;i<_;i++){let n=e.charCodeAt(i);if(n>127)break;o[r+i]=n}if(i!==_){0!==i&&(e=e.slice(i)),r=t(r,_,_=i+3*e.length,1)>>>0;let n=u().subarray(r+i,r+_);i+=s.encodeInto(e,n).written,r=t(r,_,i,1)>>>0}return w=i,r}"encodeInto"in s||(s.encodeInto=function(e,n){let t=s.encode(e);return n.set(t),{read:e.length,written:t.length}});let p=null;function h(){return(null===p||!0===p.buffer.detached||void 0===p.buffer.detached&&p.buffer!==_.memory.buffer)&&(p=new DataView(_.memory.buffer)),p}function y(e){try{let r,o=_.__wbindgen_add_to_stack_pointer(-16),i=g(e,_.__wbindgen_export_0,_.__wbindgen_export_1),a=w;_.transform_raw_u16_inline_style_ptr(o,i,a);var n=h().getInt32(o+0,!0),t=h().getInt32(o+4,!0);return 0!==n&&(r=c(n,t).slice(),_.__wbindgen_export_2(n,+t,1)),r}finally{_.__wbindgen_add_to_stack_pointer(16)}}function m(e,n){let t=g(e,_.__wbindgen_export_0,_.__wbindgen_export_1),r=w,o=g(n,_.__wbindgen_export_0,_.__wbindgen_export_1),i=w;return f(_.transform_raw_u16_inline_style_ptr_parsed(t,r,o,i))}function x(){return a([])}function k(e,n){return o[e].push(o[n])}function v(e,n){throw Error(c(e,n))}function I(e,n){return a(c(e,n))}function A(e){f(e)}},326:function(e,n,t){t.a(e,async function(e,_){try{t.r(n),t.d(n,{__wbg_new_1f3a344cf3123716:()=>r.dZ,__wbg_push_330b2eb93e4e1212:()=>r.Wp,__wbg_set_wasm:()=>r.lI,__wbg_wbindgenthrow_451ec1a8469d7eb6:()=>r.Ao,__wbindgen_cast_2241b6af4c4b2941:()=>r.pY,__wbindgen_object_drop_ref:()=>r.bk,memory:()=>o.memory,transform_raw_u16_inline_style_ptr:()=>r.aC,transform_raw_u16_inline_style_ptr_parsed:()=>r.iG});var r=t(431),o=t(91),i=e([r,o]);[r,o]=i.then?(await i)():i,_()}catch(e){_(e)}})},91:function(e,n,t){var _=t(497);e.exports=t.v(n,e.id,"e9aa597d736294a6",{"./legacy_bg.js":{__wbg_new_1f3a344cf3123716:_.dZ,__wbg_push_330b2eb93e4e1212:_.Wp,__wbindgen_object_drop_ref:_.bk,__wbg_wbindgenthrow_451ec1a8469d7eb6:_.Ao,__wbindgen_cast_2241b6af4c4b2941:_.pY}})}}]);
1
+ "use strict";(globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware||[]).push([["8"],{431:function(e,n,t){t.a(e,async function(e,_){try{t.d(n,{Ao:()=>o.Ao,Wp:()=>o.Wp,aC:()=>o.aC,bk:()=>o.bk,dZ:()=>o.dZ,iG:()=>o.iG,lI:()=>o.lI,pY:()=>o.pY});var r=t(472),o=t(497),i=e([r]);r=(i.then?(await i)():i)[0],(0,o.lI)(r),_()}catch(e){_(e)}})},497:function(e,n,t){let _;function r(e){_=e}t.d(n,{Ao:()=>v,Wp:()=>k,aC:()=>y,bk:()=>A,dZ:()=>x,iG:()=>m,lI:()=>r,pY:()=>I});let o=Array(128).fill(void 0);o.push(void 0,null,!0,!1);let i=o.length;function a(e){i===o.length&&o.push(o.length+1);let n=i;return i=o[n],o[n]=e,n}let l=null;function u(){return(null===l||0===l.byteLength)&&(l=new Uint8Array(_.memory.buffer)),l}let d=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});d.decode();let b=0;function c(e,n){var t;return e>>>=0,t=e,(b+=n)>=0x7ff00000&&((d=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),b=n),d.decode(u().subarray(t,t+n))}function f(e){let n=o[e];return e<132||(o[e]=i,i=e),n}let w=0,s=new TextEncoder;function g(e,n,t){if(void 0===t){let t=s.encode(e),_=n(t.length,1)>>>0;return u().subarray(_,_+t.length).set(t),w=t.length,_}let _=e.length,r=n(_,1)>>>0,o=u(),i=0;for(;i<_;i++){let n=e.charCodeAt(i);if(n>127)break;o[r+i]=n}if(i!==_){0!==i&&(e=e.slice(i)),r=t(r,_,_=i+3*e.length,1)>>>0;let n=u().subarray(r+i,r+_);i+=s.encodeInto(e,n).written,r=t(r,_,i,1)>>>0}return w=i,r}"encodeInto"in s||(s.encodeInto=function(e,n){let t=s.encode(e);return n.set(t),{read:e.length,written:t.length}});let p=null;function h(){return(null===p||!0===p.buffer.detached||void 0===p.buffer.detached&&p.buffer!==_.memory.buffer)&&(p=new DataView(_.memory.buffer)),p}function y(e){try{let r,o=_.__wbindgen_add_to_stack_pointer(-16),i=g(e,_.__wbindgen_export_0,_.__wbindgen_export_1),a=w;_.transform_raw_u16_inline_style_ptr(o,i,a);var n=h().getInt32(o+0,!0),t=h().getInt32(o+4,!0);return 0!==n&&(r=c(n,t).slice(),_.__wbindgen_export_2(n,+t,1)),r}finally{_.__wbindgen_add_to_stack_pointer(16)}}function m(e,n){let t=g(e,_.__wbindgen_export_0,_.__wbindgen_export_1),r=w,o=g(n,_.__wbindgen_export_0,_.__wbindgen_export_1),i=w;return f(_.transform_raw_u16_inline_style_ptr_parsed(t,r,o,i))}function x(){return a([])}function k(e,n){return o[e].push(o[n])}function v(e,n){throw Error(c(e,n))}function I(e,n){return a(c(e,n))}function A(e){f(e)}},326:function(e,n,t){t.a(e,async function(e,_){try{t.r(n),t.d(n,{__wbg_new_1f3a344cf3123716:()=>r.dZ,__wbg_push_330b2eb93e4e1212:()=>r.Wp,__wbg_set_wasm:()=>r.lI,__wbg_wbindgenthrow_451ec1a8469d7eb6:()=>r.Ao,__wbindgen_cast_2241b6af4c4b2941:()=>r.pY,__wbindgen_object_drop_ref:()=>r.bk,memory:()=>o.memory,transform_raw_u16_inline_style_ptr:()=>r.aC,transform_raw_u16_inline_style_ptr_parsed:()=>r.iG});var r=t(431),o=t(472),i=e([r,o]);[r,o]=i.then?(await i)():i,_()}catch(e){_(e)}})},472:function(e,n,t){var _=t(497);e.exports=t.v(n,e.id,"e9aa597d736294a6",{"./legacy_bg.js":{__wbg_new_1f3a344cf3123716:_.dZ,__wbg_push_330b2eb93e4e1212:_.Wp,__wbindgen_object_drop_ref:_.bk,__wbg_wbindgenthrow_451ec1a8469d7eb6:_.Ao,__wbindgen_cast_2241b6af4c4b2941:_.pY}})}}]);