@ozdao/prometheus-framework 0.2.242 → 0.2.244
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +571 -583
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +571 -583
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/components/elements/ButtonCheck.vue +16 -9
- package/src/modules/events/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
- package/src/modules/events/components/elements/ButtonCheck1.vue +0 -107
- package/src/modules/events/components/elements/ButtonCheck2.vue +0 -76
@@ -1,40 +1,40 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");function ns(e,t,n,r){function a(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(f){try{c(r.next(f))}catch(u){s(u)}}function d(f){try{c(r.throw(f))}catch(u){s(u)}}function c(f){f.done?i(f.value):a(f.value).then(l,d)}c((r=r.apply(e,[])).next())})}function rs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var os=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n},as=rs(os);const jr="__googleMapsScriptId";var yt;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(yt||(yt={}));let sr=class gt{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:a,id:i=jr,language:s,libraries:l=[],mapIds:d,nonce:c,region:f,retries:u=3,url:m="https://maps.googleapis.com/maps/api/js",version:y}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=a,this.id=i||jr,this.language=s,this.libraries=l,this.mapIds=d,this.nonce=c,this.region=f,this.retries=u,this.url=m,this.version=y,gt.instance){if(!as(this.options,gt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(gt.instance.options)}`);return gt.instance}gt.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?yt.FAILURE:this.done?yt.SUCCESS:this.loading?yt.LOADING:yt.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((n=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(i=>{let s,l,d,c="The Google Maps JavaScript API",f="google",u="importLibrary",m="__ib__",y=document,p=window;p=p[f]||(p[f]={});const g=p.maps||(p.maps={}),v=new Set,C=new URLSearchParams,w=()=>s||(s=new Promise((h,_)=>ns(this,void 0,void 0,function*(){var S;yield l=y.createElement("script"),l.id=this.id,C.set("libraries",[...v]+"");for(d in i)C.set(d.replace(/[A-Z]/g,b=>"_"+b[0].toLowerCase()),i[d]);C.set("callback",f+".maps."+m),l.src=this.url+"?"+C,g[m]=h,l.onerror=()=>s=_(Error(c+" could not load.")),l.nonce=this.nonce||((S=y.querySelector("script[nonce]"))===null||S===void 0?void 0:S.nonce)||"",y.head.append(l)})));g[u]?console.warn(c+" only loads once. Ignoring:",i):g[u]=(h,..._)=>v.add(h)&&w().then(()=>g[u](h,..._))})(r);const a=this.libraries.map(i=>this.importLibrary(i));a.length||a.push(this.importLibrary("core")),Promise.all(a).then(()=>this.callback(),i=>{const s=new ErrorEvent("error",{error:i});this.loadErrorCallback(s)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}};const is={key:0,class:"t-transp mn-r-small"},ss=["placeholder","value"],ls={key:0,class:"mn-t-thin invalid-feedback"},ma={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},locale:{type:String,default:"en"}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null);let i;const s=()=>{const l=i.getPlace();if(!l.geometry||!l.address_components)return;let d="",c="",f="";for(let y=0;y<l.address_components.length;y++){let p=l.address_components[y];p.types.includes("country")&&(d=p.long_name),p.types.includes("administrative_area_level_1")&&(c=p.long_name),p.types.includes("locality")&&(f=p.long_name)}const u=l.formatted_address,m={lat:l.geometry.location.lat(),lng:l.geometry.location.lng()};r("update:address",u),r("update:location",m),r("update:country",d),r("update:state",c),r("update:city",f)};return o.onMounted(()=>{new sr({apiKey:n.apiKey,version:"weekly",libraries:["places"],language:n.locale}).load().then(()=>{i=new google.maps.places.Autocomplete(a.value),i.addListener("place_changed",s)}).catch(d=>{console.error(d)})}),(l,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([l.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",is,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{ref_key:"addressInput",ref:a,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:d[0]||(d[0]=(...c)=>l.onInput&&l.onInput(...c))},null,40,ss),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[l.validation?(o.openBlock(),o.createElementBlock("div",ls," * "+o.toDisplayString(l.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],2))}},ds=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"})),We=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},cs={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},us={class:"circular-loader"},fs=o.createElementVNode("svg",{viewBox:"25 25 50 50"},[o.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),o.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),ms={key:0,class:"progress-text"},ps={key:1,class:"uppercase t-semi w-m-10r status-text"};function hs(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("div",us,[fs,n.progress?(o.openBlock(),o.createElementBlock("div",ms,o.toDisplayString(n.progress),1)):o.createCommentVNode("",!0),n.status?(o.openBlock(),o.createElementBlock("div",ps,o.toDisplayString(n.status),1)):o.createCommentVNode("",!0)])}const Nt=We(cs,[["render",hs]]),$s=Object.freeze(Object.defineProperty({__proto__:null,default:Nt},Symbol.toStringTag,{value:"Module"})),gs=["disabled"],vs={key:0},ys={key:1},bs={key:2,class:"t-semi loading t-black"},Es={key:3,class:"error"},_s={key:0,class:"button-counter"},pa={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},text:{type:Object,default:e=>e={...e.text,success:"✔",error:"✖"}},counter:{type:Object},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},showSucces:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!0},validation:{type:Boolean,default:!1}},emits:["error"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null),i=o.ref(null),s=o.ref(!1),l=o.ref(!1);async function d(){a.value.style["pointer-events"]="none",i.value=null,s.value=!0;const c=()=>{a.value&&(a.value.classList.replace("bg-second","bg-main"),a.value.style.pointerEvents="auto",s.value=!1,l.value=!1,i.value=null)};try{await n.submit(),a.value.classList.replace("bg-main","bg-second"),s.value=!1,n.showSucces?(l.value=!0,setTimeout(c,500)):c(),n.callback&&setTimeout(()=>n.callback(),n.callbackDelay)}catch(f){r("error",f),a.value.classList.replace("bg-main","bg-fourth-nano"),i.value=n.error,setTimeout(()=>{c(),a.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(c,f)=>(o.openBlock(),o.createElementBlock("button",{onClick:o.withModifiers(d,["stop"]),disabled:e.validation,ref_key:"button",ref:a,class:"button"},[o.createVNode(o.Transition,{name:"FromTop"},{default:o.withCtx(()=>[!s.value&&!i.value&&!l.value||!e.showLoader?(o.openBlock(),o.createElementBlock("span",vs,[o.renderSlot(c.$slots,"default")])):s.value&&!i.value&&e.showLoader?(o.openBlock(),o.createElementBlock("span",ys,[o.createVNode(Nt,{class:"pos-relative pos-t-0 pos-l-0 loading"})])):l.value&&e.showSucces?(o.openBlock(),o.createElementBlock("span",bs,o.toDisplayString(e.text.success),1)):i.value?(o.openBlock(),o.createElementBlock("span",Es,o.toDisplayString(i.value),1)):o.createCommentVNode("",!0)]),_:3}),e.counter?(o.openBlock(),o.createElementBlock("p",_s,o.toDisplayString(e.counter),1)):o.createCommentVNode("",!0)],8,gs))}},Cs=Object.freeze(Object.defineProperty({__proto__:null,default:pa},Symbol.toStringTag,{value:"Module"})),Ns={class:"flex-v-center flex-nowrap flex"},Ss={key:0,class:"mn-r-auto t-transp mn-r-small"},Ts=["name","value","checked"],lr={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]},theme:{type:String,default:"light"}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=t,a=i=>{if(Array.isArray(n.radio)){let s=[...n.radio];if(i.target.checked)s.push(n.value);else{const l=s.indexOf(n.value);l!==-1&&s.splice(l,1)}r("update:radio",s)}else typeof n.radio=="boolean"&&r("update:radio",i.target.checked)};return(i,s)=>(o.openBlock(),o.createElementBlock("label",Ns,[e.label?(o.openBlock(),o.createElementBlock("div",Ss,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onChange:a,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,Ts),o.createElementVNode("div",{class:o.normalizeClass(["transition-elastic cursor-pointer mn-l-thin pd-thin h-2r w-4r radius-extra",{"bg-dark":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio)&&e.theme==="dark","bg-light":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio)&&e.theme==="light","bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[o.createElementVNode("div",{class:o.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},Os=Object.freeze(Object.defineProperty({__proto__:null,default:lr},Symbol.toStringTag,{value:"Module"})),dr={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let a=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const i=(r=n.component)==null?void 0:r.name;i&&(a+=` Found in component ${i}`),console.warn(a)}e.clickOutsideEvent=function(a){e===a.target||e.contains(a.target)||t.value(a)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}},ws={key:0,class:"w-100 h-100 flex-center flex"},ks={key:1},Qt={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(e){let t=dr;const n=e,r=o.ref(!1),a=o.computed(()=>typeof n.label=="object");function i(){r.value=!1}return(s,l)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"dropdown pos-relative",onClick:l[0]||(l[0]=o.withModifiers(d=>r.value=!r.value,["stop"]))},[a.value?(o.openBlock(),o.createElementBlock("div",ws,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.label.component),o.mergeProps(e.label.props,{class:e.label.class}),null,16,["class"]))])):(o.openBlock(),o.createElementBlock("div",ks,o.toDisplayString(e.label),1)),o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{style:o.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content radius-big"},[o.renderSlot(s.$slots,"default")],4),[[o.vShow,r.value]])]),_:3})])),[[o.unref(t),i]])}},Ls=Object.freeze(Object.defineProperty({__proto__:null,default:Qt},Symbol.toStringTag,{value:"Module"})),Is={class:"error-wrapper"},Ps={class:"error-card"},ha={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",Is,[o.createElementVNode("div",Ps,[o.createElementVNode("p",null,"Ошибка "+o.toDisplayString(e.error.status),1)])]))}},As=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"})),Ds={key:0,class:"t-transp mn-r-small"},Ms={class:"w-100"},Rs=["type","value","placeholder","tabindex","disabled"],Fs=["value","placeholder","tabindex","disabled"],Bs={key:1,class:"t-transp mn-l-small"},xs={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},Vs={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,value:null,validation:!1,disabled:null,tabindex:-1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=t,r=e;r.value&&n("update:field",r.value);const a=o.ref(null);function i(){var l;a.value&&(a.value.style.height="1rem"),a.value&&(a.value.style.height=((l=a.value)==null?void 0:l.scrollHeight)+"px")}o.onUpdated(()=>{r.type==="textarea"&&o.nextTick(()=>{focus()}),i()}),o.onMounted(()=>{r.type==="textarea"&&o.nextTick(()=>{focus()}),i()});const s=o.ref(r.field);return(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Ds,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",Ms,[e.type!=="textarea"?(o.openBlock(),o.createElementBlock("input",{key:0,onInput:d[0]||(d[0]=c=>s.value=n("update:field",c.target.value)),onFocus:d[1]||(d[1]=c=>n("focus",c)),onBlur:d[2]||(d[2]=c=>n("blur",c)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex,disabled:e.disabled},null,40,Rs)):(o.openBlock(),o.createElementBlock("textarea",{key:1,ref_key:"textarea",ref:a,onInput:d[3]||(d[3]=c=>s.value=n("update:field",c.target.value)),onFocus:d[4]||(d[4]=c=>n("focus",c)),onBlur:d[5]||(d[5]=c=>n("blur",c)),class:"w-100",style:{resize:"vertical"},value:e.field,placeholder:e.placeholder,tabindex:e.tabindex,disabled:e.disabled},null,40,Fs))]),o.renderSlot(l.$slots,"default",{},void 0,!0),e.symbol?(o.openBlock(),o.createElementBlock("div",Bs,[o.createElementVNode("span",null,o.toDisplayString(e.symbol),1)])):o.createCommentVNode("",!0)],2),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",xs," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},cn=We(Vs,[["__scopeId","data-v-5659d4ce"]]),Us=Object.freeze(Object.defineProperty({__proto__:null,default:cn},Symbol.toStringTag,{value:"Module"})),js={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function Hs(e,t){var n=Array.prototype.slice.call(t);return n.push(js),e.apply(this,n)}function Mn(e){"@babel/helpers - typeof";return Mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mn(e)}function Gs(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dt(e,t)}function zs(e){var t=ga();return function(){var r=Mt(e),a;if(t){var i=Mt(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return Ys(this,a)}}function Ys(e,t){if(t&&(Mn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $a(e)}function $a(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rn(e){var t=typeof Map=="function"?new Map:void 0;return Rn=function(r){if(r===null||!qs(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return Yt(r,arguments,Mt(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Dt(a,r)},Rn(e)}function Yt(e,t,n){return ga()?Yt=Reflect.construct:Yt=function(a,i,s){var l=[null];l.push.apply(l,i);var d=Function.bind.apply(a,l),c=new d;return s&&Dt(c,s.prototype),c},Yt.apply(null,arguments)}function ga(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Dt(e,t){return Dt=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},Dt(e,t)}function Mt(e){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mt(e)}var Je=function(e){Ws(n,e);var t=zs(n);function n(r){var a;return Ks(this,n),a=t.call(this,r),Object.setPrototypeOf($a(a),n.prototype),a.name=a.constructor.name,a}return Gs(n)}(Rn(Error)),cr=2,Xs=17,Js=3,je="0-90-9٠-٩۰-۹",Zs="-‐-―−ー-",Qs="//",el="..",tl=" ",nl="()()[]\\[\\]",rl="~⁓∼~",en="".concat(Zs).concat(Qs).concat(el).concat(tl).concat(nl).concat(rl),ur="++";function Hr(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),s=Number(r[a]);if(i>s)return 1;if(s>i)return-1;if(!isNaN(i)&&isNaN(s))return 1;if(isNaN(i)&&!isNaN(s))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var ol={}.constructor;function qt(e){return e!=null&&e.constructor===ol}function Fn(e){"@babel/helpers - typeof";return Fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fn(e)}function un(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function al(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fn(e,t,n){return t&&al(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var il="1.2.0",sl="1.7.35",Gr=" ext. ",ll=/^\d+$/,we=function(){function e(t){un(this,e),fl(t),this.metadata=t,va.call(this,t)}return fn(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&ll.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Kr(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Kr(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var a=this.nonGeographic()[n];if(a)return a}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Kr=function(){function e(t,n){un(this,e),this.globalMetadataObject=n,this.metadata=t,va.call(this,n.metadata)}return fn(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(a){return new dl(a,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Wr(this.types(),n))return new ul(Wr(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Gr:this.metadata[13]||Gr}}]),e}(),dl=function(){function e(t,n){un(this,e),this._format=t,this.metadata=n}return fn(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!cl.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),cl=/^\(?\$1\)?$/,ul=function(){function e(t,n){un(this,e),this.type=t,this.metadata=n}return fn(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Wr(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function fl(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!qt(e)||!qt(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(qt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+ml(e)+": "+e,"."))}var ml=function(t){return Fn(t)};function fr(e,t){if(t=new we(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function pl(e,t){return t.countries.hasOwnProperty(e)}function va(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Hr(t,il)===-1?this.v2=!0:Hr(t,sl)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var hl=";ext=",$t=function(t){return"([".concat(je,"]{1,").concat(t,"})")};function ya(e){var t="20",n="15",r="9",a="6",i="[ \\t,]*",s="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",f="[- ]+",u="[ \\t]*",m="(?:,{2}|;)",y=hl+$t(t),p=i+d+s+$t(t)+l,g=i+c+s+$t(r)+l,v=f+$t(a)+"#",C=u+m+s+$t(n)+l,w=u+"(?:,)+"+s+$t(r)+l;return y+"|"+p+"|"+g+"|"+v+"|"+C+"|"+w}var $l="["+je+"]{"+cr+"}",gl="["+ur+"]{0,1}(?:["+en+"]*["+je+"]){3,}["+en+je+"]*",vl=new RegExp("^["+ur+"]{0,1}(?:["+en+"]*["+je+"]){1,2}$","i"),yl=gl+"(?:"+ya()+")?",bl=new RegExp("^"+$l+"$|^"+yl+"$","i");function El(e){return e.length>=cr&&bl.test(e)}function _l(e){return vl.test(e)}var zr=new RegExp("(?:"+ya()+")$","i");function Cl(e){var t=e.search(zr);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(zr),a=1;a<r.length;){if(r[a])return{number:n,ext:r[a]};a++}}var Nl={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Sl(e){return Nl[e]}function Tl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ol(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ol(e,t){if(e){if(typeof e=="string")return Yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yr(e,t)}}function Yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qr(e){for(var t="",n=Tl(e.split("")),r;!(r=n()).done;){var a=r.value;t+=wl(a,t)||""}return t}function wl(e,t,n){return e==="+"?t?void 0:"+":Sl(e)}function
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pl(e,t){if(e){if(typeof e=="string")return Xr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xr(e,t)}}function Xr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Al=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gl(e,t){if(e){if(typeof e=="string")return Jr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jr(e,t)}}function Jr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zr(Object(n),!0).forEach(function(r){Kl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Kl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eo={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function Wl(e,t,n,r){if(n?n=Qr(Qr({},eo),n):n=eo,r=new we(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var a=r.countryCallingCode(),i=n.v2?e.nationalNumber:e.phone,s;switch(t){case"NATIONAL":return i?(s=tn(i,e.carrierCode,"NATIONAL",r,n),
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xd(e,t){if(e){if(typeof e=="string")return co(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return co(e,t)}}function co(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,s,l;try{for(n=n.call(e);!(a=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));a=!0);}catch(d){i=!0,l=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function Ud(e){if(Array.isArray(e))return e}function jd(e){var t=Array.prototype.slice.call(e),n=Fd(t,4),r=n[0],a=n[1],i=n[2],s=n[3],l,d,c;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!a||typeof a=="string")s?(d=i,c=s):(d=void 0,c=i),a&&(d=Md({defaultCountry:a},d));else if(qt(a))i?(d=a,c=i):c=a;else throw new Error("Invalid second argument: ".concat(a));return{text:l,options:d,metadata:c}}function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uo(Object(n),!0).forEach(function(r){Hd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gd(e,t,n){t&&t.defaultCountry&&!pl(t.defaultCountry,n)&&(t=fo(fo({},t),{},{defaultCountry:void 0}));try{return Dd(e,t,n)}catch(r){if(!(r instanceof Je))throw r}}function Kd(){var e=jd(arguments),t=e.text,n=e.options,r=e.metadata;return Gd(t,n,r)}function Tn(){return Hs(Kd,arguments)}const Wd=[["افغانستان","af","93",,"🇦🇫"],["Shqipëri","al","355",,"🇦🇱"],["الجزائر","dz","213",,"🇩🇿"],["American Samoa","as","1684",,"🇦🇸"],["Andorra","ad","376",,"🇦🇩"],["Angola","ao","244",,"🇦🇴"],["Anguilla","ai","1264",,"🇦🇮"],["Antigua and Barbuda","ag","1268",,"🇦🇬"],["Argentina","ar","54",,"🇦🇷"],["Հայաստան","am","374",,"🇦🇲"],["Aruba","aw","297",,"🇦🇼"],["Australia","au","61",0,,"🇦🇺"],["Österreich","at","43",,"🇦🇹"],["Azərbaycan","az","994",,"🇦🇿"],["Bahamas","bs","1242",,"🇧🇸"],["البحرين","bh","973",,"🇧🇭"],["বাংলাদেশ","bd","880",,"🇧🇩"],["Barbados","bb","1246",,"🇧🇧"],["Беларусь","by","375",,"🇧🇾"],["België","be","32",,"🇧🇪"],["Belize","bz","501",,"🇧🇿"],["Bénin","bj","229",,"🇧🇯"],["Bermuda","bm","1441",,"🇧🇲"],["འབྲུག","bt","975",,"🇧🇹"],["Bolivia","bo","591",,"🇧🇴"],["Босна и Херцеговина","ba","387",,"🇧🇦"],["Botswana","bw","267",,"🇧🇼"],["Brasil","br","55",,"🇧🇷"],["British Indian Ocean Territory","io","246",,"🇮🇴"],["British Virgin Islands","vg","1284",,"🇻🇬"],["Brunei","bn","673",,"🇧🇳"],["България","bg","359",,"🇧🇬"],["Burkina Faso","bf","226",,"🇧🇫"],["Uburundi","bi","257",,"🇧🇮"],["កម្ពុជា","kh","855",,"🇰🇭"],["Cameroun","cm","237",,"🇨🇲"],["Canada","ca","1",1,"🇨🇦"],["Kabu Verdi","cv","238",,"🇨🇻"],["Caribbean Netherlands","bq","599",1,,"🇧🇶"],["Cayman Islands","ky","1345",,"🇰🇾"],["République centrafricaine","cf","236",,"🇨🇫"],["Tchad","td","235",,"🇹🇩"],["Chile","cl","56",,"🇨🇱"],["中国","cn","86",,"🇨🇳"],["Christmas Island","cx","61",2,,"🇨🇽"],["Keeling","cc","61",1,,"🇨🇨"],["Colombia","co","57",,"🇨🇴"],["جزر القمر","km","269",,"🇰🇲"],["DRC","cd","243",,"🇨🇩"],["Republic","cg","242",,"🇨🇬"],["Cook Islands","ck","682",,"🇨🇰"],["Costa Rica","cr","506",,"🇨🇷"],["Côte d’Ivoire","ci","225",,"🇨🇮"],["Hrvatska","hr","385",,"🇭🇷"],["Cuba","cu","53",,"🇨🇺"],["Curaçao","cw","599",0,,"🇨🇼"],["Κύπρος","cy","357",,"🇨🇾"],["Česká republika","cz","420",,"🇨🇿"],["Danmark","dk","45",,"🇩🇰"],["Djibouti","dj","253",,"🇩🇯"],["Dominica","dm","1767",,"🇩🇲"],["República Dominicana","do","1",2,["809","829","849","🇩🇴"]],["Ecuador","ec","593",,"🇪🇨"],["مصر","eg","20",,"🇪🇬"],["El Salvador","sv","503",,"🇸🇻"],["Guinea Ecuatorial","gq","240",,"🇬🇶"],["Eritrea","er","291",,"🇪🇷"],["Eesti","ee","372",,"🇪🇪"],["Ethiopia","et","251",,"🇪🇹"],["Islas Malvinas","fk","500",,"🇫🇰"],["Føroyar","fo","298",,"🇫🇴"],["Fiji","fj","679",,"🇫🇯"],["Suomi","fi","358",0,,"🇫🇮"],["France","fr","33",,"🇫🇷"],["Guyane française","gf","594",,"🇬🇫"],["Polynésie française","pf","689",,"🇵🇫"],["Gabon","ga","241",,"🇬🇦"],["Gambia","gm","220",,"🇬🇲"],["საქართველო","ge","995",,"🇬🇪"],["Deutschland","de","49",,"🇩🇪"],["Gaana","gh","233",,"🇬🇭"],["Gibraltar","gi","350",,"🇬🇮"],["Ελλάδα","gr","30",,"🇬🇷"],["Kalaallit Nunaat","gl","299",,"🇬🇱"],["Grenada","gd","1473",,"🇬🇩"],["Guadeloupe","gp","590",0,,"🇬🇵"],["Guam","gu","1671",,"🇬🇺"],["Guatemala","gt","502",,"🇬🇹"],["Guernsey","gg","44",1,,"🇬🇬"],["Guinée","gn","224",,"🇬🇳"],["Guiné Bissau","gw","245",,"🇬🇼"],["Guyana","gy","592",,"🇬🇾"],["Haiti","ht","509",,"🇭🇹"],["Honduras","hn","504",,"🇭🇳"],["香港","hk","852",,"🇭🇰"],["Magyarország","hu","36",,"🇭🇺"],["Ísland","is","354",,"🇮🇸"],["भारत","in","91",,"🇮🇳"],["Indonesia","id","62",,"🇮🇩"],["ایران","ir","98",,"🇮🇷"],["العراق","iq","964",,"🇮🇶"],["Ireland","ie","353",,"🇮🇪"],["Isle of Man","im","44",2,,"🇮🇲"],["ישראל","il","972",,"🇮🇱"],["Italia","it","39",0,,"🇮🇹"],["Jamaica","jm","1876",,"🇯🇲"],["日本","jp","81",,"🇯🇵"],["Jersey","je","44",3,,"🇯🇪"],["الأردن","jo","962",,"🇯🇴"],["Казахстан","kz","7",1,,"🇰🇿"],["Kenya","ke","254",,"🇰🇪"],["Kiribati","ki","686",,"🇰🇮"],["Kosovo","xk","383",,"🇽🇰"],["الكويت","kw","965",,"🇰🇼"],["Кыргызстан","kg","996",,"🇰🇬"],["ລາວ","la","856",,"🇱🇦"],["Latvija","lv","371",,"🇱🇻"],["لبنان","lb","961",,"🇱🇧"],["Lesotho","ls","266",,"🇱🇸"],["Liberia","lr","231",,"🇱🇷"],["ليبيا","ly","218",,"🇱🇾"],["Liechtenstein","li","423",,"🇱🇮"],["Lietuva","lt","370",,"🇱🇹"],["Luxembourg","lu","352",,"🇱🇺"],["澳門","mo","853",,"🇲🇴"],["FYROM","mk","389",,"🇲🇰"],["Madagasikara","mg","261",,"🇲🇬"],["Malawi","mw","265",,"🇲🇼"],["Malaysia","my","60",,"🇲🇾"],["Maldives","mv","960",,"🇲🇻"],["Mali","ml","223",,"🇲🇱"],["Malta","mt","356",,"🇲🇹"],["Marshall Islands","mh","692",,"🇲🇭"],["Martinique","mq","596",,"🇲🇶"],["موريتانيا","mr","222",,"🇲🇷"],["Moris","mu","230",,"🇲🇺"],["Mayotte","yt","262",1,,"🇾🇹"],["México","mx","52",,"🇲🇽"],["Micronesia","fm","691",,"🇫🇲"],["Republica Moldova","md","373",,"🇲🇩"],["Monaco","mc","377",,"🇲🇨"],["Монгол","mn","976",,"🇲🇳"],["Crna Gora","me","382",,"🇲🇪"],["Montserrat","ms","1664",,"🇲🇸"],["المغرب","ma","212",0,,"🇲🇦"],["Moçambique","mz","258",,"🇲🇿"],["Burma","mm","95",,"🇲🇲"],["Namibië","na","264",,"🇳🇦"],["Nauru","nr","674",,"🇳🇷"],["नेपाल","np","977",,"🇳🇵"],["Nederland","nl","31",,"🇳🇱"],["Nouvelle-Calédonie","nc","687",,"🇳🇨"],["New Zealand","nz","64",,"🇳🇿"],["Nicaragua","ni","505",,"🇳🇮"],["Nijar","ne","227",,"🇳🇪"],["Nigeria","ng","234",,"🇳🇬"],["Niue","nu","683",,"🇳🇺"],["Norfolk Island","nf","672",,"🇳🇫"],["조선 민주주의 인민 공화국","kp","850",,"🇰🇵"],["Northern Mariana Islands","mp","1670",,"🇲🇵"],["Norge","no","47",0,,"🇳🇴"],["عُمان","om","968",,"🇴🇲"],["پاکستان","pk","92",,"🇵🇰"],["Palau","pw","680",,"🇵🇼"],["فلسطين","ps","970",,"🇵🇸"],["Panamá","pa","507",,"🇵🇦"],["Papua New Guinea","pg","675",,"🇵🇬"],["Paraguay","py","595",,"🇵🇾"],["Perú","pe","51",,"🇵🇪"],["Philippines","ph","63",,"🇵🇭"],["Polska","pl","48",,"🇵🇱"],["Portugal","pt","351",,"🇵🇹"],["Puerto Rico","pr","1",3,["787","939","🇵🇷"]],["قطر","qa","974",,"🇶🇦"],["La Réunion","re","262",0,,"🇷🇪"],["România","ro","40",,"🇷🇴"],["Россия","ru","7",0,,"🇷🇺"],["Rwanda","rw","250",,"🇷🇼"],["Saint Barthélemy","bl","590",1,,"🇧🇱"],["Saint Helena","sh","290",,"🇸🇭"],["Saint Kitts and Nevis","kn","1869",,"🇰🇳"],["Saint Lucia","lc","1758",,"🇱🇨"],["Saint-Martin (partie française","mf","590",2,,"🇲🇫"],["Saint-Pierre-et-Miquelon","pm","508",,"🇵🇲"],["Saint Vincent and the Grenadines","vc","1784",,"🇻🇨"],["Samoa","ws","685",,"🇼🇸"],["San Marino","sm","378",,"🇸🇲"],["São Tomé e Príncipe","st","239",,"🇸🇹"],["المملكة العربية السعودية","sa","966",,"🇸🇦"],["Sénégal","sn","221",,"🇸🇳"],["Србија","rs","381",,"🇷🇸"],["Seychelles","sc","248",,"🇸🇨"],["Sierra Leone","sl","232",,"🇸🇱"],["Singapore","sg","65",,"🇸🇬"],["Sint Maarten","sx","1721",,"🇸🇽"],["Slovensko","sk","421",,"🇸🇰"],["Slovenija","si","386",,"🇸🇮"],["Solomon Islands","sb","677",,"🇸🇧"],["Soomaaliya","so","252",,"🇸🇴"],["South Africa","za","27",,"🇿🇦"],["대한민국","kr","82",,"🇰🇷"],["جنوب السودان","ss","211",,"🇸🇸"],["España","es","34",,"🇪🇸"],["ශ්රී ලංකාව","lk","94",,"🇱🇰"],["السودان","sd","249",,"🇸🇩"],["Suriname","sr","597",,"🇸🇷"],["Svalbard and Jan Mayen","sj","47",1,,"🇸🇯"],["Swaziland","sz","268",,"🇸🇿"],["Sverige","se","46",,"🇸🇪"],["Schweiz","ch","41",,"🇨🇭"],["سوريا","sy","963",,"🇸🇾"],["台灣","tw","886",,"🇹🇼"],["Tajikistan","tj","992",,"🇹🇯"],["Tanzania","tz","255",,"🇹🇿"],["ไทย","th","66",,"🇹🇭"],["Timor-Leste","tl","670",,"🇹🇱"],["Togo","tg","228",,"🇹🇬"],["Tokelau","tk","690",,"🇹🇰"],["Tonga","to","676",,"🇹🇴"],["Trinidad and Tobago","tt","1868",,"🇹🇹"],["تونس","tn","216",,"🇹🇳"],["Türkiye","tr","90",,"🇹🇷"],["Turkmenistan","tm","993",,"🇹🇲"],["Turks and Caicos Islands","tc","1649",,"🇹🇨"],["Tuvalu","tv","688",,"🇹🇻"],["U.S. Virgin Islands","vi","1340",,"🇻🇮"],["Uganda","ug","256",,"🇺🇬"],["Україна","ua","380",,"🇺🇦"],["الإمارات العربية المتحدة","ae","971",,"🇦🇪"],["United Kingdom","gb","44",0,,"🇬🇧"],["United States","us","1",0,,"🇺🇸"],["Uruguay","uy","598",,"🇺🇾"],["Oʻzbekiston","uz","998",,"🇺🇿"],["Vanuatu","vu","678",,"🇻🇺"],["Città del Vaticano","va","39",1,,"🇻🇦"],["Venezuela","ve","58",,"🇻🇪"],["Việt Nam","vn","84",,"🇻🇳"],["Wallis-et-Futuna","wf","681",,"🇼🇫"],["الصحراء الغربية","eh","212",1,,"🇪🇭"],["اليمن","ye","967",,"🇾🇪"],["Zambia","zm","260",,"🇿🇲"],["Zimbabwe","zw","263",,"🇿🇼"],["Åland Islands","ax","358",1,,"🇦🇽"]],zd=Wd.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null})),Yd=["tabindex"],qd={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Xd=["innerHTML"],Jd={key:1,class:"vti__country-code"},Zd=["onClick","onMousemove"],Qd=["innerHTML"],ec={key:1},tc=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],nc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},_a={__name:"FieldPhone",props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>zd},autoFormat:{type:Boolean,default:()=>!0},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>!1},defaultCountry:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},autoDefaultCountry:{type:Boolean,default:()=>!0},ignoredCountries:{type:Array,default:()=>[]},invalidMsg:{type:String,default:()=>""},mode:{type:String,default:()=>"auto"},onlyCountries:{type:Array,default:()=>[]},preferredCountries:{type:Array,default:()=>[]},validCharactersOnly:{type:Boolean,default:()=>!1},rootClass:{type:[String,Array,Object],default:()=>""},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""},dropdownOptions:{type:Object,default:()=>({showDialCodeInList:!0,showDialCodeInSelection:!1,showFlags:!0,tabindex:0})},inputOptions:{type:Object,default:()=>({autocomplete:"on",autofocus:!1,id:"",maxlength:25,name:"telephone",placeholder:"Enter a phone number",readonly:!1,required:!1,tabindex:0,type:"tel",styleClasses:""})}},emits:["update:modelValue","change","validate","country-changed","open","close","blur","focus","enter","space"],setup(e,{emit:t}){let n=dr;const r=e,a=t;o.ref(5),o.ref(5),o.reactive({action:null,amount:null});const i=o.ref(r.modelValue?r.modelValue:""),s=o.ref(""),l=o.ref(!1),d=o.ref(!1),c=o.ref(null),f=o.ref(""),u=o.ref(null),m=o.ref("below"),y=o.ref(r.Placeholder!==""?r.Placeholder:r.inputOptions.placeholder),p=o.ref(null),g=o.ref(null),v=o.ref(null);o.onMounted(async()=>{r.modelValue&&(i.value=r.modelValue),be(),te().then(()=>{var P;!i.value&&((P=r.inputOptions)!=null&&P.showDialCode)&&s.value&&(i.value=`+${s.value}`),a("validate",b.value)}).catch(console.error).then(()=>{d.value=!0})});const C=o.computed(()=>J(s.value)),w=o.computed(()=>C.value?C.value.flag:null),h=o.computed(()=>r.mode==="auto"?!i.value||i.value[0]!=="+"?"national":"international":["international","national"].includes(r.mode)?r.mode:(console.error('Invalid value of prop "mode"'),"international")),_=o.computed(()=>r.onlyCountries&&r.onlyCountries.length?r.allCountries.filter(({iso2:P})=>r.onlyCountries.includes(P.toUpperCase())):r.ignoredCountries&&r.ignoredCountries.length?r.allCountries.filter(({iso2:P})=>!r.ignoredCountries.includes(P.toUpperCase())&&!r.ignoredCountries.includes(P.toLowerCase())):r.allCountries),S=o.computed(()=>[...$e(r.preferredCountries).map(O=>({...O,preferred:!0})),..._.value]),b=o.computed(()=>{var fe,_e,$;let P={};((fe=i.value)==null?void 0:fe[0])==="+"?P=Tn(i.value)||{}:P=Tn(i.value,s.value)||{};const{metadata:O,...F}=P;let z=(_e=P.isValid)==null?void 0:_e.call(P),oe=i.value;return z&&(oe=($=P.format)==null?void 0:$.call(P,h.value.toUpperCase(),{nationalPrefix:!1})),P.country&&(r.ignoredCountries.length||r.onlyCountries.length)&&(J(P.country)||(z=!1,P={...P,country:null})),{...F,countryCode:P.country,valid:z,country:C.value,formatted:oe}}),T=o.computed(()=>b.value.valid===!0?r.goodClass:b.value.valid===!1?r.badClass:void 0),I=o.computed(()=>b.value.valid===!0?r.goodStyle:b.value.valid===!1?r.badStyle:void 0),N=o.computed(()=>b.value.valid===!0?r.goodInputClass:b.value.valid===!1?r.badInputClass:void 0),D=o.computed(()=>b.value.valid===!0?r.goodInputStyle:b.value.valid===!1?r.badInputStyle:void 0);o.watch(C,(P,O)=>{if(!P&&(O!=null&&O.iso2)){s.value=O.iso2;return}P!=null&&P.iso2&&(a("country-changed",P),j())}),o.watch(()=>b.value.countryCode,P=>{s.value=P}),o.watch(()=>b.value.valid,()=>{a("validate",b.value)}),o.watch(()=>b.value.formatted,P=>{!r.autoFormat||r.customValidate||(ue(P),o.nextTick(()=>{P&&!r.modelValue&&(i.value=P)}))}),o.watch(()=>r.inputOptions.placeholder,()=>{j()}),o.watch(()=>r.modelValue,(P,O)=>{Se()?i.value=P:o.nextTick(()=>{i.value=O,se()})}),o.watch(l,P=>{P?(V(),a("open")):a("close")});function R(){return fetch("https://ip2c.org/s").then(P=>P.text()).then(P=>{const O=(P||"").toString();if(!O||O[0]!=="1")throw new Error("unable to fetch the country");return O.substr(2,2)})}function B(P,O){if(P.setSelectionRange)P.focus(),P.setSelectionRange(O,O);else if(P.createTextRange){const F=P.createTextRange();F.collapse(!0),F.moveEnd("character",O),F.moveStart("character",O),F.select()}}function j(){y.value=r.inputOptions.placeholder}function te(){return new Promise(P=>{var F;if(((F=i.value)==null?void 0:F[0])==="+"){P();return}if(r.defaultCountry){ce(r.defaultCountry),P();return}const O=r.preferredCountries[0]||_.value[0];r.autoDefaultCountry?R().then(z=>{ce(z||s.value)}).catch(z=>{console.warn(z),ce(O)}).finally(()=>{P()}):(ce(O),P())})}function $e(P=[]){return P.map(O=>J(O)).filter(Boolean)}function J(P=""){return _.value.find(O=>O.iso2===P.toUpperCase())}function ye(P,O){const F=c.value===P,z=P===r.preferredCountries.length-1,oe=r.preferredCountries.some(fe=>fe.toUpperCase()===O);return{highlighted:F,"last-preferred":z,preferred:oe}}function ce(P){var F,z;let O=typeof P=="string"?J(P):P;if(O){if(((F=i.value)==null?void 0:F[0])==="+"&&O.iso2&&b.value.nationalNumber){s.value=O.iso2,i.value=Tn(b.value.nationalNumber,O.iso2).formatInternational();return}if((z=r.inputOptions)!=null&&z.showDialCode&&O){i.value=`+${O.dialCode}`;return}s.value=O.iso2,ue(i.value)}}function be(){const P=i.value;if(r.validCharactersOnly){const O=i.value.match(/[()\-+0-9\s]*/g);i.value=O.join("")}if(r.customValidate&&r.customValidate instanceof RegExp){const O=i.value.match(r.customValidate);i.value=O?O.join(""):""}P!==i.value&&ue(i.value)}function Se(){return r.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(i.value)?!1:r.customValidate?Ee():!0}function Ee(){return r.customValidate instanceof RegExp?r.customValidate.test(i.value):!1}function se(){v.value.setCustomValidity(b.valid?"":r.invalidMsg),ue(i.value)}function ue(P){a("update:modelValue",P),b.value.valid?(a("change",b.value.number),a("country",b.value.number)):a("country",null)}function ke(){a("blur")}function De(){B(v.value,i.value.length),a("focus")}function me(){a("enter")}function ge(){a("space")}function le(){r.disabled||(l.value=!l.value)}function Le(){l.value=!1}function pe(P){P.keyCode===40?(P.preventDefault(),l.value=!0,c.value=c.value===null?0:Math.min(S.value.length-1,c.value+1),o.nextTick(()=>{const O=g.value.children[c.value];O.offsetTop+O.clientHeight>g.value.scrollTop+g.value.clientHeight&&(g.value.scrollTop=O.offsetTop-g.value.clientHeight+O.clientHeight)})):P.keyCode===38?(P.preventDefault(),l.value=!0,c.value=c.value===null?S.value.length-1:Math.max(0,c.value-1),o.nextTick(()=>{const O=g.value.children[c.value];O.offsetTop<g.value.scrollTop&&(g.value.scrollTop=O.offsetTop)})):P.keyCode===13?(P.preventDefault(),c.value!==null&&ce(S.value[c.value]),l.value=!l.value):(f.value+=P.key,clearTimeout(u),u=setTimeout(()=>{f.value=""},700),o.nextTick(()=>{const O=S.value.slice(r.preferredCountries.length).findIndex(F=>F.name.toLowerCase().startsWith(f.value));if(O>=0){c.value=r.preferredCountries.length+O;const F=g.value.children[c.value];(F.offsetTop<g.value.scrollTop||F.offsetTop+F.clientHeight>g.value.scrollTop+g.value.clientHeight)&&(g.value.scrollTop=F.offsetTop-g.value.clientHeight/2)}}))}function X(){c.value=S.value.map(P=>P.iso2).indexOf(s.value),l.value=!1}function V(){const O=window.innerHeight-p.value.getBoundingClientRect().bottom>200;m.value=O?"below":"above"}return(P,O)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[e.rootClass,T.value,P.$attrs.class,{"bg-fourth-nano":e.validation},{disabled:e.disabled}],"vue3-reactive-tel-input"]),style:o.normalizeStyle([e.rootStyle,I.value]),ref_key:"rootElement",ref:p},[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([["vti__dropdown",{open:l.value}],"br-solid br-black-transp br-1px radius-thin"]),style:o.normalizeStyle([e.dropdownStyle]),tabindex:e.dropdownOptions.tabindex,onKeydown:[pe,o.withKeys(X,["esc"])],onClick:le},[o.createElementVNode("span",qd,[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:w.value,class:"mn-r-nano"},null,8,Xd)):o.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(o.openBlock(),o.createElementBlock("span",Jd," +"+o.toDisplayString(C.value&&C.value.dialCode),1)):o.createCommentVNode("",!0)]),o.withDirectives(o.createElementVNode("ul",{ref_key:"list",ref:g,class:o.normalizeClass(["bs-black radius-small vti__dropdown-list",m.value]),style:o.normalizeStyle([e.listStyle])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(S.value,(F,z)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",ye(z,F.iso2)]]),key:F.iso2+(F.preferred?"-preferred":""),onClick:oe=>ce(F),onMousemove:oe=>c.value=z},[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:F.flag,class:"mn-r-thin"},null,8,Qd)):o.createCommentVNode("",!0),o.createElementVNode("strong",null,o.toDisplayString(F.name),1),e.dropdownOptions.showDialCodeInList?(o.openBlock(),o.createElementBlock("span",ec," +"+o.toDisplayString(F.dialCode),1)):o.createCommentVNode("",!0)],42,Zd))),128))],6),[[o.vShow,l.value]])],46,Yd)),[[o.unref(n),Le]]),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":O[0]||(O[0]=F=>i.value=F),inputmode:"numeric",pattern:"\\d*",ref_key:"input",ref:v,type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:o.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,N.value]),style:o.normalizeStyle([e.inputStyle,D.value]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:y.value,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:ke,onFocus:De,onInput:se,onKeyup:[o.withKeys(me,["enter"]),o.withKeys(ge,["space"])]},null,46,tc),[[o.vModelDynamic,i.value]]),o.renderSlot(P.$slots,"default")],6),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",nc," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},rc=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"})),oc={class:"pos-relative"},ac={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ic=o.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"rgb(var(--white))"},null,-1),sc=o.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"rgb(var(--white))"},null,-1),lc=[ic,sc],Ca={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String,locale:{type:String,default:"en"}},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null),i=o.ref(!1);let s,l;o.onMounted(()=>{new sr({apiKey:n.apiKey,version:"weekly",libraries:["places"],language:n.locale}).load().then(()=>{s=new google.maps.Map(a.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),l=new google.maps.Marker({position:n.location,map:s,draggable:!0}),l.addListener("dragend",u=>{const m={lat:u.latLng.lat(),lng:u.latLng.lng()};r("update:location",m),d(m)})}).catch(u=>{console.error(u)})}),o.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),o.watchEffect(()=>{if(n.location&&s){const f=new google.maps.LatLng(n.location.lat,n.location.lng);s.setCenter(f),s.setZoom(15)}});function d(f){new google.maps.Geocoder().geocode({location:f},(m,y)=>{if(y==="OK")if(m[0]){r("update:address",m[0].formatted_address);let p="",g="",v="";m[0].address_components.forEach(C=>{C.types.includes("country")&&(p=C.long_name),C.types.includes("administrative_area_level_1")&&(g=C.long_name),C.types.includes("locality")&&(v=C.long_name)}),r("update:country",p),r("update:state",g),r("update:city",v)}else console.error("No results found");else console.error("Geocoder failed due to: "+y)})}async function c(){i.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(f=>{const u={lat:f.coords.latitude,lng:f.coords.longitude};r("update:location",u),d(u),i.value=!1},()=>{console.error("Error getting location"),i.value=!1}):(console.error("Geolocation is not supported by this browser."),i.value=!1)}return(f,u)=>(o.openBlock(),o.createElementBlock("div",oc,[o.createElementVNode("div",{ref_key:"mapContainer",ref:a,class:"w-100 h-100"},null,512),o.createElementVNode("button",{class:"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",onClick:c},[o.createVNode(o.Transition,{name:"ScaleOut",mode:"out-in"},{default:o.withCtx(()=>[i.value?(o.openBlock(),o.createBlock(Nt,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(o.openBlock(),o.createElementBlock("svg",ac,lc))]),_:1})])]))}},dc=Object.freeze(Object.defineProperty({__proto__:null,default:Ca},Symbol.toStringTag,{value:"Module"})),cc={__name:"Map",props:{location:Object,apiKey:String,locale:String},setup(e){const t=e;let n=o.ref(null),r=null,a=null;return o.onMounted(async()=>{new sr({apiKey:t.apiKey,version:"weekly",libraries:["places"],language:t.locale}).load().then(()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),a=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}).catch(s=>{console.error(s)})}),o.watch(()=>t.location,()=>{r&&a&&(a.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(i,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Na=We(cc,[["__scopeId","data-v-786189a4"]]),uc=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"}));/*!
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");function rs(e,t,n,r){function a(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(f){try{u(r.next(f))}catch(c){s(c)}}function d(f){try{u(r.throw(f))}catch(c){s(c)}}function u(f){f.done?i(f.value):a(f.value).then(l,d)}u((r=r.apply(e,[])).next())})}function os(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var as=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n},is=os(as);const jr="__googleMapsScriptId";var yt;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(yt||(yt={}));let lr=class gt{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:a,id:i=jr,language:s,libraries:l=[],mapIds:d,nonce:u,region:f,retries:c=3,url:m="https://maps.googleapis.com/maps/api/js",version:y}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=a,this.id=i||jr,this.language=s,this.libraries=l,this.mapIds=d,this.nonce=u,this.region=f,this.retries=c,this.url=m,this.version=y,gt.instance){if(!is(this.options,gt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(gt.instance.options)}`);return gt.instance}gt.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?yt.FAILURE:this.done?yt.SUCCESS:this.loading?yt.LOADING:yt.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((n=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(i=>{let s,l,d,u="The Google Maps JavaScript API",f="google",c="importLibrary",m="__ib__",y=document,p=window;p=p[f]||(p[f]={});const h=p.maps||(p.maps={}),v=new Set,b=new URLSearchParams,T=()=>s||(s=new Promise((g,C)=>rs(this,void 0,void 0,function*(){var N;yield l=y.createElement("script"),l.id=this.id,b.set("libraries",[...v]+"");for(d in i)b.set(d.replace(/[A-Z]/g,_=>"_"+_[0].toLowerCase()),i[d]);b.set("callback",f+".maps."+m),l.src=this.url+"?"+b,h[m]=g,l.onerror=()=>s=C(Error(u+" could not load.")),l.nonce=this.nonce||((N=y.querySelector("script[nonce]"))===null||N===void 0?void 0:N.nonce)||"",y.head.append(l)})));h[c]?console.warn(u+" only loads once. Ignoring:",i):h[c]=(g,...C)=>v.add(g)&&T().then(()=>h[c](g,...C))})(r);const a=this.libraries.map(i=>this.importLibrary(i));a.length||a.push(this.importLibrary("core")),Promise.all(a).then(()=>this.callback(),i=>{const s=new ErrorEvent("error",{error:i});this.loadErrorCallback(s)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}};const ss={key:0,class:"t-transp mn-r-small"},ls=["placeholder","value"],ds={key:0,class:"mn-t-thin invalid-feedback"},ma={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},locale:{type:String,default:"en"}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null);let i;const s=()=>{const l=i.getPlace();if(!l.geometry||!l.address_components)return;let d="",u="",f="";for(let y=0;y<l.address_components.length;y++){let p=l.address_components[y];p.types.includes("country")&&(d=p.long_name),p.types.includes("administrative_area_level_1")&&(u=p.long_name),p.types.includes("locality")&&(f=p.long_name)}const c=l.formatted_address,m={lat:l.geometry.location.lat(),lng:l.geometry.location.lng()};r("update:address",c),r("update:location",m),r("update:country",d),r("update:state",u),r("update:city",f)};return o.onMounted(()=>{new lr({apiKey:n.apiKey,version:"weekly",libraries:["places"],language:n.locale}).load().then(()=>{i=new google.maps.places.Autocomplete(a.value),i.addListener("place_changed",s)}).catch(d=>{console.error(d)})}),(l,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([l.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",ss,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{ref_key:"addressInput",ref:a,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:d[0]||(d[0]=(...u)=>l.onInput&&l.onInput(...u))},null,40,ls),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[l.validation?(o.openBlock(),o.createElementBlock("div",ds," * "+o.toDisplayString(l.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],2))}},us=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"})),ze=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},cs={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},fs={class:"circular-loader"},ms={key:0,class:"progress-text"},ps={key:1,class:"uppercase t-semi w-m-10r status-text"};function hs(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("div",fs,[t[0]||(t[0]=o.createElementVNode("svg",{viewBox:"25 25 50 50"},[o.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),o.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1)),n.progress?(o.openBlock(),o.createElementBlock("div",ms,o.toDisplayString(n.progress),1)):o.createCommentVNode("",!0),n.status?(o.openBlock(),o.createElementBlock("div",ps,o.toDisplayString(n.status),1)):o.createCommentVNode("",!0)])}const Nt=ze(cs,[["render",hs]]),$s=Object.freeze(Object.defineProperty({__proto__:null,default:Nt},Symbol.toStringTag,{value:"Module"})),gs=["disabled"],vs={key:0},ys={key:1},bs={key:2,class:"t-semi loading t-black"},Es={key:3,class:"error"},_s={key:0,class:"button-counter"},pa={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},text:{type:Object,default:e=>e={...e.text,success:"✔",error:"✖"}},counter:{type:Object},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},showSucces:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!0},validation:{type:Boolean,default:!1}},emits:["error"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null),i=o.ref(null),s=o.ref(!1),l=o.ref(!1);async function d(){a.value.style["pointer-events"]="none",i.value=null,s.value=!0;const u=()=>{a.value&&(a.value.classList.replace("bg-second","bg-main"),a.value.style.pointerEvents="auto",s.value=!1,l.value=!1,i.value=null)};try{await n.submit(),a.value.classList.replace("bg-main","bg-second"),s.value=!1,n.showSucces?(l.value=!0,setTimeout(u,500)):u(),n.callback&&setTimeout(()=>n.callback(),n.callbackDelay)}catch(f){r("error",f),a.value.classList.replace("bg-main","bg-fourth-nano"),i.value=n.error,setTimeout(()=>{u(),a.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(u,f)=>(o.openBlock(),o.createElementBlock("button",{onClick:o.withModifiers(d,["stop"]),disabled:e.validation,ref_key:"button",ref:a,class:"button"},[o.createVNode(o.Transition,{name:"FromTop"},{default:o.withCtx(()=>[!s.value&&!i.value&&!l.value||!e.showLoader?(o.openBlock(),o.createElementBlock("span",vs,[o.renderSlot(u.$slots,"default")])):s.value&&!i.value&&e.showLoader?(o.openBlock(),o.createElementBlock("span",ys,[o.createVNode(Nt,{class:"pos-relative pos-t-0 pos-l-0 loading"})])):l.value&&e.showSucces?(o.openBlock(),o.createElementBlock("span",bs,o.toDisplayString(e.text.success),1)):i.value?(o.openBlock(),o.createElementBlock("span",Es,o.toDisplayString(i.value),1)):o.createCommentVNode("",!0)]),_:3}),e.counter?(o.openBlock(),o.createElementBlock("p",_s,o.toDisplayString(e.counter),1)):o.createCommentVNode("",!0)],8,gs))}},Cs=Object.freeze(Object.defineProperty({__proto__:null,default:pa},Symbol.toStringTag,{value:"Module"})),Ns={class:"flex-v-center flex-nowrap flex"},Ss={key:0,class:"mn-r-auto t-transp mn-r-small"},Ts=["name","value","checked"],dr={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]},theme:{type:String,default:"light"}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=t,a=i=>{if(Array.isArray(n.radio)){let s=[...n.radio];if(i.target.checked)s.push(n.value);else{const l=s.indexOf(n.value);l!==-1&&s.splice(l,1)}r("update:radio",s)}else typeof n.radio=="boolean"&&r("update:radio",i.target.checked)};return(i,s)=>(o.openBlock(),o.createElementBlock("label",Ns,[e.label?(o.openBlock(),o.createElementBlock("div",Ss,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onChange:a,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,Ts),o.createElementVNode("div",{class:o.normalizeClass(["transition-elastic cursor-pointer mn-l-thin pd-thin h-2r w-4r radius-extra",{"bg-dark":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio)&&e.theme==="dark","bg-light":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio)&&e.theme==="light","bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[o.createElementVNode("div",{class:o.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},Os=Object.freeze(Object.defineProperty({__proto__:null,default:dr},Symbol.toStringTag,{value:"Module"})),ur={beforeMount(e,t,n){var r;if(typeof t.value!="function"){let a=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;const i=(r=n.component)==null?void 0:r.name;i&&(a+=` Found in component ${i}`),console.warn(a)}e.clickOutsideEvent=function(a){e===a.target||e.contains(a.target)||t.value(a)},document.addEventListener("click",e.clickOutsideEvent,!0)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent,!0)}},ws={key:0,class:"w-100 h-100 flex-center flex"},ks={key:1},Qt={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(e){let t=ur;const n=e,r=o.ref(!1),a=o.computed(()=>typeof n.label=="object");function i(){r.value=!1}return(s,l)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"dropdown pos-relative",onClick:l[0]||(l[0]=o.withModifiers(d=>r.value=!r.value,["stop"]))},[a.value?(o.openBlock(),o.createElementBlock("div",ws,[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.label.component),o.mergeProps(e.label.props,{class:e.label.class}),null,16,["class"]))])):(o.openBlock(),o.createElementBlock("div",ks,o.toDisplayString(e.label),1)),o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{style:o.normalizeStyle({left:e.align==="left"?"0":"auto",right:e.align==="right"?"0":"auto"}),class:"dropdown-content radius-big"},[o.renderSlot(s.$slots,"default")],4),[[o.vShow,r.value]])]),_:3})])),[[o.unref(t),i]])}},Ls=Object.freeze(Object.defineProperty({__proto__:null,default:Qt},Symbol.toStringTag,{value:"Module"})),Is={class:"error-wrapper"},Ps={class:"error-card"},ha={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",Is,[o.createElementVNode("div",Ps,[o.createElementVNode("p",null,"Ошибка "+o.toDisplayString(e.error.status),1)])]))}},As=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"})),Ds={key:0,class:"t-transp mn-r-small"},Ms={class:"w-100"},Rs=["type","value","placeholder","tabindex","disabled"],Fs=["value","placeholder","tabindex","disabled"],Bs={key:1,class:"t-transp mn-l-small"},xs={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},Vs={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,value:null,validation:!1,disabled:null,tabindex:-1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=t,r=e;r.value&&n("update:field",r.value);const a=o.ref(null);function i(){var l;a.value&&(a.value.style.height="1rem"),a.value&&(a.value.style.height=((l=a.value)==null?void 0:l.scrollHeight)+"px")}o.onUpdated(()=>{r.type==="textarea"&&o.nextTick(()=>{focus()}),i()}),o.onMounted(()=>{r.type==="textarea"&&o.nextTick(()=>{focus()}),i()});const s=o.ref(r.field);return(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Ds,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",Ms,[e.type!=="textarea"?(o.openBlock(),o.createElementBlock("input",{key:0,onInput:d[0]||(d[0]=u=>s.value=n("update:field",u.target.value)),onFocus:d[1]||(d[1]=u=>n("focus",u)),onBlur:d[2]||(d[2]=u=>n("blur",u)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder,tabindex:e.tabindex,disabled:e.disabled},null,40,Rs)):(o.openBlock(),o.createElementBlock("textarea",{key:1,ref_key:"textarea",ref:a,onInput:d[3]||(d[3]=u=>s.value=n("update:field",u.target.value)),onFocus:d[4]||(d[4]=u=>n("focus",u)),onBlur:d[5]||(d[5]=u=>n("blur",u)),class:"w-100",style:{resize:"vertical"},value:e.field,placeholder:e.placeholder,tabindex:e.tabindex,disabled:e.disabled},null,40,Fs))]),o.renderSlot(l.$slots,"default",{},void 0,!0),e.symbol?(o.openBlock(),o.createElementBlock("div",Bs,[o.createElementVNode("span",null,o.toDisplayString(e.symbol),1)])):o.createCommentVNode("",!0)],2),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",xs," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},un=ze(Vs,[["__scopeId","data-v-5659d4ce"]]),Us=Object.freeze(Object.defineProperty({__proto__:null,default:un},Symbol.toStringTag,{value:"Module"})),js={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function Hs(e,t){var n=Array.prototype.slice.call(t);return n.push(js),e.apply(this,n)}function Rn(e){"@babel/helpers - typeof";return Rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(e)}function Gs(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dt(e,t)}function zs(e){var t=ga();return function(){var r=Mt(e),a;if(t){var i=Mt(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return Ys(this,a)}}function Ys(e,t){if(t&&(Rn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $a(e)}function $a(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(e){var t=typeof Map=="function"?new Map:void 0;return Fn=function(r){if(r===null||!qs(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return Yt(r,arguments,Mt(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Dt(a,r)},Fn(e)}function Yt(e,t,n){return ga()?Yt=Reflect.construct:Yt=function(a,i,s){var l=[null];l.push.apply(l,i);var d=Function.bind.apply(a,l),u=new d;return s&&Dt(u,s.prototype),u},Yt.apply(null,arguments)}function ga(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Dt(e,t){return Dt=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},Dt(e,t)}function Mt(e){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mt(e)}var Xe=function(e){Ws(n,e);var t=zs(n);function n(r){var a;return Ks(this,n),a=t.call(this,r),Object.setPrototypeOf($a(a),n.prototype),a.name=a.constructor.name,a}return Gs(n)}(Fn(Error)),cr=2,Xs=17,Js=3,Ge="0-90-9٠-٩۰-۹",Zs="-‐-―−ー-",Qs="//",el="..",tl=" ",nl="()()[]\\[\\]",rl="~⁓∼~",en="".concat(Zs).concat(Qs).concat(el).concat(tl).concat(nl).concat(rl),fr="++";function Hr(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),s=Number(r[a]);if(i>s)return 1;if(s>i)return-1;if(!isNaN(i)&&isNaN(s))return 1;if(isNaN(i)&&!isNaN(s))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var ol={}.constructor;function qt(e){return e!=null&&e.constructor===ol}function Bn(e){"@babel/helpers - typeof";return Bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bn(e)}function cn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function al(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fn(e,t,n){return t&&al(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var il="1.2.0",sl="1.7.35",Gr=" ext. ",ll=/^\d+$/,we=function(){function e(t){cn(this,e),fl(t),this.metadata=t,va.call(this,t)}return fn(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&ll.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Kr(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Kr(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var a=this.nonGeographic()[n];if(a)return a}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Kr=function(){function e(t,n){cn(this,e),this.globalMetadataObject=n,this.metadata=t,va.call(this,n.metadata)}return fn(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(a){return new dl(a,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Wr(this.types(),n))return new cl(Wr(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Gr:this.metadata[13]||Gr}}]),e}(),dl=function(){function e(t,n){cn(this,e),this._format=t,this.metadata=n}return fn(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!ul.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),ul=/^\(?\$1\)?$/,cl=function(){function e(t,n){cn(this,e),this.type=t,this.metadata=n}return fn(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Wr(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function fl(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!qt(e)||!qt(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(qt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+ml(e)+": "+e,"."))}var ml=function(t){return Bn(t)};function mr(e,t){if(t=new we(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function pl(e,t){return t.countries.hasOwnProperty(e)}function va(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Hr(t,il)===-1?this.v2=!0:Hr(t,sl)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var hl=";ext=",$t=function(t){return"([".concat(Ge,"]{1,").concat(t,"})")};function ya(e){var t="20",n="15",r="9",a="6",i="[ \\t,]*",s="[:\\..]?[ \\t,-]*",l="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",u="(?:[xx##~~]|int|int)",f="[- ]+",c="[ \\t]*",m="(?:,{2}|;)",y=hl+$t(t),p=i+d+s+$t(t)+l,h=i+u+s+$t(r)+l,v=f+$t(a)+"#",b=c+m+s+$t(n)+l,T=c+"(?:,)+"+s+$t(r)+l;return y+"|"+p+"|"+h+"|"+v+"|"+b+"|"+T}var $l="["+Ge+"]{"+cr+"}",gl="["+fr+"]{0,1}(?:["+en+"]*["+Ge+"]){3,}["+en+Ge+"]*",vl=new RegExp("^["+fr+"]{0,1}(?:["+en+"]*["+Ge+"]){1,2}$","i"),yl=gl+"(?:"+ya()+")?",bl=new RegExp("^"+$l+"$|^"+yl+"$","i");function El(e){return e.length>=cr&&bl.test(e)}function _l(e){return vl.test(e)}var zr=new RegExp("(?:"+ya()+")$","i");function Cl(e){var t=e.search(zr);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(zr),a=1;a<r.length;){if(r[a])return{number:n,ext:r[a]};a++}}var Nl={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Sl(e){return Nl[e]}function Tl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ol(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ol(e,t){if(e){if(typeof e=="string")return Yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yr(e,t)}}function Yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qr(e){for(var t="",n=Tl(e.split("")),r;!(r=n()).done;){var a=r.value;t+=wl(a,t)||""}return t}function wl(e,t,n){return e==="+"?t?void 0:"+":Sl(e)}function pr(e,t){return kl(e,void 0,t)}function kl(e,t,n){var r=n.type(t),a=r&&r.possibleLengths()||n.possibleLengths();if(!a)return"IS_POSSIBLE";var i=e.length,s=a[0];return s===i?"IS_POSSIBLE":s>i?"TOO_SHORT":a[a.length-1]<i?"TOO_LONG":a.indexOf(i,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Ll(e,t,n){if(t===void 0&&(t={}),n=new we(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return ba(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function ba(e,t){switch(pr(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Ze(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Il(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Pl(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pl(e,t){if(e){if(typeof e=="string")return Xr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xr(e,t)}}function Xr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Al=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function hr(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new we(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Ze(r,n.nationalNumberPattern())){if(Sn(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Sn(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var a=Il(Al),i;!(i=a()).done;){var s=i.value;if(Sn(r,s,n))return s}}}}function Sn(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Ze(e,t.pattern())}function Dl(e,t,n){if(t=t||{},n=new we(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return hr(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Ze(r,n.nationalNumberPattern())}function Ml(e,t,n){var r=new we(n),a=r.getCountryCodesForCallingCode(e);return a?a.filter(function(i){return Rl(t,i,n)}):[]}function Rl(e,t,n){var r=new we(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function Fl(e){return e.replace(new RegExp("[".concat(en,"]+"),"g")," ").trim()}var Bl=/(\$\d)/;function xl(e,t,n){var r=n.useInternationalFormat,a=n.withNationalPrefix,i=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():a&&t.nationalPrefixFormattingRule()?t.format().replace(Bl,t.nationalPrefixFormattingRule()):t.format());return r?Fl(i):i}var Vl=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Ul(e,t,n){var r=new we(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(Vl.test(r.IDDPrefix()))return r.IDDPrefix()}function jl(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function Hl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Gl(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gl(e,t){if(e){if(typeof e=="string")return Jr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jr(e,t)}}function Jr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zr(Object(n),!0).forEach(function(r){Kl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Kl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eo={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function Wl(e,t,n,r){if(n?n=Qr(Qr({},eo),n):n=eo,r=new we(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var a=r.countryCallingCode(),i=n.v2?e.nationalNumber:e.phone,s;switch(t){case"NATIONAL":return i?(s=tn(i,e.carrierCode,"NATIONAL",r,n),Tn(s,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return i?(s=tn(i,null,"INTERNATIONAL",r,n),s="+".concat(a," ").concat(s),Tn(s,e.ext,r,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(i);case"RFC3966":return jl({number:"+".concat(a).concat(i),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=Yl(i,e.carrierCode,a,n.fromCountry,r);return Tn(l,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function tn(e,t,n,r,a){var i=zl(r.formats(),e);return i?xl(e,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&a&&a.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function zl(e,t){for(var n=Hl(e),r;!(r=n()).done;){var a=r.value;if(a.leadingDigitsPatterns().length>0){var i=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(t.search(i)!==0)continue}if(Ze(t,a.pattern()))return a}}function Tn(e,t,n,r){return t?r(e,t,n):e}function Yl(e,t,n,r,a){var i=mr(r,a.metadata);if(i===n){var s=tn(e,t,"NATIONAL",a);return n==="1"?n+" "+s:s}var l=Ul(r,void 0,a.metadata);if(l)return"".concat(l," ").concat(n," ").concat(tn(e,null,"INTERNATIONAL",a))}function to(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function no(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?to(Object(n),!0).forEach(function(r){ql(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ql(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zl(e,t,n){return t&&Jl(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ql=function(){function e(t,n,r){if(Xl(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var a=td(t,r),i=a.country,s=a.countryCallingCode;this.country=i,this.countryCallingCode=s,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Zl(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Ml(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Ll(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return Dl(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new we(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return hr(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return Wl(this,n,r?no(no({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}]),e}(),ed=function(t){return/^[A-Z]{2}$/.test(t)};function td(e,t){var n,r,a=new we(t);return ed(e)?(n=e,a.selectNumberingPlan(n),r=a.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var nd=new RegExp("(["+Ge+"])");function rd(e,t,n,r){if(t){var a=new we(r);a.selectNumberingPlan(t,n);var i=new RegExp(a.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var s=e.match(nd);if(!(s&&s[1]!=null&&s[1].length>0&&s[1]==="0"))return e}}}function od(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var a,i,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)a=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(i=r[1]);else{var d=r[0];a=e.slice(d.length),l&&(i=r[1])}var u;if(l){var f=e.indexOf(r[1]),c=e.slice(0,f);c===t.numberingPlan.nationalPrefix()&&(u=t.numberingPlan.nationalPrefix())}else u=r[0];return{nationalNumber:a,nationalPrefix:u,carrierCode:i}}}return{nationalNumber:e}}function xn(e,t){var n=od(e,t),r=n.carrierCode,a=n.nationalNumber;if(a!==e){if(!ad(e,a,t))return{nationalNumber:e};if(t.possibleLengths()&&!id(a,t))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:r}}function ad(e,t,n){return!(Ze(e,n.nationalNumberPattern())&&!Ze(t,n.nationalNumberPattern()))}function id(e,t){switch(pr(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function sd(e,t,n,r){var a=t?mr(t,r):n;if(e.indexOf(a)===0){r=new we(r),r.selectNumberingPlan(t,n);var i=e.slice(a.length),s=xn(i,r),l=s.nationalNumber,d=xn(e,r),u=d.nationalNumber;if(!Ze(u,r.nationalNumberPattern())&&Ze(l,r.nationalNumberPattern())||pr(u,r)==="TOO_LONG")return{countryCallingCode:a,number:i}}return{number:e}}function ld(e,t,n,r){if(!e)return{};var a;if(e[0]!=="+"){var i=rd(e,t,n,r);if(i&&i!==e)a=!0,e="+"+i;else{if(t||n){var s=sd(e,t,n,r),l=s.countryCallingCode,d=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new we(r);for(var u=2;u-1<=Js&&u<=e.length;){var f=e.slice(1,u);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(u)};u++}return{}}function dd(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ud(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ud(e,t){if(e){if(typeof e=="string")return ro(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ro(e,t)}}function ro(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cd(e,t){var n=t.countries,r=t.defaultCountry,a=t.metadata;a=new we(a);for(var i=[],s=dd(n),l;!(l=s()).done;){var d=l.value;if(a.country(d),a.leadingDigits()){if(e&&e.search(a.leadingDigits())===0)return d}else if(hr({phone:e,country:d},void 0,a.metadata))if(r){if(d===r)return d;i.push(d)}else return d}if(i.length>0)return i[0]}function fd(e,t){var n=t.nationalNumber,r=t.defaultCountry,a=t.metadata,i=a.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:cd(n,{countries:i,defaultCountry:r,metadata:a.metadata})}var Ea="+",md="[\\-\\.\\(\\)]?",oo="(["+Ge+"]|"+md+")",pd="^\\"+Ea+oo+"*["+Ge+"]"+oo+"*$",hd=new RegExp(pd,"g"),Vn=Ge,$d="["+Vn+"]+((\\-)*["+Vn+"])*",gd="a-zA-Z",vd="["+gd+"]+((\\-)*["+Vn+"])*",yd="^("+$d+"\\.)*"+vd+"\\.?$",bd=new RegExp(yd,"g"),ao="tel:",Un=";phone-context=",Ed=";isub=";function _d(e){var t=e.indexOf(Un);if(t<0)return null;var n=t+Un.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Cd(e){return e===null?!0:e.length===0?!1:hd.test(e)||bd.test(e)}function Nd(e,t){var n=t.extractFormattedPhoneNumber,r=_d(e);if(!Cd(r))throw new Xe("NOT_A_NUMBER");var a;if(r===null)a=n(e)||"";else{a="",r.charAt(0)===Ea&&(a+=r);var i=e.indexOf(ao),s;i>=0?s=i+ao.length:s=0;var l=e.indexOf(Un);a+=e.substring(s,l)}var d=a.indexOf(Ed);if(d>0&&(a=a.substring(0,d)),a!=="")return a}var Sd=250,Td=new RegExp("["+fr+Ge+"]"),Od=new RegExp("[^"+Ge+"#]+$");function wd(e,t,n){if(t=t||{},n=new we(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Xe("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Ld(e,t.v2,t.extract),a=r.number,i=r.ext,s=r.error;if(!a){if(t.v2)throw s==="TOO_SHORT"?new Xe("TOO_SHORT"):new Xe("NOT_A_NUMBER");return{}}var l=Pd(a,t.defaultCountry,t.defaultCallingCode,n),d=l.country,u=l.nationalNumber,f=l.countryCallingCode,c=l.countryCallingCodeSource,m=l.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Xe("INVALID_COUNTRY");return{}}if(!u||u.length<cr){if(t.v2)throw new Xe("TOO_SHORT");return{}}if(u.length>Xs){if(t.v2)throw new Xe("TOO_LONG");return{}}if(t.v2){var y=new Ql(f,u,n.metadata);return d&&(y.country=d),m&&(y.carrierCode=m),i&&(y.ext=i),y.__countryCallingCodeSource=c,y}var p=(t.extended?n.hasSelectedNumberingPlan():d)?Ze(u,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:f,carrierCode:m,valid:p,possible:p?!0:!!(t.extended===!0&&n.possibleLengths()&&ba(u,n)),phone:u,ext:i}:p?Id(d,u,i):{}}function kd(e,t,n){if(e){if(e.length>Sd){if(n)throw new Xe("TOO_LONG");return}if(t===!1)return e;var r=e.search(Td);if(!(r<0))return e.slice(r).replace(Od,"")}}function Ld(e,t,n){var r=Nd(e,{extractFormattedPhoneNumber:function(s){return kd(s,n,t)}});if(!r)return{};if(!El(r))return _l(r)?{error:"TOO_SHORT"}:{};var a=Cl(r);return a.ext?a:{number:r}}function Id(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function Pd(e,t,n,r){var a=ld(qr(e),t,n,r.metadata),i=a.countryCallingCodeSource,s=a.countryCallingCode,l=a.number,d;if(s)r.selectNumberingPlan(s);else if(l&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),s=n||mr(t,r.metadata);else return{};if(!l)return{countryCallingCodeSource:i,countryCallingCode:s};var u=xn(qr(l),r),f=u.nationalNumber,c=u.carrierCode,m=fd(s,{nationalNumber:f,defaultCountry:t,metadata:r});return m&&(d=m,m==="001"||r.country(d)),{country:d,countryCallingCode:s,countryCallingCodeSource:i,nationalNumber:f,carrierCode:c}}function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function so(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?io(Object(n),!0).forEach(function(r){Ad(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dd(e,t,n){return wd(e,so(so({},t),{},{v2:!0}),n)}function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lo(Object(n),!0).forEach(function(r){Rd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fd(e,t){return Ud(e)||Vd(e,t)||xd(e,t)||Bd()}function Bd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xd(e,t){if(e){if(typeof e=="string")return uo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uo(e,t)}}function uo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,s,l;try{for(n=n.call(e);!(a=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));a=!0);}catch(d){i=!0,l=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function Ud(e){if(Array.isArray(e))return e}function jd(e){var t=Array.prototype.slice.call(e),n=Fd(t,4),r=n[0],a=n[1],i=n[2],s=n[3],l,d,u;if(typeof r=="string")l=r;else throw new TypeError("A text for parsing must be a string.");if(!a||typeof a=="string")s?(d=i,u=s):(d=void 0,u=i),a&&(d=Md({defaultCountry:a},d));else if(qt(a))i?(d=a,u=i):u=a;else throw new Error("Invalid second argument: ".concat(a));return{text:l,options:d,metadata:u}}function co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?co(Object(n),!0).forEach(function(r){Hd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):co(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gd(e,t,n){t&&t.defaultCountry&&!pl(t.defaultCountry,n)&&(t=fo(fo({},t),{},{defaultCountry:void 0}));try{return Dd(e,t,n)}catch(r){if(!(r instanceof Xe))throw r}}function Kd(){var e=jd(arguments),t=e.text,n=e.options,r=e.metadata;return Gd(t,n,r)}function On(){return Hs(Kd,arguments)}const Wd=[["افغانستان","af","93",,"🇦🇫"],["Shqipëri","al","355",,"🇦🇱"],["الجزائر","dz","213",,"🇩🇿"],["American Samoa","as","1684",,"🇦🇸"],["Andorra","ad","376",,"🇦🇩"],["Angola","ao","244",,"🇦🇴"],["Anguilla","ai","1264",,"🇦🇮"],["Antigua and Barbuda","ag","1268",,"🇦🇬"],["Argentina","ar","54",,"🇦🇷"],["Հայաստան","am","374",,"🇦🇲"],["Aruba","aw","297",,"🇦🇼"],["Australia","au","61",0,,"🇦🇺"],["Österreich","at","43",,"🇦🇹"],["Azərbaycan","az","994",,"🇦🇿"],["Bahamas","bs","1242",,"🇧🇸"],["البحرين","bh","973",,"🇧🇭"],["বাংলাদেশ","bd","880",,"🇧🇩"],["Barbados","bb","1246",,"🇧🇧"],["Беларусь","by","375",,"🇧🇾"],["België","be","32",,"🇧🇪"],["Belize","bz","501",,"🇧🇿"],["Bénin","bj","229",,"🇧🇯"],["Bermuda","bm","1441",,"🇧🇲"],["འབྲུག","bt","975",,"🇧🇹"],["Bolivia","bo","591",,"🇧🇴"],["Босна и Херцеговина","ba","387",,"🇧🇦"],["Botswana","bw","267",,"🇧🇼"],["Brasil","br","55",,"🇧🇷"],["British Indian Ocean Territory","io","246",,"🇮🇴"],["British Virgin Islands","vg","1284",,"🇻🇬"],["Brunei","bn","673",,"🇧🇳"],["България","bg","359",,"🇧🇬"],["Burkina Faso","bf","226",,"🇧🇫"],["Uburundi","bi","257",,"🇧🇮"],["កម្ពុជា","kh","855",,"🇰🇭"],["Cameroun","cm","237",,"🇨🇲"],["Canada","ca","1",1,"🇨🇦"],["Kabu Verdi","cv","238",,"🇨🇻"],["Caribbean Netherlands","bq","599",1,,"🇧🇶"],["Cayman Islands","ky","1345",,"🇰🇾"],["République centrafricaine","cf","236",,"🇨🇫"],["Tchad","td","235",,"🇹🇩"],["Chile","cl","56",,"🇨🇱"],["中国","cn","86",,"🇨🇳"],["Christmas Island","cx","61",2,,"🇨🇽"],["Keeling","cc","61",1,,"🇨🇨"],["Colombia","co","57",,"🇨🇴"],["جزر القمر","km","269",,"🇰🇲"],["DRC","cd","243",,"🇨🇩"],["Republic","cg","242",,"🇨🇬"],["Cook Islands","ck","682",,"🇨🇰"],["Costa Rica","cr","506",,"🇨🇷"],["Côte d’Ivoire","ci","225",,"🇨🇮"],["Hrvatska","hr","385",,"🇭🇷"],["Cuba","cu","53",,"🇨🇺"],["Curaçao","cw","599",0,,"🇨🇼"],["Κύπρος","cy","357",,"🇨🇾"],["Česká republika","cz","420",,"🇨🇿"],["Danmark","dk","45",,"🇩🇰"],["Djibouti","dj","253",,"🇩🇯"],["Dominica","dm","1767",,"🇩🇲"],["República Dominicana","do","1",2,["809","829","849","🇩🇴"]],["Ecuador","ec","593",,"🇪🇨"],["مصر","eg","20",,"🇪🇬"],["El Salvador","sv","503",,"🇸🇻"],["Guinea Ecuatorial","gq","240",,"🇬🇶"],["Eritrea","er","291",,"🇪🇷"],["Eesti","ee","372",,"🇪🇪"],["Ethiopia","et","251",,"🇪🇹"],["Islas Malvinas","fk","500",,"🇫🇰"],["Føroyar","fo","298",,"🇫🇴"],["Fiji","fj","679",,"🇫🇯"],["Suomi","fi","358",0,,"🇫🇮"],["France","fr","33",,"🇫🇷"],["Guyane française","gf","594",,"🇬🇫"],["Polynésie française","pf","689",,"🇵🇫"],["Gabon","ga","241",,"🇬🇦"],["Gambia","gm","220",,"🇬🇲"],["საქართველო","ge","995",,"🇬🇪"],["Deutschland","de","49",,"🇩🇪"],["Gaana","gh","233",,"🇬🇭"],["Gibraltar","gi","350",,"🇬🇮"],["Ελλάδα","gr","30",,"🇬🇷"],["Kalaallit Nunaat","gl","299",,"🇬🇱"],["Grenada","gd","1473",,"🇬🇩"],["Guadeloupe","gp","590",0,,"🇬🇵"],["Guam","gu","1671",,"🇬🇺"],["Guatemala","gt","502",,"🇬🇹"],["Guernsey","gg","44",1,,"🇬🇬"],["Guinée","gn","224",,"🇬🇳"],["Guiné Bissau","gw","245",,"🇬🇼"],["Guyana","gy","592",,"🇬🇾"],["Haiti","ht","509",,"🇭🇹"],["Honduras","hn","504",,"🇭🇳"],["香港","hk","852",,"🇭🇰"],["Magyarország","hu","36",,"🇭🇺"],["Ísland","is","354",,"🇮🇸"],["भारत","in","91",,"🇮🇳"],["Indonesia","id","62",,"🇮🇩"],["ایران","ir","98",,"🇮🇷"],["العراق","iq","964",,"🇮🇶"],["Ireland","ie","353",,"🇮🇪"],["Isle of Man","im","44",2,,"🇮🇲"],["ישראל","il","972",,"🇮🇱"],["Italia","it","39",0,,"🇮🇹"],["Jamaica","jm","1876",,"🇯🇲"],["日本","jp","81",,"🇯🇵"],["Jersey","je","44",3,,"🇯🇪"],["الأردن","jo","962",,"🇯🇴"],["Казахстан","kz","7",1,,"🇰🇿"],["Kenya","ke","254",,"🇰🇪"],["Kiribati","ki","686",,"🇰🇮"],["Kosovo","xk","383",,"🇽🇰"],["الكويت","kw","965",,"🇰🇼"],["Кыргызстан","kg","996",,"🇰🇬"],["ລາວ","la","856",,"🇱🇦"],["Latvija","lv","371",,"🇱🇻"],["لبنان","lb","961",,"🇱🇧"],["Lesotho","ls","266",,"🇱🇸"],["Liberia","lr","231",,"🇱🇷"],["ليبيا","ly","218",,"🇱🇾"],["Liechtenstein","li","423",,"🇱🇮"],["Lietuva","lt","370",,"🇱🇹"],["Luxembourg","lu","352",,"🇱🇺"],["澳門","mo","853",,"🇲🇴"],["FYROM","mk","389",,"🇲🇰"],["Madagasikara","mg","261",,"🇲🇬"],["Malawi","mw","265",,"🇲🇼"],["Malaysia","my","60",,"🇲🇾"],["Maldives","mv","960",,"🇲🇻"],["Mali","ml","223",,"🇲🇱"],["Malta","mt","356",,"🇲🇹"],["Marshall Islands","mh","692",,"🇲🇭"],["Martinique","mq","596",,"🇲🇶"],["موريتانيا","mr","222",,"🇲🇷"],["Moris","mu","230",,"🇲🇺"],["Mayotte","yt","262",1,,"🇾🇹"],["México","mx","52",,"🇲🇽"],["Micronesia","fm","691",,"🇫🇲"],["Republica Moldova","md","373",,"🇲🇩"],["Monaco","mc","377",,"🇲🇨"],["Монгол","mn","976",,"🇲🇳"],["Crna Gora","me","382",,"🇲🇪"],["Montserrat","ms","1664",,"🇲🇸"],["المغرب","ma","212",0,,"🇲🇦"],["Moçambique","mz","258",,"🇲🇿"],["Burma","mm","95",,"🇲🇲"],["Namibië","na","264",,"🇳🇦"],["Nauru","nr","674",,"🇳🇷"],["नेपाल","np","977",,"🇳🇵"],["Nederland","nl","31",,"🇳🇱"],["Nouvelle-Calédonie","nc","687",,"🇳🇨"],["New Zealand","nz","64",,"🇳🇿"],["Nicaragua","ni","505",,"🇳🇮"],["Nijar","ne","227",,"🇳🇪"],["Nigeria","ng","234",,"🇳🇬"],["Niue","nu","683",,"🇳🇺"],["Norfolk Island","nf","672",,"🇳🇫"],["조선 민주주의 인민 공화국","kp","850",,"🇰🇵"],["Northern Mariana Islands","mp","1670",,"🇲🇵"],["Norge","no","47",0,,"🇳🇴"],["عُمان","om","968",,"🇴🇲"],["پاکستان","pk","92",,"🇵🇰"],["Palau","pw","680",,"🇵🇼"],["فلسطين","ps","970",,"🇵🇸"],["Panamá","pa","507",,"🇵🇦"],["Papua New Guinea","pg","675",,"🇵🇬"],["Paraguay","py","595",,"🇵🇾"],["Perú","pe","51",,"🇵🇪"],["Philippines","ph","63",,"🇵🇭"],["Polska","pl","48",,"🇵🇱"],["Portugal","pt","351",,"🇵🇹"],["Puerto Rico","pr","1",3,["787","939","🇵🇷"]],["قطر","qa","974",,"🇶🇦"],["La Réunion","re","262",0,,"🇷🇪"],["România","ro","40",,"🇷🇴"],["Россия","ru","7",0,,"🇷🇺"],["Rwanda","rw","250",,"🇷🇼"],["Saint Barthélemy","bl","590",1,,"🇧🇱"],["Saint Helena","sh","290",,"🇸🇭"],["Saint Kitts and Nevis","kn","1869",,"🇰🇳"],["Saint Lucia","lc","1758",,"🇱🇨"],["Saint-Martin (partie française","mf","590",2,,"🇲🇫"],["Saint-Pierre-et-Miquelon","pm","508",,"🇵🇲"],["Saint Vincent and the Grenadines","vc","1784",,"🇻🇨"],["Samoa","ws","685",,"🇼🇸"],["San Marino","sm","378",,"🇸🇲"],["São Tomé e Príncipe","st","239",,"🇸🇹"],["المملكة العربية السعودية","sa","966",,"🇸🇦"],["Sénégal","sn","221",,"🇸🇳"],["Србија","rs","381",,"🇷🇸"],["Seychelles","sc","248",,"🇸🇨"],["Sierra Leone","sl","232",,"🇸🇱"],["Singapore","sg","65",,"🇸🇬"],["Sint Maarten","sx","1721",,"🇸🇽"],["Slovensko","sk","421",,"🇸🇰"],["Slovenija","si","386",,"🇸🇮"],["Solomon Islands","sb","677",,"🇸🇧"],["Soomaaliya","so","252",,"🇸🇴"],["South Africa","za","27",,"🇿🇦"],["대한민국","kr","82",,"🇰🇷"],["جنوب السودان","ss","211",,"🇸🇸"],["España","es","34",,"🇪🇸"],["ශ්රී ලංකාව","lk","94",,"🇱🇰"],["السودان","sd","249",,"🇸🇩"],["Suriname","sr","597",,"🇸🇷"],["Svalbard and Jan Mayen","sj","47",1,,"🇸🇯"],["Swaziland","sz","268",,"🇸🇿"],["Sverige","se","46",,"🇸🇪"],["Schweiz","ch","41",,"🇨🇭"],["سوريا","sy","963",,"🇸🇾"],["台灣","tw","886",,"🇹🇼"],["Tajikistan","tj","992",,"🇹🇯"],["Tanzania","tz","255",,"🇹🇿"],["ไทย","th","66",,"🇹🇭"],["Timor-Leste","tl","670",,"🇹🇱"],["Togo","tg","228",,"🇹🇬"],["Tokelau","tk","690",,"🇹🇰"],["Tonga","to","676",,"🇹🇴"],["Trinidad and Tobago","tt","1868",,"🇹🇹"],["تونس","tn","216",,"🇹🇳"],["Türkiye","tr","90",,"🇹🇷"],["Turkmenistan","tm","993",,"🇹🇲"],["Turks and Caicos Islands","tc","1649",,"🇹🇨"],["Tuvalu","tv","688",,"🇹🇻"],["U.S. Virgin Islands","vi","1340",,"🇻🇮"],["Uganda","ug","256",,"🇺🇬"],["Україна","ua","380",,"🇺🇦"],["الإمارات العربية المتحدة","ae","971",,"🇦🇪"],["United Kingdom","gb","44",0,,"🇬🇧"],["United States","us","1",0,,"🇺🇸"],["Uruguay","uy","598",,"🇺🇾"],["Oʻzbekiston","uz","998",,"🇺🇿"],["Vanuatu","vu","678",,"🇻🇺"],["Città del Vaticano","va","39",1,,"🇻🇦"],["Venezuela","ve","58",,"🇻🇪"],["Việt Nam","vn","84",,"🇻🇳"],["Wallis-et-Futuna","wf","681",,"🇼🇫"],["الصحراء الغربية","eh","212",1,,"🇪🇭"],["اليمن","ye","967",,"🇾🇪"],["Zambia","zm","260",,"🇿🇲"],["Zimbabwe","zw","263",,"🇿🇼"],["Åland Islands","ax","358",1,,"🇦🇽"]],zd=Wd.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null})),Yd=["tabindex"],qd={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Xd=["innerHTML"],Jd={key:1,class:"vti__country-code"},Zd=["onClick","onMousemove"],Qd=["innerHTML"],eu={key:1},tu=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],nu={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},_a={__name:"FieldPhone",props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>zd},autoFormat:{type:Boolean,default:()=>!0},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>!1},defaultCountry:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},autoDefaultCountry:{type:Boolean,default:()=>!0},ignoredCountries:{type:Array,default:()=>[]},invalidMsg:{type:String,default:()=>""},mode:{type:String,default:()=>"auto"},onlyCountries:{type:Array,default:()=>[]},preferredCountries:{type:Array,default:()=>[]},validCharactersOnly:{type:Boolean,default:()=>!1},rootClass:{type:[String,Array,Object],default:()=>""},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""},dropdownOptions:{type:Object,default:()=>({showDialCodeInList:!0,showDialCodeInSelection:!1,showFlags:!0,tabindex:0})},inputOptions:{type:Object,default:()=>({autocomplete:"on",autofocus:!1,id:"",maxlength:25,name:"telephone",placeholder:"Enter a phone number",readonly:!1,required:!1,tabindex:0,type:"tel",styleClasses:""})}},emits:["update:modelValue","change","validate","country-changed","open","close","blur","focus","enter","space"],setup(e,{emit:t}){let n=ur;const r=e,a=t;o.ref(5),o.ref(5),o.reactive({action:null,amount:null});const i=o.ref(r.modelValue?r.modelValue:""),s=o.ref(""),l=o.ref(!1),d=o.ref(!1),u=o.ref(null),f=o.ref(""),c=o.ref(null),m=o.ref("below"),y=o.ref(r.Placeholder!==""?r.Placeholder:r.inputOptions.placeholder),p=o.ref(null),h=o.ref(null),v=o.ref(null);o.onMounted(async()=>{r.modelValue&&(i.value=r.modelValue),be(),oe().then(()=>{var P;!i.value&&((P=r.inputOptions)!=null&&P.showDialCode)&&s.value&&(i.value=`+${s.value}`),a("validate",_.value)}).catch(console.error).then(()=>{d.value=!0})});const b=o.computed(()=>Q(s.value)),T=o.computed(()=>b.value?b.value.flag:null),g=o.computed(()=>r.mode==="auto"?!i.value||i.value[0]!=="+"?"national":"international":["international","national"].includes(r.mode)?r.mode:(console.error('Invalid value of prop "mode"'),"international")),C=o.computed(()=>r.onlyCountries&&r.onlyCountries.length?r.allCountries.filter(({iso2:P})=>r.onlyCountries.includes(P.toUpperCase())):r.ignoredCountries&&r.ignoredCountries.length?r.allCountries.filter(({iso2:P})=>!r.ignoredCountries.includes(P.toUpperCase())&&!r.ignoredCountries.includes(P.toLowerCase())):r.allCountries),N=o.computed(()=>[...me(r.preferredCountries).map(w=>({...w,preferred:!0})),...C.value]),_=o.computed(()=>{var he,Se,$;let P={};((he=i.value)==null?void 0:he[0])==="+"?P=On(i.value)||{}:P=On(i.value,s.value)||{};const{metadata:w,...F}=P;let z=(Se=P.isValid)==null?void 0:Se.call(P),re=i.value;return z&&(re=($=P.format)==null?void 0:$.call(P,g.value.toUpperCase(),{nationalPrefix:!1})),P.country&&(r.ignoredCountries.length||r.onlyCountries.length)&&(Q(P.country)||(z=!1,P={...P,country:null})),{...F,countryCode:P.country,valid:z,country:b.value,formatted:re}}),O=o.computed(()=>_.value.valid===!0?r.goodClass:_.value.valid===!1?r.badClass:void 0),I=o.computed(()=>_.value.valid===!0?r.goodStyle:_.value.valid===!1?r.badStyle:void 0),S=o.computed(()=>_.value.valid===!0?r.goodInputClass:_.value.valid===!1?r.badInputClass:void 0),D=o.computed(()=>_.value.valid===!0?r.goodInputStyle:_.value.valid===!1?r.badInputStyle:void 0);o.watch(b,(P,w)=>{if(!P&&(w!=null&&w.iso2)){s.value=w.iso2;return}P!=null&&P.iso2&&(a("country-changed",P),j())}),o.watch(()=>_.value.countryCode,P=>{s.value=P}),o.watch(()=>_.value.valid,()=>{a("validate",_.value)}),o.watch(()=>_.value.formatted,P=>{!r.autoFormat||r.customValidate||(ge(P),o.nextTick(()=>{P&&!r.modelValue&&(i.value=P)}))}),o.watch(()=>r.inputOptions.placeholder,()=>{j()}),o.watch(()=>r.modelValue,(P,w)=>{Ae()?i.value=P:o.nextTick(()=>{i.value=w,le()})}),o.watch(l,P=>{P?(V(),a("open")):a("close")});function R(){return fetch("https://ip2c.org/s").then(P=>P.text()).then(P=>{const w=(P||"").toString();if(!w||w[0]!=="1")throw new Error("unable to fetch the country");return w.substr(2,2)})}function B(P,w){if(P.setSelectionRange)P.focus(),P.setSelectionRange(w,w);else if(P.createTextRange){const F=P.createTextRange();F.collapse(!0),F.moveEnd("character",w),F.moveStart("character",w),F.select()}}function j(){y.value=r.inputOptions.placeholder}function oe(){return new Promise(P=>{var F;if(((F=i.value)==null?void 0:F[0])==="+"){P();return}if(r.defaultCountry){se(r.defaultCountry),P();return}const w=r.preferredCountries[0]||C.value[0];r.autoDefaultCountry?R().then(z=>{se(z||s.value)}).catch(z=>{console.warn(z),se(w)}).finally(()=>{P()}):(se(w),P())})}function me(P=[]){return P.map(w=>Q(w)).filter(Boolean)}function Q(P=""){return C.value.find(w=>w.iso2===P.toUpperCase())}function _e(P,w){const F=u.value===P,z=P===r.preferredCountries.length-1,re=r.preferredCountries.some(he=>he.toUpperCase()===w);return{highlighted:F,"last-preferred":z,preferred:re}}function se(P){var F,z;let w=typeof P=="string"?Q(P):P;if(w){if(((F=i.value)==null?void 0:F[0])==="+"&&w.iso2&&_.value.nationalNumber){s.value=w.iso2,i.value=On(_.value.nationalNumber,w.iso2).formatInternational();return}if((z=r.inputOptions)!=null&&z.showDialCode&&w){i.value=`+${w.dialCode}`;return}s.value=w.iso2,ge(i.value)}}function be(){const P=i.value;if(r.validCharactersOnly){const w=i.value.match(/[()\-+0-9\s]*/g);i.value=w.join("")}if(r.customValidate&&r.customValidate instanceof RegExp){const w=i.value.match(r.customValidate);i.value=w?w.join(""):""}P!==i.value&&ge(i.value)}function Ae(){return r.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(i.value)?!1:r.customValidate?$e():!0}function $e(){return r.customValidate instanceof RegExp?r.customValidate.test(i.value):!1}function le(){v.value.setCustomValidity(_.valid?"":r.invalidMsg),ge(i.value)}function ge(P){a("update:modelValue",P),_.value.valid?(a("change",_.value.number),a("country",_.value.number)):a("country",null)}function ve(){a("blur")}function De(){B(v.value,i.value.length),a("focus")}function Me(){a("enter")}function ce(){a("space")}function de(){r.disabled||(l.value=!l.value)}function Ee(){l.value=!1}function fe(P){P.keyCode===40?(P.preventDefault(),l.value=!0,u.value=u.value===null?0:Math.min(N.value.length-1,u.value+1),o.nextTick(()=>{const w=h.value.children[u.value];w.offsetTop+w.clientHeight>h.value.scrollTop+h.value.clientHeight&&(h.value.scrollTop=w.offsetTop-h.value.clientHeight+w.clientHeight)})):P.keyCode===38?(P.preventDefault(),l.value=!0,u.value=u.value===null?N.value.length-1:Math.max(0,u.value-1),o.nextTick(()=>{const w=h.value.children[u.value];w.offsetTop<h.value.scrollTop&&(h.value.scrollTop=w.offsetTop)})):P.keyCode===13?(P.preventDefault(),u.value!==null&&se(N.value[u.value]),l.value=!l.value):(f.value+=P.key,clearTimeout(c),c=setTimeout(()=>{f.value=""},700),o.nextTick(()=>{const w=N.value.slice(r.preferredCountries.length).findIndex(F=>F.name.toLowerCase().startsWith(f.value));if(w>=0){u.value=r.preferredCountries.length+w;const F=h.value.children[u.value];(F.offsetTop<h.value.scrollTop||F.offsetTop+F.clientHeight>h.value.scrollTop+h.value.clientHeight)&&(h.value.scrollTop=F.offsetTop-h.value.clientHeight/2)}}))}function Y(){u.value=N.value.map(P=>P.iso2).indexOf(s.value),l.value=!1}function V(){const w=window.innerHeight-p.value.getBoundingClientRect().bottom>200;m.value=w?"below":"above"}return(P,w)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[e.rootClass,O.value,P.$attrs.class,{"bg-fourth-nano":e.validation},{disabled:e.disabled}],"vue3-reactive-tel-input"]),style:o.normalizeStyle([e.rootStyle,I.value]),ref_key:"rootElement",ref:p},[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([["vti__dropdown",{open:l.value}],"br-solid br-black-transp br-1px radius-thin"]),style:o.normalizeStyle([e.dropdownStyle]),tabindex:e.dropdownOptions.tabindex,onKeydown:[fe,o.withKeys(Y,["esc"])],onClick:de},[o.createElementVNode("span",qd,[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:T.value,class:"mn-r-nano"},null,8,Xd)):o.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(o.openBlock(),o.createElementBlock("span",Jd," +"+o.toDisplayString(b.value&&b.value.dialCode),1)):o.createCommentVNode("",!0)]),o.withDirectives(o.createElementVNode("ul",{ref_key:"list",ref:h,class:o.normalizeClass(["bs-black radius-small vti__dropdown-list",m.value]),style:o.normalizeStyle([e.listStyle])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(N.value,(F,z)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",_e(z,F.iso2)]]),key:F.iso2+(F.preferred?"-preferred":""),onClick:re=>se(F),onMousemove:re=>u.value=z},[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:F.flag,class:"mn-r-thin"},null,8,Qd)):o.createCommentVNode("",!0),o.createElementVNode("strong",null,o.toDisplayString(F.name),1),e.dropdownOptions.showDialCodeInList?(o.openBlock(),o.createElementBlock("span",eu," +"+o.toDisplayString(F.dialCode),1)):o.createCommentVNode("",!0)],42,Zd))),128))],6),[[o.vShow,l.value]])],46,Yd)),[[o.unref(n),Ee]]),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=F=>i.value=F),inputmode:"numeric",pattern:"\\d*",ref_key:"input",ref:v,type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:o.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,S.value]),style:o.normalizeStyle([e.inputStyle,D.value]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:y.value,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:ve,onFocus:De,onInput:le,onKeyup:[o.withKeys(Me,["enter"]),o.withKeys(ce,["space"])]},null,46,tu),[[o.vModelDynamic,i.value]]),o.renderSlot(P.$slots,"default")],6),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",nu," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},ru=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"})),ou={class:"pos-relative"},au={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ca={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String,locale:{type:String,default:"en"}},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(null),i=o.ref(!1);let s,l;o.onMounted(()=>{new lr({apiKey:n.apiKey,version:"weekly",libraries:["places"],language:n.locale}).load().then(()=>{s=new google.maps.Map(a.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),l=new google.maps.Marker({position:n.location,map:s,draggable:!0}),l.addListener("dragend",c=>{const m={lat:c.latLng.lat(),lng:c.latLng.lng()};r("update:location",m),d(m)})}).catch(c=>{console.error(c)})}),o.watchEffect(()=>{n.location&&l&&l.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),o.watchEffect(()=>{if(n.location&&s){const f=new google.maps.LatLng(n.location.lat,n.location.lng);s.setCenter(f),s.setZoom(15)}});function d(f){new google.maps.Geocoder().geocode({location:f},(m,y)=>{if(y==="OK")if(m[0]){r("update:address",m[0].formatted_address);let p="",h="",v="";m[0].address_components.forEach(b=>{b.types.includes("country")&&(p=b.long_name),b.types.includes("administrative_area_level_1")&&(h=b.long_name),b.types.includes("locality")&&(v=b.long_name)}),r("update:country",p),r("update:state",h),r("update:city",v)}else console.error("No results found");else console.error("Geocoder failed due to: "+y)})}async function u(){i.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(f=>{const c={lat:f.coords.latitude,lng:f.coords.longitude};r("update:location",c),d(c),i.value=!1},()=>{console.error("Error getting location"),i.value=!1}):(console.error("Geolocation is not supported by this browser."),i.value=!1)}return(f,c)=>(o.openBlock(),o.createElementBlock("div",ou,[o.createElementVNode("div",{ref_key:"mapContainer",ref:a,class:"w-100 h-100"},null,512),o.createElementVNode("button",{class:"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",onClick:u},[o.createVNode(o.Transition,{name:"ScaleOut",mode:"out-in"},{default:o.withCtx(()=>[i.value?(o.openBlock(),o.createBlock(Nt,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(o.openBlock(),o.createElementBlock("svg",au,c[0]||(c[0]=[o.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"rgb(var(--white))"},null,-1),o.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"rgb(var(--white))"},null,-1)])))]),_:1})])]))}},iu=Object.freeze(Object.defineProperty({__proto__:null,default:Ca},Symbol.toStringTag,{value:"Module"})),su={__name:"Map",props:{location:Object,apiKey:String,locale:String},setup(e){const t=e;let n=o.ref(null),r=null,a=null;return o.onMounted(async()=>{new lr({apiKey:t.apiKey,version:"weekly",libraries:["places"],language:t.locale}).load().then(()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),a=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}).catch(s=>{console.error(s)})}),o.watch(()=>t.location,()=>{r&&a&&(a.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(i,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Na=ze(su,[["__scopeId","data-v-786189a4"]]),lu=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"}));/*!
|
7
7
|
* vue-router v4.4.3
|
8
8
|
* (c) 2024 Eduardo San Martin Morote
|
9
9
|
* @license MIT
|
10
|
-
*/var mo;(function(e){e.pop="pop",e.push="push"})(mo||(mo={}));var po;(function(e){e.back="back",e.forward="forward",e.unknown=""})(po||(po={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var ho;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ho||(ho={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const
|
10
|
+
*/var mo;(function(e){e.pop="pop",e.push="push"})(mo||(mo={}));var po;(function(e){e.back="back",e.forward="forward",e.unknown=""})(po||(po={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var ho;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ho||(ho={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const du=Symbol(process.env.NODE_ENV!=="production"?"router":""),uu=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Sa(){return o.inject(du)}function Ta(e){return o.inject(uu)}/*!
|
11
11
|
* shared v9.14.0
|
12
12
|
* (c) 2024 kazuya kawaguchi
|
13
13
|
* Released under the MIT License.
|
14
|
-
*/const
|
15
|
-
`)}function pn(e){let t=e;return()=>++t}function
|
14
|
+
*/const Qe=typeof window<"u";let Re,ct;if(process.env.NODE_ENV!=="production"){const e=Qe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Re=t=>{e.mark(t)},ct=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const cu=/\{([0-9a-zA-Z]+)\}/g;function $r(e,...t){return t.length===1&&X(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(cu,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const et=(e,t=!1)=>t?Symbol.for(e):Symbol(e),fu=(e,t,n)=>mu({l:e,k:t,s:n}),mu=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ce=e=>typeof e=="number"&&isFinite(e),pu=e=>wa(e)==="[object Date]",_t=e=>wa(e)==="[object RegExp]",mn=e=>K(e)&&Object.keys(e).length===0,Ne=Object.assign;let $o;const Je=()=>$o||($o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function go(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const hu=Object.prototype.hasOwnProperty;function nn(e,t){return hu.call(e,t)}const pe=Array.isArray,ne=e=>typeof e=="function",x=e=>typeof e=="string",te=e=>typeof e=="boolean",X=e=>e!==null&&typeof e=="object",$u=e=>X(e)&&ne(e.then)&&ne(e.catch),Oa=Object.prototype.toString,wa=e=>Oa.call(e),K=e=>{if(!X(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},gu=e=>e==null?"":pe(e)||K(e)&&e.toString===Oa?JSON.stringify(e,null,2):String(e);function vu(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const vo=2;function yu(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const i=[];for(let s=0;s<r.length;s++)if(a+=r[s].length+1,a>=t){for(let l=s-vo;l<=s+vo||n>a;l++){if(l<0||l>=r.length)continue;const d=l+1;i.push(`${d}${" ".repeat(3-String(d).length)}| ${r[l]}`);const u=r[l].length;if(l===s){const f=t-(a-u)+1,c=Math.max(1,n>a?u-f:n-t);i.push(" | "+" ".repeat(f)+"^".repeat(c))}else if(l>s){if(n>a){const f=Math.max(Math.min(n-a,u),1);i.push(" | "+"^".repeat(f))}a+=u+1}}break}return i.join(`
|
15
|
+
`)}function pn(e){let t=e;return()=>++t}function tt(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const yo={};function ka(e){yo[e]||(yo[e]=!0,tt(e))}function bu(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}const zt=e=>!X(e)||pe(e);function Xt(e,t){if(zt(e)||zt(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:a}=n.pop();Object.keys(r).forEach(i=>{zt(r[i])||zt(a[i])?a[i]=r[i]:n.push({src:r[i],des:a[i]})})}}/*!
|
16
16
|
* message-compiler v9.14.0
|
17
17
|
* (c) 2024 kazuya kawaguchi
|
18
18
|
* Released under the MIT License.
|
19
|
-
*/function
|
20
|
-
`,Dc="\u2028",Mc="\u2029";function Rc(e){const t=e;let n=0,r=1,a=1,i=0;const s=T=>t[T]===Ac&&t[T+1]===Te,l=T=>t[T]===Te,d=T=>t[T]===Mc,c=T=>t[T]===Dc,f=T=>s(T)||l(T)||d(T)||c(T),u=()=>n,m=()=>r,y=()=>a,p=()=>i,g=T=>s(T)||d(T)||c(T)?Te:t[T],v=()=>g(n),C=()=>g(n+i);function w(){return i=0,f(n)&&(r++,a=0),s(n)&&n++,n++,a++,t[n]}function h(){return s(n+i)&&i++,i++,t[n+i]}function _(){n=0,r=1,a=1,i=0}function S(T=0){i=T}function b(){const T=n+i;for(;T!==n;)w();i=0}return{index:u,line:m,column:y,peekOffset:p,charAt:g,currentChar:v,currentPeek:C,next:w,peek:h,reset:_,resetPeek:S,skipToPeek:b}}const rt=void 0,Fc=".",Eo="'",Bc="tokenizer";function xc(e,t={}){const n=t.location!==!1,r=Rc(e),a=()=>r.index(),i=()=>Nc(r.line(),r.column(),r.index()),s=i(),l=a(),d={currentType:14,offset:l,startLoc:s,endLoc:s,lastType:14,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:f}=t;function u($,E,A,...U){const Q=c();if(E.column+=A,E.offset+=A,f){const Z=n?rn(Q.startLoc,E):null,Y=St($,Z,{domain:Bc,args:U});f(Y)}}function m($,E,A){$.endLoc=i(),$.currentType=E;const U={type:E};return n&&(U.loc=rn($.startLoc,$.endLoc)),A!=null&&(U.value=A),U}const y=$=>m($,14);function p($,E){return $.currentChar()===E?($.next(),E):(u(H.EXPECTED_TOKEN,i(),0,E),"")}function g($){let E="";for(;$.currentPeek()===qe||$.currentPeek()===Te;)E+=$.currentPeek(),$.peek();return E}function v($){const E=g($);return $.skipToPeek(),E}function C($){if($===rt)return!1;const E=$.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function w($){if($===rt)return!1;const E=$.charCodeAt(0);return E>=48&&E<=57}function h($,E){const{currentType:A}=E;if(A!==2)return!1;g($);const U=C($.currentPeek());return $.resetPeek(),U}function _($,E){const{currentType:A}=E;if(A!==2)return!1;g($);const U=$.currentPeek()==="-"?$.peek():$.currentPeek(),Q=w(U);return $.resetPeek(),Q}function S($,E){const{currentType:A}=E;if(A!==2)return!1;g($);const U=$.currentPeek()===Eo;return $.resetPeek(),U}function b($,E){const{currentType:A}=E;if(A!==8)return!1;g($);const U=$.currentPeek()===".";return $.resetPeek(),U}function T($,E){const{currentType:A}=E;if(A!==9)return!1;g($);const U=C($.currentPeek());return $.resetPeek(),U}function I($,E){const{currentType:A}=E;if(!(A===8||A===12))return!1;g($);const U=$.currentPeek()===":";return $.resetPeek(),U}function N($,E){const{currentType:A}=E;if(A!==10)return!1;const U=()=>{const Z=$.currentPeek();return Z==="{"?C($.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===qe||!Z?!1:Z===Te?($.peek(),U()):B($,!1)},Q=U();return $.resetPeek(),Q}function D($){g($);const E=$.currentPeek()==="|";return $.resetPeek(),E}function R($){const E=g($),A=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:A,hasSpace:E.length>0}}function B($,E=!0){const A=(Q=!1,Z="",Y=!1)=>{const L=$.currentPeek();return L==="{"?Z==="%"?!1:Q:L==="@"||!L?Z==="%"?!0:Q:L==="%"?($.peek(),A(Q,"%",!0)):L==="|"?Z==="%"||Y?!0:!(Z===qe||Z===Te):L===qe?($.peek(),A(!0,qe,Y)):L===Te?($.peek(),A(!0,Te,Y)):!0},U=A();return E&&$.resetPeek(),U}function j($,E){const A=$.currentChar();return A===rt?rt:E(A)?($.next(),A):null}function te($){const E=$.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36}function $e($){return j($,te)}function J($){const E=$.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36||E===45}function ye($){return j($,J)}function ce($){const E=$.charCodeAt(0);return E>=48&&E<=57}function be($){return j($,ce)}function Se($){const E=$.charCodeAt(0);return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function Ee($){return j($,Se)}function se($){let E="",A="";for(;E=be($);)A+=E;return A}function ue($){v($);const E=$.currentChar();return E!=="%"&&u(H.EXPECTED_TOKEN,i(),0,E),$.next(),"%"}function ke($){let E="";for(;;){const A=$.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(B($))E+=A,$.next();else break;else if(A===qe||A===Te)if(B($))E+=A,$.next();else{if(D($))break;E+=A,$.next()}else E+=A,$.next()}return E}function De($){v($);let E="",A="";for(;E=ye($);)A+=E;return $.currentChar()===rt&&u(H.UNTERMINATED_CLOSING_BRACE,i(),0),A}function me($){v($);let E="";return $.currentChar()==="-"?($.next(),E+=`-${se($)}`):E+=se($),$.currentChar()===rt&&u(H.UNTERMINATED_CLOSING_BRACE,i(),0),E}function ge($){return $!==Eo&&$!==Te}function le($){v($),p($,"'");let E="",A="";for(;E=j($,ge);)E==="\\"?A+=Le($):A+=E;const U=$.currentChar();return U===Te||U===rt?(u(H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),U===Te&&($.next(),p($,"'")),A):(p($,"'"),A)}function Le($){const E=$.currentChar();switch(E){case"\\":case"'":return $.next(),`\\${E}`;case"u":return pe($,E,4);case"U":return pe($,E,6);default:return u(H.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function pe($,E,A){p($,E);let U="";for(let Q=0;Q<A;Q++){const Z=Ee($);if(!Z){u(H.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${E}${U}${$.currentChar()}`);break}U+=Z}return`\\${E}${U}`}function X($){return $!=="{"&&$!=="}"&&$!==qe&&$!==Te}function V($){v($);let E="",A="";for(;E=j($,X);)A+=E;return A}function P($){let E="",A="";for(;E=$e($);)A+=E;return A}function O($){const E=A=>{const U=$.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===qe?A:(A+=U,$.next(),E(A))};return E("")}function F($){v($);const E=p($,"|");return v($),E}function z($,E){let A=null;switch($.currentChar()){case"{":return E.braceNest>=1&&u(H.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),$.next(),A=m(E,2,"{"),v($),E.braceNest++,A;case"}":return E.braceNest>0&&E.currentType===2&&u(H.EMPTY_PLACEHOLDER,i(),0),$.next(),A=m(E,3,"}"),E.braceNest--,E.braceNest>0&&v($),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),A;case"@":return E.braceNest>0&&u(H.UNTERMINATED_CLOSING_BRACE,i(),0),A=oe($,E)||y(E),E.braceNest=0,A;default:{let Q=!0,Z=!0,Y=!0;if(D($))return E.braceNest>0&&u(H.UNTERMINATED_CLOSING_BRACE,i(),0),A=m(E,1,F($)),E.braceNest=0,E.inLinked=!1,A;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return u(H.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,fe($,E);if(Q=h($,E))return A=m(E,5,De($)),v($),A;if(Z=_($,E))return A=m(E,6,me($)),v($),A;if(Y=S($,E))return A=m(E,7,le($)),v($),A;if(!Q&&!Z&&!Y)return A=m(E,13,V($)),u(H.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,A.value),v($),A;break}}return A}function oe($,E){const{currentType:A}=E;let U=null;const Q=$.currentChar();switch((A===8||A===9||A===12||A===10)&&(Q===Te||Q===qe)&&u(H.INVALID_LINKED_FORMAT,i(),0),Q){case"@":return $.next(),U=m(E,8,"@"),E.inLinked=!0,U;case".":return v($),$.next(),m(E,9,".");case":":return v($),$.next(),m(E,10,":");default:return D($)?(U=m(E,1,F($)),E.braceNest=0,E.inLinked=!1,U):b($,E)||I($,E)?(v($),oe($,E)):T($,E)?(v($),m(E,12,P($))):N($,E)?(v($),Q==="{"?z($,E)||U:m(E,11,O($))):(A===8&&u(H.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,fe($,E))}}function fe($,E){let A={type:14};if(E.braceNest>0)return z($,E)||y(E);if(E.inLinked)return oe($,E)||y(E);switch($.currentChar()){case"{":return z($,E)||y(E);case"}":return u(H.UNBALANCED_CLOSING_BRACE,i(),0),$.next(),m(E,3,"}");case"@":return oe($,E)||y(E);default:{if(D($))return A=m(E,1,F($)),E.braceNest=0,E.inLinked=!1,A;const{isModulo:Q,hasSpace:Z}=R($);if(Q)return Z?m(E,0,ke($)):m(E,4,ue($));if(B($))return m(E,0,ke($));break}}return A}function _e(){const{currentType:$,offset:E,startLoc:A,endLoc:U}=d;return d.lastType=$,d.lastOffset=E,d.lastStartLoc=A,d.lastEndLoc=U,d.offset=a(),d.startLoc=i(),r.currentChar()===rt?m(d,14):fe(r,d)}return{nextToken:_e,currentOffset:a,currentPosition:i,context:c}}const Vc="parser",Uc=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function jc(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Hc(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function a(h,_,S,b,...T){const I=h.currentPosition();if(I.offset+=b,I.column+=b,n){const N=t?rn(S,I):null,D=St(_,N,{domain:Vc,args:T});n(D)}}function i(h,_,S,b,...T){const I=h.currentPosition();if(I.offset+=b,I.column+=b,r){const N=t?rn(S,I):null;r(wc(_,N,T))}}function s(h,_,S){const b={type:h};return t&&(b.start=_,b.end=_,b.loc={start:S,end:S}),b}function l(h,_,S,b){t&&(h.end=_,h.loc&&(h.loc.end=S))}function d(h,_){const S=h.context(),b=s(3,S.offset,S.startLoc);return b.value=_,l(b,h.currentOffset(),h.currentPosition()),b}function c(h,_){const S=h.context(),{lastOffset:b,lastStartLoc:T}=S,I=s(5,b,T);return I.index=parseInt(_,10),h.nextToken(),l(I,h.currentOffset(),h.currentPosition()),I}function f(h,_,S){const b=h.context(),{lastOffset:T,lastStartLoc:I}=b,N=s(4,T,I);return N.key=_,S===!0&&(N.modulo=!0),h.nextToken(),l(N,h.currentOffset(),h.currentPosition()),N}function u(h,_){const S=h.context(),{lastOffset:b,lastStartLoc:T}=S,I=s(9,b,T);return I.value=_.replace(Uc,jc),h.nextToken(),l(I,h.currentOffset(),h.currentPosition()),I}function m(h){const _=h.nextToken(),S=h.context(),{lastOffset:b,lastStartLoc:T}=S,I=s(8,b,T);return _.type!==12?(a(h,H.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),I.value="",l(I,b,T),{nextConsumeToken:_,node:I}):(_.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,xe(_)),I.value=_.value||"",l(I,h.currentOffset(),h.currentPosition()),{node:I})}function y(h,_){const S=h.context(),b=s(7,S.offset,S.startLoc);return b.value=_,l(b,h.currentOffset(),h.currentPosition()),b}function p(h){const _=h.context(),S=s(6,_.offset,_.startLoc);let b=h.nextToken();if(b.type===9){const T=m(h);S.modifier=T.node,b=T.nextConsumeToken||h.nextToken()}switch(b.type!==10&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(b)),b=h.nextToken(),b.type===2&&(b=h.nextToken()),b.type){case 11:b.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(b)),S.key=y(h,b.value||"");break;case 5:b.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(b)),S.key=f(h,b.value||"");break;case 6:b.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(b)),S.key=c(h,b.value||"");break;case 7:b.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(b)),S.key=u(h,b.value||"");break;default:{a(h,H.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const T=h.context(),I=s(7,T.offset,T.startLoc);return I.value="",l(I,T.offset,T.startLoc),S.key=I,l(S,T.offset,T.startLoc),{nextConsumeToken:b,node:S}}}return l(S,h.currentOffset(),h.currentPosition()),{node:S}}function g(h){const _=h.context(),S=_.currentType===1?h.currentOffset():_.offset,b=_.currentType===1?_.endLoc:_.startLoc,T=s(2,S,b);T.items=[];let I=null,N=null;do{const B=I||h.nextToken();switch(I=null,B.type){case 0:B.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(B)),T.items.push(d(h,B.value||""));break;case 6:B.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(B)),T.items.push(c(h,B.value||""));break;case 4:N=!0;break;case 5:B.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(B)),T.items.push(f(h,B.value||"",!!N)),N&&(i(h,hn.USE_MODULO_SYNTAX,_.lastStartLoc,0,xe(B)),N=null);break;case 7:B.value==null&&a(h,H.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,xe(B)),T.items.push(u(h,B.value||""));break;case 8:{const j=p(h);T.items.push(j.node),I=j.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const D=_.currentType===1?_.lastOffset:h.currentOffset(),R=_.currentType===1?_.lastEndLoc:h.currentPosition();return l(T,D,R),T}function v(h,_,S,b){const T=h.context();let I=b.items.length===0;const N=s(1,_,S);N.cases=[],N.cases.push(b);do{const D=g(h);I||(I=D.items.length===0),N.cases.push(D)}while(T.currentType!==14);return I&&a(h,H.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),l(N,h.currentOffset(),h.currentPosition()),N}function C(h){const _=h.context(),{offset:S,startLoc:b}=_,T=g(h);return _.currentType===14?T:v(h,S,b,T)}function w(h){const _=xc(h,Ia({},e)),S=_.context(),b=s(0,S.offset,S.startLoc);return t&&b.loc&&(b.loc.source=h),b.body=C(_),e.onCacheKey&&(b.cacheKey=e.onCacheKey(h)),S.currentType!==14&&a(_,H.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,h[S.offset]||""),l(b,_.currentOffset(),_.currentPosition()),b}return{parse:w}}function xe(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Gc(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function _o(e,t){for(let n=0;n<e.length;n++)$r(e[n],t)}function $r(e,t){switch(e.type){case 1:_o(e.cases,t),t.helper("plural");break;case 2:_o(e.items,t);break;case 6:{$r(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Kc(e,t={}){const n=Gc(e);n.helper("normalize"),e.body&&$r(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Wc(e){const t=e.body;return t.type===2?Co(t):t.cases.forEach(n=>Co(n)),e}function Co(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Pa(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const zc="minifier";function vt(e){switch(e.t=e.type,e.type){case 0:{const t=e;vt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)vt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)vt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;vt(t.key),t.k=t.key,delete t.key,t.modifier&&(vt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw St(H.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:zc,args:[e.type]})}delete e.type}const Yc="parser";function qc(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:i}=t,s=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:i,indentLevel:0};s&&e.loc&&(l.source=e.loc.source);const d=()=>l;function c(v,C){l.code+=v}function f(v,C=!0){const w=C?a:"";c(i?w+" ".repeat(v):w)}function u(v=!0){const C=++l.indentLevel;v&&f(C)}function m(v=!0){const C=--l.indentLevel;v&&f(C)}function y(){f(l.indentLevel)}return{context:d,push:c,indent:u,deindent:m,newline:y,helper:v=>`_${v}`,needIndent:()=>l.needIndent}}function Xc(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ct(e,t.key),t.modifier?(e.push(", "),Ct(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Jc(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let i=0;i<a&&(Ct(e,t.items[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function Zc(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let i=0;i<a&&(Ct(e,t.cases[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function Qc(e,t){t.body?Ct(e,t.body):e.push("null")}function Ct(e,t){const{helper:n}=e;switch(t.type){case 0:Qc(e,t);break;case 1:Zc(e,t);break;case 2:Jc(e,t);break;case 6:Xc(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw St(H.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Yc,args:[t.type]})}}const eu=(e,t={})=>{const n=bo(t.mode)?t.mode:"normal",r=bo(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
21
|
-
`,s=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=
|
19
|
+
*/function Eu(e,t,n){return{line:e,column:t,offset:n}}function rn(e,t,n){return{start:e,end:t}}const _u=/\{([0-9a-zA-Z]+)\}/g;function La(e,...t){return t.length===1&&Cu(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(_u,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ia=Object.assign,bo=e=>typeof e=="string",Cu=e=>e!==null&&typeof e=="object";function Pa(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const hn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Nu={[hn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Su(e,t,...n){const r=La(Nu[e],...n||[]),a={message:String(r),code:e};return t&&(a.location=t),a}const H={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Tu={[H.EXPECTED_TOKEN]:"Expected token: '{0}'",[H.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[H.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[H.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[H.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[H.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[H.EMPTY_PLACEHOLDER]:"Empty placeholder",[H.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[H.INVALID_LINKED_FORMAT]:"Invalid linked format",[H.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[H.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[H.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[H.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[H.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[H.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function St(e,t,n={}){const{domain:r,messages:a,args:i}=n,s=La((a||Tu)[e]||"",...i||[]),l=new SyntaxError(String(s));return l.code=e,t&&(l.location=t),l.domain=r,l}function Ou(e){throw e}const wu=/<\/?[\w\s="/.':;#-\/]+>/,ku=e=>wu.test(e),Ye=" ",Lu="\r",Te=`
|
20
|
+
`,Iu="\u2028",Pu="\u2029";function Au(e){const t=e;let n=0,r=1,a=1,i=0;const s=O=>t[O]===Lu&&t[O+1]===Te,l=O=>t[O]===Te,d=O=>t[O]===Pu,u=O=>t[O]===Iu,f=O=>s(O)||l(O)||d(O)||u(O),c=()=>n,m=()=>r,y=()=>a,p=()=>i,h=O=>s(O)||d(O)||u(O)?Te:t[O],v=()=>h(n),b=()=>h(n+i);function T(){return i=0,f(n)&&(r++,a=0),s(n)&&n++,n++,a++,t[n]}function g(){return s(n+i)&&i++,i++,t[n+i]}function C(){n=0,r=1,a=1,i=0}function N(O=0){i=O}function _(){const O=n+i;for(;O!==n;)T();i=0}return{index:c,line:m,column:y,peekOffset:p,charAt:h,currentChar:v,currentPeek:b,next:T,peek:g,reset:C,resetPeek:N,skipToPeek:_}}const rt=void 0,Du=".",Eo="'",Mu="tokenizer";function Ru(e,t={}){const n=t.location!==!1,r=Au(e),a=()=>r.index(),i=()=>Eu(r.line(),r.column(),r.index()),s=i(),l=a(),d={currentType:14,offset:l,startLoc:s,endLoc:s,lastType:14,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>d,{onError:f}=t;function c($,E,A,...U){const ee=u();if(E.column+=A,E.offset+=A,f){const J=n?rn(ee.startLoc,E):null,q=St($,J,{domain:Mu,args:U});f(q)}}function m($,E,A){$.endLoc=i(),$.currentType=E;const U={type:E};return n&&(U.loc=rn($.startLoc,$.endLoc)),A!=null&&(U.value=A),U}const y=$=>m($,14);function p($,E){return $.currentChar()===E?($.next(),E):(c(H.EXPECTED_TOKEN,i(),0,E),"")}function h($){let E="";for(;$.currentPeek()===Ye||$.currentPeek()===Te;)E+=$.currentPeek(),$.peek();return E}function v($){const E=h($);return $.skipToPeek(),E}function b($){if($===rt)return!1;const E=$.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function T($){if($===rt)return!1;const E=$.charCodeAt(0);return E>=48&&E<=57}function g($,E){const{currentType:A}=E;if(A!==2)return!1;h($);const U=b($.currentPeek());return $.resetPeek(),U}function C($,E){const{currentType:A}=E;if(A!==2)return!1;h($);const U=$.currentPeek()==="-"?$.peek():$.currentPeek(),ee=T(U);return $.resetPeek(),ee}function N($,E){const{currentType:A}=E;if(A!==2)return!1;h($);const U=$.currentPeek()===Eo;return $.resetPeek(),U}function _($,E){const{currentType:A}=E;if(A!==8)return!1;h($);const U=$.currentPeek()===".";return $.resetPeek(),U}function O($,E){const{currentType:A}=E;if(A!==9)return!1;h($);const U=b($.currentPeek());return $.resetPeek(),U}function I($,E){const{currentType:A}=E;if(!(A===8||A===12))return!1;h($);const U=$.currentPeek()===":";return $.resetPeek(),U}function S($,E){const{currentType:A}=E;if(A!==10)return!1;const U=()=>{const J=$.currentPeek();return J==="{"?b($.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===Ye||!J?!1:J===Te?($.peek(),U()):B($,!1)},ee=U();return $.resetPeek(),ee}function D($){h($);const E=$.currentPeek()==="|";return $.resetPeek(),E}function R($){const E=h($),A=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:A,hasSpace:E.length>0}}function B($,E=!0){const A=(ee=!1,J="",q=!1)=>{const L=$.currentPeek();return L==="{"?J==="%"?!1:ee:L==="@"||!L?J==="%"?!0:ee:L==="%"?($.peek(),A(ee,"%",!0)):L==="|"?J==="%"||q?!0:!(J===Ye||J===Te):L===Ye?($.peek(),A(!0,Ye,q)):L===Te?($.peek(),A(!0,Te,q)):!0},U=A();return E&&$.resetPeek(),U}function j($,E){const A=$.currentChar();return A===rt?rt:E(A)?($.next(),A):null}function oe($){const E=$.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36}function me($){return j($,oe)}function Q($){const E=$.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57||E===95||E===36||E===45}function _e($){return j($,Q)}function se($){const E=$.charCodeAt(0);return E>=48&&E<=57}function be($){return j($,se)}function Ae($){const E=$.charCodeAt(0);return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function $e($){return j($,Ae)}function le($){let E="",A="";for(;E=be($);)A+=E;return A}function ge($){v($);const E=$.currentChar();return E!=="%"&&c(H.EXPECTED_TOKEN,i(),0,E),$.next(),"%"}function ve($){let E="";for(;;){const A=$.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(B($))E+=A,$.next();else break;else if(A===Ye||A===Te)if(B($))E+=A,$.next();else{if(D($))break;E+=A,$.next()}else E+=A,$.next()}return E}function De($){v($);let E="",A="";for(;E=_e($);)A+=E;return $.currentChar()===rt&&c(H.UNTERMINATED_CLOSING_BRACE,i(),0),A}function Me($){v($);let E="";return $.currentChar()==="-"?($.next(),E+=`-${le($)}`):E+=le($),$.currentChar()===rt&&c(H.UNTERMINATED_CLOSING_BRACE,i(),0),E}function ce($){return $!==Eo&&$!==Te}function de($){v($),p($,"'");let E="",A="";for(;E=j($,ce);)E==="\\"?A+=Ee($):A+=E;const U=$.currentChar();return U===Te||U===rt?(c(H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),U===Te&&($.next(),p($,"'")),A):(p($,"'"),A)}function Ee($){const E=$.currentChar();switch(E){case"\\":case"'":return $.next(),`\\${E}`;case"u":return fe($,E,4);case"U":return fe($,E,6);default:return c(H.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function fe($,E,A){p($,E);let U="";for(let ee=0;ee<A;ee++){const J=$e($);if(!J){c(H.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${E}${U}${$.currentChar()}`);break}U+=J}return`\\${E}${U}`}function Y($){return $!=="{"&&$!=="}"&&$!==Ye&&$!==Te}function V($){v($);let E="",A="";for(;E=j($,Y);)A+=E;return A}function P($){let E="",A="";for(;E=me($);)A+=E;return A}function w($){const E=A=>{const U=$.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===Ye?A:(A+=U,$.next(),E(A))};return E("")}function F($){v($);const E=p($,"|");return v($),E}function z($,E){let A=null;switch($.currentChar()){case"{":return E.braceNest>=1&&c(H.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),$.next(),A=m(E,2,"{"),v($),E.braceNest++,A;case"}":return E.braceNest>0&&E.currentType===2&&c(H.EMPTY_PLACEHOLDER,i(),0),$.next(),A=m(E,3,"}"),E.braceNest--,E.braceNest>0&&v($),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),A;case"@":return E.braceNest>0&&c(H.UNTERMINATED_CLOSING_BRACE,i(),0),A=re($,E)||y(E),E.braceNest=0,A;default:{let ee=!0,J=!0,q=!0;if(D($))return E.braceNest>0&&c(H.UNTERMINATED_CLOSING_BRACE,i(),0),A=m(E,1,F($)),E.braceNest=0,E.inLinked=!1,A;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return c(H.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,he($,E);if(ee=g($,E))return A=m(E,5,De($)),v($),A;if(J=C($,E))return A=m(E,6,Me($)),v($),A;if(q=N($,E))return A=m(E,7,de($)),v($),A;if(!ee&&!J&&!q)return A=m(E,13,V($)),c(H.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,A.value),v($),A;break}}return A}function re($,E){const{currentType:A}=E;let U=null;const ee=$.currentChar();switch((A===8||A===9||A===12||A===10)&&(ee===Te||ee===Ye)&&c(H.INVALID_LINKED_FORMAT,i(),0),ee){case"@":return $.next(),U=m(E,8,"@"),E.inLinked=!0,U;case".":return v($),$.next(),m(E,9,".");case":":return v($),$.next(),m(E,10,":");default:return D($)?(U=m(E,1,F($)),E.braceNest=0,E.inLinked=!1,U):_($,E)||I($,E)?(v($),re($,E)):O($,E)?(v($),m(E,12,P($))):S($,E)?(v($),ee==="{"?z($,E)||U:m(E,11,w($))):(A===8&&c(H.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,he($,E))}}function he($,E){let A={type:14};if(E.braceNest>0)return z($,E)||y(E);if(E.inLinked)return re($,E)||y(E);switch($.currentChar()){case"{":return z($,E)||y(E);case"}":return c(H.UNBALANCED_CLOSING_BRACE,i(),0),$.next(),m(E,3,"}");case"@":return re($,E)||y(E);default:{if(D($))return A=m(E,1,F($)),E.braceNest=0,E.inLinked=!1,A;const{isModulo:ee,hasSpace:J}=R($);if(ee)return J?m(E,0,ve($)):m(E,4,ge($));if(B($))return m(E,0,ve($));break}}return A}function Se(){const{currentType:$,offset:E,startLoc:A,endLoc:U}=d;return d.lastType=$,d.lastOffset=E,d.lastStartLoc=A,d.lastEndLoc=U,d.offset=a(),d.startLoc=i(),r.currentChar()===rt?m(d,14):he(r,d)}return{nextToken:Se,currentOffset:a,currentPosition:i,context:u}}const Fu="parser",Bu=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function xu(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Vu(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function a(g,C,N,_,...O){const I=g.currentPosition();if(I.offset+=_,I.column+=_,n){const S=t?rn(N,I):null,D=St(C,S,{domain:Fu,args:O});n(D)}}function i(g,C,N,_,...O){const I=g.currentPosition();if(I.offset+=_,I.column+=_,r){const S=t?rn(N,I):null;r(Su(C,S,O))}}function s(g,C,N){const _={type:g};return t&&(_.start=C,_.end=C,_.loc={start:N,end:N}),_}function l(g,C,N,_){t&&(g.end=C,g.loc&&(g.loc.end=N))}function d(g,C){const N=g.context(),_=s(3,N.offset,N.startLoc);return _.value=C,l(_,g.currentOffset(),g.currentPosition()),_}function u(g,C){const N=g.context(),{lastOffset:_,lastStartLoc:O}=N,I=s(5,_,O);return I.index=parseInt(C,10),g.nextToken(),l(I,g.currentOffset(),g.currentPosition()),I}function f(g,C,N){const _=g.context(),{lastOffset:O,lastStartLoc:I}=_,S=s(4,O,I);return S.key=C,N===!0&&(S.modulo=!0),g.nextToken(),l(S,g.currentOffset(),g.currentPosition()),S}function c(g,C){const N=g.context(),{lastOffset:_,lastStartLoc:O}=N,I=s(9,_,O);return I.value=C.replace(Bu,xu),g.nextToken(),l(I,g.currentOffset(),g.currentPosition()),I}function m(g){const C=g.nextToken(),N=g.context(),{lastOffset:_,lastStartLoc:O}=N,I=s(8,_,O);return C.type!==12?(a(g,H.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),I.value="",l(I,_,O),{nextConsumeToken:C,node:I}):(C.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,je(C)),I.value=C.value||"",l(I,g.currentOffset(),g.currentPosition()),{node:I})}function y(g,C){const N=g.context(),_=s(7,N.offset,N.startLoc);return _.value=C,l(_,g.currentOffset(),g.currentPosition()),_}function p(g){const C=g.context(),N=s(6,C.offset,C.startLoc);let _=g.nextToken();if(_.type===9){const O=m(g);N.modifier=O.node,_=O.nextConsumeToken||g.nextToken()}switch(_.type!==10&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(_)),_=g.nextToken(),_.type===2&&(_=g.nextToken()),_.type){case 11:_.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(_)),N.key=y(g,_.value||"");break;case 5:_.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(_)),N.key=f(g,_.value||"");break;case 6:_.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(_)),N.key=u(g,_.value||"");break;case 7:_.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(_)),N.key=c(g,_.value||"");break;default:{a(g,H.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const O=g.context(),I=s(7,O.offset,O.startLoc);return I.value="",l(I,O.offset,O.startLoc),N.key=I,l(N,O.offset,O.startLoc),{nextConsumeToken:_,node:N}}}return l(N,g.currentOffset(),g.currentPosition()),{node:N}}function h(g){const C=g.context(),N=C.currentType===1?g.currentOffset():C.offset,_=C.currentType===1?C.endLoc:C.startLoc,O=s(2,N,_);O.items=[];let I=null,S=null;do{const B=I||g.nextToken();switch(I=null,B.type){case 0:B.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(B)),O.items.push(d(g,B.value||""));break;case 6:B.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(B)),O.items.push(u(g,B.value||""));break;case 4:S=!0;break;case 5:B.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(B)),O.items.push(f(g,B.value||"",!!S)),S&&(i(g,hn.USE_MODULO_SYNTAX,C.lastStartLoc,0,je(B)),S=null);break;case 7:B.value==null&&a(g,H.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,je(B)),O.items.push(c(g,B.value||""));break;case 8:{const j=p(g);O.items.push(j.node),I=j.nextConsumeToken||null;break}}}while(C.currentType!==14&&C.currentType!==1);const D=C.currentType===1?C.lastOffset:g.currentOffset(),R=C.currentType===1?C.lastEndLoc:g.currentPosition();return l(O,D,R),O}function v(g,C,N,_){const O=g.context();let I=_.items.length===0;const S=s(1,C,N);S.cases=[],S.cases.push(_);do{const D=h(g);I||(I=D.items.length===0),S.cases.push(D)}while(O.currentType!==14);return I&&a(g,H.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(S,g.currentOffset(),g.currentPosition()),S}function b(g){const C=g.context(),{offset:N,startLoc:_}=C,O=h(g);return C.currentType===14?O:v(g,N,_,O)}function T(g){const C=Ru(g,Ia({},e)),N=C.context(),_=s(0,N.offset,N.startLoc);return t&&_.loc&&(_.loc.source=g),_.body=b(C),e.onCacheKey&&(_.cacheKey=e.onCacheKey(g)),N.currentType!==14&&a(C,H.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,g[N.offset]||""),l(_,C.currentOffset(),C.currentPosition()),_}return{parse:T}}function je(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Uu(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function _o(e,t){for(let n=0;n<e.length;n++)gr(e[n],t)}function gr(e,t){switch(e.type){case 1:_o(e.cases,t),t.helper("plural");break;case 2:_o(e.items,t);break;case 6:{gr(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function ju(e,t={}){const n=Uu(e);n.helper("normalize"),e.body&&gr(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Hu(e){const t=e.body;return t.type===2?Co(t):t.cases.forEach(n=>Co(n)),e}function Co(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Pa(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Gu="minifier";function vt(e){switch(e.t=e.type,e.type){case 0:{const t=e;vt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)vt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)vt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;vt(t.key),t.k=t.key,delete t.key,t.modifier&&(vt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw St(H.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Gu,args:[e.type]})}delete e.type}const Ku="parser";function Wu(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:i}=t,s=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:i,indentLevel:0};s&&e.loc&&(l.source=e.loc.source);const d=()=>l;function u(v,b){l.code+=v}function f(v,b=!0){const T=b?a:"";u(i?T+" ".repeat(v):T)}function c(v=!0){const b=++l.indentLevel;v&&f(b)}function m(v=!0){const b=--l.indentLevel;v&&f(b)}function y(){f(l.indentLevel)}return{context:d,push:u,indent:c,deindent:m,newline:y,helper:v=>`_${v}`,needIndent:()=>l.needIndent}}function zu(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ct(e,t.key),t.modifier?(e.push(", "),Ct(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Yu(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let i=0;i<a&&(Ct(e,t.items[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function qu(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let i=0;i<a&&(Ct(e,t.cases[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function Xu(e,t){t.body?Ct(e,t.body):e.push("null")}function Ct(e,t){const{helper:n}=e;switch(t.type){case 0:Xu(e,t);break;case 1:qu(e,t);break;case 2:Yu(e,t);break;case 6:zu(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw St(H.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Ku,args:[t.type]})}}const Ju=(e,t={})=>{const n=bo(t.mode)?t.mode:"normal",r=bo(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
21
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],d=Wu(e,{mode:n,filename:r,sourceMap:a,breakLineCode:i,needIndent:s});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(s),l.length>0&&(d.push(`const { ${Pa(l.map(c=>`${c}: _${c}`),", ")} } = ctx`),d.newline()),d.push("return "),Ct(d,e),d.deindent(s),d.push("}"),delete e.helpers;const{code:u,map:f}=d.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function Zu(e,t={}){const n=Ia({},t),r=!!n.jit,a=!!n.minify,i=n.optimize==null?!0:n.optimize,l=Vu(n).parse(e);return r?(i&&Hu(l),a&&vt(l),{ast:l,code:""}):(ju(l,n),Ju(l,n))}/*!
|
22
22
|
* core-base v9.14.0
|
23
23
|
* (c) 2024 kazuya kawaguchi
|
24
24
|
* Released under the MIT License.
|
25
|
-
*/function nu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ze().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ze().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ze().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const it=[];it[0]={w:[0],i:[3,0],"[":[4],o:[7]};it[1]={w:[1],".":[2],"[":[4],o:[7]};it[2]={w:[2],i:[3,0],0:[3,0]};it[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};it[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};it[5]={"'":[4,0],o:8,l:[5,0]};it[6]={'"':[4,0],o:8,l:[6,0]};const ru=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ou(e){return ru.test(e)}function au(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function iu(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function su(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ou(t)?au(t):"*"+t}function lu(e){const t=[];let n=-1,r=0,a=0,i,s,l,d,c,f,u;const m=[];m[0]=()=>{s===void 0?s=l:s+=l},m[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},m[2]=()=>{m[0](),a++},m[3]=()=>{if(a>0)a--,r=4,m[0]();else{if(a=0,s===void 0||(s=su(s),s===!1))return!1;m[1]()}};function y(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,l="\\"+p,m[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&y())){if(d=iu(i),u=it[r],c=u[d]||u.l||8,c===8||(r=c[0],c[1]!==void 0&&(f=m[c[1]],f&&(l=i,f()===!1))))return;if(r===7)return t}}const No=new Map;function du(e,t){return q(e)?e[t]:null}function cu(e,t){if(!q(e))return null;let n=No.get(t);if(n||(n=lu(t),n&&No.set(t,n)),!n)return null;const r=n.length;let a=e,i=0;for(;i<r;){const s=a[n[i]];if(s===void 0||re(a))return null;a=s,i++}return a}const uu=e=>e,fu=e=>"",mu="text",pu=e=>e.length===0?"":Ec(e),hu=bc;function So(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function $u(e){const t=Ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ce(e.named.count)||Ce(e.named.n))?Ce(e.named.count)?e.named.count:Ce(e.named.n)?e.named.n:t:t}function gu(e,t){t.count||(t.count=e),t.n||(t.n=e)}function vu(e={}){const t=e.locale,n=$u(e),r=q(e.pluralRules)&&x(t)&&re(e.pluralRules[t])?e.pluralRules[t]:So,a=q(e.pluralRules)&&x(t)&&re(e.pluralRules[t])?So:void 0,i=C=>C[r(n,C.length,a)],s=e.list||[],l=C=>s[C],d=e.named||{};Ce(e.pluralIndex)&&gu(n,d);const c=C=>d[C];function f(C){const w=re(e.messages)?e.messages(C):q(e.messages)?e.messages[C]:!1;return w||(e.parent?e.parent.message(C):fu)}const u=C=>e.modifiers?e.modifiers[C]:uu,m=W(e.processor)&&re(e.processor.normalize)?e.processor.normalize:pu,y=W(e.processor)&&re(e.processor.interpolate)?e.processor.interpolate:hu,p=W(e.processor)&&x(e.processor.type)?e.processor.type:mu,v={list:l,named:c,plural:i,linked:(C,...w)=>{const[h,_]=w;let S="text",b="";w.length===1?q(h)?(b=h.modifier||b,S=h.type||S):x(h)&&(b=h||b):w.length===2&&(x(h)&&(b=h||b),x(_)&&(S=_||S));const T=f(C)(v),I=S==="vnode"&&he(T)&&b?T[0]:T;return b?u(b)(I,S):I},message:f,type:p,interpolate:y,normalize:m,values:Ne({},s,d)};return v}let Rt=null;function yu(e){Rt=e}function bu(e,t,n){Rt&&Rt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Eu=_u("function:translate");function _u(e){return t=>Rt&&Rt.emit(e,t)}const Aa=hn.__EXTEND_POINT__,st=pn(Aa),Oe={NOT_FOUND_KEY:Aa,FALLBACK_TO_TRANSLATE:st(),CANNOT_FORMAT_NUMBER:st(),FALLBACK_TO_NUMBER_FORMAT:st(),CANNOT_FORMAT_DATE:st(),FALLBACK_TO_DATE_FORMAT:st(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:st(),__EXTEND_POINT__:st()},Cu={[Oe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Oe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Oe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Oe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ft(e,...t){return hr(Cu[e],...t)}const Da=H.__EXTEND_POINT__,lt=pn(Da),ve={INVALID_ARGUMENT:Da,INVALID_DATE_ARGUMENT:lt(),INVALID_ISO_DATE_ARGUMENT:lt(),NOT_SUPPORT_NON_STRING_MESSAGE:lt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:lt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:lt(),NOT_SUPPORT_LOCALE_TYPE:lt(),__EXTEND_POINT__:lt()};function Ke(e){return St(e,null,process.env.NODE_ENV!=="production"?{messages:Nu}:void 0)}const Nu={[ve.INVALID_ARGUMENT]:"Invalid arguments",[ve.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ve.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ve.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ve.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function gr(e,t){return t.locale!=null?To(t.locale):To(e.locale)}let On;function To(e){if(x(e))return e;if(re(e)){if(e.resolvedOnce&&On!=null)return On;if(e.constructor.name==="Function"){const t=e();if(yc(t))throw Ke(ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return On=t}else throw Ke(ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ke(ve.NOT_SUPPORT_LOCALE_TYPE)}function Su(e,t,n){return[...new Set([n,...he(t)?t:q(t)?Object.keys(t):x(t)?[t]:[n]])]}function Ma(e,t,n){const r=x(n)?n:Ft,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let i=a.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;he(s);)s=Oo(i,s,t);const l=he(t)||!W(t)?t:t.default?t.default:null;s=x(l)?[l]:l,he(s)&&Oo(i,s,!1),a.__localeChainCache.set(r,i)}return i}function Oo(e,t,n){let r=!0;for(let a=0;a<t.length&&ee(r);a++){const i=t[a];x(i)&&(r=Tu(e,t[a],n))}return r}function Tu(e,t,n){let r;const a=t.split("-");do{const i=a.join("-");r=Ou(e,i,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function Ou(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(he(n)||W(n))&&n[a]&&(r=n[a])}return r}const wu="9.14.0",$n=-1,Ft="en-US",on="",wo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ku(){return{upper:(e,t)=>t==="text"&&x(e)?e.toUpperCase():t==="vnode"&&q(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&x(e)?e.toLowerCase():t==="vnode"&&q(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&x(e)?wo(e):t==="vnode"&&q(e)&&"__v_isVNode"in e?wo(e.children):e}}let Ra;function ko(e){Ra=e}let Fa;function Lu(e){Fa=e}let Ba;function Iu(e){Ba=e}let xa=null;const Pu=e=>{xa=e},Au=()=>xa;let Va=null;const Lo=e=>{Va=e},Du=()=>Va;let Io=0;function Mu(e={}){const t=re(e.onWarn)?e.onWarn:nt,n=x(e.version)?e.version:wu,r=x(e.locale)||re(e.locale)?e.locale:Ft,a=re(r)?Ft:r,i=he(e.fallbackLocale)||W(e.fallbackLocale)||x(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=W(e.messages)?e.messages:{[a]:{}},l=W(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},d=W(e.numberFormats)?e.numberFormats:{[a]:{}},c=Ne({},e.modifiers||{},ku()),f=e.pluralRules||{},u=re(e.missing)?e.missing:null,m=ee(e.missingWarn)||_t(e.missingWarn)?e.missingWarn:!0,y=ee(e.fallbackWarn)||_t(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=re(e.postTranslation)?e.postTranslation:null,C=W(e.processor)?e.processor:null,w=ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,_=re(e.messageCompiler)?e.messageCompiler:Ra;process.env.NODE_ENV!=="production"&&re(e.messageCompiler)&&ka(ft(Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const S=re(e.messageResolver)?e.messageResolver:Fa||du,b=re(e.localeFallbacker)?e.localeFallbacker:Ba||Su,T=q(e.fallbackContext)?e.fallbackContext:void 0,I=e,N=q(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,D=q(I.__numberFormatters)?I.__numberFormatters:new Map,R=q(I.__meta)?I.__meta:{};Io++;const B={version:n,cid:Io,locale:r,fallbackLocale:i,messages:s,modifiers:c,pluralRules:f,missing:u,missingWarn:m,fallbackWarn:y,fallbackFormat:p,unresolving:g,postTranslation:v,processor:C,warnHtmlMessage:w,escapeParameter:h,messageCompiler:_,messageResolver:S,localeFallbacker:b,fallbackContext:T,onWarn:t,__meta:R};return B.datetimeFormats=l,B.numberFormats=d,B.__datetimeFormatters=N,B.__numberFormatters=D,process.env.NODE_ENV!=="production"&&(B.__v_emitter=I.__v_emitter!=null?I.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&bu(B,n,R),B}function gn(e,t){return e instanceof RegExp?e.test(t):e}function Ua(e,t){return e instanceof RegExp?e.test(t):e}function vr(e,t,n,r,a){const{missing:i,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(i!==null){const l=i(e,n,t,a);return x(l)?l:t}else return process.env.NODE_ENV!=="production"&&Ua(r,t)&&s(ft(Oe.NOT_FOUND_KEY,{key:t,locale:n})),t}function kt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ja(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ru(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(ja(e,t[r]))return!0;return!1}function wn(e){return n=>Fu(n,e)}function Fu(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((i,s)=>[...i,Po(e,s)],[]))}else return Po(e,n)}function Po(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((a,i)=>[...a,Un(e,i)],[]);return e.normalize(r)}}function Un(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,a=r.m||r.modifier;return e.linked(Un(e,r.k||r.key),a?Un(e,a):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Bu="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ha(e,t){t&&Pc(e)&&nt(hr(Bu,{source:e}))}const Ga=e=>e;let bt=Object.create(null);function Ka(e){e.code===hn.USE_MODULO_SYNTAX&&nt(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
25
|
+
*/function Qu(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const it=[];it[0]={w:[0],i:[3,0],"[":[4],o:[7]};it[1]={w:[1],".":[2],"[":[4],o:[7]};it[2]={w:[2],i:[3,0],0:[3,0]};it[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};it[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};it[5]={"'":[4,0],o:8,l:[5,0]};it[6]={'"':[4,0],o:8,l:[6,0]};const ec=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function tc(e){return ec.test(e)}function nc(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function rc(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function oc(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tc(t)?nc(t):"*"+t}function ac(e){const t=[];let n=-1,r=0,a=0,i,s,l,d,u,f,c;const m=[];m[0]=()=>{s===void 0?s=l:s+=l},m[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},m[2]=()=>{m[0](),a++},m[3]=()=>{if(a>0)a--,r=4,m[0]();else{if(a=0,s===void 0||(s=oc(s),s===!1))return!1;m[1]()}};function y(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,l="\\"+p,m[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&y())){if(d=rc(i),c=it[r],u=c[d]||c.l||8,u===8||(r=u[0],u[1]!==void 0&&(f=m[u[1]],f&&(l=i,f()===!1))))return;if(r===7)return t}}const No=new Map;function ic(e,t){return X(e)?e[t]:null}function sc(e,t){if(!X(e))return null;let n=No.get(t);if(n||(n=ac(t),n&&No.set(t,n)),!n)return null;const r=n.length;let a=e,i=0;for(;i<r;){const s=a[n[i]];if(s===void 0||ne(a))return null;a=s,i++}return a}const lc=e=>e,dc=e=>"",uc="text",cc=e=>e.length===0?"":vu(e),fc=gu;function So(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function mc(e){const t=Ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ce(e.named.count)||Ce(e.named.n))?Ce(e.named.count)?e.named.count:Ce(e.named.n)?e.named.n:t:t}function pc(e,t){t.count||(t.count=e),t.n||(t.n=e)}function hc(e={}){const t=e.locale,n=mc(e),r=X(e.pluralRules)&&x(t)&&ne(e.pluralRules[t])?e.pluralRules[t]:So,a=X(e.pluralRules)&&x(t)&&ne(e.pluralRules[t])?So:void 0,i=b=>b[r(n,b.length,a)],s=e.list||[],l=b=>s[b],d=e.named||{};Ce(e.pluralIndex)&&pc(n,d);const u=b=>d[b];function f(b){const T=ne(e.messages)?e.messages(b):X(e.messages)?e.messages[b]:!1;return T||(e.parent?e.parent.message(b):dc)}const c=b=>e.modifiers?e.modifiers[b]:lc,m=K(e.processor)&&ne(e.processor.normalize)?e.processor.normalize:cc,y=K(e.processor)&&ne(e.processor.interpolate)?e.processor.interpolate:fc,p=K(e.processor)&&x(e.processor.type)?e.processor.type:uc,v={list:l,named:u,plural:i,linked:(b,...T)=>{const[g,C]=T;let N="text",_="";T.length===1?X(g)?(_=g.modifier||_,N=g.type||N):x(g)&&(_=g||_):T.length===2&&(x(g)&&(_=g||_),x(C)&&(N=C||N));const O=f(b)(v),I=N==="vnode"&&pe(O)&&_?O[0]:O;return _?c(_)(I,N):I},message:f,type:p,interpolate:y,normalize:m,values:Ne({},s,d)};return v}let Rt=null;function $c(e){Rt=e}function gc(e,t,n){Rt&&Rt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const vc=yc("function:translate");function yc(e){return t=>Rt&&Rt.emit(e,t)}const Aa=hn.__EXTEND_POINT__,st=pn(Aa),Oe={NOT_FOUND_KEY:Aa,FALLBACK_TO_TRANSLATE:st(),CANNOT_FORMAT_NUMBER:st(),FALLBACK_TO_NUMBER_FORMAT:st(),CANNOT_FORMAT_DATE:st(),FALLBACK_TO_DATE_FORMAT:st(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:st(),__EXTEND_POINT__:st()},bc={[Oe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Oe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Oe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Oe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ft(e,...t){return $r(bc[e],...t)}const Da=H.__EXTEND_POINT__,lt=pn(Da),ye={INVALID_ARGUMENT:Da,INVALID_DATE_ARGUMENT:lt(),INVALID_ISO_DATE_ARGUMENT:lt(),NOT_SUPPORT_NON_STRING_MESSAGE:lt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:lt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:lt(),NOT_SUPPORT_LOCALE_TYPE:lt(),__EXTEND_POINT__:lt()};function We(e){return St(e,null,process.env.NODE_ENV!=="production"?{messages:Ec}:void 0)}const Ec={[ye.INVALID_ARGUMENT]:"Invalid arguments",[ye.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ye.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ye.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ye.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ye.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ye.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function vr(e,t){return t.locale!=null?To(t.locale):To(e.locale)}let wn;function To(e){if(x(e))return e;if(ne(e)){if(e.resolvedOnce&&wn!=null)return wn;if(e.constructor.name==="Function"){const t=e();if($u(t))throw We(ye.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wn=t}else throw We(ye.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw We(ye.NOT_SUPPORT_LOCALE_TYPE)}function _c(e,t,n){return[...new Set([n,...pe(t)?t:X(t)?Object.keys(t):x(t)?[t]:[n]])]}function Ma(e,t,n){const r=x(n)?n:Ft,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let i=a.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;pe(s);)s=Oo(i,s,t);const l=pe(t)||!K(t)?t:t.default?t.default:null;s=x(l)?[l]:l,pe(s)&&Oo(i,s,!1),a.__localeChainCache.set(r,i)}return i}function Oo(e,t,n){let r=!0;for(let a=0;a<t.length&&te(r);a++){const i=t[a];x(i)&&(r=Cc(e,t[a],n))}return r}function Cc(e,t,n){let r;const a=t.split("-");do{const i=a.join("-");r=Nc(e,i,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function Nc(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(pe(n)||K(n))&&n[a]&&(r=n[a])}return r}const Sc="9.14.0",$n=-1,Ft="en-US",on="",wo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Tc(){return{upper:(e,t)=>t==="text"&&x(e)?e.toUpperCase():t==="vnode"&&X(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&x(e)?e.toLowerCase():t==="vnode"&&X(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&x(e)?wo(e):t==="vnode"&&X(e)&&"__v_isVNode"in e?wo(e.children):e}}let Ra;function ko(e){Ra=e}let Fa;function Oc(e){Fa=e}let Ba;function wc(e){Ba=e}let xa=null;const kc=e=>{xa=e},Lc=()=>xa;let Va=null;const Lo=e=>{Va=e},Ic=()=>Va;let Io=0;function Pc(e={}){const t=ne(e.onWarn)?e.onWarn:tt,n=x(e.version)?e.version:Sc,r=x(e.locale)||ne(e.locale)?e.locale:Ft,a=ne(r)?Ft:r,i=pe(e.fallbackLocale)||K(e.fallbackLocale)||x(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=K(e.messages)?e.messages:{[a]:{}},l=K(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},d=K(e.numberFormats)?e.numberFormats:{[a]:{}},u=Ne({},e.modifiers||{},Tc()),f=e.pluralRules||{},c=ne(e.missing)?e.missing:null,m=te(e.missingWarn)||_t(e.missingWarn)?e.missingWarn:!0,y=te(e.fallbackWarn)||_t(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,h=!!e.unresolving,v=ne(e.postTranslation)?e.postTranslation:null,b=K(e.processor)?e.processor:null,T=te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,C=ne(e.messageCompiler)?e.messageCompiler:Ra;process.env.NODE_ENV!=="production"&&ne(e.messageCompiler)&&ka(ft(Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=ne(e.messageResolver)?e.messageResolver:Fa||ic,_=ne(e.localeFallbacker)?e.localeFallbacker:Ba||_c,O=X(e.fallbackContext)?e.fallbackContext:void 0,I=e,S=X(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,D=X(I.__numberFormatters)?I.__numberFormatters:new Map,R=X(I.__meta)?I.__meta:{};Io++;const B={version:n,cid:Io,locale:r,fallbackLocale:i,messages:s,modifiers:u,pluralRules:f,missing:c,missingWarn:m,fallbackWarn:y,fallbackFormat:p,unresolving:h,postTranslation:v,processor:b,warnHtmlMessage:T,escapeParameter:g,messageCompiler:C,messageResolver:N,localeFallbacker:_,fallbackContext:O,onWarn:t,__meta:R};return B.datetimeFormats=l,B.numberFormats=d,B.__datetimeFormatters=S,B.__numberFormatters=D,process.env.NODE_ENV!=="production"&&(B.__v_emitter=I.__v_emitter!=null?I.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&gc(B,n,R),B}function gn(e,t){return e instanceof RegExp?e.test(t):e}function Ua(e,t){return e instanceof RegExp?e.test(t):e}function yr(e,t,n,r,a){const{missing:i,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(i!==null){const l=i(e,n,t,a);return x(l)?l:t}else return process.env.NODE_ENV!=="production"&&Ua(r,t)&&s(ft(Oe.NOT_FOUND_KEY,{key:t,locale:n})),t}function kt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ja(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ac(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(ja(e,t[r]))return!0;return!1}function kn(e){return n=>Dc(n,e)}function Dc(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((i,s)=>[...i,Po(e,s)],[]))}else return Po(e,n)}function Po(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((a,i)=>[...a,jn(e,i)],[]);return e.normalize(r)}}function jn(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,a=r.m||r.modifier;return e.linked(jn(e,r.k||r.key),a?jn(e,a):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Mc="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ha(e,t){t&&ku(e)&&tt($r(Mc,{source:e}))}const Ga=e=>e;let bt=Object.create(null);function Ka(e){e.code===hn.USE_MODULO_SYNTAX&&tt(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
26
26
|
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
27
|
-
(message compiler warning message: ${e.message})`)}const mt=e=>
|
28
|
-
${
|
27
|
+
(message compiler warning message: ${e.message})`)}const mt=e=>X(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Wa(e,t={}){let n=!1;const r=t.onError||Ou;return t.onError=a=>{n=!0,r(a)},{...Zu(e,t),detectError:n}}const Rc=(e,t)=>{if(!x(e))throw We(ye.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=Ka);{const n=te(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ha(e,n);const a=(t.onCacheKey||Ga)(e),i=bt[a];if(i)return i;const{code:s,detectError:l}=Wa(e,t),d=new Function(`return ${s}`)();return l?d:bt[a]=d}};function Fc(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=Ka),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&x(e)){const n=te(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ha(e,n);const a=(t.onCacheKey||Ga)(e),i=bt[a];if(i)return i;const{ast:s,detectError:l}=Wa(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),d=kn(s);return l?d:bt[a]=d}else{if(process.env.NODE_ENV!=="production"&&!mt(e))return tt(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=bt[n];return r||(bt[n]=kn(e))}else return kn(e)}}const Ao=()=>"",xe=e=>ne(e);function Do(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:i,fallbackLocale:s,messages:l}=e,[d,u]=Hn(...t),f=te(u.missingWarn)?u.missingWarn:e.missingWarn,c=te(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=te(u.escapeParameter)?u.escapeParameter:e.escapeParameter,y=!!u.resolvedMessage,p=x(u.default)||te(u.default)?te(u.default)?i?d:()=>d:u.default:n?i?d:()=>d:"",h=n||p!=="",v=vr(e,u);m&&Bc(u);let[b,T,g]=y?[d,v,l[v]||{}]:za(e,d,v,s,c,f),C=b,N=d;if(!y&&!(x(C)||mt(C)||xe(C))&&h&&(C=p,N=C),!y&&(!(x(C)||mt(C)||xe(C))||!x(T)))return a?$n:d;if(process.env.NODE_ENV!=="production"&&x(C)&&e.messageCompiler==null)return tt(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let _=!1;const O=()=>{_=!0},I=xe(C)?C:Ya(e,d,T,C,N,O);if(_)return C;const S=jc(e,T,g,u),D=hc(S),R=xc(e,I,D),B=r?r(R,d):R;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const j={timestamp:Date.now(),key:x(d)?d:xe(C)?C.key:"",locale:T||(xe(C)?C.locale:""),format:x(C)?C:xe(C)?C.source:"",message:B};j.meta=Ne({},e.__meta,Lc()||{}),vc(j)}return B}function Bc(e){pe(e.list)?e.list=e.list.map(t=>x(t)?go(t):t):X(e.named)&&Object.keys(e.named).forEach(t=>{x(e.named[t])&&(e.named[t]=go(e.named[t]))})}function za(e,t,n,r,a,i){const{messages:s,onWarn:l,messageResolver:d,localeFallbacker:u}=e,f=u(e,r,n);let c={},m,y=null,p=n,h=null;const v="translate";for(let b=0;b<f.length;b++){if(m=h=f[b],process.env.NODE_ENV!=="production"&&n!==m&&!ja(n,m)&&gn(a,t)&&l(ft(Oe.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const N=e.__v_emitter;N&&N.emit("fallback",{type:v,key:t,from:p,to:h,groupId:`${v}:${t}`})}c=s[m]||{};let T=null,g,C;if(process.env.NODE_ENV!=="production"&&Qe&&(T=window.performance.now(),g="intlify-message-resolve-start",C="intlify-message-resolve-end",Re&&Re(g)),(y=d(c,t))===null&&(y=c[t]),process.env.NODE_ENV!=="production"&&Qe){const N=window.performance.now(),_=e.__v_emitter;_&&T&&y&&_.emit("message-resolve",{type:"message-resolve",key:t,message:y,time:N-T,groupId:`${v}:${t}`}),g&&C&&Re&&ct&&(Re(C),ct("intlify message resolve",g,C))}if(x(y)||mt(y)||xe(y))break;if(!Ac(m,f)){const N=yr(e,t,m,i,v);N!==t&&(y=N)}p=h}return[y,m,c]}function Ya(e,t,n,r,a,i){const{messageCompiler:s,warnHtmlMessage:l}=e;if(xe(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(s==null){const m=()=>r;return m.locale=n,m.key=t,m}let d=null,u,f;process.env.NODE_ENV!=="production"&&Qe&&(d=window.performance.now(),u="intlify-message-compilation-start",f="intlify-message-compilation-end",Re&&Re(u));const c=s(r,Vc(e,n,a,r,l,i));if(process.env.NODE_ENV!=="production"&&Qe){const m=window.performance.now(),y=e.__v_emitter;y&&d&&y.emit("message-compilation",{type:"message-compilation",message:r,time:m-d,groupId:`translate:${t}`}),u&&f&&Re&&ct&&(Re(f),ct("intlify message compilation",u,f))}return c.locale=n,c.key=t,c.source=r,c}function xc(e,t,n){let r=null,a,i;process.env.NODE_ENV!=="production"&&Qe&&(r=window.performance.now(),a="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Re&&Re(a));const s=t(n);if(process.env.NODE_ENV!=="production"&&Qe){const l=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:s,time:l-r,groupId:`translate:${t.key}`}),a&&i&&Re&&ct&&(Re(i),ct("intlify message evaluation",a,i))}return s}function Hn(...e){const[t,n,r]=e,a={};if(!x(t)&&!Ce(t)&&!xe(t)&&!mt(t))throw We(ye.INVALID_ARGUMENT);const i=Ce(t)?String(t):(xe(t),t);return Ce(n)?a.plural=n:x(n)?a.default=n:K(n)&&!mn(n)?a.named=n:pe(n)&&(a.list=n),Ce(r)?a.plural=r:x(r)?a.default=r:K(r)&&Ne(a,r),[i,a]}function Vc(e,t,n,r,a,i){return{locale:t,key:n,warnHtmlMessage:a,onError:s=>{if(i&&i(s),process.env.NODE_ENV!=="production"){const l=Uc(r),d=`Message compilation error: ${s.message}`,u=s.location&&l&&yu(l,s.location.start.offset,s.location.end.offset),f=e.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(u?`${d}
|
28
|
+
${u}`:d)}else throw s},onCacheKey:s=>fu(t,n,s)}}function Uc(e){if(x(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function jc(e,t,n,r){const{modifiers:a,pluralRules:i,messageResolver:s,fallbackLocale:l,fallbackWarn:d,missingWarn:u,fallbackContext:f}=e,m={locale:t,modifiers:a,pluralRules:i,messages:y=>{let p=s(n,y);if(p==null&&f){const[,,h]=za(f,y,t,l,d,u);p=s(h,y)}if(x(p)||mt(p)){let h=!1;const b=Ya(e,y,t,p,y,()=>{h=!0});return h?Ao:b}else return xe(p)?p:Ao}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),Ce(r.plural)&&(m.pluralIndex=r.plural),m}const Mo=typeof Intl<"u",qa={dateTimeFormat:Mo&&typeof Intl.DateTimeFormat<"u",numberFormat:Mo&&typeof Intl.NumberFormat<"u"};function Ro(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:s}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!qa.dateTimeFormat)return i(ft(Oe.CANNOT_FORMAT_DATE)),on;const[d,u,f,c]=Gn(...t),m=te(f.missingWarn)?f.missingWarn:e.missingWarn,y=te(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,p=!!f.part,h=vr(e,f),v=s(e,a,h);if(!x(d)||d==="")return new Intl.DateTimeFormat(h,c).format(u);let b={},T,g=null,C=h,N=null;const _="datetime format";for(let S=0;S<v.length;S++){if(T=N=v[S],process.env.NODE_ENV!=="production"&&h!==T&&gn(y,d)&&i(ft(Oe.FALLBACK_TO_DATE_FORMAT,{key:d,target:T})),process.env.NODE_ENV!=="production"&&h!==T){const D=e.__v_emitter;D&&D.emit("fallback",{type:_,key:d,from:C,to:N,groupId:`${_}:${d}`})}if(b=n[T]||{},g=b[d],K(g))break;yr(e,d,T,m,_),C=N}if(!K(g)||!x(T))return r?$n:d;let O=`${T}__${d}`;mn(c)||(O=`${O}__${JSON.stringify(c)}`);let I=l.get(O);return I||(I=new Intl.DateTimeFormat(T,Ne({},g,c)),l.set(O,I)),p?I.formatToParts(u):I.format(u)}const Xa=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Gn(...e){const[t,n,r,a]=e,i={};let s={},l;if(x(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw We(ye.INVALID_ISO_DATE_ARGUMENT);const u=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();l=new Date(u);try{l.toISOString()}catch{throw We(ye.INVALID_ISO_DATE_ARGUMENT)}}else if(pu(t)){if(isNaN(t.getTime()))throw We(ye.INVALID_DATE_ARGUMENT);l=t}else if(Ce(t))l=t;else throw We(ye.INVALID_ARGUMENT);return x(n)?i.key=n:K(n)&&Object.keys(n).forEach(d=>{Xa.includes(d)?s[d]=n[d]:i[d]=n[d]}),x(r)?i.locale=r:K(r)&&(s=r),K(a)&&(s=a),[i.key||"",l,i,s]}function Fo(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Bo(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!qa.numberFormat)return i(ft(Oe.CANNOT_FORMAT_NUMBER)),on;const[d,u,f,c]=Kn(...t),m=te(f.missingWarn)?f.missingWarn:e.missingWarn,y=te(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,p=!!f.part,h=vr(e,f),v=s(e,a,h);if(!x(d)||d==="")return new Intl.NumberFormat(h,c).format(u);let b={},T,g=null,C=h,N=null;const _="number format";for(let S=0;S<v.length;S++){if(T=N=v[S],process.env.NODE_ENV!=="production"&&h!==T&&gn(y,d)&&i(ft(Oe.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:T})),process.env.NODE_ENV!=="production"&&h!==T){const D=e.__v_emitter;D&&D.emit("fallback",{type:_,key:d,from:C,to:N,groupId:`${_}:${d}`})}if(b=n[T]||{},g=b[d],K(g))break;yr(e,d,T,m,_),C=N}if(!K(g)||!x(T))return r?$n:d;let O=`${T}__${d}`;mn(c)||(O=`${O}__${JSON.stringify(c)}`);let I=l.get(O);return I||(I=new Intl.NumberFormat(T,Ne({},g,c)),l.set(O,I)),p?I.formatToParts(u):I.format(u)}const Ja=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Kn(...e){const[t,n,r,a]=e,i={};let s={};if(!Ce(t))throw We(ye.INVALID_ARGUMENT);const l=t;return x(n)?i.key=n:K(n)&&Object.keys(n).forEach(d=>{Ja.includes(d)?s[d]=n[d]:i[d]=n[d]}),x(r)?i.locale=r:K(r)&&(s=r),K(a)&&(s=a),[i.key||"",l,i,s]}function xo(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}Qu();/*!
|
29
29
|
* vue-i18n v9.14.0
|
30
30
|
* (c) 2024 kazuya kawaguchi
|
31
31
|
* Released under the MIT License.
|
32
|
-
*/const Wu="9.14.0";function zu(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ze().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ze().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ze().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ze().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ze().__INTLIFY_PROD_DEVTOOLS__=!1)}const Za=Oe.__EXTEND_POINT__,Xe=pn(Za),Pe={FALLBACK_TO_ROOT:Za,NOT_SUPPORTED_PRESERVE:Xe(),NOT_SUPPORTED_FORMATTER:Xe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Xe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Xe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Xe(),NOT_FOUND_PARENT_SCOPE:Xe(),IGNORE_OBJ_FLATTEN:Xe(),NOTICE_DROP_ALLOW_COMPOSITION:Xe(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Xe()},Yu={[Pe.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Pe.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Pe.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Pe.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Pe.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Pe.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Pe.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Pe.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Pe.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Pe.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function an(e,...t){return hr(Yu[e],...t)}const Qa=ve.__EXTEND_POINT__,Ie=pn(Qa),ae={UNEXPECTED_RETURN_TYPE:Qa,INVALID_ARGUMENT:Ie(),MUST_BE_CALL_SETUP_TOP:Ie(),NOT_INSTALLED:Ie(),NOT_AVAILABLE_IN_LEGACY_MODE:Ie(),REQUIRED_VALUE:Ie(),INVALID_VALUE:Ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ie(),NOT_INSTALLED_WITH_PROVIDE:Ie(),UNEXPECTED_ERROR:Ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ie(),BRIDGE_SUPPORT_VUE_2_ONLY:Ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ie(),__EXTEND_POINT__:Ie()};function at(e,...t){return St(e,null,process.env.NODE_ENV!=="production"?{messages:qu,args:t}:void 0)}const qu={[ae.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[ae.INVALID_ARGUMENT]:"Invalid argument",[ae.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[ae.NOT_INSTALLED]:"Need to install with `app.use` function",[ae.UNEXPECTED_ERROR]:"Unexpected error",[ae.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[ae.REQUIRED_VALUE]:"Required in value: {0}",[ae.INVALID_VALUE]:"Invalid value",[ae.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[ae.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[ae.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[ae.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[ae.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[ae.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Kn=tt("__translateVNode"),Wn=tt("__datetimeParts"),zn=tt("__numberParts"),Yn=tt("__enableEmitter"),qn=tt("__disableEmitter"),Xu=tt("__setPluralRules"),ei=tt("__injectWithOption"),Xn=tt("__dispose");function Bt(e){if(!q(e))return e;for(const t in e)if(nn(e,t))if(!t.includes("."))q(e[t])&&Bt(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,i=!1;for(let s=0;s<r;s++){if(n[s]in a||(a[n[s]]={}),!q(a[n[s]])){process.env.NODE_ENV!=="production"&&nt(an(Pe.IGNORE_OBJ_FLATTEN,{key:n[s]})),i=!0;break}a=a[n[s]]}i||(a[n[r]]=e[t],delete e[t]),q(a[n[r]])&&Bt(a[n[r]])}return e}function yr(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:i}=t,s=W(n)?n:he(r)?{}:{[e]:{}};if(he(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(s[d]=s[d]||{},Xt(c,s[d])):Xt(c,s)}else x(l)&&Xt(JSON.parse(l),s)}),a==null&&i)for(const l in s)nn(s,l)&&Bt(s[l]);return s}function ti(e){return e.type}function Ju(e,t,n){let r=q(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=yr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(q(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(q(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Vo(e){return o.createVNode(o.Text,null,e,0)}const Uo="__INTLIFY_META__",jo=()=>[],Zu=()=>!1;let Ho=0;function Go(e){return(t,n,r,a)=>e(n,r,o.getCurrentInstance()||void 0,a)}const Qu=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=ti(e)[Uo])?{[Uo]:t}:null};function e0(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0,i=e.flatJson,s=et?o.ref:o.shallowRef,l=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&ka(an(Pe.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let d=ee(e.inheritLocale)?e.inheritLocale:!0;const c=s(n&&d?n.locale.value:x(e.locale)?e.locale:Ft),f=s(n&&d?n.fallbackLocale.value:x(e.fallbackLocale)||he(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),u=s(yr(c.value,e)),m=s(W(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),y=s(W(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=n?n.missingWarn:ee(e.missingWarn)||_t(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:ee(e.fallbackWarn)||_t(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:ee(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,w=re(e.missing)?e.missing:null,h=re(e.missing)?Go(e.missing):null,_=re(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const T=n?n.modifiers:W(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,N;N=(()=>{a&&Lo(null);const L={version:Wu,locale:c.value,fallbackLocale:f.value,messages:u.value,modifiers:T,pluralRules:I,missing:h===null?void 0:h,missingWarn:p,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:S,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=m.value,L.numberFormats=y.value,L.__datetimeFormatters=W(N)?N.__datetimeFormatters:void 0,L.__numberFormatters=W(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(L.__v_emitter=W(N)?N.__v_emitter:void 0);const M=Mu(L);return a&&Lo(M),M})(),kt(N,c.value,f.value);function R(){return[c.value,f.value,u.value,m.value,y.value]}const B=o.computed({get:()=>c.value,set:L=>{c.value=L,N.locale=c.value}}),j=o.computed({get:()=>f.value,set:L=>{f.value=L,N.fallbackLocale=f.value,kt(N,c.value,L)}}),te=o.computed(()=>u.value),$e=o.computed(()=>m.value),J=o.computed(()=>y.value);function ye(){return re(_)?_:null}function ce(L){_=L,N.postTranslation=L}function be(){return w}function Se(L){L!==null&&(h=Go(L)),w=L,N.missing=h}function Ee(L,M){return L!=="translate"||!M.resolvedMessage}const se=(L,M,K,ne,Fe,ze)=>{R();let Ge;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(N.fallbackContext=n?Du():void 0),Ge=L(N)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(N.fallbackContext=void 0)}if(K!=="translate exists"&&Ce(Ge)&&Ge===$n||K==="translate exists"&&!Ge){const[Ye,Cn]=M();if(process.env.NODE_ENV!=="production"&&n&&x(Ye)&&Ee(K,Cn)&&(v&&(gn(g,Ye)||Ua(p,Ye))&&nt(an(Pe.FALLBACK_TO_ROOT,{key:Ye,type:K})),process.env.NODE_ENV!=="production")){const{__v_emitter:Wt}=N;Wt&&v&&Wt.emit("fallback",{type:K,key:Ye,to:"global",groupId:`${K}:${Ye}`})}return n&&v?ne(n):Fe(Ye)}else{if(ze(Ge))return Ge;throw at(ae.UNEXPECTED_RETURN_TYPE)}};function ue(...L){return se(M=>Reflect.apply(Do,null,[M,...L]),()=>jn(...L),"translate",M=>Reflect.apply(M.t,M,[...L]),M=>M,M=>x(M))}function ke(...L){const[M,K,ne]=L;if(ne&&!q(ne))throw at(ae.INVALID_ARGUMENT);return ue(M,K,Ne({resolvedMessage:!0},ne||{}))}function De(...L){return se(M=>Reflect.apply(Ro,null,[M,...L]),()=>Hn(...L),"datetime format",M=>Reflect.apply(M.d,M,[...L]),()=>on,M=>x(M))}function me(...L){return se(M=>Reflect.apply(Bo,null,[M,...L]),()=>Gn(...L),"number format",M=>Reflect.apply(M.n,M,[...L]),()=>on,M=>x(M))}function ge(L){return L.map(M=>x(M)||Ce(M)||ee(M)?Vo(String(M)):M)}const Le={normalize:ge,interpolate:L=>L,type:"vnode"};function pe(...L){return se(M=>{let K;const ne=M;try{ne.processor=Le,K=Reflect.apply(Do,null,[ne,...L])}finally{ne.processor=null}return K},()=>jn(...L),"translate",M=>M[Kn](...L),M=>[Vo(M)],M=>he(M))}function X(...L){return se(M=>Reflect.apply(Bo,null,[M,...L]),()=>Gn(...L),"number format",M=>M[zn](...L),jo,M=>x(M)||he(M))}function V(...L){return se(M=>Reflect.apply(Ro,null,[M,...L]),()=>Hn(...L),"datetime format",M=>M[Wn](...L),jo,M=>x(M)||he(M))}function P(L){I=L,N.pluralRules=I}function O(L,M){return se(()=>{if(!L)return!1;const K=x(M)?M:c.value,ne=oe(K),Fe=N.messageResolver(ne,L);return l?Fe!=null:mt(Fe)||Be(Fe)||x(Fe)},()=>[L],"translate exists",K=>Reflect.apply(K.te,K,[L,M]),Zu,K=>ee(K))}function F(L){let M=null;const K=Ma(N,f.value,c.value);for(let ne=0;ne<K.length;ne++){const Fe=u.value[K[ne]]||{},ze=N.messageResolver(Fe,L);if(ze!=null){M=ze;break}}return M}function z(L){const M=F(L);return M??(n?n.tm(L)||{}:{})}function oe(L){return u.value[L]||{}}function fe(L,M){if(i){const K={[L]:M};for(const ne in K)nn(K,ne)&&Bt(K[ne]);M=K[L]}u.value[L]=M,N.messages=u.value}function _e(L,M){u.value[L]=u.value[L]||{};const K={[L]:M};if(i)for(const ne in K)nn(K,ne)&&Bt(K[ne]);M=K[L],Xt(M,u.value[L]),N.messages=u.value}function $(L){return m.value[L]||{}}function E(L,M){m.value[L]=M,N.datetimeFormats=m.value,Fo(N,L,M)}function A(L,M){m.value[L]=Ne(m.value[L]||{},M),N.datetimeFormats=m.value,Fo(N,L,M)}function U(L){return y.value[L]||{}}function Q(L,M){y.value[L]=M,N.numberFormats=y.value,xo(N,L,M)}function Z(L,M){y.value[L]=Ne(y.value[L]||{},M),N.numberFormats=y.value,xo(N,L,M)}Ho++,n&&et&&(o.watch(n.locale,L=>{d&&(c.value=L,N.locale=L,kt(N,c.value,f.value))}),o.watch(n.fallbackLocale,L=>{d&&(f.value=L,N.fallbackLocale=L,kt(N,c.value,f.value))}));const Y={id:Ho,locale:B,fallbackLocale:j,get inheritLocale(){return d},set inheritLocale(L){d=L,L&&n&&(c.value=n.locale.value,f.value=n.fallbackLocale.value,kt(N,c.value,f.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:te,get modifiers(){return T},get pluralRules(){return I||{}},get isGlobal(){return a},get missingWarn(){return p},set missingWarn(L){p=L,N.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(L){g=L,N.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(L){v=L},get fallbackFormat(){return C},set fallbackFormat(L){C=L,N.fallbackFormat=C},get warnHtmlMessage(){return S},set warnHtmlMessage(L){S=L,N.warnHtmlMessage=L},get escapeParameter(){return b},set escapeParameter(L){b=L,N.escapeParameter=L},t:ue,getLocaleMessage:oe,setLocaleMessage:fe,mergeLocaleMessage:_e,getPostTranslationHandler:ye,setPostTranslationHandler:ce,getMissingHandler:be,setMissingHandler:Se,[Xu]:P};return Y.datetimeFormats=$e,Y.numberFormats=J,Y.rt=ke,Y.te=O,Y.tm=z,Y.d=De,Y.n=me,Y.getDateTimeFormat=$,Y.setDateTimeFormat=E,Y.mergeDateTimeFormat=A,Y.getNumberFormat=U,Y.setNumberFormat=Q,Y.mergeNumberFormat=Z,Y[ei]=r,Y[Kn]=pe,Y[Wn]=V,Y[zn]=X,process.env.NODE_ENV!=="production"&&(Y[Yn]=L=>{N.__v_emitter=L},Y[qn]=()=>{N.__v_emitter=void 0}),Y}const br={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function t0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===o.Fragment?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function ni(e){return o.Fragment}Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ce(e)||!isNaN(e)}},br);function n0(e){return he(e)&&!x(e[0])}function ri(e,t,n,r){const{slots:a,attrs:i}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),x(e.format)?s.key=e.format:q(e.format)&&(x(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((m,y)=>n.includes(y)?Ne({},m,{[y]:e.format[y]}):m,{}));const d=r(e.value,s,l);let c=[s.key];he(d)?c=d.map((m,y)=>{const p=a[m.type],g=p?p({[m.type]:m.value,index:y,parts:d}):[m.value];return n0(g)&&(g[0].key=`${m.type}-${y}`),g}):x(d)&&(c=[d]);const f=Ne({},i),u=x(e.tag)||q(e.tag)?e.tag:ni();return o.h(u,f,c)}}Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},br);Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},br);function Ko(e,t){}const r0=tt("global-vue-i18n");function Tt(e={}){const t=o.getCurrentInstance();if(t==null)throw at(ae.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw at(ae.NOT_INSTALLED);const n=o0(t),r=i0(n),a=ti(t),i=a0(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw at(ae.NOT_AVAILABLE_IN_LEGACY_MODE);return c0(t,i,r,e)}if(i==="global")return Ju(r,e,a),r;if(i==="parent"){let d=s0(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&nt(an(Pe.NOT_FOUND_PARENT_SCOPE)),d=r),d}const s=n;let l=s.__getInstance(t);if(l==null){const d=Ne({},e);"__i18n"in a&&(d.__i18n=a.__i18n),r&&(d.__root=r),l=e0(d),s.__composerExtend&&(l[Xn]=s.__composerExtend(l)),d0(s,t,l),s.__setInstance(t,l)}return l}function o0(e){{const t=o.inject(e.isCE?r0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw at(e.isCE?ae.NOT_INSTALLED_WITH_PROVIDE:ae.UNEXPECTED_ERROR);return t}}function a0(e,t){return mn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function i0(e){return e.mode==="composition"?e.global:e.global.__composer}function s0(e,t,n=!1){let r=null;const a=t.root;let i=l0(t,n);for(;i!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(i);l!=null&&(r=l.__composer,n&&r&&!r[ei]&&(r=null))}if(r!=null||a===i)break;i=i.parent}return r}function l0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function d0(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Cc();const a=n;a[Yn]&&a[Yn](r),r.on("*",Ko)}},t),o.onUnmounted(()=>{const a=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Ko),a[qn]&&a[qn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=a[Xn];i&&(i(),delete a[Xn])},t)}function c0(e,t,n,r={}){const a=t==="local",i=o.shallowRef(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw at(ae.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=ee(r.inheritLocale)?r.inheritLocale:!x(r.locale),l=o.ref(!a||s?n.locale.value:x(r.locale)?r.locale:Ft),d=o.ref(!a||s?n.fallbackLocale.value:x(r.fallbackLocale)||he(r.fallbackLocale)||W(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),c=o.ref(yr(l.value,r)),f=o.ref(W(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),u=o.ref(W(r.numberFormats)?r.numberFormats:{[l.value]:{}}),m=a?n.missingWarn:ee(r.missingWarn)||_t(r.missingWarn)?r.missingWarn:!0,y=a?n.fallbackWarn:ee(r.fallbackWarn)||_t(r.fallbackWarn)?r.fallbackWarn:!0,p=a?n.fallbackRoot:ee(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,v=re(r.missing)?r.missing:null,C=re(r.postTranslation)?r.postTranslation:null,w=a?n.warnHtmlMessage:ee(r.warnHtmlMessage)?r.warnHtmlMessage:!0,h=!!r.escapeParameter,_=a?n.modifiers:W(r.modifiers)?r.modifiers:{},S=r.pluralRules||a&&n.pluralRules;function b(){return[l.value,d.value,c.value,f.value,u.value]}const T=o.computed({get:()=>i.value?i.value.locale.value:l.value,set:O=>{i.value&&(i.value.locale.value=O),l.value=O}}),I=o.computed({get:()=>i.value?i.value.fallbackLocale.value:d.value,set:O=>{i.value&&(i.value.fallbackLocale.value=O),d.value=O}}),N=o.computed(()=>i.value?i.value.messages.value:c.value),D=o.computed(()=>f.value),R=o.computed(()=>u.value);function B(){return i.value?i.value.getPostTranslationHandler():C}function j(O){i.value&&i.value.setPostTranslationHandler(O)}function te(){return i.value?i.value.getMissingHandler():v}function $e(O){i.value&&i.value.setMissingHandler(O)}function J(O){return b(),O()}function ye(...O){return i.value?J(()=>Reflect.apply(i.value.t,null,[...O])):J(()=>"")}function ce(...O){return i.value?Reflect.apply(i.value.rt,null,[...O]):""}function be(...O){return i.value?J(()=>Reflect.apply(i.value.d,null,[...O])):J(()=>"")}function Se(...O){return i.value?J(()=>Reflect.apply(i.value.n,null,[...O])):J(()=>"")}function Ee(O){return i.value?i.value.tm(O):{}}function se(O,F){return i.value?i.value.te(O,F):!1}function ue(O){return i.value?i.value.getLocaleMessage(O):{}}function ke(O,F){i.value&&(i.value.setLocaleMessage(O,F),c.value[O]=F)}function De(O,F){i.value&&i.value.mergeLocaleMessage(O,F)}function me(O){return i.value?i.value.getDateTimeFormat(O):{}}function ge(O,F){i.value&&(i.value.setDateTimeFormat(O,F),f.value[O]=F)}function le(O,F){i.value&&i.value.mergeDateTimeFormat(O,F)}function Le(O){return i.value?i.value.getNumberFormat(O):{}}function pe(O,F){i.value&&(i.value.setNumberFormat(O,F),u.value[O]=F)}function X(O,F){i.value&&i.value.mergeNumberFormat(O,F)}const V={get id(){return i.value?i.value.id:-1},locale:T,fallbackLocale:I,messages:N,datetimeFormats:D,numberFormats:R,get inheritLocale(){return i.value?i.value.inheritLocale:s},set inheritLocale(O){i.value&&(i.value.inheritLocale=O)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:S},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:m},set missingWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackWarn(){return i.value?i.value.fallbackWarn:y},set fallbackWarn(O){i.value&&(i.value.missingWarn=O)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(O){i.value&&(i.value.fallbackRoot=O)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(O){i.value&&(i.value.fallbackFormat=O)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:w},set warnHtmlMessage(O){i.value&&(i.value.warnHtmlMessage=O)},get escapeParameter(){return i.value?i.value.escapeParameter:h},set escapeParameter(O){i.value&&(i.value.escapeParameter=O)},t:ye,getPostTranslationHandler:B,setPostTranslationHandler:j,getMissingHandler:te,setMissingHandler:$e,rt:ce,d:be,n:Se,tm:Ee,te:se,getLocaleMessage:ue,setLocaleMessage:ke,mergeLocaleMessage:De,getDateTimeFormat:me,setDateTimeFormat:ge,mergeDateTimeFormat:le,getNumberFormat:Le,setNumberFormat:pe,mergeNumberFormat:X};function P(O){O.locale.value=l.value,O.fallbackLocale.value=d.value,Object.keys(c.value).forEach(F=>{O.mergeLocaleMessage(F,c.value[F])}),Object.keys(f.value).forEach(F=>{O.mergeDateTimeFormat(F,f.value[F])}),Object.keys(u.value).forEach(F=>{O.mergeNumberFormat(F,u.value[F])}),O.escapeParameter=h,O.fallbackFormat=g,O.fallbackRoot=p,O.fallbackWarn=y,O.missingWarn=m,O.warnHtmlMessage=w}return o.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw at(ae.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const O=i.value=e.proxy.$i18n.__composer;t==="global"?(l.value=O.locale.value,d.value=O.fallbackLocale.value,c.value=O.messages.value,f.value=O.datetimeFormats.value,u.value=O.numberFormats.value):a&&P(O)}),V}zu();__INTLIFY_JIT_COMPILATION__?ko(Vu):ko(xu);Lu(cu);Iu(Ma);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ze();e.__INTLIFY__=!0,yu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const u0={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f0=["fill"],Er={__name:"IconCross",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",u0,[o.createElementVNode("path",{fill:e.fill,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z"},null,8,f0)]))}},m0={key:"popup-content",class:"pd-small z-index-6 popup-wrapper"},p0={key:0,class:"mn-b-small"},oi={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(e,{emit:t}){const n=e,r=t;function a(){r("close-popup")}return o.watch(()=>n.isPopupOpen,s=>{s?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Ta(),Sa(),Tt({messages:{en:{},ru:{}}}),(s,l)=>(o.openBlock(),o.createBlock(o.Transition,{name:"TransitionTranslateY",appear:""},{default:o.withCtx(()=>[e.isPopupOpen?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[e.isPopupOpen?(o.openBlock(),o.createElementBlock("div",m0,[o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[o.createElementVNode("section",o.mergeProps({class:"pos-relative z-index-4"},s.$attrs,{class:s.$attrs.class}),[e.title?(o.openBlock(),o.createElementBlock("h4",p0,o.toDisplayString(e.title),1)):o.createCommentVNode("",!0),o.createVNode(Er,{fill:"rgb(var(--white))",onClick:l[0]||(l[0]=d=>a()),class:"cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"}),o.renderSlot(s.$slots,"default")],16)]),_:3}),o.createElementVNode("div",{onClick:l[1]||(l[1]=d=>a()),class:o.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),_:3}))}},h0=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"})),$0={class:"flex-v-center flex-nowrap flex"},g0={key:0,class:"br-solid br-2px br-grey-transp-25 pos-absolute pos-t-0 pos-r-0 radius-extra w-100 h-100"},v0={key:0,class:"mn-r-auto t-transp mn-r-small"},y0=["name","value","checked"],_r={__name:"Radio",props:{label:String,name:String,value:!1,radio:[Object,String]},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,a)=>(o.openBlock(),o.createElementBlock("label",$0,[o.createElementVNode("div",{class:o.normalizeClass(["cursor-pointer mn-r-thin radius-extra pd-micro h-100 aspect-1x1 pos-relative",{"bg-main":e.radio===e.value}])},[o.createElementVNode("div",{class:o.normalizeClass(["radius-extra pd-micro w-100 h-100",{"bg-white":e.radio===e.value}])},null,2),e.radio!==e.value?(o.openBlock(),o.createElementBlock("div",g0)):o.createCommentVNode("",!0)],2),e.label?(o.openBlock(),o.createElementBlock("div",v0,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onInput:a[0]||(a[0]=i=>r.text=n("update:radio",i.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,y0)]))}},b0=Object.freeze(Object.defineProperty({__proto__:null,default:_r},Symbol.toStringTag,{value:"Module"})),E0={key:0,class:"t-transp mn-r-small"},_0={class:"w-100"},C0=["onClick"],N0={key:0,class:"w-100"},S0={key:0,class:"mn-t-thin invalid-feedback"},T0={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){let n=dr;const r=t,a=e,i=o.ref(!1),s=o.ref(a.property?u(a.select,a.property,a.options):a.select),l=o.computed(()=>a.select?a.options.filter(m=>m!==a.select):a.options);o.watch(()=>a.select,m=>{s.value=a.property?u(a.select,a.property,a.options):a.select});const d=()=>{i.value=!i.value,r(i.value?"focus":"blur")};function c(){i.value=!1}const f=m=>{s.value=m,d(),a.property?r("update:select",s.value[a.property]):r("update:select",s.value)};function u(m,y,p){for(const g of p)if(g[y]===m||g===m)return g;return null}return(m,y)=>{var p,g;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives((o.openBlock(),o.createElementBlock("div",{onClick:o.withModifiers(d,["stop"]),class:o.normalizeClass([m.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(o.openBlock(),o.createElementBlock("div",E0,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("li",_0,[o.createElementVNode("span",null,o.toDisplayString((p=s.value)!=null&&p.name?(g=s.value)==null?void 0:g.name:s.value||e.placeholder),1)]),o.createVNode(o.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("ul",{class:o.normalizeClass([m.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,v=>(o.openBlock(),o.createElementBlock("li",{onClick:o.withModifiers(C=>f(v),["stop"])},[v?(o.openBlock(),o.createElementBlock("span",N0,o.toDisplayString(v.name||v),1)):o.createCommentVNode("",!0)],8,C0))),256))],2),[[o.vShow,i.value]])]),_:1})],2)),[[o.unref(n),c]]),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",S0," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}}},ai=We(T0,[["__scopeId","data-v-bf25c24d"]]),O0=Object.freeze(Object.defineProperty({__proto__:null,default:ai},Symbol.toStringTag,{value:"Module"}));function kn(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function w0(e){return(...t)=>!e(...t)}function k0(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ii(e,t,n,r){return t?e.filter(a=>k0(r(a,n),t)).sort((a,i)=>r(a,n).length-r(i,n).length):e}function L0(e){return e.filter(t=>!t.$isLabel)}function Ln(e,t){return n=>n.reduce((r,a)=>a[e]&&a[e].length?(r.push({$groupLabel:a[t],$isLabel:!0}),r.concat(a[e])):r,[])}function I0(e,t,n,r,a){return i=>i.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=ii(s[n],e,t,a);return l.length?{[r]:s[r],[n]:l}:[]})}const Wo=(...e)=>t=>e.reduce((n,r)=>r(n),t),P0={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return kn(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):ii(n,t,this.label,this.customLabel):n=this.groupValues?Ln(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(w0(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return Wo(I0(t,n,this.groupValues,this.groupLabel,this.customLabel),Ln(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return Wo(Ln(this.groupValues,this.groupLabel),L0)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(kn(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return kn(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},A0={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},D0={name:"vue-multiselect",mixins:[P0,A0],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},M0=["tabindex","aria-owns"],R0={ref:"tags",class:"multiselect__tags"},F0={class:"multiselect__tags-wrap"},B0=["textContent"],x0=["onKeypress","onMousedown"],V0=["textContent"],U0={class:"multiselect__spinner"},j0=["name","id","placeholder","value","disabled","tabindex","aria-controls"],H0=["id"],G0={key:0},K0={class:"multiselect__option"},W0=["id","role"],z0=["onClick","onMouseenter","data-select","data-selected","data-deselect"],Y0=["data-select","data-deselect","onMouseenter","onMousedown"],q0={class:"multiselect__option"},X0={class:"multiselect__option"};function J0(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:o.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect flex flex-v-center"]),onFocus:t[13]||(t[13]=s=>e.activate()),onBlur:t[14]||(t[14]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=o.withKeys(o.withModifiers(s=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=o.withKeys(o.withModifiers(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=o.withKeys(o.withModifiers(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=o.withKeys(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[o.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[o.createElementVNode("div",{onMousedown:t[0]||(t[0]=o.withModifiers(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(e.$slots,"clear",{search:e.search}),o.createElementVNode("div",R0,[o.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:i.visibleValues,isOpen:e.isOpen},()=>[o.withDirectives(o.createElementVNode("div",F0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.visibleValues,(s,l)=>o.renderSlot(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(o.openBlock(),o.createElementBlock("span",{class:"multiselect__tag",key:l},[o.createElementVNode("span",{textContent:o.toDisplayString(e.getOptionLabel(s))},null,8,B0),o.createElementVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(d=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:o.withModifiers(d=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,x0)]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?o.renderSlot(e.$slots,"limit",{key:0},()=>[o.createElementVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,V0)]):o.createCommentVNode("",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"loading",{},()=>[o.withDirectives(o.createElementVNode("div",U0,null,512),[[o.vShow,n.loading]])])]),_:3}),e.searchable?(o.openBlock(),o.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:o.normalizeStyle(i.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=s=>e.updateSearch(s.target.value)),onFocus:t[2]||(t[2]=o.withModifiers(s=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=o.withModifiers(s=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=o.withKeys(s=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=o.withKeys(o.withModifiers(s=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=o.withKeys(o.withModifiers(s=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=o.withKeys(o.withModifiers(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=o.withKeys(o.withModifiers(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,j0)):o.createCommentVNode("",!0),i.isSingleLabelVisible?(o.openBlock(),o.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=o.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[o.renderSlot(e.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(e.currentOptionLabel),1)])],32)):o.createCommentVNode("",!0),i.isPlaceholderVisible?(o.openBlock(),o.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=o.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[o.renderSlot(e.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(e.placeholder),1)])],32)):o.createCommentVNode("",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[12]||(t[12]=o.withModifiers(()=>{},["prevent"])),style:o.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[o.createElementVNode("ul",{class:"multiselect__content",style:o.normalizeStyle(i.contentStyle),role:"listbox",id:"listbox-"+e.id},[o.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(o.openBlock(),o.createElementBlock("li",G0,[o.createElementVNode("span",K0,[o.renderSlot(e.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(e.filteredOptions,(s,l)=>(o.openBlock(),o.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([e.optionHighlight(l,s),"multiselect__option"]),onClick:o.withModifiers(d=>e.select(s),["stop"]),onMouseenter:o.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(s)),1)])],42,z0)),s&&(s.$isLabel||s.$isDisabled)?(o.openBlock(),o.createElementBlock("span",{key:1,"data-select":e.groupSelect&&i.selectGroupLabelText,"data-deselect":e.groupSelect&&i.deselectGroupLabelText,class:o.normalizeClass([e.groupHighlight(l,s),"multiselect__option"]),onMouseenter:o.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:o.withModifiers(d=>e.selectGroup(s),["prevent"])},[o.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(s)),1)])],42,Y0)):o.createCommentVNode("",!0)],8,W0))),128)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",q0,[o.renderSlot(e.$slots,"noResult",{search:e.search},()=>[o.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[o.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",X0,[o.renderSlot(e.$slots,"noOptions",{},()=>[o.createTextVNode("List is empty.")])])],512),[[o.vShow,n.showNoOptions&&(e.options.length===0||i.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),o.renderSlot(e.$slots,"afterList")],12,H0)],38),[[o.vShow,e.isOpen]])]),_:3})],42,M0)}const si=We(D0,[["render",J0]]),Z0=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"})),Q0={class:"spoiler"},Cr={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1);return t.status&&(n.value=t.status),(r,a)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:a[0]||(a[0]=i=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[o.renderSlot(r.$slots,"header",{isOpen:n.value})]),o.createVNode(o.Transition,{name:"collapse"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",Q0,[o.renderSlot(r.$slots,"content")],512),[[o.vShow,n.value]])]),_:3})]))}},ef=Object.freeze(Object.defineProperty({__proto__:null,default:Cr},Symbol.toStringTag,{value:"Module"})),tf={class:"flex-nowrap flex-v-center gap-micro pd-micro flex pos-relative"},nf=["onClick"],rf={class:""},li={__name:"Tab",props:{tabs:Array,tabClass:String,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,a=o.ref(0);if(r.selected){const s=r.tabs.findIndex(l=>l.value===r.selected);s!==-1&&(a.value=s)}function i(s,l){a.value=s,n("update:selected",l.value),r.callback&&r.callback()}return(s,l)=>(o.openBlock(),o.createElementBlock("div",tf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tabs,(d,c)=>(o.openBlock(),o.createElementBlock("div",{key:c,onClick:f=>i(c,d),class:o.normalizeClass(["z-index-1 t-center",[c!==a.value?"bg-white":"bg-main",e.tabClass?e.tabClass:"pd-small pd-r-medium pd-l-medium w-max pd-small radius-small"]])},[o.createElementVNode("label",rf,o.toDisplayString(d.name),1)],10,nf))),128))]))}},of=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"})),di={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=o.ref(!1),n=o.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(i){t.value=!0,n.left=`${i.clientX/100+10}px`,n.top=`${i.clientY/100+10}px`,n.display="block"}function a(){t.value=!1,n.display="none"}return(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:a},[o.renderSlot(i.$slots,"default"),o.createElementVNode("div",{class:"tooltip-content",style:o.normalizeStyle(n)},o.toDisplayString(e.text),5)],32))}},af=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"})),sf={key:0,class:"cursor-pointer t-second"},ci={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1),r=o.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),a=o.computed(()=>t.text),i=()=>{n.value=!n.value},s=o.computed(()=>n.value?a.value:r.value),l=o.computed(()=>t.text.length>t.maxLen),d=o.computed(()=>n.value?"Hide":"Show more");return(c,f)=>(o.openBlock(),o.createElementBlock("span",{onClick:i,class:""},[o.createTextVNode(o.toDisplayString(s.value)+" ",1),l.value&&e.showToggleText?(o.openBlock(),o.createElementBlock("span",sf,o.toDisplayString(d.value),1)):o.createCommentVNode("",!0)]))}},lf=Object.freeze(Object.defineProperty({__proto__:null,default:ci},Symbol.toStringTag,{value:"Module"}));function ui(e,t){return function(){return e.apply(t,arguments)}}const{toString:df}=Object.prototype,{getPrototypeOf:Nr}=Object,vn=(e=>t=>{const n=df.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),He=e=>(e=e.toLowerCase(),t=>vn(t)===e),yn=e=>t=>typeof t===e,{isArray:Ot}=Array,xt=yn("undefined");function cf(e){return e!==null&&!xt(e)&&e.constructor!==null&&!xt(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fi=He("ArrayBuffer");function uf(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fi(e.buffer),t}const ff=yn("string"),Re=yn("function"),mi=yn("number"),bn=e=>e!==null&&typeof e=="object",mf=e=>e===!0||e===!1,Jt=e=>{if(vn(e)!=="object")return!1;const t=Nr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},pf=He("Date"),hf=He("File"),$f=He("Blob"),gf=He("FileList"),vf=e=>bn(e)&&Re(e.pipe),yf=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=vn(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},bf=He("URLSearchParams"),[Ef,_f,Cf,Nf]=["ReadableStream","Request","Response","Headers"].map(He),Sf=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ht(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Ot(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(r=0;r<s;r++)l=i[r],t.call(null,e[l],l,e)}}function pi(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const dt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,hi=e=>!xt(e)&&e!==dt;function Jn(){const{caseless:e}=hi(this)&&this||{},t={},n=(r,a)=>{const i=e&&pi(t,a)||a;Jt(t[i])&&Jt(r)?t[i]=Jn(t[i],r):Jt(r)?t[i]=Jn({},r):Ot(r)?t[i]=r.slice():t[i]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&Ht(arguments[r],n);return t}const Tf=(e,t,n,{allOwnKeys:r}={})=>(Ht(t,(a,i)=>{n&&Re(a)?e[i]=ui(a,n):e[i]=a},{allOwnKeys:r}),e),Of=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wf=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},kf=(e,t,n,r)=>{let a,i,s;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Nr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Lf=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},If=e=>{if(!e)return null;if(Ot(e))return e;let t=e.length;if(!mi(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Pf=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Nr(Uint8Array)),Af=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},Df=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Mf=He("HTMLFormElement"),Rf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),zo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ff=He("RegExp"),$i=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ht(n,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(r[i]=s||a)}),Object.defineProperties(e,r)},Bf=e=>{$i(e,(t,n)=>{if(Re(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Re(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xf=(e,t)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return Ot(e)?r(e):r(String(e).split(t)),n},Vf=()=>{},Uf=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,In="abcdefghijklmnopqrstuvwxyz",Yo="0123456789",gi={DIGIT:Yo,ALPHA:In,ALPHA_DIGIT:In+In.toUpperCase()+Yo},jf=(e=16,t=gi.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Hf(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Gf=e=>{const t=new Array(10),n=(r,a)=>{if(bn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const i=Ot(r)?[]:{};return Ht(r,(s,l)=>{const d=n(s,a+1);!xt(d)&&(i[l]=d)}),t[a]=void 0,i}}return r};return n(e,0)},Kf=He("AsyncFunction"),Wf=e=>e&&(bn(e)||Re(e))&&Re(e.then)&&Re(e.catch),vi=((e,t)=>e?setImmediate:t?((n,r)=>(dt.addEventListener("message",({source:a,data:i})=>{a===dt&&i===n&&r.length&&r.shift()()},!1),a=>{r.push(a),dt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(dt.postMessage)),zf=typeof queueMicrotask<"u"?queueMicrotask.bind(dt):typeof process<"u"&&process.nextTick||vi,k={isArray:Ot,isArrayBuffer:fi,isBuffer:cf,isFormData:yf,isArrayBufferView:uf,isString:ff,isNumber:mi,isBoolean:mf,isObject:bn,isPlainObject:Jt,isReadableStream:Ef,isRequest:_f,isResponse:Cf,isHeaders:Nf,isUndefined:xt,isDate:pf,isFile:hf,isBlob:$f,isRegExp:Ff,isFunction:Re,isStream:vf,isURLSearchParams:bf,isTypedArray:Pf,isFileList:gf,forEach:Ht,merge:Jn,extend:Tf,trim:Sf,stripBOM:Of,inherits:wf,toFlatObject:kf,kindOf:vn,kindOfTest:He,endsWith:Lf,toArray:If,forEachEntry:Af,matchAll:Df,isHTMLForm:Mf,hasOwnProperty:zo,hasOwnProp:zo,reduceDescriptors:$i,freezeMethods:Bf,toObjectSet:xf,toCamelCase:Rf,noop:Vf,toFiniteNumber:Uf,findKey:pi,global:dt,isContextDefined:hi,ALPHABET:gi,generateString:jf,isSpecCompliantForm:Hf,toJSONObject:Gf,isAsyncFn:Kf,isThenable:Wf,setImmediate:vi,asap:zf};function G(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}k.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const yi=G.prototype,bi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{bi[e]={value:e}});Object.defineProperties(G,bi);Object.defineProperty(yi,"isAxiosError",{value:!0});G.from=(e,t,n,r,a,i)=>{const s=Object.create(yi);return k.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),G.call(s,e.message,t,n,r,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Yf=null;function Zn(e){return k.isPlainObject(e)||k.isArray(e)}function Ei(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function qo(e,t,n){return e?e.concat(t).map(function(a,i){return a=Ei(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function qf(e){return k.isArray(e)&&!e.some(Zn)}const Xf=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function En(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!k.isUndefined(v[g])});const r=n.metaTokens,a=n.visitor||f,i=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(a))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(k.isDate(p))return p.toISOString();if(!d&&k.isBlob(p))throw new G("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(p)||k.isTypedArray(p)?d&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,g,v){let C=p;if(p&&!v&&typeof p=="object"){if(k.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if(k.isArray(p)&&qf(p)||(k.isFileList(p)||k.endsWith(g,"[]"))&&(C=k.toArray(p)))return g=Ei(g),C.forEach(function(h,_){!(k.isUndefined(h)||h===null)&&t.append(s===!0?qo([g],_,i):s===null?g:g+"[]",c(h))}),!1}return Zn(p)?!0:(t.append(qo(v,g,i),c(p)),!1)}const u=[],m=Object.assign(Xf,{defaultVisitor:f,convertValue:c,isVisitable:Zn});function y(p,g){if(!k.isUndefined(p)){if(u.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(p),k.forEach(p,function(C,w){(!(k.isUndefined(C)||C===null)&&a.call(t,C,k.isString(w)?w.trim():w,g,m))===!0&&y(C,g?g.concat(w):[w])}),u.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Xo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Sr(e,t){this._pairs=[],e&&En(e,this,t)}const _i=Sr.prototype;_i.append=function(t,n){this._pairs.push([t,n])};_i.toString=function(t){const n=t?function(r){return t.call(this,r,Xo)}:Xo;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function Jf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ci(e,t,n){if(!t)return e;const r=n&&n.encode||Jf,a=n&&n.serialize;let i;if(a?i=a(t,n):i=k.isURLSearchParams(t)?t.toString():new Sr(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Jo{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ni={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zf=typeof URLSearchParams<"u"?URLSearchParams:Sr,Qf=typeof FormData<"u"?FormData:null,e1=typeof Blob<"u"?Blob:null,t1={isBrowser:!0,classes:{URLSearchParams:Zf,FormData:Qf,Blob:e1},protocols:["http","https","file","blob","url","data"]},Tr=typeof window<"u"&&typeof document<"u",n1=(e=>Tr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),r1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",o1=Tr&&window.location.href||"http://localhost",a1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tr,hasStandardBrowserEnv:n1,hasStandardBrowserWebWorkerEnv:r1,origin:o1},Symbol.toStringTag,{value:"Module"})),Ve={...a1,...t1};function i1(e,t){return En(e,new Ve.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,i){return Ve.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function s1(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function l1(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}function Si(e){function t(n,r,a,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=i>=n.length;return s=!s&&k.isArray(a)?a.length:s,d?(k.hasOwnProp(a,s)?a[s]=[a[s],r]:a[s]=r,!l):((!a[s]||!k.isObject(a[s]))&&(a[s]=[]),t(n,r,a[s],i)&&k.isArray(a[s])&&(a[s]=l1(a[s])),!l)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,a)=>{t(s1(r),a,n,0)}),n}return null}function d1(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Gt={transitional:Ni,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=k.isObject(t);if(i&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return a?JSON.stringify(Si(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return i1(t,this.formSerializer).toString();if((l=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return En(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),d1(t)):t}],transformResponse:[function(t){const n=this.transitional||Gt.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||a)){const s=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?G.from(l,G.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ve.classes.FormData,Blob:Ve.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{Gt.headers[e]={}});const c1=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),u1=e=>{const t={};let n,r,a;return e&&e.split(`
|
33
|
-
`).forEach(function(s){a=s.indexOf(":"),n=s.substring(0,a).trim().toLowerCase(),r=s.substring(a+1).trim(),!(!n||t[n]&&
|
34
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Zo]=this[Zo]={accessors:{}}).accessors,a=this.prototype;function i(s){const l=Lt(s);r[l]||(h1(a,s),r[l]=!0)}return k.isArray(t)?t.forEach(i):i(t),this}}Ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(Ae.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(Ae);function An(e,t){const n=this||Gt,r=t||n,a=Ae.from(r.headers);let i=r.data;return k.forEach(e,function(l){i=l.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Ti(e){return!!(e&&e.__CANCEL__)}function wt(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(wt,G,{__CANCEL__:!0});function Oi(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function $1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function g1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),f=r[i];s||(s=c),n[a]=d,r[a]=c;let u=i,m=0;for(;u!==a;)m+=n[u++],u=u%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),c-s<t)return;const y=f&&c-f;return y?Math.round(m*1e3/y):void 0}}function v1(e,t){let n=0,r=1e3/t,a,i;const s=(c,f=Date.now())=>{n=f,a=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const f=Date.now(),u=f-n;u>=r?s(c,f):(a=c,i||(i=setTimeout(()=>{i=null,s(a)},r-u)))},()=>a&&s(a)]}const sn=(e,t,n=3)=>{let r=0;const a=g1(50,250);return v1(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,d=s-r,c=a(d),f=s<=l;r=s;const u={loaded:s,total:l,progress:l?s/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&f?(l-s)/c:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(u)},n)},Qo=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ea=e=>(...t)=>k.asap(()=>e(...t)),y1=Ve.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(s){const l=k.isString(s)?a(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),b1=Ve.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const s=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),k.isString(r)&&s.push("path="+r),k.isString(a)&&s.push("domain="+a),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function E1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wi(e,t){return e&&!E1(t)?_1(e,t):t}const ta=e=>e instanceof Ae?{...e}:e;function pt(e,t){t=t||{};const n={};function r(c,f,u){return k.isPlainObject(c)&&k.isPlainObject(f)?k.merge.call({caseless:u},c,f):k.isPlainObject(f)?k.merge({},f):k.isArray(f)?f.slice():f}function a(c,f,u){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c,u)}else return r(c,f,u)}function i(c,f){if(!k.isUndefined(f))return r(void 0,f)}function s(c,f){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function l(c,f,u){if(u in t)return r(c,f);if(u in e)return r(void 0,c)}const d={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,f)=>a(ta(c),ta(f),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=d[f]||a,m=u(e[f],t[f],f);k.isUndefined(m)&&u!==l||(n[f]=m)}),n}const ki=e=>{const t=pt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:s,auth:l}=t;t.headers=s=Ae.from(s),t.url=Ci(wi(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(k.isFormData(n)){if(Ve.hasStandardBrowserEnv||Ve.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...f]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...f].join("; "))}}if(Ve.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&y1(t.url))){const c=a&&i&&b1.read(i);c&&s.set(a,c)}return t},C1=typeof XMLHttpRequest<"u",N1=C1&&function(e){return new Promise(function(n,r){const a=ki(e);let i=a.data;const s=Ae.from(a.headers).normalize();let{responseType:l,onUploadProgress:d,onDownloadProgress:c}=a,f,u,m,y,p;function g(){y&&y(),p&&p(),a.cancelToken&&a.cancelToken.unsubscribe(f),a.signal&&a.signal.removeEventListener("abort",f)}let v=new XMLHttpRequest;v.open(a.method.toUpperCase(),a.url,!0),v.timeout=a.timeout;function C(){if(!v)return;const h=Ae.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),S={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:h,config:e,request:v};Oi(function(T){n(T),g()},function(T){r(T),g()},S),v=null}"onloadend"in v?v.onloadend=C:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(C)},v.onabort=function(){v&&(r(new G("Request aborted",G.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let _=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const S=a.transitional||Ni;a.timeoutErrorMessage&&(_=a.timeoutErrorMessage),r(new G(_,S.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,v)),v=null},i===void 0&&s.setContentType(null),"setRequestHeader"in v&&k.forEach(s.toJSON(),function(_,S){v.setRequestHeader(S,_)}),k.isUndefined(a.withCredentials)||(v.withCredentials=!!a.withCredentials),l&&l!=="json"&&(v.responseType=a.responseType),c&&([m,p]=sn(c,!0),v.addEventListener("progress",m)),d&&v.upload&&([u,y]=sn(d),v.upload.addEventListener("progress",u),v.upload.addEventListener("loadend",y)),(a.cancelToken||a.signal)&&(f=h=>{v&&(r(!h||h.type?new wt(null,e,v):h),v.abort(),v=null)},a.cancelToken&&a.cancelToken.subscribe(f),a.signal&&(a.signal.aborted?f():a.signal.addEventListener("abort",f)));const w=$1(a.url);if(w&&Ve.protocols.indexOf(w)===-1){r(new G("Unsupported protocol "+w+":",G.ERR_BAD_REQUEST,e));return}v.send(i||null)})},S1=(e,t)=>{let n=new AbortController,r;const a=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof G?c:new wt(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{a(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",a):d.unsubscribe(a))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",a));const{signal:l}=n;return l.unsubscribe=s,[l,()=>{i&&clearTimeout(i),i=null}]},T1=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},O1=async function*(e,t,n){for await(const r of e)yield*T1(ArrayBuffer.isView(r)?r:await n(String(r)),t)},na=(e,t,n,r,a)=>{const i=O1(e,t,a);let s=0,l,d=c=>{l||(l=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:f,value:u}=await i.next();if(f){d(),c.close();return}let m=u.byteLength;if(n){let y=s+=m;n(y)}c.enqueue(new Uint8Array(u))}catch(f){throw d(f),f}},cancel(c){return d(c),i.return()}},{highWaterMark:2})},_n=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Li=_n&&typeof ReadableStream=="function",Qn=_n&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ii=(e,...t)=>{try{return!!e(...t)}catch{return!1}},w1=Li&&Ii(()=>{let e=!1;const t=new Request(Ve.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ra=64*1024,er=Li&&Ii(()=>k.isReadableStream(new Response("").body)),ln={stream:er&&(e=>e.body)};_n&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ln[t]&&(ln[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,r)})})})(new Response);const k1=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await Qn(e)).byteLength},L1=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??k1(t)},I1=_n&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:f,withCredentials:u="same-origin",fetchOptions:m}=ki(e);c=c?(c+"").toLowerCase():"text";let[y,p]=a||i||s?S1([a,i],s):[],g,v;const C=()=>{!g&&setTimeout(()=>{y&&y.unsubscribe()}),g=!0};let w;try{if(d&&w1&&n!=="get"&&n!=="head"&&(w=await L1(f,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(k.isFormData(r)&&(T=b.headers.get("content-type"))&&f.setContentType(T),b.body){const[I,N]=Qo(w,sn(ea(d)));r=na(b.body,ra,I,N,Qn)}}k.isString(u)||(u=u?"include":"omit"),v=new Request(t,{...m,signal:y,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:u});let h=await fetch(v);const _=er&&(c==="stream"||c==="response");if(er&&(l||_)){const b={};["status","statusText","headers"].forEach(D=>{b[D]=h[D]});const T=k.toFiniteNumber(h.headers.get("content-length")),[I,N]=l&&Qo(T,sn(ea(l),!0))||[];h=new Response(na(h.body,ra,I,()=>{N&&N(),_&&C()},Qn),b)}c=c||"text";let S=await ln[k.findKey(ln,c)||"text"](h,e);return!_&&C(),p&&p(),await new Promise((b,T)=>{Oi(b,T,{data:S,headers:Ae.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:v})})}catch(h){throw C(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,v),{cause:h.cause||h}):G.from(h,h&&h.code,e,v)}}),tr={http:Yf,xhr:N1,fetch:I1};k.forEach(tr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const oa=e=>`- ${e}`,P1=e=>k.isFunction(e)||e===null||e===!1,Pi={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!P1(n)&&(r=tr[(s=String(n)).toLowerCase()],r===void 0))throw new G(`Unknown adapter '${s}'`);if(r)break;a[s||"#"+i]=r}if(!r){const i=Object.entries(a).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
32
|
+
*/const Hc="9.14.0";function Gc(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Je().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Je().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Je().__INTLIFY_PROD_DEVTOOLS__=!1)}const Za=Oe.__EXTEND_POINT__,qe=pn(Za),Le={FALLBACK_TO_ROOT:Za,NOT_SUPPORTED_PRESERVE:qe(),NOT_SUPPORTED_FORMATTER:qe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:qe(),NOT_SUPPORTED_GET_CHOICE_INDEX:qe(),COMPONENT_NAME_LEGACY_COMPATIBLE:qe(),NOT_FOUND_PARENT_SCOPE:qe(),IGNORE_OBJ_FLATTEN:qe(),NOTICE_DROP_ALLOW_COMPOSITION:qe(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:qe()},Kc={[Le.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Le.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Le.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Le.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Le.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Le.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Le.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Le.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Le.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Le.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function an(e,...t){return $r(Kc[e],...t)}const Qa=ye.__EXTEND_POINT__,ke=pn(Qa),ae={UNEXPECTED_RETURN_TYPE:Qa,INVALID_ARGUMENT:ke(),MUST_BE_CALL_SETUP_TOP:ke(),NOT_INSTALLED:ke(),NOT_AVAILABLE_IN_LEGACY_MODE:ke(),REQUIRED_VALUE:ke(),INVALID_VALUE:ke(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ke(),NOT_INSTALLED_WITH_PROVIDE:ke(),UNEXPECTED_ERROR:ke(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ke(),BRIDGE_SUPPORT_VUE_2_ONLY:ke(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ke(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ke(),__EXTEND_POINT__:ke()};function at(e,...t){return St(e,null,process.env.NODE_ENV!=="production"?{messages:Wc,args:t}:void 0)}const Wc={[ae.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[ae.INVALID_ARGUMENT]:"Invalid argument",[ae.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[ae.NOT_INSTALLED]:"Need to install with `app.use` function",[ae.UNEXPECTED_ERROR]:"Unexpected error",[ae.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[ae.REQUIRED_VALUE]:"Required in value: {0}",[ae.INVALID_VALUE]:"Invalid value",[ae.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[ae.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[ae.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[ae.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[ae.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[ae.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Wn=et("__translateVNode"),zn=et("__datetimeParts"),Yn=et("__numberParts"),qn=et("__enableEmitter"),Xn=et("__disableEmitter"),zc=et("__setPluralRules"),ei=et("__injectWithOption"),Jn=et("__dispose");function Bt(e){if(!X(e))return e;for(const t in e)if(nn(e,t))if(!t.includes("."))X(e[t])&&Bt(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,i=!1;for(let s=0;s<r;s++){if(n[s]in a||(a[n[s]]={}),!X(a[n[s]])){process.env.NODE_ENV!=="production"&&tt(an(Le.IGNORE_OBJ_FLATTEN,{key:n[s]})),i=!0;break}a=a[n[s]]}i||(a[n[r]]=e[t],delete e[t]),X(a[n[r]])&&Bt(a[n[r]])}return e}function br(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:i}=t,s=K(n)?n:pe(r)?{}:{[e]:{}};if(pe(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:u}=l;d?(s[d]=s[d]||{},Xt(u,s[d])):Xt(u,s)}else x(l)&&Xt(JSON.parse(l),s)}),a==null&&i)for(const l in s)nn(s,l)&&Bt(s[l]);return s}function ti(e){return e.type}function Yc(e,t,n){let r=X(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=br(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(X(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(X(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Vo(e){return o.createVNode(o.Text,null,e,0)}const Uo="__INTLIFY_META__",jo=()=>[],qc=()=>!1;let Ho=0;function Go(e){return(t,n,r,a)=>e(n,r,o.getCurrentInstance()||void 0,a)}const Xc=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=ti(e)[Uo])?{[Uo]:t}:null};function Jc(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0,i=e.flatJson,s=Qe?o.ref:o.shallowRef,l=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&ka(an(Le.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let d=te(e.inheritLocale)?e.inheritLocale:!0;const u=s(n&&d?n.locale.value:x(e.locale)?e.locale:Ft),f=s(n&&d?n.fallbackLocale.value:x(e.fallbackLocale)||pe(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),c=s(br(u.value,e)),m=s(K(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),y=s(K(e.numberFormats)?e.numberFormats:{[u.value]:{}});let p=n?n.missingWarn:te(e.missingWarn)||_t(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:te(e.fallbackWarn)||_t(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:te(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,T=ne(e.missing)?e.missing:null,g=ne(e.missing)?Go(e.missing):null,C=ne(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:te(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const O=n?n.modifiers:K(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,S;S=(()=>{a&&Lo(null);const L={version:Hc,locale:u.value,fallbackLocale:f.value,messages:c.value,modifiers:O,pluralRules:I,missing:g===null?void 0:g,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:N,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=m.value,L.numberFormats=y.value,L.__datetimeFormatters=K(S)?S.__datetimeFormatters:void 0,L.__numberFormatters=K(S)?S.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(L.__v_emitter=K(S)?S.__v_emitter:void 0);const M=Pc(L);return a&&Lo(M),M})(),kt(S,u.value,f.value);function R(){return[u.value,f.value,c.value,m.value,y.value]}const B=o.computed({get:()=>u.value,set:L=>{u.value=L,S.locale=u.value}}),j=o.computed({get:()=>f.value,set:L=>{f.value=L,S.fallbackLocale=f.value,kt(S,u.value,L)}}),oe=o.computed(()=>c.value),me=o.computed(()=>m.value),Q=o.computed(()=>y.value);function _e(){return ne(C)?C:null}function se(L){C=L,S.postTranslation=L}function be(){return T}function Ae(L){L!==null&&(g=Go(L)),T=L,S.missing=g}function $e(L,M){return L!=="translate"||!M.resolvedMessage}const le=(L,M,W,Z,Be,nt)=>{R();let Ve;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=n?Ic():void 0),Ve=L(S)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,a||(S.fallbackContext=void 0)}if(W!=="translate exists"&&Ce(Ve)&&Ve===$n||W==="translate exists"&&!Ve){const[Ue,Nn]=M();if(process.env.NODE_ENV!=="production"&&n&&x(Ue)&&$e(W,Nn)&&(v&&(gn(h,Ue)||Ua(p,Ue))&&tt(an(Le.FALLBACK_TO_ROOT,{key:Ue,type:W})),process.env.NODE_ENV!=="production")){const{__v_emitter:Wt}=S;Wt&&v&&Wt.emit("fallback",{type:W,key:Ue,to:"global",groupId:`${W}:${Ue}`})}return n&&v?Z(n):Be(Ue)}else{if(nt(Ve))return Ve;throw at(ae.UNEXPECTED_RETURN_TYPE)}};function ge(...L){return le(M=>Reflect.apply(Do,null,[M,...L]),()=>Hn(...L),"translate",M=>Reflect.apply(M.t,M,[...L]),M=>M,M=>x(M))}function ve(...L){const[M,W,Z]=L;if(Z&&!X(Z))throw at(ae.INVALID_ARGUMENT);return ge(M,W,Ne({resolvedMessage:!0},Z||{}))}function De(...L){return le(M=>Reflect.apply(Ro,null,[M,...L]),()=>Gn(...L),"datetime format",M=>Reflect.apply(M.d,M,[...L]),()=>on,M=>x(M))}function Me(...L){return le(M=>Reflect.apply(Bo,null,[M,...L]),()=>Kn(...L),"number format",M=>Reflect.apply(M.n,M,[...L]),()=>on,M=>x(M))}function ce(L){return L.map(M=>x(M)||Ce(M)||te(M)?Vo(String(M)):M)}const Ee={normalize:ce,interpolate:L=>L,type:"vnode"};function fe(...L){return le(M=>{let W;const Z=M;try{Z.processor=Ee,W=Reflect.apply(Do,null,[Z,...L])}finally{Z.processor=null}return W},()=>Hn(...L),"translate",M=>M[Wn](...L),M=>[Vo(M)],M=>pe(M))}function Y(...L){return le(M=>Reflect.apply(Bo,null,[M,...L]),()=>Kn(...L),"number format",M=>M[Yn](...L),jo,M=>x(M)||pe(M))}function V(...L){return le(M=>Reflect.apply(Ro,null,[M,...L]),()=>Gn(...L),"datetime format",M=>M[zn](...L),jo,M=>x(M)||pe(M))}function P(L){I=L,S.pluralRules=I}function w(L,M){return le(()=>{if(!L)return!1;const W=x(M)?M:u.value,Z=re(W),Be=S.messageResolver(Z,L);return l?Be!=null:mt(Be)||xe(Be)||x(Be)},()=>[L],"translate exists",W=>Reflect.apply(W.te,W,[L,M]),qc,W=>te(W))}function F(L){let M=null;const W=Ma(S,f.value,u.value);for(let Z=0;Z<W.length;Z++){const Be=c.value[W[Z]]||{},nt=S.messageResolver(Be,L);if(nt!=null){M=nt;break}}return M}function z(L){const M=F(L);return M??(n?n.tm(L)||{}:{})}function re(L){return c.value[L]||{}}function he(L,M){if(i){const W={[L]:M};for(const Z in W)nn(W,Z)&&Bt(W[Z]);M=W[L]}c.value[L]=M,S.messages=c.value}function Se(L,M){c.value[L]=c.value[L]||{};const W={[L]:M};if(i)for(const Z in W)nn(W,Z)&&Bt(W[Z]);M=W[L],Xt(M,c.value[L]),S.messages=c.value}function $(L){return m.value[L]||{}}function E(L,M){m.value[L]=M,S.datetimeFormats=m.value,Fo(S,L,M)}function A(L,M){m.value[L]=Ne(m.value[L]||{},M),S.datetimeFormats=m.value,Fo(S,L,M)}function U(L){return y.value[L]||{}}function ee(L,M){y.value[L]=M,S.numberFormats=y.value,xo(S,L,M)}function J(L,M){y.value[L]=Ne(y.value[L]||{},M),S.numberFormats=y.value,xo(S,L,M)}Ho++,n&&Qe&&(o.watch(n.locale,L=>{d&&(u.value=L,S.locale=L,kt(S,u.value,f.value))}),o.watch(n.fallbackLocale,L=>{d&&(f.value=L,S.fallbackLocale=L,kt(S,u.value,f.value))}));const q={id:Ho,locale:B,fallbackLocale:j,get inheritLocale(){return d},set inheritLocale(L){d=L,L&&n&&(u.value=n.locale.value,f.value=n.fallbackLocale.value,kt(S,u.value,f.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:oe,get modifiers(){return O},get pluralRules(){return I||{}},get isGlobal(){return a},get missingWarn(){return p},set missingWarn(L){p=L,S.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(L){h=L,S.fallbackWarn=h},get fallbackRoot(){return v},set fallbackRoot(L){v=L},get fallbackFormat(){return b},set fallbackFormat(L){b=L,S.fallbackFormat=b},get warnHtmlMessage(){return N},set warnHtmlMessage(L){N=L,S.warnHtmlMessage=L},get escapeParameter(){return _},set escapeParameter(L){_=L,S.escapeParameter=L},t:ge,getLocaleMessage:re,setLocaleMessage:he,mergeLocaleMessage:Se,getPostTranslationHandler:_e,setPostTranslationHandler:se,getMissingHandler:be,setMissingHandler:Ae,[zc]:P};return q.datetimeFormats=me,q.numberFormats=Q,q.rt=ve,q.te=w,q.tm=z,q.d=De,q.n=Me,q.getDateTimeFormat=$,q.setDateTimeFormat=E,q.mergeDateTimeFormat=A,q.getNumberFormat=U,q.setNumberFormat=ee,q.mergeNumberFormat=J,q[ei]=r,q[Wn]=fe,q[zn]=V,q[Yn]=Y,process.env.NODE_ENV!=="production"&&(q[qn]=L=>{S.__v_emitter=L},q[Xn]=()=>{S.__v_emitter=void 0}),q}const Er={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Zc({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===o.Fragment?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function ni(e){return o.Fragment}Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ce(e)||!isNaN(e)}},Er);function Qc(e){return pe(e)&&!x(e[0])}function ri(e,t,n,r){const{slots:a,attrs:i}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),x(e.format)?s.key=e.format:X(e.format)&&(x(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((m,y)=>n.includes(y)?Ne({},m,{[y]:e.format[y]}):m,{}));const d=r(e.value,s,l);let u=[s.key];pe(d)?u=d.map((m,y)=>{const p=a[m.type],h=p?p({[m.type]:m.value,index:y,parts:d}):[m.value];return Qc(h)&&(h[0].key=`${m.type}-${y}`),h}):x(d)&&(u=[d]);const f=Ne({},i),c=x(e.tag)||X(e.tag)?e.tag:ni();return o.h(c,f,u)}}Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},Er);Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Er);function Ko(e,t){}const e0=et("global-vue-i18n");function Tt(e={}){const t=o.getCurrentInstance();if(t==null)throw at(ae.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw at(ae.NOT_INSTALLED);const n=t0(t),r=r0(n),a=ti(t),i=n0(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw at(ae.NOT_AVAILABLE_IN_LEGACY_MODE);return s0(t,i,r,e)}if(i==="global")return Yc(r,e,a),r;if(i==="parent"){let d=o0(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&tt(an(Le.NOT_FOUND_PARENT_SCOPE)),d=r),d}const s=n;let l=s.__getInstance(t);if(l==null){const d=Ne({},e);"__i18n"in a&&(d.__i18n=a.__i18n),r&&(d.__root=r),l=Jc(d),s.__composerExtend&&(l[Jn]=s.__composerExtend(l)),i0(s,t,l),s.__setInstance(t,l)}return l}function t0(e){{const t=o.inject(e.isCE?e0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw at(e.isCE?ae.NOT_INSTALLED_WITH_PROVIDE:ae.UNEXPECTED_ERROR);return t}}function n0(e,t){return mn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function r0(e){return e.mode==="composition"?e.global:e.global.__composer}function o0(e,t,n=!1){let r=null;const a=t.root;let i=a0(t,n);for(;i!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(i);l!=null&&(r=l.__composer,n&&r&&!r[ei]&&(r=null))}if(r!=null||a===i)break;i=i.parent}return r}function a0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function i0(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=bu();const a=n;a[qn]&&a[qn](r),r.on("*",Ko)}},t),o.onUnmounted(()=>{const a=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Ko),a[Xn]&&a[Xn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=a[Jn];i&&(i(),delete a[Jn])},t)}function s0(e,t,n,r={}){const a=t==="local",i=o.shallowRef(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw at(ae.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=te(r.inheritLocale)?r.inheritLocale:!x(r.locale),l=o.ref(!a||s?n.locale.value:x(r.locale)?r.locale:Ft),d=o.ref(!a||s?n.fallbackLocale.value:x(r.fallbackLocale)||pe(r.fallbackLocale)||K(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=o.ref(br(l.value,r)),f=o.ref(K(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),c=o.ref(K(r.numberFormats)?r.numberFormats:{[l.value]:{}}),m=a?n.missingWarn:te(r.missingWarn)||_t(r.missingWarn)?r.missingWarn:!0,y=a?n.fallbackWarn:te(r.fallbackWarn)||_t(r.fallbackWarn)?r.fallbackWarn:!0,p=a?n.fallbackRoot:te(r.fallbackRoot)?r.fallbackRoot:!0,h=!!r.fallbackFormat,v=ne(r.missing)?r.missing:null,b=ne(r.postTranslation)?r.postTranslation:null,T=a?n.warnHtmlMessage:te(r.warnHtmlMessage)?r.warnHtmlMessage:!0,g=!!r.escapeParameter,C=a?n.modifiers:K(r.modifiers)?r.modifiers:{},N=r.pluralRules||a&&n.pluralRules;function _(){return[l.value,d.value,u.value,f.value,c.value]}const O=o.computed({get:()=>i.value?i.value.locale.value:l.value,set:w=>{i.value&&(i.value.locale.value=w),l.value=w}}),I=o.computed({get:()=>i.value?i.value.fallbackLocale.value:d.value,set:w=>{i.value&&(i.value.fallbackLocale.value=w),d.value=w}}),S=o.computed(()=>i.value?i.value.messages.value:u.value),D=o.computed(()=>f.value),R=o.computed(()=>c.value);function B(){return i.value?i.value.getPostTranslationHandler():b}function j(w){i.value&&i.value.setPostTranslationHandler(w)}function oe(){return i.value?i.value.getMissingHandler():v}function me(w){i.value&&i.value.setMissingHandler(w)}function Q(w){return _(),w()}function _e(...w){return i.value?Q(()=>Reflect.apply(i.value.t,null,[...w])):Q(()=>"")}function se(...w){return i.value?Reflect.apply(i.value.rt,null,[...w]):""}function be(...w){return i.value?Q(()=>Reflect.apply(i.value.d,null,[...w])):Q(()=>"")}function Ae(...w){return i.value?Q(()=>Reflect.apply(i.value.n,null,[...w])):Q(()=>"")}function $e(w){return i.value?i.value.tm(w):{}}function le(w,F){return i.value?i.value.te(w,F):!1}function ge(w){return i.value?i.value.getLocaleMessage(w):{}}function ve(w,F){i.value&&(i.value.setLocaleMessage(w,F),u.value[w]=F)}function De(w,F){i.value&&i.value.mergeLocaleMessage(w,F)}function Me(w){return i.value?i.value.getDateTimeFormat(w):{}}function ce(w,F){i.value&&(i.value.setDateTimeFormat(w,F),f.value[w]=F)}function de(w,F){i.value&&i.value.mergeDateTimeFormat(w,F)}function Ee(w){return i.value?i.value.getNumberFormat(w):{}}function fe(w,F){i.value&&(i.value.setNumberFormat(w,F),c.value[w]=F)}function Y(w,F){i.value&&i.value.mergeNumberFormat(w,F)}const V={get id(){return i.value?i.value.id:-1},locale:O,fallbackLocale:I,messages:S,datetimeFormats:D,numberFormats:R,get inheritLocale(){return i.value?i.value.inheritLocale:s},set inheritLocale(w){i.value&&(i.value.inheritLocale=w)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:C},get pluralRules(){return i.value?i.value.pluralRules:N},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:m},set missingWarn(w){i.value&&(i.value.missingWarn=w)},get fallbackWarn(){return i.value?i.value.fallbackWarn:y},set fallbackWarn(w){i.value&&(i.value.missingWarn=w)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(w){i.value&&(i.value.fallbackRoot=w)},get fallbackFormat(){return i.value?i.value.fallbackFormat:h},set fallbackFormat(w){i.value&&(i.value.fallbackFormat=w)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:T},set warnHtmlMessage(w){i.value&&(i.value.warnHtmlMessage=w)},get escapeParameter(){return i.value?i.value.escapeParameter:g},set escapeParameter(w){i.value&&(i.value.escapeParameter=w)},t:_e,getPostTranslationHandler:B,setPostTranslationHandler:j,getMissingHandler:oe,setMissingHandler:me,rt:se,d:be,n:Ae,tm:$e,te:le,getLocaleMessage:ge,setLocaleMessage:ve,mergeLocaleMessage:De,getDateTimeFormat:Me,setDateTimeFormat:ce,mergeDateTimeFormat:de,getNumberFormat:Ee,setNumberFormat:fe,mergeNumberFormat:Y};function P(w){w.locale.value=l.value,w.fallbackLocale.value=d.value,Object.keys(u.value).forEach(F=>{w.mergeLocaleMessage(F,u.value[F])}),Object.keys(f.value).forEach(F=>{w.mergeDateTimeFormat(F,f.value[F])}),Object.keys(c.value).forEach(F=>{w.mergeNumberFormat(F,c.value[F])}),w.escapeParameter=g,w.fallbackFormat=h,w.fallbackRoot=p,w.fallbackWarn=y,w.missingWarn=m,w.warnHtmlMessage=T}return o.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw at(ae.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const w=i.value=e.proxy.$i18n.__composer;t==="global"?(l.value=w.locale.value,d.value=w.fallbackLocale.value,u.value=w.messages.value,f.value=w.datetimeFormats.value,c.value=w.numberFormats.value):a&&P(w)}),V}Gc();__INTLIFY_JIT_COMPILATION__?ko(Fc):ko(Rc);Oc(sc);wc(Ma);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Je();e.__INTLIFY__=!0,$c(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const l0={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d0=["fill"],_r={__name:"IconCross",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",l0,[o.createElementVNode("path",{fill:e.fill,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z"},null,8,d0)]))}},u0={key:"popup-content",class:"pd-small z-index-6 popup-wrapper"},c0={key:0,class:"mn-b-small"},oi={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(e,{emit:t}){const n=e,r=t;function a(){r("close-popup")}return o.watch(()=>n.isPopupOpen,s=>{s?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Ta(),Sa(),Tt({messages:{en:{},ru:{}}}),(s,l)=>(o.openBlock(),o.createBlock(o.Transition,{name:"TransitionTranslateY",appear:""},{default:o.withCtx(()=>[e.isPopupOpen?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[e.isPopupOpen?(o.openBlock(),o.createElementBlock("div",u0,[o.createVNode(o.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:o.withCtx(()=>[o.createElementVNode("section",o.mergeProps({class:"pos-relative z-index-4"},s.$attrs,{class:s.$attrs.class}),[e.title?(o.openBlock(),o.createElementBlock("h4",c0,o.toDisplayString(e.title),1)):o.createCommentVNode("",!0),o.createVNode(_r,{fill:"rgb(var(--white))",onClick:l[0]||(l[0]=d=>a()),class:"cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"}),o.renderSlot(s.$slots,"default")],16)]),_:3}),o.createElementVNode("div",{onClick:l[1]||(l[1]=d=>a()),class:o.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),_:3}))}},f0=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"})),m0={class:"flex-v-center flex-nowrap flex"},p0={key:0,class:"br-solid br-2px br-grey-transp-25 pos-absolute pos-t-0 pos-r-0 radius-extra w-100 h-100"},h0={key:0,class:"mn-r-auto t-transp mn-r-small"},$0=["name","value","checked"],Cr={__name:"Radio",props:{label:String,name:String,value:!1,radio:[Object,String]},emits:["update:radio"],setup(e,{emit:t}){const n=t;return(r,a)=>(o.openBlock(),o.createElementBlock("label",m0,[o.createElementVNode("div",{class:o.normalizeClass(["cursor-pointer mn-r-thin radius-extra pd-micro h-100 aspect-1x1 pos-relative",{"bg-main":e.radio===e.value}])},[o.createElementVNode("div",{class:o.normalizeClass(["radius-extra pd-micro w-100 h-100",{"bg-white":e.radio===e.value}])},null,2),e.radio!==e.value?(o.openBlock(),o.createElementBlock("div",p0)):o.createCommentVNode("",!0)],2),e.label?(o.openBlock(),o.createElementBlock("div",h0,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onInput:a[0]||(a[0]=i=>r.text=n("update:radio",i.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,$0)]))}},g0=Object.freeze(Object.defineProperty({__proto__:null,default:Cr},Symbol.toStringTag,{value:"Module"})),v0={key:0,class:"t-transp mn-r-small"},y0={class:"w-100"},b0=["onClick"],E0={key:0,class:"w-100"},_0={key:0,class:"mn-t-thin invalid-feedback"},C0={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){let n=ur;const r=t,a=e,i=o.ref(!1),s=o.ref(a.property?c(a.select,a.property,a.options):a.select),l=o.computed(()=>a.select?a.options.filter(m=>m!==a.select):a.options);o.watch(()=>a.select,m=>{s.value=a.property?c(a.select,a.property,a.options):a.select});const d=()=>{i.value=!i.value,r(i.value?"focus":"blur")};function u(){i.value=!1}const f=m=>{s.value=m,d(),a.property?r("update:select",s.value[a.property]):r("update:select",s.value)};function c(m,y,p){for(const h of p)if(h[y]===m||h===m)return h;return null}return(m,y)=>{var p,h;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives((o.openBlock(),o.createElementBlock("div",{onClick:o.withModifiers(d,["stop"]),class:o.normalizeClass([m.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[e.label?(o.openBlock(),o.createElementBlock("div",v0,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("li",y0,[o.createElementVNode("span",null,o.toDisplayString((p=s.value)!=null&&p.name?(h=s.value)==null?void 0:h.name:s.value||e.placeholder),1)]),o.createVNode(o.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("ul",{class:o.normalizeClass([m.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,v=>(o.openBlock(),o.createElementBlock("li",{onClick:o.withModifiers(b=>f(v),["stop"])},[v?(o.openBlock(),o.createElementBlock("span",E0,o.toDisplayString(v.name||v),1)):o.createCommentVNode("",!0)],8,b0))),256))],2),[[o.vShow,i.value]])]),_:1})],2)),[[o.unref(n),u]]),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",_0," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}}},ai=ze(C0,[["__scopeId","data-v-bf25c24d"]]),N0=Object.freeze(Object.defineProperty({__proto__:null,default:ai},Symbol.toStringTag,{value:"Module"}));function Ln(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function S0(e){return(...t)=>!e(...t)}function T0(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ii(e,t,n,r){return t?e.filter(a=>T0(r(a,n),t)).sort((a,i)=>r(a,n).length-r(i,n).length):e}function O0(e){return e.filter(t=>!t.$isLabel)}function In(e,t){return n=>n.reduce((r,a)=>a[e]&&a[e].length?(r.push({$groupLabel:a[t],$isLabel:!0}),r.concat(a[e])):r,[])}function w0(e,t,n,r,a){return i=>i.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=ii(s[n],e,t,a);return l.length?{[r]:s[r],[n]:l}:[]})}const Wo=(...e)=>t=>e.reduce((n,r)=>r(n),t),k0={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return Ln(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):ii(n,t,this.label,this.customLabel):n=this.groupValues?In(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(S0(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return Wo(w0(t,n,this.groupValues,this.groupLabel,this.customLabel),In(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return Wo(In(this.groupValues,this.groupLabel),O0)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(Ln(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Ln(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},L0={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},I0={name:"vue-multiselect",mixins:[k0,L0],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},P0=["tabindex","aria-owns"],A0={ref:"tags",class:"multiselect__tags"},D0={class:"multiselect__tags-wrap"},M0=["textContent"],R0=["onKeypress","onMousedown"],F0=["textContent"],B0={class:"multiselect__spinner"},x0=["name","id","placeholder","value","disabled","tabindex","aria-controls"],V0=["id"],U0={key:0},j0={class:"multiselect__option"},H0=["id","role"],G0=["onClick","onMouseenter","data-select","data-selected","data-deselect"],K0=["data-select","data-deselect","onMouseenter","onMousedown"],W0={class:"multiselect__option"},z0={class:"multiselect__option"};function Y0(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:o.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect flex flex-v-center"]),onFocus:t[13]||(t[13]=s=>e.activate()),onBlur:t[14]||(t[14]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=o.withKeys(o.withModifiers(s=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=o.withKeys(o.withModifiers(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=o.withKeys(o.withModifiers(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=o.withKeys(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[o.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[o.createElementVNode("div",{onMousedown:t[0]||(t[0]=o.withModifiers(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(e.$slots,"clear",{search:e.search}),o.createElementVNode("div",A0,[o.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:i.visibleValues,isOpen:e.isOpen},()=>[o.withDirectives(o.createElementVNode("div",D0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.visibleValues,(s,l)=>o.renderSlot(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(o.openBlock(),o.createElementBlock("span",{class:"multiselect__tag",key:l},[o.createElementVNode("span",{textContent:o.toDisplayString(e.getOptionLabel(s))},null,8,M0),o.createElementVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(d=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:o.withModifiers(d=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,R0)]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?o.renderSlot(e.$slots,"limit",{key:0},()=>[o.createElementVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,F0)]):o.createCommentVNode("",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"loading",{},()=>[o.withDirectives(o.createElementVNode("div",B0,null,512),[[o.vShow,n.loading]])])]),_:3}),e.searchable?(o.openBlock(),o.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:o.normalizeStyle(i.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=s=>e.updateSearch(s.target.value)),onFocus:t[2]||(t[2]=o.withModifiers(s=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=o.withModifiers(s=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=o.withKeys(s=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=o.withKeys(o.withModifiers(s=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=o.withKeys(o.withModifiers(s=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=o.withKeys(o.withModifiers(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=o.withKeys(o.withModifiers(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,x0)):o.createCommentVNode("",!0),i.isSingleLabelVisible?(o.openBlock(),o.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=o.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[o.renderSlot(e.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(e.currentOptionLabel),1)])],32)):o.createCommentVNode("",!0),i.isPlaceholderVisible?(o.openBlock(),o.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=o.withModifiers((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[o.renderSlot(e.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(e.placeholder),1)])],32)):o.createCommentVNode("",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[12]||(t[12]=o.withModifiers(()=>{},["prevent"])),style:o.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[o.createElementVNode("ul",{class:"multiselect__content",style:o.normalizeStyle(i.contentStyle),role:"listbox",id:"listbox-"+e.id},[o.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(o.openBlock(),o.createElementBlock("li",U0,[o.createElementVNode("span",j0,[o.renderSlot(e.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(e.filteredOptions,(s,l)=>(o.openBlock(),o.createElementBlock("li",{class:"multiselect__element",key:l,id:e.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([e.optionHighlight(l,s),"multiselect__option"]),onClick:o.withModifiers(d=>e.select(s),["stop"]),onMouseenter:o.withModifiers(d=>e.pointerSet(l),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(s)),1)])],42,G0)),s&&(s.$isLabel||s.$isDisabled)?(o.openBlock(),o.createElementBlock("span",{key:1,"data-select":e.groupSelect&&i.selectGroupLabelText,"data-deselect":e.groupSelect&&i.deselectGroupLabelText,class:o.normalizeClass([e.groupHighlight(l,s),"multiselect__option"]),onMouseenter:o.withModifiers(d=>e.groupSelect&&e.pointerSet(l),["self"]),onMousedown:o.withModifiers(d=>e.selectGroup(s),["prevent"])},[o.renderSlot(e.$slots,"option",{option:s,search:e.search,index:l},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(s)),1)])],42,K0)):o.createCommentVNode("",!0)],8,H0))),128)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",W0,[o.renderSlot(e.$slots,"noResult",{search:e.search},()=>[t[19]||(t[19]=o.createTextVNode("No elements found. Consider changing the search query."))])])],512),[[o.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",z0,[o.renderSlot(e.$slots,"noOptions",{},()=>[t[20]||(t[20]=o.createTextVNode("List is empty."))])])],512),[[o.vShow,n.showNoOptions&&(e.options.length===0||i.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),o.renderSlot(e.$slots,"afterList")],12,V0)],38),[[o.vShow,e.isOpen]])]),_:3})],42,P0)}const si=ze(I0,[["render",Y0]]),q0=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"})),X0={class:"spoiler"},Nr={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1);return t.status&&(n.value=t.status),(r,a)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:a[0]||(a[0]=i=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[o.renderSlot(r.$slots,"header",{isOpen:n.value})]),o.createVNode(o.Transition,{name:"collapse"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",X0,[o.renderSlot(r.$slots,"content")],512),[[o.vShow,n.value]])]),_:3})]))}},J0=Object.freeze(Object.defineProperty({__proto__:null,default:Nr},Symbol.toStringTag,{value:"Module"})),Z0={class:"flex-nowrap flex-v-center gap-micro pd-micro flex pos-relative"},Q0=["onClick"],ef={class:""},li={__name:"Tab",props:{tabs:Array,tabClass:String,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=t,r=e,a=o.ref(0);if(r.selected){const s=r.tabs.findIndex(l=>l.value===r.selected);s!==-1&&(a.value=s)}function i(s,l){a.value=s,n("update:selected",l.value),r.callback&&r.callback()}return(s,l)=>(o.openBlock(),o.createElementBlock("div",Z0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tabs,(d,u)=>(o.openBlock(),o.createElementBlock("div",{key:u,onClick:f=>i(u,d),class:o.normalizeClass(["z-index-1 t-center",[u!==a.value?"bg-white":"bg-main",e.tabClass?e.tabClass:"pd-small pd-r-medium pd-l-medium w-max pd-small radius-small"]])},[o.createElementVNode("label",ef,o.toDisplayString(d.name),1)],10,Q0))),128))]))}},tf=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"})),di={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=o.ref(!1),n=o.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(i){t.value=!0,n.left=`${i.clientX/100+10}px`,n.top=`${i.clientY/100+10}px`,n.display="block"}function a(){t.value=!1,n.display="none"}return(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:r,onMouseleave:a},[o.renderSlot(i.$slots,"default"),o.createElementVNode("div",{class:"tooltip-content",style:o.normalizeStyle(n)},o.toDisplayString(e.text),5)],32))}},nf=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"})),rf={key:0,class:"cursor-pointer t-second"},ui={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0},showToggleText:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1),r=o.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),a=o.computed(()=>t.text),i=()=>{n.value=!n.value},s=o.computed(()=>n.value?a.value:r.value),l=o.computed(()=>t.text.length>t.maxLen),d=o.computed(()=>n.value?"Hide":"Show more");return(u,f)=>(o.openBlock(),o.createElementBlock("span",{onClick:i,class:""},[o.createTextVNode(o.toDisplayString(s.value)+" ",1),l.value&&e.showToggleText?(o.openBlock(),o.createElementBlock("span",rf,o.toDisplayString(d.value),1)):o.createCommentVNode("",!0)]))}},of=Object.freeze(Object.defineProperty({__proto__:null,default:ui},Symbol.toStringTag,{value:"Module"}));function ci(e,t){return function(){return e.apply(t,arguments)}}const{toString:af}=Object.prototype,{getPrototypeOf:Sr}=Object,vn=(e=>t=>{const n=af.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ke=e=>(e=e.toLowerCase(),t=>vn(t)===e),yn=e=>t=>typeof t===e,{isArray:Ot}=Array,xt=yn("undefined");function sf(e){return e!==null&&!xt(e)&&e.constructor!==null&&!xt(e.constructor)&&Fe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fi=Ke("ArrayBuffer");function lf(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fi(e.buffer),t}const df=yn("string"),Fe=yn("function"),mi=yn("number"),bn=e=>e!==null&&typeof e=="object",uf=e=>e===!0||e===!1,Jt=e=>{if(vn(e)!=="object")return!1;const t=Sr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cf=Ke("Date"),ff=Ke("File"),mf=Ke("Blob"),pf=Ke("FileList"),hf=e=>bn(e)&&Fe(e.pipe),$f=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Fe(e.append)&&((t=vn(e))==="formdata"||t==="object"&&Fe(e.toString)&&e.toString()==="[object FormData]"))},gf=Ke("URLSearchParams"),[vf,yf,bf,Ef]=["ReadableStream","Request","Response","Headers"].map(Ke),_f=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ht(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Ot(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(r=0;r<s;r++)l=i[r],t.call(null,e[l],l,e)}}function pi(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const dt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,hi=e=>!xt(e)&&e!==dt;function Zn(){const{caseless:e}=hi(this)&&this||{},t={},n=(r,a)=>{const i=e&&pi(t,a)||a;Jt(t[i])&&Jt(r)?t[i]=Zn(t[i],r):Jt(r)?t[i]=Zn({},r):Ot(r)?t[i]=r.slice():t[i]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&Ht(arguments[r],n);return t}const Cf=(e,t,n,{allOwnKeys:r}={})=>(Ht(t,(a,i)=>{n&&Fe(a)?e[i]=ci(a,n):e[i]=a},{allOwnKeys:r}),e),Nf=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Sf=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Tf=(e,t,n,r)=>{let a,i,s;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Sr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Of=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},wf=e=>{if(!e)return null;if(Ot(e))return e;let t=e.length;if(!mi(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kf=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Sr(Uint8Array)),Lf=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},If=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Pf=Ke("HTMLFormElement"),Af=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),zo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Df=Ke("RegExp"),$i=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ht(n,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(r[i]=s||a)}),Object.defineProperties(e,r)},Mf=e=>{$i(e,(t,n)=>{if(Fe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Fe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Rf=(e,t)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return Ot(e)?r(e):r(String(e).split(t)),n},Ff=()=>{},Bf=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Pn="abcdefghijklmnopqrstuvwxyz",Yo="0123456789",gi={DIGIT:Yo,ALPHA:Pn,ALPHA_DIGIT:Pn+Pn.toUpperCase()+Yo},xf=(e=16,t=gi.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Vf(e){return!!(e&&Fe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Uf=e=>{const t=new Array(10),n=(r,a)=>{if(bn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const i=Ot(r)?[]:{};return Ht(r,(s,l)=>{const d=n(s,a+1);!xt(d)&&(i[l]=d)}),t[a]=void 0,i}}return r};return n(e,0)},jf=Ke("AsyncFunction"),Hf=e=>e&&(bn(e)||Fe(e))&&Fe(e.then)&&Fe(e.catch),vi=((e,t)=>e?setImmediate:t?((n,r)=>(dt.addEventListener("message",({source:a,data:i})=>{a===dt&&i===n&&r.length&&r.shift()()},!1),a=>{r.push(a),dt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Fe(dt.postMessage)),Gf=typeof queueMicrotask<"u"?queueMicrotask.bind(dt):typeof process<"u"&&process.nextTick||vi,k={isArray:Ot,isArrayBuffer:fi,isBuffer:sf,isFormData:$f,isArrayBufferView:lf,isString:df,isNumber:mi,isBoolean:uf,isObject:bn,isPlainObject:Jt,isReadableStream:vf,isRequest:yf,isResponse:bf,isHeaders:Ef,isUndefined:xt,isDate:cf,isFile:ff,isBlob:mf,isRegExp:Df,isFunction:Fe,isStream:hf,isURLSearchParams:gf,isTypedArray:kf,isFileList:pf,forEach:Ht,merge:Zn,extend:Cf,trim:_f,stripBOM:Nf,inherits:Sf,toFlatObject:Tf,kindOf:vn,kindOfTest:Ke,endsWith:Of,toArray:wf,forEachEntry:Lf,matchAll:If,isHTMLForm:Pf,hasOwnProperty:zo,hasOwnProp:zo,reduceDescriptors:$i,freezeMethods:Mf,toObjectSet:Rf,toCamelCase:Af,noop:Ff,toFiniteNumber:Bf,findKey:pi,global:dt,isContextDefined:hi,ALPHABET:gi,generateString:xf,isSpecCompliantForm:Vf,toJSONObject:Uf,isAsyncFn:jf,isThenable:Hf,setImmediate:vi,asap:Gf};function G(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}k.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.status}}});const yi=G.prototype,bi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{bi[e]={value:e}});Object.defineProperties(G,bi);Object.defineProperty(yi,"isAxiosError",{value:!0});G.from=(e,t,n,r,a,i)=>{const s=Object.create(yi);return k.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),G.call(s,e.message,t,n,r,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Kf=null;function Qn(e){return k.isPlainObject(e)||k.isArray(e)}function Ei(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function qo(e,t,n){return e?e.concat(t).map(function(a,i){return a=Ei(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function Wf(e){return k.isArray(e)&&!e.some(Qn)}const zf=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function En(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,v){return!k.isUndefined(v[h])});const r=n.metaTokens,a=n.visitor||f,i=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(a))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(k.isDate(p))return p.toISOString();if(!d&&k.isBlob(p))throw new G("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(p)||k.isTypedArray(p)?d&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,h,v){let b=p;if(p&&!v&&typeof p=="object"){if(k.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(k.isArray(p)&&Wf(p)||(k.isFileList(p)||k.endsWith(h,"[]"))&&(b=k.toArray(p)))return h=Ei(h),b.forEach(function(g,C){!(k.isUndefined(g)||g===null)&&t.append(s===!0?qo([h],C,i):s===null?h:h+"[]",u(g))}),!1}return Qn(p)?!0:(t.append(qo(v,h,i),u(p)),!1)}const c=[],m=Object.assign(zf,{defaultVisitor:f,convertValue:u,isVisitable:Qn});function y(p,h){if(!k.isUndefined(p)){if(c.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(p),k.forEach(p,function(b,T){(!(k.isUndefined(b)||b===null)&&a.call(t,b,k.isString(T)?T.trim():T,h,m))===!0&&y(b,h?h.concat(T):[T])}),c.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Xo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Tr(e,t){this._pairs=[],e&&En(e,this,t)}const _i=Tr.prototype;_i.append=function(t,n){this._pairs.push([t,n])};_i.toString=function(t){const n=t?function(r){return t.call(this,r,Xo)}:Xo;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function Yf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ci(e,t,n){if(!t)return e;const r=n&&n.encode||Yf,a=n&&n.serialize;let i;if(a?i=a(t,n):i=k.isURLSearchParams(t)?t.toString():new Tr(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Jo{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ni={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qf=typeof URLSearchParams<"u"?URLSearchParams:Tr,Xf=typeof FormData<"u"?FormData:null,Jf=typeof Blob<"u"?Blob:null,Zf={isBrowser:!0,classes:{URLSearchParams:qf,FormData:Xf,Blob:Jf},protocols:["http","https","file","blob","url","data"]},Or=typeof window<"u"&&typeof document<"u",er=typeof navigator=="object"&&navigator||void 0,Qf=Or&&(!er||["ReactNative","NativeScript","NS"].indexOf(er.product)<0),e1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",t1=Or&&window.location.href||"http://localhost",n1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Or,hasStandardBrowserEnv:Qf,hasStandardBrowserWebWorkerEnv:e1,navigator:er,origin:t1},Symbol.toStringTag,{value:"Module"})),Ie={...n1,...Zf};function r1(e,t){return En(e,new Ie.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,i){return Ie.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function o1(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function a1(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}function Si(e){function t(n,r,a,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),d=i>=n.length;return s=!s&&k.isArray(a)?a.length:s,d?(k.hasOwnProp(a,s)?a[s]=[a[s],r]:a[s]=r,!l):((!a[s]||!k.isObject(a[s]))&&(a[s]=[]),t(n,r,a[s],i)&&k.isArray(a[s])&&(a[s]=a1(a[s])),!l)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,a)=>{t(o1(r),a,n,0)}),n}return null}function i1(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Gt={transitional:Ni,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=k.isObject(t);if(i&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return a?JSON.stringify(Si(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return r1(t,this.formSerializer).toString();if((l=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return En(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),i1(t)):t}],transformResponse:[function(t){const n=this.transitional||Gt.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||a)){const s=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?G.from(l,G.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ie.classes.FormData,Blob:Ie.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{Gt.headers[e]={}});const s1=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),l1=e=>{const t={};let n,r,a;return e&&e.split(`
|
33
|
+
`).forEach(function(s){a=s.indexOf(":"),n=s.substring(0,a).trim().toLowerCase(),r=s.substring(a+1).trim(),!(!n||t[n]&&s1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Zo=Symbol("internals");function Lt(e){return e&&String(e).trim().toLowerCase()}function Zt(e){return e===!1||e==null?e:k.isArray(e)?e.map(Zt):String(e)}function d1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const u1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function An(e,t,n,r,a){if(k.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function c1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function f1(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,i,s){return this[r].call(this,t,a,i,s)},configurable:!0})})}class Pe{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function i(l,d,u){const f=Lt(d);if(!f)throw new Error("header name must be a non-empty string");const c=k.findKey(a,f);(!c||a[c]===void 0||u===!0||u===void 0&&a[c]!==!1)&&(a[c||d]=Zt(l))}const s=(l,d)=>k.forEach(l,(u,f)=>i(u,f,d));if(k.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(k.isString(t)&&(t=t.trim())&&!u1(t))s(l1(t),n);else if(k.isHeaders(t))for(const[l,d]of t.entries())i(d,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=Lt(t),t){const r=k.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return d1(a);if(k.isFunction(n))return n.call(this,a,r);if(k.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Lt(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||An(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function i(s){if(s=Lt(s),s){const l=k.findKey(r,s);l&&(!n||An(r,r[l],l,n))&&(delete r[l],a=!0)}}return k.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const i=n[r];(!t||An(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,r={};return k.forEach(this,(a,i)=>{const s=k.findKey(r,i);if(s){n[s]=Zt(a),delete n[i];return}const l=t?c1(i):String(i).trim();l!==i&&delete n[i],n[l]=Zt(a),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
34
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Zo]=this[Zo]={accessors:{}}).accessors,a=this.prototype;function i(s){const l=Lt(s);r[l]||(f1(a,s),r[l]=!0)}return k.isArray(t)?t.forEach(i):i(t),this}}Pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(Pe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(Pe);function Dn(e,t){const n=this||Gt,r=t||n,a=Pe.from(r.headers);let i=r.data;return k.forEach(e,function(l){i=l.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Ti(e){return!!(e&&e.__CANCEL__)}function wt(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(wt,G,{__CANCEL__:!0});function Oi(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function m1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function p1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(d){const u=Date.now(),f=r[i];s||(s=u),n[a]=d,r[a]=u;let c=i,m=0;for(;c!==a;)m+=n[c++],c=c%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-s<t)return;const y=f&&u-f;return y?Math.round(m*1e3/y):void 0}}function h1(e,t){let n=0,r=1e3/t,a,i;const s=(u,f=Date.now())=>{n=f,a=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const f=Date.now(),c=f-n;c>=r?s(u,f):(a=u,i||(i=setTimeout(()=>{i=null,s(a)},r-c)))},()=>a&&s(a)]}const sn=(e,t,n=3)=>{let r=0;const a=p1(50,250);return h1(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,d=s-r,u=a(d),f=s<=l;r=s;const c={loaded:s,total:l,progress:l?s/l:void 0,bytes:d,rate:u||void 0,estimated:u&&l&&f?(l-s)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(c)},n)},Qo=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ea=e=>(...t)=>k.asap(()=>e(...t)),$1=Ie.hasStandardBrowserEnv?function(){const t=Ie.navigator&&/(msie|trident)/i.test(Ie.navigator.userAgent),n=document.createElement("a");let r;function a(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(s){const l=k.isString(s)?a(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),g1=Ie.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const s=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),k.isString(r)&&s.push("path="+r),k.isString(a)&&s.push("domain="+a),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function v1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function y1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wi(e,t){return e&&!v1(t)?y1(e,t):t}const ta=e=>e instanceof Pe?{...e}:e;function pt(e,t){t=t||{};const n={};function r(u,f,c){return k.isPlainObject(u)&&k.isPlainObject(f)?k.merge.call({caseless:c},u,f):k.isPlainObject(f)?k.merge({},f):k.isArray(f)?f.slice():f}function a(u,f,c){if(k.isUndefined(f)){if(!k.isUndefined(u))return r(void 0,u,c)}else return r(u,f,c)}function i(u,f){if(!k.isUndefined(f))return r(void 0,f)}function s(u,f){if(k.isUndefined(f)){if(!k.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function l(u,f,c){if(c in t)return r(u,f);if(c in e)return r(void 0,u)}const d={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,f)=>a(ta(u),ta(f),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(f){const c=d[f]||a,m=c(e[f],t[f],f);k.isUndefined(m)&&c!==l||(n[f]=m)}),n}const ki=e=>{const t=pt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:s,auth:l}=t;t.headers=s=Pe.from(s),t.url=Ci(wi(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(k.isFormData(n)){if(Ie.hasStandardBrowserEnv||Ie.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[u,...f]=d?d.split(";").map(c=>c.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...f].join("; "))}}if(Ie.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&$1(t.url))){const u=a&&i&&g1.read(i);u&&s.set(a,u)}return t},b1=typeof XMLHttpRequest<"u",E1=b1&&function(e){return new Promise(function(n,r){const a=ki(e);let i=a.data;const s=Pe.from(a.headers).normalize();let{responseType:l,onUploadProgress:d,onDownloadProgress:u}=a,f,c,m,y,p;function h(){y&&y(),p&&p(),a.cancelToken&&a.cancelToken.unsubscribe(f),a.signal&&a.signal.removeEventListener("abort",f)}let v=new XMLHttpRequest;v.open(a.method.toUpperCase(),a.url,!0),v.timeout=a.timeout;function b(){if(!v)return;const g=Pe.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),N={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:g,config:e,request:v};Oi(function(O){n(O),h()},function(O){r(O),h()},N),v=null}"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(b)},v.onabort=function(){v&&(r(new G("Request aborted",G.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let C=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const N=a.transitional||Ni;a.timeoutErrorMessage&&(C=a.timeoutErrorMessage),r(new G(C,N.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,v)),v=null},i===void 0&&s.setContentType(null),"setRequestHeader"in v&&k.forEach(s.toJSON(),function(C,N){v.setRequestHeader(N,C)}),k.isUndefined(a.withCredentials)||(v.withCredentials=!!a.withCredentials),l&&l!=="json"&&(v.responseType=a.responseType),u&&([m,p]=sn(u,!0),v.addEventListener("progress",m)),d&&v.upload&&([c,y]=sn(d),v.upload.addEventListener("progress",c),v.upload.addEventListener("loadend",y)),(a.cancelToken||a.signal)&&(f=g=>{v&&(r(!g||g.type?new wt(null,e,v):g),v.abort(),v=null)},a.cancelToken&&a.cancelToken.subscribe(f),a.signal&&(a.signal.aborted?f():a.signal.addEventListener("abort",f)));const T=m1(a.url);if(T&&Ie.protocols.indexOf(T)===-1){r(new G("Unsupported protocol "+T+":",G.ERR_BAD_REQUEST,e));return}v.send(i||null)})},_1=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const i=function(u){if(!a){a=!0,l();const f=u instanceof Error?u:this.reason;r.abort(f instanceof G?f:new wt(f instanceof Error?f.message:f))}};let s=t&&setTimeout(()=>{s=null,i(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:d}=r;return d.unsubscribe=()=>k.asap(l),d}},C1=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},N1=async function*(e,t){for await(const n of S1(e))yield*C1(n,t)},S1=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},na=(e,t,n,r)=>{const a=N1(e,t);let i=0,s,l=d=>{s||(s=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:u,value:f}=await a.next();if(u){l(),d.close();return}let c=f.byteLength;if(n){let m=i+=c;n(m)}d.enqueue(new Uint8Array(f))}catch(u){throw l(u),u}},cancel(d){return l(d),a.return()}},{highWaterMark:2})},_n=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Li=_n&&typeof ReadableStream=="function",T1=_n&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ii=(e,...t)=>{try{return!!e(...t)}catch{return!1}},O1=Li&&Ii(()=>{let e=!1;const t=new Request(Ie.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ra=64*1024,tr=Li&&Ii(()=>k.isReadableStream(new Response("").body)),ln={stream:tr&&(e=>e.body)};_n&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ln[t]&&(ln[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,r)})})})(new Response);const w1=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(Ie.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await T1(e)).byteLength},k1=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??w1(t)},L1=_n&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:d,responseType:u,headers:f,withCredentials:c="same-origin",fetchOptions:m}=ki(e);u=u?(u+"").toLowerCase():"text";let y=_1([a,i&&i.toAbortSignal()],s),p;const h=y&&y.unsubscribe&&(()=>{y.unsubscribe()});let v;try{if(d&&O1&&n!=="get"&&n!=="head"&&(v=await k1(f,r))!==0){let N=new Request(t,{method:"POST",body:r,duplex:"half"}),_;if(k.isFormData(r)&&(_=N.headers.get("content-type"))&&f.setContentType(_),N.body){const[O,I]=Qo(v,sn(ea(d)));r=na(N.body,ra,O,I)}}k.isString(c)||(c=c?"include":"omit");const b="credentials"in Request.prototype;p=new Request(t,{...m,signal:y,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:b?c:void 0});let T=await fetch(p);const g=tr&&(u==="stream"||u==="response");if(tr&&(l||g&&h)){const N={};["status","statusText","headers"].forEach(S=>{N[S]=T[S]});const _=k.toFiniteNumber(T.headers.get("content-length")),[O,I]=l&&Qo(_,sn(ea(l),!0))||[];T=new Response(na(T.body,ra,O,()=>{I&&I(),h&&h()}),N)}u=u||"text";let C=await ln[k.findKey(ln,u)||"text"](T,e);return!g&&h&&h(),await new Promise((N,_)=>{Oi(N,_,{data:C,headers:Pe.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:p})})}catch(b){throw h&&h(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,p),{cause:b.cause||b}):G.from(b,b&&b.code,e,p)}}),nr={http:Kf,xhr:E1,fetch:L1};k.forEach(nr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const oa=e=>`- ${e}`,I1=e=>k.isFunction(e)||e===null||e===!1,Pi={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!I1(n)&&(r=nr[(s=String(n)).toLowerCase()],r===void 0))throw new G(`Unknown adapter '${s}'`);if(r)break;a[s||"#"+i]=r}if(!r){const i=Object.entries(a).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
35
35
|
`+i.map(oa).join(`
|
36
|
-
`):" "+oa(i[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:
|
37
|
-
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pt(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&nr.assertOptions(r,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),a!=null&&(k.isFunction(a)?n.paramsSerializer={serialize:a}:nr.assertOptions(a,{encode:ot.function,serialize:ot.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&k.merge(i.common,i[n.method]);i&&k.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Ae.concat(s,i);const l=[];let d=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(d=d&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let f,u=0,m;if(!d){const p=[aa.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),m=p.length,f=Promise.resolve(n);u<m;)f=f.then(p[u++],p[u++]);return f}m=l.length;let y=n;for(u=0;u<m;){const p=l[u++],g=l[u++];try{y=p(y)}catch(v){g.call(this,v);break}}try{f=aa.call(this,y)}catch(p){return Promise.reject(p)}for(u=0,m=c.length;u<m;)f=f.then(c[u++],c[u++]);return f}getUri(t){t=pt(this.defaults,t);const n=wi(t.baseURL,t.url);return Ci(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){ct.prototype[t]=function(n,r){return this.request(pt(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,l){return this.request(pt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}ct.prototype[t]=n(),ct.prototype[t+"Form"]=n(!0)});class wr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(a);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new wt(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new wr(function(a){t=a}),cancel:t}}}function D1(e){return function(n){return e.apply(null,n)}}function M1(e){return k.isObject(e)&&e.isAxiosError===!0}const rr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(rr).forEach(([e,t])=>{rr[t]=e});function Di(e){const t=new ct(e),n=ui(ct.prototype.request,t);return k.extend(n,ct.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Di(pt(e,a))},n}const de=Di(Gt);de.Axios=ct;de.CanceledError=wt;de.CancelToken=wr;de.isCancel=Ti;de.VERSION=Ai;de.toFormData=En;de.AxiosError=G;de.Cancel=de.CanceledError;de.all=function(t){return Promise.all(t)};de.spread=D1;de.isAxiosError=M1;de.mergeConfig=pt;de.AxiosHeaders=Ae;de.formToJSON=e=>Si(k.isHTMLForm(e)?new FormData(e):e);de.getAdapter=Pi.getAdapter;de.HttpStatusCode=rr;de.default=de;const R1={key:0,class:"t-transp mn-r-small"},F1={key:1,class:"flex-nowrap flex w-100 flex-v-center"},B1=["href"],x1={key:2,class:"w-100"},V1=["placeholder","multiple"],U1={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},j1={__name:"Upload",props:{field:String,label:null,type:{type:String,default:"file"},placeholder:"Upload a file",validation:!1,uploadPath:{type:String,default:"/files"},multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=t,r=e,a=o.ref(r.field);o.ref(null),o.watch(()=>r.field,l=>{a.value=l});async function i(l){let d=l.target.files[0],c=new FormData;c.append("file",d);try{let u=await de.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/${r.type}?folderName=${encodeURIComponent(r.uploadPath)}`,c,{headers:{"Content-Type":"multipart/form-data"}});a.value=u.data[0].filepath,n("file-change",a.value)}catch(f){console.error(f)}}const s=()=>{a.value=null,n("update:field",null),n("file-change",null)};return(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",R1,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),a.value?(o.openBlock(),o.createElementBlock("div",F1,[o.createElementVNode("a",{href:a.value,class:"w-100",target:"_blank"},o.toDisplayString(a.value),9,B1),o.createVNode(Er,{onClick:s,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(o.openBlock(),o.createElementBlock("div",x1,[o.createElementVNode("input",{onChange:i,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,V1)]))],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",U1," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},Mi=We(j1,[["__scopeId","data-v-516f3e07"]]),H1=Object.freeze(Object.defineProperty({__proto__:null,default:Mi},Symbol.toStringTag,{value:"Module"})),G1=["src"],K1={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},W1=o.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{fill:"rgb(var(--white))",d:"M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"})],-1),z1=[W1],Ri={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo","error"],setup(e,{emit:t}){const n=o.ref(null),r=o.ref(null),a=e,i=t;o.watch(a,({photo:c})=>{c&&(n.value=c)});function s(){r.value.click()}async function l(c){let f=c.target.files[0];if(!f){console.error("No file selected");return}let u=new FormData;u.append("file",f),console.log("Sending file:",f.name);try{let y=await de.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(a.uploadPath)}`,u);console.log("Upload response:",y),n.value=y.data[0].filepath,i("update:photo",n.value)}catch(m){i("error",m),console.error("Upload error:",m)}}function d(c){c.preventDefault(),l({target:{files:c.dataTransfer.files}})}return(c,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:s,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[n.value||e.photo?(o.openBlock(),o.createElementBlock("img",{key:0,loading:"lazy",src:(c.FILE_SERVER_URL||"")+(n.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,G1)):(o.openBlock(),o.createElementBlock("div",K1,z1)),o.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},Y1=Object.freeze(Object.defineProperty({__proto__:null,default:Ri},Symbol.toStringTag,{value:"Module"})),q1={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},X1=["fill"],J1=["fill"],Z1={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",q1,[o.createElementVNode("path",{fill:e.fill,d:"M18.0196 16.645C17.3501 17.3144 17.3501 18.3999 18.0196 19.0693C18.689 19.7388 19.7745 19.7388 20.4439 19.0693L22.6603 16.8529V26.4286C22.6603 27.3754 23.4278 28.1429 24.3746 28.1429C25.3214 28.1429 26.0889 27.3754 26.0889 26.4286V16.8529L28.3053 19.0693C28.9747 19.7388 30.0602 19.7388 30.7296 19.0693C31.399 18.3999 31.399 17.3144 30.7296 16.645L25.5868 11.5021C24.9173 10.8327 23.8318 10.8327 23.1624 11.5021L18.0196 16.645Z"},null,8,X1),o.createElementVNode("path",{fill:e.fill,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.3746 0.714294C16.9516 0.714294 10.7548 5.95521 9.27936 12.9394C4.19731 13.976 0.374592 18.4695 0.374592 23.8572C0.374592 30.0113 5.36342 35 11.5174 35H37.2317C43.3857 35 48.3746 30.0113 48.3746 23.8572C48.3746 18.4695 44.5519 13.976 39.4699 12.9394C37.9944 5.95521 31.7976 0.714294 24.3746 0.714294ZM12.4643 14.6667C13.1906 8.73646 18.2474 4.14287 24.3746 4.14287C30.5018 4.14287 35.5586 8.73646 36.2849 14.6667C36.384 15.4757 37.0387 16.1029 37.8511 16.1672C41.821 16.4818 44.946 19.8053 44.946 23.8572C44.946 28.1177 41.4922 31.5714 37.2317 31.5714H11.5174C7.25697 31.5714 3.80316 28.1177 3.80316 23.8572C3.80316 19.8053 6.92808 16.4818 10.8981 16.1672C11.7104 16.1029 12.3652 15.4757 12.4643 14.6667Z"},null,8,J1)]))}},Q1={key:0,class:"t-center"},e2={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},t2={key:1,class:"mn-b-thin t-transp d-block"},n2={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},r2={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},o2={key:4,class:"uppercase p-small t-medium d-block"},Fi={__name:"UploadImageMultiple",props:{uploadPath:{type:Object,required:!0},options:{type:Object,default:()=>({mimeType:["jpg","png","gif"],maxSize:10*1024*1024,showText:!0,showTitle:!0})},text:{type:Object,default:()=>({title:"Drag & Drop Your Images Here",subtitle:"Files supported: JPG, PNG, GIF"})}},emits:["update:images"],setup(e,{emit:t}){const n=o.ref([]),r=o.ref(!1),a=o.ref(null),i=e,s=t;function l(){a.value.click()}async function d(f){r.value=!0;let u=f.target.files,m=new FormData;for(const y of u)m.append("file",y);try{(await de.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(i.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(g=>{n.value.push(g.filepath)}),s("update:images",n.value),r.value=!1}catch(y){console.error(y),r.value=!1}}function c(f){f.preventDefault(),d({target:{files:f.dataTransfer.files}})}return(f,u)=>(o.openBlock(),o.createElementBlock("div",{onClick:l,onDrop:c,onDragover:u[0]||(u[0]=o.withModifiers(()=>{},["prevent"])),class:"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"},[o.createVNode(o.Transition,{name:"moveFromTop",mode:"out-in"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createBlock(Nt,{key:1,class:"pos-absolute"})):(o.openBlock(),o.createElementBlock("div",Q1,[o.createVNode(Z1,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(o.openBlock(),o.createElementBlock("span",e2,o.toDisplayString(e.text.title),1)):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",t2,o.toDisplayString(e.text.subtitle),1)):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",n2,"or")):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("button",r2,"Browse Files")):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",o2,"Maximum size: 2MB")):o.createCommentVNode("",!0)]))]),_:1}),o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:a,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},a2=Object.freeze(Object.defineProperty({__proto__:null,default:Fi},Symbol.toStringTag,{value:"Module"})),i2={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},s2={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l2=o.createElementVNode("path",{fill:"rgb(var(--black))",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1),d2=[l2],c2={key:2},u2={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f2=o.createElementVNode("path",{d:"M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",fill:"rgb(var(--black))"},null,-1),m2=[f2],Bi={__name:"Breadcrumbs",setup(e){const t=Ta(),{t:n,locale:r}=Tt();function a(l,d){return l.map(c=>{if(c.startsWith(":")){let f=c.replace(/[:?]/g,"");return d.params[f]||null}return c}).filter(c=>c!==null).join("/")}const i=o.ref([]);function s(){i.value=t.matched.map(l=>{var y,p,g;const d=(y=l.meta)==null?void 0:y.title,c=r==null?void 0:r.value,f=d&&c&&d[c];let u=l.path.split("/");u=a(u,t);const m=(g=(p=l.meta)==null?void 0:p.breadcrumbs)==null?void 0:g.hidden;return{name:f,path:u,isHidden:m}}).filter(l=>l.name&&!l.isHidden)}return o.watch(()=>t.matched,()=>{s()},{immediate:!0}),(l,d)=>{const c=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ol",i2,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(f,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:o.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":u===i.value.length-1}])},[u===0?(o.openBlock(),o.createElementBlock("svg",s2,d2)):o.createCommentVNode("",!0),u!==i.value.length-1?(o.openBlock(),o.createBlock(c,{key:1,to:u===0?"/":f.path},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(f.name),1)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("a",c2,o.toDisplayString(f.name),1)),u!==i.value.length-1?(o.openBlock(),o.createElementBlock("svg",u2,m2)):o.createCommentVNode("",!0)],2))),128))])}}},p2=Object.freeze(Object.defineProperty({__proto__:null,default:Bi},Symbol.toStringTag,{value:"Module"})),h2={class:"t-trimmed font-main"},$2={class:"font-main t-truncate"},g2={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},xi={__name:"Chips",props:["chips"],setup(e){return(t,n)=>{var r;return o.openBlock(),o.createElementBlock("div",h2,[(r=e.chips)!=null&&r.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(e.chips,(a,i)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass([t.$attrs.class||"p-medium","mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-main"])},[o.createElementVNode("span",$2,o.toDisplayString(a.text?a.text:a),1)],2))),256)):(o.openBlock(),o.createElementBlock("div",g2,[o.renderSlot(t.$slots,"default")]))])}}},v2=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"})),y2={class:"gap-thin flex-nowrap flex flex-center"},b2={key:0,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small"},E2=o.createElementVNode("p",{class:"p-small t-transp"},"Offer is over",-1),_2=[E2],C2={key:1,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},N2={class:"p-big"},S2=o.createElementVNode("p",{class:"p-small t-transp"},"Days",-1),T2={key:2,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},O2={class:"p-big"},w2=o.createElementVNode("p",{class:"p-small t-transp"},"hours",-1),k2={key:3,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},L2={class:"p-big"},I2=o.createElementVNode("p",{class:"p-small t-transp"},"minutes",-1),P2={key:4,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},A2={class:"p-big"},D2=o.createElementVNode("p",{class:"p-small t-transp"},"seconds",-1),Vi={__name:"Countdown",props:["date"],setup(e){const t=e,n=new Date(t.date).getTime(),r=o.ref(new Date().getTime());let a;const i=o.ref(0),s=o.ref(0),l=o.ref(0),d=o.ref(0),c=o.ref(!1),f=()=>{const u=n-r.value;u<=0?(i.value=0,s.value=0,l.value=0,d.value=0,c.value=!0,clearInterval(a)):(i.value=Math.floor(u/(1e3*60*60*24)),s.value=Math.floor(u%(1e3*60*60*24)/(1e3*60*60)),l.value=Math.floor(u%(1e3*60*60)/(1e3*60)),d.value=Math.floor(u%(1e3*60)/1e3))};return f(),o.onMounted(()=>{a=setInterval(()=>{r.value=new Date().getTime(),f()},1e3)}),o.onBeforeUnmount(()=>{clearInterval(a)}),(u,m)=>(o.openBlock(),o.createElementBlock("div",y2,[c.value?(o.openBlock(),o.createElementBlock("div",b2,_2)):o.createCommentVNode("",!0),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",C2,[o.createElementVNode("p",N2,o.toDisplayString(i.value),1),S2])),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",T2,[o.createElementVNode("p",O2,o.toDisplayString(s.value),1),w2])),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",k2,[o.createElementVNode("p",L2,o.toDisplayString(l.value),1),I2])),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",P2,[o.createElementVNode("p",A2,o.toDisplayString(d.value),1),D2]))]))}},M2=Object.freeze(Object.defineProperty({__proto__:null,default:Vi},Symbol.toStringTag,{value:"Module"})),R2=["onClick"],F2={class:"t-transp"},Ui={__name:"DatePicker",props:["date","locale"],setup(e,{emit:t}){const n=t,r=e,a=o.ref(null);let i;if(r.date){const m=parseInt(r.date.substring(0,2)),y=parseInt(r.date.substring(2,4))-1,p=parseInt(r.date.substring(4));i=new Date(p,y,m),console.log("Data"+i)}else i=new Date,console.log("No data"+i);i.setHours(0,0,0,0);const s=o.ref(new Date(i)),l=u(i,30);o.onMounted(()=>{if(a.value){const m=a.value.getElementsByClassName("selected")[0]||a.value.getElementsByClassName("bg-main")[0];m&&(a.value.scrollLeft=m.offsetLeft-a.value.offsetWidth/2+m.offsetWidth/2)}});function d(m){s.value=m;const y=c(m);n("update:date",y)}function c(m){return`${m.getDate().toString().padStart(2,"0")}${(m.getMonth()+1).toString().padStart(2,"0")}${m.getFullYear()}`}function f(m){return m.toLocaleDateString(r.locale?r.locale:"en",{weekday:"narrow"}).toUpperCase()}function u(m,y){const p=[];for(let g=-15;g<y-15;g++){const v=new Date(m);v.setDate(m.getDate()+g),v.setHours(0,0,0,0),p.push(v)}return p}return(m,y)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{class:"w-100 scroller o-scroll scroll-snap-type-x-mandatory scroll-pd-regular scroll-hide flex-nowrap flex",ref_key:"scrollContainer",ref:a},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),p=>(o.openBlock(),o.createElementBlock("div",{key:p.toString(),onClick:g=>d(p),class:o.normalizeClass([{selected:s.value.toDateString()===p.toDateString()},"cursor-pointer scroll-snap-align-start mn-r-small mn-l-small flex-column flex-center flex"])},[o.createElementVNode("span",F2,o.toDisplayString(f(p)),1),o.createElementVNode("span",{class:o.normalizeClass([{"bg-main":s.value.toDateString()===p.toDateString()},"transition-ease-in-out t-semi flex-center flex radius-big i-semi day-number"])},o.toDisplayString(p.getDate()),3)],10,R2))),128))],512)]))}},B2=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"})),x2={class:"mn-b-regular"},V2={class:"mn-b-small t-transp p-medium"},kr={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String},callback:{type:Function,default:()=>{}}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("section",null,[o.createElementVNode("h3",x2,o.toDisplayString(e.title),1),o.createElementVNode("p",V2,o.toDisplayString(e.description),1),e.action?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=(...r)=>e.callback&&e.callback(...r)),class:"t-white bg-second w-100 button"},o.toDisplayString(e.action),1)):o.createCommentVNode("",!0)]))}},U2=Object.freeze(Object.defineProperty({__proto__:null,default:kr},Symbol.toStringTag,{value:"Module"})),j2={},H2={width:"100%",height:"16rem",xmlns:"http://www.w3.org/2000/svg"},G2=o.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="rgb(var(--white))" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),K2=[G2];function W2(e,t){return o.openBlock(),o.createElementBlock("svg",H2,K2)}const z2=We(j2,[["render",W2]]),Y2={class:"calendar"},q2={key:0,class:"br-b br-solid br-grey-transp-25 gap-thin flex flex-nowrap pd-thin"},X2={class:"pd-thin flex flex-nowrap flex-v-center flex-justify-between"},J2={class:"t-semi"},Z2={class:"pd-thin calendar__body"},Q2={class:"calendar__week"},e3={class:"gap-micro calendar__dates"},t3=["onClick"],n3={__name:"Calendar",props:o.mergeModels({modelValue:[Date,Object],allowRange:Boolean},{date:{},dateModifiers:{}}),emits:o.mergeModels(["update:modelValue"],["update:date"]),setup(e,{emit:t}){const n=e,r=o.useModel(e,"date"),a=new Date,i=o.ref(a),s=o.ref(null),l=o.ref(null),d=o.ref(null),c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],f=N=>new Date(Date.UTC(N.getFullYear(),N.getMonth(),N.getDate())),u=N=>new Date(Date.UTC(N.getFullYear(),N.getMonth(),N.getDate(),23,59,59)),m=o.computed(()=>{const N=i.value.toLocaleString("default",{month:"long",timeZone:"UTC"}),D=i.value.getUTCFullYear();return`${N} ${D}`}),y=o.computed(()=>{const N=[],D=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth(),1)),R=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth()+1,0)),B=D.getUTCDay();let j=new Date(D);j.setUTCDate(j.getUTCDate()-B);for(let J=0;J<B;J++)N.push({date:new Date(j),day:j.getUTCDate(),isToday:p(j)}),j.setUTCDate(j.getUTCDate()+1);let te=1;for(j=D;j<=R;j.setUTCDate(j.getUTCDate()+1))N.push({date:new Date(j),day:te,isToday:p(j)}),te++;const $e=N[N.length-1].date.getUTCDay();for(let J=$e+1;J<=6;J++)N.push({date:new Date(j),day:j.getUTCDate(),isToday:p(j)}),j.setUTCDate(j.getUTCDate()+1);return N}),p=N=>{const D=new Date;return N.getUTCDate()===D.getUTCDate()&&N.getUTCMonth()===D.getUTCMonth()&&N.getUTCFullYear()===D.getUTCFullYear()},g=N=>N.getUTCMonth()===i.value.getUTCMonth()&&N.getUTCFullYear()===i.value.getUTCFullYear(),v=N=>{if(n.allowRange){if(l.value&&d.value)return N>=new Date(l.value)&&u(N)<=new Date(d.value);if(l.value)return N.getTime()===new Date(l.value).getTime()}else return s.value&&N.getTime()===new Date(s.value).getTime()},C=N=>l.value&&d.value?N>l.value&&u(N)<d.value:!1,w=N=>{const D=f(N);if(!n.allowRange)s.value=D,r.value=D;else if(!l.value&&!d.value)l.value=D,r.value.start=D;else if(d.value)l.value=D,d.value=null,r.value={start:D,end:null};else{if(d.value=u(N),D<l.value){const R=u(l.value);l.value=D,d.value=R}r.value={start:l.value,end:d.value}}},h=()=>{i.value=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth()-1,1))},_=()=>{i.value=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth()+1,1))},S=()=>{const N=new Date,D=new Date(Date.UTC(N.getUTCFullYear(),N.getUTCMonth(),N.getUTCDate(),0,0,0,0)),R=new Date(Date.UTC(N.getUTCFullYear(),N.getUTCMonth(),N.getUTCDate(),23,59,59,999));l.value=D.toISOString(),d.value=R.toISOString(),r.value={start:l.value,end:d.value}},b=()=>{const N=new Date,D=new Date(N);D.setUTCDate(N.getUTCDate()-7),D.setUTCHours(0,0,0,0),l.value=D,d.value=u(N),N.setUTCHours(23,59,59,999);const R=D.toISOString(),B=N.toISOString();r.value={start:R,end:B}},T=()=>{const N=new Date,D=new Date(N);D.setUTCMonth(N.getUTCMonth()-1),D.setUTCHours(0,0,0,0),l.value=D,d.value=u(N),N.setUTCHours(23,59,59,999);const R=D.toISOString(),B=N.toISOString();r.value={start:R,end:B}},I=()=>{l.value=null,d.value=null,r.value={start:null,end:null}};return(N,D)=>(o.openBlock(),o.createElementBlock("div",Y2,[e.allowRange?(o.openBlock(),o.createElementBlock("div",q2,[o.createElementVNode("button",{onClick:S,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Today"),o.createElementVNode("button",{onClick:b,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Last Week"),o.createElementVNode("button",{onClick:T,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Last Month"),o.createElementVNode("button",{onClick:I,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"All time")])):o.createCommentVNode("",!0),o.createElementVNode("div",X2,[o.createElementVNode("button",{onClick:o.withModifiers(h,["stop"]),class:"aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small"},"<"),o.createElementVNode("span",J2,o.toDisplayString(m.value),1),o.createElementVNode("button",{onClick:o.withModifiers(_,["stop"]),class:"aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small"},">")]),o.createElementVNode("div",Z2,[o.createElementVNode("div",Q2,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(c,(R,B)=>o.createElementVNode("div",{key:B,class:"calendar__weekday"},o.toDisplayString(R),1)),64))]),o.createElementVNode("div",e3,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value,R=>(o.openBlock(),o.createElementBlock("div",{key:R.date,class:o.normalizeClass(["flex flex-center cursor-pointer aspect-ratio-1x1 radius-small",{"bg-main t-white":R.isToday},{"calendar__date--selected":v(R.date)},{"calendar__date--range":C(R.date)},{"calendar__date--disabled":!g(R.date)}]),onClick:o.withModifiers(B=>w(R.date),["stop"])},o.toDisplayString(R.day),11,t3))),128))])])]))}},r3=o.createElementVNode("div",{class:"radius-extra pd-small t-black p-medium"},[o.createElementVNode("div",{class:"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10"})],-1),o3=[r3],a3={__name:"BottomSheet",props:{show:{type:Boolean,default:!1},options:{type:Object,default:{position:!1}}},emits:["toggle"],setup(e,{emit:t}){const n=t,r=o.ref(null),a=o.ref(0),i=o.ref(0),s=o.ref(!1);function l(f){s.value=!0,a.value=f.touches?f.touches[0].clientY:f.clientY,i.value=a.value}function d(f){if(!s.value)return;f.preventDefault(),i.value=f.touches?f.touches[0].clientY:f.clientY;const u=i.value-a.value;u>0&&(r.value.style.top=`${u}px`)}function c(){if(!s.value)return;s.value=!1;const f=i.value-a.value,u=window.innerHeight*.2;f<u?r.value.style.top="":n("toggle")}return(f,u)=>(o.openBlock(),o.createBlock(o.Transition,{name:"slideY",mode:"out-in"},{default:o.withCtx(()=>[o.createElementVNode("section",{ref_key:"wrapper",ref:r,class:"w-100 h-100vh",style:o.normalizeStyle(f.MOBILE_APP==="ios"?"padding-top: 6rem;":"")},[o.createElementVNode("div",{onClick:u[0]||(u[0]=m=>n("toggle")),onMousedown:l,onTouchstart:l,onMousemove:d,onTouchmove:d,onMouseup:c,onTouchend:c,onMouseleave:c,class:"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2"},o3,32),o.renderSlot(f.$slots,"default")],4)]),_:3}))}},i3={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},s3=["fill"],l3={__name:"IconSearch",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",i3,[o.createElementVNode("path",{fill:e.fill,d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},null,8,s3)]))}},d3={class:"flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big"},c3={__name:"BlockSearch",props:{placeholder:{type:String,default:"Enter shop or product name"},button:{type:String,default:"Search"}},emits:["search"],setup(e,{emit:t}){const n=t;o.ref(null);const r=a=>{n("search",a)};return(a,i)=>(o.openBlock(),o.createElementBlock("div",d3,[o.createVNode(l3,{class:"i-medium t-transp mn-r-thin"}),o.createVNode(cn,{placeholder:e.placeholder,"onUpdate:field":i[0]||(i[0]=s=>r(s)),class:"w-100"},null,8,["placeholder"])]))}},u3={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},f3=["width","fill"],m3=["width","fill"],p3=["width","fill"],h3=["width","fill"],or={__name:"IconSort",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",u3,[o.createElementVNode("rect",{y:"0",width:e.order==="desc"?32:8,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,f3),o.createElementVNode("rect",{y:"9",width:e.order==="desc"?24:16,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,m3),o.createElementVNode("rect",{y:"18",width:e.order==="desc"?16:24,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,p3),o.createElementVNode("rect",{y:"27",width:e.order==="desc"?8:32,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,h3)]))}},$3={__name:"ButtonSort",props:{action:{type:Function},order:{type:String,required:!0}},setup(e){const t=e,{action:n,order:r}=o.toRefs(t),a=()=>{n.value&&n.value()};return(i,s)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,class:"cursor-pointer t-center t-black radius-small flex-center flex aspect-1x1"},[o.createVNode(or,{order:o.unref(r),class:"w-100 h-auto"},null,8,["order"])]))}},g3={class:"w-100 o-hidden"},v3={class:"mn-b-thin"},y3={class:"w-100 flex-nowrap flex gap-micro"},b3={__name:"BlockSorting",props:o.mergeModels({title:{type:String,default:"Sorting Options"},options:{type:Array,default:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"popularity"},{label:"Creator",value:"creator"}]}},{param:{},paramModifiers:{},order:{},orderModifiers:{}}),emits:["update:param","update:order"],setup(e){const t=o.useModel(e,"param"),n=o.useModel(e,"order");return(r,a)=>(o.openBlock(),o.createElementBlock("div",g3,[o.createElementVNode("h4",v3,o.toDisplayString(e.title),1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.options,i=>(o.openBlock(),o.createBlock(_r,{radio:t.value,"onUpdate:radio":a[0]||(a[0]=s=>t.value=s),label:i.label,value:i.value,class:"w-100 mn-b-thin"},null,8,["radio","label","value"]))),256)),o.createElementVNode("div",y3,[o.createElementVNode("button",{onClick:a[1]||(a[1]=o.withModifiers(()=>n.value="asc",["stop"])),class:o.normalizeClass([{"bg-white t-black":n.value==="asc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[o.createVNode(or,{order:"asc",fill:n.value==="asc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),o.createTextVNode(" Ascending ")],2),o.createElementVNode("button",{onClick:a[2]||(a[2]=o.withModifiers(()=>n.value="desc",["stop"])),class:o.normalizeClass([{"bg-white t-black":n.value==="desc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[o.createVNode(or,{order:"desc",fill:n.value==="desc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),o.createTextVNode(" Descending ")],2)])]))}},E3={props:{fill:{type:String,default:"rgb(var(--black)"}}},_3={width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C3={transform:"rotate(90 40 40)"},N3=["fill"];function S3(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",_3,[o.createElementVNode("g",C3,[o.createElementVNode("path",{fill:n.fill,d:"M16.25 9.375L20 5.9375C21.5625 4.53125 23.9062 4.6875 25.3125 6.25L54.2188 37.8125C55.3125 39.0625 55.3125 40.9375 54.2188 42.1875L25.3125 73.75C23.9062 75.3125 21.5625 75.4688 20 74.0625L16.25 70.625C14.6875 69.375 14.5312 66.875 15.9375 65.4688L39.375 40L15.9375 14.5312C14.5312 13.125 14.6875 10.625 16.25 9.375Z"},null,8,N3)])])}const T3=We(E3,[["render",S3]]),O3={class:"w-100 o-scroll"},w3={class:"cursor-pointer w-100 flex-v-center flex-nowrap flex"},k3={class:"w-100"},L3={__name:"BlockFilter",props:o.mergeModels({title:{type:String,default:"Sorting Options"},options:{type:Array}},{filter:{},filterModifiers:{}}),emits:["update:filter"],setup(e){const t=o.useModel(e,"filter");return(n,r)=>(o.openBlock(),o.createElementBlock("div",O3,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.options,a=>(o.openBlock(),o.createBlock(Cr,{class:"o-hidden bg-white pd-medium radius-big mn-b-small",status:!0},{header:o.withCtx(({isOpen:i})=>[o.createElementVNode("div",w3,[o.createElementVNode("h4",k3,o.toDisplayString(a.title),1),o.createVNode(T3,{class:o.normalizeClass([{"rotate-180":i},"radius-big pd-micro bg-light i-semi"]),fill:"rgb(var(--black))"},null,8,["class"])])]),content:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.options,(i,s)=>(o.openBlock(),o.createBlock(lr,{key:s,label:i.label,value:i.value,class:"w-100 mn-t-small mn-b-small br-1px br-solid br-light radius-small pd-small",radio:t.value.selected[a.value],"onUpdate:radio":l=>t.value.selected[a.value]=l},null,8,["label","value","radio","onUpdate:radio"]))),128))]),_:2},1024))),256)),o.createElementVNode("button",{onClick:r[0]||(r[0]=()=>t.value.selected={}),class:"bg-main w-100 button"},"Reset Filters")]))}},I3={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},P3=["fill"],A3={__name:"IconCalendar",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",I3,[o.createElementVNode("path",{d:"M3 43.5V18H45V43.5C45 45.9375 42.9375 48 40.5 48H7.5C5.0625 48 3 45.9375 3 43.5ZM33 25.5V28.5C33 29.3438 33.6562 30 34.5 30H37.5C38.3438 30 39 29.3438 39 28.5V25.5C39 24.6562 38.3438 24 37.5 24H34.5C33.6562 24 33 24.6562 33 25.5ZM33 37.5V40.5C33 41.3438 33.6562 42 34.5 42H37.5C38.3438 42 39 41.3438 39 40.5V37.5C39 36.6562 38.3438 36 37.5 36H34.5C33.6562 36 33 36.6562 33 37.5ZM21 25.5V28.5C21 29.3438 21.6562 30 22.5 30H25.5C26.3438 30 27 29.3438 27 28.5V25.5C27 24.6562 26.3438 24 25.5 24H22.5C21.6562 24 21 24.6562 21 25.5ZM21 37.5V40.5C21 41.3438 21.6562 42 22.5 42H25.5C26.3438 42 27 41.3438 27 40.5V37.5C27 36.6562 26.3438 36 25.5 36H22.5C21.6562 36 21 36.6562 21 37.5ZM9 25.5V28.5C9 29.3438 9.65625 30 10.5 30H13.5C14.3438 30 15 29.3438 15 28.5V25.5C15 24.6562 14.3438 24 13.5 24H10.5C9.65625 24 9 24.6562 9 25.5ZM9 37.5V40.5C9 41.3438 9.65625 42 10.5 42H13.5C14.3438 42 15 41.3438 15 40.5V37.5C15 36.6562 14.3438 36 13.5 36H10.5C9.65625 36 9 36.6562 9 37.5ZM40.5 6C42.9375 6 45 8.0625 45 10.5V15H3V10.5C3 8.0625 5.0625 6 7.5 6H12V1.5C12 0.65625 12.6562 0 13.5 0H16.5C17.3438 0 18 0.65625 18 1.5V6H30V1.5C30 0.65625 30.6562 0 31.5 0H34.5C35.3438 0 36 0.65625 36 1.5V6H40.5Z",fill:e.fill},null,8,P3)]))}},D3={class:"t-semi"},M3={__name:"ButtonDate",props:{action:{type:Function},date:{type:Object}},setup(e){const t=e,{action:n,date:r}=o.toRefs(t),a=o.computed(()=>s(r.value)),i=()=>{n.value&&n.value()};function s(l){const d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],{start:c,end:f}=l;if(c===null&&f===null)return"All Time";const u=new Date(c),m=u.getUTCDate(),y=d[u.getUTCMonth()],p=u.getUTCFullYear();if(!f)return`${m} ${y} ${p}`;const g=new Date(f),v=g.getUTCDate(),C=d[g.getUTCMonth()],w=g.getUTCFullYear();return`${m} ${y} - ${v} ${C} ${w}`}return(l,d)=>(o.openBlock(),o.createElementBlock("div",{onClick:i,class:"cursor-pointer flex-center flex"},[o.createVNode(A3,{class:"w-1r mn-r-thin h-auto"}),o.createElementVNode("span",D3,o.toDisplayString(a.value),1)]))}},R3={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},F3=["fill"],B3={__name:"IconFilter",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",R3,[o.createElementVNode("path",{d:"M46.4267 13.1341L29.226 30.2782V43.1433C29.2272 43.5293 29.1102 43.9065 28.8907 44.2239C28.6711 44.5414 28.3596 44.784 27.998 44.9191L20.5831 47.6868C20.2976 47.7934 19.9905 47.8294 19.6881 47.7917C19.3856 47.754 19.0968 47.6437 18.8462 47.4701C18.5957 47.2966 18.3908 47.065 18.2492 46.7952C18.1075 46.5253 18.0332 46.2252 18.0327 45.9204V30.2498L1.50259 13.0491C0.772898 12.2954 0.281511 11.3434 0.0898392 10.312C-0.101832 9.28058 0.0147126 8.21558 0.424909 7.25005C0.835106 6.28453 1.52076 5.46131 2.39619 4.88327C3.27161 4.30523 4.29798 3.99801 5.34702 4.00001H42.6579C43.7158 4.00084 44.7497 4.31552 45.6287 4.90422C46.5077 5.49291 47.1923 6.32916 47.5958 7.30712C47.9993 8.28507 48.1036 9.36075 47.8955 10.398C47.6874 11.4353 47.1763 12.3875 46.4267 13.1341Z",fill:e.fill},null,8,F3)]))}},x3={key:0,class:"flex-nowrap flex gap-thin"},V3={key:5,class:"col-w-100 w-100 pos-relative"},ji={__name:"Feed",props:o.mergeModels({showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},{search:{},searchModifiers:{},sort:{},sortModifiers:{},filter:{},filterModifiers:{},date:{},dateModifiers:{},items:{},itemsModifiers:{}}),emits:["update:search","update:sort","update:filter","update:date","update:items"],setup(e){const t=o.useModel(e,"search"),n=o.useModel(e,"sort"),r=o.useModel(e,"filter"),a=o.useModel(e,"date"),i=o.useModel(e,"items"),s=e,l=o.shallowRef(i.value||[]),d=o.ref(!1);let c=o.ref(!0),f=o.ref(!1),u=o.ref(null),m=o.ref(s.options.skip?s.options.skip:0),y=o.ref(s.options.limit?s.options.limit:10),p=o.ref("");function g(S,b){let T=null;return(...I)=>{clearTimeout(T),T=setTimeout(()=>S(...I),b)}}const v=g(S=>{p.value=S,m.value=0,y.value=10,h()},300);function C(S){v(S)}const w=async()=>{if(f.value=!0,d.value){m.value+=y.value;const S=await s.store.read({skip:m.value,limit:y.value,search:p.value,dateStart:a.value?a.value.start:null,dateEnd:a.value?a.value.end:null,sortParam:n.value?n.value.param:null,sortOrder:n.value?n.value.order:null,...s.options});S.length===0||S.length<y.value?d.value=!1:d.value=!0,l.value=[...l.value,...S],i.value&&(i.value=l.value)}f.value=!1},h=async()=>{c.value=!0;const S=await s.store.read({skip:m.value,limit:y.value,dateStart:a.value?a.value.start:null,dateEnd:a.value?a.value.end:null,sortParam:n.value?n.value.param:null,sortOrder:n.value?n.value.order:null,search:p.value,...s.options});S.length===0||S.length<y.value?d.value=!1:d.value=!0,l.value=S,i.value&&(i.value=l.value),c.value=!1};o.watch(()=>[s.external,a.value,n.value,s.options],([S,b,T,I],[N,D,R,B])=>{(S!==N||b!==D||(T==null?void 0:T.order)!==(R==null?void 0:R.order)||(T==null?void 0:T.param)!==(R==null?void 0:R.param)||JSON.stringify(I)!==JSON.stringify(B))&&(m.value=0,h())},{deep:!0});let _=null;return o.onMounted(async()=>{await h(),typeof window<"u"&&!s.showLoadMore&&(_=new IntersectionObserver(S=>{S.some(b=>b.isIntersecting)&&w()}),u.value&&_.observe(u.value))}),o.onUnmounted(()=>{_&&_.disconnect()}),(S,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[t.value||a.value||n.value&&!n.value.hideButton?(o.openBlock(),o.createElementBlock("div",x3,[t.value?(o.openBlock(),o.createBlock(c3,{key:0,placeholder:t.value.placeholder||"Search...",class:o.normalizeClass(t.value.class||"bg-light"),onSearch:C},null,8,["placeholder","class"])):o.createCommentVNode("",!0),r.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:o.normalizeClass([r.value.class||"bg-light","flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100"])},[o.createVNode(B3,{onClick:b[0]||(b[0]=()=>r.value.active=!r.value.active),class:"w-1r h-auto"})],2),r.value.active?(o.openBlock(),o.createBlock(a3,{key:0,show:r.value.active,onToggle:b[2]||(b[2]=()=>r.value.active=!1),class:o.normalizeClass(["z-index-10 pos-fixed pos-t-0 pos-r-0",{"pos-t-0":r.value.active,"pos-t-100":!r.value.active}])},{default:o.withCtx(()=>[o.createVNode(L3,{filter:r.value,"onUpdate:filter":b[1]||(b[1]=T=>r.value=T),options:r.value.options,class:"h-100 w-100 pd-small bg-light"},null,8,["filter","options"])]),_:1},8,["show","class"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),a.value?(o.openBlock(),o.createBlock(Qt,{key:2,label:{component:M3,props:{date:a.value}},class:o.normalizeClass([a.value.class||"bg-light","flex-child flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),align:t.value?"right":"left"},{default:o.withCtx(()=>[o.createVNode(n3,{date:a.value,"onUpdate:date":b[3]||(b[3]=T=>a.value=T),locale:S.$i18n.locale,allowRange:!0,class:"radius-semi w-100 o-hidden bg-light"},null,8,["date","locale"])]),_:1},8,["label","class","align"])):o.createCommentVNode("",!0),n.value&&!n.value.hideButton?(o.openBlock(),o.createBlock(Qt,{key:3,label:{component:$3,props:{order:n.value.order},class:"w-1r"},class:o.normalizeClass([n.value.class||"bg-light","radius-extra aspect-1x1 h-100"]),align:t.value?"right":"left"},{default:o.withCtx(()=>[o.createVNode(b3,{param:n.value.param,"onUpdate:param":b[4]||(b[4]=T=>n.value.param=T),order:n.value.order,"onUpdate:order":b[5]||(b[5]=T=>n.value.order=T),options:n.value.options,class:"h-100 pd-small radius-semi t-white bg-black"},null,8,["param","order","options"])]),_:1},8,["label","class","align"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.unref(c)?(o.openBlock(),o.createBlock(o.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition"},{default:o.withCtx(()=>[o.unref(c)?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(o.unref(y),T=>(o.openBlock(),o.createBlock(z2,{key:"skeleton-"+T,class:"mn-b-small radius-big o-hidden d-block"}))),128)):o.createCommentVNode("",!0)]),_:1})):o.createCommentVNode("",!0),!o.unref(c)&&l.value.length<1?(o.openBlock(),o.createBlock(o.TransitionGroup,{key:2,tag:"ul",name:"feed"},{default:o.withCtx(()=>[!o.unref(c)&&l.value.length<1?(o.openBlock(),o.createBlock(kr,{key:0,title:e.states.empty.title,description:e.states.empty.description,action:e.states.empty.action,callback:e.states.empty.callback,class:"pd-medium mn-b-thin bg-light radius-big"},null,8,["title","description","action","callback"])):o.createCommentVNode("",!0)]),_:1})):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{tag:"ul",name:"feed",class:o.normalizeClass(S.$attrs.class)},{default:o.withCtx(()=>[!o.unref(c)&&l.value.length>0?o.renderSlot(S.$slots,"default",{key:0,items:l.value}):o.createCommentVNode("",!0)]),_:3},8,["class"]),e.showLoadMore&&d.value&&l.value.length>0&&!o.unref(f)?(o.openBlock(),o.createElementBlock("button",{key:3,onClick:w,class:"col-w-100 mn-t-thin w-100 t-black bg-main button"}," Load More ")):(o.openBlock(),o.createElementBlock("div",{key:"sentinel",ref_key:"sentinel",ref:u,class:"sentinel"},null,512)),o.unref(f)?(o.openBlock(),o.createElementBlock("div",V3,[o.createVNode(Nt)])):o.createCommentVNode("",!0)],64))}},U3=Object.freeze(Object.defineProperty({__proto__:null,default:ji},Symbol.toStringTag,{value:"Module"})),j3={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},H3=["fill","transform"],G3={__name:"IconArrow",props:{fill:{type:String,default:"rgb(var(--black))"},rotation:{type:Number,default:0}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",j3,[o.createElementVNode("path",{fill:e.fill,transform:`rotate(${e.rotation}, 24, 24)`,d:"M42.4938 21.6042L29.8525 8.96288C29.568 8.66354 29.2265 8.42416 28.8481 8.25884C28.4696 8.09352 28.062 8.0056 27.649 8.00026C27.2361 7.99492 26.8263 8.07226 26.4437 8.22774C26.0612 8.38322 25.7136 8.61368 25.4214 8.90556C25.1293 9.19743 24.8985 9.54482 24.7427 9.92725C24.5869 10.3097 24.5092 10.7194 24.5142 11.1324C24.5192 11.5453 24.6067 11.953 24.7717 12.3316C24.9367 12.7102 25.1758 13.0519 25.4749 13.3366L32.9475 20.7978H8.09504C7.27418 20.7978 6.48695 21.1238 5.90652 21.7043C5.32608 22.2847 5 23.0719 5 23.8928C5 24.7137 5.32608 25.5009 5.90652 26.0813C6.48695 26.6618 7.27418 26.9878 8.09504 26.9878H32.8784L25.4749 34.4029C24.9186 34.9882 24.6131 35.7677 24.6236 36.5751C24.634 37.3825 24.9596 38.1538 25.5308 38.7245C26.102 39.2952 26.8736 39.6201 27.681 39.6299C28.4884 39.6396 29.2677 39.3334 29.8525 38.7766L42.4938 26.1354C42.7822 25.8487 43.0108 25.5076 43.1664 25.1318C43.3219 24.7561 43.4013 24.3532 43.4 23.9466C43.402 23.921 43.402 23.8953 43.4 23.8698C43.4018 23.8442 43.4018 23.8185 43.4 23.793C43.3997 22.9721 43.0738 22.1849 42.4938 21.6042Z"},null,8,H3)]))}},K3={class:"pd-thin radius-extra flex-nowrap flex"},Hi={__name:"FieldBig",props:{input:String,placeholder:{type:String},action:{type:String,default:"Action"},placeholderTexts:{type:Object,default:()=>({en:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],ru:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"]})},typingSpeed:{type:Number,default:200},loopTyping:{type:Boolean,default:!1},enableTyping:{type:Boolean,default:!1}},emits:["update:input","action"],setup(e,{emit:t}){const n=e,{t:r,locale:a}=Tt();let i=o.ref(0),s=o.ref(n.input),l=o.ref(n.placeholder),d=o.ref(n.enableTyping),c=o.ref(null),f=o.ref(""),u=o.ref(!0),m=null;const y=t;function p(){y("action")}function g(_){y("update:input",_),f.value=_}function v(){i.value=(i.value+1)%n.placeholderTexts[a.value].length}function C(){d.value=!1,clearInterval(c.value),l.value=n.placeholder,f.value||(s.value="")}function w(){!f.value&&n.enableTyping&&(d.value=!0,l.value="",h())}function h(){let _=n.placeholderTexts[a.value][i.value],S=0,b=!1;m=setInterval(()=>{u.value=!u.value},200),c.value=setInterval(()=>{d.value&&(b?(s.value=s.value.slice(0,-1),s.value=_.substring(0,S)+(u.value&&S%2?"|":""),S--):(s.value=_.substring(0,S)+(u.value&&S%2?"|":""),S++),S>_.length&&n.loopTyping&&setTimeout(()=>{b=!0,s.value=_.substring(0,S)},333),S===0&&b&&(b=!1,v(),_=n.placeholderTexts[a.value][i.value]))},n.typingSpeed)}return o.onMounted(()=>{n.enableTyping&&h()}),o.watchEffect(()=>{d.value||(clearInterval(c.value),clearInterval(m))}),(_,S)=>(o.openBlock(),o.createElementBlock("div",K3,[o.createVNode(cn,{field:o.unref(s),"onUpdate:field":[S[0]||(S[0]=b=>o.isRef(s)?s.value=b:s=b),g],placeholder:o.unref(d)?"":e.placeholder,onInput:v,onFocus:C,onBlur:w,class:"w-100 p-medium t-regular uppercase pd-small"},null,8,["field","placeholder"]),e.action?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:p,class:"t-nowrap t-medium radius-big uppercase cursor-pointer flex flex-v-center pd-r-small pd-l-small w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main"},[o.createElementVNode("span",null,o.toDisplayString(e.action),1),o.createVNode(G3,{class:"mn-l-thin radius-extra bg-white i-medium"})])):o.createCommentVNode("",!0)]))}},W3=Object.freeze(Object.defineProperty({__proto__:null,default:Hi},Symbol.toStringTag,{value:"Module"}));function z3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y3=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n};const q3=z3(Y3),X3=(e,t)=>t.filter(n=>{const{text:r}=e;if(typeof n.rule=="string")return!new RegExp(n.rule).test(r);if(n.rule instanceof RegExp)return!n.rule.test(r);if({}.toString.call(n.rule)==="[object Function]")return n.rule(e)}).map(n=>n.classes),Et=e=>JSON.parse(JSON.stringify(e)),J3=(e,t)=>{let n=0;for(;n<e.length;){if(t(e[n],n,e))return n;n++}return-1},Gi=(e,t,n=[],r)=>{e.text===void 0&&(e={text:e});const a=X3(e,n),i=J3(t,c=>c===e),s=Et(t),l=i!==-1?s.splice(i,1)[0]:Et(e);return(r?r(s,l):s.map(c=>c.text).indexOf(l.text)!==-1)&&a.push("ti-duplicate"),a.length===0?a.push("ti-valid"):a.push("ti-invalid"),a},It=(e,...t)=>{e.text===void 0&&(e={text:e});const n=Et(e);return n.tiClasses=Gi(e,...t),n},Z3=(e,...t)=>e.map(n=>It(n,e,...t)),Q3={name:"TagInput",props:{scope:{type:Object}}},em=["maxlength"];function tm(e,t,n,r,a,i){return n.scope.edit?o.withDirectives((o.openBlock(),o.createElementBlock("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=s=>n.scope.tag.text=s),maxlength:n.scope.maxlength,type:"text",class:"ti-tag-input",size:"1",onInput:t[1]||(t[1]=s=>n.scope.validateTag(n.scope.index,s)),onBlur:t[2]||(t[2]=s=>n.scope.performCancelEdit(n.scope.index)),onKeydown:t[3]||(t[3]=s=>n.scope.performSaveEdit(n.scope.index,s))},null,40,em)),[[o.vModelText,n.scope.tag.text]]):o.createCommentVNode("",!0)}const nm=We(Q3,[["render",tm]]),sa=e=>!e.some(t=>{const n=!t.text;n&&console.warn('Missing property "text"',t);let r=!1;return t.classes&&(r=typeof t.classes!="string"),r&&console.warn('Property "classes" must be type of string',t),n||r}),la=e=>!e.some(t=>{if(typeof t=="number"){const n=isFinite(t)&&Math.floor(t)===t;return n||console.warn("Only numerics are allowed for this prop. Found:",t),!n}else if(typeof t=="string"){const n=/\W|[a-z]|!\d/i.test(t);return n||console.warn("Only alpha strings are allowed for this prop. Found:",t),!n}else return console.warn("Only numeric and string values are allowed. Found:",t),!1}),rm={modelValue:{type:String,default:"",required:!0},tags:{type:Array,default:()=>[],validator:sa},autocompleteItems:{type:Array,default:()=>[],validator:sa},allowEditTags:{type:Boolean,default:!1},autocompleteFilterDuplicates:{default:!0,type:Boolean},addOnlyFromAutocomplete:{type:Boolean,default:!1},autocompleteMinLength:{type:Number,default:1},autocompleteAlwaysOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Add Tag"},addOnKey:{type:Array,default:()=>[13],validator:la},saveOnKey:{type:Array,default:()=>[13],validator:la},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:()=>[],validator(e){return!e.some(t=>{const n=!t.rule;n&&console.warn('Property "rule" is missing',t);const r=t.rule&&(typeof t.rule=="string"||t.rule instanceof RegExp||{}.toString.call(t.rule)==="[object Function]");r||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(t.rule));const a=!t.classes;a&&console.warn('Property "classes" is missing',t);const i=t.type&&typeof t.type!="string";return i&&console.warn('Property "type" must be type of string. Found:',t),!r||n||a||i})}},separators:{type:Array,default:()=>[";"],validator(e){return!e.some(t=>{const n=typeof t!="string";return n&&console.warn("Separators must be type of string. Found:",t),n})}},avoidAddingDuplicates:{type:Boolean,default:!0},addOnBlur:{type:Boolean,default:!0},isDuplicate:{type:Function,default:null},addFromPaste:{type:Boolean,default:!0},deleteOnBackspace:{default:!0,type:Boolean},onBeforeAddingTag:Function,onBeforeDeletingTag:Function,onBeforeEditingTag:Function,onBeforeSavingTag:Function},om={name:"VueTagsInput",components:{TagInput:nm},props:rm,emits:["adding-duplicate","before-adding-tag","before-deleting-tag","before-editing-tag","before-saving-tag","max-tags-reached","saving-duplicate","tags-changed","tag-clicked","update:modelValue","update:tags"],inheritAttrs:!1,data(){return{tagCenter:[],newTag:null,tagsCopy:[],tagsEditStatus:null,deletionMark:null,deletionMarkTime:null,selectedItem:null,focused:null}},computed:{autocompleteOpen(){return this.autocompleteAlwaysOpen?!0:this.newTag!==null&&this.newTag.length>=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems(){const e=this.autocompleteItems.map(t=>It(t,this.tags,this.validation,this.isDuplicate));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:Gi,getSelectedIndex(e){const t=this.filteredAutocompleteItems,n=this.selectedItem,r=t.length-1;if(t.length!==0)return n===null?0:e==="before"&&n===0?r:e==="after"&&n===r?0:e==="after"?n+1:n-1},selectDefaultItem(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected(e){return this.selectedItem===e},isMarked(e){return this.deletionMark===e},setTagCenter(e){e&&this.tagCenter.push(e)},invokeDelete(){if(!this.deleteOnBackspace||this.newTag.length>0)return;const e=this.tagsCopy.length-1;this.deletionMark===null?(this.deletionMarkTime=setTimeout(()=>this.deletionMark=null,1e3),this.deletionMark=e):this.performDeleteTag(e)},addTagsFromPaste(){this.addFromPaste&&setTimeout(()=>this.performAddTags(this.newTag),10)},performEditTag(e){this.allowEditTags&&(this.onBeforeAddingTag||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:()=>this.editTag(e)}))},editTag(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode(e){!this.allowEditTags||this.disabled||(this.tagsEditStatus[e]=!this.tagsEditStatus[e])},createChangedTag(e,t){const n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.tagsCopy[e]=It(n,this.tagsCopy,this.validation,this.isDuplicate)},focus(e){this.$nextTick(()=>{const t=this.tagCenter[e].querySelector("input.ti-tag-input");t&&t.focus()})},quote(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit(e){this.tags[e]&&(this.tagsCopy[e]=Et(It(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.tagsEditStatus[e]=!1)},hasForbiddingAddRule(e){return e.some(t=>{const n=this.validation.find(r=>t===r.classes);return n?n.disableAdd:!1})},createTagTexts(e){const t=new RegExp(this.separators.map(n=>this.quote(n)).join("|"));return e.split(t).map(n=>({text:n}))},performDeleteTag(e){this.onBeforeDeletingTag||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:()=>this.deleteTag(e)})},deleteTag(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey(e,t){const n=this[t].indexOf(e.keyCode)!==-1||this[t].indexOf(e.key)!==-1;return n&&e.preventDefault(),!n},performAddTags(e,t,n){if(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))return;let r=[];typeof e=="object"&&(r=[e]),typeof e=="string"&&(r=this.createTagTexts(e)),r=r.filter(a=>a.text.trim().length>0),r.forEach(a=>{a=It(a,this.tags,this.validation,this.isDuplicate),this.onBeforeAddingTag||this.addTag(a,n),this.$emit("before-adding-tag",{tag:a,addTag:()=>this.addTag(a,n)})})},duplicateFilter(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(t=>t.text===e.text)},addTag(e,t="new-tag-input"){const n=this.filteredAutocompleteItems.map(r=>r.text);this.addOnlyFromAutocomplete&&n.indexOf(e.text)===-1||this.$nextTick(()=>{if(this.maxTags&&this.maxTags<=this.tagsCopy.length)return this.$emit("max-tags-reached",e);if(this.avoidAddingDuplicates&&!this.duplicateFilter(e))return this.$emit("adding-duplicate",e);this.hasForbiddingAddRule(e.tiClasses)||(this.newTag="",this.tagsCopy.push(e),this.$emit("update:tags",this.tagsCopy),t==="autocomplete"&&this.$refs.newTagInput.focus(),this.$emit("tags-changed",this.tagsCopy))})},performSaveTag(e,t){const n=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||n.text.trim().length!==0&&(this["on-before-saving-tag"]||this.saveTag(e,n),this.$emit("before-saving-tag",{index:e,tag:n,saveTag:()=>this.saveTag(e,n)}))},saveTag(e,t){if(this.avoidAddingDuplicates){const n=Et(this.tagsCopy),r=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,r):n.map(i=>i.text).indexOf(r.text)!==-1)return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.tagsCopy[e]=t,this.toggleEditMode(e),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual(){return!this.tagsCopy.some((e,t)=>!q3(e,this.tags[t]))},updateNewTag(e){const t=e.target.value;this.newTag=t,this.$emit("update:modelValue",t)},initTags(){this.tagsCopy=Z3(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=Et(this.tags).map(()=>!1),this.tagsEqual()||this.$emit("update:tags",this.tagsCopy)},blurredOnClick(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{modelValue(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},tags:{handler(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created(){this.newTag=this.modelValue,this.initTags()},mounted(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},beforeUpdate(){this.tagCenter=[]},unmounted(){document.removeEventListener("click",this.blurredOnClick)}},am={class:"ti-input"},im={key:0,class:"ti-tags"},sm=["onClick"],lm={class:"ti-content"},dm={key:0,class:"ti-tag-left"},cm=["onClick"],um={key:1,class:"ti-tag-right"},fm={class:"ti-actions"},mm=["onClick"],pm=["onClick"],hm={class:"ti-new-tag-input-wrapper"},$m=["placeholder","value","maxlength","disabled"],gm=["onMouseover"],vm=["onClick"];function ym(e,t,n,r,a,i){const s=o.resolveComponent("tag-input");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:o.normalizeStyle(e.$attrs.style)},[o.createElementVNode("div",am,[e.tagsCopy?(o.openBlock(),o.createElementBlock("ul",im,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tagsCopy,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d,style:o.normalizeStyle(l.style),class:o.normalizeClass([[{"ti-editing":e.tagsEditStatus[d]},l.tiClasses,l.classes,{"ti-deletion-mark":e.isMarked(d)}],"ti-tag t-medium"]),tabindex:"0",onClick:c=>e.$emit("tag-clicked",{tag:l,index:d})},[o.createElementVNode("div",lm,[e.$slots["tag-left"]?(o.openBlock(),o.createElementBlock("div",dm,[o.renderSlot(e.$slots,"tag-left",{tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)})])):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass({"ti-hidden":e.tagsEditStatus[d]}),onClick:c=>e.performEditTag(d)},o.toDisplayString(l.text),11,cm)),e.$slots["tag-center"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(s,{key:1,scope:{edit:e.tagsEditStatus[d],maxlength:e.maxlength,tag:l,index:d,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),o.renderSlot(e.$slots,"tag-center",{tag:l,index:d,maxlength:e.maxlength,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)})],512),e.$slots["tag-right"]?(o.openBlock(),o.createElementBlock("div",um,[o.renderSlot(e.$slots,"tag-right",{tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)})])):o.createCommentVNode("",!0)]),o.createElementVNode("div",fm,[e.$slots["tag-actions"]?o.createCommentVNode("",!0):o.withDirectives((o.openBlock(),o.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:c=>e.cancelEdit(d)},null,8,mm)),[[o.vShow,e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?o.createCommentVNode("",!0):o.withDirectives((o.openBlock(),o.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:c=>e.performDeleteTag(d)},null,8,pm)),[[o.vShow,!e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?o.renderSlot(e.$slots,"tag-actions",{key:2,tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)}):o.createCommentVNode("",!0)])],14,sm))),128)),o.createElementVNode("li",hm,[o.createElementVNode("input",o.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[t[0]||(t[0]=l=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,l)),t[2]||(t[2]=o.withKeys((...l)=>e.invokeDelete&&e.invokeDelete(...l),["delete"])),t[3]||(t[3]=o.withKeys((...l)=>e.performBlur&&e.performBlur(...l),["tab"])),t[4]||(t[4]=o.withKeys(l=>e.selectItem(l,"before"),["up"])),t[5]||(t[5]=o.withKeys(l=>e.selectItem(l,"after"),["down"]))],onPaste:t[1]||(t[1]=(...l)=>e.addTagsFromPaste&&e.addTagsFromPaste(...l)),onInput:t[6]||(t[6]=(...l)=>e.updateNewTag&&e.updateNewTag(...l)),onFocus:t[7]||(t[7]=l=>e.focused=!0),onClick:t[8]||(t[8]=l=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,$m)])])):o.createCommentVNode("",!0)]),o.renderSlot(e.$slots,"between-elements"),e.autocompleteOpen?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:t[9]||(t[9]=l=>e.selectedItem=null)},[o.renderSlot(e.$slots,"autocomplete-header"),o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.filteredAutocompleteItems,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d,style:o.normalizeStyle(l.style),class:o.normalizeClass([[l.tiClasses,l.classes,{"ti-selected-item":e.isSelected(d)}],"ti-item"]),onMouseover:c=>e.disabled?!1:e.selectedItem=d},[e.$slots["autocomplete-item"]?o.renderSlot(e.$slots,"autocomplete-item",{key:1,item:l,index:d,performAdd:c=>e.performAddTags(c,void 0,"autocomplete"),selected:e.isSelected(d)}):(o.openBlock(),o.createElementBlock("div",{key:0,onClick:c=>e.performAddTags(l,void 0,"autocomplete")},o.toDisplayString(l.text),9,vm))],46,gm))),128))]),o.renderSlot(e.$slots,"autocomplete-footer")],34)):o.createCommentVNode("",!0)],6)}const Ki=We(om,[["render",ym]]),bm=Object.freeze(Object.defineProperty({__proto__:null,default:Ki},Symbol.toStringTag,{value:"Module"})),Em={id:"glcanvas",ref:"refCanvas"},Wi={__name:"Shader",setup(e){return o.onMounted(()=>{const t=document.getElementById("glcanvas"),n=t.getContext("webgl")||t.getContext("experimental-webgl"),r=`
|
36
|
+
`):" "+oa(i[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:nr};function Mn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wt(null,e)}function aa(e){return Mn(e),e.headers=Pe.from(e.headers),e.data=Dn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pi.getAdapter(e.adapter||Gt.adapter)(e).then(function(r){return Mn(e),r.data=Dn.call(e,e.transformResponse,r),r.headers=Pe.from(r.headers),r},function(r){return Ti(r)||(Mn(e),r&&r.response&&(r.response.data=Dn.call(e,e.transformResponse,r.response),r.response.headers=Pe.from(r.response.headers))),Promise.reject(r)})}const Ai="1.7.7",wr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{wr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ia={};wr.transitional=function(t,n,r){function a(i,s){return"[Axios v"+Ai+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new G(a(s," has been removed"+(n?" in "+n:"")),G.ERR_DEPRECATED);return n&&!ia[s]&&(ia[s]=!0,console.warn(a(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,l):!0}};function P1(e,t,n){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],s=t[i];if(s){const l=e[i],d=l===void 0||s(l,i,e);if(d!==!0)throw new G("option "+i+" must be "+d,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G("Unknown option "+i,G.ERR_BAD_OPTION)}}const rr={assertOptions:P1,validators:wr},ot=rr.validators;class ut{constructor(t){this.defaults=t,this.interceptors={request:new Jo,response:new Jo}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
37
|
+
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pt(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&rr.assertOptions(r,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),a!=null&&(k.isFunction(a)?n.paramsSerializer={serialize:a}:rr.assertOptions(a,{encode:ot.function,serialize:ot.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&k.merge(i.common,i[n.method]);i&&k.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Pe.concat(s,i);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let f,c=0,m;if(!d){const p=[aa.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),m=p.length,f=Promise.resolve(n);c<m;)f=f.then(p[c++],p[c++]);return f}m=l.length;let y=n;for(c=0;c<m;){const p=l[c++],h=l[c++];try{y=p(y)}catch(v){h.call(this,v);break}}try{f=aa.call(this,y)}catch(p){return Promise.reject(p)}for(c=0,m=u.length;c<m;)f=f.then(u[c++],u[c++]);return f}getUri(t){t=pt(this.defaults,t);const n=wi(t.baseURL,t.url);return Ci(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){ut.prototype[t]=function(n,r){return this.request(pt(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,l){return this.request(pt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}ut.prototype[t]=n(),ut.prototype[t+"Form"]=n(!0)});class kr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(a);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new wt(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new kr(function(a){t=a}),cancel:t}}}function A1(e){return function(n){return e.apply(null,n)}}function D1(e){return k.isObject(e)&&e.isAxiosError===!0}const or={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(or).forEach(([e,t])=>{or[t]=e});function Di(e){const t=new ut(e),n=ci(ut.prototype.request,t);return k.extend(n,ut.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Di(pt(e,a))},n}const ue=Di(Gt);ue.Axios=ut;ue.CanceledError=wt;ue.CancelToken=kr;ue.isCancel=Ti;ue.VERSION=Ai;ue.toFormData=En;ue.AxiosError=G;ue.Cancel=ue.CanceledError;ue.all=function(t){return Promise.all(t)};ue.spread=A1;ue.isAxiosError=D1;ue.mergeConfig=pt;ue.AxiosHeaders=Pe;ue.formToJSON=e=>Si(k.isHTMLForm(e)?new FormData(e):e);ue.getAdapter=Pi.getAdapter;ue.HttpStatusCode=or;ue.default=ue;const M1={key:0,class:"t-transp mn-r-small"},R1={key:1,class:"flex-nowrap flex w-100 flex-v-center"},F1=["href"],B1={key:2,class:"w-100"},x1=["placeholder","multiple"],V1={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},U1={__name:"Upload",props:{field:String,label:null,type:{type:String,default:"file"},placeholder:"Upload a file",validation:!1,uploadPath:{type:String,default:"/files"},multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=t,r=e,a=o.ref(r.field);o.ref(null),o.watch(()=>r.field,l=>{a.value=l});async function i(l){let d=l.target.files[0],u=new FormData;u.append("file",d);try{let c=await ue.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/${r.type}?folderName=${encodeURIComponent(r.uploadPath)}`,u,{headers:{"Content-Type":"multipart/form-data"}});a.value=c.data[0].filepath,n("file-change",a.value)}catch(f){console.error(f)}}const s=()=>{a.value=null,n("update:field",null),n("file-change",null)};return(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[l.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",M1,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),a.value?(o.openBlock(),o.createElementBlock("div",R1,[o.createElementVNode("a",{href:a.value,class:"w-100",target:"_blank"},o.toDisplayString(a.value),9,F1),o.createVNode(_r,{onClick:s,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(o.openBlock(),o.createElementBlock("div",B1,[o.createElementVNode("input",{onChange:i,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,x1)]))],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",V1," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},Mi=ze(U1,[["__scopeId","data-v-516f3e07"]]),j1=Object.freeze(Object.defineProperty({__proto__:null,default:Mi},Symbol.toStringTag,{value:"Module"})),H1=["src"],G1={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},Ri={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo","error"],setup(e,{emit:t}){const n=o.ref(null),r=o.ref(null),a=e,i=t;o.watch(a,({photo:u})=>{u&&(n.value=u)});function s(){r.value.click()}async function l(u){let f=u.target.files[0];if(!f){console.error("No file selected");return}let c=new FormData;c.append("file",f),console.log("Sending file:",f.name);try{let y=await ue.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(a.uploadPath)}`,c);console.log("Upload response:",y),n.value=y.data[0].filepath,i("update:photo",n.value)}catch(m){i("error",m),console.error("Upload error:",m)}}function d(u){u.preventDefault(),l({target:{files:u.dataTransfer.files}})}return(u,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:s,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[n.value||e.photo?(o.openBlock(),o.createElementBlock("img",{key:0,loading:"lazy",src:(u.FILE_SERVER_URL||"")+(n.value||e.photo),alt:"Uploaded image",class:"w-100 h-100 object-fit-cover"},null,8,H1)):(o.openBlock(),o.createElementBlock("div",G1,f[1]||(f[1]=[o.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{fill:"rgb(var(--white))",d:"M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"})],-1)]))),o.createElementVNode("input",{type:"file",name:"file",ref_key:"fileInput",ref:r,onChange:l,style:{display:"none"}},null,544)],32))}},K1=Object.freeze(Object.defineProperty({__proto__:null,default:Ri},Symbol.toStringTag,{value:"Module"})),W1={width:"49",height:"35",viewBox:"0 0 49 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z1=["fill"],Y1=["fill"],q1={__name:"IconUpload",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",W1,[o.createElementVNode("path",{fill:e.fill,d:"M18.0196 16.645C17.3501 17.3144 17.3501 18.3999 18.0196 19.0693C18.689 19.7388 19.7745 19.7388 20.4439 19.0693L22.6603 16.8529V26.4286C22.6603 27.3754 23.4278 28.1429 24.3746 28.1429C25.3214 28.1429 26.0889 27.3754 26.0889 26.4286V16.8529L28.3053 19.0693C28.9747 19.7388 30.0602 19.7388 30.7296 19.0693C31.399 18.3999 31.399 17.3144 30.7296 16.645L25.5868 11.5021C24.9173 10.8327 23.8318 10.8327 23.1624 11.5021L18.0196 16.645Z"},null,8,z1),o.createElementVNode("path",{fill:e.fill,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.3746 0.714294C16.9516 0.714294 10.7548 5.95521 9.27936 12.9394C4.19731 13.976 0.374592 18.4695 0.374592 23.8572C0.374592 30.0113 5.36342 35 11.5174 35H37.2317C43.3857 35 48.3746 30.0113 48.3746 23.8572C48.3746 18.4695 44.5519 13.976 39.4699 12.9394C37.9944 5.95521 31.7976 0.714294 24.3746 0.714294ZM12.4643 14.6667C13.1906 8.73646 18.2474 4.14287 24.3746 4.14287C30.5018 4.14287 35.5586 8.73646 36.2849 14.6667C36.384 15.4757 37.0387 16.1029 37.8511 16.1672C41.821 16.4818 44.946 19.8053 44.946 23.8572C44.946 28.1177 41.4922 31.5714 37.2317 31.5714H11.5174C7.25697 31.5714 3.80316 28.1177 3.80316 23.8572C3.80316 19.8053 6.92808 16.4818 10.8981 16.1672C11.7104 16.1029 12.3652 15.4757 12.4643 14.6667Z"},null,8,Y1)]))}},X1={key:0,class:"t-center"},J1={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},Z1={key:1,class:"mn-b-thin t-transp d-block"},Q1={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},e2={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},t2={key:4,class:"uppercase p-small t-medium d-block"},Fi={__name:"UploadImageMultiple",props:{uploadPath:{type:Object,required:!0},options:{type:Object,default:()=>({mimeType:["jpg","png","gif"],maxSize:10*1024*1024,showText:!0,showTitle:!0})},text:{type:Object,default:()=>({title:"Drag & Drop Your Images Here",subtitle:"Files supported: JPG, PNG, GIF"})}},emits:["update:images"],setup(e,{emit:t}){const n=o.ref([]),r=o.ref(!1),a=o.ref(null),i=e,s=t;function l(){a.value.click()}async function d(f){r.value=!0;let c=f.target.files,m=new FormData;for(const y of c)m.append("file",y);try{(await ue.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(i.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(h=>{n.value.push(h.filepath)}),s("update:images",n.value),r.value=!1}catch(y){console.error(y),r.value=!1}}function u(f){f.preventDefault(),d({target:{files:f.dataTransfer.files}})}return(f,c)=>(o.openBlock(),o.createElementBlock("div",{onClick:l,onDrop:u,onDragover:c[0]||(c[0]=o.withModifiers(()=>{},["prevent"])),class:"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"},[o.createVNode(o.Transition,{name:"moveFromTop",mode:"out-in"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createBlock(Nt,{key:1,class:"pos-absolute"})):(o.openBlock(),o.createElementBlock("div",X1,[o.createVNode(q1,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),e.options.showText||e.options.showTitle?(o.openBlock(),o.createElementBlock("span",J1,o.toDisplayString(e.text.title),1)):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",Z1,o.toDisplayString(e.text.subtitle),1)):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",Q1,"or")):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("button",e2,"Browse Files")):o.createCommentVNode("",!0),e.options.showText?(o.openBlock(),o.createElementBlock("span",t2,"Maximum size: 2MB")):o.createCommentVNode("",!0)]))]),_:1}),o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:a,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},n2=Object.freeze(Object.defineProperty({__proto__:null,default:Fi},Symbol.toStringTag,{value:"Module"})),r2={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},o2={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a2={key:2},i2={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bi={__name:"Breadcrumbs",setup(e){const t=Ta(),{t:n,locale:r}=Tt();function a(l,d){return l.map(u=>{if(u.startsWith(":")){let f=u.replace(/[:?]/g,"");return d.params[f]||null}return u}).filter(u=>u!==null).join("/")}const i=o.ref([]);function s(){i.value=t.matched.map(l=>{var y,p,h;const d=(y=l.meta)==null?void 0:y.title,u=r==null?void 0:r.value,f=d&&u&&d[u];let c=l.path.split("/");c=a(c,t);const m=(h=(p=l.meta)==null?void 0:p.breadcrumbs)==null?void 0:h.hidden;return{name:f,path:c,isHidden:m}}).filter(l=>l.name&&!l.isHidden)}return o.watch(()=>t.matched,()=>{s()},{immediate:!0}),(l,d)=>{const u=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ol",r2,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(f,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":c===i.value.length-1}])},[c===0?(o.openBlock(),o.createElementBlock("svg",o2,d[0]||(d[0]=[o.createElementVNode("path",{fill:"rgb(var(--black))",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1)]))):o.createCommentVNode("",!0),c!==i.value.length-1?(o.openBlock(),o.createBlock(u,{key:1,to:c===0?"/":f.path},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(f.name),1)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("a",a2,o.toDisplayString(f.name),1)),c!==i.value.length-1?(o.openBlock(),o.createElementBlock("svg",i2,d[1]||(d[1]=[o.createElementVNode("path",{d:"M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",fill:"rgb(var(--black))"},null,-1)]))):o.createCommentVNode("",!0)],2))),128))])}}},s2=Object.freeze(Object.defineProperty({__proto__:null,default:Bi},Symbol.toStringTag,{value:"Module"})),l2={class:"t-trimmed font-main"},d2={class:"font-main t-truncate"},u2={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},xi={__name:"Chips",props:["chips"],setup(e){return(t,n)=>{var r;return o.openBlock(),o.createElementBlock("div",l2,[(r=e.chips)!=null&&r.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(e.chips,(a,i)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass([t.$attrs.class||"p-medium","mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-main"])},[o.createElementVNode("span",d2,o.toDisplayString(a.text?a.text:a),1)],2))),256)):(o.openBlock(),o.createElementBlock("div",u2,[o.renderSlot(t.$slots,"default")]))])}}},c2=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"})),f2={class:"gap-thin flex-nowrap flex flex-center"},m2={key:0,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small"},p2={key:1,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},h2={class:"p-big"},$2={key:2,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},g2={class:"p-big"},v2={key:3,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},y2={class:"p-big"},b2={key:4,class:"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"},E2={class:"p-big"},Vi={__name:"Countdown",props:["date"],setup(e){const t=e,n=new Date(t.date).getTime(),r=o.ref(new Date().getTime());let a;const i=o.ref(0),s=o.ref(0),l=o.ref(0),d=o.ref(0),u=o.ref(!1),f=()=>{const c=n-r.value;c<=0?(i.value=0,s.value=0,l.value=0,d.value=0,u.value=!0,clearInterval(a)):(i.value=Math.floor(c/(1e3*60*60*24)),s.value=Math.floor(c%(1e3*60*60*24)/(1e3*60*60)),l.value=Math.floor(c%(1e3*60*60)/(1e3*60)),d.value=Math.floor(c%(1e3*60)/1e3))};return f(),o.onMounted(()=>{a=setInterval(()=>{r.value=new Date().getTime(),f()},1e3)}),o.onBeforeUnmount(()=>{clearInterval(a)}),(c,m)=>(o.openBlock(),o.createElementBlock("div",f2,[u.value?(o.openBlock(),o.createElementBlock("div",m2,m[0]||(m[0]=[o.createElementVNode("p",{class:"p-small t-transp"},"Offer is over",-1)]))):o.createCommentVNode("",!0),u.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",p2,[o.createElementVNode("p",h2,o.toDisplayString(i.value),1),m[1]||(m[1]=o.createElementVNode("p",{class:"p-small t-transp"},"Days",-1))])),u.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",$2,[o.createElementVNode("p",g2,o.toDisplayString(s.value),1),m[2]||(m[2]=o.createElementVNode("p",{class:"p-small t-transp"},"hours",-1))])),u.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",v2,[o.createElementVNode("p",y2,o.toDisplayString(l.value),1),m[3]||(m[3]=o.createElementVNode("p",{class:"p-small t-transp"},"minutes",-1))])),u.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",b2,[o.createElementVNode("p",E2,o.toDisplayString(d.value),1),m[4]||(m[4]=o.createElementVNode("p",{class:"p-small t-transp"},"seconds",-1))]))]))}},_2=Object.freeze(Object.defineProperty({__proto__:null,default:Vi},Symbol.toStringTag,{value:"Module"})),C2=["onClick"],N2={class:"t-transp"},Ui={__name:"DatePicker",props:["date","locale"],setup(e,{emit:t}){const n=t,r=e,a=o.ref(null);let i;if(r.date){const m=parseInt(r.date.substring(0,2)),y=parseInt(r.date.substring(2,4))-1,p=parseInt(r.date.substring(4));i=new Date(p,y,m),console.log("Data"+i)}else i=new Date,console.log("No data"+i);i.setHours(0,0,0,0);const s=o.ref(new Date(i)),l=c(i,30);o.onMounted(()=>{if(a.value){const m=a.value.getElementsByClassName("selected")[0]||a.value.getElementsByClassName("bg-main")[0];m&&(a.value.scrollLeft=m.offsetLeft-a.value.offsetWidth/2+m.offsetWidth/2)}});function d(m){s.value=m;const y=u(m);n("update:date",y)}function u(m){return`${m.getDate().toString().padStart(2,"0")}${(m.getMonth()+1).toString().padStart(2,"0")}${m.getFullYear()}`}function f(m){return m.toLocaleDateString(r.locale?r.locale:"en",{weekday:"narrow"}).toUpperCase()}function c(m,y){const p=[];for(let h=-15;h<y-15;h++){const v=new Date(m);v.setDate(m.getDate()+h),v.setHours(0,0,0,0),p.push(v)}return p}return(m,y)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{class:"w-100 scroller o-scroll scroll-snap-type-x-mandatory scroll-pd-regular scroll-hide flex-nowrap flex",ref_key:"scrollContainer",ref:a},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),p=>(o.openBlock(),o.createElementBlock("div",{key:p.toString(),onClick:h=>d(p),class:o.normalizeClass([{selected:s.value.toDateString()===p.toDateString()},"cursor-pointer scroll-snap-align-start mn-r-small mn-l-small flex-column flex-center flex"])},[o.createElementVNode("span",N2,o.toDisplayString(f(p)),1),o.createElementVNode("span",{class:o.normalizeClass([{"bg-main":s.value.toDateString()===p.toDateString()},"transition-ease-in-out t-semi flex-center flex radius-big i-semi day-number"])},o.toDisplayString(p.getDate()),3)],10,C2))),128))],512)]))}},S2=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"})),T2={class:"mn-b-regular"},O2={class:"mn-b-small t-transp p-medium"},Lr={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String},callback:{type:Function,default:()=>{}}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("section",null,[o.createElementVNode("h3",T2,o.toDisplayString(e.title),1),o.createElementVNode("p",O2,o.toDisplayString(e.description),1),e.action?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=(...r)=>e.callback&&e.callback(...r)),class:"t-white bg-second w-100 button"},o.toDisplayString(e.action),1)):o.createCommentVNode("",!0)]))}},w2=Object.freeze(Object.defineProperty({__proto__:null,default:Lr},Symbol.toStringTag,{value:"Module"})),k2={},L2={width:"100%",height:"16rem",xmlns:"http://www.w3.org/2000/svg"};function I2(e,t){return o.openBlock(),o.createElementBlock("svg",L2,t[0]||(t[0]=[o.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="rgb(var(--white))" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6)]))}const P2=ze(k2,[["render",I2]]),A2={class:"calendar"},D2={key:0,class:"br-b br-solid br-grey-transp-25 gap-thin flex flex-nowrap pd-thin"},M2={class:"pd-thin flex flex-nowrap flex-v-center flex-justify-between"},R2={class:"t-semi"},F2={class:"pd-thin calendar__body"},B2={class:"calendar__week"},x2={class:"gap-micro calendar__dates"},V2=["onClick"],U2={__name:"Calendar",props:o.mergeModels({modelValue:[Date,Object],allowRange:Boolean},{date:{},dateModifiers:{}}),emits:o.mergeModels(["update:modelValue"],["update:date"]),setup(e,{emit:t}){const n=e,r=o.useModel(e,"date"),a=new Date,i=o.ref(a),s=o.ref(null),l=o.ref(null),d=o.ref(null),u=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],f=S=>new Date(Date.UTC(S.getFullYear(),S.getMonth(),S.getDate())),c=S=>new Date(Date.UTC(S.getFullYear(),S.getMonth(),S.getDate(),23,59,59)),m=o.computed(()=>{const S=i.value.toLocaleString("default",{month:"long",timeZone:"UTC"}),D=i.value.getUTCFullYear();return`${S} ${D}`}),y=o.computed(()=>{const S=[],D=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth(),1)),R=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth()+1,0)),B=D.getUTCDay();let j=new Date(D);j.setUTCDate(j.getUTCDate()-B);for(let Q=0;Q<B;Q++)S.push({date:new Date(j),day:j.getUTCDate(),isToday:p(j)}),j.setUTCDate(j.getUTCDate()+1);let oe=1;for(j=D;j<=R;j.setUTCDate(j.getUTCDate()+1))S.push({date:new Date(j),day:oe,isToday:p(j)}),oe++;const me=S[S.length-1].date.getUTCDay();for(let Q=me+1;Q<=6;Q++)S.push({date:new Date(j),day:j.getUTCDate(),isToday:p(j)}),j.setUTCDate(j.getUTCDate()+1);return S}),p=S=>{const D=new Date;return S.getUTCDate()===D.getUTCDate()&&S.getUTCMonth()===D.getUTCMonth()&&S.getUTCFullYear()===D.getUTCFullYear()},h=S=>S.getUTCMonth()===i.value.getUTCMonth()&&S.getUTCFullYear()===i.value.getUTCFullYear(),v=S=>{if(n.allowRange){if(l.value&&d.value)return S>=new Date(l.value)&&c(S)<=new Date(d.value);if(l.value)return S.getTime()===new Date(l.value).getTime()}else return s.value&&S.getTime()===new Date(s.value).getTime()},b=S=>l.value&&d.value?S>l.value&&c(S)<d.value:!1,T=S=>{const D=f(S);if(!n.allowRange)s.value=D,r.value=D;else if(!l.value&&!d.value)l.value=D,r.value.start=D;else if(d.value)l.value=D,d.value=null,r.value={start:D,end:null};else{if(d.value=c(S),D<l.value){const R=c(l.value);l.value=D,d.value=R}r.value={start:l.value,end:d.value}}},g=()=>{i.value=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth()-1,1))},C=()=>{i.value=new Date(Date.UTC(i.value.getUTCFullYear(),i.value.getUTCMonth()+1,1))},N=()=>{const S=new Date,D=new Date(Date.UTC(S.getUTCFullYear(),S.getUTCMonth(),S.getUTCDate(),0,0,0,0)),R=new Date(Date.UTC(S.getUTCFullYear(),S.getUTCMonth(),S.getUTCDate(),23,59,59,999));l.value=D.toISOString(),d.value=R.toISOString(),r.value={start:l.value,end:d.value}},_=()=>{const S=new Date,D=new Date(S);D.setUTCDate(S.getUTCDate()-7),D.setUTCHours(0,0,0,0),l.value=D,d.value=c(S),S.setUTCHours(23,59,59,999);const R=D.toISOString(),B=S.toISOString();r.value={start:R,end:B}},O=()=>{const S=new Date,D=new Date(S);D.setUTCMonth(S.getUTCMonth()-1),D.setUTCHours(0,0,0,0),l.value=D,d.value=c(S),S.setUTCHours(23,59,59,999);const R=D.toISOString(),B=S.toISOString();r.value={start:R,end:B}},I=()=>{l.value=null,d.value=null,r.value={start:null,end:null}};return(S,D)=>(o.openBlock(),o.createElementBlock("div",A2,[e.allowRange?(o.openBlock(),o.createElementBlock("div",D2,[o.createElementVNode("button",{onClick:N,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Today"),o.createElementVNode("button",{onClick:_,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Last Week"),o.createElementVNode("button",{onClick:O,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"Last Month"),o.createElementVNode("button",{onClick:I,class:"font-second t-nowrap pd-thin bg-main-transp-10 radius-small"},"All time")])):o.createCommentVNode("",!0),o.createElementVNode("div",M2,[o.createElementVNode("button",{onClick:o.withModifiers(g,["stop"]),class:"aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small"},"<"),o.createElementVNode("span",R2,o.toDisplayString(m.value),1),o.createElementVNode("button",{onClick:o.withModifiers(C,["stop"]),class:"aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small"},">")]),o.createElementVNode("div",F2,[o.createElementVNode("div",B2,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(u,(R,B)=>o.createElementVNode("div",{key:B,class:"calendar__weekday"},o.toDisplayString(R),1)),64))]),o.createElementVNode("div",x2,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(y.value,R=>(o.openBlock(),o.createElementBlock("div",{key:R.date,class:o.normalizeClass(["flex flex-center cursor-pointer aspect-ratio-1x1 radius-small",{"bg-main t-white":R.isToday},{"calendar__date--selected":v(R.date)},{"calendar__date--range":b(R.date)},{"calendar__date--disabled":!h(R.date)}]),onClick:o.withModifiers(B=>T(R.date),["stop"])},o.toDisplayString(R.day),11,V2))),128))])])]))}},j2={__name:"BottomSheet",props:{show:{type:Boolean,default:!1},options:{type:Object,default:{position:!1}}},emits:["toggle"],setup(e,{emit:t}){const n=t,r=o.ref(null),a=o.ref(0),i=o.ref(0),s=o.ref(!1);function l(f){s.value=!0,a.value=f.touches?f.touches[0].clientY:f.clientY,i.value=a.value}function d(f){if(!s.value)return;f.preventDefault(),i.value=f.touches?f.touches[0].clientY:f.clientY;const c=i.value-a.value;c>0&&(r.value.style.top=`${c}px`)}function u(){if(!s.value)return;s.value=!1;const f=i.value-a.value,c=window.innerHeight*.2;f<c?r.value.style.top="":n("toggle")}return(f,c)=>(o.openBlock(),o.createBlock(o.Transition,{name:"slideY",mode:"out-in"},{default:o.withCtx(()=>[o.createElementVNode("section",{ref_key:"wrapper",ref:r,class:"w-100 h-100vh",style:o.normalizeStyle(f.MOBILE_APP==="ios"?"padding-top: 6rem;":"")},[o.createElementVNode("div",{onClick:c[0]||(c[0]=m=>n("toggle")),onMousedown:l,onTouchstart:l,onMousemove:d,onTouchmove:d,onMouseup:u,onTouchend:u,onMouseleave:u,class:"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2"},c[1]||(c[1]=[o.createElementVNode("div",{class:"radius-extra pd-small t-black p-medium"},[o.createElementVNode("div",{class:"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10"})],-1)]),32),o.renderSlot(f.$slots,"default")],4)]),_:3}))}},H2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},G2=["fill"],K2={__name:"IconSearch",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",H2,[o.createElementVNode("path",{fill:e.fill,d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},null,8,G2)]))}},W2={class:"flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big"},z2={__name:"BlockSearch",props:{placeholder:{type:String,default:"Enter shop or product name"},button:{type:String,default:"Search"}},emits:["search"],setup(e,{emit:t}){const n=t;o.ref(null);const r=a=>{n("search",a)};return(a,i)=>(o.openBlock(),o.createElementBlock("div",W2,[o.createVNode(K2,{class:"i-medium t-transp mn-r-thin"}),o.createVNode(un,{placeholder:e.placeholder,"onUpdate:field":i[0]||(i[0]=s=>r(s)),class:"w-100"},null,8,["placeholder"])]))}},Y2={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},q2=["width","fill"],X2=["width","fill"],J2=["width","fill"],Z2=["width","fill"],ar={__name:"IconSort",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",Y2,[o.createElementVNode("rect",{y:"0",width:e.order==="desc"?32:8,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,q2),o.createElementVNode("rect",{y:"9",width:e.order==="desc"?24:16,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,X2),o.createElementVNode("rect",{y:"18",width:e.order==="desc"?16:24,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,J2),o.createElementVNode("rect",{y:"27",width:e.order==="desc"?8:32,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,Z2)]))}},Q2={__name:"ButtonSort",props:{action:{type:Function},order:{type:String,required:!0}},setup(e){const t=e,{action:n,order:r}=o.toRefs(t),a=()=>{n.value&&n.value()};return(i,s)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,class:"cursor-pointer t-center t-black radius-small flex-center flex aspect-1x1"},[o.createVNode(ar,{order:o.unref(r),class:"w-100 h-auto"},null,8,["order"])]))}},e3={class:"w-100 o-hidden"},t3={class:"mn-b-thin"},n3={class:"w-100 flex-nowrap flex gap-micro"},r3={__name:"BlockSorting",props:o.mergeModels({title:{type:String,default:"Sorting Options"},options:{type:Array,default:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"popularity"},{label:"Creator",value:"creator"}]}},{param:{},paramModifiers:{},order:{},orderModifiers:{}}),emits:["update:param","update:order"],setup(e){const t=o.useModel(e,"param"),n=o.useModel(e,"order");return(r,a)=>(o.openBlock(),o.createElementBlock("div",e3,[o.createElementVNode("h4",t3,o.toDisplayString(e.title),1),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.options,i=>(o.openBlock(),o.createBlock(Cr,{radio:t.value,"onUpdate:radio":a[0]||(a[0]=s=>t.value=s),label:i.label,value:i.value,class:"w-100 mn-b-thin"},null,8,["radio","label","value"]))),256)),o.createElementVNode("div",n3,[o.createElementVNode("button",{onClick:a[1]||(a[1]=o.withModifiers(()=>n.value="asc",["stop"])),class:o.normalizeClass([{"bg-white t-black":n.value==="asc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[o.createVNode(ar,{order:"asc",fill:n.value==="asc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),a[3]||(a[3]=o.createTextVNode(" Ascending "))],2),o.createElementVNode("button",{onClick:a[2]||(a[2]=o.withModifiers(()=>n.value="desc",["stop"])),class:o.normalizeClass([{"bg-white t-black":n.value==="desc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[o.createVNode(ar,{order:"desc",fill:n.value==="desc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),a[4]||(a[4]=o.createTextVNode(" Descending "))],2)])]))}},o3={props:{fill:{type:String,default:"rgb(var(--black)"}}},a3={width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i3={transform:"rotate(90 40 40)"},s3=["fill"];function l3(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("svg",a3,[o.createElementVNode("g",i3,[o.createElementVNode("path",{fill:n.fill,d:"M16.25 9.375L20 5.9375C21.5625 4.53125 23.9062 4.6875 25.3125 6.25L54.2188 37.8125C55.3125 39.0625 55.3125 40.9375 54.2188 42.1875L25.3125 73.75C23.9062 75.3125 21.5625 75.4688 20 74.0625L16.25 70.625C14.6875 69.375 14.5312 66.875 15.9375 65.4688L39.375 40L15.9375 14.5312C14.5312 13.125 14.6875 10.625 16.25 9.375Z"},null,8,s3)])])}const d3=ze(o3,[["render",l3]]),u3={class:"w-100 o-scroll"},c3={class:"cursor-pointer w-100 flex-v-center flex-nowrap flex"},f3={class:"w-100"},m3={__name:"BlockFilter",props:o.mergeModels({title:{type:String,default:"Sorting Options"},options:{type:Array}},{filter:{},filterModifiers:{}}),emits:["update:filter"],setup(e){const t=o.useModel(e,"filter");return(n,r)=>(o.openBlock(),o.createElementBlock("div",u3,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.options,a=>(o.openBlock(),o.createBlock(Nr,{class:"o-hidden bg-white pd-medium radius-big mn-b-small",status:!0},{header:o.withCtx(({isOpen:i})=>[o.createElementVNode("div",c3,[o.createElementVNode("h4",f3,o.toDisplayString(a.title),1),o.createVNode(d3,{class:o.normalizeClass([{"rotate-180":i},"radius-big pd-micro bg-light i-semi"]),fill:"rgb(var(--black))"},null,8,["class"])])]),content:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.options,(i,s)=>(o.openBlock(),o.createBlock(dr,{key:s,label:i.label,value:i.value,class:"w-100 mn-t-small mn-b-small br-1px br-solid br-light radius-small pd-small",radio:t.value.selected[a.value],"onUpdate:radio":l=>t.value.selected[a.value]=l},null,8,["label","value","radio","onUpdate:radio"]))),128))]),_:2},1024))),256)),o.createElementVNode("button",{onClick:r[0]||(r[0]=()=>t.value.selected={}),class:"bg-main w-100 button"},"Reset Filters")]))}},p3={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},h3=["fill"],$3={__name:"IconCalendar",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",p3,[o.createElementVNode("path",{d:"M3 43.5V18H45V43.5C45 45.9375 42.9375 48 40.5 48H7.5C5.0625 48 3 45.9375 3 43.5ZM33 25.5V28.5C33 29.3438 33.6562 30 34.5 30H37.5C38.3438 30 39 29.3438 39 28.5V25.5C39 24.6562 38.3438 24 37.5 24H34.5C33.6562 24 33 24.6562 33 25.5ZM33 37.5V40.5C33 41.3438 33.6562 42 34.5 42H37.5C38.3438 42 39 41.3438 39 40.5V37.5C39 36.6562 38.3438 36 37.5 36H34.5C33.6562 36 33 36.6562 33 37.5ZM21 25.5V28.5C21 29.3438 21.6562 30 22.5 30H25.5C26.3438 30 27 29.3438 27 28.5V25.5C27 24.6562 26.3438 24 25.5 24H22.5C21.6562 24 21 24.6562 21 25.5ZM21 37.5V40.5C21 41.3438 21.6562 42 22.5 42H25.5C26.3438 42 27 41.3438 27 40.5V37.5C27 36.6562 26.3438 36 25.5 36H22.5C21.6562 36 21 36.6562 21 37.5ZM9 25.5V28.5C9 29.3438 9.65625 30 10.5 30H13.5C14.3438 30 15 29.3438 15 28.5V25.5C15 24.6562 14.3438 24 13.5 24H10.5C9.65625 24 9 24.6562 9 25.5ZM9 37.5V40.5C9 41.3438 9.65625 42 10.5 42H13.5C14.3438 42 15 41.3438 15 40.5V37.5C15 36.6562 14.3438 36 13.5 36H10.5C9.65625 36 9 36.6562 9 37.5ZM40.5 6C42.9375 6 45 8.0625 45 10.5V15H3V10.5C3 8.0625 5.0625 6 7.5 6H12V1.5C12 0.65625 12.6562 0 13.5 0H16.5C17.3438 0 18 0.65625 18 1.5V6H30V1.5C30 0.65625 30.6562 0 31.5 0H34.5C35.3438 0 36 0.65625 36 1.5V6H40.5Z",fill:e.fill},null,8,h3)]))}},g3={class:"t-semi"},v3={__name:"ButtonDate",props:{action:{type:Function},date:{type:Object}},setup(e){const t=e,{action:n,date:r}=o.toRefs(t),a=o.computed(()=>s(r.value)),i=()=>{n.value&&n.value()};function s(l){const d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],{start:u,end:f}=l;if(u===null&&f===null)return"All Time";const c=new Date(u),m=c.getUTCDate(),y=d[c.getUTCMonth()],p=c.getUTCFullYear();if(!f)return`${m} ${y} ${p}`;const h=new Date(f),v=h.getUTCDate(),b=d[h.getUTCMonth()],T=h.getUTCFullYear();return`${m} ${y} - ${v} ${b} ${T}`}return(l,d)=>(o.openBlock(),o.createElementBlock("div",{onClick:i,class:"cursor-pointer flex-center flex"},[o.createVNode($3,{class:"w-1r mn-r-thin h-auto"}),o.createElementVNode("span",g3,o.toDisplayString(a.value),1)]))}},y3={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},b3=["fill"],E3={__name:"IconFilter",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",y3,[o.createElementVNode("path",{d:"M46.4267 13.1341L29.226 30.2782V43.1433C29.2272 43.5293 29.1102 43.9065 28.8907 44.2239C28.6711 44.5414 28.3596 44.784 27.998 44.9191L20.5831 47.6868C20.2976 47.7934 19.9905 47.8294 19.6881 47.7917C19.3856 47.754 19.0968 47.6437 18.8462 47.4701C18.5957 47.2966 18.3908 47.065 18.2492 46.7952C18.1075 46.5253 18.0332 46.2252 18.0327 45.9204V30.2498L1.50259 13.0491C0.772898 12.2954 0.281511 11.3434 0.0898392 10.312C-0.101832 9.28058 0.0147126 8.21558 0.424909 7.25005C0.835106 6.28453 1.52076 5.46131 2.39619 4.88327C3.27161 4.30523 4.29798 3.99801 5.34702 4.00001H42.6579C43.7158 4.00084 44.7497 4.31552 45.6287 4.90422C46.5077 5.49291 47.1923 6.32916 47.5958 7.30712C47.9993 8.28507 48.1036 9.36075 47.8955 10.398C47.6874 11.4353 47.1763 12.3875 46.4267 13.1341Z",fill:e.fill},null,8,b3)]))}},_3={key:0,class:"flex-nowrap flex gap-thin"},C3={key:5,class:"col-w-100 w-100 pos-relative"},ji={__name:"Feed",props:o.mergeModels({showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},{search:{},searchModifiers:{},sort:{},sortModifiers:{},filter:{},filterModifiers:{},date:{},dateModifiers:{},items:{},itemsModifiers:{}}),emits:["update:search","update:sort","update:filter","update:date","update:items"],setup(e){const t=o.useModel(e,"search"),n=o.useModel(e,"sort"),r=o.useModel(e,"filter"),a=o.useModel(e,"date"),i=o.useModel(e,"items"),s=e,l=o.shallowRef(i.value||[]),d=o.ref(!1);let u=o.ref(!0),f=o.ref(!1),c=o.ref(null),m=o.ref(s.options.skip?s.options.skip:0),y=o.ref(s.options.limit?s.options.limit:10),p=o.ref("");function h(N,_){let O=null;return(...I)=>{clearTimeout(O),O=setTimeout(()=>N(...I),_)}}const v=h(N=>{p.value=N,m.value=0,y.value=10,g()},300);function b(N){v(N)}const T=async()=>{if(f.value=!0,d.value){m.value+=y.value;const N=await s.store.read({skip:m.value,limit:y.value,search:p.value,dateStart:a.value?a.value.start:null,dateEnd:a.value?a.value.end:null,sortParam:n.value?n.value.param:null,sortOrder:n.value?n.value.order:null,...s.options});N.length===0||N.length<y.value?d.value=!1:d.value=!0,l.value=[...l.value,...N],i.value&&(i.value=l.value)}f.value=!1},g=async()=>{u.value=!0;const N=await s.store.read({skip:m.value,limit:y.value,dateStart:a.value?a.value.start:null,dateEnd:a.value?a.value.end:null,sortParam:n.value?n.value.param:null,sortOrder:n.value?n.value.order:null,search:p.value,...s.options});N.length===0||N.length<y.value?d.value=!1:d.value=!0,l.value=N,i.value&&(i.value=l.value),u.value=!1};o.watch(()=>[s.external,a.value,n.value,s.options],([N,_,O,I],[S,D,R,B])=>{(N!==S||_!==D||(O==null?void 0:O.order)!==(R==null?void 0:R.order)||(O==null?void 0:O.param)!==(R==null?void 0:R.param)||JSON.stringify(I)!==JSON.stringify(B))&&(m.value=0,g())},{deep:!0});let C=null;return o.onMounted(async()=>{await g(),typeof window<"u"&&!s.showLoadMore&&(C=new IntersectionObserver(N=>{N.some(_=>_.isIntersecting)&&T()}),c.value&&C.observe(c.value))}),o.onUnmounted(()=>{C&&C.disconnect()}),(N,_)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[t.value||a.value||n.value&&!n.value.hideButton?(o.openBlock(),o.createElementBlock("div",_3,[t.value?(o.openBlock(),o.createBlock(z2,{key:0,placeholder:t.value.placeholder||"Search...",class:o.normalizeClass(t.value.class||"bg-light"),onSearch:b},null,8,["placeholder","class"])):o.createCommentVNode("",!0),r.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:o.normalizeClass([r.value.class||"bg-light","flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100"])},[o.createVNode(E3,{onClick:_[0]||(_[0]=()=>r.value.active=!r.value.active),class:"w-1r h-auto"})],2),r.value.active?(o.openBlock(),o.createBlock(j2,{key:0,show:r.value.active,onToggle:_[2]||(_[2]=()=>r.value.active=!1),class:o.normalizeClass(["z-index-10 pos-fixed pos-t-0 pos-r-0",{"pos-t-0":r.value.active,"pos-t-100":!r.value.active}])},{default:o.withCtx(()=>[o.createVNode(m3,{filter:r.value,"onUpdate:filter":_[1]||(_[1]=O=>r.value=O),options:r.value.options,class:"h-100 w-100 pd-small bg-light"},null,8,["filter","options"])]),_:1},8,["show","class"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),a.value?(o.openBlock(),o.createBlock(Qt,{key:2,label:{component:v3,props:{date:a.value}},class:o.normalizeClass([a.value.class||"bg-light","flex-child flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),align:t.value?"right":"left"},{default:o.withCtx(()=>[o.createVNode(U2,{date:a.value,"onUpdate:date":_[3]||(_[3]=O=>a.value=O),locale:N.$i18n.locale,allowRange:!0,class:"radius-semi w-100 o-hidden bg-light"},null,8,["date","locale"])]),_:1},8,["label","class","align"])):o.createCommentVNode("",!0),n.value&&!n.value.hideButton?(o.openBlock(),o.createBlock(Qt,{key:3,label:{component:Q2,props:{order:n.value.order},class:"w-1r"},class:o.normalizeClass([n.value.class||"bg-light","radius-extra aspect-1x1 h-100"]),align:t.value?"right":"left"},{default:o.withCtx(()=>[o.createVNode(r3,{param:n.value.param,"onUpdate:param":_[4]||(_[4]=O=>n.value.param=O),order:n.value.order,"onUpdate:order":_[5]||(_[5]=O=>n.value.order=O),options:n.value.options,class:"h-100 pd-small radius-semi t-white bg-black"},null,8,["param","order","options"])]),_:1},8,["label","class","align"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.unref(u)?(o.openBlock(),o.createBlock(o.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition"},{default:o.withCtx(()=>[o.unref(u)?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(o.unref(y),O=>(o.openBlock(),o.createBlock(P2,{key:"skeleton-"+O,class:"mn-b-small radius-big o-hidden d-block"}))),128)):o.createCommentVNode("",!0)]),_:1})):o.createCommentVNode("",!0),!o.unref(u)&&l.value.length<1?(o.openBlock(),o.createBlock(o.TransitionGroup,{key:2,tag:"ul",name:"feed"},{default:o.withCtx(()=>[!o.unref(u)&&l.value.length<1?(o.openBlock(),o.createBlock(Lr,{key:0,title:e.states.empty.title,description:e.states.empty.description,action:e.states.empty.action,callback:e.states.empty.callback,class:"pd-medium mn-b-thin bg-light radius-big"},null,8,["title","description","action","callback"])):o.createCommentVNode("",!0)]),_:1})):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{tag:"ul",name:"feed",class:o.normalizeClass(N.$attrs.class)},{default:o.withCtx(()=>[!o.unref(u)&&l.value.length>0?o.renderSlot(N.$slots,"default",{key:0,items:l.value}):o.createCommentVNode("",!0)]),_:3},8,["class"]),e.showLoadMore&&d.value&&l.value.length>0&&!o.unref(f)?(o.openBlock(),o.createElementBlock("button",{key:3,onClick:T,class:"col-w-100 mn-t-thin w-100 t-black bg-main button"}," Load More ")):(o.openBlock(),o.createElementBlock("div",{key:"sentinel",ref_key:"sentinel",ref:c,class:"sentinel"},null,512)),o.unref(f)?(o.openBlock(),o.createElementBlock("div",C3,[o.createVNode(Nt)])):o.createCommentVNode("",!0)],64))}},N3=Object.freeze(Object.defineProperty({__proto__:null,default:ji},Symbol.toStringTag,{value:"Module"})),S3={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},T3=["fill","transform"],O3={__name:"IconArrow",props:{fill:{type:String,default:"rgb(var(--black))"},rotation:{type:Number,default:0}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("svg",S3,[o.createElementVNode("path",{fill:e.fill,transform:`rotate(${e.rotation}, 24, 24)`,d:"M42.4938 21.6042L29.8525 8.96288C29.568 8.66354 29.2265 8.42416 28.8481 8.25884C28.4696 8.09352 28.062 8.0056 27.649 8.00026C27.2361 7.99492 26.8263 8.07226 26.4437 8.22774C26.0612 8.38322 25.7136 8.61368 25.4214 8.90556C25.1293 9.19743 24.8985 9.54482 24.7427 9.92725C24.5869 10.3097 24.5092 10.7194 24.5142 11.1324C24.5192 11.5453 24.6067 11.953 24.7717 12.3316C24.9367 12.7102 25.1758 13.0519 25.4749 13.3366L32.9475 20.7978H8.09504C7.27418 20.7978 6.48695 21.1238 5.90652 21.7043C5.32608 22.2847 5 23.0719 5 23.8928C5 24.7137 5.32608 25.5009 5.90652 26.0813C6.48695 26.6618 7.27418 26.9878 8.09504 26.9878H32.8784L25.4749 34.4029C24.9186 34.9882 24.6131 35.7677 24.6236 36.5751C24.634 37.3825 24.9596 38.1538 25.5308 38.7245C26.102 39.2952 26.8736 39.6201 27.681 39.6299C28.4884 39.6396 29.2677 39.3334 29.8525 38.7766L42.4938 26.1354C42.7822 25.8487 43.0108 25.5076 43.1664 25.1318C43.3219 24.7561 43.4013 24.3532 43.4 23.9466C43.402 23.921 43.402 23.8953 43.4 23.8698C43.4018 23.8442 43.4018 23.8185 43.4 23.793C43.3997 22.9721 43.0738 22.1849 42.4938 21.6042Z"},null,8,T3)]))}},w3={class:"pd-thin radius-extra flex-nowrap flex"},Hi={__name:"FieldBig",props:{input:String,placeholder:{type:String},action:{type:String,default:"Action"},placeholderTexts:{type:Object,default:()=>({en:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],ru:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"]})},typingSpeed:{type:Number,default:200},loopTyping:{type:Boolean,default:!1},enableTyping:{type:Boolean,default:!1}},emits:["update:input","action"],setup(e,{emit:t}){const n=e,{t:r,locale:a}=Tt();let i=o.ref(0),s=o.ref(n.input),l=o.ref(n.placeholder),d=o.ref(n.enableTyping),u=o.ref(null),f=o.ref(""),c=o.ref(!0),m=null;const y=t;function p(){y("action")}function h(C){y("update:input",C),f.value=C}function v(){i.value=(i.value+1)%n.placeholderTexts[a.value].length}function b(){d.value=!1,clearInterval(u.value),l.value=n.placeholder,f.value||(s.value="")}function T(){!f.value&&n.enableTyping&&(d.value=!0,l.value="",g())}function g(){let C=n.placeholderTexts[a.value][i.value],N=0,_=!1;m=setInterval(()=>{c.value=!c.value},200),u.value=setInterval(()=>{d.value&&(_?(s.value=s.value.slice(0,-1),s.value=C.substring(0,N)+(c.value&&N%2?"|":""),N--):(s.value=C.substring(0,N)+(c.value&&N%2?"|":""),N++),N>C.length&&n.loopTyping&&setTimeout(()=>{_=!0,s.value=C.substring(0,N)},333),N===0&&_&&(_=!1,v(),C=n.placeholderTexts[a.value][i.value]))},n.typingSpeed)}return o.onMounted(()=>{n.enableTyping&&g()}),o.watchEffect(()=>{d.value||(clearInterval(u.value),clearInterval(m))}),(C,N)=>(o.openBlock(),o.createElementBlock("div",w3,[o.createVNode(un,{field:o.unref(s),"onUpdate:field":[N[0]||(N[0]=_=>o.isRef(s)?s.value=_:s=_),h],placeholder:o.unref(d)?"":e.placeholder,onInput:v,onFocus:b,onBlur:T,class:"w-100 p-medium t-regular uppercase pd-small"},null,8,["field","placeholder"]),e.action?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:p,class:"t-nowrap t-medium radius-big uppercase cursor-pointer flex flex-v-center pd-r-small pd-l-small w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main"},[o.createElementVNode("span",null,o.toDisplayString(e.action),1),o.createVNode(O3,{class:"mn-l-thin radius-extra bg-white i-medium"})])):o.createCommentVNode("",!0)]))}},k3=Object.freeze(Object.defineProperty({__proto__:null,default:Hi},Symbol.toStringTag,{value:"Module"}));function L3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var I3=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n};const P3=L3(I3),A3=(e,t)=>t.filter(n=>{const{text:r}=e;if(typeof n.rule=="string")return!new RegExp(n.rule).test(r);if(n.rule instanceof RegExp)return!n.rule.test(r);if({}.toString.call(n.rule)==="[object Function]")return n.rule(e)}).map(n=>n.classes),Et=e=>JSON.parse(JSON.stringify(e)),D3=(e,t)=>{let n=0;for(;n<e.length;){if(t(e[n],n,e))return n;n++}return-1},Gi=(e,t,n=[],r)=>{e.text===void 0&&(e={text:e});const a=A3(e,n),i=D3(t,u=>u===e),s=Et(t),l=i!==-1?s.splice(i,1)[0]:Et(e);return(r?r(s,l):s.map(u=>u.text).indexOf(l.text)!==-1)&&a.push("ti-duplicate"),a.length===0?a.push("ti-valid"):a.push("ti-invalid"),a},It=(e,...t)=>{e.text===void 0&&(e={text:e});const n=Et(e);return n.tiClasses=Gi(e,...t),n},M3=(e,...t)=>e.map(n=>It(n,e,...t)),R3={name:"TagInput",props:{scope:{type:Object}}},F3=["maxlength"];function B3(e,t,n,r,a,i){return n.scope.edit?o.withDirectives((o.openBlock(),o.createElementBlock("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=s=>n.scope.tag.text=s),maxlength:n.scope.maxlength,type:"text",class:"ti-tag-input",size:"1",onInput:t[1]||(t[1]=s=>n.scope.validateTag(n.scope.index,s)),onBlur:t[2]||(t[2]=s=>n.scope.performCancelEdit(n.scope.index)),onKeydown:t[3]||(t[3]=s=>n.scope.performSaveEdit(n.scope.index,s))},null,40,F3)),[[o.vModelText,n.scope.tag.text]]):o.createCommentVNode("",!0)}const x3=ze(R3,[["render",B3]]),sa=e=>!e.some(t=>{const n=!t.text;n&&console.warn('Missing property "text"',t);let r=!1;return t.classes&&(r=typeof t.classes!="string"),r&&console.warn('Property "classes" must be type of string',t),n||r}),la=e=>!e.some(t=>{if(typeof t=="number"){const n=isFinite(t)&&Math.floor(t)===t;return n||console.warn("Only numerics are allowed for this prop. Found:",t),!n}else if(typeof t=="string"){const n=/\W|[a-z]|!\d/i.test(t);return n||console.warn("Only alpha strings are allowed for this prop. Found:",t),!n}else return console.warn("Only numeric and string values are allowed. Found:",t),!1}),V3={modelValue:{type:String,default:"",required:!0},tags:{type:Array,default:()=>[],validator:sa},autocompleteItems:{type:Array,default:()=>[],validator:sa},allowEditTags:{type:Boolean,default:!1},autocompleteFilterDuplicates:{default:!0,type:Boolean},addOnlyFromAutocomplete:{type:Boolean,default:!1},autocompleteMinLength:{type:Number,default:1},autocompleteAlwaysOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Add Tag"},addOnKey:{type:Array,default:()=>[13],validator:la},saveOnKey:{type:Array,default:()=>[13],validator:la},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:()=>[],validator(e){return!e.some(t=>{const n=!t.rule;n&&console.warn('Property "rule" is missing',t);const r=t.rule&&(typeof t.rule=="string"||t.rule instanceof RegExp||{}.toString.call(t.rule)==="[object Function]");r||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(t.rule));const a=!t.classes;a&&console.warn('Property "classes" is missing',t);const i=t.type&&typeof t.type!="string";return i&&console.warn('Property "type" must be type of string. Found:',t),!r||n||a||i})}},separators:{type:Array,default:()=>[";"],validator(e){return!e.some(t=>{const n=typeof t!="string";return n&&console.warn("Separators must be type of string. Found:",t),n})}},avoidAddingDuplicates:{type:Boolean,default:!0},addOnBlur:{type:Boolean,default:!0},isDuplicate:{type:Function,default:null},addFromPaste:{type:Boolean,default:!0},deleteOnBackspace:{default:!0,type:Boolean},onBeforeAddingTag:Function,onBeforeDeletingTag:Function,onBeforeEditingTag:Function,onBeforeSavingTag:Function},U3={name:"VueTagsInput",components:{TagInput:x3},props:V3,emits:["adding-duplicate","before-adding-tag","before-deleting-tag","before-editing-tag","before-saving-tag","max-tags-reached","saving-duplicate","tags-changed","tag-clicked","update:modelValue","update:tags"],inheritAttrs:!1,data(){return{tagCenter:[],newTag:null,tagsCopy:[],tagsEditStatus:null,deletionMark:null,deletionMarkTime:null,selectedItem:null,focused:null}},computed:{autocompleteOpen(){return this.autocompleteAlwaysOpen?!0:this.newTag!==null&&this.newTag.length>=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems(){const e=this.autocompleteItems.map(t=>It(t,this.tags,this.validation,this.isDuplicate));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:Gi,getSelectedIndex(e){const t=this.filteredAutocompleteItems,n=this.selectedItem,r=t.length-1;if(t.length!==0)return n===null?0:e==="before"&&n===0?r:e==="after"&&n===r?0:e==="after"?n+1:n-1},selectDefaultItem(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected(e){return this.selectedItem===e},isMarked(e){return this.deletionMark===e},setTagCenter(e){e&&this.tagCenter.push(e)},invokeDelete(){if(!this.deleteOnBackspace||this.newTag.length>0)return;const e=this.tagsCopy.length-1;this.deletionMark===null?(this.deletionMarkTime=setTimeout(()=>this.deletionMark=null,1e3),this.deletionMark=e):this.performDeleteTag(e)},addTagsFromPaste(){this.addFromPaste&&setTimeout(()=>this.performAddTags(this.newTag),10)},performEditTag(e){this.allowEditTags&&(this.onBeforeAddingTag||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:()=>this.editTag(e)}))},editTag(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode(e){!this.allowEditTags||this.disabled||(this.tagsEditStatus[e]=!this.tagsEditStatus[e])},createChangedTag(e,t){const n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.tagsCopy[e]=It(n,this.tagsCopy,this.validation,this.isDuplicate)},focus(e){this.$nextTick(()=>{const t=this.tagCenter[e].querySelector("input.ti-tag-input");t&&t.focus()})},quote(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit(e){this.tags[e]&&(this.tagsCopy[e]=Et(It(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.tagsEditStatus[e]=!1)},hasForbiddingAddRule(e){return e.some(t=>{const n=this.validation.find(r=>t===r.classes);return n?n.disableAdd:!1})},createTagTexts(e){const t=new RegExp(this.separators.map(n=>this.quote(n)).join("|"));return e.split(t).map(n=>({text:n}))},performDeleteTag(e){this.onBeforeDeletingTag||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:()=>this.deleteTag(e)})},deleteTag(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey(e,t){const n=this[t].indexOf(e.keyCode)!==-1||this[t].indexOf(e.key)!==-1;return n&&e.preventDefault(),!n},performAddTags(e,t,n){if(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))return;let r=[];typeof e=="object"&&(r=[e]),typeof e=="string"&&(r=this.createTagTexts(e)),r=r.filter(a=>a.text.trim().length>0),r.forEach(a=>{a=It(a,this.tags,this.validation,this.isDuplicate),this.onBeforeAddingTag||this.addTag(a,n),this.$emit("before-adding-tag",{tag:a,addTag:()=>this.addTag(a,n)})})},duplicateFilter(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(t=>t.text===e.text)},addTag(e,t="new-tag-input"){const n=this.filteredAutocompleteItems.map(r=>r.text);this.addOnlyFromAutocomplete&&n.indexOf(e.text)===-1||this.$nextTick(()=>{if(this.maxTags&&this.maxTags<=this.tagsCopy.length)return this.$emit("max-tags-reached",e);if(this.avoidAddingDuplicates&&!this.duplicateFilter(e))return this.$emit("adding-duplicate",e);this.hasForbiddingAddRule(e.tiClasses)||(this.newTag="",this.tagsCopy.push(e),this.$emit("update:tags",this.tagsCopy),t==="autocomplete"&&this.$refs.newTagInput.focus(),this.$emit("tags-changed",this.tagsCopy))})},performSaveTag(e,t){const n=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||n.text.trim().length!==0&&(this["on-before-saving-tag"]||this.saveTag(e,n),this.$emit("before-saving-tag",{index:e,tag:n,saveTag:()=>this.saveTag(e,n)}))},saveTag(e,t){if(this.avoidAddingDuplicates){const n=Et(this.tagsCopy),r=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,r):n.map(i=>i.text).indexOf(r.text)!==-1)return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.tagsCopy[e]=t,this.toggleEditMode(e),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual(){return!this.tagsCopy.some((e,t)=>!P3(e,this.tags[t]))},updateNewTag(e){const t=e.target.value;this.newTag=t,this.$emit("update:modelValue",t)},initTags(){this.tagsCopy=M3(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=Et(this.tags).map(()=>!1),this.tagsEqual()||this.$emit("update:tags",this.tagsCopy)},blurredOnClick(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{modelValue(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},tags:{handler(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created(){this.newTag=this.modelValue,this.initTags()},mounted(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},beforeUpdate(){this.tagCenter=[]},unmounted(){document.removeEventListener("click",this.blurredOnClick)}},j3={class:"ti-input"},H3={key:0,class:"ti-tags"},G3=["onClick"],K3={class:"ti-content"},W3={key:0,class:"ti-tag-left"},z3=["onClick"],Y3={key:1,class:"ti-tag-right"},q3={class:"ti-actions"},X3=["onClick"],J3=["onClick"],Z3={class:"ti-new-tag-input-wrapper"},Q3=["placeholder","value","maxlength","disabled"],em=["onMouseover"],tm=["onClick"];function nm(e,t,n,r,a,i){const s=o.resolveComponent("tag-input");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:o.normalizeStyle(e.$attrs.style)},[o.createElementVNode("div",j3,[e.tagsCopy?(o.openBlock(),o.createElementBlock("ul",H3,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tagsCopy,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d,style:o.normalizeStyle(l.style),class:o.normalizeClass([[{"ti-editing":e.tagsEditStatus[d]},l.tiClasses,l.classes,{"ti-deletion-mark":e.isMarked(d)}],"ti-tag t-medium"]),tabindex:"0",onClick:u=>e.$emit("tag-clicked",{tag:l,index:d})},[o.createElementVNode("div",K3,[e.$slots["tag-left"]?(o.openBlock(),o.createElementBlock("div",W3,[o.renderSlot(e.$slots,"tag-left",{tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)})])):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass({"ti-hidden":e.tagsEditStatus[d]}),onClick:u=>e.performEditTag(d)},o.toDisplayString(l.text),11,z3)),e.$slots["tag-center"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(s,{key:1,scope:{edit:e.tagsEditStatus[d],maxlength:e.maxlength,tag:l,index:d,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),o.renderSlot(e.$slots,"tag-center",{tag:l,index:d,maxlength:e.maxlength,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)})],512),e.$slots["tag-right"]?(o.openBlock(),o.createElementBlock("div",Y3,[o.renderSlot(e.$slots,"tag-right",{tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)})])):o.createCommentVNode("",!0)]),o.createElementVNode("div",q3,[e.$slots["tag-actions"]?o.createCommentVNode("",!0):o.withDirectives((o.openBlock(),o.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:u=>e.cancelEdit(d)},null,8,X3)),[[o.vShow,e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?o.createCommentVNode("",!0):o.withDirectives((o.openBlock(),o.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:u=>e.performDeleteTag(d)},null,8,J3)),[[o.vShow,!e.tagsEditStatus[d]]]),e.$slots["tag-actions"]?o.renderSlot(e.$slots,"tag-actions",{key:2,tag:l,index:d,edit:e.tagsEditStatus[d],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(d)}):o.createCommentVNode("",!0)])],14,G3))),128)),o.createElementVNode("li",Z3,[o.createElementVNode("input",o.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[t[0]||(t[0]=l=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,l)),t[2]||(t[2]=o.withKeys((...l)=>e.invokeDelete&&e.invokeDelete(...l),["delete"])),t[3]||(t[3]=o.withKeys((...l)=>e.performBlur&&e.performBlur(...l),["tab"])),t[4]||(t[4]=o.withKeys(l=>e.selectItem(l,"before"),["up"])),t[5]||(t[5]=o.withKeys(l=>e.selectItem(l,"after"),["down"]))],onPaste:t[1]||(t[1]=(...l)=>e.addTagsFromPaste&&e.addTagsFromPaste(...l)),onInput:t[6]||(t[6]=(...l)=>e.updateNewTag&&e.updateNewTag(...l)),onFocus:t[7]||(t[7]=l=>e.focused=!0),onClick:t[8]||(t[8]=l=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,Q3)])])):o.createCommentVNode("",!0)]),o.renderSlot(e.$slots,"between-elements"),e.autocompleteOpen?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:t[9]||(t[9]=l=>e.selectedItem=null)},[o.renderSlot(e.$slots,"autocomplete-header"),o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.filteredAutocompleteItems,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d,style:o.normalizeStyle(l.style),class:o.normalizeClass([[l.tiClasses,l.classes,{"ti-selected-item":e.isSelected(d)}],"ti-item"]),onMouseover:u=>e.disabled?!1:e.selectedItem=d},[e.$slots["autocomplete-item"]?o.renderSlot(e.$slots,"autocomplete-item",{key:1,item:l,index:d,performAdd:u=>e.performAddTags(u,void 0,"autocomplete"),selected:e.isSelected(d)}):(o.openBlock(),o.createElementBlock("div",{key:0,onClick:u=>e.performAddTags(l,void 0,"autocomplete")},o.toDisplayString(l.text),9,tm))],46,em))),128))]),o.renderSlot(e.$slots,"autocomplete-footer")],34)):o.createCommentVNode("",!0)],6)}const Ki=ze(U3,[["render",nm]]),rm=Object.freeze(Object.defineProperty({__proto__:null,default:Ki},Symbol.toStringTag,{value:"Module"})),om={id:"glcanvas",ref:"refCanvas"},Wi={__name:"Shader",setup(e){return o.onMounted(()=>{const t=document.getElementById("glcanvas"),n=t.getContext("webgl")||t.getContext("experimental-webgl"),r=`
|
38
38
|
attribute vec4 aVertexPosition;
|
39
39
|
void main() {
|
40
40
|
gl_Position = aVertexPosition;
|
@@ -89,4 +89,4 @@ ${c}`:d)}else throw s},onCacheKey:s=>hc(t,n,s)}}function Gu(e){if(x(e))return e;
|
|
89
89
|
gl_FragColor = black ? BLACK : WHITE;
|
90
90
|
}
|
91
91
|
|
92
|
-
`;function i(u,m,y){const p=u.createShader(m);return u.shaderSource(p,y),u.compileShader(p),u.getShaderParameter(p,u.COMPILE_STATUS)?p:(alert("An error occurred compiling the shaders: "+u.getShaderInfoLog(p)),u.deleteShader(p),null)}const s=i(n,n.VERTEX_SHADER,r),l=i(n,n.FRAGMENT_SHADER,a),d=n.createProgram();n.attachShader(d,s),n.attachShader(d,l),n.linkProgram(d),n.getProgramParameter(d,n.LINK_STATUS)||alert("Unable to initialize the shader program: "+n.getProgramInfoLog(d));function c(u){const m=u.clientWidth*window.devicePixelRatio,y=u.clientHeight*window.devicePixelRatio;return u.width!==m||u.height!==y?(u.width=m,u.height=y,!0):!1}function f(){c(n.canvas)&&n.viewport(0,0,n.canvas.width,n.canvas.height),n.clearColor(0,0,0,1),n.clearDepth(1),n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.useProgram(d);const u=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,u);const m=[-1,1,1,1,-1,-1,1,-1];n.bufferData(n.ARRAY_BUFFER,new Float32Array(m),n.STATIC_DRAW);const y=n.getAttribLocation(d,"aVertexPosition");n.vertexAttribPointer(y,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(y);var p=n.getUniformLocation(d,"iTime"),g=n.getUniformLocation(d,"iResolution");n.uniform1f(p,performance.now()/3e3),n.uniform2f(g,n.canvas.width,n.canvas.height),n.drawArrays(n.TRIANGLE_STRIP,0,4),requestAnimationFrame(f)}requestAnimationFrame(f)}),(t,n)=>(o.openBlock(),o.createElementBlock("canvas",Em,null,512))}},_m=Object.freeze(Object.defineProperty({__proto__:null,default:Wi},Symbol.toStringTag,{value:"Module"}));function Cm(e){return Object.prototype.toString.call(e)==="[object Object]"}function da(e){return Cm(e)||Array.isArray(e)}function Nm(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Lr(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const a=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return a!==i?!1:n.every(s=>{const l=e[s],d=t[s];return typeof l=="function"?`${l}`==`${d}`:!da(l)||!da(d)?l===d:Lr(l,d)})}function ca(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Sm(e,t){if(e.length!==t.length)return!1;const n=ca(e),r=ca(t);return n.every((a,i)=>{const s=r[i];return Lr(a,s)})}function Ir(e){return typeof e=="number"}function ar(e){return typeof e=="string"}function Pr(e){return typeof e=="boolean"}function ua(e){return Object.prototype.toString.call(e)==="[object Object]"}function ie(e){return Math.abs(e)}function Ar(e){return Math.sign(e)}function At(e,t){return ie(e-t)}function Tm(e,t){if(e===0||t===0||ie(e)<=ie(t))return 0;const n=At(ie(e),ie(t));return ie(n/e)}function Vt(e){return Ut(e).map(Number)}function Ue(e){return e[Kt(e)]}function Kt(e){return Math.max(0,e.length-1)}function Dr(e,t){return t===Kt(e)}function fa(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Ut(e){return Object.keys(e)}function zi(e,t){return[e,t].reduce((n,r)=>(Ut(r).forEach(a=>{const i=n[a],s=r[a],l=ua(i)&&ua(s);n[a]=l?zi(i,s):s}),n),{})}function ir(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Om(e,t){const n={start:r,center:a,end:i};function r(){return 0}function a(d){return i(d)/2}function i(d){return t-d}function s(d,c){return ar(e)?n[e](d):e(t,d,c)}return{measure:s}}function jt(){let e=[];function t(a,i,s,l={passive:!0}){let d;if("addEventListener"in a)a.addEventListener(i,s,l),d=()=>a.removeEventListener(i,s,l);else{const c=a;c.addListener(s),d=()=>c.removeListener(s)}return e.push(d),r}function n(){e=e.filter(a=>a())}const r={add:t,clear:n};return r}function wm(e,t,n,r){const a=jt(),i=1e3/60;let s=null,l=0,d=0;function c(){a.add(e,"visibilitychange",()=>{e.hidden&&p()})}function f(){y(),a.clear()}function u(v){if(!d)return;s||(s=v);const C=v-s;for(s=v,l+=C;l>=i;)n(i),l-=i;const w=l/i;r(w),d&&t.requestAnimationFrame(u)}function m(){d||(d=t.requestAnimationFrame(u))}function y(){t.cancelAnimationFrame(d),s=null,l=0,d=0}function p(){s=null,l=0}return{init:c,destroy:f,start:m,stop:y,update:()=>n(i),render:r}}function km(e,t){const n=t==="rtl",r=e==="y",a=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,l=f(),d=u();function c(p){const{height:g,width:v}=p;return r?g:v}function f(){return r?"top":n?"right":"left"}function u(){return r?"bottom":n?"left":"right"}function m(p){return p*s}return{scroll:a,cross:i,startEdge:l,endEdge:d,measureSize:c,direction:m}}function ht(e=0,t=0){const n=ie(e-t);function r(c){return c<e}function a(c){return c>t}function i(c){return r(c)||a(c)}function s(c){return i(c)?r(c)?e:t:c}function l(c){return n?c-n*Math.ceil((c-t)/n):c}return{length:n,max:t,min:e,constrain:s,reachedAny:i,reachedMax:a,reachedMin:r,removeOffset:l}}function Yi(e,t,n){const{constrain:r}=ht(0,e),a=e+1;let i=s(t);function s(m){return n?ie((a+m)%a):r(m)}function l(){return i}function d(m){return i=s(m),u}function c(m){return f().set(l()+m)}function f(){return Yi(e,l(),n)}const u={get:l,set:d,add:c,clone:f};return u}function Lm(e,t,n,r,a,i,s,l,d,c,f,u,m,y,p,g,v,C,w){const{cross:h,direction:_}=e,S=["INPUT","SELECT","TEXTAREA"],b={passive:!1},T=jt(),I=jt(),N=ht(50,225).constrain(y.measure(20)),D={mouse:300,touch:400},R={mouse:500,touch:600},B=p?43:25;let j=!1,te=0,$e=0,J=!1,ye=!1,ce=!1,be=!1;function Se(V){if(!w)return;function P(F){(Pr(w)||w(V,F))&&me(F)}const O=t;T.add(O,"dragstart",F=>F.preventDefault(),b).add(O,"touchmove",()=>{},b).add(O,"touchend",()=>{}).add(O,"touchstart",P).add(O,"mousedown",P).add(O,"touchcancel",le).add(O,"contextmenu",le).add(O,"click",Le,!0)}function Ee(){T.clear(),I.clear()}function se(){const V=be?n:t;I.add(V,"touchmove",ge,b).add(V,"touchend",le).add(V,"mousemove",ge,b).add(V,"mouseup",le)}function ue(V){const P=V.nodeName||"";return S.includes(P)}function ke(){return(p?R:D)[be?"mouse":"touch"]}function De(V,P){const O=u.add(Ar(V)*-1),F=f.byDistance(V,!p).distance;return p||ie(V)<N?F:v&&P?F*.5:f.byIndex(O.get(),0).distance}function me(V){const P=ir(V,r);be=P,ce=p&&P&&!V.buttons&&j,j=At(a.get(),s.get())>=2,!(P&&V.button!==0)&&(ue(V.target)||(J=!0,i.pointerDown(V),c.useFriction(0).useDuration(0),a.set(s),se(),te=i.readPoint(V),$e=i.readPoint(V,h),m.emit("pointerDown")))}function ge(V){if(!ir(V,r)&&V.touches.length>=2)return le(V);const O=i.readPoint(V),F=i.readPoint(V,h),z=At(O,te),oe=At(F,$e);if(!ye&&!be&&(!V.cancelable||(ye=z>oe,!ye)))return le(V);const fe=i.pointerMove(V);z>g&&(ce=!0),c.useFriction(.3).useDuration(.75),l.start(),a.add(_(fe)),V.preventDefault()}function le(V){const O=f.byDistance(0,!1).index!==u.get(),F=i.pointerUp(V)*ke(),z=De(_(F),O),oe=Tm(F,z),fe=B-10*oe,_e=C+oe/50;ye=!1,J=!1,I.clear(),c.useDuration(fe).useFriction(_e),d.distance(z,!p),be=!1,m.emit("pointerUp")}function Le(V){ce&&(V.stopPropagation(),V.preventDefault(),ce=!1)}function pe(){return J}return{init:Se,destroy:Ee,pointerDown:pe}}function Im(e,t){let r,a;function i(u){return u.timeStamp}function s(u,m){const p=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(ir(u,t)?u:u.touches[0])[p]}function l(u){return r=u,a=u,s(u)}function d(u){const m=s(u)-s(a),y=i(u)-i(r)>170;return a=u,y&&(r=u),m}function c(u){if(!r||!a)return 0;const m=s(a)-s(r),y=i(u)-i(r),p=i(u)-i(a)>170,g=m/y;return y&&!p&&ie(g)>.1?g:0}return{pointerDown:l,pointerMove:d,pointerUp:c,readPoint:s}}function Pm(){function e(n){const{offsetTop:r,offsetLeft:a,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:a+i,bottom:r+s,left:a,width:i,height:s}}return{measure:e}}function Am(e){function t(r){return e*(r/100)}return{measure:t}}function Dm(e,t,n,r,a,i,s){const l=[e].concat(r);let d,c,f=[],u=!1;function m(v){return a.measureSize(s.measure(v))}function y(v){if(!i)return;c=m(e),f=r.map(m);function C(w){for(const h of w){if(u)return;const _=h.target===e,S=r.indexOf(h.target),b=_?c:f[S],T=m(_?e:r[S]);if(ie(T-b)>=.5){v.reInit(),t.emit("resize");break}}}d=new ResizeObserver(w=>{(Pr(i)||i(v,w))&&C(w)}),n.requestAnimationFrame(()=>{l.forEach(w=>d.observe(w))})}function p(){u=!0,d&&d.disconnect()}return{init:y,destroy:p}}function Mm(e,t,n,r,a,i){let s=0,l=0,d=a,c=i,f=e.get(),u=0;function m(b){const T=b/1e3,I=d*T,N=r.get()-e.get(),D=!d;let R=0;return D?(s=0,n.set(r),e.set(r),R=N):(n.set(e),s+=N/I,s*=c,f+=s,e.add(s*T),R=f-u),l=Ar(R),u=f,S}function y(){const b=r.get()-t.get();return ie(b)<.001}function p(){return d}function g(){return l}function v(){return s}function C(){return h(a)}function w(){return _(i)}function h(b){return d=b,S}function _(b){return c=b,S}const S={direction:g,duration:p,velocity:v,seek:m,settled:y,useBaseFriction:w,useBaseDuration:C,useFriction:_,useDuration:h};return S}function Rm(e,t,n,r,a){const i=a.measure(10),s=a.measure(50),l=ht(.1,.99);let d=!1;function c(){return!(d||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function f(y){if(!c())return;const p=e.reachedMin(t.get())?"min":"max",g=ie(e[p]-t.get()),v=n.get()-t.get(),C=l.constrain(g/s);n.subtract(v*C),!y&&ie(v)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(y){d=!y}return{shouldConstrain:c,constrain:f,toggleActive:u}}function Fm(e,t,n,r,a){const i=ht(-t+e,0),s=u(),l=f(),d=m();function c(p,g){return At(p,g)<1}function f(){const p=s[0],g=Ue(s),v=s.lastIndexOf(p),C=s.indexOf(g)+1;return ht(v,C)}function u(){return n.map((p,g)=>{const{min:v,max:C}=i,w=i.constrain(p),h=!g,_=Dr(n,g);return h?C:_||c(v,w)?v:c(C,w)?C:w}).map(p=>parseFloat(p.toFixed(3)))}function m(){if(t<=e+a)return[i.max];if(r==="keepSnaps")return s;const{min:p,max:g}=l;return s.slice(p,g)}return{snapsContained:d,scrollContainLimit:l}}function Bm(e,t,n){const r=t[0],a=n?r-e:Ue(t);return{limit:ht(a,r)}}function xm(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:l,reachedMax:d}=ht(i,s);function c(m){return m===1?d(n.get()):m===-1?l(n.get()):!1}function f(m){if(!c(m))return;const y=e*(m*-1);r.forEach(p=>p.add(y))}return{loop:f}}function Vm(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function Um(e,t,n,r,a){const{startEdge:i,endEdge:s}=e,{groupSlides:l}=a,d=u().map(t.measure),c=m(),f=y();function u(){return l(r).map(g=>Ue(g)[s]-g[0][i]).map(ie)}function m(){return r.map(g=>n[i]-g[i]).map(g=>-ie(g))}function y(){return l(c).map(g=>g[0]).map((g,v)=>g+d[v])}return{snaps:c,snapsAligned:f}}function jm(e,t,n,r,a,i){const{groupSlides:s}=a,{min:l,max:d}=r,c=f();function f(){const m=s(i),y=!e||t==="keepSnaps";return n.length===1?[i]:y?m:m.slice(l,d).map((p,g,v)=>{const C=!g,w=Dr(v,g);if(C){const h=Ue(v[0])+1;return fa(h)}if(w){const h=Kt(i)-Ue(v)[0]+1;return fa(h,Ue(v)[0])}return p})}return{slideRegistry:c}}function Hm(e,t,n,r,a){const{reachedAny:i,removeOffset:s,constrain:l}=r;function d(p){return p.concat().sort((g,v)=>ie(g)-ie(v))[0]}function c(p){const g=e?s(p):l(p),v=t.map((w,h)=>({diff:f(w-g,0),index:h})).sort((w,h)=>ie(w.diff)-ie(h.diff)),{index:C}=v[0];return{index:C,distance:g}}function f(p,g){const v=[p,p+n,p-n];if(!e)return p;if(!g)return d(v);const C=v.filter(w=>Ar(w)===g);return C.length?d(C):Ue(v)-n}function u(p,g){const v=t[p]-a.get(),C=f(v,g);return{index:p,distance:C}}function m(p,g){const v=a.get()+p,{index:C,distance:w}=c(v),h=!e&&i(v);if(!g||h)return{index:C,distance:p};const _=t[C]-w,S=p+f(_,0);return{index:C,distance:S}}return{byDistance:m,byIndex:u,shortcut:f}}function Gm(e,t,n,r,a,i,s){function l(u){const m=u.distance,y=u.index!==t.get();i.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),y&&(n.set(t.get()),t.set(u.index),s.emit("select"))}function d(u,m){const y=a.byDistance(u,m);l(y)}function c(u,m){const y=t.clone().set(u),p=a.byIndex(y.get(),m);l(p)}return{distance:d,index:c}}function Km(e,t,n,r,a,i,s){let l=0;function d(){i.add(document,"keydown",c,!1),t.forEach(f)}function c(m){m.code==="Tab"&&(l=new Date().getTime())}function f(m){const y=()=>{if(new Date().getTime()-l>10)return;e.scrollLeft=0;const v=t.indexOf(m),C=n.findIndex(w=>w.includes(v));Ir(C)&&(a.useDuration(0),r.index(C,0),s.emit("slideFocus"))};i.add(m,"focus",y,{passive:!0,capture:!0})}return{init:d}}function Pt(e){let t=e;function n(){return t}function r(d){t=s(d)}function a(d){t+=s(d)}function i(d){t-=s(d)}function s(d){return Ir(d)?d:d.get()}return{get:n,set:r,add:a,subtract:i}}function qi(e,t){const n=e.scroll==="x"?i:s,r=t.style;let a=!1;function i(u){return`translate3d(${u}px,0px,0px)`}function s(u){return`translate3d(0px,${u}px,0px)`}function l(u){a||(r.transform=n(e.direction(u)))}function d(u){a=!u}function c(){a||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:l,toggleActive:d}}function Wm(e,t,n,r,a,i,s,l,d){const f=Vt(a),u=Vt(a).reverse(),m=C().concat(w());function y(T,I){return T.reduce((N,D)=>N-a[D],I)}function p(T,I){return T.reduce((N,D)=>y(N,I)>0?N.concat([D]):N,[])}function g(T){return i.map((I,N)=>({start:I-r[N]+.5+T,end:I+t-.5+T}))}function v(T,I,N){const D=g(I);return T.map(R=>{const B=N?0:-n,j=N?n:0,te=N?"end":"start",$e=D[R][te];return{index:R,loopPoint:$e,slideLocation:Pt(-1),translate:qi(e,d[R]),target:()=>l.get()>$e?B:j}})}function C(){const T=s[0],I=p(u,T);return v(I,n,!1)}function w(){const T=t-s[0]-1,I=p(f,T);return v(I,-n,!0)}function h(){return m.every(({index:T})=>{const I=f.filter(N=>N!==T);return y(I,t)<=.1})}function _(){m.forEach(T=>{const{target:I,translate:N,slideLocation:D}=T,R=I();R!==D.get()&&(N.to(R),D.set(R))})}function S(){m.forEach(T=>T.translate.clear())}return{canLoop:h,clear:S,loop:_,loopPoints:m}}function zm(e,t,n){let r,a=!1;function i(d){if(!n)return;function c(f){for(const u of f)if(u.type==="childList"){d.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(f=>{a||(Pr(n)||n(d,f))&&c(f)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),a=!0}return{init:i,destroy:s}}function Ym(e,t,n,r){const a={};let i=null,s=null,l,d=!1;function c(){l=new IntersectionObserver(p=>{d||(p.forEach(g=>{const v=t.indexOf(g.target);a[v]=g}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(p=>l.observe(p))}function f(){l&&l.disconnect(),d=!0}function u(p){return Ut(a).reduce((g,v)=>{const C=parseInt(v),{isIntersecting:w}=a[C];return(p&&w||!p&&!w)&&g.push(C),g},[])}function m(p=!0){if(p&&i)return i;if(!p&&s)return s;const g=u(p);return p&&(i=g),p||(s=g),g}return{init:c,destroy:f,get:m}}function qm(e,t,n,r,a,i){const{measureSize:s,startEdge:l,endEdge:d}=e,c=n[0]&&a,f=p(),u=g(),m=n.map(s),y=v();function p(){if(!c)return 0;const w=n[0];return ie(t[l]-w[l])}function g(){if(!c)return 0;const w=i.getComputedStyle(Ue(r));return parseFloat(w.getPropertyValue(`margin-${d}`))}function v(){return n.map((w,h,_)=>{const S=!h,b=Dr(_,h);return S?m[h]+f:b?m[h]+u:_[h+1][l]-w[l]}).map(ie)}return{slideSizes:m,slideSizesWithGaps:y,startGap:f,endGap:u}}function Xm(e,t,n,r,a,i,s,l,d){const{startEdge:c,endEdge:f,direction:u}=e,m=Ir(n);function y(C,w){return Vt(C).filter(h=>h%w===0).map(h=>C.slice(h,h+w))}function p(C){return C.length?Vt(C).reduce((w,h,_)=>{const S=Ue(w)||0,b=S===0,T=h===Kt(C),I=a[c]-i[S][c],N=a[c]-i[h][f],D=!r&&b?u(s):0,R=!r&&T?u(l):0,B=ie(N-R-(I+D));return _&&B>t+d&&w.push(h),T&&w.push(C.length),w},[]).map((w,h,_)=>{const S=Math.max(_[h-1]||0);return C.slice(S,w)}):[]}function g(C){return m?y(C,n):p(C)}return{groupSlides:g}}function Jm(e,t,n,r,a,i,s){const{align:l,axis:d,direction:c,startIndex:f,loop:u,duration:m,dragFree:y,dragThreshold:p,inViewThreshold:g,slidesToScroll:v,skipSnaps:C,containScroll:w,watchResize:h,watchSlides:_,watchDrag:S}=i,b=2,T=Pm(),I=T.measure(t),N=n.map(T.measure),D=km(d,c),R=D.measureSize(I),B=Am(R),j=Om(l,R),te=!u&&!!w,$e=u||!!w,{slideSizes:J,slideSizesWithGaps:ye,startGap:ce,endGap:be}=qm(D,I,N,n,$e,a),Se=Xm(D,R,v,u,I,N,ce,be,b),{snaps:Ee,snapsAligned:se}=Um(D,j,I,N,Se),ue=-Ue(Ee)+Ue(ye),{snapsContained:ke,scrollContainLimit:De}=Fm(R,ue,se,w,b),me=te?ke:se,{limit:ge}=Bm(ue,me,u),le=Yi(Kt(me),f,u),Le=le.clone(),pe=Vt(n),X=({dragHandler:K,scrollBody:ne,scrollBounds:Fe,options:{loop:ze}},Ge)=>{ze||Fe.constrain(K.pointerDown()),ne.seek(Ge)},V=({scrollBody:K,translate:ne,location:Fe,offsetLocation:ze,scrollLooper:Ge,slideLooper:Ye,dragHandler:Cn,animation:Wt,eventHandler:Fr,scrollBounds:Qi,options:{loop:Br}},xr)=>{const Vr=K.settled(),es=!Qi.shouldConstrain(),Ur=Br?Vr:Vr&&es;Ur&&!Cn.pointerDown()&&(Wt.stop(),Fr.emit("settle")),Ur||Fr.emit("scroll");const ts=Fe.get()*xr+oe.get()*(1-xr);ze.set(ts),Br&&(Ge.loop(K.direction()),Ye.loop()),ne.to(ze.get())},P=wm(r,a,K=>X(M,K),K=>V(M,K)),O=.68,F=me[le.get()],z=Pt(F),oe=Pt(F),fe=Pt(F),_e=Pt(F),$=Mm(z,fe,oe,_e,m,O),E=Hm(u,me,ue,ge,_e),A=Gm(P,le,Le,$,E,_e,s),U=Vm(ge),Q=jt(),Z=Ym(t,n,s,g),{slideRegistry:Y}=jm(te,w,me,De,Se,pe),L=Km(e,n,Y,A,$,Q,s),M={ownerDocument:r,ownerWindow:a,eventHandler:s,containerRect:I,slideRects:N,animation:P,axis:D,dragHandler:Lm(D,e,r,a,_e,Im(D,a),z,P,A,$,E,le,s,B,y,p,C,O,S),eventStore:Q,percentOfView:B,index:le,indexPrevious:Le,limit:ge,location:z,offsetLocation:fe,previousLocation:oe,options:i,resizeHandler:Dm(t,s,a,n,D,h,T),scrollBody:$,scrollBounds:Rm(ge,fe,_e,$,B),scrollLooper:xm(ue,ge,fe,[z,fe,oe,_e]),scrollProgress:U,scrollSnapList:me.map(U.get),scrollSnaps:me,scrollTarget:E,scrollTo:A,slideLooper:Wm(D,R,ue,J,ye,Ee,me,fe,n),slideFocus:L,slidesHandler:zm(t,s,_),slidesInView:Z,slideIndexes:pe,slideRegistry:Y,slidesToScroll:Se,target:_e,translate:qi(D,t)};return M}function Zm(){let e={},t;function n(c){t=c}function r(c){return e[c]||[]}function a(c){return r(c).forEach(f=>f(t,c)),d}function i(c,f){return e[c]=r(c).concat([f]),d}function s(c,f){return e[c]=r(c).filter(u=>u!==f),d}function l(){e={}}const d={init:n,emit:a,off:s,on:i,clear:l};return d}const Qm={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function ep(e){function t(i,s){return zi(i,s||{})}function n(i){const s=i.breakpoints||{},l=Ut(s).filter(d=>e.matchMedia(d).matches).map(d=>s[d]).reduce((d,c)=>t(d,c),{});return t(i,l)}function r(i){return i.map(s=>Ut(s.breakpoints||{})).reduce((s,l)=>s.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function tp(e){let t=[];function n(i,s){return t=s.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(i,e)),s.reduce((l,d)=>Object.assign(l,{[d.name]:d}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function dn(e,t,n){const r=e.ownerDocument,a=r.defaultView,i=ep(a),s=tp(i),l=jt(),d=Zm(),{mergeOptions:c,optionsAtMedia:f,optionsMediaQueries:u}=i,{on:m,off:y,emit:p}=d,g=R;let v=!1,C,w=c(Qm,dn.globalOptions),h=c(w),_=[],S,b,T;function I(){const{container:X,slides:V}=h;b=(ar(X)?e.querySelector(X):X)||e.children[0];const O=ar(V)?b.querySelectorAll(V):V;T=[].slice.call(O||b.children)}function N(X){const V=Jm(e,b,T,r,a,X,d);if(X.loop&&!V.slideLooper.canLoop()){const P=Object.assign({},X,{loop:!1});return N(P)}return V}function D(X,V){v||(w=c(w,X),h=f(w),_=V||_,I(),C=N(h),u([w,..._.map(({options:P})=>P)]).forEach(P=>l.add(P,"change",R)),h.active&&(C.translate.to(C.location.get()),C.animation.init(),C.slidesInView.init(),C.slideFocus.init(),C.eventHandler.init(pe),C.resizeHandler.init(pe),C.slidesHandler.init(pe),C.options.loop&&C.slideLooper.loop(),b.offsetParent&&T.length&&C.dragHandler.init(pe),S=s.init(pe,_)))}function R(X,V){const P=Ee();B(),D(c({startIndex:P},X),V),d.emit("reInit")}function B(){C.dragHandler.destroy(),C.eventStore.clear(),C.translate.clear(),C.slideLooper.clear(),C.resizeHandler.destroy(),C.slidesHandler.destroy(),C.slidesInView.destroy(),C.animation.destroy(),s.destroy(),l.clear()}function j(){v||(v=!0,l.clear(),B(),d.emit("destroy"),d.clear())}function te(X,V,P){!h.active||v||(C.scrollBody.useBaseFriction().useDuration(V===!0?0:h.duration),C.scrollTo.index(X,P||0))}function $e(X){const V=C.index.add(1).get();te(V,X,-1)}function J(X){const V=C.index.add(-1).get();te(V,X,1)}function ye(){return C.index.add(1).get()!==Ee()}function ce(){return C.index.add(-1).get()!==Ee()}function be(){return C.scrollSnapList}function Se(){return C.scrollProgress.get(C.location.get())}function Ee(){return C.index.get()}function se(){return C.indexPrevious.get()}function ue(){return C.slidesInView.get()}function ke(){return C.slidesInView.get(!1)}function De(){return S}function me(){return C}function ge(){return e}function le(){return b}function Le(){return T}const pe={canScrollNext:ye,canScrollPrev:ce,containerNode:le,internalEngine:me,destroy:j,off:y,on:m,emit:p,plugins:De,previousScrollSnap:se,reInit:g,rootNode:ge,scrollNext:$e,scrollPrev:J,scrollProgress:Se,scrollSnapList:be,scrollTo:te,selectedScrollSnap:Ee,slideNodes:Le,slidesInView:ue,slidesNotInView:ke};return D(t,n),setTimeout(()=>d.emit("init"),0),pe}dn.globalOptions=void 0;function Mr(e={},t=[]){const n=o.isRef(e),r=o.isRef(t);let a=n?e.value:e,i=r?t.value:t;const s=o.shallowRef(),l=o.shallowRef();function d(){l.value&&l.value.reInit(a,i)}return o.onMounted(()=>{!Nm()||!s.value||(dn.globalOptions=Mr.globalOptions,l.value=dn(s.value,a,i))}),o.onBeforeUnmount(()=>{l.value&&l.value.destroy()}),n&&o.watch(e,c=>{Lr(a,c)||(a=c,d())}),r&&o.watch(t,c=>{Sm(i,c)||(i=c,d())}),[s,l]}Mr.globalOptions=void 0;const np={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Rr(e={}){let t,n,r,a=!1,i=!0,s=!1,l=0;function d(_,S){n=_;const{mergeOptions:b,optionsAtMedia:T}=S,I=b(np,Rr.globalOptions),N=b(I,e);if(t=T(N),n.scrollSnapList().length<=1)return;s=t.jump,r=!1;const{eventStore:D,ownerDocument:R}=n.internalEngine(),B=n.rootNode(),j=t.rootNode&&t.rootNode(B)||B,te=n.containerNode();n.on("pointerDown",u),t.stopOnInteraction||n.on("pointerUp",f),t.stopOnMouseEnter&&(D.add(j,"mouseenter",()=>{i=!1,u()}),t.stopOnInteraction||D.add(j,"mouseleave",()=>{i=!0,f()})),t.stopOnFocusIn&&(D.add(te,"focusin",u),t.stopOnInteraction||D.add(te,"focusout",f)),D.add(R,"visibilitychange",m),t.playOnInit&&!y()&&f()}function c(){n.off("pointerDown",u).off("pointerUp",f),u(),r=!0,a=!1}function f(){if(r||!i)return;a||n.emit("autoplay:play");const{ownerWindow:_}=n.internalEngine();_.clearInterval(l),l=_.setInterval(w,t.delay),a=!0}function u(){if(r)return;a&&n.emit("autoplay:stop");const{ownerWindow:_}=n.internalEngine();_.clearInterval(l),l=0,a=!1}function m(){if(y())return i=a,u();i&&f()}function y(){const{ownerDocument:_}=n.internalEngine();return _.visibilityState==="hidden"}function p(_){typeof _<"u"&&(s=_),i=!0,f()}function g(){a&&u()}function v(){a&&p()}function C(){return a}function w(){const{index:_}=n.internalEngine(),S=_.clone().add(1).get(),b=n.scrollSnapList().length-1;t.stopOnLastSnap&&S===b&&u(),n.canScrollNext()?n.scrollNext(s):n.scrollTo(0,s)}return{name:"autoplay",options:e,init:d,destroy:c,play:p,stop:g,reset:v,isPlaying:C}}Rr.globalOptions=void 0;const rp={class:"embla__container"},Xi={__name:"Slider",props:{store:Object,options:Object,text:Object,user:Object},setup(e){const t=e;Sa();const n=o.ref([]),r=o.ref(!0),a=o.ref(0),i={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:c=>c.parentElement},[s,l]=Mr({loop:!0},[Rr(i)]),d=c=>a.value=l.value.selectedScrollSnap();return o.onMounted(async()=>{n.value=await t.store.read(t.options),r.value=!1,d(),l.value.on("reInit",d),l.value.on("select",d)}),(c,f)=>(o.openBlock(),o.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:s},[o.createElementVNode("div",rp,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(u,m,y)=>(o.openBlock(),o.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[o.createVNode(o.Transition,{name:"fade",mode:"out-in",appear:""},{default:o.withCtx(()=>[o.renderSlot(c.$slots,"default",{item:u,user:e.user})]),_:2},1024)]))),128))])],512))}},op=Object.freeze(Object.defineProperty({__proto__:null,default:Xi},Symbol.toStringTag,{value:"Module"})),ap={class:"pd-small error-wrapper"},ip={class:"flex-nowrap flex radius-small pd-small t-white bg-fourth"},sp={class:"w-100"},lp=o.createElementVNode("br",null,null,-1),Ji={__name:"Status",props:{status:String,message:String,show:Boolean,data:Object},emits:"close",setup(e,{emit:t}){const n=t;function r(){n("close")}return(a,i)=>(o.openBlock(),o.createElementBlock("div",ap,[o.createElementVNode("div",ip,[o.createElementVNode("p",sp,[o.createTextVNode(o.toDisplayString(e.data.message)+" ",1),lp]),o.createVNode(Er,{onClick:i[0]||(i[0]=s=>r()),class:"cursor-pointer hover-scale-1 i-regular z-index-5"})])]))}},dp=Object.freeze(Object.defineProperty({__proto__:null,default:Ji},Symbol.toStringTag,{value:"Module"})),cp={class:"marquee","aria-hidden":!0},Zi={__name:"Marquee",props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:[Array,String],default:()=>[255,255,255]},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(!1),i=o.ref(0),s=o.ref(0),l=o.ref(0),d=o.ref(null),c=o.ref("100%"),f=o.ref(0),u=o.ref(0),m=o.ref("100%"),y=o.ref(0),p=o.ref(0),g=o.ref("200px"),v=o.ref(!1),C=o.ref(null),w=o.ref(null),h=async()=>{await _(),i.value++},_=async()=>{n.vertical&&(v.value=!0),setInterval(()=>{if(c.value="0%",m.value="0%",C.value!==null&&w.value!==null)if(C.value&&w.value)if(n.vertical&&"clientHeight"in C.value&&"clientHeight"in w.value){p.value=C.value.clientHeight,y.value=w.value.clientHeight;const R=Math.ceil(y.value/p.value);return s.value=isFinite(R)?R:0,v.value=!1,s.value}else if(!n.vertical&&"clientWidth"in C.value&&"clientWidth"in w.value){u.value=C.value.clientWidth,f.value=w.value.clientWidth;const R=Math.ceil(f.value/u.value);return s.value=isFinite(R)?R:0,s.value}else return c.value="100%",m.value="100%",0;else return c.value="100%",m.value="100%",0;else return c.value="100%",m.value="100%",0},100)},S=()=>{n.pauseOnHover&&r("onPause")},b=()=>{n.pauseOnHover&&r("onResume")},T=()=>{n.pauseOnClick&&r("onPause")},I=()=>{n.pauseOnClick&&r("onResume")},N=o.computed(()=>({"--loops":`${n.loop===0?"infinite":n.loop}`,"--duration":`${n.duration}s`,"--delay":`${n.delay}s`,"--direction":`${n.direction}`,"--pauseOnHover":`${n.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${n.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${n.vertical&&v.value||n.pause?"paused":"running"}`,"--gradient-color":`rgba(${n.gradientColor}, 1), rgba(${n.gradientColor}, 0)`,"--gradient-length":`${g.value}`,"--min-width":`${c.value}`,"--min-height":`${m.value}`,"--orientation":n.vertical?"scrollY":"scrollX"})),D=async()=>{n.vertical?(m.value="100%",c.value="auto"):(m.value="auto",c.value="100%"),n.gradient&&n.gradientLength&&(g.value=n.gradientLength),n.clone&&(await _(),h()),a.value=!0};return o.onMounted(async()=>{D(),d.value=setInterval(()=>{l.value++,n.loop!==0&&l.value===n.loop&&(r("onComplete"),clearInterval(d.value)),r("onLoopComplete")},n.duration*1e3)}),o.onBeforeUnmount(()=>{clearInterval(d.value)}),o.watch(u,async()=>{n.clone&&h()}),o.watch(f,async()=>{n.clone&&h()}),o.watch(()=>n.pause,(R,B)=>{R!==B&&r(R?"onResume":"onPause")}),(R,B)=>a.value?(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue3-marquee",{vertical:e.vertical,horizontal:!e.vertical}]),style:o.normalizeStyle(N.value),key:i.value,onMouseenter:S,onMouseleave:b,onMousedown:T,onMouseup:I},[o.createElementVNode("div",{class:o.normalizeClass(["transparent-overlay",{vertical:e.vertical,horizontal:!e.vertical,overlay:e.gradient}]),ref_key:"marqueeOverlayContainer",ref:w,"aria-hidden":!0},null,2),o.createElementVNode("div",{class:"marquee",ref_key:"marqueeContent",ref:C},[o.renderSlot(R.$slots,"default")],512),o.createElementVNode("div",cp,[o.renderSlot(R.$slots,"default")]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,j=>(o.openBlock(),o.createElementBlock("div",{key:j,"aria-hidden":!0,class:"marquee cloned"},[o.renderSlot(R.$slots,"default")]))),128))],38)):o.createCommentVNode("",!0)}},up=Object.freeze(Object.defineProperty({__proto__:null,default:Zi},Symbol.toStringTag,{value:"Module"})),fp={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>ds)),e.component("Button",()=>Promise.resolve().then(()=>Cs)),e.component("Checkbox",()=>Promise.resolve().then(()=>Os)),e.component("Dropdown",()=>Promise.resolve().then(()=>Ls)),e.component("Error",()=>Promise.resolve().then(()=>As)),e.component("Field",()=>Promise.resolve().then(()=>Us)),e.component("FieldPhone",()=>Promise.resolve().then(()=>rc)),e.component("LocationMarker",()=>Promise.resolve().then(()=>dc)),e.component("Map",()=>Promise.resolve().then(()=>uc)),e.component("Popup",()=>Promise.resolve().then(()=>h0)),e.component("Radio",()=>Promise.resolve().then(()=>b0)),e.component("Select",()=>Promise.resolve().then(()=>O0)),e.component("SelectMulti",()=>Promise.resolve().then(()=>Z0)),e.component("Spoiler",()=>Promise.resolve().then(()=>ef)),e.component("Tab",()=>Promise.resolve().then(()=>of)),e.component("Tooltip",()=>Promise.resolve().then(()=>af)),e.component("Text",()=>Promise.resolve().then(()=>lf)),e.component("Upload",()=>Promise.resolve().then(()=>H1)),e.component("UploadImage",()=>Promise.resolve().then(()=>Y1)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>a2)),e.component("Breadcrumbs",()=>Promise.resolve().then(()=>p2)),e.component("Chips",()=>Promise.resolve().then(()=>v2)),e.component("Countdown",()=>Promise.resolve().then(()=>M2)),e.component("DatePicker",()=>Promise.resolve().then(()=>B2)),e.component("EmptyState",()=>Promise.resolve().then(()=>U2)),e.component("Feed",()=>Promise.resolve().then(()=>U3)),e.component("FieldBig",()=>Promise.resolve().then(()=>W3)),e.component("FieldTags",()=>Promise.resolve().then(()=>bm)),e.component("Loader",()=>Promise.resolve().then(()=>$s)),e.component("Shader",()=>Promise.resolve().then(()=>_m)),e.component("Slider",()=>Promise.resolve().then(()=>op)),e.component("Status",()=>Promise.resolve().then(()=>dp)),e.component("Marquee",()=>Promise.resolve().then(()=>up))}};exports.Address=ma;exports.Breadcrumbs=Bi;exports.Button=pa;exports.Checkbox=lr;exports.Chips=xi;exports.Countdown=Vi;exports.DatePicker=Ui;exports.Dropdown=Qt;exports.EmptyState=kr;exports.Error=ha;exports.Feed=ji;exports.Field=cn;exports.FieldBig=Hi;exports.FieldPhone=_a;exports.FieldTags=Ki;exports.Loader=Nt;exports.LocationMarker=Ca;exports.Map=Na;exports.Marquee=Zi;exports.Popup=oi;exports.Radio=_r;exports.Select=ai;exports.SelectMulti=si;exports.Shader=Wi;exports.Slider=Xi;exports.Spoiler=Cr;exports.Status=Ji;exports.Tab=li;exports.Text=ci;exports.Tooltip=di;exports.Upload=Mi;exports.UploadImage=Ri;exports.UploadImageMultiple=Fi;exports.default=fp;
|
92
|
+
`;function i(c,m,y){const p=c.createShader(m);return c.shaderSource(p,y),c.compileShader(p),c.getShaderParameter(p,c.COMPILE_STATUS)?p:(alert("An error occurred compiling the shaders: "+c.getShaderInfoLog(p)),c.deleteShader(p),null)}const s=i(n,n.VERTEX_SHADER,r),l=i(n,n.FRAGMENT_SHADER,a),d=n.createProgram();n.attachShader(d,s),n.attachShader(d,l),n.linkProgram(d),n.getProgramParameter(d,n.LINK_STATUS)||alert("Unable to initialize the shader program: "+n.getProgramInfoLog(d));function u(c){const m=c.clientWidth*window.devicePixelRatio,y=c.clientHeight*window.devicePixelRatio;return c.width!==m||c.height!==y?(c.width=m,c.height=y,!0):!1}function f(){u(n.canvas)&&n.viewport(0,0,n.canvas.width,n.canvas.height),n.clearColor(0,0,0,1),n.clearDepth(1),n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.useProgram(d);const c=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,c);const m=[-1,1,1,1,-1,-1,1,-1];n.bufferData(n.ARRAY_BUFFER,new Float32Array(m),n.STATIC_DRAW);const y=n.getAttribLocation(d,"aVertexPosition");n.vertexAttribPointer(y,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(y);var p=n.getUniformLocation(d,"iTime"),h=n.getUniformLocation(d,"iResolution");n.uniform1f(p,performance.now()/3e3),n.uniform2f(h,n.canvas.width,n.canvas.height),n.drawArrays(n.TRIANGLE_STRIP,0,4),requestAnimationFrame(f)}requestAnimationFrame(f)}),(t,n)=>(o.openBlock(),o.createElementBlock("canvas",om,null,512))}},am=Object.freeze(Object.defineProperty({__proto__:null,default:Wi},Symbol.toStringTag,{value:"Module"}));function im(e){return Object.prototype.toString.call(e)==="[object Object]"}function da(e){return im(e)||Array.isArray(e)}function sm(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ir(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const a=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return a!==i?!1:n.every(s=>{const l=e[s],d=t[s];return typeof l=="function"?`${l}`==`${d}`:!da(l)||!da(d)?l===d:Ir(l,d)})}function ua(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function lm(e,t){if(e.length!==t.length)return!1;const n=ua(e),r=ua(t);return n.every((a,i)=>{const s=r[i];return Ir(a,s)})}function Pr(e){return typeof e=="number"}function ir(e){return typeof e=="string"}function Cn(e){return typeof e=="boolean"}function ca(e){return Object.prototype.toString.call(e)==="[object Object]"}function ie(e){return Math.abs(e)}function Ar(e){return Math.sign(e)}function At(e,t){return ie(e-t)}function dm(e,t){if(e===0||t===0||ie(e)<=ie(t))return 0;const n=At(ie(e),ie(t));return ie(n/e)}function Vt(e){return Ut(e).map(Number)}function He(e){return e[Kt(e)]}function Kt(e){return Math.max(0,e.length-1)}function Dr(e,t){return t===Kt(e)}function fa(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Ut(e){return Object.keys(e)}function zi(e,t){return[e,t].reduce((n,r)=>(Ut(r).forEach(a=>{const i=n[a],s=r[a],l=ca(i)&&ca(s);n[a]=l?zi(i,s):s}),n),{})}function sr(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function um(e,t){const n={start:r,center:a,end:i};function r(){return 0}function a(d){return i(d)/2}function i(d){return t-d}function s(d,u){return ir(e)?n[e](d):e(t,d,u)}return{measure:s}}function jt(){let e=[];function t(a,i,s,l={passive:!0}){let d;if("addEventListener"in a)a.addEventListener(i,s,l),d=()=>a.removeEventListener(i,s,l);else{const u=a;u.addListener(s),d=()=>u.removeListener(s)}return e.push(d),r}function n(){e=e.filter(a=>a())}const r={add:t,clear:n};return r}function cm(e,t,n,r){const a=jt(),i=1e3/60;let s=null,l=0,d=0;function u(){a.add(e,"visibilitychange",()=>{e.hidden&&p()})}function f(){y(),a.clear()}function c(v){if(!d)return;s||(s=v);const b=v-s;for(s=v,l+=b;l>=i;)n(i),l-=i;const T=l/i;r(T),d&&t.requestAnimationFrame(c)}function m(){d||(d=t.requestAnimationFrame(c))}function y(){t.cancelAnimationFrame(d),s=null,l=0,d=0}function p(){s=null,l=0}return{init:u,destroy:f,start:m,stop:y,update:()=>n(i),render:r}}function fm(e,t){const n=t==="rtl",r=e==="y",a=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,l=f(),d=c();function u(p){const{height:h,width:v}=p;return r?h:v}function f(){return r?"top":n?"right":"left"}function c(){return r?"bottom":n?"left":"right"}function m(p){return p*s}return{scroll:a,cross:i,startEdge:l,endEdge:d,measureSize:u,direction:m}}function ht(e=0,t=0){const n=ie(e-t);function r(u){return u<e}function a(u){return u>t}function i(u){return r(u)||a(u)}function s(u){return i(u)?r(u)?e:t:u}function l(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:s,reachedAny:i,reachedMax:a,reachedMin:r,removeOffset:l}}function Yi(e,t,n){const{constrain:r}=ht(0,e),a=e+1;let i=s(t);function s(m){return n?ie((a+m)%a):r(m)}function l(){return i}function d(m){return i=s(m),c}function u(m){return f().set(l()+m)}function f(){return Yi(e,l(),n)}const c={get:l,set:d,add:u,clone:f};return c}function mm(e,t,n,r,a,i,s,l,d,u,f,c,m,y,p,h,v,b,T){const{cross:g,direction:C}=e,N=["INPUT","SELECT","TEXTAREA"],_={passive:!1},O=jt(),I=jt(),S=ht(50,225).constrain(y.measure(20)),D={mouse:300,touch:400},R={mouse:500,touch:600},B=p?43:25;let j=!1,oe=0,me=0,Q=!1,_e=!1,se=!1,be=!1;function Ae(V){if(!T)return;function P(F){(Cn(T)||T(V,F))&&Me(F)}const w=t;O.add(w,"dragstart",F=>F.preventDefault(),_).add(w,"touchmove",()=>{},_).add(w,"touchend",()=>{}).add(w,"touchstart",P).add(w,"mousedown",P).add(w,"touchcancel",de).add(w,"contextmenu",de).add(w,"click",Ee,!0)}function $e(){O.clear(),I.clear()}function le(){const V=be?n:t;I.add(V,"touchmove",ce,_).add(V,"touchend",de).add(V,"mousemove",ce,_).add(V,"mouseup",de)}function ge(V){const P=V.nodeName||"";return N.includes(P)}function ve(){return(p?R:D)[be?"mouse":"touch"]}function De(V,P){const w=c.add(Ar(V)*-1),F=f.byDistance(V,!p).distance;return p||ie(V)<S?F:v&&P?F*.5:f.byIndex(w.get(),0).distance}function Me(V){const P=sr(V,r);be=P,se=p&&P&&!V.buttons&&j,j=At(a.get(),s.get())>=2,!(P&&V.button!==0)&&(ge(V.target)||(Q=!0,i.pointerDown(V),u.useFriction(0).useDuration(0),a.set(s),le(),oe=i.readPoint(V),me=i.readPoint(V,g),m.emit("pointerDown")))}function ce(V){if(!sr(V,r)&&V.touches.length>=2)return de(V);const w=i.readPoint(V),F=i.readPoint(V,g),z=At(w,oe),re=At(F,me);if(!_e&&!be&&(!V.cancelable||(_e=z>re,!_e)))return de(V);const he=i.pointerMove(V);z>h&&(se=!0),u.useFriction(.3).useDuration(.75),l.start(),a.add(C(he)),V.preventDefault()}function de(V){const w=f.byDistance(0,!1).index!==c.get(),F=i.pointerUp(V)*ve(),z=De(C(F),w),re=dm(F,z),he=B-10*re,Se=b+re/50;_e=!1,Q=!1,I.clear(),u.useDuration(he).useFriction(Se),d.distance(z,!p),be=!1,m.emit("pointerUp")}function Ee(V){se&&(V.stopPropagation(),V.preventDefault(),se=!1)}function fe(){return Q}return{init:Ae,destroy:$e,pointerDown:fe}}function pm(e,t){let r,a;function i(c){return c.timeStamp}function s(c,m){const p=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(sr(c,t)?c:c.touches[0])[p]}function l(c){return r=c,a=c,s(c)}function d(c){const m=s(c)-s(a),y=i(c)-i(r)>170;return a=c,y&&(r=c),m}function u(c){if(!r||!a)return 0;const m=s(a)-s(r),y=i(c)-i(r),p=i(c)-i(a)>170,h=m/y;return y&&!p&&ie(h)>.1?h:0}return{pointerDown:l,pointerMove:d,pointerUp:u,readPoint:s}}function hm(){function e(n){const{offsetTop:r,offsetLeft:a,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:a+i,bottom:r+s,left:a,width:i,height:s}}return{measure:e}}function $m(e){function t(r){return e*(r/100)}return{measure:t}}function gm(e,t,n,r,a,i,s){const l=[e].concat(r);let d,u,f=[],c=!1;function m(v){return a.measureSize(s.measure(v))}function y(v){if(!i)return;u=m(e),f=r.map(m);function b(T){for(const g of T){if(c)return;const C=g.target===e,N=r.indexOf(g.target),_=C?u:f[N],O=m(C?e:r[N]);if(ie(O-_)>=.5){v.reInit(),t.emit("resize");break}}}d=new ResizeObserver(T=>{(Cn(i)||i(v,T))&&b(T)}),n.requestAnimationFrame(()=>{l.forEach(T=>d.observe(T))})}function p(){c=!0,d&&d.disconnect()}return{init:y,destroy:p}}function vm(e,t,n,r,a,i){let s=0,l=0,d=a,u=i,f=e.get(),c=0;function m(_){const O=_/1e3,I=d*O,S=r.get()-e.get(),D=!d;let R=0;return D?(s=0,n.set(r),e.set(r),R=S):(n.set(e),s+=S/I,s*=u,f+=s,e.add(s*O),R=f-c),l=Ar(R),c=f,N}function y(){const _=r.get()-t.get();return ie(_)<.001}function p(){return d}function h(){return l}function v(){return s}function b(){return g(a)}function T(){return C(i)}function g(_){return d=_,N}function C(_){return u=_,N}const N={direction:h,duration:p,velocity:v,seek:m,settled:y,useBaseFriction:T,useBaseDuration:b,useFriction:C,useDuration:g};return N}function ym(e,t,n,r,a){const i=a.measure(10),s=a.measure(50),l=ht(.1,.99);let d=!1;function u(){return!(d||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function f(y){if(!u())return;const p=e.reachedMin(t.get())?"min":"max",h=ie(e[p]-t.get()),v=n.get()-t.get(),b=l.constrain(h/s);n.subtract(v*b),!y&&ie(v)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function c(y){d=!y}return{shouldConstrain:u,constrain:f,toggleActive:c}}function bm(e,t,n,r,a){const i=ht(-t+e,0),s=c(),l=f(),d=m();function u(p,h){return At(p,h)<1}function f(){const p=s[0],h=He(s),v=s.lastIndexOf(p),b=s.indexOf(h)+1;return ht(v,b)}function c(){return n.map((p,h)=>{const{min:v,max:b}=i,T=i.constrain(p),g=!h,C=Dr(n,h);return g?b:C||u(v,T)?v:u(b,T)?b:T}).map(p=>parseFloat(p.toFixed(3)))}function m(){if(t<=e+a)return[i.max];if(r==="keepSnaps")return s;const{min:p,max:h}=l;return s.slice(p,h)}return{snapsContained:d,scrollContainLimit:l}}function Em(e,t,n){const r=t[0],a=n?r-e:He(t);return{limit:ht(a,r)}}function _m(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:l,reachedMax:d}=ht(i,s);function u(m){return m===1?d(n.get()):m===-1?l(n.get()):!1}function f(m){if(!u(m))return;const y=e*(m*-1);r.forEach(p=>p.add(y))}return{loop:f}}function Cm(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function Nm(e,t,n,r,a){const{startEdge:i,endEdge:s}=e,{groupSlides:l}=a,d=c().map(t.measure),u=m(),f=y();function c(){return l(r).map(h=>He(h)[s]-h[0][i]).map(ie)}function m(){return r.map(h=>n[i]-h[i]).map(h=>-ie(h))}function y(){return l(u).map(h=>h[0]).map((h,v)=>h+d[v])}return{snaps:u,snapsAligned:f}}function Sm(e,t,n,r,a,i){const{groupSlides:s}=a,{min:l,max:d}=r,u=f();function f(){const m=s(i),y=!e||t==="keepSnaps";return n.length===1?[i]:y?m:m.slice(l,d).map((p,h,v)=>{const b=!h,T=Dr(v,h);if(b){const g=He(v[0])+1;return fa(g)}if(T){const g=Kt(i)-He(v)[0]+1;return fa(g,He(v)[0])}return p})}return{slideRegistry:u}}function Tm(e,t,n,r,a){const{reachedAny:i,removeOffset:s,constrain:l}=r;function d(p){return p.concat().sort((h,v)=>ie(h)-ie(v))[0]}function u(p){const h=e?s(p):l(p),v=t.map((T,g)=>({diff:f(T-h,0),index:g})).sort((T,g)=>ie(T.diff)-ie(g.diff)),{index:b}=v[0];return{index:b,distance:h}}function f(p,h){const v=[p,p+n,p-n];if(!e)return p;if(!h)return d(v);const b=v.filter(T=>Ar(T)===h);return b.length?d(b):He(v)-n}function c(p,h){const v=t[p]-a.get(),b=f(v,h);return{index:p,distance:b}}function m(p,h){const v=a.get()+p,{index:b,distance:T}=u(v),g=!e&&i(v);if(!h||g)return{index:b,distance:p};const C=t[b]-T,N=p+f(C,0);return{index:b,distance:N}}return{byDistance:m,byIndex:c,shortcut:f}}function Om(e,t,n,r,a,i,s){function l(c){const m=c.distance,y=c.index!==t.get();i.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),y&&(n.set(t.get()),t.set(c.index),s.emit("select"))}function d(c,m){const y=a.byDistance(c,m);l(y)}function u(c,m){const y=t.clone().set(c),p=a.byIndex(y.get(),m);l(p)}return{distance:d,index:u}}function wm(e,t,n,r,a,i,s,l){const d={passive:!0,capture:!0};let u=0;function f(y){if(!l)return;function p(h){if(new Date().getTime()-u>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const T=n.findIndex(g=>g.includes(h));Pr(T)&&(a.useDuration(0),r.index(T,0),s.emit("slideFocus"))}i.add(document,"keydown",c,!1),t.forEach((h,v)=>{i.add(h,"focus",b=>{(Cn(l)||l(y,b))&&p(v)},d)})}function c(y){y.code==="Tab"&&(u=new Date().getTime())}return{init:f}}function Pt(e){let t=e;function n(){return t}function r(d){t=s(d)}function a(d){t+=s(d)}function i(d){t-=s(d)}function s(d){return Pr(d)?d:d.get()}return{get:n,set:r,add:a,subtract:i}}function qi(e,t){const n=e.scroll==="x"?i:s,r=t.style;let a=!1;function i(c){return`translate3d(${c}px,0px,0px)`}function s(c){return`translate3d(0px,${c}px,0px)`}function l(c){a||(r.transform=n(e.direction(c)))}function d(c){a=!c}function u(){a||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:l,toggleActive:d}}function km(e,t,n,r,a,i,s,l,d){const f=Vt(a),c=Vt(a).reverse(),m=b().concat(T());function y(O,I){return O.reduce((S,D)=>S-a[D],I)}function p(O,I){return O.reduce((S,D)=>y(S,I)>0?S.concat([D]):S,[])}function h(O){return i.map((I,S)=>({start:I-r[S]+.5+O,end:I+t-.5+O}))}function v(O,I,S){const D=h(I);return O.map(R=>{const B=S?0:-n,j=S?n:0,oe=S?"end":"start",me=D[R][oe];return{index:R,loopPoint:me,slideLocation:Pt(-1),translate:qi(e,d[R]),target:()=>l.get()>me?B:j}})}function b(){const O=s[0],I=p(c,O);return v(I,n,!1)}function T(){const O=t-s[0]-1,I=p(f,O);return v(I,-n,!0)}function g(){return m.every(({index:O})=>{const I=f.filter(S=>S!==O);return y(I,t)<=.1})}function C(){m.forEach(O=>{const{target:I,translate:S,slideLocation:D}=O,R=I();R!==D.get()&&(S.to(R),D.set(R))})}function N(){m.forEach(O=>O.translate.clear())}return{canLoop:g,clear:N,loop:C,loopPoints:m}}function Lm(e,t,n){let r,a=!1;function i(d){if(!n)return;function u(f){for(const c of f)if(c.type==="childList"){d.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(f=>{a||(Cn(n)||n(d,f))&&u(f)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),a=!0}return{init:i,destroy:s}}function Im(e,t,n,r){const a={};let i=null,s=null,l,d=!1;function u(){l=new IntersectionObserver(p=>{d||(p.forEach(h=>{const v=t.indexOf(h.target);a[v]=h}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(p=>l.observe(p))}function f(){l&&l.disconnect(),d=!0}function c(p){return Ut(a).reduce((h,v)=>{const b=parseInt(v),{isIntersecting:T}=a[b];return(p&&T||!p&&!T)&&h.push(b),h},[])}function m(p=!0){if(p&&i)return i;if(!p&&s)return s;const h=c(p);return p&&(i=h),p||(s=h),h}return{init:u,destroy:f,get:m}}function Pm(e,t,n,r,a,i){const{measureSize:s,startEdge:l,endEdge:d}=e,u=n[0]&&a,f=p(),c=h(),m=n.map(s),y=v();function p(){if(!u)return 0;const T=n[0];return ie(t[l]-T[l])}function h(){if(!u)return 0;const T=i.getComputedStyle(He(r));return parseFloat(T.getPropertyValue(`margin-${d}`))}function v(){return n.map((T,g,C)=>{const N=!g,_=Dr(C,g);return N?m[g]+f:_?m[g]+c:C[g+1][l]-T[l]}).map(ie)}return{slideSizes:m,slideSizesWithGaps:y,startGap:f,endGap:c}}function Am(e,t,n,r,a,i,s,l,d){const{startEdge:u,endEdge:f,direction:c}=e,m=Pr(n);function y(b,T){return Vt(b).filter(g=>g%T===0).map(g=>b.slice(g,g+T))}function p(b){return b.length?Vt(b).reduce((T,g,C)=>{const N=He(T)||0,_=N===0,O=g===Kt(b),I=a[u]-i[N][u],S=a[u]-i[g][f],D=!r&&_?c(s):0,R=!r&&O?c(l):0,B=ie(S-R-(I+D));return C&&B>t+d&&T.push(g),O&&T.push(b.length),T},[]).map((T,g,C)=>{const N=Math.max(C[g-1]||0);return b.slice(N,T)}):[]}function h(b){return m?y(b,n):p(b)}return{groupSlides:h}}function Dm(e,t,n,r,a,i,s){const{align:l,axis:d,direction:u,startIndex:f,loop:c,duration:m,dragFree:y,dragThreshold:p,inViewThreshold:h,slidesToScroll:v,skipSnaps:b,containScroll:T,watchResize:g,watchSlides:C,watchDrag:N,watchFocus:_}=i,O=2,I=hm(),S=I.measure(t),D=n.map(I.measure),R=fm(d,u),B=R.measureSize(S),j=$m(B),oe=um(l,B),me=!c&&!!T,Q=c||!!T,{slideSizes:_e,slideSizesWithGaps:se,startGap:be,endGap:Ae}=Pm(R,S,D,n,Q,a),$e=Am(R,B,v,c,S,D,be,Ae,O),{snaps:le,snapsAligned:ge}=Nm(R,oe,S,D,$e),ve=-He(le)+He(se),{snapsContained:De,scrollContainLimit:Me}=bm(B,ve,ge,T,O),ce=me?De:ge,{limit:de}=Em(ve,ce,c),Ee=Yi(Kt(ce),f,c),fe=Ee.clone(),Y=Vt(n),V=({dragHandler:Z,scrollBody:Be,scrollBounds:nt,options:{loop:Ve}},Ue)=>{Ve||nt.constrain(Z.pointerDown()),Be.seek(Ue)},P=({scrollBody:Z,translate:Be,location:nt,offsetLocation:Ve,scrollLooper:Ue,slideLooper:Nn,dragHandler:Wt,animation:Qi,eventHandler:Fr,scrollBounds:es,options:{loop:Br}},xr)=>{const Vr=Z.settled(),ts=!es.shouldConstrain(),Ur=Br?Vr:Vr&&ts;Ur&&!Wt.pointerDown()&&(Qi.stop(),Fr.emit("settle")),Ur||Fr.emit("scroll");const ns=nt.get()*xr+he.get()*(1-xr);Ve.set(ns),Br&&(Ue.loop(Z.direction()),Nn.loop()),Be.to(Ve.get())},w=cm(r,a,Z=>V(W,Z),Z=>P(W,Z)),F=.68,z=ce[Ee.get()],re=Pt(z),he=Pt(z),Se=Pt(z),$=Pt(z),E=vm(re,Se,he,$,m,F),A=Tm(c,ce,ve,de,$),U=Om(w,Ee,fe,E,A,$,s),ee=Cm(de),J=jt(),q=Im(t,n,s,h),{slideRegistry:L}=Sm(me,T,ce,Me,$e,Y),M=wm(e,n,L,U,E,J,s,_),W={ownerDocument:r,ownerWindow:a,eventHandler:s,containerRect:S,slideRects:D,animation:w,axis:R,dragHandler:mm(R,e,r,a,$,pm(R,a),re,w,U,E,A,Ee,s,j,y,p,b,F,N),eventStore:J,percentOfView:j,index:Ee,indexPrevious:fe,limit:de,location:re,offsetLocation:Se,previousLocation:he,options:i,resizeHandler:gm(t,s,a,n,R,g,I),scrollBody:E,scrollBounds:ym(de,Se,$,E,j),scrollLooper:_m(ve,de,Se,[re,Se,he,$]),scrollProgress:ee,scrollSnapList:ce.map(ee.get),scrollSnaps:ce,scrollTarget:A,scrollTo:U,slideLooper:km(R,B,ve,_e,se,le,ce,Se,n),slideFocus:M,slidesHandler:Lm(t,s,C),slidesInView:q,slideIndexes:Y,slideRegistry:L,slidesToScroll:$e,target:$,translate:qi(R,t)};return W}function Mm(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function a(u){return r(u).forEach(f=>f(t,u)),d}function i(u,f){return e[u]=r(u).concat([f]),d}function s(u,f){return e[u]=r(u).filter(c=>c!==f),d}function l(){e={}}const d={init:n,emit:a,off:s,on:i,clear:l};return d}const Rm={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Fm(e){function t(i,s){return zi(i,s||{})}function n(i){const s=i.breakpoints||{},l=Ut(s).filter(d=>e.matchMedia(d).matches).map(d=>s[d]).reduce((d,u)=>t(d,u),{});return t(i,l)}function r(i){return i.map(s=>Ut(s.breakpoints||{})).reduce((s,l)=>s.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Bm(e){let t=[];function n(i,s){return t=s.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(i,e)),s.reduce((l,d)=>Object.assign(l,{[d.name]:d}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function dn(e,t,n){const r=e.ownerDocument,a=r.defaultView,i=Fm(a),s=Bm(i),l=jt(),d=Mm(),{mergeOptions:u,optionsAtMedia:f,optionsMediaQueries:c}=i,{on:m,off:y,emit:p}=d,h=R;let v=!1,b,T=u(Rm,dn.globalOptions),g=u(T),C=[],N,_,O;function I(){const{container:Y,slides:V}=g;_=(ir(Y)?e.querySelector(Y):Y)||e.children[0];const w=ir(V)?_.querySelectorAll(V):V;O=[].slice.call(w||_.children)}function S(Y){const V=Dm(e,_,O,r,a,Y,d);if(Y.loop&&!V.slideLooper.canLoop()){const P=Object.assign({},Y,{loop:!1});return S(P)}return V}function D(Y,V){v||(T=u(T,Y),g=f(T),C=V||C,I(),b=S(g),c([T,...C.map(({options:P})=>P)]).forEach(P=>l.add(P,"change",R)),g.active&&(b.translate.to(b.location.get()),b.animation.init(),b.slidesInView.init(),b.slideFocus.init(fe),b.eventHandler.init(fe),b.resizeHandler.init(fe),b.slidesHandler.init(fe),b.options.loop&&b.slideLooper.loop(),_.offsetParent&&O.length&&b.dragHandler.init(fe),N=s.init(fe,C)))}function R(Y,V){const P=$e();B(),D(u({startIndex:P},Y),V),d.emit("reInit")}function B(){b.dragHandler.destroy(),b.eventStore.clear(),b.translate.clear(),b.slideLooper.clear(),b.resizeHandler.destroy(),b.slidesHandler.destroy(),b.slidesInView.destroy(),b.animation.destroy(),s.destroy(),l.clear()}function j(){v||(v=!0,l.clear(),B(),d.emit("destroy"),d.clear())}function oe(Y,V,P){!g.active||v||(b.scrollBody.useBaseFriction().useDuration(V===!0?0:g.duration),b.scrollTo.index(Y,P||0))}function me(Y){const V=b.index.add(1).get();oe(V,Y,-1)}function Q(Y){const V=b.index.add(-1).get();oe(V,Y,1)}function _e(){return b.index.add(1).get()!==$e()}function se(){return b.index.add(-1).get()!==$e()}function be(){return b.scrollSnapList}function Ae(){return b.scrollProgress.get(b.location.get())}function $e(){return b.index.get()}function le(){return b.indexPrevious.get()}function ge(){return b.slidesInView.get()}function ve(){return b.slidesInView.get(!1)}function De(){return N}function Me(){return b}function ce(){return e}function de(){return _}function Ee(){return O}const fe={canScrollNext:_e,canScrollPrev:se,containerNode:de,internalEngine:Me,destroy:j,off:y,on:m,emit:p,plugins:De,previousScrollSnap:le,reInit:h,rootNode:ce,scrollNext:me,scrollPrev:Q,scrollProgress:Ae,scrollSnapList:be,scrollTo:oe,selectedScrollSnap:$e,slideNodes:Ee,slidesInView:ge,slidesNotInView:ve};return D(t,n),setTimeout(()=>d.emit("init"),0),fe}dn.globalOptions=void 0;function Mr(e={},t=[]){const n=o.isRef(e),r=o.isRef(t);let a=n?e.value:e,i=r?t.value:t;const s=o.shallowRef(),l=o.shallowRef();function d(){l.value&&l.value.reInit(a,i)}return o.onMounted(()=>{!sm()||!s.value||(dn.globalOptions=Mr.globalOptions,l.value=dn(s.value,a,i))}),o.onBeforeUnmount(()=>{l.value&&l.value.destroy()}),n&&o.watch(e,u=>{Ir(a,u)||(a=u,d())}),r&&o.watch(t,u=>{lm(i,u)||(i=u,d())}),[s,l]}Mr.globalOptions=void 0;const xm={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function Rr(e={}){let t,n,r,a=!1,i=!0,s=!1,l=0;function d(C,N){n=C;const{mergeOptions:_,optionsAtMedia:O}=N,I=_(xm,Rr.globalOptions),S=_(I,e);if(t=O(S),n.scrollSnapList().length<=1)return;s=t.jump,r=!1;const{eventStore:D,ownerDocument:R}=n.internalEngine(),B=n.rootNode(),j=t.rootNode&&t.rootNode(B)||B,oe=n.containerNode();n.on("pointerDown",c),t.stopOnInteraction||n.on("pointerUp",f),t.stopOnMouseEnter&&(D.add(j,"mouseenter",()=>{i=!1,c()}),t.stopOnInteraction||D.add(j,"mouseleave",()=>{i=!0,f()})),t.stopOnFocusIn&&(n.on("slideFocusStart",c),t.stopOnInteraction||D.add(oe,"focusout",f)),D.add(R,"visibilitychange",m),t.playOnInit&&!y()&&f()}function u(){n.off("pointerDown",c).off("pointerUp",f).off("slideFocusStart",c),c(),r=!0,a=!1}function f(){if(r||!i)return;a||n.emit("autoplay:play");const{ownerWindow:C}=n.internalEngine();C.clearInterval(l),l=C.setInterval(T,t.delay),a=!0}function c(){if(r)return;a&&n.emit("autoplay:stop");const{ownerWindow:C}=n.internalEngine();C.clearInterval(l),l=0,a=!1}function m(){if(y())return i=a,c();i&&f()}function y(){const{ownerDocument:C}=n.internalEngine();return C.visibilityState==="hidden"}function p(C){typeof C<"u"&&(s=C),i=!0,f()}function h(){a&&c()}function v(){a&&p()}function b(){return a}function T(){const{index:C}=n.internalEngine(),N=C.clone().add(1).get(),_=n.scrollSnapList().length-1;t.stopOnLastSnap&&N===_&&c(),n.canScrollNext()?n.scrollNext(s):n.scrollTo(0,s)}return{name:"autoplay",options:e,init:d,destroy:u,play:p,stop:h,reset:v,isPlaying:b}}Rr.globalOptions=void 0;const Vm={class:"embla__container"},Xi={__name:"Slider",props:{store:Object,options:Object,text:Object,user:Object},setup(e){const t=e;Sa();const n=o.ref([]),r=o.ref(!0),a=o.ref(0),i={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:u=>u.parentElement},[s,l]=Mr({loop:!0},[Rr(i)]),d=u=>a.value=l.value.selectedScrollSnap();return o.onMounted(async()=>{n.value=await t.store.read(t.options),r.value=!1,d(),l.value.on("reInit",d),l.value.on("select",d)}),(u,f)=>(o.openBlock(),o.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:s},[o.createElementVNode("div",Vm,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(c,m,y)=>(o.openBlock(),o.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[o.createVNode(o.Transition,{name:"fade",mode:"out-in",appear:""},{default:o.withCtx(()=>[o.renderSlot(u.$slots,"default",{item:c,user:e.user})]),_:2},1024)]))),128))])],512))}},Um=Object.freeze(Object.defineProperty({__proto__:null,default:Xi},Symbol.toStringTag,{value:"Module"})),jm={class:"pd-small error-wrapper"},Hm={class:"flex-nowrap flex radius-small pd-small t-white bg-fourth"},Gm={class:"w-100"},Ji={__name:"Status",props:{status:String,message:String,show:Boolean,data:Object},emits:"close",setup(e,{emit:t}){const n=t;function r(){n("close")}return(a,i)=>(o.openBlock(),o.createElementBlock("div",jm,[o.createElementVNode("div",Hm,[o.createElementVNode("p",Gm,[o.createTextVNode(o.toDisplayString(e.data.message)+" ",1),i[1]||(i[1]=o.createElementVNode("br",null,null,-1))]),o.createVNode(_r,{onClick:i[0]||(i[0]=s=>r()),class:"cursor-pointer hover-scale-1 i-regular z-index-5"})])]))}},Km=Object.freeze(Object.defineProperty({__proto__:null,default:Ji},Symbol.toStringTag,{value:"Module"})),Wm={class:"marquee","aria-hidden":!0},Zi={__name:"Marquee",props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:[Array,String],default:()=>[255,255,255]},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(e,{emit:t}){const n=e,r=t,a=o.ref(!1),i=o.ref(0),s=o.ref(0),l=o.ref(0),d=o.ref(null),u=o.ref("100%"),f=o.ref(0),c=o.ref(0),m=o.ref("100%"),y=o.ref(0),p=o.ref(0),h=o.ref("200px"),v=o.ref(!1),b=o.ref(null),T=o.ref(null),g=async()=>{await C(),i.value++},C=async()=>{n.vertical&&(v.value=!0),setInterval(()=>{if(u.value="0%",m.value="0%",b.value!==null&&T.value!==null)if(b.value&&T.value)if(n.vertical&&"clientHeight"in b.value&&"clientHeight"in T.value){p.value=b.value.clientHeight,y.value=T.value.clientHeight;const R=Math.ceil(y.value/p.value);return s.value=isFinite(R)?R:0,v.value=!1,s.value}else if(!n.vertical&&"clientWidth"in b.value&&"clientWidth"in T.value){c.value=b.value.clientWidth,f.value=T.value.clientWidth;const R=Math.ceil(f.value/c.value);return s.value=isFinite(R)?R:0,s.value}else return u.value="100%",m.value="100%",0;else return u.value="100%",m.value="100%",0;else return u.value="100%",m.value="100%",0},100)},N=()=>{n.pauseOnHover&&r("onPause")},_=()=>{n.pauseOnHover&&r("onResume")},O=()=>{n.pauseOnClick&&r("onPause")},I=()=>{n.pauseOnClick&&r("onResume")},S=o.computed(()=>({"--loops":`${n.loop===0?"infinite":n.loop}`,"--duration":`${n.duration}s`,"--delay":`${n.delay}s`,"--direction":`${n.direction}`,"--pauseOnHover":`${n.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${n.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${n.vertical&&v.value||n.pause?"paused":"running"}`,"--gradient-color":`rgba(${n.gradientColor}, 1), rgba(${n.gradientColor}, 0)`,"--gradient-length":`${h.value}`,"--min-width":`${u.value}`,"--min-height":`${m.value}`,"--orientation":n.vertical?"scrollY":"scrollX"})),D=async()=>{n.vertical?(m.value="100%",u.value="auto"):(m.value="auto",u.value="100%"),n.gradient&&n.gradientLength&&(h.value=n.gradientLength),n.clone&&(await C(),g()),a.value=!0};return o.onMounted(async()=>{D(),d.value=setInterval(()=>{l.value++,n.loop!==0&&l.value===n.loop&&(r("onComplete"),clearInterval(d.value)),r("onLoopComplete")},n.duration*1e3)}),o.onBeforeUnmount(()=>{clearInterval(d.value)}),o.watch(c,async()=>{n.clone&&g()}),o.watch(f,async()=>{n.clone&&g()}),o.watch(()=>n.pause,(R,B)=>{R!==B&&r(R?"onResume":"onPause")}),(R,B)=>a.value?(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vue3-marquee",{vertical:e.vertical,horizontal:!e.vertical}]),style:o.normalizeStyle(S.value),key:i.value,onMouseenter:N,onMouseleave:_,onMousedown:O,onMouseup:I},[o.createElementVNode("div",{class:o.normalizeClass(["transparent-overlay",{vertical:e.vertical,horizontal:!e.vertical,overlay:e.gradient}]),ref_key:"marqueeOverlayContainer",ref:T,"aria-hidden":!0},null,2),o.createElementVNode("div",{class:"marquee",ref_key:"marqueeContent",ref:b},[o.renderSlot(R.$slots,"default")],512),o.createElementVNode("div",Wm,[o.renderSlot(R.$slots,"default")]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,j=>(o.openBlock(),o.createElementBlock("div",{key:j,"aria-hidden":!0,class:"marquee cloned"},[o.renderSlot(R.$slots,"default")]))),128))],38)):o.createCommentVNode("",!0)}},zm=Object.freeze(Object.defineProperty({__proto__:null,default:Zi},Symbol.toStringTag,{value:"Module"})),Ym={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>us)),e.component("Button",()=>Promise.resolve().then(()=>Cs)),e.component("Checkbox",()=>Promise.resolve().then(()=>Os)),e.component("Dropdown",()=>Promise.resolve().then(()=>Ls)),e.component("Error",()=>Promise.resolve().then(()=>As)),e.component("Field",()=>Promise.resolve().then(()=>Us)),e.component("FieldPhone",()=>Promise.resolve().then(()=>ru)),e.component("LocationMarker",()=>Promise.resolve().then(()=>iu)),e.component("Map",()=>Promise.resolve().then(()=>lu)),e.component("Popup",()=>Promise.resolve().then(()=>f0)),e.component("Radio",()=>Promise.resolve().then(()=>g0)),e.component("Select",()=>Promise.resolve().then(()=>N0)),e.component("SelectMulti",()=>Promise.resolve().then(()=>q0)),e.component("Spoiler",()=>Promise.resolve().then(()=>J0)),e.component("Tab",()=>Promise.resolve().then(()=>tf)),e.component("Tooltip",()=>Promise.resolve().then(()=>nf)),e.component("Text",()=>Promise.resolve().then(()=>of)),e.component("Upload",()=>Promise.resolve().then(()=>j1)),e.component("UploadImage",()=>Promise.resolve().then(()=>K1)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>n2)),e.component("Breadcrumbs",()=>Promise.resolve().then(()=>s2)),e.component("Chips",()=>Promise.resolve().then(()=>c2)),e.component("Countdown",()=>Promise.resolve().then(()=>_2)),e.component("DatePicker",()=>Promise.resolve().then(()=>S2)),e.component("EmptyState",()=>Promise.resolve().then(()=>w2)),e.component("Feed",()=>Promise.resolve().then(()=>N3)),e.component("FieldBig",()=>Promise.resolve().then(()=>k3)),e.component("FieldTags",()=>Promise.resolve().then(()=>rm)),e.component("Loader",()=>Promise.resolve().then(()=>$s)),e.component("Shader",()=>Promise.resolve().then(()=>am)),e.component("Slider",()=>Promise.resolve().then(()=>Um)),e.component("Status",()=>Promise.resolve().then(()=>Km)),e.component("Marquee",()=>Promise.resolve().then(()=>zm))}};exports.Address=ma;exports.Breadcrumbs=Bi;exports.Button=pa;exports.Checkbox=dr;exports.Chips=xi;exports.Countdown=Vi;exports.DatePicker=Ui;exports.Dropdown=Qt;exports.EmptyState=Lr;exports.Error=ha;exports.Feed=ji;exports.Field=un;exports.FieldBig=Hi;exports.FieldPhone=_a;exports.FieldTags=Ki;exports.Loader=Nt;exports.LocationMarker=Ca;exports.Map=Na;exports.Marquee=Zi;exports.Popup=oi;exports.Radio=Cr;exports.Select=ai;exports.SelectMulti=si;exports.Shader=Wi;exports.Slider=Xi;exports.Spoiler=Nr;exports.Status=Ji;exports.Tab=li;exports.Text=ui;exports.Tooltip=di;exports.Upload=Mi;exports.UploadImage=Ri;exports.UploadImageMultiple=Fi;exports.default=Ym;
|