@eigenpal/docx-editor-vue 1.0.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- const e=require(`./_plugin-vue_export-helper-CX7YVcP6.cjs`);let t=require(`vue`),n=require(`@eigenpal/docx-editor-core/utils`),r=require(`prosemirror-state`);var i={undo:[`M280-200v-80h284q63 0 109.5-40T720-420q0-60-46.5-100T564-560H312l104 104-56 56-200-200 200-200 56 56-104 104h252q97 0 166.5 63T800-420q0 94-69.5 157T564-200H280Z`],redo:[`M396-200q-97 0-166.5-63T160-420q0-94 69.5-157T396-640h252L544-744l56-56 200 200-200 200-56-56 104-104H396q-63 0-109.5 40T240-420q0 60 46.5 100T396-280h284v80H396Z`],print:[`M640-640v-120H320v120h-80v-200h480v200h-80Zm-480 80h640-640Zm560 100q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320Zm80 80H240v-160H80v-240q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v240H720v160Zm80-240v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160h80v-80h480v80h80Z`],file_download:[`M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z`],file_upload:[`M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z`],format_bold:[`M272-200v-560h221q65 0 120 40t55 111q0 51-23 78.5T602-491q25 11 55.5 41t30.5 90q0 89-65 124.5T501-200H272Zm121-112h104q48 0 58.5-24.5T566-372q0-11-10.5-35.5T494-432H393v120Zm0-228h93q33 0 48-17t15-38q0-24-17-39t-44-15h-95v109Z`],format_italic:[`M200-200v-100h160l120-360H320v-100h400v100H580L460-300h140v100H200Z`],format_underlined:[`M200-120v-80h560v80H200Zm123-223q-56-63-56-167v-330h103v336q0 56 28 91t82 35q54 0 82-35t28-91v-336h103v330q0 104-56 167t-157 63q-101 0-157-63Z`],strikethrough_s:[`M486-160q-76 0-135-45t-85-123l88-38q14 48 48.5 79t85.5 31q42 0 76-20t34-64q0-18-7-33t-19-27h112q5 14 7.5 28.5T694-340q0 86-61.5 133T486-160ZM80-480v-80h800v80H80Zm402-326q66 0 115.5 32.5T674-674l-88 39q-9-29-33.5-52T484-710q-41 0-68 18.5T386-640h-96q2-69 54.5-117.5T482-806Z`],superscript:[`M760-600v-80q0-17 11.5-28.5T800-720h80v-40H760v-40h120q17 0 28.5 11.5T920-760v40q0 17-11.5 28.5T880-680h-80v40h120v40H760ZM235-160l185-291-172-269h106l124 200h4l123-200h107L539-451l186 291H618L482-377h-4L342-160H235Z`],subscript:[`M760-160v-80q0-17 11.5-28.5T800-280h80v-40H760v-40h120q17 0 28.5 11.5T920-320v40q0 17-11.5 28.5T880-240h-80v40h120v40H760Zm-525-80 185-291-172-269h106l124 200h4l123-200h107L539-531l186 291H618L482-457h-4L342-240H235Z`],link:[`M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z`],format_clear:[`m528-546-93-93-121-121h486v120H568l-40 94ZM792-56 460-388l-80 188H249l119-280L56-792l56-56 736 736-56 56Z`],format_align_left:[`M120-120v-80h720v80H120Zm0-160v-80h480v80H120Zm0-160v-80h720v80H120Zm0-160v-80h480v80H120Zm0-160v-80h720v80H120Z`],format_align_center:[`M120-120v-80h720v80H120Zm160-160v-80h400v80H280ZM120-440v-80h720v80H120Zm160-160v-80h400v80H280ZM120-760v-80h720v80H120Z`],format_align_right:[`M120-760v-80h720v80H120Zm240 160v-80h480v80H360ZM120-440v-80h720v80H120Zm240 160v-80h480v80H360ZM120-120v-80h720v80H120Z`],format_align_justify:[`M120-120v-80h720v80H120Zm0-160v-80h720v80H120Zm0-160v-80h720v80H120Zm0-160v-80h720v80H120Zm0-160v-80h720v80H120Z`],format_line_spacing:[`M240-160 80-320l56-56 64 62v-332l-64 62-56-56 160-160 160 160-56 56-64-62v332l64-62 56 56-160 160Zm240-40v-80h400v80H480Zm0-240v-80h400v80H480Zm0-240v-80h400v80H480Z`],format_list_bulleted:[`M360-200v-80h480v80H360Zm0-240v-80h480v80H360Zm0-240v-80h480v80H360ZM200-160q-33 0-56.5-23.5T120-240q0-33 23.5-56.5T200-320q33 0 56.5 23.5T280-240q0 33-23.5 56.5T200-160Zm0-240q-33 0-56.5-23.5T120-480q0-33 23.5-56.5T200-560q33 0 56.5 23.5T280-480q0 33-23.5 56.5T200-400Zm-56.5-263.5Q120-687 120-720t23.5-56.5Q167-800 200-800t56.5 23.5Q280-753 280-720t-23.5 56.5Q233-640 200-640t-56.5-23.5Z`],format_list_numbered:[`M120-80v-60h100v-30h-60v-60h60v-30H120v-60h120q17 0 28.5 11.5T280-280v40q0 17-11.5 28.5T240-200q17 0 28.5 11.5T280-160v40q0 17-11.5 28.5T240-80H120Zm0-280v-110q0-17 11.5-28.5T160-510h60v-30H120v-60h120q17 0 28.5 11.5T280-560v70q0 17-11.5 28.5T240-450h-60v30h100v60H120Zm60-280v-180h-60v-60h120v240h-60Zm180 440v-80h480v80H360Zm0-240v-80h480v80H360Zm0-240v-80h480v80H360Z`],format_indent_increase:[`M120-120v-80h720v80H120Zm320-160v-80h400v80H440Zm0-160v-80h400v80H440Zm0-160v-80h400v80H440ZM120-760v-80h720v80H120Zm0 440v-320l160 160-160 160Z`],format_indent_decrease:[`M120-120v-80h720v80H120Zm320-160v-80h400v80H440Zm0-160v-80h400v80H440Zm0-160v-80h400v80H440ZM120-760v-80h720v80H120Zm160 440L120-480l160-160v320Z`],format_color_text:[`M80 0v-160h800V0H80Zm140-280 210-560h100l210 560h-96l-50-144H368l-52 144h-96Zm176-224h168l-82-232h-4l-82 232Z`],ink_highlighter:[`M544-400 440-504 240-304l104 104 200-200Zm-47-161 104 104 199-199-104-104-199 199Zm-84-28 216 216-229 229q-24 24-56 24t-56-24l-2-2-26 26H60l126-126-2-2q-24-24-24-56t24-56l229-229Zm0 0 227-227q24-24 56-24t56 24l104 104q24 24 24 56t-24 56L629-373 413-589Z`],format_color_reset:[`M800-436q0 36-8 69t-22 63l-62-60q6-17 9-34.5t3-37.5q0-47-17.5-89T650-600L480-768l-88 86-56-56 144-142 226 222q44 42 69 99.5T800-436Zm-8 380L668-180q-41 29-88 44.5T480-120q-133 0-226.5-92.5T160-436q0-51 16-98t48-90L56-792l56-56 736 736-56 56ZM480-200q36 0 68.5-10t61.5-28L280-566q-21 32-30.5 64t-9.5 66q0 98 70 167t170 69Zm-37-204Zm110-116Z`],arrow_drop_down:[`M480-360 280-560h400L480-360Z`],table:[`M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm240-240H200v160h240v-160Zm80 0v160h240v-160H520Zm-80-80v-160H200v160h240Zm80 0h240v-160H520v160ZM200-680h560v-80H200v80Z`],table_chart:[`M760-120H200q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120ZM200-640h560v-120H200v120Zm100 80H200v360h100v-360Zm360 0v360h100v-360H660Zm-80 0H380v360h200v-360Z`],grid_on:[`M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h133v-133H200v133Zm213 0h134v-133H413v133Zm214 0h133v-133H627v133ZM200-413h133v-134H200v134Zm213 0h134v-134H413v134Zm214 0h133v-134H627v134ZM200-627h133v-133H200v133Zm213 0h134v-133H413v133Zm214 0h133v-133H627v133Z`],table_rows:[`M760-200v-120H200v120h560Zm0-200v-160H200v160h560Zm0-240v-120H200v120h560ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z`],view_column:[`M121-280v-400q0-33 23.5-56.5T201-760h559q33 0 56.5 23.5T840-680v400q0 33-23.5 56.5T760-200H201q-33 0-56.5-23.5T121-280Zm79 0h133v-400H200v400Zm213 0h133v-400H413v400Zm213 0h133v-400H626v400Z`],border_all:[`M120-120v-720h720v720H120Zm640-80v-240H520v240h240Zm0-560H520v240h240v-240Zm-560 0v240h240v-240H200Zm0 560h240v-240H200v240Z`],border_outer:[`M200-200h560v-560H200v560Zm-80 80v-720h720v720H120Zm160-320v-80h80v80h-80Zm160 160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 160v-80h80v80h-80Z`],border_inner:[`M120-120v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-640v-80h80v80h-80Zm320 640v-80h80v80h-80Zm160 0v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-160v-80h80v80h-80Zm-160 0v-80h80v80h-80ZM440-120v-320H120v-80h320v-320h80v320h320v80H520v320h-80Z`],border_clear:[`M120-120v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Z`],add:[`M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z`],remove:[`M200-440v-80h560v80H200Z`],delete:[`M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z`],delete_sweep:[`M600-240v-80h160v80H600Zm0-320v-80h280v80H600Zm0 160v-80h240v80H600ZM120-640H80v-80h160v-60h160v60h160v80h-40v360q0 33-23.5 56.5T440-200H200q-33 0-56.5-23.5T120-280v-360Zm80 0v360h240v-360H200Zm0 0v360-360Z`],call_merge:[`m296-160-56-56 200-200v-269L337-582l-57-57 200-200 201 201-57 57-104-104v301L296-160Zm368 1L536-286l57-57 127 128-56 56Z`],call_split:[`M440-160v-304L240-664v104h-80v-240h240v80H296l224 224v336h-80Zm154-376-58-58 128-126H560v-80h240v240h-80v-104L594-536Z`],drag_indicator:[`M360-160q-33 0-56.5-23.5T280-240q0-33 23.5-56.5T360-320q33 0 56.5 23.5T440-240q0 33-23.5 56.5T360-160Zm240 0q-33 0-56.5-23.5T520-240q0-33 23.5-56.5T600-320q33 0 56.5 23.5T680-240q0 33-23.5 56.5T600-160ZM360-400q-33 0-56.5-23.5T280-480q0-33 23.5-56.5T360-560q33 0 56.5 23.5T440-480q0 33-23.5 56.5T360-400Zm240 0q-33 0-56.5-23.5T520-480q0-33 23.5-56.5T600-560q33 0 56.5 23.5T680-480q0 33-23.5 56.5T600-400ZM360-640q-33 0-56.5-23.5T280-720q0-33 23.5-56.5T360-800q33 0 56.5 23.5T440-720q0 33-23.5 56.5T360-640Zm240 0q-33 0-56.5-23.5T520-720q0-33 23.5-56.5T600-800q33 0 56.5 23.5T680-720q0 33-23.5 56.5T600-640Z`],image:[`M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm40-80h480L570-480 450-320l-90-120-120 160Zm-40 80v-560 560Z`],format_image_left:[`M120-280v-400h400v400H120Zm80-80h240v-240H200v240Zm-80-400v-80h720v80H120Zm480 160v-80h240v80H600Zm0 160v-80h240v80H600Zm0 160v-80h240v80H600ZM120-120v-80h720v80H120Z`],format_image_right:[`M440-280v-400h400v400H440Zm80-80h240v-240H520v240ZM120-120v-80h720v80H120Zm0-160v-80h240v80H120Zm0-160v-80h240v80H120Zm0-160v-80h240v80H120Zm0-160v-80h720v80H120Z`],horizontal_rule:[`M160-440v-80h640v80H160Z`],flip_to_back:[`M200-120q-33 0-56.5-23.5T120-200v-480h80v480h480v80H200Zm160-240v80q-33 0-56.5-23.5T280-360h80Zm-80-80v-80h80v80h-80Zm0-160v-80h80v80h-80Zm80-160h-80q0-33 23.5-56.5T360-840v80Zm80 480v-80h80v80h-80Zm0-480v-80h80v80h-80Zm160 0v-80h80v80h-80Zm0 480v-80h80v80h-80Zm160-480v-80q33 0 56.5 23.5T840-760h-80Zm0 400h80q0 33-23.5 56.5T760-280v-80Zm0-80v-80h80v80h-80Zm0-160v-80h80v80h-80Z`],flip_to_front:[`M360-280q-33 0-56.5-23.5T280-360v-400q0-33 23.5-56.5T360-840h400q33 0 56.5 23.5T840-760v400q0 33-23.5 56.5T760-280H360Zm0-80h400v-400H360v400ZM200-200v80q-33 0-56.5-23.5T120-200h80Zm-80-80v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 480v-80h80v80h-80Zm160 0v-80h80v80h-80Zm160 0v-80h80v80h-80Z`],open_with:[`M480-80 310-250l57-57 73 73v-166h80v165l72-73 58 58L480-80ZM250-310 80-480l169-169 57 57-72 72h166v80H235l73 72-58 58Zm460 0-57-57 73-73H560v-80h165l-73-72 58-58 170 170-170 170ZM440-560v-166l-73 73-57-57 170-170 170 170-57 57-73-73v166h-80Z`],tune:[`M440-120v-240h80v80h320v80H520v80h-80Zm-320-80v-80h240v80H120Zm160-160v-80H120v-80h160v-80h80v240h-80Zm160-80v-80h400v80H440Zm160-160v-240h80v80h160v80H680v80h-80Zm-480-80v-80h400v80H120Z`],rotate_right:[`M522-80v-82q34-5 66.5-18t61.5-34l56 58q-42 32-88 51.5T522-80Zm-80 0Q304-98 213-199.5T122-438q0-75 28.5-140.5t77-114q48.5-48.5 114-77T482-798h6l-62-62 56-58 160 160-160 160-56-56 64-64h-8q-117 0-198.5 81.5T202-438q0 104 68 182.5T442-162v82Zm322-134-58-56q21-29 34-61.5t18-66.5h82q-5 50-24.5 96T764-214Zm76-264h-82q-5-34-18-66.5T706-606l58-56q32 39 51 86t25 98Z`],rotate_left:[`M440-80q-50-5-96-24.5T256-156l56-58q29 21 61.5 34t66.5 18v82Zm80 0v-82q104-15 172-93.5T760-438q0-117-81.5-198.5T480-718h-8l64 64-56 56-160-160 160-160 56 58-62 62h6q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-438q0 137-91 238.5T520-80ZM198-214q-32-42-51.5-88T122-398h82q5 34 18 66.5t34 61.5l-58 56Zm-76-264q6-51 25-98t51-86l58 56q-21 29-34 61.5T204-478h-82Z`],swap_horiz:[`M280-160 80-360l200-200 56 57-103 103h287v80H233l103 103-56 57Zm400-240-56-57 103-103H440v-80h287L624-743l56-57 200 200-200 200Z`],swap_vert:[`M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z`],shapes:[`M600-360ZM320-242q10 1 19.5 1.5t20.5.5q11 0 20.5-.5T400-242v82h400v-400h-82q1-10 1.5-19.5t.5-20.5q0-11-.5-20.5T718-640h82q33 0 56.5 23.5T880-560v400q0 33-23.5 56.5T800-80H400q-33 0-56.5-23.5T320-160v-82Zm40-78q-117 0-198.5-81.5T80-600q0-117 81.5-198.5T360-880q117 0 198.5 81.5T640-600q0 117-81.5 198.5T360-320Zm0-80q83 0 141.5-58.5T560-600q0-83-58.5-141.5T360-800q-83 0-141.5 58.5T160-600q0 83 58.5 141.5T360-400Zm0-200Z`],format_paint:[`M440-80q-33 0-56.5-23.5T360-160v-160H240q-33 0-56.5-23.5T160-400v-280q0-66 47-113t113-47h480v440q0 33-23.5 56.5T720-320H600v160q0 33-23.5 56.5T520-80h-80ZM240-560h480v-200h-40v160h-80v-160h-40v80h-80v-80H320q-33 0-56.5 23.5T240-680v120Zm0 160h480v-80H240v80Zm0 0v-80 80Z`],expand_more:[`M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z`],expand_less:[`m296-345-56-56 240-240 240 240-56 56-184-184-184 184Z`],border_top:[`M120-120v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h720v80H120Zm160 640v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 320v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 480v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 320v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Z`],border_bottom:[`M120-120v-80h720v80H120Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 480v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 480v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Z`],border_left:[`M120-120v-720h80v720h-80Zm160 0v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Z`],border_right:[`M120-120v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm0-160v-80h80v80h-80Zm160 640v-80h80v80h-80Zm0-320v-80h80v80h-80Zm0-320v-80h80v80h-80Zm160 640v-720h80v720h-80Z`],border_horizontal:[`M120-120v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h720v60H120Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Zm165 660v-60h60v60h-60Zm0-660v-60h60v60h-60Zm165 660v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-330v-60h60v60h-60Zm0-165v-60h60v60h-60Zm165 660v-60h60v60h-60Zm0-660v-60h60v60h-60Zm165 660v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-330v-60h60v60h-60Zm0-165v-60h60v60h-60Z`],border_vertical:[`M120-120v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Zm165 660v-60h60v60h-60Zm0-330v-60h60v60h-60Zm0-330v-60h60v60h-60Zm165 660v-720h60v720h-60Zm165 0v-60h60v60h-60Zm0-330v-60h60v60h-60Zm0-330v-60h60v60h-60Zm165 660v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Zm0-165v-60h60v60h-60Z`],padding:[`M320-600q17 0 28.5-11.5T360-640q0-17-11.5-28.5T320-680q-17 0-28.5 11.5T280-640q0 17 11.5 28.5T320-600Zm160 0q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm160 0q17 0 28.5-11.5T680-640q0-17-11.5-28.5T640-680q-17 0-28.5 11.5T600-640q0 17 11.5 28.5T640-600ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z`],text_rotation_none:[`M160-200v-80h528l-42-42 56-56 138 138-138 138-56-56 42-42H160Zm116-200 164-440h80l164 440h-76l-38-112H392l-40 112h-76Zm138-176h132l-64-182h-4l-64 182Z`],wrap_text:[`M588-132 440-280l148-148 56 58-50 50h96q29 0 49.5-20.5T760-390q0-29-20.5-49.5T690-460H160v-80h530q63 0 106.5 43.5T840-390q0 63-43.5 106.5T690-240h-96l50 50-56 58ZM160-240v-80h200v80H160Zm0-440v-80h640v80H160Z`],height:[`M480-120 320-280l56-56 64 63v-414l-64 63-56-56 160-160 160 160-56 57-64-64v414l64-63 56 56-160 160Z`],fit_width:[`M120-120v-720h80v720h-80Zm640 0v-720h80v720h-80ZM280-440v-80h80v80h-80Zm160 0v-80h80v80h-80Zm160 0v-80h80v80h-80Z`],settings:[`m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z`],border_color:[`M80 0v-160h800V0H80Zm160-320h56l312-311-29-29-28-28-311 312v56Zm-80 80v-170l448-447q11-11 25.5-17t30.5-6q16 0 31 6t27 18l55 56q12 11 17.5 26t5.5 31q0 15-5.5 29.5T777-687L330-240H160Zm560-504-56-56 56 56ZM608-631l-29-29-28-28 57 57Z`],format_color_fill:[`m247-904 57-56 343 343q23 23 23 57t-23 57L457-313q-23 23-57 23t-57-23L153-503q-23-23-23-57t23-57l190-191-96-96Zm153 153L209-560h382L400-751Zm360 471q-33 0-56.5-23.5T680-360q0-21 12.5-45t27.5-45q9-12 19-25t21-25q11 12 21 25t19 25q15 21 27.5 45t12.5 45q0 33-23.5 56.5T760-280ZM80 0v-160h800V0H80Z`],vertical_align_top:[`M160-760v-80h640v80H160Zm280 640v-408L336-424l-56-56 200-200 200 200-56 56-104-104v408h-80Z`],vertical_align_center:[`M440-80v-168l-64 64-56-56 160-160 160 160-56 56-64-64v168h-80ZM160-440v-80h640v80H160Zm320-120L320-720l56-56 64 64v-168h80v168l64-64 56 56-160 160Z`],vertical_align_bottom:[`M160-120v-80h640v80H160Zm320-160L280-480l56-56 104 104v-408h80v408l104-104 56 56-200 200Z`],line_weight:[`M120-160v-40h720v40H120Zm0-120v-80h720v80H120Zm0-160v-120h720v120H120Zm0-200v-160h720v160H120Z`],keyboard_arrow_up:[`M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z`],keyboard_arrow_down:[`M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z`],keyboard_arrow_left:[`M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z`],keyboard_arrow_right:[`M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z`],more_vert:[`M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z`],page_break:[`M120-440v-80h160v80H120Zm200 0v-80h160v80H320Zm200 0v-80h160v80H520Zm200 0v-80h120v80H720ZM240-120q-33 0-56.5-23.5T160-200v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-120H240Zm-80-520v-120q0-33 23.5-56.5T240-840h480q33 0 56.5 23.5T800-760v120h-80v-120H240v120h-80Z`],arrow_back:[`M313-440l224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z`],done_all:[`M268-240 42-466l57-56 170 170 56 56-57 56Zm226 0L268-466l56-57 170 170 368-368 57 57-425 424Zm0-226-57-56 198-198 57 56-198 198Z`],check_circle:[`m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z`],chat_bubble_outline:[`M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z`],chat_bubble_check:[`M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z`],check:[`M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z`],close:[`m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z`],add_comment:[`M440-400h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z`],comment:[`M240-400h480v-80H240v80Zm0-120h480v-80H240v80Zm0-120h480v-80H240v80ZM80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z`],edit_note:[`M160-400h280v-80H160v80Zm0-160h440v-80H160v80Zm0-160h440v-80H160v80Zm360 360v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q8 9 12.5 20t4.5 22q0 11-4 22.5T863-380L643-160H520Zm300-263-37-37 37 37ZM580-220h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z`],rate_review:[`M240-400h122l200-200q9-9 13.5-20.5T580-643q0-11-5-21.5T562-684l-36-38q-9-9-20-13.5t-23-4.5q-11 0-22.5 4.5T440-722L240-522v122Zm280-243-37-37 37 37ZM300-460v-38l101-101 20 18 18 20-101 101h-38Zm121-121 18 20-38-38 20 18Zm26 181h273v-80H527l-80 80ZM80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z`],visibility:[`M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z`],format_textdirection_l_to_r:[`M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm0-280v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80ZM680-80l-56-56 64-64H120v-80h568l-64-64 56-56 160 160L680-80Z`],format_textdirection_r_to_l:[`M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm-88 160 64 64-56 56-160-160 160-160 56 56-64 64h568v80H272Zm88-440v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80Z`],"agent-sparkle":[`m760-600-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110Zm0 560-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110ZM360-160 260-380 40-480l220-100 100-220 100 220 220 100-220 100-100 220Zm0-194 40-86 86-40-86-40-40-86-40 86-86 40 86 40 40 86Zm0-126Z`]},a=[`width`,`height`],o=[`d`],s=(0,t.defineComponent)({__name:`MaterialSymbol`,props:{name:{},size:{default:20},className:{default:``},style:{}},setup(e){let n=e,r=(0,t.computed)(()=>i[n.name]||(typeof console<`u`&&console.warn(`Icon not found: ${n.name}`),null));return(n,i)=>r.value?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,{key:0,xmlns:`http://www.w3.org/2000/svg`,width:e.size,height:e.size,viewBox:`0 -960 960 960`,fill:`currentColor`,class:(0,t.normalizeClass)(e.className),style:(0,t.normalizeStyle)({display:`inline-flex`,flexShrink:0,...e.style??{}}),"aria-hidden":`true`},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`path`,{key:n,d:e},null,8,o))),128))],14,a)):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:1,class:(0,t.normalizeClass)(e.className),style:(0,t.normalizeStyle)({fontSize:`${e.size}px`,width:`${e.size}px`,height:`${e.size}px`,display:`inline-flex`,...e.style??{}})},(0,t.toDisplayString)(e.name),7))}}),c={_lang:`en`,common:{cancel:`Cancel`,insert:`Insert`,apply:`Apply`,close:`Close`,delete:`Delete`,update:`Update`,save:`Save`,retry:`Retry`,send:`Send`,edit:`Edit`,comment:`Comment`,reply:`Reply`,accept:`Accept`,reject:`Reject`,dismiss:`Dismiss`,change:`Change`,clear:`Clear`,px:`px`,closeDialog:`Close dialog`},toolbar:{ariaLabel:`Formatting toolbar`,file:`File`,format:`Format`,insert:`Insert`,open:`Open`,openShortcut:`Ctrl+O`,save:`Save`,saveShortcut:`Ctrl+S`,print:`Print`,printShortcut:`Ctrl+P`,pageSetup:`Page setup`,leftToRight:`Left-to-right text`,rightToLeft:`Right-to-left text`,image:`Image`,table:`Table`,pageBreak:`Page break`,tableOfContents:`Table of contents`,symbol:`Symbol`,help:`Help`,reportIssue:`Report issue`},formattingBar:{groups:{history:`History`,zoom:`Zoom`,styles:`Styles`,font:`Font`,textFormatting:`Text formatting`,script:`Script`,alignment:`Alignment`,listFormatting:`List formatting`,image:`Image`,table:`Table`},undo:`Undo`,undoShortcut:`Undo (Ctrl+Z)`,redo:`Redo`,redoShortcut:`Redo (Ctrl+Y)`,bold:`Bold`,boldShortcut:`Bold (Ctrl+B)`,italic:`Italic`,italicShortcut:`Italic (Ctrl+I)`,underline:`Underline`,underlineShortcut:`Underline (Ctrl+U)`,strikethrough:`Strikethrough`,fontColor:`Font Color`,highlightColor:`Text Highlight Color`,insertLink:`Insert link`,insertLinkShortcut:`Insert link (Ctrl+K)`,superscript:`Superscript`,superscriptShortcut:`Superscript (Ctrl+Shift+=)`,subscript:`Subscript`,subscriptShortcut:`Subscript (Ctrl+=)`,imageProperties:`Image properties`,imagePropertiesShortcut:`Image properties (alt text, border)...`,clearFormatting:`Clear formatting`},alignment:{alignLeft:`Align Left`,alignLeftShortcut:`Ctrl+L`,center:`Center`,centerShortcut:`Ctrl+E`,alignRight:`Align Right`,alignRightShortcut:`Ctrl+R`,justify:`Justify`,justifyShortcut:`Ctrl+J`},lists:{ariaLabel:`List formatting`,typeAriaLabel:`List type`,indentationAriaLabel:`List indentation`,bulletList:`Bullet List`,numberedList:`Numbered List`,decreaseIndent:`Decrease Indent`,increaseIndent:`Increase Indent`},lineSpacing:{single:`Single`,double:`Double`,lineSpacingTitle:`Line spacing: {label}`,paragraphSpacing:`Paragraph spacing`},styles:{selectAriaLabel:`Select paragraph style`,normalText:`Normal text`,title:`Title`,subtitle:`Subtitle`,heading1:`Heading 1`,heading2:`Heading 2`,heading3:`Heading 3`},font:{selectAriaLabel:`Select font family`,sansSerif:`Sans Serif`,serif:`Serif`,monospace:`Monospace`},fontSize:{decrease:`Decrease font size`,increase:`Increase font size`,label:`Font size`,listLabel:`Font sizes`},zoom:{ariaLabel:`Zoom: {label}`},colorPicker:{ariaLabel:`{type} color picker`,highlightColors:`Highlight Colors`,customColor:`Custom Color`,noColor:`No Color`,automatic:`Automatic`,themeColors:`Theme Colors`,standardColors:`Standard Colors`,colors:{black:`Black`,darkRed:`Dark Red`,red:`Red`,orange:`Orange`,yellow:`Yellow`,darkYellow:`Dark Yellow`,green:`Green`,darkGreen:`Dark Green`,teal:`Teal`,darkTeal:`Dark Teal`,blue:`Blue`,darkBlue:`Dark Blue`,purple:`Purple`,darkPurple:`Dark Purple`,brown:`Brown`,grey50:`Grey 50%`,grey25:`Grey 25%`,grey10:`Grey 10%`,white:`White`,lightRed:`Light Red`,lightOrange:`Light Orange`,lightYellow:`Light Yellow`,lightGreen:`Light Green`,lightBlue:`Light Blue`,lightPurple:`Light Purple`,pink:`Pink`,rose:`Rose`,gold:`Gold`,aqua:`Aqua`,lavender:`Lavender`,silver:`Silver`,darkOrange:`Dark Orange`,darkGray:`Dark Gray`,gray:`Gray`,cyan:`Cyan`,magenta:`Magenta`,paleGreen:`Pale Green`,lightCyan:`Light Cyan`,skyBlue:`Sky Blue`,lightBlue2:`Light Blue 2`,lightMagenta:`Light Magenta`,brightGreen:`Bright Green`,violet:`Violet`}},dialogs:{findReplace:{titleFind:`Find`,titleFindReplace:`Find and Replace`,findLabel:`Find:`,findPlaceholder:`Enter text to find...`,findAriaLabel:`Find text`,findPrevious:`Find previous`,findPreviousTitle:`Find Previous (Shift+Enter)`,findNext:`Find next`,findNextTitle:`Find Next (Enter)`,matchCount:`{current} of {total} matches`,noResults:`No results found`,replaceLabel:`Replace:`,replacePlaceholder:`Enter replacement text...`,replaceAriaLabel:`Replace text`,replaceButton:`Replace`,replaceCurrentTitle:`Replace current match`,replaceAllButton:`Replace All`,replaceAllTitle:`Replace all matches`,matchCase:`Match case`,wholeWords:`Whole words`,matchesFound:`{total} matches`,toggleReplace:`+ Replace`},hyperlink:{titleEdit:`Edit Hyperlink`,titleInsert:`Insert Hyperlink`,tabWebAddress:`Web Address`,tabBookmark:`Bookmark`,urlLabel:`URL`,urlPlaceholder:`https://example.com`,urlHint:`Enter a web address, email (mailto:), or phone (tel:)`,bookmarkLabel:`Bookmark`,bookmarkPlaceholder:`Select a bookmark...`,displayTextLabel:`Display Text`,displayTextPlaceholder:`Text to display (optional)`,displayTextHint:`Leave empty to use the selected text`,tooltipLabel:`Tooltip (optional)`,tooltipPlaceholder:`Text shown on hover`,removeLink:`Remove Link`,invalidUrl:`Please enter a valid URL`,urlRequired:`URL is required`},insertTable:{title:`Insert Table`,hoverToSelect:`Hover to select size`,tableSize:`{cols} x {rows} Table`,orSpecifySize:`or specify size`,rowsLabel:`Rows:`,columnsLabel:`Columns:`,insertButton:`Insert Table`,sizeSelector:`Table size selector`,columnWidthLabel:`Column width`,fixedWidth:`Fixed`,autofit:`Auto-fit to contents`,tableStyleLabel:`Table style`,validationHint:`Rows: {minRows}-{maxRows}, Columns: {minCols}-{maxCols}`},splitCell:{title:`Split Cell`,description:`Set how many rows and columns to split the selected cell into.`,rowsLabel:`Rows:`,columnsLabel:`Columns:`,currentMinimum:`Minimum from current span: {rows} row(s) x {cols} column(s)`,minValue:`Use at least {rows} row(s) and {cols} column(s).`,notOneByOne:`Choose at least two resulting cells.`},insertImage:{title:`Insert Image`,uploadAriaLabel:`Click or drag to upload image`,uploadText:`Click to select or drag and drop an image`,uploadSubtext:`PNG, JPG, GIF up to 10MB`,dimensions:`Dimensions`,widthLabel:`Width:`,heightLabel:`Height:`,aspectRatioLocked:`Aspect ratio locked`,aspectRatioUnlocked:`Aspect ratio unlocked`,altTextLabel:`Alt Text (optional)`,altTextPlaceholder:`Describe the image for accessibility`,insertButton:`Insert Image`,invalidFile:`Please select a valid image file`,fileTooLarge:`Image file is too large (max 10MB)`,readFailed:`Failed to read image file`,loadFailed:`Failed to load image`,preview:`Preview`},insertSymbol:{title:`Insert Symbol`,searchPlaceholder:`Search symbols (character or Unicode)...`,noResultsEmpty:`No symbols found`,noResults:`No symbols found for "{query}"`,decimal:`Decimal: {value}`,recent:`Recent:`,categories:{common:`Common`,arrows:`Arrows`,math:`Math`,greek:`Greek`,shapes:`Shapes`,punctuation:`Punctuation`,currency:`Currency`,music:`Music`,emoji:`Emoji`}},imageProperties:{title:`Image Properties`,altText:`Alt Text`,altTextPlaceholder:`Describe this image for accessibility...`,border:`Border`,width:`Width`,style:`Style`,color:`Color`,preview:`Preview`,textWrapping:`Text wrapping`,dimensions:`Dimensions`,widthLabel:`Width:`,heightLabel:`Height:`,lockAspectRatio:`Lock aspect ratio`,wrapOptions:{inline:`Inline with text`,wrapRight:`Wrap text, float left`,wrapLeft:`Wrap text, float right`,topAndBottom:`Top and bottom`,behind:`Behind text`,inFront:`In front of text`},borderStyles:{solid:`Solid`,dashed:`Dashed`,dotted:`Dotted`,double:`Double`,groove:`Groove`,ridge:`Ridge`,inset:`Inset`,outset:`Outset`}},imagePosition:{title:`Image Position`,horizontal:`Horizontal`,vertical:`Vertical`,position:`Position`,alignment:`Alignment`,offset:`Offset`,offsetPx:`Offset (px)`,align:`Align`,relativeTo:`Relative to`,alignOptions:{left:`Left`,center:`Center`,right:`Right`,top:`Top`,bottom:`Bottom`},relativeOptions:{page:`Page`,column:`Column`,margin:`Margin`,character:`Character`,paragraph:`Paragraph`,line:`Line`}},pageSetup:{title:`Page Setup`,pageSize:`PAGE SIZE`,sizeLabel:`Size`,custom:`Custom`,orientation:`Orientation`,portrait:`Portrait`,landscape:`Landscape`,margins:`MARGINS`,top:`Top`,bottom:`Bottom`,left:`Left`,right:`Right`,pageSizes:{letter:`Letter (8.5" × 11")`,a4:`A4 (8.27" × 11.69")`,legal:`Legal (8.5" × 14")`,a3:`A3 (11.69" × 16.54")`,a5:`A5 (5.83" × 8.27")`,b5:`B5 (6.93" × 9.84")`,executive:`Executive (7.25" × 10.5")`}},tableProperties:{title:`Table Properties`,widthType:`Width type`,widthLabel:`Width`,alignmentLabel:`Alignment`,widthTypes:{auto:`Auto`,fixed:`Fixed (twips)`,percentage:`Percentage`},units:{fiftiethsPercent:`(50ths of %)`,twips:`tw`},alignOptions:{left:`Left`,center:`Center`,right:`Right`}},pasteSpecial:{title:`Paste Special`,keepFormatting:`Keep Source Formatting`,keepFormattingDescription:`Paste with original formatting`,keepFormattingShortcut:`Ctrl+V`,plainText:`Paste as Plain Text`,plainTextDescription:`Paste without any formatting`,plainTextShortcut:`Ctrl+Shift+V`,readingClipboard:`Reading clipboard...`,preview:`Preview:`,noContent:`No content available to paste`,clipboardError:`Unable to read clipboard. Please use Ctrl+V to paste.`},footnoteProperties:{title:`Footnote & Endnote Properties`,footnotes:`Footnotes`,endnotes:`Endnotes`,position:`Position`,numberFormat:`Number format`,startAt:`Start at`,numbering:`Numbering`,footnotePositions:{bottomOfPage:`Bottom of page`,belowText:`Below text`},endnotePositions:{endOfDocument:`End of document`,endOfSection:`End of section`},numberingOptions:{continuous:`Continuous`,restartSection:`Restart each section`,restartPage:`Restart each page`},formats:{decimal:`1, 2, 3, ...`,lowerRoman:`i, ii, iii, ...`,upperRoman:`I, II, III, ...`,lowerAlpha:`a, b, c, ...`,upperAlpha:`A, B, C, ...`,symbols:`*, †, ‡, ...`}},keyboardShortcuts:{ariaLabel:`Keyboard Shortcuts`,searchPlaceholder:`Search shortcuts...`,categories:{editing:`Editing`,formatting:`Formatting`,navigation:`Navigation`,clipboard:`Clipboard`,selection:`Selection`,view:`View`,file:`File`,other:`Other`},shortcuts:{save:`Save`,saveDescription:`Save document`,print:`Print`,printDescription:`Print document`,undo:`Undo`,undoDescription:`Undo last action`,redo:`Redo`,redoDescription:`Redo last action`,delete:`Delete`,deleteDescription:`Delete selected text`,find:`Find`,findDescription:`Find text in document`,findReplace:`Find & Replace`,findReplaceDescription:`Find and replace text`,cut:`Cut`,cutDescription:`Cut selected text`,copy:`Copy`,copyDescription:`Copy selected text`,paste:`Paste`,pasteDescription:`Paste from clipboard`,pastePlainText:`Paste as Plain Text`,pastePlainTextDescription:`Paste without formatting`,bold:`Bold`,boldDescription:`Toggle bold formatting`,italic:`Italic`,italicDescription:`Toggle italic formatting`,underline:`Underline`,underlineDescription:`Toggle underline formatting`,strikethrough:`Strikethrough`,strikethroughDescription:`Toggle strikethrough`,subscript:`Subscript`,subscriptDescription:`Toggle subscript`,superscript:`Superscript`,superscriptDescription:`Toggle superscript`,alignLeft:`Align Left`,alignLeftDescription:`Left align paragraph`,alignCenter:`Align Center`,alignCenterDescription:`Center align paragraph`,alignRight:`Align Right`,alignRightDescription:`Right align paragraph`,justify:`Justify`,justifyDescription:`Justify paragraph`,increaseIndent:`Increase Indent`,increaseIndentDescription:`Increase paragraph indent`,decreaseIndent:`Decrease Indent`,decreaseIndentDescription:`Decrease paragraph indent`,selectAll:`Select All`,selectAllDescription:`Select all content`,selectWord:`Select Word`,selectWordDescription:`Select current word`,selectParagraph:`Select Paragraph`,selectParagraphDescription:`Select current paragraph`,extendSelectionByWord:`Extend Selection by Word`,extendSelectionByWordDescription:`Extend selection to next/previous word`,extendSelectionToLineEdge:`Extend Selection to Line Edge`,extendSelectionToLineEdgeDescription:`Extend selection to line start/end`,moveByWord:`Move by Word`,moveByWordDescription:`Move cursor to next/previous word`,moveToLineStart:`Move to Line Start`,moveToLineStartDescription:`Move cursor to start of line`,moveToLineEnd:`Move to Line End`,moveToLineEndDescription:`Move cursor to end of line`,moveToDocumentStart:`Move to Document Start`,moveToDocumentStartDescription:`Move cursor to start of document`,moveToDocumentEnd:`Move to Document End`,moveToDocumentEndDescription:`Move cursor to end of document`,pageUp:`Page Up`,pageUpDescription:`Scroll up one page`,pageDown:`Page Down`,pageDownDescription:`Scroll down one page`,zoomIn:`Zoom In`,zoomInDescription:`Increase zoom level`,zoomOut:`Zoom Out`,zoomOutDescription:`Decrease zoom level`,resetZoom:`Reset Zoom`,resetZoomDescription:`Reset zoom to 100%`,keyboardShortcuts:`Keyboard Shortcuts`,keyboardShortcutsDescription:`Show this help dialog`,insertLink:`Insert Link`,insertLinkDescription:`Insert or edit hyperlink`},noResults:`No shortcuts found matching "{query}"`,pressEscToClose:`Press {key} to close`,or:`or`}},comments:{resolved:`Resolved`,resolve:`Resolve`,reopen:`Reopen`,moreOptions:`More options`,unknown:`Unknown`,addComment:`Add a comment...`,replyPlaceholder:`Reply or add others with @`,replyCount:`{count, plural, one {# reply} other {# replies}}`},trackedChanges:{unknown:`Unknown`,replaced:`Replaced`,with:`with`,added:`Added`,deleted:`Deleted`},contextMenu:{ariaLabel:`AI actions menu`,textMenuAriaLabel:`Text editing menu`,customPromptPlaceholder:`Enter custom prompt...`,cut:`Cut`,cutShortcut:`Ctrl+X`,copy:`Copy`,copyShortcut:`Ctrl+C`,paste:`Paste`,pasteShortcut:`Ctrl+V`,pastePlainText:`Paste as Plain Text`,pastePlainTextShortcut:`Ctrl+Shift+V`,delete:`Delete`,deleteShortcut:`Del`,selectAll:`Select All`,selectAllShortcut:`Ctrl+A`,selected:`Selected:`,aiActions:{askAi:`Ask AI`,rewrite:`Rewrite`,expand:`Expand`,summarize:`Summarize`,translate:`Translate`,explain:`Explain`,fixGrammar:`Fix Grammar`,makeFormal:`Make Formal`,makeCasual:`Make Casual`,custom:`Custom`}},documentOutline:{ariaLabel:`Document outline`,closeAriaLabel:`Close outline`,closeTitle:`Close outline`,title:`Outline`,noHeadings:`No headings found. Add headings to your document to see them here.`},sidebar:{ariaLabel:`Annotations sidebar`},viewer:{pageIndicator:`{current} of {total}`},titleBar:{untitled:`Untitled`,documentNameAriaLabel:`Document name`,menuBarAriaLabel:`Menu bar`},errors:{loadingDocument:`Loading document...`,noDocumentLoaded:`No document loaded`,failedToLoad:`Failed to Load Document`,unableToParse:`Unable to Parse Document`,somethingWentWrong:`Something went wrong`,errorDescription:`An error occurred while rendering this component. Please try again or contact support if the problem persists.`,errorLabel:`Error:`,componentStack:`Component Stack:`,tryAgain:`Try Again`,showDetails:`Show details`,hideDetails:`Hide details`,unsavedChanges:`You have unsaved changes. Are you sure you want to leave?`},table:{insertRowAbove:`Insert row above`,insertRowBelow:`Insert row below`,insertColumnLeft:`Insert column left`,insertColumnRight:`Insert column right`,deleteRow:`Delete row`,deleteColumn:`Delete column`,deleteTable:`Delete table`,mergeCells:`Merge cells`,splitCell:`Split cell`,editingTools:`Table editing tools`,label:`Table:`,cellFillColor:`Cell Fill Color`,borderColor:`Border Color`,borderWidth:`Border width`,unknownAction:`Unknown Action`,borders:{all:`All borders`,outside:`Outside borders`,inside:`Inside borders`,none:`No borders`,remove:`Remove borders`,top:`Top border`,bottom:`Bottom border`,left:`Left border`,right:`Right border`,styleAriaLabel:`Border style`,tooltip:`Borders`},moreOptions:`More table options`,styles:{title:`Table Styles`,label:`Styles`,normalTable:`Normal Table`,tableGrid:`Table Grid`,gridTableLight:`Grid Table Light`,plainTable1:`Plain Table 1`,plainTable2:`Plain Table 2`,plainTable3:`Plain Table 3`,plainTable4:`Plain Table 4`,gridTable1Light:`Grid Table 1 Light`,gridTable4Accent1:`Grid Table 4 Accent 1`,gridTable5Dark:`Grid Table 5 Dark`,listTable3Accent2:`List Table 3 Accent 2`,listTable4Accent3:`List Table 4 Accent 3`,gridTable4Accent5:`Grid Table 4 Accent 5`,gridTable4Accent6:`Grid Table 4 Accent 6`}},tableAdvanced:{verticalAlignment:`Vertical alignment`,top:`Top`,middle:`Middle`,bottom:`Bottom`,cellMargins:`Cell margins`,textDirection:`Text direction`,textDirections:{horizontal:`Horizontal (LR)`,verticalRL:`Vertical (top-bottom, RL)`,verticalLR:`Vertical (bottom-top, LR)`},toggleNoWrap:`Toggle no-wrap`,rowHeight:`Row height`,heightRules:{auto:`Auto`,atLeast:`At least`,exact:`Exact`},rule:`Rule`,height:`Height`,toggleHeaderRow:`Toggle header row`,distributeColumns:`Distribute columns evenly`,autoFit:`Auto-fit to contents`,tableProperties:`Table properties...`,tableAlignment:`Table alignment`,alignTableLeft:`Align table left`,alignTableCenter:`Align table center`,alignTableRight:`Align table right`,tableOptionsMenu:`Table options menu`,tableOptions:`Table options`},imageTransform:{tooltip:`Transform`,rotateClockwise:`Rotate clockwise`,rotateCounterClockwise:`Rotate counter-clockwise`,flipHorizontal:`Flip horizontal`,flipVertical:`Flip vertical`},imageWrap:{inline:`In Line with Text`,floatLeft:`Square Left`,floatRight:`Square Right`,topAndBottom:`Top and Bottom`,behindText:`Behind Text`,inFrontOfText:`In Front of Text`,tooltipPrefix:`Wrap: {label}`,menu:{inLineWithText:`In Line with Text`,squareLeft:`Square Left`,squareRight:`Square Right`,behindText:`Behind Text`,inFrontOfText:`In Front of Text`,ariaLabel:`Image layout options`,imageProperties:`Image properties…`},menuDesc:{inLineWithText:`Image flows in the line as a glyph`,squareLeft:`Image floats left, text wraps on the right`,squareRight:`Image floats right, text wraps on the left`,behindText:`Image paints behind body text`,inFrontOfText:`Image paints over body text`}},responsePreview:{loading:`{action}...`,result:`{action} Result`,closeEsc:`Close (Esc)`,editPrompt:`Edit the result before accepting:`,changes:`Changes:`,original:`Original:`,new:`New:`,cancelEdit:`Cancel Edit`},commentMarkers:{resolvedComment:`Resolved comment`,comment:`Comment`},editor:{toggleCommentsSidebar:`Toggle comments sidebar`,showDocumentOutline:`Show document outline`,editing:`Editing`,editingDescription:`Edit document directly`,suggesting:`Suggesting`,suggestingDescription:`Edits become suggestions`,viewing:`Viewing`,viewingDescription:`Read-only, no edits`,failedToParse:`Failed to parse document`,linkRemoved:`Link removed`,linkCopied:`Link copied to clipboard`,failedToSave:`Failed to save document`},hyperlinkPopup:{displayTextPlaceholder:`Display text`,urlPlaceholder:`https://example.com`,copyLink:`Copy link`,editLink:`Edit link`,removeLink:`Remove link`},headerFooter:{header:`Header`,footer:`Footer`,options:`Options`,insertPageNumber:`Insert current page number`,insertTotalPages:`Insert total page count`,remove:`Remove {label}`,closeEditing:`Close {label} editing`},image:{placeholder:`Image placeholder`,placeholderText:`[Image]`,editableAriaLabel:`Editable image`},imageOverlay:{rotate:`Rotate`,imageProperties:`Image properties`,deleteImage:`Delete image`},ruler:{horizontal:`Horizontal ruler`,vertical:`Vertical ruler`,firstLineIndent:`First line indent`,leftIndent:`Left indent`,rightIndent:`Right indent`,topMargin:`Top margin`,bottomMargin:`Bottom margin`},print:{label:`Print`,allPages:`All ({totalPages} pages)`,singlePage:`Page {start}`,pageRange:`Pages {start}-{end}`},unsaved:{unsaved:`Unsaved`,saved:`Saved`,unsavedTitle:`Document has unsaved changes`,savedTitle:`All changes saved`,unsavedAriaLabel:`Unsaved changes`,savedAriaLabel:`All changes saved`},loading:{label:`Loading`},agentPanel:{defaultTitle:`Assistant`,toggle:`Open assistant`,close:`Close panel`,resizeHandle:`Resize agent panel`,thinking:`Assistant is thinking`,composerPlaceholder:`Ask the assistant…`,send:`Send`,timeline:{working:`Working… {count, plural, one {# step} other {# steps}}`,summary:`{count, plural, one {# step} other {# steps}}`,earlier:`+ {count, plural, one {# earlier step} other {# earlier steps}}`}}};function l(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function u(e,t){if(!t)return e;let n={...e};for(let r of Object.keys(t)){let i=t[r];i!==null&&(l(e[r])&&l(i)?n[r]=u(e[r],i):i!==void 0&&(n[r]=i))}return n}function d(e,t){let n=e;for(let e of t.split(`.`)){if(!l(n))return;n=n[e]}return typeof n==`string`?n:void 0}function f(e){let t={},n=/(=\d+|\w+)\s*\{([^}]*)\}/g,r;for(;(r=n.exec(e))!==null;)t[r[1]]=r[2];return t}function p(e,t,n){return t?e.replace(/\{(\w+),\s*plural,\s*((?:[^{}]|\{[^{}]*\})*)\}/g,(e,r,i)=>{let a=Number(t[r]);if(isNaN(a))return e;let o=f(i),s=o[`=${a}`];if(s!==void 0)return s.replace(/#/g,String(a));let c;try{c=new Intl.PluralRules(n||`en`).select(a)}catch{c=a===1?`one`:`other`}return(o[c]??o.other??``).replace(/#/g,String(a))}).replace(/\{(\w+)\}/g,(e,n)=>{let r=t[n];return r===void 0?`{${n}}`:String(r)}):e}function m(e,t=`en`){return(n,r)=>p(d(e,n)??n,r,t)}var h=Symbol(`docx-locale`),g=Symbol(`docx-lang`);function _(e){return{strings:(0,t.computed)(()=>u(c,(0,t.unref)(e))),lang:(0,t.computed)(()=>{let n=(0,t.unref)(e)?._lang;return typeof n==`string`?n:`en`})}}function v(e){let{strings:n,lang:r}=_(e);(0,t.provide)(h,n),(0,t.provide)(g,r)}function y(e){let{strings:n,lang:r}=_(e);return{t:(e,i)=>m((0,t.unref)(n),(0,t.unref)(r))(e,i)}}function b(){let e=(0,t.inject)(h,c),n=(0,t.inject)(g,`en`);return{t:(r,i)=>m((0,t.unref)(e),(0,t.unref)(n))(r,i)}}var x={install(e,t){let n=typeof t?._lang==`string`?t._lang:`en`,r=u(c,t);e.provide(h,r),e.provide(g,n)}},S={class:`find-replace-dialog__header`},C={class:`find-replace-dialog__title`},w=[`title`],T={class:`find-replace-dialog__body`},E={class:`find-replace-dialog__row`},D=[`placeholder`,`aria-label`],O={class:`find-replace-dialog__count`},ee=[`title`],te=[`title`],ne={class:`find-replace-dialog__options`},re=[`title`],ie={key:0,class:`find-replace-dialog__row`},k=[`placeholder`,`aria-label`,`onKeydown`],A=[`title`],j=[`title`],M=(0,t.defineComponent)({__name:`FindReplaceDialog`,props:{isOpen:{type:Boolean},view:{}},emits:[`close`],setup(e,{emit:n}){let{t:i}=b(),a=e,o=n,s=(0,t.ref)(null),c=(0,t.ref)(``),l=(0,t.ref)(``),u=(0,t.ref)(!1),d=(0,t.ref)(!1),f=(0,t.ref)(!1),p=(0,t.ref)([]),m=(0,t.ref)(-1),h=(0,t.computed)(()=>c.value.trim()?p.value.length===0?i(`dialogs.findReplace.noResults`):m.value<0?i(`dialogs.findReplace.matchesFound`,{total:p.value.length}):i(`dialogs.findReplace.matchCount`,{current:m.value+1,total:p.value.length}):``);(0,t.watch)(()=>a.isOpen,async e=>{e?(await(0,t.nextTick)(),s.value?.focus(),s.value?.select(),_()):P()});function g(){P(),o(`close`)}function _(){p.value=[],m.value=-1;let e=a.view;if(!e||!c.value.trim()){P();return}let t=e.state.doc,n=c.value,r=!u.value,i=[];t.descendants((e,a)=>{if(!e.isTextblock)return!0;let o=t.textBetween(a+1,a+e.nodeSize-1,``,``);if(!o)return!1;let s=r?n.toLowerCase():n,c=r?o.toLowerCase():o,l=0;for(;l<c.length;){let e;if(d.value){let t=s.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),n=r?`gi`:`g`,i=RegExp(`\\b${t}\\b`,n);i.lastIndex=l;let a=i.exec(c);if(!a)break;e=a.index}else if(e=c.indexOf(s,l),e===-1)break;let t=a+1+e,o=t+n.length;i.push({from:t,to:o}),l=e+Math.max(1,n.length)}return!1}),p.value=i,i.length>0&&(m.value=0,v(0))}function v(e){let t=a.view;if(!t||p.value.length===0)return;let n=p.value[e];if(!n)return;m.value=e;let{from:i,to:o}=n;try{let e=t.state.doc.resolve(i),n=t.state.doc.resolve(o),a=r.TextSelection.between(e,n);t.dispatch(t.state.tr.setSelection(a).scrollIntoView())}catch{}}function y(){if(p.value.length===0){_();return}v((m.value+1)%p.value.length)}function x(){p.value.length!==0&&v((m.value-1+p.value.length)%p.value.length)}function M(){let e=a.view;if(!e||m.value<0||p.value.length===0)return;let t=p.value[m.value];if(t){try{let n;n=l.value?e.state.tr.replaceWith(t.from,t.to,e.state.schema.text(l.value)):e.state.tr.delete(t.from,t.to),e.dispatch(n)}catch{}_()}}function N(){let e=a.view;if(!e||p.value.length===0)return;let t=[...p.value].sort((e,t)=>t.from-e.from),n=e.state.tr;for(let r of t)try{n=l.value?n.replaceWith(r.from,r.to,e.state.schema.text(l.value)):n.delete(r.from,r.to)}catch{}e.dispatch(n),_()}function P(){p.value=[],m.value=-1}function F(e){e.key===`Enter`?(e.preventDefault(),e.shiftKey?x():y()):e.key===`Escape`&&g()}return(n,r)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`find-replace-dialog`,onMousedown:r[5]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:r[6]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,S,[(0,t.createElementVNode)(`span`,C,(0,t.toDisplayString)(f.value?(0,t.unref)(i)(`dialogs.findReplace.titleFindReplace`):(0,t.unref)(i)(`dialogs.findReplace.titleFind`)),1),(0,t.createElementVNode)(`button`,{class:`find-replace-dialog__close`,onClick:g,title:(0,t.unref)(i)(`common.closeDialog`)},` ✕ `,8,w)]),(0,t.createElementVNode)(`div`,T,[(0,t.createElementVNode)(`div`,E,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{ref_key:`searchInputRef`,ref:s,"onUpdate:modelValue":r[0]||=e=>c.value=e,class:`find-replace-dialog__input`,placeholder:(0,t.unref)(i)(`dialogs.findReplace.findPlaceholder`),"aria-label":(0,t.unref)(i)(`dialogs.findReplace.findAriaLabel`),onKeydown:F,onInput:_},null,40,D),[[t.vModelText,c.value]]),(0,t.createElementVNode)(`span`,O,(0,t.toDisplayString)(h.value),1),(0,t.createElementVNode)(`button`,{title:(0,t.unref)(i)(`dialogs.findReplace.findPreviousTitle`),onMousedown:(0,t.withModifiers)(x,[`prevent`])},` ▲ `,40,ee),(0,t.createElementVNode)(`button`,{title:(0,t.unref)(i)(`dialogs.findReplace.findNextTitle`),onMousedown:(0,t.withModifiers)(y,[`prevent`])},` ▼ `,40,te)]),(0,t.createElementVNode)(`div`,ne,[(0,t.createElementVNode)(`label`,null,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`checkbox`,"onUpdate:modelValue":r[1]||=e=>u.value=e,onChange:_},null,544),[[t.vModelCheckbox,u.value]]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.findReplace.matchCase`)),1)]),(0,t.createElementVNode)(`label`,null,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`checkbox`,"onUpdate:modelValue":r[2]||=e=>d.value=e,onChange:_},null,544),[[t.vModelCheckbox,d.value]]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.findReplace.wholeWords`)),1)]),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`find-replace-dialog__toggle`,{active:f.value}]),onMousedown:r[3]||=(0,t.withModifiers)(e=>f.value=!f.value,[`prevent`]),title:(0,t.unref)(i)(`dialogs.findReplace.toggleReplace`)},` ↔ `+(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.findReplace.replaceButton`)),43,re)]),f.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ie,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[4]||=e=>l.value=e,class:`find-replace-dialog__input`,placeholder:(0,t.unref)(i)(`dialogs.findReplace.replacePlaceholder`),"aria-label":(0,t.unref)(i)(`dialogs.findReplace.replaceAriaLabel`),onKeydown:(0,t.withKeys)((0,t.withModifiers)(M,[`prevent`]),[`enter`])},null,40,k),[[t.vModelText,l.value]]),(0,t.createElementVNode)(`button`,{title:(0,t.unref)(i)(`dialogs.findReplace.replaceCurrentTitle`),onMousedown:(0,t.withModifiers)(M,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.findReplace.replaceButton`)),41,A),(0,t.createElementVNode)(`button`,{title:(0,t.unref)(i)(`dialogs.findReplace.replaceAllTitle`),onMousedown:(0,t.withModifiers)(N,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.findReplace.replaceAllButton`)),41,j)])):(0,t.createCommentVNode)(``,!0)])],32)):(0,t.createCommentVNode)(``,!0)}}),N=e.t(M,[[`__scopeId`,`data-v-0c72041a`]]),P={class:`dialog__header`},F={class:`dialog__title`},I=[`aria-label`],L={class:`dialog__body`},R={class:`drop-zone__icon`},z={class:`drop-zone__text`},B={class:`drop-zone__hint`},V=[`src`,`alt`],H=[`aria-label`],U={key:0,class:`drop-zone__error`},W={key:1,class:`image-controls`},G={class:`lock-label`},K={key:2,class:`image-controls`},q={style:{flex:`1`}},J=[`placeholder`],Y={key:3,class:`dialog__actions`},ae=(0,t.defineComponent)({__name:`InsertImageDialog`,props:{isOpen:{type:Boolean}},emits:[`close`,`insert`],setup(e,{emit:n}){let{t:r}=b(),i=n,a=(0,t.ref)(null),o=(0,t.ref)(``),c=(0,t.ref)(400),l=(0,t.ref)(300),u=(0,t.ref)(!0),d=(0,t.ref)(``),f=(0,t.ref)(``),p=(0,t.ref)(!1),m=1;function h(){i(`close`)}function g(){o.value=``,f.value=``,d.value=``,c.value=400,l.value=300}function _(e){p.value=!1;let t=e.dataTransfer?.files?.[0];t&&y(t)}function v(e){let t=e.target.files?.[0];t&&y(t)}function y(e){if(f.value=``,!e.type.startsWith(`image/`)){f.value=r(`dialogs.insertImage.invalidFile`);return}if(e.size>10*1024*1024){f.value=r(`dialogs.insertImage.fileTooLarge`);return}d.value=e.name.replace(/\.[^.]+$/,``);let t=new FileReader;t.onload=()=>{let e=t.result,n=new Image;n.onload=()=>{let t=n.naturalWidth,r=n.naturalHeight;t>800&&(r=Math.round(800/t*r),t=800),r>600&&(t=Math.round(600/r*t),r=600),c.value=t,l.value=r,m=t/r,o.value=e},n.onerror=()=>{f.value=r(`dialogs.insertImage.loadFailed`)},n.src=e},t.onerror=()=>{f.value=r(`dialogs.insertImage.readFailed`)},t.readAsDataURL(e)}function x(){u.value&&m&&(l.value=Math.round(c.value/m))}function S(){u.value&&m&&(c.value=Math.round(l.value*m))}function C(){o.value&&(i(`insert`,{src:o.value,width:c.value,height:l.value,alt:d.value}),g(),h())}return(n,i)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`dialog-overlay`,onMousedown:(0,t.withModifiers)(h,[`self`])},[(0,t.createElementVNode)(`div`,{class:`dialog`,onMousedown:i[7]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:i[8]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,P,[(0,t.createElementVNode)(`span`,F,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.title`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__close`,"aria-label":(0,t.unref)(r)(`common.closeDialog`),onClick:h},` ✕ `,8,I)]),(0,t.createElementVNode)(`div`,L,[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`drop-zone`,{"drop-zone--active":p.value}]),onDragover:i[0]||=(0,t.withModifiers)(e=>p.value=!0,[`prevent`]),onDragleave:i[1]||=e=>p.value=!1,onDrop:(0,t.withModifiers)(_,[`prevent`]),onClick:i[2]||=e=>a.value?.click()},[o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:o.value,class:`drop-zone__preview`,alt:(0,t.unref)(r)(`dialogs.insertImage.preview`)},null,8,V)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`div`,R,[(0,t.createVNode)(s,{name:`image`,size:48})]),(0,t.createElementVNode)(`div`,z,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.uploadText`)),1),(0,t.createElementVNode)(`div`,B,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.uploadSubtext`)),1)],64))],34),(0,t.createElementVNode)(`input`,{ref_key:`fileInput`,ref:a,type:`file`,accept:`image/*`,style:{display:`none`},"aria-label":(0,t.unref)(r)(`dialogs.insertImage.uploadAriaLabel`),onChange:v},null,40,H),f.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,U,(0,t.toDisplayString)(f.value),1)):(0,t.createCommentVNode)(``,!0),o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,W,[(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.widthLabel`))+` `,1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[3]||=e=>c.value=e,type:`number`,min:`1`,max:`2000`,class:`dim-input`,onInput:x},null,544),[[t.vModelText,c.value,void 0,{number:!0}]])]),(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.heightLabel`))+` `,1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[4]||=e=>l.value=e,type:`number`,min:`1`,max:`2000`,class:`dim-input`,onInput:S},null,544),[[t.vModelText,l.value,void 0,{number:!0}]])]),(0,t.createElementVNode)(`label`,G,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`checkbox`,"onUpdate:modelValue":i[5]||=e=>u.value=e},null,512),[[t.vModelCheckbox,u.value]]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(u.value?(0,t.unref)(r)(`dialogs.insertImage.aspectRatioLocked`):(0,t.unref)(r)(`dialogs.insertImage.aspectRatioUnlocked`)),1)])])):(0,t.createCommentVNode)(``,!0),o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,K,[(0,t.createElementVNode)(`label`,q,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.altTextLabel`))+` `,1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[6]||=e=>d.value=e,class:`alt-input`,placeholder:(0,t.unref)(r)(`dialogs.insertImage.altTextPlaceholder`)},null,8,J),[[t.vModelText,d.value]])])])):(0,t.createCommentVNode)(``,!0),o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Y,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:g},(0,t.toDisplayString)((0,t.unref)(r)(`common.clear`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,onMousedown:(0,t.withModifiers)(C,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertImage.insertButton`)),33)])):(0,t.createCommentVNode)(``,!0)])],32)],32)):(0,t.createCommentVNode)(``,!0)}}),oe=e.t(ae,[[`__scopeId`,`data-v-8ea71e65`]]),se={class:`dialog__header`},ce={class:`dialog__title`},le=[`aria-label`],ue={class:`dialog__body`},de={key:0,class:`link-tabs`,role:`tablist`},fe=[`aria-selected`],pe=[`aria-selected`],me={key:1,class:`field`},he={class:`field__label`},ge=[`placeholder`,`aria-invalid`,`onKeydown`],_e={key:0,class:`field__error`},ve={key:1,class:`field__hint`},ye={key:2,class:`field`},be={class:`field__label`},xe=[`onKeydown`],Se={value:``},Ce=[`value`],we={class:`field`},Te={class:`field__label`},Ee=[`placeholder`],De={class:`field__hint`},Oe={class:`field`},ke={class:`field__label`},Ae=[`placeholder`],je={class:`dialog__actions`},Me=[`disabled`],Ne=(0,t.defineComponent)({__name:`HyperlinkDialog`,props:{isOpen:{type:Boolean},view:{},bookmarks:{}},emits:[`close`,`submit`,`remove`],setup(e,{emit:n}){let{t:r}=b(),i=e,a=n,o=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.ref)(`url`),l=(0,t.ref)(``),u=(0,t.ref)(``),d=(0,t.ref)(``),f=(0,t.ref)(``),p=(0,t.ref)(!1),m=(0,t.ref)(``),h=(0,t.ref)(!1),g=(0,t.computed)(()=>i.bookmarks??[]),_=(0,t.computed)(()=>c.value===`bookmark`?!!u.value:!!l.value.trim()&&!m.value);(0,t.watch)(l,()=>{m.value&&=``});function v(e){let t=e.trim();if(!t)return!1;if(/^(mailto:|tel:)/i.test(t))return t.replace(/^(mailto:|tel:)/i,``).length>0;if(/^ftp:\/\//i.test(t))return t.length>6;try{let e=new URL(/^https?:\/\//i.test(t)?t:`https://${t}`);return e.protocol===`http:`||e.protocol===`https:`}catch{return!1}}function y(e){let t=e.trim();return/^(https?:\/\/|mailto:|tel:|ftp:\/\/)/i.test(t)?t:`https://${t}`}(0,t.watch)(()=>i.isOpen,async e=>{if(e){let e=i.view;if(e){let{$from:t,empty:n,from:r,to:i}=e.state.selection,a=(e.state.storedMarks||t.marks()).find(e=>e.type.name===`hyperlink`);if(a){let e=a.attrs.href||``;e.startsWith(`#`)?(c.value=`bookmark`,u.value=e.slice(1),l.value=``):(c.value=`url`,l.value=e,u.value=``),f.value=a.attrs.tooltip||``,p.value=!0}else c.value=`url`,l.value=``,u.value=``,f.value=``,p.value=!1;n?d.value=``:d.value=e.state.doc.textBetween(r,i)}await(0,t.nextTick)(),c.value===`bookmark`?s.value?.focus():o.value?.focus()}else h.value=!1,m.value=``});function x(){a(`close`)}function S(){if(c.value===`bookmark`){if(!u.value)return;a(`submit`,{bookmark:u.value,displayText:d.value,tooltip:f.value}),x();return}if(h.value=!0,!v(l.value)){m.value=l.value.trim()?r(`dialogs.hyperlink.invalidUrl`):r(`dialogs.hyperlink.urlRequired`);return}a(`submit`,{url:y(l.value),displayText:d.value,tooltip:f.value}),x()}function C(){if(c.value===`url`){if(h.value=!0,!l.value.trim()){m.value=``;return}m.value=v(l.value)?``:r(`dialogs.hyperlink.invalidUrl`)}}function w(){a(`remove`),x()}return(n,i)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`dialog-overlay`,onMousedown:(0,t.withModifiers)(x,[`self`])},[(0,t.createElementVNode)(`div`,{class:`dialog`,onMousedown:i[6]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:i[7]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,se,[(0,t.createElementVNode)(`span`,ce,(0,t.toDisplayString)(p.value?(0,t.unref)(r)(`dialogs.hyperlink.titleEdit`):(0,t.unref)(r)(`dialogs.hyperlink.titleInsert`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__close`,"aria-label":(0,t.unref)(r)(`common.closeDialog`),onClick:x},` ✕ `,8,le)]),(0,t.createElementVNode)(`div`,ue,[g.value.length>0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,de,[(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`link-tab`,{active:c.value===`url`}]),role:`tab`,"aria-selected":c.value===`url`,onMousedown:i[0]||=(0,t.withModifiers)(e=>c.value=`url`,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.tabWebAddress`)),43,fe),(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([`link-tab`,{active:c.value===`bookmark`}]),role:`tab`,"aria-selected":c.value===`bookmark`,onMousedown:i[1]||=(0,t.withModifiers)(e=>c.value=`bookmark`,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.tabBookmark`)),43,pe)])):(0,t.createCommentVNode)(``,!0),c.value===`url`?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,me,[(0,t.createElementVNode)(`label`,he,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.urlLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{ref_key:`urlInputRef`,ref:o,"onUpdate:modelValue":i[2]||=e=>l.value=e,class:(0,t.normalizeClass)([`field__input`,{"field__input--error":h.value&&!!m.value}]),placeholder:(0,t.unref)(r)(`dialogs.hyperlink.urlPlaceholder`),"aria-invalid":h.value&&!!m.value,onKeydown:(0,t.withKeys)((0,t.withModifiers)(S,[`prevent`]),[`enter`]),onBlur:C},null,42,ge),[[t.vModelText,l.value]]),h.value&&m.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,_e,(0,t.toDisplayString)(m.value),1)):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ve,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.urlHint`)),1))])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ye,[(0,t.createElementVNode)(`label`,be,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.bookmarkLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{ref_key:`bookmarkSelectRef`,ref:s,"onUpdate:modelValue":i[3]||=e=>u.value=e,class:`field__input`,onKeydown:(0,t.withKeys)((0,t.withModifiers)(S,[`prevent`]),[`enter`])},[(0,t.createElementVNode)(`option`,Se,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.bookmarkPlaceholder`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(g.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{key:e.name,value:e.name},(0,t.toDisplayString)(e.label||e.name),9,Ce))),128))],40,xe),[[t.vModelSelect,u.value]])])),(0,t.createElementVNode)(`div`,we,[(0,t.createElementVNode)(`label`,Te,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.displayTextLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[4]||=e=>d.value=e,class:`field__input`,placeholder:(0,t.unref)(r)(`dialogs.hyperlink.displayTextPlaceholder`)},null,8,Ee),[[t.vModelText,d.value]]),(0,t.createElementVNode)(`div`,De,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.displayTextHint`)),1)]),(0,t.createElementVNode)(`div`,Oe,[(0,t.createElementVNode)(`label`,ke,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.tooltipLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[5]||=e=>f.value=e,class:`field__input`,placeholder:(0,t.unref)(r)(`dialogs.hyperlink.tooltipPlaceholder`)},null,8,Ae),[[t.vModelText,f.value]])]),(0,t.createElementVNode)(`div`,je,[p.value?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,class:`dialog__btn dialog__btn--danger`,onMousedown:(0,t.withModifiers)(w,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.hyperlink.removeLink`)),33)):(0,t.createCommentVNode)(``,!0),i[8]||=(0,t.createElementVNode)(`div`,{style:{flex:`1`}},null,-1),(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:x},(0,t.toDisplayString)((0,t.unref)(r)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,onMousedown:(0,t.withModifiers)(S,[`prevent`]),disabled:!_.value},(0,t.toDisplayString)(p.value?(0,t.unref)(r)(`common.update`):(0,t.unref)(r)(`common.insert`)),41,Me)])])],32)],32)):(0,t.createCommentVNode)(``,!0)}}),Pe=e.t(Ne,[[`__scopeId`,`data-v-4dc1170f`]]),Fe={class:`dialog__header`},Ie={class:`dialog__title`},Le=[`title`],Re={class:`dialog__body`},ze=[`placeholder`],Be={key:0,class:`symbol-tabs`},Ve=[`onMousedown`],He={class:`symbol-grid`},Ue=[`title`,`onClick`,`onDblclick`],We={key:0,class:`symbol-empty`},Ge={key:1,class:`symbol-preview`},Ke={class:`symbol-preview__char`},qe={class:`symbol-preview__info`},Je={key:2,class:`symbol-recent`},Ye={class:`symbol-recent__label`},Xe=[`onDblclick`,`onClick`],Ze={class:`dialog__actions`},Qe=[`disabled`],$e=(0,t.defineComponent)({__name:`InsertSymbolDialog`,props:{isOpen:{type:Boolean}},emits:[`close`,`insert`],setup(e,{emit:n}){let{t:r}=b(),i=e,a=n,o=(0,t.ref)(null),s=(0,t.ref)(``),c=(0,t.ref)(`Common`),l=(0,t.ref)(``),u=(0,t.ref)([]),d=[{name:`Common`,nameKey:`dialogs.insertSymbol.categories.common`,symbols:[{char:`©`,name:`Copyright`},{char:`®`,name:`Registered`},{char:`™`,name:`Trademark`},{char:`•`,name:`Bullet`},{char:`…`,name:`Ellipsis`},{char:`—`,name:`Em dash`},{char:`–`,name:`En dash`},{char:`±`,name:`Plus-minus`},{char:`×`,name:`Multiply`},{char:`÷`,name:`Divide`},{char:`≠`,name:`Not equal`},{char:`≈`,name:`Approximately`},{char:`≤`,name:`Less or equal`},{char:`≥`,name:`Greater or equal`},{char:`°`,name:`Degree`},{char:`µ`,name:`Micro`},{char:`¶`,name:`Pilcrow`},{char:`§`,name:`Section`},{char:`†`,name:`Dagger`},{char:`‡`,name:`Double dagger`},{char:`¿`,name:`Inverted question`},{char:`¡`,name:`Inverted exclamation`},{char:`‰`,name:`Per mille`},{char:`∞`,name:`Infinity`}]},{name:`Arrows`,nameKey:`dialogs.insertSymbol.categories.arrows`,symbols:[{char:`←`,name:`Left`},{char:`→`,name:`Right`},{char:`↑`,name:`Up`},{char:`↓`,name:`Down`},{char:`↔`,name:`Left-right`},{char:`↕`,name:`Up-down`},{char:`⇐`,name:`Double left`},{char:`⇒`,name:`Double right`},{char:`⇑`,name:`Double up`},{char:`⇓`,name:`Double down`},{char:`⇔`,name:`Double left-right`},{char:`➡`,name:`Heavy right`},{char:`↩`,name:`Return`},{char:`↪`,name:`Curved right`},{char:`↻`,name:`Clockwise`},{char:`↺`,name:`Counter-clockwise`}]},{name:`Math`,nameKey:`dialogs.insertSymbol.categories.math`,symbols:[{char:`∑`,name:`Summation`},{char:`∏`,name:`Product`},{char:`∫`,name:`Integral`},{char:`√`,name:`Square root`},{char:`∂`,name:`Partial diff`},{char:`∇`,name:`Nabla`},{char:`∈`,name:`Element of`},{char:`∉`,name:`Not element`},{char:`⊂`,name:`Subset`},{char:`⊃`,name:`Superset`},{char:`∪`,name:`Union`},{char:`∩`,name:`Intersection`},{char:`∧`,name:`And`},{char:`∨`,name:`Or`},{char:`¬`,name:`Not`},{char:`∀`,name:`For all`},{char:`∃`,name:`Exists`},{char:`∅`,name:`Empty set`},{char:`∝`,name:`Proportional`},{char:`∠`,name:`Angle`}]},{name:`Greek`,nameKey:`dialogs.insertSymbol.categories.greek`,symbols:[{char:`α`,name:`alpha`},{char:`β`,name:`beta`},{char:`γ`,name:`gamma`},{char:`δ`,name:`delta`},{char:`ε`,name:`epsilon`},{char:`ζ`,name:`zeta`},{char:`η`,name:`eta`},{char:`θ`,name:`theta`},{char:`λ`,name:`lambda`},{char:`μ`,name:`mu`},{char:`π`,name:`pi`},{char:`ρ`,name:`rho`},{char:`σ`,name:`sigma`},{char:`τ`,name:`tau`},{char:`φ`,name:`phi`},{char:`ψ`,name:`psi`},{char:`ω`,name:`omega`},{char:`Δ`,name:`Delta`},{char:`Σ`,name:`Sigma`},{char:`Ω`,name:`Omega`},{char:`Π`,name:`Pi`},{char:`Φ`,name:`Phi`},{char:`Ψ`,name:`Psi`},{char:`Θ`,name:`Theta`}]},{name:`Currency`,nameKey:`dialogs.insertSymbol.categories.currency`,symbols:[{char:`$`,name:`Dollar`},{char:`€`,name:`Euro`},{char:`£`,name:`Pound`},{char:`¥`,name:`Yen`},{char:`₹`,name:`Rupee`},{char:`₽`,name:`Ruble`},{char:`₩`,name:`Won`},{char:`₿`,name:`Bitcoin`},{char:`¢`,name:`Cent`},{char:`₫`,name:`Dong`},{char:`₺`,name:`Lira`},{char:`₴`,name:`Hryvnia`}]},{name:`Shapes`,nameKey:`dialogs.insertSymbol.categories.shapes`,symbols:[{char:`■`,name:`Black square`},{char:`□`,name:`White square`},{char:`▲`,name:`Up triangle`},{char:`▼`,name:`Down triangle`},{char:`●`,name:`Black circle`},{char:`○`,name:`White circle`},{char:`◆`,name:`Black diamond`},{char:`◇`,name:`White diamond`},{char:`★`,name:`Black star`},{char:`☆`,name:`White star`},{char:`♠`,name:`Spade`},{char:`♥`,name:`Heart`},{char:`♦`,name:`Diamond`},{char:`♣`,name:`Club`},{char:`✓`,name:`Check mark`},{char:`✗`,name:`Ballot X`},{char:`✦`,name:`Four pointed star`},{char:`◌`,name:`Dotted circle`}]}],f=(0,t.computed)(()=>{let e=[];for(let t of d)for(let n of t.symbols)e.push({...n,category:t.name});return e}),p=(0,t.computed)(()=>{if(s.value){let e=s.value.toLowerCase();return f.value.filter(t=>t.name.toLowerCase().includes(e)||t.char===e)}let e=d.find(e=>e.name===c.value);return e?e.symbols.map(t=>({...t,category:e.name})):[]});(0,t.watch)(()=>i.isOpen,async e=>{e&&(await(0,t.nextTick)(),o.value?.focus())});function m(){a(`close`)}function h(e){e&&(u.value=[e,...u.value.filter(t=>t!==e)].slice(0,10),a(`insert`,e))}return(n,i)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`dialog-overlay`,onMousedown:(0,t.withModifiers)(m,[`self`])},[(0,t.createElementVNode)(`div`,{class:`dialog symbol-dialog`,onMousedown:i[2]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:i[3]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,Fe,[(0,t.createElementVNode)(`span`,Ie,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertSymbol.title`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__close`,title:(0,t.unref)(r)(`common.closeDialog`),onClick:m},`✕`,8,Le)]),(0,t.createElementVNode)(`div`,Re,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{ref_key:`searchRef`,ref:o,"onUpdate:modelValue":i[0]||=e=>s.value=e,class:`symbol-search`,placeholder:(0,t.unref)(r)(`dialogs.insertSymbol.searchPlaceholder`),onKeydown:(0,t.withKeys)(m,[`escape`])},null,40,ze),[[t.vModelText,s.value]]),s.value?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Be,[((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(d,e=>(0,t.createElementVNode)(`button`,{key:e.name,class:(0,t.normalizeClass)([`symbol-tab`,{active:c.value===e.name}]),onMousedown:(0,t.withModifiers)(t=>c.value=e.name,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(r)(e.nameKey)),43,Ve)),64))])),(0,t.createElementVNode)(`div`,He,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(p.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e.char,class:(0,t.normalizeClass)([`symbol-cell`,{selected:l.value===e.char}]),title:e.name,onClick:t=>l.value=e.char,onDblclick:t=>h(e.char)},(0,t.toDisplayString)(e.char),43,Ue))),128)),p.value.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,We,(0,t.toDisplayString)(s.value?(0,t.unref)(r)(`dialogs.insertSymbol.noResults`,{query:s.value}):(0,t.unref)(r)(`dialogs.insertSymbol.noResultsEmpty`)),1)):(0,t.createCommentVNode)(``,!0)]),l.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ge,[(0,t.createElementVNode)(`span`,Ke,(0,t.toDisplayString)(l.value),1),(0,t.createElementVNode)(`span`,qe,`U+`+(0,t.toDisplayString)(l.value.codePointAt(0)?.toString(16).toUpperCase().padStart(4,`0`)),1)])):(0,t.createCommentVNode)(``,!0),u.value.length>0&&!s.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Je,[(0,t.createElementVNode)(`div`,Ye,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.insertSymbol.recent`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(u.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e,class:`symbol-cell symbol-cell--small`,onDblclick:t=>h(e),onClick:t=>l.value=e},(0,t.toDisplayString)(e),41,Xe))),128))])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,Ze,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:m},(0,t.toDisplayString)((0,t.unref)(r)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,onMousedown:i[1]||=(0,t.withModifiers)(e=>h(l.value),[`prevent`]),disabled:!l.value},(0,t.toDisplayString)((0,t.unref)(r)(`common.insert`)),41,Qe)])])],32)],32)):(0,t.createCommentVNode)(``,!0)}}),et=e.t($e,[[`__scopeId`,`data-v-c5817b27`]]),tt={class:`dialog__header`},nt={class:`dialog__title`},rt=[`aria-label`],it={class:`dialog__body`},at={class:`field`},ot={class:`field__label`},st=[`placeholder`],ct={class:`field`},lt={class:`field__label`},ut={value:`inline`},dt={value:`wrapRight`},ft={value:`wrapLeft`},pt={value:`topAndBottom`},mt={value:`behind`},ht={value:`inFront`},gt={class:`field`},_t={class:`field__label`},vt={class:`field-row`},yt={value:`solid`},bt={value:`dashed`},xt={value:`dotted`},St={value:`double`},Ct={class:`field`},wt={class:`field__label`},Tt={class:`field-row`},Et=[`value`],Dt=[`value`],Ot={class:`field__checkbox`},kt={class:`dialog__actions`},At=(0,t.defineComponent)({__name:`ImagePropertiesDialog`,props:{isOpen:{type:Boolean},view:{},pmPos:{}},emits:[`close`],setup(e,{emit:n}){let{t:r}=b(),i=e,a=n,o=(0,t.ref)(``),s=(0,t.ref)(`inline`),c=(0,t.ref)(0),l=(0,t.ref)(`solid`),u=(0,t.ref)(`#000000`),d=(0,t.ref)(200),f=(0,t.ref)(150),p=(0,t.ref)(!0),m=1;(0,t.watch)(()=>i.isOpen,e=>{if(!(!e||!i.view||i.pmPos===null))try{let e=i.view.state.doc.nodeAt(i.pmPos);if(e&&e.type.name===`image`){o.value=e.attrs.alt||``,c.value=e.attrs.borderWidth||0,l.value=e.attrs.borderStyle||`solid`,u.value=e.attrs.borderColor||`#000000`,d.value=e.attrs.width||200,f.value=e.attrs.height||150,m=d.value/(f.value||1),p.value=!0;let t=e.attrs.displayMode,n=e.attrs.cssFloat,r=e.attrs.wrapType;t===`float`&&n===`left`?s.value=`wrapRight`:t===`float`&&n===`right`?s.value=`wrapLeft`:t===`block`?s.value=`topAndBottom`:r===`behind`?s.value=`behind`:r===`inFront`?s.value=`inFront`:s.value=`inline`}}catch{}});function h(e){let t=Number(e.target.value);isNaN(t)||t<1||(d.value=t,p.value&&m>0&&(f.value=Math.round(t/m)))}function g(e){let t=Number(e.target.value);isNaN(t)||t<1||(f.value=t,p.value&&m>0&&(d.value=Math.round(t*m)))}function _(){a(`close`)}function v(){let e=i.view;if(!(!e||i.pmPos===null)){try{let t=e.state.doc.nodeAt(i.pmPos);if(!t||t.type.name!==`image`)return;let n=`inline`,r=null,a=`inline`;switch(s.value){case`wrapRight`:n=`float`,r=`left`,a=`square`;break;case`wrapLeft`:n=`float`,r=`right`,a=`square`;break;case`topAndBottom`:n=`block`,a=`topAndBottom`;break;case`behind`:n=`float`,r=`none`,a=`behind`;break;case`inFront`:n=`float`,r=`none`,a=`inFront`;break;default:n=`inline`,a=`inline`;break}let p=e.state.tr.setNodeMarkup(i.pmPos,void 0,{...t.attrs,alt:o.value,width:d.value,height:f.value,borderWidth:c.value||void 0,borderStyle:c.value>0?l.value:void 0,borderColor:c.value>0?u.value:void 0,displayMode:n,cssFloat:r,wrapType:a});e.dispatch(p)}catch{}_()}}return(n,i)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`dialog-overlay`,onMousedown:(0,t.withModifiers)(_,[`self`])},[(0,t.createElementVNode)(`div`,{class:`dialog`,onMousedown:i[6]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:i[7]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,tt,[(0,t.createElementVNode)(`span`,nt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.title`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__close`,"aria-label":(0,t.unref)(r)(`common.closeDialog`),onClick:_},` ✕ `,8,rt)]),(0,t.createElementVNode)(`div`,it,[(0,t.createElementVNode)(`div`,at,[(0,t.createElementVNode)(`label`,ot,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.altText`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`textarea`,{"onUpdate:modelValue":i[0]||=e=>o.value=e,class:`field__textarea`,placeholder:(0,t.unref)(r)(`dialogs.imageProperties.altTextPlaceholder`),rows:`2`},null,8,st),[[t.vModelText,o.value]])]),(0,t.createElementVNode)(`div`,ct,[(0,t.createElementVNode)(`label`,lt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.textWrapping`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":i[1]||=e=>s.value=e,class:`field__select`},[(0,t.createElementVNode)(`option`,ut,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.wrapOptions.inline`)),1),(0,t.createElementVNode)(`option`,dt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.wrapOptions.wrapRight`)),1),(0,t.createElementVNode)(`option`,ft,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.wrapOptions.wrapLeft`)),1),(0,t.createElementVNode)(`option`,pt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.wrapOptions.topAndBottom`)),1),(0,t.createElementVNode)(`option`,mt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.wrapOptions.behind`)),1),(0,t.createElementVNode)(`option`,ht,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.wrapOptions.inFront`)),1)],512),[[t.vModelSelect,s.value]])]),(0,t.createElementVNode)(`div`,gt,[(0,t.createElementVNode)(`label`,_t,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.border`)),1),(0,t.createElementVNode)(`div`,vt,[(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.width`))+`: `,1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[2]||=e=>c.value=e,type:`number`,min:`0`,max:`20`,step:`0.5`,class:`field__input--small`},null,512),[[t.vModelText,c.value,void 0,{number:!0}]]),(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`common.px`)),1)]),(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.style`))+`: `,1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":i[3]||=e=>l.value=e,class:`field__select--small`},[(0,t.createElementVNode)(`option`,yt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.borderStyles.solid`)),1),(0,t.createElementVNode)(`option`,bt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.borderStyles.dashed`)),1),(0,t.createElementVNode)(`option`,xt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.borderStyles.dotted`)),1),(0,t.createElementVNode)(`option`,St,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.borderStyles.double`)),1)],512),[[t.vModelSelect,l.value]])]),(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.color`))+`: `,1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[4]||=e=>u.value=e,type:`color`,class:`field__color`},null,512),[[t.vModelText,u.value]])])])]),(0,t.createElementVNode)(`div`,Ct,[(0,t.createElementVNode)(`label`,wt,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.dimensions`)),1),(0,t.createElementVNode)(`div`,Tt,[(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.widthLabel`))+` `,1),(0,t.createElementVNode)(`input`,{value:d.value,type:`number`,min:`1`,max:`2000`,class:`field__input--small`,onInput:h},null,40,Et),(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`common.px`)),1)]),(0,t.createElementVNode)(`label`,null,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.heightLabel`))+` `,1),(0,t.createElementVNode)(`input`,{value:f.value,type:`number`,min:`1`,max:`2000`,class:`field__input--small`,onInput:g},null,40,Dt),(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`common.px`)),1)])]),(0,t.createElementVNode)(`label`,Ot,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":i[5]||=e=>p.value=e,type:`checkbox`},null,512),[[t.vModelCheckbox,p.value]]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.imageProperties.lockAspectRatio`)),1)])]),(0,t.createElementVNode)(`div`,kt,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:_},(0,t.toDisplayString)((0,t.unref)(r)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,onMousedown:(0,t.withModifiers)(v,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(r)(`common.apply`)),33)])])],32)],32)):(0,t.createCommentVNode)(``,!0)}}),jt=e.t(At,[[`__scopeId`,`data-v-2bc21138`]]),Mt=[`aria-label`],Nt={class:`ps-header`},Pt={class:`ps-body`},Ft={class:`ps-section-label`},It={class:`ps-row`},Lt={class:`ps-label`},Rt=[`value`],zt=[`value`],Bt={key:0,value:-1},Vt={class:`ps-row`},Ht={class:`ps-label`},Ut=[`value`],Wt={value:`portrait`},Gt={value:`landscape`},Kt={class:`ps-section-label ps-section-label--spaced`},qt={class:`ps-row`},Jt={class:`ps-label`},Yt={class:`ps-row`},Xt={class:`ps-label`},Zt={class:`ps-row`},Qt={class:`ps-label`},$t={class:`ps-row`},en={class:`ps-label`},tn={class:`ps-footer`},X=12240,Z=15840,Q=1440,nn=(0,t.defineComponent)({__name:`PageSetupDialog`,props:{isOpen:{type:Boolean},sectionProperties:{}},emits:[`close`,`apply`],setup(e,{emit:r}){let{t:i}=b(),a=[{labelKey:`dialogs.pageSetup.pageSizes.letter`,width:12240,height:15840},{labelKey:`dialogs.pageSetup.pageSizes.a4`,width:11906,height:16838},{labelKey:`dialogs.pageSetup.pageSizes.legal`,width:12240,height:20160},{labelKey:`dialogs.pageSetup.pageSizes.a3`,width:16838,height:23811},{labelKey:`dialogs.pageSetup.pageSizes.a5`,width:8391,height:11906},{labelKey:`dialogs.pageSetup.pageSizes.b5`,width:9979,height:14175},{labelKey:`dialogs.pageSetup.pageSizes.executive`,width:10440,height:15120}],o=e,s=r,c=(0,t.ref)(X),l=(0,t.ref)(Z),u=(0,t.ref)(`portrait`),d=(0,t.ref)(1),f=(0,t.ref)(1),p=(0,t.ref)(1),m=(0,t.ref)(1);function h(e){return Math.round(e/n.TWIPS_PER_INCH*100)/100}function g(e){return Math.round((Number(e)||0)*n.TWIPS_PER_INCH)}let _=(0,t.computed)(()=>{let e=Math.min(c.value,l.value),t=Math.max(c.value,l.value);return a.findIndex(n=>Math.abs(n.width-e)<20&&Math.abs(n.height-t)<20)});(0,t.watch)(()=>o.isOpen,e=>{if(!e)return;let t=o.sectionProperties,n=t?.pageWidth||X,r=t?.pageHeight||Z;c.value=n,l.value=r,u.value=t?.orientation||(n>r?`landscape`:`portrait`),d.value=h(t?.marginTop??Q),f.value=h(t?.marginBottom??Q),p.value=h(t?.marginLeft??Q),m.value=h(t?.marginRight??Q)},{immediate:!0});function v(e){let t=Number(e.target.value);if(t<0)return;let n=a[t];u.value===`landscape`?(c.value=n.height,l.value=n.width):(c.value=n.width,l.value=n.height)}function y(e){let t=e.target.value;if(t===u.value)return;u.value=t;let n=c.value;c.value=l.value,l.value=n}function x(){s(`close`)}function S(){s(`apply`,{pageWidth:c.value,pageHeight:l.value,orientation:u.value,marginTop:g(d.value),marginBottom:g(f.value),marginLeft:g(p.value),marginRight:g(m.value)}),x()}function C(e){e.key===`Escape`&&x(),e.key===`Enter`&&S()}return(n,r)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`ps-overlay`,onMousedown:(0,t.withModifiers)(x,[`self`]),onKeydown:C},[(0,t.createElementVNode)(`div`,{class:`ps-dialog`,role:`dialog`,"aria-label":(0,t.unref)(i)(`dialogs.pageSetup.title`),onMousedown:r[4]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,Nt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.title`)),1),(0,t.createElementVNode)(`div`,Pt,[(0,t.createElementVNode)(`div`,Ft,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.pageSize`)),1),(0,t.createElementVNode)(`div`,It,[(0,t.createElementVNode)(`label`,Lt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.sizeLabel`)),1),(0,t.createElementVNode)(`select`,{class:`ps-input`,value:_.value,onChange:v},[((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(a,(e,n)=>(0,t.createElementVNode)(`option`,{key:e.labelKey,value:n},(0,t.toDisplayString)((0,t.unref)(i)(e.labelKey)),9,zt)),64)),_.value<0?((0,t.openBlock)(),(0,t.createElementBlock)(`option`,Bt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.custom`)),1)):(0,t.createCommentVNode)(``,!0)],40,Rt)]),(0,t.createElementVNode)(`div`,Vt,[(0,t.createElementVNode)(`label`,Ht,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.orientation`)),1),(0,t.createElementVNode)(`select`,{class:`ps-input`,value:u.value,onChange:y},[(0,t.createElementVNode)(`option`,Wt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.portrait`)),1),(0,t.createElementVNode)(`option`,Gt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.landscape`)),1)],40,Ut)]),(0,t.createElementVNode)(`div`,Kt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.margins`)),1),(0,t.createElementVNode)(`div`,qt,[(0,t.createElementVNode)(`label`,Jt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.top`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{class:`ps-input`,type:`number`,min:`0`,max:`10`,step:`0.1`,"onUpdate:modelValue":r[0]||=e=>d.value=e},null,512),[[t.vModelText,d.value,void 0,{number:!0}]]),r[5]||=(0,t.createElementVNode)(`span`,{class:`ps-unit`},`in`,-1)]),(0,t.createElementVNode)(`div`,Yt,[(0,t.createElementVNode)(`label`,Xt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.bottom`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{class:`ps-input`,type:`number`,min:`0`,max:`10`,step:`0.1`,"onUpdate:modelValue":r[1]||=e=>f.value=e},null,512),[[t.vModelText,f.value,void 0,{number:!0}]]),r[6]||=(0,t.createElementVNode)(`span`,{class:`ps-unit`},`in`,-1)]),(0,t.createElementVNode)(`div`,Zt,[(0,t.createElementVNode)(`label`,Qt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.left`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{class:`ps-input`,type:`number`,min:`0`,max:`10`,step:`0.1`,"onUpdate:modelValue":r[2]||=e=>p.value=e},null,512),[[t.vModelText,p.value,void 0,{number:!0}]]),r[7]||=(0,t.createElementVNode)(`span`,{class:`ps-unit`},`in`,-1)]),(0,t.createElementVNode)(`div`,$t,[(0,t.createElementVNode)(`label`,en,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.pageSetup.right`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{class:`ps-input`,type:`number`,min:`0`,max:`10`,step:`0.1`,"onUpdate:modelValue":r[3]||=e=>m.value=e},null,512),[[t.vModelText,m.value,void 0,{number:!0}]]),r[8]||=(0,t.createElementVNode)(`span`,{class:`ps-unit`},`in`,-1)])]),(0,t.createElementVNode)(`div`,tn,[(0,t.createElementVNode)(`button`,{type:`button`,class:`ps-btn`,onClick:x},(0,t.toDisplayString)((0,t.unref)(i)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{type:`button`,class:`ps-btn ps-btn--primary`,onClick:S},(0,t.toDisplayString)((0,t.unref)(i)(`common.apply`)),1)])],40,Mt)],32)):(0,t.createCommentVNode)(``,!0)}}),rn=e.t(nn,[[`__scopeId`,`data-v-bd508fe8`]]),an={class:`kbd-dialog__header`},on={class:`kbd-dialog__title`},sn=[`aria-label`],cn={key:0,class:`kbd-dialog__search`},ln=[`placeholder`],un={class:`kbd-dialog__body`},dn={class:`kbd-category`},fn={class:`kbd-item__info`},pn={class:`kbd-item__name`},mn={class:`kbd-item__desc`},$={class:`kbd-item__keys`},hn={class:`kbd-badge`},gn={class:`kbd-or`},_n={class:`kbd-badge`},vn={key:0,class:`kbd-dialog__empty`},yn={class:`kbd-dialog__footer`},bn={key:0,class:`kbd-badge kbd-badge--small`},xn=(0,t.defineComponent)({__name:`KeyboardShortcutsDialog`,props:{isOpen:{type:Boolean},showSearch:{type:Boolean,default:!0}},emits:[`close`],setup(e,{emit:n}){let{t:r}=b(),i=e,a=n,o=(0,t.ref)(null),s=(0,t.ref)(``),c=typeof navigator<`u`&&/Mac/.test(navigator.platform);function l(e){return c?e.replace(/Ctrl/g,`⌘`).replace(/Alt/g,`⌥`).replace(/Shift/g,`⇧`):e}function u(){s.value=``,a(`close`)}(0,t.watch)(()=>i.isOpen,e=>{e&&(0,t.nextTick)(()=>o.value?.focus())});let d=(0,t.computed)(()=>r(`dialogs.keyboardShortcuts.pressEscToClose`,{key:`Esc`}).split(`Esc`)),f=[{id:`undo`,nameKey:`dialogs.keyboardShortcuts.shortcuts.undo`,name:`Undo`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.undoDescription`,description:`Undo last action`,keys:`Ctrl+Z`,category:`Editing`},{id:`redo`,nameKey:`dialogs.keyboardShortcuts.shortcuts.redo`,name:`Redo`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.redoDescription`,description:`Redo last action`,keys:`Ctrl+Y`,altKeys:`Ctrl+Shift+Z`,category:`Editing`},{id:`find`,nameKey:`dialogs.keyboardShortcuts.shortcuts.find`,name:`Find`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.findDescription`,description:`Open find dialog`,keys:`Ctrl+F`,category:`Editing`},{id:`replace`,nameKey:`dialogs.keyboardShortcuts.shortcuts.findReplace`,name:`Find & Replace`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.findReplaceDescription`,description:`Open find and replace`,keys:`Ctrl+H`,category:`Editing`},{id:`delete`,nameKey:`dialogs.keyboardShortcuts.shortcuts.delete`,name:`Delete`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.deleteDescription`,description:`Delete selected content`,keys:`Del`,altKeys:`Backspace`,category:`Editing`},{id:`cut`,nameKey:`dialogs.keyboardShortcuts.shortcuts.cut`,name:`Cut`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.cutDescription`,description:`Cut selection`,keys:`Ctrl+X`,category:`Clipboard`},{id:`copy`,nameKey:`dialogs.keyboardShortcuts.shortcuts.copy`,name:`Copy`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.copyDescription`,description:`Copy selection`,keys:`Ctrl+C`,category:`Clipboard`},{id:`paste`,nameKey:`dialogs.keyboardShortcuts.shortcuts.paste`,name:`Paste`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.pasteDescription`,description:`Paste content`,keys:`Ctrl+V`,category:`Clipboard`},{id:`bold`,nameKey:`dialogs.keyboardShortcuts.shortcuts.bold`,name:`Bold`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.boldDescription`,description:`Toggle bold`,keys:`Ctrl+B`,category:`Formatting`},{id:`italic`,nameKey:`dialogs.keyboardShortcuts.shortcuts.italic`,name:`Italic`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.italicDescription`,description:`Toggle italic`,keys:`Ctrl+I`,category:`Formatting`},{id:`underline`,nameKey:`dialogs.keyboardShortcuts.shortcuts.underline`,name:`Underline`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.underlineDescription`,description:`Toggle underline`,keys:`Ctrl+U`,category:`Formatting`},{id:`strike`,nameKey:`dialogs.keyboardShortcuts.shortcuts.strikethrough`,name:`Strikethrough`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.strikethroughDescription`,description:`Toggle strikethrough`,keys:`Ctrl+Shift+X`,category:`Formatting`},{id:`subscript`,nameKey:`dialogs.keyboardShortcuts.shortcuts.subscript`,name:`Subscript`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.subscriptDescription`,description:`Toggle subscript`,keys:`Ctrl+=`,category:`Formatting`},{id:`superscript`,nameKey:`dialogs.keyboardShortcuts.shortcuts.superscript`,name:`Superscript`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.superscriptDescription`,description:`Toggle superscript`,keys:`Ctrl+Shift+=`,category:`Formatting`},{id:`alignLeft`,nameKey:`dialogs.keyboardShortcuts.shortcuts.alignLeft`,name:`Align Left`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.alignLeftDescription`,description:`Left alignment`,keys:`Ctrl+L`,category:`Formatting`},{id:`alignCenter`,nameKey:`dialogs.keyboardShortcuts.shortcuts.alignCenter`,name:`Align Center`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.alignCenterDescription`,description:`Center alignment`,keys:`Ctrl+E`,category:`Formatting`},{id:`alignRight`,nameKey:`dialogs.keyboardShortcuts.shortcuts.alignRight`,name:`Align Right`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.alignRightDescription`,description:`Right alignment`,keys:`Ctrl+R`,category:`Formatting`},{id:`justify`,nameKey:`dialogs.keyboardShortcuts.shortcuts.justify`,name:`Justify`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.justifyDescription`,description:`Justify alignment`,keys:`Ctrl+J`,category:`Formatting`},{id:`indent`,nameKey:`dialogs.keyboardShortcuts.shortcuts.increaseIndent`,name:`Increase Indent`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.increaseIndentDescription`,description:`Increase indent level`,keys:`Tab`,category:`Formatting`},{id:`outdent`,nameKey:`dialogs.keyboardShortcuts.shortcuts.decreaseIndent`,name:`Decrease Indent`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.decreaseIndentDescription`,description:`Decrease indent level`,keys:`Shift+Tab`,category:`Formatting`},{id:`link`,nameKey:`dialogs.keyboardShortcuts.shortcuts.insertLink`,name:`Insert Link`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.insertLinkDescription`,description:`Insert or edit hyperlink`,keys:`Ctrl+K`,category:`Formatting`},{id:`selectAll`,nameKey:`dialogs.keyboardShortcuts.shortcuts.selectAll`,name:`Select All`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.selectAllDescription`,description:`Select all content`,keys:`Ctrl+A`,category:`Selection`},{id:`selectWord`,nameKey:`dialogs.keyboardShortcuts.shortcuts.selectWord`,name:`Select Word`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.selectWordDescription`,description:`Select current word`,keys:`Double-click`,category:`Selection`},{id:`selectPara`,nameKey:`dialogs.keyboardShortcuts.shortcuts.selectParagraph`,name:`Select Paragraph`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.selectParagraphDescription`,description:`Select current paragraph`,keys:`Triple-click`,category:`Selection`},{id:`moveWord`,nameKey:`dialogs.keyboardShortcuts.shortcuts.moveByWord`,name:`Move by Word`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.moveByWordDescription`,description:`Jump to next/previous word`,keys:`Ctrl+Arrow`,category:`Navigation`},{id:`lineStart`,nameKey:`dialogs.keyboardShortcuts.shortcuts.moveToLineStart`,name:`Line Start`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.moveToLineStartDescription`,description:`Move to start of line`,keys:`Home`,category:`Navigation`},{id:`lineEnd`,nameKey:`dialogs.keyboardShortcuts.shortcuts.moveToLineEnd`,name:`Line End`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.moveToLineEndDescription`,description:`Move to end of line`,keys:`End`,category:`Navigation`},{id:`docStart`,nameKey:`dialogs.keyboardShortcuts.shortcuts.moveToDocumentStart`,name:`Document Start`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.moveToDocumentStartDescription`,description:`Move to start of document`,keys:`Ctrl+Home`,category:`Navigation`},{id:`docEnd`,nameKey:`dialogs.keyboardShortcuts.shortcuts.moveToDocumentEnd`,name:`Document End`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.moveToDocumentEndDescription`,description:`Move to end of document`,keys:`Ctrl+End`,category:`Navigation`},{id:`zoomIn`,nameKey:`dialogs.keyboardShortcuts.shortcuts.zoomIn`,name:`Zoom In`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.zoomInDescription`,description:`Increase zoom level`,keys:`Ctrl++`,altKeys:`Ctrl+=`,category:`View`},{id:`zoomOut`,nameKey:`dialogs.keyboardShortcuts.shortcuts.zoomOut`,name:`Zoom Out`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.zoomOutDescription`,description:`Decrease zoom level`,keys:`Ctrl+-`,category:`View`},{id:`zoomReset`,nameKey:`dialogs.keyboardShortcuts.shortcuts.resetZoom`,name:`Reset Zoom`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.resetZoomDescription`,description:`Reset to 100% zoom`,keys:`Ctrl+0`,category:`View`},{id:`shortcuts`,nameKey:`dialogs.keyboardShortcuts.shortcuts.keyboardShortcuts`,name:`Keyboard Shortcuts`,descriptionKey:`dialogs.keyboardShortcuts.shortcuts.keyboardShortcutsDescription`,description:`Show this dialog`,keys:`Ctrl+/`,altKeys:`F1`,category:`View`}],p={Editing:`dialogs.keyboardShortcuts.categories.editing`,Clipboard:`dialogs.keyboardShortcuts.categories.clipboard`,Formatting:`dialogs.keyboardShortcuts.categories.formatting`,Selection:`dialogs.keyboardShortcuts.categories.selection`,Navigation:`dialogs.keyboardShortcuts.categories.navigation`,View:`dialogs.keyboardShortcuts.categories.view`},m=[`Editing`,`Clipboard`,`Formatting`,`Selection`,`Navigation`,`View`],h=(0,t.computed)(()=>{let e=s.value.toLowerCase().trim(),t=[];for(let n of m){let i=f.filter(e=>e.category===n);e&&(i=i.filter(t=>{let n=t.nameKey?r(t.nameKey):t.name,i=t.descriptionKey?r(t.descriptionKey):t.description;return n.toLowerCase().includes(e)||i.toLowerCase().includes(e)||t.keys.toLowerCase().includes(e)||t.altKeys!=null&&t.altKeys.toLowerCase().includes(e)})),i.length>0&&t.push({name:n,labelKey:p[n],shortcuts:i})}return t});return(n,i)=>e.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`kbd-overlay`,onMousedown:(0,t.withModifiers)(u,[`self`])},[(0,t.createElementVNode)(`div`,{class:`kbd-dialog`,onMousedown:i[1]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:i[2]||=(0,t.withModifiers)(()=>{},[`stop`])},[(0,t.createElementVNode)(`div`,an,[(0,t.createElementVNode)(`span`,on,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.keyboardShortcuts.ariaLabel`)),1),(0,t.createElementVNode)(`button`,{class:`kbd-dialog__close`,"aria-label":(0,t.unref)(r)(`common.closeDialog`),onClick:u},` ✕ `,8,sn)]),e.showSearch?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,cn,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{ref_key:`searchInput`,ref:o,"onUpdate:modelValue":i[0]||=e=>s.value=e,class:`kbd-dialog__search-input`,placeholder:(0,t.unref)(r)(`dialogs.keyboardShortcuts.searchPlaceholder`),type:`text`},null,8,ln),[[t.vModelText,s.value]])])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,un,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(h.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:e.name},[(0,t.createElementVNode)(`div`,dn,(0,t.toDisplayString)((0,t.unref)(r)(e.labelKey).toUpperCase()),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.shortcuts,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:e.id,class:`kbd-item`},[(0,t.createElementVNode)(`div`,fn,[(0,t.createElementVNode)(`span`,pn,(0,t.toDisplayString)(e.nameKey?(0,t.unref)(r)(e.nameKey):e.name),1),(0,t.createElementVNode)(`span`,mn,(0,t.toDisplayString)(e.descriptionKey?(0,t.unref)(r)(e.descriptionKey):e.description),1)]),(0,t.createElementVNode)(`div`,$,[(0,t.createElementVNode)(`kbd`,hn,(0,t.toDisplayString)(l(e.keys)),1),e.altKeys?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,gn,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.keyboardShortcuts.or`)),1),(0,t.createElementVNode)(`kbd`,_n,(0,t.toDisplayString)(l(e.altKeys)),1)],64)):(0,t.createCommentVNode)(``,!0)])]))),128))],64))),128)),h.value.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,vn,(0,t.toDisplayString)((0,t.unref)(r)(`dialogs.keyboardShortcuts.noResults`,{query:s.value})),1)):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`div`,yn,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(d.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:n},[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e),1),n<d.value.length-1?((0,t.openBlock)(),(0,t.createElementBlock)(`kbd`,bn,`Esc`)):(0,t.createCommentVNode)(``,!0)],64))),128))])],32)],32)):(0,t.createCommentVNode)(``,!0)}}),Sn=e.t(xn,[[`__scopeId`,`data-v-77199050`]]);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return et}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return rn}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return oe}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return jt}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return Sn}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return v}});