@skyservice-developers/vue-dev-kit 1.1.2 → 1.2.0
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/vue2/style.css +1 -1
- package/dist/vue2/vue-dev-kit.cjs +1 -1
- package/dist/vue2/vue-dev-kit.js +679 -585
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +625 -553
- package/package.json +2 -1
- package/src/shared/types/index.d.ts +15 -0
- package/src/shared/utils/index.js +1 -1
- package/src/shared/utils/webviewCheck.js +8 -0
- package/src/vue2/components/Header.vue +280 -100
- package/src/vue3/components/DialogNext.vue +1 -1
- package/src/vue3/components/Header.vue +290 -94
package/dist/vue2/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sky-header[data-v-6cb48692]{position:sticky;top:0;left:0;right:0;background:var(--sky-header-bg, white);border-bottom:1px solid var(--sky-header-border-color, #dee2e6);z-index:var(--sky-header-z-index, 100);padding:var(--sky-header-padding, 10px 0)}.header-content[data-v-6cb48692]{padding:var(--sky-header-content-padding, 4px 14px);margin:0 auto}.header-top[data-v-6cb48692]{display:flex;justify-content:space-between;align-items:center}.header-title-wrapper[data-v-6cb48692]{display:flex;align-items:center;gap:12px}.header-title-content[data-v-6cb48692]{display:flex;flex-direction:column}.btn-back[data-v-6cb48692]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:none;cursor:pointer;border-radius:6px;transition:background-color .2s;color:var(--sky-header-back-btn-color, #374151)}.btn-back img[data-v-6cb48692],.btn-back svg[data-v-6cb48692]{display:block}.btn-back[data-v-6cb48692]:hover{background-color:var(--sky-header-back-btn-hover-bg, #f8f9fa)}.btn-back[data-v-6cb48692]:active{background-color:var(--sky-header-back-btn-active-bg, #e9ecef)}.header-title[data-v-6cb48692]{margin:0;font-size:var(--sky-header-title-size, 18px);font-weight:var(--sky-header-title-weight, 500);color:var(--sky-header-title-color, #252525);line-height:1.5;-webkit-user-select:none;user-select:none}.header-subtitle[data-v-6cb48692]{font-size:var(--sky-header-subtitle-size, 14px);color:var(--sky-header-subtitle-color, #6c757d);font-weight:400;line-height:1.5}.header-actions[data-v-6cb48692]{display:flex;gap:var(--sky-header-actions-gap, 12px)}@media (max-width: 768px){.header-top[data-v-6cb48692]{flex-direction:column;align-items:flex-start}.header-actions[data-v-6cb48692]{width:100%;justify-content:flex-end}}.sky-modal-overlay[data-v-1ed4a1aa]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:var(--sky-modal-z-index, 9998);display:flex;justify-content:center;align-items:center}.sky-modal[data-v-1ed4a1aa]{background:var(--sky-modal-bg, white);border-radius:var(--sky-modal-radius, 0);box-shadow:0 1px 3px #0000004d,0 1px 2px #0000003d;display:flex;flex-direction:column;max-width:100%;max-height:100%}.sky-modal-header[data-v-1ed4a1aa]{display:flex;align-items:center;padding:var(--sky-modal-header-padding, 10px 14px);border-bottom:1px solid var(--sky-modal-border-color, #dee2e6);flex-shrink:0}.sky-modal-back[data-v-1ed4a1aa]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:transparent;border:none;cursor:pointer;border-radius:6px;transition:background-color .2s;color:var(--sky-modal-back-color, #374151);margin-right:12px}.sky-modal-back[data-v-1ed4a1aa]:hover{background-color:var(--sky-modal-back-hover-bg, #f8f9fa)}.sky-modal-title-wrapper[data-v-1ed4a1aa]{flex:1;min-width:0}.sky-modal-title[data-v-1ed4a1aa]{margin:0;font-size:var(--sky-modal-title-size, 18px);font-weight:var(--sky-modal-title-weight, 500);color:var(--sky-modal-title-color, #252525);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-modal-subtitle[data-v-1ed4a1aa]{font-size:var(--sky-modal-subtitle-size, 14px);color:var(--sky-modal-subtitle-color, #6c757d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-modal-body[data-v-1ed4a1aa]{flex:1;overflow-y:auto;overflow-x:hidden;padding:var(--sky-modal-body-padding, 14px)}.sky-modal-footer[data-v-1ed4a1aa]{padding:var(--sky-modal-footer-padding, 10px 14px);border-top:1px solid var(--sky-modal-border-color, #dee2e6);display:flex;justify-content:flex-end;gap:10px;flex-shrink:0}.modal-fade-enter-active[data-v-1ed4a1aa],.modal-fade-leave-active[data-v-1ed4a1aa]{transition:opacity .3s ease}.modal-fade-enter-active .sky-modal[data-v-1ed4a1aa],.modal-fade-leave-active .sky-modal[data-v-1ed4a1aa]{transition:transform .3s ease}.modal-fade-enter[data-v-1ed4a1aa],.modal-fade-leave-to[data-v-1ed4a1aa]{opacity:0}.modal-fade-enter .sky-modal[data-v-1ed4a1aa]{transform:translateY(-20px)}.modal-fade-leave-to .sky-modal[data-v-1ed4a1aa]{transform:translateY(20px)}@media (min-width: 768px){.sky-modal[data-v-1ed4a1aa]{border-radius:var(--sky-modal-radius, 8px)}}.sky-dialogbox-classic{display:block;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:var(--sky-dialog-z-index, 9998);background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sky-dialog-overlay[data-v-dabb1e82]{display:flex;justify-content:center;align-items:center;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:9999}.sky-dialog-content[data-v-dabb1e82]{background:var(--sky-dialog-bg, white);width:100%;height:100%;border-radius:var(--sky-dialog-radius, 5px);box-shadow:0 1px 3px #0000004d,0 1px 2px #0000003d}.sky-dialog-title[data-v-dabb1e82]{max-width:calc(100% - 80px);font-size:var(--sky-dialog-title-size, 13pt);padding:24px 0 24px 24px;float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sky-dialog-title-color, #252525)}.sky-dialog-subtitle[data-v-dabb1e82]{display:block;font-size:var(--sky-dialog-subtitle-size, 12pt);line-height:24px;color:var(--sky-dialog-subtitle-color, #6c757d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-close[data-v-dabb1e82]{cursor:pointer;font-size:16pt;margin:15px;padding:17px;float:right;border-radius:50%;width:50px;height:50px;background:transparent;border:none;display:flex;align-items:center;justify-content:center;color:var(--sky-dialog-close-color, #333);transition:background-color .2s}.sky-dialog-close[data-v-dabb1e82]:hover{background-color:var(--sky-dialog-close-hover-bg, #f0f0f0)}.sky-dialog-clearfix[data-v-dabb1e82]{clear:both}.sky-dialog-paper[data-v-dabb1e82]{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.sky-dialog-swipe-area[data-v-dabb1e82]{position:absolute;width:35px;height:100%;left:0}.sky-dialog-footer[data-v-dabb1e82]{padding:5px 10px;display:flex;justify-content:center;width:100%;transform:translateY(-52px);gap:10px}.sky-dialog-footer[data-v-dabb1e82]>:deep(*){flex:1;min-width:0}.sky-dialog-footer[data-v-dabb1e82]:has(>:deep(*:only-child))>:deep(*){max-width:100%}.sky-dialog-footer[data-v-dabb1e82]:has(>:deep(*:nth-child(2)):not(:has(>:deep(*:nth-child(3)))))>:deep(*){flex:1 1 50%}@media only screen and (min-width: 1400px){.sky-dialog-content[data-v-dabb1e82]{width:75%;margin:0 auto}}@media screen and (min-width: 710px){.sky-dialog-paper[data-v-dabb1e82]{height:calc(100% - 150px);max-height:calc(100% - 150px);background-color:#fff;margin:0 10px 60px;border-radius:5px}.sky-dialog-paper-no-footer[data-v-dabb1e82]{height:calc(100% - 70px);max-height:calc(100% - 70px);margin-bottom:10px}.sky-dialogbox[data-v-dabb1e82],.sky-dialog-overlay[data-v-dabb1e82]{padding:10px}}@media screen and (max-width: 709px){.sky-dialog-paper[data-v-dabb1e82]{height:calc(100% - 142px);max-height:calc(100% - 142px);background-color:#fff;margin:0 10px 10px;border-radius:5px;max-width:100vw!important}.sky-dialog-paper-no-footer[data-v-dabb1e82]{height:calc(100% - 60px);max-height:calc(100% - 60px)}.sky-dialog-footer[data-v-dabb1e82]{transform:translateY(-6px)}}@media screen and (max-width: 500px){.sky-dialog-subtitle[data-v-dabb1e82]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-title-with-subtitle[data-v-dabb1e82]{padding:12px 24px!important}}@media screen and (max-width: 374px){.sky-dialog-subtitle[data-v-dabb1e82]{font-size:9pt}}@supports (padding-top: env(safe-area-inset-top)){.sky-dialog-paper[data-v-dabb1e82]{height:calc(100% - 150px - env(safe-area-inset-top))}.sky-dialog-paper-no-footer[data-v-dabb1e82]{height:calc(100% - 60px - env(safe-area-inset-top))}.sky-dialog-footer[data-v-dabb1e82]{padding-bottom:calc(env(safe-area-inset-bottom) + 8px)}}.sky-dialog-animate[data-v-dabb1e82]{animation:sky-dialog-slide-in-data-v-dabb1e82 .4s ease-in-out}.sky-dialog-footer-animate[data-v-dabb1e82]{animation:sky-dialog-footer-in-data-v-dabb1e82 .4s ease-in-out}@keyframes sky-dialog-slide-in-data-v-dabb1e82{0%{opacity:0;margin-top:-1600px}to{opacity:1;margin-top:0}}@keyframes sky-dialog-footer-in-data-v-dabb1e82{0%{opacity:0;bottom:-100px}50%{opacity:.25;bottom:-50px}to{opacity:1;bottom:15px}}.dialog-slide-leave-active[data-v-dabb1e82]{animation:sky-dialog-slide-in-data-v-dabb1e82 .4s reverse}.sky-dialogbox-next{display:block;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:var(--sky-dialog-z-index, 9998);background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sky-dialog-overlay[data-v-2773fecb]{display:flex;justify-content:center;align-items:center;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:9999}.sky-dialog-content[data-v-2773fecb]{background:var(--sky-dialog-bg, white);width:100%;height:100%;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000003d}.sky-dialog-back[data-v-2773fecb]{cursor:pointer;margin:10px;padding:14px 12px 6px;float:left;line-height:1;background:transparent;border:none;border-radius:6px;color:var(--sky-dialog-back-color, #374151);transition:background-color .2s}.sky-dialog-back[data-v-2773fecb]:hover{background-color:var(--sky-dialog-back-hover-bg, #f8f9fa)}.sky-dialog-title[data-v-2773fecb]{max-width:calc(100% - 80px);font-size:var(--sky-dialog-title-size, 13pt);padding:21px 0;float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sky-dialog-title-color, #252525)}.sky-dialog-title-with-subtitle[data-v-2773fecb]{padding:13px 0}.sky-dialog-subtitle[data-v-2773fecb]{display:block;font-size:var(--sky-dialog-subtitle-size, 12pt);line-height:24px;color:var(--sky-dialog-subtitle-color, #6c757d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-clearfix[data-v-2773fecb]{clear:both}.sky-dialog-paper[data-v-2773fecb]{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.sky-dialog-swipe-area[data-v-2773fecb]{position:absolute;width:35px;height:100%;left:0}.sky-dialog-footer[data-v-2773fecb]{padding:5px 10px;display:flex;justify-content:center;width:100%;transform:translateY(-52px);gap:10px}.sky-dialog-footer[data-v-2773fecb]>:deep(*){flex:1;min-width:0}.sky-dialog-footer[data-v-2773fecb]:has(>:deep(*:only-child))>:deep(*){max-width:100%}.sky-dialog-footer[data-v-2773fecb]:has(>:deep(*:nth-child(2)):not(:has(>:deep(*:nth-child(3)))))>:deep(*){flex:1 1 50%}@media only screen and (min-width: 1400px){.sky-dialog-content[data-v-2773fecb]{width:100%;margin:0 auto}}@media screen and (min-width: 710px){.sky-dialog-paper[data-v-2773fecb]{height:calc(100% - 150px);max-height:calc(100% - 150px);background-color:#fff;margin:0 10px 60px}.sky-dialog-paper-no-footer[data-v-2773fecb]{height:calc(100% - 70px);max-height:calc(100% - 70px);margin-bottom:10px}}@media screen and (max-width: 709px){.sky-dialog-paper[data-v-2773fecb]{height:calc(100% - 142px);max-height:calc(100% - 142px);background-color:#fff;margin:0 10px 10px;max-width:100vw!important}.sky-dialog-paper-no-footer[data-v-2773fecb]{height:calc(100% - 60px);max-height:calc(100% - 60px)}.sky-dialog-footer[data-v-2773fecb]{transform:translateY(-6px)}}@media screen and (max-width: 500px){.sky-dialog-subtitle[data-v-2773fecb]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-title-with-subtitle[data-v-2773fecb]{padding:12px 24px!important}}@media screen and (max-width: 374px){.sky-dialog-subtitle[data-v-2773fecb]{font-size:9pt}}@supports (padding-top: env(safe-area-inset-top)){.sky-dialog-paper[data-v-2773fecb]{height:calc(100% - 150px - env(safe-area-inset-top))}.sky-dialog-paper-no-footer[data-v-2773fecb]{height:calc(100% - 60px - env(safe-area-inset-top))}.sky-dialog-footer[data-v-2773fecb]{padding-bottom:calc(env(safe-area-inset-bottom) + 8px)}}.sky-dialog-animate[data-v-2773fecb]{animation:sky-dialog-slide-in-data-v-2773fecb .4s ease-in-out}.sky-dialog-footer-animate[data-v-2773fecb]{animation:sky-dialog-footer-in-data-v-2773fecb .4s ease-in-out}@keyframes sky-dialog-slide-in-data-v-2773fecb{0%{opacity:0;margin-top:-1600px}to{opacity:1;margin-top:0}}@keyframes sky-dialog-footer-in-data-v-2773fecb{0%{opacity:0;bottom:-100px}50%{opacity:.25;bottom:-50px}to{opacity:1;bottom:15px}}.dialog-slide-leave-active[data-v-2773fecb]{animation:sky-dialog-slide-in-data-v-2773fecb .4s reverse}
|
|
1
|
+
.sky-header-container[data-v-72fe10ee]{width:100%;min-height:var(--sky-header-min-height, 82px);background-color:var(--sky-header-bg, transparent);display:flex;flex-direction:row;padding:var(--sky-header-padding, 10px);border-bottom:1px solid var(--sky-header-border-color, #dee2e6);z-index:var(--sky-header-z-index, 4);position:relative}.topmenubox[data-v-72fe10ee]{width:100%;display:flex;padding:4px;justify-content:space-between;align-items:center;background-color:transparent}.header-left[data-v-72fe10ee]{display:flex;align-items:center;gap:12px}.titleAndDesc[data-v-72fe10ee]{display:flex;flex-direction:column;position:relative}.notPadding[data-v-72fe10ee]{margin:0;padding:0;font-size:var(--sky-header-title-size, 18px);font-weight:var(--sky-header-title-weight, 500);color:var(--sky-header-title-color, #252525);line-height:1.5;-webkit-user-select:none;user-select:none;display:flex;align-items:center;flex-wrap:nowrap}.topmenu-title[data-v-72fe10ee]{white-space:pre-line}.title-dropdown-toggle[data-v-72fe10ee]{display:flex;flex-direction:row;padding:0;margin:0;background:transparent;border:none;text-align:left;font:inherit;color:inherit}.title-dropdown-toggle-active[data-v-72fe10ee]{cursor:pointer}.arrow[data-v-72fe10ee]{width:12px;position:relative;margin-left:5px;flex-shrink:0;transition:transform .25s ease;color:var(--sky-header-title-color, #252525)}.arrow.open[data-v-72fe10ee]{transform:rotate(180deg)}.title-dropdown[data-v-72fe10ee]{position:absolute;top:100%;left:0;min-width:240px;background:white;border-radius:5px;box-shadow:0 1px 12px #0000001a;border:none;z-index:10;padding:4px 0;margin-top:4px}.title-dropdown-header[data-v-72fe10ee]{padding:4px 24px;font-size:13px;color:#6c757d}.title-dropdown-divider[data-v-72fe10ee]{height:0;margin:4px 0;border-top:1px solid #e9ecef}.title-dropdown-item[data-v-72fe10ee]{padding:4px 24px;cursor:pointer;transition:background-color .1s}.title-dropdown-item[data-v-72fe10ee]:hover{background-color:#f8f9fa}.title-dropdown-item[data-v-72fe10ee]:active{background-color:#e9ecef}.pageName[data-v-72fe10ee]{padding-bottom:0;margin:0;font-weight:500;font-size:14px}.pageVisit[data-v-72fe10ee]{color:gray;font-weight:400;font-size:11px}.topmenu-description[data-v-72fe10ee]{margin:0 0 5px;color:var(--sky-header-subtitle-color, #5d5d5d);font-size:13px;font-weight:400;line-height:1.5}.topmenubox-button[data-v-72fe10ee]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.btn-back[data-v-72fe10ee]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:none;cursor:pointer;border-radius:6px;transition:background-color .2s;color:var(--sky-header-back-btn-color, #374151)}.btn-back img[data-v-72fe10ee],.btn-back svg[data-v-72fe10ee]{display:block}.btn-back[data-v-72fe10ee]:hover{background-color:var(--sky-header-back-btn-hover-bg, #f8f9fa)}.btn-back[data-v-72fe10ee]:active{background-color:var(--sky-header-back-btn-active-bg, #e9ecef)}@media (max-width: 499px){.topmenu-description[data-v-72fe10ee]{display:none}.notPadding[data-v-72fe10ee]{font-size:13px}}@media (min-width: 500px) and (max-width: 1099px){.topmenu-description[data-v-72fe10ee]{font-size:11px}}@supports (padding-top: env(safe-area-inset-top)){.sky-header-container[data-v-72fe10ee]{padding-top:calc(10px + env(safe-area-inset-top))}}.sky-modal-overlay[data-v-1ed4a1aa]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:var(--sky-modal-z-index, 9998);display:flex;justify-content:center;align-items:center}.sky-modal[data-v-1ed4a1aa]{background:var(--sky-modal-bg, white);border-radius:var(--sky-modal-radius, 0);box-shadow:0 1px 3px #0000004d,0 1px 2px #0000003d;display:flex;flex-direction:column;max-width:100%;max-height:100%}.sky-modal-header[data-v-1ed4a1aa]{display:flex;align-items:center;padding:var(--sky-modal-header-padding, 10px 14px);border-bottom:1px solid var(--sky-modal-border-color, #dee2e6);flex-shrink:0}.sky-modal-back[data-v-1ed4a1aa]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:transparent;border:none;cursor:pointer;border-radius:6px;transition:background-color .2s;color:var(--sky-modal-back-color, #374151);margin-right:12px}.sky-modal-back[data-v-1ed4a1aa]:hover{background-color:var(--sky-modal-back-hover-bg, #f8f9fa)}.sky-modal-title-wrapper[data-v-1ed4a1aa]{flex:1;min-width:0}.sky-modal-title[data-v-1ed4a1aa]{margin:0;font-size:var(--sky-modal-title-size, 18px);font-weight:var(--sky-modal-title-weight, 500);color:var(--sky-modal-title-color, #252525);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-modal-subtitle[data-v-1ed4a1aa]{font-size:var(--sky-modal-subtitle-size, 14px);color:var(--sky-modal-subtitle-color, #6c757d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-modal-body[data-v-1ed4a1aa]{flex:1;overflow-y:auto;overflow-x:hidden;padding:var(--sky-modal-body-padding, 14px)}.sky-modal-footer[data-v-1ed4a1aa]{padding:var(--sky-modal-footer-padding, 10px 14px);border-top:1px solid var(--sky-modal-border-color, #dee2e6);display:flex;justify-content:flex-end;gap:10px;flex-shrink:0}.modal-fade-enter-active[data-v-1ed4a1aa],.modal-fade-leave-active[data-v-1ed4a1aa]{transition:opacity .3s ease}.modal-fade-enter-active .sky-modal[data-v-1ed4a1aa],.modal-fade-leave-active .sky-modal[data-v-1ed4a1aa]{transition:transform .3s ease}.modal-fade-enter[data-v-1ed4a1aa],.modal-fade-leave-to[data-v-1ed4a1aa]{opacity:0}.modal-fade-enter .sky-modal[data-v-1ed4a1aa]{transform:translateY(-20px)}.modal-fade-leave-to .sky-modal[data-v-1ed4a1aa]{transform:translateY(20px)}@media (min-width: 768px){.sky-modal[data-v-1ed4a1aa]{border-radius:var(--sky-modal-radius, 8px)}}.sky-dialogbox-classic{display:block;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:var(--sky-dialog-z-index, 9998);background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sky-dialog-overlay[data-v-dabb1e82]{display:flex;justify-content:center;align-items:center;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:9999}.sky-dialog-content[data-v-dabb1e82]{background:var(--sky-dialog-bg, white);width:100%;height:100%;border-radius:var(--sky-dialog-radius, 5px);box-shadow:0 1px 3px #0000004d,0 1px 2px #0000003d}.sky-dialog-title[data-v-dabb1e82]{max-width:calc(100% - 80px);font-size:var(--sky-dialog-title-size, 13pt);padding:24px 0 24px 24px;float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sky-dialog-title-color, #252525)}.sky-dialog-subtitle[data-v-dabb1e82]{display:block;font-size:var(--sky-dialog-subtitle-size, 12pt);line-height:24px;color:var(--sky-dialog-subtitle-color, #6c757d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-close[data-v-dabb1e82]{cursor:pointer;font-size:16pt;margin:15px;padding:17px;float:right;border-radius:50%;width:50px;height:50px;background:transparent;border:none;display:flex;align-items:center;justify-content:center;color:var(--sky-dialog-close-color, #333);transition:background-color .2s}.sky-dialog-close[data-v-dabb1e82]:hover{background-color:var(--sky-dialog-close-hover-bg, #f0f0f0)}.sky-dialog-clearfix[data-v-dabb1e82]{clear:both}.sky-dialog-paper[data-v-dabb1e82]{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.sky-dialog-swipe-area[data-v-dabb1e82]{position:absolute;width:35px;height:100%;left:0}.sky-dialog-footer[data-v-dabb1e82]{padding:5px 10px;display:flex;justify-content:center;width:100%;transform:translateY(-52px);gap:10px}.sky-dialog-footer[data-v-dabb1e82]>:deep(*){flex:1;min-width:0}.sky-dialog-footer[data-v-dabb1e82]:has(>:deep(*:only-child))>:deep(*){max-width:100%}.sky-dialog-footer[data-v-dabb1e82]:has(>:deep(*:nth-child(2)):not(:has(>:deep(*:nth-child(3)))))>:deep(*){flex:1 1 50%}@media only screen and (min-width: 1400px){.sky-dialog-content[data-v-dabb1e82]{width:75%;margin:0 auto}}@media screen and (min-width: 710px){.sky-dialog-paper[data-v-dabb1e82]{height:calc(100% - 150px);max-height:calc(100% - 150px);background-color:#fff;margin:0 10px 60px;border-radius:5px}.sky-dialog-paper-no-footer[data-v-dabb1e82]{height:calc(100% - 70px);max-height:calc(100% - 70px);margin-bottom:10px}.sky-dialogbox[data-v-dabb1e82],.sky-dialog-overlay[data-v-dabb1e82]{padding:10px}}@media screen and (max-width: 709px){.sky-dialog-paper[data-v-dabb1e82]{height:calc(100% - 142px);max-height:calc(100% - 142px);background-color:#fff;margin:0 10px 10px;border-radius:5px;max-width:100vw!important}.sky-dialog-paper-no-footer[data-v-dabb1e82]{height:calc(100% - 60px);max-height:calc(100% - 60px)}.sky-dialog-footer[data-v-dabb1e82]{transform:translateY(-6px)}}@media screen and (max-width: 500px){.sky-dialog-subtitle[data-v-dabb1e82]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-title-with-subtitle[data-v-dabb1e82]{padding:12px 24px!important}}@media screen and (max-width: 374px){.sky-dialog-subtitle[data-v-dabb1e82]{font-size:9pt}}@supports (padding-top: env(safe-area-inset-top)){.sky-dialog-paper[data-v-dabb1e82]{height:calc(100% - 150px - env(safe-area-inset-top))}.sky-dialog-paper-no-footer[data-v-dabb1e82]{height:calc(100% - 60px - env(safe-area-inset-top))}.sky-dialog-footer[data-v-dabb1e82]{padding-bottom:calc(env(safe-area-inset-bottom) + 8px)}}.sky-dialog-animate[data-v-dabb1e82]{animation:sky-dialog-slide-in-data-v-dabb1e82 .4s ease-in-out}.sky-dialog-footer-animate[data-v-dabb1e82]{animation:sky-dialog-footer-in-data-v-dabb1e82 .4s ease-in-out}@keyframes sky-dialog-slide-in-data-v-dabb1e82{0%{opacity:0;margin-top:-1600px}to{opacity:1;margin-top:0}}@keyframes sky-dialog-footer-in-data-v-dabb1e82{0%{opacity:0;bottom:-100px}50%{opacity:.25;bottom:-50px}to{opacity:1;bottom:15px}}.dialog-slide-leave-active[data-v-dabb1e82]{animation:sky-dialog-slide-in-data-v-dabb1e82 .4s reverse}.sky-dialogbox-next{display:block;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:var(--sky-dialog-z-index, 9998);background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sky-dialog-overlay[data-v-2773fecb]{display:flex;justify-content:center;align-items:center;position:fixed;padding:0;top:0;left:0;width:100%;height:100%;z-index:9999}.sky-dialog-content[data-v-2773fecb]{background:var(--sky-dialog-bg, white);width:100%;height:100%;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000003d}.sky-dialog-back[data-v-2773fecb]{cursor:pointer;margin:10px;padding:14px 12px 6px;float:left;line-height:1;background:transparent;border:none;border-radius:6px;color:var(--sky-dialog-back-color, #374151);transition:background-color .2s}.sky-dialog-back[data-v-2773fecb]:hover{background-color:var(--sky-dialog-back-hover-bg, #f8f9fa)}.sky-dialog-title[data-v-2773fecb]{max-width:calc(100% - 80px);font-size:var(--sky-dialog-title-size, 13pt);padding:21px 0;float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sky-dialog-title-color, #252525)}.sky-dialog-title-with-subtitle[data-v-2773fecb]{padding:13px 0}.sky-dialog-subtitle[data-v-2773fecb]{display:block;font-size:var(--sky-dialog-subtitle-size, 12pt);line-height:24px;color:var(--sky-dialog-subtitle-color, #6c757d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-clearfix[data-v-2773fecb]{clear:both}.sky-dialog-paper[data-v-2773fecb]{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.sky-dialog-swipe-area[data-v-2773fecb]{position:absolute;width:35px;height:100%;left:0}.sky-dialog-footer[data-v-2773fecb]{padding:5px 10px;display:flex;justify-content:center;width:100%;transform:translateY(-52px);gap:10px}.sky-dialog-footer[data-v-2773fecb]>:deep(*){flex:1;min-width:0}.sky-dialog-footer[data-v-2773fecb]:has(>:deep(*:only-child))>:deep(*){max-width:100%}.sky-dialog-footer[data-v-2773fecb]:has(>:deep(*:nth-child(2)):not(:has(>:deep(*:nth-child(3)))))>:deep(*){flex:1 1 50%}@media only screen and (min-width: 1400px){.sky-dialog-content[data-v-2773fecb]{width:100%;margin:0 auto}}@media screen and (min-width: 710px){.sky-dialog-paper[data-v-2773fecb]{height:calc(100% - 150px);max-height:calc(100% - 150px);background-color:#fff;margin:0 10px 60px}.sky-dialog-paper-no-footer[data-v-2773fecb]{height:calc(100% - 70px);max-height:calc(100% - 70px);margin-bottom:10px}}@media screen and (max-width: 709px){.sky-dialog-paper[data-v-2773fecb]{height:calc(100% - 142px);max-height:calc(100% - 142px);background-color:#fff;margin:0 10px 10px;max-width:100vw!important}.sky-dialog-paper-no-footer[data-v-2773fecb]{height:calc(100% - 60px);max-height:calc(100% - 60px)}.sky-dialog-footer[data-v-2773fecb]{transform:translateY(-6px)}}@media screen and (max-width: 500px){.sky-dialog-subtitle[data-v-2773fecb]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sky-dialog-title-with-subtitle[data-v-2773fecb]{padding:12px 24px!important}}@media screen and (max-width: 374px){.sky-dialog-subtitle[data-v-2773fecb]{font-size:9pt}}@supports (padding-top: env(safe-area-inset-top)){.sky-dialog-paper[data-v-2773fecb]{height:calc(100% - 150px - env(safe-area-inset-top))}.sky-dialog-paper-no-footer[data-v-2773fecb]{height:calc(100% - 60px - env(safe-area-inset-top))}.sky-dialog-footer[data-v-2773fecb]{padding-bottom:calc(env(safe-area-inset-bottom) + 8px)}}.sky-dialog-animate[data-v-2773fecb]{animation:sky-dialog-slide-in-data-v-2773fecb .4s ease-in-out}.sky-dialog-footer-animate[data-v-2773fecb]{animation:sky-dialog-footer-in-data-v-2773fecb .4s ease-in-out}@keyframes sky-dialog-slide-in-data-v-2773fecb{0%{opacity:0;margin-top:-1600px}to{opacity:1;margin-top:0}}@keyframes sky-dialog-footer-in-data-v-2773fecb{0%{opacity:0;bottom:-100px}50%{opacity:.25;bottom:-50px}to{opacity:1;bottom:15px}}.dialog-slide-leave-active[data-v-2773fecb]{animation:sky-dialog-slide-in-data-v-2773fecb .4s reverse}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Ve=function(){var e=this,l=e.$createElement,n=e._self._c||l;return n("header",{staticClass:"sky-header"},[n("div",{staticClass:"header-content"},[n("div",{staticClass:"header-top"},[n("div",{staticClass:"header-title-wrapper"},[e.shouldShowBackButton?n("button",{staticClass:"btn-back",attrs:{title:e.backButtonTitle},on:{click:e.handleBack}},[n("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[n("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]):e._e(),n("div",{staticClass:"header-title-content"},[e._t("title",function(){return[n("h4",{staticClass:"header-title"},[e._v(e._s(e.title))])]}),e._t("subtitle",function(){return[e.subtitle?n("div",{staticClass:"header-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]})],2)]),n("div",{staticClass:"header-actions"},[n("div"),e._t("default"),n("div")],2)])])])},De=[];function M(e,l,n,p,C,T,R,$){var f=typeof e=="function"?e.options:e;l&&(f.render=l,f.staticRenderFns=n,f._compiled=!0),p&&(f.functional=!0),T&&(f._scopeId="data-v-"+T);var g;if(R?(g=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),C&&C.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(R)},f._ssrRegister=g):C&&(g=$?function(){C.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:C),g)if(f.functional){f._injectStyles=g;var O=f.render;f.render=function(a,i){return g.call(i),O(a,i)}}else{var N=f.beforeCreate;f.beforeCreate=N?[].concat(N,g):[g]}return{exports:e,options:f}}const Le={name:"Header",props:{title:{type:String,default:""},subtitle:{type:String,default:""},showBackButton:{type:Boolean,default:!0},backButtonTitle:{type:String,default:"Назад"},backEvent:{type:Function,default:null}},computed:{isInIframe(){try{return window.self!==window.top}catch{return!0}},shouldShowBackButton(){return this.backEvent||this.showBackButton&&this.isInIframe}},methods:{handleBack(){this.backEvent?this.backEvent():window.parent.postMessage({type:"exit"},"*")}}},xe={};var Fe=M(Le,Ve,De,!1,Xe,"6cb48692",null,null);function Xe(e){for(let l in xe)this[l]=xe[l]}const Ue=function(){return Fe.exports}();var qe=function(){var e=this,l=e.$createElement,n=e._self._c||l;return n("portal",{attrs:{to:e.to}},[e._t("default")],2)},je=[];const He={props:{to:{type:String,default:"body"}}},Se={};var Ke=M(He,qe,je,!1,Ge,null,null,null);function Ge(e){for(let l in Se)this[l]=Se[l]}const Ae=function(){return Ke.exports}();var We=function(){var e=this,l=e.$createElement,n=e._self._c||l;return n("base-teleport",{attrs:{to:"body"}},[n("transition",{attrs:{name:"modal-fade"}},[e.isOpen?n("div",{staticClass:"sky-modal-overlay",on:{click:function(p){return p.target!==p.currentTarget?null:e.handleOverlayClick.apply(null,arguments)}}},[n("div",{staticClass:"sky-modal",style:e.modalStyle},[n("div",{staticClass:"sky-modal-header"},[n("button",{staticClass:"sky-modal-back",attrs:{title:e.closeTitle},on:{click:e.close}},[n("svg",{attrs:{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"}},[n("path",{attrs:{d:"M19 12H5M12 19l-7-7 7-7","stroke-linecap":"round","stroke-linejoin":"round"}})])]),n("div",{staticClass:"sky-modal-title-wrapper"},[n("h4",{staticClass:"sky-modal-title"},[e._v(e._s(e.title))]),e.subtitle?n("div",{staticClass:"sky-modal-subtitle"},[e._v(e._s(e.subtitle))]):e._e()])]),n("div",{staticClass:"sky-modal-body"},[e._t("default")],2),e.$slots.footer?n("div",{staticClass:"sky-modal-footer"},[e._t("footer")],2):e._e()])]):e._e()])],1)},Ye=[];const Ze={components:{BaseTeleport:Ae},name:"Modal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},closeTitle:{type:String,default:"Закрити"},closeOnOverlay:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"},value:{type:Boolean,default:!1}},computed:{modalStyle(){return{width:this.width,height:this.height}}},watch:{modelValue(e){e?document.body.style.overflow="hidden":document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown)},computed:{isOpen:{get(){return this.value},set(e){this.$emit("input",e)}}},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.isOpen=!1,this.$emit("close")},handleOverlayClick(){this.closeOnOverlay&&this.close()},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close()}}},Ee={};var Qe=M(Ze,We,Ye,!1,Je,"1ed4a1aa",null,null);function Je(e){for(let l in Ee)this[l]=Ee[l]}const et=function(){return Qe.exports}();var tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function it(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var le={exports:{}};(function(e,l){(function(n,p){var C="1.0.41",T="",R="?",$="function",f="undefined",g="object",O="string",N="major",t="model",a="name",i="type",o="vendor",s="version",k="architecture",z="console",d="mobile",c="tablet",v="smarttv",_="wearable",P="embedded",Z=500,U="Amazon",A="Apple",de="ASUS",ce="BlackBerry",q="Browser",j="Chrome",$e="Edge",H="Firefox",K="Google",ue="Honor",be="Huawei",Ne="Lenovo",G="LG",Q="Microsoft",J="Motorola",ee="Nvidia",we="OnePlus",I="Opera",te="OPPO",V="Samsung",he="Sharp",D="Sony",ie="Xiaomi",oe="Zebra",pe="Facebook",me="Chromium OS",fe="Mac OS",ve=" Browser",ze=function(b,w){var u={};for(var m in b)w[m]&&w[m].length%2===0?u[m]=w[m].concat(b[m]):u[m]=b[m];return u},W=function(b){for(var w={},u=0;u<b.length;u++)w[b[u].toUpperCase()]=b[u];return w},_e=function(b,w){return typeof b===O?L(w).indexOf(L(b))!==-1:!1},L=function(b){return b.toLowerCase()},Pe=function(b){return typeof b===O?b.replace(/[^\d\.]/g,T).split(".")[0]:p},ae=function(b,w){if(typeof b===O)return b=b.replace(/^\s\s*/,T),typeof w===f?b:b.substring(0,Z)},F=function(b,w){for(var u=0,m,E,x,h,r,S;u<w.length&&!r;){var se=w[u],ke=w[u+1];for(m=E=0;m<se.length&&!r&&se[m];)if(r=se[m++].exec(b),r)for(x=0;x<ke.length;x++)S=r[++E],h=ke[x],typeof h===g&&h.length>0?h.length===2?typeof h[1]==$?this[h[0]]=h[1].call(this,S):this[h[0]]=h[1]:h.length===3?typeof h[1]===$&&!(h[1].exec&&h[1].test)?this[h[0]]=S?h[1].call(this,S,h[2]):p:this[h[0]]=S?S.replace(h[1],h[2]):p:h.length===4&&(this[h[0]]=S?h[3].call(this,S.replace(h[1],h[2])):p):this[h]=S||p;u+=2}},X=function(b,w){for(var u in w)if(typeof w[u]===g&&w[u].length>0){for(var m=0;m<w[u].length;m++)if(_e(w[u][m],b))return u===R?p:u}else if(_e(w[u],b))return u===R?p:u;return w.hasOwnProperty("*")?w["*"]:b},Ie={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},ge={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ye={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[s,[a,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[s,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,s],[/opios[\/ ]+([\w\.]+)/i],[s,[a,I+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[s,[a,I+" GX"]],[/\bopr\/([\w\.]+)/i],[s,[a,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[s,[a,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[s,[a,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a,s],[/quark(?:pc)?\/([-\w\.]+)/i],[s,[a,"Quark"]],[/\bddg\/([\w\.]+)/i],[s,[a,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[s,[a,"UC"+q]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[s,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[s,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[s,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[s,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[s,[a,"Smart Lenovo "+q]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+q],s],[/\bfocus\/([\w\.]+)/i],[s,[a,H+" Focus"]],[/\bopt\/([\w\.]+)/i],[s,[a,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[s,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[s,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[s,[a,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[s,[a,"MIUI"+ve]],[/fxios\/([\w\.-]+)/i],[s,[a,H]],[/\bqihoobrowser\/?([\w\.]*)/i],[s,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],s],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+ve],s],[/samsungbrowser\/([\w\.]+)/i],[s,[a,V+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[s,[a,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,"Sogou Mobile"],s],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a,s],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[a],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[s,a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,pe],s],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[a,s],[/\bgsa\/([\w\.]+) .*safari\//i],[s,[a,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[s,[a,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[s,[a,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,j+" WebView"],s],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[s,[a,"Android "+q]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,s],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[s,[a,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[s,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[s,X,Ie]],[/(webkit|khtml)\/([\w\.]+)/i],[a,s],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],s],[/(wolvic|librewolf)\/([\w\.]+)/i],[a,s],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[s,[a,H+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a,[s,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[a,[s,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[k,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[k,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[k,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[k,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[k,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[k,/ower/,T,L]],[/ sun4\w[;\)]/i],[[k,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[k,L]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[t,[o,V],[i,c]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[t,[o,V],[i,d]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[t,[o,A],[i,d]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[t,[o,A],[i,c]],[/(macintosh);/i],[t,[o,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[t,[o,he],[i,d]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[t,[o,ue],[i,c]],[/honor([-\w ]+)[;\)]/i],[t,[o,ue],[i,d]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[t,[o,be],[i,c]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[t,[o,be],[i,d]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[t,/_/g," "],[o,ie],[i,c]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[t,/_/g," "],[o,ie],[i,d]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[t,[o,te],[i,d]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[t,[o,X,{OnePlus:["304","403","203"],"*":te}],[i,c]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[t,[o,"Vivo"],[i,d]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[t,[o,"Realme"],[i,d]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[t,[o,J],[i,d]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[t,[o,J],[i,c]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[t,[o,G],[i,c]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[t,[o,G],[i,d]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[t,[o,Ne],[i,c]],[/(nokia) (t[12][01])/i],[o,t,[i,c]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[t,/_/g," "],[i,d],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[t,[o,K],[i,c]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[t,[o,K],[i,d]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[t,[o,D],[i,d]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[t,"Xperia Tablet"],[o,D],[i,c]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[t,[o,we],[i,d]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[t,[o,U],[i,c]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[t,/(.+)/g,"Fire Phone $1"],[o,U],[i,d]],[/(playbook);[-\w\),; ]+(rim)/i],[t,o,[i,c]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[t,[o,ce],[i,d]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[t,[o,de],[i,c]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[t,[o,de],[i,d]],[/(nexus 9)/i],[t,[o,"HTC"],[i,c]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[t,/_/g," "],[i,d]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[t,[o,"TCL"],[i,c]],[/(itel) ((\w+))/i],[[o,L],t,[i,X,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[t,[o,"Acer"],[i,c]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[t,[o,"Meizu"],[i,d]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[t,[o,"Ulefone"],[i,d]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[t,[o,"Energizer"],[i,d]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[t,[o,"Cat"],[i,d]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[t,[o,"Smartfren"],[i,d]],[/droid.+; (a(?:015|06[35]|142p?))/i],[t,[o,"Nothing"],[i,d]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[t,[o,"Archos"],[i,c]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[t,[o,"Archos"],[i,d]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,t,[i,c]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,t,[i,d]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,t,[i,c]],[/(surface duo)/i],[t,[o,Q],[i,c]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[t,[o,"Fairphone"],[i,d]],[/(u304aa)/i],[t,[o,"AT&T"],[i,d]],[/\bsie-(\w*)/i],[t,[o,"Siemens"],[i,d]],[/\b(rct\w+) b/i],[t,[o,"RCA"],[i,c]],[/\b(venue[\d ]{2,7}) b/i],[t,[o,"Dell"],[i,c]],[/\b(q(?:mv|ta)\w+) b/i],[t,[o,"Verizon"],[i,c]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[t,[o,"Barnes & Noble"],[i,c]],[/\b(tm\d{3}\w+) b/i],[t,[o,"NuVision"],[i,c]],[/\b(k88) b/i],[t,[o,"ZTE"],[i,c]],[/\b(nx\d{3}j) b/i],[t,[o,"ZTE"],[i,d]],[/\b(gen\d{3}) b.+49h/i],[t,[o,"Swiss"],[i,d]],[/\b(zur\d{3}) b/i],[t,[o,"Swiss"],[i,c]],[/\b((zeki)?tb.*\b) b/i],[t,[o,"Zeki"],[i,c]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],t,[i,c]],[/\b(ns-?\w{0,9}) b/i],[t,[o,"Insignia"],[i,c]],[/\b((nxa|next)-?\w{0,9}) b/i],[t,[o,"NextBook"],[i,c]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],t,[i,d]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],t,[i,d]],[/\b(ph-1) /i],[t,[o,"Essential"],[i,d]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[t,[o,"Envizen"],[i,c]],[/\b(trio[-\w\. ]+) b/i],[t,[o,"MachSpeed"],[i,c]],[/\btu_(1491) b/i],[t,[o,"Rotor"],[i,c]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[t,[o,ee],[i,c]],[/(sprint) (\w+)/i],[o,t,[i,d]],[/(kin\.[onetw]{3})/i],[[t,/\./g," "],[o,Q],[i,d]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[t,[o,oe],[i,c]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[t,[o,oe],[i,d]],[/smart-tv.+(samsung)/i],[o,[i,v]],[/hbbtv.+maple;(\d+)/i],[[t,/^/,"SmartTV"],[o,V],[i,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,G],[i,v]],[/(apple) ?tv/i],[o,[t,A+" TV"],[i,v]],[/crkey/i],[[t,j+"cast"],[o,K],[i,v]],[/droid.+aft(\w+)( bui|\))/i],[t,[o,U],[i,v]],[/(shield \w+ tv)/i],[t,[o,ee],[i,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[t,[o,he],[i,v]],[/(bravia[\w ]+)( bui|\))/i],[t,[o,D],[i,v]],[/(mi(tv|box)-?\w+) bui/i],[t,[o,ie],[i,v]],[/Hbbtv.*(technisat) (.*);/i],[o,t,[i,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,ae],[t,ae],[i,v]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[t,[i,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,t,[i,z]],[/droid.+; (shield)( bui|\))/i],[t,[o,ee],[i,z]],[/(playstation \w+)/i],[t,[o,D],[i,z]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[t,[o,Q],[i,z]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[t,[o,V],[i,_]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,t,[i,_]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[t,[o,te],[i,_]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[t,[o,A],[i,_]],[/(opwwe\d{3})/i],[t,[o,we],[i,_]],[/(moto 360)/i],[t,[o,J],[i,_]],[/(smartwatch 3)/i],[t,[o,D],[i,_]],[/(g watch r)/i],[t,[o,G],[i,_]],[/droid.+; (wt63?0{2,3})\)/i],[t,[o,oe],[i,_]],[/droid.+; (glass) \d/i],[t,[o,K],[i,_]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,t,[i,_]],[/; (quest( \d| pro)?)/i],[t,[o,pe],[i,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[i,P]],[/(aeobc)\b/i],[t,[o,U],[i,P]],[/(homepod).+mac os/i],[t,[o,A],[i,P]],[/windows iot/i],[[i,P]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[t,[i,d]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[t,[i,c]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,c]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,d]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[t,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[s,[a,$e+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[a,s],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[s,[a,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a,s],[/ladybird\//i],[[a,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[s,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,s],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a,[s,X,ge]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[s,X,ge],[a,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[s,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,fe],[s,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[s,a],[/(ubuntu) ([\w\.]+) like android/i],[[a,/(.+)/,"$1 Touch"],s],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[a,s],[/\(bb(10);/i],[s,[a,ce]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[s,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[s,[a,H+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[s,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[s,[a,"watchOS"]],[/crkey\/([\d\.]+)/i],[s,[a,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,me],s],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a,s],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],s],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,s]]},y=function(b,w){if(typeof b===g&&(w=b,b=p),!(this instanceof y))return new y(b,w).getResult();var u=typeof n!==f&&n.navigator?n.navigator:p,m=b||(u&&u.userAgent?u.userAgent:T),E=u&&u.userAgentData?u.userAgentData:p,x=w?ze(ye,w):ye,h=u&&u.userAgent==m;return this.getBrowser=function(){var r={};return r[a]=p,r[s]=p,F.call(r,m,x.browser),r[N]=Pe(r[s]),h&&u&&u.brave&&typeof u.brave.isBrave==$&&(r[a]="Brave"),r},this.getCPU=function(){var r={};return r[k]=p,F.call(r,m,x.cpu),r},this.getDevice=function(){var r={};return r[o]=p,r[t]=p,r[i]=p,F.call(r,m,x.device),h&&!r[i]&&E&&E.mobile&&(r[i]=d),h&&r[t]=="Macintosh"&&u&&typeof u.standalone!==f&&u.maxTouchPoints&&u.maxTouchPoints>2&&(r[t]="iPad",r[i]=c),r},this.getEngine=function(){var r={};return r[a]=p,r[s]=p,F.call(r,m,x.engine),r},this.getOS=function(){var r={};return r[a]=p,r[s]=p,F.call(r,m,x.os),h&&!r[a]&&E&&E.platform&&E.platform!="Unknown"&&(r[a]=E.platform.replace(/chrome os/i,me).replace(/macos/i,fe)),r},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(r){return m=typeof r===O&&r.length>Z?ae(r,Z):r,this},this.setUA(m),this};y.VERSION=C,y.BROWSER=W([a,s,N]),y.CPU=W([k]),y.DEVICE=W([t,o,i,z,d,v,c,_,P]),y.ENGINE=y.OS=W([a,s]),e.exports&&(l=e.exports=y),l.UAParser=y;var B=typeof n!==f&&(n.jQuery||n.Zepto);if(B&&!B.ua){var Y=new y;B.ua=Y.getResult(),B.ua.get=function(){return Y.getUA()},B.ua.set=function(b){Y.setUA(b);var w=Y.getResult();for(var u in w)B.ua[u]=w[u]}}})(typeof window=="object"?window:tt)})(le,le.exports);var ot=le.exports;const at=it(ot);function Be(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var e=at(navigator.userAgent);if(e.browser.name==="WebKit")return"ios_webview"}catch(l){console.error(l)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function Me(){return Be()==="ios_webview"}function Re(){return Be()==="android_webview"}var st=function(){var e=this,l=e.$createElement,n=e._self._c||l;return n("transition",{attrs:{name:e.enableAnimation?"dialog-slide":""}},[e.modelValue?n("div",{staticClass:"sky-dialogbox sky-dialogbox-classic",style:[e.zIndex?{"z-index":e.zIndex}:null]},[n("div",{staticClass:"sky-dialog-overlay",class:{"sky-dialog-animate":e.enableAnimation}},[n("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[n("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?n("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]),n("button",{staticClass:"sky-dialog-close",attrs:{title:e.closeText},on:{click:e.close}},[n("svg",{attrs:{viewBox:"0 0 16 16",width:"16",height:"16"}},[n("line",{attrs:{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}}),n("line",{attrs:{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"}})])]),n("div",{staticClass:"sky-dialog-clearfix"}),n("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?n("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?n("div",{staticClass:"sky-dialog-footer",class:{"sky-dialog-footer-animate":e.enableAnimation}},[e._t("buttons")],2):e._e()])])]):e._e()])},nt=[];const rt={name:"DialogModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Закрити"},enableAnimation:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return Me()}catch{return!1}},isAndroid(){try{return Re()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const l=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=l+"px"}}}catch{}}}},Ce={};var lt=M(rt,st,nt,!1,dt,"dabb1e82",null,null);function dt(e){for(let l in Ce)this[l]=Ce[l]}const ne=function(){return lt.exports}();var ct=function(){var e=this,l=e.$createElement,n=e._self._c||l;return n("transition",{attrs:{name:e.enableAnimation?"dialog-slide":""}},[e.modelValue?n("div",{staticClass:"sky-dialogbox sky-dialogbox-next",style:[e.zIndex?{"z-index":e.zIndex}:null]},[n("div",{staticClass:"sky-dialog-overlay",class:{"sky-dialog-animate":e.enableAnimation}},[n("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[n("button",{staticClass:"sky-dialog-back",attrs:{title:e.closeText},on:{click:e.close}},[n("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[n("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]),n("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?n("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]),n("div",{staticClass:"sky-dialog-clearfix"}),n("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?n("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?n("div",{staticClass:"sky-dialog-footer",class:{"sky-dialog-footer-animate":e.enableAnimation}},[e._t("buttons")],2):e._e()])])]):e._e()])},ut=[];const bt={name:"DialogNext",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Назад"},enableAnimation:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return Me()}catch{return!1}},isAndroid(){try{return Re()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const l=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=l+"px"}}}catch{}}}},Te={};var wt=M(bt,ct,ut,!1,ht,"2773fecb",null,null);function ht(e){for(let l in Te)this[l]=Te[l]}const re=function(){return wt.exports}();var pt=function(){var e=this,l=e.$createElement,n=e._self._c||l;return n(e.dialogComponent,{tag:"component",attrs:{title:e.title,subtitle:e.subtitle,"z-index":e.zIndex,"close-text":e.closeText,"enable-animation":e.enableAnimation,"close-on-esc":e.closeOnEsc,"has-buttons":!!e.$slots.buttons},on:{close:function(p){return e.$emit("close")},save:function(p){return e.$emit("save")}},scopedSlots:e._u([e.$slots.buttons?{key:"buttons",fn:function(){return[e._t("buttons")]},proxy:!0}:null],null,!0),model:{value:e.isOpen,callback:function(p){e.isOpen=p},expression:"isOpen"}},[e._t("default")],2)},mt=[];const ft={name:"Dialog",components:{DialogModal:ne,DialogNext:re},props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},enableAnimation:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:e=>[null,"next","classic"].includes(e)}},data(){return{rocketMode:!0}},computed:{isOpen:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},dialogComponent(){return this.mode==="next"?re:this.mode==="classic"?ne:this.rocketMode?re:ne}},mounted(){try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?this.rocketMode=!1:this.rocketMode=!0}catch{this.rocketMode=!0}}},Oe={};var vt=M(ft,pt,mt,!1,_t,null,null,null);function _t(e){for(let l in Oe)this[l]=Oe[l]}const gt=function(){return vt.exports}();exports.BaseTeleport=Ae;exports.Dialog=gt;exports.Header=Ue;exports.Modal=et;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Le(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var le={exports:{}};(function(e,r){(function(a,b){var g="1.0.41",y="",O="?",R="function",m="undefined",k="object",A="string",z="major",t="model",s="name",i="type",o="vendor",n="version",C="architecture",N="console",d="mobile",c="tablet",v="smarttv",_="wearable",D="embedded",Z=500,X="Amazon",B="Apple",de="ASUS",ce="BlackBerry",q="Browser",j="Chrome",Re="Edge",H="Firefox",K="Google",ue="Honor",be="Huawei",ze="Lenovo",G="LG",Q="Microsoft",J="Motorola",ee="Nvidia",we="OnePlus",I="Opera",te="OPPO",P="Samsung",he="Sharp",L="Sony",ie="Xiaomi",oe="Zebra",pe="Facebook",fe="Chromium OS",me="Mac OS",ve=" Browser",Ne=function(w,h){var u={};for(var f in w)h[f]&&h[f].length%2===0?u[f]=h[f].concat(w[f]):u[f]=w[f];return u},W=function(w){for(var h={},u=0;u<w.length;u++)h[w[u].toUpperCase()]=w[u];return h},ge=function(w,h){return typeof w===A?V(h).indexOf(V(w))!==-1:!1},V=function(w){return w.toLowerCase()},De=function(w){return typeof w===A?w.replace(/[^\d\.]/g,y).split(".")[0]:b},se=function(w,h){if(typeof w===A)return w=w.replace(/^\s\s*/,y),typeof h===m?w:w.substring(0,Z)},F=function(w,h){for(var u=0,f,T,S,p,l,E;u<h.length&&!l;){var ae=h[u],ke=h[u+1];for(f=T=0;f<ae.length&&!l&&ae[f];)if(l=ae[f++].exec(w),l)for(S=0;S<ke.length;S++)E=l[++T],p=ke[S],typeof p===k&&p.length>0?p.length===2?typeof p[1]==R?this[p[0]]=p[1].call(this,E):this[p[0]]=p[1]:p.length===3?typeof p[1]===R&&!(p[1].exec&&p[1].test)?this[p[0]]=E?p[1].call(this,E,p[2]):b:this[p[0]]=E?E.replace(p[1],p[2]):b:p.length===4&&(this[p[0]]=E?p[3].call(this,E.replace(p[1],p[2])):b):this[p]=E||b;u+=2}},U=function(w,h){for(var u in h)if(typeof h[u]===k&&h[u].length>0){for(var f=0;f<h[u].length;f++)if(ge(h[u][f],w))return u===O?b:u}else if(ge(h[u],w))return u===O?b:u;return h.hasOwnProperty("*")?h["*"]:w},Ie={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},_e={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ye={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,n],[/opios[\/ ]+([\w\.]+)/i],[n,[s,I+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[s,I+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[s,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[s,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[n,[s,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,n],[/quark(?:pc)?\/([-\w\.]+)/i],[n,[s,"Quark"]],[/\bddg\/([\w\.]+)/i],[n,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[s,"UC"+q]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[s,"Smart Lenovo "+q]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure "+q],n],[/\bfocus\/([\w\.]+)/i],[n,[s,H+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[s,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[s,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[s,"MIUI"+ve]],[/fxios\/([\w\.-]+)/i],[n,[s,H]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[s,"360"]],[/\b(qq)\/([\w\.]+)/i],[[s,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1"+ve],n],[/samsungbrowser\/([\w\.]+)/i],[n,[s,P+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[n,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[s,n],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[s],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[n,s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,pe],n],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,n],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[s,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,j+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[s,"Android "+q]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,n],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[n,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[n,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[n,U,Ie]],[/(webkit|khtml)\/([\w\.]+)/i],[s,n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],n],[/(wolvic|librewolf)\/([\w\.]+)/i],[s,n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[s,H+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[s,[n,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[s,[n,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[C,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[C,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[C,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[C,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[C,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[C,/ower/,y,V]],[/ sun4\w[;\)]/i],[[C,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[C,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[t,[o,P],[i,c]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[t,[o,P],[i,d]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[t,[o,B],[i,d]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[t,[o,B],[i,c]],[/(macintosh);/i],[t,[o,B]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[t,[o,he],[i,d]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[t,[o,ue],[i,c]],[/honor([-\w ]+)[;\)]/i],[t,[o,ue],[i,d]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[t,[o,be],[i,c]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[t,[o,be],[i,d]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[t,/_/g," "],[o,ie],[i,c]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[t,/_/g," "],[o,ie],[i,d]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[t,[o,te],[i,d]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[t,[o,U,{OnePlus:["304","403","203"],"*":te}],[i,c]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[t,[o,"Vivo"],[i,d]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[t,[o,"Realme"],[i,d]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[t,[o,J],[i,d]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[t,[o,J],[i,c]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[t,[o,G],[i,c]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[t,[o,G],[i,d]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[t,[o,ze],[i,c]],[/(nokia) (t[12][01])/i],[o,t,[i,c]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[t,/_/g," "],[i,d],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[t,[o,K],[i,c]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[t,[o,K],[i,d]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[t,[o,L],[i,d]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[t,"Xperia Tablet"],[o,L],[i,c]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[t,[o,we],[i,d]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[t,[o,X],[i,c]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[t,/(.+)/g,"Fire Phone $1"],[o,X],[i,d]],[/(playbook);[-\w\),; ]+(rim)/i],[t,o,[i,c]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[t,[o,ce],[i,d]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[t,[o,de],[i,c]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[t,[o,de],[i,d]],[/(nexus 9)/i],[t,[o,"HTC"],[i,c]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[t,/_/g," "],[i,d]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[t,[o,"TCL"],[i,c]],[/(itel) ((\w+))/i],[[o,V],t,[i,U,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[t,[o,"Acer"],[i,c]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[t,[o,"Meizu"],[i,d]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[t,[o,"Ulefone"],[i,d]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[t,[o,"Energizer"],[i,d]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[t,[o,"Cat"],[i,d]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[t,[o,"Smartfren"],[i,d]],[/droid.+; (a(?:015|06[35]|142p?))/i],[t,[o,"Nothing"],[i,d]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[t,[o,"Archos"],[i,c]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[t,[o,"Archos"],[i,d]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,t,[i,c]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,t,[i,d]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,t,[i,c]],[/(surface duo)/i],[t,[o,Q],[i,c]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[t,[o,"Fairphone"],[i,d]],[/(u304aa)/i],[t,[o,"AT&T"],[i,d]],[/\bsie-(\w*)/i],[t,[o,"Siemens"],[i,d]],[/\b(rct\w+) b/i],[t,[o,"RCA"],[i,c]],[/\b(venue[\d ]{2,7}) b/i],[t,[o,"Dell"],[i,c]],[/\b(q(?:mv|ta)\w+) b/i],[t,[o,"Verizon"],[i,c]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[t,[o,"Barnes & Noble"],[i,c]],[/\b(tm\d{3}\w+) b/i],[t,[o,"NuVision"],[i,c]],[/\b(k88) b/i],[t,[o,"ZTE"],[i,c]],[/\b(nx\d{3}j) b/i],[t,[o,"ZTE"],[i,d]],[/\b(gen\d{3}) b.+49h/i],[t,[o,"Swiss"],[i,d]],[/\b(zur\d{3}) b/i],[t,[o,"Swiss"],[i,c]],[/\b((zeki)?tb.*\b) b/i],[t,[o,"Zeki"],[i,c]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],t,[i,c]],[/\b(ns-?\w{0,9}) b/i],[t,[o,"Insignia"],[i,c]],[/\b((nxa|next)-?\w{0,9}) b/i],[t,[o,"NextBook"],[i,c]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],t,[i,d]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],t,[i,d]],[/\b(ph-1) /i],[t,[o,"Essential"],[i,d]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[t,[o,"Envizen"],[i,c]],[/\b(trio[-\w\. ]+) b/i],[t,[o,"MachSpeed"],[i,c]],[/\btu_(1491) b/i],[t,[o,"Rotor"],[i,c]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[t,[o,ee],[i,c]],[/(sprint) (\w+)/i],[o,t,[i,d]],[/(kin\.[onetw]{3})/i],[[t,/\./g," "],[o,Q],[i,d]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[t,[o,oe],[i,c]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[t,[o,oe],[i,d]],[/smart-tv.+(samsung)/i],[o,[i,v]],[/hbbtv.+maple;(\d+)/i],[[t,/^/,"SmartTV"],[o,P],[i,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,G],[i,v]],[/(apple) ?tv/i],[o,[t,B+" TV"],[i,v]],[/crkey/i],[[t,j+"cast"],[o,K],[i,v]],[/droid.+aft(\w+)( bui|\))/i],[t,[o,X],[i,v]],[/(shield \w+ tv)/i],[t,[o,ee],[i,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[t,[o,he],[i,v]],[/(bravia[\w ]+)( bui|\))/i],[t,[o,L],[i,v]],[/(mi(tv|box)-?\w+) bui/i],[t,[o,ie],[i,v]],[/Hbbtv.*(technisat) (.*);/i],[o,t,[i,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,se],[t,se],[i,v]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[t,[i,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,t,[i,N]],[/droid.+; (shield)( bui|\))/i],[t,[o,ee],[i,N]],[/(playstation \w+)/i],[t,[o,L],[i,N]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[t,[o,Q],[i,N]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[t,[o,P],[i,_]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,t,[i,_]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[t,[o,te],[i,_]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[t,[o,B],[i,_]],[/(opwwe\d{3})/i],[t,[o,we],[i,_]],[/(moto 360)/i],[t,[o,J],[i,_]],[/(smartwatch 3)/i],[t,[o,L],[i,_]],[/(g watch r)/i],[t,[o,G],[i,_]],[/droid.+; (wt63?0{2,3})\)/i],[t,[o,oe],[i,_]],[/droid.+; (glass) \d/i],[t,[o,K],[i,_]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,t,[i,_]],[/; (quest( \d| pro)?)/i],[t,[o,pe],[i,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[i,D]],[/(aeobc)\b/i],[t,[o,X],[i,D]],[/(homepod).+mac os/i],[t,[o,B],[i,D]],[/windows iot/i],[[i,D]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[t,[i,d]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[t,[i,c]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,c]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,d]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[t,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[s,Re+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[s,n],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,n],[/ladybird\//i],[[s,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,n],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[s,[n,U,_e]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,U,_e],[s,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,me],[n,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,s],[/(ubuntu) ([\w\.]+) like android/i],[[s,/(.+)/,"$1 Touch"],n],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[s,n],[/\(bb(10);/i],[n,[s,ce]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[s,H+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[n,[s,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,fe],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,n],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,n]]},x=function(w,h){if(typeof w===k&&(h=w,w=b),!(this instanceof x))return new x(w,h).getResult();var u=typeof a!==m&&a.navigator?a.navigator:b,f=w||(u&&u.userAgent?u.userAgent:y),T=u&&u.userAgentData?u.userAgentData:b,S=h?Ne(ye,h):ye,p=u&&u.userAgent==f;return this.getBrowser=function(){var l={};return l[s]=b,l[n]=b,F.call(l,f,S.browser),l[z]=De(l[n]),p&&u&&u.brave&&typeof u.brave.isBrave==R&&(l[s]="Brave"),l},this.getCPU=function(){var l={};return l[C]=b,F.call(l,f,S.cpu),l},this.getDevice=function(){var l={};return l[o]=b,l[t]=b,l[i]=b,F.call(l,f,S.device),p&&!l[i]&&T&&T.mobile&&(l[i]=d),p&&l[t]=="Macintosh"&&u&&typeof u.standalone!==m&&u.maxTouchPoints&&u.maxTouchPoints>2&&(l[t]="iPad",l[i]=c),l},this.getEngine=function(){var l={};return l[s]=b,l[n]=b,F.call(l,f,S.engine),l},this.getOS=function(){var l={};return l[s]=b,l[n]=b,F.call(l,f,S.os),p&&!l[s]&&T&&T.platform&&T.platform!="Unknown"&&(l[s]=T.platform.replace(/chrome os/i,fe).replace(/macos/i,me)),l},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return f},this.setUA=function(l){return f=typeof l===A&&l.length>Z?se(l,Z):l,this},this.setUA(f),this};x.VERSION=g,x.BROWSER=W([s,n,z]),x.CPU=W([C]),x.DEVICE=W([t,o,i,N,d,v,c,_,D]),x.ENGINE=x.OS=W([s,n]),e.exports&&(r=e.exports=x),r.UAParser=x;var M=typeof a!==m&&(a.jQuery||a.Zepto);if(M&&!M.ua){var Y=new x;M.ua=Y.getResult(),M.ua.get=function(){return Y.getUA()},M.ua.set=function(w){Y.setUA(w);var h=Y.getResult();for(var u in h)M.ua[u]=h[u]}}})(typeof window=="object"?window:Pe)})(le,le.exports);var Ve=le.exports;const Fe=Le(Ve);function Ae(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var e=Fe(navigator.userAgent);if(e.browser.name==="WebKit")return"ios_webview"}catch(r){console.error(r)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function Be(){return Ae()==="ios_webview"}function Me(){return Ae()==="android_webview"}function Ue(){try{return window.self!==window.top}catch{return!0}}var Xe=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("header",{staticClass:"sky-header-container"},[a("div",{staticClass:"topmenubox"},[a("div",{staticClass:"header-left"},[e.shouldShowBackButton?a("button",{staticClass:"btn-back",attrs:{title:e.backButtonTitle},on:{click:e.handleBack}},[a("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[a("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]):e._e(),a("div",{ref:"dropdownRef",staticClass:"titleAndDesc"},[a("button",{staticClass:"title-dropdown-toggle",class:{"title-dropdown-toggle-active":e.sortedItems.length},on:{click:e.toggleDropdown}},[e._t("title",function(){return[a("h4",{staticClass:"notPadding",staticStyle:{"margin-bottom":"4px"}},[a("span",{staticClass:"topmenu-title"},[e._v(e._s(e.title))]),e.sortedItems.length?a("svg",{staticClass:"arrow",class:{open:e.isDropdownOpen},staticStyle:{"flex-shrink":"0"},attrs:{width:"12",height:"12",viewBox:"0 0 451.847 451.847"}},[a("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})]):e._e()])]})],2),e.isDropdownOpen&&e.sortedItems.length?a("div",{staticClass:"title-dropdown"},[a("div",{staticClass:"title-dropdown-header"},[e._v(e._s(e.dropdownTitle))]),a("div",{staticClass:"title-dropdown-divider"}),e._l(e.sortedItems,function(b,g){return a("div",{key:g,staticClass:"title-dropdown-item",on:{click:function(y){return e.selectItem(b)}}},[a("p",{staticClass:"pageName"},[e._v(e._s(e.capitalize(b.name)))]),a("small",{staticClass:"pageVisit"},[e._v(" ("+e._s(e.visitLabel)+" "+e._s(e.getTimeAgo(b.lastVisit))+") ")])])})],2):e._e(),e._t("subtitle",function(){return[e.subtitle?a("p",{staticClass:"topmenu-description"},[e._v(e._s(e.subtitle))]):e._e()]})],2)]),a("div",{staticClass:"topmenubox-button"},[a("div"),e._t("default"),a("div")],2)])])},qe=[];function $(e,r,a,b,g,y,O,R){var m=typeof e=="function"?e.options:e;r&&(m.render=r,m.staticRenderFns=a,m._compiled=!0),b&&(m.functional=!0),y&&(m._scopeId="data-v-"+y);var k;if(O?(k=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),g&&g.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(O)},m._ssrRegister=k):g&&(k=R?function(){g.call(this,(m.functional?this.parent:this).$root.$options.shadowRoot)}:g),k)if(m.functional){m._injectStyles=k;var A=m.render;m.render=function(s,i){return k.call(i),A(s,i)}}else{var z=m.beforeCreate;m.beforeCreate=z?[].concat(z,k):[k]}return{exports:e,options:m}}const je={name:"Header",props:{title:{type:String,default:""},subtitle:{type:String,default:""},showBackButton:{type:Boolean,default:!0},backButtonTitle:{type:String,default:"Назад"},backEvent:{type:Function,default:null},dropdownItems:{type:Array,default:()=>[]},dropdownTitle:{type:String,default:"Останні відвідані розділи"},visitLabel:{type:String,default:"Останнє відвідування"}},data(){return{isDropdownOpen:!1}},computed:{sortedItems(){return[...this.dropdownItems].sort((e,r)=>r.lastVisit-e.lastVisit)},shouldShowBackButton(){return this.backEvent||this.showBackButton&&Ue()}},mounted(){document.addEventListener("click",this.handleClickOutside,!0)},beforeDestroy(){document.removeEventListener("click",this.handleClickOutside,!0)},methods:{handleBack(){if(this.backEvent)return this.backEvent();window.parent.postMessage({type:"exit"},"*")},toggleDropdown(){this.sortedItems.length&&(this.isDropdownOpen=!this.isDropdownOpen)},closeDropdown(){this.isDropdownOpen=!1},selectItem(e){this.$emit("navigate",e.path),this.closeDropdown()},capitalize(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""},getTimeAgo(e){const a=Date.now()-e,b=Math.floor(a/1e3),g=Math.floor(b/60),y=Math.floor(g/60),O=Math.floor(y/24);return O>0?`${O}д тому`:y>0?`${y}год тому`:g>0?`${g}хв тому`:`${b}с тому`},handleClickOutside(e){this.$refs.dropdownRef&&!this.$refs.dropdownRef.contains(e.target)&&this.closeDropdown()}}},xe={};var He=$(je,Xe,qe,!1,Ke,"72fe10ee",null,null);function Ke(e){for(let r in xe)this[r]=xe[r]}const Ge=function(){return He.exports}();var We=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("portal",{attrs:{to:e.to}},[e._t("default")],2)},Ye=[];const Ze={props:{to:{type:String,default:"body"}}},Ce={};var Qe=$(Ze,We,Ye,!1,Je,null,null,null);function Je(e){for(let r in Ce)this[r]=Ce[r]}const $e=function(){return Qe.exports}();var et=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("base-teleport",{attrs:{to:"body"}},[a("transition",{attrs:{name:"modal-fade"}},[e.isOpen?a("div",{staticClass:"sky-modal-overlay",on:{click:function(b){return b.target!==b.currentTarget?null:e.handleOverlayClick.apply(null,arguments)}}},[a("div",{staticClass:"sky-modal",style:e.modalStyle},[a("div",{staticClass:"sky-modal-header"},[a("button",{staticClass:"sky-modal-back",attrs:{title:e.closeTitle},on:{click:e.close}},[a("svg",{attrs:{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"}},[a("path",{attrs:{d:"M19 12H5M12 19l-7-7 7-7","stroke-linecap":"round","stroke-linejoin":"round"}})])]),a("div",{staticClass:"sky-modal-title-wrapper"},[a("h4",{staticClass:"sky-modal-title"},[e._v(e._s(e.title))]),e.subtitle?a("div",{staticClass:"sky-modal-subtitle"},[e._v(e._s(e.subtitle))]):e._e()])]),a("div",{staticClass:"sky-modal-body"},[e._t("default")],2),e.$slots.footer?a("div",{staticClass:"sky-modal-footer"},[e._t("footer")],2):e._e()])]):e._e()])],1)},tt=[];const it={components:{BaseTeleport:$e},name:"Modal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},closeTitle:{type:String,default:"Закрити"},closeOnOverlay:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"},value:{type:Boolean,default:!1}},computed:{modalStyle(){return{width:this.width,height:this.height}}},watch:{modelValue(e){e?document.body.style.overflow="hidden":document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown)},computed:{isOpen:{get(){return this.value},set(e){this.$emit("input",e)}}},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.isOpen=!1,this.$emit("close")},handleOverlayClick(){this.closeOnOverlay&&this.close()},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close()}}},Se={};var ot=$(it,et,tt,!1,st,"1ed4a1aa",null,null);function st(e){for(let r in Se)this[r]=Se[r]}const at=function(){return ot.exports}();var nt=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("transition",{attrs:{name:e.enableAnimation?"dialog-slide":""}},[e.modelValue?a("div",{staticClass:"sky-dialogbox sky-dialogbox-classic",style:[e.zIndex?{"z-index":e.zIndex}:null]},[a("div",{staticClass:"sky-dialog-overlay",class:{"sky-dialog-animate":e.enableAnimation}},[a("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[a("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?a("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]),a("button",{staticClass:"sky-dialog-close",attrs:{title:e.closeText},on:{click:e.close}},[a("svg",{attrs:{viewBox:"0 0 16 16",width:"16",height:"16"}},[a("line",{attrs:{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}}),a("line",{attrs:{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"}})])]),a("div",{staticClass:"sky-dialog-clearfix"}),a("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?a("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?a("div",{staticClass:"sky-dialog-footer",class:{"sky-dialog-footer-animate":e.enableAnimation}},[e._t("buttons")],2):e._e()])])]):e._e()])},rt=[];const lt={name:"DialogModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Закрити"},enableAnimation:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return Be()}catch{return!1}},isAndroid(){try{return Me()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const r=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=r+"px"}}}catch{}}}},Ee={};var dt=$(lt,nt,rt,!1,ct,"dabb1e82",null,null);function ct(e){for(let r in Ee)this[r]=Ee[r]}const ne=function(){return dt.exports}();var ut=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("transition",{attrs:{name:e.enableAnimation?"dialog-slide":""}},[e.modelValue?a("div",{staticClass:"sky-dialogbox sky-dialogbox-next",style:[e.zIndex?{"z-index":e.zIndex}:null]},[a("div",{staticClass:"sky-dialog-overlay",class:{"sky-dialog-animate":e.enableAnimation}},[a("div",{ref:"dialogContent",staticClass:"sky-dialog-content"},[a("button",{staticClass:"sky-dialog-back",attrs:{title:e.closeText},on:{click:e.close}},[a("svg",{staticStyle:{transform:"rotate(90deg)"},attrs:{width:"15",height:"15",viewBox:"0 0 451.847 451.847"}},[a("path",{attrs:{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"}})])]),a("div",{staticClass:"sky-dialog-title",class:{"sky-dialog-title-with-subtitle":e.subtitle}},[e._v(" "+e._s(e.title)+" "),e.subtitle?a("span",{staticClass:"sky-dialog-subtitle"},[e._v(e._s(e.subtitle))]):e._e()]),a("div",{staticClass:"sky-dialog-clearfix"}),a("div",{ref:"dialogPaper",staticClass:"sky-dialog-paper",class:{"sky-dialog-paper-no-footer":!e.showFooter},on:{touchstart:e.handleTouchStart,touchend:e.handleTouchEnd}},[e.isIos?a("div",{staticClass:"sky-dialog-swipe-area"}):e._e(),e._t("default")],2),e.showFooter?a("div",{staticClass:"sky-dialog-footer",class:{"sky-dialog-footer-animate":e.enableAnimation}},[e._t("buttons")],2):e._e()])])]):e._e()])},bt=[];const wt={name:"DialogNext",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Назад"},enableAnimation:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},data(){return{touchStartX:0}},computed:{isIos(){try{return Be()}catch{return!1}},isAndroid(){try{return Me()}catch{return!1}},showFooter(){return this.hasButtons!==null?this.hasButtons:!!this.$slots.buttons}},watch:{modelValue(e){e?(document.body.style.overflow="hidden",this.$nextTick(()=>{this.androidFix()})):document.body.style.overflow=""}},mounted(){document.addEventListener("keydown",this.handleKeydown),window.addEventListener("resize",this.androidFix)},beforeDestroy(){document.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("resize",this.androidFix),document.body.style.overflow=""},methods:{close(){this.$emit("update:modelValue",!1),this.$emit("close")},handleKeydown(e){e.key==="Escape"&&this.closeOnEsc&&this.modelValue&&this.close(),e.key==="Enter"&&this.modelValue&&this.$emit("save")},handleTouchStart(e){e.touches[0].clientX<35&&(this.touchStartX=e.touches[0].clientX)},handleTouchEnd(e){this.touchStartX>0&&this.touchStartX<35&&e.changedTouches[0].clientX-this.touchStartX>50&&this.close(),this.touchStartX=0},androidFix(){if(!(!this.isAndroid||!this.$refs.dialogContent))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const e=Android.getDisplayCutoutTop();if(e&&window.devicePixelRatio>1){const r=e/window.devicePixelRatio;this.$refs.dialogContent.style.paddingTop=r+"px"}}}catch{}}}},Te={};var ht=$(wt,ut,bt,!1,pt,"2773fecb",null,null);function pt(e){for(let r in Te)this[r]=Te[r]}const re=function(){return ht.exports}();var ft=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a(e.dialogComponent,{tag:"component",attrs:{title:e.title,subtitle:e.subtitle,"z-index":e.zIndex,"close-text":e.closeText,"enable-animation":e.enableAnimation,"close-on-esc":e.closeOnEsc,"has-buttons":!!e.$slots.buttons},on:{close:function(b){return e.$emit("close")},save:function(b){return e.$emit("save")}},scopedSlots:e._u([e.$slots.buttons?{key:"buttons",fn:function(){return[e._t("buttons")]},proxy:!0}:null],null,!0),model:{value:e.isOpen,callback:function(b){e.isOpen=b},expression:"isOpen"}},[e._t("default")],2)},mt=[];const vt={name:"Dialog",components:{DialogModal:ne,DialogNext:re},props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},enableAnimation:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:e=>[null,"next","classic"].includes(e)}},data(){return{rocketMode:!0}},computed:{isOpen:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},dialogComponent(){return this.mode==="next"?re:this.mode==="classic"?ne:this.rocketMode?re:ne}},mounted(){try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?this.rocketMode=!1:this.rocketMode=!0}catch{this.rocketMode=!0}}},Oe={};var gt=$(vt,ft,mt,!1,_t,null,null,null);function _t(e){for(let r in Oe)this[r]=Oe[r]}const yt=function(){return gt.exports}();exports.BaseTeleport=$e;exports.Dialog=yt;exports.Header=Ge;exports.Modal=at;
|