@supersoniks/concorde 5.1.0 → 5.1.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/.claude/launch.json +15 -0
- package/.claude/vite.http.config.mjs +7 -0
- package/.taste-skill/after/desktop-fold.jpg +0 -0
- package/.taste-skill/after/desktop-page-01.jpg +0 -0
- package/.taste-skill/after/desktop-page-02.jpg +0 -0
- package/.taste-skill/after/desktop-page-03.jpg +0 -0
- package/.taste-skill/after/mobile-fold.jpg +0 -0
- package/.taste-skill/after/mobile-page-01.jpg +0 -0
- package/.taste-skill/after/report.json +4103 -0
- package/.taste-skill/after/tablet-fold.jpg +0 -0
- package/.taste-skill/after/tablet-page-01.jpg +0 -0
- package/.taste-skill/after/tablet-page-02.jpg +0 -0
- package/.taste-skill/before/desktop-fold.jpg +0 -0
- package/.taste-skill/before/desktop-page-01.jpg +0 -0
- package/.taste-skill/before/desktop-page-02.jpg +0 -0
- package/.taste-skill/before/mobile-fold.jpg +0 -0
- package/.taste-skill/before/mobile-page-01.jpg +0 -0
- package/.taste-skill/before/report.json +2556 -0
- package/.taste-skill/before/tablet-fold.jpg +0 -0
- package/.taste-skill/before/tablet-page-01.jpg +0 -0
- package/.taste-skill/direction.json +510 -0
- package/.taste-skill/notes.md +84 -0
- package/.taste-skill/prod/desktop-fold.jpg +0 -0
- package/.taste-skill/prod/desktop-page-01.jpg +0 -0
- package/.taste-skill/prod/desktop-page-02.jpg +0 -0
- package/.taste-skill/prod/desktop-page-03.jpg +0 -0
- package/.taste-skill/prod/mobile-fold.jpg +0 -0
- package/.taste-skill/prod/mobile-page-01.jpg +0 -0
- package/.taste-skill/prod/mobile-page-02.jpg +0 -0
- package/.taste-skill/prod/report.json +1973 -0
- package/.taste-skill/prod/tablet-fold.jpg +0 -0
- package/.taste-skill/prod/tablet-page-01.jpg +0 -0
- package/.taste-skill/prod/tablet-page-02.jpg +0 -0
- package/.tmp-cem/custom-elements.json +1939 -1939
- package/AUDIT.md +228 -0
- package/PLAN-AMELIORATION.md +220 -0
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +16 -16
- package/concorde-core.es.js +235 -233
- package/dist/concorde-core.bundle.js +16 -16
- package/dist/concorde-core.es.js +235 -233
- package/dist/img/archive/concorde-001-2cv.webp +0 -0
- package/dist/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
- package/dist/img/archive/concorde-red-arrows-2002.webm +0 -0
- package/dist/img/archive/credits.json +28 -0
- package/docs/assets/index-Bb-_LRyY.js +12280 -0
- package/docs/assets/index-CD4WyL6o.css +1 -0
- package/docs/docs-mock-api-sw.js +2 -0
- package/docs/docs-mock-api-sw.js.map +2 -2
- package/docs/index.html +9 -7
- package/index.html +27 -63
- package/package.json +11 -4
- package/public/img/archive/concorde-001-2cv.webp +0 -0
- package/public/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
- package/public/img/archive/concorde-red-arrows-2002.webm +0 -0
- package/public/img/archive/credits.json +28 -0
- package/scripts/post-build-docs.js +0 -0
- package/scripts/post-build.mjs +0 -0
- package/src/core/components/functional/fetch/fetch.md +2 -2
- package/src/core/components/functional/if/if.md +0 -0
- package/src/core/components/functional/if/if.ts +0 -0
- package/src/core/components/functional/list/list.demo.ts +0 -0
- package/src/core/components/functional/list/list.md +0 -0
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +0 -0
- package/src/core/components/functional/sdui/component-catalog.gaps.json +1 -1
- package/src/core/components/functional/sdui/component-catalog.json +1 -1
- package/src/core/components/functional/sdui/types.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/submit/submit.md +0 -0
- package/src/core/components/functional/subscriber/subscriber.ts +0 -0
- package/src/core/components/functional/value/value.ts +0 -0
- package/src/core/components/ui/_css/size.ts +0 -0
- package/src/core/components/ui/captcha/altchaStyles.ts +0 -0
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/form/switch/switch.md +0 -0
- package/src/core/components/ui/modal/modal.ts +14 -11
- package/src/core/mixins/Subscriber.ts +0 -0
- package/src/core/utils/DataBindObserver.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/docs/_core-concept/subscriber.md +0 -0
- package/src/docs/_getting-started/components.md +5 -0
- package/src/docs/_getting-started/my-first-subscriber.md +0 -0
- package/src/docs/_getting-started/pubsub.md +0 -0
- package/src/docs/_getting-started/theming.md +2 -2
- package/src/docs/code.ts +88 -75
- package/src/docs/components/docs-demo-sources.ts +16 -8
- package/src/docs/components/docs-lit-demo.ts +19 -37
- package/src/docs/docs.ts +5 -0
- package/src/docs/example/docs-boarding-pass-demo.ts +134 -0
- package/src/docs/example/docs-provider-keys.ts +12 -0
- package/src/docs/example/users.ts +0 -0
- package/src/docs/header/header.ts +233 -69
- package/src/docs/home/catalog.ts +44 -0
- package/src/docs/home/home.ts +513 -0
- package/src/docs/home/mach-stage.ts +389 -0
- package/src/docs/layout.ts +3 -1
- package/src/docs/navigation/components-index.ts +56 -0
- package/src/docs/navigation/navigation.ts +240 -232
- package/src/docs/navigation/pager.ts +67 -0
- package/src/docs/navigation/toc.ts +98 -0
- package/src/docs/search/docs-search.json +330 -20
- package/src/docs/search/markdown-renderer.ts +11 -3
- package/src/docs/search/page.ts +0 -0
- package/src/docs/shiki/index.ts +109 -0
- package/src/docs/tailwind/css/base/scrollbar.css +22 -0
- package/src/docs/tailwind/css/base/theme.css +96 -0
- package/src/docs/tailwind/css/base/typography.css +4 -0
- package/src/docs/tailwind/css/docs/boarding-pass.css +65 -0
- package/src/docs/tailwind/css/docs/content.css +32 -0
- package/src/docs/tailwind/css/docs/page.css +10 -0
- package/src/docs/tailwind/css/docs.css +9 -0
- package/src/docs/tailwind/css/home/hero.css +210 -0
- package/src/docs/tailwind/css/home/motion.css +84 -0
- package/src/docs/tailwind/css/home/sections.css +416 -0
- package/src/docs/tailwind/css/tailwind.css +7 -185
- package/src/tsconfig.json +23 -2
- package/src/tsconfig.tsbuildinfo +1 -1
- package/tailwind.config.js +8 -4
- package/.github/workflows/ci.yml +0 -21
- package/.github-export-ignore +0 -30
- package/CONTRIBUTING.md +0 -59
- package/DEV.md +0 -54
- package/LICENSE +0 -21
- package/OPEN_SOURCE_CHECKPOINT.md +0 -133
- package/concorde-3d.bundle.js +0 -3960
- package/concorde-3d.es.js +0 -33433
- package/concorde-hugging-face-infer.bundle.js +0 -32
- package/concorde-hugging-face-infer.es.js +0 -2952
- package/concorde-interactive.bundle.js +0 -1157
- package/concorde-interactive.es.js +0 -10734
- package/concorde-shader.bundle.js +0 -116
- package/concorde-shader.es.js +0 -8353
- package/concorde-webgpu.bundle.js +0 -307
- package/concorde-webgpu.es.js +0 -8627
- package/docs/assets/index-D8MVWqY6.js +0 -12251
- package/docs/assets/index-DiD0qYvE.css +0 -1
- package/docs/crawl/core/components/functional/date/date.html +0 -190
- package/docs/crawl/core/components/functional/fetch/fetch.html +0 -109
- package/docs/crawl/core/components/functional/if/if.html +0 -27
- package/docs/crawl/core/components/functional/jsonata/jsonata.html +0 -79
- package/docs/crawl/core/components/functional/list/list.html +0 -70
- package/docs/crawl/core/components/functional/mix/mix.html +0 -45
- package/docs/crawl/core/components/functional/queue/queue.html +0 -96
- package/docs/crawl/core/components/functional/router/router.html +0 -106
- package/docs/crawl/core/components/functional/sdui/sdui.html +0 -269
- package/docs/crawl/core/components/functional/states/states.html +0 -66
- package/docs/crawl/core/components/functional/submit/submit.html +0 -160
- package/docs/crawl/core/components/functional/subscriber/subscriber.html +0 -67
- package/docs/crawl/core/components/functional/value/value.html +0 -51
- package/docs/crawl/core/components/ui/alert/alert.html +0 -110
- package/docs/crawl/core/components/ui/alert-messages/alert-messages.html +0 -23
- package/docs/crawl/core/components/ui/badge/badge.html +0 -119
- package/docs/crawl/core/components/ui/button/button.html +0 -149
- package/docs/crawl/core/components/ui/captcha/captcha.html +0 -30
- package/docs/crawl/core/components/ui/card/card.html +0 -99
- package/docs/crawl/core/components/ui/divider/divider.html +0 -58
- package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +0 -73
- package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +0 -135
- package/docs/crawl/core/components/ui/form/form-actions/form-actions.html +0 -79
- package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +0 -62
- package/docs/crawl/core/components/ui/form/input/input.html +0 -109
- package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +0 -38
- package/docs/crawl/core/components/ui/form/radio/radio.html +0 -56
- package/docs/crawl/core/components/ui/form/select/select.html +0 -73
- package/docs/crawl/core/components/ui/form/switch/switch.html +0 -56
- package/docs/crawl/core/components/ui/form/textarea/textarea.html +0 -59
- package/docs/crawl/core/components/ui/group/group.html +0 -82
- package/docs/crawl/core/components/ui/icon/icon.html +0 -133
- package/docs/crawl/core/components/ui/image/image.html +0 -110
- package/docs/crawl/core/components/ui/link/link.html +0 -42
- package/docs/crawl/core/components/ui/loader/loader.html +0 -50
- package/docs/crawl/core/components/ui/menu/menu.html +0 -322
- package/docs/crawl/core/components/ui/modal/modal.html +0 -117
- package/docs/crawl/core/components/ui/pop/pop.html +0 -102
- package/docs/crawl/core/components/ui/progress/progress.html +0 -58
- package/docs/crawl/core/components/ui/table/table.html +0 -413
- package/docs/crawl/core/components/ui/toast/toast.html +0 -122
- package/docs/crawl/core/components/ui/tooltip/tooltip.html +0 -79
- package/docs/crawl/docs/_core-concept/dataFlow.html +0 -177
- package/docs/crawl/docs/_core-concept/overview.html +0 -66
- package/docs/crawl/docs/_core-concept/subscriber.html +0 -75
- package/docs/crawl/docs/_decorators/ancestor-attribute.html +0 -116
- package/docs/crawl/docs/_decorators/auto-subscribe.html +0 -202
- package/docs/crawl/docs/_decorators/bind.html +0 -141
- package/docs/crawl/docs/_decorators/get.html +0 -149
- package/docs/crawl/docs/_decorators/handle.html +0 -165
- package/docs/crawl/docs/_decorators/on-assign.html +0 -355
- package/docs/crawl/docs/_decorators/patch.html +0 -78
- package/docs/crawl/docs/_decorators/post.html +0 -139
- package/docs/crawl/docs/_decorators/publish.html +0 -61
- package/docs/crawl/docs/_decorators/put.html +0 -78
- package/docs/crawl/docs/_decorators/subscribe.html +0 -109
- package/docs/crawl/docs/_decorators/wait-for-ancestors.html +0 -137
- package/docs/crawl/docs/_directives/sub.html +0 -93
- package/docs/crawl/docs/_getting-started/ai-agents.html +0 -173
- package/docs/crawl/docs/_getting-started/concorde-manual-install.html +0 -100
- package/docs/crawl/docs/_getting-started/concorde-outside.html +0 -58
- package/docs/crawl/docs/_getting-started/create-a-component.html +0 -111
- package/docs/crawl/docs/_getting-started/my-first-component.html +0 -189
- package/docs/crawl/docs/_getting-started/my-first-subscriber.html +0 -110
- package/docs/crawl/docs/_getting-started/pubsub.html +0 -62
- package/docs/crawl/docs/_getting-started/start.html +0 -76
- package/docs/crawl/docs/_getting-started/theming.html +0 -85
- package/docs/crawl/docs/_misc/api-configuration.html +0 -149
- package/docs/crawl/docs/_misc/dataProviderKey.html +0 -135
- package/docs/crawl/docs/_misc/docs-mock-api.html +0 -158
- package/docs/crawl/docs/_misc/dynamic-path.html +0 -180
- package/docs/crawl/docs/_misc/endpoint.html +0 -50
- package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +0 -138
- package/docs/crawl/docs/_misc/html-integration.html +0 -48
- package/docs/crawl/hubs/decorators.html +0 -547
- package/docs/crawl/hubs/form-components.html +0 -359
- package/docs/crawl/hubs/remote-data.html +0 -452
- package/docs/crawl/index.html +0 -101
- package/docs/llms-full.txt +0 -5761
- package/docs/llms.txt +0 -104
- package/docs/sitemap.xml +0 -237
- package/docs/src/core/components/functional/date/date.md +0 -290
- package/docs/src/core/components/functional/fetch/fetch.md +0 -125
- package/docs/src/core/components/functional/if/if.md +0 -9
- package/docs/src/core/components/functional/jsonata/jsonata.md +0 -56
- package/docs/src/core/components/functional/list/list.md +0 -65
- package/docs/src/core/components/functional/mix/mix.md +0 -41
- package/docs/src/core/components/functional/queue/queue.md +0 -72
- package/docs/src/core/components/functional/router/router.md +0 -94
- package/docs/src/core/components/functional/sdui/default-library.json +0 -108
- package/docs/src/core/components/functional/sdui/example.json +0 -99
- package/docs/src/core/components/functional/sdui/sdui.md +0 -356
- package/docs/src/core/components/functional/states/states.md +0 -87
- package/docs/src/core/components/functional/submit/submit.md +0 -114
- package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
- package/docs/src/core/components/functional/value/value.md +0 -35
- package/docs/src/core/components/ui/alert/alert.md +0 -121
- package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/docs/src/core/components/ui/badge/badge.md +0 -127
- package/docs/src/core/components/ui/button/button.md +0 -182
- package/docs/src/core/components/ui/captcha/captcha.md +0 -12
- package/docs/src/core/components/ui/card/card.md +0 -97
- package/docs/src/core/components/ui/divider/divider.md +0 -35
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -77
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
- package/docs/src/core/components/ui/form/input/input.md +0 -142
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -29
- package/docs/src/core/components/ui/form/radio/radio.md +0 -57
- package/docs/src/core/components/ui/form/select/select.md +0 -71
- package/docs/src/core/components/ui/form/switch/switch.md +0 -57
- package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
- package/docs/src/core/components/ui/group/group.md +0 -75
- package/docs/src/core/components/ui/icon/icon.md +0 -125
- package/docs/src/core/components/ui/icon/icons.json +0 -1
- package/docs/src/core/components/ui/image/image.md +0 -107
- package/docs/src/core/components/ui/link/link.md +0 -43
- package/docs/src/core/components/ui/loader/loader.md +0 -55
- package/docs/src/core/components/ui/menu/menu.md +0 -329
- package/docs/src/core/components/ui/modal/modal.md +0 -119
- package/docs/src/core/components/ui/pop/pop.md +0 -96
- package/docs/src/core/components/ui/progress/progress.md +0 -63
- package/docs/src/core/components/ui/table/table.md +0 -455
- package/docs/src/core/components/ui/toast/toast.md +0 -166
- package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
- package/docs/src/docs/_core-concept/dataFlow.md +0 -88
- package/docs/src/docs/_core-concept/overview.md +0 -57
- package/docs/src/docs/_core-concept/subscriber.md +0 -75
- package/docs/src/docs/_decorators/ancestor-attribute.md +0 -127
- package/docs/src/docs/_decorators/auto-subscribe.md +0 -202
- package/docs/src/docs/_decorators/bind.md +0 -167
- package/docs/src/docs/_decorators/get.md +0 -162
- package/docs/src/docs/_decorators/handle.md +0 -175
- package/docs/src/docs/_decorators/on-assign.md +0 -390
- package/docs/src/docs/_decorators/patch.md +0 -70
- package/docs/src/docs/_decorators/post.md +0 -146
- package/docs/src/docs/_decorators/publish.md +0 -55
- package/docs/src/docs/_decorators/put.md +0 -70
- package/docs/src/docs/_decorators/subscribe.md +0 -100
- package/docs/src/docs/_decorators/wait-for-ancestors.md +0 -163
- package/docs/src/docs/_directives/sub.md +0 -91
- package/docs/src/docs/_getting-started/ai-agents.md +0 -76
- package/docs/src/docs/_getting-started/concorde-manual-install.md +0 -133
- package/docs/src/docs/_getting-started/concorde-outside.md +0 -33
- package/docs/src/docs/_getting-started/create-a-component.md +0 -139
- package/docs/src/docs/_getting-started/my-first-component.md +0 -236
- package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -120
- package/docs/src/docs/_getting-started/pubsub.md +0 -37
- package/docs/src/docs/_getting-started/start.md +0 -47
- package/docs/src/docs/_getting-started/theming.md +0 -91
- package/docs/src/docs/_misc/api-configuration.md +0 -81
- package/docs/src/docs/_misc/dataProviderKey.md +0 -168
- package/docs/src/docs/_misc/docs-mock-api.md +0 -63
- package/docs/src/docs/_misc/dynamic-path.md +0 -71
- package/docs/src/docs/_misc/endpoint.md +0 -45
- package/docs/src/docs/_misc/formelement-subscriber-removal.md +0 -115
- package/docs/src/docs/_misc/html-integration.md +0 -15
- package/docs/src/docs/search/docs-search.json +0 -9507
- package/docs/src/tag-list.json +0 -1
- package/docs/src/tsconfig-model.json +0 -23
- package/docs/src/tsconfig.declarations.json +0 -22
- package/docs/src/tsconfig.emit.json +0 -23
- package/docs/src/tsconfig.json +0 -1182
- package/gitlab/job_github_mirror.sh +0 -39
- package/scripts/github-export.mjs +0 -150
- package/src/css.d.ts +0 -19
- package/src/docs/prism/index.ts +0 -6
- package/src/docs/prism/prism.css +0 -158
- package/src/docs/prism/prism.js +0 -1022
- package/src/tsconfig.declarations.json +0 -22
- package/src/tsconfig.emit.json +0 -23
package/concorde-core.es.js
CHANGED
|
@@ -770,7 +770,7 @@ const Ie = class Ie {
|
|
|
770
770
|
return new TextDecoder().decode(g);
|
|
771
771
|
}
|
|
772
772
|
};
|
|
773
|
-
Ie.buildDate = "
|
|
773
|
+
Ie.buildDate = "Mon Oct 26 2026 09:56:50 GMT+0100 (Central European Standard Time)", Ie.changed = !1, Ie.saving = !1, Ie.saveId = 0, Ie.instance = null, Ie.instances = /* @__PURE__ */ new Map(), Ie.pageShowHandlerInitialized = !1;
|
|
774
774
|
let we = Ie;
|
|
775
775
|
if (typeof window < "u") {
|
|
776
776
|
const t = window;
|
|
@@ -1076,7 +1076,7 @@ let Xi = (Oe = class {
|
|
|
1076
1076
|
const A = g;
|
|
1077
1077
|
let m = i;
|
|
1078
1078
|
m = Oe.getSubPublisher(i, A);
|
|
1079
|
-
const f = e,
|
|
1079
|
+
const f = e, C = {
|
|
1080
1080
|
publisher: m,
|
|
1081
1081
|
onAssign: () => {
|
|
1082
1082
|
const E = c.variables.map((B) => Oe.getSubPublisher(i, B)?.get());
|
|
@@ -1104,7 +1104,7 @@ let Xi = (Oe = class {
|
|
|
1104
1104
|
f[d] = O;
|
|
1105
1105
|
}
|
|
1106
1106
|
};
|
|
1107
|
-
m?.onAssign(
|
|
1107
|
+
m?.onAssign(C.onAssign), n.push(C);
|
|
1108
1108
|
}
|
|
1109
1109
|
}), Oe.publisherListeners.set(e, n);
|
|
1110
1110
|
}
|
|
@@ -1485,8 +1485,8 @@ const Ac = (t, e) => {
|
|
|
1485
1485
|
const d = t[c];
|
|
1486
1486
|
let g, A, m = -1, f = 0;
|
|
1487
1487
|
for (; f < d.length && (o.lastIndex = f, A = o.exec(d), A !== null); ) f = o.lastIndex, o === zr ? A[1] === "!--" ? o = Uo : A[1] !== void 0 ? o = zo : A[2] !== void 0 ? (za.test(A[2]) && (r = RegExp("</" + A[2], "g")), o = Ks) : A[3] !== void 0 && (o = Ks) : o === Ks ? A[0] === ">" ? (o = r ?? zr, m = -1) : A[1] === void 0 ? m = -2 : (m = o.lastIndex - A[2].length, g = A[1], o = A[3] === void 0 ? Ks : A[3] === '"' ? Bo : qo) : o === Bo || o === qo ? o = Ks : o === Uo || o === zo ? o = zr : (o = Ks, r = void 0);
|
|
1488
|
-
const
|
|
1489
|
-
n += o === zr ? d + Sc : m >= 0 ? (i.push(g), d.slice(0, m) + ja + d.slice(m) + Es +
|
|
1488
|
+
const C = o === Ks && t[c + 1].startsWith("/>") ? " " : "";
|
|
1489
|
+
n += o === zr ? d + Sc : m >= 0 ? (i.push(g), d.slice(0, m) + ja + d.slice(m) + Es + C) : d + Es + (m === -2 ? c : C);
|
|
1490
1490
|
}
|
|
1491
1491
|
return [qa(t, n + (t[s] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
|
|
1492
1492
|
};
|
|
@@ -1503,14 +1503,14 @@ let Dn = class Ba {
|
|
|
1503
1503
|
for (; (r = Js.nextNode()) !== null && d.length < c; ) {
|
|
1504
1504
|
if (r.nodeType === 1) {
|
|
1505
1505
|
if (r.hasAttributes()) for (const m of r.getAttributeNames()) if (m.endsWith(ja)) {
|
|
1506
|
-
const f = A[o++],
|
|
1507
|
-
d.push({ type: 1, index: n, name: E[2], strings:
|
|
1506
|
+
const f = A[o++], C = r.getAttribute(m).split(Es), E = /([.?@])?(.*)/.exec(f);
|
|
1507
|
+
d.push({ type: 1, index: n, name: E[2], strings: C, ctor: E[1] === "." ? kc : E[1] === "?" ? $c : E[1] === "@" ? Dc : tn }), r.removeAttribute(m);
|
|
1508
1508
|
} else m.startsWith(Es) && (d.push({ type: 6, index: n }), r.removeAttribute(m));
|
|
1509
1509
|
if (za.test(r.tagName)) {
|
|
1510
1510
|
const m = r.textContent.split(Es), f = m.length - 1;
|
|
1511
1511
|
if (f > 0) {
|
|
1512
1512
|
r.textContent = Fi ? Fi.emptyScript : "";
|
|
1513
|
-
for (let
|
|
1513
|
+
for (let C = 0; C < f; C++) r.append(m[C], Jr()), Js.nextNode(), d.push({ type: 2, index: ++n });
|
|
1514
1514
|
r.append(m[f], Jr());
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
@@ -1944,8 +1944,8 @@ const Fe = class Fe {
|
|
|
1944
1944
|
if (r.has("limit") && (d = parseInt(r.get("limit") || "0"), A++), r.has("offset") && (g = parseInt(r.get("offset") || "0"), A++), A > 0 && (r.delete("limit"), r.delete("offset")), r.size === 0)
|
|
1945
1945
|
return o.slice(g, g + d);
|
|
1946
1946
|
for (const [m, f] of r.entries()) {
|
|
1947
|
-
const
|
|
1948
|
-
for (const E of
|
|
1947
|
+
const C = f.split(",").map((E) => E.trim());
|
|
1948
|
+
for (const E of C)
|
|
1949
1949
|
for (const O of o)
|
|
1950
1950
|
if (typeof O != "object")
|
|
1951
1951
|
isNaN(+O) ? O.toString().toLowerCase().includes(f.toLowerCase()) && c.push(O) : O === f && c.push(O);
|
|
@@ -2278,7 +2278,7 @@ const We = qs(En), On = /* @__PURE__ */ new Map(), Ko = (t) => {
|
|
|
2278
2278
|
if (n = Ve.publisher["wording_" + s].get() != null, !n && s !== "" && (o.keysToTranslate.add(s), Ve.publisher["wording_" + s].set(Go)), c !== o.callIndex) return;
|
|
2279
2279
|
const A = Array.from(o.keysToTranslate);
|
|
2280
2280
|
if (!A.length) return;
|
|
2281
|
-
const m = d.split("?"), f = m.shift(),
|
|
2281
|
+
const m = d.split("?"), f = m.shift(), C = (m.length > 0 ? m.join("?") + "&" : "") + "labels[]=" + A.join("&labels[]="), E = f + "?" + C;
|
|
2282
2282
|
o.translatedKeys = /* @__PURE__ */ new Set([
|
|
2283
2283
|
...o.translatedKeys,
|
|
2284
2284
|
...o.keysToTranslate
|
|
@@ -2737,7 +2737,7 @@ let dt = (Xe = class {
|
|
|
2737
2737
|
static changeFromComponent(e) {
|
|
2738
2738
|
const s = e.goBack, i = document.referrer;
|
|
2739
2739
|
if (s != null) {
|
|
2740
|
-
const g = document.location.origin, A = (s || g).toString(), f = i.indexOf("http") == 0 ? new URL(i).origin != g : !1,
|
|
2740
|
+
const g = document.location.origin, A = (s || g).toString(), f = i.indexOf("http") == 0 ? new URL(i).origin != g : !1, C = i == "", E = history.length < 3, O = C && E, U = A != document.location.href;
|
|
2741
2741
|
if (f && U || O) {
|
|
2742
2742
|
const S = history.state || {};
|
|
2743
2743
|
S.concorde = S.concorde || {}, S.concorde.hasDoneHistoryBack = !0, history.pushState(S, document.title), history.back(), document.location.replace(A);
|
|
@@ -2901,19 +2901,19 @@ const xi = /* @__PURE__ */ new Map(), Dr = (t) => {
|
|
|
2901
2901
|
this.addEventListener("keydown", (c) => {
|
|
2902
2902
|
const d = c;
|
|
2903
2903
|
if (!["ArrowDown", "ArrowUp"].includes(d.key)) return;
|
|
2904
|
-
const g = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", A = o?.filter((
|
|
2905
|
-
const E =
|
|
2904
|
+
const g = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", A = o?.filter((C) => {
|
|
2905
|
+
const E = C.shadowRoot?.querySelector(g);
|
|
2906
2906
|
if (!E) return !1;
|
|
2907
2907
|
const O = window.getComputedStyle(E);
|
|
2908
2908
|
return O.display !== "none" && O.display !== "" && O.pointerEvents != "none" && O.visibility !== "hidden" && E.getBoundingClientRect().width > 0;
|
|
2909
2909
|
});
|
|
2910
2910
|
let m = null;
|
|
2911
2911
|
if (d.key == "ArrowDown" && A) {
|
|
2912
|
-
const
|
|
2913
|
-
|
|
2912
|
+
const C = A.indexOf(this);
|
|
2913
|
+
C == A.length - 1 ? m = A[0] : m = A[C + 1];
|
|
2914
2914
|
} else if (d.key == "ArrowUp" && A) {
|
|
2915
|
-
const
|
|
2916
|
-
|
|
2915
|
+
const C = A.indexOf(this);
|
|
2916
|
+
C == 0 ? m = A[A.length - 1] : m = A[C - 1];
|
|
2917
2917
|
}
|
|
2918
2918
|
const f = m?.shadowRoot?.querySelector(
|
|
2919
2919
|
g
|
|
@@ -3085,25 +3085,25 @@ function ih() {
|
|
|
3085
3085
|
(function(i, r) {
|
|
3086
3086
|
return e !== null ? t.exports = r() : i.UrlPattern = r();
|
|
3087
3087
|
})(rh, function() {
|
|
3088
|
-
var i, r, n, o, c, d, g, A, m, f,
|
|
3088
|
+
var i, r, n, o, c, d, g, A, m, f, C, E, O, U, B;
|
|
3089
3089
|
return m = function(S) {
|
|
3090
3090
|
return S.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
3091
3091
|
}, g = function(S, y) {
|
|
3092
|
-
var M,
|
|
3093
|
-
for (D = [], M = -1,
|
|
3092
|
+
var M, k, D;
|
|
3093
|
+
for (D = [], M = -1, k = S.length; ++M < k; )
|
|
3094
3094
|
D = D.concat(y(S[M]));
|
|
3095
3095
|
return D;
|
|
3096
3096
|
}, U = function(S, y) {
|
|
3097
|
-
var M,
|
|
3098
|
-
for (D = "", M = -1,
|
|
3097
|
+
var M, k, D;
|
|
3098
|
+
for (D = "", M = -1, k = S.length; ++M < k; )
|
|
3099
3099
|
D += y(S[M]);
|
|
3100
3100
|
return D;
|
|
3101
3101
|
}, O = function(S) {
|
|
3102
3102
|
return new RegExp(S.toString() + "|").exec("").length - 1;
|
|
3103
|
-
},
|
|
3104
|
-
var M,
|
|
3103
|
+
}, C = function(S, y) {
|
|
3104
|
+
var M, k, D, Y, j;
|
|
3105
3105
|
for (Y = {}, M = -1, D = S.length; ++M < D; )
|
|
3106
|
-
|
|
3106
|
+
k = S[M], j = y[M], j != null && (Y[k] != null ? (Array.isArray(Y[k]) || (Y[k] = [Y[k]]), Y[k].push(j)) : Y[k] = j);
|
|
3107
3107
|
return Y;
|
|
3108
3108
|
}, i = {}, i.Result = function(S, y) {
|
|
3109
3109
|
this.value = S, this.rest = y;
|
|
@@ -3111,21 +3111,21 @@ function ih() {
|
|
|
3111
3111
|
this.tag = S, this.value = y;
|
|
3112
3112
|
}, i.tag = function(S, y) {
|
|
3113
3113
|
return function(M) {
|
|
3114
|
-
var
|
|
3115
|
-
if (
|
|
3116
|
-
return D = new i.Tagged(S,
|
|
3114
|
+
var k, D;
|
|
3115
|
+
if (k = y(M), k != null)
|
|
3116
|
+
return D = new i.Tagged(S, k.value), new i.Result(D, k.rest);
|
|
3117
3117
|
};
|
|
3118
3118
|
}, i.regex = function(S) {
|
|
3119
3119
|
return function(y) {
|
|
3120
|
-
var M,
|
|
3120
|
+
var M, k;
|
|
3121
3121
|
if (M = S.exec(y), M != null)
|
|
3122
|
-
return
|
|
3122
|
+
return k = M[0], new i.Result(k, y.slice(k.length));
|
|
3123
3123
|
};
|
|
3124
3124
|
}, i.sequence = function() {
|
|
3125
3125
|
var S;
|
|
3126
3126
|
return S = 1 <= arguments.length ? s.call(arguments, 0) : [], function(y) {
|
|
3127
|
-
var M,
|
|
3128
|
-
for (M = -1,
|
|
3127
|
+
var M, k, D, Y, j, ne;
|
|
3128
|
+
for (M = -1, k = S.length, ne = [], Y = y; ++M < k; ) {
|
|
3129
3129
|
if (D = S[M], j = D(Y), j == null)
|
|
3130
3130
|
return;
|
|
3131
3131
|
ne.push(j.value), Y = j.rest;
|
|
@@ -3135,9 +3135,9 @@ function ih() {
|
|
|
3135
3135
|
}, i.pick = function() {
|
|
3136
3136
|
var S, y;
|
|
3137
3137
|
return S = arguments[0], y = 2 <= arguments.length ? s.call(arguments, 1) : [], function(M) {
|
|
3138
|
-
var
|
|
3138
|
+
var k, D;
|
|
3139
3139
|
if (D = i.sequence.apply(i, y)(M), D != null)
|
|
3140
|
-
return
|
|
3140
|
+
return k = D.value, D.value = k[S], D;
|
|
3141
3141
|
};
|
|
3142
3142
|
}, i.string = function(S) {
|
|
3143
3143
|
var y;
|
|
@@ -3150,11 +3150,11 @@ function ih() {
|
|
|
3150
3150
|
return y = null, function(M) {
|
|
3151
3151
|
return y == null && (y = S()), y(M);
|
|
3152
3152
|
};
|
|
3153
|
-
}, i.baseMany = function(S, y, M,
|
|
3153
|
+
}, i.baseMany = function(S, y, M, k, D) {
|
|
3154
3154
|
var Y, j, ne, re;
|
|
3155
3155
|
for (ne = D, re = M ? "" : []; !(y != null && (Y = y(ne), Y != null) || (j = S(ne), j == null)); )
|
|
3156
3156
|
M ? re += j.value : re.push(j.value), ne = j.rest;
|
|
3157
|
-
if (!(
|
|
3157
|
+
if (!(k && re.length === 0))
|
|
3158
3158
|
return new i.Result(re, ne);
|
|
3159
3159
|
}, i.many1 = function(S) {
|
|
3160
3160
|
return function(y) {
|
|
@@ -3167,8 +3167,8 @@ function ih() {
|
|
|
3167
3167
|
}, i.firstChoice = function() {
|
|
3168
3168
|
var S;
|
|
3169
3169
|
return S = 1 <= arguments.length ? s.call(arguments, 0) : [], function(y) {
|
|
3170
|
-
var M,
|
|
3171
|
-
for (M = -1,
|
|
3170
|
+
var M, k, D, Y;
|
|
3171
|
+
for (M = -1, k = S.length; ++M < k; )
|
|
3172
3172
|
if (D = S[M], Y = D(y), Y != null)
|
|
3173
3173
|
return Y;
|
|
3174
3174
|
};
|
|
@@ -3223,24 +3223,24 @@ function ih() {
|
|
|
3223
3223
|
case "optional":
|
|
3224
3224
|
return o(S.value);
|
|
3225
3225
|
}
|
|
3226
|
-
}, f = function(S, y, M,
|
|
3226
|
+
}, f = function(S, y, M, k) {
|
|
3227
3227
|
var D, Y, j, ne;
|
|
3228
|
-
if (
|
|
3229
|
-
if (
|
|
3228
|
+
if (k == null && (k = !1), ne = S[y], ne == null) {
|
|
3229
|
+
if (k)
|
|
3230
3230
|
throw new Error("no values provided for key `" + y + "`");
|
|
3231
3231
|
return;
|
|
3232
3232
|
}
|
|
3233
3233
|
if (D = M[y] || 0, Y = Array.isArray(ne) ? ne.length - 1 : 0, D > Y) {
|
|
3234
|
-
if (
|
|
3234
|
+
if (k)
|
|
3235
3235
|
throw new Error("too few values provided for key `" + y + "`");
|
|
3236
3236
|
return;
|
|
3237
3237
|
}
|
|
3238
|
-
return j = Array.isArray(ne) ? ne[D] : ne,
|
|
3238
|
+
return j = Array.isArray(ne) ? ne[D] : ne, k && (M[y] = D + 1), j;
|
|
3239
3239
|
}, n = function(S, y, M) {
|
|
3240
|
-
var
|
|
3240
|
+
var k, D;
|
|
3241
3241
|
if (Array.isArray(S)) {
|
|
3242
|
-
for (
|
|
3243
|
-
if (n(S[
|
|
3242
|
+
for (k = -1, D = S.length; ++k < D; )
|
|
3243
|
+
if (n(S[k], y, M))
|
|
3244
3244
|
return !0;
|
|
3245
3245
|
return !1;
|
|
3246
3246
|
}
|
|
@@ -3256,8 +3256,8 @@ function ih() {
|
|
|
3256
3256
|
}
|
|
3257
3257
|
}, B = function(S, y, M) {
|
|
3258
3258
|
if (Array.isArray(S))
|
|
3259
|
-
return U(S, function(
|
|
3260
|
-
return B(
|
|
3259
|
+
return U(S, function(k) {
|
|
3260
|
+
return B(k, y, M);
|
|
3261
3261
|
});
|
|
3262
3262
|
switch (S.tag) {
|
|
3263
3263
|
case "wildcard":
|
|
@@ -3270,7 +3270,7 @@ function ih() {
|
|
|
3270
3270
|
return n(S.value, y, M) ? B(S.value, y, M) : "";
|
|
3271
3271
|
}
|
|
3272
3272
|
}, r = function(S, y) {
|
|
3273
|
-
var M,
|
|
3273
|
+
var M, k, D, Y, j;
|
|
3274
3274
|
if (S instanceof r) {
|
|
3275
3275
|
this.isRegex = S.isRegex, this.regex = S.regex, this.ast = S.ast, this.names = S.names;
|
|
3276
3276
|
return;
|
|
@@ -3291,7 +3291,7 @@ function ih() {
|
|
|
3291
3291
|
throw new Error("argument must not be the empty string");
|
|
3292
3292
|
if (j = S.replace(/\s+/g, ""), j !== S)
|
|
3293
3293
|
throw new Error("argument must not contain whitespace");
|
|
3294
|
-
if (
|
|
3294
|
+
if (k = {
|
|
3295
3295
|
escapeChar: y?.escapeChar || A.escapeChar,
|
|
3296
3296
|
segmentNameStartChar: y?.segmentNameStartChar || A.segmentNameStartChar,
|
|
3297
3297
|
segmentNameCharset: y?.segmentNameCharset || A.segmentNameCharset,
|
|
@@ -3299,21 +3299,21 @@ function ih() {
|
|
|
3299
3299
|
optionalSegmentStartChar: y?.optionalSegmentStartChar || A.optionalSegmentStartChar,
|
|
3300
3300
|
optionalSegmentEndChar: y?.optionalSegmentEndChar || A.optionalSegmentEndChar,
|
|
3301
3301
|
wildcardChar: y?.wildcardChar || A.wildcardChar
|
|
3302
|
-
}, Y = E(
|
|
3302
|
+
}, Y = E(k), D = Y.pattern(S), D == null)
|
|
3303
3303
|
throw new Error("couldn't parse pattern");
|
|
3304
3304
|
if (D.rest !== "")
|
|
3305
3305
|
throw new Error("could only partially parse pattern");
|
|
3306
|
-
this.ast = D.value, this.regex = new RegExp(c(this.ast,
|
|
3306
|
+
this.ast = D.value, this.regex = new RegExp(c(this.ast, k.segmentValueCharset)), this.names = o(this.ast);
|
|
3307
3307
|
}, r.prototype.match = function(S) {
|
|
3308
3308
|
var y, M;
|
|
3309
|
-
return M = this.regex.exec(S), M == null ? null : (y = M.slice(1), this.names ?
|
|
3309
|
+
return M = this.regex.exec(S), M == null ? null : (y = M.slice(1), this.names ? C(this.names, y) : y);
|
|
3310
3310
|
}, r.prototype.stringify = function(S) {
|
|
3311
3311
|
if (S == null && (S = {}), this.isRegex)
|
|
3312
3312
|
throw new Error("can't stringify patterns generated from a regex");
|
|
3313
3313
|
if (S !== Object(S))
|
|
3314
3314
|
throw new Error("argument must be an object or undefined");
|
|
3315
3315
|
return B(this.ast, S, {});
|
|
3316
|
-
}, r.escapeForRegex = m, r.concatMap = g, r.stringConcatMap = U, r.regexGroupCount = O, r.keysAndValuesToObject =
|
|
3316
|
+
}, r.escapeForRegex = m, r.concatMap = g, r.stringConcatMap = U, r.regexGroupCount = O, r.keysAndValuesToObject = C, r.P = i, r.newParser = E, r.defaultOptions = A, r.astNodeToRegexString = c, r.astNodeToNames = o, r.getParam = f, r.astNodeContainsSegmentsForProvidedParams = n, r.stringify = B, r;
|
|
3317
3317
|
});
|
|
3318
3318
|
})(Vr, Vr.exports)), Vr.exports;
|
|
3319
3319
|
}
|
|
@@ -3436,16 +3436,16 @@ function mh(t, e, s, i) {
|
|
|
3436
3436
|
})), A = g.map((ie) => ie.path), m = r.variables ? Oi(r.variables) : null;
|
|
3437
3437
|
uh(d, A), dh(d, A);
|
|
3438
3438
|
const f = Ai(d);
|
|
3439
|
-
let
|
|
3439
|
+
let C, E = !1, O = 0, U = null, B = !1, S = "";
|
|
3440
3440
|
const y = (ie) => {
|
|
3441
|
-
E = !0,
|
|
3441
|
+
E = !0, C = ie, f.set(ie), E = !1;
|
|
3442
3442
|
}, M = () => {
|
|
3443
3443
|
E || B || (typeof console < "u" && console.warn && console.warn(
|
|
3444
3444
|
`[derive] Écriture ignorée sur la sortie readonly "${d}".`
|
|
3445
|
-
),
|
|
3445
|
+
), C !== void 0 && (E = !0, f.set(C), E = !1));
|
|
3446
3446
|
};
|
|
3447
3447
|
f.onAssign(M, !1);
|
|
3448
|
-
const
|
|
3448
|
+
const k = () => {
|
|
3449
3449
|
const ie = {};
|
|
3450
3450
|
for (const { alias: z, path: le } of g) {
|
|
3451
3451
|
const pe = Ai(le).get(), Ue = hh(pe);
|
|
@@ -3458,10 +3458,10 @@ function mh(t, e, s, i) {
|
|
|
3458
3458
|
if (B) return;
|
|
3459
3459
|
const ie = ++O;
|
|
3460
3460
|
Ci(d, { status: "loading", error: null });
|
|
3461
|
-
const z =
|
|
3462
|
-
if (pe === S &&
|
|
3461
|
+
const z = k(), le = D(), pe = JSON.stringify({ inputs: z, vars: le });
|
|
3462
|
+
if (pe === S && C !== void 0) {
|
|
3463
3463
|
Ci(d, {
|
|
3464
|
-
status: c(
|
|
3464
|
+
status: c(C) ? "empty" : "ready",
|
|
3465
3465
|
error: null
|
|
3466
3466
|
});
|
|
3467
3467
|
return;
|
|
@@ -3525,11 +3525,11 @@ function gh() {
|
|
|
3525
3525
|
var f = new Error("Cannot find module '" + g + "'");
|
|
3526
3526
|
throw f.code = "MODULE_NOT_FOUND", f;
|
|
3527
3527
|
}
|
|
3528
|
-
var
|
|
3529
|
-
i[g][0].call(
|
|
3528
|
+
var C = r[g] = { exports: {} };
|
|
3529
|
+
i[g][0].call(C.exports, function(E) {
|
|
3530
3530
|
var O = i[g][1][E];
|
|
3531
3531
|
return o(O || E);
|
|
3532
|
-
},
|
|
3532
|
+
}, C, C.exports, s, i, r, n);
|
|
3533
3533
|
}
|
|
3534
3534
|
return r[g].exports;
|
|
3535
3535
|
}
|
|
@@ -3603,20 +3603,20 @@ function gh() {
|
|
|
3603
3603
|
}, F = $(T, !1, I);
|
|
3604
3604
|
return F;
|
|
3605
3605
|
}
|
|
3606
|
-
const
|
|
3606
|
+
const C = /* @__PURE__ */ Object.create(null);
|
|
3607
3607
|
d.forEach(function(T, I) {
|
|
3608
|
-
|
|
3608
|
+
C[T.toLowerCase()] = I;
|
|
3609
3609
|
}), g.forEach(function(T, I) {
|
|
3610
|
-
|
|
3610
|
+
C[T.toLowerCase()] = I;
|
|
3611
3611
|
}), A.forEach(function(T, I) {
|
|
3612
3612
|
const $ = T.toLowerCase();
|
|
3613
|
-
|
|
3614
|
-
}),
|
|
3613
|
+
C[$] = (I + 2) * 10, C[$.substring(0, T.length - 1) + "ieth"] = C[$];
|
|
3614
|
+
}), C.hundredth = 100, m.forEach(function(T, I) {
|
|
3615
3615
|
const $ = T.toLowerCase(), F = Math.pow(10, (I + 1) * 3);
|
|
3616
|
-
|
|
3616
|
+
C[$] = F, C[$ + "th"] = F;
|
|
3617
3617
|
});
|
|
3618
3618
|
function E(T) {
|
|
3619
|
-
const $ = T.split(/,\s|\sand\s|[\s\\-]/).map((V) =>
|
|
3619
|
+
const $ = T.split(/,\s|\sand\s|[\s\\-]/).map((V) => C[V]);
|
|
3620
3620
|
let F = [0];
|
|
3621
3621
|
return $.forEach((V) => {
|
|
3622
3622
|
if (V < 100) {
|
|
@@ -3666,7 +3666,7 @@ function gh() {
|
|
|
3666
3666
|
F += (T.charCodeAt(T.length - q - 1) - $ + 1) * Math.pow(26, q);
|
|
3667
3667
|
return F;
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3669
|
+
function k(T, I) {
|
|
3670
3670
|
if (typeof T > "u")
|
|
3671
3671
|
return;
|
|
3672
3672
|
T = Math.floor(T);
|
|
@@ -4047,7 +4047,7 @@ function gh() {
|
|
|
4047
4047
|
else {
|
|
4048
4048
|
const de = fe.integerFormat.mandatoryDigits;
|
|
4049
4049
|
if (de === 1 || de === 2)
|
|
4050
|
-
ue = j(F, fe.integerFormat), q !== 0 && (ue += ":" +
|
|
4050
|
+
ue = j(F, fe.integerFormat), q !== 0 && (ue += ":" + k(q, "00"));
|
|
4051
4051
|
else if (de === 3 || de === 4)
|
|
4052
4052
|
ue = j(De, fe.integerFormat);
|
|
4053
4053
|
else
|
|
@@ -4127,7 +4127,7 @@ function gh() {
|
|
|
4127
4127
|
};
|
|
4128
4128
|
break;
|
|
4129
4129
|
case D.WORDS:
|
|
4130
|
-
I.regex = "(?:" + n.keys(
|
|
4130
|
+
I.regex = "(?:" + n.keys(C).concat("and", "[\\-, ]").join("|") + ")+", I.parse = function(F) {
|
|
4131
4131
|
return E(F.toLowerCase());
|
|
4132
4132
|
};
|
|
4133
4133
|
break;
|
|
@@ -4217,7 +4217,7 @@ function gh() {
|
|
|
4217
4217
|
return Ae.call(this, T, I, $);
|
|
4218
4218
|
}
|
|
4219
4219
|
return {
|
|
4220
|
-
formatInteger:
|
|
4220
|
+
formatInteger: k,
|
|
4221
4221
|
parseInteger: _,
|
|
4222
4222
|
fromMillis: Ee,
|
|
4223
4223
|
toMillis: Se
|
|
@@ -4229,7 +4229,7 @@ function gh() {
|
|
|
4229
4229
|
(function() {
|
|
4230
4230
|
var o = s("./utils");
|
|
4231
4231
|
const c = (() => {
|
|
4232
|
-
var d = o.isNumeric, g = o.isArrayOfStrings, A = o.isArrayOfNumbers, m = o.isSequence, f = o.isFunction,
|
|
4232
|
+
var d = o.isNumeric, g = o.isArrayOfStrings, A = o.isArrayOfNumbers, m = o.isSequence, f = o.isFunction, C = o.isLambda, E = o.isPromise, O = o.getFunctionArity, U = o.isDeepEqual, B = o.stringToArray;
|
|
4233
4233
|
function S(a) {
|
|
4234
4234
|
if (!(typeof a > "u")) {
|
|
4235
4235
|
var l = 0;
|
|
@@ -4245,7 +4245,7 @@ function gh() {
|
|
|
4245
4245
|
if (!(typeof a > "u" || a.length === 0))
|
|
4246
4246
|
return Math.max.apply(Math, a);
|
|
4247
4247
|
}
|
|
4248
|
-
function
|
|
4248
|
+
function k(a) {
|
|
4249
4249
|
if (!(typeof a > "u" || a.length === 0))
|
|
4250
4250
|
return Math.min.apply(Math, a);
|
|
4251
4251
|
}
|
|
@@ -4971,7 +4971,7 @@ function gh() {
|
|
|
4971
4971
|
if (Array.isArray(a))
|
|
4972
4972
|
for (var p = 0; p < a.length; p++)
|
|
4973
4973
|
l = fs.call(this, l, pr.call(this, a[p]));
|
|
4974
|
-
else if (a !== null && typeof a == "object" && !
|
|
4974
|
+
else if (a !== null && typeof a == "object" && !C(a))
|
|
4975
4975
|
for (const P of o.keys(a)) {
|
|
4976
4976
|
var x = /* @__PURE__ */ Object.create(null);
|
|
4977
4977
|
x[P] = a[P], l.push(x);
|
|
@@ -5094,7 +5094,7 @@ function gh() {
|
|
|
5094
5094
|
sum: S,
|
|
5095
5095
|
count: y,
|
|
5096
5096
|
max: M,
|
|
5097
|
-
min:
|
|
5097
|
+
min: k,
|
|
5098
5098
|
average: D,
|
|
5099
5099
|
string: Y,
|
|
5100
5100
|
substring: j,
|
|
@@ -5155,7 +5155,7 @@ function gh() {
|
|
|
5155
5155
|
}).call(this, typeof Yo < "u" ? Yo : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
5156
5156
|
}, { "./utils": 6 }], 3: [function(s, i, r) {
|
|
5157
5157
|
var n = s("./datetime"), o = s("./functions"), c = s("./utils"), d = s("./parser"), g = s("./signature"), A = (function() {
|
|
5158
|
-
var m = c.isNumeric, f = c.isArrayOfStrings,
|
|
5158
|
+
var m = c.isNumeric, f = c.isArrayOfStrings, C = c.isArrayOfNumbers, E = c.isSequence, O = c.isFunction, U = c.isLambda, B = c.isIterable, S = c.isPromise, y = c.getFunctionArity, M = c.isDeepEqual, k = Jt(null);
|
|
5159
5159
|
async function D(u, v, w) {
|
|
5160
5160
|
var a;
|
|
5161
5161
|
w.base.depth++, w.base.guardrails();
|
|
@@ -5323,7 +5323,7 @@ function gh() {
|
|
|
5323
5323
|
var p = v[l], x = p, P = w;
|
|
5324
5324
|
v.tupleStream && (x = p["@"], P = j(w, p));
|
|
5325
5325
|
var L = await D(u, x, P);
|
|
5326
|
-
m(L) && (L = [L]),
|
|
5326
|
+
m(L) && (L = [L]), C(L) ? Array.prototype.forEach.call(L, function(K) {
|
|
5327
5327
|
var _e = Math.floor(K);
|
|
5328
5328
|
_e < 0 && (_e = v.length + _e), _e === l && a.push(p);
|
|
5329
5329
|
}) : o.boolean(L) && a.push(p);
|
|
@@ -6038,7 +6038,7 @@ function gh() {
|
|
|
6038
6038
|
}
|
|
6039
6039
|
return w;
|
|
6040
6040
|
}
|
|
6041
|
-
|
|
6041
|
+
k.bind("sum", J(o.sum, "<a<n>:n>")), k.bind("count", J(o.count, "<a:n>")), k.bind("max", J(o.max, "<a<n>:n>")), k.bind("min", J(o.min, "<a<n>:n>")), k.bind("average", J(o.average, "<a<n>:n>")), k.bind("string", J(o.string, "<x-b?:s>")), k.bind("substring", J(o.substring, "<s-nn?:s>")), k.bind("substringBefore", J(o.substringBefore, "<s-s:s>")), k.bind("substringAfter", J(o.substringAfter, "<s-s:s>")), k.bind("lowercase", J(o.lowercase, "<s-:s>")), k.bind("uppercase", J(o.uppercase, "<s-:s>")), k.bind("length", J(o.length, "<s-:n>")), k.bind("trim", J(o.trim, "<s-:s>")), k.bind("pad", J(o.pad, "<s-ns?:s>")), k.bind("match", J(o.match, "<s-f<s:o>n?:a<o>>")), k.bind("contains", J(o.contains, "<s-(sf):b>")), k.bind("replace", J(o.replace, "<s-(sf)(sf)n?:s>")), k.bind("split", J(o.split, "<s-(sf)n?:a<s>>")), k.bind("join", J(o.join, "<a<s>s?:s>")), k.bind("formatNumber", J(o.formatNumber, "<n-so?:s>")), k.bind("formatBase", J(o.formatBase, "<n-n?:s>")), k.bind("formatInteger", J(n.formatInteger, "<n-s:s>")), k.bind("parseInteger", J(n.parseInteger, "<s-s:n>")), k.bind("number", J(o.number, "<(nsb)-:n>")), k.bind("floor", J(o.floor, "<n-:n>")), k.bind("ceil", J(o.ceil, "<n-:n>")), k.bind("round", J(o.round, "<n-n?:n>")), k.bind("abs", J(o.abs, "<n-:n>")), k.bind("sqrt", J(o.sqrt, "<n-:n>")), k.bind("power", J(o.power, "<n-n:n>")), k.bind("random", J(o.random, "<:n>")), k.bind("boolean", J(o.boolean, "<x-:b>")), k.bind("not", J(o.not, "<x-:b>")), k.bind("map", J(o.map, "<af>")), k.bind("zip", J(o.zip, "<a+>")), k.bind("filter", J(o.filter, "<af>")), k.bind("single", J(o.single, "<af?>")), k.bind("reduce", J(o.foldLeft, "<afj?:j>")), k.bind("sift", J(o.sift, "<o-f?:o>")), k.bind("keys", J(o.keys, "<x-:a<s>>")), k.bind("lookup", J(o.lookup, "<x-s:x>")), k.bind("append", J(o.append, "<xx:a>")), k.bind("exists", J(o.exists, "<x:b>")), k.bind("spread", J(o.spread, "<x-:a<o>>")), k.bind("merge", J(o.merge, "<a<o>:o>")), k.bind("reverse", J(o.reverse, "<a:a>")), k.bind("each", J(o.each, "<o-f:a>")), k.bind("error", J(o.error, "<s?:x>")), k.bind("assert", J(o.assert, "<bs?:x>")), k.bind("type", J(o.type, "<x:s>")), k.bind("sort", J(o.sort, "<af?:a>")), k.bind("shuffle", J(o.shuffle, "<a:a>")), k.bind("distinct", J(o.distinct, "<x:x>")), k.bind("base64encode", J(o.base64encode, "<s-:s>")), k.bind("base64decode", J(o.base64decode, "<s-:s>")), k.bind("encodeUrlComponent", J(o.encodeUrlComponent, "<s-:s>")), k.bind("encodeUrl", J(o.encodeUrl, "<s-:s>")), k.bind("decodeUrlComponent", J(o.decodeUrlComponent, "<s-:s>")), k.bind("decodeUrl", J(o.decodeUrl, "<s-:s>")), k.bind("eval", J(gi, "<sx?:x>")), k.bind("toMillis", J(n.toMillis, "<s-s?:n>")), k.bind("fromMillis", J(n.fromMillis, "<n-s?s?:s>")), k.bind("clone", J(bi, "<(oa)-:o>"));
|
|
6042
6042
|
var Fr = {
|
|
6043
6043
|
S0101: "String literal must be terminated by a matching quote",
|
|
6044
6044
|
S0102: "Number out of range: {{token}}",
|
|
@@ -6160,7 +6160,7 @@ function gh() {
|
|
|
6160
6160
|
} catch (x) {
|
|
6161
6161
|
throw rs(x), x;
|
|
6162
6162
|
}
|
|
6163
|
-
var l = Jt(
|
|
6163
|
+
var l = Jt(k), p = /* @__PURE__ */ new Date();
|
|
6164
6164
|
return l.bind("now", J(function(x, P) {
|
|
6165
6165
|
return n.fromMillis(p.getTime(), x, P);
|
|
6166
6166
|
}, "<s?s?:s>")), l.bind("millis", J(function() {
|
|
@@ -6289,11 +6289,11 @@ function gh() {
|
|
|
6289
6289
|
r: "\r",
|
|
6290
6290
|
t: " "
|
|
6291
6291
|
}, g = function(m) {
|
|
6292
|
-
var f = 0,
|
|
6292
|
+
var f = 0, C = m.length, E = function(B, S) {
|
|
6293
6293
|
var y = { type: B, value: S, position: f };
|
|
6294
6294
|
return y;
|
|
6295
6295
|
}, O = function() {
|
|
6296
|
-
for (var B = f, S = 0, y, M,
|
|
6296
|
+
for (var B = f, S = 0, y, M, k = function(Y) {
|
|
6297
6297
|
if (m.charAt(Y) === "/" && S === 0) {
|
|
6298
6298
|
for (var j = 0; m.charAt(Y - (j + 1)) === "\\"; )
|
|
6299
6299
|
j++;
|
|
@@ -6301,9 +6301,9 @@ function gh() {
|
|
|
6301
6301
|
return !0;
|
|
6302
6302
|
}
|
|
6303
6303
|
return !1;
|
|
6304
|
-
}; f <
|
|
6304
|
+
}; f < C; ) {
|
|
6305
6305
|
var D = m.charAt(f);
|
|
6306
|
-
if (
|
|
6306
|
+
if (k(f)) {
|
|
6307
6307
|
if (y = m.substring(B, f), y === "")
|
|
6308
6308
|
throw {
|
|
6309
6309
|
code: "S0301",
|
|
@@ -6322,14 +6322,14 @@ function gh() {
|
|
|
6322
6322
|
position: f
|
|
6323
6323
|
};
|
|
6324
6324
|
}, U = function(B) {
|
|
6325
|
-
if (f >=
|
|
6326
|
-
for (var S = m.charAt(f); f <
|
|
6325
|
+
if (f >= C) return null;
|
|
6326
|
+
for (var S = m.charAt(f); f < C && `
|
|
6327
6327
|
\r\v`.indexOf(S) > -1; )
|
|
6328
6328
|
f++, S = m.charAt(f);
|
|
6329
6329
|
if (S === "/" && m.charAt(f + 1) === "*") {
|
|
6330
6330
|
var y = f;
|
|
6331
6331
|
for (f += 2, S = m.charAt(f); !(S === "*" && m.charAt(f + 1) === "/"); )
|
|
6332
|
-
if (S = m.charAt(++f), f >=
|
|
6332
|
+
if (S = m.charAt(++f), f >= C)
|
|
6333
6333
|
throw {
|
|
6334
6334
|
code: "S0106",
|
|
6335
6335
|
stack: new Error().stack,
|
|
@@ -6362,15 +6362,15 @@ function gh() {
|
|
|
6362
6362
|
if (S === '"' || S === "'") {
|
|
6363
6363
|
var M = S;
|
|
6364
6364
|
f++;
|
|
6365
|
-
for (var
|
|
6365
|
+
for (var k = ""; f < C; ) {
|
|
6366
6366
|
if (S = m.charAt(f), S === "\\")
|
|
6367
6367
|
if (f++, S = m.charAt(f), Object.prototype.hasOwnProperty.call(d, S))
|
|
6368
|
-
|
|
6368
|
+
k += d[S];
|
|
6369
6369
|
else if (S === "u") {
|
|
6370
6370
|
var D = m.substr(f + 1, 4);
|
|
6371
6371
|
if (/^[0-9a-fA-F]+$/.test(D)) {
|
|
6372
6372
|
var Y = parseInt(D, 16);
|
|
6373
|
-
|
|
6373
|
+
k += String.fromCharCode(Y), f += 4;
|
|
6374
6374
|
} else
|
|
6375
6375
|
throw {
|
|
6376
6376
|
code: "S0104",
|
|
@@ -6386,8 +6386,8 @@ function gh() {
|
|
|
6386
6386
|
};
|
|
6387
6387
|
else {
|
|
6388
6388
|
if (S === M)
|
|
6389
|
-
return f++, E("string",
|
|
6390
|
-
|
|
6389
|
+
return f++, E("string", k);
|
|
6390
|
+
k += S;
|
|
6391
6391
|
}
|
|
6392
6392
|
f++;
|
|
6393
6393
|
}
|
|
@@ -6415,14 +6415,14 @@ function gh() {
|
|
|
6415
6415
|
var z = m.indexOf("`", f);
|
|
6416
6416
|
if (z !== -1)
|
|
6417
6417
|
return ie = m.substring(f, z), f = z + 1, E("name", ie);
|
|
6418
|
-
throw f =
|
|
6418
|
+
throw f = C, {
|
|
6419
6419
|
code: "S0105",
|
|
6420
6420
|
stack: new Error().stack,
|
|
6421
6421
|
position: f
|
|
6422
6422
|
};
|
|
6423
6423
|
}
|
|
6424
6424
|
for (var le = f, pe; ; )
|
|
6425
|
-
if (pe = m.charAt(le), le ===
|
|
6425
|
+
if (pe = m.charAt(le), le === C || `
|
|
6426
6426
|
\r\v`.indexOf(pe) > -1 || Object.prototype.hasOwnProperty.call(c, pe)) {
|
|
6427
6427
|
if (m.charAt(f) === "$")
|
|
6428
6428
|
return ie = m.substring(f + 1, le), f = le, E("variable", ie);
|
|
@@ -6438,16 +6438,16 @@ function gh() {
|
|
|
6438
6438
|
case "null":
|
|
6439
6439
|
return E("value", null);
|
|
6440
6440
|
default:
|
|
6441
|
-
return f ===
|
|
6441
|
+
return f === C && ie === "" ? null : E("name", ie);
|
|
6442
6442
|
}
|
|
6443
6443
|
} else
|
|
6444
6444
|
le++;
|
|
6445
6445
|
};
|
|
6446
6446
|
return U;
|
|
6447
6447
|
}, A = function(m, f) {
|
|
6448
|
-
var
|
|
6448
|
+
var C, E, O = /* @__PURE__ */ Object.create(null), U = [], B = function() {
|
|
6449
6449
|
var b = [];
|
|
6450
|
-
|
|
6450
|
+
C.id !== "(end)" && b.push({ type: C.type, value: C.value, position: C.position });
|
|
6451
6451
|
for (var _ = E(); _ !== null; )
|
|
6452
6452
|
b.push(_), _ = E();
|
|
6453
6453
|
return b;
|
|
@@ -6469,24 +6469,24 @@ function gh() {
|
|
|
6469
6469
|
if (f) {
|
|
6470
6470
|
b.remaining = B(), U.push(b);
|
|
6471
6471
|
var _ = O["(error)"];
|
|
6472
|
-
return
|
|
6472
|
+
return C = Object.create(_), C.error = b, C.type = "(error)", C;
|
|
6473
6473
|
} else
|
|
6474
6474
|
throw b.stack = new Error().stack, b;
|
|
6475
|
-
},
|
|
6476
|
-
if (b &&
|
|
6475
|
+
}, k = function(b, _) {
|
|
6476
|
+
if (b && C.id !== b) {
|
|
6477
6477
|
var ee;
|
|
6478
|
-
|
|
6478
|
+
C.id === "(end)" ? ee = "S0203" : ee = "S0202";
|
|
6479
6479
|
var ve = {
|
|
6480
6480
|
code: ee,
|
|
6481
|
-
position:
|
|
6482
|
-
token:
|
|
6481
|
+
position: C.position,
|
|
6482
|
+
token: C.value,
|
|
6483
6483
|
value: b
|
|
6484
6484
|
};
|
|
6485
6485
|
return M(ve);
|
|
6486
6486
|
}
|
|
6487
6487
|
var Se = E(_);
|
|
6488
6488
|
if (Se === null)
|
|
6489
|
-
return
|
|
6489
|
+
return C = O["(end)"], C.position = m.length, C;
|
|
6490
6490
|
var Ee = Se.value, T = Se.type, I;
|
|
6491
6491
|
switch (T) {
|
|
6492
6492
|
case "name":
|
|
@@ -6519,11 +6519,11 @@ function gh() {
|
|
|
6519
6519
|
token: Ee
|
|
6520
6520
|
});
|
|
6521
6521
|
}
|
|
6522
|
-
return
|
|
6522
|
+
return C = Object.create(I), C.value = Ee, C.type = T, C.position = Se.position, C;
|
|
6523
6523
|
}, D = function(b) {
|
|
6524
|
-
var _, ee =
|
|
6525
|
-
for (
|
|
6526
|
-
ee =
|
|
6524
|
+
var _, ee = C;
|
|
6525
|
+
for (k(null, !0), _ = ee.nud(); b < C.lbp; )
|
|
6526
|
+
ee = C, k(), _ = ee.led(_);
|
|
6527
6527
|
return _;
|
|
6528
6528
|
}, Y = function(b) {
|
|
6529
6529
|
var _ = y(b, 0);
|
|
@@ -6552,7 +6552,7 @@ function gh() {
|
|
|
6552
6552
|
arguments: [JSON.parse(JSON.stringify(b))]
|
|
6553
6553
|
}, this.then = b, this.else = D(0), this;
|
|
6554
6554
|
}), ne("(error)", 10, function(b) {
|
|
6555
|
-
return this.lhs = b, this.error =
|
|
6555
|
+
return this.lhs = b, this.error = C.error, this.remaining = B(), this.type = "error", this;
|
|
6556
6556
|
}), re("*", function() {
|
|
6557
6557
|
return this.type = "wildcard", this;
|
|
6558
6558
|
}), re("**", function() {
|
|
@@ -6560,10 +6560,10 @@ function gh() {
|
|
|
6560
6560
|
}), re("%", function() {
|
|
6561
6561
|
return this.type = "parent", this;
|
|
6562
6562
|
}), j("(", c["("], function(b) {
|
|
6563
|
-
if (this.procedure = b, this.type = "function", this.arguments = [],
|
|
6564
|
-
for (;
|
|
6565
|
-
|
|
6566
|
-
if (
|
|
6563
|
+
if (this.procedure = b, this.type = "function", this.arguments = [], C.id !== ")")
|
|
6564
|
+
for (; C.type === "operator" && C.id === "?" ? (this.type = "partial", this.arguments.push(C), k("?")) : this.arguments.push(D(0)), C.id === ","; )
|
|
6565
|
+
k(",");
|
|
6566
|
+
if (k(")", !0), b.type === "name" && (b.value === "function" || b.value === "λ")) {
|
|
6567
6567
|
if (this.arguments.forEach(function(Ee, T) {
|
|
6568
6568
|
if (Ee.type !== "variable")
|
|
6569
6569
|
return M({
|
|
@@ -6573,70 +6573,70 @@ function gh() {
|
|
|
6573
6573
|
token: Ee.value,
|
|
6574
6574
|
value: T + 1
|
|
6575
6575
|
});
|
|
6576
|
-
}), this.type = "lambda",
|
|
6577
|
-
for (var _ =
|
|
6578
|
-
var Se =
|
|
6576
|
+
}), this.type = "lambda", C.id === "<") {
|
|
6577
|
+
for (var _ = C.position, ee = 1, ve = "<"; ee > 0 && C.id !== "{" && C.id !== "(end)"; ) {
|
|
6578
|
+
var Se = k();
|
|
6579
6579
|
Se.id === ">" ? ee-- : Se.id === "<" && ee++, ve += Se.value;
|
|
6580
6580
|
}
|
|
6581
|
-
|
|
6581
|
+
k(">");
|
|
6582
6582
|
try {
|
|
6583
6583
|
this.signature = n(ve);
|
|
6584
6584
|
} catch (Ee) {
|
|
6585
6585
|
return Ee.position = _ + Ee.offset, M(Ee);
|
|
6586
6586
|
}
|
|
6587
6587
|
}
|
|
6588
|
-
|
|
6588
|
+
k("{"), this.body = D(0), k("}");
|
|
6589
6589
|
}
|
|
6590
6590
|
return this;
|
|
6591
6591
|
}), re("(", function() {
|
|
6592
|
-
for (var b = [];
|
|
6593
|
-
|
|
6594
|
-
return
|
|
6592
|
+
for (var b = []; C.id !== ")" && (b.push(D(0)), C.id === ";"); )
|
|
6593
|
+
k(";");
|
|
6594
|
+
return k(")", !0), this.type = "block", this.expressions = b, this;
|
|
6595
6595
|
}), re("[", function() {
|
|
6596
6596
|
var b = [];
|
|
6597
|
-
if (
|
|
6597
|
+
if (C.id !== "]")
|
|
6598
6598
|
for (; ; ) {
|
|
6599
6599
|
var _ = D(0);
|
|
6600
|
-
if (
|
|
6601
|
-
var ee = { type: "binary", value: "..", position:
|
|
6602
|
-
|
|
6600
|
+
if (C.id === "..") {
|
|
6601
|
+
var ee = { type: "binary", value: "..", position: C.position, lhs: _ };
|
|
6602
|
+
k(".."), ee.rhs = D(0), _ = ee;
|
|
6603
6603
|
}
|
|
6604
|
-
if (b.push(_),
|
|
6604
|
+
if (b.push(_), C.id !== ",")
|
|
6605
6605
|
break;
|
|
6606
|
-
|
|
6606
|
+
k(",");
|
|
6607
6607
|
}
|
|
6608
|
-
return
|
|
6608
|
+
return k("]", !0), this.expressions = b, this.type = "unary", this;
|
|
6609
6609
|
}), j("[", c["["], function(b) {
|
|
6610
|
-
if (
|
|
6610
|
+
if (C.id === "]") {
|
|
6611
6611
|
for (var _ = b; _ && _.type === "binary" && _.value === "["; )
|
|
6612
6612
|
_ = _.lhs;
|
|
6613
|
-
return _.keepArray = !0,
|
|
6613
|
+
return _.keepArray = !0, k("]"), b;
|
|
6614
6614
|
} else
|
|
6615
|
-
return this.lhs = b, this.rhs = D(c["]"]), this.type = "binary",
|
|
6615
|
+
return this.lhs = b, this.rhs = D(c["]"]), this.type = "binary", k("]", !0), this;
|
|
6616
6616
|
}), j("^", c["^"], function(b) {
|
|
6617
|
-
|
|
6617
|
+
k("(");
|
|
6618
6618
|
for (var _ = []; ; ) {
|
|
6619
6619
|
var ee = {
|
|
6620
6620
|
descending: !1
|
|
6621
6621
|
};
|
|
6622
|
-
if (
|
|
6622
|
+
if (C.id === "<" ? k("<") : C.id === ">" && (ee.descending = !0, k(">")), ee.expression = D(0), _.push(ee), C.id !== ",")
|
|
6623
6623
|
break;
|
|
6624
|
-
|
|
6624
|
+
k(",");
|
|
6625
6625
|
}
|
|
6626
|
-
return
|
|
6626
|
+
return k(")"), this.lhs = b, this.rhs = _, this.type = "binary", this;
|
|
6627
6627
|
});
|
|
6628
6628
|
var ie = function(b) {
|
|
6629
6629
|
var _ = [];
|
|
6630
|
-
if (
|
|
6630
|
+
if (C.id !== "}")
|
|
6631
6631
|
for (; ; ) {
|
|
6632
6632
|
var ee = D(0);
|
|
6633
|
-
|
|
6633
|
+
k(":");
|
|
6634
6634
|
var ve = D(0);
|
|
6635
|
-
if (_.push([ee, ve]),
|
|
6635
|
+
if (_.push([ee, ve]), C.id !== ",")
|
|
6636
6636
|
break;
|
|
6637
|
-
|
|
6637
|
+
k(",");
|
|
6638
6638
|
}
|
|
6639
|
-
return
|
|
6639
|
+
return k("}", !0), typeof b > "u" ? (this.lhs = _, this.type = "unary") : (this.lhs = b, this.rhs = _, this.type = "binary"), this;
|
|
6640
6640
|
};
|
|
6641
6641
|
re("{", ie), j("{", c["{"], ie), ne(":=", c[":="], function(b) {
|
|
6642
6642
|
return b.type !== "variable" ? M({
|
|
@@ -6660,11 +6660,11 @@ function gh() {
|
|
|
6660
6660
|
token: "#"
|
|
6661
6661
|
}) : (this.type = "binary", this);
|
|
6662
6662
|
}), j("?", c["?"], function(b) {
|
|
6663
|
-
return this.type = "condition", this.condition = b, this.then = D(0),
|
|
6663
|
+
return this.type = "condition", this.condition = b, this.then = D(0), C.id === ":" && (k(":"), this.else = D(0)), this;
|
|
6664
6664
|
}), j("?:", c["?:"], function(b) {
|
|
6665
6665
|
return this.type = "condition", this.condition = JSON.parse(JSON.stringify(b)), this.then = b, this.else = D(0), this;
|
|
6666
6666
|
}), re("|", function() {
|
|
6667
|
-
return this.type = "transform", this.pattern = D(0),
|
|
6667
|
+
return this.type = "transform", this.pattern = D(0), k("|"), this.update = D(0), C.id === "," && (k(","), this.delete = D(0)), k("|"), this;
|
|
6668
6668
|
});
|
|
6669
6669
|
var z = function(b) {
|
|
6670
6670
|
var _;
|
|
@@ -6906,13 +6906,13 @@ function gh() {
|
|
|
6906
6906
|
}
|
|
6907
6907
|
return b.keepArray && (_.keepArray = !0), _;
|
|
6908
6908
|
};
|
|
6909
|
-
E = g(m),
|
|
6909
|
+
E = g(m), k();
|
|
6910
6910
|
var W = D(0);
|
|
6911
|
-
if (
|
|
6911
|
+
if (C.id !== "(end)") {
|
|
6912
6912
|
var Ae = {
|
|
6913
6913
|
code: "S0201",
|
|
6914
|
-
position:
|
|
6915
|
-
token:
|
|
6914
|
+
position: C.position,
|
|
6915
|
+
token: C.value
|
|
6916
6916
|
};
|
|
6917
6917
|
M(Ae);
|
|
6918
6918
|
}
|
|
@@ -6939,12 +6939,12 @@ function gh() {
|
|
|
6939
6939
|
s: "strings"
|
|
6940
6940
|
};
|
|
6941
6941
|
function d(g) {
|
|
6942
|
-
for (var A = 1, m = [], f = /* @__PURE__ */ Object.create(null),
|
|
6942
|
+
for (var A = 1, m = [], f = /* @__PURE__ */ Object.create(null), C = f; A < g.length; ) {
|
|
6943
6943
|
var E = g.charAt(A);
|
|
6944
6944
|
if (E === ":")
|
|
6945
6945
|
break;
|
|
6946
6946
|
var O = function() {
|
|
6947
|
-
m.push(f),
|
|
6947
|
+
m.push(f), C = f, f = /* @__PURE__ */ Object.create(null);
|
|
6948
6948
|
}, U = function(j, ne, re, ie) {
|
|
6949
6949
|
for (var z = 1, le = ne; le < j.length; )
|
|
6950
6950
|
if (le++, E = j.charAt(le), E === ie) {
|
|
@@ -6978,12 +6978,12 @@ function gh() {
|
|
|
6978
6978
|
f.regex = "[asnblfom]", f.type = E, O();
|
|
6979
6979
|
break;
|
|
6980
6980
|
case "-":
|
|
6981
|
-
|
|
6981
|
+
C.context = !0, C.contextRegex = new RegExp(C.regex), C.regex += "?";
|
|
6982
6982
|
break;
|
|
6983
6983
|
case "?":
|
|
6984
6984
|
// optional param
|
|
6985
6985
|
case "+":
|
|
6986
|
-
|
|
6986
|
+
C.regex += E;
|
|
6987
6987
|
break;
|
|
6988
6988
|
case "(":
|
|
6989
6989
|
var B = U(g, A, "(", ")"), S = g.substring(A + 1, B);
|
|
@@ -6999,14 +6999,14 @@ function gh() {
|
|
|
6999
6999
|
f.type = "(" + S + ")", A = B, O();
|
|
7000
7000
|
break;
|
|
7001
7001
|
case "<":
|
|
7002
|
-
if (
|
|
7002
|
+
if (C.type === "a" || C.type === "f") {
|
|
7003
7003
|
var y = U(g, A, "<", ">");
|
|
7004
|
-
|
|
7004
|
+
C.subtype = g.substring(A + 1, y), A = y;
|
|
7005
7005
|
} else
|
|
7006
7006
|
throw {
|
|
7007
7007
|
code: "S0401",
|
|
7008
7008
|
stack: new Error().stack,
|
|
7009
|
-
value:
|
|
7009
|
+
value: C.type,
|
|
7010
7010
|
offset: A
|
|
7011
7011
|
};
|
|
7012
7012
|
break;
|
|
@@ -7015,7 +7015,7 @@ function gh() {
|
|
|
7015
7015
|
}
|
|
7016
7016
|
var M = "^" + m.map(function(j) {
|
|
7017
7017
|
return "(" + j.regex + ")";
|
|
7018
|
-
}).join("") + "$",
|
|
7018
|
+
}).join("") + "$", k = new RegExp(M), D = function(j) {
|
|
7019
7019
|
var ne;
|
|
7020
7020
|
if (n.isFunction(j))
|
|
7021
7021
|
ne = "f";
|
|
@@ -7067,7 +7067,7 @@ function gh() {
|
|
|
7067
7067
|
j.forEach(function(pe) {
|
|
7068
7068
|
re += D(pe);
|
|
7069
7069
|
});
|
|
7070
|
-
var ie =
|
|
7070
|
+
var ie = k.exec(re);
|
|
7071
7071
|
if (ie) {
|
|
7072
7072
|
var z = [], le = 0;
|
|
7073
7073
|
return m.forEach(function(pe, Ue) {
|
|
@@ -7145,14 +7145,14 @@ function gh() {
|
|
|
7145
7145
|
}
|
|
7146
7146
|
function c(y) {
|
|
7147
7147
|
var M = !1;
|
|
7148
|
-
return Array.isArray(y) && (M = y.filter(function(
|
|
7149
|
-
return typeof
|
|
7148
|
+
return Array.isArray(y) && (M = y.filter(function(k) {
|
|
7149
|
+
return typeof k != "string";
|
|
7150
7150
|
}).length === 0), M;
|
|
7151
7151
|
}
|
|
7152
7152
|
function d(y) {
|
|
7153
7153
|
var M = !1;
|
|
7154
|
-
return Array.isArray(y) && (M = y.filter(function(
|
|
7155
|
-
return !o(
|
|
7154
|
+
return Array.isArray(y) && (M = y.filter(function(k) {
|
|
7155
|
+
return !o(k);
|
|
7156
7156
|
}).length === 0), M;
|
|
7157
7157
|
}
|
|
7158
7158
|
function g(y) {
|
|
@@ -7168,9 +7168,9 @@ function gh() {
|
|
|
7168
7168
|
function f(y) {
|
|
7169
7169
|
return y && y._jsonata_lambda === !0;
|
|
7170
7170
|
}
|
|
7171
|
-
var
|
|
7171
|
+
var C = (typeof Symbol == "function" ? Symbol : {}).iterator || "@@iterator";
|
|
7172
7172
|
function E(y) {
|
|
7173
|
-
return typeof y == "object" && y !== null &&
|
|
7173
|
+
return typeof y == "object" && y !== null && C in y && "next" in y && typeof y.next == "function";
|
|
7174
7174
|
}
|
|
7175
7175
|
function O(y, M) {
|
|
7176
7176
|
if (y === M)
|
|
@@ -7179,19 +7179,19 @@ function gh() {
|
|
|
7179
7179
|
if (Array.isArray(y) && Array.isArray(M)) {
|
|
7180
7180
|
if (y.length !== M.length)
|
|
7181
7181
|
return !1;
|
|
7182
|
-
for (var
|
|
7183
|
-
if (!O(y[
|
|
7182
|
+
for (var k = 0; k < y.length; k++)
|
|
7183
|
+
if (!O(y[k], M[k]))
|
|
7184
7184
|
return !1;
|
|
7185
7185
|
return !0;
|
|
7186
7186
|
}
|
|
7187
7187
|
var D = Object.getOwnPropertyNames(y), Y = Object.getOwnPropertyNames(M);
|
|
7188
7188
|
if (D.length !== Y.length)
|
|
7189
7189
|
return !1;
|
|
7190
|
-
for (D = D.sort(), Y = Y.sort(),
|
|
7191
|
-
if (D[
|
|
7190
|
+
for (D = D.sort(), Y = Y.sort(), k = 0; k < D.length; k++)
|
|
7191
|
+
if (D[k] !== Y[k])
|
|
7192
7192
|
return !1;
|
|
7193
|
-
for (
|
|
7194
|
-
var j = D[
|
|
7193
|
+
for (k = 0; k < D.length; k++) {
|
|
7194
|
+
var j = D[k];
|
|
7195
7195
|
if (!O(y[j], M[j]))
|
|
7196
7196
|
return !1;
|
|
7197
7197
|
}
|
|
@@ -7204,8 +7204,8 @@ function gh() {
|
|
|
7204
7204
|
}
|
|
7205
7205
|
function B(y) {
|
|
7206
7206
|
var M = [];
|
|
7207
|
-
for (let
|
|
7208
|
-
M.push(
|
|
7207
|
+
for (let k of y)
|
|
7208
|
+
M.push(k);
|
|
7209
7209
|
return M;
|
|
7210
7210
|
}
|
|
7211
7211
|
function S(y) {
|
|
@@ -7475,8 +7475,8 @@ function Xs(t) {
|
|
|
7475
7475
|
m();
|
|
7476
7476
|
});
|
|
7477
7477
|
f.observe(g, { childList: !0, subtree: !0, characterData: !0 });
|
|
7478
|
-
const
|
|
7479
|
-
|
|
7478
|
+
const C = g.getRootNode();
|
|
7479
|
+
C instanceof ShadowRoot && C.host && f.observe(C.host, {
|
|
7480
7480
|
childList: !0,
|
|
7481
7481
|
subtree: !0,
|
|
7482
7482
|
characterData: !0
|
|
@@ -8318,25 +8318,25 @@ const ra = (t, e, s) => {
|
|
|
8318
8318
|
const r = Rc(t), { values: n, keys: o } = this.dt(e, s, i);
|
|
8319
8319
|
if (!Array.isArray(r)) return this.ut = o, n;
|
|
8320
8320
|
const c = this.ut ??= [], d = [];
|
|
8321
|
-
let g, A, m = 0, f = r.length - 1,
|
|
8322
|
-
for (; m <= f &&
|
|
8321
|
+
let g, A, m = 0, f = r.length - 1, C = 0, E = n.length - 1;
|
|
8322
|
+
for (; m <= f && C <= E; ) if (r[m] === null) m++;
|
|
8323
8323
|
else if (r[f] === null) f--;
|
|
8324
|
-
else if (c[m] === o[
|
|
8324
|
+
else if (c[m] === o[C]) d[C] = Gs(r[m], n[C]), m++, C++;
|
|
8325
8325
|
else if (c[f] === o[E]) d[E] = Gs(r[f], n[E]), f--, E--;
|
|
8326
8326
|
else if (c[m] === o[E]) d[E] = Gs(r[m], n[E]), qr(t, d[E + 1], r[m]), m++, E--;
|
|
8327
|
-
else if (c[f] === o[
|
|
8328
|
-
else if (g === void 0 && (g = ra(o,
|
|
8329
|
-
const O = A.get(o[
|
|
8327
|
+
else if (c[f] === o[C]) d[C] = Gs(r[f], n[C]), qr(t, r[m], r[f]), f--, C++;
|
|
8328
|
+
else if (g === void 0 && (g = ra(o, C, E), A = ra(c, m, f)), g.has(c[m])) if (g.has(c[f])) {
|
|
8329
|
+
const O = A.get(o[C]), U = O !== void 0 ? r[O] : null;
|
|
8330
8330
|
if (U === null) {
|
|
8331
8331
|
const B = qr(t, r[m]);
|
|
8332
|
-
Gs(B, n[
|
|
8333
|
-
} else d[
|
|
8334
|
-
|
|
8332
|
+
Gs(B, n[C]), d[C] = B;
|
|
8333
|
+
} else d[C] = Gs(U, n[C]), qr(t, r[m], U), r[O] = null;
|
|
8334
|
+
C++;
|
|
8335
8335
|
} else yn(r[f]), f--;
|
|
8336
8336
|
else yn(r[m]), m++;
|
|
8337
|
-
for (;
|
|
8337
|
+
for (; C <= E; ) {
|
|
8338
8338
|
const O = qr(t, d[E + 1]);
|
|
8339
|
-
Gs(O, n[
|
|
8339
|
+
Gs(O, n[C]), d[C++] = O;
|
|
8340
8340
|
}
|
|
8341
8341
|
for (; m <= f; ) {
|
|
8342
8342
|
const O = r[m++];
|
|
@@ -8634,18 +8634,18 @@ Eo.default = {
|
|
|
8634
8634
|
if (!$i.has(g)) {
|
|
8635
8635
|
const m = new Promise(async (f) => {
|
|
8636
8636
|
try {
|
|
8637
|
-
const
|
|
8638
|
-
if (!
|
|
8637
|
+
const C = await fetch(g);
|
|
8638
|
+
if (!C.ok) {
|
|
8639
8639
|
f("");
|
|
8640
8640
|
return;
|
|
8641
8641
|
}
|
|
8642
8642
|
try {
|
|
8643
|
-
const E =
|
|
8643
|
+
const E = C.headers.get("content-type") || "";
|
|
8644
8644
|
if (!E.includes("image/svg+xml") && !E.includes("svg")) {
|
|
8645
8645
|
f("");
|
|
8646
8646
|
return;
|
|
8647
8647
|
}
|
|
8648
|
-
const O = await
|
|
8648
|
+
const O = await C.text(), U = /^\s*<svg[\s>]/i.test(O);
|
|
8649
8649
|
f(U ? O : "");
|
|
8650
8650
|
} catch {
|
|
8651
8651
|
f("");
|
|
@@ -8825,13 +8825,13 @@ function lu(t, e) {
|
|
|
8825
8825
|
const m = Object.getOwnPropertyDescriptor(
|
|
8826
8826
|
o,
|
|
8827
8827
|
c
|
|
8828
|
-
), f = `__bind_${c}_value__`,
|
|
8828
|
+
), f = `__bind_${c}_value__`, C = `__bind_${c}_updating_from_publisher__`, E = m && !m.get && !m.set ? m.value : void 0;
|
|
8829
8829
|
Object.defineProperty(o, c, {
|
|
8830
8830
|
get() {
|
|
8831
8831
|
return m?.get ? m.get.call(this) : (!Object.prototype.hasOwnProperty.call(this, f) && E !== void 0 && (this[f] = E), this[f]);
|
|
8832
8832
|
},
|
|
8833
8833
|
set(O) {
|
|
8834
|
-
m?.set ? m.set.call(this, O) : this[f] = O, !this[
|
|
8834
|
+
m?.set ? m.set.call(this, O) : this[f] = O, !this[C] && this[g] && this[g].set(O);
|
|
8835
8835
|
},
|
|
8836
8836
|
enumerable: m?.enumerable ?? !0,
|
|
8837
8837
|
configurable: m?.configurable ?? !0
|
|
@@ -8844,7 +8844,7 @@ function lu(t, e) {
|
|
|
8844
8844
|
currentPath: null
|
|
8845
8845
|
});
|
|
8846
8846
|
f.unsubscribePublisher && (f.unsubscribePublisher(), f.unsubscribePublisher = null), f.cleanupWatchers.forEach((O) => O()), f.cleanupWatchers = [], f.currentPath = null;
|
|
8847
|
-
const
|
|
8847
|
+
const C = (O) => {
|
|
8848
8848
|
if (!O) {
|
|
8849
8849
|
f.unsubscribePublisher && (f.unsubscribePublisher(), f.unsubscribePublisher = null), f.currentPath = null, m[g] = null;
|
|
8850
8850
|
return;
|
|
@@ -8867,13 +8867,13 @@ function lu(t, e) {
|
|
|
8867
8867
|
if (n) {
|
|
8868
8868
|
const O = Lt(m, t, i);
|
|
8869
8869
|
if (!O.ready) {
|
|
8870
|
-
|
|
8870
|
+
C(null);
|
|
8871
8871
|
return;
|
|
8872
8872
|
}
|
|
8873
|
-
|
|
8873
|
+
C(O.path);
|
|
8874
8874
|
return;
|
|
8875
8875
|
}
|
|
8876
|
-
|
|
8876
|
+
C(t);
|
|
8877
8877
|
};
|
|
8878
8878
|
if (n)
|
|
8879
8879
|
for (const O of r) {
|
|
@@ -8889,7 +8889,7 @@ function lu(t, e) {
|
|
|
8889
8889
|
E();
|
|
8890
8890
|
}), o.__onDisconnected__((m) => {
|
|
8891
8891
|
const f = m[d];
|
|
8892
|
-
f && (f.unsubscribePublisher && (f.unsubscribePublisher(), f.unsubscribePublisher = null), f.cleanupWatchers.forEach((
|
|
8892
|
+
f && (f.unsubscribePublisher && (f.unsubscribePublisher(), f.unsubscribePublisher = null), f.cleanupWatchers.forEach((C) => C()), f.cleanupWatchers = [], f.currentPath = null, m[g] = null);
|
|
8893
8893
|
});
|
|
8894
8894
|
};
|
|
8895
8895
|
}
|
|
@@ -8919,7 +8919,7 @@ function el(t, e) {
|
|
|
8919
8919
|
enumerable: g?.enumerable ?? !0,
|
|
8920
8920
|
configurable: g?.configurable ?? !0
|
|
8921
8921
|
}), n.__onConnected__((m) => {
|
|
8922
|
-
const f = m,
|
|
8922
|
+
const f = m, C = `__publish_state_${o}`, E = f[C] || (f[C] = {
|
|
8923
8923
|
cleanupWatchers: []
|
|
8924
8924
|
}), O = () => {
|
|
8925
8925
|
let U;
|
|
@@ -8947,7 +8947,7 @@ function el(t, e) {
|
|
|
8947
8947
|
);
|
|
8948
8948
|
O();
|
|
8949
8949
|
}), n.__onDisconnected__((m) => {
|
|
8950
|
-
const f = m,
|
|
8950
|
+
const f = m, C = `__publish_state_${o}`, E = f[C];
|
|
8951
8951
|
E?.cleanupWatchers && E.cleanupWatchers.forEach((O) => O()), f[c] = void 0;
|
|
8952
8952
|
});
|
|
8953
8953
|
};
|
|
@@ -9013,7 +9013,7 @@ function sl(t, e) {
|
|
|
9013
9013
|
index: O
|
|
9014
9014
|
});
|
|
9015
9015
|
}
|
|
9016
|
-
const
|
|
9016
|
+
const C = (O, U) => {
|
|
9017
9017
|
if (O.unsubscribePublisher && (O.unsubscribePublisher(), O.unsubscribePublisher = null), m[O.index] = null, O.publisher = null, !U)
|
|
9018
9018
|
return;
|
|
9019
9019
|
const B = It(U);
|
|
@@ -9029,12 +9029,12 @@ function sl(t, e) {
|
|
|
9029
9029
|
i
|
|
9030
9030
|
);
|
|
9031
9031
|
if (!U.ready) {
|
|
9032
|
-
|
|
9032
|
+
C(O, null);
|
|
9033
9033
|
continue;
|
|
9034
9034
|
}
|
|
9035
|
-
|
|
9035
|
+
C(O, U.path);
|
|
9036
9036
|
} else
|
|
9037
|
-
|
|
9037
|
+
C(O, O.pathConfig.originalPath);
|
|
9038
9038
|
};
|
|
9039
9039
|
for (const O of f)
|
|
9040
9040
|
if (O.pathConfig.isDynamic)
|
|
@@ -11174,11 +11174,11 @@ let Kt = class extends vo(Mt(li(Q))) {
|
|
|
11174
11174
|
return R`
|
|
11175
11175
|
${g?.map((A, m) => {
|
|
11176
11176
|
if (A == null) return te;
|
|
11177
|
-
let f = m,
|
|
11177
|
+
let f = m, C = null;
|
|
11178
11178
|
if (typeof A == "object" && !Array.isArray(A)) {
|
|
11179
11179
|
o && (f = A?.key);
|
|
11180
11180
|
const y = A[this.templateKey];
|
|
11181
|
-
y && typeof y == "string" && (
|
|
11181
|
+
y && typeof y == "string" && (C = this.templateParts[y]);
|
|
11182
11182
|
}
|
|
11183
11183
|
if (f == "_sonic_http_response_" || typeof f != "string" && typeof f != "number") return te;
|
|
11184
11184
|
const E = m >= d - 1, O = m % 2, U = this.publisher[f], B = {
|
|
@@ -11198,7 +11198,7 @@ let Kt = class extends vo(Mt(li(Q))) {
|
|
|
11198
11198
|
B,
|
|
11199
11199
|
f
|
|
11200
11200
|
);
|
|
11201
|
-
return S ? R`${S}${E ? te : c}` : (n++,
|
|
11201
|
+
return S ? R`${S}${E ? te : c}` : (n++, C && (n = -1), R`
|
|
11202
11202
|
<sonic-subscriber
|
|
11203
11203
|
?debug=${this.defferedDebug === !0}
|
|
11204
11204
|
.bindPublisher=${function() {
|
|
@@ -11207,7 +11207,7 @@ let Kt = class extends vo(Mt(li(Q))) {
|
|
|
11207
11207
|
.propertyMap?=${this.itemPropertyMap}
|
|
11208
11208
|
dataProvider="${this.dataProvider}/list-item/${f}"
|
|
11209
11209
|
>
|
|
11210
|
-
${os(
|
|
11210
|
+
${os(C || this.templateList[n % r])}
|
|
11211
11211
|
</sonic-subscriber>
|
|
11212
11212
|
${E ? te : c}
|
|
11213
11213
|
`);
|
|
@@ -11547,8 +11547,8 @@ let Ms = class extends Mt(Q) {
|
|
|
11547
11547
|
case "get":
|
|
11548
11548
|
const y = new URLSearchParams();
|
|
11549
11549
|
if (E)
|
|
11550
|
-
for (const
|
|
11551
|
-
y.append(
|
|
11550
|
+
for (const k in E)
|
|
11551
|
+
y.append(k, E[k]);
|
|
11552
11552
|
const M = "?" + y.toString();
|
|
11553
11553
|
g = await this.api?.get(m + M, d);
|
|
11554
11554
|
break;
|
|
@@ -11584,16 +11584,16 @@ let Ms = class extends Mt(Q) {
|
|
|
11584
11584
|
composed: !0
|
|
11585
11585
|
})
|
|
11586
11586
|
);
|
|
11587
|
-
},
|
|
11587
|
+
}, C = (
|
|
11588
11588
|
// TODO Comprendre pourquoi header publisher
|
|
11589
11589
|
c?.needsCaptchaValidation.get() ? c : e.needsCaptchaValidation.get() ? e : null
|
|
11590
11590
|
);
|
|
11591
|
-
if (
|
|
11592
|
-
|
|
11591
|
+
if (C) {
|
|
11592
|
+
C.captchaToken.set("request_token");
|
|
11593
11593
|
const E = (O) => {
|
|
11594
|
-
O != "request_token" ? (f(),
|
|
11594
|
+
O != "request_token" ? (f(), C.captchaToken.offAssign(E)) : (lt.hide(), this.disabled = !1);
|
|
11595
11595
|
};
|
|
11596
|
-
|
|
11596
|
+
C.captchaToken.onAssign(E);
|
|
11597
11597
|
} else
|
|
11598
11598
|
f();
|
|
11599
11599
|
};
|
|
@@ -12084,13 +12084,13 @@ function Ll(t, e, s) {
|
|
|
12084
12084
|
...A,
|
|
12085
12085
|
...m
|
|
12086
12086
|
])
|
|
12087
|
-
],
|
|
12087
|
+
], C = g.length > 0, E = !!c, O = n?.refetchEveryMs ?? 0, U = new El(), B = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakSet(), y = /* @__PURE__ */ new WeakMap();
|
|
12088
12088
|
let M;
|
|
12089
|
-
const
|
|
12089
|
+
const k = function(D, Y, j) {
|
|
12090
12090
|
if (j) {
|
|
12091
12091
|
const re = j.value;
|
|
12092
12092
|
if (!re) return;
|
|
12093
|
-
|
|
12093
|
+
k.registerResultHandler(
|
|
12094
12094
|
D,
|
|
12095
12095
|
(ie, z) => re.call(ie, z)
|
|
12096
12096
|
);
|
|
@@ -12128,7 +12128,7 @@ function Ll(t, e, s) {
|
|
|
12128
12128
|
ie[b] = Ae;
|
|
12129
12129
|
});
|
|
12130
12130
|
}, Ue = async () => {
|
|
12131
|
-
const Ae =
|
|
12131
|
+
const Ae = C ? Lt(re, i, o) : { ready: !0, path: i };
|
|
12132
12132
|
if (!Ae.ready || !Ae.path) {
|
|
12133
12133
|
pe(void 0), le();
|
|
12134
12134
|
return;
|
|
@@ -12222,7 +12222,7 @@ function Ll(t, e, s) {
|
|
|
12222
12222
|
W();
|
|
12223
12223
|
} else {
|
|
12224
12224
|
const Ae = () => {
|
|
12225
|
-
if (
|
|
12225
|
+
if (C)
|
|
12226
12226
|
for (const b of g) {
|
|
12227
12227
|
const _ = Is(
|
|
12228
12228
|
Os.watcherStore,
|
|
@@ -12247,10 +12247,10 @@ function Ll(t, e, s) {
|
|
|
12247
12247
|
}));
|
|
12248
12248
|
});
|
|
12249
12249
|
};
|
|
12250
|
-
return
|
|
12250
|
+
return k.refetch = (D) => U.run(D), k.registerResultHandler = (D, Y) => {
|
|
12251
12251
|
let j = B.get(D);
|
|
12252
|
-
j || (j = /* @__PURE__ */ new Set(), B.set(D, j)), j.add(Y), S.has(D) || (M ??= `__get_handler_${Ol++}`,
|
|
12253
|
-
},
|
|
12252
|
+
j || (j = /* @__PURE__ */ new Set(), B.set(D, j)), j.add(Y), S.has(D) || (M ??= `__get_handler_${Ol++}`, k(D, M));
|
|
12253
|
+
}, k;
|
|
12254
12254
|
}
|
|
12255
12255
|
function _a(t) {
|
|
12256
12256
|
return !t || typeof t != "object" ? !1 : "skipEmptyPlaceholder" in t || "refetchEveryMs" in t || "triggerKey" in t;
|
|
@@ -12273,14 +12273,14 @@ function Id(t) {
|
|
|
12273
12273
|
}
|
|
12274
12274
|
function So(t, e) {
|
|
12275
12275
|
return function(s, i, r, n) {
|
|
12276
|
-
const o = s.path, c = i.path, d = Sa(r) ? void 0 : r, g = Sa(r) ? r : n, A = d?.path, m = g?.triggerKey?.path, f = Wt(o),
|
|
12276
|
+
const o = s.path, c = i.path, d = Sa(r) ? void 0 : r, g = Sa(r) ? r : n, A = d?.path, m = g?.triggerKey?.path, f = Wt(o), C = Wt(c), E = A ? Wt(A) : [], O = m ? Wt(m) : [], U = [
|
|
12277
12277
|
.../* @__PURE__ */ new Set([
|
|
12278
12278
|
...f,
|
|
12279
|
-
...
|
|
12279
|
+
...C,
|
|
12280
12280
|
...E,
|
|
12281
12281
|
...O
|
|
12282
12282
|
])
|
|
12283
|
-
], B = f.length > 0, S = !!A, y = g?.refetchEveryMs ?? 0, M = g?.skipIfBodyMissing ?? !0,
|
|
12283
|
+
], B = f.length > 0, S = !!A, y = g?.refetchEveryMs ?? 0, M = g?.skipIfBodyMissing ?? !0, k = g?.autoPostOnBodyMutation ?? !0, D = {
|
|
12284
12284
|
skipEmptyPlaceholder: g?.skipEmptyPlaceholder
|
|
12285
12285
|
}, Y = `__${t.toLowerCase()}_state_`, j = new El(), ne = /* @__PURE__ */ new WeakMap(), re = /* @__PURE__ */ new WeakSet(), ie = /* @__PURE__ */ new WeakMap();
|
|
12286
12286
|
let z;
|
|
@@ -12318,8 +12318,8 @@ function So(t, e) {
|
|
|
12318
12318
|
refetchTimeoutId: null,
|
|
12319
12319
|
refetchEveryMs: y,
|
|
12320
12320
|
skipIfBodyMissing: M,
|
|
12321
|
-
autoPostOnBodyMutation:
|
|
12322
|
-
}, ce[ge] = W), W.cleanupOperation?.(), W.cleanupOperation = null, W.cleanupWatchers.forEach(($) => $()), W.cleanupWatchers = [], W.requestGeneration++, W.refetchEveryMs = y, W.skipIfBodyMissing = M, W.autoPostOnBodyMutation =
|
|
12321
|
+
autoPostOnBodyMutation: k
|
|
12322
|
+
}, ce[ge] = W), W.cleanupOperation?.(), W.cleanupOperation = null, W.cleanupWatchers.forEach(($) => $()), W.cleanupWatchers = [], W.requestGeneration++, W.refetchEveryMs = y, W.skipIfBodyMissing = M, W.autoPostOnBodyMutation = k, wr(W);
|
|
12323
12323
|
const Ae = () => {
|
|
12324
12324
|
wr(W), !(!W.refetchEveryMs || W.refetchEveryMs <= 0) && (W.refetchTimeoutId = setTimeout(() => {
|
|
12325
12325
|
W.refetchTimeoutId = null, _().catch(() => {
|
|
@@ -12442,7 +12442,7 @@ function So(t, e) {
|
|
|
12442
12442
|
}, I = () => {
|
|
12443
12443
|
Se(), Ee(), T(), W.autoPostOnBodyMutation && ve();
|
|
12444
12444
|
};
|
|
12445
|
-
if (S ||
|
|
12445
|
+
if (S || C.length || O.length) {
|
|
12446
12446
|
for (const $ of U) {
|
|
12447
12447
|
const F = Is(
|
|
12448
12448
|
Os.watcherStore,
|
|
@@ -17265,7 +17265,7 @@ let Te = class extends Mt(Q) {
|
|
|
17265
17265
|
this.style.setProperty("--sc-_backdrop-opacity", "0");
|
|
17266
17266
|
}, 150));
|
|
17267
17267
|
const f = [];
|
|
17268
|
-
this.effect === "slide" &&
|
|
17268
|
+
this.effect === "slide" && f.push(
|
|
17269
17269
|
d.animate(
|
|
17270
17270
|
[
|
|
17271
17271
|
{ transform: g ? r : "translateY(0)" },
|
|
@@ -17278,17 +17278,19 @@ let Te = class extends Mt(Q) {
|
|
|
17278
17278
|
delay: m
|
|
17279
17279
|
}
|
|
17280
17280
|
)
|
|
17281
|
-
)
|
|
17281
|
+
);
|
|
17282
|
+
const C = this.effect === "none";
|
|
17283
|
+
f.push(
|
|
17282
17284
|
d.animate(
|
|
17283
17285
|
[{ opacity: g ? 0 : 1 }, { opacity: g ? 1 : 0 }],
|
|
17284
17286
|
{
|
|
17285
|
-
duration: A,
|
|
17287
|
+
duration: C ? 0 : A,
|
|
17286
17288
|
easing: i,
|
|
17287
17289
|
fill: "both",
|
|
17288
|
-
delay: m
|
|
17290
|
+
delay: C ? 0 : m
|
|
17289
17291
|
}
|
|
17290
17292
|
)
|
|
17291
|
-
)
|
|
17293
|
+
), Promise.all(f.map((E) => E.finished)).then(
|
|
17292
17294
|
() => e()
|
|
17293
17295
|
);
|
|
17294
17296
|
});
|