Changeset 3214689
- Timestamp:
- 12/30/2024 08:22:12 AM (15 months ago)
- Location:
- blockons
- Files:
-
- 508 added
- 15 edited
-
tags/1.2.05 (added)
-
tags/1.2.05/assets (added)
-
tags/1.2.05/assets/blocks (added)
-
tags/1.2.05/assets/blocks/contact-form (added)
-
tags/1.2.05/assets/blocks/contact-form/form-handler.js (added)
-
tags/1.2.05/assets/blocks/image (added)
-
tags/1.2.05/assets/blocks/image/image.js (added)
-
tags/1.2.05/assets/blocks/image/imagegallery.js (added)
-
tags/1.2.05/assets/blocks/progress-bars (added)
-
tags/1.2.05/assets/blocks/progress-bars/inview.min.js (added)
-
tags/1.2.05/assets/blocks/progress-bars/progress-bars.js (added)
-
tags/1.2.05/assets/blocks/progress-bars/waypoints.min.js (added)
-
tags/1.2.05/assets/blocks/search (added)
-
tags/1.2.05/assets/blocks/search/search.js (added)
-
tags/1.2.05/assets/blocks/wc-account-icon (added)
-
tags/1.2.05/assets/blocks/wc-account-icon/account.js (added)
-
tags/1.2.05/assets/blocks/wc-mini-cart (added)
-
tags/1.2.05/assets/blocks/wc-mini-cart/cart.js (added)
-
tags/1.2.05/assets/images (added)
-
tags/1.2.05/assets/images/169panoramic.png (added)
-
tags/1.2.05/assets/images/32rectangle.png (added)
-
tags/1.2.05/assets/images/43rectangle.png (added)
-
tags/1.2.05/assets/images/placeholder.png (added)
-
tags/1.2.05/assets/images/placeholder2.png (added)
-
tags/1.2.05/assets/images/square.png (added)
-
tags/1.2.05/assets/popups (added)
-
tags/1.2.05/assets/popups/GalleryPopup.js (added)
-
tags/1.2.05/assets/popups/animate.min.css (added)
-
tags/1.2.05/assets/popups/sweetalert2.all.min.js (added)
-
tags/1.2.05/assets/popups/sweetalert2.min.css (added)
-
tags/1.2.05/assets/slider (added)
-
tags/1.2.05/assets/slider/image-comparison.min.js (added)
-
tags/1.2.05/assets/slider/swiper.js (added)
-
tags/1.2.05/assets/slider/swiper.min.css (added)
-
tags/1.2.05/assets/slider/swiper.min.js (added)
-
tags/1.2.05/blockons.php (added)
-
tags/1.2.05/build (added)
-
tags/1.2.05/build/accordions (added)
-
tags/1.2.05/build/accordions/block.json (added)
-
tags/1.2.05/build/accordions/index-rtl.css (added)
-
tags/1.2.05/build/accordions/index.asset.php (added)
-
tags/1.2.05/build/accordions/index.css (added)
-
tags/1.2.05/build/accordions/index.js (added)
-
tags/1.2.05/build/accordions/index.php (added)
-
tags/1.2.05/build/accordions/js-accordions.asset.php (added)
-
tags/1.2.05/build/accordions/js-accordions.js (added)
-
tags/1.2.05/build/accordions/style-index-rtl.css (added)
-
tags/1.2.05/build/accordions/style-index.css (added)
-
tags/1.2.05/build/contact-form (added)
-
tags/1.2.05/build/contact-form/block.json (added)
-
tags/1.2.05/build/contact-form/index-rtl.css (added)
-
tags/1.2.05/build/contact-form/index.asset.php (added)
-
tags/1.2.05/build/contact-form/index.css (added)
-
tags/1.2.05/build/contact-form/index.js (added)
-
tags/1.2.05/build/contact-form/index.php (added)
-
tags/1.2.05/build/contact-form/style-index-rtl.css (added)
-
tags/1.2.05/build/contact-form/style-index.css (added)
-
tags/1.2.05/build/content-selector (added)
-
tags/1.2.05/build/content-selector/block.json (added)
-
tags/1.2.05/build/content-selector/index-rtl.css (added)
-
tags/1.2.05/build/content-selector/index.asset.php (added)
-
tags/1.2.05/build/content-selector/index.css (added)
-
tags/1.2.05/build/content-selector/index.js (added)
-
tags/1.2.05/build/content-selector/index.php (added)
-
tags/1.2.05/build/content-selector/select-redirect.asset.php (added)
-
tags/1.2.05/build/content-selector/select-redirect.js (added)
-
tags/1.2.05/build/content-selector/style-index-rtl.css (added)
-
tags/1.2.05/build/content-selector/style-index.css (added)
-
tags/1.2.05/build/content-toggler (added)
-
tags/1.2.05/build/content-toggler/block.json (added)
-
tags/1.2.05/build/content-toggler/index-rtl.css (added)
-
tags/1.2.05/build/content-toggler/index.asset.php (added)
-
tags/1.2.05/build/content-toggler/index.css (added)
-
tags/1.2.05/build/content-toggler/index.js (added)
-
tags/1.2.05/build/content-toggler/index.php (added)
-
tags/1.2.05/build/content-toggler/style-index-rtl.css (added)
-
tags/1.2.05/build/content-toggler/style-index.css (added)
-
tags/1.2.05/build/content-toggler/toggle.asset.php (added)
-
tags/1.2.05/build/content-toggler/toggle.js (added)
-
tags/1.2.05/build/count-down-timer (added)
-
tags/1.2.05/build/count-down-timer/block.json (added)
-
tags/1.2.05/build/count-down-timer/index-rtl.css (added)
-
tags/1.2.05/build/count-down-timer/index.asset.php (added)
-
tags/1.2.05/build/count-down-timer/index.css (added)
-
tags/1.2.05/build/count-down-timer/index.js (added)
-
tags/1.2.05/build/count-down-timer/index.php (added)
-
tags/1.2.05/build/count-down-timer/style-index-rtl.css (added)
-
tags/1.2.05/build/count-down-timer/style-index.css (added)
-
tags/1.2.05/build/count-down-timer/timer.asset.php (added)
-
tags/1.2.05/build/count-down-timer/timer.js (added)
-
tags/1.2.05/build/icon-list (added)
-
tags/1.2.05/build/icon-list/block.json (added)
-
tags/1.2.05/build/icon-list/index-rtl.css (added)
-
tags/1.2.05/build/icon-list/index.asset.php (added)
-
tags/1.2.05/build/icon-list/index.css (added)
-
tags/1.2.05/build/icon-list/index.js (added)
-
tags/1.2.05/build/icon-list/index.php (added)
-
tags/1.2.05/build/icon-list/style-index-rtl.css (added)
-
tags/1.2.05/build/icon-list/style-index.css (added)
-
tags/1.2.05/build/image-carousel (added)
-
tags/1.2.05/build/image-carousel/block.json (added)
-
tags/1.2.05/build/image-carousel/index-rtl.css (added)
-
tags/1.2.05/build/image-carousel/index.asset.php (added)
-
tags/1.2.05/build/image-carousel/index.css (added)
-
tags/1.2.05/build/image-carousel/index.js (added)
-
tags/1.2.05/build/image-carousel/index.php (added)
-
tags/1.2.05/build/image-carousel/style-index-rtl.css (added)
-
tags/1.2.05/build/image-carousel/style-index.css (added)
-
tags/1.2.05/build/image-carousel/template.php (added)
-
tags/1.2.05/build/image-comparison (added)
-
tags/1.2.05/build/image-comparison/block.json (added)
-
tags/1.2.05/build/image-comparison/index-rtl.css (added)
-
tags/1.2.05/build/image-comparison/index.asset.php (added)
-
tags/1.2.05/build/image-comparison/index.css (added)
-
tags/1.2.05/build/image-comparison/index.js (added)
-
tags/1.2.05/build/image-comparison/index.php (added)
-
tags/1.2.05/build/image-comparison/style-index-rtl.css (added)
-
tags/1.2.05/build/image-comparison/style-index.css (added)
-
tags/1.2.05/build/image-gallery (added)
-
tags/1.2.05/build/image-gallery/block.json (added)
-
tags/1.2.05/build/image-gallery/index-rtl.css (added)
-
tags/1.2.05/build/image-gallery/index.asset.php (added)
-
tags/1.2.05/build/image-gallery/index.css (added)
-
tags/1.2.05/build/image-gallery/index.js (added)
-
tags/1.2.05/build/image-gallery/index.php (added)
-
tags/1.2.05/build/image-gallery/style-index-rtl.css (added)
-
tags/1.2.05/build/image-gallery/style-index.css (added)
-
tags/1.2.05/build/images (added)
-
tags/1.2.05/build/images/placeholder.2c1475c1.png (added)
-
tags/1.2.05/build/line-heading (added)
-
tags/1.2.05/build/line-heading/block.json (added)
-
tags/1.2.05/build/line-heading/index-rtl.css (added)
-
tags/1.2.05/build/line-heading/index.asset.php (added)
-
tags/1.2.05/build/line-heading/index.css (added)
-
tags/1.2.05/build/line-heading/index.js (added)
-
tags/1.2.05/build/line-heading/index.php (added)
-
tags/1.2.05/build/line-heading/style-index-rtl.css (added)
-
tags/1.2.05/build/line-heading/style-index.css (added)
-
tags/1.2.05/build/marketing-button (added)
-
tags/1.2.05/build/marketing-button/block.json (added)
-
tags/1.2.05/build/marketing-button/index-rtl.css (added)
-
tags/1.2.05/build/marketing-button/index.asset.php (added)
-
tags/1.2.05/build/marketing-button/index.css (added)
-
tags/1.2.05/build/marketing-button/index.js (added)
-
tags/1.2.05/build/marketing-button/index.php (added)
-
tags/1.2.05/build/marketing-button/style-index-rtl.css (added)
-
tags/1.2.05/build/marketing-button/style-index.css (added)
-
tags/1.2.05/build/progress-bars (added)
-
tags/1.2.05/build/progress-bars/block.json (added)
-
tags/1.2.05/build/progress-bars/index-rtl.css (added)
-
tags/1.2.05/build/progress-bars/index.asset.php (added)
-
tags/1.2.05/build/progress-bars/index.css (added)
-
tags/1.2.05/build/progress-bars/index.js (added)
-
tags/1.2.05/build/progress-bars/index.php (added)
-
tags/1.2.05/build/progress-bars/style-index-rtl.css (added)
-
tags/1.2.05/build/progress-bars/style-index.css (added)
-
tags/1.2.05/build/search (added)
-
tags/1.2.05/build/search/block.json (added)
-
tags/1.2.05/build/search/index-rtl.css (added)
-
tags/1.2.05/build/search/index.asset.php (added)
-
tags/1.2.05/build/search/index.css (added)
-
tags/1.2.05/build/search/index.js (added)
-
tags/1.2.05/build/search/index.php (added)
-
tags/1.2.05/build/search/style-index-rtl.css (added)
-
tags/1.2.05/build/search/style-index.css (added)
-
tags/1.2.05/build/slider (added)
-
tags/1.2.05/build/slider/block.json (added)
-
tags/1.2.05/build/slider/index-rtl.css (added)
-
tags/1.2.05/build/slider/index.asset.php (added)
-
tags/1.2.05/build/slider/index.css (added)
-
tags/1.2.05/build/slider/index.js (added)
-
tags/1.2.05/build/slider/index.php (added)
-
tags/1.2.05/build/slider/style-index-rtl.css (added)
-
tags/1.2.05/build/slider/style-index.css (added)
-
tags/1.2.05/build/slider/template.php (added)
-
tags/1.2.05/build/table-of-contents (added)
-
tags/1.2.05/build/table-of-contents/block.json (added)
-
tags/1.2.05/build/table-of-contents/index-rtl.css (added)
-
tags/1.2.05/build/table-of-contents/index.asset.php (added)
-
tags/1.2.05/build/table-of-contents/index.css (added)
-
tags/1.2.05/build/table-of-contents/index.js (added)
-
tags/1.2.05/build/table-of-contents/index.php (added)
-
tags/1.2.05/build/table-of-contents/style-index-rtl.css (added)
-
tags/1.2.05/build/table-of-contents/style-index.css (added)
-
tags/1.2.05/build/table-of-contents/toc.asset.php (added)
-
tags/1.2.05/build/table-of-contents/toc.js (added)
-
tags/1.2.05/build/tabs (added)
-
tags/1.2.05/build/tabs/block.json (added)
-
tags/1.2.05/build/tabs/index-rtl.css (added)
-
tags/1.2.05/build/tabs/index.asset.php (added)
-
tags/1.2.05/build/tabs/index.css (added)
-
tags/1.2.05/build/tabs/index.js (added)
-
tags/1.2.05/build/tabs/index.php (added)
-
tags/1.2.05/build/tabs/js-tabs.asset.php (added)
-
tags/1.2.05/build/tabs/js-tabs.js (added)
-
tags/1.2.05/build/tabs/style-index-rtl.css (added)
-
tags/1.2.05/build/tabs/style-index.css (added)
-
tags/1.2.05/build/testimonials (added)
-
tags/1.2.05/build/testimonials/block.json (added)
-
tags/1.2.05/build/testimonials/index-rtl.css (added)
-
tags/1.2.05/build/testimonials/index.asset.php (added)
-
tags/1.2.05/build/testimonials/index.css (added)
-
tags/1.2.05/build/testimonials/index.js (added)
-
tags/1.2.05/build/testimonials/index.php (added)
-
tags/1.2.05/build/testimonials/style-index-rtl.css (added)
-
tags/1.2.05/build/testimonials/style-index.css (added)
-
tags/1.2.05/build/testimonials/template.php (added)
-
tags/1.2.05/build/video-slider (added)
-
tags/1.2.05/build/video-slider/block.json (added)
-
tags/1.2.05/build/video-slider/index-rtl.css (added)
-
tags/1.2.05/build/video-slider/index.asset.php (added)
-
tags/1.2.05/build/video-slider/index.css (added)
-
tags/1.2.05/build/video-slider/index.js (added)
-
tags/1.2.05/build/video-slider/index.php (added)
-
tags/1.2.05/build/video-slider/style-index-rtl.css (added)
-
tags/1.2.05/build/video-slider/style-index.css (added)
-
tags/1.2.05/build/video-slider/template.php (added)
-
tags/1.2.05/build/wc-account-icon (added)
-
tags/1.2.05/build/wc-account-icon/block.json (added)
-
tags/1.2.05/build/wc-account-icon/index-rtl.css (added)
-
tags/1.2.05/build/wc-account-icon/index.asset.php (added)
-
tags/1.2.05/build/wc-account-icon/index.css (added)
-
tags/1.2.05/build/wc-account-icon/index.js (added)
-
tags/1.2.05/build/wc-account-icon/index.php (added)
-
tags/1.2.05/build/wc-account-icon/style-index-rtl.css (added)
-
tags/1.2.05/build/wc-account-icon/style-index.css (added)
-
tags/1.2.05/build/wc-account-icon/template.php (added)
-
tags/1.2.05/build/wc-featured-product (added)
-
tags/1.2.05/build/wc-featured-product/block.json (added)
-
tags/1.2.05/build/wc-featured-product/index-rtl.css (added)
-
tags/1.2.05/build/wc-featured-product/index.asset.php (added)
-
tags/1.2.05/build/wc-featured-product/index.css (added)
-
tags/1.2.05/build/wc-featured-product/index.js (added)
-
tags/1.2.05/build/wc-featured-product/index.php (added)
-
tags/1.2.05/build/wc-featured-product/style-index-rtl.css (added)
-
tags/1.2.05/build/wc-featured-product/style-index.css (added)
-
tags/1.2.05/build/wc-featured-product/template.php (added)
-
tags/1.2.05/build/wc-mini-cart (added)
-
tags/1.2.05/build/wc-mini-cart/block.json (added)
-
tags/1.2.05/build/wc-mini-cart/index-rtl.css (added)
-
tags/1.2.05/build/wc-mini-cart/index.asset.php (added)
-
tags/1.2.05/build/wc-mini-cart/index.css (added)
-
tags/1.2.05/build/wc-mini-cart/index.js (added)
-
tags/1.2.05/build/wc-mini-cart/index.php (added)
-
tags/1.2.05/build/wc-mini-cart/style-index-rtl.css (added)
-
tags/1.2.05/build/wc-mini-cart/style-index.css (added)
-
tags/1.2.05/classes (added)
-
tags/1.2.05/classes/class-admin.php (added)
-
tags/1.2.05/classes/class-block-patterns.php (added)
-
tags/1.2.05/classes/class-blockons-security.php (added)
-
tags/1.2.05/classes/class-form-submissions.php (added)
-
tags/1.2.05/classes/class-frontend.php (added)
-
tags/1.2.05/classes/class-notices.php (added)
-
tags/1.2.05/classes/class-rest-api.php (added)
-
tags/1.2.05/classes/class-scripts.php (added)
-
tags/1.2.05/dist (added)
-
tags/1.2.05/dist/4.js (added)
-
tags/1.2.05/dist/admin.css (added)
-
tags/1.2.05/dist/admin.js (added)
-
tags/1.2.05/dist/admin.min.css (added)
-
tags/1.2.05/dist/admin.min.js (added)
-
tags/1.2.05/dist/editor.css (added)
-
tags/1.2.05/dist/editor.js (added)
-
tags/1.2.05/dist/editor.min.css (added)
-
tags/1.2.05/dist/editor.min.js (added)
-
tags/1.2.05/dist/form-handler.min.js (added)
-
tags/1.2.05/dist/frontend.css (added)
-
tags/1.2.05/dist/frontend.js (added)
-
tags/1.2.05/dist/frontend.min.css (added)
-
tags/1.2.05/dist/frontend.min.js (added)
-
tags/1.2.05/dist/image.min.css (added)
-
tags/1.2.05/dist/image.min.js (added)
-
tags/1.2.05/dist/imagegallery.min.css (added)
-
tags/1.2.05/dist/imagegallery.min.js (added)
-
tags/1.2.05/dist/settings.css (added)
-
tags/1.2.05/dist/settings.js (added)
-
tags/1.2.05/dist/settings.min.css (added)
-
tags/1.2.05/dist/settings.min.js (added)
-
tags/1.2.05/dist/src_frontend_extensions_tooltips_js.js (added)
-
tags/1.2.05/dist/swiper-video.min.js (added)
-
tags/1.2.05/freemius (added)
-
tags/1.2.05/freemius/LICENSE.txt (added)
-
tags/1.2.05/freemius/assets (added)
-
tags/1.2.05/freemius/assets/css (added)
-
tags/1.2.05/freemius/assets/css/admin (added)
-
tags/1.2.05/freemius/assets/css/admin/account.css (added)
-
tags/1.2.05/freemius/assets/css/admin/add-ons.css (added)
-
tags/1.2.05/freemius/assets/css/admin/affiliation.css (added)
-
tags/1.2.05/freemius/assets/css/admin/checkout.css (added)
-
tags/1.2.05/freemius/assets/css/admin/clone-resolution.css (added)
-
tags/1.2.05/freemius/assets/css/admin/common.css (added)
-
tags/1.2.05/freemius/assets/css/admin/connect.css (added)
-
tags/1.2.05/freemius/assets/css/admin/debug.css (added)
-
tags/1.2.05/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/1.2.05/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/1.2.05/freemius/assets/css/admin/index.php (added)
-
tags/1.2.05/freemius/assets/css/admin/optout.css (added)
-
tags/1.2.05/freemius/assets/css/admin/plugins.css (added)
-
tags/1.2.05/freemius/assets/css/customizer.css (added)
-
tags/1.2.05/freemius/assets/css/index.php (added)
-
tags/1.2.05/freemius/assets/img (added)
-
tags/1.2.05/freemius/assets/img/blockons.png (added)
-
tags/1.2.05/freemius/assets/img/index.php (added)
-
tags/1.2.05/freemius/assets/img/plugin-icon.png (added)
-
tags/1.2.05/freemius/assets/img/theme-icon.png (added)
-
tags/1.2.05/freemius/assets/index.php (added)
-
tags/1.2.05/freemius/assets/js (added)
-
tags/1.2.05/freemius/assets/js/index.php (added)
-
tags/1.2.05/freemius/assets/js/jquery.form.js (added)
-
tags/1.2.05/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/1.2.05/freemius/assets/js/postmessage.js (added)
-
tags/1.2.05/freemius/assets/js/pricing (added)
-
tags/1.2.05/freemius/assets/js/pricing/14fb1bd5b7c41648488b06147f50a0dc.svg (added)
-
tags/1.2.05/freemius/assets/js/pricing/178afa6030e76635dbe835e111d2c507.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/27b5a722a5553d9de0170325267fccec.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/4375c4a3ddc6f637c2ab9a2d7220f91e.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/4529cac82a2d1f300d3c4702b7b5e8f3.svg (added)
-
tags/1.2.05/freemius/assets/js/pricing/5480ed23b199531a8cbc05924f26952b.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/b4f3b958f4a019862d81b15f3f8eee3a.svg (added)
-
tags/1.2.05/freemius/assets/js/pricing/c03f665db27af43971565560adfba594.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/cb5fc4f6ec7ada72e986f6e7dde365bf.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/dd89563360f0272635c8f0ab7d7f1402.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/e366d70661d8ad2493bd6afbd779f125.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/f18006f6535a1a6e9c6bfbffafe6f18a.svg (added)
-
tags/1.2.05/freemius/assets/js/pricing/f3aac72a8e63997d6bb888f816457e9b.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/f928f1be99776af83e8e6be4baf8ffe7.svg (added)
-
tags/1.2.05/freemius/assets/js/pricing/fde48e4609a6ddc11d639fc2421f2afd.png (added)
-
tags/1.2.05/freemius/assets/js/pricing/freemius-pricing.js (added)
-
tags/1.2.05/freemius/assets/js/pricing/freemius-pricing.js.LICENSE.txt (added)
-
tags/1.2.05/freemius/config.php (added)
-
tags/1.2.05/freemius/includes (added)
-
tags/1.2.05/freemius/includes/class-freemius-abstract.php (added)
-
tags/1.2.05/freemius/includes/class-freemius.php (added)
-
tags/1.2.05/freemius/includes/class-fs-admin-notices.php (added)
-
tags/1.2.05/freemius/includes/class-fs-api.php (added)
-
tags/1.2.05/freemius/includes/class-fs-garbage-collector.php (added)
-
tags/1.2.05/freemius/includes/class-fs-lock.php (added)
-
tags/1.2.05/freemius/includes/class-fs-logger.php (added)
-
tags/1.2.05/freemius/includes/class-fs-options.php (added)
-
tags/1.2.05/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/1.2.05/freemius/includes/class-fs-security.php (added)
-
tags/1.2.05/freemius/includes/class-fs-storage.php (added)
-
tags/1.2.05/freemius/includes/class-fs-user-lock.php (added)
-
tags/1.2.05/freemius/includes/customizer (added)
-
tags/1.2.05/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/1.2.05/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/1.2.05/freemius/includes/customizer/index.php (added)
-
tags/1.2.05/freemius/includes/debug (added)
-
tags/1.2.05/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/1.2.05/freemius/includes/debug/debug-bar-start.php (added)
-
tags/1.2.05/freemius/includes/debug/index.php (added)
-
tags/1.2.05/freemius/includes/entities (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-billing.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-entity.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-payment.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-site.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/1.2.05/freemius/includes/entities/class-fs-user.php (added)
-
tags/1.2.05/freemius/includes/entities/index.php (added)
-
tags/1.2.05/freemius/includes/fs-core-functions.php (added)
-
tags/1.2.05/freemius/includes/fs-essential-functions.php (added)
-
tags/1.2.05/freemius/includes/fs-html-escaping-functions.php (added)
-
tags/1.2.05/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/1.2.05/freemius/includes/index.php (added)
-
tags/1.2.05/freemius/includes/l10n.php (added)
-
tags/1.2.05/freemius/includes/managers (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-checkout-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-clone-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-contact-form-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-debug-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-permission-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/1.2.05/freemius/includes/managers/index.php (added)
-
tags/1.2.05/freemius/includes/sdk (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/1.2.05/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/1.2.05/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/1.2.05/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/1.2.05/freemius/includes/sdk/LICENSE.txt (added)
-
tags/1.2.05/freemius/includes/sdk/index.php (added)
-
tags/1.2.05/freemius/includes/supplements (added)
-
tags/1.2.05/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/1.2.05/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/1.2.05/freemius/includes/supplements/fs-migration-2.5.1.php (added)
-
tags/1.2.05/freemius/includes/supplements/index.php (added)
-
tags/1.2.05/freemius/index.php (added)
-
tags/1.2.05/freemius/languages (added)
-
tags/1.2.05/freemius/languages/freemius-cs_CZ.mo (added)
-
tags/1.2.05/freemius/languages/freemius-da_DK.mo (added)
-
tags/1.2.05/freemius/languages/freemius-de_DE.mo (added)
-
tags/1.2.05/freemius/languages/freemius-es_ES.mo (added)
-
tags/1.2.05/freemius/languages/freemius-fr_FR.mo (added)
-
tags/1.2.05/freemius/languages/freemius-he_IL.mo (added)
-
tags/1.2.05/freemius/languages/freemius-hu_HU.mo (added)
-
tags/1.2.05/freemius/languages/freemius-it_IT.mo (added)
-
tags/1.2.05/freemius/languages/freemius-ja.mo (added)
-
tags/1.2.05/freemius/languages/freemius-nl_NL.mo (added)
-
tags/1.2.05/freemius/languages/freemius-ru_RU.mo (added)
-
tags/1.2.05/freemius/languages/freemius-ta.mo (added)
-
tags/1.2.05/freemius/languages/freemius-zh_CN.mo (added)
-
tags/1.2.05/freemius/languages/freemius.pot (added)
-
tags/1.2.05/freemius/languages/index.php (added)
-
tags/1.2.05/freemius/require.php (added)
-
tags/1.2.05/freemius/start.php (added)
-
tags/1.2.05/freemius/templates (added)
-
tags/1.2.05/freemius/templates/account (added)
-
tags/1.2.05/freemius/templates/account.php (added)
-
tags/1.2.05/freemius/templates/account/billing.php (added)
-
tags/1.2.05/freemius/templates/account/index.php (added)
-
tags/1.2.05/freemius/templates/account/partials (added)
-
tags/1.2.05/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/1.2.05/freemius/templates/account/partials/addon.php (added)
-
tags/1.2.05/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/1.2.05/freemius/templates/account/partials/disconnect-button.php (added)
-
tags/1.2.05/freemius/templates/account/partials/index.php (added)
-
tags/1.2.05/freemius/templates/account/partials/site.php (added)
-
tags/1.2.05/freemius/templates/account/payments.php (added)
-
tags/1.2.05/freemius/templates/add-ons.php (added)
-
tags/1.2.05/freemius/templates/add-trial-to-pricing.php (added)
-
tags/1.2.05/freemius/templates/admin-notice.php (added)
-
tags/1.2.05/freemius/templates/ajax-loader.php (added)
-
tags/1.2.05/freemius/templates/api-connectivity-message-js.php (added)
-
tags/1.2.05/freemius/templates/auto-installation.php (added)
-
tags/1.2.05/freemius/templates/checkout (added)
-
tags/1.2.05/freemius/templates/checkout.php (added)
-
tags/1.2.05/freemius/templates/checkout/frame.php (added)
-
tags/1.2.05/freemius/templates/checkout/process-redirect.php (added)
-
tags/1.2.05/freemius/templates/checkout/redirect.php (added)
-
tags/1.2.05/freemius/templates/clone-resolution-js.php (added)
-
tags/1.2.05/freemius/templates/connect (added)
-
tags/1.2.05/freemius/templates/connect.php (added)
-
tags/1.2.05/freemius/templates/connect/index.php (added)
-
tags/1.2.05/freemius/templates/connect/permission.php (added)
-
tags/1.2.05/freemius/templates/connect/permissions-group.php (added)
-
tags/1.2.05/freemius/templates/contact.php (added)
-
tags/1.2.05/freemius/templates/debug (added)
-
tags/1.2.05/freemius/templates/debug.php (added)
-
tags/1.2.05/freemius/templates/debug/api-calls.php (added)
-
tags/1.2.05/freemius/templates/debug/index.php (added)
-
tags/1.2.05/freemius/templates/debug/logger.php (added)
-
tags/1.2.05/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/1.2.05/freemius/templates/debug/scheduled-crons.php (added)
-
tags/1.2.05/freemius/templates/email.php (added)
-
tags/1.2.05/freemius/templates/forms (added)
-
tags/1.2.05/freemius/templates/forms/affiliation.php (added)
-
tags/1.2.05/freemius/templates/forms/data-debug-mode.php (added)
-
tags/1.2.05/freemius/templates/forms/deactivation (added)
-
tags/1.2.05/freemius/templates/forms/deactivation/contact.php (added)
-
tags/1.2.05/freemius/templates/forms/deactivation/form.php (added)
-
tags/1.2.05/freemius/templates/forms/deactivation/index.php (added)
-
tags/1.2.05/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/1.2.05/freemius/templates/forms/email-address-update.php (added)
-
tags/1.2.05/freemius/templates/forms/index.php (added)
-
tags/1.2.05/freemius/templates/forms/license-activation.php (added)
-
tags/1.2.05/freemius/templates/forms/optout.php (added)
-
tags/1.2.05/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/1.2.05/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/1.2.05/freemius/templates/forms/resend-key.php (added)
-
tags/1.2.05/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/1.2.05/freemius/templates/forms/trial-start.php (added)
-
tags/1.2.05/freemius/templates/forms/user-change.php (added)
-
tags/1.2.05/freemius/templates/gdpr-optin-js.php (added)
-
tags/1.2.05/freemius/templates/index.php (added)
-
tags/1.2.05/freemius/templates/js (added)
-
tags/1.2.05/freemius/templates/js/index.php (added)
-
tags/1.2.05/freemius/templates/js/jquery.content-change.php (added)
-
tags/1.2.05/freemius/templates/js/open-license-activation.php (added)
-
tags/1.2.05/freemius/templates/js/permissions.php (added)
-
tags/1.2.05/freemius/templates/js/style-premium-theme.php (added)
-
tags/1.2.05/freemius/templates/partials (added)
-
tags/1.2.05/freemius/templates/partials/index.php (added)
-
tags/1.2.05/freemius/templates/partials/network-activation.php (added)
-
tags/1.2.05/freemius/templates/plugin-icon.php (added)
-
tags/1.2.05/freemius/templates/plugin-info (added)
-
tags/1.2.05/freemius/templates/plugin-info/description.php (added)
-
tags/1.2.05/freemius/templates/plugin-info/features.php (added)
-
tags/1.2.05/freemius/templates/plugin-info/index.php (added)
-
tags/1.2.05/freemius/templates/plugin-info/screenshots.php (added)
-
tags/1.2.05/freemius/templates/pricing.php (added)
-
tags/1.2.05/freemius/templates/secure-https-header.php (added)
-
tags/1.2.05/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/1.2.05/freemius/templates/tabs-capture-js.php (added)
-
tags/1.2.05/freemius/templates/tabs.php (added)
-
tags/1.2.05/lang (added)
-
tags/1.2.05/lang/blockons.pot (added)
-
tags/1.2.05/readme.txt (added)
-
trunk/assets/images/169panoramic.png (modified) (previous)
-
trunk/assets/images/32rectangle.png (modified) (previous)
-
trunk/assets/images/43rectangle.png (modified) (previous)
-
trunk/assets/images/placeholder.png (modified) (previous)
-
trunk/assets/images/placeholder2.png (modified) (previous)
-
trunk/assets/images/square.png (modified) (previous)
-
trunk/assets/slider/swiper.js (modified) (1 diff)
-
trunk/blockons.php (modified) (3 diffs)
-
trunk/build/search/index.asset.php (modified) (1 diff)
-
trunk/build/search/index.js (modified) (1 diff)
-
trunk/classes/class-scripts.php (modified) (3 diffs)
-
trunk/freemius/assets/img/blockons.png (modified) (previous)
-
trunk/freemius/assets/img/plugin-icon.png (modified) (previous)
-
trunk/freemius/assets/img/theme-icon.png (modified) (previous)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blockons/trunk/assets/slider/swiper.js
r2830626 r3214689 1 document.addEventListener( "DOMContentLoaded", () => {2 const blockonSliders = document.querySelectorAll( ".blockons-slider.slider");1 document.addEventListener('DOMContentLoaded', () => { 2 const blockonSliders = document.querySelectorAll('.blockons-slider.slider'); 3 3 4 4 if (blockonSliders) { 5 5 blockonSliders.forEach((slider) => { 6 const sliderSettings = JSON.parse(slider.getAttribute("data-settings")); 6 const sliderSettings = JSON.parse( 7 slider.getAttribute('data-settings'), 8 ); 7 9 const sliderElement = slider.firstElementChild.classList[0]; 8 10 // console.log(sliderElement, sliderSettings); -
blockons/trunk/blockons.php
r3207408 r3214689 3 3 /** 4 4 * Plugin Name: Blockons 5 * Version: 1.2.0 45 * Version: 1.2.05 6 6 * Plugin URI: https://blockons.com/ 7 7 * Description: Enhanced WordPress editor blocks for Gutenberg, including core Block Extensions and Site Addons for your WordPress site and WooCommerce online store … … 9 9 * Author URI: https://kairaweb.com/ 10 10 * Requires at least: 5.0 11 * Tested up to: 6. 611 * Tested up to: 6.7 12 12 * WC requires at least: 3.2 13 * WC tested up to: 9. 113 * WC tested up to: 9.5 14 14 * Text Domain: blockons 15 15 * Domain Path: /lang/ … … 20 20 defined( 'ABSPATH' ) || exit; 21 21 if ( !defined( 'BLOCKONS_PLUGIN_VERSION' ) ) { 22 define( 'BLOCKONS_PLUGIN_VERSION', '1.2.0 4' );22 define( 'BLOCKONS_PLUGIN_VERSION', '1.2.05' ); 23 23 } 24 24 if ( !defined( 'BLOCKONS_PLUGIN_URL' ) ) { -
blockons/trunk/build/search/index.asset.php
r3207408 r3214689 1 <?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => ' f880b2aaefc59c32126b');1 <?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'b2810e9c32503279817a'); -
blockons/trunk/build/search/index.js
r3207408 r3214689 1 (()=>{"use strict";var e,t={1294:(e,t,o)=>{var r={};o.r(r),o.d(r,{hasBrowserEnv:()=>Ee,hasStandardBrowserEnv:()=> Oe,hasStandardBrowserWebWorkerEnv:()=>Ne,navigator:()=>Re,origin:()=>Ae});const n=window.wp.blocks,s=JSON.parse('{"UU":"blockons/search"}'),a=window.wp.element,i=window.wp.i18n,l=window.wp.blockEditor,c=window.wp.components;var u,d=new Uint8Array(16);function h(){if(!u&&!(u="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(d)}const p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var f=[],m=0;m<256;++m)f.push((m+256).toString(16).substr(1));const b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(f[e[t+0]]+f[e[t+1]]+f[e[t+2]]+f[e[t+3]]+"-"+f[e[t+4]]+f[e[t+5]]+"-"+f[e[t+6]]+f[e[t+7]]+"-"+f[e[t+8]]+f[e[t+9]]+"-"+f[e[t+10]]+f[e[t+11]]+f[e[t+12]]+f[e[t+13]]+f[e[t+14]]+f[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&p.test(e)}(o))throw TypeError("Stringified UUID is invalid");return o},g=function(e,t,o){var r=(e=e||{}).random||(e.rng||h)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){o=o||0;for(var n=0;n<16;++n)t[o+n]=r[n];return t}return b(r)},y=window.ReactJSXRuntime,C=e=>{const{label:t,value:o,onChange:r,paletteColors:n}=e;return(0,y.jsx)(c.Dropdown,{className:"blockons-colorpicker",contentClassName:"blockons-editor-popup blockons-colorpicker-popup",popoverProps:{placement:"bottom-start"},renderToggle:({isOpen:e,onToggle:r})=>(0,y.jsxs)(c.Button,{variant:"link",onClick:r,className:"blockons-colorpicker-btn",children:[(0,y.jsx)(c.ColorIndicator,{colorValue:o}),(0,y.jsx)("span",{children:t})]}),renderContent:()=>(0,y.jsx)(c.ColorPalette,{colors:n,value:o,onChange:r})})};function w(e,t){return function(){return e.apply(t,arguments)}}const{toString:v}=Object.prototype,{getPrototypeOf:x}=Object,k=(j=Object.create(null),e=>{const t=v.call(e);return j[t]||(j[t]=t.slice(8,-1).toLowerCase())});var j;const P=e=>(e=e.toLowerCase(),t=>k(t)===e),S=e=>t=>typeof t===e,{isArray:_}=Array,T=S("undefined"),E=P("ArrayBuffer"),R=S("string"),O=S("function"),N=S("number"),A=e=>null!==e&&"object"==typeof e,B=e=>{if("object"!==k(e))return!1;const t=x(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},F=P("Date"),D=P("File"),L=P("Blob"),U=P("FileList"),I=P("URLSearchParams"),[q,M,z,H]=["ReadableStream","Request","Response","Headers"].map(P);function W(e,t,{allOwnKeys:o=!1}={}){if(null==e)return;let r,n;if("object"!=typeof e&&(e=[e]),_(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{const n=o?Object.getOwnPropertyNames(e):Object.keys(e),s=n.length;let a;for(r=0;r<s;r++)a=n[r],t.call(null,e[a],a,e)}}function V(e,t){t=t.toLowerCase();const o=Object.keys(e);let r,n=o.length;for(;n-- >0;)if(r=o[n],t===r.toLowerCase())return r;return null}const J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,$=e=>!T(e)&&e!==J,K=(G="undefined"!=typeof Uint8Array&&x(Uint8Array),e=>G&&e instanceof G);var G;const X=P("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),Q=P("RegExp"),Y=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};W(o,((o,n)=>{let s;!1!==(s=t(o,n,e))&&(r[n]=s||o)})),Object.defineProperties(e,r)},ee="abcdefghijklmnopqrstuvwxyz",te="0123456789",oe={DIGIT:te,ALPHA:ee,ALPHA_DIGIT:ee+ee.toUpperCase()+te},re=P("AsyncFunction"),ne=(se="function"==typeof setImmediate,ae=O(J.postMessage),se?setImmediate:ae?(ie=`axios@${Math.random()}`,le=[],J.addEventListener("message",(({source:e,data:t})=>{e===J&&t===ie&&le.length&&le.shift()()}),!1),e=>{le.push(e),J.postMessage(ie,"*")}):e=>setTimeout(e));var se,ae,ie,le;const ce="undefined"!=typeof queueMicrotask?queueMicrotask.bind(J):"undefined"!=typeof process&&process.nextTick||ne,ue={isArray:_,isArrayBuffer:E,isBuffer:function(e){return null!==e&&!T(e)&&null!==e.constructor&&!T(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||O(e.append)&&("formdata"===(t=k(e))||"object"===t&&O(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t},isString:R,isNumber:N,isBoolean:e=>!0===e||!1===e,isObject:A,isPlainObject:B,isReadableStream:q,isRequest:M,isResponse:z,isHeaders:H,isUndefined:T,isDate:F,isFile:D,isBlob:L,isRegExp:Q,isFunction:O,isStream:e=>A(e)&&O(e.pipe),isURLSearchParams:I,isTypedArray:K,isFileList:U,forEach:W,merge:function e(){const{caseless:t}=$(this)&&this||{},o={},r=(r,n)=>{const s=t&&V(o,n)||n;B(o[s])&&B(r)?o[s]=e(o[s],r):B(r)?o[s]=e({},r):_(r)?o[s]=r.slice():o[s]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&W(arguments[e],r);return o},extend:(e,t,o,{allOwnKeys:r}={})=>(W(t,((t,r)=>{o&&O(t)?e[r]=w(t,o):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),o&&Object.assign(e.prototype,o)},toFlatObject:(e,t,o,r)=>{let n,s,a;const i={};if(t=t||{},null==e)return t;do{for(n=Object.getOwnPropertyNames(e),s=n.length;s-- >0;)a=n[s],r&&!r(a,e,t)||i[a]||(t[a]=e[a],i[a]=!0);e=!1!==o&&x(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:P,endsWith:(e,t,o)=>{e=String(e),(void 0===o||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return-1!==r&&r===o},toArray:e=>{if(!e)return null;if(_(e))return e;let t=e.length;if(!N(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},forEachEntry:(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},matchAll:(e,t)=>{let o;const r=[];for(;null!==(o=e.exec(t));)r.push(o);return r},isHTMLForm:X,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:e=>{Y(e,((t,o)=>{if(O(e)&&-1!==["arguments","caller","callee"].indexOf(o))return!1;const r=e[o];O(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")}))}))},toObjectSet:(e,t)=>{const o={},r=e=>{e.forEach((e=>{o[e]=!0}))};return _(e)?r(e):r(String(e).split(t)),o},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,o){return t.toUpperCase()+o})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:V,global:J,isContextDefined:$,ALPHABET:oe,generateString:(e=16,t=oe.ALPHA_DIGIT)=>{let o="";const{length:r}=t;for(;e--;)o+=t[Math.random()*r|0];return o},isSpecCompliantForm:function(e){return!!(e&&O(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),o=(e,r)=>{if(A(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const n=_(e)?[]:{};return W(e,((e,t)=>{const s=o(e,r+1);!T(s)&&(n[t]=s)})),t[r]=void 0,n}}return e};return o(e,0)},isAsyncFn:re,isThenable:e=>e&&(A(e)||O(e))&&O(e.then)&&O(e.catch),setImmediate:ne,asap:ce};function de(e,t,o,r,n){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),o&&(this.config=o),r&&(this.request=r),n&&(this.response=n,this.status=n.status?n.status:null)}ue.inherits(de,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:ue.toJSONObject(this.config),code:this.code,status:this.status}}});const he=de.prototype,pe={};["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=>{pe[e]={value:e}})),Object.defineProperties(de,pe),Object.defineProperty(he,"isAxiosError",{value:!0}),de.from=(e,t,o,r,n,s)=>{const a=Object.create(he);return ue.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),de.call(a,e.message,t,o,r,n),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const fe=de;function me(e){return ue.isPlainObject(e)||ue.isArray(e)}function be(e){return ue.endsWith(e,"[]")?e.slice(0,-2):e}function ge(e,t,o){return e?e.concat(t).map((function(e,t){return e=be(e),!o&&t?"["+e+"]":e})).join(o?".":""):t}const ye=ue.toFlatObject(ue,{},null,(function(e){return/^is[A-Z]/.test(e)})),Ce=function(e,t,o){if(!ue.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(o=ue.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ue.isUndefined(t[e])}))).metaTokens,n=o.visitor||c,s=o.dots,a=o.indexes,i=(o.Blob||"undefined"!=typeof Blob&&Blob)&&ue.isSpecCompliantForm(t);if(!ue.isFunction(n))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ue.isDate(e))return e.toISOString();if(!i&&ue.isBlob(e))throw new fe("Blob is not supported. Use a Buffer instead.");return ue.isArrayBuffer(e)||ue.isTypedArray(e)?i&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,o,n){let i=e;if(e&&!n&&"object"==typeof e)if(ue.endsWith(o,"{}"))o=r?o:o.slice(0,-2),e=JSON.stringify(e);else if(ue.isArray(e)&&function(e){return ue.isArray(e)&&!e.some(me)}(e)||(ue.isFileList(e)||ue.endsWith(o,"[]"))&&(i=ue.toArray(e)))return o=be(o),i.forEach((function(e,r){!ue.isUndefined(e)&&null!==e&&t.append(!0===a?ge([o],r,s):null===a?o:o+"[]",l(e))})),!1;return!!me(e)||(t.append(ge(n,o,s),l(e)),!1)}const u=[],d=Object.assign(ye,{defaultVisitor:c,convertValue:l,isVisitable:me});if(!ue.isObject(e))throw new TypeError("data must be an object");return function e(o,r){if(!ue.isUndefined(o)){if(-1!==u.indexOf(o))throw Error("Circular reference detected in "+r.join("."));u.push(o),ue.forEach(o,(function(o,s){!0===(!(ue.isUndefined(o)||null===o)&&n.call(t,o,ue.isString(s)?s.trim():s,r,d))&&e(o,r?r.concat(s):[s])})),u.pop()}}(e),t};function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ve(e,t){this._pairs=[],e&&Ce(e,this,t)}const xe=ve.prototype;xe.append=function(e,t){this._pairs.push([e,t])},xe.toString=function(e){const t=e?function(t){return e.call(this,t,we)}:we;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ke=ve;function je(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pe(e,t,o){if(!t)return e;const r=o&&o.encode||je,n=o&&o.serialize;let s;if(s=n?n(t,o):ue.isURLSearchParams(t)?t.toString():new ke(t,o).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}const Se=class{constructor(){this.handlers=[]}use(e,t,o){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!o&&o.synchronous,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ue.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},_e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Te={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ke,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Ee="undefined"!=typeof window&&"undefined"!=typeof document,Re="object"==typeof navigator&&navigator||void 0,Oe=Ee&&(!Re||["ReactNative","NativeScript","NS"].indexOf(Re.product)<0),Ne="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ae=Ee&&window.location.href||"http://localhost",Be={...r,...Te},Fe=function(e){function t(e,o,r,n){let s=e[n++];if("__proto__"===s)return!0;const a=Number.isFinite(+s),i=n>=e.length;return s=!s&&ue.isArray(r)?r.length:s,i?(ue.hasOwnProp(r,s)?r[s]=[r[s],o]:r[s]=o,!a):(r[s]&&ue.isObject(r[s])||(r[s]=[]),t(e,o,r[s],n)&&ue.isArray(r[s])&&(r[s]=function(e){const t={},o=Object.keys(e);let r;const n=o.length;let s;for(r=0;r<n;r++)s=o[r],t[s]=e[s];return t}(r[s])),!a)}if(ue.isFormData(e)&&ue.isFunction(e.entries)){const o={};return ue.forEachEntry(e,((e,r)=>{t(function(e){return ue.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,o,0)})),o}return null},De={transitional:_e,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const o=t.getContentType()||"",r=o.indexOf("application/json")>-1,n=ue.isObject(e);if(n&&ue.isHTMLForm(e)&&(e=new FormData(e)),ue.isFormData(e))return r?JSON.stringify(Fe(e)):e;if(ue.isArrayBuffer(e)||ue.isBuffer(e)||ue.isStream(e)||ue.isFile(e)||ue.isBlob(e)||ue.isReadableStream(e))return e;if(ue.isArrayBufferView(e))return e.buffer;if(ue.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(n){if(o.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Ce(e,new Be.classes.URLSearchParams,Object.assign({visitor:function(e,t,o,r){return Be.isNode&&ue.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((s=ue.isFileList(e))||o.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ce(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return n||r?(t.setContentType("application/json",!1),function(e,t,o){if(ue.isString(e))try{return(0,JSON.parse)(e),ue.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||De.transitional,o=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ue.isResponse(e)||ue.isReadableStream(e))return e;if(e&&ue.isString(e)&&(o&&!this.responseType||r)){const o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw fe.from(e,fe.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Be.classes.FormData,Blob:Be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ue.forEach(["delete","get","head","post","put","patch"],(e=>{De.headers[e]={}}));const Le=De,Ue=ue.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"]),Ie=Symbol("internals");function qe(e){return e&&String(e).trim().toLowerCase()}function Me(e){return!1===e||null==e?e:ue.isArray(e)?e.map(Me):String(e)}function ze(e,t,o,r,n){return ue.isFunction(r)?r.call(this,t,o):(n&&(t=o),ue.isString(t)?ue.isString(r)?-1!==t.indexOf(r):ue.isRegExp(r)?r.test(t):void 0:void 0)}class He{constructor(e){e&&this.set(e)}set(e,t,o){const r=this;function n(e,t,o){const n=qe(t);if(!n)throw new Error("header name must be a non-empty string");const s=ue.findKey(r,n);(!s||void 0===r[s]||!0===o||void 0===o&&!1!==r[s])&&(r[s||t]=Me(e))}const s=(e,t)=>ue.forEach(e,((e,o)=>n(e,o,t)));if(ue.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(ue.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let o,r,n;return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),o=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!o||t[o]&&Ue[o]||("set-cookie"===o?t[o]?t[o].push(r):t[o]=[r]:t[o]=t[o]?t[o]+", "+r:r)})),t})(e),t);else if(ue.isHeaders(e))for(const[t,r]of e.entries())n(r,t,o);else null!=e&&n(t,e,o);return this}get(e,t){if(e=qe(e)){const o=ue.findKey(this,e);if(o){const e=this[o];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(e);)t[r[1]]=r[2];return t}(e);if(ue.isFunction(t))return t.call(this,e,o);if(ue.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=qe(e)){const o=ue.findKey(this,e);return!(!o||void 0===this[o]||t&&!ze(0,this[o],o,t))}return!1}delete(e,t){const o=this;let r=!1;function n(e){if(e=qe(e)){const n=ue.findKey(o,e);!n||t&&!ze(0,o[n],n,t)||(delete o[n],r=!0)}}return ue.isArray(e)?e.forEach(n):n(e),r}clear(e){const t=Object.keys(this);let o=t.length,r=!1;for(;o--;){const n=t[o];e&&!ze(0,this[n],n,e,!0)||(delete this[n],r=!0)}return r}normalize(e){const t=this,o={};return ue.forEach(this,((r,n)=>{const s=ue.findKey(o,n);if(s)return t[s]=Me(r),void delete t[n];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,o)=>t.toUpperCase()+o))}(n):String(n).trim();a!==n&&delete t[n],t[a]=Me(r),o[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ue.forEach(this,((o,r)=>{null!=o&&!1!==o&&(t[r]=e&&ue.isArray(o)?o.join(", "):o)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const o=new this(e);return t.forEach((e=>o.set(e))),o}static accessor(e){const t=(this[Ie]=this[Ie]={accessors:{}}).accessors,o=this.prototype;function r(e){const r=qe(e);t[r]||(function(e,t){const o=ue.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+o,{value:function(e,o,n){return this[r].call(this,t,e,o,n)},configurable:!0})}))}(o,e),t[r]=!0)}return ue.isArray(e)?e.forEach(r):r(e),this}}He.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ue.reduceDescriptors(He.prototype,(({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[o]=e}}})),ue.freezeMethods(He);const We=He;function Ve(e,t){const o=this||Le,r=t||o,n=We.from(r.headers);let s=r.data;return ue.forEach(e,(function(e){s=e.call(o,s,n.normalize(),t?t.status:void 0)})),n.normalize(),s}function Je(e){return!(!e||!e.__CANCEL__)}function $e(e,t,o){fe.call(this,null==e?"canceled":e,fe.ERR_CANCELED,t,o),this.name="CanceledError"}ue.inherits($e,fe,{__CANCEL__:!0});const Ke=$e;function Ge(e,t,o){const r=o.config.validateStatus;o.status&&r&&!r(o.status)?t(new fe("Request failed with status code "+o.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o)):e(o)}const Xe=(e,t,o=3)=>{let r=0;const n=function(e,t){e=e||10;const o=new Array(e),r=new Array(e);let n,s=0,a=0;return t=void 0!==t?t:1e3,function(i){const l=Date.now(),c=r[a];n||(n=l),o[s]=i,r[s]=l;let u=a,d=0;for(;u!==s;)d+=o[u++],u%=e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),l-n<t)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let o,r,n=0,s=1e3/t;const a=(t,s=Date.now())=>{n=s,o=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),i=t-n;i>=s?a(e,t):(o=e,r||(r=setTimeout((()=>{r=null,a(o)}),s-i)))},()=>o&&a(o)]}((o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,i=s-r,l=n(i);r=s,e({loaded:s,total:a,progress:a?s/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&s<=a?(a-s)/l:void 0,event:o,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),o)},Ze=(e,t)=>{const o=null!=e;return[r=>t[0]({lengthComputable:o,total:e,loaded:r}),t[1]]},Qe=e=>(...t)=>ue.asap((()=>e(...t))),Ye=Be.hasStandardBrowserEnv?function(){const e=Be.navigator&&/(msie|trident)/i.test(Be.navigator.userAgent),t=document.createElement("a");let o;function r(o){let r=o;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return o=r(window.location.href),function(e){const t=ue.isString(e)?r(e):e;return t.protocol===o.protocol&&t.host===o.host}}():function(){return!0},et=Be.hasStandardBrowserEnv?{write(e,t,o,r,n,s){const a=[e+"="+encodeURIComponent(t)];ue.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),ue.isString(r)&&a.push("path="+r),ue.isString(n)&&a.push("domain="+n),!0===s&&a.push("secure"),document.cookie=a.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:()=>null,remove(){}};function tt(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ot=e=>e instanceof We?{...e}:e;function rt(e,t){t=t||{};const o={};function r(e,t,o){return ue.isPlainObject(e)&&ue.isPlainObject(t)?ue.merge.call({caseless:o},e,t):ue.isPlainObject(t)?ue.merge({},t):ue.isArray(t)?t.slice():t}function n(e,t,o){return ue.isUndefined(t)?ue.isUndefined(e)?void 0:r(void 0,e,o):r(e,t,o)}function s(e,t){if(!ue.isUndefined(t))return r(void 0,t)}function a(e,t){return ue.isUndefined(t)?ue.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function i(o,n,s){return s in t?r(o,n):s in e?r(void 0,o):void 0}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(e,t)=>n(ot(e),ot(t),!0)};return ue.forEach(Object.keys(Object.assign({},e,t)),(function(r){const s=l[r]||n,a=s(e[r],t[r],r);ue.isUndefined(a)&&s!==i||(o[r]=a)})),o}const nt=e=>{const t=rt({},e);let o,{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:a,headers:i,auth:l}=t;if(t.headers=i=We.from(i),t.url=Pe(tt(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ue.isFormData(r))if(Be.hasStandardBrowserEnv||Be.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(!1!==(o=i.getContentType())){const[e,...t]=o?o.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}if(Be.hasStandardBrowserEnv&&(n&&ue.isFunction(n)&&(n=n(t)),n||!1!==n&&Ye(t.url))){const e=s&&a&&et.read(a);e&&i.set(s,e)}return t},st="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,o){const r=nt(e);let n=r.data;const s=We.from(r.headers).normalize();let a,i,l,c,u,{responseType:d,onUploadProgress:h,onDownloadProgress:p}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function b(){if(!m)return;const r=We.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ge((function(e){t(e),f()}),(function(e){o(e),f()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(b)},m.onabort=function(){m&&(o(new fe("Request aborted",fe.ECONNABORTED,e,m)),m=null)},m.onerror=function(){o(new fe("Network Error",fe.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const n=r.transitional||_e;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),o(new fe(t,n.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,m)),m=null},void 0===n&&s.setContentType(null),"setRequestHeader"in m&&ue.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),ue.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([l,u]=Xe(p,!0),m.addEventListener("progress",l)),h&&m.upload&&([i,c]=Xe(h),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(o(!t||t.type?new Ke(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===Be.protocols.indexOf(g)?o(new fe("Unsupported protocol "+g+":",fe.ERR_BAD_REQUEST,e)):m.send(n||null)}))},at=(e,t)=>{const{length:o}=e=e?e.filter(Boolean):[];if(t||o){let o,r=new AbortController;const n=function(e){if(!o){o=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof fe?t:new Ke(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,n(new fe(`timeout ${t} of ms exceeded`,fe.ETIMEDOUT))}),t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)})),e=null)};e.forEach((e=>e.addEventListener("abort",n)));const{signal:i}=r;return i.unsubscribe=()=>ue.asap(a),i}},it=function*(e,t){let o=e.byteLength;if(!t||o<t)return void(yield e);let r,n=0;for(;n<o;)r=n+t,yield e.slice(n,r),n=r},lt=(e,t,o,r)=>{const n=async function*(e,t){for await(const o of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:o}=await t.read();if(e)break;yield o}}finally{await t.cancel()}}(e))yield*it(o,t)}(e,t);let s,a=0,i=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await n.next();if(t)return i(),void e.close();let s=r.byteLength;if(o){let e=a+=s;o(e)}e.enqueue(new Uint8Array(r))}catch(e){throw i(e),e}},cancel:e=>(i(e),n.return())},{highWaterMark:2})},ct="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ut=ct&&"function"==typeof ReadableStream,dt=ct&&("function"==typeof TextEncoder?(ht=new TextEncoder,e=>ht.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var ht;const pt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},ft=ut&&pt((()=>{let e=!1;const t=new Request(Be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),mt=ut&&pt((()=>ue.isReadableStream(new Response("").body))),bt={stream:mt&&(e=>e.body)};var gt;ct&&(gt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!bt[e]&&(bt[e]=ue.isFunction(gt[e])?t=>t[e]():(t,o)=>{throw new fe(`Response type '${e}' is not supported`,fe.ERR_NOT_SUPPORT,o)})})));const yt={http:null,xhr:st,fetch:ct&&(async e=>{let{url:t,method:o,data:r,signal:n,cancelToken:s,timeout:a,onDownloadProgress:i,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:h}=nt(e);c=c?(c+"").toLowerCase():"text";let p,f=at([n,s&&s.toAbortSignal()],a);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let b;try{if(l&&ft&&"get"!==o&&"head"!==o&&0!==(b=await(async(e,t)=>{const o=ue.toFiniteNumber(e.getContentLength());return null==o?(async e=>{if(null==e)return 0;if(ue.isBlob(e))return e.size;if(ue.isSpecCompliantForm(e)){const t=new Request(Be.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ue.isArrayBufferView(e)||ue.isArrayBuffer(e)?e.byteLength:(ue.isURLSearchParams(e)&&(e+=""),ue.isString(e)?(await dt(e)).byteLength:void 0)})(t):o})(u,r))){let e,o=new Request(t,{method:"POST",body:r,duplex:"half"});if(ue.isFormData(r)&&(e=o.headers.get("content-type"))&&u.setContentType(e),o.body){const[e,t]=Ze(b,Xe(Qe(l)));r=lt(o.body,65536,e,t)}}ue.isString(d)||(d=d?"include":"omit");const n="credentials"in Request.prototype;p=new Request(t,{...h,signal:f,method:o.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:n?d:void 0});let s=await fetch(p);const a=mt&&("stream"===c||"response"===c);if(mt&&(i||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=ue.toFiniteNumber(s.headers.get("content-length")),[o,r]=i&&Ze(t,Xe(Qe(i),!0))||[];s=new Response(lt(s.body,65536,o,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let g=await bt[ue.findKey(bt,c)||"text"](s,e);return!a&&m&&m(),await new Promise(((t,o)=>{Ge(t,o,{data:g,headers:We.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:p})}))}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new fe("Network Error",fe.ERR_NETWORK,e,p),{cause:t.cause||t});throw fe.from(t,t&&t.code,e,p)}})};ue.forEach(yt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ct=e=>`- ${e}`,wt=e=>ue.isFunction(e)||null===e||!1===e,vt=e=>{e=ue.isArray(e)?e:[e];const{length:t}=e;let o,r;const n={};for(let s=0;s<t;s++){let t;if(o=e[s],r=o,!wt(o)&&(r=yt[(t=String(o)).toLowerCase()],void 0===r))throw new fe(`Unknown adapter '${t}'`);if(r)break;n[t||"#"+s]=r}if(!r){const e=Object.entries(n).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let o=t?e.length>1?"since :\n"+e.map(Ct).join("\n"):" "+Ct(e[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r};function xt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ke(null,e)}function kt(e){return xt(e),e.headers=We.from(e.headers),e.data=Ve.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vt(e.adapter||Le.adapter)(e).then((function(t){return xt(e),t.data=Ve.call(e,e.transformResponse,t),t.headers=We.from(t.headers),t}),(function(t){return Je(t)||(xt(e),t&&t.response&&(t.response.data=Ve.call(e,e.transformResponse,t.response),t.response.headers=We.from(t.response.headers))),Promise.reject(t)}))}const jt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{jt[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Pt={};jt.transitional=function(e,t,o){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(o,n,s)=>{if(!1===e)throw new fe(r(n," has been removed"+(t?" in "+t:"")),fe.ERR_DEPRECATED);return t&&!Pt[n]&&(Pt[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(o,n,s)}};const St={assertOptions:function(e,t,o){if("object"!=typeof e)throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let n=r.length;for(;n-- >0;){const s=r[n],a=t[s];if(a){const t=e[s],o=void 0===t||a(t,s,e);if(!0!==o)throw new fe("option "+s+" must be "+o,fe.ERR_BAD_OPTION_VALUE)}else if(!0!==o)throw new fe("Unknown option "+s,fe.ERR_BAD_OPTION)}},validators:jt},_t=St.validators;class Tt{constructor(e){this.defaults=e,this.interceptors={request:new Se,response:new Se}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const o=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?o&&!String(e.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+o):e.stack=o}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=rt(this.defaults,t);const{transitional:o,paramsSerializer:r,headers:n}=t;void 0!==o&&St.assertOptions(o,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean)},!1),null!=r&&(ue.isFunction(r)?t.paramsSerializer={serialize:r}:St.assertOptions(r,{encode:_t.function,serialize:_t.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=n&&ue.merge(n.common,n[t.method]);n&&ue.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]})),t.headers=We.concat(s,n);const a=[];let i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!i){const e=[kt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let h=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{c=kt.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Pe(tt((e=rt(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}ue.forEach(["delete","get","head","options"],(function(e){Tt.prototype[e]=function(t,o){return this.request(rt(o||{},{method:e,url:t,data:(o||{}).data}))}})),ue.forEach(["post","put","patch"],(function(e){function t(t){return function(o,r,n){return this.request(rt(n||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}Tt.prototype[e]=t(),Tt.prototype[e+"Form"]=t(!0)}));const Et=Tt;class Rt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const o=this;this.promise.then((e=>{if(!o._listeners)return;let t=o._listeners.length;for(;t-- >0;)o._listeners[t](e);o._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{o.subscribe(e),t=e})).then(e);return r.cancel=function(){o.unsubscribe(t)},r},e((function(e,r,n){o.reason||(o.reason=new Ke(e,r,n),t(o.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Rt((function(t){e=t})),cancel:e}}}const Ot=Rt,Nt={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(Nt).forEach((([e,t])=>{Nt[t]=e}));const At=Nt,Bt=function e(t){const o=new Et(t),r=w(Et.prototype.request,o);return ue.extend(r,Et.prototype,o,{allOwnKeys:!0}),ue.extend(r,o,null,{allOwnKeys:!0}),r.create=function(o){return e(rt(t,o))},r}(Le);Bt.Axios=Et,Bt.CanceledError=Ke,Bt.CancelToken=Ot,Bt.isCancel=Je,Bt.VERSION="1.7.7",Bt.toFormData=Ce,Bt.AxiosError=fe,Bt.Cancel=Bt.CanceledError,Bt.all=function(e){return Promise.all(e)},Bt.spread=function(e){return function(t){return e.apply(null,t)}},Bt.isAxiosError=function(e){return ue.isObject(e)&&!0===e.isAxiosError},Bt.mergeConfig=rt,Bt.AxiosHeaders=We,Bt.formToJSON=e=>Fe(ue.isHTMLForm(e)?new FormData(e):e),Bt.getAdapter=vt,Bt.HttpStatusCode=At,Bt.default=Bt;const Ft=Bt,Dt=e=>{const{label:t,value:o,onChange:r,exclude:n=[],siteurl:s}=e,[l,u]=(0,a.useState)([]),[d,h]=(0,a.useState)(!0),p=["attachment","revision","nav_menu_item","wp_global_styles","wp_font_family","wp_font_face",...n];(0,a.useEffect)((()=>{s&&Ft.get(s+"blcns/v1/post-types").then((e=>{const t=e.data,o=Object.values(t).filter((e=>!p.includes(e.slug)));u(o),h(!1)}))}),[]);const f=l.map((e=>({label:e.name,value:e.slug})));return(0,y.jsx)(c.SelectControl,{label:t,value:o,options:[{label:(0,i.__)("Select Post Type","blockons"),value:""},...f],onChange:r,disabled:d})},Lt=[{name:"white",color:"#FFF"},{name:"Grey",color:"#9b9b9b"},{name:"Black",color:"#000"},{name:"Dark",color:"#232323"},{name:"Turqoise",color:"#00b291"},{name:"Emerald",color:"#51d88b"},{name:"Peter River",color:"#3497df"},{name:"Amethyst",color:"#9c56b8"},{name:"Wet Asphalt",color:"#34495d"},{name:"Sunflower",color:"#f1c50f"},{name:"Carrot",color:"#e77e22"},{name:"Alizarin",color:"#e84c3d"},{name:"Clouds",color:"#ecf0f1"},{name:"Concrete",color:"#95a5a5"},{name:"Dusty Pink",color:"#d4afb9"},{name:"Soft Purple",color:"#9cadce"},{name:"Creamy",color:"#f2e8ce"},{name:"Soil",color:"#874c48"}],Ut=({imageUrl:e,title:t,text:o,docLink:r,docText:n,upgradeLink:s,upgradeText:a,proFeatures:l,noline:c})=>(0,y.jsxs)("div",{className:"blockons-editor-note "+(c?"noline":""),children:[e&&(0,y.jsx)("div",{className:"bl-note-img",children:(0,y.jsx)("img",{src:e,alt:t})}),t&&(0,y.jsx)("h4",{className:"bl-note-title",children:t}),o&&(0,y.jsx)("div",{className:"bl-note-txt",children:o}),l&&(0,y.jsx)("div",{className:"bl-note-features",children:l.map(((e,t)=>(0,y.jsx)("div",{className:"bl-note-feature",children:e},t)))}),(r||s)&&(0,y.jsxs)("div",{className:"bl-note-links",children:[r&&(0,y.jsx)("a",{href:r,className:"bl-note-link",target:"_blank",children:n||(0,i.__)("Read Documentation","blockons")}),s&&(0,y.jsx)("a",{href:s,className:"bl-note-link upgrade",target:"_blank",children:a||(0,i.__)("Upgrade to Pro","blockons")})]})]}),It={src:(0,y.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,y.jsx)("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),(0,y.jsx)("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),(0,y.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[(0,y.jsx)("path",{d:"M10.77 18.3C9.2807 18.3 7.82485 17.8584 6.58655 17.031C5.34825 16.2036 4.38311 15.0275 3.81318 13.6516C3.24325 12.2757 3.09413 10.7616 3.38468 9.30096C3.67523 7.84029 4.39239 6.49857 5.44548 5.44548C6.49857 4.39239 7.84029 3.67523 9.30096 3.38468C10.7616 3.09413 12.2757 3.24325 13.6516 3.81318C15.0275 4.38311 16.2036 5.34825 17.031 6.58655C17.8584 7.82485 18.3 9.2807 18.3 10.77C18.3 11.7588 18.1052 12.738 17.7268 13.6516C17.3484 14.5652 16.7937 15.3953 16.0945 16.0945C15.3953 16.7937 14.5652 17.3484 13.6516 17.7268C12.738 18.1052 11.7588 18.3 10.77 18.3ZM10.77 4.74999C9.58331 4.74999 8.42327 5.10189 7.43657 5.76118C6.44988 6.42046 5.68084 7.35754 5.22672 8.45389C4.77259 9.55025 4.65377 10.7566 4.88528 11.9205C5.11679 13.0844 5.68824 14.1535 6.52735 14.9926C7.36647 15.8317 8.43556 16.4032 9.59945 16.6347C10.7633 16.8662 11.9697 16.7474 13.0661 16.2933C14.1624 15.8391 15.0995 15.0701 15.7588 14.0834C16.4181 13.0967 16.77 11.9367 16.77 10.75C16.77 9.15869 16.1379 7.63257 15.0126 6.50735C13.8874 5.38213 12.3613 4.74999 10.77 4.74999Z",fill:"#af2dbf"}),(0,y.jsx)("path",{d:"M20 20.75C19.9015 20.7504 19.8038 20.7312 19.7128 20.6934C19.6218 20.6557 19.5392 20.6001 19.47 20.53L15.34 16.4C15.2075 16.2578 15.1354 16.0697 15.1388 15.8754C15.1422 15.6811 15.221 15.4958 15.3584 15.3583C15.4958 15.2209 15.6812 15.1422 15.8755 15.1388C16.0698 15.1354 16.2578 15.2075 16.4 15.34L20.53 19.47C20.6704 19.6106 20.7493 19.8012 20.7493 20C20.7493 20.1987 20.6704 20.3893 20.53 20.53C20.4608 20.6001 20.3782 20.6557 20.2872 20.6934C20.1962 20.7312 20.0985 20.7504 20 20.75Z",fill:"#af2dbf"})]})]})},{UU:qt}=s;(0,n.registerBlockType)(qt,{icon:It,edit:e=>{const{isSelected:t,attributes:{alignment:o,searchId:r,baseUrl:n,searchWidthDefault:s,searchWidthDropdown:u,searchWidthPopup:d,searchDisplay:h,searchValue:p,textButton:f,iconSize:m,iconPadding:b,iconBgColor:w,iconColor:v,searchAlign:x,searchBgColor:k,searchInputBgColor:j,searchInputBorderColor:P,searchInputColor:S,hasPlaceholder:_,hasBtn:T,searchBtnBgColor:E,searchBtnColor:R,searchProId:O,isPremium:N,searchPro:A,searchProTypes:B,searchProAmnt:F,searchProCats:D,searchProCatsTitle:L,searchProCatsAmnt:U,searchProTags:I,searchProTagsTitle:q,searchProTagsAmnt:M,searchProImage:z,searchProDesc:H,searchProPrice:W,searchProHasPreview:V},setAttributes:J}=e,$=blockonsEditorObj.apiUrl,[K,G]=(0,a.useState)(!1),X=Boolean(searchObj.isPremium),Z=(Boolean(searchObj.wcActive),(0,l.useBlockProps)({className:`align-${o} ${t&&K?"blockons-show":""} ${"default"===h?"default-search":"icon-search"}`,id:r})),Q=wp.data.select("core").getSite(),Y=N?{searchProId:O,searchPro:A,searchProTypes:B,searchProAmnt:F,searchProCats:D,searchProCatsTitle:L,searchProCatsAmnt:U,searchProTags:I,searchProTagsTitle:q,searchProTagsAmnt:M,searchProImage:z,searchProDesc:H,searchProPrice:W,searchProHasPreview:V}:{searchPro:A};(0,a.useEffect)((()=>{J({isPremium:X}),!n&&Q&&J({baseUrl:Q.url}),r||J({searchId:"id"+g()}),O||J({searchProId:"id"+g()})}),[]);const ee=e=>{J({searchValue:void 0===e?"":e})},te=e=>{J({textButton:void 0===e?"":e})},oe=()=>{G(!1)};return(0,y.jsxs)("div",{...Z,children:[t&&(0,y.jsxs)(l.InspectorControls,{children:[(0,y.jsxs)(c.PanelBody,{title:(0,i.__)("Search Settings","blockons"),initialOpen:!0,children:[(0,y.jsx)(c.SelectControl,{label:(0,i.__)("Search Display","blockons"),value:h,options:[{label:(0,i.__)("Default","blockons"),value:"default"},{label:(0,i.__)("Icon with Drop Down","blockons"),value:"dropdown"},{label:(0,i.__)("Icon with Popup","blockons"),value:"popup"}],onChange:e=>J({searchDisplay:void 0===e?"dropdown":e})}),"default"===h&&(0,y.jsx)(c.__experimentalUnitControl,{label:(0,i.__)("Search Width","blockons"),value:s,onChange:e=>J({searchWidthDefault:e}),units:[{value:"px",label:"px",default:300},{value:"%",label:"%",default:50}],isResetValueOnUnitChange:!0}),"dropdown"===h&&(0,y.jsx)(c.TextControl,{label:(0,i.__)("Search Width","blockons"),value:u,onChange:e=>J({searchWidthDropdown:parseInt(e)}),type:"number"}),"popup"===h&&(0,y.jsx)(c.TextControl,{label:(0,i.__)("Search Width","blockons"),value:d,onChange:e=>J({searchWidthPopup:parseInt(e)}),type:"number"}),("popup"===h||"dropdown"===h)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Search","blockons"),checked:K,help:(0,i.__)("This will always display the search ONLY in the editor","blockons"),onChange:()=>{G((e=>!e))}})]}),"dropdown"===h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.SelectControl,{label:(0,i.__)("Align Drop Down Search","blockons"),value:x,options:[{label:(0,i.__)("Bottom Right","blockons"),value:"bottomright"},{label:(0,i.__)("Bottom Left","blockons"),value:"bottomleft"},{label:(0,i.__)("Bottom Center","blockons"),value:"bottomcenter"},{label:(0,i.__)("Top Right","blockons"),value:"topright"},{label:(0,i.__)("Top Left","blockons"),value:"topleft"},{label:(0,i.__)("Top Center","blockons"),value:"topcenter"},{label:(0,i.__)("Left","blockons"),value:"left"},{label:(0,i.__)("Right","blockons"),value:"right"}],onChange:e=>J({searchAlign:void 0===e?"bottomleft":e})})]})]}),(0,y.jsxs)(c.PanelBody,{title:(0,i.__)("Search Design","blockons"),initialOpen:!1,children:[("popup"===h||"dropdown"===h)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.RangeControl,{label:(0,i.__)("Icon Size","blockons"),value:m,onChange:e=>J({iconSize:void 0===e?17:e}),min:14,max:50}),(0,y.jsx)(c.RangeControl,{label:(0,i.__)("Icon Padding","blockons"),value:b,onChange:e=>J({iconPadding:void 0===e?5:e}),min:0,max:50}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(C,{label:(0,i.__)("Icon Background Color","blockons"),value:w,onChange:e=>{J({iconBgColor:void 0===e?"#FFF":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Icon Color","blockons"),value:v,onChange:e=>{J({iconColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)("div",{className:"blockons-divider"})]}),"popup"===h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(C,{label:(0,i.__)("Search Background Color","blockons"),value:k,onChange:e=>{J({searchBgColor:void 0===e?"#FFF":e})},paletteColors:Lt}),(0,y.jsx)("div",{className:"blockons-divider"})]}),(0,y.jsx)(C,{label:(0,i.__)("Input Background Color","blockons"),value:j,onChange:e=>{J({searchInputBgColor:void 0===e?"#FFF":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Input Border Color","blockons"),value:P,onChange:e=>{J({searchInputBorderColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Input Font Color","blockons"),value:S,onChange:e=>{J({searchInputColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Has Placeholder Text","blockons"),checked:_,onChange:e=>{J({hasPlaceholder:e})}}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Has Button","blockons"),checked:T,onChange:e=>{J({hasBtn:e})}}),T&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(C,{label:(0,i.__)("Button Background Color","blockons"),value:E,onChange:e=>{J({searchBtnBgColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Button Font Color","blockons"),value:R,onChange:e=>{J({searchBtnColor:void 0===e?"#FFF":e})},paletteColors:Lt})]})]}),(0,y.jsx)(c.PanelBody,{title:(0,i.__)("Instant Search","blockons"),initialOpen:!1,children:N?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Enable Instant Search","blockons"),checked:A,onChange:e=>{J({searchPro:e})}}),A&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Dt,{label:(0,i.__)("Search In:","blockons"),value:B,exclude:["linkt"],onChange:e=>J({searchProTypes:void 0===e?"":e}),siteurl:$}),B&&(0,y.jsx)(c.TextControl,{label:(0,i.__)("Results Amount to Display","blockons"),value:F,onChange:e=>J({searchProAmnt:parseInt(e)}),type:"number"}),B&&"page"!==B&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Categories in Search","blockons"),checked:D,onChange:e=>{J({searchProCats:e})}}),D&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.TextControl,{label:(0,i.__)("Results Title","blockons"),value:L,onChange:e=>J({searchProCatsTitle:e})}),(0,y.jsx)(c.TextControl,{label:(0,i.__)("Amount to Display","blockons"),value:U,onChange:e=>J({searchProCatsAmnt:parseInt(e)}),type:"number"}),(0,y.jsx)("div",{className:"blockons-divider"})]}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Tags in Search","blockons"),checked:I,onChange:e=>{J({searchProTags:e})}}),I&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.TextControl,{label:(0,i.__)("Results Title","blockons"),value:q,onChange:e=>J({searchProTagsTitle:e})}),(0,y.jsx)(c.TextControl,{label:(0,i.__)("Amount to Display","blockons"),value:M,onChange:e=>J({searchProTagsAmnt:parseInt(e)}),type:"number"})]}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Image","blockons"),checked:z,onChange:e=>{J({searchProImage:e})}}),(0,y.jsx)(c.ToggleControl,{label:"product"===B?(0,i.__)("Show Product Short Description","blockons"):(0,i.__)("Show Post Excerpt","blockons"),checked:H,onChange:e=>{J({searchProDesc:e})}}),"product"===B&&(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Product Price","blockons"),checked:W,onChange:e=>{J({searchProPrice:e})}}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Enable Search Previews","blockons"),checked:V,onChange:e=>{J({searchProHasPreview:e})}})]})]})]}):(0,y.jsx)(Ut,{title:(0,i.__)("Get Blockons Instant Search","blockons"),text:(0,i.__)("Upgrade to Blockons Pro to add on live search with quick results and image previews for posts and products.","blockons"),proFeatures:[(0,i.__)("Live quick search results","blockons"),(0,i.__)("Select post type to show in search","blockons"),(0,i.__)("Post / Product Previews in Results","blockons"),(0,i.__)("Display Category and Tag results","blockons"),(0,i.__)("Search results pagination","blockons"),(0,i.__)("Design & layout customization settings","blockons")],docLink:"https://blockons.com/documentation/search-bar-or-search-icon-block/#searchpro",upgradeLink:searchObj.upgradeUrl})})]}),(0,y.jsx)(l.BlockControls,{children:(0,y.jsx)(l.AlignmentToolbar,{value:o,onChange:e=>{J({alignment:void 0===e?"left":e})}})}),(0,y.jsxs)("div",{className:`blockons-search-block ${"dropdown"===h&&x?x:""} ${"default"===h?"nopad":""} ${T?"hasBtn":"noBtn"}`,style:{..."dropdown"===h||"popup"===h?{backgroundColor:w,padding:b,fontSize:m}:""},children:["default"===h&&(0,y.jsxs)("div",{className:"blockons-search-default",style:{width:s},children:[(0,y.jsxs)("div",{className:"blockons-search-inner "+(_?"hasph":"noph"),children:[(0,y.jsx)(l.RichText,{tagName:"div",value:p||(0,i.__)("Add Placeholder...","blockons"),className:"blockons-search-input",onChange:ee,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:j,borderColor:P,color:S}}),T&&(0,y.jsx)(l.RichText,{tagName:"div",value:f,className:"blockons-search-button",onChange:te,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:E,color:R}})]}),N&&A&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:O,"data-settings":JSON.stringify(Y)})]}),("dropdown"===h||"popup"===h)&&(0,y.jsx)("span",{className:"fa-solid fa-magnifying-glass",style:{color:v}}),"dropdown"===h&&(0,y.jsxs)("div",{className:"blockons-search-dropdown",style:{width:u+"px",..."bottomcenter"===x||"topcenter"===x?{marginLeft:"-"+u/2+"px"}:""},children:[(0,y.jsxs)("div",{className:"blockons-search-inner "+(_?"hasph":"noph"),children:[(0,y.jsx)(l.RichText,{tagName:"div",value:p||(0,i.__)("Add Placeholder...","blockons"),className:"blockons-search-input",onChange:ee,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:j,borderColor:P,color:S}}),T&&(0,y.jsx)(l.RichText,{tagName:"div",value:f,className:"blockons-search-button",onChange:te,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:E,color:R}})]}),N&&A&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:O,"data-settings":JSON.stringify(Y)})]})]}),"popup"===h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-search-popup-overlay",onClick:oe}),(0,y.jsx)("div",{className:"blockons-search-popup-wrapper",children:(0,y.jsxs)("div",{className:"blockons-search-popup",style:{width:d+"px",backgroundColor:k},children:[(0,y.jsx)("div",{className:"blockons-close fas fa-x",onClick:oe}),(0,y.jsxs)("div",{className:"blockons-search-inner "+(_?"hasph":"noph"),children:[(0,y.jsx)(l.RichText,{tagName:"div",value:p||(0,i.__)("Add Placeholder...","blockons"),className:"blockons-search-input",onChange:ee,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:j,borderColor:P,color:S}}),T&&(0,y.jsx)(l.RichText,{tagName:"div",value:f,className:"blockons-search-button",onChange:te,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:E,color:R}})]}),N&&A&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:O,"data-settings":JSON.stringify(Y)})]})})]})]})},save:({attributes:e})=>{const t=l.useBlockProps.save({className:`align-${e.alignment} ${"default"===e.searchDisplay?"default-search":"icon-search"}`,id:e.searchId}),o=e.isPremium?{searchProId:e.searchProId,searchPro:e.searchPro,searchProTypes:e.searchProTypes,searchProAmnt:e.searchProAmnt,searchProCats:e.searchProCats,searchProCatsTitle:e.searchProCatsTitle,searchProCatsAmnt:e.searchProCatsAmnt,searchProTags:e.searchProTags,searchProTagsTitle:e.searchProTagsTitle,searchProTagsAmnt:e.searchProTagsAmnt,searchProImage:e.searchProImage,searchProDesc:e.searchProDesc,searchProPrice:e.searchProPrice,searchProHasPreview:e.searchProHasPreview}:{searchPro:e.searchPro},r={role:"search",method:"get",className:"blockons-search-inner "+(e.hasPlaceholder?"hasph":"noph"),...e.baseUrl?{action:e.baseUrl}:{},onSubmit:"var l=window.location.pathname.match(/^\\/[^\\/]+/);this.action=l?window.location.pathname:'/';"};return(0,y.jsxs)("div",{...t,children:[(0,y.jsxs)("div",{className:`blockons-search-block ${e.searchDisplay} ${"dropdown"===e.searchDisplay&&e.searchAlign?e.searchAlign:""} ${"default"===e.searchDisplay?"nopad":""} ${e.hasBtn?"hasBtn":"noBtn"}`,style:{..."dropdown"===e.searchDisplay||"popup"===e.searchDisplay?{backgroundColor:e.iconBgColor,padding:e.iconPadding,fontSize:e.iconSize}:""},children:["default"===e.searchDisplay&&(0,y.jsxs)("div",{className:"blockons-search-default",style:{width:e.searchWidthDefault},children:[(0,y.jsxs)("form",{...r,children:[(0,y.jsx)("input",{type:"text",name:"s",className:"blockons-search-input",...e.hasPlaceholder?{placeholder:e.searchValue}:{},required:!0,autoComplete:"off",style:{backgroundColor:e.searchInputBgColor,borderColor:e.searchInputBorderColor,color:e.searchInputColor}}),e.hasBtn&&(0,y.jsx)("button",{type:"submit",className:"blockons-search-button",style:{backgroundColor:e.searchBtnBgColor,color:e.searchBtnColor},children:(0,y.jsx)(l.RichText.Content,{value:e.textButton})})]}),e.isPremium&&e.searchPro&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:e.searchProId,"data-settings":JSON.stringify(o)})]}),("dropdown"===e.searchDisplay||"popup"===e.searchDisplay)&&(0,y.jsx)("span",{className:"fa-solid fa-magnifying-glass",style:{color:e.iconColor}}),"dropdown"===e.searchDisplay&&(0,y.jsxs)("div",{className:"blockons-search-dropdown",style:{width:e.searchWidthDropdown+"px",..."bottomcenter"===e.searchAlign||"topcenter"===e.searchAlign?{marginLeft:"-"+e.searchWidthDropdown/2+"px"}:""},children:[(0,y.jsxs)("form",{...r,children:[(0,y.jsx)("input",{type:"text",name:"s",className:"blockons-search-input",...e.hasPlaceholder?{placeholder:e.searchValue}:{},required:!0,autoComplete:"off",style:{backgroundColor:e.searchInputBgColor,borderColor:e.searchInputBorderColor,color:e.searchInputColor}}),e.hasBtn&&(0,y.jsx)("button",{type:"submit",className:"blockons-search-button",style:{backgroundColor:e.searchBtnBgColor,color:e.searchBtnColor},children:(0,y.jsx)(l.RichText.Content,{value:e.textButton})})]}),e.isPremium&&e.searchPro&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:e.searchProId,"data-settings":JSON.stringify(o)})]})]}),"popup"===e.searchDisplay&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-search-popup-overlay"}),(0,y.jsx)("div",{className:"blockons-search-popup-wrapper",children:(0,y.jsxs)("div",{className:"blockons-search-popup",style:{width:e.searchWidthPopup+"px",backgroundColor:e.searchBgColor},children:[(0,y.jsx)("div",{className:"blockons-close fas fa-x"}),(0,y.jsxs)("form",{role:"search",method:"get",className:"blockons-search-inner "+(e.hasPlaceholder?"hasph":"noph"),...e.baseUrl?{action:e.baseUrl}:{},children:[(0,y.jsx)("input",{type:"text",name:"s",className:"blockons-search-input",...e.hasPlaceholder?{placeholder:e.searchValue}:{},required:!0,autoComplete:"off",style:{backgroundColor:e.searchInputBgColor,borderColor:e.searchInputBorderColor,color:e.searchInputColor}}),e.hasBtn&&(0,y.jsx)("button",{type:"submit",className:"blockons-search-button",style:{backgroundColor:e.searchBtnBgColor,color:e.searchBtnColor},children:(0,y.jsx)(l.RichText.Content,{value:e.textButton})})]}),e.isPremium&&e.searchPro&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:e.searchProId,"data-settings":JSON.stringify(o)})]})})]})]})}})}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,r),s.exports}r.m=t,e=[],r.O=(t,o,n,s)=>{if(!o){var a=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],s=e[u][2];for(var i=!0,l=0;l<o.length;l++)(!1&s||a>=s)&&Object.keys(r.O).every((e=>r.O[e](o[l])))?o.splice(l--,1):(i=!1,s<a&&(a=s));if(i){e.splice(u--,1);var c=n();void 0!==c&&(t=c)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[o,n,s]},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={842:0,326:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var n,s,a=o[0],i=o[1],l=o[2],c=0;if(a.some((t=>0!==e[t]))){for(n in i)r.o(i,n)&&(r.m[n]=i[n]);if(l)var u=l(r)}for(t&&t(o);c<a.length;c++)s=a[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return r.O(u)},o=self.webpackChunkblockons=self.webpackChunkblockons||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var n=r.O(void 0,[326],(()=>r(1294)));n=r.O(n)})();1 (()=>{"use strict";var e,t={1294:(e,t,o)=>{var r={};o.r(r),o.d(r,{hasBrowserEnv:()=>Ee,hasStandardBrowserEnv:()=>Re,hasStandardBrowserWebWorkerEnv:()=>Ne,navigator:()=>Oe,origin:()=>Ae});const n=window.wp.blocks,s=JSON.parse('{"UU":"blockons/search"}'),a=window.wp.element,i=window.wp.i18n,l=window.wp.blockEditor,c=window.wp.components;var u,d=new Uint8Array(16);function h(){if(!u&&!(u="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(d)}const p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var f=[],m=0;m<256;++m)f.push((m+256).toString(16).substr(1));const b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(f[e[t+0]]+f[e[t+1]]+f[e[t+2]]+f[e[t+3]]+"-"+f[e[t+4]]+f[e[t+5]]+"-"+f[e[t+6]]+f[e[t+7]]+"-"+f[e[t+8]]+f[e[t+9]]+"-"+f[e[t+10]]+f[e[t+11]]+f[e[t+12]]+f[e[t+13]]+f[e[t+14]]+f[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&p.test(e)}(o))throw TypeError("Stringified UUID is invalid");return o},g=function(e,t,o){var r=(e=e||{}).random||(e.rng||h)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){o=o||0;for(var n=0;n<16;++n)t[o+n]=r[n];return t}return b(r)},y=window.ReactJSXRuntime,C=e=>{const{label:t,value:o,onChange:r,paletteColors:n}=e;return(0,y.jsx)(c.Dropdown,{className:"blockons-colorpicker",contentClassName:"blockons-editor-popup blockons-colorpicker-popup",popoverProps:{placement:"bottom-start"},renderToggle:({isOpen:e,onToggle:r})=>(0,y.jsxs)(c.Button,{variant:"link",onClick:r,className:"blockons-colorpicker-btn",children:[(0,y.jsx)(c.ColorIndicator,{colorValue:o}),(0,y.jsx)("span",{children:t})]}),renderContent:()=>(0,y.jsx)(c.ColorPalette,{colors:n,value:o,onChange:r})})};function w(e,t){return function(){return e.apply(t,arguments)}}const{toString:v}=Object.prototype,{getPrototypeOf:x}=Object,k=(j=Object.create(null),e=>{const t=v.call(e);return j[t]||(j[t]=t.slice(8,-1).toLowerCase())});var j;const P=e=>(e=e.toLowerCase(),t=>k(t)===e),_=e=>t=>typeof t===e,{isArray:S}=Array,T=_("undefined"),E=P("ArrayBuffer"),O=_("string"),R=_("function"),N=_("number"),A=e=>null!==e&&"object"==typeof e,B=e=>{if("object"!==k(e))return!1;const t=x(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},D=P("Date"),F=P("File"),L=P("Blob"),U=P("FileList"),I=P("URLSearchParams"),[q,M,z,H]=["ReadableStream","Request","Response","Headers"].map(P);function W(e,t,{allOwnKeys:o=!1}={}){if(null==e)return;let r,n;if("object"!=typeof e&&(e=[e]),S(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{const n=o?Object.getOwnPropertyNames(e):Object.keys(e),s=n.length;let a;for(r=0;r<s;r++)a=n[r],t.call(null,e[a],a,e)}}function V(e,t){t=t.toLowerCase();const o=Object.keys(e);let r,n=o.length;for(;n-- >0;)if(r=o[n],t===r.toLowerCase())return r;return null}const J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,$=e=>!T(e)&&e!==J,K=(G="undefined"!=typeof Uint8Array&&x(Uint8Array),e=>G&&e instanceof G);var G;const X=P("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),Q=P("RegExp"),Y=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};W(o,((o,n)=>{let s;!1!==(s=t(o,n,e))&&(r[n]=s||o)})),Object.defineProperties(e,r)},ee="abcdefghijklmnopqrstuvwxyz",te="0123456789",oe={DIGIT:te,ALPHA:ee,ALPHA_DIGIT:ee+ee.toUpperCase()+te},re=P("AsyncFunction"),ne=(se="function"==typeof setImmediate,ae=R(J.postMessage),se?setImmediate:ae?(ie=`axios@${Math.random()}`,le=[],J.addEventListener("message",(({source:e,data:t})=>{e===J&&t===ie&&le.length&&le.shift()()}),!1),e=>{le.push(e),J.postMessage(ie,"*")}):e=>setTimeout(e));var se,ae,ie,le;const ce="undefined"!=typeof queueMicrotask?queueMicrotask.bind(J):"undefined"!=typeof process&&process.nextTick||ne,ue={isArray:S,isArrayBuffer:E,isBuffer:function(e){return null!==e&&!T(e)&&null!==e.constructor&&!T(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=k(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t},isString:O,isNumber:N,isBoolean:e=>!0===e||!1===e,isObject:A,isPlainObject:B,isReadableStream:q,isRequest:M,isResponse:z,isHeaders:H,isUndefined:T,isDate:D,isFile:F,isBlob:L,isRegExp:Q,isFunction:R,isStream:e=>A(e)&&R(e.pipe),isURLSearchParams:I,isTypedArray:K,isFileList:U,forEach:W,merge:function e(){const{caseless:t}=$(this)&&this||{},o={},r=(r,n)=>{const s=t&&V(o,n)||n;B(o[s])&&B(r)?o[s]=e(o[s],r):B(r)?o[s]=e({},r):S(r)?o[s]=r.slice():o[s]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&W(arguments[e],r);return o},extend:(e,t,o,{allOwnKeys:r}={})=>(W(t,((t,r)=>{o&&R(t)?e[r]=w(t,o):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),o&&Object.assign(e.prototype,o)},toFlatObject:(e,t,o,r)=>{let n,s,a;const i={};if(t=t||{},null==e)return t;do{for(n=Object.getOwnPropertyNames(e),s=n.length;s-- >0;)a=n[s],r&&!r(a,e,t)||i[a]||(t[a]=e[a],i[a]=!0);e=!1!==o&&x(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:P,endsWith:(e,t,o)=>{e=String(e),(void 0===o||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return-1!==r&&r===o},toArray:e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!N(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},forEachEntry:(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},matchAll:(e,t)=>{let o;const r=[];for(;null!==(o=e.exec(t));)r.push(o);return r},isHTMLForm:X,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:e=>{Y(e,((t,o)=>{if(R(e)&&-1!==["arguments","caller","callee"].indexOf(o))return!1;const r=e[o];R(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")}))}))},toObjectSet:(e,t)=>{const o={},r=e=>{e.forEach((e=>{o[e]=!0}))};return S(e)?r(e):r(String(e).split(t)),o},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,o){return t.toUpperCase()+o})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:V,global:J,isContextDefined:$,ALPHABET:oe,generateString:(e=16,t=oe.ALPHA_DIGIT)=>{let o="";const{length:r}=t;for(;e--;)o+=t[Math.random()*r|0];return o},isSpecCompliantForm:function(e){return!!(e&&R(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),o=(e,r)=>{if(A(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const n=S(e)?[]:{};return W(e,((e,t)=>{const s=o(e,r+1);!T(s)&&(n[t]=s)})),t[r]=void 0,n}}return e};return o(e,0)},isAsyncFn:re,isThenable:e=>e&&(A(e)||R(e))&&R(e.then)&&R(e.catch),setImmediate:ne,asap:ce};function de(e,t,o,r,n){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),o&&(this.config=o),r&&(this.request=r),n&&(this.response=n,this.status=n.status?n.status:null)}ue.inherits(de,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:ue.toJSONObject(this.config),code:this.code,status:this.status}}});const he=de.prototype,pe={};["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=>{pe[e]={value:e}})),Object.defineProperties(de,pe),Object.defineProperty(he,"isAxiosError",{value:!0}),de.from=(e,t,o,r,n,s)=>{const a=Object.create(he);return ue.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),de.call(a,e.message,t,o,r,n),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const fe=de;function me(e){return ue.isPlainObject(e)||ue.isArray(e)}function be(e){return ue.endsWith(e,"[]")?e.slice(0,-2):e}function ge(e,t,o){return e?e.concat(t).map((function(e,t){return e=be(e),!o&&t?"["+e+"]":e})).join(o?".":""):t}const ye=ue.toFlatObject(ue,{},null,(function(e){return/^is[A-Z]/.test(e)})),Ce=function(e,t,o){if(!ue.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(o=ue.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ue.isUndefined(t[e])}))).metaTokens,n=o.visitor||c,s=o.dots,a=o.indexes,i=(o.Blob||"undefined"!=typeof Blob&&Blob)&&ue.isSpecCompliantForm(t);if(!ue.isFunction(n))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ue.isDate(e))return e.toISOString();if(!i&&ue.isBlob(e))throw new fe("Blob is not supported. Use a Buffer instead.");return ue.isArrayBuffer(e)||ue.isTypedArray(e)?i&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,o,n){let i=e;if(e&&!n&&"object"==typeof e)if(ue.endsWith(o,"{}"))o=r?o:o.slice(0,-2),e=JSON.stringify(e);else if(ue.isArray(e)&&function(e){return ue.isArray(e)&&!e.some(me)}(e)||(ue.isFileList(e)||ue.endsWith(o,"[]"))&&(i=ue.toArray(e)))return o=be(o),i.forEach((function(e,r){!ue.isUndefined(e)&&null!==e&&t.append(!0===a?ge([o],r,s):null===a?o:o+"[]",l(e))})),!1;return!!me(e)||(t.append(ge(n,o,s),l(e)),!1)}const u=[],d=Object.assign(ye,{defaultVisitor:c,convertValue:l,isVisitable:me});if(!ue.isObject(e))throw new TypeError("data must be an object");return function e(o,r){if(!ue.isUndefined(o)){if(-1!==u.indexOf(o))throw Error("Circular reference detected in "+r.join("."));u.push(o),ue.forEach(o,(function(o,s){!0===(!(ue.isUndefined(o)||null===o)&&n.call(t,o,ue.isString(s)?s.trim():s,r,d))&&e(o,r?r.concat(s):[s])})),u.pop()}}(e),t};function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ve(e,t){this._pairs=[],e&&Ce(e,this,t)}const xe=ve.prototype;xe.append=function(e,t){this._pairs.push([e,t])},xe.toString=function(e){const t=e?function(t){return e.call(this,t,we)}:we;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ke=ve;function je(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pe(e,t,o){if(!t)return e;const r=o&&o.encode||je,n=o&&o.serialize;let s;if(s=n?n(t,o):ue.isURLSearchParams(t)?t.toString():new ke(t,o).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}const _e=class{constructor(){this.handlers=[]}use(e,t,o){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!o&&o.synchronous,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ue.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Se={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Te={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ke,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Ee="undefined"!=typeof window&&"undefined"!=typeof document,Oe="object"==typeof navigator&&navigator||void 0,Re=Ee&&(!Oe||["ReactNative","NativeScript","NS"].indexOf(Oe.product)<0),Ne="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ae=Ee&&window.location.href||"http://localhost",Be={...r,...Te},De=function(e){function t(e,o,r,n){let s=e[n++];if("__proto__"===s)return!0;const a=Number.isFinite(+s),i=n>=e.length;return s=!s&&ue.isArray(r)?r.length:s,i?(ue.hasOwnProp(r,s)?r[s]=[r[s],o]:r[s]=o,!a):(r[s]&&ue.isObject(r[s])||(r[s]=[]),t(e,o,r[s],n)&&ue.isArray(r[s])&&(r[s]=function(e){const t={},o=Object.keys(e);let r;const n=o.length;let s;for(r=0;r<n;r++)s=o[r],t[s]=e[s];return t}(r[s])),!a)}if(ue.isFormData(e)&&ue.isFunction(e.entries)){const o={};return ue.forEachEntry(e,((e,r)=>{t(function(e){return ue.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,o,0)})),o}return null},Fe={transitional:Se,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const o=t.getContentType()||"",r=o.indexOf("application/json")>-1,n=ue.isObject(e);if(n&&ue.isHTMLForm(e)&&(e=new FormData(e)),ue.isFormData(e))return r?JSON.stringify(De(e)):e;if(ue.isArrayBuffer(e)||ue.isBuffer(e)||ue.isStream(e)||ue.isFile(e)||ue.isBlob(e)||ue.isReadableStream(e))return e;if(ue.isArrayBufferView(e))return e.buffer;if(ue.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(n){if(o.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Ce(e,new Be.classes.URLSearchParams,Object.assign({visitor:function(e,t,o,r){return Be.isNode&&ue.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((s=ue.isFileList(e))||o.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ce(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return n||r?(t.setContentType("application/json",!1),function(e,t,o){if(ue.isString(e))try{return(0,JSON.parse)(e),ue.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Fe.transitional,o=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ue.isResponse(e)||ue.isReadableStream(e))return e;if(e&&ue.isString(e)&&(o&&!this.responseType||r)){const o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw fe.from(e,fe.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Be.classes.FormData,Blob:Be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ue.forEach(["delete","get","head","post","put","patch"],(e=>{Fe.headers[e]={}}));const Le=Fe,Ue=ue.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"]),Ie=Symbol("internals");function qe(e){return e&&String(e).trim().toLowerCase()}function Me(e){return!1===e||null==e?e:ue.isArray(e)?e.map(Me):String(e)}function ze(e,t,o,r,n){return ue.isFunction(r)?r.call(this,t,o):(n&&(t=o),ue.isString(t)?ue.isString(r)?-1!==t.indexOf(r):ue.isRegExp(r)?r.test(t):void 0:void 0)}class He{constructor(e){e&&this.set(e)}set(e,t,o){const r=this;function n(e,t,o){const n=qe(t);if(!n)throw new Error("header name must be a non-empty string");const s=ue.findKey(r,n);(!s||void 0===r[s]||!0===o||void 0===o&&!1!==r[s])&&(r[s||t]=Me(e))}const s=(e,t)=>ue.forEach(e,((e,o)=>n(e,o,t)));if(ue.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(ue.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let o,r,n;return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),o=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!o||t[o]&&Ue[o]||("set-cookie"===o?t[o]?t[o].push(r):t[o]=[r]:t[o]=t[o]?t[o]+", "+r:r)})),t})(e),t);else if(ue.isHeaders(e))for(const[t,r]of e.entries())n(r,t,o);else null!=e&&n(t,e,o);return this}get(e,t){if(e=qe(e)){const o=ue.findKey(this,e);if(o){const e=this[o];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(e);)t[r[1]]=r[2];return t}(e);if(ue.isFunction(t))return t.call(this,e,o);if(ue.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=qe(e)){const o=ue.findKey(this,e);return!(!o||void 0===this[o]||t&&!ze(0,this[o],o,t))}return!1}delete(e,t){const o=this;let r=!1;function n(e){if(e=qe(e)){const n=ue.findKey(o,e);!n||t&&!ze(0,o[n],n,t)||(delete o[n],r=!0)}}return ue.isArray(e)?e.forEach(n):n(e),r}clear(e){const t=Object.keys(this);let o=t.length,r=!1;for(;o--;){const n=t[o];e&&!ze(0,this[n],n,e,!0)||(delete this[n],r=!0)}return r}normalize(e){const t=this,o={};return ue.forEach(this,((r,n)=>{const s=ue.findKey(o,n);if(s)return t[s]=Me(r),void delete t[n];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,o)=>t.toUpperCase()+o))}(n):String(n).trim();a!==n&&delete t[n],t[a]=Me(r),o[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ue.forEach(this,((o,r)=>{null!=o&&!1!==o&&(t[r]=e&&ue.isArray(o)?o.join(", "):o)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const o=new this(e);return t.forEach((e=>o.set(e))),o}static accessor(e){const t=(this[Ie]=this[Ie]={accessors:{}}).accessors,o=this.prototype;function r(e){const r=qe(e);t[r]||(function(e,t){const o=ue.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+o,{value:function(e,o,n){return this[r].call(this,t,e,o,n)},configurable:!0})}))}(o,e),t[r]=!0)}return ue.isArray(e)?e.forEach(r):r(e),this}}He.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ue.reduceDescriptors(He.prototype,(({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[o]=e}}})),ue.freezeMethods(He);const We=He;function Ve(e,t){const o=this||Le,r=t||o,n=We.from(r.headers);let s=r.data;return ue.forEach(e,(function(e){s=e.call(o,s,n.normalize(),t?t.status:void 0)})),n.normalize(),s}function Je(e){return!(!e||!e.__CANCEL__)}function $e(e,t,o){fe.call(this,null==e?"canceled":e,fe.ERR_CANCELED,t,o),this.name="CanceledError"}ue.inherits($e,fe,{__CANCEL__:!0});const Ke=$e;function Ge(e,t,o){const r=o.config.validateStatus;o.status&&r&&!r(o.status)?t(new fe("Request failed with status code "+o.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o)):e(o)}const Xe=(e,t,o=3)=>{let r=0;const n=function(e,t){e=e||10;const o=new Array(e),r=new Array(e);let n,s=0,a=0;return t=void 0!==t?t:1e3,function(i){const l=Date.now(),c=r[a];n||(n=l),o[s]=i,r[s]=l;let u=a,d=0;for(;u!==s;)d+=o[u++],u%=e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),l-n<t)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let o,r,n=0,s=1e3/t;const a=(t,s=Date.now())=>{n=s,o=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),i=t-n;i>=s?a(e,t):(o=e,r||(r=setTimeout((()=>{r=null,a(o)}),s-i)))},()=>o&&a(o)]}((o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,i=s-r,l=n(i);r=s,e({loaded:s,total:a,progress:a?s/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&s<=a?(a-s)/l:void 0,event:o,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),o)},Ze=(e,t)=>{const o=null!=e;return[r=>t[0]({lengthComputable:o,total:e,loaded:r}),t[1]]},Qe=e=>(...t)=>ue.asap((()=>e(...t))),Ye=Be.hasStandardBrowserEnv?function(){const e=Be.navigator&&/(msie|trident)/i.test(Be.navigator.userAgent),t=document.createElement("a");let o;function r(o){let r=o;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return o=r(window.location.href),function(e){const t=ue.isString(e)?r(e):e;return t.protocol===o.protocol&&t.host===o.host}}():function(){return!0},et=Be.hasStandardBrowserEnv?{write(e,t,o,r,n,s){const a=[e+"="+encodeURIComponent(t)];ue.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),ue.isString(r)&&a.push("path="+r),ue.isString(n)&&a.push("domain="+n),!0===s&&a.push("secure"),document.cookie=a.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:()=>null,remove(){}};function tt(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ot=e=>e instanceof We?{...e}:e;function rt(e,t){t=t||{};const o={};function r(e,t,o){return ue.isPlainObject(e)&&ue.isPlainObject(t)?ue.merge.call({caseless:o},e,t):ue.isPlainObject(t)?ue.merge({},t):ue.isArray(t)?t.slice():t}function n(e,t,o){return ue.isUndefined(t)?ue.isUndefined(e)?void 0:r(void 0,e,o):r(e,t,o)}function s(e,t){if(!ue.isUndefined(t))return r(void 0,t)}function a(e,t){return ue.isUndefined(t)?ue.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function i(o,n,s){return s in t?r(o,n):s in e?r(void 0,o):void 0}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(e,t)=>n(ot(e),ot(t),!0)};return ue.forEach(Object.keys(Object.assign({},e,t)),(function(r){const s=l[r]||n,a=s(e[r],t[r],r);ue.isUndefined(a)&&s!==i||(o[r]=a)})),o}const nt=e=>{const t=rt({},e);let o,{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:a,headers:i,auth:l}=t;if(t.headers=i=We.from(i),t.url=Pe(tt(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ue.isFormData(r))if(Be.hasStandardBrowserEnv||Be.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(!1!==(o=i.getContentType())){const[e,...t]=o?o.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}if(Be.hasStandardBrowserEnv&&(n&&ue.isFunction(n)&&(n=n(t)),n||!1!==n&&Ye(t.url))){const e=s&&a&&et.read(a);e&&i.set(s,e)}return t},st="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,o){const r=nt(e);let n=r.data;const s=We.from(r.headers).normalize();let a,i,l,c,u,{responseType:d,onUploadProgress:h,onDownloadProgress:p}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function b(){if(!m)return;const r=We.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ge((function(e){t(e),f()}),(function(e){o(e),f()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(b)},m.onabort=function(){m&&(o(new fe("Request aborted",fe.ECONNABORTED,e,m)),m=null)},m.onerror=function(){o(new fe("Network Error",fe.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const n=r.transitional||Se;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),o(new fe(t,n.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,m)),m=null},void 0===n&&s.setContentType(null),"setRequestHeader"in m&&ue.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),ue.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([l,u]=Xe(p,!0),m.addEventListener("progress",l)),h&&m.upload&&([i,c]=Xe(h),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(o(!t||t.type?new Ke(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===Be.protocols.indexOf(g)?o(new fe("Unsupported protocol "+g+":",fe.ERR_BAD_REQUEST,e)):m.send(n||null)}))},at=(e,t)=>{const{length:o}=e=e?e.filter(Boolean):[];if(t||o){let o,r=new AbortController;const n=function(e){if(!o){o=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof fe?t:new Ke(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,n(new fe(`timeout ${t} of ms exceeded`,fe.ETIMEDOUT))}),t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)})),e=null)};e.forEach((e=>e.addEventListener("abort",n)));const{signal:i}=r;return i.unsubscribe=()=>ue.asap(a),i}},it=function*(e,t){let o=e.byteLength;if(!t||o<t)return void(yield e);let r,n=0;for(;n<o;)r=n+t,yield e.slice(n,r),n=r},lt=(e,t,o,r)=>{const n=async function*(e,t){for await(const o of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:o}=await t.read();if(e)break;yield o}}finally{await t.cancel()}}(e))yield*it(o,t)}(e,t);let s,a=0,i=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await n.next();if(t)return i(),void e.close();let s=r.byteLength;if(o){let e=a+=s;o(e)}e.enqueue(new Uint8Array(r))}catch(e){throw i(e),e}},cancel:e=>(i(e),n.return())},{highWaterMark:2})},ct="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ut=ct&&"function"==typeof ReadableStream,dt=ct&&("function"==typeof TextEncoder?(ht=new TextEncoder,e=>ht.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var ht;const pt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},ft=ut&&pt((()=>{let e=!1;const t=new Request(Be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),mt=ut&&pt((()=>ue.isReadableStream(new Response("").body))),bt={stream:mt&&(e=>e.body)};var gt;ct&&(gt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!bt[e]&&(bt[e]=ue.isFunction(gt[e])?t=>t[e]():(t,o)=>{throw new fe(`Response type '${e}' is not supported`,fe.ERR_NOT_SUPPORT,o)})})));const yt={http:null,xhr:st,fetch:ct&&(async e=>{let{url:t,method:o,data:r,signal:n,cancelToken:s,timeout:a,onDownloadProgress:i,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:h}=nt(e);c=c?(c+"").toLowerCase():"text";let p,f=at([n,s&&s.toAbortSignal()],a);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let b;try{if(l&&ft&&"get"!==o&&"head"!==o&&0!==(b=await(async(e,t)=>{const o=ue.toFiniteNumber(e.getContentLength());return null==o?(async e=>{if(null==e)return 0;if(ue.isBlob(e))return e.size;if(ue.isSpecCompliantForm(e)){const t=new Request(Be.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ue.isArrayBufferView(e)||ue.isArrayBuffer(e)?e.byteLength:(ue.isURLSearchParams(e)&&(e+=""),ue.isString(e)?(await dt(e)).byteLength:void 0)})(t):o})(u,r))){let e,o=new Request(t,{method:"POST",body:r,duplex:"half"});if(ue.isFormData(r)&&(e=o.headers.get("content-type"))&&u.setContentType(e),o.body){const[e,t]=Ze(b,Xe(Qe(l)));r=lt(o.body,65536,e,t)}}ue.isString(d)||(d=d?"include":"omit");const n="credentials"in Request.prototype;p=new Request(t,{...h,signal:f,method:o.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:n?d:void 0});let s=await fetch(p);const a=mt&&("stream"===c||"response"===c);if(mt&&(i||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=ue.toFiniteNumber(s.headers.get("content-length")),[o,r]=i&&Ze(t,Xe(Qe(i),!0))||[];s=new Response(lt(s.body,65536,o,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let g=await bt[ue.findKey(bt,c)||"text"](s,e);return!a&&m&&m(),await new Promise(((t,o)=>{Ge(t,o,{data:g,headers:We.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:p})}))}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new fe("Network Error",fe.ERR_NETWORK,e,p),{cause:t.cause||t});throw fe.from(t,t&&t.code,e,p)}})};ue.forEach(yt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ct=e=>`- ${e}`,wt=e=>ue.isFunction(e)||null===e||!1===e,vt=e=>{e=ue.isArray(e)?e:[e];const{length:t}=e;let o,r;const n={};for(let s=0;s<t;s++){let t;if(o=e[s],r=o,!wt(o)&&(r=yt[(t=String(o)).toLowerCase()],void 0===r))throw new fe(`Unknown adapter '${t}'`);if(r)break;n[t||"#"+s]=r}if(!r){const e=Object.entries(n).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let o=t?e.length>1?"since :\n"+e.map(Ct).join("\n"):" "+Ct(e[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r};function xt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ke(null,e)}function kt(e){return xt(e),e.headers=We.from(e.headers),e.data=Ve.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vt(e.adapter||Le.adapter)(e).then((function(t){return xt(e),t.data=Ve.call(e,e.transformResponse,t),t.headers=We.from(t.headers),t}),(function(t){return Je(t)||(xt(e),t&&t.response&&(t.response.data=Ve.call(e,e.transformResponse,t.response),t.response.headers=We.from(t.response.headers))),Promise.reject(t)}))}const jt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{jt[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Pt={};jt.transitional=function(e,t,o){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(o,n,s)=>{if(!1===e)throw new fe(r(n," has been removed"+(t?" in "+t:"")),fe.ERR_DEPRECATED);return t&&!Pt[n]&&(Pt[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(o,n,s)}};const _t={assertOptions:function(e,t,o){if("object"!=typeof e)throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let n=r.length;for(;n-- >0;){const s=r[n],a=t[s];if(a){const t=e[s],o=void 0===t||a(t,s,e);if(!0!==o)throw new fe("option "+s+" must be "+o,fe.ERR_BAD_OPTION_VALUE)}else if(!0!==o)throw new fe("Unknown option "+s,fe.ERR_BAD_OPTION)}},validators:jt},St=_t.validators;class Tt{constructor(e){this.defaults=e,this.interceptors={request:new _e,response:new _e}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const o=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?o&&!String(e.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+o):e.stack=o}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=rt(this.defaults,t);const{transitional:o,paramsSerializer:r,headers:n}=t;void 0!==o&&_t.assertOptions(o,{silentJSONParsing:St.transitional(St.boolean),forcedJSONParsing:St.transitional(St.boolean),clarifyTimeoutError:St.transitional(St.boolean)},!1),null!=r&&(ue.isFunction(r)?t.paramsSerializer={serialize:r}:_t.assertOptions(r,{encode:St.function,serialize:St.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=n&&ue.merge(n.common,n[t.method]);n&&ue.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]})),t.headers=We.concat(s,n);const a=[];let i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!i){const e=[kt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let h=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{c=kt.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Pe(tt((e=rt(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}ue.forEach(["delete","get","head","options"],(function(e){Tt.prototype[e]=function(t,o){return this.request(rt(o||{},{method:e,url:t,data:(o||{}).data}))}})),ue.forEach(["post","put","patch"],(function(e){function t(t){return function(o,r,n){return this.request(rt(n||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}Tt.prototype[e]=t(),Tt.prototype[e+"Form"]=t(!0)}));const Et=Tt;class Ot{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const o=this;this.promise.then((e=>{if(!o._listeners)return;let t=o._listeners.length;for(;t-- >0;)o._listeners[t](e);o._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{o.subscribe(e),t=e})).then(e);return r.cancel=function(){o.unsubscribe(t)},r},e((function(e,r,n){o.reason||(o.reason=new Ke(e,r,n),t(o.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Ot((function(t){e=t})),cancel:e}}}const Rt=Ot,Nt={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(Nt).forEach((([e,t])=>{Nt[t]=e}));const At=Nt,Bt=function e(t){const o=new Et(t),r=w(Et.prototype.request,o);return ue.extend(r,Et.prototype,o,{allOwnKeys:!0}),ue.extend(r,o,null,{allOwnKeys:!0}),r.create=function(o){return e(rt(t,o))},r}(Le);Bt.Axios=Et,Bt.CanceledError=Ke,Bt.CancelToken=Rt,Bt.isCancel=Je,Bt.VERSION="1.7.7",Bt.toFormData=Ce,Bt.AxiosError=fe,Bt.Cancel=Bt.CanceledError,Bt.all=function(e){return Promise.all(e)},Bt.spread=function(e){return function(t){return e.apply(null,t)}},Bt.isAxiosError=function(e){return ue.isObject(e)&&!0===e.isAxiosError},Bt.mergeConfig=rt,Bt.AxiosHeaders=We,Bt.formToJSON=e=>De(ue.isHTMLForm(e)?new FormData(e):e),Bt.getAdapter=vt,Bt.HttpStatusCode=At,Bt.default=Bt;const Dt=Bt,Ft=e=>{const{label:t,value:o,onChange:r,exclude:n=[],siteurl:s}=e,[l,u]=(0,a.useState)([]),[d,h]=(0,a.useState)(!0),p=["attachment","revision","nav_menu_item","wp_global_styles","wp_font_family","wp_font_face",...n];(0,a.useEffect)((()=>{s&&Dt.get(s+"blcns/v1/post-types").then((e=>{const t=e.data,o=Object.values(t).filter((e=>!p.includes(e.slug)));u(o),h(!1)}))}),[]);const f=l.map((e=>({label:e.name,value:e.slug})));return(0,y.jsx)(c.SelectControl,{label:t,value:o,options:[{label:(0,i.__)("Select Post Type","blockons"),value:""},...f],onChange:r,disabled:d})},Lt=[{name:"white",color:"#FFF"},{name:"Grey",color:"#9b9b9b"},{name:"Black",color:"#000"},{name:"Dark",color:"#232323"},{name:"Turqoise",color:"#00b291"},{name:"Emerald",color:"#51d88b"},{name:"Peter River",color:"#3497df"},{name:"Amethyst",color:"#9c56b8"},{name:"Wet Asphalt",color:"#34495d"},{name:"Sunflower",color:"#f1c50f"},{name:"Carrot",color:"#e77e22"},{name:"Alizarin",color:"#e84c3d"},{name:"Clouds",color:"#ecf0f1"},{name:"Concrete",color:"#95a5a5"},{name:"Dusty Pink",color:"#d4afb9"},{name:"Soft Purple",color:"#9cadce"},{name:"Creamy",color:"#f2e8ce"},{name:"Soil",color:"#874c48"}],Ut=({imageUrl:e,title:t,text:o,docLink:r,docText:n,upgradeLink:s,upgradeText:a,proFeatures:l,noline:c})=>(0,y.jsxs)("div",{className:"blockons-editor-note "+(c?"noline":""),children:[e&&(0,y.jsx)("div",{className:"bl-note-img",children:(0,y.jsx)("img",{src:e,alt:t})}),t&&(0,y.jsx)("h4",{className:"bl-note-title",children:t}),o&&(0,y.jsx)("div",{className:"bl-note-txt",children:o}),l&&(0,y.jsx)("div",{className:"bl-note-features",children:l.map(((e,t)=>(0,y.jsx)("div",{className:"bl-note-feature",children:e},t)))}),(r||s)&&(0,y.jsxs)("div",{className:"bl-note-links",children:[r&&(0,y.jsx)("a",{href:r,className:"bl-note-link",target:"_blank",children:n||(0,i.__)("Read Documentation","blockons")}),s&&(0,y.jsx)("a",{href:s,className:"bl-note-link upgrade",target:"_blank",children:a||(0,i.__)("Upgrade to Pro","blockons")})]})]}),It={src:(0,y.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,y.jsx)("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),(0,y.jsx)("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),(0,y.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[(0,y.jsx)("path",{d:"M10.77 18.3C9.2807 18.3 7.82485 17.8584 6.58655 17.031C5.34825 16.2036 4.38311 15.0275 3.81318 13.6516C3.24325 12.2757 3.09413 10.7616 3.38468 9.30096C3.67523 7.84029 4.39239 6.49857 5.44548 5.44548C6.49857 4.39239 7.84029 3.67523 9.30096 3.38468C10.7616 3.09413 12.2757 3.24325 13.6516 3.81318C15.0275 4.38311 16.2036 5.34825 17.031 6.58655C17.8584 7.82485 18.3 9.2807 18.3 10.77C18.3 11.7588 18.1052 12.738 17.7268 13.6516C17.3484 14.5652 16.7937 15.3953 16.0945 16.0945C15.3953 16.7937 14.5652 17.3484 13.6516 17.7268C12.738 18.1052 11.7588 18.3 10.77 18.3ZM10.77 4.74999C9.58331 4.74999 8.42327 5.10189 7.43657 5.76118C6.44988 6.42046 5.68084 7.35754 5.22672 8.45389C4.77259 9.55025 4.65377 10.7566 4.88528 11.9205C5.11679 13.0844 5.68824 14.1535 6.52735 14.9926C7.36647 15.8317 8.43556 16.4032 9.59945 16.6347C10.7633 16.8662 11.9697 16.7474 13.0661 16.2933C14.1624 15.8391 15.0995 15.0701 15.7588 14.0834C16.4181 13.0967 16.77 11.9367 16.77 10.75C16.77 9.15869 16.1379 7.63257 15.0126 6.50735C13.8874 5.38213 12.3613 4.74999 10.77 4.74999Z",fill:"#af2dbf"}),(0,y.jsx)("path",{d:"M20 20.75C19.9015 20.7504 19.8038 20.7312 19.7128 20.6934C19.6218 20.6557 19.5392 20.6001 19.47 20.53L15.34 16.4C15.2075 16.2578 15.1354 16.0697 15.1388 15.8754C15.1422 15.6811 15.221 15.4958 15.3584 15.3583C15.4958 15.2209 15.6812 15.1422 15.8755 15.1388C16.0698 15.1354 16.2578 15.2075 16.4 15.34L20.53 19.47C20.6704 19.6106 20.7493 19.8012 20.7493 20C20.7493 20.1987 20.6704 20.3893 20.53 20.53C20.4608 20.6001 20.3782 20.6557 20.2872 20.6934C20.1962 20.7312 20.0985 20.7504 20 20.75Z",fill:"#af2dbf"})]})]})},{UU:qt}=s;(0,n.registerBlockType)(qt,{icon:It,edit:e=>{const{isSelected:t,attributes:{alignment:o,searchId:r,baseUrl:n,searchWidthDefault:s,searchWidthDropdown:u,searchWidthPopup:d,searchDisplay:h,searchValue:p,textButton:f,iconSize:m,iconPadding:b,iconBgColor:w,iconColor:v,searchAlign:x,searchBgColor:k,searchInputBgColor:j,searchInputBorderColor:P,searchInputColor:_,hasPlaceholder:S,hasBtn:T,searchBtnBgColor:E,searchBtnColor:O,searchProId:R,isPremium:N,searchPro:A,searchProTypes:B,searchProAmnt:D,searchProCats:F,searchProCatsTitle:L,searchProCatsAmnt:U,searchProTags:I,searchProTagsTitle:q,searchProTagsAmnt:M,searchProImage:z,searchProDesc:H,searchProPrice:W,searchProHasPreview:V},setAttributes:J}=e,$=blockonsEditorObj.apiUrl,K=blockonsEditorObj.homeUrl,[G,X]=(0,a.useState)(!1),Z=Boolean(searchObj.isPremium),Q=(Boolean(searchObj.wcActive),(0,l.useBlockProps)({className:`align-${o} ${t&&G?"blockons-show":""} ${"default"===h?"default-search":"icon-search"}`,id:r})),Y=N?{searchProId:R,searchPro:A,searchProTypes:B,searchProAmnt:D,searchProCats:F,searchProCatsTitle:L,searchProCatsAmnt:U,searchProTags:I,searchProTagsTitle:q,searchProTagsAmnt:M,searchProImage:z,searchProDesc:H,searchProPrice:W,searchProHasPreview:V}:{searchPro:A};(0,a.useEffect)((()=>{if(J({isPremium:Z}),!n&&K){const e=window?.ICL_LANGUAGE_CODE||"";J({baseUrl:K+(e?`${e}/`:"")})}r||J({searchId:"id"+g()}),R||J({searchProId:"id"+g()})}),[]);const ee=e=>{J({searchValue:void 0===e?"":e})},te=e=>{J({textButton:void 0===e?"":e})},oe=()=>{X(!1)};return(0,y.jsxs)("div",{...Q,children:[t&&(0,y.jsxs)(l.InspectorControls,{children:[(0,y.jsxs)(c.PanelBody,{title:(0,i.__)("Search Settings","blockons"),initialOpen:!0,children:[(0,y.jsx)(c.SelectControl,{label:(0,i.__)("Search Display","blockons"),value:h,options:[{label:(0,i.__)("Default","blockons"),value:"default"},{label:(0,i.__)("Icon with Drop Down","blockons"),value:"dropdown"},{label:(0,i.__)("Icon with Popup","blockons"),value:"popup"}],onChange:e=>J({searchDisplay:void 0===e?"dropdown":e})}),"default"===h&&(0,y.jsx)(c.__experimentalUnitControl,{label:(0,i.__)("Search Width","blockons"),value:s,onChange:e=>J({searchWidthDefault:e}),units:[{value:"px",label:"px",default:300},{value:"%",label:"%",default:50}],isResetValueOnUnitChange:!0}),"dropdown"===h&&(0,y.jsx)(c.TextControl,{label:(0,i.__)("Search Width","blockons"),value:u,onChange:e=>J({searchWidthDropdown:parseInt(e)}),type:"number"}),"popup"===h&&(0,y.jsx)(c.TextControl,{label:(0,i.__)("Search Width","blockons"),value:d,onChange:e=>J({searchWidthPopup:parseInt(e)}),type:"number"}),("popup"===h||"dropdown"===h)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Search","blockons"),checked:G,help:(0,i.__)("This will always display the search ONLY in the editor","blockons"),onChange:()=>{X((e=>!e))}})]}),"dropdown"===h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.SelectControl,{label:(0,i.__)("Align Drop Down Search","blockons"),value:x,options:[{label:(0,i.__)("Bottom Right","blockons"),value:"bottomright"},{label:(0,i.__)("Bottom Left","blockons"),value:"bottomleft"},{label:(0,i.__)("Bottom Center","blockons"),value:"bottomcenter"},{label:(0,i.__)("Top Right","blockons"),value:"topright"},{label:(0,i.__)("Top Left","blockons"),value:"topleft"},{label:(0,i.__)("Top Center","blockons"),value:"topcenter"},{label:(0,i.__)("Left","blockons"),value:"left"},{label:(0,i.__)("Right","blockons"),value:"right"}],onChange:e=>J({searchAlign:void 0===e?"bottomleft":e})})]})]}),(0,y.jsxs)(c.PanelBody,{title:(0,i.__)("Search Design","blockons"),initialOpen:!1,children:[("popup"===h||"dropdown"===h)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.RangeControl,{label:(0,i.__)("Icon Size","blockons"),value:m,onChange:e=>J({iconSize:void 0===e?17:e}),min:14,max:50}),(0,y.jsx)(c.RangeControl,{label:(0,i.__)("Icon Padding","blockons"),value:b,onChange:e=>J({iconPadding:void 0===e?5:e}),min:0,max:50}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(C,{label:(0,i.__)("Icon Background Color","blockons"),value:w,onChange:e=>{J({iconBgColor:void 0===e?"#FFF":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Icon Color","blockons"),value:v,onChange:e=>{J({iconColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)("div",{className:"blockons-divider"})]}),"popup"===h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(C,{label:(0,i.__)("Search Background Color","blockons"),value:k,onChange:e=>{J({searchBgColor:void 0===e?"#FFF":e})},paletteColors:Lt}),(0,y.jsx)("div",{className:"blockons-divider"})]}),(0,y.jsx)(C,{label:(0,i.__)("Input Background Color","blockons"),value:j,onChange:e=>{J({searchInputBgColor:void 0===e?"#FFF":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Input Border Color","blockons"),value:P,onChange:e=>{J({searchInputBorderColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Input Font Color","blockons"),value:_,onChange:e=>{J({searchInputColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Has Placeholder Text","blockons"),checked:S,onChange:e=>{J({hasPlaceholder:e})}}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Has Button","blockons"),checked:T,onChange:e=>{J({hasBtn:e})}}),T&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(C,{label:(0,i.__)("Button Background Color","blockons"),value:E,onChange:e=>{J({searchBtnBgColor:void 0===e?"#000":e})},paletteColors:Lt}),(0,y.jsx)(C,{label:(0,i.__)("Button Font Color","blockons"),value:O,onChange:e=>{J({searchBtnColor:void 0===e?"#FFF":e})},paletteColors:Lt})]})]}),(0,y.jsx)(c.PanelBody,{title:(0,i.__)("Instant Search","blockons"),initialOpen:!1,children:N?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Enable Instant Search","blockons"),checked:A,onChange:e=>{J({searchPro:e})}}),A&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Ft,{label:(0,i.__)("Search In:","blockons"),value:B,exclude:["linkt"],onChange:e=>J({searchProTypes:void 0===e?"":e}),siteurl:$}),B&&(0,y.jsx)(c.TextControl,{label:(0,i.__)("Results Amount to Display","blockons"),value:D,onChange:e=>J({searchProAmnt:parseInt(e)}),type:"number"}),B&&"page"!==B&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Categories in Search","blockons"),checked:F,onChange:e=>{J({searchProCats:e})}}),F&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.TextControl,{label:(0,i.__)("Results Title","blockons"),value:L,onChange:e=>J({searchProCatsTitle:e})}),(0,y.jsx)(c.TextControl,{label:(0,i.__)("Amount to Display","blockons"),value:U,onChange:e=>J({searchProCatsAmnt:parseInt(e)}),type:"number"}),(0,y.jsx)("div",{className:"blockons-divider"})]}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Tags in Search","blockons"),checked:I,onChange:e=>{J({searchProTags:e})}}),I&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.TextControl,{label:(0,i.__)("Results Title","blockons"),value:q,onChange:e=>J({searchProTagsTitle:e})}),(0,y.jsx)(c.TextControl,{label:(0,i.__)("Amount to Display","blockons"),value:M,onChange:e=>J({searchProTagsAmnt:parseInt(e)}),type:"number"})]}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Image","blockons"),checked:z,onChange:e=>{J({searchProImage:e})}}),(0,y.jsx)(c.ToggleControl,{label:"product"===B?(0,i.__)("Show Product Short Description","blockons"):(0,i.__)("Show Post Excerpt","blockons"),checked:H,onChange:e=>{J({searchProDesc:e})}}),"product"===B&&(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Show Product Price","blockons"),checked:W,onChange:e=>{J({searchProPrice:e})}}),(0,y.jsx)("div",{className:"blockons-divider"}),(0,y.jsx)(c.ToggleControl,{label:(0,i.__)("Enable Search Previews","blockons"),checked:V,onChange:e=>{J({searchProHasPreview:e})}})]})]})]}):(0,y.jsx)(Ut,{title:(0,i.__)("Get Blockons Instant Search","blockons"),text:(0,i.__)("Upgrade to Blockons Pro to add on live search with quick results and image previews for posts and products.","blockons"),proFeatures:[(0,i.__)("Live quick search results","blockons"),(0,i.__)("Select post type to show in search","blockons"),(0,i.__)("Post / Product Previews in Results","blockons"),(0,i.__)("Display Category and Tag results","blockons"),(0,i.__)("Search results pagination","blockons"),(0,i.__)("Design & layout customization settings","blockons")],docLink:"https://blockons.com/documentation/search-bar-or-search-icon-block/#searchpro",upgradeLink:searchObj.upgradeUrl})})]}),(0,y.jsx)(l.BlockControls,{children:(0,y.jsx)(l.AlignmentToolbar,{value:o,onChange:e=>{J({alignment:void 0===e?"left":e})}})}),(0,y.jsxs)("div",{className:`blockons-search-block ${"dropdown"===h&&x?x:""} ${"default"===h?"nopad":""} ${T?"hasBtn":"noBtn"}`,style:{..."dropdown"===h||"popup"===h?{backgroundColor:w,padding:b,fontSize:m}:""},children:["default"===h&&(0,y.jsxs)("div",{className:"blockons-search-default",style:{width:s},children:[(0,y.jsxs)("div",{className:"blockons-search-inner "+(S?"hasph":"noph"),children:[(0,y.jsx)(l.RichText,{tagName:"div",value:p||(0,i.__)("Add Placeholder...","blockons"),className:"blockons-search-input",onChange:ee,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:j,borderColor:P,color:_}}),T&&(0,y.jsx)(l.RichText,{tagName:"div",value:f,className:"blockons-search-button",onChange:te,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:E,color:O}})]}),N&&A&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:R,"data-settings":JSON.stringify(Y)})]}),("dropdown"===h||"popup"===h)&&(0,y.jsx)("span",{className:"fa-solid fa-magnifying-glass",style:{color:v}}),"dropdown"===h&&(0,y.jsxs)("div",{className:"blockons-search-dropdown",style:{width:u+"px",..."bottomcenter"===x||"topcenter"===x?{marginLeft:"-"+u/2+"px"}:""},children:[(0,y.jsxs)("div",{className:"blockons-search-inner "+(S?"hasph":"noph"),children:[(0,y.jsx)(l.RichText,{tagName:"div",value:p||(0,i.__)("Add Placeholder...","blockons"),className:"blockons-search-input",onChange:ee,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:j,borderColor:P,color:_}}),T&&(0,y.jsx)(l.RichText,{tagName:"div",value:f,className:"blockons-search-button",onChange:te,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:E,color:O}})]}),N&&A&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:R,"data-settings":JSON.stringify(Y)})]})]}),"popup"===h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-search-popup-overlay",onClick:oe}),(0,y.jsx)("div",{className:"blockons-search-popup-wrapper",children:(0,y.jsxs)("div",{className:"blockons-search-popup",style:{width:d+"px",backgroundColor:k},children:[(0,y.jsx)("div",{className:"blockons-close fas fa-x",onClick:oe}),(0,y.jsxs)("div",{className:"blockons-search-inner "+(S?"hasph":"noph"),children:[(0,y.jsx)(l.RichText,{tagName:"div",value:p||(0,i.__)("Add Placeholder...","blockons"),className:"blockons-search-input",onChange:ee,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:j,borderColor:P,color:_}}),T&&(0,y.jsx)(l.RichText,{tagName:"div",value:f,className:"blockons-search-button",onChange:te,allowedFormats:["core/bold","core/italic"],disableLineBreaks:!0,style:{backgroundColor:E,color:O}})]}),N&&A&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:R,"data-settings":JSON.stringify(Y)})]})})]})]})},save:({attributes:e})=>{const t=l.useBlockProps.save({className:`align-${e.alignment} ${"default"===e.searchDisplay?"default-search":"icon-search"}`,id:e.searchId}),o=searchObj.siteUrl,r=e.isPremium?{searchProId:e.searchProId,searchPro:e.searchPro,searchProTypes:e.searchProTypes,searchProAmnt:e.searchProAmnt,searchProCats:e.searchProCats,searchProCatsTitle:e.searchProCatsTitle,searchProCatsAmnt:e.searchProCatsAmnt,searchProTags:e.searchProTags,searchProTagsTitle:e.searchProTagsTitle,searchProTagsAmnt:e.searchProTagsAmnt,searchProImage:e.searchProImage,searchProDesc:e.searchProDesc,searchProPrice:e.searchProPrice,searchProHasPreview:e.searchProHasPreview}:{searchPro:e.searchPro},n={role:"search",method:"get",className:"blockons-search-inner "+(e.hasPlaceholder?"hasph":"noph"),...e.baseUrl?{action:e.baseUrl}:{},...o?{"data-siteurl":o}:{}};return console.log("BaseUrl",o,e.baseUrl),(0,y.jsxs)("div",{...t,children:[(0,y.jsxs)("div",{className:`blockons-search-block ${e.searchDisplay} ${"dropdown"===e.searchDisplay&&e.searchAlign?e.searchAlign:""} ${"default"===e.searchDisplay?"nopad":""} ${e.hasBtn?"hasBtn":"noBtn"}`,style:{..."dropdown"===e.searchDisplay||"popup"===e.searchDisplay?{backgroundColor:e.iconBgColor,padding:e.iconPadding,fontSize:e.iconSize}:""},children:["default"===e.searchDisplay&&(0,y.jsxs)("div",{className:"blockons-search-default",style:{width:e.searchWidthDefault},children:[(0,y.jsxs)("form",{...n,children:[(0,y.jsx)("input",{type:"text",name:"s",className:"blockons-search-input",...e.hasPlaceholder?{placeholder:e.searchValue}:{},required:!0,autoComplete:"off",style:{backgroundColor:e.searchInputBgColor,borderColor:e.searchInputBorderColor,color:e.searchInputColor}}),e.hasBtn&&(0,y.jsx)("button",{type:"submit",className:"blockons-search-button",style:{backgroundColor:e.searchBtnBgColor,color:e.searchBtnColor},children:(0,y.jsx)(l.RichText.Content,{value:e.textButton})})]}),e.isPremium&&e.searchPro&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:e.searchProId,"data-settings":JSON.stringify(r)})]}),("dropdown"===e.searchDisplay||"popup"===e.searchDisplay)&&(0,y.jsx)("span",{className:"fa-solid fa-magnifying-glass",style:{color:e.iconColor}}),"dropdown"===e.searchDisplay&&(0,y.jsxs)("div",{className:"blockons-search-dropdown",style:{width:e.searchWidthDropdown+"px",..."bottomcenter"===e.searchAlign||"topcenter"===e.searchAlign?{marginLeft:"-"+e.searchWidthDropdown/2+"px"}:""},children:[(0,y.jsxs)("form",{...n,children:[(0,y.jsx)("input",{type:"text",name:"s",className:"blockons-search-input",...e.hasPlaceholder?{placeholder:e.searchValue}:{},required:!0,autoComplete:"off",style:{backgroundColor:e.searchInputBgColor,borderColor:e.searchInputBorderColor,color:e.searchInputColor}}),e.hasBtn&&(0,y.jsx)("button",{type:"submit",className:"blockons-search-button",style:{backgroundColor:e.searchBtnBgColor,color:e.searchBtnColor},children:(0,y.jsx)(l.RichText.Content,{value:e.textButton})})]}),e.isPremium&&e.searchPro&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:e.searchProId,"data-settings":JSON.stringify(r)})]})]}),"popup"===e.searchDisplay&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"blockons-search-popup-overlay"}),(0,y.jsx)("div",{className:"blockons-search-popup-wrapper",children:(0,y.jsxs)("div",{className:"blockons-search-popup",style:{width:e.searchWidthPopup+"px",backgroundColor:e.searchBgColor},children:[(0,y.jsx)("div",{className:"blockons-close fas fa-x"}),(0,y.jsxs)("form",{...n,children:[(0,y.jsx)("input",{type:"text",name:"s",className:"blockons-search-input",...e.hasPlaceholder?{placeholder:e.searchValue}:{},required:!0,autoComplete:"off",style:{backgroundColor:e.searchInputBgColor,borderColor:e.searchInputBorderColor,color:e.searchInputColor}}),e.hasBtn&&(0,y.jsx)("button",{type:"submit",className:"blockons-search-button",style:{backgroundColor:e.searchBtnBgColor,color:e.searchBtnColor},children:(0,y.jsx)(l.RichText.Content,{value:e.textButton})})]}),e.isPremium&&e.searchPro&&(0,y.jsx)("div",{className:"blockons-search-results-wrap",id:e.searchProId,"data-settings":JSON.stringify(r)})]})})]})]})}})}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,r),s.exports}r.m=t,e=[],r.O=(t,o,n,s)=>{if(!o){var a=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],s=e[u][2];for(var i=!0,l=0;l<o.length;l++)(!1&s||a>=s)&&Object.keys(r.O).every((e=>r.O[e](o[l])))?o.splice(l--,1):(i=!1,s<a&&(a=s));if(i){e.splice(u--,1);var c=n();void 0!==c&&(t=c)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[o,n,s]},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={842:0,326:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var n,s,a=o[0],i=o[1],l=o[2],c=0;if(a.some((t=>0!==e[t]))){for(n in i)r.o(i,n)&&(r.m[n]=i[n]);if(l)var u=l(r)}for(t&&t(o);c<a.length;c++)s=a[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return r.O(u)},o=self.webpackChunkblockons=self.webpackChunkblockons||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var n=r.O(void 0,[326],(()=>r(1294)));n=r.O(n)})(); -
blockons/trunk/classes/class-scripts.php
r3207408 r3214689 126 126 'wcActive' => Blockons_Admin::blockons_is_plugin_active( 'woocommerce.php' ), 127 127 'upgradeUrl' => esc_url( $blockons_fs->get_upgrade_url() ), 128 'siteUrl' => esc_url( get_home_url( '/' ) ), 128 129 ) ); 129 130 wp_register_script( … … 173 174 ); 174 175 // Sliders 176 wp_register_style( 177 'blockons-swiper-css', 178 esc_url( BLOCKONS_PLUGIN_URL . 'assets/slider/swiper.min.css' ), 179 array(), 180 BLOCKONS_PLUGIN_VERSION 181 ); 175 182 wp_register_script( 176 183 'blockons-swiper-js', … … 416 423 'blockonsOptions' => $blockonsOptions, 417 424 'adminUrl' => esc_url( admin_url() ), 425 'homeUrl' => esc_url( home_url() ), 418 426 'apiUrl' => esc_url( get_rest_url() ), 419 427 'pluginUrl' => esc_url( BLOCKONS_PLUGIN_URL ), -
blockons/trunk/readme.txt
r3207408 r3214689 5 5 Requires at least: 5.0 6 6 Requires PHP: 5.6 7 Tested up to: 6. 68 Stable tag: 1.2.0 47 Tested up to: 6.7 8 Stable tag: 1.2.05 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 226 226 227 227 == Changelog == 228 229 = 1.2.05 = 230 * Styling tweaks/fixes 231 * Fix slider(s) depencency bug 232 * Version compatibility for WP 6.7 & WC 9.5 228 233 229 234 = 1.2.04 =
Note: See TracChangeset
for help on using the changeset viewer.