@lynx-js/web-rsbuild-server-middleware 0.21.0 → 0.21.1
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 +2 -0
- package/package.json +5 -5
- package/www/static/css/index.css +1 -1
- package/www/static/js/async/legacy-wasm-js.js +2 -2
- package/www/static/js/async/lynx-core-chunk.js +2 -2
- package/www/static/js/async/web-core-main-chunk.js +1 -1
- package/www/static/js/async/web-core-template-loader-thread.js +3 -3
- package/www/static/js/async/web-core-worker-chunk.js +1 -1
- package/www/static/js/async/web-elements.js +12 -12
- package/www/static/js/async/xmarkdown-deps.js +3 -3
- package/www/static/js/index.js +3 -3
- package/www/static/wasm/{f0f41fb3.module.wasm → 9643d623d3.module.wasm} +0 -0
- package/www/static/wasm/{e45220fa.module.wasm → c3964f797a.module.wasm} +0 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-rsbuild-server-middleware",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "a dev server middleware for rsbuild to serve Lynx Web Platform shell project",
|
|
6
6
|
"keywords": [],
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@rsbuild/core": "
|
|
27
|
-
"rsbuild-plugin-arethetypeswrong": "0.
|
|
26
|
+
"@rsbuild/core": "2.0.11",
|
|
27
|
+
"rsbuild-plugin-arethetypeswrong": "0.3.1",
|
|
28
28
|
"rsbuild-plugin-publint": "0.3.4",
|
|
29
|
-
"@lynx-js/web-core": "0.21.
|
|
30
|
-
"@lynx-js/web-elements": "0.12.
|
|
29
|
+
"@lynx-js/web-core": "0.21.1",
|
|
30
|
+
"@lynx-js/web-elements": "0.12.4"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rsbuild build"
|
package/www/static/css/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
lynx-view{contain:strict;--rpx-unit:calc(1cqw/7.5);--ppx-unit:1cqw;--vw-unit:1cqw;--vh-unit:1cqh;width:100%;display:none;container:lynx-view/inline-size}lynx-view[transform-vh]{container-type:size}lynx-view[ssr]{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){--rpx-unit:inherit;--ppx-unit:inherit;--vw-unit:inherit;--vh-unit:inherit;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 --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@supports not ((content-visibility:auto) and (transition-behavior:allow-discrete) and (-webkit-box-reflect:above)){*{--lynx-display:linear;--lynx-linear-weight-sum:1;--lynx-linear-weight:0;--justify-content-column:flex-start;--justify-content-column-reverse:flex-start;--justify-content-row:flex-start;--justify-content-row-reverse:flex-start;--align-self-row:auto;--align-self-column:auto;--lynx-linear-weight-basis:auto;--lynx-linear-orientation:vertical;--flex-direction:row;--flex-grow:0;--flex-shrink:1;--flex-basis:auto;--justify-content:flex-start;--flex-wrap:nowrap;--align-self:auto}[lynx-computed-display=linear]{flex-direction:column;justify-content:flex-start;flex-wrap:nowrap!important}[lynx-computed-display=flex]{flex-direction:var(--flex-direction);justify-content:var(--justify-content);flex-wrap:var(--flex-wrap)}[lynx-computed-display=flex]>*,[lynx-computed-display=flex]>lynx-wrapper>*{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}[lynx-computed-display=linear]>*,[lynx-computed-display=linear]>lynx-wrapper>*{flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))))!important;flex-basis:var(--lynx-linear-weight-basis)!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]{justify-content:var(--justify-content-column);flex-direction:column!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]{justify-content:var(--justify-content-row);flex-direction:row!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]{justify-content:var(--justify-content-column-reverse);flex-direction:column-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]{justify-content:var(--justify-content-row-reverse);flex-direction:row-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse],[lynx-computed-display=linear][lynx-linear-orientation=vertical]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]>lynx-wrapper>*{align-self:var(--align-self-column)}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse],[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]>lynx-wrapper>*{align-self:var(--align-self-row)}}x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{box-sizing:border-box;scrollbar-width:none;border-style:solid;border-width:0;min-width:0;min-height:0;display:flex;position:relative;overflow:clip}x-view::--webkit-scrollbar{display:none}x-view,scroll-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{--lynx-display-toggle:var(--lynx-display-linear);--lynx-display-linear:var(--lynx-display-toggle, );--lynx-display-flex:var(--lynx-display-toggle, );--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation-horizontal:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-horizontal-reverse:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical-reverse:var(--lynx-linear-orientation-toggle, );--linear-flex-direction:var(--lynx-linear-orientation-horizontal,row)var(--lynx-linear-orientation-vertical,column)var(--lynx-linear-orientation-horizontal-reverse,row-reverse)var(--lynx-linear-orientation-vertical-reverse,column-reverse);--linear-justify-content:var(--lynx-linear-orientation-horizontal,var(--justify-content-row))var(--lynx-linear-orientation-vertical,var(--justify-content-column))var(--lynx-linear-orientation-horizontal-reverse,var(--justify-content-row-reverse))var(--lynx-linear-orientation-vertical-reverse,var(--justify-content-column-reverse))}x-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{flex-wrap:var(--lynx-display-linear,nowrap)var(--lynx-display-flex,var(--flex-wrap));flex-direction:var(--lynx-display-linear,var(--linear-flex-direction))var(--lynx-display-flex,var(--flex-direction));justify-content:var(--lynx-display-linear,var(--linear-justify-content))}@supports (content-visibility:auto) and (transition-behavior:allow-discrete) and (-webkit-box-reflect:above){@container style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))));flex-basis:var(--lynx-linear-weight-basis)}}@container not style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:vertical) or style(--lynx-linear-orientation:vertical-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-column)}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:horizontal) or style(--lynx-linear-orientation:horizontal-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-row)}}}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-foldview-ng::-webkit-scrollbar{display:none}x-foldview-ng[scroll-bar-enable]{scrollbar-width:initial}x-foldview-ng[scroll-bar-enable]::-webkit-scrollbar{display:initial}x-foldview-ng:not([scroll-bar-enable],[scroll-bar-enable=true])::-webkit-scrollbar{display:none}x-foldview-ng[scroll-enable=false]{overflow-y:hidden}x-foldview-ng>*,x-foldview-header-ng,x-foldview-slot-ng,x-foldview-toolbar-ng{display:none}x-foldview-ng>x-foldview-header-ng,x-foldview-ng>x-foldview-slot-ng,x-foldview-ng>x-foldview-toolbar-ng,x-foldview-ng>lynx-wrapper>x-foldview-header-ng,x-foldview-ng>lynx-wrapper>x-foldview-slot-ng,x-foldview-ng>lynx-wrapper>x-foldview-toolbar-ng{display:flex}x-foldview-toolbar-ng{z-index:1;order:1;position:sticky;top:0}x-foldview-header-ng{flex:none;order:2;position:absolute}x-foldview-ng[header-over-slot]>x-foldview-slot-ng,x-foldview-ng[header-over-slot]>lynx-wrapper>x-foldview-slot-ng{z-index:1}x-foldview-slot-ng{contain:strict;order:3}x-foldview-slot-ng scroll-view{overscroll-behavior-y:none}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!important}x-input::part(form){display:contents}x-input::part(input),x-input::part(form){box-sizing:inherit;width:inherit;height:inherit;border:inherit;border-radius:inherit;align-self:inherit;justify-self:inherit;text-align:inherit;direction:inherit;caret-color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;flex:inherit;background-color:inherit;z-index:inherit;margin:inherit;padding:inherit;color:inherit}x-input::part(input){--placeholder-color:grey;--placeholder-font-weight:normal}x-input::part(input)::placeholder{color:var(--placeholder-color);font-family:var(--placeholder-font-family);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight)}x-markdown{color:inherit;flex-direction:column;align-items:stretch;display:flex}x-markdown::part(root){width:100%}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;container-type:size}x-list>:not(list-item){display:none}x-list::part(content),x-list[list-type=waterfall]::part(waterfall-content){justify-content:inherit;background-color:inherit;flex-wrap:nowrap;flex:none;flex-direction:inherit;scrollbar-width:inherit;scroll-snap-type:inherit;scroll-snap-align:start;width:100%;height:100%;overflow:inherit;content-visibility:auto;row-gap:inherit;column-gap:inherit;display:flex;position:relative}x-list::part(content),x-list::part(slot){--lynx-display:inherit}x-list,x-list::part(content){scrollbar-width:none}x-list::-webkit-scrollbar{display:none}x-list::part(content)::-webkit-scrollbar{display:none}x-list[scrollbar-enable]::part(content){scrollbar-width:initial}x-list[scrollbar-enable]::part(content)::-webkit-scrollbar{display:initial}list-item{content-visibility:auto;contain:layout paint;contain-intrinsic-size:none auto var(--estimated-main-axis-size-px,100cqh);display:none;position:static;flex:none!important}list-item[recyclable=false]{content-visibility:visible;contain:initial}x-list[scroll-orientation=horizontal] list-item{contain-intrinsic-size:auto var(--estimated-main-axis-size-px,100cqw)none}x-list>list-item,x-list>lynx-wrapper>list-item{display:flex}x-list{overflow:clip scroll!important}x-list[scroll-orientation=horizontal]{overflow:scroll clip!important}x-list[enable-scroll=false]{overflow-y:hidden!important}x-list[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}x-list[sticky=true] list-item[sticky-top],x-list[sticky=true] list-item[sticky-bottom]{z-index:1;position:sticky}x-list[sticky=true]>list-item[sticky-top],x-list[sticky=true]>lynx-wrapper>list-item[sticky-top]{top:var(--list-item-sticky-offset)}x-list[sticky=true]>list-item[sticky-bottom],x-list[sticky=true]>lynx-wrapper>list-item[sticky-bottom]{bottom:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-top],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-top]{top:unset;left:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-bottom],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-bottom]{bottom:unset;right:var(--list-item-sticky-offset)}x-list[item-snap],x-list[paging-enabled]{scroll-snap-type:y mandatory;scroll-snap-stop:always}x-list[item-snap][scroll-orientation=horizontal],x-list[paging-enabled][scroll-orientation=horizontal]{scroll-snap-type:x mandatory}x-list[item-snap]>list-item,x-list[item-snap]>lynx-wrapper>list-item{scroll-snap-align:start}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){display:flex}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-sentinel),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-sentinel),x-list[x-enable-scrolltolower-event]::part(lower-threshold-sentinel),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-sentinel){flex:0 0 1px}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-sentinel),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-sentinel){margin-bottom:-1px}x-list[x-enable-scrolltolower-event]::part(lower-threshold-sentinel),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-sentinel){margin-top:-1px;transform:translateY(1px)}x-list[scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-sentinel),x-list[scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-sentinel){margin-bottom:0;margin-right:-1px}x-list[scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-sentinel),x-list[scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-sentinel){margin-top:0;margin-left:-1px;transform:translate(1px)}x-list::part(lower-threshold-observer){flex-direction:column-reverse}x-list[vertical-orientation=false]::part(lower-threshold-observer){flex-direction:row-reverse}x-list{align-items:stretch;row-gap:var(--list-main-axis-gap);column-gap:var(--list-cross-axis-gap);flex-direction:column;display:flex}x-list[scroll-orientation=horizontal]{row-gap:var(--list-cross-axis-gap);column-gap:var(--list-main-axis-gap);flex-direction:row}x-list[list-type=flow]::part(content){grid-template-columns:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-main-axis-gap);grid-column-gap:var(--list-cross-axis-gap);grid-auto-rows:min-content;place-items:start stretch;display:grid}x-list[list-type=flow][scroll-orientation=horizontal]::part(content){grid-template-rows:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-cross-axis-gap);grid-column-gap:var(--list-main-axis-gap);grid-auto-columns:min-content;grid-auto-flow:column;place-items:stretch start}x-list[list-type=flow] list-item[full-span]:not([full-span=false]){grid-column-start:1;grid-column-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){grid-row-start:1;grid-row-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-column:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-row:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=waterfall]{flex-direction:column;display:flex}x-list[list-type=waterfall][scroll-orientation=horizontal]{flex-direction:row}x-list[list-type=waterfall]::part(slot){visibility:hidden}x-list[list-type=waterfall] list-item{width:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count));height:fit-content;position:absolute}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item{width:fit-content;height:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count))}x-list[list-type=waterfall] list-item[full-span]:not([full-span=false]){width:100%;height:fit-content}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){width:fit-content;height:100%}x-list[list-type=waterfall]::part(upper-threshold-observer),x-list[list-type=waterfall]::part(lower-threshold-observer){position:absolute}x-list[list-type=waterfall]::part(lower-threshold-observer){bottom:-999px}x-list[list-type=waterfall][scroll-orientation=horizontal]::part(lower-threshold-observer){bottom:unset;right:-999px}x-webview{flex-direction:column;display:flex;overflow:hidden}body{margin:0;padding:0}lynx-view{width:100vw;height:100vh}
|
|
1
|
+
lynx-view{contain:strict;--rpx-unit:calc(1cqw / 7.5);--ppx-unit:1cqw;--vw-unit:1cqw;--vh-unit:1cqh;width:100%;display:none;container:lynx-view/inline-size}lynx-view[transform-vh]{container-type:size}lynx-view[ssr]{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){--rpx-unit:inherit;--ppx-unit:inherit;--vw-unit:inherit;--vh-unit:inherit;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 --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@supports not ((content-visibility:auto) and (transition-behavior:allow-discrete) and (-webkit-box-reflect:above)){*{--lynx-display:linear;--lynx-linear-weight-sum:1;--lynx-linear-weight:0;--justify-content-column:flex-start;--justify-content-column-reverse:flex-start;--justify-content-row:flex-start;--justify-content-row-reverse:flex-start;--align-self-row:auto;--align-self-column:auto;--lynx-linear-weight-basis:auto;--lynx-linear-orientation:vertical;--flex-direction:row;--flex-grow:0;--flex-shrink:1;--flex-basis:auto;--justify-content:flex-start;--flex-wrap:nowrap;--align-self:auto}[lynx-computed-display=linear]{flex-direction:column;justify-content:flex-start;flex-wrap:nowrap!important}[lynx-computed-display=flex]{flex-direction:var(--flex-direction);justify-content:var(--justify-content);flex-wrap:var(--flex-wrap)}[lynx-computed-display=flex]>*,[lynx-computed-display=flex]>lynx-wrapper>*{flex:var(--flex,var(--flex-grow) var(--flex-shrink) var(--flex-basis))}[lynx-computed-display=linear]>*,[lynx-computed-display=linear]>lynx-wrapper>*{flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight) / calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0, var(--lynx-linear-weight-sum) * 999999, 1) )))!important;flex-basis:var(--lynx-linear-weight-basis)!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]{justify-content:var(--justify-content-column);flex-direction:column!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]{justify-content:var(--justify-content-row);flex-direction:row!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]{justify-content:var(--justify-content-column-reverse);flex-direction:column-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]{justify-content:var(--justify-content-row-reverse);flex-direction:row-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse],[lynx-computed-display=linear][lynx-linear-orientation=vertical]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]>lynx-wrapper>*{align-self:var(--align-self-column)}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse],[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]>lynx-wrapper>*{align-self:var(--align-self-row)}}x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{box-sizing:border-box;scrollbar-width:none;border-style:solid;border-width:0;min-width:0;min-height:0;display:flex;position:relative;overflow:clip}x-view::--webkit-scrollbar{display:none}x-view,scroll-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{--lynx-display-toggle:var(--lynx-display-linear);--lynx-display-linear:var(--lynx-display-toggle, );--lynx-display-flex:var(--lynx-display-toggle, );--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation-horizontal:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-horizontal-reverse:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical-reverse:var(--lynx-linear-orientation-toggle, );--linear-flex-direction:var(--lynx-linear-orientation-horizontal,row) var(--lynx-linear-orientation-vertical,column) var(--lynx-linear-orientation-horizontal-reverse,row-reverse) var(--lynx-linear-orientation-vertical-reverse,column-reverse);--linear-justify-content:var(--lynx-linear-orientation-horizontal,var(--justify-content-row)) var(--lynx-linear-orientation-vertical,var(--justify-content-column)) var(--lynx-linear-orientation-horizontal-reverse,var(--justify-content-row-reverse)) var(--lynx-linear-orientation-vertical-reverse,var(--justify-content-column-reverse))}x-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{flex-wrap:var(--lynx-display-linear,nowrap) var(--lynx-display-flex,var(--flex-wrap));flex-direction:var(--lynx-display-linear,var(--linear-flex-direction)) var(--lynx-display-flex,var(--flex-direction));justify-content:var(--lynx-display-linear,var(--linear-justify-content))}@supports (content-visibility:auto) and (transition-behavior:allow-discrete) and (-webkit-box-reflect:above){@container style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight) / calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0, var(--lynx-linear-weight-sum) * 999999, 1) )));flex-basis:var(--lynx-linear-weight-basis)}}@container not style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex:var(--flex,var(--flex-grow) var(--flex-shrink) var(--flex-basis))}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:vertical) or style(--lynx-linear-orientation:vertical-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-column)}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:horizontal) or style(--lynx-linear-orientation:horizontal-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-row)}}}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-foldview-ng::-webkit-scrollbar{display:none}x-foldview-ng[scroll-bar-enable]{scrollbar-width:initial}x-foldview-ng[scroll-bar-enable]::-webkit-scrollbar{display:initial}x-foldview-ng:not([scroll-bar-enable],[scroll-bar-enable=true])::-webkit-scrollbar{display:none}x-foldview-ng[scroll-enable=false]{overflow-y:hidden}x-foldview-ng>*,x-foldview-header-ng,x-foldview-slot-ng,x-foldview-toolbar-ng{display:none}x-foldview-ng>x-foldview-header-ng,x-foldview-ng>x-foldview-slot-ng,x-foldview-ng>x-foldview-toolbar-ng,x-foldview-ng>lynx-wrapper>x-foldview-header-ng,x-foldview-ng>lynx-wrapper>x-foldview-slot-ng,x-foldview-ng>lynx-wrapper>x-foldview-toolbar-ng{display:flex}x-foldview-toolbar-ng{z-index:1;order:1;position:sticky;top:0}x-foldview-header-ng{flex:none;order:2;position:absolute}x-foldview-ng[header-over-slot]>x-foldview-slot-ng,x-foldview-ng[header-over-slot]>lynx-wrapper>x-foldview-slot-ng{z-index:1}x-foldview-slot-ng{contain:strict;order:3}x-foldview-slot-ng scroll-view{overscroll-behavior-y:none}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!important}x-input::part(form){display:contents}x-input::part(input),x-input::part(form){box-sizing:inherit;width:inherit;height:inherit;border:inherit;border-radius:inherit;align-self:inherit;justify-self:inherit;text-align:inherit;direction:inherit;caret-color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;flex:inherit;background-color:inherit;z-index:inherit;margin:inherit;padding:inherit;color:inherit}x-input::part(input){--placeholder-color:grey;--placeholder-font-weight:normal}x-input::part(input)::placeholder{color:var(--placeholder-color);font-family:var(--placeholder-font-family);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight)}x-markdown{color:inherit;flex-direction:column;align-items:stretch;display:flex}x-markdown::part(root){width:100%}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;container-type:size}x-list>:not(list-item){display:none}x-list::part(content),x-list[list-type=waterfall]::part(waterfall-content){justify-content:inherit;background-color:inherit;flex-wrap:nowrap;flex:none;flex-direction:inherit;scrollbar-width:inherit;scroll-snap-type:inherit;scroll-snap-align:start;width:100%;height:100%;overflow:inherit;content-visibility:auto;row-gap:inherit;column-gap:inherit;display:flex;position:relative}x-list::part(content),x-list::part(slot){--lynx-display:inherit}x-list,x-list::part(content){scrollbar-width:none}x-list::-webkit-scrollbar{display:none}x-list::part(content)::-webkit-scrollbar{display:none}x-list[scrollbar-enable]::part(content){scrollbar-width:initial}x-list[scrollbar-enable]::part(content)::-webkit-scrollbar{display:initial}list-item{content-visibility:auto;contain:layout paint;contain-intrinsic-size:none auto var(--estimated-main-axis-size-px,100cqh);display:none;position:static;flex:none!important}list-item[recyclable=false]{content-visibility:visible;contain:initial}x-list[scroll-orientation=horizontal] list-item{contain-intrinsic-size:auto var(--estimated-main-axis-size-px,100cqw) none}x-list>list-item,x-list>lynx-wrapper>list-item{display:flex}x-list{overflow:clip scroll!important}x-list[scroll-orientation=horizontal]{overflow:scroll clip!important}x-list[enable-scroll=false]{overflow-y:hidden!important}x-list[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}x-list[sticky=true] list-item[sticky-top],x-list[sticky=true] list-item[sticky-bottom]{z-index:1;position:sticky}x-list[sticky=true]>list-item[sticky-top],x-list[sticky=true]>lynx-wrapper>list-item[sticky-top]{top:var(--list-item-sticky-offset)}x-list[sticky=true]>list-item[sticky-bottom],x-list[sticky=true]>lynx-wrapper>list-item[sticky-bottom]{bottom:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-top],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-top]{top:unset;left:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-bottom],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-bottom]{bottom:unset;right:var(--list-item-sticky-offset)}x-list[item-snap],x-list[paging-enabled]{scroll-snap-type:y mandatory;scroll-snap-stop:always}x-list[item-snap][scroll-orientation=horizontal],x-list[paging-enabled][scroll-orientation=horizontal]{scroll-snap-type:x mandatory}x-list[item-snap]>list-item,x-list[item-snap]>lynx-wrapper>list-item{scroll-snap-align:start}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){display:flex}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-sentinel),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-sentinel),x-list[x-enable-scrolltolower-event]::part(lower-threshold-sentinel),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-sentinel){flex:0 0 1px}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-sentinel),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-sentinel){margin-bottom:-1px}x-list[x-enable-scrolltolower-event]::part(lower-threshold-sentinel),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-sentinel){margin-top:-1px;transform:translateY(1px)}x-list[scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-sentinel),x-list[scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-sentinel){margin-bottom:0;margin-right:-1px}x-list[scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-sentinel),x-list[scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-sentinel){margin-top:0;margin-left:-1px;transform:translate(1px)}x-list::part(lower-threshold-observer){flex-direction:column-reverse}x-list[vertical-orientation=false]::part(lower-threshold-observer){flex-direction:row-reverse}x-list{align-items:stretch;row-gap:var(--list-main-axis-gap);column-gap:var(--list-cross-axis-gap);flex-direction:column;display:flex}x-list[scroll-orientation=horizontal]{row-gap:var(--list-cross-axis-gap);column-gap:var(--list-main-axis-gap);flex-direction:row}x-list[list-type=flow]::part(content){grid-template-columns:repeat(var(--list-item-span-count), 1fr);grid-row-gap:var(--list-main-axis-gap);grid-column-gap:var(--list-cross-axis-gap);grid-auto-rows:min-content;place-items:start stretch;display:grid}x-list[list-type=flow][scroll-orientation=horizontal]::part(content){grid-template-rows:repeat(var(--list-item-span-count), 1fr);grid-row-gap:var(--list-cross-axis-gap);grid-column-gap:var(--list-main-axis-gap);grid-auto-columns:min-content;grid-auto-flow:column;place-items:stretch start}x-list[list-type=flow] list-item[full-span]:not([full-span=false]){grid-column-start:1;grid-column-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){grid-row-start:1;grid-row-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-column:1 / calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-row:1 / calc(var(--list-item-span-count) + 1)}x-list[list-type=waterfall]{flex-direction:column;display:flex}x-list[list-type=waterfall][scroll-orientation=horizontal]{flex-direction:row}x-list[list-type=waterfall]::part(slot){visibility:hidden}x-list[list-type=waterfall] list-item{width:calc(( 100% - var(--list-cross-axis-gap) * (var(--list-item-span-count) - 1) ) / var(--list-item-span-count));height:fit-content;position:absolute}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item{width:fit-content;height:calc(( 100% - var(--list-cross-axis-gap) * (var(--list-item-span-count) - 1) ) / var(--list-item-span-count))}x-list[list-type=waterfall] list-item[full-span]:not([full-span=false]){width:100%;height:fit-content}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){width:fit-content;height:100%}x-list[list-type=waterfall]::part(upper-threshold-observer),x-list[list-type=waterfall]::part(lower-threshold-observer){position:absolute}x-list[list-type=waterfall]::part(lower-threshold-observer){bottom:-999px}x-list[list-type=waterfall][scroll-orientation=horizontal]::part(lower-threshold-observer){bottom:unset;right:-999px}x-webview{flex-direction:column;display:flex;overflow:hidden}body{margin:0;padding:0}lynx-view{width:100vw;height:100vh}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.webpackChunk_lynx_js_web_rsbuild_server_middleware||[]).push([["778"],{6149(t,e,_){let n;_.r(e),_.d(e,{EventInfo:()=>r,MainThreadWasmContext:()=>i,RawStyleInfo:()=>o,Rule:()=>s,RulePrelude:()=>a,Selector:()=>d,StyleSheetResource:()=>g,add_inline_style_raw_string_key:()=>l,decode_style_info:()=>c,default:()=>tt,encode_legacy_json_generated_raw_style_info:()=>b,get_font_face_content:()=>w,get_style_content:()=>u,initSync:()=>Z,set_inline_styles_in_key_value_vec:()=>p,set_inline_styles_in_str:()=>f,set_inline_styles_number_key:()=>y});class r{static __wrap(t){t>>>=0;let e=Object.create(r.prototype);return e.__wbg_ptr=t,m.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,m.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_eventinfo_free(t,0)}get event_handler(){return V(n.__wbg_get_eventinfo_event_handler(this.__wbg_ptr))}get event_name(){let t,e;try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.__wbg_get_eventinfo_event_name(i,this.__wbg_ptr);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);return t=_,e=r,C(_,r)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(t,e,1)}}get event_type(){let t,e;try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.__wbg_get_eventinfo_event_type(i,this.__wbg_ptr);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);return t=_,e=r,C(_,r)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(t,e,1)}}set event_handler(t){n.__wbg_set_eventinfo_event_handler(this.__wbg_ptr,A(t))}set event_name(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q;n.__wbg_set_eventinfo_event_name(this.__wbg_ptr,e,_)}set event_type(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q;n.__wbg_set_eventinfo_event_type(this.__wbg_ptr,e,_)}}Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);class i{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_mainthreadwasmcontext_free(t,0)}add_cross_thread_event(t,e,_,r){let i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;var d=P(r)?0:N(r,n.__wbindgen_export,n.__wbindgen_export2),g=Q;n.mainthreadwasmcontext_add_cross_thread_event(this.__wbg_ptr,t,i,o,s,a,d,g)}add_dataset(t,e,_){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_add_dataset(i,this.__wbg_ptr,t,j(e),j(_));var r=W().getInt32(i+0,!0);if(W().getInt32(i+4,!0))throw V(r)}finally{n.__wbindgen_add_to_stack_pointer(16),$[J++]=void 0,$[J++]=void 0}}add_run_worklet_event(t,e,_,r){let i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.mainthreadwasmcontext_add_run_worklet_event(this.__wbg_ptr,t,i,o,s,a,P(r)?0:A(r))}common_event_handler(t,e,_,r){let i=D(e,n.__wbindgen_export),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.mainthreadwasmcontext_common_event_handler(this.__wbg_ptr,A(t),i,o,s,a,r)}create_element_common(t,e,_,r,i){var o=P(i)?0:N(i,n.__wbindgen_export,n.__wbindgen_export2),s=Q;return n.mainthreadwasmcontext_create_element_common(this.__wbg_ptr,t,A(e),A(_),P(r)?0x100000001:0|r,o,s)>>>0}dispatch_event_by_path(t,e,_,r){try{let i=D(t,n.__wbindgen_export),o=Q,s=N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q,d=n.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,i,o,s,a,_,j(r));return 0!==d}finally{$[J++]=void 0}}dispatch_global_bind_event(t,e,_){try{let r=D(t,n.__wbindgen_export),i=Q,o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;n.mainthreadwasmcontext_dispatch_global_bind_event(this.__wbg_ptr,r,i,o,s,j(_))}finally{$[J++]=void 0}}gc(){n.mainthreadwasmcontext_gc(this.__wbg_ptr)}get_component_id(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_component_id(o,this.__wbg_ptr,t);var e=W().getInt32(o+0,!0),_=W().getInt32(o+4,!0),r=W().getInt32(o+8,!0);if(W().getInt32(o+12,!0))throw V(r);return 0!==e&&(i=C(e,_).slice(),n.__wbindgen_export4(e,+_,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_config(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_config(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_data_by_key(t,e){try{let i=n.__wbindgen_add_to_stack_pointer(-16),o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;n.mainthreadwasmcontext_get_data_by_key(i,this.__wbg_ptr,t,o,s);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);if(W().getInt32(i+8,!0))throw V(r);return V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_dataset(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_dataset(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_dom_by_unique_id(t){return V(n.mainthreadwasmcontext_get_dom_by_unique_id(this.__wbg_ptr,t))}get_element_config(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_element_config(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_event(t,e,_){let r=N(e,n.__wbindgen_export,n.__wbindgen_export2),i=Q,o=N(_,n.__wbindgen_export,n.__wbindgen_export2),s=Q;return V(n.mainthreadwasmcontext_get_event(this.__wbg_ptr,t,r,i,o,s))}get_events(t){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_events(i,this.__wbg_ptr,t);var e=W().getInt32(i+0,!0),_=W().getInt32(i+4,!0),r=F(e,_).slice();return n.__wbindgen_export4(e,4*_,4),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_unique_id_by_component_id(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q,r=n.mainthreadwasmcontext_get_unique_id_by_component_id(this.__wbg_ptr,e,_);return 0x100000001===r?void 0:r}constructor(t,e,_){const r=n.mainthreadwasmcontext_new(A(t),A(e),_);return this.__wbg_ptr=r>>>0,v.register(this,this.__wbg_ptr,this),this}push_style_sheet(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);E(t,g);var _=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_push_style_sheet(o,this.__wbg_ptr,t.__wbg_ptr,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_config(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_set_config(r,this.__wbg_ptr,t,j(e));var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16),$[J++]=void 0}}set_css_id(t,e,_){try{let s=n.__wbindgen_add_to_stack_pointer(-16),a=D(t,n.__wbindgen_export),d=Q;var r=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.mainthreadwasmcontext_set_css_id(s,this.__wbg_ptr,a,d,e,r,i);var o=W().getInt32(s+0,!0);if(W().getInt32(s+4,!0))throw V(o)}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_dataset(t,e,_){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_set_dataset(i,this.__wbg_ptr,t,j(e),j(_));var r=W().getInt32(i+0,!0);if(W().getInt32(i+4,!0))throw V(r)}finally{n.__wbindgen_add_to_stack_pointer(16),$[J++]=void 0,$[J++]=void 0}}set_page_element_unique_id(t){n.mainthreadwasmcontext_set_page_element_unique_id(this.__wbg_ptr,t)}take_timing_flags(){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_take_timing_flags(r,this.__wbg_ptr);var t=W().getInt32(r+0,!0),e=W().getInt32(r+4,!0),_=F(t,e).slice();return n.__wbindgen_export4(t,4*e,4),_}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_component_css_id(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_update_component_css_id(r,this.__wbg_ptr,t,e);var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_component_id(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);var _=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_update_component_id(o,this.__wbg_ptr,t,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_css_og_style(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);var _=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_update_css_og_style(o,this.__wbg_ptr,t,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(i.prototype[Symbol.dispose]=i.prototype.free);class o{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,x.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rawstyleinfo_free(t,0)}append_import(t,e){n.rawstyleinfo_append_import(this.__wbg_ptr,t,e)}constructor(){const t=n.rawstyleinfo_new();return this.__wbg_ptr=t>>>0,x.register(this,this.__wbg_ptr,this),this}push_rule(t,e){E(e,s);var _=e.__destroy_into_raw();n.rawstyleinfo_push_rule(this.__wbg_ptr,t,_)}}Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);class s{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rule_free(t,0)}constructor(t){try{const r=n.__wbindgen_add_to_stack_pointer(-16),i=N(t,n.__wbindgen_export,n.__wbindgen_export2),o=Q;n.rule_new(r,i,o);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return this.__wbg_ptr=e>>>0,I.register(this,this.__wbg_ptr,this),this}finally{n.__wbindgen_add_to_stack_pointer(16)}}push_declaration(t,e){let _=N(t,n.__wbindgen_export,n.__wbindgen_export2),r=Q,i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q;n.rule_push_declaration(this.__wbg_ptr,_,r,i,o)}push_rule_children(t){E(t,s);var e=t.__destroy_into_raw();n.rule_push_rule_children(this.__wbg_ptr,e)}set_prelude(t){E(t,a);var e=t.__destroy_into_raw();n.rule_set_prelude(this.__wbg_ptr,e)}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);class a{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_ruleprelude_free(t,0)}constructor(){const t=n.ruleprelude_new();return this.__wbg_ptr=t>>>0,k.register(this,this.__wbg_ptr,this),this}push_selector(t){E(t,d);var e=t.__destroy_into_raw();n.ruleprelude_push_selector(this.__wbg_ptr,e)}}Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free);class d{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_selector_free(t,0)}constructor(){const t=n.ruleprelude_new();return this.__wbg_ptr=t>>>0,R.register(this,this.__wbg_ptr,this),this}push_one_selector_section(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16),i=N(t,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.selector_push_one_selector_section(r,this.__wbg_ptr,i,o,s,a);var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(d.prototype[Symbol.dispose]=d.prototype.free);class g{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_stylesheetresource_free(t,0)}constructor(t,e){try{const i=n.__wbindgen_add_to_stack_pointer(-16);n.stylesheetresource_new(i,A(t),A(e));var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);if(W().getInt32(i+8,!0))throw V(r);return this.__wbg_ptr=_>>>0,S.register(this,this.__wbg_ptr,this),this}finally{n.__wbindgen_add_to_stack_pointer(16)}}}function l(t,e,_){try{let o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;var r=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.add_inline_style_raw_string_key(j(t),o,s,r,i)}finally{$[J++]=void 0}}function c(t,e,_,r,i,o){try{let l=n.__wbindgen_add_to_stack_pointer(-16);var s=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.decode_style_info(l,A(t),s,a,_,r,i,o);var d=W().getInt32(l+0,!0),g=W().getInt32(l+4,!0);if(W().getInt32(l+8,!0))throw V(g);return V(d)}finally{n.__wbindgen_add_to_stack_pointer(16)}}function b(t,e,_,r,i,s){try{let b=n.__wbindgen_add_to_stack_pointer(-16);E(t,o);var a=t.__destroy_into_raw(),d=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),g=Q;n.encode_legacy_json_generated_raw_style_info(b,a,e,d,g,r,i,s);var l=W().getInt32(b+0,!0),c=W().getInt32(b+4,!0);if(W().getInt32(b+8,!0))throw V(c);return V(l)}finally{n.__wbindgen_add_to_stack_pointer(16)}}function w(t){let e,_;try{let g=n.__wbindgen_add_to_stack_pointer(-16);n.get_font_face_content(g,A(t));var r=W().getInt32(g+0,!0),i=W().getInt32(g+4,!0),o=W().getInt32(g+8,!0),s=W().getInt32(g+12,!0),a=r,d=i;if(s)throw a=0,d=0,V(o);return e=a,_=d,C(a,d)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(e,_,1)}}function u(t){let e,_;try{let g=n.__wbindgen_add_to_stack_pointer(-16);n.get_style_content(g,A(t));var r=W().getInt32(g+0,!0),i=W().getInt32(g+4,!0),o=W().getInt32(g+8,!0),s=W().getInt32(g+12,!0),a=r,d=i;if(s)throw a=0,d=0,V(o);return e=a,_=d,C(a,d)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(e,_,1)}}function p(t,e,_,r,i){try{let o=B(e,n.__wbindgen_export),s=Q;n.set_inline_styles_in_key_value_vec(j(t),o,s,_,r,i)}finally{$[J++]=void 0}}function f(t,e,_,r,i){try{let o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q,a=n.set_inline_styles_in_str(j(t),o,s,_,r,i);return 0!==a}finally{$[J++]=void 0}}function y(t,e,_){try{var r=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.set_inline_styles_number_key(j(t),e,r,i)}finally{$[J++]=void 0}}function h(){return{__proto__:null,"./client_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){return A(Error(C(t,e)))},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let _=N(function t(e){let _,n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){let t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==n){let t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){let _=e.length,n="[";_>0&&(n+=t(e[0]));for(let r=1;r<_;r++)n+=", "+t(e[r]);return n+"]"}let r=/\[object ([^\]]+)\]/.exec(toString.call(e));if(!r||!(r.length>1))return toString.call(e);if("Object"==(_=r[1]))try{return"Object("+JSON.stringify(e)+")"}catch(t){return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
-
${e.stack}`:_}($[e]),n.__wbindgen_export,n.__wbindgen_export2),r=Q;W().setInt32(t+4,r,!0),W().setInt32(t+0,_,!0)},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return null===$[t]},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return void 0===$[t]},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return $[t]===$[e]},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let _=$[e],r="string"==typeof _?_:void 0;var i=P(r)?0:N(r,n.__wbindgen_export,n.__wbindgen_export2),o=Q;W().setInt32(t+4,o,!0),W().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){throw Error(C(t,e))},__wbg_addEventListener_70320335c937cd3c:function(t,e,_){$[t].addEventListener(C(e,_))},__wbg_appendChild_dea38765a26d346d:function(){return U(function(t,e){return A($[t].appendChild($[e]))},arguments)},__wbg_cloneNode_b85e9102a9a31b29:function(){return U(function(t,e){return A($[t].cloneNode(0!==e))},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return U(function(t,e,_){return A($[t].createElement(C(e,_)))},arguments)},__wbg_cssRules_554f47f3049cf066:function(){return U(function(t){return A($[t].cssRules)},arguments)},__wbg_deref_f3f9703e58148ed3:function(t){let e=$[t].deref();return P(e)?0:A(e)},__wbg_disableElementEvent_1d2759f3a698d3c3:function(){return U(function(t,e,_,n){$[t].disableElementEvent($[e],C(_,n))},arguments)},__wbg_enableElementEvent_0ce34c6ca552d6b0:function(){return U(function(t,e,_,n){$[t].enableElementEvent($[e],C(_,n))},arguments)},__wbg_eventinfo_new:function(t){return A(r.__wrap(t))},__wbg_getClassList_d784a755b82d52f8:function(){return U(function(t,e,_){let r=B($[e].getClassList($[_]),n.__wbindgen_export),i=Q;W().setInt32(t+4,i,!0),W().setInt32(t+0,r,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){return A($[t][e>>>0])},__wbg_get_b3ed3ad4be2bc8ac:function(){return U(function(t,e){return A(Reflect.get($[t],$[e]))},arguments)},__wbg_has_d4e53238966c12b6:function(){return U(function(t,e){return Reflect.has($[t],$[e])},arguments)},__wbg_insertRule_736c2f80782185c7:function(){return U(function(t,e,_,n){return $[t].insertRule(C(e,_),n>>>0)},arguments)},__wbg_item_ca823df8214b9e2b:function(t,e){let _=$[t].item(e>>>0);return P(_)?0:A(_)},__wbg_keys_b50a709a76add04e:function(t){return A(Object.keys($[t]))},__wbg_length_32ed9a279acd054c:function(t){return $[t].length},__wbg_length_35a7bace40f36eac:function(t){return $[t].length},__wbg_length_edae0cd13a8d3b71:function(t){return $[t].length},__wbg_new_361308b2356cecd0:function(){return A({})},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){return A(new Uint8Array(z(t,e)))},__wbg_ownerDocument_9347874c5cad87d7:function(t){let e=$[t].ownerDocument;return P(e)?0:A(e)},
|
|
1
|
+
"use strict";(globalThis.rspackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.rspackChunk_lynx_js_web_rsbuild_server_middleware||[]).push([[778],{3618(t,e,_){let n;_.r(e);class r{static __wrap(t){t>>>=0;let e=Object.create(r.prototype);return e.__wbg_ptr=t,m.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,m.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_eventinfo_free(t,0)}get event_handler(){return V(n.__wbg_get_eventinfo_event_handler(this.__wbg_ptr))}get event_name(){let t,e;try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.__wbg_get_eventinfo_event_name(i,this.__wbg_ptr);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);return t=_,e=r,C(_,r)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(t,e,1)}}get event_type(){let t,e;try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.__wbg_get_eventinfo_event_type(i,this.__wbg_ptr);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);return t=_,e=r,C(_,r)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(t,e,1)}}set event_handler(t){n.__wbg_set_eventinfo_event_handler(this.__wbg_ptr,A(t))}set event_name(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q;n.__wbg_set_eventinfo_event_name(this.__wbg_ptr,e,_)}set event_type(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q;n.__wbg_set_eventinfo_event_type(this.__wbg_ptr,e,_)}}Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);class i{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_mainthreadwasmcontext_free(t,0)}add_cross_thread_event(t,e,_,r){let i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;var d=P(r)?0:N(r,n.__wbindgen_export,n.__wbindgen_export2),g=Q;n.mainthreadwasmcontext_add_cross_thread_event(this.__wbg_ptr,t,i,o,s,a,d,g)}add_dataset(t,e,_){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_add_dataset(i,this.__wbg_ptr,t,j(e),j(_));var r=W().getInt32(i+0,!0);if(W().getInt32(i+4,!0))throw V(r)}finally{n.__wbindgen_add_to_stack_pointer(16),$[J++]=void 0,$[J++]=void 0}}add_run_worklet_event(t,e,_,r){let i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.mainthreadwasmcontext_add_run_worklet_event(this.__wbg_ptr,t,i,o,s,a,P(r)?0:A(r))}common_event_handler(t,e,_,r){let i=D(e,n.__wbindgen_export),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.mainthreadwasmcontext_common_event_handler(this.__wbg_ptr,A(t),i,o,s,a,r)}create_element_common(t,e,_,r,i){var o=P(i)?0:N(i,n.__wbindgen_export,n.__wbindgen_export2),s=Q;return n.mainthreadwasmcontext_create_element_common(this.__wbg_ptr,t,A(e),A(_),P(r)?0x100000001:0|r,o,s)>>>0}dispatch_event_by_path(t,e,_,r){try{let i=D(t,n.__wbindgen_export),o=Q,s=N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q,d=n.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,i,o,s,a,_,j(r));return 0!==d}finally{$[J++]=void 0}}dispatch_global_bind_event(t,e,_){try{let r=D(t,n.__wbindgen_export),i=Q,o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;n.mainthreadwasmcontext_dispatch_global_bind_event(this.__wbg_ptr,r,i,o,s,j(_))}finally{$[J++]=void 0}}gc(){n.mainthreadwasmcontext_gc(this.__wbg_ptr)}get_component_id(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_component_id(o,this.__wbg_ptr,t);var e=W().getInt32(o+0,!0),_=W().getInt32(o+4,!0),r=W().getInt32(o+8,!0);if(W().getInt32(o+12,!0))throw V(r);return 0!==e&&(i=C(e,_).slice(),n.__wbindgen_export4(e,+_,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_config(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_config(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_data_by_key(t,e){try{let i=n.__wbindgen_add_to_stack_pointer(-16),o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;n.mainthreadwasmcontext_get_data_by_key(i,this.__wbg_ptr,t,o,s);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);if(W().getInt32(i+8,!0))throw V(r);return V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_dataset(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_dataset(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_dom_by_unique_id(t){return V(n.mainthreadwasmcontext_get_dom_by_unique_id(this.__wbg_ptr,t))}get_element_config(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_element_config(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_event(t,e,_){let r=N(e,n.__wbindgen_export,n.__wbindgen_export2),i=Q,o=N(_,n.__wbindgen_export,n.__wbindgen_export2),s=Q;return V(n.mainthreadwasmcontext_get_event(this.__wbg_ptr,t,r,i,o,s))}get_events(t){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_events(i,this.__wbg_ptr,t);var e=W().getInt32(i+0,!0),_=W().getInt32(i+4,!0),r=F(e,_).slice();return n.__wbindgen_export4(e,4*_,4),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_unique_id_by_component_id(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q,r=n.mainthreadwasmcontext_get_unique_id_by_component_id(this.__wbg_ptr,e,_);return 0x100000001===r?void 0:r}constructor(t,e,_){const r=n.mainthreadwasmcontext_new(A(t),A(e),_);return this.__wbg_ptr=r>>>0,v.register(this,this.__wbg_ptr,this),this}push_style_sheet(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);E(t,g);var _=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_push_style_sheet(o,this.__wbg_ptr,t.__wbg_ptr,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_config(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_set_config(r,this.__wbg_ptr,t,j(e));var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16),$[J++]=void 0}}set_css_id(t,e,_){try{let s=n.__wbindgen_add_to_stack_pointer(-16),a=D(t,n.__wbindgen_export),d=Q;var r=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.mainthreadwasmcontext_set_css_id(s,this.__wbg_ptr,a,d,e,r,i);var o=W().getInt32(s+0,!0);if(W().getInt32(s+4,!0))throw V(o)}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_dataset(t,e,_){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_set_dataset(i,this.__wbg_ptr,t,j(e),j(_));var r=W().getInt32(i+0,!0);if(W().getInt32(i+4,!0))throw V(r)}finally{n.__wbindgen_add_to_stack_pointer(16),$[J++]=void 0,$[J++]=void 0}}set_page_element_unique_id(t){n.mainthreadwasmcontext_set_page_element_unique_id(this.__wbg_ptr,t)}take_timing_flags(){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_take_timing_flags(r,this.__wbg_ptr);var t=W().getInt32(r+0,!0),e=W().getInt32(r+4,!0),_=F(t,e).slice();return n.__wbindgen_export4(t,4*e,4),_}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_component_css_id(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_update_component_css_id(r,this.__wbg_ptr,t,e);var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_component_id(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);var _=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_update_component_id(o,this.__wbg_ptr,t,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_css_og_style(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);var _=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_update_css_og_style(o,this.__wbg_ptr,t,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(i.prototype[Symbol.dispose]=i.prototype.free);class o{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,x.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rawstyleinfo_free(t,0)}append_import(t,e){n.rawstyleinfo_append_import(this.__wbg_ptr,t,e)}constructor(){const t=n.rawstyleinfo_new();return this.__wbg_ptr=t>>>0,x.register(this,this.__wbg_ptr,this),this}push_rule(t,e){E(e,s);var _=e.__destroy_into_raw();n.rawstyleinfo_push_rule(this.__wbg_ptr,t,_)}}Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);class s{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rule_free(t,0)}constructor(t){try{const r=n.__wbindgen_add_to_stack_pointer(-16),i=N(t,n.__wbindgen_export,n.__wbindgen_export2),o=Q;n.rule_new(r,i,o);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return this.__wbg_ptr=e>>>0,I.register(this,this.__wbg_ptr,this),this}finally{n.__wbindgen_add_to_stack_pointer(16)}}push_declaration(t,e){let _=N(t,n.__wbindgen_export,n.__wbindgen_export2),r=Q,i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q;n.rule_push_declaration(this.__wbg_ptr,_,r,i,o)}push_rule_children(t){E(t,s);var e=t.__destroy_into_raw();n.rule_push_rule_children(this.__wbg_ptr,e)}set_prelude(t){E(t,a);var e=t.__destroy_into_raw();n.rule_set_prelude(this.__wbg_ptr,e)}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);class a{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_ruleprelude_free(t,0)}constructor(){const t=n.ruleprelude_new();return this.__wbg_ptr=t>>>0,k.register(this,this.__wbg_ptr,this),this}push_selector(t){E(t,d);var e=t.__destroy_into_raw();n.ruleprelude_push_selector(this.__wbg_ptr,e)}}Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free);class d{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_selector_free(t,0)}constructor(){const t=n.ruleprelude_new();return this.__wbg_ptr=t>>>0,R.register(this,this.__wbg_ptr,this),this}push_one_selector_section(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16),i=N(t,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.selector_push_one_selector_section(r,this.__wbg_ptr,i,o,s,a);var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(d.prototype[Symbol.dispose]=d.prototype.free);class g{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_stylesheetresource_free(t,0)}constructor(t,e){try{const i=n.__wbindgen_add_to_stack_pointer(-16);n.stylesheetresource_new(i,A(t),A(e));var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);if(W().getInt32(i+8,!0))throw V(r);return this.__wbg_ptr=_>>>0,S.register(this,this.__wbg_ptr,this),this}finally{n.__wbindgen_add_to_stack_pointer(16)}}}function l(t,e,_){try{let o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;var r=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.add_inline_style_raw_string_key(j(t),o,s,r,i)}finally{$[J++]=void 0}}function c(t,e,_,r,i,o){try{let l=n.__wbindgen_add_to_stack_pointer(-16);var s=P(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.decode_style_info(l,A(t),s,a,_,r,i,o);var d=W().getInt32(l+0,!0),g=W().getInt32(l+4,!0);if(W().getInt32(l+8,!0))throw V(g);return V(d)}finally{n.__wbindgen_add_to_stack_pointer(16)}}function b(t,e,_,r,i,s){try{let b=n.__wbindgen_add_to_stack_pointer(-16);E(t,o);var a=t.__destroy_into_raw(),d=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),g=Q;n.encode_legacy_json_generated_raw_style_info(b,a,e,d,g,r,i,s);var l=W().getInt32(b+0,!0),c=W().getInt32(b+4,!0);if(W().getInt32(b+8,!0))throw V(c);return V(l)}finally{n.__wbindgen_add_to_stack_pointer(16)}}function w(t){let e,_;try{let g=n.__wbindgen_add_to_stack_pointer(-16);n.get_font_face_content(g,A(t));var r=W().getInt32(g+0,!0),i=W().getInt32(g+4,!0),o=W().getInt32(g+8,!0),s=W().getInt32(g+12,!0),a=r,d=i;if(s)throw a=0,d=0,V(o);return e=a,_=d,C(a,d)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(e,_,1)}}function u(t){let e,_;try{let g=n.__wbindgen_add_to_stack_pointer(-16);n.get_style_content(g,A(t));var r=W().getInt32(g+0,!0),i=W().getInt32(g+4,!0),o=W().getInt32(g+8,!0),s=W().getInt32(g+12,!0),a=r,d=i;if(s)throw a=0,d=0,V(o);return e=a,_=d,C(a,d)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(e,_,1)}}function p(t,e,_,r,i){try{let o=B(e,n.__wbindgen_export),s=Q;n.set_inline_styles_in_key_value_vec(j(t),o,s,_,r,i)}finally{$[J++]=void 0}}function f(t,e,_,r,i){try{let o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q,a=n.set_inline_styles_in_str(j(t),o,s,_,r,i);return 0!==a}finally{$[J++]=void 0}}function y(t,e,_){try{var r=P(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.set_inline_styles_number_key(j(t),e,r,i)}finally{$[J++]=void 0}}function h(){return{__proto__:null,"./client_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){return A(Error(C(t,e)))},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let _=N(function t(e){let _,n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){let t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==n){let t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){let _=e.length,n="[";_>0&&(n+=t(e[0]));for(let r=1;r<_;r++)n+=", "+t(e[r]);return n+"]"}let r=/\[object ([^\]]+)\]/.exec(toString.call(e));if(!r||!(r.length>1))return toString.call(e);if("Object"==(_=r[1]))try{return"Object("+JSON.stringify(e)+")"}catch(t){return"Object"}return e instanceof Error?`${e.name}: ${e.message}
|
|
2
|
+
${e.stack}`:_}($[e]),n.__wbindgen_export,n.__wbindgen_export2),r=Q;W().setInt32(t+4,r,!0),W().setInt32(t+0,_,!0)},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return null===$[t]},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return void 0===$[t]},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return $[t]===$[e]},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let _=$[e],r="string"==typeof _?_:void 0;var i=P(r)?0:N(r,n.__wbindgen_export,n.__wbindgen_export2),o=Q;W().setInt32(t+4,o,!0),W().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){throw Error(C(t,e))},__wbg_addEventListener_70320335c937cd3c:function(t,e,_){$[t].addEventListener(C(e,_))},__wbg_appendChild_dea38765a26d346d:function(){return U(function(t,e){return A($[t].appendChild($[e]))},arguments)},__wbg_cloneNode_b85e9102a9a31b29:function(){return U(function(t,e){return A($[t].cloneNode(0!==e))},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return U(function(t,e,_){return A($[t].createElement(C(e,_)))},arguments)},__wbg_cssRules_554f47f3049cf066:function(){return U(function(t){return A($[t].cssRules)},arguments)},__wbg_deref_f3f9703e58148ed3:function(t){let e=$[t].deref();return P(e)?0:A(e)},__wbg_disableElementEvent_1d2759f3a698d3c3:function(){return U(function(t,e,_,n){$[t].disableElementEvent($[e],C(_,n))},arguments)},__wbg_enableElementEvent_0ce34c6ca552d6b0:function(){return U(function(t,e,_,n){$[t].enableElementEvent($[e],C(_,n))},arguments)},__wbg_eventinfo_new:function(t){return A(r.__wrap(t))},__wbg_getClassList_d784a755b82d52f8:function(){return U(function(t,e,_){let r=B($[e].getClassList($[_]),n.__wbindgen_export),i=Q;W().setInt32(t+4,i,!0),W().setInt32(t+0,r,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){return A($[t][e>>>0])},__wbg_get_b3ed3ad4be2bc8ac:function(){return U(function(t,e){return A(Reflect.get($[t],$[e]))},arguments)},__wbg_has_d4e53238966c12b6:function(){return U(function(t,e){return Reflect.has($[t],$[e])},arguments)},__wbg_host_fb29f8be35c2517d:function(t){return A($[t].host)},__wbg_insertRule_736c2f80782185c7:function(){return U(function(t,e,_,n){return $[t].insertRule(C(e,_),n>>>0)},arguments)},__wbg_item_ca823df8214b9e2b:function(t,e){let _=$[t].item(e>>>0);return P(_)?0:A(_)},__wbg_keys_b50a709a76add04e:function(t){return A(Object.keys($[t]))},__wbg_length_32ed9a279acd054c:function(t){return $[t].length},__wbg_length_35a7bace40f36eac:function(t){return $[t].length},__wbg_length_edae0cd13a8d3b71:function(t){return $[t].length},__wbg_new_361308b2356cecd0:function(){return A({})},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){return A(new Uint8Array(z(t,e)))},__wbg_ownerDocument_9347874c5cad87d7:function(t){let e=$[t].ownerDocument;return P(e)?0:A(e)},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,_){Uint8Array.prototype.set.call(z(t,e),$[_])},__wbg_publishEvent_746b6a9f0c4d4e11:function(t,e,_,n,r,i,o,s,a,d){$[t].publishEvent(C(e,_),0===n?void 0:C(n,r),$[i],o>>>0,$[s],a>>>0,$[d])},__wbg_removeAttribute_87259aab06d9f286:function(){return U(function(t,e,_){$[t].removeAttribute(C(e,_))},arguments)},__wbg_removeAttribute_a502db2359e865a1:function(){return U(function(t,e,_,n){$[t].removeAttribute($[e],C(_,n))},arguments)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return U(function(t,e,_,r){let i=N($[e].removeProperty(C(_,r)),n.__wbindgen_export,n.__wbindgen_export2),o=Q;W().setInt32(t+4,o,!0),W().setInt32(t+0,i,!0)},arguments)},__wbg_runWorklet_0a8c4179fd6c84f4:function(t,e,_,n,r,i,o){$[t].runWorklet($[e],$[_],n>>>0,$[r],i>>>0,$[o])},__wbg_setAttribute_4e006c1919060659:function(){return U(function(t,e,_,n,r,i){$[t].setAttribute($[e],C(_,n),C(r,i))},arguments)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return U(function(t,e,_,n,r){$[t].setAttribute(C(e,_),C(n,r))},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return U(function(t,e,_,n,r){$[t].setProperty(C(e,_),C(n,r))},arguments)},__wbg_set_6cb8631f80447a67:function(){return U(function(t,e,_){return Reflect.set($[t],$[e],$[_])},arguments)},__wbg_set_cssText_18380c97092caefa:function(t,e,_){$[t].cssText=C(e,_)},__wbg_set_textContent_3e87dba095d9cdbc:function(t,e,_){$[t].textContent=0===e?void 0:C(e,_)},__wbg_sheet_47ea0f14607eb161:function(t){let e=$[t].sheet;return P(e)?0:A(e)},__wbg_style_0b7c9bd318f8b807:function(t){return A($[t].style)},__wbg_style_fa56cf251a93275a:function(t){return A($[t].style)},__wbindgen_cast_0000000000000001:function(t,e){return A(C(t,e))},__wbindgen_object_clone_ref:function(t){return A($[t])},__wbindgen_object_drop_ref:function(t){V(t)},__wbindgen_object_is_undefined:function(t){return void 0===$[t]}}}}Symbol.dispose&&(g.prototype[Symbol.dispose]=g.prototype.free);let m="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_eventinfo_free(t>>>0,1)),v="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_mainthreadwasmcontext_free(t>>>0,1)),x="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_rawstyleinfo_free(t>>>0,1)),I="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_rule_free(t>>>0,1)),k="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_ruleprelude_free(t>>>0,1)),R="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_selector_free(t>>>0,1)),S="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_stylesheetresource_free(t>>>0,1));function A(t){M===$.length&&$.push($.length+1);let e=M;return M=$[e],$[e]=t,e}function E(t,e){if(!(t instanceof e))throw Error(`expected instance of ${e.name}`)}function j(t){if(1==J)throw Error("out of js stack");return $[--J]=t,J}function F(t,e){t>>>=0;let _=W(),n=[];for(let r=t;r<t+4*e;r+=4)n.push(V(_.getUint32(r,!0)));return n}function z(t,e){return t>>>=0,T().subarray(t/1,t/1+e)}let O=null;function W(){return(null===O||!0===O.buffer.detached||void 0===O.buffer.detached&&O.buffer!==n.memory.buffer)&&(O=new DataView(n.memory.buffer)),O}function C(t,e){var _,n;return _=t>>>=0,(H+=n=e)>=0x7ff00000&&((G=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),H=n),G.decode(T().subarray(_,_+n))}let q=null,L=null;function T(){return(null===L||0===L.byteLength)&&(L=new Uint8Array(n.memory.buffer)),L}function U(t,e){try{return t.apply(this,e)}catch(t){n.__wbindgen_export3(A(t))}}let $=Array(128).fill(void 0);$.push(void 0,null,!0,!1);let M=$.length;function P(t){return null==t}function D(t,e){let _=e(4*t.length,4)>>>0;return((null===q||0===q.byteLength)&&(q=new Uint32Array(n.memory.buffer)),q).set(t,_/4),Q=t.length,_}function B(t,e){let _=e(4*t.length,4)>>>0,n=W();for(let e=0;e<t.length;e++)n.setUint32(_+4*e,A(t[e]),!0);return Q=t.length,_}function N(t,e,_){if(void 0===_){let _=K.encode(t),n=e(_.length,1)>>>0;return T().subarray(n,n+_.length).set(_),Q=_.length,n}let n=t.length,r=e(n,1)>>>0,i=T(),o=0;for(;o<n;o++){let e=t.charCodeAt(o);if(e>127)break;i[r+o]=e}if(o!==n){0!==o&&(t=t.slice(o)),r=_(r,n,n=o+3*t.length,1)>>>0;let e=T().subarray(r+o,r+n);o+=K.encodeInto(t,e).written,r=_(r,n,o,1)>>>0}return Q=o,r}let J=128;function V(t){let e=$[t];return t<132||($[t]=M,M=t),e}let G=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});G.decode();let H=0,K=new TextEncoder;"encodeInto"in K||(K.encodeInto=function(t,e){let _=K.encode(t);return e.set(_),{read:t.length,written:_.length}});let Q=0;function X(t,e){return n=t.exports,O=null,q=null,L=null,n}async function Y(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(t,e)}catch(e){if(t.ok&&function(t){switch(t){case"basic":case"cors":case"default":return!0}return!1}(t.type)&&"application/wasm"!==t.headers.get("Content-Type"))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);else throw e}let _=await t.arrayBuffer();return await WebAssembly.instantiate(_,e)}{let _=await WebAssembly.instantiate(t,e);return _ instanceof WebAssembly.Instance?{instance:_,module:t}:_}}function Z(t){if(void 0!==n)return n;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module:t}=t:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let e=h();return t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t)),X(new WebAssembly.Instance(t,e),t)}async function tt(t){if(void 0!==n)return n;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module_or_path:t}=t:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL(_(8331),_.b));let e=h();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));let{instance:r,module:i}=await Y(await t,e);return X(r,i)}_.d(e,{EventInfo:()=>r,MainThreadWasmContext:()=>i,RawStyleInfo:()=>o,Rule:()=>s,RulePrelude:()=>a,Selector:()=>d,StyleSheetResource:()=>g,add_inline_style_raw_string_key:()=>l,decode_style_info:()=>c,default:()=>tt,encode_legacy_json_generated_raw_style_info:()=>b,get_font_face_content:()=>w,get_style_content:()=>u,initSync:()=>Z,set_inline_styles_in_key_value_vec:()=>p,set_inline_styles_in_str:()=>f,set_inline_styles_number_key:()=>y})}}]);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";(globalThis.
|
|
1
|
+
"use strict";(globalThis.rspackChunk_lynx_js_web_rsbuild_server_middleware=globalThis.rspackChunk_lynx_js_web_rsbuild_server_middleware||[]).push([[177],{1998(__unused_rspack___webpack_module__,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);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,s){let{originError:i,errorCode:r,errorLevel:n,runType:o=oe}=s??{};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,{...o,buildVersion:"unknown_version",versionCode:"unknown_version",errorCode:r,errorLevel:n})}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,s){this.target=e,this.keyframes=t,this.options=s}},Q=class{constructor(e,t){this.keyframes=e,this.options=t}},Y=class{constructor(e,t,s){this.id=e,this.effect=new Q(t,s)}},L=class{constructor(e,t,s){this._root=e,this._idSelector="#"+t,this._lynx=s,this._element=void 0}ensureElement(){this._element||(this._element=this._lynx.createElement(this._root,this._idSelector))}animate(e,t){this.ensureElement();let s=new V(new $(this,e,t));return this._element.animate(0,s.id,e,t),s}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,s){this._component=e,this._taskQueue=t,this._native_proxy=s,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 s=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??{},s,this._nodeSelectToken.root_unique_id):s({code:5,data:"selectAll not supported for invoke method"})};return this._selectorQuery.commitTask(t)}path(e){let t=t=>{let s=t=>{e&&e(t.data,t.status)};t.nativeApp.getPathInfo(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,s,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(t)}fields(e,t){let s=s=>{let i=i=>{if(e.query){let t=t=>{t.query=A.newEmptyQuery(s),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)},r=[];for(let t in e){if("query"==t&&!0==e[t]&&!e.unique_id){r.push("unique_id");continue}e[t]&&r.push(t)}s.nativeApp.getFields(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,r,i,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(s)}animate(e){let t=[];Array.isArray(e)?t=e:t.push(e);let s=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(s)}animationOperate(e,t){let s=[];Array.isArray(t)?s=t:s.push(t);let i=t=>{s.forEach(s=>{t.nativeApp.animate(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,e,s,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,s,i){this.getNativeApp=e,this.getApp=t,this.Promise=s,this.getNativeLynx=i,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,s)=>{if(this.requireModule.cache[e])return this.requireModule.cache[e];let i=this.getApp().requireModule(e,t,s);return this.requireModule.cache[e]=i,i},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,(s,i)=>{s||(this.requireModuleAsync.cache[e]=i),t(s,i)})},this.createElement=(e,t)=>this.getNativeLynx().createElement(e,t),this.getElementById=e=>new ve("",e,this),this.reportError=(e,t)=>{let s;if(F(e))s=e;else{let t;s=Error(t="string"!=typeof e?JSON.stringify(e):e)}let{level:i="error"}=t||{},n;switch(i){case"error":default:n=1;break;case"warning":n=2;break;case"fatal":n=0}this.getApp().handleUserError(s,void 0,n)},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 s=r.__registerSharedDataCounter++;return this.getNativeApp().subscribeSessionStorage(e,s,t),s},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 s={};s[e]=t,l.shareDataSubject.notifyDataChange(s)},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,s,i)=>this.getNativeLynx().fetchDynamicComponent(e,t,s,i),this.QueryComponent=(e,t)=>{let s=()=>{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 s();let i=i=>{!0===i.__hasReady?(l.loadDynamicComponent(this.getApp(),e),s()):t(i)};this.getNativeLynx().QueryComponent(e,i)},this.loadDynamicComponent=(e,t,s={})=>new this.Promise((i,n)=>{let o=[],a;(Array.isArray(e)?(o=e,a=t):"string"==typeof t?(o=[e],a=t):(a=e,s=t),this.getApp().loadedDynamicComponentsSet.has(a))?i({code:0,data:{url:a,sync:!1,error_message:"",mode:"normal"},detail:{schema:a,cache:!1,errMsg:""}}):this.getNativeLynx().fetchDynamicComponent(a,s,e=>{e&&0==e.code?i(e):n(e)},o)}),this.fetch=(e,t)=>new this.Promise((s,i)=>{let n=new(this.getApp())._RequestClass(e,t),o=n.signal;if(o.aborted)return i(o.reason);o.addEventListener("abort",e=>{i(o.reason)});let a={method:n.method,url:n.url,origin:this.getNativeApp().__pageUrl,headers:Object.fromEntries(n.headers.entries()),body:n._arrayBuffer,lynxExtension:n.lynxExtension},h=n.lynxExtension.useStreaming;this.getApp().NativeModules.LynxFetchModule.fetch(a,e=>{if(!o.aborted)try{let t=new(this.getApp())._ReadableStreamClass,i=new(this.getApp())._ResponseClass(h?t:e.body,e);if(h){let e=i.lynxExtension.streamingId;this.getApp().GlobalEventEmitter.addListener(e,e=>{let s=e.event;"onData"===s?t.onData(e.data):"onEnd"===s?t.onEnd():"onError"===s&&t.onError(e.error)})}s(i)}catch{i(TypeError(e.statusText))}},e=>{o.aborted||i(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,s)=>new Y(e,t,s),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,s){let i=this._events.get(e);"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!0]),i?i.push({listener:t,context:s}):this._events.set(e,[{listener:t,context:s}])}removeListener(e,t){if("function"!=typeof t)throw Error("removeListener only takes instances of Function");let s=this._events.get(e),i=0;Array.isArray(s)&&s.some(e=>{if(t===e.listener)return!0;i++})&&s.splice(i,1),"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!1])}emit(e,t){let s=this._events.get(e);Array.isArray(s)&&s.forEach(e=>{let{listener:s,context:i}=e;"function"==typeof s&&s.apply(i||this,t)})}removeAllListeners(e){"string"==typeof e?this._events.delete(e):this._events=new Map}trigger(e,t){let s=this._events.get(e);Array.isArray(s)&&("string"==typeof t&&(t=JSON.parse(t)),s.forEach(e=>{let{listener:s,context:i}=e;"function"==typeof s&&s.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,s){return super.addListener(e,t,s),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,s){this._id=e,this._intersectionObserverModule=t,this._manager=s,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 s=this._nativeModules.IntersectionObserverModule,i=new pe(this._observerId,s,this);return this._observers[this._observerId]=i,s.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 s="__lynx_timing_flag";t[s]&&(this._bindPipelineIdWithTimingFlag(e.pipelineID,t[s]),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 s=e[t];return"function"==typeof s&&(this._cachedFunctions[t]=s),s}})}static create(e){return new r(e)}};function Ae(e,t,s,i,r=!1){let{getPromise:n}=l;return"function"==typeof n?n({nextTick:r?i:t=>e(t,0),setTimeout:e,onUnhandled:t,clearTimeout:s}):l.Promise}var Me,M=class{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{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,s]of e)this.append(t,s);else Array.isArray(e)?e.forEach(([e,t])=>{this.append(e,Array.isArray(t)?t.join(" "):t)}):e&&Object.getOwnPropertyNames(e).forEach(t=>{let s=e[t];this.append(t,Array.isArray(s)?s.join(" "):s)})}[(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 s=this.has(e)?`${this.get(e)}, ${t}`:t;this.set(e,s)}delete(e){this.has(e)&&this._headers_map.delete(e)}forEach(e,t){for(let[s,i]of this.entries())e.call(t,i,s,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,s){if(super(),s=s||{},t instanceof e){if(t.bodyUsed)throw TypeError("Already read");this._url=t.url,s.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((s.headers||!this.headers)&&(this._headers=new D(s.headers)),this._method=s.method||this.method||"GET",this._method=this._method.toUpperCase(),("GET"===this.method||"HEAD"===this.method)&&s.body)throw TypeError("Body not allowed for GET or HEAD requests");"u">typeof s.signal&&(this._signal=s.signal),this._signal=this._signal||Z.__create(),this._lynxExtension=s.lynxExtension||{},this._headers.get("Content-Type")||("string"==typeof s.body?this._headers.set("Content-Type","text/plain;charset=UTF-8"):globalThis.URLSearchParams&&s.body instanceof URLSearchParams?this._headers.set("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"):s.body instanceof ArrayBuffer||this._headers.set("Content-Type","text/plain;charset=UTF-8")),this.setBody(s.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 s=()=>{this.__eventCenter.removeListener("waitSignal",s),this.processRead(e,t)};this.__eventCenter.addListener("waitSignal",s,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 s=this.setupPromise(this.nativeApp.setTimeout,this.nativeApp.clearTimeout,t);this.lynx=this.createLynx(t,s),this.setupJSModule(),this.setupIntersectionApi(),this.setupFetchAPI(s)}initBase(e){let{nativeApp:t,params:s}=e;this.nativeAppId=t.id,this._params=s,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 s=this.LynxSetModule[e];s&&Function.prototype.apply.call(s,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,s){let{componentId:i=""}=t;return e._intersectionObserverManager.createIntersectionObserver(i,s)},this.lynx.createIntersectionObserver=this._apiList.createIntersectionObserver}onIntersectionObserverEvent(e,t,s){let i=this._intersectionObserverManager.getObserver(e);i&&i.invokeCallback(t,s)}reportError(e){return this.lynx.reportError(e)}handleError(e,t,s){h(e,this.nativeApp,{originError:t,getSourceMapRelease:this.getSourceMapRelease,errorLevel:s})}handleUserError(e,t,s,i){let{message:r,name:n,stack:o}=e||{};r||({message:r,name:n,stack:o}=Error(JSON.stringify(e)));let a=new g(i?`${i} ${n}: ${r}`:`${n}: ${r}`,o);a.cause=t,this.handleError(a,e,s)}handleInternalError(e,t){let{message:s,name:i,stack:r}=e||{};s||({message:s,name:i,stack:r}=Error(JSON.stringify(e)));let n=new y(`${i}: ${s}`,r);n.cause=t,this.handleError(n,e)}getBoolEnv(e){return this.nativeApp.getEnv(e)?.toLowerCase()==="true"}static{this._$factoryCache={}}_$executeInit(e,{path:t,entryName:s}){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:${s}`);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 s=JSON.parse(e),i=()=>s;return _BaseApp._$factoryCache[t]=i,s}requireModule(e,t,s){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??_,...s});return this._$executeJSON(i,{path:e,entryName:t})}let r=this.nativeApp.loadScript(e,t,s);return this._$executeInit(r,{path:e,entryName:t})}requireModuleAsync(e,t){let s=_BaseApp._$factoryCache[e];if(s)return void t(null,this._$executeInit({init:s},{path:e}));if(e.split("?")[0].endsWith(".json")){try{let s=this.nativeApp.readScript(e),i=this._$executeJSON(s,{path:e});t(null,i)}catch(e){t(e)}return}let i=Error();this.nativeApp.loadScriptAsync(e,(s,r)=>{if(s)return i.message=s,t(i);try{return t(null,this._$executeInit(r,{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&¶ms.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,s){s=s||_,this.modules[s]||(this.modules[s]={}),this.modules[s][e]={hasRun:!1,factory:t.bind(this)}}callFunction(e,t,s){try{let i=this.getJSModule(e);"function"==typeof i[t]&&i[t].apply(i,s)}catch(s){this.handleUserError(s,{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 s=this;function i(e){return function(...i){try{return e.apply(this,i)}catch(e){s.handleUserError(e,{by:t})}}}return function(t,...s){return Function.prototype.apply.call(e,void 0,[i(t),...s])}}setupPromise(e,t,s){let i=Ae(e,(e,t)=>{try{t&&(t.stack||(t=Error(JSON.stringify(t))),t.name="unhandled rejection",this.handleUserError(t))}catch{}},t,s.queueMicrotask,this._params?.pageConfigSubset?.enableMicrotaskPromisePolyfill??!1);return this.resolvedPromise=i.resolve(),i}addInternalEventListener(e,t,s){this.contextProxyTypeToMethod[e]().addEventListener(t,s),this.removeInternalEventListenersCallbacks.push(()=>{this.contextProxyTypeToMethod[e]().removeEventListener(t,s)})}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,s=De(e);return function(e){let i=[],r=`${s}/${e}`.split("/"),n=r.length;if("string"!=typeof e)throw Error("require args must be a string");for(let s=0;s<n;++s){let o=r[s];if(""!==o&&"."!==o)if(".."===o){if(0===i.length)throw Error(`can't find module ${e} in app: ${t._nativeApp.id}`);i.pop()}else s+1<n&&".."===r[s+1]?s++:i.push(o)}let o=i.join("/");return o.endsWith(".js")||(o+=".js"),t.require(o)}}var te=class extends u{createLynx(e,t){let s=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>s)}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 s=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>s)}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,s){let{id:i}=e,{cardType:r}=t,n=!0,o;try{if(o="standalone"==r?new U({nativeApp:e,params:t,lynx:s},t):new te({nativeApp:e,params:t,lynx:s}),l.currentAppId=i,l.multiApps[i]=o,"standalone"===r)return e.setCard(o),!0;t.bundleSupportLoadScript,n=!0;try{delete o.lynx.requireModule.cache[E],delete u._$factoryCache[E],o.lynx.requireModule(E,_),o.lynx._switches.allowUndefinedInNativeDataTypeSet&&o.dataTypeSet.add("undefined")}catch(e){n=!1,o.handleUserError(e,void 0,void 0,"loadCard failed")}e.setCard(o)}catch(t){qe(e,t),n=!1}return n}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 s=l.globDynamicComponentEntry;l.globDynamicComponentEntry=t;try{delete e.lynx.requireModule.cache[E],delete u._$factoryCache[E];let s=e.lynx.requireModule(E,t);return e.saveDynamicComponentExports(t,s),e.loadedDynamicComponentsSet.add(t),s}catch(t){e.handleUserError(t)}finally{l.globDynamicComponentEntry=s}}function qe(e,t,s){let{message:i,name:r,stack:n}=t||{};i||({message:i,name:r,stack:n}=Error(JSON.stringify(t)));let o=new y(`loadCard failed ${r}: ${i}`,n);o.cause=s,h(o,e,{originError:t,getSourceMapRelease:t=>{if(!e.__GetSourceMapRelease(t))return e.__GetSourceMapRelease(u.kDefaultSourceMapURL)}})}}}]);
|
|
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,s){this.target=e,this.keyframes=t,this.options=s}},Q=class{constructor(e,t){this.keyframes=e,this.options=t}},Y=class{constructor(e,t,s){this.id=e,this.effect=new Q(t,s)}},L=class{constructor(e,t,s){this._root=e,this._idSelector="#"+t,this._lynx=s,this._element=void 0}ensureElement(){this._element||(this._element=this._lynx.createElement(this._root,this._idSelector))}animate(e,t){this.ensureElement();let s=new V(new $(this,e,t));return this._element.animate(0,s.id,e,t),s}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,s){this._component=e,this._taskQueue=t,this._native_proxy=s,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 s=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??{},s,this._nodeSelectToken.root_unique_id):s({code:5,data:"selectAll not supported for invoke method"})};return this._selectorQuery.commitTask(t)}path(e){let t=t=>{let s=t=>{e&&e(t.data,t.status)};t.nativeApp.getPathInfo(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,s,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(t)}fields(e,t){let s=s=>{let i=i=>{if(e.query){let t=t=>{t.query=A.newEmptyQuery(s),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)},r=[];for(let t in e){if("query"==t&&!0==e[t]&&!e.unique_id){r.push("unique_id");continue}e[t]&&r.push(t)}s.nativeApp.getFields(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,this._nodeSelectToken.first_only,r,i,this._nodeSelectToken.root_unique_id)};return this._selectorQuery.commitTask(s)}animate(e){let t=[];Array.isArray(e)?t=e:t.push(e);let s=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(s)}animationOperate(e,t){let s=[];Array.isArray(t)?s=t:s.push(t);let i=t=>{s.forEach(s=>{t.nativeApp.animate(this._nodeSelectToken.type,this._nodeSelectToken.identifier,this._nodeSelectToken.component_id,e,s,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,s,i){this.getNativeApp=e,this.getApp=t,this.Promise=s,this.getNativeLynx=i,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,s)=>{if(this.requireModule.cache[e])return this.requireModule.cache[e];let i=this.getApp().requireModule(e,t,s);return this.requireModule.cache[e]=i,i},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,(s,i)=>{s||(this.requireModuleAsync.cache[e]=i),t(s,i)})},this.createElement=(e,t)=>this.getNativeLynx().createElement(e,t),this.getElementById=e=>new ve("",e,this),this.reportError=(e,t)=>{let s;if(F(e))s=e;else{let t;s=Error(t="string"!=typeof e?JSON.stringify(e):e)}let{level:i="error"}=t||{},n;switch(i){case"error":default:n=1;break;case"warning":n=2;break;case"fatal":n=0}this.getApp().handleUserError(s,void 0,n)},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 s=r.__registerSharedDataCounter++;return this.getNativeApp().subscribeSessionStorage(e,s,t),s},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 s={};s[e]=t,l.shareDataSubject.notifyDataChange(s)},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,s,i)=>this.getNativeLynx().fetchDynamicComponent(e,t,s,i),this.QueryComponent=(e,t)=>{let s=()=>{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 s();let i=i=>{!0===i.__hasReady?(l.loadDynamicComponent(this.getApp(),e),s()):t(i)};this.getNativeLynx().QueryComponent(e,i)},this.loadDynamicComponent=(e,t,s={})=>new this.Promise((i,n)=>{let o=[],a;(Array.isArray(e)?(o=e,a=t):"string"==typeof t?(o=[e],a=t):(a=e,s=t),this.getApp().loadedDynamicComponentsSet.has(a))?i({code:0,data:{url:a,sync:!1,error_message:"",mode:"normal"},detail:{schema:a,cache:!1,errMsg:""}}):this.getNativeLynx().fetchDynamicComponent(a,s,e=>{e&&0==e.code?i(e):n(e)},o)}),this.fetch=(e,t)=>new this.Promise((s,i)=>{let n=new(this.getApp())._RequestClass(e,t),o=n.signal;if(o.aborted)return i(o.reason);o.addEventListener("abort",e=>{i(o.reason)});let a={method:n.method,url:n.url,origin:this.getNativeApp().__pageUrl,headers:Object.fromEntries(n.headers.entries()),body:n._arrayBuffer,lynxExtension:n.lynxExtension},h=n.lynxExtension.useStreaming;this.getApp().NativeModules.LynxFetchModule.fetch(a,e=>{if(!o.aborted)try{let t=new(this.getApp())._ReadableStreamClass,i=new(this.getApp())._ResponseClass(h?t:e.body,e);if(h){let e=i.lynxExtension.streamingId;this.getApp().GlobalEventEmitter.addListener(e,e=>{let s=e.event;"onData"===s?t.onData(e.data):"onEnd"===s?t.onEnd():"onError"===s&&t.onError(e.error)})}s(i)}catch{i(TypeError(e.statusText))}},e=>{o.aborted||i(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,s)=>new Y(e,t,s),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,s){let i=this._events.get(e);"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!0]),i?i.push({listener:t,context:s}):this._events.set(e,[{listener:t,context:s}])}removeListener(e,t){if("function"!=typeof t)throw Error("removeListener only takes instances of Function");let s=this._events.get(e),i=0;Array.isArray(s)&&s.some(e=>{if(t===e.listener)return!0;i++})&&s.splice(i,1),"keyboardstatuschanged"==e&&this._internal_callLynxSetModule&&this._internal_callLynxSetModule("switchKeyBoardDetect",[!1])}emit(e,t){let s=this._events.get(e);Array.isArray(s)&&s.forEach(e=>{let{listener:s,context:i}=e;"function"==typeof s&&s.apply(i||this,t)})}removeAllListeners(e){"string"==typeof e?this._events.delete(e):this._events=new Map}trigger(e,t){let s=this._events.get(e);Array.isArray(s)&&("string"==typeof t&&(t=JSON.parse(t)),s.forEach(e=>{let{listener:s,context:i}=e;"function"==typeof s&&s.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,s){return super.addListener(e,t,s),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,s){this._id=e,this._intersectionObserverModule=t,this._manager=s,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 s=this._nativeModules.IntersectionObserverModule,i=new pe(this._observerId,s,this);return this._observers[this._observerId]=i,s.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 s="__lynx_timing_flag";t[s]&&(this._bindPipelineIdWithTimingFlag(e.pipelineID,t[s]),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 s=e[t];return"function"==typeof s&&(this._cachedFunctions[t]=s),s}})}static create(e){return new r(e)}};function Ae(e,t,s,i,r=!1){let{getPromise:n}=l;return"function"==typeof n?n({nextTick:r?i:t=>e(t,0),setTimeout:e,onUnhandled:t,clearTimeout:s}):l.Promise}var Me,M=class{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{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,s]of e)this.append(t,s);else Array.isArray(e)?e.forEach(([e,t])=>{this.append(e,Array.isArray(t)?t.join(" "):t)}):e&&Object.getOwnPropertyNames(e).forEach(t=>{let s=e[t];this.append(t,Array.isArray(s)?s.join(" "):s)})}[(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 s=this.has(e)?`${this.get(e)}, ${t}`:t;this.set(e,s)}delete(e){this.has(e)&&this._headers_map.delete(e)}forEach(e,t){for(let[s,i]of this.entries())e.call(t,i,s,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,s){if(super(),s=s||{},t instanceof e){if(t.bodyUsed)throw TypeError("Already read");this._url=t.url,s.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((s.headers||!this.headers)&&(this._headers=new D(s.headers)),this._method=s.method||this.method||"GET",this._method=this._method.toUpperCase(),("GET"===this.method||"HEAD"===this.method)&&s.body)throw TypeError("Body not allowed for GET or HEAD requests");"u">typeof s.signal&&(this._signal=s.signal),this._signal=this._signal||Z.__create(),this._lynxExtension=s.lynxExtension||{},this._headers.get("Content-Type")||("string"==typeof s.body?this._headers.set("Content-Type","text/plain;charset=UTF-8"):globalThis.URLSearchParams&&s.body instanceof URLSearchParams?this._headers.set("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"):s.body instanceof ArrayBuffer||this._headers.set("Content-Type","text/plain;charset=UTF-8")),this.setBody(s.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 s=()=>{this.__eventCenter.removeListener("waitSignal",s),this.processRead(e,t)};this.__eventCenter.addListener("waitSignal",s,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 s=this.setupPromise(this.nativeApp.setTimeout,this.nativeApp.clearTimeout,t);this.lynx=this.createLynx(t,s),this.setupJSModule(),this.setupIntersectionApi(),this.setupFetchAPI(s)}initBase(e){let{nativeApp:t,params:s}=e;this.nativeAppId=t.id,this._params=s,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 s=this.LynxSetModule[e];s&&Function.prototype.apply.call(s,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,s){let{componentId:i=""}=t;return e._intersectionObserverManager.createIntersectionObserver(i,s)},this.lynx.createIntersectionObserver=this._apiList.createIntersectionObserver}onIntersectionObserverEvent(e,t,s){let i=this._intersectionObserverManager.getObserver(e);i&&i.invokeCallback(t,s)}reportError(e){return this.lynx.reportError(e)}handleError(e,t,s){h(e,this.nativeApp,{originError:t,getSourceMapRelease:this.getSourceMapRelease,errorLevel:s})}handleUserError(e,t,s,i){let{message:r,name:n,stack:o}=e||{};r||({message:r,name:n,stack:o}=Error(JSON.stringify(e)));let a=new g(i?`${i} ${n}: ${r}`:`${n}: ${r}`,o);a.cause=t,this.handleError(a,e,s)}handleInternalError(e,t){let{message:s,name:i,stack:r}=e||{};s||({message:s,name:i,stack:r}=Error(JSON.stringify(e)));let n=new y(`${i}: ${s}`,r);n.cause=t,this.handleError(n,e)}getBoolEnv(e){return this.nativeApp.getEnv(e)?.toLowerCase()==="true"}static{this._$factoryCache={}}_$executeInit(e,{path:t,entryName:s}){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:${s}`);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 s=JSON.parse(e),i=()=>s;return _BaseApp._$factoryCache[t]=i,s}requireModule(e,t,s){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??_,...s});return this._$executeJSON(i,{path:e,entryName:t})}let r=this.nativeApp.loadScript(e,t,s);return this._$executeInit(r,{path:e,entryName:t})}requireModuleAsync(e,t){let s=_BaseApp._$factoryCache[e];if(s)return void t(null,this._$executeInit({init:s},{path:e}));if(e.split("?")[0].endsWith(".json")){try{let s=this.nativeApp.readScript(e),i=this._$executeJSON(s,{path:e});t(null,i)}catch(e){t(e)}return}let i=Error();this.nativeApp.loadScriptAsync(e,(s,r)=>{if(s)return i.message=s,t(i);try{return t(null,this._$executeInit(r,{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&¶ms.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,s){s=s||_,this.modules[s]||(this.modules[s]={}),this.modules[s][e]={hasRun:!1,factory:t.bind(this)}}callFunction(e,t,s){try{let i=this.getJSModule(e);"function"==typeof i[t]&&i[t].apply(i,s)}catch(s){this.handleUserError(s,{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 s=this;function i(e){return function(...i){try{return e.apply(this,i)}catch(e){s.handleUserError(e,{by:t})}}}return function(t,...s){return Function.prototype.apply.call(e,void 0,[i(t),...s])}}setupPromise(e,t,s){let i=Ae(e,(e,t)=>{try{t&&(t.stack||(t=Error(JSON.stringify(t))),t.name="unhandled rejection",this.handleUserError(t))}catch{}},t,s.queueMicrotask,this._params?.pageConfigSubset?.enableMicrotaskPromisePolyfill??!1);return this.resolvedPromise=i.resolve(),i}addInternalEventListener(e,t,s){this.contextProxyTypeToMethod[e]().addEventListener(t,s),this.removeInternalEventListenersCallbacks.push(()=>{this.contextProxyTypeToMethod[e]().removeEventListener(t,s)})}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,s=De(e);return function(e){let i=[],r=`${s}/${e}`.split("/"),n=r.length;if("string"!=typeof e)throw Error("require args must be a string");for(let s=0;s<n;++s){let o=r[s];if(""!==o&&"."!==o)if(".."===o){if(0===i.length)throw Error(`can't find module ${e} in app: ${t._nativeApp.id}`);i.pop()}else s+1<n&&".."===r[s+1]?s++:i.push(o)}let o=i.join("/");return o.endsWith(".js")||(o+=".js"),t.require(o)}}var te=class extends u{createLynx(e,t){let s=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>s)}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 s=f.create(e);return new b(()=>this.nativeApp,()=>this,t,()=>s)}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,s){let{id:i}=e,{cardType:r}=t,n=!0,o;try{if(o="standalone"==r?new U({nativeApp:e,params:t,lynx:s},t):new te({nativeApp:e,params:t,lynx:s}),l.currentAppId=i,l.multiApps[i]=o,"standalone"===r)return e.setCard(o),!0;t.bundleSupportLoadScript,n=!0;try{delete o.lynx.requireModule.cache[E],delete u._$factoryCache[E],o.lynx.requireModule(E,_),o.lynx._switches.allowUndefinedInNativeDataTypeSet&&o.dataTypeSet.add("undefined")}catch(e){n=!1,o.handleUserError(e,void 0,void 0,"loadCard failed")}e.setCard(o)}catch(t){qe(e,t),n=!1}return n}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 s=l.globDynamicComponentEntry;l.globDynamicComponentEntry=t;try{delete e.lynx.requireModule.cache[E],delete u._$factoryCache[E];let s=e.lynx.requireModule(E,t);return e.saveDynamicComponentExports(t,s),e.loadedDynamicComponentsSet.add(t),s}catch(t){e.handleUserError(t)}finally{l.globDynamicComponentEntry=s}}function qe(e,t,s){let{message:i,name:r,stack:n}=t||{};i||({message:i,name:r,stack:n}=Error(JSON.stringify(t)));let o=new y(`loadCard failed ${r}: ${i}`,n);o.cause=s,h(o,e,{originError:t,getSourceMapRelease:t=>{if(!e.__GetSourceMapRelease(t))return e.__GetSourceMapRelease(u.kDefaultSourceMapURL)}})}__webpack_require__.d(__webpack_exports__,{callDestroyLifetimeFun:()=>Fe,destroyCard:()=>ke,loadCard:()=>we,loadDynamicComponent:()=>Be,nativeGlobal:()=>l})}}]);
|