@flarehr/apollo-super-selection 3.52.60060 → 3.55.61713
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -0
- package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
- package/dist/lib/apollo-super-selection/apollo-super-selection.js +1 -1
- package/dist/lib/apollo-super-selection/assets/icon-check.svg +3 -0
- package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
- package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
- package/dist/lib/apollo-super-selection/p-0d3b8084.system.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-0ef73515.entry.js +1 -0
- package/dist/lib/apollo-super-selection/p-0f723eb4.system.js +1 -0
- package/dist/lib/apollo-super-selection/{p-01a9f4a4.entry.js → p-12d77532.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
- package/dist/lib/apollo-super-selection/{p-381262c1.system.js → p-15f0e5eb.system.js} +1 -1
- package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
- package/dist/lib/apollo-super-selection/{p-20136efe.entry.js → p-375401a0.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-285da037.system.entry.js → p-3ce021a5.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-61734b66.js → p-40e504c4.js} +1 -1
- package/dist/lib/apollo-super-selection/p-67b71067.entry.js +1 -0
- package/dist/lib/apollo-super-selection/{p-082669d9.js → p-683b6e23.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-38ee2795.system.js → p-6cdec249.system.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-cd49a6b7.system.entry.js → p-76eee25a.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
- package/dist/lib/apollo-super-selection/{p-8cbfc343.system.entry.js → p-918a740c.system.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/p-93f7a547.entry.js +14 -0
- package/dist/lib/apollo-super-selection/p-c249f6ed.system.js +1 -0
- package/dist/lib/apollo-super-selection/p-c2b9cfa5.system.entry.js +69 -0
- package/dist/lib/apollo-super-selection/{p-a98c2760.entry.js → p-cb6b386e.entry.js} +1 -1
- package/dist/lib/apollo-super-selection/{p-f15bf700.system.entry.js → p-e9a34be2.system.entry.js} +1 -1
- package/dist/lib/cjs/{active-router-e92fd784.js → active-router-71d965f4.js} +1 -1
- package/dist/lib/cjs/apollo-super-selection.cjs.js +4 -5
- package/dist/lib/cjs/{app-globals-45007120.js → app-globals-b1125d8c.js} +1 -1
- package/dist/lib/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/lib/cjs/{datorama-akita-7f4b082a.js → datorama-akita-6c9cb8fb.js} +1005 -68
- package/dist/lib/cjs/{index-942e6faa.js → index-f746d8f0.js} +2 -0
- package/dist/lib/cjs/loader.cjs.js +4 -5
- package/dist/lib/cjs/{fl-button_31.cjs.entry.js → sss-button_28.cjs.entry.js} +2138 -2177
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +2 -2
- package/dist/lib/collection/apollo-super-selection.css +1 -0
- package/dist/lib/collection/collection-manifest.json +16 -28
- package/dist/lib/collection/components/app-host/loading-page.js +3 -3
- package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -4
- package/dist/lib/collection/components/app-host/super-selection-app-host.js +7 -19
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +69 -1
- package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +9 -3
- package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +16 -21
- package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +3 -0
- package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
- package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
- package/dist/lib/collection/components/super-selection-app/consent/consent.js +57 -0
- package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +136 -0
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +6 -18
- package/dist/lib/collection/components/super-selection-app/funds/constants.js +50 -0
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +32 -16
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +10 -14
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +36 -45
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +40 -19
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +45 -40
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +104 -58
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +53 -49
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +6 -16
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +1 -1
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +1 -4
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +10 -4
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +13 -4
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -3
- package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +45 -0
- package/dist/lib/collection/components/super-selection-app/misc/button.js +146 -0
- package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
- package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +359 -0
- package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
- package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +8 -4
- package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +20 -0
- package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +95 -0
- package/dist/lib/collection/components/super-selection-app/services/feature-flag.service.js +11 -0
- package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +8 -0
- package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +6 -4
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +69 -34
- package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +10 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +94 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +90 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +85 -92
- package/dist/lib/collection/components/super-selection-app/super-selection-app.css +16 -4
- package/dist/lib/collection/components/super-selection-app/super-selection-app.js +59 -11
- package/dist/lib/esm/{active-router-4c80d3d2.js → active-router-2056f552.js} +1 -1
- package/dist/lib/esm/apollo-super-selection.js +4 -5
- package/dist/lib/esm/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
- package/dist/lib/esm/context-consumer.entry.js +1 -1
- package/dist/lib/esm/{datorama-akita-79ce4385.js → datorama-akita-127aea91.js} +960 -28
- package/dist/lib/esm/{index-0496d1af.js → index-e1e930c8.js} +2 -1
- package/dist/lib/esm/loader.js +4 -5
- package/dist/lib/esm/{fl-button_31.entry.js → sss-button_28.entry.js} +2124 -2160
- package/dist/lib/esm/stencil-async-content.entry.js +1 -1
- package/dist/lib/esm/stencil-route-title.entry.js +2 -2
- package/dist/lib/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/lib/esm/stencil-router-redirect.entry.js +2 -2
- package/dist/lib/esm-es5/{active-router-4c80d3d2.js → active-router-2056f552.js} +1 -1
- package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
- package/dist/lib/esm-es5/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
- package/dist/lib/esm-es5/context-consumer.entry.js +1 -1
- package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
- package/dist/lib/esm-es5/{index-0496d1af.js → index-e1e930c8.js} +1 -1
- package/dist/lib/esm-es5/loader.js +1 -1
- package/dist/lib/esm-es5/sss-button_28.entry.js +69 -0
- package/dist/lib/esm-es5/stencil-async-content.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-route-title.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-router-prompt.entry.js +1 -1
- package/dist/lib/esm-es5/stencil-router-redirect.entry.js +1 -1
- package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +30 -0
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +19 -4
- package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
- package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +1 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +4 -6
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -2
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +2 -1
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -1
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/misc/button.d.ts +11 -0
- package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +44 -0
- package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
- package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +1 -0
- package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +4 -0
- package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +51 -0
- package/dist/lib/types/components/super-selection-app/services/feature-flag.service.d.ts +3 -0
- package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +6 -0
- package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +3 -2
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +6 -3
- package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +8 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +9 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +7 -0
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +1 -4
- package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
- package/dist/lib/types/components.d.ts +148 -97
- package/package.json +12 -7
- package/dist/lib/apollo-super-selection/assets/logo-qsuper-square.png +0 -0
- package/dist/lib/apollo-super-selection/assets/logo-qsuper.png +0 -0
- package/dist/lib/apollo-super-selection/p-0623b20a.system.entry.js +0 -69
- package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
- package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
- package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
- package/dist/lib/apollo-super-selection/p-642db1f7.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-abedb220.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-ae4f5e0b.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-c5e41889.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
- package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
- package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
- package/dist/lib/apollo-super-selection/p-fbe8c6d1.entry.js +0 -14
- package/dist/lib/cjs/delay-81aff2f1.js +0 -955
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
- package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
- package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
- package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +0 -62
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -10
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
- package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
- package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
- package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
- package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
- package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -50
- package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper-square.png +0 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper.png +0 -0
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
- package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -296
- package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -70
- package/dist/lib/esm/delay-c0555599.js +0 -935
- package/dist/lib/esm/fl-style-guide.entry.js +0 -86
- package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
- package/dist/lib/esm-es5/delay-c0555599.js +0 -1
- package/dist/lib/esm-es5/fl-button_31.entry.js +0 -69
- package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
- package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
- package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
- package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
- package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
- package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
- package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
- package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -22
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow:0 0 #0000}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow:0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.top-1\/2{top:50%}.left-1\/2{left:50%}.right-0{right:0}.top-0{top:0}.left-0{left:0}.z-10{z-index:10}.z-50{z-index:50}.z-40{z-index:40}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mt-5{margin-top:1.25rem}.mt-4{margin-top:1rem}.-mt-12{margin-top:-3rem}.-mt-28{margin-top:-7rem}.mt-8{margin-top:2rem}.mt-3{margin-top:.75rem}.ml-6{margin-left:1.5rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mb-3{margin-bottom:.75rem}.ml-0\.5{margin-left:.125rem}.ml-0{margin-left:0}.mt-2{margin-top:.5rem}.mt-0\.5{margin-top:.125rem}.mt-0{margin-top:0}.mb-4{margin-bottom:1rem}.ml-4{margin-left:1rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.-mt-5{margin-top:-1.25rem}.-mr-3\.5{margin-right:-.875rem}.-mr-3{margin-right:-.75rem}.mr-0\.5{margin-right:.125rem}.mr-0{margin-right:0}.mb-2{margin-bottom:.5rem}.mr-1\.5{margin-right:.375rem}.mr-1{margin-right:.25rem}.mt-11{margin-top:2.75rem}.ml-3{margin-left:.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-20{height:5rem}.h-8{height:2rem}.h-16{height:4rem}.h-full{height:100%}.h-5{height:1.25rem}.max-h-60{max-height:15rem}.w-20{width:5rem}.w-8{width:2rem}.w-full{width:100%}.w-auto{width:auto}.w-5{width:1.25rem}.w-36{width:9rem}.w-screen{width:100vw}.w-1\/2{width:50%}.min-w-0{min-width:0}.max-w-560{max-width:560px}.max-w-\[200px\]{max-width:200px}.max-w-800{max-width:800px}.max-w-400{max-width:400px}.max-w-960{max-width:960px}.max-w-720{max-width:720px}.max-w-\[96px\]{max-width:96px}.max-w-\[80px\]{max-width:80px}.flex-none{flex:none}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\/2{--tw-translate-x:-50%}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.resize{resize:both}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(-1px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px*var(--tw-space-y-reverse))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-1px*var(--tw-space-x-reverse));margin-left:calc(-1px*(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-none{border-radius:0}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-tr-lg{border-top-right-radius:.5rem}.rounded-tr-none{border-top-right-radius:0}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-b-0{border-bottom-width:0}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:#0000}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity:1;border-color:rgb(250 204 21/var(--tw-border-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-primary-hover{background-color:var(--fl-color-primary-hover)}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.fill-primary-base{fill:var(--fl-color-primary)}.fill-white{fill:#fff}.object-contain{-o-object-fit:contain;object-fit:contain}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-0\.5{padding:.125rem}.p-0{padding:0}.py-20{padding-top:5rem;padding-bottom:5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.py-0{padding-top:0;padding-bottom:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.pt-28{padding-top:7rem}.pb-6{padding-bottom:1.5rem}.pb-12{padding-bottom:3rem}.pl-4{padding-left:1rem}.pb-4{padding-bottom:1rem}.pt-6{padding-top:1.5rem}.pl-6{padding-left:1.5rem}.pb-8{padding-bottom:2rem}.pt-8{padding-top:2rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-9{padding-right:2.25rem}.pr-4{padding-right:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-inter{font-family:Inter,sans-serif}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-8{line-height:2rem}.leading-7{line-height:1.75rem}.leading-6{line-height:1.5rem}.leading-5{line-height:1.25rem}.leading-4{line-height:1rem}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.opacity-10{opacity:.1}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity:0.05}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invalid\:border-red-300:invalid{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.invalid\:text-red-900:invalid{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity))}.invalid\:placeholder-red-300:invalid::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.invalid\:placeholder-red-300:invalid:-ms-input-placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.invalid\:placeholder-red-300:invalid::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.hover\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:text-inherit:hover{color:inherit}.focus\:z-10:focus{z-index:10}.focus\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\:border-primary-focus:focus{border-color:var(--fl-color-primary-focus)}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.invalid\:focus\:border-red-500:focus:invalid{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.invalid\:focus\:ring-red-500:focus:invalid{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:border-gray-300:disabled{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.disabled\:bg-gray-100:disabled{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.disabled\:text-gray-400:disabled{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}@media (min-width:640px){.sm\:mt-4{margin-top:1rem}.sm\:mt-12{margin-top:3rem}.sm\:mt-20{margin-top:5rem}.sm\:mb-4{margin-bottom:1rem}.sm\:mb-0{margin-bottom:0}.sm\:mr-8{margin-right:2rem}.sm\:w-auto{width:auto}.sm\:max-w-320{max-width:320px}.sm\:flex-row{flex-direction:row}.sm\:justify-start{justify-content:flex-start}.sm\:border-b-0{border-bottom-width:0}.sm\:border-r{border-right-width:1px}.sm\:p-6{padding:1.5rem}.sm\:pb-0{padding-bottom:0}.sm\:pr-8{padding-right:2rem}.sm\:pb-12{padding-bottom:3rem}.sm\:pt-12{padding-top:3rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}.sm\:uppercase{text-transform:uppercase}.sm\:leading-8{line-height:2rem}}@media (min-width:768px){.md\:mt-0{margin-top:0}.md\:ml-0{margin-left:0}.md\:mb-0{margin-bottom:0}.md\:flex{display:flex}.md\:hidden{display:none}.md\:max-w-\[240px\]{max-width:240px}}@media (min-width:1024px){.lg\:-mr-5{margin-right:-1.25rem}.lg\:mt-2{margin-top:.5rem}.lg\:mt-4{margin-top:1rem}.lg\:block{display:block}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:max-w-full{max-width:100%}.lg\:max-w-none{max-width:none}.lg\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:rounded-tr-none{border-top-right-radius:0}.lg\:rounded-br-none{border-bottom-right-radius:0}.lg\:rounded-tr-lg{border-top-right-radius:.5rem}.lg\:border-b{border-bottom-width:1px}.lg\:border-b-0{border-bottom-width:0}.lg\:px-6{padding-left:1.5rem;padding-right:1.5rem}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as s,b as e}from"./p-683b6e23.js";import"./p-29c11183.js";import{g as t}from"./p-86e3e03f.js";(()=>{const e=import.meta.url,t={};return""!==e&&(t.resourcesUrl=new URL(".",e).href),s(t)})().then((s=>(t(),e([["p-cb6b386e",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-0ef73515",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-67b71067",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-12d77532",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-375401a0",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-93f7a547",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[1,"super-selection-app",{accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section"],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s))));
|
|
@@ -114,7 +114,7 @@ DOMTokenList
|
|
|
114
114
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
|
-
var url = new URL('./p-
|
|
117
|
+
var url = new URL('./p-0f723eb4.system.js', new URL(resourcesUrl, window.location.origin));
|
|
118
118
|
System.import(url.href);
|
|
119
119
|
};
|
|
120
120
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="#facc15">
|
|
2
|
+
<path fill-rule="evenodd" d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z" clip-rule="evenodd" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-6cdec249.system.js","./p-c249f6ed.system.js"],(function(t){"use strict";var e,i,n;return{setters:[function(t){e=t.r;i=t.d},function(t){n=t.A}],execute:function(){var r=t("stencil_route_title",function(){function t(t){e(this,t);this.titleSuffix="";this.pageTitle=""}t.prototype.updateDocumentTitle=function(){var t=this.el;if(t.ownerDocument){t.ownerDocument.title=""+this.pageTitle+(this.titleSuffix||"")}};t.prototype.componentWillLoad=function(){this.updateDocumentTitle()};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{pageTitle:["updateDocumentTitle"]}},enumerable:false,configurable:true});return t}());n.injectProps(r,["titleSuffix"])}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-683b6e23.js";const n=class{constructor(e){t(this,e),this.content=""}componentWillLoad(){if(null!=this.documentLocation)return this.fetchNewContent(this.documentLocation)}fetchNewContent(t){return fetch(t).then((t=>t.text())).then((t=>{this.content=t}))}render(){return e("div",{innerHTML:this.content})}static get watchers(){return{documentLocation:["fetchNewContent"]}}};export{n as stencil_async_content}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-6cdec249.system.js","./p-14885f78.system.js","./p-15f0e5eb.system.js"],(function(s,e){"use strict";var t,o,i;return{setters:[function(s){t=s.p;o=s.b},function(){},function(s){i=s.g}],execute:function(){var s=function(){var s=e.meta.url;var o={};if(s!==""){o.resourcesUrl=new URL(".",s).href}return t(o)};s().then((function(s){i();return o([["p-76eee25a.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-918a740c.system",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-0d3b8084.system",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-3ce021a5.system",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-e9a34be2.system",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-c2b9cfa5.system",[[0,"sss-my-own-fund",{history:[16],formState:[32],isNotAllInformationProvidedMessageVisible:[32],isSubmitDisabled:[32]}],[0,"sss-self-managed-fund",{history:[16],formState:[32],showSmsfNotSupported:[32],isSubmitDisabled:[32]}],[0,"sss-super-choice-page",{history:[16],promotedFunds:[32]}],[1,"super-selection-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[0,"sss-default-fund",{history:[16],defaultFundProductName:[32]}],[0,"sss-standard-choice-form",{history:[16],standardChoiceFormSignature:[32],formState:[32],isSubmitDisabled:[32]}],[0,"sss-consent-page",{history:[16]}],[0,"sss-existing-choice-page",{history:[16],existingFund:[32]}],[0,"sss-success"],[0,"sss-promoted-fund-join-page",{history:[16]}],[0,"sss-slate-join-page",{history:[16]}],[1,"super-selection-app",{accessToken:[1,"access-token"],backendUrl:[1,"backend-url"],appBaseUrl:[1,"app-base-url"],history:[16],location:[16],isSelfHosted:[4,"is-self-hosted"],isAppInitialised:[32]}],[0,"sss-my-own-fund-inputs",{myOwnFundForm:[16],showValidationErrors:[4,"show-validation-errors"],selectedOption:[32]}],[0,"sss-smsf-not-supported-dialog"],[0,"sss-super-choice-item-bottom",{disclaimer:[16],abnInfo:[1,"abn-info"],abn:[1]}],[0,"sss-loading-page"],[0,"sss-self-managed-fund-inputs",{fundForm:[16],showValidationErrors:[4,"show-validation-errors"],currentBank:[32],addressErrorMessage:[32]}],[0,"sss-super-choice-item-top",{name:[1],logo:[1],features:[1],featureSubText:[1,"feature-sub-text"]}],[0,"sss-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],showValidationErrors:[4,"show-validation-errors"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]],[0,"sss-footer-section"],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[4,"sss-custom-fund",{history:[16],currentCustomFund:[32],fundOptionsList:[32],showFundOptionsSelection:[32]}],[0,"sss-header-section",{currentPage:[1,"current-page"]}],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"sss-button",{fillWidth:[4,"fill-width"],fillWidthOnMobile:[4,"fill-width-on-mobile"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[0,"sss-loading-indicator",{theme:[1],size:[2]}],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}]]]],s)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,d as t}from"./p-
|
|
1
|
+
import{r as s,d as t}from"./p-683b6e23.js";import{A as e}from"./p-40e504c4.js";const i=class{constructor(t){s(this,t),this.when=!0,this.message=""}enable(s){this.unblock&&this.unblock(),this.history&&(this.unblock=this.history.block(s))}disable(){this.unblock&&(this.unblock(),this.unblock=void 0)}componentWillLoad(){this.when&&this.enable(this.message)}updateMessage(s,t){this.when?this.when&&t===s||this.enable(this.message):this.disable()}componentDidUnload(){this.disable()}render(){return null}get el(){return t(this)}static get watchers(){return{message:["updateMessage"],when:["updateMessage"]}}};e.injectProps(i,["history"]);export{i as stencil_router_prompt}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __spreadArrays=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var o=arguments[e],s=0,u=o.length;s<u;s++,i++)n[i]=o[s];return n};System.register([],(function(t){"use strict";return{execute:function(){t({c:i,e:se,f:xt,h:Mt,i:Tt,j:At,k:Ve,m:at});
|
|
2
|
+
/*! *****************************************************************************
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
+
***************************************************************************** */function e(t,e){var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0)r[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++){if(e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i]))r[n[i]]=t[n[i]]}return r}function r(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)if(s=t[u])o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o;return i>3&&o&&Object.defineProperty(e,r,o),o}function n(t,e){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(t,e)}function i(t){return typeof t==="function"}var o=false;var s={Promise:undefined,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else if(o){console.log("RxJS: Back to a better error behavior. Thank you. <3")}o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function u(t){setTimeout((function(){throw t}),0)}var a={closed:true,next:function(t){},error:function(t){if(s.useDeprecatedSynchronousErrorHandling){throw t}else{u(t)}},complete:function(){}};var c=t("b",function(){return Array.isArray||function(t){return t&&typeof t.length==="number"}}());function f(t){return t!==null&&typeof t==="object"}var h=function(){function t(t){Error.call(this);this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"";this.name="UnsubscriptionError";this.errors=t;return this}t.prototype=Object.create(Error.prototype);return t}();var l=h;var p=function(){function t(t){this.closed=false;this._parentOrParents=null;this._subscriptions=null;if(t){this._ctorUnsubscribe=true;this._unsubscribe=t}}t.prototype.unsubscribe=function(){var e;if(this.closed){return}var r=this,n=r._parentOrParents,o=r._ctorUnsubscribe,s=r._unsubscribe,u=r._subscriptions;this.closed=true;this._parentOrParents=null;this._subscriptions=null;if(n instanceof t){n.remove(this)}else if(n!==null){for(var a=0;a<n.length;++a){var h=n[a];h.remove(this)}}if(i(s)){if(o){this._unsubscribe=undefined}try{s.call(this)}catch(t){e=t instanceof l?d(t.errors):[t]}}if(c(u)){var a=-1;var p=u.length;while(++a<p){var v=u[a];if(f(v)){try{v.unsubscribe()}catch(t){e=e||[];if(t instanceof l){e=e.concat(d(t.errors))}else{e.push(t)}}}}}if(e){throw new l(e)}};t.prototype.add=function(e){var r=e;if(!e){return t.EMPTY}switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||typeof r.unsubscribe!=="function"){return r}else if(this.closed){r.unsubscribe();return r}else if(!(r instanceof t)){var n=r;r=new t;r._subscriptions=[n]}break;default:{throw new Error("unrecognized teardown "+e+" added to Subscription.")}}var i=r._parentOrParents;if(i===null){r._parentOrParents=this}else if(i instanceof t){if(i===this){return r}r._parentOrParents=[i,this]}else if(i.indexOf(this)===-1){i.push(this)}else{return r}var o=this._subscriptions;if(o===null){this._subscriptions=[r]}else{o.push(r)}return r};t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);if(r!==-1){e.splice(r,1)}}};return t}();p.EMPTY=function(t){t.closed=true;return t}(new p);function d(t){return t.reduce((function(t,e){return t.concat(e instanceof l?e.errors:e)}),[])}var v=function(){return typeof Symbol==="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();var y=function(t){__extends(e,t);function e(r,n,i){var o=t.call(this)||this;o.syncErrorValue=null;o.syncErrorThrown=false;o.syncErrorThrowable=false;o.isStopped=false;switch(arguments.length){case 0:o.destination=a;break;case 1:if(!r){o.destination=a;break}if(typeof r==="object"){if(r instanceof e){o.syncErrorThrowable=r.syncErrorThrowable;o.destination=r;r.add(o)}else{o.syncErrorThrowable=true;o.destination=new b(o,r)}break}default:o.syncErrorThrowable=true;o.destination=new b(o,r,n,i);break}return o}e.prototype[v]=function(){return this};e.create=function(t,r,n){var i=new e(t,r,n);i.syncErrorThrowable=false;return i};e.prototype.next=function(t){if(!this.isStopped){this._next(t)}};e.prototype.error=function(t){if(!this.isStopped){this.isStopped=true;this._error(t)}};e.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};e.prototype.unsubscribe=function(){if(this.closed){return}this.isStopped=true;t.prototype.unsubscribe.call(this)};e.prototype._next=function(t){this.destination.next(t)};e.prototype._error=function(t){this.destination.error(t);this.unsubscribe()};e.prototype._complete=function(){this.destination.complete();this.unsubscribe()};e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parentOrParents=t;return this};return e}(p);t("g",y);var b=function(t){__extends(e,t);function e(e,r,n,o){var s=t.call(this)||this;s._parentSubscriber=e;var u;var c=s;if(i(r)){u=r}else if(r){u=r.next;n=r.error;o=r.complete;if(r!==a){c=Object.create(r);if(i(c.unsubscribe)){s.add(c.unsubscribe.bind(c))}c.unsubscribe=s.unsubscribe.bind(s)}}s._context=c;s._next=u;s._error=n;s._complete=o;return s}e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;if(!s.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(this._next,t)}else if(this.__tryOrSetError(e,this._next,t)){this.unsubscribe()}}};e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;var r=s.useDeprecatedSynchronousErrorHandling;if(this._error){if(!r||!e.syncErrorThrowable){this.__tryOrUnsub(this._error,t);this.unsubscribe()}else{this.__tryOrSetError(e,this._error,t);this.unsubscribe()}}else if(!e.syncErrorThrowable){this.unsubscribe();if(r){throw t}u(t)}else{if(r){e.syncErrorValue=t;e.syncErrorThrown=true}else{u(t)}this.unsubscribe()}}};e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};if(!s.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable){this.__tryOrUnsub(r);this.unsubscribe()}else{this.__tryOrSetError(e,r);this.unsubscribe()}}else{this.unsubscribe()}}};e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){this.unsubscribe();if(s.useDeprecatedSynchronousErrorHandling){throw t}else{u(t)}}};e.prototype.__tryOrSetError=function(t,e,r){if(!s.useDeprecatedSynchronousErrorHandling){throw new Error("bad call")}try{e.call(this._context,r)}catch(e){if(s.useDeprecatedSynchronousErrorHandling){t.syncErrorValue=e;t.syncErrorThrown=true;return true}else{u(e);return true}}return false};e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null;this._parentSubscriber=null;t.unsubscribe()};return e}(y);function g(t){while(t){var e=t.closed,r=t.destination,n=t.isStopped;if(e||n){return false}else if(r&&r instanceof y){t=r}else{t=null}}return true}function _(t,e,r){if(t){if(t instanceof y){return t}if(t[v]){return t[v]()}}if(!t&&!e&&!r){return new y(a)}return new y(t,e,r)}var w=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}();function m(t){return t}function E(t){if(t.length===0){return m}if(t.length===1){return t[0]}return function e(r){return t.reduce((function(t,e){return e(t)}),r)}}var S=function(){function t(t){this._isScalar=false;if(t){this._subscribe=t}}t.prototype.lift=function(e){var r=new t;r.source=this;r.operator=e;return r};t.prototype.subscribe=function(t,e,r){var n=this.operator;var i=_(t,e,r);if(n){i.add(n.call(i,this.source))}else{i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i))}if(s.useDeprecatedSynchronousErrorHandling){if(i.syncErrorThrowable){i.syncErrorThrowable=false;if(i.syncErrorThrown){throw i.syncErrorValue}}}return i};t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){if(s.useDeprecatedSynchronousErrorHandling){t.syncErrorThrown=true;t.syncErrorValue=e}if(g(t)){t.error(e)}else{console.warn(e)}}};t.prototype.forEach=function(t,e){var r=this;e=O(e);return new e((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(t){n(t);if(i){i.unsubscribe()}}}),n,e)}))};t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)};t.prototype[w]=function(){return this};t.prototype.pipe=function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}if(t.length===0){return this}return E(t)(this)};t.prototype.toPromise=function(t){var e=this;t=O(t);return new t((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))};return t}();t("O",S);S.create=function(t){return new S(t)};function O(t){if(!t){t=Promise}if(!t){throw new Error("no Promise impl found")}return t}var x=function(){function t(){Error.call(this);this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}t.prototype=Object.create(Error.prototype);return t}();var P=x;var j=function(t){__extends(e,t);function e(e,r){var n=t.call(this)||this;n.subject=e;n.subscriber=r;n.closed=false;return n}e.prototype.unsubscribe=function(){if(this.closed){return}this.closed=true;var t=this.subject;var e=t.observers;this.subject=null;if(!e||e.length===0||t.isStopped||t.closed){return}var r=e.indexOf(this.subscriber);if(r!==-1){e.splice(r,1)}};return e}(p);var A=function(t){__extends(e,t);function e(e){var r=t.call(this,e)||this;r.destination=e;return r}return e}(y);var I=function(t){__extends(e,t);function e(){var e=t.call(this)||this;e.observers=[];e.closed=false;e.isStopped=false;e.hasError=false;e.thrownError=null;return e}e.prototype[v]=function(){return new A(this)};e.prototype.lift=function(t){var e=new C(this,this);e.operator=t;return e};e.prototype.next=function(t){if(this.closed){throw new P}if(!this.isStopped){var e=this.observers;var r=e.length;var n=e.slice();for(var i=0;i<r;i++){n[i].next(t)}}};e.prototype.error=function(t){if(this.closed){throw new P}this.hasError=true;this.thrownError=t;this.isStopped=true;var e=this.observers;var r=e.length;var n=e.slice();for(var i=0;i<r;i++){n[i].error(t)}this.observers.length=0};e.prototype.complete=function(){if(this.closed){throw new P}this.isStopped=true;var t=this.observers;var e=t.length;var r=t.slice();for(var n=0;n<e;n++){r[n].complete()}this.observers.length=0};e.prototype.unsubscribe=function(){this.isStopped=true;this.closed=true;this.observers=null};e.prototype._trySubscribe=function(e){if(this.closed){throw new P}else{return t.prototype._trySubscribe.call(this,e)}};e.prototype._subscribe=function(t){if(this.closed){throw new P}else if(this.hasError){t.error(this.thrownError);return p.EMPTY}else if(this.isStopped){t.complete();return p.EMPTY}else{this.observers.push(t);return new j(this,t)}};e.prototype.asObservable=function(){var t=new S;t.source=this;return t};return e}(S);I.create=function(t,e){return new C(t,e)};var C=function(t){__extends(e,t);function e(e,r){var n=t.call(this)||this;n.destination=e;n.source=r;return n}e.prototype.next=function(t){var e=this.destination;if(e&&e.next){e.next(t)}};e.prototype.error=function(t){var e=this.destination;if(e&&e.error){this.destination.error(t)}};e.prototype.complete=function(){var t=this.destination;if(t&&t.complete){this.destination.complete()}};e.prototype._subscribe=function(t){var e=this.source;if(e){return this.source.subscribe(t)}else{return p.EMPTY}};return e}(I);var N=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r._value=e;return r}Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:false,configurable:true});e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);if(r&&!r.closed){e.next(this._value)}return r};e.prototype.getValue=function(){if(this.hasError){throw this.thrownError}else if(this.closed){throw new P}else{return this._value}};e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)};return e}(I);var k=function(t){__extends(e,t);function e(e,r){return t.call(this)||this}e.prototype.schedule=function(t,e){if(e===void 0){e=0}return this};return e}(p);var U=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e,r)||this;n.scheduler=e;n.work=r;n.pending=false;return n}e.prototype.schedule=function(t,e){if(e===void 0){e=0}if(this.closed){return this}this.state=t;var r=this.id;var n=this.scheduler;if(r!=null){this.id=this.recycleAsyncId(n,r,e)}this.pending=true;this.delay=e;this.id=this.id||this.requestAsyncId(n,this.id,e);return this};e.prototype.requestAsyncId=function(t,e,r){if(r===void 0){r=0}return setInterval(t.flush.bind(t,this),r)};e.prototype.recycleAsyncId=function(t,e,r){if(r===void 0){r=0}if(r!==null&&this.delay===r&&this.pending===false){return e}clearInterval(e);return undefined};e.prototype.execute=function(t,e){if(this.closed){return new Error("executing a cancelled action")}this.pending=false;var r=this._execute(t,e);if(r){return r}else if(this.pending===false&&this.id!=null){this.id=this.recycleAsyncId(this.scheduler,this.id,null)}};e.prototype._execute=function(t,e){var r=false;var n=undefined;try{this.work(t)}catch(t){r=true;n=!!t&&t||new Error(t)}if(r){this.unsubscribe();return n}};e.prototype._unsubscribe=function(){var t=this.id;var e=this.scheduler;var r=e.actions;var n=r.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;if(n!==-1){r.splice(n,1)}if(t!=null){this.id=this.recycleAsyncId(e,t,null)}this.delay=null};return e}(k);var F=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e,r)||this;n.scheduler=e;n.work=r;return n}e.prototype.schedule=function(e,r){if(r===void 0){r=0}if(r>0){return t.prototype.schedule.call(this,e,r)}this.delay=r;this.state=e;this.scheduler.flush(this);return this};e.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)};e.prototype.requestAsyncId=function(e,r,n){if(n===void 0){n=0}if(n!==null&&n>0||n===null&&this.delay>0){return t.prototype.requestAsyncId.call(this,e,r,n)}return e.flush(this)};return e}(U);var R=function(){function t(e,r){if(r===void 0){r=t.now}this.SchedulerAction=e;this.now=r}t.prototype.schedule=function(t,e,r){if(e===void 0){e=0}return new this.SchedulerAction(this,t).schedule(r,e)};return t}();R.now=function(){return Date.now()};var M=function(t){__extends(e,t);function e(r,n){if(n===void 0){n=R.now}var i=t.call(this,r,(function(){if(e.delegate&&e.delegate!==i){return e.delegate.now()}else{return n()}}))||this;i.actions=[];i.active=false;i.scheduled=undefined;return i}e.prototype.schedule=function(r,n,i){if(n===void 0){n=0}if(e.delegate&&e.delegate!==this){return e.delegate.schedule(r,n,i)}else{return t.prototype.schedule.call(this,r,n,i)}};e.prototype.flush=function(t){var e=this.actions;if(this.active){e.push(t);return}var r;this.active=true;do{if(r=t.execute(t.state,t.delay)){break}}while(t=e.shift());this.active=false;if(r){while(t=e.shift()){t.unsubscribe()}throw r}};return e}(R);var K=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(M);var D=new K(F);var V=D;var H=new S((function(t){return t.complete()}));function L(t){return t?q(t):H}function q(t){return new S((function(e){return t.schedule((function(){return e.complete()}))}))}function Y(t){return t&&typeof t.schedule==="function"}var W=function(t){return function(e){for(var r=0,n=t.length;r<n&&!e.closed;r++){e.next(t[r])}e.complete()}};function $(t,e){return new S((function(r){var n=new p;var i=0;n.add(e.schedule((function(){if(i===t.length){r.complete();return}r.next(t[i++]);if(!r.closed){n.add(this.schedule())}})));return n}))}function z(t,e){if(!e){return new S(W(t))}else{return $(t,e)}}function Q(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}var r=t[t.length-1];if(Y(r)){t.pop();return $(t,r)}else{return z(t)}}function B(t,e){if(!e){return new S((function(e){return e.error(t)}))}else{return new S((function(r){return e.schedule(G,0,{error:t,subscriber:r})}))}}function G(t){var e=t.error,r=t.subscriber;r.error(e)}var J;(function(t){t["NEXT"]="N";t["ERROR"]="E";t["COMPLETE"]="C"})(J||(J={}));var X=function(){function t(t,e,r){this.kind=t;this.value=e;this.error=r;this.hasValue=t==="N"}t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}};t.prototype.do=function(t,e,r){var n=this.kind;switch(n){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}};t.prototype.accept=function(t,e,r){if(t&&typeof t.next==="function"){return this.observe(t)}else{return this.do(t,e,r)}};t.prototype.toObservable=function(){var t=this.kind;switch(t){case"N":return Q(this.value);case"E":return B(this.error);case"C":return L()}throw new Error("unexpected notification kind value")};t.createNext=function(e){if(typeof e!=="undefined"){return new t("N",e)}return t.undefinedValueNotification};t.createError=function(e){return new t("E",undefined,e)};t.createComplete=function(){return t.completeNotification};return t}();X.completeNotification=new X("C");X.undefinedValueNotification=new X("N",undefined);var Z=function(t){__extends(e,t);function e(e,r,n){if(n===void 0){n=0}var i=t.call(this,e)||this;i.scheduler=r;i.delay=n;return i}e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r);this.unsubscribe()};e.prototype.scheduleMessage=function(t){var r=this.destination;r.add(this.scheduler.schedule(e.dispatch,this.delay,new tt(t,this.destination)))};e.prototype._next=function(t){this.scheduleMessage(X.createNext(t))};e.prototype._error=function(t){this.scheduleMessage(X.createError(t));this.unsubscribe()};e.prototype._complete=function(){this.scheduleMessage(X.createComplete());this.unsubscribe()};return e}(y);var tt=function(){function t(t,e){this.notification=t;this.destination=e}return t}();var et=function(t){__extends(e,t);function e(e,r,n){if(e===void 0){e=Number.POSITIVE_INFINITY}if(r===void 0){r=Number.POSITIVE_INFINITY}var i=t.call(this)||this;i.scheduler=n;i._events=[];i._infiniteTimeWindow=false;i._bufferSize=e<1?1:e;i._windowTime=r<1?1:r;if(r===Number.POSITIVE_INFINITY){i._infiniteTimeWindow=true;i.next=i.nextInfiniteTimeWindow}else{i.next=i.nextTimeWindow}return i}e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var r=this._events;r.push(e);if(r.length>this._bufferSize){r.shift()}}t.prototype.next.call(this,e)};e.prototype.nextTimeWindow=function(e){if(!this.isStopped){this._events.push(new rt(this._getNow(),e));this._trimBufferThenGetEvents()}t.prototype.next.call(this,e)};e.prototype._subscribe=function(t){var e=this._infiniteTimeWindow;var r=e?this._events:this._trimBufferThenGetEvents();var n=this.scheduler;var i=r.length;var o;if(this.closed){throw new P}else if(this.isStopped||this.hasError){o=p.EMPTY}else{this.observers.push(t);o=new j(this,t)}if(n){t.add(t=new Z(t,n))}if(e){for(var s=0;s<i&&!t.closed;s++){t.next(r[s])}}else{for(var s=0;s<i&&!t.closed;s++){t.next(r[s].value)}}if(this.hasError){t.error(this.thrownError)}else if(this.isStopped){t.complete()}return o};e.prototype._getNow=function(){return(this.scheduler||V).now()};e.prototype._trimBufferThenGetEvents=function(){var t=this._getNow();var e=this._bufferSize;var r=this._windowTime;var n=this._events;var i=n.length;var o=0;while(o<i){if(t-n[o].time<r){break}o++}if(i>e){o=Math.max(o,i-e)}if(o>0){n.splice(0,o)}return n};return e}(I);var rt=function(){function t(t,e){this.time=t;this.value=e}return t}();var nt=new M(U);var it=t("d",nt);function ot(t){return!!t&&(t instanceof S||typeof t.lift==="function"&&typeof t.subscribe==="function")}var st=function(){function t(){Error.call(this);this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}t.prototype=Object.create(Error.prototype);return t}();var ut=st;function at(t,e){return function r(n){if(typeof t!=="function"){throw new TypeError("argument is not a function. Are you looking for `mapTo()`?")}return n.lift(new ct(t,e))}}var ct=function(){function t(t,e){this.project=t;this.thisArg=e}t.prototype.call=function(t,e){return e.subscribe(new ft(t,this.project,this.thisArg))};return t}();var ft=function(t){__extends(e,t);function e(e,r,n){var i=t.call(this,e)||this;i.project=r;i.count=0;i.thisArg=n||i;return i}e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){this.destination.error(t);return}this.destination.next(e)};return e}(y);var ht=function(t){return function(e){t.then((function(t){if(!e.closed){e.next(t);e.complete()}}),(function(t){return e.error(t)})).then(null,u);return e}};function lt(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}var pt=lt();var dt=function(t){return function(e){var r=t[pt]();do{var n=void 0;try{n=r.next()}catch(t){e.error(t);return e}if(n.done){e.complete();break}e.next(n.value);if(e.closed){break}}while(true);if(typeof r.return==="function"){e.add((function(){if(r.return){r.return()}}))}return e}};var vt=function(t){return function(e){var r=t[w]();if(typeof r.subscribe!=="function"){throw new TypeError("Provided object does not correctly implement Symbol.observable")}else{return r.subscribe(e)}}};var yt=function(t){return t&&typeof t.length==="number"&&typeof t!=="function"};function bt(t){return!!t&&typeof t.subscribe!=="function"&&typeof t.then==="function"}var gt=function(t){if(!!t&&typeof t[w]==="function"){return vt(t)}else if(yt(t)){return W(t)}else if(bt(t)){return ht(t)}else if(!!t&&typeof t[pt]==="function"){return dt(t)}else{var e=f(t)?"an invalid object":"'"+t+"'";var r="You provided "+e+" where a stream was expected."+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(r)}};function _t(t,e){return new S((function(r){var n=new p;n.add(e.schedule((function(){var i=t[w]();n.add(i.subscribe({next:function(t){n.add(e.schedule((function(){return r.next(t)})))},error:function(t){n.add(e.schedule((function(){return r.error(t)})))},complete:function(){n.add(e.schedule((function(){return r.complete()})))}}))})));return n}))}function wt(t,e){return new S((function(r){var n=new p;n.add(e.schedule((function(){return t.then((function(t){n.add(e.schedule((function(){r.next(t);n.add(e.schedule((function(){return r.complete()})))})))}),(function(t){n.add(e.schedule((function(){return r.error(t)})))}))})));return n}))}function mt(t,e){if(!t){throw new Error("Iterable cannot be null")}return new S((function(r){var n=new p;var i;n.add((function(){if(i&&typeof i.return==="function"){i.return()}}));n.add(e.schedule((function(){i=t[pt]();n.add(e.schedule((function(){if(r.closed){return}var t;var e;try{var n=i.next();t=n.value;e=n.done}catch(t){r.error(t);return}if(e){r.complete()}else{r.next(t);this.schedule()}})))})));return n}))}function Et(t){return t&&typeof t[w]==="function"}function St(t){return t&&typeof t[pt]==="function"}function Ot(t,e){if(t!=null){if(Et(t)){return _t(t,e)}else if(bt(t)){return wt(t,e)}else if(yt(t)){return $(t,e)}else if(St(t)||typeof t==="string"){return mt(t,e)}}throw new TypeError((t!==null&&typeof t||t)+" is not observable")}function xt(t,e){if(!e){if(t instanceof S){return t}return new S(gt(t))}else{return Ot(t,e)}}var Pt=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.parent=e;return r}e.prototype._next=function(t){this.parent.notifyNext(t)};e.prototype._error=function(t){this.parent.notifyError(t);this.unsubscribe()};e.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};return e}(y);t("a",Pt);var jt=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.notifyNext=function(t){this.destination.next(t)};e.prototype.notifyError=function(t){this.destination.error(t)};e.prototype.notifyComplete=function(){this.destination.complete()};return e}(y);t("S",jt);function Tt(t,e){if(e.closed){return undefined}if(t instanceof S){return t.subscribe(e)}return gt(t)(e)}function At(t,e){return function r(n){return n.lift(new It(t,e))}}var It=function(){function t(t,e){this.predicate=t;this.thisArg=e}t.prototype.call=function(t,e){return e.subscribe(new Ct(t,this.predicate,this.thisArg))};return t}();var Ct=function(t){__extends(e,t);function e(e,r,n){var i=t.call(this,e)||this;i.predicate=r;i.thisArg=n;i.count=0;return i}e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){this.destination.error(t);return}if(e){this.destination.next(t)}};return e}(y);function Nt(t){return t instanceof Date&&!isNaN(+t)}function kt(t,e){if(e===void 0){e=it}var r=Nt(t);var n=r?+t-e.now():Math.abs(t);return function(t){return t.lift(new Ut(n,e))}}var Ut=function(){function t(t,e){this.delay=t;this.scheduler=e}t.prototype.call=function(t,e){return e.subscribe(new Ft(t,this.delay,this.scheduler))};return t}();var Ft=function(t){__extends(e,t);function e(e,r,n){var i=t.call(this,e)||this;i.delay=r;i.scheduler=n;i.queue=[];i.active=false;i.errored=false;return i}e.dispatch=function(t){var e=t.source;var r=e.queue;var n=t.scheduler;var i=t.destination;while(r.length>0&&r[0].time-n.now()<=0){r.shift().notification.observe(i)}if(r.length>0){var o=Math.max(0,r[0].time-n.now());this.schedule(t,o)}else{this.unsubscribe();e.active=false}};e.prototype._schedule=function(t){this.active=true;var r=this.destination;r.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))};e.prototype.scheduleNotification=function(t){if(this.errored===true){return}var e=this.scheduler;var r=new Rt(e.now()+this.delay,t);this.queue.push(r);if(this.active===false){this._schedule(e)}};e.prototype._next=function(t){this.scheduleNotification(X.createNext(t))};e.prototype._error=function(t){this.errored=true;this.queue=[];this.destination.error(t);this.unsubscribe()};e.prototype._complete=function(){this.scheduleNotification(X.createComplete());this.unsubscribe()};return e}(y);var Rt=function(){function t(t,e){this.time=t;this.notification=e}return t}();function Mt(t,e){return function(r){return r.lift(new Kt(t,e))}}var Kt=function(){function t(t,e){this.compare=t;this.keySelector=e}t.prototype.call=function(t,e){return e.subscribe(new Dt(t,this.compare,this.keySelector))};return t}();var Dt=function(t){__extends(e,t);function e(e,r,n){var i=t.call(this,e)||this;i.keySelector=n;i.hasKey=false;if(typeof r==="function"){i.compare=r}return i}e.prototype.compare=function(t,e){return t===e};e.prototype._next=function(t){var e;try{var r=this.keySelector;e=r?r(t):t}catch(t){return this.destination.error(t)}var n=false;if(this.hasKey){try{var i=this.compare;n=i(this.key,e)}catch(t){return this.destination.error(t)}}else{this.hasKey=true}if(!n){this.key=e;this.destination.next(t)}};return e}(y);function Vt(t){return function(e){if(t===0){return L()}else{return e.lift(new Ht(t))}}}var Ht=function(){function t(t){this.total=t;if(this.total<0){throw new ut}}t.prototype.call=function(t,e){return e.subscribe(new Lt(t,this.total))};return t}();var Lt=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e)||this;n.total=r;n.count=0;return n}e.prototype._next=function(t){var e=this.total;var r=++this.count;if(r<=e){this.destination.next(t);if(r===e){this.destination.complete();this.unsubscribe()}}};return e}(y);function qt(t,e){if(typeof e==="function"){return function(r){return r.pipe(qt((function(r,n){return xt(t(r,n)).pipe(at((function(t,i){return e(r,t,n,i)})))})))}}return function(e){return e.lift(new Yt(t))}}var Yt=function(){function t(t){this.project=t}t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.project))};return t}();var Wt=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e)||this;n.project=r;n.index=0;return n}e.prototype._next=function(t){var e;var r=this.index++;try{e=this.project(t,r)}catch(t){this.destination.error(t);return}this._innerSub(e)};e.prototype._innerSub=function(t){var e=this.innerSubscription;if(e){e.unsubscribe()}var r=new Pt(this);var n=this.destination;n.add(r);this.innerSubscription=Tt(t,r);if(this.innerSubscription!==r){n.add(this.innerSubscription)}};e.prototype._complete=function(){var e=this.innerSubscription;if(!e||e.closed){t.prototype._complete.call(this)}this.unsubscribe()};e.prototype._unsubscribe=function(){this.innerSubscription=undefined};e.prototype.notifyComplete=function(){this.innerSubscription=undefined;if(this.isStopped){t.prototype._complete.call(this)}};e.prototype.notifyNext=function(t){this.destination.next(t)};return e}(jt);var $t={type:null,entityIds:null,skip:false};var zt=false;function Qt(){zt=false}function Bt(t,e){Gt(t,e);zt=true}function Gt(t,e){if(zt===false){$t.type=t;$t.entityIds=e}}function Jt(t,e){return function(r,n,i){var o=i.value;i.value=function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}Bt(t,e);return o.apply(this,r)};return i}}function Xt(t,e){return t.hasOwnProperty(e)}function Zt(t){var e=t.state,r=t.entities,n=t.idKey,i=t.options,o=i===void 0?{}:i,s=t.preAddEntity;var u={};var a=[];var c=false;for(var f=0,h=r;f<h.length;f++){var l=h[f];if(Xt(e.entities,l[n])===false){var p=s(l);var d=p[n];u[d]=p;if(o.prepend)a.unshift(d);else a.push(d);c=true}}return c?{newState:Object.assign({},e,{entities:Object.assign({},e.entities,u),ids:o.prepend?__spreadArrays(a,e.ids):__spreadArrays(e.ids,a)}),newIds:a}:null}function te(t){return t===null||t===undefined}function ee(t){if(te(t)){return[]}return Array.isArray(t)?t:[t]}var re="id";var ne;(function(t){t["Set"]="Set";t["Add"]="Add";t["Update"]="Update";t["Remove"]="Remove"})(ne||(ne={}));var ie=typeof window!=="undefined";var oe=true;function se(){oe=false;if(ie){delete window.$$stores;delete window.$$queries}}function ue(){return oe}function ae(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function ce(t){return Array.isArray(t)}function fe(t,e,r){var n;if(ce(t)){n=t}else{if(ae(t)){if(te(r))return;t=Object.assign({wrap:true},t);var i=e.indexOf(r);if(t.prev){var o=i===0;if(o&&!t.wrap)return;n=o?e[e.length-1]:e[i-1]}else if(t.next){var s=e.length===i+1;if(s&&!t.wrap)return;n=s?e[0]:e[i+1]}}else{if(t===r)return;n=t}}return n}var he=function(){return{entities:{},ids:[],loading:true,error:null}};function le(t){return te(t)===false}function pe(t){if(ce(t)){return t.length===0}return false}function de(t){return typeof t==="function"}function ve(t){return t===undefined}function ye(t){return t.hasOwnProperty("active")}function be(t){return ce(t)}function ge(t){var e=t.active,r=t.ids,n=t.entities;if(be(e)){return _e(e,r)}if(Xt(n,e)===false){return null}return e}function _e(t,e){var r=t.filter((function(t){return e.indexOf(t)>-1}));if(r.length===t.length){return t}return r}function we(t){var e=t.state,r=t.ids;if(te(r))return me(e);var n=e.entities;var i={};for(var o=0,s=e.ids;o<s.length;o++){var u=s[o];if(r.includes(u)===false){i[u]=n[u]}}var a=Object.assign({},e,{entities:i,ids:e.ids.filter((function(t){return r.includes(t)===false}))});if(ye(e)){a.active=ge(a)}return a}function me(t){return Object.assign({},t,{entities:{},ids:[],active:be(t.active)?[]:null})}function Ee(t,e,r){var n={entities:{},ids:[]};for(var i=0,o=t;i<o.length;i++){var s=o[i];var u=r(s);n.entities[u[e]]=u;n.ids.push(u[e])}return n}function Se(t){return t.entities&&t.ids}function Oe(t,e){var r={};for(var n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];r[o]=e(t[o])}return r}function xe(t){var e=t.state,r=t.entities,n=t.idKey,i=t.preAddEntity,o=t.isNativePreAdd;var s;var u;if(ce(r)){var a=Ee(r,n,i);s=a.entities;u=a.ids}else if(Se(r)){s=o?r.entities:Oe(r.entities,i);u=r.ids}else{s=o?r:Oe(r,i);u=Object.keys(s).map((function(t){return isNaN(t)?t:Number(t)}))}var c=Object.assign({},e,{entities:s,ids:u,loading:false});if(ye(e)){c.active=ge(c)}return c}var Pe={resettable:false,ttl:null,producerFn:undefined};function je(){return Pe}function Te(){return Pe.producerFn}function Ae(t){Object.freeze(t);var e=typeof t==="function";var r=Object.prototype.hasOwnProperty;Object.getOwnPropertyNames(t).forEach((function(n){if(r.call(t,n)&&(e?n!=="caller"&&n!=="callee"&&n!=="arguments":true)&&t[n]!==null&&(typeof t[n]==="object"||typeof t[n]==="function")&&!Object.isFrozen(t[n])){Ae(t[n])}}));return t}var Ie=new I;var Ce=new et(50,5e3);var Ne=new I;function ke(t){Ie.next(t)}function Ue(t){Ce.next(t)}function Fe(t,e){Ne.next({storeName:t,action:e})}function Re(t,e){if(!t){console.error("@StoreConfig({ name }) is missing in "+e)}}function Me(t){return t!=null&&""+t!=="false"}function Ke(t){return Me(t)&&t.constructor.name==="Object"}var De="akitaConfig";function Ve(t){return function(e){e[De]={idKey:"id"};for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];if(i==="name"){e[De]["storeName"]=t[i]}else{e[De][i]=t[i]}}}}var He={};var Le={};if(ie){window.$$stores=He;window.$$queries=Le}var qe=new I;var Ye=new N(false);var We={activeTransactions:0,batchTransaction:null};function $e(){if(!Qe()){We.batchTransaction=new I}We.activeTransactions++;Ye.next(true)}function ze(){if(--We.activeTransactions===0){We.batchTransaction.next(true);We.batchTransaction.complete();Ye.next(false);qe.next(true)}}function Qe(){return We.activeTransactions>0}function Be(){return We.batchTransaction?We.batchTransaction.asObservable():Q(true)}function Ge(t,e){if(e===void 0){e=undefined}$e();try{return t.apply(e)}finally{Bt("@Transaction");ze()}}function Je(){return function(t,e,r){var n=r.value;r.value=function(){var t=this;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return Ge((function(){return n.apply(t,e)}),this)};return r}}var Xe=function(){function t(t,e){if(e===void 0){e={}}this.options=e;this.inTransaction=false;this.cache={active:new N(false),ttl:null};this.onInit(t)}t.prototype.setLoading=function(t){if(t===void 0){t=false}if(t!==this._value().loading){ue()&&Gt("Set Loading");this._setState((function(e){return Object.assign({},e,{loading:t})}))}};t.prototype.setHasCache=function(t,e){var r=this;if(e===void 0){e={restartTTL:false}}if(t!==this.cache.active.value){this.cache.active.next(t)}if(e.restartTTL){var n=this.getCacheTTL();if(n){if(this.cache.ttl!==null){clearTimeout(this.cache.ttl)}this.cache.ttl=setTimeout((function(){return r.setHasCache(false)}),n)}}};t.prototype.getValue=function(){return this.storeValue};t.prototype.setError=function(t){if(t!==this._value().error){ue()&&Gt("Set Error");this._setState((function(e){return Object.assign({},e,{error:t})}))}};t.prototype._select=function(t){return this.store.asObservable().pipe(at((function(e){return t(e.state)})),Mt())};t.prototype._value=function(){return this.storeValue};t.prototype._cache=function(){return this.cache.active};Object.defineProperty(t.prototype,"config",{get:function(){return this.constructor[De]||{}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"storeName",{get:function(){return this.config.storeName||this.options.storeName||this.options.name},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"deepFreeze",{get:function(){return this.config.deepFreezeFn||this.options.deepFreezeFn||Ae},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"cacheConfig",{get:function(){return this.config.cache||this.options.cache},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"_producerFn",{get:function(){return this.config.producerFn||this.options.producerFn||Te()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"resettable",{get:function(){return le(this.config.resettable)?this.config.resettable:this.options.resettable},enumerable:false,configurable:true});t.prototype._setState=function(t,e){var r=this;if(e===void 0){e=true}if(de(t)){var n=t(this._value());this.storeValue=oe?this.deepFreeze(n):n}else{this.storeValue=t}if(!this.store){this.store=new N({state:this.storeValue});if(ue()){this.store.subscribe((function(t){var e=t.action;if(e){Fe(r.storeName,e)}}))}return}if(Qe()){this.handleTransaction();return}this.dispatch(this.storeValue,e)};t.prototype.reset=function(){var t=this;if(this.isResettable()){ue()&&Gt("Reset");this._setState((function(){return Object.assign({},t._initialState)}));this.setHasCache(false)}else{ue()&&console.warn("You need to enable the reset functionality")}};t.prototype.update=function(t){ue()&&Gt("Update");var e;var r=this._value();if(de(t)){e=de(this._producerFn)?this._producerFn(r,t):t(r)}else{e=t}var n=this.akitaPreUpdate(r,Object.assign({},r,e));var i=Ke(r)?n:new r.constructor(n);this._setState(i)};t.prototype.updateStoreConfig=function(t){this.options=Object.assign({},this.options,t)};t.prototype.akitaPreUpdate=function(t,e){return e};t.prototype.ngOnDestroy=function(){this.destroy()};t.prototype.destroy=function(){var t=ie?window.hmrEnabled:false;if(!t&&this===He[this.storeName]){delete He[this.storeName];ke(this.storeName);this.setHasCache(false);this.cache.active.complete();this.store.complete()}};t.prototype.onInit=function(t){He[this.storeName]=this;this._setState((function(){return t}));Ue(this.storeName);if(this.isResettable()){this._initialState=t}ue()&&Re(this.storeName,this.constructor.name)};t.prototype.dispatch=function(t,e){if(e===void 0){e=true}var r=undefined;if(e){r=$t;Qt()}this.store.next({state:t,action:r})};t.prototype.watchTransaction=function(){var t=this;Be().subscribe((function(){t.inTransaction=false;t.dispatch(t._value())}))};t.prototype.isResettable=function(){if(this.resettable===false){return false}return this.resettable||je().resettable};t.prototype.handleTransaction=function(){if(!this.inTransaction){this.watchTransaction();this.inTransaction=true}};t.prototype.getCacheTTL=function(){return this.cacheConfig&&this.cacheConfig.ttl||je().ttl};return t}();t("l",Xe);function Ze(t){var r=t.state,n=t.ids,i=t.idKey,o=t.newStateOrFn,s=t.preUpdateEntity,u=t.producerFn,a=t.onEntityIdChanges;var c={};var f=false;var h;for(var l=0,p=n;l<p.length;l++){var d=p[l];if(Xt(r.entities,d)===false){continue}var v=r.entities[d];var y=void 0;if(de(o)){y=de(u)?u(v,o):o(v)}else{y=o}var b=y.hasOwnProperty(i)&&y[i]!==v[i];var g=void 0;h=d;if(b){f=true;h=y[i]}var _=Object.assign({},v,y);if(Ke(v)){g=_}else{if(Ke(y)){g=new v.constructor(_)}else{g=new y.constructor(_)}}c[h]=s(v,g)}var w=r.ids;var m=r.entities;if(f){var E=n[0];var S=r.entities,O=E,x=e(S,[typeof O==="symbol"?O:O+""]);m=x;w=r.ids.map((function(t){return t===E?h:t}));a(E,h)}return Object.assign({},r,{entities:Object.assign({},m,c),ids:w})}var tr;var er=function(t){__extends(e,t);function e(e,r){if(e===void 0){e={}}if(r===void 0){r={}}var n=t.call(this,Object.assign({},he(),e),r)||this;n.options=r;n.entityActions=new I;n.entityIdChanges=new I;return n}Object.defineProperty(e.prototype,"selectEntityAction$",{get:function(){return this.entityActions.asObservable()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"selectEntityIdChanges$",{get:function(){return this.entityIdChanges.asObservable()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"idKey",{get:function(){return this.config.idKey||this.options.idKey||re},enumerable:false,configurable:true});e.prototype.set=function(t,r){var n=this;if(r===void 0){r={}}if(te(t))return;ue()&&Gt("Set Entity");var i=this.akitaPreAddEntity===e.prototype.akitaPreAddEntity;this.setHasCache(true,{restartTTL:true});this._setState((function(e){var o=xe({state:e,entities:t,idKey:n.idKey,preAddEntity:n.akitaPreAddEntity,isNativePreAdd:i});if(ve(r.activeId)===false){o.active=r.activeId}return o}));if(this.hasInitialUIState()){this.handleUICreation()}this.entityActions.next({type:ne.Set,ids:this.ids})};e.prototype.add=function(t,e){if(e===void 0){e={loading:false}}var r=ee(t);if(pe(r))return;var n=Zt({state:this._value(),preAddEntity:this.akitaPreAddEntity,entities:r,idKey:this.idKey,options:e});if(n){ue()&&Gt("Add Entity");n.newState.loading=e.loading;this._setState((function(){return n.newState}));if(this.hasInitialUIState()){this.handleUICreation(true)}this.entityActions.next({type:ne.Add,ids:n.newIds})}};e.prototype.update=function(e,r){var n=this;if(ve(r)){t.prototype.update.call(this,e);return}var i=[];if(de(e)){i=this.ids.filter((function(t){return e(n.entities[t])}))}else{i=te(e)?this.ids:ee(e)}if(pe(i))return;ue()&&Gt("Update Entity",i);var o;this._setState((function(t){return Ze({idKey:n.idKey,ids:i,preUpdateEntity:n.akitaPreUpdateEntity,state:t,newStateOrFn:r,producerFn:n._producerFn,onEntityIdChanges:function(t,e){o={oldId:t,newId:e};n.entityIdChanges.next(Object.assign({},o,{pending:true}))}})}));if(o){this.entityIdChanges.next(Object.assign({},o,{pending:false}))}this.entityActions.next({type:ne.Update,ids:i})};e.prototype.upsert=function(t,e,r,n){var i=this;if(n===void 0){n={}}var o=ee(t);var s=function(t){return function(e){return Xt(i.entities,e)===t}};var u=de(r)?n.baseClass:r?r.baseClass:undefined;var a=de(u);var c=o.filter(s(true));var f=o.filter(s(false)).map((function(t){var n;var o=typeof e==="function"?e({}):e;var s=de(r)?r(t,o):o;var c=Object.assign({},s,(n={},n[i.idKey]=t,n));if(a){return new u(c)}return c}));this.update(c,e);this.add(f);ue()&&Bt("Upsert Entity")};e.prototype.upsertMany=function(t,e){if(e===void 0){e={}}var r=[];var n=[];var i={};for(var o=0,s=t;o<s.length;o++){var u=s[o];var a=this.akitaPreCheckEntity(u);var c=a[this.idKey];if(Xt(this.entities,c)){var f=this._value().entities[c];var h=Object.assign({},this._value().entities[c],a);var l=e.baseClass?new e.baseClass(h):h;var p=this.akitaPreUpdateEntity(f,l);var d=p[this.idKey];i[d]=p;n.push(d)}else{var v=e.baseClass?new e.baseClass(a):a;var p=this.akitaPreAddEntity(v);var d=p[this.idKey];r.push(d);i[d]=p}}ue()&&Bt("Upsert Many");this._setState((function(t){return Object.assign({},t,{ids:r.length?__spreadArrays(t.ids,r):t.ids,entities:Object.assign({},t.entities,i),loading:!!e.loading})}));n.length&&this.entityActions.next({type:ne.Update,ids:n});r.length&&this.entityActions.next({type:ne.Add,ids:r});if(r.length&&this.hasUIStore()){this.handleUICreation(true)}};e.prototype.replace=function(t,e){var r=ee(t);if(pe(r))return;var n={};for(var i=0,o=r;i<o.length;i++){var s=o[i];e[this.idKey]=s;n[s]=e}ue()&&Gt("Replace Entity",t);this._setState((function(t){return Object.assign({},t,{entities:Object.assign({},t.entities,n)})}))};e.prototype.move=function(t,e){var r=this.ids.slice();r.splice(e<0?r.length+e:e,0,r.splice(t,1)[0]);ue()&&Gt("Move Entity");this._setState((function(t){return Object.assign({},t,{entities:Object.assign({},t.entities),ids:r})}))};e.prototype.remove=function(t){var e=this;if(pe(this.ids))return;var r=le(t);var n=[];if(de(t)){n=this.ids.filter((function(r){return t(e.entities[r])}))}else{n=r?ee(t):this.ids}if(pe(n))return;ue()&&Gt("Remove Entity",n);this._setState((function(t){return we({state:t,ids:n})}));if(!r){this.setHasCache(false)}this.handleUIRemove(n);this.entityActions.next({type:ne.Remove,ids:n})};e.prototype.updateActive=function(t){var e=ee(this.active);ue()&&Gt("Update Active",e);this.update(e,t)};e.prototype.setActive=function(t){var e=fe(t,this.ids,this.active);if(e===undefined){return}ue()&&Gt("Set Active",e);this._setActive(e)};e.prototype.addActive=function(t){var e=this;var r=ee(t);if(pe(r))return;var n=r.every((function(t){return e.active.indexOf(t)>-1}));if(n)return;ue()&&Gt("Add Active",t);this._setState((function(t){var e=Array.from(new Set(__spreadArrays(t.active,r)));return Object.assign({},t,{active:e})}))};e.prototype.removeActive=function(t){var e=this;var r=ee(t);if(pe(r))return;var n=r.some((function(t){return e.active.indexOf(t)>-1}));if(!n)return;ue()&&Gt("Remove Active",t);this._setState((function(t){return Object.assign({},t,{active:Array.isArray(t.active)?t.active.filter((function(t){return r.indexOf(t)===-1})):null})}))};e.prototype.toggleActive=function(t){var e=this;var r=ee(t);var n=function(t){return function(r){return e.active.includes(r)===t}};var i=r.filter(n(true));var o=r.filter(n(false));this.removeActive(i);this.addActive(o);ue()&&Bt("Toggle Active")};e.prototype.createUIStore=function(t,e){if(t===void 0){t={}}if(e===void 0){e={}}var r={name:"UI/"+this.storeName,idKey:this.idKey};this.ui=new rr(t,Object.assign({},r,e));return this.ui};e.prototype.destroy=function(){t.prototype.destroy.call(this);if(this.ui instanceof e){this.ui.destroy()}this.entityActions.complete()};e.prototype.akitaPreUpdateEntity=function(t,e){return e};e.prototype.akitaPreAddEntity=function(t){return t};e.prototype.akitaPreCheckEntity=function(t){return t};Object.defineProperty(e.prototype,"ids",{get:function(){return this._value().ids},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"entities",{get:function(){return this._value().entities},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"active",{get:function(){return this._value().active},enumerable:false,configurable:true});e.prototype._setActive=function(t){this._setState((function(e){return Object.assign({},e,{active:t})}))};e.prototype.handleUICreation=function(t){var e=this;if(t===void 0){t=false}var r=this.ids;var n=de(this.ui._akitaCreateEntityFn);var i;var o=function(t){var r;var i=e.entities[t];var o=n?e.ui._akitaCreateEntityFn(i):e.ui._akitaCreateEntityFn;return Object.assign((r={},r[e.idKey]=i[e.idKey],r),o)};if(t){i=this.ids.filter((function(t){return ve(e.ui.entities[t])})).map(o)}else{i=r.map(o)}t?this.ui.add(i):this.ui.set(i)};e.prototype.hasInitialUIState=function(){return this.hasUIStore()&&ve(this.ui._akitaCreateEntityFn)===false};e.prototype.handleUIRemove=function(t){if(this.hasUIStore()){this.ui.remove(t)}};e.prototype.hasUIStore=function(){return this.ui instanceof rr};return e}(Xe);r([Je(),n("design:type",Function),n("design:paramtypes",[Object,Object,Object,Object]),n("design:returntype",void 0)],er.prototype,"upsert",null);r([Je(),n("design:type",Function),n("design:paramtypes",[typeof(tr=typeof T!=="undefined"&&T)==="function"?tr:Object]),n("design:returntype",void 0)],er.prototype,"toggleActive",null);var rr=function(t){__extends(e,t);function e(e,r){if(e===void 0){e={}}if(r===void 0){r={}}return t.call(this,e,r)||this}e.prototype.setInitialEntityState=function(t){this._akitaCreateEntityFn=t};return e}(er);var nr;(function(t){t["ASC"]="asc";t["DESC"]="desc"})(nr||(nr={}));function ir(t){return typeof t==="string"}var or="akitaQueryConfig";function sr(t){return function(e,r){var n=de(t[0]);return t.some((function(t){if(n){return t(e)!==t(r)}return e[t]!==r[t]}))===false}}var ur=function(){function t(t){this.store=t;this.__store__=t;if(ue()){Le[t.storeName]=this}}t.prototype.select=function(t){var e;if(de(t)){e=t}else if(ir(t)){e=function(e){return e[t]}}else if(Array.isArray(t)){return this.store._select((function(t){return t})).pipe(Mt(sr(t)),at((function(e){if(de(t[0])){return t.map((function(t){return t(e)}))}return t.reduce((function(t,r){t[r]=e[r];return t}),{})})))}else{e=function(t){return t}}return this.store._select(e)};t.prototype.selectLoading=function(){return this.select((function(t){return t.loading}))};t.prototype.selectError=function(){return this.select((function(t){return t.error}))};t.prototype.getValue=function(){return this.store._value()};t.prototype.selectHasCache=function(){return this.store._cache().asObservable()};t.prototype.getHasCache=function(){return this.store._cache().value};Object.defineProperty(t.prototype,"config",{get:function(){return this.constructor[or]},enumerable:false,configurable:true});return t}();t("Q",ur);var ar=function(t){return t.pipe(At((function(t){return t!==null&&typeof t!=="undefined"})))};function cr(t,e){if(e.split(".").length===1){return t}var r=e.split(".").slice(1).join(".");return r.split(".").reduce((function(t,e){return t&&t[e]}),t)}function fr(t,e,r){var n=e.split(".");if(n.length===1){return Object.assign({},t,r)}t=Object.assign({},t);var i=n.length-2;var o=e.split(".").slice(1);o.reduce((function(t,e,n){if(n!==i){t[e]=Object.assign({},t[e]);return t&&t[e]}t[e]=Array.isArray(t[e])||!ae(t[e])?r:Object.assign({},t[e],r);return t&&t[e]}),t);return t}var hr=new et(1);var lr=function(){function t(t,e){this.query=t;if(e&&e.resetFn){if(je().resettable){this.onReset(e.resetFn)}}}t.prototype.getQuery=function(){return this.query};t.prototype.getStore=function(){return this.getQuery().__store__};t.prototype.isEntityBased=function(t){return Me(t)};t.prototype.selectSource=function(t,e){var r=this;if(this.isEntityBased(t)){return this.getQuery().selectEntity(t).pipe(ar)}if(e){return this.getQuery().select((function(t){return cr(t,r.withStoreName(e))}))}return this.getQuery().select()};t.prototype.getSource=function(t,e){if(this.isEntityBased(t)){return this.getQuery().getEntity(t)}var r=this.getQuery().getValue();if(e){return cr(r,this.withStoreName(e))}return r};t.prototype.withStoreName=function(t){return this.storeName+"."+t};Object.defineProperty(t.prototype,"storeName",{get:function(){return this.getStore().storeName},enumerable:false,configurable:true});t.prototype.updateStore=function(t,e,r){var n=this;if(this.isEntityBased(e)){this.getStore().update(e,t)}else{if(r){this.getStore()._setState((function(e){return fr(e,n.withStoreName(r),t)}));return}this.getStore()._setState((function(e){return Object.assign({},e,t)}))}};t.prototype.onReset=function(t){var e=this;var r=this.getStore().reset;this.getStore().reset=function(){var n=[];for(var i=0;i<arguments.length;i++){n[i]=arguments[i]}setTimeout((function(){r.apply(e.getStore(),n);t()}))}};return t}();var pr={pagesControls:false,range:false,startWith:1,cacheTimeout:undefined,clearStoreWithCache:true};var dr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r={}}var n=t.call(this,e,{resetFn:function(){n.initial=false;n.destroy({clearCache:true,currentPage:1})}})||this;n.query=e;n.config=r;n.metadata=new Map;n.pages=new Map;n.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]};n.initial=true;n.isLoading$=n.query.selectLoading().pipe(kt(0));n.config=Object.assign(pr,r);var i=n.config,o=i.startWith,s=i.cacheTimeout;n.page=new N(o);if(ot(s)){n.clearCacheSubscription=s.subscribe((function(){return n.clearCache()}))}return n}Object.defineProperty(e.prototype,"pageChanges",{get:function(){return this.page.asObservable()},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"currentPage",{get:function(){return this.pagination.currentPage},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isFirst",{get:function(){return this.currentPage===1},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isLast",{get:function(){return this.currentPage===this.pagination.lastPage},enumerable:false,configurable:true});e.prototype.withControls=function(){this.config.pagesControls=true;return this};e.prototype.withRange=function(){this.config.range=true;return this};e.prototype.setLoading=function(t){if(t===void 0){t=true}this.getStore().setLoading(t)};e.prototype.update=function(t){this.pagination=t;this.addPage(t.data)};e.prototype.addPage=function(t){var e=this;this.pages.set(this.currentPage,{ids:t.map((function(t){return t[e.getStore().idKey]}))});this.getStore().upsertMany(t)};e.prototype.clearCache=function(t){if(t===void 0){t={}}if(!this.initial){Bt("@Pagination - Clear Cache");if(t.clearStore!==false&&(this.config.clearStoreWithCache||t.clearStore)){this.getStore().remove()}this.pages=new Map;this.metadata=new Map}this.initial=false};e.prototype.clearPage=function(t){this.pages.delete(t)};e.prototype.destroy=function(t){var e=t===void 0?{}:t,r=e.clearCache,n=e.currentPage;if(this.clearCacheSubscription){this.clearCacheSubscription.unsubscribe()}if(r){this.clearCache()}if(!ve(n)){this.setPage(n)}this.initial=true};e.prototype.isPageActive=function(t){return this.currentPage===t};e.prototype.setPage=function(t){if(t!==this.currentPage||!this.hasPage(t)){this.page.next(this.pagination.currentPage=t)}};e.prototype.nextPage=function(){if(this.currentPage!==this.pagination.lastPage){this.setPage(this.pagination.currentPage+1)}};e.prototype.prevPage=function(){if(this.pagination.currentPage>1){this.setPage(this.pagination.currentPage-1)}};e.prototype.setLastPage=function(){this.setPage(this.pagination.lastPage)};e.prototype.setFirstPage=function(){this.setPage(1)};e.prototype.hasPage=function(t){return this.pages.has(t)};e.prototype.getPage=function(t){var e=this;var r=this.pagination.currentPage;if(this.hasPage(r)){return this.selectPage(r)}else{this.setLoading(true);return xt(t()).pipe(qt((function(t){r=t.currentPage;Ge((function(){e.setLoading(false);e.update(t)}));return e.selectPage(r)})))}};e.prototype.getQuery=function(){return this.query};e.prototype.refreshCurrentPage=function(){if(te(this.currentPage)===false){this.clearPage(this.currentPage);this.setPage(this.currentPage)}};e.prototype.getFrom=function(){if(this.isFirst){return 1}return(this.currentPage-1)*this.pagination.perPage+1};e.prototype.getTo=function(){if(this.isLast){return this.pagination.total}return this.currentPage*this.pagination.perPage};e.prototype.selectPage=function(t){var e=this;return this.query.selectAll({asObject:true}).pipe(Vt(1),at((function(r){var n=Object.assign({},e.pagination,{data:e.pages.get(t).ids.map((function(t){return r[t]}))});var i=e.config,o=i.range,s=i.pagesControls;if(isNaN(e.pagination.total)){if(n.lastPage===1){n.total=n.data?n.data.length:0}else{n.total=n.perPage*n.lastPage}e.pagination.total=n.total}if(o){n.from=e.getFrom();n.to=e.getTo()}if(s){n.pageControls=vr(e.pagination.total,e.pagination.perPage)}return n})))};return e}(lr);r([Jt("@Pagination - New Page"),n("design:type",Function),n("design:paramtypes",[Object]),n("design:returntype",void 0)],dr.prototype,"update",null);function vr(t,e){var r=Math.ceil(t/e);var n=[];for(var i=0;i<r;i++){n.push(i+1)}return n}var yr;(function(t){t["Update"]="UPDATE"})(yr||(yr={}));var br;(function(t){t["Update"]="UPDATE";t["AddEntities"]="ADD_ENTITIES";t["SetEntities"]="SET_ENTITIES";t["UpdateEntities"]="UPDATE_ENTITIES";t["RemoveEntities"]="REMOVE_ENTITIES";t["UpsertEntities"]="UPSERT_ENTITIES";t["UpsertManyEntities"]="UPSERT_MANY_ENTITIES"})(br||(br={}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return c([t,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return c([t,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-14885f78.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.e}],execute:function(){function n(){if(window.location==window.parent.location){return}delete window.sessionStorage;window.sessionStorage={}}function r(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){n();e();return[2]}))}))}var o=t("g",r)}}}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
function t(t,s,e,i){var n,r=arguments.length,h=r<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,s,e,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(h=(r<3?n(h):r>3?n(s,e,h):n(s,e))||h);return r>3&&h&&Object.defineProperty(s,e,h),h}function s(t,s){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,s)}function e(t){return"function"==typeof t}let i=!1;const n={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function r(t){setTimeout((()=>{throw t}),0)}const h={closed:!0,next(t){},error(t){if(n.useDeprecatedSynchronousErrorHandling)throw t;r(t)},complete(){}},o=Array.isArray||(t=>t&&"number"==typeof t.length);function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map(((t,s)=>`${s+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:s,_ctorUnsubscribe:i,_unsubscribe:n,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,s instanceof a)s.remove(this);else if(null!==s)for(let t=0;t<s.length;++t)s[t].remove(this);if(e(n)){i&&(this._unsubscribe=void 0);try{n.call(this)}catch(s){t=s instanceof u?l(s.errors):[s]}}if(o(r)){let s=-1,e=r.length;for(;++s<e;){const e=r[s];if(c(e))try{e.unsubscribe()}catch(s){t=t||[],s instanceof u?t=t.concat(l(s.errors)):t.push(s)}}}if(t)throw new u(t)}add(t){let s=t;if(!t)return a.EMPTY;switch(typeof t){case"function":s=new a(t);case"object":if(s===this||s.closed||"function"!=typeof s.unsubscribe)return s;if(this.closed)return s.unsubscribe(),s;if(!(s instanceof a)){const t=s;s=new a,s._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:e}=s;if(null===e)s._parentOrParents=this;else if(e instanceof a){if(e===this)return s;s._parentOrParents=[e,this]}else{if(-1!==e.indexOf(this))return s;e.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[s]:i.push(s),s}remove(t){const s=this._subscriptions;if(s){const e=s.indexOf(t);-1!==e&&s.splice(e,1)}}}function l(t){return t.reduce(((t,s)=>t.concat(s instanceof u?s.errors:s)),[])}a.EMPTY=function(t){return t.closed=!0,t}(new a);const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class d extends a{constructor(t,s,e){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!t){this.destination=h;break}if("object"==typeof t){t instanceof d?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,t,s,e)}}[f](){return this}static create(t,s,e){const i=new d(t,s,e);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class p extends d{constructor(t,s,i,n){let r;super(),this._parentSubscriber=t;let o=this;e(s)?r=s:s&&(r=s.next,i=s.error,n=s.complete,s!==h&&(o=Object.create(s),e(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=i,this._complete=n}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:s}=this;n.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable?this.__tryOrSetError(s,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:s}=this,{useDeprecatedSynchronousErrorHandling:e}=n;if(this._error)e&&s.syncErrorThrowable?(this.__tryOrSetError(s,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(s.syncErrorThrowable)e?(s.syncErrorValue=t,s.syncErrorThrown=!0):r(t),this.unsubscribe();else{if(this.unsubscribe(),e)throw t;r(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const s=()=>this._complete.call(this._context);n.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,s),this.unsubscribe()):(this.__tryOrUnsub(s),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,s){try{t.call(this._context,s)}catch(t){if(this.unsubscribe(),n.useDeprecatedSynchronousErrorHandling)throw t;r(t)}}__tryOrSetError(t,s,e){if(!n.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{s.call(this._context,e)}catch(s){return n.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(r(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const b="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(t){return t}class w{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const s=new w;return s.source=this,s.operator=t,s}subscribe(t,s,e){const{operator:i}=this,r=function(t,s,e){if(t){if(t instanceof d)return t;if(t[f])return t[f]()}return t||s||e?new d(t,s,e):new d(h)}(t,s,e);if(r.add(i?i.call(r,this.source):this.source||n.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),n.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(s){n.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=s),function(t){for(;t;){const{closed:s,destination:e,isStopped:i}=t;if(s||i)return!1;t=e&&e instanceof d?e:null}return!0}(t)?t.error(s):console.warn(s)}}forEach(t,s){return new(s=g(s))(((s,e)=>{let i;i=this.subscribe((s=>{try{t(s)}catch(t){e(t),i&&i.unsubscribe()}}),e,s)}))}_subscribe(t){const{source:s}=this;return s&&s.subscribe(t)}[b](){return this}pipe(...t){return 0===t.length?this:(0===(s=t).length?y:1===s.length?s[0]:function(t){return s.reduce(((t,s)=>s(t)),t)})(this);var s}toPromise(t){return new(t=g(t))(((t,s)=>{let e;this.subscribe((t=>e=t),(t=>s(t)),(()=>t(e)))}))}}function g(t){if(t||(t=Promise),!t)throw new Error("no Promise impl found");return t}w.create=t=>new w(t);const v=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class E extends a{constructor(t,s){super(),this.subject=t,this.subscriber=s,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,s=t.observers;if(this.subject=null,!s||0===s.length||t.isStopped||t.closed)return;const e=s.indexOf(this.subscriber);-1!==e&&s.splice(e,1)}}class O extends d{constructor(t){super(t),this.destination=t}}class m extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new O(this)}lift(t){const s=new j(this,this);return s.operator=t,s}next(t){if(this.closed)throw new v;if(!this.isStopped){const{observers:s}=this,e=s.length,i=s.slice();for(let s=0;s<e;s++)i[s].next(t)}}error(t){if(this.closed)throw new v;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:s}=this,e=s.length,i=s.slice();for(let s=0;s<e;s++)i[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new v;this.isStopped=!0;const{observers:t}=this,s=t.length,e=t.slice();for(let t=0;t<s;t++)e[t].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new v;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new v;return this.hasError?(t.error(this.thrownError),a.EMPTY):this.isStopped?(t.complete(),a.EMPTY):(this.observers.push(t),new E(this,t))}asObservable(){const t=new w;return t.source=this,t}}m.create=(t,s)=>new j(t,s);class j extends m{constructor(t,s){super(),this.destination=t,this.source=s}next(t){const{destination:s}=this;s&&s.next&&s.next(t)}error(t){const{destination:s}=this;s&&s.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:s}=this;return s?this.source.subscribe(t):a.EMPTY}}class _ extends m{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const s=super._subscribe(t);return s&&!s.closed&&t.next(this._value),s}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(t){super.next(this._value=t)}}class S extends a{constructor(t,s){super()}schedule(t,s=0){return this}}class x extends S{constructor(t,s){super(t,s),this.scheduler=t,this.work=s,this.pending=!1}schedule(t,s=0){if(this.closed)return this;this.state=t;const e=this.id,i=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(i,e,s)),this.pending=!0,this.delay=s,this.id=this.id||this.requestAsyncId(i,this.id,s),this}requestAsyncId(t,s,e=0){return setInterval(t.flush.bind(t,this),e)}recycleAsyncId(t,s,e=0){if(null!==e&&this.delay===e&&!1===this.pending)return s;clearInterval(s)}execute(t,s){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(t,s);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,s){let e=!1,i=void 0;try{this.work(t)}catch(t){e=!0,i=!!t&&t||new Error(t)}if(e)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,s=this.scheduler,e=s.actions,i=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&e.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(s,t,null)),this.delay=null}}class A{constructor(t,s=A.now){this.SchedulerAction=t,this.now=s}schedule(t,s=0,e){return new this.SchedulerAction(this,t).schedule(e,s)}}A.now=()=>Date.now();class P extends A{constructor(t,s=A.now){super(t,(()=>P.delegate&&P.delegate!==this?P.delegate.now():s())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,s=0,e){return P.delegate&&P.delegate!==this?P.delegate.schedule(t,s,e):super.schedule(t,s,e)}flush(t){const{actions:s}=this;if(this.active)return void s.push(t);let e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=s.shift());if(this.active=!1,e){for(;t=s.shift();)t.unsubscribe();throw e}}}const I=new class extends P{}(class extends x{constructor(t,s){super(t,s),this.scheduler=t,this.work=s}schedule(t,s=0){return s>0?super.schedule(t,s):(this.delay=s,this.state=t,this.scheduler.flush(this),this)}execute(t,s){return s>0||this.closed?super.execute(t,s):this._execute(t,s)}requestAsyncId(t,s,e=0){return null!==e&&e>0||null===e&&this.delay>0?super.requestAsyncId(t,s,e):t.flush(this)}}),N=new w((t=>t.complete()));function C(t){return t?function(t){return new w((s=>t.schedule((()=>s.complete()))))}(t):N}const U=t=>s=>{for(let e=0,i=t.length;e<i&&!s.closed;e++)s.next(t[e]);s.complete()};function R(t,s){return new w((e=>{const i=new a;let n=0;return i.add(s.schedule((function(){n!==t.length?(e.next(t[n++]),e.closed||i.add(this.schedule())):e.complete()}))),i}))}function k(...t){let s=t[t.length-1];return(e=s)&&"function"==typeof e.schedule?(t.pop(),R(t,s)):new w(U(t));var e}var M;!function(t){t.NEXT="N",t.ERROR="E",t.COMPLETE="C"}(M||(M={}));class F{constructor(t,s,e){this.kind=t,this.value=s,this.error=e,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,s,e){switch(this.kind){case"N":return t&&t(this.value);case"E":return s&&s(this.error);case"C":return e&&e()}}accept(t,s,e){return t&&"function"==typeof t.next?this.observe(t):this.do(t,s,e)}toObservable(){switch(this.kind){case"N":return k(this.value);case"E":return t=this.error,new w((s=>s.error(t)));case"C":return C()}var t;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new F("N",t):F.undefinedValueNotification}static createError(t){return new F("E",void 0,t)}static createComplete(){return F.completeNotification}}F.completeNotification=new F("C"),F.undefinedValueNotification=new F("N",void 0);class D extends d{constructor(t,s,e=0){super(t),this.scheduler=s,this.delay=e}static dispatch(t){const{notification:s,destination:e}=t;s.observe(e),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(D.dispatch,this.delay,new $(t,this.destination)))}_next(t){this.scheduleMessage(F.createNext(t))}_error(t){this.scheduleMessage(F.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(F.createComplete()),this.unsubscribe()}}class ${constructor(t,s){this.notification=t,this.destination=s}}class K extends m{constructor(t=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,e){super(),this.scheduler=e,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=s<1?1:s,s===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const s=this._events;s.push(t),s.length>this._bufferSize&&s.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new L(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const s=this._infiniteTimeWindow,e=s?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,n=e.length;let r;if(this.closed)throw new v;if(this.isStopped||this.hasError?r=a.EMPTY:(this.observers.push(t),r=new E(this,t)),i&&t.add(t=new D(t,i)),s)for(let s=0;s<n&&!t.closed;s++)t.next(e[s]);else for(let s=0;s<n&&!t.closed;s++)t.next(e[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||I).now()}_trimBufferThenGetEvents(){const t=this._getNow(),s=this._bufferSize,e=this._windowTime,i=this._events,n=i.length;let r=0;for(;r<n&&!(t-i[r].time<e);)r++;return n>s&&(r=Math.max(r,n-s)),r>0&&i.splice(0,r),i}}class L{constructor(t,s){this.time=t,this.value=s}}const H=new P(x),W=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function V(t,s){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new Y(t,s))}}class Y{constructor(t,s){this.project=t,this.thisArg=s}call(t,s){return s.subscribe(new B(t,this.project,this.thisArg))}}class B extends d{constructor(t,s,e){super(t),this.project=s,this.count=0,this.thisArg=e||this}_next(t){let s;try{s=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(s)}}const Q="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",q=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function z(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const J=t=>{if(t&&"function"==typeof t[b])return i=t,t=>{const s=i[b]();if("function"!=typeof s.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return s.subscribe(t)};if(q(t))return U(t);if(z(t))return e=t,t=>(e.then((s=>{t.closed||(t.next(s),t.complete())}),(s=>t.error(s))).then(null,r),t);if(t&&"function"==typeof t[Q])return s=t,t=>{const e=s[Q]();for(;;){let s;try{s=e.next()}catch(s){return t.error(s),t}if(s.done){t.complete();break}if(t.next(s.value),t.closed)break}return"function"==typeof e.return&&t.add((()=>{e.return&&e.return()})),t};{const s=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${s} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var s,e,i};function G(t,s){return s?function(t,s){if(null!=t){if(function(t){return t&&"function"==typeof t[b]}(t))return function(t,s){return new w((e=>{const i=new a;return i.add(s.schedule((()=>{const n=t[b]();i.add(n.subscribe({next(t){i.add(s.schedule((()=>e.next(t))))},error(t){i.add(s.schedule((()=>e.error(t))))},complete(){i.add(s.schedule((()=>e.complete())))}}))}))),i}))}(t,s);if(z(t))return function(t,s){return new w((e=>{const i=new a;return i.add(s.schedule((()=>t.then((t=>{i.add(s.schedule((()=>{e.next(t),i.add(s.schedule((()=>e.complete())))})))}),(t=>{i.add(s.schedule((()=>e.error(t))))}))))),i}))}(t,s);if(q(t))return R(t,s);if(function(t){return t&&"function"==typeof t[Q]}(t)||"string"==typeof t)return function(t,s){if(!t)throw new Error("Iterable cannot be null");return new w((e=>{const i=new a;let n;return i.add((()=>{n&&"function"==typeof n.return&&n.return()})),i.add(s.schedule((()=>{n=t[Q](),i.add(s.schedule((function(){if(e.closed)return;let t,s;try{const e=n.next();t=e.value,s=e.done}catch(t){return void e.error(t)}s?e.complete():(e.next(t),this.schedule())})))}))),i}))}(t,s)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,s):t instanceof w?t:new w(J(t))}class X extends d{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Z extends d{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function tt(t,s){if(!s.closed)return t instanceof w?t.subscribe(s):J(t)(s)}function st(t,s){return function(e){return e.lift(new et(t,s))}}class et{constructor(t,s){this.predicate=t,this.thisArg=s}call(t,s){return s.subscribe(new it(t,this.predicate,this.thisArg))}}class it extends d{constructor(t,s,e){super(t),this.predicate=s,this.thisArg=e,this.count=0}_next(t){let s;try{s=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}s&&this.destination.next(t)}}class nt{constructor(t,s){this.delay=t,this.scheduler=s}call(t,s){return s.subscribe(new rt(t,this.delay,this.scheduler))}}class rt extends d{constructor(t,s,e){super(t),this.delay=s,this.scheduler=e,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const s=t.source,e=s.queue,i=t.scheduler,n=t.destination;for(;e.length>0&&e[0].time-i.now()<=0;)e.shift().notification.observe(n);if(e.length>0){const s=Math.max(0,e[0].time-i.now());this.schedule(t,s)}else this.unsubscribe(),s.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(rt.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const s=this.scheduler,e=new ht(s.now()+this.delay,t);this.queue.push(e),!1===this.active&&this._schedule(s)}_next(t){this.scheduleNotification(F.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(F.createComplete()),this.unsubscribe()}}class ht{constructor(t,s){this.time=t,this.notification=s}}function ot(t,s){return e=>e.lift(new ct(t,s))}class ct{constructor(t,s){this.compare=t,this.keySelector=s}call(t,s){return s.subscribe(new ut(t,this.compare,this.keySelector))}}class ut extends d{constructor(t,s,e){super(t),this.keySelector=e,this.hasKey=!1,"function"==typeof s&&(this.compare=s)}compare(t,s){return t===s}_next(t){let s;try{const{keySelector:e}=this;s=e?e(t):t}catch(t){return this.destination.error(t)}let e=!1;if(this.hasKey)try{const{compare:t}=this;e=t(this.key,s)}catch(t){return this.destination.error(t)}else this.hasKey=!0;e||(this.key=s,this.destination.next(t))}}class at{constructor(t){if(this.total=t,this.total<0)throw new W}call(t,s){return s.subscribe(new lt(t,this.total))}}class lt extends d{constructor(t,s){super(t),this.total=s,this.count=0}_next(t){const s=this.total,e=++this.count;e<=s&&(this.destination.next(t),e===s&&(this.destination.complete(),this.unsubscribe()))}}function ft(t,s){return"function"==typeof s?e=>e.pipe(ft(((e,i)=>G(t(e,i)).pipe(V(((t,n)=>s(e,t,i,n))))))):s=>s.lift(new dt(t))}class dt{constructor(t){this.project=t}call(t,s){return s.subscribe(new pt(t,this.project))}}class pt extends Z{constructor(t,s){super(t),this.project=s,this.index=0}_next(t){let s;const e=this.index++;try{s=this.project(t,e)}catch(t){return void this.destination.error(t)}this._innerSub(s)}_innerSub(t){const s=this.innerSubscription;s&&s.unsubscribe();const e=new X(this),i=this.destination;i.add(e),this.innerSubscription=tt(t,e),this.innerSubscription!==e&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const bt={type:null,entityIds:null,skip:!1};let yt=!1;function wt(t,s){gt(t,s),yt=!0}function gt(t,s){!1===yt&&(bt.type=t,bt.entityIds=s)}function vt(t,s){return t.hasOwnProperty(s)}function Et(t){return null==t}function Ot(t){return Et(t)?[]:Array.isArray(t)?t:[t]}var mt;!function(t){t.Set="Set",t.Add="Add",t.Update="Update",t.Remove="Remove"}(mt||(mt={}));const jt="undefined"!=typeof window;let _t=!0;function St(){_t=!1,jt&&(delete window.$$stores,delete window.$$queries)}function xt(){return _t}function Tt(t){const s=typeof t;return null!=t&&("object"==s||"function"==s)}function At(t){return Array.isArray(t)}function Pt(t){return!1===Et(t)}function It(t){return!!At(t)&&0===t.length}function Nt(t){return"function"==typeof t}function Ct(t){return void 0===t}function Ut(t){return t.hasOwnProperty("active")}function Rt(t){return At(t)}function kt({active:t,ids:s,entities:e}){return Rt(t)?function(t,s){const e=t.filter((t=>s.indexOf(t)>-1));return e.length===t.length?t:e}(t,s):!1===vt(e,t)?null:t}function Mt(t,s){let e={};for(const i of Object.keys(t))e[i]=s(t[i]);return e}let Ft={resettable:!1,ttl:null,producerFn:void 0};function Dt(){return Ft}function $t(t){Object.freeze(t);const s="function"==typeof t,e=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(t).forEach((function(i){!e.call(t,i)||s&&("caller"===i||"callee"===i||"arguments"===i)||null===t[i]||"object"!=typeof t[i]&&"function"!=typeof t[i]||Object.isFrozen(t[i])||$t(t[i])})),t}const Kt=new m,Lt=new K(50,5e3),Ht=new m;function Wt(t){return null!=t&&""+t!="false"}function Vt(t){return Wt(t)&&"Object"===t.constructor.name}function Yt(t){return function(s){s.akitaConfig={idKey:"id"};for(let e=0,i=Object.keys(t);e<i.length;e++){const n=i[e];"name"===n?s.akitaConfig.storeName=t[n]:s.akitaConfig[n]=t[n]}}}const Bt={},Qt={};jt&&(window.$$stores=Bt,window.$$queries=Qt);const qt=new m,zt=new _(!1),Jt={activeTransactions:0,batchTransaction:null};function Gt(){return Jt.activeTransactions>0}function Xt(t,s){Gt()||(Jt.batchTransaction=new m),Jt.activeTransactions++,zt.next(!0);try{return t.apply(s)}finally{wt("@Transaction"),0==--Jt.activeTransactions&&(Jt.batchTransaction.next(!0),Jt.batchTransaction.complete(),zt.next(!1),qt.next(!0))}}function Zt(){return function(t,s,e){const i=e.value;return e.value=function(...t){return Xt((()=>i.apply(this,t)),this)},e}}class ts{constructor(t,s={}){this.options=s,this.inTransaction=!1,this.cache={active:new _(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(xt()&>("Set Loading"),this._setState((s=>Object.assign({},s,{loading:t}))))}setHasCache(t,s={restartTTL:!1}){if(t!==this.cache.active.value&&this.cache.active.next(t),s.restartTTL){const t=this.getCacheTTL();t&&(null!==this.cache.ttl&&clearTimeout(this.cache.ttl),this.cache.ttl=setTimeout((()=>this.setHasCache(!1)),t))}}getValue(){return this.storeValue}setError(t){t!==this._value().error&&(xt()&>("Set Error"),this._setState((s=>Object.assign({},s,{error:t}))))}_select(t){return this.store.asObservable().pipe(V((s=>t(s.state))),ot())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor.akitaConfig||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||$t}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Ft.producerFn}get resettable(){return Pt(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,s=!0){if(Nt(t)){const s=t(this._value());this.storeValue=_t?this.deepFreeze(s):s}else this.storeValue=t;if(!this.store)return this.store=new _({state:this.storeValue}),void(xt()&&this.store.subscribe((({action:t})=>{t&&function(t,s){Ht.next({storeName:t,action:s})}(this.storeName,t)})));Gt()?this.handleTransaction():this.dispatch(this.storeValue,s)}reset(){this.isResettable()?(xt()&>("Reset"),this._setState((()=>Object.assign({},this._initialState))),this.setHasCache(!1)):xt()&&console.warn("You need to enable the reset functionality")}update(t){let s;xt()&>("Update");const e=this._value();s=Nt(t)?Nt(this._producerFn)?this._producerFn(e,t):t(e):t;const i=this.akitaPreUpdate(e,Object.assign({},e,s)),n=Vt(e)?i:new e.constructor(i);this._setState(n)}updateStoreConfig(t){this.options=Object.assign({},this.options,t)}akitaPreUpdate(t,s){return s}ngOnDestroy(){this.destroy()}destroy(){jt&&window.hmrEnabled||this!==Bt[this.storeName]||(delete Bt[this.storeName],Kt.next(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){Bt[this.storeName]=this,this._setState((()=>t)),Lt.next(this.storeName),this.isResettable()&&(this._initialState=t),xt()&&(this.storeName||console.error("@StoreConfig({ name }) is missing in "+this.constructor.name))}dispatch(t,s=!0){let e=void 0;s&&(e=bt,yt=!1),this.store.next({state:t,action:e})}watchTransaction(){(Jt.batchTransaction?Jt.batchTransaction.asObservable():k(!0)).subscribe((()=>{this.inTransaction=!1,this.dispatch(this._value())}))}isResettable(){return!1!==this.resettable&&(this.resettable||Dt().resettable)}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Dt().ttl}}var ss,es;class is extends ts{constructor(t={},s={}){super(Object.assign({},{entities:{},ids:[],loading:!0,error:null},t),s),this.options=s,this.entityActions=new m,this.entityIdChanges=new m}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||"id"}set(t,s={}){if(Et(t))return;xt()&>("Set Entity");const e=this.akitaPreAddEntity===is.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState((i=>{const n=function({state:t,entities:s,idKey:e,preAddEntity:i,isNativePreAdd:n}){let r,h;if(At(s)){const t=function(t,s,e){const i={entities:{},ids:[]};for(const n of t){const t=e(n);i.entities[t[s]]=t,i.ids.push(t[s])}return i}(s,e,i);r=t.entities,h=t.ids}else!function(t){return t.entities&&t.ids}(s)?(r=n?s:Mt(s,i),h=Object.keys(r).map((t=>isNaN(t)?t:Number(t)))):(r=n?s.entities:Mt(s.entities,i),h=s.ids);const o=Object.assign({},t,{entities:r,ids:h,loading:!1});return Ut(t)&&(o.active=kt(o)),o}({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity,isNativePreAdd:e});return!1===Ct(s.activeId)&&(n.active=s.activeId),n})),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:mt.Set,ids:this.ids})}add(t,s={loading:!1}){const e=Ot(t);if(It(e))return;const i=function({state:t,entities:s,idKey:e,options:i={},preAddEntity:n}){let r={},h=[],o=!1;for(const c of s)if(!1===vt(t.entities,c[e])){const t=n(c),s=t[e];r[s]=t,i.prepend?h.unshift(s):h.push(s),o=!0}return o?{newState:Object.assign({},t,{entities:Object.assign({},t.entities,r),ids:i.prepend?[...h,...t.ids]:[...t.ids,...h]}),newIds:h}:null}({state:this._value(),preAddEntity:this.akitaPreAddEntity,entities:e,idKey:this.idKey,options:s});i&&(xt()&>("Add Entity"),i.newState.loading=s.loading,this._setState((()=>i.newState)),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:mt.Add,ids:i.newIds}))}update(t,s){if(Ct(s))return void super.update(t);let e,i=[];i=Nt(t)?this.ids.filter((s=>t(this.entities[s]))):Et(t)?this.ids:Ot(t),It(i)||(xt()&>("Update Entity",i),this._setState((t=>function({state:t,ids:s,idKey:e,newStateOrFn:i,preUpdateEntity:n,producerFn:r,onEntityIdChanges:h}){const o={};let c,u=!1;for(const h of s){if(!1===vt(t.entities,h))continue;const s=t.entities[h];let a;a=Nt(i)?Nt(r)?r(s,i):i(s):i;const l=a.hasOwnProperty(e)&&a[e]!==s[e];let f;c=h,l&&(u=!0,c=a[e]);const d=Object.assign({},s,a);f=Vt(s)?d:Vt(a)?new s.constructor(d):new a.constructor(d),o[c]=n(s,f)}let a=t.ids,l=t.entities;if(u){const[e]=s,i=e;l=function(t,s){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&s.indexOf(i)<0&&(e[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)s.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(e[i[n]]=t[i[n]])}return e}(t.entities,["symbol"==typeof i?i:i+""]),a=t.ids.map((t=>t===e?c:t)),h(e,c)}return Object.assign({},t,{entities:Object.assign({},l,o),ids:a})}({idKey:this.idKey,ids:i,preUpdateEntity:this.akitaPreUpdateEntity,state:t,newStateOrFn:s,producerFn:this._producerFn,onEntityIdChanges:(t,s)=>{e={oldId:t,newId:s},this.entityIdChanges.next(Object.assign({},e,{pending:!0}))}}))),e&&this.entityIdChanges.next(Object.assign({},e,{pending:!1})),this.entityActions.next({type:mt.Update,ids:i}))}upsert(t,s,e,i={}){const n=Ot(t),r=t=>s=>vt(this.entities,s)===t,h=Nt(e)?i.baseClass:e?e.baseClass:void 0,o=Nt(h),c=n.filter(r(!0)),u=n.filter(r(!1)).map((t=>{const i="function"==typeof s?s({}):s,n=Nt(e)?e(t,i):i,r=Object.assign({},n,{[this.idKey]:t});return o?new h(r):r}));this.update(c,s),this.add(u),xt()&&wt("Upsert Entity")}upsertMany(t,s={}){const e=[],i=[],n={};for(const r of t){const t=this.akitaPreCheckEntity(r),h=t[this.idKey];if(vt(this.entities,h)){const e=this._value().entities[h],r=Object.assign({},this._value().entities[h],t),o=s.baseClass?new s.baseClass(r):r,c=this.akitaPreUpdateEntity(e,o),u=c[this.idKey];n[u]=c,i.push(u)}else{const i=s.baseClass?new s.baseClass(t):t,r=this.akitaPreAddEntity(i),h=r[this.idKey];e.push(h),n[h]=r}}xt()&&wt("Upsert Many"),this._setState((t=>Object.assign({},t,{ids:e.length?[...t.ids,...e]:t.ids,entities:Object.assign({},t.entities,n),loading:!!s.loading}))),i.length&&this.entityActions.next({type:mt.Update,ids:i}),e.length&&this.entityActions.next({type:mt.Add,ids:e}),e.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,s){const e=Ot(t);if(It(e))return;let i={};for(const t of e)s[this.idKey]=t,i[t]=s;xt()&>("Replace Entity",t),this._setState((t=>Object.assign({},t,{entities:Object.assign({},t.entities,i)})))}move(t,s){const e=this.ids.slice();e.splice(s<0?e.length+s:s,0,e.splice(t,1)[0]),xt()&>("Move Entity"),this._setState((t=>Object.assign({},t,{entities:Object.assign({},t.entities),ids:e})))}remove(t){if(It(this.ids))return;const s=Pt(t);let e=[];e=Nt(t)?this.ids.filter((s=>t(this.entities[s]))):s?Ot(t):this.ids,It(e)||(xt()&>("Remove Entity",e),this._setState((t=>function({state:t,ids:s}){if(Et(s))return function(t){return Object.assign({},t,{entities:{},ids:[],active:Rt(t.active)?[]:null})}(t);const e=t.entities;let i={};for(const n of t.ids)!1===s.includes(n)&&(i[n]=e[n]);const n=Object.assign({},t,{entities:i,ids:t.ids.filter((t=>!1===s.includes(t)))});return Ut(t)&&(n.active=kt(n)),n}({state:t,ids:e}))),s||this.setHasCache(!1),this.handleUIRemove(e),this.entityActions.next({type:mt.Remove,ids:e}))}updateActive(t){const s=Ot(this.active);xt()&>("Update Active",s),this.update(s,t)}setActive(t){const s=function(t,s,e){let i;if(At(t))i=t;else if(Tt(t)){if(Et(e))return;t=Object.assign({wrap:!0},t);const n=s.indexOf(e);if(t.prev){const e=0===n;if(e&&!t.wrap)return;i=e?s[s.length-1]:s[n-1]}else if(t.next){const e=s.length===n+1;if(e&&!t.wrap)return;i=e?s[0]:s[n+1]}}else{if(t===e)return;i=t}return i}(t,this.ids,this.active);void 0!==s&&(xt()&>("Set Active",s),this._setActive(s))}addActive(t){const s=Ot(t);It(s)||s.every((t=>this.active.indexOf(t)>-1))||(xt()&>("Add Active",t),this._setState((t=>{const e=Array.from(new Set([...t.active,...s]));return Object.assign({},t,{active:e})})))}removeActive(t){const s=Ot(t);It(s)||s.some((t=>this.active.indexOf(t)>-1))&&(xt()&>("Remove Active",t),this._setState((t=>Object.assign({},t,{active:Array.isArray(t.active)?t.active.filter((t=>-1===s.indexOf(t))):null}))))}toggleActive(t){const s=Ot(t),e=t=>s=>this.active.includes(s)===t,i=s.filter(e(!0)),n=s.filter(e(!1));this.removeActive(i),this.addActive(n),xt()&&wt("Toggle Active")}createUIStore(t={},s={}){return this.ui=new ns(t,Object.assign({},{name:"UI/"+this.storeName,idKey:this.idKey},s)),this.ui}destroy(){super.destroy(),this.ui instanceof is&&this.ui.destroy(),this.entityActions.complete()}akitaPreUpdateEntity(t,s){return s}akitaPreAddEntity(t){return t}akitaPreCheckEntity(t){return t}get ids(){return this._value().ids}get entities(){return this._value().entities}get active(){return this._value().active}_setActive(t){this._setState((s=>Object.assign({},s,{active:t})))}handleUICreation(t=!1){const s=this.ids,e=Nt(this.ui._akitaCreateEntityFn);let i;const n=t=>{const s=this.entities[t],i=e?this.ui._akitaCreateEntityFn(s):this.ui._akitaCreateEntityFn;return Object.assign({[this.idKey]:s[this.idKey]},i)};i=t?this.ids.filter((t=>Ct(this.ui.entities[t]))).map(n):s.map(n),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&!1===Ct(this.ui._akitaCreateEntityFn)}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof ns}}t([Zt(),s("design:type",Function),s("design:paramtypes",[Object,Object,Object,Object]),s("design:returntype",void 0)],is.prototype,"upsert",null),t([Zt(),s("design:type",Function),s("design:paramtypes",["function"==typeof(ss="undefined"!=typeof T&&T)?ss:Object]),s("design:returntype",void 0)],is.prototype,"toggleActive",null);class ns extends is{constructor(t={},s={}){super(t,s)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}!function(t){t.ASC="asc",t.DESC="desc"}(es||(es={}));class rs{constructor(t){this.store=t,this.__store__=t,xt()&&(Qt[t.storeName]=this)}select(t){let s;if(Nt(t))s=t;else if("string"==typeof t)s=s=>s[t];else{if(Array.isArray(t))return this.store._select((t=>t)).pipe(ot((e=t,function(t,s){const i=Nt(e[0]);return!1===e.some((e=>i?e(t)!==e(s):t[e]!==s[e]))})),V((s=>Nt(t[0])?t.map((t=>t(s))):t.reduce(((t,e)=>(t[e]=s[e],t)),{}))));s=t=>t}var e;return this.store._select(s)}selectLoading(){return this.select((t=>t.loading))}selectError(){return this.select((t=>t.error))}getValue(){return this.store._value()}selectHasCache(){return this.store._cache().asObservable()}getHasCache(){return this.store._cache().value}get config(){return this.constructor.akitaQueryConfig}}const hs=t=>t.pipe(st((t=>null!=t)));function os(t,s){return 1===s.split(".").length?t:s.split(".").slice(1).join(".").split(".").reduce(((t,s)=>t&&t[s]),t)}new K(1);const cs={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};var us,as;t([function(t,s,e){const i=e.value;return e.value=function(...t){return wt("@Pagination - New Page",void 0),i.apply(this,t)},e},s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],class extends class{constructor(t,s){this.query=t,s&&s.resetFn&&Dt().resettable&&this.onReset(s.resetFn)}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return Wt(t)}selectSource(t,s){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(hs):s?this.getQuery().select((t=>os(t,this.withStoreName(s)))):this.getQuery().select()}getSource(t,s){if(this.isEntityBased(t))return this.getQuery().getEntity(t);const e=this.getQuery().getValue();return s?os(e,this.withStoreName(s)):e}withStoreName(t){return`${this.storeName}.${t}`}get storeName(){return this.getStore().storeName}updateStore(t,s,e){if(this.isEntityBased(s))this.getStore().update(s,t);else{if(e)return void this.getStore()._setState((s=>function(t,s,e){const i=s.split(".");if(1===i.length)return Object.assign({},t,e);t=Object.assign({},t);const n=i.length-2;return s.split(".").slice(1).reduce(((t,s,i)=>i!==n?(t[s]=Object.assign({},t[s]),t&&t[s]):(t[s]=Array.isArray(t[s])||!Tt(t[s])?e:Object.assign({},t[s],e),t&&t[s])),t),t}(s,this.withStoreName(e),t)));this.getStore()._setState((s=>Object.assign({},s,t)))}}onReset(t){const s=this.getStore().reset;this.getStore().reset=(...e)=>{setTimeout((()=>{s.apply(this.getStore(),e),t()}))}}}{constructor(t,s={}){super(t,{resetFn:()=>{this.initial=!1,this.destroy({clearCache:!0,currentPage:1})}}),this.query=t,this.config=s,this.metadata=new Map,this.pages=new Map,this.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]},this.initial=!0,this.isLoading$=this.query.selectLoading().pipe(function(t,s=H){var e;const i=(e=t)instanceof Date&&!isNaN(+e)?+t-s.now():Math.abs(t);return t=>t.lift(new nt(i,s))}(0)),this.config=Object.assign(cs,s);const{startWith:e,cacheTimeout:i}=this.config;var n;this.page=new _(e),(n=i)&&(n instanceof w||"function"==typeof n.lift&&"function"==typeof n.subscribe)&&(this.clearCacheSubscription=i.subscribe((()=>this.clearCache())))}get pageChanges(){return this.page.asObservable()}get currentPage(){return this.pagination.currentPage}get isFirst(){return 1===this.currentPage}get isLast(){return this.currentPage===this.pagination.lastPage}withControls(){return this.config.pagesControls=!0,this}withRange(){return this.config.range=!0,this}setLoading(t=!0){this.getStore().setLoading(t)}update(t){this.pagination=t,this.addPage(t.data)}addPage(t){this.pages.set(this.currentPage,{ids:t.map((t=>t[this.getStore().idKey]))}),this.getStore().upsertMany(t)}clearCache(t={}){this.initial||(wt("@Pagination - Clear Cache"),!1!==t.clearStore&&(this.config.clearStoreWithCache||t.clearStore)&&this.getStore().remove(),this.pages=new Map,this.metadata=new Map),this.initial=!1}clearPage(t){this.pages.delete(t)}destroy({clearCache:t,currentPage:s}={}){this.clearCacheSubscription&&this.clearCacheSubscription.unsubscribe(),t&&this.clearCache(),Ct(s)||this.setPage(s),this.initial=!0}isPageActive(t){return this.currentPage===t}setPage(t){t===this.currentPage&&this.hasPage(t)||this.page.next(this.pagination.currentPage=t)}nextPage(){this.currentPage!==this.pagination.lastPage&&this.setPage(this.pagination.currentPage+1)}prevPage(){this.pagination.currentPage>1&&this.setPage(this.pagination.currentPage-1)}setLastPage(){this.setPage(this.pagination.lastPage)}setFirstPage(){this.setPage(1)}hasPage(t){return this.pages.has(t)}getPage(t){let s=this.pagination.currentPage;return this.hasPage(s)?this.selectPage(s):(this.setLoading(!0),G(t()).pipe(ft((t=>(s=t.currentPage,Xt((()=>{this.setLoading(!1),this.update(t)})),this.selectPage(s))))))}getQuery(){return this.query}refreshCurrentPage(){!1===Et(this.currentPage)&&(this.clearPage(this.currentPage),this.setPage(this.currentPage))}getFrom(){return this.isFirst?1:(this.currentPage-1)*this.pagination.perPage+1}getTo(){return this.isLast?this.pagination.total:this.currentPage*this.pagination.perPage}selectPage(t){return this.query.selectAll({asObject:!0}).pipe((1,t=>t.lift(new at(1))),V((s=>{let e=Object.assign({},this.pagination,{data:this.pages.get(t).ids.map((t=>s[t]))});const{range:i,pagesControls:n}=this.config;return isNaN(this.pagination.total)&&(e.total=1===e.lastPage?e.data?e.data.length:0:e.perPage*e.lastPage,this.pagination.total=e.total),i&&(e.from=this.getFrom(),e.to=this.getTo()),n&&(e.pageControls=function(t,s){const e=Math.ceil(t/s);let i=[];for(let t=0;t<e;t++)i.push(t+1);return i}(this.pagination.total,this.pagination.perPage)),e})))}}.prototype,"update",null),function(t){t.Update="UPDATE"}(us||(us={})),function(t){t.Update="UPDATE",t.AddEntities="ADD_ENTITIES",t.SetEntities="SET_ENTITIES",t.UpdateEntities="UPDATE_ENTITIES",t.RemoveEntities="REMOVE_ENTITIES",t.UpsertEntities="UPSERT_ENTITIES",t.UpsertManyEntities="UPSERT_MANY_ENTITIES"}(as||(as={}));export{w as O,rs as Q,Z as S,X as a,o as b,e as c,H as d,St as e,G as f,d as g,ot as h,tt as i,st as j,Yt as k,ts as l,V as m}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as s}from"./p-
|
|
1
|
+
import{r as t,d as s}from"./p-683b6e23.js";import{A as r}from"./p-40e504c4.js";const i=class{constructor(s){t(this,s)}componentWillLoad(){if(this.history&&this.root&&this.url)return this.history.replace((s=this.root,"/"==(t=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+t:s+t));var t,s}get el(){return s(this)}};r.injectProps(i,["history","root"]);export{i as stencil_router_redirect}
|
package/dist/lib/apollo-super-selection/{p-285da037.system.entry.js → p-3ce021a5.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-6cdec249.system.js","./p-c249f6ed.system.js"],(function(e){"use strict";var t,n,s;return{setters:[function(e){t=e.r;n=e.d},function(e){s=e.A}],execute:function(){var i=e("stencil_router_prompt",function(){function e(e){t(this,e);this.when=true;this.message=""}e.prototype.enable=function(e){if(this.unblock){this.unblock()}if(this.history){this.unblock=this.history.block(e)}};e.prototype.disable=function(){if(this.unblock){this.unblock();this.unblock=undefined}};e.prototype.componentWillLoad=function(){if(this.when){this.enable(this.message)}};e.prototype.updateMessage=function(e,t){if(this.when){if(!this.when||t!==e){this.enable(this.message)}}else{this.disable()}};e.prototype.componentDidUnload=function(){this.disable()};e.prototype.render=function(){return null};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{message:["updateMessage"],when:["updateMessage"]}},enumerable:false,configurable:true});return e}());s.injectProps(i,["history"])}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-683b6e23.js";const e=(()=>{let e=new Map,r={historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:()=>{}};const o=(t,e)=>{Array.isArray(t)?[...t].forEach((t=>{e[t]=r[t]})):e[t]=Object.assign({},r)},s=(t,r)=>(e.has(t)||(e.set(t,r),o(r,t)),()=>{e.has(t)&&e.delete(t)});return{Provider:({state:t},s)=>(r=t,e.forEach(o),s),Consumer:(e,r)=>((e,r)=>t("context-consumer",{subscribe:e,renderer:r}))(s,r[0]),injectProps:(t,r)=>{const o=t.prototype,n=o.connectedCallback,i=o.disconnectedCallback;o.connectedCallback=function(){if(s(this,r),n)return n.call(this)},o.disconnectedCallback=function(){e.delete(this),i&&i.call(this)}}}})();export{e as A}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as e}from"./p-683b6e23.js";import{A as s}from"./p-40e504c4.js";const i=class{constructor(e){t(this,e),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return e(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};s.injectProps(i,["titleSuffix"]);export{i as stencil_route_title}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e,t,n,l,o=!1,s=!1,i=!1,r=!1,c=null,a=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),h={},m=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,i=w(t,o),r=y(n);d.ael(s,l,i,r),(t.o=t.o||[]).push((()=>d.rel(s,l,i,r)))}))},w=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ye(e)}},y=e=>0!=(2&e),b="http://www.w3.org/1999/xlink",g=new WeakMap,v=e=>"sc-"+e.$,k={},j=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!j(l))&&(l+=""),i&&r?c[c.length-1].p+=l:c.push(i?S(null,l):l),r=i)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,M);const f=S(e,null);return f.h=t,c.length>0&&(f.m=c),f.g=o,f.v=s,f},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),C={},M={forEach:(e,t)=>e.map(x).forEach(t),map:(e,t)=>e.map(x).map(t).map(R)},x=e=>({vattrs:e.h,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),R=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},P=(e,t,n,l,o,s)=>{if(n!==l){let i=we(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=j(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(b,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):we(f,r)?r.slice(2):r[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},U=/\s/,L=e=>e?e.split(U):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||k,i=t.h||k;for(l in s)l in i||P(o,l,s[l],void 0,n,t.t);for(l in i)P(o,l,s[l],i[l],n,t.t)},D=(l,s,c,a)=>{let f,d,$,p=s.m[c],h=0;if(o||(i=!0,"slot"===p.k&&(e&&a.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)f=p.j=u.createTextNode(p.p);else if(1&p.t)f=p.j=u.createTextNode("");else{if(r||(r="svg"===p.k),f=p.j=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),r&&"foreignObject"===p.k&&(r=!1),T(null,p,r),null!=e&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)d=D(l,p,h,f),d&&f.appendChild(d);"svg"===p.k?r=!1:"foreignObject"===f.tagName&&(r=!0)}return f["s-hn"]=n,3&p.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=p.v||"",$=l&&l.m&&l.m[c],$&&$.k===p.k&&l.j&&E(l.j,!1)),f},E=(e,t)=>{d.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(H(o).insertBefore(o,F(o)),o["s-ol"].remove(),o["s-ol"]=void 0,i=!0),t&&E(o,t)}d.t&=-2},W=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=D(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,F(t))))},q=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.j,G(l),s=!0,o["s-ol"]?o["s-ol"].remove():E(o,!0),o.remove())},A=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),F=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t)=>{const n=t.j=e.j,l=e.m,o=t.m,s=t.k,i=t.p;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||T(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],h=l[$];for(;i<=f&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--$];else if(A(u,p))N(u,p),u=t[++i],p=l[++r];else if(A(d,h))N(d,h),d=t[--f],h=l[--$];else if(A(u,h))"slot"!==u.k&&"slot"!==h.k||E(u.j.parentNode,!1),N(u,h),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],h=l[--$];else if(A(d,p))"slot"!==u.k&&"slot"!==h.k||E(d.j.parentNode,!1),N(d,p),e.insertBefore(d.j,u.j),d=t[--f],p=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===p.g){c=a;break}c>=0?(s=t[c],s.k!==p.k?o=D(t&&t[r],n,c,e):(N(s,p),t[c]=void 0,o=s.j),p=l[++r]):(o=D(t&&t[r],n,r,e),p=l[++r]),o&&H(u.j).insertBefore(o,F(u.j))}i>f?W(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&q(t,i,f)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),W(n,null,t,o,0,o.length-1)):null!==l&&q(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.p!==i&&(n.data=i)},V=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(r[o]["s-hn"]!==t["s-hn"])if(i=r[o].nodeType,""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}V(t)}},_=[],z=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(B(n,o)?(i=_.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.S=t:_.push({S:t,O:n}),n["s-sr"]&&_.map((e=>{B(e.O,n["s-sn"])&&(i=_.find((e=>e.O===n)),i&&!e.S&&(e.S=i.S))}))):_.some((e=>e.O===n))||_.push({O:n}));1===t.nodeType&&z(t)}},B=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,G=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(G)},I=e=>pe(e).C,J=(e,t,n)=>{const l=I(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},Q=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},X=(e,t)=>{if(e.t|=16,!(4&e.t))return Q(e,e.R),Pe((()=>Y(e,t)));e.t|=512},Y=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>se(n,e,t))),e.u=null),l=se(n,"componentWillLoad")),ie(l,(()=>Z(e,n,t)))},Z=async(l,r,c)=>{const a=l.C,f=a["s-rc"];c&&(e=>{const t=e.P,n=e.C,l=t.t,o=((e,t)=>{let n=v(t),l=ke.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=g.get(e=e.head||e);o||g.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(l);((l,r)=>{const c=l.C,a=l.P,f=l.U||S(null,null),$=(e=>e&&e.k===C)(r)?r:O(null,null,r);if(n=c.tagName,a.L&&($.h=$.h||{},a.L.map((([e,t])=>$.h[t]=c[e]))),$.k=null,$.t|=4,l.U=$,$.j=f.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],o=0!=(1&a.t),s=!1,N(f,$),d.t|=1,i){let e,t,n,l,o,s;z($.j);let i=0;for(;i<_.length;i++)e=_[i],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<_.length;i++)if(e=_[i],t=e.O,e.S){for(l=e.S.parentNode,o=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&V($.j),d.t&=-2,_.length=0})(l,ee(l,r)),f&&(f.map((e=>e())),a["s-rc"]=void 0);{const e=a["s-p"],t=()=>ne(l);0===e.length?t():(Promise.all(e).then(t),l.t|=4,e.length=0)}},ee=(e,t)=>{try{c=t,t=t.render&&t.render(),e.t&=-17,e.t|=2}catch(t){ye(t,e.C)}return c=null,t},te=()=>c,ne=e=>{const t=e.C,n=e.i,l=e.R;se(n,"componentDidRender"),64&e.t?se(n,"componentDidUpdate"):(e.t|=64,re(t),se(n,"componentDidLoad"),e.T(t),l||oe()),e.M&&(e.M(),e.M=void 0),512&e.t&&xe((()=>X(e,!1))),e.t&=-517},le=e=>{{const t=pe(e),n=t.C.isConnected;return n&&2==(18&t.t)&&X(t,!1),n}},oe=()=>{re(u.documentElement),xe((()=>K(f,"appload",{detail:{namespace:"apollo-super-selection"}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ye(e)}},ie=(e,t)=>e&&e.then?e.then(t):t(),re=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.D){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>pe(this).q.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=pe(e),s=o.C,i=o.q.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&r&&void 0!==i||n===i)&&(o.q.set(t,n),c)){if(l.W&&128&r){const e=l.W[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){ye(e,s)}}))}2==(18&r)&&X(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp((()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.L.push([e,o]),o}))}}return e},ae=e=>{se(e,"connectedCallback")},fe=(e,t={})=>{const n=[],l=t.exclude||[],o=f.customElements,s=u.head,i=s.querySelector("meta[charset]"),r=u.createElement("style"),c=[];let a,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],D:t[2],A:t[3]};s.D=t[2],s.A=t[3],s.L=[],s.W={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),me(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),$?c.push(this):d.jmp((()=>(e=>{if(0==(1&d.t)){const t=pe(e),n=t.P,l=()=>{};if(1&t.t)m(e,t,n.A),ae(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Q(t,t.R=n);break}}n.D&&Object.entries(n.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ve(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.W=o.watchers,ce(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){ye(e)}t.t&=-9,t.t|=128,e(),ae(t.i)}if(o.style){let e=o.style;const t=v(n);if(!ke.has(t)){const l=()=>{};((e,t,n)=>{let l=ke.get(e);p&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,ke.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,i=()=>X(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const e=pe(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),se(t,"disconnectedCallback"),se(t,"componentDidUnload")}})()))}componentOnReady(){return pe(this).F}};s.H=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,ce(r,s,1)))})))),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),$=!1,c.length?c.map((e=>e.connectedCallback())):d.jmp((()=>a=setTimeout(oe,30)))},ue=e=>{const t=new URL(e,d.l);return t.origin!==f.location.origin?t.href:t.pathname},de=(e,t)=>t in h?h[t]:"window"===t?f:"document"===t?u:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?ue("."):"queue"===t?{write:Pe,read:Re,tick:{then:e=>xe(e)}}:void 0)),$e=new WeakMap,pe=e=>$e.get(e),he=(e,t)=>$e.set(t.i=e,t),me=(e,t)=>{const n={t:0,C:e,P:t,q:new Map};return n.F=new Promise((e=>n.T=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.A),$e.set(e,n)},we=(e,t)=>t in e,ye=(e,t)=>(l||console.error)(e,t),be=e=>l=e,ge=new Map,ve=e=>{const t=e.$.replace(/-/g,"_"),n=e.H,l=ge.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ge.set(n,e),e[t])),ye)},ke=new Map,je=[],Oe=[],Se=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&d.t?xe(Me):d.raf(Me))},Ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ye(e)}e.length=0},Me=()=>{Ce(je),Ce(Oe),(a=je.length>0)&&d.raf(Me)},xe=e=>$().then(e),Re=Se(je,!1),Pe=Se(Oe,!0);export{C as H,ue as a,fe as b,J as c,I as d,de as e,le as f,te as g,O as h,$ as p,he as r,be as s}
|
|
1
|
+
let e,t,n,l,o=!1,s=!1,i=!1,r=!1,c=null,a=!1;const f="undefined"!=typeof window?window:{},u=f.document||{head:{}},d={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),h={},m=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,i=w(t,o),r=y(n);d.ael(s,l,i,r),(t.o=t.o||[]).push((()=>d.rel(s,l,i,r)))}))},w=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){be(e)}},y=e=>0!=(2&e),b="http://www.w3.org/1999/xlink",g=new WeakMap,v=e=>"sc-"+e.$,k={},j=e=>"object"==(e=typeof e)||"function"===e,O=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!j(l))&&(l+=""),i&&r?c[c.length-1].p+=l:c.push(i?S(null,l):l),r=i)};if(a(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,M);const f=S(e,null);return f.h=t,c.length>0&&(f.m=c),f.g=o,f.v=s,f},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),C={},M={forEach:(e,t)=>e.map(x).forEach(t),map:(e,t)=>e.map(x).map(t).map(R)},x=e=>({vattrs:e.h,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),R=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=S(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},P=(e,t,n,l,o,s)=>{if(n!==l){let i=ye(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=j(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,a?e.setAttributeNS(b,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ye(f,r)?r.slice(2):r[2]+t.slice(3),n&&d.rel(e,t,n,!1),l&&d.ael(e,t,l,!1)}},U=/\s/,L=e=>e?e.split(U):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||k,i=t.h||k;for(l in s)l in i||P(o,l,s[l],void 0,n,t.t);for(l in i)P(o,l,s[l],i[l],n,t.t)},D=(l,s,c,a)=>{let f,d,$,p=s.m[c],h=0;if(o||(i=!0,"slot"===p.k&&(e&&a.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)f=p.j=u.createTextNode(p.p);else if(1&p.t)f=p.j=u.createTextNode("");else{if(r||(r="svg"===p.k),f=p.j=u.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),r&&"foreignObject"===p.k&&(r=!1),T(null,p,r),null!=e&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)d=D(l,p,h,f),d&&f.appendChild(d);"svg"===p.k?r=!1:"foreignObject"===f.tagName&&(r=!0)}return f["s-hn"]=n,3&p.t&&(f["s-sr"]=!0,f["s-cr"]=t,f["s-sn"]=p.v||"",$=l&&l.m&&l.m[c],$&&$.k===p.k&&l.j&&E(l.j,!1)),f},E=(e,t)=>{d.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(H(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,i=!0),t&&E(o,t)}d.t&=-2},F=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=D(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,A(t))))},W=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.j,G(l),s=!0,o["s-ol"]?o["s-ol"].remove():E(o,!0),o.remove())},q=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),A=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t)=>{const n=t.j=e.j,l=e.m,o=t.m,s=t.k,i=t.p;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||T(e,t,r),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,a=0,f=t.length-1,u=t[0],d=t[f],$=l.length-1,p=l[0],h=l[$];for(;i<=f&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--$];else if(q(u,p))N(u,p),u=t[++i],p=l[++r];else if(q(d,h))N(d,h),d=t[--f],h=l[--$];else if(q(u,h))"slot"!==u.k&&"slot"!==h.k||E(u.j.parentNode,!1),N(u,h),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],h=l[--$];else if(q(d,p))"slot"!==u.k&&"slot"!==h.k||E(d.j.parentNode,!1),N(d,p),e.insertBefore(d.j,u.j),d=t[--f],p=l[++r];else{for(c=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].g&&t[a].g===p.g){c=a;break}c>=0?(s=t[c],s.k!==p.k?o=D(t&&t[r],n,c,e):(N(s,p),t[c]=void 0,o=s.j),p=l[++r]):(o=D(t&&t[r],n,r,e),p=l[++r]),o&&H(u.j).insertBefore(o,A(u.j))}i>f?F(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&W(t,i,f)})(n,l,t,o):null!==o?(null!==e.p&&(n.textContent=""),F(n,null,t,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.p!==i&&(n.data=i)},V=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(r[o]["s-hn"]!==t["s-hn"])if(i=r[o].nodeType,""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}V(t)}},_=[],z=e=>{let t,n,l,o,i,r,c=0,a=e.childNodes,f=a.length;for(;c<f;c++){if(t=a[c],t["s-sr"]&&(n=t["s-cr"]))for(l=n.parentNode.childNodes,o=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(B(n,o)?(i=_.find((e=>e.O===n)),s=!0,n["s-sn"]=n["s-sn"]||o,i?i.S=t:_.push({S:t,O:n}),n["s-sr"]&&_.map((e=>{B(e.O,n["s-sn"])&&(i=_.find((e=>e.O===n)),i&&!e.S&&(e.S=i.S))}))):_.some((e=>e.O===n))||_.push({O:n}));1===t.nodeType&&z(t)}},B=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,G=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(G)},I=e=>he(e).C,J=(e,t,n)=>{const l=I(e);return{emit:e=>K(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},K=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},Q=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},X=(e,t)=>{if(e.t|=16,!(4&e.t))return Q(e,e.R),Ue((()=>Y(e,t)));e.t|=512},Y=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>se(n,e,t))),e.u=null),l=se(n,"componentWillLoad")),ie(l,(()=>Z(e,n,t)))},Z=async(l,r,c)=>{const a=l.C,f=a["s-rc"];c&&(e=>{const t=e.P,n=e.C,l=t.t,o=((e,t)=>{let n=v(t),l=je.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,o=g.get(e=e.head||e);o||g.set(e,o=new Set),o.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(l);((l,r)=>{const c=l.C,a=l.P,f=l.U||S(null,null),$=(e=>e&&e.k===C)(r)?r:O(null,null,r);if(n=c.tagName,a.L&&($.h=$.h||{},a.L.map((([e,t])=>$.h[t]=c[e]))),$.k=null,$.t|=4,l.U=$,$.j=f.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],o=0!=(1&a.t),s=!1,N(f,$),d.t|=1,i){let e,t,n,l,o,s;z($.j);let i=0;for(;i<_.length;i++)e=_[i],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<_.length;i++)if(e=_[i],t=e.O,e.S){for(l=e.S.parentNode,o=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}s&&V($.j),d.t&=-2,_.length=0})(l,ee(l,r)),f&&(f.map((e=>e())),a["s-rc"]=void 0);{const e=a["s-p"],t=()=>ne(l);0===e.length?t():(Promise.all(e).then(t),l.t|=4,e.length=0)}},ee=(e,t)=>{try{c=t,t=t.render&&t.render(),e.t&=-17,e.t|=2}catch(t){be(t,e.C)}return c=null,t},te=()=>c,ne=e=>{const t=e.C,n=e.i,l=e.R;se(n,"componentDidRender"),64&e.t?se(n,"componentDidUpdate"):(e.t|=64,re(t),se(n,"componentDidLoad"),e.T(t),l||oe()),e.M&&(e.M(),e.M=void 0),512&e.t&&Re((()=>X(e,!1))),e.t&=-517},le=e=>{{const t=he(e),n=t.C.isConnected;return n&&2==(18&t.t)&&X(t,!1),n}},oe=()=>{re(u.documentElement),Re((()=>K(f,"appload",{detail:{namespace:"apollo-super-selection"}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){be(e)}},ie=(e,t)=>e&&e.then?e.then(t):t(),re=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.D){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.D),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>he(this).W.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=he(e),s=o.C,i=o.W.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.D[t][0]),!(8&r&&void 0!==i||n===i)&&(o.W.set(t,n),c)){if(l.F&&128&r){const e=l.F[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){be(e,s)}}))}2==(18&r)&&X(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,l){d.jmp((()=>{const t=n.get(e);this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.L.push([e,o]),o}))}}return e},ae=e=>{se(e,"connectedCallback")},fe=(e,t={})=>{const n=[],l=t.exclude||[],o=f.customElements,s=u.head,i=s.querySelector("meta[charset]"),r=u.createElement("style"),c=[];let a,$=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],D:t[2],q:t[3]};s.D=t[2],s.q=t[3],s.L=[],s.F={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),we(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),$?c.push(this):d.jmp((()=>(e=>{if(0==(1&d.t)){const t=he(e),n=t.P,l=()=>{};if(1&t.t)m(e,t,n.q),ae(t.i);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Q(t,t.R=n);break}}n.D&&Object.entries(n.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ke(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.F=o.watchers,ce(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){be(e)}t.t&=-9,t.t|=128,e(),ae(t.i)}if(o.style){let e=o.style;const t=v(n);if(!je.has(t)){const l=()=>{};((e,t,n)=>{let l=je.get(e);p&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,je.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,i=()=>X(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(()=>{if(0==(1&d.t)){const e=he(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),se(t,"disconnectedCallback"),se(t,"componentDidUnload")}})()))}componentOnReady(){return he(this).A}};s.H=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,ce(r,s,1)))})))),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),$=!1,c.length?c.map((e=>e.connectedCallback())):d.jmp((()=>a=setTimeout(oe,30)))},ue=e=>{const t=new URL(e,d.l);return t.origin!==f.location.origin?t.href:t.pathname},de=(e,t)=>t in h?h[t]:"window"===t?f:"document"===t?u:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?ue("."):"queue"===t?{write:Ue,read:Pe,tick:{then:e=>Re(e)}}:void 0)),$e=(e,t)=>t,pe=new WeakMap,he=e=>pe.get(e),me=(e,t)=>pe.set(t.i=e,t),we=(e,t)=>{const n={t:0,C:e,P:t,W:new Map};return n.A=new Promise((e=>n.T=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.q),pe.set(e,n)},ye=(e,t)=>t in e,be=(e,t)=>(l||console.error)(e,t),ge=e=>l=e,ve=new Map,ke=e=>{const t=e.$.replace(/-/g,"_"),n=e.H,l=ve.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ve.set(n,e),e[t])),be)},je=new Map,Oe=[],Se=[],Ce=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&d.t?Re(xe):d.raf(xe))},Me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){be(e)}e.length=0},xe=()=>{Me(Oe),Me(Se),(a=Oe.length>0)&&d.raf(xe)},Re=e=>$().then(e),Pe=Ce(Oe,!1),Ue=Ce(Se,!0);export{$e as F,C as H,ue as a,fe as b,J as c,I as d,de as e,le as f,te as g,O as h,$ as p,me as r,ge as s}
|