@billgangcom/theme-lib 1.12.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap";._icon_bsuj2_1 path{fill:var(--icon-fill)}._hoverable_bsuj2_5{cursor:pointer}._rotated_bsuj2_9{transform:rotate(180deg)}._button_3jsln_1{padding:10px 16px;border-radius:12px;cursor:pointer;font-size:16px}._button_3jsln_1:disabled{opacity:.7;cursor:auto}._primary_3jsln_13{color:#fff;background-color:#ff3f19}._secondary_3jsln_18{color:#757575;background-color:#f8f8f8}._content_3jsln_23{display:flex;align-items:center;gap:4px}._wrapper_wp7u5_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_wp7u5_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_wp7u5_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:7px 11px;font-size:16px;line-height:24px;border:1px solid var(--background-color)}._input_wp7u5_17::placeholder{color:#c2c2c2}._input_wp7u5_17:disabled{background-color:var(--background-color);opacity:.7}._required_wp7u5_36{border:1px solid #ff3f19}._paddingless_wp7u5_40{padding:0}._content_wp7u5_44{display:flex;align-items:center;gap:8px}._borderless_wp7u5_50{border-radius:0;border:none}._wrapper_1v1ye_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1v1ye_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._select_1v1ye_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:10px 12px;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}._icon_1v1ye_30{transition:.2s}._rotate_1v1ye_34{transform:rotate(180deg)}._content_1v1ye_38{position:relative}._options_1v1ye_42{position:absolute;top:45px;width:100%;background-color:var(--background-color);border-radius:12px;font-size:14px;line-height:20px;display:flex;flex-direction:column;max-height:200px;z-index:10;overflow-y:scroll;cursor:pointer}._option_1v1ye_42{padding:10px 12px;border-radius:12px}._option_1v1ye_42:hover{background-color:#e6e6e6}._addon_1v1ye_66{display:flex;align-items:center;gap:6px}._wrapper_3w2ni_1{display:flex;width:fit-content;gap:8px;align-items:center;border-radius:12px;line-height:20px;color:#252525;font-size:14px;font-weight:400}._switch_3w2ni_13{width:40px;height:24px;background-color:#ccc;border-radius:25px;display:flex;align-items:center;padding:2px;cursor:pointer;transition:background-color .2s}._switch_3w2ni_13._active_3w2ni_24{background:#ff3f19}._switch_3w2ni_13 ._toggle_3w2ni_27{width:14px;height:14px;background-color:#fff;border-radius:16px;transition:transform .2s;transform:translate(2px)}._switch_3w2ni_13._active_3w2ni_24 ._toggle_3w2ni_27{transform:translate(18px)}._background_3w2ni_39{background-color:#f8f8f8}._padding_3w2ni_43{padding:8px}._wrapper_1inu5_1{border:var(--default-border);width:fit-content;height:fit-content;max-height:500px;max-width:500px;min-width:300px;padding:10px;left:10px;top:10px;position:absolute;z-index:1000;background-color:#fff;display:flex;border-radius:8px;justify-content:center;align-items:center;overflow:hidden}._blocks_1op3c_1{display:flex;align-items:center;gap:8px}._block_1op3c_1{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1op3c_18{border:1px solid #ff3f19}._applyButton_1cqw4_2{flex:0 1 50%;font-weight:400}._cancelButton_1cqw4_7{background-color:#f8f8f8;color:var(--accent-color)}._content_1cqw4_12{display:flex;flex-direction:column;width:100%}._label_1cqw4_18{padding:8px 12px;border-radius:8px;display:flex;align-items:center;position:relative;gap:8px;width:100%;background-color:var(--background-color);cursor:pointer}._colorValue_1cqw4_30{width:20px;height:20px;padding:2.5px;border-radius:2px}._modal_1cqw4_37{left:15px;width:288px;overflow-y:auto;z-index:100000000;position:fixed;background-color:#fff;border-radius:12px;padding:10px;border:1px solid #e6e6e6;height:400px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:24px;font-weight:700}._colorMap_1cqw4_56{position:relative;width:100%;height:300px;cursor:pointer;border-radius:4px}._indicator_1cqw4_64{position:absolute;width:20px;height:20px;border:4px solid white;border-radius:50%;pointer-events:none}._hueSlider_1cqw4_73{width:80%;left:30px;height:8px;position:absolute;bottom:80px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red,red);border-radius:5px}input[type=range]{-webkit-appearance:none;height:8px;outline:none;border-radius:5px;position:relative;display:flex;justify-content:center}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border:5px solid #fff;border-radius:50%;cursor:pointer}._slider_1cqw4_102{width:100%;cursor:pointer}._buttons_1cqw4_107{display:flex;gap:5px;width:100%}._name_1cqw4_113{line-height:20px;padding:0 4px 4px}._secondary_1cqw4_118{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_1cqw4_126{line-height:20px;font-size:14px;font-weight:400}._modal_1qb2a_1{position:fixed;top:0;left:0;right:0;bottom:0;background:#2525253d;z-index:100000;display:flex;padding:20px;justify-content:center;align-items:center;overflow:hidden}._wrapper_1qvfi_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%;position:relative}._label_1qvfi_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._textarea_1qvfi_18{width:100%;background-color:var(--background-color);border-radius:12px;padding:8px 12px;font-size:16px;line-height:24px;resize:none;min-height:80px}._textarea_1qvfi_18::placeholder{color:#c2c2c2}._length_1qvfi_33{position:absolute;bottom:12px;right:12px;color:#c2c2c2;line-height:20px}._wrapper_1fcne_2{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1fcne_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._options_1fcne_18{display:flex;gap:20px}._radioLabel_1fcne_23{display:flex;align-items:center;cursor:pointer;position:relative}._radio_1fcne_23{position:absolute;opacity:0;cursor:pointer}._custom_1fcne_36{height:20px;width:20px;border-radius:50%;border:1px solid #e6e6e6;display:inline-block;margin-right:8px;position:relative}._radio_1fcne_23:checked+._custom_1fcne_36{border-color:#ff3f19;background:#ffeae5}._custom_1fcne_36:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:#e53e3e;opacity:0}._radio_1fcne_23:checked+._custom_1fcne_36:after{opacity:1}._option_1fcne_18{font-size:16px;line-height:24px;font-weight:400}._tip_pl6k0_1{display:flex;align-items:center;padding:8px;border-radius:12px;gap:8px}._text_pl6k0_9{flex:1 1 auto;line-height:20px;font-size:14px}._warning_pl6k0_15{background:#faf8e6;color:#c1972a}._error_pl6k0_20{background:#ffc3b7;color:#ff3f19}._hide_pl6k0_25{display:none}._customCheckbox_1b69m_1{display:inline-block;cursor:pointer;position:relative}._checkboxBox_1b69m_7{display:inline-block;width:20px;height:20px;border:1px solid #e6e6e6;border-radius:6px;position:relative}._checkboxBox_1b69m_7._checked_1b69m_16{background:#ffeae5;border:1px solid #ff3f19}._icon_1b69m_21{position:absolute;top:3px;left:3px}._wrapper_tm686_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_tm686_9{color:#757575;font-weight:400;font-size:14px;line-height:20px}._icon_tm686_16{padding:4px;background-color:#fff;border:1px solid #f0f0f0;display:flex;justify-content:center;align-items:center;border-radius:6px}._text_tm686_26{font-weight:400;font-size:16px;line-height:24px;color:#ff3f19}._content_tm686_33{display:flex;align-items:center;gap:6px;cursor:pointer;background-color:#f8f8f8;border-radius:12px;padding:6px 8px}._modal_tm686_43{background-color:#f8f8f8;border:1px solid #f0f0f0;border-radius:16px;width:100%;max-width:640px}._top_tm686_51{padding:16px 24px;display:flex;align-items:center;justify-content:space-between}._title_tm686_58{color:#252525;font-weight:400;font-size:18px;line-height:24px}._modalContent_tm686_65{padding:16px 24px;border-top-left-radius:16px;border-top-right-radius:16px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background-color:#fff}._images_tm686_74{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:10px;overflow-y:scroll;max-height:390px}._add_tm686_83{display:flex;flex-direction:column;gap:8px;padding:43px 16px;border:1px dashed #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._description_tm686_95{text-align:center;color:#252525;font-size:14px;line-height:20px}._description_tm686_95 span:last-child{padding-top:4px}._bottom_tm686_105{display:flex;justify-content:end;align-items:center;width:100%;background-color:#fff;border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding:16px 24px 12px;gap:6px}._cancel_tm686_117{background-color:var(--background-color);color:var(--accent-color)}._highlight_tm686_122{color:#ff3f19;cursor:pointer}._accent_tm686_127{color:var(--accent-color)}._image_tm686_74{position:relative;padding:43px 16px;border:1px solid #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._selected_tm686_141{border:1px solid #ff3f19}._checkbox_tm686_145{position:absolute;top:12px;left:12px}._loading_tm686_151{position:relative;padding:43px 16px;border:1px solid #e6e6e6;background-color:#f8f8f8;justify-content:center;align-items:center;display:flex;border-radius:16px;aspect-ratio:1/1}._spinner_tm686_163{width:24px;height:24px;border:2px solid #ff3f19;border-top-color:#f8f8f8;border-radius:50%;animation:_spin_tm686_163 1s linear infinite}@keyframes _spin_tm686_163{to{transform:rotate(360deg)}}._buttons_1gn8m_1{display:flex;align-items:center;gap:16px}._button_1gn8m_1{cursor:pointer;padding:10px}._devices_hxl12_1{display:flex;gap:4px;background:var(--background-color);padding:4px;border-radius:16px}._device_hxl12_1{padding:6px 8px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;border:1px solid var(--background-color)}._device_hxl12_1:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_hxl12_23{background-color:#fff}._active_hxl12_23:hover{border:1px solid var(--background-color);box-shadow:none}._header_wxpoz_1{position:absolute;top:0;left:0;width:100%;padding:11px 22px;line-height:20px;border-bottom:var(--default-border);display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:50000}._left_wxpoz_16,._right_wxpoz_17{display:flex;align-items:center;gap:24px}._preview_vijvm_2{display:flex;align-items:center;gap:4px;color:var(--accent-color);line-height:20px;padding:10px 16px;cursor:pointer;border:1px solid #fff;border-radius:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._preview_vijvm_2:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_vijvm_22{background-color:var(--background-color)}._active_vijvm_22:hover{border:1px solid #fff;box-shadow:none}._settings_q79q3_1{display:flex;gap:20px;align-items:center;color:var(--accent-color)}._language_1mbvp_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._text_1mbvp_11{padding-right:4px;color:var(--main-color)}._pages_x8pw2_1{position:relative}._default_x8pw2_5{display:flex;align-items:center;gap:4px;padding:10px 12px;background-color:var(--background-color);border-radius:8px;cursor:pointer;position:relative}._text_x8pw2_16{padding-right:4px;color:var(--main-color);flex:1 1 auto}._modal_x8pw2_22{position:absolute;top:45px;width:320px;left:0;z-index:100;background-color:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:8px 12px;display:flex;flex-direction:column}._page_x8pw2_1{display:flex;align-items:center;gap:8px;padding:12px 8px;border-radius:8px;cursor:pointer}._hoverable_x8pw2_45{background-color:var(--background-color)}._separator_x8pw2_49{border-bottom:1px solid #f0f0f0}._button_x8pw2_53{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:start;gap:8px;padding:16px 8px 12px;transition:.2s}._button_x8pw2_53:hover{background-color:var(--background-color)}._zoom_a77cn_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._theme_3wxbf_1{display:flex;align-items:center;gap:4px;padding:9px 12px;background:#e5fadd;color:#338b13;border-radius:100px}._exit_2ce42_1{border-bottom:var(--default-border);display:flex;gap:8px;align-items:center;padding:22px;cursor:pointer}._text_2ce42_10{color:#252525;line-height:20px}._navbar_2ac63_1{width:100px;border-right:var(--default-border)}._main_2ac63_6{display:flex;flex-direction:column;gap:8px;padding:16px 12px}._block_2ac63_13{display:flex;align-items:center;flex-direction:column;gap:4px;color:var(--accent-color);line-height:20px;padding:12px 24px;cursor:pointer;border:1px solid #fff;border-radius:16px}._block_2ac63_13:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_2ac63_30{background-color:var(--background-color);color:#252525}._active_2ac63_30:hover{border:1px solid #fff;box-shadow:none}._preview_jui5n_1{width:100%;background-color:var(--background-color);padding:16px 32px 0;position:relative;z-index:500}._main_jui5n_9{width:100%;display:flex;flex-direction:column;overflow-y:auto;height:100%;position:relative;z-index:1}._content_jui5n_19{background-color:#fff;border:var(--default-border);border-bottom:none;height:100%}._loading_jui5n_26{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._loader_jui5n_34{border:4px solid rgba(0,0,0,.1);border-left-color:#fff;border-radius:50%;width:40px;height:40px;animation:_spin_jui5n_1 1s linear infinite}@keyframes _spin_jui5n_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._header_1t64j_1{display:flex;width:100%;padding:18px;justify-content:center;border:var(--default-border);background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;border-bottom:none;z-index:5}._circles_1t64j_14{left:28px;top:28px;position:absolute;display:flex;align-items:center;gap:8px}._circle_1t64j_14{width:12px;height:12px;border-radius:50%;border:.5px solid #e6e6e6}._red_1t64j_30{background:#ff5f57}._green_1t64j_34{background:#28c840}._yellow_1t64j_38{background:#febc2e}._input_1t64j_42{background-color:var(--background-color);padding:6px 8px;display:flex;max-width:480px;width:100%;border-radius:6px}._main_1t64j_51{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:4px}._text_1t64j_59{font-weight:600;font-size:12px;line-height:16px;margin:0 0 0 4px}._content_92dk8_1{width:100%;height:100%}._block_92dk8_6{position:relative;cursor:pointer;border-left:1px solid #e6e6e6;border-right:1px solid #e6e6e6}._active_92dk8_13{border:2px solid #ff3f19}._name_92dk8_17{z-index:10;position:absolute;top:-28px;left:-2px;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;background:#ff3f19;padding:4px 12px;line-height:20px;text-align:center}._empty_92dk8_31{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}._icon_92dk8_42{width:64px;height:64px;background-color:var(--background-color);display:flex;border-radius:50%;justify-content:center;align-items:center;margin:0 0 8px}._title_92dk8_53{font-weight:700;font-size:24px;line-height:32px}._text_92dk8_59{font-size:16px;line-height:24px;color:var(--accent-color)}._sections_92dk8_65{padding:0 20px;margin:20px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:24px}._section_92dk8_65{cursor:pointer;display:flex;gap:10px;max-width:288px;width:100%;align-items:center;justify-content:space-between;padding:24px;background-color:var(--background-color);border-radius:24px;color:var(--accent-color)}._sidebar_1f3hk_1{position:absolute;display:flex;height:fit-content();flex-direction:column;right:10px;z-index:20;padding:10px;cursor:auto}._content_1f3hk_12{height:100%;border:1px solid #e6e6e6;border-radius:8px;background-color:#fff;padding:8px;max-width:60px;width:100%}._button_1f3hk_22{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._moveButton_1f3hk_30:hover{background-color:var(--background-color)}._border_1f3hk_34{border-bottom:var(--default-border)}._deleteButton_1f3hk_38:hover{background-color:#dd6363;color:#fff}._results_f488n_1{display:flex;flex-direction:column;padding:8px;gap:20px}._name_f488n_8{color:var(--main-color);font-weight:600;font-size:16px;line-height:24px}._product_f488n_15{display:flex;align-items:center;justify-content:space-between;cursor:pointer}._search_1s0qp_1{background:var(--background-color);padding:8px 12px;display:flex;align-items:center;border-radius:12px;width:100%;gap:10px;margin:8px 0}._input_1s0qp_12{width:100%;font-size:16px;line-height:24px;color:#252525}._input_1s0qp_12::placeholder{color:#c2c2c2}._sidebar_1r5sp_1{max-width:320px;width:100%;padding:16px;border-right:var(--default-border);height:100%;position:relative}._title_1r5sp_10{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px;padding-bottom:8px}._active_1r5sp_18{display:flex;align-items:center;gap:8px}._layers_62wod_1{display:flex;flex-direction:column;position:relative;height:100%}._block_62wod_8{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_62wod_8:hover{background-color:var(--background-color)}._dragging_62wod_23{box-shadow:0 2.1px 4.36px #00000004;box-shadow:0 5.3px 10.22px #00000005;border:var(--default-border);box-shadow:0 10.81px 19.93px #00000006;cursor:grabbing}._active_62wod_31{background:#ffeae5}._add_62wod_35{z-index:2;position:absolute;display:flex;justify-content:center;align-items:center;bottom:0;left:0;border-bottom:2px solid #ff3f19;width:100%}._button_62wod_47{position:relative;display:flex;justify-content:center;align-items:center;top:12px;background-color:#ff3f19;width:24px;height:24px;border-radius:50%;padding:4px}._empty_62wod_60{display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;align-items:center;text-align:center;gap:4px;color:var(--accent-color)}._title_62wod_72{font-size:16px;line-height:24px;font-weight:700;color:var(--accent-color)}._icon_62wod_79{margin:0 0 12px}._text_62wod_83{font-size:16px;font-weight:400;line-height:24px}._highlight_62wod_89{color:#ff3f19;cursor:pointer}._block_1d6lb_1{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_1d6lb_1:hover{background-color:var(--background-color)}._theme_1xj36_1{display:flex;flex-direction:column}._block_1xj36_6{justify-content:start;display:flex;align-items:center;gap:8px;width:100%;padding:16px 8px;cursor:pointer;border-radius:8px}._block_1xj36_6:hover{background-color:var(--background-color)}._name_1xj36_20{flex:1 1 auto}._back_1lk1m_1{display:flex;align-items:center;gap:8px;padding-bottom:8px}._render_1lk1m_8{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:501}._open_1lk1m_23{animation:.2s _open_1lk1m_23 forwards}@keyframes _open_1lk1m_23{0%{transform:translate(320px);z-index:1}99%{z-index:1}to{z-index:5000;transform:translate(0)}}@keyframes _close_1lk1m_50{0%{z-index:1;transform:translate(0)}to{z-index:1;transform:translate(320px)}}._close_1lk1m_50{animation:.2s _close_1lk1m_50 forwards}._clicked_1lk1m_54{opacity:0}._title_1lk1m_58{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px}._button_1lk1m_65{align-self:center;flex:1}._loading_1lk1m_70{flex:1 1 auto}._settings_1lk1m_74{flex:1 1 auto;overflow-y:scroll;overflow-x:hidden}._buttons_1lk1m_80{justify-content:flex-end;display:flex;gap:10px}._deleteButton_1lk1m_86{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._deleteButton_1lk1m_86:hover{background-color:#dd6363;color:#fff}._settings_1r85j_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:3}._open_1r85j_16{transform:translate(0)}._close_1r85j_20{transform:translate(320px)}._header_1r85j_24{display:flex;align-items:center;gap:8px}._title_1r85j_30{font-weight:700;font-size:20px;line-height:24px;flex:1 1 auto}._addButton_1r85j_37{color:#ff3f19;display:flex;align-items:center;gap:4px;cursor:pointer}._wrapper_n1a7x_1{overflow-y:scroll}._category_n1a7x_5{display:flex;flex-direction:column}._categoryTitle_n1a7x_10{font-weight:600;font-size:16px;line-height:24px}._color_n1a7x_16{display:flex;flex-direction:column}._color_n1a7x_16:not(:last-child){border-bottom:1px solid #f0f0f0}._content_n1a7x_24{padding:12px 0;gap:8px;display:flex;align-items:center;flex:1 1 auto}._preview_n1a7x_32{width:39px;height:39px;flex:0 0 39px;padding:5px;border-radius:50%;border:1px solid #e6e6e6}._wrapper_kb55x_2{overflow-y:scroll}._category_kb55x_6{display:flex;flex-direction:column}._categoryTitle_kb55x_11{font-weight:600;font-size:16px;line-height:24px}._color_kb55x_17{gap:8px;display:flex;flex-direction:column}._name_kb55x_23{line-height:20px;padding:0 4px 4px}._content_kb55x_28{display:flex;flex-direction:column;width:100%}._label_kb55x_34{padding:8px 12px;border-radius:12px;display:flex;align-items:center;gap:5px;width:100%;background-color:var(--background-color);cursor:pointer}._input_kb55x_45[type=color]{width:20px;height:20px;padding:1px}._input_kb55x_45{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:100%;border:none;padding:0;cursor:pointer;border-radius:50%}._input_kb55x_45::-webkit-color-swatch{border-radius:50%;border:none}._input_kb55x_45::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}._title_kb55x_71{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._field_kb55x_79{display:flex;flex-direction:column;gap:10px;padding:16px 0}._field_kb55x_79:not(:last-child){border-bottom:1px solid #f0f0f0}._alignments_kb55x_89{display:flex;flex-direction:column;gap:10px}._lineField_kb55x_95{display:flex;justify-content:space-between;align-items:center}._style_kb55x_101{flex:1 0 50%;display:flex;flex-direction:column;gap:8px}._header_kb55x_108{display:flex;align-items:center;justify-content:space-between}._wrapper_k9on2_1{overflow-y:scroll}._category_k9on2_5{display:flex;flex-direction:column}._categoryTitle_k9on2_10{font-weight:600;font-size:16px;line-height:24px}._font_k9on2_16{padding:12px 0;gap:8px;display:flex;align-items:center;position:relative;flex:1 1 auto;cursor:pointer}._font_k9on2_16:hover{background-color:#f8f8f8;border-radius:8px}._font_k9on2_16:not(:last-child){border-bottom:var(--default-border)}._font_k9on2_16:not(:last-child):hover{border-bottom:1px solid #f8f8f8}._content_k9on2_36{display:flex;flex-direction:column;width:100%}._icon_k9on2_42{padding:8px;border-radius:8px;background-color:#f8f8f8;display:flex;align-items:center;justify-content:center}._paragraph_k9on2_51{padding:12px}._deleteIcon_k9on2_55{position:absolute;right:10px;width:20px;height:20px}._iconButton_k9on2_62{width:32px;height:32px}._wrapper_94fpv_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_94fpv_16{transform:translate(0)}._close_94fpv_20{transform:translate(320px)}._header_94fpv_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_94fpv_31{font-weight:700;font-size:20px;line-height:24px}._options_94fpv_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_94fpv_44{opacity:0}._wrapper_1j33r_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_1j33r_16{transform:translate(0)}._close_1j33r_20{transform:translate(320px)}._header_1j33r_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_1j33r_31{font-weight:700;font-size:20px;line-height:24px}._options_1j33r_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_1j33r_44{opacity:0}._label_1j33r_48{font-size:14px;font-weight:400;line-height:20px;color:var(--accent-color)}._alignments_1j33r_55{display:flex;flex-direction:column;gap:10px}._blocks_1j33r_61{display:flex;align-items:center;gap:8px}._alignment_1j33r_55{padding:8px;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1j33r_75{border:1px solid #ff3f19}._wrapper_jjfwh_1{display:flex;flex-direction:column;gap:20px;background:#fff;max-width:640px;width:100%;padding:16px 24px;border-radius:16px}._header_jjfwh_12{display:flex;justify-content:space-between;align-items:center;font-size:24px;font-weight:700;line-height:32px}._content_jjfwh_21{display:flex;flex-direction:column;gap:10px;overflow-y:scroll;max-height:500px}._buttons_jjfwh_29{display:flex;justify-content:end;gap:12px}._cancel_jjfwh_35{background-color:var(--background-color);color:var(--accent-color)}._label_jjfwh_40,._description_jjfwh_41{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._preview_jjfwh_49{display:flex;flex-direction:column;gap:10px}._block_jjfwh_55{padding:24px;display:flex;flex-direction:column;border:1px solid var(--background-color);border-radius:8px}._slug_jjfwh_63{line-height:20px;color:#ff3f19;margin-bottom:4px}._title_jjfwh_69{font-weight:600;font-size:16px;line-height:24px}._layout_kjedu_1{width:100%;height:100%;display:flex;position:relative}._main_kjedu_8{display:flex;flex-direction:column;width:100%;position:relative}._content_kjedu_15{position:relative;padding-top:64px;height:100%;display:flex}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}*{padding:0;margin:0;border:0}*,*:before,*:after{box-sizing:border-box}:focus,:active{outline:none}a:focus,a:active{outline:none}nav,footer,header,aside{display:block}html,body{width:100%;line-height:1;font-size:16px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}input,button,textarea{font-family:inherit}input::-ms-clear{display:none}button{background-color:transparent;cursor:pointer}button::-moz-focus-inner{padding:0;border:0}a,a:visited,a:hover{text-decoration:none}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6,a{font-size:inherit}a{color:inherit}*{-webkit-tap-highlight-color:transparent}input{border:none;background:none;outline:none;padding:0}input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:40px;height:40px;border:none;background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}*{-ms-overflow-style:none;scrollbar-width:none}* ::-webkit-scrollbar{display:none}:root{--default-border: 1px solid #f0f0f0;--accent-color: #757575;--main-color: #252525;--background-color: #f8f8f8}#root{height:100vh}body,html{background-color:#fff;font-family:Archivo,sans-serif;max-height:100vh;overflow:hidden}._accordion_2tiiw_1{border-radius:24px;overflow:hidden;transition:all .3s ease;background-color:#f8f8f8;padding:24px}._header_2tiiw_9{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700}._header_2tiiw_9 ._icon_2tiiw_16{transition:transform .3s ease}._header_2tiiw_9 ._icon_2tiiw_16._open_2tiiw_19{transform:rotate(180deg)}._content_2tiiw_23{overflow:hidden;transition:height .3s ease}._wrapper_1g82c_2{display:flex;flex-direction:column;gap:10px}._alignmentBlock_1g82c_8{padding:10px 0 16px;display:flex;flex-direction:column;gap:6px}._title_1g82c_15{font-weight:700;line-height:24px;font-size:16px;color:#252525}._subtitle_1g82c_22{color:#757575;font-size:14px;line-height:20px;font-weight:400}._alignmentContent_1g82c_29{display:flex;justify-content:space-between;align-items:stretch}._alignments_1g82c_35{border-radius:12px;background:#f8f8f8;display:grid;gap:4px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);flex:0 0 50%}._alignment_1g82c_8{cursor:pointer;display:flex;height:100%;width:100%;align-items:center;justify-content:center}._circle_1g82c_54{width:6px;height:6px;border-radius:50%;background-color:#c2c2c2}._paddings_1g82c_61{border-radius:12px;display:grid;gap:4px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._padding_1g82c_61{width:68px;display:flex;align-items:center;gap:4px;background:#f8f8f8;border-radius:12px;padding:10px 8px}._input_1g82c_79{width:100%}._subtitle_2zbxx_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_2zbxx_8,._text_2zbxx_9{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._top_2zbxx_16{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_2zbxx_23{display:flex;flex-direction:column;gap:6px}._typeTexts_3zlec_1{display:flex;align-items:center;gap:8px}._block_3zlec_7{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_3zlec_18{border:1px solid #ff3f19}._subtitle_11qr1_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_11qr1_8,._text_11qr1_9,._productsBlock_11qr1_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_11qr1_10{position:relative}._top_11qr1_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_11qr1_29{display:flex;flex-direction:column;gap:6px}._typeTexts_11qr1_35{display:flex;align-items:center;gap:8px}._block_11qr1_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_11qr1_52{border:1px solid #ff3f19}._products_11qr1_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_11qr1_10{display:flex;align-items:center;gap:8px;width:100%}._button_11qr1_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._disabled_11qr1_80{color:#757575}._image_11qr1_84{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_11qr1_91{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_11qr1_102{flex:1 1 100%}._buttons_11qr1_106{display:flex;align-items:center;gap:8px}._modal_11qr1_112{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_11qr1_112 ._top_11qr1_22{display:flex;align-items:center;justify-content:space-between}._link_11qr1_130{display:flex;flex-direction:column;gap:8px}._modalOptions_11qr1_136{display:flex;flex-direction:column;gap:10px}._other_1wtgi_1{display:flex;flex-direction:column;gap:6px}._subtitle_1wtgi_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._items_1wtgi_14{display:flex;flex-direction:column;gap:8px}._subtitle_41klp_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_41klp_8,._text_41klp_9,._productsBlock_41klp_10,._buttonsBlock_41klp_11{padding:10px 0 16px;display:flex;flex-direction:column}._buttonsBlock_41klp_11{position:relative}._top_41klp_21{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_41klp_28{display:flex;flex-direction:column;gap:6px}._typeTexts_41klp_34{display:flex;align-items:center;gap:8px}._block_41klp_40{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_41klp_51{border:1px solid #ff3f19}._products_41klp_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_41klp_10{display:flex;align-items:center;gap:8px;width:100%}._button_41klp_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_41klp_79{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_41klp_86{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_41klp_97{flex:1 1 100%}._buttons_41klp_11{display:flex;align-items:center;gap:8px}._modal_41klp_107{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_41klp_107 ._top_41klp_21{display:flex;align-items:center;justify-content:space-between}._other_41klp_124{display:flex;flex-direction:column;gap:6px}._options_41klp_130{display:flex;flex-direction:column;gap:15px}._subtitle_1y5sw_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1y5sw_8,._text_1y5sw_9,._productsBlock_1y5sw_10,._buttonsBlock_1y5sw_11{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._buttonsBlock_1y5sw_11{position:relative}._top_1y5sw_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1y5sw_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1y5sw_35{display:flex;align-items:center;gap:8px}._block_1y5sw_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1y5sw_52{border:1px solid #ff3f19}._products_1y5sw_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1y5sw_10{display:flex;align-items:center;gap:8px;width:100%}._button_1y5sw_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1y5sw_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1y5sw_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1y5sw_98{flex:1 1 100%}._buttons_1y5sw_11{display:flex;align-items:center;gap:8px}._modal_1y5sw_108{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_1y5sw_108 ._top_1y5sw_22{display:flex;align-items:center;justify-content:space-between}._other_1y5sw_125{display:flex;flex-direction:column;gap:6px}._options_1y5sw_131{display:flex;flex-direction:column;gap:15px}._wrapper_tn7gb_1{display:flex;flex-direction:column;gap:6px}._subtitle_tn7gb_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._content_tn7gb_14{display:flex;align-items:center;gap:10px;width:100%}._range_tn7gb_21{position:relative;flex:1}._track_tn7gb_26{position:absolute;width:95%;height:6px;background-color:#f0f0f0;border-radius:9999px;z-index:1}._progress_tn7gb_35{position:absolute;height:6px;width:100%;background-color:#ff3f19;transition:width .2s;border-radius:9999px;z-index:1}._dots_tn7gb_45{position:absolute;display:flex;justify-content:space-between;width:100%}._dot_tn7gb_45{width:14px;height:14px;border-radius:50%;transition:transform .2s;position:relative;top:-4px;left:0;z-index:1}._dot_tn7gb_45._active_tn7gb_62{background-color:#ff3f19;transform:scale(1)}._dot_tn7gb_45:not(._active_tn7gb_62){background-color:#e5e7eb;transform:scale(.9)}._dot_tn7gb_45:hover{transform:scale(1.1)}._input_tn7gb_74{position:absolute;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}._input_tn7gb_74::-webkit-slider-thumb,._input_tn7gb_74::-moz-range-thumb{-webkit-appearance:none!important;-moz-appearance:none;appearance:none;width:0;height:0}._countBlock_tn7gb_88{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f8f8f8;border-radius:12px}._count_tn7gb_88{font-size:16px;font-weight:400;line-height:24px}._controls_tn7gb_103{display:flex;flex-direction:column}._button_tn7gb_108{transition:background-color .2s}._button_tn7gb_108:hover{background-color:#f3f4f6}._button_tn7gb_108:disabled{opacity:.5}._subtitle_1nl8x_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1nl8x_8,._text_1nl8x_9,._productsBlock_1nl8x_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_1nl8x_10{position:relative}._top_1nl8x_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1nl8x_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1nl8x_35{display:flex;align-items:center;gap:8px}._block_1nl8x_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1nl8x_52{border:1px solid #ff3f19}._products_1nl8x_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1nl8x_10{display:flex;align-items:center;gap:8px;width:100%}._button_1nl8x_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1nl8x_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1nl8x_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1nl8x_98{flex:1 1 100%}._buttons_1nl8x_102{display:flex;align-items:center;gap:8px}._modal_1nl8x_108{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_1nl8x_108 ._top_1nl8x_22{display:flex;align-items:center;justify-content:space-between}._link_1nl8x_126{display:flex;flex-direction:column;gap:8px}._modalOptions_1nl8x_132{display:flex;flex-direction:column;gap:10px}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- import { j as e, I as p, k as Ie, c as v, l as Y, m as P, n as B, o as le, B as Q, p as H, q as J, r as Ge, s as Se, t as K, w as qe, x as _e, y as Fe, z as O, e as ke, D as ze, H as We, u as Ve, d as Xe, f as ie, g as Ke, a as M, b as se, A as Ce, S as ve, P as je, E as De, F as Qe, T as Ye, R as Je, G as Ze, M as Be, i as et, J as Me } from "./index-hz9iiZsE.js";
3
- import _, { useMemo as He } from "react";
4
- const tt = [
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap";._icon_bsuj2_1 path{fill:var(--icon-fill)}._hoverable_bsuj2_5{cursor:pointer}._rotated_bsuj2_9{transform:rotate(180deg)}._button_3jsln_1{padding:10px 16px;border-radius:12px;cursor:pointer;font-size:16px}._button_3jsln_1:disabled{opacity:.7;cursor:auto}._primary_3jsln_13{color:#fff;background-color:#ff3f19}._secondary_3jsln_18{color:#757575;background-color:#f8f8f8}._content_3jsln_23{display:flex;align-items:center;gap:4px}._wrapper_wp7u5_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_wp7u5_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_wp7u5_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:7px 11px;font-size:16px;line-height:24px;border:1px solid var(--background-color)}._input_wp7u5_17::placeholder{color:#c2c2c2}._input_wp7u5_17:disabled{background-color:var(--background-color);opacity:.7}._required_wp7u5_36{border:1px solid #ff3f19}._paddingless_wp7u5_40{padding:0}._content_wp7u5_44{display:flex;align-items:center;gap:8px}._borderless_wp7u5_50{border-radius:0;border:none}._wrapper_1v1ye_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1v1ye_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._select_1v1ye_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:10px 12px;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}._icon_1v1ye_30{transition:.2s}._rotate_1v1ye_34{transform:rotate(180deg)}._content_1v1ye_38{position:relative}._options_1v1ye_42{position:absolute;top:45px;width:100%;background-color:var(--background-color);border-radius:12px;font-size:14px;line-height:20px;display:flex;flex-direction:column;max-height:200px;z-index:10;overflow-y:scroll;cursor:pointer}._option_1v1ye_42{padding:10px 12px;border-radius:12px}._option_1v1ye_42:hover{background-color:#e6e6e6}._addon_1v1ye_66{display:flex;align-items:center;gap:6px}._wrapper_3w2ni_1{display:flex;width:fit-content;gap:8px;align-items:center;border-radius:12px;line-height:20px;color:#252525;font-size:14px;font-weight:400}._switch_3w2ni_13{width:40px;height:24px;background-color:#ccc;border-radius:25px;display:flex;align-items:center;padding:2px;cursor:pointer;transition:background-color .2s}._switch_3w2ni_13._active_3w2ni_24{background:#ff3f19}._switch_3w2ni_13 ._toggle_3w2ni_27{width:14px;height:14px;background-color:#fff;border-radius:16px;transition:transform .2s;transform:translate(2px)}._switch_3w2ni_13._active_3w2ni_24 ._toggle_3w2ni_27{transform:translate(18px)}._background_3w2ni_39{background-color:#f8f8f8}._padding_3w2ni_43{padding:8px}._wrapper_1inu5_1{border:var(--default-border);width:fit-content;height:fit-content;max-height:500px;max-width:500px;min-width:300px;padding:10px;left:10px;top:10px;position:absolute;z-index:1000;background-color:#fff;display:flex;border-radius:8px;justify-content:center;align-items:center;overflow:hidden}._blocks_1op3c_1{display:flex;align-items:center;gap:8px}._block_1op3c_1{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1op3c_18{border:1px solid #ff3f19}._applyButton_1cqw4_2{flex:0 1 50%;font-weight:400}._cancelButton_1cqw4_7{background-color:#f8f8f8;color:var(--accent-color)}._content_1cqw4_12{display:flex;flex-direction:column;width:100%}._label_1cqw4_18{padding:8px 12px;border-radius:8px;display:flex;align-items:center;position:relative;gap:8px;width:100%;background-color:var(--background-color);cursor:pointer}._colorValue_1cqw4_30{width:20px;height:20px;padding:2.5px;border-radius:2px}._modal_1cqw4_37{left:15px;width:288px;overflow-y:auto;z-index:100000000;position:fixed;background-color:#fff;border-radius:12px;padding:10px;border:1px solid #e6e6e6;height:400px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:24px;font-weight:700}._colorMap_1cqw4_56{position:relative;width:100%;height:300px;cursor:pointer;border-radius:4px}._indicator_1cqw4_64{position:absolute;width:20px;height:20px;border:4px solid white;border-radius:50%;pointer-events:none}._hueSlider_1cqw4_73{width:80%;left:30px;height:8px;position:absolute;bottom:80px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red,red);border-radius:5px}input[type=range]{-webkit-appearance:none;height:8px;outline:none;border-radius:5px;position:relative;display:flex;justify-content:center}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border:5px solid #fff;border-radius:50%;cursor:pointer}._slider_1cqw4_102{width:100%;cursor:pointer}._buttons_1cqw4_107{display:flex;gap:5px;width:100%}._name_1cqw4_113{line-height:20px;padding:0 4px 4px}._secondary_1cqw4_118{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_1cqw4_126{line-height:20px;font-size:14px;font-weight:400}._modal_1qb2a_1{position:fixed;top:0;left:0;right:0;bottom:0;background:#2525253d;z-index:100000;display:flex;padding:20px;justify-content:center;align-items:center;overflow:hidden}._wrapper_1qvfi_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%;position:relative}._label_1qvfi_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._textarea_1qvfi_18{width:100%;background-color:var(--background-color);border-radius:12px;padding:8px 12px;font-size:16px;line-height:24px;resize:none;min-height:80px}._textarea_1qvfi_18::placeholder{color:#c2c2c2}._length_1qvfi_33{position:absolute;bottom:12px;right:12px;color:#c2c2c2;line-height:20px}._wrapper_1fcne_2{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1fcne_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._options_1fcne_18{display:flex;gap:20px}._radioLabel_1fcne_23{display:flex;align-items:center;cursor:pointer;position:relative}._radio_1fcne_23{position:absolute;opacity:0;cursor:pointer}._custom_1fcne_36{height:20px;width:20px;border-radius:50%;border:1px solid #e6e6e6;display:inline-block;margin-right:8px;position:relative}._radio_1fcne_23:checked+._custom_1fcne_36{border-color:#ff3f19;background:#ffeae5}._custom_1fcne_36:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:#e53e3e;opacity:0}._radio_1fcne_23:checked+._custom_1fcne_36:after{opacity:1}._option_1fcne_18{font-size:16px;line-height:24px;font-weight:400}._tip_pl6k0_1{display:flex;align-items:center;padding:8px;border-radius:12px;gap:8px}._text_pl6k0_9{flex:1 1 auto;line-height:20px;font-size:14px}._warning_pl6k0_15{background:#faf8e6;color:#c1972a}._error_pl6k0_20{background:#ffc3b7;color:#ff3f19}._hide_pl6k0_25{display:none}._customCheckbox_1b69m_1{display:inline-block;cursor:pointer;position:relative}._checkboxBox_1b69m_7{display:inline-block;width:20px;height:20px;border:1px solid #e6e6e6;border-radius:6px;position:relative}._checkboxBox_1b69m_7._checked_1b69m_16{background:#ffeae5;border:1px solid #ff3f19}._icon_1b69m_21{position:absolute;top:3px;left:3px}._loader_wrwsz_1{border:4px solid rgba(0,0,0,.1);border-left-color:#f8f8f8;border-radius:50%;width:40px;height:40px;animation:_spin_wrwsz_1 1s linear infinite}@keyframes _spin_wrwsz_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._wrapper_tm686_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_tm686_9{color:#757575;font-weight:400;font-size:14px;line-height:20px}._icon_tm686_16{padding:4px;background-color:#fff;border:1px solid #f0f0f0;display:flex;justify-content:center;align-items:center;border-radius:6px}._text_tm686_26{font-weight:400;font-size:16px;line-height:24px;color:#ff3f19}._content_tm686_33{display:flex;align-items:center;gap:6px;cursor:pointer;background-color:#f8f8f8;border-radius:12px;padding:6px 8px}._modal_tm686_43{background-color:#f8f8f8;border:1px solid #f0f0f0;border-radius:16px;width:100%;max-width:640px}._top_tm686_51{padding:16px 24px;display:flex;align-items:center;justify-content:space-between}._title_tm686_58{color:#252525;font-weight:400;font-size:18px;line-height:24px}._modalContent_tm686_65{padding:16px 24px;border-top-left-radius:16px;border-top-right-radius:16px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background-color:#fff}._images_tm686_74{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:10px;overflow-y:scroll;max-height:390px}._add_tm686_83{display:flex;flex-direction:column;gap:8px;padding:43px 16px;border:1px dashed #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._description_tm686_95{text-align:center;color:#252525;font-size:14px;line-height:20px}._description_tm686_95 span:last-child{padding-top:4px}._bottom_tm686_105{display:flex;justify-content:end;align-items:center;width:100%;background-color:#fff;border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding:16px 24px 12px;gap:6px}._cancel_tm686_117{background-color:var(--background-color);color:var(--accent-color)}._highlight_tm686_122{color:#ff3f19;cursor:pointer}._accent_tm686_127{color:var(--accent-color)}._image_tm686_74{position:relative;padding:43px 16px;border:1px solid #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._selected_tm686_141{border:1px solid #ff3f19}._checkbox_tm686_145{position:absolute;top:12px;left:12px}._loading_tm686_151{position:relative;padding:43px 16px;border:1px solid #e6e6e6;background-color:#f8f8f8;justify-content:center;align-items:center;display:flex;border-radius:16px;aspect-ratio:1/1}._spinner_tm686_163{width:24px;height:24px;border:2px solid #ff3f19;border-top-color:#f8f8f8;border-radius:50%;animation:_spin_tm686_163 1s linear infinite}@keyframes _spin_tm686_163{to{transform:rotate(360deg)}}._buttons_1gn8m_1{display:flex;align-items:center;gap:16px}._button_1gn8m_1{cursor:pointer;padding:10px}._devices_hxl12_1{display:flex;gap:4px;background:var(--background-color);padding:4px;border-radius:16px}._device_hxl12_1{padding:6px 8px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;border:1px solid var(--background-color)}._device_hxl12_1:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_hxl12_23{background-color:#fff}._active_hxl12_23:hover{border:1px solid var(--background-color);box-shadow:none}._header_zvaam_1{width:100%;padding:11px 22px;line-height:20px;border-bottom:var(--default-border);display:flex;align-items:center;justify-content:space-between;gap:24px}._left_zvaam_12,._right_zvaam_13{display:flex;align-items:center;gap:24px}._preview_vijvm_2{display:flex;align-items:center;gap:4px;color:var(--accent-color);line-height:20px;padding:10px 16px;cursor:pointer;border:1px solid #fff;border-radius:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._preview_vijvm_2:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_vijvm_22{background-color:var(--background-color)}._active_vijvm_22:hover{border:1px solid #fff;box-shadow:none}._settings_q79q3_1{display:flex;gap:20px;align-items:center;color:var(--accent-color)}._language_1mbvp_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._text_1mbvp_11{padding-right:4px;color:var(--main-color)}._pages_sf7rl_1{position:relative}._default_sf7rl_5{display:flex;align-items:center;gap:4px;padding:10px 12px;background-color:var(--background-color);border-radius:8px;cursor:pointer;position:relative}._text_sf7rl_16{padding-right:4px;color:var(--main-color);flex:1 1 auto}._modal_sf7rl_22{position:absolute;top:45px;width:320px;left:0;z-index:5000;background-color:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:8px 12px;display:flex;flex-direction:column}._page_sf7rl_1{display:flex;align-items:center;gap:8px;padding:12px 8px;border-radius:8px;cursor:pointer}._hoverable_sf7rl_45{background-color:var(--background-color)}._separator_sf7rl_49{border-bottom:1px solid #f0f0f0}._button_sf7rl_53{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:start;gap:8px;padding:16px 8px 12px;transition:.2s}._button_sf7rl_53:hover{background-color:var(--background-color)}._items_sf7rl_67{max-height:400px;overflow-y:scroll;height:100%}._zoom_a77cn_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._theme_3wxbf_1{display:flex;align-items:center;gap:4px;padding:9px 12px;background:#e5fadd;color:#338b13;border-radius:100px}._exit_2ce42_1{border-bottom:var(--default-border);display:flex;gap:8px;align-items:center;padding:22px;cursor:pointer}._text_2ce42_10{color:#252525;line-height:20px}._navbar_2ac63_1{width:100px;border-right:var(--default-border)}._main_2ac63_6{display:flex;flex-direction:column;gap:8px;padding:16px 12px}._block_2ac63_13{display:flex;align-items:center;flex-direction:column;gap:4px;color:var(--accent-color);line-height:20px;padding:12px 24px;cursor:pointer;border:1px solid #fff;border-radius:16px}._block_2ac63_13:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_2ac63_30{background-color:var(--background-color);color:#252525}._active_2ac63_30:hover{border:1px solid #fff;box-shadow:none}._preview_1q4f5_1{width:100%;background-color:var(--background-color);padding:16px 32px 0;position:relative;z-index:500}._main_1q4f5_9{width:100%;display:flex;flex-direction:column;overflow-y:auto;height:calc(100vh - 85px);position:relative;z-index:1}._content_1q4f5_19{background-color:#fff;border:var(--default-border);border-bottom:none;height:100%}._loading_1q4f5_26{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._loader_1q4f5_34{border:4px solid rgba(0,0,0,.1);border-left-color:#fff;border-radius:50%;width:40px;height:40px;animation:_spin_1q4f5_1 1s linear infinite}@keyframes _spin_1q4f5_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._header_1t64j_1{display:flex;width:100%;padding:18px;justify-content:center;border:var(--default-border);background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;border-bottom:none;z-index:5}._circles_1t64j_14{left:28px;top:28px;position:absolute;display:flex;align-items:center;gap:8px}._circle_1t64j_14{width:12px;height:12px;border-radius:50%;border:.5px solid #e6e6e6}._red_1t64j_30{background:#ff5f57}._green_1t64j_34{background:#28c840}._yellow_1t64j_38{background:#febc2e}._input_1t64j_42{background-color:var(--background-color);padding:6px 8px;display:flex;max-width:480px;width:100%;border-radius:6px}._main_1t64j_51{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:4px}._text_1t64j_59{font-weight:600;font-size:12px;line-height:16px;margin:0 0 0 4px}._content_1plo6_1{width:100%;height:100%;display:flex;flex-direction:column}._main_1plo6_8{flex:1 0 auto}._block_1plo6_12{position:relative;cursor:pointer;border-left:1px solid #e6e6e6;border-right:1px solid #e6e6e6}._active_1plo6_19{border:2px solid #ff3f19}._name_1plo6_23{z-index:10;position:absolute;top:-28px;left:-2px;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;background:#ff3f19;padding:4px 12px;line-height:20px;text-align:center}._empty_1plo6_37{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}._icon_1plo6_48{width:64px;height:64px;background-color:var(--background-color);display:flex;border-radius:50%;justify-content:center;align-items:center;margin:0 0 8px}._title_1plo6_59{font-weight:700;font-size:24px;line-height:32px}._text_1plo6_65{font-size:16px;line-height:24px;color:var(--accent-color)}._sections_1plo6_71{padding:0 20px;margin:20px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:24px}._section_1plo6_71{cursor:pointer;display:flex;gap:10px;max-width:288px;width:100%;align-items:center;justify-content:space-between;padding:24px;background-color:var(--background-color);border-radius:24px;color:var(--accent-color)}._sidebar_1f3hk_1{position:absolute;display:flex;height:fit-content();flex-direction:column;right:10px;z-index:20;padding:10px;cursor:auto}._content_1f3hk_12{height:100%;border:1px solid #e6e6e6;border-radius:8px;background-color:#fff;padding:8px;max-width:60px;width:100%}._button_1f3hk_22{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._moveButton_1f3hk_30:hover{background-color:var(--background-color)}._border_1f3hk_34{border-bottom:var(--default-border)}._deleteButton_1f3hk_38:hover{background-color:#dd6363;color:#fff}._results_f488n_1{display:flex;flex-direction:column;padding:8px;gap:20px}._name_f488n_8{color:var(--main-color);font-weight:600;font-size:16px;line-height:24px}._product_f488n_15{display:flex;align-items:center;justify-content:space-between;cursor:pointer}._search_1s0qp_1{background:var(--background-color);padding:8px 12px;display:flex;align-items:center;border-radius:12px;width:100%;gap:10px;margin:8px 0}._input_1s0qp_12{width:100%;font-size:16px;line-height:24px;color:#252525}._input_1s0qp_12::placeholder{color:#c2c2c2}._sidebar_96mlz_1{max-width:320px;width:100%;padding:16px;border-right:var(--default-border);height:calc(100vh - 60px);position:relative}._title_96mlz_10{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px;padding-bottom:8px}._active_96mlz_18{display:flex;align-items:center;gap:8px}._layers_62wod_1{display:flex;flex-direction:column;position:relative;height:100%}._block_62wod_8{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_62wod_8:hover{background-color:var(--background-color)}._dragging_62wod_23{box-shadow:0 2.1px 4.36px #00000004;box-shadow:0 5.3px 10.22px #00000005;border:var(--default-border);box-shadow:0 10.81px 19.93px #00000006;cursor:grabbing}._active_62wod_31{background:#ffeae5}._add_62wod_35{z-index:2;position:absolute;display:flex;justify-content:center;align-items:center;bottom:0;left:0;border-bottom:2px solid #ff3f19;width:100%}._button_62wod_47{position:relative;display:flex;justify-content:center;align-items:center;top:12px;background-color:#ff3f19;width:24px;height:24px;border-radius:50%;padding:4px}._empty_62wod_60{display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;align-items:center;text-align:center;gap:4px;color:var(--accent-color)}._title_62wod_72{font-size:16px;line-height:24px;font-weight:700;color:var(--accent-color)}._icon_62wod_79{margin:0 0 12px}._text_62wod_83{font-size:16px;font-weight:400;line-height:24px}._highlight_62wod_89{color:#ff3f19;cursor:pointer}._block_1d6lb_1{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_1d6lb_1:hover{background-color:var(--background-color)}._theme_1xj36_1{display:flex;flex-direction:column}._block_1xj36_6{justify-content:start;display:flex;align-items:center;gap:8px;width:100%;padding:16px 8px;cursor:pointer;border-radius:8px}._block_1xj36_6:hover{background-color:var(--background-color)}._name_1xj36_20{flex:1 1 auto}._back_y3z55_1{display:flex;align-items:center;gap:8px;padding-bottom:8px}._render_y3z55_8{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:501}._open_y3z55_23{animation:.2s _open_y3z55_23 forwards}@keyframes _open_y3z55_23{0%{transform:translate(320px);z-index:1}99%{z-index:1}to{z-index:5000;transform:translate(0)}}@keyframes _close_y3z55_50{0%{z-index:1;transform:translate(0)}to{z-index:1;transform:translate(320px)}}._close_y3z55_50{animation:.2s _close_y3z55_50 forwards}._clicked_y3z55_54{opacity:0}._title_y3z55_58{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px;flex:1 1 auto}._button_y3z55_66{align-self:center;flex:1}._loading_y3z55_71{flex:1 1 auto}._settings_y3z55_75{flex:1 1 100%;overflow-y:scroll;overflow-x:hidden}._deleteButton_y3z55_81{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._deleteButton_y3z55_81:hover{background-color:#dd6363;color:#fff}._settings_1r85j_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:3}._open_1r85j_16{transform:translate(0)}._close_1r85j_20{transform:translate(320px)}._header_1r85j_24{display:flex;align-items:center;gap:8px}._title_1r85j_30{font-weight:700;font-size:20px;line-height:24px;flex:1 1 auto}._addButton_1r85j_37{color:#ff3f19;display:flex;align-items:center;gap:4px;cursor:pointer}._wrapper_n1a7x_1{overflow-y:scroll}._category_n1a7x_5{display:flex;flex-direction:column}._categoryTitle_n1a7x_10{font-weight:600;font-size:16px;line-height:24px}._color_n1a7x_16{display:flex;flex-direction:column}._color_n1a7x_16:not(:last-child){border-bottom:1px solid #f0f0f0}._content_n1a7x_24{padding:12px 0;gap:8px;display:flex;align-items:center;flex:1 1 auto}._preview_n1a7x_32{width:39px;height:39px;flex:0 0 39px;padding:5px;border-radius:50%;border:1px solid #e6e6e6}._wrapper_kb55x_2{overflow-y:scroll}._category_kb55x_6{display:flex;flex-direction:column}._categoryTitle_kb55x_11{font-weight:600;font-size:16px;line-height:24px}._color_kb55x_17{gap:8px;display:flex;flex-direction:column}._name_kb55x_23{line-height:20px;padding:0 4px 4px}._content_kb55x_28{display:flex;flex-direction:column;width:100%}._label_kb55x_34{padding:8px 12px;border-radius:12px;display:flex;align-items:center;gap:5px;width:100%;background-color:var(--background-color);cursor:pointer}._input_kb55x_45[type=color]{width:20px;height:20px;padding:1px}._input_kb55x_45{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:100%;border:none;padding:0;cursor:pointer;border-radius:50%}._input_kb55x_45::-webkit-color-swatch{border-radius:50%;border:none}._input_kb55x_45::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}._title_kb55x_71{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._field_kb55x_79{display:flex;flex-direction:column;gap:10px;padding:16px 0}._field_kb55x_79:not(:last-child){border-bottom:1px solid #f0f0f0}._alignments_kb55x_89{display:flex;flex-direction:column;gap:10px}._lineField_kb55x_95{display:flex;justify-content:space-between;align-items:center}._style_kb55x_101{flex:1 0 50%;display:flex;flex-direction:column;gap:8px}._header_kb55x_108{display:flex;align-items:center;justify-content:space-between}._wrapper_k9on2_1{overflow-y:scroll}._category_k9on2_5{display:flex;flex-direction:column}._categoryTitle_k9on2_10{font-weight:600;font-size:16px;line-height:24px}._font_k9on2_16{padding:12px 0;gap:8px;display:flex;align-items:center;position:relative;flex:1 1 auto;cursor:pointer}._font_k9on2_16:hover{background-color:#f8f8f8;border-radius:8px}._font_k9on2_16:not(:last-child){border-bottom:var(--default-border)}._font_k9on2_16:not(:last-child):hover{border-bottom:1px solid #f8f8f8}._content_k9on2_36{display:flex;flex-direction:column;width:100%}._icon_k9on2_42{padding:8px;border-radius:8px;background-color:#f8f8f8;display:flex;align-items:center;justify-content:center}._paragraph_k9on2_51{padding:12px}._deleteIcon_k9on2_55{position:absolute;right:10px;width:20px;height:20px}._iconButton_k9on2_62{width:32px;height:32px}._wrapper_94fpv_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_94fpv_16{transform:translate(0)}._close_94fpv_20{transform:translate(320px)}._header_94fpv_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_94fpv_31{font-weight:700;font-size:20px;line-height:24px}._options_94fpv_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_94fpv_44{opacity:0}._wrapper_1j33r_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_1j33r_16{transform:translate(0)}._close_1j33r_20{transform:translate(320px)}._header_1j33r_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_1j33r_31{font-weight:700;font-size:20px;line-height:24px}._options_1j33r_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_1j33r_44{opacity:0}._label_1j33r_48{font-size:14px;font-weight:400;line-height:20px;color:var(--accent-color)}._alignments_1j33r_55{display:flex;flex-direction:column;gap:10px}._blocks_1j33r_61{display:flex;align-items:center;gap:8px}._alignment_1j33r_55{padding:8px;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1j33r_75{border:1px solid #ff3f19}._wrapper_jjfwh_1{display:flex;flex-direction:column;gap:20px;background:#fff;max-width:640px;width:100%;padding:16px 24px;border-radius:16px}._header_jjfwh_12{display:flex;justify-content:space-between;align-items:center;font-size:24px;font-weight:700;line-height:32px}._content_jjfwh_21{display:flex;flex-direction:column;gap:10px;overflow-y:scroll;max-height:500px}._buttons_jjfwh_29{display:flex;justify-content:end;gap:12px}._cancel_jjfwh_35{background-color:var(--background-color);color:var(--accent-color)}._label_jjfwh_40,._description_jjfwh_41{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._preview_jjfwh_49{display:flex;flex-direction:column;gap:10px}._block_jjfwh_55{padding:24px;display:flex;flex-direction:column;border:1px solid var(--background-color);border-radius:8px}._slug_jjfwh_63{line-height:20px;color:#ff3f19;margin-bottom:4px}._title_jjfwh_69{font-weight:600;font-size:16px;line-height:24px}._layout_vvs1k_1{width:100%;height:100%;display:flex;position:relative}._main_vvs1k_8{display:flex;flex-direction:column;width:100%;position:relative}._content_vvs1k_15{position:relative;height:100%;display:flex}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}*{padding:0;margin:0;border:0}*,*:before,*:after{box-sizing:border-box}:focus,:active{outline:none}a:focus,a:active{outline:none}nav,footer,header,aside{display:block}html,body{width:100%;line-height:1;font-size:16px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}input,button,textarea{font-family:inherit}input::-ms-clear{display:none}button{background-color:transparent;cursor:pointer}button::-moz-focus-inner{padding:0;border:0}a,a:visited,a:hover{text-decoration:none}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6,a{font-size:inherit}a{color:inherit}*{-webkit-tap-highlight-color:transparent}input{border:none;background:none;outline:none;padding:0}input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:40px;height:40px;border:none;background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}*{-ms-overflow-style:none;scrollbar-width:none}* ::-webkit-scrollbar{display:none}:root{--default-border: 1px solid #f0f0f0;--accent-color: #757575;--main-color: #252525;--background-color: #f8f8f8}body,html{background-color:#fff;font-family:Archivo,sans-serif;max-height:100dvh;overflow:hidden}._accordion_2tiiw_1{border-radius:24px;overflow:hidden;transition:all .3s ease;background-color:#f8f8f8;padding:24px}._header_2tiiw_9{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700}._header_2tiiw_9 ._icon_2tiiw_16{transition:transform .3s ease}._header_2tiiw_9 ._icon_2tiiw_16._open_2tiiw_19{transform:rotate(180deg)}._content_2tiiw_23{overflow:hidden;transition:height .3s ease}._wrapper_1g82c_2{display:flex;flex-direction:column;gap:10px}._alignmentBlock_1g82c_8{padding:10px 0 16px;display:flex;flex-direction:column;gap:6px}._title_1g82c_15{font-weight:700;line-height:24px;font-size:16px;color:#252525}._subtitle_1g82c_22{color:#757575;font-size:14px;line-height:20px;font-weight:400}._alignmentContent_1g82c_29{display:flex;justify-content:space-between;align-items:stretch}._alignments_1g82c_35{border-radius:12px;background:#f8f8f8;display:grid;gap:4px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);flex:0 0 50%}._alignment_1g82c_8{cursor:pointer;display:flex;height:100%;width:100%;align-items:center;justify-content:center}._circle_1g82c_54{width:6px;height:6px;border-radius:50%;background-color:#c2c2c2}._paddings_1g82c_61{border-radius:12px;display:grid;gap:4px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._padding_1g82c_61{width:68px;display:flex;align-items:center;gap:4px;background:#f8f8f8;border-radius:12px;padding:10px 8px}._input_1g82c_79{width:100%}._subtitle_2zbxx_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_2zbxx_8,._text_2zbxx_9{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._top_2zbxx_16{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_2zbxx_23{display:flex;flex-direction:column;gap:6px}._typeTexts_3zlec_1{display:flex;align-items:center;gap:8px}._block_3zlec_7{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_3zlec_18{border:1px solid #ff3f19}._subtitle_11qr1_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_11qr1_8,._text_11qr1_9,._productsBlock_11qr1_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_11qr1_10{position:relative}._top_11qr1_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_11qr1_29{display:flex;flex-direction:column;gap:6px}._typeTexts_11qr1_35{display:flex;align-items:center;gap:8px}._block_11qr1_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_11qr1_52{border:1px solid #ff3f19}._products_11qr1_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_11qr1_10{display:flex;align-items:center;gap:8px;width:100%}._button_11qr1_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._disabled_11qr1_80{color:#757575}._image_11qr1_84{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_11qr1_91{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_11qr1_102{flex:1 1 100%}._buttons_11qr1_106{display:flex;align-items:center;gap:8px}._modal_11qr1_112{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_11qr1_112 ._top_11qr1_22{display:flex;align-items:center;justify-content:space-between}._link_11qr1_130{display:flex;flex-direction:column;gap:8px}._modalOptions_11qr1_136{display:flex;flex-direction:column;gap:10px}._other_1wtgi_1{display:flex;flex-direction:column;gap:6px}._subtitle_1wtgi_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._items_1wtgi_14{display:flex;flex-direction:column;gap:8px}._subtitle_41klp_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_41klp_8,._text_41klp_9,._productsBlock_41klp_10,._buttonsBlock_41klp_11{padding:10px 0 16px;display:flex;flex-direction:column}._buttonsBlock_41klp_11{position:relative}._top_41klp_21{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_41klp_28{display:flex;flex-direction:column;gap:6px}._typeTexts_41klp_34{display:flex;align-items:center;gap:8px}._block_41klp_40{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_41klp_51{border:1px solid #ff3f19}._products_41klp_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_41klp_10{display:flex;align-items:center;gap:8px;width:100%}._button_41klp_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_41klp_79{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_41klp_86{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_41klp_97{flex:1 1 100%}._buttons_41klp_11{display:flex;align-items:center;gap:8px}._modal_41klp_107{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_41klp_107 ._top_41klp_21{display:flex;align-items:center;justify-content:space-between}._other_41klp_124{display:flex;flex-direction:column;gap:6px}._options_41klp_130{display:flex;flex-direction:column;gap:15px}._subtitle_1y5sw_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1y5sw_8,._text_1y5sw_9,._productsBlock_1y5sw_10,._buttonsBlock_1y5sw_11{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._buttonsBlock_1y5sw_11{position:relative}._top_1y5sw_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1y5sw_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1y5sw_35{display:flex;align-items:center;gap:8px}._block_1y5sw_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1y5sw_52{border:1px solid #ff3f19}._products_1y5sw_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1y5sw_10{display:flex;align-items:center;gap:8px;width:100%}._button_1y5sw_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1y5sw_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1y5sw_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1y5sw_98{flex:1 1 100%}._buttons_1y5sw_11{display:flex;align-items:center;gap:8px}._modal_1y5sw_108{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_1y5sw_108 ._top_1y5sw_22{display:flex;align-items:center;justify-content:space-between}._other_1y5sw_125{display:flex;flex-direction:column;gap:6px}._options_1y5sw_131{display:flex;flex-direction:column;gap:15px}._wrapper_tn7gb_1{display:flex;flex-direction:column;gap:6px}._subtitle_tn7gb_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._content_tn7gb_14{display:flex;align-items:center;gap:10px;width:100%}._range_tn7gb_21{position:relative;flex:1}._track_tn7gb_26{position:absolute;width:95%;height:6px;background-color:#f0f0f0;border-radius:9999px;z-index:1}._progress_tn7gb_35{position:absolute;height:6px;width:100%;background-color:#ff3f19;transition:width .2s;border-radius:9999px;z-index:1}._dots_tn7gb_45{position:absolute;display:flex;justify-content:space-between;width:100%}._dot_tn7gb_45{width:14px;height:14px;border-radius:50%;transition:transform .2s;position:relative;top:-4px;left:0;z-index:1}._dot_tn7gb_45._active_tn7gb_62{background-color:#ff3f19;transform:scale(1)}._dot_tn7gb_45:not(._active_tn7gb_62){background-color:#e5e7eb;transform:scale(.9)}._dot_tn7gb_45:hover{transform:scale(1.1)}._input_tn7gb_74{position:absolute;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}._input_tn7gb_74::-webkit-slider-thumb,._input_tn7gb_74::-moz-range-thumb{-webkit-appearance:none!important;-moz-appearance:none;appearance:none;width:0;height:0}._countBlock_tn7gb_88{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f8f8f8;border-radius:12px}._count_tn7gb_88{font-size:16px;font-weight:400;line-height:24px}._controls_tn7gb_103{display:flex;flex-direction:column}._button_tn7gb_108{transition:background-color .2s}._button_tn7gb_108:hover{background-color:#f3f4f6}._button_tn7gb_108:disabled{opacity:.5}._subtitle_1nl8x_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1nl8x_8,._text_1nl8x_9,._productsBlock_1nl8x_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_1nl8x_10{position:relative}._top_1nl8x_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1nl8x_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1nl8x_35{display:flex;align-items:center;gap:8px}._block_1nl8x_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1nl8x_52{border:1px solid #ff3f19}._products_1nl8x_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1nl8x_10{display:flex;align-items:center;gap:8px;width:100%}._button_1nl8x_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1nl8x_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1nl8x_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1nl8x_98{flex:1 1 100%}._buttons_1nl8x_102{display:flex;align-items:center;gap:8px}._modal_1nl8x_108{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_1nl8x_108 ._top_1nl8x_22{display:flex;align-items:center;justify-content:space-between}._link_1nl8x_126{display:flex;flex-direction:column;gap:8px}._modalOptions_1nl8x_132{display:flex;flex-direction:column;gap:10px}._options_163bj_1{border-radius:16px;border:1px solid #f0f0f0;width:100%;height:fit-content;padding:24px;display:flex;flex-direction:column;gap:20px}._price_163bj_12{display:flex;gap:4px;align-items:flex-start}._oldPrice_163bj_18{font-size:14px;font-weight:400;line-height:20px;text-decoration:line-through;color:#757575}._newPrice_163bj_26{font-size:20px;font-weight:700;line-height:24px;color:#252525}._meta_163bj_33{display:flex;flex-direction:column;gap:10px}._info_163bj_39{display:flex;align-items:center;justify-content:space-between;gap:10px}._infoRight_163bj_46{display:flex;align-items:center;gap:5px}._buttons_163bj_52{display:flex;flex-direction:column;gap:8px;width:100%}._variants_163bj_59{display:flex;flex-direction:column;gap:20px}._variant_163bj_59{display:flex;justify-content:space-between;align-items:center;border-radius:12px;padding:12px 16px;border:2px solid #e6e6e6}._stock_163bj_74{font-size:14px;font-weight:400;line-height:20px;color:#757575}._variantInfo_163bj_81{display:flex;flex-direction:column;gap:4px}._quantity_163bj_87{display:flex;align-items:stretch;gap:10px}._count_163bj_93{flex:1 1 auto;display:flex;justify-content:center;align-items:center;border:1px solid #e6e6e6}._button_163bj_52{background:#f8f8f8;border-radius:50%;padding:8px;display:flex;justify-content:center;align-items:center}._activeVariant_163bj_110{border:2px solid #ff3f19}._chargeTypes_163bj_114{display:flex;gap:5px;padding:4px;background-color:#f8f8f8}._charge_163bj_114{flex:1 1 auto;display:flex;justify-content:center;align-items:center;color:#757575;padding:8px;border-radius:12px}._chargeActive_163bj_131{background-color:#fff;color:#252525}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
+ import { j as e, I as m, k as ze, c as B, l as Y, m as P, n as L, o as We, B as Q, p as H, q as J, r as Ve, s as Se, t as K, w as Xe, x as _e, y as $e, z as I, e as je, L as ye, D as Ke, H as Qe, u as Ye, d as Je, f as ie, g as Ze, a as $, b as se, A as Ce, S as Be, P as Ae, E as He, F as et, T as tt, R as nt, G as ot, M as Pe, i as st, J as ke } from "./index-DXTECGbt.js";
3
+ import v, { useMemo as Re } from "react";
4
+ const rt = [
5
5
  {
6
6
  icon: "Desktop",
7
7
  value: "desktop"
@@ -14,7 +14,7 @@ const tt = [
14
14
  icon: "DeviceMobileCamera",
15
15
  value: "mobile"
16
16
  }
17
- ], nt = [
17
+ ], at = [
18
18
  {
19
19
  icon: "PaintBrushBroad",
20
20
  name: "Colors"
@@ -35,12 +35,91 @@ const tt = [
35
35
  icon: "Textbox",
36
36
  name: "Inputs"
37
37
  }
38
- ], ot = "https://g-api.billgang.com", st = "https://www.googleapis.com/webfonts/v1/webfonts", ur = ["Acorn", "Activity", "AddressBook", "AddressBookTabs", "AirTrafficControl", "Airplane", "AirplaneInFlight", "AirplaneLanding", "AirplaneTakeoff", "AirplaneTaxiing", "AirplaneTilt", "Airplay", "Alarm", "Alien", "AlignBottom", "AlignBottomSimple", "AlignCenterHorizontal", "AlignCenterHorizontalSimple", "AlignCenterVertical", "AlignCenterVerticalSimple", "AlignLeft", "AlignLeftSimple", "AlignRight", "AlignRightSimple", "AlignTop", "AlignTopSimple", "AmazonLogo", "Ambulance", "Anchor", "AnchorSimple", "AndroidLogo", "Angle", "AngularLogo", "Aperture", "AppStoreLogo", "AppWindow", "AppleLogo", "ApplePodcastsLogo", "ApproximateEquals", "Archive", "ArchiveBox", "ArchiveTray", "Armchair", "ArrowArcLeft", "ArrowArcRight", "ArrowBendDoubleUpLeft", "ArrowBendDoubleUpRight", "ArrowBendDownLeft", "ArrowBendDownRight", "ArrowBendLeftDown", "ArrowBendLeftUp", "ArrowBendRightDown", "ArrowBendRightUp", "ArrowBendUpLeft", "ArrowBendUpRight", "ArrowCircleDown", "ArrowCircleDownLeft", "ArrowCircleDownRight", "ArrowCircleLeft", "ArrowCircleRight", "ArrowCircleUp", "ArrowCircleUpLeft", "ArrowCircleUpRight", "ArrowClockwise", "ArrowCounterClockwise", "ArrowDown", "ArrowDownLeft", "ArrowDownRight", "ArrowElbowDownLeft", "ArrowElbowDownRight", "ArrowElbowLeft", "ArrowElbowLeftDown", "ArrowElbowLeftUp", "ArrowElbowRight", "ArrowElbowRightDown", "ArrowElbowRightUp", "ArrowElbowUpLeft", "ArrowElbowUpRight", "ArrowFatDown", "ArrowFatLeft", "ArrowFatLineDown", "ArrowFatLineLeft", "ArrowFatLineRight", "ArrowFatLineUp", "ArrowFatLinesDown", "ArrowFatLinesLeft", "ArrowFatLinesRight", "ArrowFatLinesUp", "ArrowFatRight", "ArrowFatUp", "ArrowLeft", "ArrowLineDown", "ArrowLineDownLeft", "ArrowLineDownRight", "ArrowLineLeft", "ArrowLineRight", "ArrowLineUp", "ArrowLineUpLeft", "ArrowLineUpRight", "ArrowRight", "ArrowSquareDown", "ArrowSquareDownLeft", "ArrowSquareDownRight", "ArrowSquareIn", "ArrowSquareLeft", "ArrowSquareOut", "ArrowSquareRight", "ArrowSquareUp", "ArrowSquareUpLeft", "ArrowSquareUpRight", "ArrowUDownLeft", "ArrowUDownRight", "ArrowULeftDown", "ArrowULeftUp", "ArrowURightDown", "ArrowURightUp", "ArrowUUpLeft", "ArrowUUpRight", "ArrowUp", "ArrowUpLeft", "ArrowUpRight", "ArrowsClockwise", "ArrowsCounterClockwise", "ArrowsDownUp", "ArrowsHorizontal", "ArrowsIn", "ArrowsInCardinal", "ArrowsInLineHorizontal", "ArrowsInLineVertical", "ArrowsInSimple", "ArrowsLeftRight", "ArrowsMerge", "ArrowsOut", "ArrowsOutCardinal", "ArrowsOutLineHorizontal", "ArrowsOutLineVertical", "ArrowsOutSimple", "ArrowsSplit", "ArrowsVertical", "Article", "ArticleMedium", "ArticleNyTimes", "Asclepius", "Asterisk", "AsteriskSimple", "At", "Atom", "Avocado", "Axe", "Baby", "BabyCarriage", "Backpack", "Backspace", "Bag", "BagSimple", "Balloon", "Bandaids", "Bank", "Barbell", "Barcode", "Barn", "Barricade", "Baseball", "BaseballCap", "BaseballHelmet", "Basket", "Basketball", "Bathtub", "BatteryCharging", "BatteryChargingVertical", "BatteryEmpty", "BatteryFull", "BatteryHigh", "BatteryLow", "BatteryMedium", "BatteryPlus", "BatteryPlusVertical", "BatteryVerticalEmpty", "BatteryVerticalFull", "BatteryVerticalHigh", "BatteryVerticalLow", "BatteryVerticalMedium", "BatteryWarning", "BatteryWarningVertical", "BeachBall", "Beanie", "Bed", "BeerBottle", "BeerStein", "BehanceLogo", "Bell", "BellRinging", "BellSimple", "BellSimpleRinging", "BellSimpleSlash", "BellSimpleZ", "BellSlash", "BellZ", "Belt", "BezierCurve", "Bicycle", "Binary", "Binoculars", "Biohazard", "Bird", "Blueprint", "Bluetooth", "BluetoothConnected", "BluetoothSlash", "BluetoothX", "Boat", "Bomb", "Bone", "Book", "BookBookmark", "BookOpen", "BookOpenText", "BookOpenUser", "Bookmark", "BookmarkSimple", "Bookmarks", "BookmarksSimple", "Books", "Boot", "Boules", "BoundingBox", "BowlFood", "BowlSteam", "BowlingBall", "BoxArrowDown", "BoxArrowUp", "BoxingGlove", "BracketsAngle", "BracketsCurly", "BracketsRound", "BracketsSquare", "Brain", "Brandy", "Bread", "Bridge", "Briefcase", "BriefcaseMetal", "Broadcast", "Broom", "Browser", "Browsers", "Bug", "BugBeetle", "BugDroid", "Building", "BuildingApartment", "BuildingOffice", "Buildings", "Bulldozer", "Bus", "Butterfly", "CableCar", "Cactus", "Caduceus", "Cake", "Calculator", "Calendar", "CalendarBlank", "CalendarCheck", "CalendarDot", "CalendarDots", "CalendarHeart", "CalendarMinus", "CalendarPlus", "CalendarSlash", "CalendarStar", "CalendarX", "CallBell", "Camera", "CameraPlus", "CameraRotate", "CameraSlash", "Campfire", "Car", "CarBattery", "CarProfile", "CarSimple", "Cardholder", "Cards", "CardsThree", "CaretCircleDoubleDown", "CaretCircleDoubleLeft", "CaretCircleDoubleRight", "CaretCircleDoubleUp", "CaretCircleDown", "CaretCircleLeft", "CaretCircleRight", "CaretCircleUp", "CaretCircleUpDown", "CaretDoubleDown", "CaretDoubleLeft", "CaretDoubleRight", "CaretDoubleUp", "CaretDown", "CaretLeft", "CaretLineDown", "CaretLineLeft", "CaretLineRight", "CaretLineUp", "CaretRight", "CaretUp", "CaretUpDown", "Carrot", "CashRegister", "CassetteTape", "CastleTurret", "Cat", "CellSignalFull", "CellSignalHigh", "CellSignalLow", "CellSignalMedium", "CellSignalNone", "CellSignalSlash", "CellSignalX", "CellTower", "Certificate", "Chair", "Chalkboard", "ChalkboardSimple", "ChalkboardTeacher", "Champagne", "ChargingStation", "ChartBar", "ChartBarHorizontal", "ChartDonut", "ChartLine", "ChartLineDown", "ChartLineUp", "ChartPie", "ChartPieSlice", "ChartPolar", "ChartScatter", "Chat", "ChatCentered", "ChatCenteredDots", "ChatCenteredSlash", "ChatCenteredText", "ChatCircle", "ChatCircleDots", "ChatCircleSlash", "ChatCircleText", "ChatDots", "ChatSlash", "ChatTeardrop", "ChatTeardropDots", "ChatTeardropSlash", "ChatTeardropText", "ChatText", "Chats", "ChatsCircle", "ChatsTeardrop", "Check", "CheckCircle", "CheckFat", "CheckSquare", "CheckSquareOffset", "Checkerboard", "Checks", "Cheers", "Cheese", "ChefHat", "Cherries", "Church", "Cigarette", "CigaretteSlash", "Circle", "CircleDashed", "CircleHalf", "CircleHalfTilt", "CircleNotch", "CircleWavy", "CircleWavyCheck", "CircleWavyQuestion", "CircleWavyWarning", "CirclesFour", "CirclesThree", "CirclesThreePlus", "Circuitry", "City", "Clipboard", "ClipboardText", "Clock", "ClockAfternoon", "ClockClockwise", "ClockCountdown", "ClockCounterClockwise", "ClockUser", "ClosedCaptioning", "Cloud", "CloudArrowDown", "CloudArrowUp", "CloudCheck", "CloudFog", "CloudLightning", "CloudMoon", "CloudRain", "CloudSlash", "CloudSnow", "CloudSun", "CloudWarning", "CloudX", "Clover", "Club", "CoatHanger", "CodaLogo", "Code", "CodeBlock", "CodeSimple", "CodepenLogo", "CodesandboxLogo", "Coffee", "CoffeeBean", "Coin", "CoinVertical", "Coins", "Columns", "ColumnsPlusLeft", "ColumnsPlusRight", "Command", "Compass", "CompassRose", "CompassTool", "ComputerTower", "Confetti", "ContactlessPayment", "Control", "Cookie", "CookingPot", "Copy", "CopySimple", "Copyleft", "Copyright", "CornersIn", "CornersOut", "Couch", "CourtBasketball", "Cow", "CowboyHat", "Cpu", "Crane", "CraneTower", "CreditCard", "Cricket", "Crop", "Cross", "Crosshair", "CrosshairSimple", "Crown", "CrownCross", "CrownSimple", "Cube", "CubeFocus", "CubeTransparent", "CurrencyBtc", "CurrencyCircleDollar", "CurrencyCny", "CurrencyDollar", "CurrencyDollarSimple", "CurrencyEth", "CurrencyEur", "CurrencyGbp", "CurrencyInr", "CurrencyJpy", "CurrencyKrw", "CurrencyKzt", "CurrencyNgn", "CurrencyRub", "Cursor", "CursorClick", "CursorText", "Cylinder", "Database", "Desk", "Desktop", "DesktopTower", "Detective", "DevToLogo", "DeviceMobile", "DeviceMobileCamera", "DeviceMobileSlash", "DeviceMobileSpeaker", "DeviceRotate", "DeviceTablet", "DeviceTabletCamera", "DeviceTabletSpeaker", "Devices", "Diamond", "DiamondsFour", "DiceFive", "DiceFour", "DiceOne", "DiceSix", "DiceThree", "DiceTwo", "Disc", "DiscoBall", "DiscordLogo", "Divide", "Dna", "Dog", "Door", "DoorOpen", "Dot", "DotOutline", "DotsNine", "DotsSix", "DotsSixVertical", "DotsThree", "DotsThreeCircle", "DotsThreeCircleVertical", "DotsThreeOutline", "DotsThreeOutlineVertical", "DotsThreeVertical", "Download", "DownloadSimple", "Dress", "Dresser", "DribbbleLogo", "Drone", "Drop", "DropHalf", "DropHalfBottom", "DropSimple", "DropSlash", "DropboxLogo", "Ear", "EarSlash", "Egg", "EggCrack", "Eject", "EjectSimple", "Elevator", "Empty", "Engine", "Envelope", "EnvelopeOpen", "EnvelopeSimple", "EnvelopeSimpleOpen", "Equalizer", "Equals", "Eraser", "EscalatorDown", "EscalatorUp", "Exam", "ExclamationMark", "Exclude", "ExcludeSquare", "Export", "Eye", "EyeClosed", "EyeSlash", "Eyedropper", "EyedropperSample", "Eyeglasses", "Eyes", "FaceMask", "FacebookLogo", "Factory", "Faders", "FadersHorizontal", "FalloutShelter", "Fan", "Farm", "FastForward", "FastForwardCircle", "Feather", "FediverseLogo", "FigmaLogo", "File", "FileArchive", "FileArrowDown", "FileArrowUp", "FileAudio", "FileC", "FileCSharp", "FileCloud", "FileCode", "FileCpp", "FileCss", "FileCsv", "FileDashed", "FileDoc", "FileDotted", "FileHtml", "FileImage", "FileIni", "FileJpg", "FileJs", "FileJsx", "FileLock", "FileMagnifyingGlass", "FileMd", "FileMinus", "FilePdf", "FilePlus", "FilePng", "FilePpt", "FilePy", "FileRs", "FileSearch", "FileSql", "FileSvg", "FileText", "FileTs", "FileTsx", "FileTxt", "FileVideo", "FileVue", "FileX", "FileXls", "FileZip", "Files", "FilmReel", "FilmScript", "FilmSlate", "FilmStrip", "Fingerprint", "FingerprintSimple", "FinnTheHuman", "Fire", "FireExtinguisher", "FireSimple", "FireTruck", "FirstAid", "FirstAidKit", "Fish", "FishSimple", "Flag", "FlagBanner", "FlagBannerFold", "FlagCheckered", "FlagPennant", "Flame", "Flashlight", "Flask", "FlipHorizontal", "FlipVertical", "FloppyDisk", "FloppyDiskBack", "FlowArrow", "Flower", "FlowerLotus", "FlowerTulip", "FlyingSaucer", "Folder", "FolderDashed", "FolderDotted", "FolderLock", "FolderMinus", "FolderNotch", "FolderNotchMinus", "FolderNotchOpen", "FolderNotchPlus", "FolderOpen", "FolderPlus", "FolderSimple", "FolderSimpleDashed", "FolderSimpleDotted", "FolderSimpleLock", "FolderSimpleMinus", "FolderSimplePlus", "FolderSimpleStar", "FolderSimpleUser", "FolderStar", "FolderUser", "Folders", "Football", "FootballHelmet", "Footprints", "ForkKnife", "FourK", "FrameCorners", "FramerLogo", "Function", "Funnel", "FunnelSimple", "FunnelSimpleX", "FunnelX", "GameController", "Garage", "GasCan", "GasPump", "Gauge", "Gavel", "Gear", "GearFine", "GearSix", "GenderFemale", "GenderIntersex", "GenderMale", "GenderNeuter", "GenderNonbinary", "GenderTransgender", "Ghost", "Gif", "Gift", "GitBranch", "GitCommit", "GitDiff", "GitFork", "GitMerge", "GitPullRequest", "GithubLogo", "GitlabLogo", "GitlabLogoSimple", "Globe", "GlobeHemisphereEast", "GlobeHemisphereWest", "GlobeSimple", "GlobeSimpleX", "GlobeStand", "GlobeX", "Goggles", "Golf", "GoodreadsLogo", "GoogleCardboardLogo", "GoogleChromeLogo", "GoogleDriveLogo", "GoogleLogo", "GooglePhotosLogo", "GooglePlayLogo", "GooglePodcastsLogo", "Gps", "GpsFix", "GpsSlash", "Gradient", "GraduationCap", "Grains", "GrainsSlash", "Graph", "GraphicsCard", "GreaterThan", "GreaterThanOrEqual", "GridFour", "GridNine", "Guitar", "HairDryer", "Hamburger", "Hammer", "Hand", "HandArrowDown", "HandArrowUp", "HandCoins", "HandDeposit", "HandEye", "HandFist", "HandGrabbing", "HandHeart", "HandPalm", "HandPeace", "HandPointing", "HandSoap", "HandSwipeLeft", "HandSwipeRight", "HandTap", "HandWaving", "HandWithdraw", "Handbag", "HandbagSimple", "HandsClapping", "HandsPraying", "Handshake", "HardDrive", "HardDrives", "HardHat", "Hash", "HashStraight", "HeadCircuit", "Headlights", "Headphones", "Headset", "Heart", "HeartBreak", "HeartHalf", "HeartStraight", "HeartStraightBreak", "Heartbeat", "Hexagon", "HighDefinition", "HighHeel", "Highlighter", "HighlighterCircle", "Hockey", "Hoodie", "Horse", "Hospital", "Hourglass", "HourglassHigh", "HourglassLow", "HourglassMedium", "HourglassSimple", "HourglassSimpleHigh", "HourglassSimpleLow", "HourglassSimpleMedium", "House", "HouseLine", "HouseSimple", "Hurricane", "IceCream", "IconBase", "IconContext", "IdentificationBadge", "IdentificationCard", "Image", "ImageBroken", "ImageSquare", "Images", "ImagesSquare", "Infinity", "Info", "InstagramLogo", "Intersect", "IntersectSquare", "IntersectThree", "Intersection", "Invoice", "Island", "Jar", "JarLabel", "Jeep", "Joystick", "Kanban", "Key", "KeyReturn", "Keyboard", "Keyhole", "Knife", "Ladder", "LadderSimple", "Lamp", "LampPendant", "Laptop", "Lasso", "LastfmLogo", "Layout", "Leaf", "Lectern", "Lego", "LegoSmiley", "Lemniscate", "LessThan", "LessThanOrEqual", "LetterCircleH", "LetterCircleP", "LetterCircleV", "Lifebuoy", "Lightbulb", "LightbulbFilament", "Lighthouse", "Lightning", "LightningA", "LightningSlash", "LineSegment", "LineSegments", "LineVertical", "Link", "LinkBreak", "LinkSimple", "LinkSimpleBreak", "LinkSimpleHorizontal", "LinkSimpleHorizontalBreak", "LinkedinLogo", "LinktreeLogo", "LinuxLogo", "List", "ListBullets", "ListChecks", "ListDashes", "ListHeart", "ListMagnifyingGlass", "ListNumbers", "ListPlus", "ListStar", "Lock", "LockKey", "LockKeyOpen", "LockLaminated", "LockLaminatedOpen", "LockOpen", "LockSimple", "LockSimpleOpen", "Lockers", "Log", "MagicWand", "Magnet", "MagnetStraight", "MagnifyingGlass", "MagnifyingGlassMinus", "MagnifyingGlassPlus", "Mailbox", "MapPin", "MapPinArea", "MapPinLine", "MapPinPlus", "MapPinSimple", "MapPinSimpleArea", "MapPinSimpleLine", "MapTrifold", "MarkdownLogo", "MarkerCircle", "Martini", "MaskHappy", "MaskSad", "MastodonLogo", "MathOperations", "MatrixLogo", "Medal", "MedalMilitary", "MediumLogo", "Megaphone", "MegaphoneSimple", "MemberOf", "Memory", "MessengerLogo", "MetaLogo", "Meteor", "Metronome", "Microphone", "MicrophoneSlash", "MicrophoneStage", "Microscope", "MicrosoftExcelLogo", "MicrosoftOutlookLogo", "MicrosoftPowerpointLogo", "MicrosoftTeamsLogo", "MicrosoftWordLogo", "Minus", "MinusCircle", "MinusSquare", "Money", "MoneyWavy", "Monitor", "MonitorArrowUp", "MonitorPlay", "Moon", "MoonStars", "Moped", "MopedFront", "Mosque", "Motorcycle", "Mountains", "Mouse", "MouseLeftClick", "MouseMiddleClick", "MouseRightClick", "MouseScroll", "MouseSimple", "MusicNote", "MusicNoteSimple", "MusicNotes", "MusicNotesMinus", "MusicNotesPlus", "MusicNotesSimple", "NavigationArrow", "Needle", "Network", "NetworkSlash", "NetworkX", "Newspaper", "NewspaperClipping", "NotEquals", "NotMemberOf", "NotSubsetOf", "NotSupersetOf", "Notches", "Note", "NoteBlank", "NotePencil", "Notebook", "Notepad", "Notification", "NotionLogo", "NuclearPlant", "NumberCircleEight", "NumberCircleFive", "NumberCircleFour", "NumberCircleNine", "NumberCircleOne", "NumberCircleSeven", "NumberCircleSix", "NumberCircleThree", "NumberCircleTwo", "NumberCircleZero", "NumberEight", "NumberFive", "NumberFour", "NumberNine", "NumberOne", "NumberSeven", "NumberSix", "NumberSquareEight", "NumberSquareFive", "NumberSquareFour", "NumberSquareNine", "NumberSquareOne", "NumberSquareSeven", "NumberSquareSix", "NumberSquareThree", "NumberSquareTwo", "NumberSquareZero", "NumberThree", "NumberTwo", "NumberZero", "Numpad", "Nut", "NyTimesLogo", "Octagon", "OfficeChair", "Onigiri", "OpenAiLogo", "Option", "Orange", "OrangeSlice", "Oven", "Package", "PaintBrush", "PaintBrushBroad", "PaintBrushHousehold", "PaintBucket", "PaintRoller", "Palette", "Panorama", "Pants", "PaperPlane", "PaperPlaneRight", "PaperPlaneTilt", "Paperclip", "PaperclipHorizontal", "Parachute", "Paragraph", "Parallelogram", "Park", "Password", "Path", "PatreonLogo", "Pause", "PauseCircle", "PawPrint", "PaypalLogo", "Peace", "Pen", "PenNib", "PenNibStraight", "Pencil", "PencilCircle", "PencilLine", "PencilRuler", "PencilSimple", "PencilSimpleLine", "PencilSimpleSlash", "PencilSlash", "Pentagon", "Pentagram", "Pepper", "Percent", "Person", "PersonArmsSpread", "PersonSimple", "PersonSimpleBike", "PersonSimpleCircle", "PersonSimpleHike", "PersonSimpleRun", "PersonSimpleSki", "PersonSimpleSnowboard", "PersonSimpleSwim", "PersonSimpleTaiChi", "PersonSimpleThrow", "PersonSimpleWalk", "Perspective", "Phone", "PhoneCall", "PhoneDisconnect", "PhoneIncoming", "PhoneList", "PhoneOutgoing", "PhonePause", "PhonePlus", "PhoneSlash", "PhoneTransfer", "PhoneX", "PhosphorLogo", "Pi", "PianoKeys", "PicnicTable", "PictureInPicture", "PiggyBank", "Pill", "PingPong", "PintGlass", "PinterestLogo", "Pinwheel", "Pipe", "PipeWrench", "PixLogo", "Pizza", "Placeholder", "Planet", "Plant", "Play", "PlayCircle", "PlayPause", "Playlist", "Plug", "PlugCharging", "Plugs", "PlugsConnected", "Plus", "PlusCircle", "PlusMinus", "PlusSquare", "PokerChip", "PoliceCar", "Polygon", "Popcorn", "Popsicle", "PottedPlant", "Power", "Prescription", "Presentation", "PresentationChart", "Printer", "Prohibit", "ProhibitInset", "ProjectorScreen", "ProjectorScreenChart", "Pulse", "PushPin", "PushPinSimple", "PushPinSimpleSlash", "PushPinSlash", "PuzzlePiece", "QrCode", "Question", "QuestionMark", "Queue", "Quotes", "Rabbit", "Racquet", "Radical", "Radio", "RadioButton", "Radioactive", "Rainbow", "RainbowCloud", "Ranking", "ReadCvLogo", "Receipt", "ReceiptX", "Record", "Rectangle", "RectangleDashed", "Recycle", "RedditLogo", "Repeat", "RepeatOnce", "ReplitLogo", "Resize", "Rewind", "RewindCircle", "RoadHorizon", "Robot", "Rocket", "RocketLaunch", "Rows", "RowsPlusBottom", "RowsPlusTop", "Rss", "RssSimple", "Rug", "Ruler", "SSR", "Sailboat", "Scales", "Scan", "ScanSmiley", "Scissors", "Scooter", "Screencast", "Screwdriver", "Scribble", "ScribbleLoop", "Scroll", "Seal", "SealCheck", "SealPercent", "SealQuestion", "SealWarning", "Seat", "Seatbelt", "SecurityCamera", "Selection", "SelectionAll", "SelectionBackground", "SelectionForeground", "SelectionInverse", "SelectionPlus", "SelectionSlash", "Shapes", "Share", "ShareFat", "ShareNetwork", "Shield", "ShieldCheck", "ShieldCheckered", "ShieldChevron", "ShieldPlus", "ShieldSlash", "ShieldStar", "ShieldWarning", "ShippingContainer", "ShirtFolded", "ShootingStar", "ShoppingBag", "ShoppingBagOpen", "ShoppingCart", "ShoppingCartSimple", "Shovel", "Shower", "Shrimp", "Shuffle", "ShuffleAngular", "ShuffleSimple", "Sidebar", "SidebarSimple", "Sigma", "SignIn", "SignOut", "Signature", "Signpost", "SimCard", "Siren", "SketchLogo", "SkipBack", "SkipBackCircle", "SkipForward", "SkipForwardCircle", "Skull", "SkypeLogo", "SlackLogo", "Sliders", "SlidersHorizontal", "Slideshow", "Smiley", "SmileyAngry", "SmileyBlank", "SmileyMeh", "SmileyMelting", "SmileyNervous", "SmileySad", "SmileySticker", "SmileyWink", "SmileyXEyes", "SnapchatLogo", "Sneaker", "SneakerMove", "Snowflake", "SoccerBall", "Sock", "SolarPanel", "SolarRoof", "SortAscending", "SortDescending", "SoundcloudLogo", "Spade", "Sparkle", "SpeakerHifi", "SpeakerHigh", "SpeakerLow", "SpeakerNone", "SpeakerSimpleHigh", "SpeakerSimpleLow", "SpeakerSimpleNone", "SpeakerSimpleSlash", "SpeakerSimpleX", "SpeakerSlash", "SpeakerX", "Speedometer", "Sphere", "Spinner", "SpinnerBall", "SpinnerGap", "Spiral", "SplitHorizontal", "SplitVertical", "SpotifyLogo", "SprayBottle", "Square", "SquareHalf", "SquareHalfBottom", "SquareLogo", "SquareSplitHorizontal", "SquareSplitVertical", "SquaresFour", "Stack", "StackMinus", "StackOverflowLogo", "StackPlus", "StackSimple", "Stairs", "Stamp", "StandardDefinition", "Star", "StarAndCrescent", "StarFour", "StarHalf", "StarOfDavid", "SteamLogo", "SteeringWheel", "Steps", "Stethoscope", "Sticker", "Stool", "Stop", "StopCircle", "Storefront", "Strategy", "StripeLogo", "Student", "SubsetOf", "SubsetProperOf", "Subtitles", "SubtitlesSlash", "Subtract", "SubtractSquare", "Subway", "Suitcase", "SuitcaseRolling", "SuitcaseSimple", "Sun", "SunDim", "SunHorizon", "Sunglasses", "SupersetOf", "SupersetProperOf", "Swap", "Swatches", "SwimmingPool", "Sword", "Synagogue", "Syringe", "TShirt", "Table", "Tabs", "Tag", "TagChevron", "TagSimple", "Target", "Taxi", "TeaBag", "TelegramLogo", "Television", "TelevisionSimple", "TennisBall", "Tent", "Terminal", "TerminalWindow", "TestTube", "TextAUnderline", "TextAa", "TextAlignCenter", "TextAlignJustify", "TextAlignLeft", "TextAlignRight", "TextB", "TextBolder", "TextColumns", "TextH", "TextHFive", "TextHFour", "TextHOne", "TextHSix", "TextHThree", "TextHTwo", "TextIndent", "TextItalic", "TextOutdent", "TextStrikethrough", "TextSubscript", "TextSuperscript", "TextT", "TextTSlash", "TextUnderline", "Textbox", "Thermometer", "ThermometerCold", "ThermometerHot", "ThermometerSimple", "ThreadsLogo", "ThreeD", "ThumbsDown", "ThumbsUp", "Ticket", "TidalLogo", "TiktokLogo", "Tilde", "Timer", "TipJar", "Tipi", "Tire", "ToggleLeft", "ToggleRight", "Toilet", "ToiletPaper", "Toolbox", "Tooth", "Tornado", "Tote", "ToteSimple", "Towel", "Tractor", "Trademark", "TrademarkRegistered", "TrafficCone", "TrafficSign", "TrafficSignal", "Train", "TrainRegional", "TrainSimple", "Tram", "Translate", "Trash", "TrashSimple", "Tray", "TrayArrowDown", "TrayArrowUp", "TreasureChest", "Tree", "TreeEvergreen", "TreePalm", "TreeStructure", "TreeView", "TrendDown", "TrendUp", "Triangle", "TriangleDashed", "Trolley", "TrolleySuitcase", "Trophy", "Truck", "TruckTrailer", "TumblrLogo", "TwitchLogo", "TwitterLogo", "Umbrella", "UmbrellaSimple", "Union", "Unite", "UniteSquare", "Upload", "UploadSimple", "Usb", "User", "UserCheck", "UserCircle", "UserCircleCheck", "UserCircleDashed", "UserCircleGear", "UserCircleMinus", "UserCirclePlus", "UserFocus", "UserGear", "UserList", "UserMinus", "UserPlus", "UserRectangle", "UserSound", "UserSquare", "UserSwitch", "Users", "UsersFour", "UsersThree", "Van", "Vault", "VectorThree", "VectorTwo", "Vibrate", "Video", "VideoCamera", "VideoCameraSlash", "VideoConference", "Vignette", "VinylRecord", "VirtualReality", "Virus", "Visor", "Voicemail", "Volleyball", "Wall", "Wallet", "Warehouse", "Warning", "WarningCircle", "WarningDiamond", "WarningOctagon", "WashingMachine", "Watch", "WaveSawtooth", "WaveSine", "WaveSquare", "WaveTriangle", "Waveform", "WaveformSlash", "Waves", "Webcam", "WebcamSlash", "WebhooksLogo", "WechatLogo", "WhatsappLogo", "Wheelchair", "WheelchairMotion", "WifiHigh", "WifiLow", "WifiMedium", "WifiNone", "WifiSlash", "WifiX", "Wind", "Windmill", "WindowsLogo", "Wine", "Wrench", "X", "XCircle", "XLogo", "XSquare", "Yarn", "YinYang", "YoutubeLogo"], rt = "_buttons_1gn8m_1", at = "_button_1gn8m_1", it = {
39
- buttons: rt,
40
- button: at
41
- }, lt = () => /* @__PURE__ */ e.jsxs("div", { className: it.buttons, children: [
38
+ ], Ee = "https://g-api.billgang.com", it = "https://www.googleapis.com/webfonts/v1/webfonts", le = [
39
+ "home",
40
+ "reviews",
41
+ "faqs",
42
+ "contact",
43
+ "product",
44
+ "ticket",
45
+ "login"
46
+ ], be = {
47
+ home: {
48
+ path: "/",
49
+ name: "home",
50
+ icon: "HouseSimple",
51
+ seo: {
52
+ description: "",
53
+ title: ""
54
+ },
55
+ visibility: "public"
56
+ },
57
+ product: {
58
+ path: "/product",
59
+ name: "product",
60
+ icon: "SquaresFour",
61
+ seo: {
62
+ description: "",
63
+ title: ""
64
+ },
65
+ visibility: "public"
66
+ },
67
+ faqs: {
68
+ path: "/faqs",
69
+ name: "faqs",
70
+ icon: "SealQuestion",
71
+ seo: {
72
+ description: "",
73
+ title: ""
74
+ },
75
+ visibility: "public"
76
+ },
77
+ reviews: {
78
+ path: "/reviews",
79
+ name: "reviews",
80
+ icon: "Star",
81
+ seo: {
82
+ description: "",
83
+ title: ""
84
+ },
85
+ visibility: "public"
86
+ },
87
+ contact: {
88
+ path: "/contact",
89
+ name: "contact",
90
+ icon: "ChatCentered",
91
+ seo: {
92
+ description: "",
93
+ title: ""
94
+ },
95
+ visibility: "public"
96
+ },
97
+ ticket: {
98
+ path: "/ticket",
99
+ name: "ticket",
100
+ icon: "Ticket",
101
+ seo: {
102
+ description: "",
103
+ title: ""
104
+ },
105
+ visibility: "public"
106
+ },
107
+ login: {
108
+ path: "/login",
109
+ name: "login",
110
+ icon: "UserCircleGear",
111
+ seo: {
112
+ description: "",
113
+ title: ""
114
+ },
115
+ visibility: "public"
116
+ }
117
+ }, Cr = ["Acorn", "Activity", "AddressBook", "AddressBookTabs", "AirTrafficControl", "Airplane", "AirplaneInFlight", "AirplaneLanding", "AirplaneTakeoff", "AirplaneTaxiing", "AirplaneTilt", "Airplay", "Alarm", "Alien", "AlignBottom", "AlignBottomSimple", "AlignCenterHorizontal", "AlignCenterHorizontalSimple", "AlignCenterVertical", "AlignCenterVerticalSimple", "AlignLeft", "AlignLeftSimple", "AlignRight", "AlignRightSimple", "AlignTop", "AlignTopSimple", "AmazonLogo", "Ambulance", "Anchor", "AnchorSimple", "AndroidLogo", "Angle", "AngularLogo", "Aperture", "AppStoreLogo", "AppWindow", "AppleLogo", "ApplePodcastsLogo", "ApproximateEquals", "Archive", "ArchiveBox", "ArchiveTray", "Armchair", "ArrowArcLeft", "ArrowArcRight", "ArrowBendDoubleUpLeft", "ArrowBendDoubleUpRight", "ArrowBendDownLeft", "ArrowBendDownRight", "ArrowBendLeftDown", "ArrowBendLeftUp", "ArrowBendRightDown", "ArrowBendRightUp", "ArrowBendUpLeft", "ArrowBendUpRight", "ArrowCircleDown", "ArrowCircleDownLeft", "ArrowCircleDownRight", "ArrowCircleLeft", "ArrowCircleRight", "ArrowCircleUp", "ArrowCircleUpLeft", "ArrowCircleUpRight", "ArrowClockwise", "ArrowCounterClockwise", "ArrowDown", "ArrowDownLeft", "ArrowDownRight", "ArrowElbowDownLeft", "ArrowElbowDownRight", "ArrowElbowLeft", "ArrowElbowLeftDown", "ArrowElbowLeftUp", "ArrowElbowRight", "ArrowElbowRightDown", "ArrowElbowRightUp", "ArrowElbowUpLeft", "ArrowElbowUpRight", "ArrowFatDown", "ArrowFatLeft", "ArrowFatLineDown", "ArrowFatLineLeft", "ArrowFatLineRight", "ArrowFatLineUp", "ArrowFatLinesDown", "ArrowFatLinesLeft", "ArrowFatLinesRight", "ArrowFatLinesUp", "ArrowFatRight", "ArrowFatUp", "ArrowLeft", "ArrowLineDown", "ArrowLineDownLeft", "ArrowLineDownRight", "ArrowLineLeft", "ArrowLineRight", "ArrowLineUp", "ArrowLineUpLeft", "ArrowLineUpRight", "ArrowRight", "ArrowSquareDown", "ArrowSquareDownLeft", "ArrowSquareDownRight", "ArrowSquareIn", "ArrowSquareLeft", "ArrowSquareOut", "ArrowSquareRight", "ArrowSquareUp", "ArrowSquareUpLeft", "ArrowSquareUpRight", "ArrowUDownLeft", "ArrowUDownRight", "ArrowULeftDown", "ArrowULeftUp", "ArrowURightDown", "ArrowURightUp", "ArrowUUpLeft", "ArrowUUpRight", "ArrowUp", "ArrowUpLeft", "ArrowUpRight", "ArrowsClockwise", "ArrowsCounterClockwise", "ArrowsDownUp", "ArrowsHorizontal", "ArrowsIn", "ArrowsInCardinal", "ArrowsInLineHorizontal", "ArrowsInLineVertical", "ArrowsInSimple", "ArrowsLeftRight", "ArrowsMerge", "ArrowsOut", "ArrowsOutCardinal", "ArrowsOutLineHorizontal", "ArrowsOutLineVertical", "ArrowsOutSimple", "ArrowsSplit", "ArrowsVertical", "Article", "ArticleMedium", "ArticleNyTimes", "Asclepius", "Asterisk", "AsteriskSimple", "At", "Atom", "Avocado", "Axe", "Baby", "BabyCarriage", "Backpack", "Backspace", "Bag", "BagSimple", "Balloon", "Bandaids", "Bank", "Barbell", "Barcode", "Barn", "Barricade", "Baseball", "BaseballCap", "BaseballHelmet", "Basket", "Basketball", "Bathtub", "BatteryCharging", "BatteryChargingVertical", "BatteryEmpty", "BatteryFull", "BatteryHigh", "BatteryLow", "BatteryMedium", "BatteryPlus", "BatteryPlusVertical", "BatteryVerticalEmpty", "BatteryVerticalFull", "BatteryVerticalHigh", "BatteryVerticalLow", "BatteryVerticalMedium", "BatteryWarning", "BatteryWarningVertical", "BeachBall", "Beanie", "Bed", "BeerBottle", "BeerStein", "BehanceLogo", "Bell", "BellRinging", "BellSimple", "BellSimpleRinging", "BellSimpleSlash", "BellSimpleZ", "BellSlash", "BellZ", "Belt", "BezierCurve", "Bicycle", "Binary", "Binoculars", "Biohazard", "Bird", "Blueprint", "Bluetooth", "BluetoothConnected", "BluetoothSlash", "BluetoothX", "Boat", "Bomb", "Bone", "Book", "BookBookmark", "BookOpen", "BookOpenText", "BookOpenUser", "Bookmark", "BookmarkSimple", "Bookmarks", "BookmarksSimple", "Books", "Boot", "Boules", "BoundingBox", "BowlFood", "BowlSteam", "BowlingBall", "BoxArrowDown", "BoxArrowUp", "BoxingGlove", "BracketsAngle", "BracketsCurly", "BracketsRound", "BracketsSquare", "Brain", "Brandy", "Bread", "Bridge", "Briefcase", "BriefcaseMetal", "Broadcast", "Broom", "Browser", "Browsers", "Bug", "BugBeetle", "BugDroid", "Building", "BuildingApartment", "BuildingOffice", "Buildings", "Bulldozer", "Bus", "Butterfly", "CableCar", "Cactus", "Caduceus", "Cake", "Calculator", "Calendar", "CalendarBlank", "CalendarCheck", "CalendarDot", "CalendarDots", "CalendarHeart", "CalendarMinus", "CalendarPlus", "CalendarSlash", "CalendarStar", "CalendarX", "CallBell", "Camera", "CameraPlus", "CameraRotate", "CameraSlash", "Campfire", "Car", "CarBattery", "CarProfile", "CarSimple", "Cardholder", "Cards", "CardsThree", "CaretCircleDoubleDown", "CaretCircleDoubleLeft", "CaretCircleDoubleRight", "CaretCircleDoubleUp", "CaretCircleDown", "CaretCircleLeft", "CaretCircleRight", "CaretCircleUp", "CaretCircleUpDown", "CaretDoubleDown", "CaretDoubleLeft", "CaretDoubleRight", "CaretDoubleUp", "CaretDown", "CaretLeft", "CaretLineDown", "CaretLineLeft", "CaretLineRight", "CaretLineUp", "CaretRight", "CaretUp", "CaretUpDown", "Carrot", "CashRegister", "CassetteTape", "CastleTurret", "Cat", "CellSignalFull", "CellSignalHigh", "CellSignalLow", "CellSignalMedium", "CellSignalNone", "CellSignalSlash", "CellSignalX", "CellTower", "Certificate", "Chair", "Chalkboard", "ChalkboardSimple", "ChalkboardTeacher", "Champagne", "ChargingStation", "ChartBar", "ChartBarHorizontal", "ChartDonut", "ChartLine", "ChartLineDown", "ChartLineUp", "ChartPie", "ChartPieSlice", "ChartPolar", "ChartScatter", "Chat", "ChatCentered", "ChatCenteredDots", "ChatCenteredSlash", "ChatCenteredText", "ChatCircle", "ChatCircleDots", "ChatCircleSlash", "ChatCircleText", "ChatDots", "ChatSlash", "ChatTeardrop", "ChatTeardropDots", "ChatTeardropSlash", "ChatTeardropText", "ChatText", "Chats", "ChatsCircle", "ChatsTeardrop", "Check", "CheckCircle", "CheckFat", "CheckSquare", "CheckSquareOffset", "Checkerboard", "Checks", "Cheers", "Cheese", "ChefHat", "Cherries", "Church", "Cigarette", "CigaretteSlash", "Circle", "CircleDashed", "CircleHalf", "CircleHalfTilt", "CircleNotch", "CircleWavy", "CircleWavyCheck", "CircleWavyQuestion", "CircleWavyWarning", "CirclesFour", "CirclesThree", "CirclesThreePlus", "Circuitry", "City", "Clipboard", "ClipboardText", "Clock", "ClockAfternoon", "ClockClockwise", "ClockCountdown", "ClockCounterClockwise", "ClockUser", "ClosedCaptioning", "Cloud", "CloudArrowDown", "CloudArrowUp", "CloudCheck", "CloudFog", "CloudLightning", "CloudMoon", "CloudRain", "CloudSlash", "CloudSnow", "CloudSun", "CloudWarning", "CloudX", "Clover", "Club", "CoatHanger", "CodaLogo", "Code", "CodeBlock", "CodeSimple", "CodepenLogo", "CodesandboxLogo", "Coffee", "CoffeeBean", "Coin", "CoinVertical", "Coins", "Columns", "ColumnsPlusLeft", "ColumnsPlusRight", "Command", "Compass", "CompassRose", "CompassTool", "ComputerTower", "Confetti", "ContactlessPayment", "Control", "Cookie", "CookingPot", "Copy", "CopySimple", "Copyleft", "Copyright", "CornersIn", "CornersOut", "Couch", "CourtBasketball", "Cow", "CowboyHat", "Cpu", "Crane", "CraneTower", "CreditCard", "Cricket", "Crop", "Cross", "Crosshair", "CrosshairSimple", "Crown", "CrownCross", "CrownSimple", "Cube", "CubeFocus", "CubeTransparent", "CurrencyBtc", "CurrencyCircleDollar", "CurrencyCny", "CurrencyDollar", "CurrencyDollarSimple", "CurrencyEth", "CurrencyEur", "CurrencyGbp", "CurrencyInr", "CurrencyJpy", "CurrencyKrw", "CurrencyKzt", "CurrencyNgn", "CurrencyRub", "Cursor", "CursorClick", "CursorText", "Cylinder", "Database", "Desk", "Desktop", "DesktopTower", "Detective", "DevToLogo", "DeviceMobile", "DeviceMobileCamera", "DeviceMobileSlash", "DeviceMobileSpeaker", "DeviceRotate", "DeviceTablet", "DeviceTabletCamera", "DeviceTabletSpeaker", "Devices", "Diamond", "DiamondsFour", "DiceFive", "DiceFour", "DiceOne", "DiceSix", "DiceThree", "DiceTwo", "Disc", "DiscoBall", "DiscordLogo", "Divide", "Dna", "Dog", "Door", "DoorOpen", "Dot", "DotOutline", "DotsNine", "DotsSix", "DotsSixVertical", "DotsThree", "DotsThreeCircle", "DotsThreeCircleVertical", "DotsThreeOutline", "DotsThreeOutlineVertical", "DotsThreeVertical", "Download", "DownloadSimple", "Dress", "Dresser", "DribbbleLogo", "Drone", "Drop", "DropHalf", "DropHalfBottom", "DropSimple", "DropSlash", "DropboxLogo", "Ear", "EarSlash", "Egg", "EggCrack", "Eject", "EjectSimple", "Elevator", "Empty", "Engine", "Envelope", "EnvelopeOpen", "EnvelopeSimple", "EnvelopeSimpleOpen", "Equalizer", "Equals", "Eraser", "EscalatorDown", "EscalatorUp", "Exam", "ExclamationMark", "Exclude", "ExcludeSquare", "Export", "Eye", "EyeClosed", "EyeSlash", "Eyedropper", "EyedropperSample", "Eyeglasses", "Eyes", "FaceMask", "FacebookLogo", "Factory", "Faders", "FadersHorizontal", "FalloutShelter", "Fan", "Farm", "FastForward", "FastForwardCircle", "Feather", "FediverseLogo", "FigmaLogo", "File", "FileArchive", "FileArrowDown", "FileArrowUp", "FileAudio", "FileC", "FileCSharp", "FileCloud", "FileCode", "FileCpp", "FileCss", "FileCsv", "FileDashed", "FileDoc", "FileDotted", "FileHtml", "FileImage", "FileIni", "FileJpg", "FileJs", "FileJsx", "FileLock", "FileMagnifyingGlass", "FileMd", "FileMinus", "FilePdf", "FilePlus", "FilePng", "FilePpt", "FilePy", "FileRs", "FileSearch", "FileSql", "FileSvg", "FileText", "FileTs", "FileTsx", "FileTxt", "FileVideo", "FileVue", "FileX", "FileXls", "FileZip", "Files", "FilmReel", "FilmScript", "FilmSlate", "FilmStrip", "Fingerprint", "FingerprintSimple", "FinnTheHuman", "Fire", "FireExtinguisher", "FireSimple", "FireTruck", "FirstAid", "FirstAidKit", "Fish", "FishSimple", "Flag", "FlagBanner", "FlagBannerFold", "FlagCheckered", "FlagPennant", "Flame", "Flashlight", "Flask", "FlipHorizontal", "FlipVertical", "FloppyDisk", "FloppyDiskBack", "FlowArrow", "Flower", "FlowerLotus", "FlowerTulip", "FlyingSaucer", "Folder", "FolderDashed", "FolderDotted", "FolderLock", "FolderMinus", "FolderNotch", "FolderNotchMinus", "FolderNotchOpen", "FolderNotchPlus", "FolderOpen", "FolderPlus", "FolderSimple", "FolderSimpleDashed", "FolderSimpleDotted", "FolderSimpleLock", "FolderSimpleMinus", "FolderSimplePlus", "FolderSimpleStar", "FolderSimpleUser", "FolderStar", "FolderUser", "Folders", "Football", "FootballHelmet", "Footprints", "ForkKnife", "FourK", "FrameCorners", "FramerLogo", "Function", "Funnel", "FunnelSimple", "FunnelSimpleX", "FunnelX", "GameController", "Garage", "GasCan", "GasPump", "Gauge", "Gavel", "Gear", "GearFine", "GearSix", "GenderFemale", "GenderIntersex", "GenderMale", "GenderNeuter", "GenderNonbinary", "GenderTransgender", "Ghost", "Gif", "Gift", "GitBranch", "GitCommit", "GitDiff", "GitFork", "GitMerge", "GitPullRequest", "GithubLogo", "GitlabLogo", "GitlabLogoSimple", "Globe", "GlobeHemisphereEast", "GlobeHemisphereWest", "GlobeSimple", "GlobeSimpleX", "GlobeStand", "GlobeX", "Goggles", "Golf", "GoodreadsLogo", "GoogleCardboardLogo", "GoogleChromeLogo", "GoogleDriveLogo", "GoogleLogo", "GooglePhotosLogo", "GooglePlayLogo", "GooglePodcastsLogo", "Gps", "GpsFix", "GpsSlash", "Gradient", "GraduationCap", "Grains", "GrainsSlash", "Graph", "GraphicsCard", "GreaterThan", "GreaterThanOrEqual", "GridFour", "GridNine", "Guitar", "HairDryer", "Hamburger", "Hammer", "Hand", "HandArrowDown", "HandArrowUp", "HandCoins", "HandDeposit", "HandEye", "HandFist", "HandGrabbing", "HandHeart", "HandPalm", "HandPeace", "HandPointing", "HandSoap", "HandSwipeLeft", "HandSwipeRight", "HandTap", "HandWaving", "HandWithdraw", "Handbag", "HandbagSimple", "HandsClapping", "HandsPraying", "Handshake", "HardDrive", "HardDrives", "HardHat", "Hash", "HashStraight", "HeadCircuit", "Headlights", "Headphones", "Headset", "Heart", "HeartBreak", "HeartHalf", "HeartStraight", "HeartStraightBreak", "Heartbeat", "Hexagon", "HighDefinition", "HighHeel", "Highlighter", "HighlighterCircle", "Hockey", "Hoodie", "Horse", "Hospital", "Hourglass", "HourglassHigh", "HourglassLow", "HourglassMedium", "HourglassSimple", "HourglassSimpleHigh", "HourglassSimpleLow", "HourglassSimpleMedium", "House", "HouseLine", "HouseSimple", "Hurricane", "IceCream", "IconBase", "IconContext", "IdentificationBadge", "IdentificationCard", "Image", "ImageBroken", "ImageSquare", "Images", "ImagesSquare", "Infinity", "Info", "InstagramLogo", "Intersect", "IntersectSquare", "IntersectThree", "Intersection", "Invoice", "Island", "Jar", "JarLabel", "Jeep", "Joystick", "Kanban", "Key", "KeyReturn", "Keyboard", "Keyhole", "Knife", "Ladder", "LadderSimple", "Lamp", "LampPendant", "Laptop", "Lasso", "LastfmLogo", "Layout", "Leaf", "Lectern", "Lego", "LegoSmiley", "Lemniscate", "LessThan", "LessThanOrEqual", "LetterCircleH", "LetterCircleP", "LetterCircleV", "Lifebuoy", "Lightbulb", "LightbulbFilament", "Lighthouse", "Lightning", "LightningA", "LightningSlash", "LineSegment", "LineSegments", "LineVertical", "Link", "LinkBreak", "LinkSimple", "LinkSimpleBreak", "LinkSimpleHorizontal", "LinkSimpleHorizontalBreak", "LinkedinLogo", "LinktreeLogo", "LinuxLogo", "List", "ListBullets", "ListChecks", "ListDashes", "ListHeart", "ListMagnifyingGlass", "ListNumbers", "ListPlus", "ListStar", "Lock", "LockKey", "LockKeyOpen", "LockLaminated", "LockLaminatedOpen", "LockOpen", "LockSimple", "LockSimpleOpen", "Lockers", "Log", "MagicWand", "Magnet", "MagnetStraight", "MagnifyingGlass", "MagnifyingGlassMinus", "MagnifyingGlassPlus", "Mailbox", "MapPin", "MapPinArea", "MapPinLine", "MapPinPlus", "MapPinSimple", "MapPinSimpleArea", "MapPinSimpleLine", "MapTrifold", "MarkdownLogo", "MarkerCircle", "Martini", "MaskHappy", "MaskSad", "MastodonLogo", "MathOperations", "MatrixLogo", "Medal", "MedalMilitary", "MediumLogo", "Megaphone", "MegaphoneSimple", "MemberOf", "Memory", "MessengerLogo", "MetaLogo", "Meteor", "Metronome", "Microphone", "MicrophoneSlash", "MicrophoneStage", "Microscope", "MicrosoftExcelLogo", "MicrosoftOutlookLogo", "MicrosoftPowerpointLogo", "MicrosoftTeamsLogo", "MicrosoftWordLogo", "Minus", "MinusCircle", "MinusSquare", "Money", "MoneyWavy", "Monitor", "MonitorArrowUp", "MonitorPlay", "Moon", "MoonStars", "Moped", "MopedFront", "Mosque", "Motorcycle", "Mountains", "Mouse", "MouseLeftClick", "MouseMiddleClick", "MouseRightClick", "MouseScroll", "MouseSimple", "MusicNote", "MusicNoteSimple", "MusicNotes", "MusicNotesMinus", "MusicNotesPlus", "MusicNotesSimple", "NavigationArrow", "Needle", "Network", "NetworkSlash", "NetworkX", "Newspaper", "NewspaperClipping", "NotEquals", "NotMemberOf", "NotSubsetOf", "NotSupersetOf", "Notches", "Note", "NoteBlank", "NotePencil", "Notebook", "Notepad", "Notification", "NotionLogo", "NuclearPlant", "NumberCircleEight", "NumberCircleFive", "NumberCircleFour", "NumberCircleNine", "NumberCircleOne", "NumberCircleSeven", "NumberCircleSix", "NumberCircleThree", "NumberCircleTwo", "NumberCircleZero", "NumberEight", "NumberFive", "NumberFour", "NumberNine", "NumberOne", "NumberSeven", "NumberSix", "NumberSquareEight", "NumberSquareFive", "NumberSquareFour", "NumberSquareNine", "NumberSquareOne", "NumberSquareSeven", "NumberSquareSix", "NumberSquareThree", "NumberSquareTwo", "NumberSquareZero", "NumberThree", "NumberTwo", "NumberZero", "Numpad", "Nut", "NyTimesLogo", "Octagon", "OfficeChair", "Onigiri", "OpenAiLogo", "Option", "Orange", "OrangeSlice", "Oven", "Package", "PaintBrush", "PaintBrushBroad", "PaintBrushHousehold", "PaintBucket", "PaintRoller", "Palette", "Panorama", "Pants", "PaperPlane", "PaperPlaneRight", "PaperPlaneTilt", "Paperclip", "PaperclipHorizontal", "Parachute", "Paragraph", "Parallelogram", "Park", "Password", "Path", "PatreonLogo", "Pause", "PauseCircle", "PawPrint", "PaypalLogo", "Peace", "Pen", "PenNib", "PenNibStraight", "Pencil", "PencilCircle", "PencilLine", "PencilRuler", "PencilSimple", "PencilSimpleLine", "PencilSimpleSlash", "PencilSlash", "Pentagon", "Pentagram", "Pepper", "Percent", "Person", "PersonArmsSpread", "PersonSimple", "PersonSimpleBike", "PersonSimpleCircle", "PersonSimpleHike", "PersonSimpleRun", "PersonSimpleSki", "PersonSimpleSnowboard", "PersonSimpleSwim", "PersonSimpleTaiChi", "PersonSimpleThrow", "PersonSimpleWalk", "Perspective", "Phone", "PhoneCall", "PhoneDisconnect", "PhoneIncoming", "PhoneList", "PhoneOutgoing", "PhonePause", "PhonePlus", "PhoneSlash", "PhoneTransfer", "PhoneX", "PhosphorLogo", "Pi", "PianoKeys", "PicnicTable", "PictureInPicture", "PiggyBank", "Pill", "PingPong", "PintGlass", "PinterestLogo", "Pinwheel", "Pipe", "PipeWrench", "PixLogo", "Pizza", "Placeholder", "Planet", "Plant", "Play", "PlayCircle", "PlayPause", "Playlist", "Plug", "PlugCharging", "Plugs", "PlugsConnected", "Plus", "PlusCircle", "PlusMinus", "PlusSquare", "PokerChip", "PoliceCar", "Polygon", "Popcorn", "Popsicle", "PottedPlant", "Power", "Prescription", "Presentation", "PresentationChart", "Printer", "Prohibit", "ProhibitInset", "ProjectorScreen", "ProjectorScreenChart", "Pulse", "PushPin", "PushPinSimple", "PushPinSimpleSlash", "PushPinSlash", "PuzzlePiece", "QrCode", "Question", "QuestionMark", "Queue", "Quotes", "Rabbit", "Racquet", "Radical", "Radio", "RadioButton", "Radioactive", "Rainbow", "RainbowCloud", "Ranking", "ReadCvLogo", "Receipt", "ReceiptX", "Record", "Rectangle", "RectangleDashed", "Recycle", "RedditLogo", "Repeat", "RepeatOnce", "ReplitLogo", "Resize", "Rewind", "RewindCircle", "RoadHorizon", "Robot", "Rocket", "RocketLaunch", "Rows", "RowsPlusBottom", "RowsPlusTop", "Rss", "RssSimple", "Rug", "Ruler", "SSR", "Sailboat", "Scales", "Scan", "ScanSmiley", "Scissors", "Scooter", "Screencast", "Screwdriver", "Scribble", "ScribbleLoop", "Scroll", "Seal", "SealCheck", "SealPercent", "SealQuestion", "SealWarning", "Seat", "Seatbelt", "SecurityCamera", "Selection", "SelectionAll", "SelectionBackground", "SelectionForeground", "SelectionInverse", "SelectionPlus", "SelectionSlash", "Shapes", "Share", "ShareFat", "ShareNetwork", "Shield", "ShieldCheck", "ShieldCheckered", "ShieldChevron", "ShieldPlus", "ShieldSlash", "ShieldStar", "ShieldWarning", "ShippingContainer", "ShirtFolded", "ShootingStar", "ShoppingBag", "ShoppingBagOpen", "ShoppingCart", "ShoppingCartSimple", "Shovel", "Shower", "Shrimp", "Shuffle", "ShuffleAngular", "ShuffleSimple", "Sidebar", "SidebarSimple", "Sigma", "SignIn", "SignOut", "Signature", "Signpost", "SimCard", "Siren", "SketchLogo", "SkipBack", "SkipBackCircle", "SkipForward", "SkipForwardCircle", "Skull", "SkypeLogo", "SlackLogo", "Sliders", "SlidersHorizontal", "Slideshow", "Smiley", "SmileyAngry", "SmileyBlank", "SmileyMeh", "SmileyMelting", "SmileyNervous", "SmileySad", "SmileySticker", "SmileyWink", "SmileyXEyes", "SnapchatLogo", "Sneaker", "SneakerMove", "Snowflake", "SoccerBall", "Sock", "SolarPanel", "SolarRoof", "SortAscending", "SortDescending", "SoundcloudLogo", "Spade", "Sparkle", "SpeakerHifi", "SpeakerHigh", "SpeakerLow", "SpeakerNone", "SpeakerSimpleHigh", "SpeakerSimpleLow", "SpeakerSimpleNone", "SpeakerSimpleSlash", "SpeakerSimpleX", "SpeakerSlash", "SpeakerX", "Speedometer", "Sphere", "Spinner", "SpinnerBall", "SpinnerGap", "Spiral", "SplitHorizontal", "SplitVertical", "SpotifyLogo", "SprayBottle", "Square", "SquareHalf", "SquareHalfBottom", "SquareLogo", "SquareSplitHorizontal", "SquareSplitVertical", "SquaresFour", "Stack", "StackMinus", "StackOverflowLogo", "StackPlus", "StackSimple", "Stairs", "Stamp", "StandardDefinition", "Star", "StarAndCrescent", "StarFour", "StarHalf", "StarOfDavid", "SteamLogo", "SteeringWheel", "Steps", "Stethoscope", "Sticker", "Stool", "Stop", "StopCircle", "Storefront", "Strategy", "StripeLogo", "Student", "SubsetOf", "SubsetProperOf", "Subtitles", "SubtitlesSlash", "Subtract", "SubtractSquare", "Subway", "Suitcase", "SuitcaseRolling", "SuitcaseSimple", "Sun", "SunDim", "SunHorizon", "Sunglasses", "SupersetOf", "SupersetProperOf", "Swap", "Swatches", "SwimmingPool", "Sword", "Synagogue", "Syringe", "TShirt", "Table", "Tabs", "Tag", "TagChevron", "TagSimple", "Target", "Taxi", "TeaBag", "TelegramLogo", "Television", "TelevisionSimple", "TennisBall", "Tent", "Terminal", "TerminalWindow", "TestTube", "TextAUnderline", "TextAa", "TextAlignCenter", "TextAlignJustify", "TextAlignLeft", "TextAlignRight", "TextB", "TextBolder", "TextColumns", "TextH", "TextHFive", "TextHFour", "TextHOne", "TextHSix", "TextHThree", "TextHTwo", "TextIndent", "TextItalic", "TextOutdent", "TextStrikethrough", "TextSubscript", "TextSuperscript", "TextT", "TextTSlash", "TextUnderline", "Textbox", "Thermometer", "ThermometerCold", "ThermometerHot", "ThermometerSimple", "ThreadsLogo", "ThreeD", "ThumbsDown", "ThumbsUp", "Ticket", "TidalLogo", "TiktokLogo", "Tilde", "Timer", "TipJar", "Tipi", "Tire", "ToggleLeft", "ToggleRight", "Toilet", "ToiletPaper", "Toolbox", "Tooth", "Tornado", "Tote", "ToteSimple", "Towel", "Tractor", "Trademark", "TrademarkRegistered", "TrafficCone", "TrafficSign", "TrafficSignal", "Train", "TrainRegional", "TrainSimple", "Tram", "Translate", "Trash", "TrashSimple", "Tray", "TrayArrowDown", "TrayArrowUp", "TreasureChest", "Tree", "TreeEvergreen", "TreePalm", "TreeStructure", "TreeView", "TrendDown", "TrendUp", "Triangle", "TriangleDashed", "Trolley", "TrolleySuitcase", "Trophy", "Truck", "TruckTrailer", "TumblrLogo", "TwitchLogo", "TwitterLogo", "Umbrella", "UmbrellaSimple", "Union", "Unite", "UniteSquare", "Upload", "UploadSimple", "Usb", "User", "UserCheck", "UserCircle", "UserCircleCheck", "UserCircleDashed", "UserCircleGear", "UserCircleMinus", "UserCirclePlus", "UserFocus", "UserGear", "UserList", "UserMinus", "UserPlus", "UserRectangle", "UserSound", "UserSquare", "UserSwitch", "Users", "UsersFour", "UsersThree", "Van", "Vault", "VectorThree", "VectorTwo", "Vibrate", "Video", "VideoCamera", "VideoCameraSlash", "VideoConference", "Vignette", "VinylRecord", "VirtualReality", "Virus", "Visor", "Voicemail", "Volleyball", "Wall", "Wallet", "Warehouse", "Warning", "WarningCircle", "WarningDiamond", "WarningOctagon", "WashingMachine", "Watch", "WaveSawtooth", "WaveSine", "WaveSquare", "WaveTriangle", "Waveform", "WaveformSlash", "Waves", "Webcam", "WebcamSlash", "WebhooksLogo", "WechatLogo", "WhatsappLogo", "Wheelchair", "WheelchairMotion", "WifiHigh", "WifiLow", "WifiMedium", "WifiNone", "WifiSlash", "WifiX", "Wind", "Windmill", "WindowsLogo", "Wine", "Wrench", "X", "XCircle", "XLogo", "XSquare", "Yarn", "YinYang", "YoutubeLogo"], lt = "_buttons_1gn8m_1", ct = "_button_1gn8m_1", dt = {
118
+ buttons: lt,
119
+ button: ct
120
+ }, ut = () => /* @__PURE__ */ e.jsxs("div", { className: dt.buttons, children: [
42
121
  /* @__PURE__ */ e.jsx(
43
- p,
122
+ m,
44
123
  {
45
124
  name: "ArrowUUpLeft",
46
125
  hoverable: !0,
@@ -49,7 +128,7 @@ const tt = [
49
128
  }
50
129
  ),
51
130
  /* @__PURE__ */ e.jsx(
52
- p,
131
+ m,
53
132
  {
54
133
  name: "ArrowUUpRight",
55
134
  hoverable: !0,
@@ -57,21 +136,21 @@ const tt = [
57
136
  height: 20
58
137
  }
59
138
  )
60
- ] }), ct = "_devices_hxl12_1", dt = "_device_hxl12_1", ut = "_active_hxl12_23", xe = {
61
- devices: ct,
62
- device: dt,
63
- active: ut
64
- }, ht = () => {
65
- const { currentDevice: t, setCurrentDevice: o } = Ie();
66
- return /* @__PURE__ */ e.jsx("div", { className: xe.devices, children: tt.map((n) => /* @__PURE__ */ e.jsx(
139
+ ] }), ht = "_devices_hxl12_1", pt = "_device_hxl12_1", gt = "_active_hxl12_23", xe = {
140
+ devices: ht,
141
+ device: pt,
142
+ active: gt
143
+ }, mt = () => {
144
+ const { currentDevice: t, setCurrentDevice: o } = ze();
145
+ return /* @__PURE__ */ e.jsx("div", { className: xe.devices, children: rt.map((n) => /* @__PURE__ */ e.jsx(
67
146
  "div",
68
147
  {
69
- className: v(xe.device, {
148
+ className: B(xe.device, {
70
149
  [xe.active]: t === n
71
150
  }),
72
151
  onClick: () => o(n),
73
152
  children: /* @__PURE__ */ e.jsx(
74
- p,
153
+ m,
75
154
  {
76
155
  name: n.icon,
77
156
  fill: t === n ? "#252525" : "#757575",
@@ -82,43 +161,43 @@ const tt = [
82
161
  },
83
162
  n.value
84
163
  )) });
85
- }, gt = "_header_wxpoz_1", pt = "_left_wxpoz_16", mt = "_right_wxpoz_17", ue = {
86
- header: gt,
87
- left: pt,
88
- right: mt
89
- }, Ct = "_preview_vijvm_2", St = "_active_vijvm_22", be = {
90
- preview: Ct,
91
- active: St
92
- }, _t = () => {
164
+ }, Ct = "_header_zvaam_1", St = "_left_zvaam_12", _t = "_right_zvaam_13", ue = {
165
+ header: Ct,
166
+ left: St,
167
+ right: _t
168
+ }, bt = "_preview_vijvm_2", xt = "_active_vijvm_22", fe = {
169
+ preview: bt,
170
+ active: xt
171
+ }, ft = () => {
93
172
  const { onPreview: t, setOnPreview: o } = Y();
94
173
  return /* @__PURE__ */ e.jsxs(
95
174
  "div",
96
175
  {
97
- className: v(be.preview, {
98
- [be.active]: t
176
+ className: B(fe.preview, {
177
+ [fe.active]: t
99
178
  }),
100
179
  onClick: () => o(!t),
101
180
  children: [
102
181
  /* @__PURE__ */ e.jsx(
103
- p,
182
+ m,
104
183
  {
105
184
  name: "ArrowUpRight",
106
185
  width: 20,
107
186
  height: 20
108
187
  }
109
188
  ),
110
- /* @__PURE__ */ e.jsx("span", { className: be.text, children: "Preview" })
189
+ /* @__PURE__ */ e.jsx("span", { className: fe.text, children: "Preview" })
111
190
  ]
112
191
  }
113
192
  );
114
- }, xt = "_settings_q79q3_1", bt = {
115
- settings: xt
116
- }, wt = "_language_1mbvp_1", ft = "_text_1mbvp_11", ye = {
117
- language: wt,
118
- text: ft
119
- }, kt = () => /* @__PURE__ */ e.jsxs("div", { className: ye.language, children: [
193
+ }, vt = "_settings_q79q3_1", wt = {
194
+ settings: vt
195
+ }, kt = "_language_1mbvp_1", jt = "_text_1mbvp_11", Le = {
196
+ language: kt,
197
+ text: jt
198
+ }, yt = () => /* @__PURE__ */ e.jsxs("div", { className: Le.language, children: [
120
199
  /* @__PURE__ */ e.jsx(
121
- p,
200
+ m,
122
201
  {
123
202
  name: "Globe",
124
203
  fill: "#252525",
@@ -126,25 +205,26 @@ const tt = [
126
205
  height: 20
127
206
  }
128
207
  ),
129
- /* @__PURE__ */ e.jsx("span", { className: ye.text, children: "Default" }),
208
+ /* @__PURE__ */ e.jsx("span", { className: Le.text, children: "Default" }),
130
209
  /* @__PURE__ */ e.jsx(
131
- p,
210
+ m,
132
211
  {
133
212
  name: "CaretDown",
134
213
  width: 20,
135
214
  height: 20
136
215
  }
137
216
  )
138
- ] }), vt = "_pages_x8pw2_1", jt = "_text_x8pw2_16", Bt = "_modal_x8pw2_22", yt = "_page_x8pw2_1", At = "_hoverable_x8pw2_45", Pt = "_separator_x8pw2_49", Lt = "_button_x8pw2_53", q = {
139
- pages: vt,
140
- default: "_default_x8pw2_5",
141
- text: jt,
142
- modal: Bt,
143
- page: yt,
144
- hoverable: At,
145
- separator: Pt,
146
- button: Lt
147
- }, E = (t) => t ? t.replace(/_/g, " ").split(" ").map((o) => o.charAt(0).toUpperCase() + o.slice(1)).join(" and ") : "", Tt = () => {
217
+ ] }), Bt = "_pages_sf7rl_1", At = "_text_sf7rl_16", Pt = "_modal_sf7rl_22", Lt = "_page_sf7rl_1", Tt = "_hoverable_sf7rl_45", Nt = "_separator_sf7rl_49", Ft = "_button_sf7rl_53", Dt = "_items_sf7rl_67", O = {
218
+ pages: Bt,
219
+ default: "_default_sf7rl_5",
220
+ text: At,
221
+ modal: Pt,
222
+ page: Lt,
223
+ hoverable: Tt,
224
+ separator: Nt,
225
+ button: Ft,
226
+ items: Dt
227
+ }, U = (t) => t ? t.replace(/_/g, " ").split(" ").map((o) => o.charAt(0).toUpperCase() + o.slice(1)).join(" and ") : "", Mt = () => {
148
228
  const {
149
229
  currentPage: t,
150
230
  setCurrentPage: o,
@@ -155,35 +235,35 @@ const tt = [
155
235
  deletePage: s,
156
236
  isOpenSelectModal: l,
157
237
  setIsOpenSelectModal: c
158
- } = P(), { deletePage: C } = B(), [m, S] = _.useState("");
159
- return _.useEffect(() => {
160
- const d = () => {
238
+ } = P(), { deletePage: p } = L(), [C, d] = v.useState("");
239
+ return v.useEffect(() => {
240
+ const h = () => {
161
241
  c(!1);
162
242
  };
163
- return document.body.addEventListener("click", d), () => {
164
- document.body.removeEventListener("click", d);
243
+ return document.body.addEventListener("click", h), () => {
244
+ document.body.removeEventListener("click", h);
165
245
  };
166
- }, []), /* @__PURE__ */ e.jsxs("div", { className: q.pages, children: [
246
+ }, []), /* @__PURE__ */ e.jsxs("div", { className: O.pages, children: [
167
247
  /* @__PURE__ */ e.jsxs(
168
248
  "div",
169
249
  {
170
- className: q.default,
171
- onClick: (d) => {
172
- d.stopPropagation(), c(!l);
250
+ className: O.default,
251
+ onClick: (h) => {
252
+ h.stopPropagation(), c(!l);
173
253
  },
174
254
  children: [
175
255
  /* @__PURE__ */ e.jsx(
176
- p,
256
+ m,
177
257
  {
178
- name: r[t].icon,
258
+ name: r && r[t].icon || "File",
179
259
  fill: "#252525",
180
260
  width: 20,
181
261
  height: 20
182
262
  }
183
263
  ),
184
- /* @__PURE__ */ e.jsx("span", { className: q.text, children: le.includes(r[t].name) ? `${E(r[t].name)} page` : r[t].name }),
264
+ /* @__PURE__ */ e.jsx("span", { className: O.text, children: r && le.includes(r[t].name) ? `${U(r[t].name)} page` : r && r[t].name }),
185
265
  /* @__PURE__ */ e.jsx(
186
- p,
266
+ m,
187
267
  {
188
268
  name: "CaretDown",
189
269
  width: 20,
@@ -196,55 +276,55 @@ const tt = [
196
276
  l && /* @__PURE__ */ e.jsxs(
197
277
  "div",
198
278
  {
199
- className: q.modal,
200
- onClick: (d) => d.stopPropagation(),
279
+ className: O.modal,
280
+ onClick: (h) => h.stopPropagation(),
201
281
  children: [
202
- Object.keys(r).map((d) => {
203
- const u = r[d];
282
+ r && /* @__PURE__ */ e.jsx("div", { className: O.items, children: Object.keys(r).map((h) => {
283
+ const u = r[h];
204
284
  return /* @__PURE__ */ e.jsxs(
205
285
  "div",
206
286
  {
207
- className: v(q.page, {
208
- [q.hoverable]: m === d
287
+ className: B(O.page, {
288
+ [O.hoverable]: C === h
209
289
  }),
210
- onMouseEnter: () => S(d),
211
- onMouseLeave: () => S(""),
290
+ onMouseEnter: () => d(h),
291
+ onMouseLeave: () => d(""),
212
292
  onClick: () => {
213
- S(""), i(!1), o(d), c(!1);
293
+ d(""), i(!1), o(h), c(!1);
214
294
  },
215
295
  children: [
216
296
  /* @__PURE__ */ e.jsx(
217
- p,
297
+ m,
218
298
  {
219
299
  name: u.icon,
220
300
  fill: "#252525"
221
301
  }
222
302
  ),
223
- /* @__PURE__ */ e.jsx("span", { className: q.text, children: le.includes(u.name) ? `${E(u.name)} page` : u.name }),
224
- m === d && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
303
+ /* @__PURE__ */ e.jsx("span", { className: O.text, children: le.includes(u.name) ? `${U(u.name)} page` : u.name }),
304
+ C === h && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
225
305
  /* @__PURE__ */ e.jsx(
226
- p,
306
+ m,
227
307
  {
228
308
  name: "Gear",
229
309
  fill: "#757575",
230
- onClick: (x) => {
231
- x.stopPropagation(), i(!0), a(d), n(!0);
310
+ onClick: (f) => {
311
+ f.stopPropagation(), i(!0), a(h), n(!0);
232
312
  }
233
313
  }
234
314
  ),
235
315
  !le.includes(u.name) && /* @__PURE__ */ e.jsx(
236
- p,
316
+ m,
237
317
  {
238
318
  name: "Trash",
239
319
  fill: "#C12A2A",
240
- onClick: (x) => {
241
- r[t].name === u.name && o("home"), x.stopPropagation(), s(d), C(u.name);
320
+ onClick: (f) => {
321
+ r[t].name === u.name && o("home"), f.stopPropagation(), s(h), p(u.name), We(u.path);
242
322
  }
243
323
  }
244
324
  )
245
325
  ] }),
246
326
  r[t].name === u.name && /* @__PURE__ */ e.jsx(
247
- p,
327
+ m,
248
328
  {
249
329
  name: "Check",
250
330
  fill: "#FF3F19"
@@ -252,21 +332,21 @@ const tt = [
252
332
  )
253
333
  ]
254
334
  },
255
- d
335
+ h
256
336
  );
257
- }),
258
- /* @__PURE__ */ e.jsx("div", { className: q.separator }),
337
+ }) }),
338
+ /* @__PURE__ */ e.jsx("div", { className: O.separator }),
259
339
  /* @__PURE__ */ e.jsxs(
260
340
  Q,
261
341
  {
262
- className: q.button,
263
- onClick: (d) => {
264
- d.stopPropagation(), n(!0);
342
+ className: O.button,
343
+ onClick: (h) => {
344
+ h.stopPropagation(), n(!0);
265
345
  },
266
346
  size: "l",
267
347
  children: [
268
348
  /* @__PURE__ */ e.jsx(
269
- p,
349
+ m,
270
350
  {
271
351
  name: "Plus",
272
352
  fill: "#ff3f19"
@@ -280,17 +360,17 @@ const tt = [
280
360
  }
281
361
  )
282
362
  ] });
283
- }, Nt = "_zoom_a77cn_1", Ft = {
284
- zoom: Nt
285
- }, Dt = () => {
286
- const [t, o] = _.useState(), n = () => {
363
+ }, $t = "_zoom_a77cn_1", Ht = {
364
+ zoom: $t
365
+ }, Rt = () => {
366
+ const [t, o] = v.useState(), n = () => {
287
367
  o(Number(Math.round(window.devicePixelRatio * 50).toFixed(0)));
288
368
  };
289
- return _.useEffect(() => (n(), window.addEventListener("resize", n), () => {
369
+ return v.useEffect(() => (n(), window.addEventListener("resize", n), () => {
290
370
  window.removeEventListener("resize", n);
291
- }), []), /* @__PURE__ */ e.jsxs("div", { className: Ft.zoom, children: [
371
+ }), []), /* @__PURE__ */ e.jsxs("div", { className: Ht.zoom, children: [
292
372
  /* @__PURE__ */ e.jsx(
293
- p,
373
+ m,
294
374
  {
295
375
  name: "MagnifyingGlassMinus",
296
376
  width: 20,
@@ -302,15 +382,15 @@ const tt = [
302
382
  " %"
303
383
  ] })
304
384
  ] });
305
- }, Mt = () => /* @__PURE__ */ e.jsxs("div", { className: bt.settings, children: [
306
- /* @__PURE__ */ e.jsx(kt, {}),
307
- /* @__PURE__ */ e.jsx(Tt, {}),
308
- /* @__PURE__ */ e.jsx(Dt, {})
309
- ] }), Ht = "_theme_3wxbf_1", $t = {
310
- theme: Ht
311
- }, Rt = () => /* @__PURE__ */ e.jsxs("div", { className: $t.theme, children: [
385
+ }, Et = () => /* @__PURE__ */ e.jsxs("div", { className: wt.settings, children: [
386
+ /* @__PURE__ */ e.jsx(yt, {}),
387
+ /* @__PURE__ */ e.jsx(Mt, {}),
388
+ /* @__PURE__ */ e.jsx(Rt, {})
389
+ ] }), Ut = "_theme_3wxbf_1", It = {
390
+ theme: Ut
391
+ }, Ot = () => /* @__PURE__ */ e.jsxs("div", { className: It.theme, children: [
312
392
  /* @__PURE__ */ e.jsx(
313
- p,
393
+ m,
314
394
  {
315
395
  name: "Check",
316
396
  width: 18,
@@ -318,107 +398,119 @@ const tt = [
318
398
  }
319
399
  ),
320
400
  /* @__PURE__ */ e.jsx("div", { children: "Current Theme" })
321
- ] }), Et = () => {
322
- const { themeSettings: t } = H(), { settings: o } = J(), [n, r] = _.useState(null), [i, a] = _.useState(!1), { pages: s } = P(), { blocks: l } = B();
323
- function c(u, x) {
324
- return x.map(
325
- (b) => Object.values(b.value.blockSettings).filter((j) => j.type === u).map((j) => j.value).flat()
326
- ).flat().map((b) => b.listingId);
401
+ ] }), Gt = () => {
402
+ const { themeSettings: t } = H(), { settings: o } = J(), { isOpenSelectModal: n } = P(), [r, i] = v.useState(null), [a, s] = v.useState(!1), { pages: l } = P(), { blocks: c } = L();
403
+ function p(f, S) {
404
+ return S.map(
405
+ (_) => Object.values(_.value.blockSettings).filter((A) => A.type === f).map((A) => A.value).flat()
406
+ ).flat().map((_) => _.listingId);
327
407
  }
328
- function C(u, x) {
329
- return c(u, x).some((b) => b);
408
+ function C(f, S) {
409
+ return p(f, S).some((_) => _);
330
410
  }
331
- function m(u, x) {
332
- const h = c(u, x);
333
- return Array.isArray(h) && h.length > 0 ? Math.max(...h) : 0;
411
+ function d(f, S) {
412
+ const b = p(f, S);
413
+ return Array.isArray(b) && b.length > 0 ? Math.max(...b) : 0;
334
414
  }
335
- function S(u) {
336
- const x = Object.keys(s).find((h) => s[h].name === u);
337
- return x ? s[x] : null;
415
+ function h(f) {
416
+ if (l) {
417
+ const S = Object.keys(l).find((b) => l[b].name === f);
418
+ if (S) return l[S];
419
+ }
420
+ return null;
338
421
  }
339
- const d = () => {
340
- if (i)
341
- n && clearTimeout(n);
422
+ const u = () => {
423
+ if (a)
424
+ r && clearTimeout(r);
342
425
  else {
343
- const x = Object.keys(l).map((h) => {
344
- const b = S(h);
426
+ const S = Object.keys(c).map((b) => {
427
+ const _ = h(b);
345
428
  return {
346
- name: b ? b.name : h,
347
- path: h === "home" ? "/" : (b == null ? void 0 : b.path) || h,
429
+ name: _ ? _.name : b,
430
+ path: b === "home" ? "/" : (_ == null ? void 0 : _.path) || b,
348
431
  layout: {
349
- ...l[h]
432
+ ...c[b]
350
433
  },
351
- neededProductIds: [...c("ProductId", Object.values(l[h]))],
352
- neededCategoryIds: [...c("CategoryId", Object.values(l[h]))],
353
- neededAnnouncementIds: [...c("AnnouncementId", Object.values(l[h]))],
354
- neededListingIds: [...c("listings", Object.values(l[h]))],
355
- neededFaqs: C("Faqs", Object.values(l[h])),
356
- neededReviewCount: m("ReviewCount", Object.values(l[h])),
434
+ neededProductIds: [...p("ProductId", Object.values(c[b]))],
435
+ neededCategoryIds: [...p("CategoryId", Object.values(c[b]))],
436
+ neededAnnouncementIds: [...p("AnnouncementId", Object.values(c[b]))],
437
+ neededListingIds: [...p("listings", Object.values(c[b]))],
438
+ neededFaqs: C("Faqs", Object.values(c[b])),
439
+ neededReviewCount: d("ReviewCount", Object.values(c[b])),
357
440
  seo: {
358
- pageTitle: b ? b.seo.title : "",
359
- pageDescription: b ? b.seo.description : ""
441
+ pageTitle: _ && _.seo ? _.seo.title : "",
442
+ pageDescription: _ && _.seo ? _.seo.description : ""
360
443
  }
361
444
  };
362
445
  });
363
- Ge("POST", "save", {
446
+ Ve("POST", "save", {
364
447
  themeSettings: t,
365
448
  settings: o,
366
- updatedPages: x
449
+ updatedPages: S
367
450
  });
368
451
  }
369
- a(!0);
370
- const u = setTimeout(() => {
371
- a(!1);
452
+ s(!0);
453
+ const f = setTimeout(() => {
454
+ s(!1);
372
455
  }, 2e3);
373
- r(u);
456
+ i(f);
374
457
  };
375
- return /* @__PURE__ */ e.jsxs("div", { className: ue.header, children: [
376
- /* @__PURE__ */ e.jsxs("div", { className: ue.left, children: [
377
- /* @__PURE__ */ e.jsx(ht, {}),
378
- /* @__PURE__ */ e.jsx(_t, {})
379
- ] }),
380
- /* @__PURE__ */ e.jsx("div", { className: ue.center, children: /* @__PURE__ */ e.jsx(Mt, {}) }),
381
- /* @__PURE__ */ e.jsxs("div", { className: ue.right, children: [
382
- /* @__PURE__ */ e.jsx(Rt, {}),
383
- /* @__PURE__ */ e.jsx(lt, {}),
384
- /* @__PURE__ */ e.jsx(Q, { onClick: d, children: "Save" })
385
- ] })
386
- ] });
387
- }, Ut = "_exit_2ce42_1", Ot = "_text_2ce42_10", Ae = {
388
- exit: Ut,
389
- text: Ot
390
- }, It = () => /* @__PURE__ */ e.jsxs("div", { className: Ae.exit, children: [
458
+ return /* @__PURE__ */ e.jsxs(
459
+ "div",
460
+ {
461
+ className: ue.header,
462
+ style: {
463
+ zIndex: n ? 5e4 : 50
464
+ },
465
+ children: [
466
+ /* @__PURE__ */ e.jsxs("div", { className: ue.left, children: [
467
+ /* @__PURE__ */ e.jsx(mt, {}),
468
+ /* @__PURE__ */ e.jsx(ft, {})
469
+ ] }),
470
+ /* @__PURE__ */ e.jsx("div", { className: ue.center, children: /* @__PURE__ */ e.jsx(Et, {}) }),
471
+ /* @__PURE__ */ e.jsxs("div", { className: ue.right, children: [
472
+ /* @__PURE__ */ e.jsx(Ot, {}),
473
+ /* @__PURE__ */ e.jsx(ut, {}),
474
+ /* @__PURE__ */ e.jsx(Q, { onClick: u, children: "Save" })
475
+ ] })
476
+ ]
477
+ }
478
+ );
479
+ }, qt = "_exit_2ce42_1", zt = "_text_2ce42_10", Te = {
480
+ exit: qt,
481
+ text: zt
482
+ }, Wt = () => /* @__PURE__ */ e.jsxs("div", { className: Te.exit, children: [
391
483
  /* @__PURE__ */ e.jsx(
392
- p,
484
+ m,
393
485
  {
394
486
  name: "SignOut",
395
487
  width: 20,
396
488
  height: 20
397
489
  }
398
490
  ),
399
- /* @__PURE__ */ e.jsx("span", { className: Ae.text, children: "Exit" })
400
- ] }), Gt = "_navbar_2ac63_1", qt = "_main_2ac63_6", zt = "_block_2ac63_13", Wt = "_active_2ac63_30", he = {
401
- navbar: Gt,
402
- main: qt,
403
- block: zt,
404
- active: Wt
405
- }, Vt = () => {
406
- const { activeBlock: t, setActiveBlock: o } = Se(), { setActiveBlock: n } = K(), { setCurrentBlock: r } = B(), { setActiveBlock: i } = H();
491
+ /* @__PURE__ */ e.jsx("span", { className: Te.text, children: "Exit" })
492
+ ] }), Vt = "_navbar_2ac63_1", Xt = "_main_2ac63_6", Kt = "_block_2ac63_13", Qt = "_active_2ac63_30", he = {
493
+ navbar: Vt,
494
+ main: Xt,
495
+ block: Kt,
496
+ active: Qt
497
+ }, Yt = () => {
498
+ const { activeBlock: t, setActiveBlock: o } = Se(), { setActiveBlock: n } = K(), { setCurrentBlock: r } = L(), { setActiveBlock: i } = H();
407
499
  function a(s) {
408
500
  n(null), o(s), r(null), i(null);
409
501
  }
410
502
  return /* @__PURE__ */ e.jsxs("div", { className: he.navbar, children: [
411
- /* @__PURE__ */ e.jsx(It, {}),
412
- /* @__PURE__ */ e.jsx("div", { className: he.main, children: qe.map((s) => /* @__PURE__ */ e.jsxs(
503
+ /* @__PURE__ */ e.jsx(Wt, {}),
504
+ /* @__PURE__ */ e.jsx("div", { className: he.main, children: Xe.map((s) => /* @__PURE__ */ e.jsxs(
413
505
  "div",
414
506
  {
415
- className: v(he.block, {
507
+ className: B(he.block, {
416
508
  [he.active]: t.icon === s.icon
417
509
  }),
418
510
  onClick: () => a(s),
419
511
  children: [
420
512
  /* @__PURE__ */ e.jsx(
421
- p,
513
+ m,
422
514
  {
423
515
  name: s.icon,
424
516
  fill: t.icon === s.icon ? "#252525" : "#757575"
@@ -430,28 +522,28 @@ const tt = [
430
522
  s.icon
431
523
  )) })
432
524
  ] });
433
- }, Xt = "_preview_jui5n_1", Kt = "_main_jui5n_9", Qt = "_content_jui5n_19", Yt = "_loading_jui5n_26", Jt = "_loader_jui5n_34", Zt = "_spin_jui5n_1", re = {
434
- preview: Xt,
435
- main: Kt,
436
- content: Qt,
437
- loading: Yt,
438
- loader: Jt,
439
- spin: Zt
440
- }, en = "_header_1t64j_1", tn = "_circles_1t64j_14", nn = "_circle_1t64j_14", on = "_red_1t64j_30", sn = "_green_1t64j_34", rn = "_yellow_1t64j_38", an = "_input_1t64j_42", ln = "_main_1t64j_51", cn = "_text_1t64j_59", z = {
441
- header: en,
442
- circles: tn,
443
- circle: nn,
444
- red: on,
445
- green: sn,
446
- yellow: rn,
447
- input: an,
448
- main: ln,
449
- text: cn
450
- }, dn = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='0.5'%20width='16'%20height='16'%20fill='url(%23pattern0_4042_718)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_4042_718'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_4042_718'%20transform='scale(0.015625)'/%3e%3c/pattern%3e%3cimage%20id='image0_4042_718'%20width='64'%20height='64'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAONJREFUeF7t20EOhEAIRFG4/6F7DvEnYeFzryQIv6pBd2behOu9dPvsbog+k+NLgArQAqmJcw9iAAhSgZKB3IJkkAySQTJ4CiE+gA8oBeg0mH3Ai084P89HhqwEqIA209ICsQdjAeaZIgaAYKxBDMCAYy8fXwAIgiAIcoJpJEYGI4VjB3YrbC9gL2AvkCB43cM5PgZgAAZgQFnNZAhdGykQBEEQBEEQDBmgAm2glM/z+QUYisYUGoldO7kY32IEAzCg6RgIRgjFAsw+AgRBMNYgBmCAT2TCYfoPPz/HCqQCX1eBHzHnv7C7WhBSAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e", un = ["red", "yellow", "green"], hn = () => /* @__PURE__ */ e.jsxs("div", { className: z.header, children: [
451
- /* @__PURE__ */ e.jsx("div", { className: z.circles, children: un.map((t) => /* @__PURE__ */ e.jsx(
525
+ }, Jt = "_preview_1q4f5_1", Zt = "_main_1q4f5_9", en = "_content_1q4f5_19", tn = "_loading_1q4f5_26", nn = "_loader_1q4f5_34", on = "_spin_1q4f5_1", pe = {
526
+ preview: Jt,
527
+ main: Zt,
528
+ content: en,
529
+ loading: tn,
530
+ loader: nn,
531
+ spin: on
532
+ }, sn = "_header_1t64j_1", rn = "_circles_1t64j_14", an = "_circle_1t64j_14", ln = "_red_1t64j_30", cn = "_green_1t64j_34", dn = "_yellow_1t64j_38", un = "_input_1t64j_42", hn = "_main_1t64j_51", pn = "_text_1t64j_59", z = {
533
+ header: sn,
534
+ circles: rn,
535
+ circle: an,
536
+ red: ln,
537
+ green: cn,
538
+ yellow: dn,
539
+ input: un,
540
+ main: hn,
541
+ text: pn
542
+ }, gn = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='0.5'%20width='16'%20height='16'%20fill='url(%23pattern0_4042_718)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_4042_718'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_4042_718'%20transform='scale(0.015625)'/%3e%3c/pattern%3e%3cimage%20id='image0_4042_718'%20width='64'%20height='64'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAONJREFUeF7t20EOhEAIRFG4/6F7DvEnYeFzryQIv6pBd2behOu9dPvsbog+k+NLgArQAqmJcw9iAAhSgZKB3IJkkAySQTJ4CiE+gA8oBeg0mH3Ai084P89HhqwEqIA209ICsQdjAeaZIgaAYKxBDMCAYy8fXwAIgiAIcoJpJEYGI4VjB3YrbC9gL2AvkCB43cM5PgZgAAZgQFnNZAhdGykQBEEQBEEQDBmgAm2glM/z+QUYisYUGoldO7kY32IEAzCg6RgIRgjFAsw+AgRBMNYgBmCAT2TCYfoPPz/HCqQCX1eBHzHnv7C7WhBSAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e", mn = ["red", "yellow", "green"], Cn = () => /* @__PURE__ */ e.jsxs("div", { className: z.header, children: [
543
+ /* @__PURE__ */ e.jsx("div", { className: z.circles, children: mn.map((t) => /* @__PURE__ */ e.jsx(
452
544
  "div",
453
545
  {
454
- className: v(z.circle, {
546
+ className: B(z.circle, {
455
547
  [z.red]: t === "red",
456
548
  [z.yellow]: t === "yellow",
457
549
  [z.green]: t === "green"
@@ -464,13 +556,13 @@ const tt = [
464
556
  /* @__PURE__ */ e.jsx(
465
557
  "img",
466
558
  {
467
- src: dn,
559
+ src: gn,
468
560
  alt: ""
469
561
  }
470
562
  ),
471
563
  /* @__PURE__ */ e.jsx("span", { className: z.text, children: "lorem.ipsum" }),
472
564
  /* @__PURE__ */ e.jsx(
473
- p,
565
+ m,
474
566
  {
475
567
  name: "Lock",
476
568
  fill: "#757575",
@@ -480,7 +572,7 @@ const tt = [
480
572
  )
481
573
  ] }),
482
574
  /* @__PURE__ */ e.jsx(
483
- p,
575
+ m,
484
576
  {
485
577
  name: "Copy",
486
578
  width: 20,
@@ -488,68 +580,71 @@ const tt = [
488
580
  }
489
581
  )
490
582
  ] })
491
- ] }), gn = "_content_92dk8_1", pn = "_block_92dk8_6", mn = "_active_92dk8_13", Cn = "_name_92dk8_17", Sn = "_empty_92dk8_31", _n = "_icon_92dk8_42", xn = "_title_92dk8_53", bn = "_text_92dk8_59", wn = "_sections_92dk8_65", fn = "_section_92dk8_65", ge = {
492
- content: gn,
493
- block: pn,
494
- active: mn,
495
- name: Cn,
496
- empty: Sn,
497
- icon: _n,
498
- title: xn,
499
- text: bn,
500
- sections: wn,
501
- section: fn
502
- }, kn = "_sidebar_1f3hk_1", vn = "_content_1f3hk_12", jn = "_button_1f3hk_22", Bn = "_moveButton_1f3hk_30", yn = "_border_1f3hk_34", An = "_deleteButton_1f3hk_38", D = {
503
- sidebar: kn,
504
- content: vn,
505
- button: jn,
506
- moveButton: Bn,
507
- border: yn,
508
- deleteButton: An
509
- }, Pn = () => {
510
- const { activeBlock: t } = Y(), { blocks: o, removeBlock: n, moveBlock: r, duplicateBlock: i } = B(), { currentPage: a, pages: s } = P(), l = Object.keys(o[s[a].name]), c = l.indexOf(t), C = () => {
511
- c > 0 && r(s[a].name, c, c - 1);
512
- }, m = () => {
513
- c < l.length - 1 && r(s[a].name, c, c + 1);
514
- }, S = () => {
515
- i(s[a].name, t);
583
+ ] }), Sn = "_content_1plo6_1", _n = "_main_1plo6_8", bn = "_block_1plo6_12", xn = "_active_1plo6_19", fn = "_name_1plo6_23", vn = "_empty_1plo6_37", wn = "_icon_1plo6_48", kn = "_title_1plo6_59", jn = "_text_1plo6_65", yn = "_sections_1plo6_71", Bn = "_section_1plo6_71", re = {
584
+ content: Sn,
585
+ main: _n,
586
+ block: bn,
587
+ active: xn,
588
+ name: fn,
589
+ empty: vn,
590
+ icon: wn,
591
+ title: kn,
592
+ text: jn,
593
+ sections: yn,
594
+ section: Bn
595
+ }, An = "_sidebar_1f3hk_1", Pn = "_content_1f3hk_12", Ln = "_button_1f3hk_22", Tn = "_moveButton_1f3hk_30", Nn = "_border_1f3hk_34", Fn = "_deleteButton_1f3hk_38", M = {
596
+ sidebar: An,
597
+ content: Pn,
598
+ button: Ln,
599
+ moveButton: Tn,
600
+ border: Nn,
601
+ deleteButton: Fn
602
+ }, Dn = () => {
603
+ const { activeBlock: t } = Y(), { blocks: o, removeBlock: n, moveBlock: r, duplicateBlock: i } = L(), { currentPage: a, pages: s } = P(), l = s ? Object.keys(o[s[a].name]) : [], c = l.indexOf(t), p = () => {
604
+ c > 0 && s && r(s[a].name, c, c - 1);
605
+ }, C = () => {
606
+ c < l.length - 1 && s && r(s[a].name, c, c + 1);
607
+ }, d = () => {
608
+ s && i(s[a].name, t);
516
609
  };
517
- return /* @__PURE__ */ e.jsx("div", { className: D.sidebar, children: /* @__PURE__ */ e.jsxs("div", { className: D.content, children: [
610
+ return /* @__PURE__ */ e.jsx("div", { className: M.sidebar, children: /* @__PURE__ */ e.jsxs("div", { className: M.content, children: [
518
611
  /* @__PURE__ */ e.jsx(
519
612
  "button",
520
613
  {
521
- onClick: C,
522
- className: v(D.button, D.moveButton),
614
+ onClick: p,
615
+ className: B(M.button, M.moveButton),
523
616
  disabled: c === 0,
524
- children: /* @__PURE__ */ e.jsx(p, { name: "ArrowUp" })
617
+ children: /* @__PURE__ */ e.jsx(m, { name: "ArrowUp" })
525
618
  }
526
619
  ),
527
620
  /* @__PURE__ */ e.jsx(
528
621
  "button",
529
622
  {
530
- onClick: m,
531
- className: v(D.button, D.moveButton),
623
+ onClick: C,
624
+ className: B(M.button, M.moveButton),
532
625
  disabled: c === l.length - 1,
533
- children: /* @__PURE__ */ e.jsx(p, { name: "ArrowDown" })
626
+ children: /* @__PURE__ */ e.jsx(m, { name: "ArrowDown" })
534
627
  }
535
628
  ),
536
- /* @__PURE__ */ e.jsx("div", { className: D.border }),
629
+ /* @__PURE__ */ e.jsx("div", { className: M.border }),
537
630
  /* @__PURE__ */ e.jsx(
538
631
  "button",
539
632
  {
540
- onClick: S,
541
- className: v(D.button, D.moveButton),
542
- children: /* @__PURE__ */ e.jsx(p, { name: "Copy" })
633
+ onClick: d,
634
+ className: B(M.button, M.moveButton),
635
+ children: /* @__PURE__ */ e.jsx(m, { name: "Copy" })
543
636
  }
544
637
  ),
545
- /* @__PURE__ */ e.jsx("div", { className: D.border }),
638
+ /* @__PURE__ */ e.jsx("div", { className: M.border }),
546
639
  /* @__PURE__ */ e.jsx(
547
640
  "button",
548
641
  {
549
- onClick: () => n(s[a].name, t),
550
- className: v(D.button, D.deleteButton),
642
+ onClick: () => {
643
+ s && n(s[a].name, t);
644
+ },
645
+ className: B(M.button, M.deleteButton),
551
646
  children: /* @__PURE__ */ e.jsx(
552
- p,
647
+ m,
553
648
  {
554
649
  name: "Trash",
555
650
  hoverable: !0
@@ -558,108 +653,105 @@ const tt = [
558
653
  }
559
654
  )
560
655
  ] }) });
561
- }, $e = ({ render: t, block: o }) => t(o), Ln = () => {
562
- const { footer: t } = B(), { settings: o } = J(), { pageContext: n } = P();
656
+ }, Ue = ({ render: t, block: o }) => t(o), Mn = () => {
657
+ const { footer: t } = L(), { settings: o } = J(), { pageContext: n } = P();
563
658
  return t == null ? void 0 : t.renderBlock(o, n);
564
- }, Tn = () => {
565
- const { header: t } = B(), { settings: o } = J(), { pageContext: n } = P();
659
+ }, $n = () => {
660
+ const { header: t } = L(), { settings: o } = J(), { pageContext: n } = P();
566
661
  return t == null ? void 0 : t.renderBlock(o, n);
567
- }, Nn = _.memo(() => {
568
- const { setActiveBlock: t, activeBlock: o } = Y(), { blocks: n } = K(), { blocks: r } = B(), { settings: i } = J(), { currentPage: a, pages: s, setIsOpenSelectModal: l, pageContext: c } = P(), C = _.useRef(o);
569
- _.useEffect(() => {
570
- C.current = o;
571
- }, [o]), _.useEffect(() => {
662
+ }, Hn = v.memo(() => {
663
+ const { setActiveBlock: t, activeBlock: o } = Y(), { blocks: n } = K(), { blocks: r } = L(), { settings: i } = J(), { currentPage: a, pages: s, setIsOpenSelectModal: l, pageContext: c } = P(), p = v.useRef(o);
664
+ v.useEffect(() => {
665
+ p.current = o;
666
+ }, [o]), v.useEffect(() => {
572
667
  const d = () => {
573
- C.current && t(null);
668
+ p.current && t(null);
574
669
  };
575
670
  return document.body.addEventListener("click", d), () => {
576
671
  document.body.removeEventListener("click", d);
577
672
  };
578
673
  }, []);
579
- const m = (d) => {
580
- const u = new n[d.name]();
581
- return Object.assign(u, d.value), u.renderBlock(i, c);
582
- }, S = _.useCallback(
583
- (d) => m(d),
584
- [r, i]
585
- );
674
+ const C = (d) => {
675
+ const h = new n[d.name]();
676
+ return Object.assign(h, d.value), h.renderBlock(i, c);
677
+ };
586
678
  return /* @__PURE__ */ e.jsxs(
587
679
  "div",
588
680
  {
589
681
  onClick: (d) => {
590
682
  d.stopPropagation(), l(!1);
591
683
  },
592
- className: ge.content,
684
+ className: re.content,
593
685
  children: [
594
- /* @__PURE__ */ e.jsx(Tn, {}),
595
- r[s[a].name] && Object.keys(r[s[a].name]).map((d) => /* @__PURE__ */ e.jsxs(
686
+ /* @__PURE__ */ e.jsx($n, {}),
687
+ /* @__PURE__ */ e.jsx("div", { className: re.main, children: s && r[s[a].name] && Object.keys(r[s[a].name]).map((d) => /* @__PURE__ */ e.jsxs(
596
688
  "div",
597
689
  {
598
690
  onClick: () => t(d),
599
- className: v(ge.block, {
600
- [ge.active]: o === d
691
+ className: B(re.block, {
692
+ [re.active]: o === d
601
693
  }),
602
694
  children: [
603
- o === d && /* @__PURE__ */ e.jsx("div", { className: ge.name, children: r[s[a].name][d].name }),
604
- o === d && /* @__PURE__ */ e.jsx(Pn, {}),
695
+ o === d && /* @__PURE__ */ e.jsx("div", { className: re.name, children: r[s[a].name][d].name }),
696
+ o === d && /* @__PURE__ */ e.jsx(Dn, {}),
605
697
  /* @__PURE__ */ e.jsx(
606
- $e,
698
+ Ue,
607
699
  {
608
- render: S,
700
+ render: C,
609
701
  block: r[s[a].name][d]
610
702
  }
611
703
  )
612
704
  ]
613
705
  }
614
- )),
615
- /* @__PURE__ */ e.jsx(Ln, {})
706
+ )) }),
707
+ /* @__PURE__ */ e.jsx(Mn, {})
616
708
  ]
617
709
  }
618
710
  );
619
- }), Fn = "_results_f488n_1", Dn = "_name_f488n_8", Mn = "_product_f488n_15", pe = {
620
- results: Fn,
621
- name: Dn,
622
- product: Mn
623
- }, Hn = "_search_1s0qp_1", $n = "_input_1s0qp_12", Pe = {
624
- search: Hn,
625
- input: $n
626
- }, Rn = () => /* @__PURE__ */ e.jsxs("label", { className: Pe.search, children: [
711
+ }), Rn = "_results_f488n_1", En = "_name_f488n_8", Un = "_product_f488n_15", ge = {
712
+ results: Rn,
713
+ name: En,
714
+ product: Un
715
+ }, In = "_search_1s0qp_1", On = "_input_1s0qp_12", Ne = {
716
+ search: In,
717
+ input: On
718
+ }, Gn = () => /* @__PURE__ */ e.jsxs("label", { className: Ne.search, children: [
627
719
  /* @__PURE__ */ e.jsx(
628
720
  "input",
629
721
  {
630
722
  type: "text",
631
723
  placeholder: "Search for sections",
632
- className: Pe.input
724
+ className: Ne.input
633
725
  }
634
726
  ),
635
727
  /* @__PURE__ */ e.jsx(
636
- p,
728
+ m,
637
729
  {
638
730
  name: "MagnifyingGlass",
639
731
  fill: "#757575"
640
732
  }
641
733
  )
642
- ] }), Re = () => {
734
+ ] }), Ie = () => {
643
735
  const { blocks: t, setActiveBlock: o } = K(), { hideModal: n } = _e();
644
736
  function r(i) {
645
737
  o(i), n();
646
738
  }
647
- return /* @__PURE__ */ e.jsxs("div", { className: pe.add, children: [
648
- /* @__PURE__ */ e.jsx(Rn, {}),
649
- /* @__PURE__ */ e.jsx("div", { className: pe.results, children: Object.keys(t).map((i) => /* @__PURE__ */ e.jsxs(
739
+ return /* @__PURE__ */ e.jsxs("div", { className: ge.add, children: [
740
+ /* @__PURE__ */ e.jsx(Gn, {}),
741
+ /* @__PURE__ */ e.jsx("div", { className: ge.results, children: Object.keys(t).map((i) => /* @__PURE__ */ e.jsxs(
650
742
  "div",
651
743
  {
652
- className: pe.product,
744
+ className: ge.product,
653
745
  onClick: () => r(i),
654
746
  children: [
655
- /* @__PURE__ */ e.jsx("span", { className: pe.name, children: i }),
656
- /* @__PURE__ */ e.jsx(p, { name: "CaretRight" })
747
+ /* @__PURE__ */ e.jsx("span", { className: ge.name, children: i }),
748
+ /* @__PURE__ */ e.jsx(m, { name: "CaretRight" })
657
749
  ]
658
750
  },
659
751
  i
660
752
  )) })
661
753
  ] });
662
- }, En = () => {
754
+ }, qn = () => {
663
755
  const {
664
756
  modalPosition: t,
665
757
  color: o,
@@ -670,55 +762,55 @@ const tt = [
670
762
  brightness: s,
671
763
  dragging: l,
672
764
  setDragging: c,
673
- setHue: C,
674
- setSaturation: m,
675
- setBrightness: S,
676
- colorChange: d,
765
+ setHue: p,
766
+ setSaturation: C,
767
+ setBrightness: d,
768
+ colorChange: h,
677
769
  setColor: u,
678
- update: x
679
- } = Fe(), h = (g) => {
680
- const { offsetX: f, offsetY: w } = g.nativeEvent;
681
- c(!0), y(f, w, g.currentTarget);
770
+ update: f
771
+ } = $e(), S = (g) => {
772
+ const { offsetX: k, offsetY: w } = g.nativeEvent;
773
+ c(!0), A(k, w, g.currentTarget);
682
774
  }, b = (g) => {
683
775
  if (l) {
684
- const f = document.querySelector(`.${O.colorMap}`), { left: w, top: A } = f.getBoundingClientRect(), k = g.clientX - w, X = g.clientY - A;
685
- y(k, X, f);
776
+ const k = document.querySelector(`.${I.colorMap}`), { left: w, top: F } = k.getBoundingClientRect(), j = g.clientX - w, X = g.clientY - F;
777
+ A(j, X, k);
686
778
  }
687
- }, j = () => {
779
+ }, _ = () => {
688
780
  c(!1);
689
- }, y = (g, f, w) => {
690
- const { width: A, height: k } = w.getBoundingClientRect(), X = Math.max(0, Math.min(g / A * 100, 100)), ce = Math.max(0, Math.min(100 - f / k * 100, 100));
691
- m(X), S(ce), L(X, ce);
692
- }, L = (g, f) => {
693
- const w = N(i, g, f);
694
- d(w), u(w);
695
- }, U = (g, f, w) => {
696
- f /= 100, w /= 100;
697
- const A = (de) => (de + g / 60) % 6, k = (de) => w * (1 - f * Math.max(0, Math.min(A(de), 4 - A(de), 1))), X = Math.round(255 * k(5)), ce = Math.round(255 * k(3)), Oe = Math.round(255 * k(1));
698
- return { r: X, g: ce, b: Oe };
699
- }, T = (g, f, w) => {
700
- const A = (k) => k.toString(16).padStart(2, "0");
701
- return `#${A(g)}${A(f)}${A(w)}`;
702
- }, N = (g, f, w) => {
703
- const { r: A, g: k, b: X } = U(g, f, w);
704
- return T(A, k, X);
781
+ }, A = (g, k, w) => {
782
+ const { width: F, height: j } = w.getBoundingClientRect(), X = Math.max(0, Math.min(g / F * 100, 100)), ce = Math.max(0, Math.min(100 - k / j * 100, 100));
783
+ C(X), d(ce), T(X, ce);
784
+ }, T = (g, k) => {
785
+ const w = x(i, g, k);
786
+ h(w), u(w);
787
+ }, N = (g, k, w) => {
788
+ k /= 100, w /= 100;
789
+ const F = (de) => (de + g / 60) % 6, j = (de) => w * (1 - k * Math.max(0, Math.min(F(de), 4 - F(de), 1))), X = Math.round(255 * j(5)), ce = Math.round(255 * j(3)), qe = Math.round(255 * j(1));
790
+ return { r: X, g: ce, b: qe };
791
+ }, y = (g, k, w) => {
792
+ const F = (j) => j.toString(16).padStart(2, "0");
793
+ return `#${F(g)}${F(k)}${F(w)}`;
794
+ }, x = (g, k, w) => {
795
+ const { r: F, g: j, b: X } = N(g, k, w);
796
+ return y(F, j, X);
705
797
  };
706
- _.useEffect(() => {
707
- const g = (w) => b(w), f = () => j();
708
- return l ? (document.addEventListener("mousemove", g), document.addEventListener("mouseup", f)) : (document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", f)), () => {
709
- document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", f);
798
+ v.useEffect(() => {
799
+ const g = (w) => b(w), k = () => _();
800
+ return l ? (document.addEventListener("mousemove", g), document.addEventListener("mouseup", k)) : (document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", k)), () => {
801
+ document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", k);
710
802
  };
711
803
  }, [l]);
712
- function F() {
713
- x(o), r(!1);
804
+ function D() {
805
+ f(o), r(!1);
714
806
  }
715
807
  function V() {
716
- r(!1), d(n);
808
+ r(!1), h(n);
717
809
  }
718
810
  return /* @__PURE__ */ e.jsxs(
719
811
  "div",
720
812
  {
721
- className: O.modal,
813
+ className: I.modal,
722
814
  onClick: (g) => g.stopPropagation(),
723
815
  style: {
724
816
  top: `${t.top}px`,
@@ -729,8 +821,8 @@ const tt = [
729
821
  /* @__PURE__ */ e.jsx(
730
822
  "div",
731
823
  {
732
- className: O.colorMap,
733
- onMouseDown: h,
824
+ className: I.colorMap,
825
+ onMouseDown: S,
734
826
  style: {
735
827
  background: `
736
828
  linear-gradient(to top, black, transparent),
@@ -740,7 +832,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
740
832
  children: /* @__PURE__ */ e.jsx(
741
833
  "div",
742
834
  {
743
- className: O.indicator,
835
+ className: I.indicator,
744
836
  style: {
745
837
  position: "absolute",
746
838
  left: `${a}%`,
@@ -751,7 +843,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
751
843
  )
752
844
  }
753
845
  ),
754
- /* @__PURE__ */ e.jsx("div", { className: O.hueSlider, children: /* @__PURE__ */ e.jsx(
846
+ /* @__PURE__ */ e.jsx("div", { className: I.hueSlider, children: /* @__PURE__ */ e.jsx(
755
847
  "input",
756
848
  {
757
849
  type: "range",
@@ -759,25 +851,25 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
759
851
  max: "360",
760
852
  value: i,
761
853
  onChange: (g) => {
762
- C(Number(g.target.value)), L(a, s);
854
+ p(Number(g.target.value)), T(a, s);
763
855
  },
764
- className: O.slider
856
+ className: I.slider
765
857
  }
766
858
  ) }),
767
- /* @__PURE__ */ e.jsxs("div", { className: O.buttons, children: [
859
+ /* @__PURE__ */ e.jsxs("div", { className: I.buttons, children: [
768
860
  /* @__PURE__ */ e.jsx(
769
861
  Q,
770
862
  {
771
863
  onClick: V,
772
- className: v(O.applyButton, O.cancelButton),
864
+ className: B(I.applyButton, I.cancelButton),
773
865
  children: "Cancel"
774
866
  }
775
867
  ),
776
868
  /* @__PURE__ */ e.jsx(
777
869
  Q,
778
870
  {
779
- onClick: F,
780
- className: O.applyButton,
871
+ onClick: D,
872
+ className: I.applyButton,
781
873
  children: "Apply"
782
874
  }
783
875
  )
@@ -785,114 +877,117 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
785
877
  ]
786
878
  }
787
879
  );
788
- }, Un = () => {
789
- const { onPreview: t } = Y(), { hoverBlockId: o, isModalVisible: n, isPreviewVisible: r } = _e(), { settings: i } = J(), { blocks: a } = K(), { blocks: s } = B(), { currentPage: l, pages: c, pageContext: C } = P(), { showModal: m } = Fe(), [S, d] = _.useState(!0);
790
- _.useEffect(() => {
791
- t && setTimeout(() => {
792
- d(!1);
880
+ }, zn = () => {
881
+ const { onPreview: t } = Y(), { hoverBlockId: o, isModalVisible: n, isPreviewVisible: r } = _e(), { settings: i } = J(), { blocks: a } = K(), { blocks: s } = L(), { currentPage: l, pages: c, pageContext: p } = P(), { showModal: C } = $e(), [d, h] = v.useState(!0);
882
+ v.useEffect(() => {
883
+ t && p.general && setTimeout(() => {
884
+ h(!1);
793
885
  }, 100);
794
- }, [t]);
795
- const u = (x) => {
796
- const h = new a[x.name]();
797
- return Object.assign(h, x.value), h.renderBlock(i, C);
886
+ }, [t, p]);
887
+ const u = (f) => {
888
+ const S = new a[f.name]();
889
+ return Object.assign(S, f.value), S.renderBlock(i, p);
798
890
  };
799
- return /* @__PURE__ */ e.jsxs("div", { className: re.preview, children: [
800
- n && /* @__PURE__ */ e.jsx(ke, { children: /* @__PURE__ */ e.jsx(Re, {}) }),
801
- r && o && /* @__PURE__ */ e.jsx(ke, { children: /* @__PURE__ */ e.jsx(
802
- $e,
803
- {
804
- render: u,
805
- block: s[c[l].name][o]
806
- }
807
- ) }),
808
- m && /* @__PURE__ */ e.jsx(En, {}),
809
- t && /* @__PURE__ */ e.jsxs("div", { className: re.main, children: [
810
- /* @__PURE__ */ e.jsx(hn, {}),
811
- /* @__PURE__ */ e.jsx("div", { className: re.content, children: S ? /* @__PURE__ */ e.jsx("div", { className: re.loading, children: /* @__PURE__ */ e.jsx("div", { className: re.loader }) }) : /* @__PURE__ */ e.jsx(Nn, {}) })
891
+ return /* @__PURE__ */ e.jsxs("div", { className: pe.preview, children: [
892
+ n && /* @__PURE__ */ e.jsx(je, { children: /* @__PURE__ */ e.jsx(Ie, {}) }),
893
+ r && o && /* @__PURE__ */ e.jsxs(je, { children: [
894
+ !d && /* @__PURE__ */ e.jsx(
895
+ Ue,
896
+ {
897
+ render: u,
898
+ block: c && s[c[l].name][o]
899
+ }
900
+ ),
901
+ d && /* @__PURE__ */ e.jsx(ye, {})
902
+ ] }),
903
+ C && /* @__PURE__ */ e.jsx(qn, {}),
904
+ t && /* @__PURE__ */ e.jsxs("div", { className: pe.main, children: [
905
+ /* @__PURE__ */ e.jsx(Cn, {}),
906
+ /* @__PURE__ */ e.jsx("div", { className: pe.content, children: d ? /* @__PURE__ */ e.jsx("div", { className: pe.loading, children: /* @__PURE__ */ e.jsx(ye, {}) }) : /* @__PURE__ */ e.jsx(Hn, {}) })
812
907
  ] })
813
908
  ] });
814
- }, On = "_sidebar_1r5sp_1", In = "_title_1r5sp_10", Gn = "_active_1r5sp_18", Le = {
815
- sidebar: On,
816
- title: In,
817
- active: Gn
818
- }, qn = "_layers_62wod_1", zn = "_block_62wod_8", Wn = "_dragging_62wod_23", Vn = "_active_62wod_31", Xn = "_add_62wod_35", Kn = "_button_62wod_47", Qn = "_empty_62wod_60", Yn = "_title_62wod_72", Jn = "_icon_62wod_79", Zn = "_text_62wod_83", eo = "_highlight_62wod_89", oe = {
819
- layers: qn,
820
- block: zn,
821
- dragging: Wn,
822
- active: Vn,
823
- add: Xn,
824
- button: Kn,
825
- empty: Qn,
826
- title: Yn,
827
- icon: Jn,
828
- text: Zn,
829
- highlight: eo
830
- }, to = "_block_1d6lb_1", Te = {
831
- block: to
832
- }, no = () => {
833
- const { setCurrentBlock: t } = B(), { activeBlock: o } = Y();
909
+ }, Wn = "_sidebar_96mlz_1", Vn = "_title_96mlz_10", Xn = "_active_96mlz_18", Fe = {
910
+ sidebar: Wn,
911
+ title: Vn,
912
+ active: Xn
913
+ }, Kn = "_layers_62wod_1", Qn = "_block_62wod_8", Yn = "_dragging_62wod_23", Jn = "_active_62wod_31", Zn = "_add_62wod_35", eo = "_button_62wod_47", to = "_empty_62wod_60", no = "_title_62wod_72", oo = "_icon_62wod_79", so = "_text_62wod_83", ro = "_highlight_62wod_89", oe = {
914
+ layers: Kn,
915
+ block: Qn,
916
+ dragging: Yn,
917
+ active: Jn,
918
+ add: Zn,
919
+ button: eo,
920
+ empty: to,
921
+ title: no,
922
+ icon: oo,
923
+ text: so,
924
+ highlight: ro
925
+ }, ao = "_block_1d6lb_1", De = {
926
+ block: ao
927
+ }, io = () => {
928
+ const { setCurrentBlock: t } = L(), { activeBlock: o } = Y();
834
929
  function n(r) {
835
930
  t(r);
836
931
  }
837
932
  return /* @__PURE__ */ e.jsxs(
838
933
  "div",
839
934
  {
840
- className: v(Te.block, {
841
- [Te.active]: o === "header"
935
+ className: B(De.block, {
936
+ [De.active]: o === "header"
842
937
  }),
843
938
  onClick: () => n("header"),
844
939
  children: [
845
- /* @__PURE__ */ e.jsx(p, { name: "Cards" }),
940
+ /* @__PURE__ */ e.jsx(m, { name: "Cards" }),
846
941
  /* @__PURE__ */ e.jsx("span", { children: "Header" })
847
942
  ]
848
943
  }
849
944
  );
850
- }, oo = "_block_1d6lb_1", Ne = {
851
- block: oo
852
- }, so = () => {
853
- const { activeBlock: t } = Y(), { setCurrentBlock: o } = B();
945
+ }, lo = "_block_1d6lb_1", Me = {
946
+ block: lo
947
+ }, co = () => {
948
+ const { activeBlock: t } = Y(), { setCurrentBlock: o } = L();
854
949
  function n(r) {
855
950
  o(r);
856
951
  }
857
952
  return /* @__PURE__ */ e.jsxs(
858
953
  "div",
859
954
  {
860
- className: v(Ne.block, {
861
- [Ne.active]: t === "footer"
955
+ className: B(Me.block, {
956
+ [Me.active]: t === "footer"
862
957
  }),
863
958
  onClick: () => n("footer"),
864
959
  children: [
865
- /* @__PURE__ */ e.jsx(p, { name: "Cards" }),
960
+ /* @__PURE__ */ e.jsx(m, { name: "Cards" }),
866
961
  /* @__PURE__ */ e.jsx("span", { children: "Footer" })
867
962
  ]
868
963
  }
869
964
  );
870
- }, ro = ({ id: t, name: o, index: n, moveBlock: r, onClick: i }) => {
965
+ }, uo = ({ id: t, name: o, index: n, moveBlock: r, onClick: i }) => {
871
966
  const { currentPage: a, pages: s } = P(), { activeBlock: l } = Y(), {
872
967
  showPreview: c,
873
- hidePreview: C,
874
- showModal: m,
875
- hideModal: S,
876
- clearHideTimeout: d,
968
+ hidePreview: p,
969
+ showModal: C,
970
+ hideModal: d,
971
+ clearHideTimeout: h,
877
972
  startHideTimeout: u,
878
- hoverBlockId: x,
879
- isModalVisible: h
880
- } = _e(), { setPositionBlock: b } = B(), [j, y] = _.useState(!1), L = () => {
881
- h && S(), c(t), y(!0), d();
882
- }, U = (g) => {
883
- g.stopPropagation(), C(), m(t), d(), b(n + 1);
884
- }, T = () => {
885
- h ? u() : (y(!1), C());
973
+ hoverBlockId: f,
974
+ isModalVisible: S
975
+ } = _e(), { setPositionBlock: b } = L(), [_, A] = v.useState(!1), T = () => {
976
+ S && d(), c(t), A(!0), h();
977
+ }, N = (g) => {
978
+ g.stopPropagation(), p(), C(t), h(), b(n + 1);
979
+ }, y = () => {
980
+ S ? u() : (A(!1), p());
886
981
  };
887
- _.useEffect(() => {
888
- h || y(!1);
889
- }, [h]);
890
- const [, N] = Ve({
982
+ v.useEffect(() => {
983
+ S || A(!1);
984
+ }, [S]);
985
+ const [, x] = Ye({
891
986
  accept: "block",
892
987
  hover(g) {
893
- g.index !== n && (r(s[a].name, g.index, n), g.index = n);
988
+ g.index !== n && s && (r(s[a].name, g.index, n), g.index = n);
894
989
  }
895
- }), [{ isDragging: F }, V] = Xe({
990
+ }), [{ isDragging: D }, V] = Je({
896
991
  type: "block",
897
992
  item: { id: t, index: n },
898
993
  collect: (g) => ({
@@ -902,24 +997,24 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
902
997
  return /* @__PURE__ */ e.jsxs(
903
998
  "div",
904
999
  {
905
- ref: (g) => V(N(g)),
906
- className: v(oe.block, {
907
- [oe.dragging]: F,
908
- [oe.active]: !F && l === t
1000
+ ref: (g) => V(x(g)),
1001
+ className: B(oe.block, {
1002
+ [oe.dragging]: D,
1003
+ [oe.active]: !D && l === t
909
1004
  }),
910
1005
  onClick: () => i(t),
911
- onMouseEnter: L,
912
- onMouseLeave: T,
1006
+ onMouseEnter: T,
1007
+ onMouseLeave: y,
913
1008
  children: [
914
- /* @__PURE__ */ e.jsx(p, { name: "Cards" }),
1009
+ /* @__PURE__ */ e.jsx(m, { name: "Cards" }),
915
1010
  /* @__PURE__ */ e.jsx("span", { children: o }),
916
- (j || x === t) && !F && /* @__PURE__ */ e.jsx("div", { className: oe.add, children: /* @__PURE__ */ e.jsx(
1011
+ (_ || f === t) && !D && /* @__PURE__ */ e.jsx("div", { className: oe.add, children: /* @__PURE__ */ e.jsx(
917
1012
  "button",
918
1013
  {
919
1014
  className: oe.button,
920
- onClick: (g) => U(g),
1015
+ onClick: (g) => N(g),
921
1016
  children: /* @__PURE__ */ e.jsx(
922
- p,
1017
+ m,
923
1018
  {
924
1019
  name: "Plus",
925
1020
  fill: "#fff"
@@ -930,167 +1025,144 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
930
1025
  ]
931
1026
  }
932
1027
  );
933
- }, ao = () => {
934
- const { blocks: t, setCurrentBlock: o, moveBlock: n } = B(), { currentPage: r, pages: i } = P(), { setMouseOverModal: a, setHoverBlockId: s } = _e();
1028
+ }, ho = () => {
1029
+ const { blocks: t, setCurrentBlock: o, moveBlock: n } = L(), { currentPage: r, pages: i } = P(), { setMouseOverModal: a, setHoverBlockId: s } = _e();
935
1030
  function l(c) {
936
1031
  o(c), a(!1), s(null);
937
1032
  }
938
1033
  return /* @__PURE__ */ e.jsxs("div", { className: oe.layers, children: [
939
- /* @__PURE__ */ e.jsx(no, {}),
940
- /* @__PURE__ */ e.jsx(ze, { backend: We, children: /* @__PURE__ */ e.jsx(e.Fragment, { children: t[i[r].name] && Object.keys(t[i[r].name]).map((c, C) => /* @__PURE__ */ e.jsx(
941
- ro,
1034
+ /* @__PURE__ */ e.jsx(io, {}),
1035
+ /* @__PURE__ */ e.jsx(Ke, { backend: Qe, children: /* @__PURE__ */ e.jsx(e.Fragment, { children: i && t[i[r].name] && Object.keys(t[i[r].name]).map((c, p) => /* @__PURE__ */ e.jsx(
1036
+ uo,
942
1037
  {
943
1038
  id: c,
944
1039
  name: t[i[r].name][c].name,
945
- index: C,
1040
+ index: p,
946
1041
  moveBlock: n,
947
1042
  onClick: l
948
1043
  },
949
1044
  c
950
1045
  )) }) }),
951
- /* @__PURE__ */ e.jsx(so, {})
1046
+ /* @__PURE__ */ e.jsx(co, {})
952
1047
  ] });
953
- }, io = ({ isHeader: t }) => {
954
- const { header: o, footer: n } = B(), { pageContext: r } = P();
1048
+ }, po = ({ isHeader: t }) => {
1049
+ const { header: o, footer: n } = L(), { pageContext: r } = P();
955
1050
  return t ? o == null ? void 0 : o.renderSettings(r) : n == null ? void 0 : n.renderSettings(r);
956
- }, lo = () => {
1051
+ }, go = () => {
957
1052
  const { settings: t } = J();
958
1053
  return t == null ? void 0 : t.renderSettings();
959
- }, co = "_theme_1xj36_1", uo = "_block_1xj36_6", ho = "_name_1xj36_20", we = {
960
- theme: co,
961
- block: uo,
962
- name: ho
963
- }, go = () => {
1054
+ }, mo = "_theme_1xj36_1", Co = "_block_1xj36_6", So = "_name_1xj36_20", ve = {
1055
+ theme: mo,
1056
+ block: Co,
1057
+ name: So
1058
+ }, _o = () => {
964
1059
  const { setActiveBlock: t } = H();
965
1060
  function o(n) {
966
1061
  t(n);
967
1062
  }
968
- return /* @__PURE__ */ e.jsx("div", { className: we.theme, children: nt.map((n) => /* @__PURE__ */ e.jsxs(
1063
+ return /* @__PURE__ */ e.jsx("div", { className: ve.theme, children: at.map((n) => /* @__PURE__ */ e.jsxs(
969
1064
  "div",
970
1065
  {
971
1066
  onClick: () => o(n),
972
- className: v(we.block),
1067
+ className: B(ve.block),
973
1068
  children: [
974
- /* @__PURE__ */ e.jsx(p, { name: n.icon }),
975
- /* @__PURE__ */ e.jsx("span", { className: we.name, children: n.name }),
976
- /* @__PURE__ */ e.jsx(p, { name: "CaretRight" })
1069
+ /* @__PURE__ */ e.jsx(m, { name: n.icon }),
1070
+ /* @__PURE__ */ e.jsx("span", { className: ve.name, children: n.name }),
1071
+ /* @__PURE__ */ e.jsx(m, { name: "CaretRight" })
977
1072
  ]
978
1073
  },
979
1074
  n.icon
980
1075
  )) });
981
- }, po = "_back_1lk1m_1", mo = "_render_1lk1m_8", Co = "_open_1lk1m_23", So = "_close_1lk1m_50", _o = "_clicked_1lk1m_54", xo = "_title_1lk1m_58", bo = "_button_1lk1m_65", wo = "_loading_1lk1m_70", fo = "_settings_1lk1m_74", ko = "_buttons_1lk1m_80", vo = "_deleteButton_1lk1m_86", I = {
982
- back: po,
983
- render: mo,
984
- open: Co,
985
- close: So,
986
- clicked: _o,
987
- title: xo,
988
- button: bo,
989
- loading: wo,
990
- settings: fo,
991
- buttons: ko,
992
- deleteButton: vo
993
- }, jo = ({ block: t }) => {
1076
+ }, bo = "_back_y3z55_1", xo = "_render_y3z55_8", fo = "_open_y3z55_23", vo = "_close_y3z55_50", wo = "_clicked_y3z55_54", ko = "_title_y3z55_58", jo = "_button_y3z55_66", yo = "_loading_y3z55_71", Bo = "_settings_y3z55_75", Ao = "_deleteButton_y3z55_81", G = {
1077
+ back: bo,
1078
+ render: xo,
1079
+ open: fo,
1080
+ close: vo,
1081
+ clicked: wo,
1082
+ title: ko,
1083
+ button: jo,
1084
+ loading: yo,
1085
+ settings: Bo,
1086
+ deleteButton: Ao
1087
+ }, Po = ({ block: t }) => {
994
1088
  if (!t) return null;
995
1089
  const { pageContext: o } = P();
996
1090
  return t.renderSettings(o);
997
- }, Bo = (t) => {
998
- var f;
999
- const { isAdd: o } = t, [n, r] = _.useState(!1), { setActiveBlock: i } = Se(), { sourceBlocks: a, activeBlock: s, setActiveBlock: l, currentInstance: c, setCurrentInstance: C } = K(), {
1000
- blocks: m,
1001
- addBlock: S,
1002
- editBlock: d,
1091
+ }, Lo = (t) => {
1092
+ var k;
1093
+ const { isAdd: o } = t, [n, r] = v.useState(!1), { setActiveBlock: i } = Se(), { sourceBlocks: a, activeBlock: s, setActiveBlock: l, currentInstance: c, setCurrentInstance: p } = K(), {
1094
+ blocks: C,
1095
+ addBlock: d,
1096
+ editBlock: h,
1003
1097
  currentBlock: u,
1004
- setCurrentBlock: x,
1005
- removeBlock: h,
1098
+ setCurrentBlock: f,
1099
+ removeBlock: S,
1006
1100
  setPositionBlock: b,
1007
- setHeader: j,
1008
- setFooter: y,
1009
- header: L,
1010
- footer: U
1011
- } = B(), { currentPage: T, pages: N } = P();
1012
- function F(w = !1) {
1013
- !o && c && !w && d(N[T].name, u, {
1014
- name: m[N[T].name][u].name,
1101
+ setHeader: _,
1102
+ setFooter: A,
1103
+ header: T,
1104
+ footer: N
1105
+ } = L(), { currentPage: y, pages: x } = P();
1106
+ function D(w = !1) {
1107
+ !o && x && c && !w && h(x[y].name, u, {
1108
+ name: C[x[y].name][u].name,
1015
1109
  value: c
1016
- }), l(null), x(null), setTimeout(() => {
1110
+ }), l(null), f(null), setTimeout(() => {
1017
1111
  r(!1);
1018
- }, 150), C(null);
1112
+ }, 150), p(null);
1019
1113
  }
1020
1114
  function V() {
1021
- F(), i({
1115
+ D(), i({
1022
1116
  name: "Layers",
1023
1117
  icon: "TreeStructure"
1024
- }), C(null);
1118
+ }), p(null);
1025
1119
  }
1026
1120
  function g() {
1027
1121
  if (o)
1028
1122
  return new a[s]();
1029
- {
1030
- const w = m[N[T].name][u];
1123
+ if (x) {
1124
+ const w = C[x[y].name][u];
1031
1125
  return new a[w.name](w.value.blockSettings);
1032
1126
  }
1033
1127
  }
1034
- return _.useEffect(() => {
1128
+ return v.useEffect(() => {
1035
1129
  if (s || u && !["header", "footer"].includes(u)) {
1036
1130
  const w = g();
1037
- C(w);
1131
+ p(w);
1038
1132
  } else
1039
- C(null);
1040
- }, [s, u]), _.useEffect(() => {
1041
- u === "header" && j(L);
1042
- }, [u, L]), _.useEffect(() => {
1043
- u === "footer" && y(U);
1044
- }, [u, U]), /* @__PURE__ */ e.jsxs(
1133
+ p(null);
1134
+ }, [s, u]), v.useEffect(() => {
1135
+ u === "header" && _(T);
1136
+ }, [u, T]), v.useEffect(() => {
1137
+ u === "footer" && A(N);
1138
+ }, [u, N]), /* @__PURE__ */ e.jsxs(
1045
1139
  "div",
1046
1140
  {
1047
- className: v(I.render, {
1048
- [I.open]: u || s,
1049
- [I.close]: !u && !s,
1050
- [I.clicked]: n
1141
+ className: B(G.render, {
1142
+ [G.open]: u || s,
1143
+ [G.close]: !u && !s,
1144
+ [G.clicked]: n
1051
1145
  }),
1052
1146
  children: [
1053
- /* @__PURE__ */ e.jsxs("div", { className: I.back, children: [
1147
+ /* @__PURE__ */ e.jsxs("div", { className: G.back, children: [
1054
1148
  /* @__PURE__ */ e.jsx(
1055
- p,
1149
+ m,
1056
1150
  {
1057
1151
  name: "CaretLeft",
1058
1152
  hoverable: !0,
1059
- onClick: () => F()
1060
- }
1061
- ),
1062
- /* @__PURE__ */ e.jsx("h3", { className: I.title, children: s || m[N[T].name] && ((f = m[N[T].name][u]) == null ? void 0 : f.name) || u && E(u) || "Loading" })
1063
- ] }),
1064
- /* @__PURE__ */ e.jsxs("div", { className: I.settings, children: [
1065
- c && /* @__PURE__ */ e.jsx(jo, { block: c }),
1066
- u && ["header", "footer"].includes(u) && /* @__PURE__ */ e.jsx(io, { isHeader: u === "header" }),
1067
- !s && !u && /* @__PURE__ */ e.jsx("div", { className: I.loading, children: "Loading" })
1068
- ] }),
1069
- /* @__PURE__ */ e.jsxs("div", { className: I.buttons, children: [
1070
- o && /* @__PURE__ */ e.jsx(
1071
- Q,
1072
- {
1073
- style: {
1074
- width: "100%"
1075
- },
1076
- onClick: () => {
1077
- r(!0), ["header", "footer"].includes(u) ? u === "header" ? j(L) : y(U) : (S(N[T].name, {
1078
- name: s,
1079
- value: c
1080
- }), b(null)), V();
1081
- },
1082
- children: "Add Section"
1153
+ onClick: () => D()
1083
1154
  }
1084
1155
  ),
1085
- !o && !["header", "footer"].includes(u) && /* @__PURE__ */ e.jsx(
1156
+ /* @__PURE__ */ e.jsx("h3", { className: G.title, children: s || x && C[x[y].name] && ((k = C[x[y].name][u]) == null ? void 0 : k.name) || u && U(u) || "Loading" }),
1157
+ !o && x && !["header", "footer"].includes(u) && /* @__PURE__ */ e.jsx(
1086
1158
  "button",
1087
1159
  {
1088
1160
  onClick: () => {
1089
- r(!0), h(N[T].name, u), F(!0);
1161
+ r(!0), S(x[y].name, u), D(!0);
1090
1162
  },
1091
- className: I.deleteButton,
1163
+ className: G.deleteButton,
1092
1164
  children: /* @__PURE__ */ e.jsx(
1093
- p,
1165
+ m,
1094
1166
  {
1095
1167
  name: "Trash",
1096
1168
  hoverable: !0
@@ -1098,30 +1170,50 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1098
1170
  )
1099
1171
  }
1100
1172
  )
1101
- ] })
1173
+ ] }),
1174
+ /* @__PURE__ */ e.jsxs("div", { className: G.settings, children: [
1175
+ c && /* @__PURE__ */ e.jsx(Po, { block: c }),
1176
+ u && ["header", "footer"].includes(u) && /* @__PURE__ */ e.jsx(po, { isHeader: u === "header" }),
1177
+ !s && !u && /* @__PURE__ */ e.jsx("div", { className: G.loading, children: "Loading" })
1178
+ ] }),
1179
+ o && /* @__PURE__ */ e.jsx("div", { className: G.addButton, children: /* @__PURE__ */ e.jsx(
1180
+ Q,
1181
+ {
1182
+ style: {
1183
+ width: "100%"
1184
+ },
1185
+ onClick: () => {
1186
+ r(!0), !["header", "footer"].includes(u) && x ? (d(x[y].name, {
1187
+ name: s,
1188
+ value: c
1189
+ }), b(null)) : u === "header" ? _(T) : A(N), V();
1190
+ },
1191
+ children: "Add Section"
1192
+ }
1193
+ ) })
1102
1194
  ]
1103
1195
  }
1104
1196
  );
1105
- }, yo = "_settings_1r85j_1", Ao = "_open_1r85j_16", Po = "_close_1r85j_20", Lo = "_header_1r85j_24", To = "_title_1r85j_30", No = "_addButton_1r85j_37", ae = {
1106
- settings: yo,
1107
- open: Ao,
1108
- close: Po,
1109
- header: Lo,
1110
- title: To,
1111
- addButton: No
1112
- }, Fo = "_wrapper_n1a7x_1", Do = "_category_n1a7x_5", Mo = "_categoryTitle_n1a7x_10", Ho = "_color_n1a7x_16", $o = "_content_n1a7x_24", Ro = "_preview_n1a7x_32", Z = {
1113
- wrapper: Fo,
1114
- category: Do,
1115
- categoryTitle: Mo,
1116
- color: Ho,
1117
- content: $o,
1118
- preview: Ro
1119
- }, Eo = () => {
1197
+ }, To = "_settings_1r85j_1", No = "_open_1r85j_16", Fo = "_close_1r85j_20", Do = "_header_1r85j_24", Mo = "_title_1r85j_30", $o = "_addButton_1r85j_37", ae = {
1198
+ settings: To,
1199
+ open: No,
1200
+ close: Fo,
1201
+ header: Do,
1202
+ title: Mo,
1203
+ addButton: $o
1204
+ }, Ho = "_wrapper_n1a7x_1", Ro = "_category_n1a7x_5", Eo = "_categoryTitle_n1a7x_10", Uo = "_color_n1a7x_16", Io = "_content_n1a7x_24", Oo = "_preview_n1a7x_32", Z = {
1205
+ wrapper: Ho,
1206
+ category: Ro,
1207
+ categoryTitle: Eo,
1208
+ color: Uo,
1209
+ content: Io,
1210
+ preview: Oo
1211
+ }, Go = () => {
1120
1212
  const { themeSettings: t, updateColor: o } = H();
1121
1213
  async function n(i, a, s) {
1122
1214
  o(i, a, s);
1123
1215
  }
1124
- const r = He(() => {
1216
+ const r = Re(() => {
1125
1217
  const i = {};
1126
1218
  return Object.entries(t.colors).forEach(([a, s]) => {
1127
1219
  Object.entries(s).forEach(([l, c]) => {
@@ -1134,7 +1226,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1134
1226
  {
1135
1227
  className: Z.category,
1136
1228
  children: [
1137
- /* @__PURE__ */ e.jsx("h2", { className: Z.categoryTitle, children: E(i) }),
1229
+ /* @__PURE__ */ e.jsx("h2", { className: Z.categoryTitle, children: U(i) }),
1138
1230
  Object.entries(a).map(([s, l]) => /* @__PURE__ */ e.jsxs(
1139
1231
  "div",
1140
1232
  {
@@ -1153,14 +1245,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1153
1245
  /* @__PURE__ */ e.jsx(
1154
1246
  ie,
1155
1247
  {
1156
- title: E(s),
1248
+ title: U(s),
1157
1249
  initialColor: l,
1158
1250
  onChange: (c) => n(i, s, c)
1159
1251
  }
1160
1252
  )
1161
1253
  ] }),
1162
1254
  r.includes(l) && /* @__PURE__ */ e.jsx(
1163
- Ke,
1255
+ Ze,
1164
1256
  {
1165
1257
  type: "warning",
1166
1258
  message: "To avoid contrast problems, please use a different color",
@@ -1177,40 +1269,40 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1177
1269
  },
1178
1270
  i
1179
1271
  )) });
1180
- }, Uo = "_wrapper_kb55x_2", Oo = "_category_kb55x_6", Io = "_categoryTitle_kb55x_11", Go = "_color_kb55x_17", qo = "_name_kb55x_23", zo = "_content_kb55x_28", Wo = "_label_kb55x_34", Vo = "_input_kb55x_45", Xo = "_title_kb55x_71", Ko = "_field_kb55x_79", Qo = "_alignments_kb55x_89", Yo = "_lineField_kb55x_95", Jo = "_style_kb55x_101", Zo = "_header_kb55x_108", G = {
1181
- wrapper: Uo,
1182
- category: Oo,
1183
- categoryTitle: Io,
1184
- color: Go,
1185
- name: qo,
1186
- content: zo,
1187
- label: Wo,
1188
- input: Vo,
1189
- title: Xo,
1190
- field: Ko,
1191
- alignments: Qo,
1192
- lineField: Yo,
1193
- style: Jo,
1194
- header: Zo
1195
- }, es = ["left", "center", "right"], ts = ["solid", "dashed"], me = (t) => {
1272
+ }, qo = "_wrapper_kb55x_2", zo = "_category_kb55x_6", Wo = "_categoryTitle_kb55x_11", Vo = "_color_kb55x_17", Xo = "_name_kb55x_23", Ko = "_content_kb55x_28", Qo = "_label_kb55x_34", Yo = "_input_kb55x_45", Jo = "_title_kb55x_71", Zo = "_field_kb55x_79", es = "_alignments_kb55x_89", ts = "_lineField_kb55x_95", ns = "_style_kb55x_101", os = "_header_kb55x_108", q = {
1273
+ wrapper: qo,
1274
+ category: zo,
1275
+ categoryTitle: Wo,
1276
+ color: Vo,
1277
+ name: Xo,
1278
+ content: Ko,
1279
+ label: Qo,
1280
+ input: Yo,
1281
+ title: Jo,
1282
+ field: Zo,
1283
+ alignments: es,
1284
+ lineField: ts,
1285
+ style: ns,
1286
+ header: os
1287
+ }, ss = ["left", "center", "right"], rs = ["solid", "dashed"], me = (t) => {
1196
1288
  const { title: o, children: n, rightAddon: r } = t;
1197
- return /* @__PURE__ */ e.jsxs("div", { className: G.field, children: [
1198
- /* @__PURE__ */ e.jsxs("div", { className: G.header, children: [
1289
+ return /* @__PURE__ */ e.jsxs("div", { className: q.field, children: [
1290
+ /* @__PURE__ */ e.jsxs("div", { className: q.header, children: [
1199
1291
  /* @__PURE__ */ e.jsx("h4", { children: o }),
1200
1292
  r
1201
1293
  ] }),
1202
1294
  n
1203
1295
  ] });
1204
- }, ns = () => {
1205
- const { themeSettings: t, updateInput: o } = H(), n = He(() => t.inputs, [t]), r = (a, s, l) => {
1296
+ }, as = () => {
1297
+ const { themeSettings: t, updateInput: o } = H(), n = Re(() => t.inputs, [t]), r = (a, s, l) => {
1206
1298
  o(a, s, l);
1207
1299
  }, i = (a) => (s) => {
1208
1300
  o(a, s, "color");
1209
1301
  };
1210
- return /* @__PURE__ */ e.jsxs("div", { className: G.wrapper, children: [
1302
+ return /* @__PURE__ */ e.jsxs("div", { className: q.wrapper, children: [
1211
1303
  /* @__PURE__ */ e.jsxs(me, { title: "General", children: [
1212
1304
  /* @__PURE__ */ e.jsx(
1213
- M,
1305
+ $,
1214
1306
  {
1215
1307
  label: "Height (px)",
1216
1308
  value: String(n.general.height),
@@ -1220,7 +1312,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1220
1312
  }
1221
1313
  ),
1222
1314
  /* @__PURE__ */ e.jsx(
1223
- M,
1315
+ $,
1224
1316
  {
1225
1317
  label: "Style name",
1226
1318
  value: n.general.name,
@@ -1239,7 +1331,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1239
1331
  /* @__PURE__ */ e.jsx(
1240
1332
  ie,
1241
1333
  {
1242
- initialColor: E(n.general.color),
1334
+ initialColor: U(n.general.color),
1243
1335
  onChange: i("general"),
1244
1336
  title: "Font Color",
1245
1337
  labelStyle: "secondary"
@@ -1250,8 +1342,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1250
1342
  me,
1251
1343
  {
1252
1344
  title: "Field Fill",
1253
- rightAddon: /* @__PURE__ */ e.jsx("div", { className: G.switch, children: /* @__PURE__ */ e.jsx(
1254
- ve,
1345
+ rightAddon: /* @__PURE__ */ e.jsx("div", { className: q.switch, children: /* @__PURE__ */ e.jsx(
1346
+ Be,
1255
1347
  {
1256
1348
  onChange: (a) => r("field", a, "active"),
1257
1349
  current: n.field.active
@@ -1261,14 +1353,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1261
1353
  /* @__PURE__ */ e.jsx(
1262
1354
  ie,
1263
1355
  {
1264
- initialColor: E(n.field.color),
1356
+ initialColor: U(n.field.color),
1265
1357
  onChange: i("field"),
1266
1358
  title: "Color",
1267
1359
  labelStyle: "secondary"
1268
1360
  }
1269
1361
  ),
1270
1362
  /* @__PURE__ */ e.jsx(
1271
- M,
1363
+ $,
1272
1364
  {
1273
1365
  label: "Opacity (%)",
1274
1366
  value: String(n.field.opacity),
@@ -1284,21 +1376,21 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1284
1376
  me,
1285
1377
  {
1286
1378
  title: "Border",
1287
- rightAddon: /* @__PURE__ */ e.jsx("div", { className: G.switch, children: /* @__PURE__ */ e.jsx(
1288
- ve,
1379
+ rightAddon: /* @__PURE__ */ e.jsx("div", { className: q.switch, children: /* @__PURE__ */ e.jsx(
1380
+ Be,
1289
1381
  {
1290
1382
  onChange: (a) => r("border", a, "active"),
1291
1383
  current: n.border.active
1292
1384
  }
1293
1385
  ) }),
1294
1386
  children: [
1295
- /* @__PURE__ */ e.jsxs("div", { className: G.lineField, children: [
1296
- /* @__PURE__ */ e.jsxs("div", { className: G.style, children: [
1297
- /* @__PURE__ */ e.jsx("span", { className: G.title, children: "Style" }),
1387
+ /* @__PURE__ */ e.jsxs("div", { className: q.lineField, children: [
1388
+ /* @__PURE__ */ e.jsxs("div", { className: q.style, children: [
1389
+ /* @__PURE__ */ e.jsx("span", { className: q.title, children: "Style" }),
1298
1390
  /* @__PURE__ */ e.jsx(
1299
- je,
1391
+ Ae,
1300
1392
  {
1301
- items: ts,
1393
+ items: rs,
1302
1394
  selectedItem: n.border.style,
1303
1395
  onSelect: (a) => r("border", a, "style"),
1304
1396
  getIconName: (a) => a === "solid" ? "Minus" : "Selection"
@@ -1306,7 +1398,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1306
1398
  )
1307
1399
  ] }),
1308
1400
  /* @__PURE__ */ e.jsx(
1309
- M,
1401
+ $,
1310
1402
  {
1311
1403
  label: "Radius (px)",
1312
1404
  value: String(n.border.radius),
@@ -1317,7 +1409,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1317
1409
  )
1318
1410
  ] }),
1319
1411
  /* @__PURE__ */ e.jsx(
1320
- M,
1412
+ $,
1321
1413
  {
1322
1414
  label: "Thickness (px)",
1323
1415
  value: String(n.border.thickness),
@@ -1329,7 +1421,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1329
1421
  /* @__PURE__ */ e.jsx(
1330
1422
  ie,
1331
1423
  {
1332
- initialColor: E(n.border.color),
1424
+ initialColor: U(n.border.color),
1333
1425
  onChange: i("border"),
1334
1426
  title: "Color",
1335
1427
  labelStyle: "secondary"
@@ -1340,7 +1432,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1340
1432
  ),
1341
1433
  /* @__PURE__ */ e.jsxs(me, { title: "Label", children: [
1342
1434
  /* @__PURE__ */ e.jsx(
1343
- M,
1435
+ $,
1344
1436
  {
1345
1437
  label: "Line Height (px)",
1346
1438
  value: String(n.label.height),
@@ -1361,18 +1453,18 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1361
1453
  /* @__PURE__ */ e.jsx(
1362
1454
  ie,
1363
1455
  {
1364
- initialColor: E(n.label.color),
1456
+ initialColor: U(n.label.color),
1365
1457
  onChange: i("label"),
1366
1458
  title: "Color",
1367
1459
  labelStyle: "secondary"
1368
1460
  }
1369
1461
  ),
1370
- /* @__PURE__ */ e.jsxs("div", { className: G.alignments, children: [
1371
- /* @__PURE__ */ e.jsx("h4", { className: G.title, children: "Alignment Type" }),
1462
+ /* @__PURE__ */ e.jsxs("div", { className: q.alignments, children: [
1463
+ /* @__PURE__ */ e.jsx("h4", { className: q.title, children: "Alignment Type" }),
1372
1464
  /* @__PURE__ */ e.jsx(
1373
- je,
1465
+ Ae,
1374
1466
  {
1375
- items: es,
1467
+ items: ss,
1376
1468
  selectedItem: n.label.alignment,
1377
1469
  onSelect: (a) => r("label", a, "alignment"),
1378
1470
  getIconName: (a) => a === "center" ? "AlignCenterHorizontal" : a === "left" ? "AlignLeft" : "AlignRight"
@@ -1381,17 +1473,17 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1381
1473
  ] })
1382
1474
  ] })
1383
1475
  ] });
1384
- }, os = "_wrapper_k9on2_1", ss = "_category_k9on2_5", rs = "_categoryTitle_k9on2_10", as = "_font_k9on2_16", is = "_content_k9on2_36", ls = "_icon_k9on2_42", cs = "_paragraph_k9on2_51", ds = "_deleteIcon_k9on2_55", us = "_iconButton_k9on2_62", W = {
1385
- wrapper: os,
1386
- category: ss,
1387
- categoryTitle: rs,
1388
- font: as,
1389
- content: is,
1390
- icon: ls,
1391
- paragraph: cs,
1392
- deleteIcon: ds,
1393
- iconButton: us
1394
- }, hs = (t) => {
1476
+ }, is = "_wrapper_k9on2_1", ls = "_category_k9on2_5", cs = "_categoryTitle_k9on2_10", ds = "_font_k9on2_16", us = "_content_k9on2_36", hs = "_icon_k9on2_42", ps = "_paragraph_k9on2_51", gs = "_deleteIcon_k9on2_55", ms = "_iconButton_k9on2_62", W = {
1477
+ wrapper: is,
1478
+ category: ls,
1479
+ categoryTitle: cs,
1480
+ font: ds,
1481
+ content: us,
1482
+ icon: hs,
1483
+ paragraph: ps,
1484
+ deleteIcon: gs,
1485
+ iconButton: ms
1486
+ }, Cs = (t) => {
1395
1487
  const { font: o, size: n, id: r, category: i } = t, { setActiveFont: a } = H();
1396
1488
  return /* @__PURE__ */ e.jsxs(
1397
1489
  "div",
@@ -1402,22 +1494,22 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1402
1494
  /* @__PURE__ */ e.jsx(
1403
1495
  "div",
1404
1496
  {
1405
- className: v(W.icon, {
1497
+ className: B(W.icon, {
1406
1498
  [W.paragraph]: i === "paragraph"
1407
1499
  }),
1408
- children: /* @__PURE__ */ e.jsx(p, { name: i === "paragraph" ? "TextB" : "TextH" })
1500
+ children: /* @__PURE__ */ e.jsx(m, { name: i === "paragraph" ? "TextB" : "TextH" })
1409
1501
  }
1410
1502
  ),
1411
1503
  /* @__PURE__ */ e.jsxs("div", { className: W.content, children: [
1412
- /* @__PURE__ */ e.jsx("h2", { className: W.categoryTitle, children: E(r) }),
1504
+ /* @__PURE__ */ e.jsx("h2", { className: W.categoryTitle, children: U(r) }),
1413
1505
  /* @__PURE__ */ e.jsx("span", { className: W.value, children: `${o}, ${n}px` })
1414
1506
  ] })
1415
1507
  ]
1416
1508
  }
1417
1509
  );
1418
- }, gs = () => {
1510
+ }, Ss = () => {
1419
1511
  const { themeSettings: t, setActiveFont: o, activeBlock: n } = H();
1420
- _.useEffect(() => (r(), () => {
1512
+ v.useEffect(() => (r(), () => {
1421
1513
  r();
1422
1514
  }), []);
1423
1515
  function r() {
@@ -1429,9 +1521,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1429
1521
  {
1430
1522
  className: W.category,
1431
1523
  children: [
1432
- /* @__PURE__ */ e.jsx("h2", { className: W.categoryTitle, children: E(i) }),
1524
+ /* @__PURE__ */ e.jsx("h2", { className: W.categoryTitle, children: U(i) }),
1433
1525
  Object.entries(a).map(([s, l]) => /* @__PURE__ */ e.jsx(
1434
- hs,
1526
+ Cs,
1435
1527
  {
1436
1528
  id: s,
1437
1529
  category: i,
@@ -1443,27 +1535,27 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1443
1535
  },
1444
1536
  i
1445
1537
  )) });
1446
- }, ps = "_wrapper_94fpv_1", ms = "_open_94fpv_16", Cs = "_close_94fpv_20", Ss = "_header_94fpv_24", _s = "_title_94fpv_31", xs = "_options_94fpv_37", bs = "_clicked_94fpv_44", ee = {
1447
- wrapper: ps,
1448
- open: ms,
1449
- close: Cs,
1450
- header: Ss,
1451
- title: _s,
1452
- options: xs,
1453
- clicked: bs
1454
- }, ws = () => {
1455
- const { activeBlock: t, setActiveFont: o, activeFont: n, themeSettings: r, updateFont: i } = H(), { fonts: a } = De(), [s, l] = _.useState(null);
1538
+ }, _s = "_wrapper_94fpv_1", bs = "_open_94fpv_16", xs = "_close_94fpv_20", fs = "_header_94fpv_24", vs = "_title_94fpv_31", ws = "_options_94fpv_37", ks = "_clicked_94fpv_44", ee = {
1539
+ wrapper: _s,
1540
+ open: bs,
1541
+ close: xs,
1542
+ header: fs,
1543
+ title: vs,
1544
+ options: ws,
1545
+ clicked: ks
1546
+ }, js = () => {
1547
+ const { activeBlock: t, setActiveFont: o, activeFont: n, themeSettings: r, updateFont: i } = H(), { fonts: a } = He(), [s, l] = v.useState(null);
1456
1548
  function c() {
1457
1549
  o(null);
1458
1550
  }
1459
- function C(S, d) {
1460
- s && n && i(s, n, d, S);
1551
+ function p(d, h) {
1552
+ s && n && i(s, n, h, d);
1461
1553
  }
1462
- const m = _.useMemo(() => n ? r.fonts.heading[n] ? (l("heading"), r.fonts.heading[n]) : r.fonts.paragraph[n] ? (l("paragraph"), r.fonts.paragraph[n]) : (l(null), null) : null, [n, r]);
1554
+ const C = v.useMemo(() => n ? r.fonts.heading[n] ? (l("heading"), r.fonts.heading[n]) : r.fonts.paragraph[n] ? (l("paragraph"), r.fonts.paragraph[n]) : (l(null), null) : null, [n, r]);
1463
1555
  return /* @__PURE__ */ e.jsxs(
1464
1556
  "div",
1465
1557
  {
1466
- className: v(ee.wrapper, {
1558
+ className: B(ee.wrapper, {
1467
1559
  [ee.open]: (t == null ? void 0 : t.name) === "Fonts" && n,
1468
1560
  [ee.close]: (t == null ? void 0 : t.name) !== "Fonts" || !n
1469
1561
  }),
@@ -1475,7 +1567,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1475
1567
  onClick: c,
1476
1568
  children: [
1477
1569
  /* @__PURE__ */ e.jsx(
1478
- p,
1570
+ m,
1479
1571
  {
1480
1572
  name: "CaretLeft",
1481
1573
  hoverable: !0
@@ -1485,22 +1577,22 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1485
1577
  ]
1486
1578
  }
1487
1579
  ),
1488
- n && m && /* @__PURE__ */ e.jsxs("div", { className: ee.options, children: [
1580
+ n && C && /* @__PURE__ */ e.jsxs("div", { className: ee.options, children: [
1489
1581
  /* @__PURE__ */ e.jsx(
1490
1582
  se,
1491
1583
  {
1492
1584
  label: "Font",
1493
- value: m.font,
1494
- onChange: (S) => C(S, "font"),
1495
- options: [...a.filter((S) => S !== m.font)]
1585
+ value: C.font,
1586
+ onChange: (d) => p(d, "font"),
1587
+ options: [...a.filter((d) => d !== C.font)]
1496
1588
  }
1497
1589
  ),
1498
1590
  /* @__PURE__ */ e.jsx(
1499
1591
  se,
1500
1592
  {
1501
1593
  label: "Size",
1502
- value: String(m.size),
1503
- onChange: (S) => C(S, "size"),
1594
+ value: String(C.size),
1595
+ onChange: (d) => p(d, "size"),
1504
1596
  options: Ce
1505
1597
  }
1506
1598
  ),
@@ -1508,24 +1600,24 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1508
1600
  se,
1509
1601
  {
1510
1602
  label: "Weight",
1511
- value: String(m.weight),
1512
- onChange: (S) => C(S, "weight"),
1513
- options: Qe
1603
+ value: String(C.weight),
1604
+ onChange: (d) => p(d, "weight"),
1605
+ options: et
1514
1606
  }
1515
1607
  )
1516
1608
  ] })
1517
1609
  ]
1518
1610
  }
1519
1611
  );
1520
- }, fs = "_wrapper_94fpv_1", ks = "_open_94fpv_16", vs = "_close_94fpv_20", js = "_header_94fpv_24", Bs = "_title_94fpv_31", ys = "_options_94fpv_37", As = "_clicked_94fpv_44", te = {
1521
- wrapper: fs,
1522
- open: ks,
1523
- close: vs,
1524
- header: js,
1525
- title: Bs,
1526
- options: ys,
1527
- clicked: As
1528
- }, Ee = () => {
1612
+ }, ys = "_wrapper_94fpv_1", Bs = "_open_94fpv_16", As = "_close_94fpv_20", Ps = "_header_94fpv_24", Ls = "_title_94fpv_31", Ts = "_options_94fpv_37", Ns = "_clicked_94fpv_44", te = {
1613
+ wrapper: ys,
1614
+ open: Bs,
1615
+ close: As,
1616
+ header: Ps,
1617
+ title: Ls,
1618
+ options: Ts,
1619
+ clicked: Ns
1620
+ }, Oe = () => {
1529
1621
  const { activeBlock: t, themeSettings: o, updateBorder: n, setActiveBlock: r } = H();
1530
1622
  function i(l, c) {
1531
1623
  n(c, l);
@@ -1533,18 +1625,18 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1533
1625
  function a() {
1534
1626
  r(null);
1535
1627
  }
1536
- const s = _.useMemo(() => o.borders, [o]);
1628
+ const s = v.useMemo(() => o.borders, [o]);
1537
1629
  return /* @__PURE__ */ e.jsxs(
1538
1630
  "div",
1539
1631
  {
1540
- className: v(te.wrapper, {
1632
+ className: B(te.wrapper, {
1541
1633
  [te.open]: (t == null ? void 0 : t.name) === "Borders",
1542
1634
  [te.close]: (t == null ? void 0 : t.name) !== "Borders"
1543
1635
  }),
1544
1636
  children: [
1545
1637
  /* @__PURE__ */ e.jsxs("div", { className: te.header, children: [
1546
1638
  /* @__PURE__ */ e.jsx(
1547
- p,
1639
+ m,
1548
1640
  {
1549
1641
  name: "CaretLeft",
1550
1642
  hoverable: !0,
@@ -1555,7 +1647,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1555
1647
  ] }),
1556
1648
  /* @__PURE__ */ e.jsxs("div", { className: te.options, children: [
1557
1649
  /* @__PURE__ */ e.jsx(
1558
- M,
1650
+ $,
1559
1651
  {
1560
1652
  label: "Border Radius (px)",
1561
1653
  value: String(s.radius),
@@ -1565,7 +1657,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1565
1657
  }
1566
1658
  ),
1567
1659
  /* @__PURE__ */ e.jsx(
1568
- M,
1660
+ $,
1569
1661
  {
1570
1662
  label: "Border Thickness (px)",
1571
1663
  value: String(s.thickness),
@@ -1578,20 +1670,20 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1578
1670
  ]
1579
1671
  }
1580
1672
  );
1581
- }, Ps = "_wrapper_1j33r_1", Ls = "_open_1j33r_16", Ts = "_close_1j33r_20", Ns = "_header_1j33r_24", Fs = "_title_1j33r_31", Ds = "_options_1j33r_37", Ms = "_clicked_1j33r_44", Hs = "_label_1j33r_48", $s = "_alignments_1j33r_55", Rs = "_blocks_1j33r_61", Es = "_alignment_1j33r_55", Us = "_active_1j33r_75", $ = {
1582
- wrapper: Ps,
1583
- open: Ls,
1584
- close: Ts,
1585
- header: Ns,
1586
- title: Fs,
1587
- options: Ds,
1588
- clicked: Ms,
1589
- label: Hs,
1590
- alignments: $s,
1591
- blocks: Rs,
1592
- alignment: Es,
1593
- active: Us
1594
- }, Os = ["left", "center", "right"], Ue = () => {
1673
+ }, Fs = "_wrapper_1j33r_1", Ds = "_open_1j33r_16", Ms = "_close_1j33r_20", $s = "_header_1j33r_24", Hs = "_title_1j33r_31", Rs = "_options_1j33r_37", Es = "_clicked_1j33r_44", Us = "_label_1j33r_48", Is = "_alignments_1j33r_55", Os = "_blocks_1j33r_61", Gs = "_alignment_1j33r_55", qs = "_active_1j33r_75", R = {
1674
+ wrapper: Fs,
1675
+ open: Ds,
1676
+ close: Ms,
1677
+ header: $s,
1678
+ title: Hs,
1679
+ options: Rs,
1680
+ clicked: Es,
1681
+ label: Us,
1682
+ alignments: Is,
1683
+ blocks: Os,
1684
+ alignment: Gs,
1685
+ active: qs
1686
+ }, zs = ["left", "center", "right"], Ge = () => {
1595
1687
  const { activeBlock: t, themeSettings: o, updateButton: n, setActiveBlock: r } = H();
1596
1688
  function i(l, c) {
1597
1689
  n(c, l);
@@ -1599,29 +1691,29 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1599
1691
  function a() {
1600
1692
  r(null);
1601
1693
  }
1602
- const s = _.useMemo(() => o.buttons, [o]);
1694
+ const s = v.useMemo(() => o.buttons, [o]);
1603
1695
  return /* @__PURE__ */ e.jsxs(
1604
1696
  "div",
1605
1697
  {
1606
- className: v($.wrapper, {
1607
- [$.open]: (t == null ? void 0 : t.name) === "Buttons",
1608
- [$.close]: (t == null ? void 0 : t.name) !== "Buttons"
1698
+ className: B(R.wrapper, {
1699
+ [R.open]: (t == null ? void 0 : t.name) === "Buttons",
1700
+ [R.close]: (t == null ? void 0 : t.name) !== "Buttons"
1609
1701
  }),
1610
1702
  children: [
1611
- /* @__PURE__ */ e.jsxs("div", { className: $.header, children: [
1703
+ /* @__PURE__ */ e.jsxs("div", { className: R.header, children: [
1612
1704
  /* @__PURE__ */ e.jsx(
1613
- p,
1705
+ m,
1614
1706
  {
1615
1707
  name: "CaretLeft",
1616
1708
  hoverable: !0,
1617
1709
  onClick: a
1618
1710
  }
1619
1711
  ),
1620
- /* @__PURE__ */ e.jsx("span", { className: $.title, children: "Buttons Style" })
1712
+ /* @__PURE__ */ e.jsx("span", { className: R.title, children: "Buttons Style" })
1621
1713
  ] }),
1622
- s && /* @__PURE__ */ e.jsxs("div", { className: $.options, children: [
1714
+ s && /* @__PURE__ */ e.jsxs("div", { className: R.options, children: [
1623
1715
  /* @__PURE__ */ e.jsx(
1624
- M,
1716
+ $,
1625
1717
  {
1626
1718
  label: "Height (px)",
1627
1719
  value: String(s.height),
@@ -1640,7 +1732,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1640
1732
  }
1641
1733
  ),
1642
1734
  /* @__PURE__ */ e.jsx(
1643
- M,
1735
+ $,
1644
1736
  {
1645
1737
  label: "Border Radius (px)",
1646
1738
  value: String(s.radius),
@@ -1649,19 +1741,19 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1649
1741
  min: 0
1650
1742
  }
1651
1743
  ),
1652
- /* @__PURE__ */ e.jsxs("div", { className: $.alignments, children: [
1653
- /* @__PURE__ */ e.jsx("h4", { className: $.label, children: "Alignment Type" }),
1654
- /* @__PURE__ */ e.jsx("div", { className: $.blocks, children: Os.map((l) => /* @__PURE__ */ e.jsx(
1744
+ /* @__PURE__ */ e.jsxs("div", { className: R.alignments, children: [
1745
+ /* @__PURE__ */ e.jsx("h4", { className: R.label, children: "Alignment Type" }),
1746
+ /* @__PURE__ */ e.jsx("div", { className: R.blocks, children: zs.map((l) => /* @__PURE__ */ e.jsx(
1655
1747
  "div",
1656
1748
  {
1657
- className: v($.alignment, {
1658
- [$.active]: s.alignment === l
1749
+ className: B(R.alignment, {
1750
+ [R.active]: s.alignment === l
1659
1751
  }),
1660
1752
  onClick: () => {
1661
1753
  i(l, "alignment");
1662
1754
  },
1663
1755
  children: /* @__PURE__ */ e.jsx(
1664
- p,
1756
+ m,
1665
1757
  {
1666
1758
  name: l === "center" ? "AlignCenterHorizontal" : l === "left" ? "AlignLeft" : "AlignRight",
1667
1759
  fill: s.alignment === l ? "#252525" : "#757575"
@@ -1675,14 +1767,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1675
1767
  ]
1676
1768
  }
1677
1769
  );
1678
- }, Is = () => {
1770
+ }, Ws = () => {
1679
1771
  const { activeBlock: t } = H();
1680
1772
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1681
- (t == null ? void 0 : t.name) === "Fonts" && /* @__PURE__ */ e.jsx(ws, {}),
1682
- (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ee, {}),
1683
- (t == null ? void 0 : t.name) === "Buttons" && /* @__PURE__ */ e.jsx(Ue, {})
1773
+ (t == null ? void 0 : t.name) === "Fonts" && /* @__PURE__ */ e.jsx(js, {}),
1774
+ (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Oe, {}),
1775
+ (t == null ? void 0 : t.name) === "Buttons" && /* @__PURE__ */ e.jsx(Ge, {})
1684
1776
  ] });
1685
- }, Gs = () => {
1777
+ }, Vs = () => {
1686
1778
  const { activeBlock: t, setActiveBlock: o } = H(), { activeBlock: n } = Se();
1687
1779
  function r() {
1688
1780
  o(null);
@@ -1690,14 +1782,14 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1690
1782
  return /* @__PURE__ */ e.jsxs(
1691
1783
  "div",
1692
1784
  {
1693
- className: v(ae.settings, {
1785
+ className: B(ae.settings, {
1694
1786
  [ae.open]: t,
1695
1787
  [ae.close]: !t || n.name !== "Theme"
1696
1788
  }),
1697
1789
  children: [
1698
1790
  /* @__PURE__ */ e.jsxs("div", { className: ae.header, children: [
1699
1791
  /* @__PURE__ */ e.jsx(
1700
- p,
1792
+ m,
1701
1793
  {
1702
1794
  name: "CaretLeft",
1703
1795
  hoverable: !0,
@@ -1706,16 +1798,16 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1706
1798
  ),
1707
1799
  /* @__PURE__ */ e.jsx("span", { className: ae.title, children: t == null ? void 0 : t.name })
1708
1800
  ] }),
1709
- (t == null ? void 0 : t.name) === "Fonts" && /* @__PURE__ */ e.jsx(gs, {}),
1710
- (t == null ? void 0 : t.name) === "Colors" && /* @__PURE__ */ e.jsx(Eo, {}),
1711
- (t == null ? void 0 : t.name) === "Inputs" && /* @__PURE__ */ e.jsx(ns, {}),
1712
- (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ee, {}),
1713
- (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ue, {}),
1714
- /* @__PURE__ */ e.jsx(Is, {})
1801
+ (t == null ? void 0 : t.name) === "Fonts" && /* @__PURE__ */ e.jsx(Ss, {}),
1802
+ (t == null ? void 0 : t.name) === "Colors" && /* @__PURE__ */ e.jsx(Go, {}),
1803
+ (t == null ? void 0 : t.name) === "Inputs" && /* @__PURE__ */ e.jsx(as, {}),
1804
+ (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Oe, {}),
1805
+ (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ge, {}),
1806
+ /* @__PURE__ */ e.jsx(Ws, {})
1715
1807
  ]
1716
1808
  }
1717
1809
  );
1718
- }, qs = () => {
1810
+ }, Xs = () => {
1719
1811
  const { activeBlock: t } = Se(), { activeBlock: o } = K();
1720
1812
  function n() {
1721
1813
  switch (t.name) {
@@ -1729,29 +1821,29 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1729
1821
  return "Settings";
1730
1822
  }
1731
1823
  }
1732
- return /* @__PURE__ */ e.jsxs("div", { className: Le.sidebar, children: [
1733
- /* @__PURE__ */ e.jsx("h3", { className: Le.title, children: n() }),
1734
- t.name === "Layers" && /* @__PURE__ */ e.jsx(ao, {}),
1735
- t.name === "Add" && /* @__PURE__ */ e.jsx(Re, {}),
1736
- /* @__PURE__ */ e.jsx(Bo, { isAdd: !!o }),
1737
- /* @__PURE__ */ e.jsx(Gs, {}),
1738
- t.name === "Theme" && /* @__PURE__ */ e.jsx(go, {}),
1739
- t.name === "Settings" && /* @__PURE__ */ e.jsx(lo, {})
1824
+ return /* @__PURE__ */ e.jsxs("div", { className: Fe.sidebar, children: [
1825
+ /* @__PURE__ */ e.jsx("h3", { className: Fe.title, children: n() }),
1826
+ t.name === "Layers" && /* @__PURE__ */ e.jsx(ho, {}),
1827
+ t.name === "Add" && /* @__PURE__ */ e.jsx(Ie, {}),
1828
+ /* @__PURE__ */ e.jsx(Lo, { isAdd: !!o }),
1829
+ /* @__PURE__ */ e.jsx(Vs, {}),
1830
+ t.name === "Theme" && /* @__PURE__ */ e.jsx(_o, {}),
1831
+ t.name === "Settings" && /* @__PURE__ */ e.jsx(go, {})
1740
1832
  ] });
1741
- }, zs = "_wrapper_jjfwh_1", Ws = "_header_jjfwh_12", Vs = "_content_jjfwh_21", Xs = "_buttons_jjfwh_29", Ks = "_cancel_jjfwh_35", Qs = "_label_jjfwh_40", Ys = "_description_jjfwh_41", Js = "_preview_jjfwh_49", Zs = "_block_jjfwh_55", er = "_slug_jjfwh_63", tr = "_title_jjfwh_69", R = {
1742
- wrapper: zs,
1743
- header: Ws,
1744
- content: Vs,
1745
- buttons: Xs,
1746
- cancel: Ks,
1747
- label: Qs,
1748
- description: Ys,
1749
- preview: Js,
1750
- block: Zs,
1751
- slug: er,
1752
- title: tr
1753
- }, nr = () => {
1754
- var F, V, g, f, w, A;
1833
+ }, Ks = "_wrapper_jjfwh_1", Qs = "_header_jjfwh_12", Ys = "_content_jjfwh_21", Js = "_buttons_jjfwh_29", Zs = "_cancel_jjfwh_35", er = "_label_jjfwh_40", tr = "_description_jjfwh_41", nr = "_preview_jjfwh_49", or = "_block_jjfwh_55", sr = "_slug_jjfwh_63", rr = "_title_jjfwh_69", E = {
1834
+ wrapper: Ks,
1835
+ header: Qs,
1836
+ content: Ys,
1837
+ buttons: Js,
1838
+ cancel: Zs,
1839
+ label: er,
1840
+ description: tr,
1841
+ preview: nr,
1842
+ block: or,
1843
+ slug: sr,
1844
+ title: rr
1845
+ }, ar = () => {
1846
+ var D, V, g, k, w, F;
1755
1847
  const {
1756
1848
  setIsOpenModal: t,
1757
1849
  pages: o,
@@ -1761,100 +1853,100 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1761
1853
  setIsEdit: a,
1762
1854
  editedPage: s,
1763
1855
  setEditedPage: l
1764
- } = P(), { createPage: c, updatePage: C } = B(), [m, S] = _.useState(s ? (F = o[s]) == null ? void 0 : F.path : ""), [d, u] = _.useState(s ? (V = o[s]) == null ? void 0 : V.name : ""), [x, h] = _.useState(
1765
- s ? (g = o[s]) == null ? void 0 : g.seo.description : ""
1766
- ), [b, j] = _.useState(
1767
- s ? (f = o[s]) == null ? void 0 : f.visibility : "public"
1856
+ } = P(), { createPage: c, updatePage: p } = L(), [C, d] = v.useState(s ? o && ((D = o[s]) == null ? void 0 : D.path) : ""), [h, u] = v.useState(s ? o && ((V = o[s]) == null ? void 0 : V.name) : ""), [f, S] = v.useState(
1857
+ s ? o && ((g = o[s]) == null ? void 0 : g.seo.description) : ""
1858
+ ), [b, _] = v.useState(
1859
+ s ? o && ((k = o[s]) == null ? void 0 : k.visibility) : "public"
1768
1860
  );
1769
- function y() {
1770
- S(""), u(""), h(""), j("public"), a(!1), l(null);
1861
+ function A() {
1862
+ d(""), u(""), S(""), _("public"), a(!1), l(null);
1771
1863
  }
1772
- function L() {
1773
- y(), t(!1);
1864
+ function T() {
1865
+ A(), t(!1);
1774
1866
  }
1775
- function U(k) {
1776
- return k[0] === "/" ? k : "/" + k;
1867
+ function N(j) {
1868
+ return j[0] === "/" ? j : "/" + j;
1777
1869
  }
1778
- function T() {
1870
+ function y() {
1779
1871
  n({
1780
- path: U(m),
1781
- name: d || m,
1872
+ path: N(C),
1873
+ name: h || C || "",
1782
1874
  icon: "File",
1783
1875
  seo: {
1784
- title: d,
1785
- description: x
1876
+ title: h || "",
1877
+ description: f || ""
1786
1878
  },
1787
- visibility: b
1788
- }), c(d), L();
1879
+ visibility: b || "public"
1880
+ }), c(h), T();
1789
1881
  }
1790
- function N() {
1791
- C(o[s].name, d || m), r(s, {
1792
- path: U(m),
1793
- name: d || m,
1794
- icon: o[s].icon || "file",
1882
+ function x() {
1883
+ o && (p(o[s].name || "", h || C || ""), r(s, {
1884
+ path: N(C),
1885
+ name: h || C,
1886
+ icon: o[s].icon || "File",
1795
1887
  seo: {
1796
- title: d,
1797
- description: x
1888
+ title: h || "",
1889
+ description: f || ""
1798
1890
  },
1799
- visibility: b
1800
- }), L();
1891
+ visibility: b || "public"
1892
+ })), T();
1801
1893
  }
1802
1894
  return /* @__PURE__ */ e.jsxs(
1803
1895
  "div",
1804
1896
  {
1805
- className: R.wrapper,
1806
- onClick: (k) => k.stopPropagation(),
1897
+ className: E.wrapper,
1898
+ onClick: (j) => j.stopPropagation(),
1807
1899
  children: [
1808
- /* @__PURE__ */ e.jsxs("div", { className: R.header, children: [
1900
+ /* @__PURE__ */ e.jsxs("div", { className: E.header, children: [
1809
1901
  /* @__PURE__ */ e.jsxs("h2", { children: [
1810
1902
  i ? "Edit" : "Create",
1811
1903
  " Blank Page"
1812
1904
  ] }),
1813
1905
  /* @__PURE__ */ e.jsx(
1814
- p,
1906
+ m,
1815
1907
  {
1816
1908
  name: "X",
1817
1909
  fill: "#757575",
1818
1910
  hoverable: !0,
1819
- onClick: L
1911
+ onClick: T
1820
1912
  }
1821
1913
  )
1822
1914
  ] }),
1823
- /* @__PURE__ */ e.jsxs("div", { className: R.content, children: [
1915
+ /* @__PURE__ */ e.jsxs("div", { className: E.content, children: [
1824
1916
  /* @__PURE__ */ e.jsx(
1825
- M,
1917
+ $,
1826
1918
  {
1827
1919
  label: "Page Slug",
1828
- onChange: (k) => S(k),
1829
- value: m,
1920
+ onChange: (j) => d(j),
1921
+ value: C,
1830
1922
  placeholder: "path-to-page",
1831
- disabled: !!(s && ((w = o[s]) != null && w.name) && le.includes(o[s].name)),
1923
+ disabled: !!(s && o && ((w = o[s]) != null && w.name) && le.includes(o[s].name)),
1832
1924
  required: !0,
1833
1925
  regex: "^.+$"
1834
1926
  }
1835
1927
  ),
1836
1928
  /* @__PURE__ */ e.jsx(
1837
- M,
1929
+ $,
1838
1930
  {
1839
1931
  label: "Page Title",
1840
- onChange: (k) => u(k),
1841
- value: d,
1932
+ onChange: (j) => u(j),
1933
+ value: h,
1842
1934
  placeholder: "Contact us",
1843
- disabled: !!(s && ((A = o[s]) != null && A.name) && le.includes(o[s].name))
1935
+ disabled: !!(s && o && ((F = o[s]) != null && F.name) && le.includes(o[s].name))
1844
1936
  }
1845
1937
  ),
1846
1938
  /* @__PURE__ */ e.jsx(
1847
- Ye,
1939
+ tt,
1848
1940
  {
1849
1941
  label: "Description",
1850
- onChange: (k) => h(k),
1851
- value: x,
1942
+ onChange: (j) => S(j),
1943
+ value: f,
1852
1944
  placeholder: "Contact us at any time of the day or night. You are always welcome",
1853
1945
  maxLength: 150
1854
1946
  }
1855
1947
  ),
1856
1948
  /* @__PURE__ */ e.jsx(
1857
- Je,
1949
+ nt,
1858
1950
  {
1859
1951
  label: "Visibility",
1860
1952
  defaultValue: b,
@@ -1868,32 +1960,32 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1868
1960
  label: "Private"
1869
1961
  }
1870
1962
  ],
1871
- onChange: (k) => j(k)
1963
+ onChange: (j) => _(j)
1872
1964
  }
1873
1965
  ),
1874
- /* @__PURE__ */ e.jsxs("div", { className: R.preview, children: [
1875
- /* @__PURE__ */ e.jsx("span", { className: R.label, children: "Preview" }),
1876
- /* @__PURE__ */ e.jsxs("div", { className: R.block, children: [
1877
- /* @__PURE__ */ e.jsx("span", { className: R.slug, children: m || "yoursite.url" }),
1878
- /* @__PURE__ */ e.jsx("span", { className: R.title, children: d || "My Blank Page" }),
1879
- /* @__PURE__ */ e.jsx("span", { className: R.description, children: x || "It is My Description" })
1966
+ /* @__PURE__ */ e.jsxs("div", { className: E.preview, children: [
1967
+ /* @__PURE__ */ e.jsx("span", { className: E.label, children: "Preview" }),
1968
+ /* @__PURE__ */ e.jsxs("div", { className: E.block, children: [
1969
+ /* @__PURE__ */ e.jsx("span", { className: E.slug, children: C || "yoursite.url" }),
1970
+ /* @__PURE__ */ e.jsx("span", { className: E.title, children: h || "My Blank Page" }),
1971
+ /* @__PURE__ */ e.jsx("span", { className: E.description, children: f || "It is My Description" })
1880
1972
  ] })
1881
1973
  ] })
1882
1974
  ] }),
1883
- /* @__PURE__ */ e.jsxs("div", { className: R.buttons, children: [
1975
+ /* @__PURE__ */ e.jsxs("div", { className: E.buttons, children: [
1884
1976
  /* @__PURE__ */ e.jsx(
1885
1977
  Q,
1886
1978
  {
1887
- className: R.cancel,
1888
- onClick: L,
1979
+ className: E.cancel,
1980
+ onClick: T,
1889
1981
  children: "Cancel"
1890
1982
  }
1891
1983
  ),
1892
1984
  /* @__PURE__ */ e.jsx(
1893
1985
  Q,
1894
1986
  {
1895
- onClick: i ? N : T,
1896
- disabled: m.length === 0,
1987
+ onClick: i ? x : y,
1988
+ disabled: C.length === 0,
1897
1989
  children: i ? "Update" : "Create"
1898
1990
  }
1899
1991
  )
@@ -1901,36 +1993,36 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1901
1993
  ]
1902
1994
  }
1903
1995
  );
1904
- }, or = "_layout_kjedu_1", sr = "_main_kjedu_8", rr = "_content_kjedu_15", fe = {
1905
- layout: or,
1906
- main: sr,
1907
- content: rr
1908
- }, ar = () => {
1909
- const { isOpenModal: t, setIsOpenModal: o } = P(), { openModal: n, setOpenModal: r } = Ze();
1996
+ }, ir = "_layout_vvs1k_1", lr = "_main_vvs1k_8", cr = "_content_vvs1k_15", we = {
1997
+ layout: ir,
1998
+ main: lr,
1999
+ content: cr
2000
+ }, dr = () => {
2001
+ const { isOpenModal: t, setIsOpenModal: o } = P(), { openModal: n, setOpenModal: r } = ot();
1910
2002
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1911
- /* @__PURE__ */ e.jsxs("div", { className: fe.layout, children: [
1912
- /* @__PURE__ */ e.jsx(Vt, {}),
1913
- /* @__PURE__ */ e.jsxs("main", { className: fe.main, children: [
1914
- /* @__PURE__ */ e.jsx(Et, {}),
1915
- /* @__PURE__ */ e.jsxs("div", { className: fe.content, children: [
1916
- /* @__PURE__ */ e.jsx(qs, {}),
1917
- /* @__PURE__ */ e.jsx(Un, {})
2003
+ /* @__PURE__ */ e.jsxs("div", { className: we.layout, children: [
2004
+ /* @__PURE__ */ e.jsx(Yt, {}),
2005
+ /* @__PURE__ */ e.jsxs("main", { className: we.main, children: [
2006
+ /* @__PURE__ */ e.jsx(Gt, {}),
2007
+ /* @__PURE__ */ e.jsxs("div", { className: we.content, children: [
2008
+ /* @__PURE__ */ e.jsx(Xs, {}),
2009
+ /* @__PURE__ */ e.jsx(zn, {})
1918
2010
  ] })
1919
2011
  ] })
1920
2012
  ] }),
1921
- t && /* @__PURE__ */ e.jsx(Be, { close: o, children: /* @__PURE__ */ e.jsx(nr, {}) }),
1922
- n && /* @__PURE__ */ e.jsx(Be, { close: r, children: /* @__PURE__ */ e.jsx(et, {}) })
2013
+ t && /* @__PURE__ */ e.jsx(Pe, { close: o, children: /* @__PURE__ */ e.jsx(ar, {}) }),
2014
+ n && /* @__PURE__ */ e.jsx(Pe, { close: r, children: /* @__PURE__ */ e.jsx(st, {}) })
1923
2015
  ] });
1924
2016
  };
1925
2017
  async function ne(t, o) {
1926
- const n = localStorage.getItem("shopId") || void 0, r = `${ot}/${t}/builder/shops/${n}/${o}`, i = localStorage.getItem("accessToken") || void 0;
1927
- return (await Me.get(r, {
2018
+ const n = localStorage.getItem("shopId") || void 0, r = `${Ee}/${t}/builder/shops/${n}/${o}`, i = localStorage.getItem("accessToken") || void 0;
2019
+ return (await ke.get(r, {
1928
2020
  headers: {
1929
2021
  Authorization: `Bearer ${i}`
1930
2022
  }
1931
2023
  })).data;
1932
2024
  }
1933
- async function ir() {
2025
+ async function ur() {
1934
2026
  try {
1935
2027
  const [t, o, n, r, i, a] = await Promise.allSettled([
1936
2028
  ne("v1", "general"),
@@ -1952,17 +2044,17 @@ async function ir() {
1952
2044
  throw console.error("Error fetching page data:", t), t;
1953
2045
  }
1954
2046
  }
1955
- async function lr() {
2047
+ async function hr() {
1956
2048
  try {
1957
- const { data: t } = await Me.get(
1958
- `${st}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`
2049
+ const { data: t } = await ke.get(
2050
+ `${it}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`
1959
2051
  );
1960
2052
  return t.items;
1961
2053
  } catch (t) {
1962
2054
  throw console.error("Error fetching page data:", t), t;
1963
2055
  }
1964
2056
  }
1965
- function hr() {
2057
+ function Sr() {
1966
2058
  const {
1967
2059
  editBlock: t,
1968
2060
  currentBlock: o,
@@ -1971,41 +2063,71 @@ function hr() {
1971
2063
  setHeader: i,
1972
2064
  footer: a,
1973
2065
  setFooter: s
1974
- } = B.getState(), { currentPage: l, pages: c } = P.getState(), { currentInstance: C, activeBlock: m } = K.getState();
1975
- !m && C && (o === "header" && i(r), o === "footer" && s(a), t(c[l].name, o, {
2066
+ } = L.getState(), { currentPage: l, pages: c } = P.getState(), { currentInstance: p, activeBlock: C } = K.getState();
2067
+ !C && p && c && (o === "header" && i(r), o === "footer" && s(a), t(c[l].name, o, {
1976
2068
  name: n[c[l].name][o].name,
1977
- value: C
2069
+ value: p
1978
2070
  }));
1979
2071
  }
1980
- const gr = (t) => {
1981
- const { blocks: o, settings: n, header: r, footer: i } = t, { setBlocks: a, setSourceBlocks: s } = K(), { fonts: l, setFonts: c } = De(), { setSettings: C } = J(), { setPageContext: m } = P(), { setHeader: S, setFooter: d } = B();
1982
- return _.useEffect(() => {
1983
- const u = {};
1984
- Object.keys(o).map((h) => {
1985
- u[h] = o[h];
1986
- }), s(u), a(u), S(r), d(i), C(n), (async () => {
2072
+ async function pr() {
2073
+ const t = localStorage.getItem("shopId") || void 0, o = `${Ee}/v1/builder/shops/${t}/pages`, n = localStorage.getItem("accessToken") || void 0;
2074
+ return (await ke.get(o, {
2075
+ headers: {
2076
+ Authorization: `Bearer ${n}`
2077
+ }
2078
+ })).data;
2079
+ }
2080
+ const _r = (t) => {
2081
+ const { blocks: o, settings: n, header: r, footer: i } = t, { setBlocks: a, setSourceBlocks: s } = K(), { fonts: l, setFonts: c } = He(), { setSettings: p } = J(), { setPageContext: C, setPages: d } = P(), { setHeader: h, setFooter: u } = L();
2082
+ function f(S) {
2083
+ return S[0] === "/" ? S.slice(1) : S;
2084
+ }
2085
+ return v.useEffect(() => {
2086
+ const S = {};
2087
+ Object.keys(o).map((_) => {
2088
+ S[_] = o[_];
2089
+ }), s(S), a(S), h(r), u(i), p(n), (async () => {
1987
2090
  if (l.length === 0) {
1988
- const j = await lr();
1989
- c([...j.map((y) => y.family)]);
2091
+ const y = await hr();
2092
+ c([...y.map((x) => x.family)]);
1990
2093
  }
1991
- let h = {
1992
- listings: [],
1993
- products: [],
1994
- reviews: [],
1995
- categories: [],
1996
- faqs: [],
1997
- general: []
2094
+ let _ = {
2095
+ listings: null,
2096
+ products: null,
2097
+ reviews: null,
2098
+ categories: null,
2099
+ faqs: null,
2100
+ general: null
1998
2101
  };
1999
- const b = await ir();
2000
- Object.keys(b).map((j) => {
2001
- const y = j;
2002
- h[y] = b[y].value.data;
2003
- }), m(h);
2102
+ const A = await ur();
2103
+ console.log("Data", A), Object.keys(A).map((y) => {
2104
+ const x = y;
2105
+ _[x] = A[x].value.data;
2106
+ }), C(_);
2107
+ const T = await pr();
2108
+ console.log(T);
2109
+ const N = {};
2110
+ T.data.forEach((y) => {
2111
+ const x = f(y.path);
2112
+ y.path === "/" ? N.home = {
2113
+ ...y,
2114
+ icon: be.home.icon,
2115
+ name: "home"
2116
+ } : be[x] ? N[x] = {
2117
+ ...y,
2118
+ icon: be[x].icon,
2119
+ name: x
2120
+ } : N[x] = {
2121
+ ...y,
2122
+ icon: "File",
2123
+ name: x
2124
+ };
2125
+ }), console.log("Buffer", N), d(N);
2004
2126
  })();
2005
- }, []), /* @__PURE__ */ e.jsx(ar, {});
2127
+ }, []), /* @__PURE__ */ e.jsx(dr, {});
2006
2128
  };
2007
2129
  export {
2008
- gr as Builder,
2009
- hr as hotReload,
2010
- ur as iconNames
2130
+ _r as Builder,
2131
+ Sr as hotReload,
2132
+ Cr as iconNames
2011
2133
  };