File "FileManager.js"

Full Path: /home/attunedd/public_html/byp/wp-content/plugins/wpide/dist/js/chunks/FileManager/FileManager.js
File size: 168.08 KB
MIME-type: text/plain
Charset: utf-8

/*! For license information please see FileManager.js.LICENSE.txt */
(self.webpackChunkwpide=self.webpackChunkwpide||[]).push([[535,673,62,744,717,784,600,540,129,320],{16202:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});i(45814),i(67293);var n={bell:"M16,17H7V10.5C7,8 9,6 11.5,6C14,6 16,8 16,10.5M18,16V10.5C18,7.43 15.86,4.86 13,4.18V3.5A1.5,1.5 0 0,0 11.5,2A1.5,1.5 0 0,0 10,3.5V4.18C7.13,4.86 5,7.43 5,10.5V16L3,18V19H20V18M11.5,22A2,2 0 0,0 13.5,20H9.5A2,2 0 0,0 11.5,22Z",check:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",dots:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",expand:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z",collapse:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z",zoom_in:"M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",zoom_out:"M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",chevron_left:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",chevron_right:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",arrow_left:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",arrow_right:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",link:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",logout:"M14.08,15.59L16.67,13H7V11H16.67L14.08,8.41L15.5,7L20.5,12L15.5,17L14.08,15.59M19,3A2,2 0 0,1 21,5V9.67L19,7.67V5H5V19H19V16.33L21,14.33V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19Z",download:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",tray_arrow_down:"M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 15L17.55 9.54L16.13 8.13L13 11.25V2H11V11.25L7.88 8.13L6.46 9.55L12 15Z",tray_arrow_up:"M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 2L6.46 7.46L7.88 8.88L11 5.75V15H13V5.75L16.13 8.88L17.55 7.45L12 2Z",content_copy:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",pencil_outline:"M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z",close_thick:"M20 6.91L17.09 4L12 9.09L6.91 4L4 6.91L9.09 12L4 17.09L6.91 20L12 14.91L17.09 20L20 17.09L14.91 12L20 6.91Z",plus_circle_multiple_outline:"M16,8H14V11H11V13H14V16H16V13H19V11H16M2,12C2,9.21 3.64,6.8 6,5.68V3.5C2.5,4.76 0,8.09 0,12C0,15.91 2.5,19.24 6,20.5V18.32C3.64,17.2 2,14.79 2,12M15,3C10.04,3 6,7.04 6,12C6,16.96 10.04,21 15,21C19.96,21 24,16.96 24,12C24,7.04 19.96,3 15,3M15,19C11.14,19 8,15.86 8,12C8,8.14 11.14,5 15,5C18.86,5 22,8.14 22,12C22,15.86 18.86,19 15,19Z",upload:"M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z",clipboard:"M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7M7.5,13.5L9,12L11,14L15.5,9.5L17,11L11,17L7.5,13.5Z",save_edit:"M10,19L10.14,18.86C8.9,18.5 8,17.36 8,16A3,3 0 0,1 11,13C12.36,13 13.5,13.9 13.86,15.14L20,9V7L16,3H4C2.89,3 2,3.9 2,5V19A2,2 0 0,0 4,21H10V19M4,5H14V9H4V5M20.04,12.13C19.9,12.13 19.76,12.19 19.65,12.3L18.65,13.3L20.7,15.35L21.7,14.35C21.92,14.14 21.92,13.79 21.7,13.58L20.42,12.3C20.31,12.19 20.18,12.13 20.04,12.13M18.07,13.88L12,19.94V22H14.06L20.12,15.93L18.07,13.88Z",marker:"M18.27 6C19.28 8.17 19.05 10.73 17.94 12.81C17 14.5 15.65 15.93 14.5 17.5C14 18.2 13.5 18.95 13.13 19.76C13 20.03 12.91 20.31 12.81 20.59C12.71 20.87 12.62 21.15 12.53 21.43C12.44 21.69 12.33 22 12 22H12C11.61 22 11.5 21.56 11.42 21.26C11.18 20.53 10.94 19.83 10.57 19.16C10.15 18.37 9.62 17.64 9.08 16.93L18.27 6M9.12 8.42L5.82 12.34C6.43 13.63 7.34 14.73 8.21 15.83C8.42 16.08 8.63 16.34 8.83 16.61L13 11.67L12.96 11.68C11.5 12.18 9.88 11.44 9.3 10C9.22 9.83 9.16 9.63 9.12 9.43C9.07 9.06 9.06 8.79 9.12 8.43L9.12 8.42M6.58 4.62L6.57 4.63C4.95 6.68 4.67 9.53 5.64 11.94L9.63 7.2L9.58 7.15L6.58 4.62M14.22 2.36L11 6.17L11.04 6.16C12.38 5.7 13.88 6.28 14.56 7.5C14.71 7.78 14.83 8.08 14.87 8.38C14.93 8.76 14.95 9.03 14.88 9.4L14.88 9.41L18.08 5.61C17.24 4.09 15.87 2.93 14.23 2.37L14.22 2.36M9.89 6.89L13.8 2.24L13.76 2.23C13.18 2.08 12.59 2 12 2C10.03 2 8.17 2.85 6.85 4.31L6.83 4.32L9.89 6.89Z",info:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z",folder:"M4 5v14h16V7h-8.414l-2-2H4zm8.414 0H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2z",folder_plus:"M13 9h-2v3H8v2h3v3h2v-3h3v-2h-3z",folder_minus:"M7.874 12h8v2h-8z",folder_forbid:"M22 11.255a6.972 6.972 0 0 0-2-.965V7h-8.414l-2-2H4v14h7.29a6.96 6.96 0 0 0 .965 2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2H21a1 1 0 0 1 1 1v5.255zM18 22a5 5 0 1 1 0-10a5 5 0 0 1 0 10zm-1.293-2.292a3 3 0 0 0 4.001-4.001l-4.001 4zm-1.415-1.415l4.001-4a3 3 0 0 0-4.001 4.001z",folder_link:"M22 13h-2V7h-8.414l-2-2H4v14h9v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2H21a1 1 0 0 1 1 1v7zm-4 4v-3.5l5 4.5l-5 4.5V19h-3v-2h3z",folder_wrench:"M13.03 20H4C2.9 20 2 19.11 2 18V6C2 4.89 2.89 4 4 4H10L12 6H20C21.1 6 22 6.89 22 8V17.5L20.96 16.44C20.97 16.3 21 16.15 21 16C21 13.24 18.76 11 16 11S11 13.24 11 16C11 17.64 11.8 19.09 13.03 20M22.87 21.19L18.76 17.08C19.17 16.04 18.94 14.82 18.08 13.97C17.18 13.06 15.83 12.88 14.74 13.38L16.68 15.32L15.33 16.68L13.34 14.73C12.8 15.82 13.05 17.17 13.93 18.08C14.79 18.94 16 19.16 17.05 18.76L21.16 22.86C21.34 23.05 21.61 23.05 21.79 22.86L22.83 21.83C23.05 21.65 23.05 21.33 22.87 21.19Z",folder_cog_outline:"M4 4C2.89 4 2 4.89 2 6V18C2 19.11 2.9 20 4 20H12V18H4V8H20V12H22V8C22 6.89 21.1 6 20 6H12L10 4M18 14C17.87 14 17.76 14.09 17.74 14.21L17.55 15.53C17.25 15.66 16.96 15.82 16.7 16L15.46 15.5C15.35 15.5 15.22 15.5 15.15 15.63L14.15 17.36C14.09 17.47 14.11 17.6 14.21 17.68L15.27 18.5C15.25 18.67 15.24 18.83 15.24 19C15.24 19.17 15.25 19.33 15.27 19.5L14.21 20.32C14.12 20.4 14.09 20.53 14.15 20.64L15.15 22.37C15.21 22.5 15.34 22.5 15.46 22.5L16.7 22C16.96 22.18 17.24 22.35 17.55 22.47L17.74 23.79C17.76 23.91 17.86 24 18 24H20C20.11 24 20.22 23.91 20.24 23.79L20.43 22.47C20.73 22.34 21 22.18 21.27 22L22.5 22.5C22.63 22.5 22.76 22.5 22.83 22.37L23.83 20.64C23.89 20.53 23.86 20.4 23.77 20.32L22.7 19.5C22.72 19.33 22.74 19.17 22.74 19C22.74 18.83 22.73 18.67 22.7 18.5L23.76 17.68C23.85 17.6 23.88 17.47 23.82 17.36L22.82 15.63C22.76 15.5 22.63 15.5 22.5 15.5L21.27 16C21 15.82 20.73 15.65 20.42 15.53L20.23 14.21C20.22 14.09 20.11 14 20 14M19 17.5C19.83 17.5 20.5 18.17 20.5 19C20.5 19.83 19.83 20.5 19 20.5C18.16 20.5 17.5 19.83 17.5 19C17.5 18.17 18.17 17.5 19 17.5Z",folder_open:"M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM4 5v14h16V7h-8.414l-2-2H4zm8 7V9l4 4l-4 4v-3H8v-2h4z",folder_move_outline:"M20 18H4V8H20V18M12 6L10 4H4C2.9 4 2 4.89 2 6V18C2 19.11 2.9 20 4 20H20C21.11 20 22 19.11 22 18V8C22 6.9 21.11 6 20 6H12M11 14V12H15V9L19 13L15 17V14H11Z",alert_circle_outline:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",date:"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z",camera:"M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",cellphone:"M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",menu_back:"M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z",rotate_right:"M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z",sort_name_asc:"M9.25 5L12.5 1.75L15.75 5H9.25M8.89 14.3H6L5.28 17H2.91L6 7H9L12.13 17H9.67L8.89 14.3M6.33 12.68H8.56L7.93 10.56L7.67 9.59L7.42 8.63H7.39L7.17 9.6L6.93 10.58L6.33 12.68M13.05 17V15.74L17.8 8.97V8.91H13.5V7H20.73V8.34L16.09 15V15.08H20.8V17H13.05Z",sort_name_desc:"M15.75 19L12.5 22.25L9.25 19H15.75M8.89 14.3H6L5.28 17H2.91L6 7H9L12.13 17H9.67L8.89 14.3M6.33 12.68H8.56L7.93 10.56L7.67 9.59L7.42 8.63H7.39L7.17 9.6L6.93 10.58L6.33 12.68M13.05 17V15.74L17.8 8.97V8.91H13.5V7H20.73V8.34L16.09 15V15.08H20.8V17H13.05Z",sort_kind_asc:"M3 11H15V13H3M3 18V16H21V18M3 6H9V8H3Z",sort_kind_desc:"M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",sort_size_asc:"M10,13V11H18V13H10M10,19V17H14V19H10M10,7V5H22V7H10M6,17H8.5L5,20.5L1.5,17H4V7H1.5L5,3.5L8.5,7H6V17Z",sort_size_desc:"M10,13V11H18V13H10M10,19V17H14V19H10M10,7V5H22V7H10M6,17H8.5L5,20.5L1.5,17H4V7H1.5L5,3.5L8.5,7H6V17Z",sort_date_asc:"M7.78 7C9.08 7.04 10 7.53 10.57 8.46C11.13 9.4 11.41 10.56 11.39 11.95C11.4 13.5 11.09 14.73 10.5 15.62C9.88 16.5 8.95 16.97 7.71 17C6.45 16.96 5.54 16.5 4.96 15.56C4.38 14.63 4.09 13.45 4.09 12S4.39 9.36 5 8.44C5.59 7.5 6.5 7.04 7.78 7M7.75 8.63C7.31 8.63 6.96 8.9 6.7 9.46C6.44 10 6.32 10.87 6.32 12C6.31 13.15 6.44 14 6.69 14.54C6.95 15.1 7.31 15.37 7.77 15.37C8.69 15.37 9.16 14.24 9.17 12C9.17 9.77 8.7 8.65 7.75 8.63M13.33 17V15.22L13.76 15.24L14.3 15.22L15.34 15.03C15.68 14.92 16 14.78 16.26 14.58C16.59 14.35 16.86 14.08 17.07 13.76C17.29 13.45 17.44 13.12 17.53 12.78L17.5 12.77C17.05 13.19 16.38 13.4 15.47 13.41C14.62 13.4 13.91 13.15 13.34 12.65S12.5 11.43 12.46 10.5C12.47 9.5 12.81 8.69 13.47 8.03C14.14 7.37 15 7.03 16.12 7C17.37 7.04 18.29 7.45 18.88 8.24C19.47 9 19.76 10 19.76 11.19C19.75 12.15 19.61 13 19.32 13.76C19.03 14.5 18.64 15.13 18.12 15.64C17.66 16.06 17.11 16.38 16.47 16.61C15.83 16.83 15.12 16.96 14.34 17H13.33M16.06 8.63C15.65 8.64 15.32 8.8 15.06 9.11C14.81 9.42 14.68 9.84 14.68 10.36C14.68 10.8 14.8 11.16 15.03 11.46C15.27 11.77 15.63 11.92 16.11 11.93C16.43 11.93 16.7 11.86 16.92 11.74C17.14 11.61 17.3 11.46 17.41 11.28C17.5 11.17 17.53 10.97 17.53 10.71C17.54 10.16 17.43 9.69 17.2 9.28C16.97 8.87 16.59 8.65 16.06 8.63M9.25 5L12.5 1.75L15.75 5H9.25",sort_date_desc:"M7.78 7C9.08 7.04 10 7.53 10.57 8.46C11.13 9.4 11.41 10.56 11.39 11.95C11.4 13.5 11.09 14.73 10.5 15.62C9.88 16.5 8.95 16.97 7.71 17C6.45 16.96 5.54 16.5 4.96 15.56C4.38 14.63 4.09 13.45 4.09 12S4.39 9.36 5 8.44C5.59 7.5 6.5 7.04 7.78 7M7.75 8.63C7.31 8.63 6.96 8.9 6.7 9.46C6.44 10 6.32 10.87 6.32 12C6.31 13.15 6.44 14 6.69 14.54C6.95 15.1 7.31 15.37 7.77 15.37C8.69 15.37 9.16 14.24 9.17 12C9.17 9.77 8.7 8.65 7.75 8.63M13.33 17V15.22L13.76 15.24L14.3 15.22L15.34 15.03C15.68 14.92 16 14.78 16.26 14.58C16.59 14.35 16.86 14.08 17.07 13.76C17.29 13.45 17.44 13.12 17.53 12.78L17.5 12.77C17.05 13.19 16.38 13.4 15.47 13.41C14.62 13.4 13.91 13.15 13.34 12.65S12.5 11.43 12.46 10.5C12.47 9.5 12.81 8.69 13.47 8.03C14.14 7.37 15 7.03 16.12 7C17.37 7.04 18.29 7.45 18.88 8.24C19.47 9 19.76 10 19.76 11.19C19.75 12.15 19.61 13 19.32 13.76C19.03 14.5 18.64 15.13 18.12 15.64C17.66 16.06 17.11 16.38 16.47 16.61C15.83 16.83 15.12 16.96 14.34 17H13.33M16.06 8.63C15.65 8.64 15.32 8.8 15.06 9.11C14.81 9.42 14.68 9.84 14.68 10.36C14.68 10.8 14.8 11.16 15.03 11.46C15.27 11.77 15.63 11.92 16.11 11.93C16.43 11.93 16.7 11.86 16.92 11.74C17.14 11.61 17.3 11.46 17.41 11.28C17.5 11.17 17.53 10.97 17.53 10.71C17.54 10.16 17.43 9.69 17.2 9.28C16.97 8.87 16.59 8.65 16.06 8.63M15.75 19L12.5 22.25L9.25 19H15.75Z",filesize:"M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",database:"M52.354,8.51C51.196,4.22,42.577,0,27.5,0C12.423,0,3.803,4.22,2.646,8.51C2.562,8.657,2.5,8.818,2.5,9v0.5V21v0.5V22v11 v0.5V34v12c0,0.162,0.043,0.315,0.117,0.451C3.798,51.346,14.364,55,27.5,55c13.106,0,23.655-3.639,24.875-8.516 C52.455,46.341,52.5,46.176,52.5,46V34v-0.5V33V22v-0.5V21V9.5V9C52.5,8.818,52.438,8.657,52.354,8.51z M50.421,33.985 c-0.028,0.121-0.067,0.241-0.116,0.363c-0.04,0.099-0.089,0.198-0.143,0.297c-0.067,0.123-0.142,0.246-0.231,0.369 c-0.066,0.093-0.141,0.185-0.219,0.277c-0.111,0.131-0.229,0.262-0.363,0.392c-0.081,0.079-0.17,0.157-0.26,0.236 c-0.164,0.143-0.335,0.285-0.526,0.426c-0.082,0.061-0.17,0.12-0.257,0.18c-0.226,0.156-0.462,0.311-0.721,0.463 c-0.068,0.041-0.141,0.08-0.212,0.12c-0.298,0.168-0.609,0.335-0.945,0.497c-0.043,0.021-0.088,0.041-0.132,0.061 c-0.375,0.177-0.767,0.351-1.186,0.519c-0.012,0.005-0.024,0.009-0.036,0.014c-2.271,0.907-5.176,1.67-8.561,2.17 c-0.017,0.002-0.034,0.004-0.051,0.007c-0.658,0.097-1.333,0.183-2.026,0.259c-0.113,0.012-0.232,0.02-0.346,0.032 c-0.605,0.063-1.217,0.121-1.847,0.167c-0.288,0.021-0.59,0.031-0.883,0.049c-0.474,0.028-0.943,0.059-1.429,0.076 C29.137,40.984,28.327,41,27.5,41s-1.637-0.016-2.432-0.044c-0.486-0.017-0.955-0.049-1.429-0.076 c-0.293-0.017-0.595-0.028-0.883-0.049c-0.63-0.046-1.242-0.104-1.847-0.167c-0.114-0.012-0.233-0.02-0.346-0.032 c-0.693-0.076-1.368-0.163-2.026-0.259c-0.017-0.002-0.034-0.004-0.051-0.007c-3.385-0.5-6.29-1.263-8.561-2.17 c-0.012-0.004-0.024-0.009-0.036-0.014c-0.419-0.168-0.812-0.342-1.186-0.519c-0.043-0.021-0.089-0.041-0.132-0.061 c-0.336-0.162-0.647-0.328-0.945-0.497c-0.07-0.04-0.144-0.079-0.212-0.12c-0.259-0.152-0.495-0.307-0.721-0.463 c-0.086-0.06-0.175-0.119-0.257-0.18c-0.191-0.141-0.362-0.283-0.526-0.426c-0.089-0.078-0.179-0.156-0.26-0.236 c-0.134-0.13-0.252-0.26-0.363-0.392c-0.078-0.092-0.153-0.184-0.219-0.277c-0.088-0.123-0.163-0.246-0.231-0.369 c-0.054-0.099-0.102-0.198-0.143-0.297c-0.049-0.121-0.088-0.242-0.116-0.363C4.541,33.823,4.5,33.661,4.5,33.5 c0-0.113,0.013-0.226,0.031-0.338c0.025-0.151,0.011-0.302-0.031-0.445v-7.424c0.028,0.026,0.063,0.051,0.092,0.077 c0.218,0.192,0.44,0.383,0.69,0.567C9.049,28.786,16.582,31,27.5,31c10.872,0,18.386-2.196,22.169-5.028 c0.302-0.22,0.574-0.447,0.83-0.678l0.001-0.001v7.424c-0.042,0.143-0.056,0.294-0.031,0.445c0.019,0.112,0.031,0.225,0.031,0.338 C50.5,33.661,50.459,33.823,50.421,33.985z M50.5,13.293v7.424c-0.042,0.143-0.056,0.294-0.031,0.445 c0.019,0.112,0.031,0.225,0.031,0.338c0,0.161-0.041,0.323-0.079,0.485c-0.028,0.121-0.067,0.241-0.116,0.363 c-0.04,0.099-0.089,0.198-0.143,0.297c-0.067,0.123-0.142,0.246-0.231,0.369c-0.066,0.093-0.141,0.185-0.219,0.277 c-0.111,0.131-0.229,0.262-0.363,0.392c-0.081,0.079-0.17,0.157-0.26,0.236c-0.164,0.143-0.335,0.285-0.526,0.426 c-0.082,0.061-0.17,0.12-0.257,0.18c-0.226,0.156-0.462,0.311-0.721,0.463c-0.068,0.041-0.141,0.08-0.212,0.12 c-0.298,0.168-0.609,0.335-0.945,0.497c-0.043,0.021-0.088,0.041-0.132,0.061c-0.375,0.177-0.767,0.351-1.186,0.519 c-0.012,0.005-0.024,0.009-0.036,0.014c-2.271,0.907-5.176,1.67-8.561,2.17c-0.017,0.002-0.034,0.004-0.051,0.007 c-0.658,0.097-1.333,0.183-2.026,0.259c-0.113,0.012-0.232,0.02-0.346,0.032c-0.605,0.063-1.217,0.121-1.847,0.167 c-0.288,0.021-0.59,0.031-0.883,0.049c-0.474,0.028-0.943,0.059-1.429,0.076C29.137,28.984,28.327,29,27.5,29 s-1.637-0.016-2.432-0.044c-0.486-0.017-0.955-0.049-1.429-0.076c-0.293-0.017-0.595-0.028-0.883-0.049 c-0.63-0.046-1.242-0.104-1.847-0.167c-0.114-0.012-0.233-0.02-0.346-0.032c-0.693-0.076-1.368-0.163-2.026-0.259 c-0.017-0.002-0.034-0.004-0.051-0.007c-3.385-0.5-6.29-1.263-8.561-2.17c-0.012-0.004-0.024-0.009-0.036-0.014 c-0.419-0.168-0.812-0.342-1.186-0.519c-0.043-0.021-0.089-0.041-0.132-0.061c-0.336-0.162-0.647-0.328-0.945-0.497 c-0.07-0.04-0.144-0.079-0.212-0.12c-0.259-0.152-0.495-0.307-0.721-0.463c-0.086-0.06-0.175-0.119-0.257-0.18 c-0.191-0.141-0.362-0.283-0.526-0.426c-0.089-0.078-0.179-0.156-0.26-0.236c-0.134-0.13-0.252-0.26-0.363-0.392 c-0.078-0.092-0.153-0.184-0.219-0.277c-0.088-0.123-0.163-0.246-0.231-0.369c-0.054-0.099-0.102-0.198-0.143-0.297 c-0.049-0.121-0.088-0.242-0.116-0.363C4.541,21.823,4.5,21.661,4.5,21.5c0-0.113,0.013-0.226,0.031-0.338 c0.025-0.151,0.011-0.302-0.031-0.445v-7.424c0.12,0.109,0.257,0.216,0.387,0.324c0.072,0.06,0.139,0.12,0.215,0.18 c0.3,0.236,0.624,0.469,0.975,0.696c0.073,0.047,0.155,0.093,0.231,0.14c0.294,0.183,0.605,0.362,0.932,0.538 c0.121,0.065,0.242,0.129,0.367,0.193c0.365,0.186,0.748,0.367,1.151,0.542c0.066,0.029,0.126,0.059,0.193,0.087 c0.469,0.199,0.967,0.389,1.485,0.573c0.143,0.051,0.293,0.099,0.44,0.149c0.412,0.139,0.838,0.272,1.279,0.401 c0.159,0.046,0.315,0.094,0.478,0.138c0.585,0.162,1.189,0.316,1.823,0.458c0.087,0.02,0.181,0.036,0.269,0.055 c0.559,0.122,1.139,0.235,1.735,0.341c0.202,0.036,0.407,0.07,0.613,0.104c0.567,0.093,1.151,0.178,1.75,0.256 c0.154,0.02,0.301,0.043,0.457,0.062c0.744,0.09,1.514,0.167,2.305,0.233c0.195,0.016,0.398,0.028,0.596,0.042 c0.633,0.046,1.28,0.084,1.942,0.114c0.241,0.011,0.481,0.022,0.727,0.031C25.712,18.979,26.59,19,27.5,19s1.788-0.021,2.65-0.05 c0.245-0.009,0.485-0.02,0.727-0.031c0.662-0.03,1.309-0.068,1.942-0.114c0.198-0.015,0.4-0.026,0.596-0.042 c0.791-0.065,1.561-0.143,2.305-0.233c0.156-0.019,0.303-0.042,0.457-0.062c0.599-0.078,1.182-0.163,1.75-0.256 c0.206-0.034,0.411-0.068,0.613-0.104c0.596-0.106,1.176-0.219,1.735-0.341c0.088-0.019,0.182-0.036,0.269-0.055 c0.634-0.142,1.238-0.297,1.823-0.458c0.163-0.045,0.319-0.092,0.478-0.138c0.441-0.129,0.867-0.262,1.279-0.401 c0.147-0.05,0.297-0.098,0.44-0.149c0.518-0.184,1.017-0.374,1.485-0.573c0.067-0.028,0.127-0.058,0.193-0.087 c0.403-0.176,0.786-0.356,1.151-0.542c0.125-0.064,0.247-0.128,0.367-0.193c0.327-0.175,0.638-0.354,0.932-0.538 c0.076-0.047,0.158-0.093,0.231-0.14c0.351-0.227,0.675-0.459,0.975-0.696c0.075-0.06,0.142-0.12,0.215-0.18 C50.243,13.509,50.38,13.402,50.5,13.293z M27.5,2c13.555,0,23,3.952,23,7.5s-9.445,7.5-23,7.5s-23-3.952-23-7.5S13.945,2,27.5,2z  M50.5,45.703c-0.014,0.044-0.024,0.089-0.032,0.135C49.901,49.297,40.536,53,27.5,53S5.099,49.297,4.532,45.838 c-0.008-0.045-0.019-0.089-0.032-0.131v-8.414c0.028,0.026,0.063,0.051,0.092,0.077c0.218,0.192,0.44,0.383,0.69,0.567 C9.049,40.786,16.582,43,27.5,43c10.872,0,18.386-2.196,22.169-5.028c0.302-0.22,0.574-0.447,0.83-0.678l0.001-0.001V45.703z",layout_list:"M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z",layout_imagelist:"M3,4H7V8H3V4M9,5V7H21V5H9M3,10H7V14H3V10M9,11V13H21V11H9M3,16H7V20H3V16M9,17V19H21V17H9",layout_blocks:"M2 14H8V20H2M16 8H10V10H16M2 10H8V4H2M10 4V6H22V4M10 20H16V18H10M10 16H22V14H10",layout_grid:"M3,9H7V5H3V9M3,14H7V10H3V14M8,14H12V10H8V14M13,14H17V10H13V14M8,9H12V5H8V9M13,5V9H17V5H13M18,14H22V10H18V14M3,19H7V15H3V19M8,19H12V15H8V19M13,19H17V15H13V19M18,19H22V15H18V19M18,5V9H22V5H18Z",layout_rows:"M3,19H9V12H3V19M10,19H22V12H10V19M3,5V11H22V5H3Z",layout_columns:"M2,5V19H8V5H2M9,5V10H15V5H9M16,5V14H22V5H16M9,11V19H15V11H9M16,15V19H22V15H16Z",lock_outline:"M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",lock_open_outline:"M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,1 10,15A2,2 0 0,1 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17Z",open_in_new:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",play:"M8,5.14V19.14L19,12.14L8,5.14Z",pause:"M14,19H18V5H14M6,19H10V5H6V19Z",menu_down:"M7,13L12,18L17,13H7Z",menu_up:"M7,12L12,7L17,12H7Z",home:"M20 6H12L10 4H4A2 2 0 0 0 2 6V18A2 2 0 0 0 4 20H20A2 2 0 0 0 22 18V8A2 2 0 0 0 20 6M17 13V17H15V14H13V17H11V13H9L14 9L19 13Z",image_search_outline:"M15.5,9C16.2,9 16.79,8.76 17.27,8.27C17.76,7.79 18,7.2 18,6.5C18,5.83 17.76,5.23 17.27,4.73C16.79,4.23 16.2,4 15.5,4C14.83,4 14.23,4.23 13.73,4.73C13.23,5.23 13,5.83 13,6.5C13,7.2 13.23,7.79 13.73,8.27C14.23,8.76 14.83,9 15.5,9M19.31,8.91L22.41,12L21,13.41L17.86,10.31C17.08,10.78 16.28,11 15.47,11C14.22,11 13.16,10.58 12.3,9.7C11.45,8.83 11,7.77 11,6.5C11,5.27 11.45,4.2 12.33,3.33C13.2,2.45 14.27,2 15.5,2C16.77,2 17.83,2.45 18.7,3.33C19.58,4.2 20,5.27 20,6.5C20,7.33 19.78,8.13 19.31,8.91M16.5,18H5.5L8.25,14.5L10.22,16.83L12.94,13.31L16.5,18M18,13L20,15V20C20,20.55 19.81,21 19.41,21.4C19,21.79 18.53,22 18,22H4C3.45,22 3,21.79 2.6,21.4C2.21,21 2,20.55 2,20V6C2,5.47 2.21,5 2.6,4.59C3,4.19 3.45,4 4,4H9.5C9.2,4.64 9.03,5.31 9,6H4V20H18V13Z",search:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",file_default:"M14,10H19.5L14,4.5V10M5,3H15L21,9V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3M5,5V19H19V12H12V5H5Z",application:"M19,4C20.11,4 21,4.9 21,6V18A2,2 0 0,1 19,20H5C3.89,20 3,19.1 3,18V6A2,2 0 0,1 5,4H19M19,18V8H5V18H19Z",archive:"M14,17H12V15H10V13H12V15H14M14,9H12V11H14V13H12V11H10V9H12V7H10V5H12V7H14M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z",audio:"M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",cd:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",code:"M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z",excel:"M16.2,17H14.2L12,13.2L9.8,17H7.8L11,12L7.8,7H9.8L12,10.8L14.2,7H16.2L13,12M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z",font:"M17,8H20V20H21V21H17V20H18V17H14L12.5,20H14V21H10V20H11L17,8M18,9L14.5,16H18V9M5,3H10C11.11,3 12,3.89 12,5V16H9V11H6V16H3V5C3,3.89 3.89,3 5,3M6,5V9H9V5H6Z",image:"M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z",pdf:"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M10.59,10.08C10.57,10.13 10.3,11.84 8.5,14.77C8.5,14.77 5,16.58 5.83,17.94C6.5,19 8.15,17.9 9.56,15.27C9.56,15.27 11.38,14.63 13.79,14.45C13.79,14.45 17.65,16.19 18.17,14.34C18.69,12.5 15.12,12.9 14.5,13.09C14.5,13.09 12.46,11.75 12,9.89C12,9.89 13.13,5.95 11.38,6C9.63,6.05 10.29,9.12 10.59,10.08M11.4,11.13C11.43,11.13 11.87,12.33 13.29,13.58C13.29,13.58 10.96,14.04 9.9,14.5C9.9,14.5 10.9,12.75 11.4,11.13M15.32,13.84C15.9,13.69 17.64,14 17.58,14.32C17.5,14.65 15.32,13.84 15.32,13.84M8.26,15.7C7.73,16.91 6.83,17.68 6.6,17.67C6.37,17.66 7.3,16.07 8.26,15.7M11.4,8.76C11.39,8.71 11.03,6.57 11.4,6.61C11.94,6.67 11.4,8.71 11.4,8.76Z",powerpoint:"M9.8,13.4H12.3C13.8,13.4 14.46,13.12 15.1,12.58C15.74,12.03 16,11.25 16,10.23C16,9.26 15.75,8.5 15.1,7.88C14.45,7.29 13.83,7 12.3,7H8V17H9.8V13.4M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M9.8,12V8.4H12.1C12.76,8.4 13.27,8.65 13.6,9C13.93,9.35 14.1,9.72 14.1,10.24C14.1,10.8 13.92,11.19 13.6,11.5C13.28,11.81 12.9,12 12.22,12H9.8Z",text:"M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z",video:"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z",word:"M15.5,17H14L12,9.5L10,17H8.5L6.1,7H7.8L9.34,14.5L11.3,7H12.7L14.67,14.5L16.2,7H17.9M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z",translate:"M12.87,15.07L10.33,12.56L10.36,12.53C12.1,10.59 13.34,8.36 14.07,6H17V4H10V2H8V4H1V6H12.17C11.5,7.92 10.44,9.75 9,11.35C8.07,10.32 7.3,9.19 6.69,8H4.69C5.42,9.63 6.42,11.17 7.67,12.56L2.58,17.58L4,19L9,14L12.11,17.11L12.87,15.07M18.5,10H16.5L12,22H14L15.12,19H19.87L21,22H23L18.5,10M15.88,17L17.5,12.67L19.12,17H15.88Z",web:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},r={application:'<path d="M35 14C36.11 14 37 14.9 37 16V28A2 2 0 0 1 35 30H21C19.89 30 19 29.1 19 28V16A2 2 0 0 1 21 14H35M35 28V18H21V28H35z"/>',archive:'<path d="M28.5,24v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2v2h2v2h-2v2h2v2h-2v2h2v2h-2v2h2v2 h-4v5c0,2.757,2.243,5,5,5s5-2.243,5-5v-5H28.5z M30.5,29c0,1.654-1.346,3-3,3s-3-1.346-3-3v-3h6V29z"/><path d="M26.5,30h2c0.552,0,1-0.447,1-1s-0.448-1-1-1h-2c-0.552,0-1,0.447-1,1S25.948,30,26.5,30z"/></g>',audio:'<path d="M35.67,14.986c-0.567-0.796-1.3-1.543-2.308-2.351c-3.914-3.131-4.757-6.277-4.862-6.738V5 c0-0.553-0.447-1-1-1s-1,0.447-1,1v1v8.359v9.053h-3.706c-3.882,0-6.294,1.961-6.294,5.117c0,3.466,2.24,5.706,5.706,5.706 c3.471,0,6.294-2.823,6.294-6.294V16.468l0.298,0.243c0.34,0.336,0.861,0.72,1.521,1.205c2.318,1.709,6.2,4.567,5.224,7.793 C35.514,25.807,35.5,25.904,35.5,26c0,0.43,0.278,0.826,0.71,0.957C36.307,26.986,36.404,27,36.5,27c0.43,0,0.826-0.278,0.957-0.71 C39.084,20.915,37.035,16.9,35.67,14.986z M26.5,27.941c0,2.368-1.926,4.294-4.294,4.294c-2.355,0-3.706-1.351-3.706-3.706 c0-2.576,2.335-3.117,4.294-3.117H26.5V27.941z M31.505,16.308c-0.571-0.422-1.065-0.785-1.371-1.081l-1.634-1.34v-3.473 c0.827,1.174,1.987,2.483,3.612,3.783c0.858,0.688,1.472,1.308,1.929,1.95c0.716,1.003,1.431,2.339,1.788,3.978 C34.502,18.515,32.745,17.221,31.505,16.308z"/>',cd:'<circle cx="27.5" cy="21" r="12"/><circle style="fill:#e9e9e0" cx="27.5" cy="21" r="3"/><path style="fill:#d3ccc9" d="M25.379,18.879c0.132-0.132,0.276-0.245,0.425-0.347l-2.361-8.813 c-1.615,0.579-3.134,1.503-4.427,2.796c-1.294,1.293-2.217,2.812-2.796,4.427l8.813,2.361 C25.134,19.155,25.247,19.011,25.379,18.879z"/><path style="fill:#d3ccc9" d="M30.071,23.486l2.273,8.483c1.32-0.582,2.56-1.402,3.641-2.484c1.253-1.253,2.16-2.717,2.743-4.275 l-8.188-2.194C30.255,22.939,29.994,23.2,30.071,23.486z"/>',code:'<path d="M15.5,24c-0.256,0-0.512-0.098-0.707-0.293c-0.391-0.391-0.391-1.023,0-1.414l6-6 c0.391-0.391,1.023-0.391,1.414,0s0.391,1.023,0,1.414l-6,6C16.012,23.902,15.756,24,15.5,24z"/><path d="M21.5,30c-0.256,0-0.512-0.098-0.707-0.293l-6-6c-0.391-0.391-0.391-1.023,0-1.414 s1.023-0.391,1.414,0l6,6c0.391,0.391,0.391,1.023,0,1.414C22.012,29.902,21.756,30,21.5,30z"/><path d="M33.5,30c-0.256,0-0.512-0.098-0.707-0.293c-0.391-0.391-0.391-1.023,0-1.414l6-6 c0.391-0.391,1.023-0.391,1.414,0s0.391,1.023,0,1.414l-6,6C34.012,29.902,33.756,30,33.5,30z"/><path d="M39.5,24c-0.256,0-0.512-0.098-0.707-0.293l-6-6c-0.391-0.391-0.391-1.023,0-1.414 s1.023-0.391,1.414,0l6,6c0.391,0.391,0.391,1.023,0,1.414C40.012,23.902,39.756,24,39.5,24z"/><path d="M24.5,32c-0.11,0-0.223-0.019-0.333-0.058c-0.521-0.184-0.794-0.755-0.61-1.276l6-17 c0.185-0.521,0.753-0.795,1.276-0.61c0.521,0.184,0.794,0.755,0.61,1.276l-6,17C25.298,31.744,24.912,32,24.5,32z"/>',font:'<path d="M33 18H36V30H37V31H33V30H34V27H30L28.5 30H30V31H26V30H27L33 18M34 19L30.5 26H34V19M21 13H26C27.11 13 28 13.89 28 15V26H25V21H22V26H19V15C19 13.89 19.89 13 21 13M22 15V19H25V15H22z"/>',excel:'<path style="fill:#c8bdb8" d="M23.5,16v-4h-12v4v2v2v2v2v2v2v2v4h10h2h21v-4v-2v-2v-2v-2v-2v-4H23.5z M13.5,14h8v2h-8V14z M13.5,18h8v2h-8V18z M13.5,22h8v2h-8V22z M13.5,26h8v2h-8V26z M21.5,32h-8v-2h8V32z M42.5,32h-19v-2h19V32z M42.5,28h-19v-2h19V28 z M42.5,24h-19v-2h19V24z M23.5,20v-2h19v2H23.5z"/>',image:'<circle style="fill:#f3d55b" cx="18.931" cy="14.431" r="4.569"/><polygon style="fill:#88c057" points="6.5,39 17.5,39 49.5,39 49.5,28 39.5,18.5 29,30 23.517,24.517"/>',pdf:'<path d="M19.514,33.324L19.514,33.324c-0.348,0-0.682-0.113-0.967-0.326 c-1.041-0.781-1.181-1.65-1.115-2.242c0.182-1.628,2.195-3.332,5.985-5.068c1.504-3.296,2.935-7.357,3.788-10.75 c-0.998-2.172-1.968-4.99-1.261-6.643c0.248-0.579,0.557-1.023,1.134-1.215c0.228-0.076,0.804-0.172,1.016-0.172 c0.504,0,0.947,0.649,1.261,1.049c0.295,0.376,0.964,1.173-0.373,6.802c1.348,2.784,3.258,5.62,5.088,7.562 c1.311-0.237,2.439-0.358,3.358-0.358c1.566,0,2.515,0.365,2.902,1.117c0.32,0.622,0.189,1.349-0.39,2.16 c-0.557,0.779-1.325,1.191-2.22,1.191c-1.216,0-2.632-0.768-4.211-2.285c-2.837,0.593-6.15,1.651-8.828,2.822 c-0.836,1.774-1.637,3.203-2.383,4.251C21.273,32.654,20.389,33.324,19.514,33.324z M22.176,28.198 c-2.137,1.201-3.008,2.188-3.071,2.744c-0.01,0.092-0.037,0.334,0.431,0.692C19.685,31.587,20.555,31.19,22.176,28.198z M35.813,23.756c0.815,0.627,1.014,0.944,1.547,0.944c0.234,0,0.901-0.01,1.21-0.441c0.149-0.209,0.207-0.343,0.23-0.415 c-0.123-0.065-0.286-0.197-1.175-0.197C37.12,23.648,36.485,23.67,35.813,23.756z M28.343,17.174 c-0.715,2.474-1.659,5.145-2.674,7.564c2.09-0.811,4.362-1.519,6.496-2.02C30.815,21.15,29.466,19.192,28.343,17.174z M27.736,8.712c-0.098,0.033-1.33,1.757,0.096,3.216C28.781,9.813,27.779,8.698,27.736,8.712z"/>',powerpoint:'<path style="fill:#c8bdb8" d="M39.5,30h-24V14h24V30z M17.5,28h20V16h-20V28z"/><path style="fill:#c8bdb8" d="M20.499,35c-0.175,0-0.353-0.046-0.514-0.143c-0.474-0.284-0.627-0.898-0.343-1.372l3-5 c0.284-0.474,0.898-0.627,1.372-0.343c0.474,0.284,0.627,0.898,0.343,1.372l-3,5C21.17,34.827,20.839,35,20.499,35z"/><path style="fill:#c8bdb8" d="M34.501,35c-0.34,0-0.671-0.173-0.858-0.485l-3-5c-0.284-0.474-0.131-1.088,0.343-1.372 c0.474-0.283,1.088-0.131,1.372,0.343l3,5c0.284,0.474,0.131,1.088-0.343,1.372C34.854,34.954,34.676,35,34.501,35z"/><path style="fill:#c8bdb8" d="M27.5,16c-0.552,0-1-0.447-1-1v-3c0-0.553,0.448-1,1-1s1,0.447,1,1v3C28.5,15.553,28.052,16,27.5,16 z"/><rect x="17.5" y="16" style="fill:#d3ccc9" width="20" height="12"/>',text:'<path d="M12.5,13h6c0.553,0,1-0.448,1-1s-0.447-1-1-1h-6c-0.553,0-1,0.448-1,1S11.947,13,12.5,13z"/><path d="M12.5,18h9c0.553,0,1-0.448,1-1s-0.447-1-1-1h-9c-0.553,0-1,0.448-1,1S11.947,18,12.5,18z"/><path d="M25.5,18c0.26,0,0.52-0.11,0.71-0.29c0.18-0.19,0.29-0.45,0.29-0.71c0-0.26-0.11-0.52-0.29-0.71 c-0.38-0.37-1.04-0.37-1.42,0c-0.181,0.19-0.29,0.44-0.29,0.71s0.109,0.52,0.29,0.71C24.979,17.89,25.24,18,25.5,18z"/><path d="M29.5,18h8c0.553,0,1-0.448,1-1s-0.447-1-1-1h-8c-0.553,0-1,0.448-1,1S28.947,18,29.5,18z"/><path d="M11.79,31.29c-0.181,0.19-0.29,0.44-0.29,0.71s0.109,0.52,0.29,0.71 C11.979,32.89,12.229,33,12.5,33c0.27,0,0.52-0.11,0.71-0.29c0.18-0.19,0.29-0.45,0.29-0.71c0-0.26-0.11-0.52-0.29-0.71 C12.84,30.92,12.16,30.92,11.79,31.29z"/><path d="M24.5,31h-8c-0.553,0-1,0.448-1,1s0.447,1,1,1h8c0.553,0,1-0.448,1-1S25.053,31,24.5,31z"/><path d="M41.5,18h2c0.553,0,1-0.448,1-1s-0.447-1-1-1h-2c-0.553,0-1,0.448-1,1S40.947,18,41.5,18z"/><path d="M12.5,23h22c0.553,0,1-0.448,1-1s-0.447-1-1-1h-22c-0.553,0-1,0.448-1,1S11.947,23,12.5,23z"/><path d="M43.5,21h-6c-0.553,0-1,0.448-1,1s0.447,1,1,1h6c0.553,0,1-0.448,1-1S44.053,21,43.5,21z"/><path d="M12.5,28h4c0.553,0,1-0.448,1-1s-0.447-1-1-1h-4c-0.553,0-1,0.448-1,1S11.947,28,12.5,28z"/><path d="M30.5,26h-10c-0.553,0-1,0.448-1,1s0.447,1,1,1h10c0.553,0,1-0.448,1-1S31.053,26,30.5,26z"/><path d="M43.5,26h-9c-0.553,0-1,0.448-1,1s0.447,1,1,1h9c0.553,0,1-0.448,1-1S44.053,26,43.5,26z"/>',video:'<path d="M24.5,28c-0.166,0-0.331-0.041-0.481-0.123C23.699,27.701,23.5,27.365,23.5,27V13 c0-0.365,0.199-0.701,0.519-0.877c0.321-0.175,0.71-0.162,1.019,0.033l11,7C36.325,19.34,36.5,19.658,36.5,20 s-0.175,0.66-0.463,0.844l-11,7C24.874,27.947,24.687,28,24.5,28z M25.5,14.821v10.357L33.637,20L25.5,14.821z"/><path d="M28.5,35c-8.271,0-15-6.729-15-15s6.729-15,15-15s15,6.729,15,15S36.771,35,28.5,35z M28.5,7 c-7.168,0-13,5.832-13,13s5.832,13,13,13s13-5.832,13-13S35.668,7,28.5,7z"/>'};r.word=r.text;var s={application:["app","exe"],archive:["gz","zip","7z","7zip","arj","rar","gzip","bz2","bzip2","tar","x-gzip"],cd:["dmg","iso","bin","cd","cdr","cue","disc","disk","dsk","dvd","dvdr","hdd","hdi","hds","hfs","hfv","ima","image","imd","img","mdf","mdx","nrg","omg","toast","cso","mds"],code:["php","x-php","js","css","xml","json","html","htm","py","jsx","scss","clj","less","rb","sql","ts","yml"],excel:["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw","csv"],font:["ttf","otf","woff","woff2","eot","ttc"],image:["wbmp","tiff","webp","psd","ai","eps","jpg","jpeg","webp","png","gif","bmp"],pdf:["pdf"],powerpoint:["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"],text:["epub","rtf"],word:["doc","dot","docx","docm","dotx","dotm","docb","odt","wbk"]};function o(e,t){for(var i=e.length,n=0;n<i;n++)t(e[n],n)}var a={};o(Object.keys(s),(function(e){o(s[e],(function(t){a[t]=e}))}));var c={methods:{}};c.methods.getFileType=function(e){if(e.mime&&["archive","audio","image","video"].includes(e.mime))return e.mime;var t=!!e.mime&&a[e.mime];return t||(!!e.ext&&a[e.ext]||"text"===e.mime&&"text")},c.methods.getSvgIcon=function(e){return'<svg viewBox="0 0 24 24" class="svg-icon svg-'+e+'"><path class="svg-path-'+e+'" d="'+n[e]+'" /></svg>'},c.methods.getSvgIconClass=function(e,t){return'<svg viewBox="0 0 24 24" class="'+t+'"><path class="svg-path-'+e+'" d="'+n[e]+'" /></svg>'},c.methods.getSvgIconMulti=function(){for(var e=arguments,t=e.length,i="",r=0;r<t;r++)i=i+'<path class="svg-path-'+e[r]+'" d="'+n[e[r]]+'" />';return'<svg viewBox="0 0 24 24" class="svg-icon svg-'+e[0]+'">'+i+"</svg>"},c.methods.getSvgIconMultiClass=function(e){for(var t=arguments,i=t.length,r="",s=1;s<i;s++)r=r+'<path class="svg-path-'+t[s]+'" d="'+n[t[s]]+'" />';return'<svg viewBox="0 0 24 24" class="'+e+'">'+r+"</svg>"},c.methods.getFileSvgIcon=function(e){if("dir"===e.type||"back"===e.type)return this.getFolderSvgIcon(e);var t=this.getFileType(e);return this.getSvgIcon(t||"file_default")},c.methods.getFileLargeSvgIcon=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"files-svg";if("dir"===e.type||"back"===e.type)return this.getFolderSvgIcon(e,t);var i=this.getFileType(e),n=e.ext&&e.ext.length<6?e.ext:"image"===i&&e.mime;return'<svg viewBox="0 0 56 56" class="svg-file svg-'+(i||"none")+(t?" "+t:"")+'"><path class="svg-file-bg" d="M36.985,0H7.963C7.155,0,6.5,0.655,6.5,1.926V55c0,0.345,0.655,1,1.463,1h40.074 c0.808,0,1.463-0.655,1.463-1V12.978c0-0.696-0.093-0.92-0.257-1.085L37.607,0.257C37.442,0.093,37.218,0,36.985,0z"/><polygon  class="svg-file-flip" points="37.5,0.151 37.5,12 49.349,12"/>'+(i?'<g class="svg-file-icon">'+r[i]+"</g>":"")+(n?'<path class="svg-file-text-bg" d="M48.037,56H7.963C7.155,56,6.5,55.345,6.5,54.537V39h43v15.537C49.5,55.345,48.845,56,48.037,56z"/><text class="svg-file-ext'+(n.length>3?" f_"+(15-n.length):"")+'" x="28" y="51.5">'+n+"</text>":"")+(e.is_unreadable?'<path class="svg-file-forbidden" d="M 40.691 24.958 C 40.691 31.936 34.982 37.645 28.003 37.645 C 21.026 37.645 15.317 31.936 15.317 24.958 C 15.317 17.98 21.026 12.271 28.003 12.271 C 34.982 12.271 40.691 17.98 40.691 24.958"/><path style="fill: #FFF;" d="M 26.101 16.077 L 29.907 16.077 L 29.907 27.495 L 26.101 27.495 Z M 26.101 16.077"/><path style="fill: #FFF;" d="M 26.101 30.033 L 29.907 30.033 L 29.907 33.839 L 26.101 33.839 Z M 26.101 30.033"/></svg>':"")},c.methods.getFolderSvgIcon=function(e){return'<svg viewBox="0 0 48 48" class="svg-folder '+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"files-svg")+'"><path class="svg-folder-bg" d="M40 12H22l-4-4H8c-2.2 0-4 1.8-4 4v8h40v-4c0-2.2-1.8-4-4-4z"/><path class="svg-folder-fg" d="M40 12H8c-2.2 0-4 1.8-4 4v20c0 2.2 1.8 4 4 4h32c2.2 0 4-1.8 4-4V16c0-2.2-1.8-4-4-4z"/>'+(e.unreadable?'<path class="svg-folder-forbidden" d="M 34.441 26.211 C 34.441 31.711 29.941 36.211 24.441 36.211 C 18.941 36.211 14.441 31.711 14.441 26.211 C 14.441 20.711 18.941 16.211 24.441 16.211 C 29.941 16.211 34.441 20.711 34.441 26.211"/><path style="fill:#FFF;" d="M 22.941 19.211 L 25.941 19.211 L 25.941 28.211 L 22.941 28.211 Z M 22.941 19.211"/><path style="fill:#FFF;" d="M 22.941 30.211 L 25.941 30.211 L 25.941 33.211 L 22.941 33.211 Z M 22.941 30.211"/>':"")+"</svg>"},c.methods.getTreeFolderSvgIcon=function(e){return'<svg viewBox="0 0 48 48" class="svg-folder '+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"files-svg")+'"><path class="svg-folder-bg" d="M40 12H22l-4-4H8c-2.2 0-4 1.8-4 4v8h40v-4c0-2.2-1.8-4-4-4z"/><path class="svg-folder-fg" d="M40 12H8c-2.2 0-4 1.8-4 4v20c0 2.2 1.8 4 4 4h32c2.2 0 4-1.8 4-4V16c0-2.2-1.8-4-4-4z"/>'+(e.unreadable?'<path class="svg-folder-forbidden" d="M 34.441 26.211 C 34.441 31.711 29.941 36.211 24.441 36.211 C 18.941 36.211 14.441 31.711 14.441 26.211 C 14.441 20.711 18.941 16.211 24.441 16.211 C 29.941 16.211 34.441 20.711 34.441 26.211"/><path style="fill:#FFF;" d="M 22.941 19.211 L 25.941 19.211 L 25.941 28.211 L 22.941 28.211 Z M 22.941 19.211"/><path style="fill:#FFF;" d="M 22.941 30.211 L 25.941 30.211 L 25.941 33.211 L 22.941 33.211 Z M 22.941 30.211"/>':"")+"</svg>"};const l=c},41067:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});i(90203),i(67293),i(50863),i(73522);var n=i(51892),r=i(11103);const s={methods:{getDownloadLink:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.default.config.baseURL+"/download&path="+encodeURIComponent(r.Base64.encode(e.path))+(t?"&t="+e.time:"")},getBatchDownloadLink:function(e,t){return n.default.config.baseURL+"/batchdownload&name="+e+"&uniqid="+t},getEditorImageLink:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.default.config.baseURL+"/downloadimage&path="+encodeURIComponent(r.Base64.encode(e.path))+"&id="+e.id+"&ext="+e.ext+(t?"&t="+e.time:"")},hasPreview:function(e){return this.isText(e)||this.isImage(e)||this.isMedia(e)},isText:function(e){return!this.isImage(e)&&!this.isArchive(e)&&this.isEditable(e)},isArchive:function(e){return this.isFile(e)&&"zip"==e.name.split(".").pop()},isImage:function(e){return this.isFile(e)&&this.hasExtension(e,["jpg","jpeg","gif","png"])},isMedia:function(e){return this.isFile(e)&&["video","audio"].includes(e.mime)&&!this.hasExtension(e,["avi"])},isEditable:function(e){return this.isFile(e)&&this.hasExtension(e,this.getConfig("editor.editable",[]))},hasExtension:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=""!==e.ext?e.ext:".";return!!Array.isArray(t)&&t.includes(i)},isFile:function(e){return"file"===e.type},isFolder:function(e){return"dir"===e.type},isBack:function(e){return"back"===e.type},isRootFolder:function(e){return"/"===e.path},uniqueKey:function(e){return this.isImage(e)?this.hashCode(e.dir):this.hashCode(e.path)},hashCode:function(e){var t,i=0;if(0===e.length)return i;for(t=0;t<e.length;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;return i}}}},73023:(e,t,i)=>{"use strict";i.d(t,{Z:()=>k});var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var i=-1;return e.some((function(e,n){return e[0]===t&&(i=n,!0)})),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var i=e(this.__entries__,t),n=this.__entries__[i];return n&&n[1]},t.prototype.set=function(t,i){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=i:this.__entries__.push([t,i])},t.prototype.delete=function(t){var i=this.__entries__,n=e(i,t);~n&&i.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var i=0,n=this.__entries__;i<n.length;i++){var r=n[i];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==i.g&&i.g.Math===Math?i.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var i=!1,n=!1,r=0;function s(){i&&(i=!1,e()),n&&c()}function a(){o(s)}function c(){var e=Date.now();if(i){if(e-r<2)return;n=!0}else i=!0,n=!1,setTimeout(a,t);r=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,i=t.indexOf(e);~i&&t.splice(i,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,i=void 0===t?"":t;a.some((function(e){return!!~i.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var i=0,n=Object.keys(t);i<n.length;i++){var r=n[i];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||s},h=b(0,0,0,0);function f(e){return parseFloat(e)||0}function p(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return t.reduce((function(t,i){return t+f(e["border-"+i+"-width"])}),0)}function m(e){var t=e.clientWidth,i=e.clientHeight;if(!t&&!i)return h;var n=d(e).getComputedStyle(e),r=function(e){for(var t={},i=0,n=["top","right","bottom","left"];i<n.length;i++){var r=n[i],s=e["padding-"+r];t[r]=f(s)}return t}(n),s=r.left+r.right,o=r.top+r.bottom,a=f(n.width),c=f(n.height);if("border-box"===n.boxSizing&&(Math.round(a+s)!==t&&(a-=p(n,"left","right")+s),Math.round(c+o)!==i&&(c-=p(n,"top","bottom")+o)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(a+s)-t,u=Math.round(c+o)-i;1!==Math.abs(l)&&(a-=l),1!==Math.abs(u)&&(c-=u)}return b(r.left,r.top,a,c)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?v(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):m(e):h}function b(e,t,i,n){return{x:e,y:t,width:i,height:n}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(e,t){var i,n,r,s,o,a,c,l=(n=(i=t).x,r=i.y,s=i.width,o=i.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),u(c,{x:n,y:r,width:s,height:o,top:r,right:n+s,bottom:o+r,left:n}),c);u(this,{target:e,contentRect:l})},w=function(){function e(e,t,i){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=l.getInstance(),n=new w(t,i,this);_.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));const k=void 0!==s.ResizeObserver?s.ResizeObserver:x},53831:e=>{!function(){"use strict";var t=function(e){if(!(this instanceof t))return new t(e);if(this.version=1,this.support=!("undefined"==typeof File||"undefined"==typeof Blob||"undefined"==typeof FileList||!Blob.prototype.webkitSlice&&!Blob.prototype.mozSlice&&!Blob.prototype.slice),!this.support)return!1;var i=this;i.files=[],i.defaults={chunkSize:1048576,forceChunkSize:!1,simultaneousUploads:3,fileParameterName:"file",chunkNumberParameterName:"resumableChunkNumber",chunkSizeParameterName:"resumableChunkSize",currentChunkSizeParameterName:"resumableCurrentChunkSize",totalSizeParameterName:"resumableTotalSize",typeParameterName:"resumableType",identifierParameterName:"resumableIdentifier",fileNameParameterName:"resumableFilename",relativePathParameterName:"resumableRelativePath",totalChunksParameterName:"resumableTotalChunks",throttleProgressCallbacks:.5,query:{},headers:{},preprocess:null,method:"multipart",uploadMethod:"POST",testMethod:"GET",prioritizeFirstAndLastChunk:!1,target:"/",testTarget:null,parameterNamespace:"",testChunks:!0,generateUniqueIdentifier:null,getTarget:null,maxChunkRetries:100,chunkRetryInterval:void 0,permanentErrors:[400,404,415,500,501],maxFiles:void 0,withCredentials:!1,xhrTimeout:0,clearInput:!0,chunkFormat:"blob",setChunkTypeFromFile:!1,maxFilesErrorCallback:function(e,t){var n=i.getOpt("maxFiles");alert("Please upload no more than "+n+" file"+(1===n?"":"s")+" at a time.")},minFileSize:1,minFileSizeErrorCallback:function(e,t){alert(e.fileName||e.name+" is too small, please upload files larger than "+n.formatSize(i.getOpt("minFileSize"))+".")},maxFileSize:void 0,maxFileSizeErrorCallback:function(e,t){alert(e.fileName||e.name+" is too large, please upload files less than "+n.formatSize(i.getOpt("maxFileSize"))+".")},fileType:[],fileTypeErrorCallback:function(e,t){alert(e.fileName||e.name+" has type not allowed, please upload files of type "+i.getOpt("fileType")+".")}},i.opts=e||{},i.getOpt=function(e){var i=this;if(e instanceof Array){var r={};return n.each(e,(function(e){r[e]=i.getOpt(e)})),r}if(i instanceof d){if(void 0!==i.opts[e])return i.opts[e];i=i.fileObj}if(i instanceof u){if(void 0!==i.opts[e])return i.opts[e];i=i.resumableObj}if(i instanceof t)return void 0!==i.opts[e]?i.opts[e]:i.defaults[e]},i.events=[],i.on=function(e,t){i.events.push(e.toLowerCase(),t)},i.fire=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);var n=e[0].toLowerCase();for(t=0;t<=i.events.length;t+=2)i.events[t]==n&&i.events[t+1].apply(i,e.slice(1)),"catchall"==i.events[t]&&i.events[t+1].apply(null,e);"fileerror"==n&&i.fire("error",e[2],e[1]),"fileprogress"==n&&i.fire("progress")};var n={stopEvent:function(e){e.stopPropagation(),e.preventDefault()},each:function(e,t){if(void 0!==e.length){for(var i=0;i<e.length;i++)if(!1===t(e[i]))return}else for(i in e)if(!1===t(i,e[i]))return},generateUniqueIdentifier:function(e,t){var n=i.getOpt("generateUniqueIdentifier");if("function"==typeof n)return n(e,t);var r=e.webkitRelativePath||e.fileName||e.name;return e.size+"-"+r.replace(/[^0-9a-zA-Z_-]/gim,"")},contains:function(e,t){var i=!1;return n.each(e,(function(e){return e!=t||(i=!0,!1)})),i},formatSize:function(e){return e<1024?e+" bytes":e<1048576?(e/1024).toFixed(0)+" KB":e<1073741824?(e/1024/1024).toFixed(1)+" MB":(e/1024/1024/1024).toFixed(1)+" GB"},getTarget:function(e,t){var n=i.getOpt("target");if("test"===e&&i.getOpt("testTarget")&&(n="/"===i.getOpt("testTarget")?i.getOpt("target"):i.getOpt("testTarget")),"function"==typeof n)return n(t);var r=n.indexOf("?")<0?"?":"&";return n+r+t.join("&")}},r=function(e){n.stopEvent(e),e.dataTransfer&&e.dataTransfer.items?c(e.dataTransfer.items,e):e.dataTransfer&&e.dataTransfer.files&&c(e.dataTransfer.files,e)},s=function(e){e.preventDefault()};function o(e,t,i,n){var r;return e.isFile?e.file((function(e){e.relativePath=t+e.name,i.push(e),n()})):(e.isDirectory?r=e:e instanceof File&&i.push(e),"function"==typeof e.webkitGetAsEntry&&(r=e.webkitGetAsEntry()),r&&r.isDirectory?function(e,t,i,n){e.createReader().readEntries((function(e){if(!e.length)return n();a(e.map((function(e){return o.bind(null,e,t,i)})),n)}))}(r,t+r.name+"/",i,n):("function"==typeof e.getAsFile&&(e=e.getAsFile())instanceof File&&(e.relativePath=t+e.name,i.push(e)),void n()))}function a(e,t){if(!e||0===e.length)return t();e[0]((function(){a(e.slice(1),t)}))}function c(e,t){if(e.length){i.fire("beforeAdd");var n=[];a(Array.prototype.map.call(e,(function(e){return o.bind(null,e,"",n)})),(function(){n.length&&l(n,t)}))}}var l=function(e,t){var r=0,s=i.getOpt(["maxFiles","minFileSize","maxFileSize","maxFilesErrorCallback","minFileSizeErrorCallback","maxFileSizeErrorCallback","fileType","fileTypeErrorCallback"]);if(void 0!==s.maxFiles&&s.maxFiles<e.length+i.files.length){if(1!==s.maxFiles||1!==i.files.length||1!==e.length)return s.maxFilesErrorCallback(e,r++),!1;i.removeFile(i.files[0])}var o=[],a=[],c=e.length,l=function(){if(! --c){if(!o.length&&!a.length)return;window.setTimeout((function(){i.fire("filesAdded",o,a)}),0)}};n.each(e,(function(e){var c=e.name;if(s.fileType.length>0){var d=!1;for(var h in s.fileType){var f="."+s.fileType[h];if(-1!==c.toLowerCase().indexOf(f.toLowerCase(),c.length-f.length)){d=!0;break}}if(!d)return s.fileTypeErrorCallback(e,r++),!1}if(void 0!==s.minFileSize&&e.size<s.minFileSize)return s.minFileSizeErrorCallback(e,r++),!1;if(void 0!==s.maxFileSize&&e.size>s.maxFileSize)return s.maxFileSizeErrorCallback(e,r++),!1;function p(n){i.getFromUniqueIdentifier(n)?a.push(e):function(){e.uniqueIdentifier=n;var r=new u(i,e,n);i.files.push(r),o.push(r),r.container=void 0!==t?t.srcElement:null,window.setTimeout((function(){i.fire("fileAdded",r,t)}),0)}(),l()}var m=n.generateUniqueIdentifier(e,t);m&&"function"==typeof m.then?m.then((function(e){p(e)}),(function(){l()})):p(m)}))};function u(e,t,i){var r=this;r.opts={},r.getOpt=e.getOpt,r._prevProgress=0,r.resumableObj=e,r.file=t,r.fileName=t.fileName||t.name,r.size=t.size,r.relativePath=t.relativePath||t.webkitRelativePath||r.fileName,r.uniqueIdentifier=i,r._pause=!1,r.container="";var s=void 0!==i,o=function(e,t){switch(e){case"progress":r.resumableObj.fire("fileProgress",r,t);break;case"error":r.abort(),s=!0,r.chunks=[],r.resumableObj.fire("fileError",r,t);break;case"success":if(s)return;r.resumableObj.fire("fileProgress",r),r.isComplete()&&r.resumableObj.fire("fileSuccess",r,t);break;case"retry":r.resumableObj.fire("fileRetry",r)}};return r.chunks=[],r.abort=function(){var e=0;n.each(r.chunks,(function(t){"uploading"==t.status()&&(t.abort(),e++)})),e>0&&r.resumableObj.fire("fileProgress",r)},r.cancel=function(){var e=r.chunks;r.chunks=[],n.each(e,(function(e){"uploading"==e.status()&&(e.abort(),r.resumableObj.uploadNextChunk())})),r.resumableObj.removeFile(r),r.resumableObj.fire("fileProgress",r)},r.retry=function(){r.bootstrap();var e=!1;r.resumableObj.on("chunkingComplete",(function(){e||r.resumableObj.upload(),e=!0}))},r.bootstrap=function(){r.abort(),s=!1,r.chunks=[],r._prevProgress=0;for(var e=r.getOpt("forceChunkSize")?Math.ceil:Math.floor,t=Math.max(e(r.file.size/r.getOpt("chunkSize")),1),i=0;i<t;i++)!function(e){window.setTimeout((function(){r.chunks.push(new d(r.resumableObj,r,e,o)),r.resumableObj.fire("chunkingProgress",r,e/t)}),0)}(i);window.setTimeout((function(){r.resumableObj.fire("chunkingComplete",r)}),0)},r.progress=function(){if(s)return 1;var e=0,t=!1;return n.each(r.chunks,(function(i){"error"==i.status()&&(t=!0),e+=i.progress(!0)})),e=t||e>.99999?1:e,e=Math.max(r._prevProgress,e),r._prevProgress=e,e},r.isUploading=function(){var e=!1;return n.each(r.chunks,(function(t){if("uploading"==t.status())return e=!0,!1})),e},r.isComplete=function(){var e=!1;return n.each(r.chunks,(function(t){var i=t.status();if("pending"==i||"uploading"==i||1===t.preprocessState)return e=!0,!1})),!e},r.pause=function(e){r._pause=void 0===e?!r._pause:e},r.isPaused=function(){return r._pause},r.resumableObj.fire("chunkingStart",r),r.bootstrap(),this}function d(e,t,i,r){var s=this;s.opts={},s.getOpt=e.getOpt,s.resumableObj=e,s.fileObj=t,s.fileObjSize=t.size,s.fileObjType=t.file.type,s.offset=i,s.callback=r,s.lastProgressCallback=new Date,s.tested=!1,s.retries=0,s.pendingRetry=!1,s.preprocessState=0;var o=s.getOpt("chunkSize");return s.loaded=0,s.startByte=s.offset*o,s.endByte=Math.min(s.fileObjSize,(s.offset+1)*o),s.fileObjSize-s.endByte<o&&!s.getOpt("forceChunkSize")&&(s.endByte=s.fileObjSize),s.xhr=null,s.test=function(){s.xhr=new XMLHttpRequest;var e=function(e){s.tested=!0;var t=s.status();"success"==t?(s.callback(t,s.message()),s.resumableObj.uploadNextChunk()):s.send()};s.xhr.addEventListener("load",e,!1),s.xhr.addEventListener("error",e,!1),s.xhr.addEventListener("timeout",e,!1);var t=[],i=s.getOpt("parameterNamespace"),r=s.getOpt("query");"function"==typeof r&&(r=r(s.fileObj,s)),n.each(r,(function(e,n){t.push([encodeURIComponent(i+e),encodeURIComponent(n)].join("="))})),t=t.concat([["chunkNumberParameterName",s.offset+1],["chunkSizeParameterName",s.getOpt("chunkSize")],["currentChunkSizeParameterName",s.endByte-s.startByte],["totalSizeParameterName",s.fileObjSize],["typeParameterName",s.fileObjType],["identifierParameterName",s.fileObj.uniqueIdentifier],["fileNameParameterName",s.fileObj.fileName],["relativePathParameterName",s.fileObj.relativePath],["totalChunksParameterName",s.fileObj.chunks.length]].filter((function(e){return s.getOpt(e[0])})).map((function(e){return[i+s.getOpt(e[0]),encodeURIComponent(e[1])].join("=")}))),s.xhr.open(s.getOpt("testMethod"),n.getTarget("test",t)),s.xhr.timeout=s.getOpt("xhrTimeout"),s.xhr.withCredentials=s.getOpt("withCredentials");var o=s.getOpt("headers");"function"==typeof o&&(o=o(s.fileObj,s)),n.each(o,(function(e,t){s.xhr.setRequestHeader(e,t)})),s.xhr.send(null)},s.preprocessFinished=function(){s.preprocessState=2,s.send()},s.send=function(){var e=s.getOpt("preprocess");if("function"==typeof e)switch(s.preprocessState){case 0:return s.preprocessState=1,void e(s);case 1:return}if(!s.getOpt("testChunks")||s.tested){s.xhr=new XMLHttpRequest,s.xhr.upload.addEventListener("progress",(function(e){new Date-s.lastProgressCallback>1e3*s.getOpt("throttleProgressCallbacks")&&(s.callback("progress"),s.lastProgressCallback=new Date),s.loaded=e.loaded||0}),!1),s.loaded=0,s.pendingRetry=!1,s.callback("progress");var t=function(e){var t=s.status();if("success"==t||"error"==t)s.callback(t,s.message()),s.resumableObj.uploadNextChunk();else{s.callback("retry",s.message()),s.abort(),s.retries++;var i=s.getOpt("chunkRetryInterval");void 0!==i?(s.pendingRetry=!0,setTimeout(s.send,i)):s.send()}};s.xhr.addEventListener("load",t,!1),s.xhr.addEventListener("error",t,!1),s.xhr.addEventListener("timeout",t,!1);var i=[["chunkNumberParameterName",s.offset+1],["chunkSizeParameterName",s.getOpt("chunkSize")],["currentChunkSizeParameterName",s.endByte-s.startByte],["totalSizeParameterName",s.fileObjSize],["typeParameterName",s.fileObjType],["identifierParameterName",s.fileObj.uniqueIdentifier],["fileNameParameterName",s.fileObj.fileName],["relativePathParameterName",s.fileObj.relativePath],["totalChunksParameterName",s.fileObj.chunks.length]].filter((function(e){return s.getOpt(e[0])})).reduce((function(e,t){return e[s.getOpt(t[0])]=t[1],e}),{}),r=s.getOpt("query");"function"==typeof r&&(r=r(s.fileObj,s)),n.each(r,(function(e,t){i[e]=t}));var o=s.fileObj.file.slice?"slice":s.fileObj.file.mozSlice?"mozSlice":s.fileObj.file.webkitSlice?"webkitSlice":"slice",a=s.fileObj.file[o](s.startByte,s.endByte,s.getOpt("setChunkTypeFromFile")?s.fileObj.file.type:""),c=null,l=[],u=s.getOpt("parameterNamespace");if("octet"===s.getOpt("method"))c=a,n.each(i,(function(e,t){l.push([encodeURIComponent(u+e),encodeURIComponent(t)].join("="))}));else if(c=new FormData,n.each(i,(function(e,t){c.append(u+e,t),l.push([encodeURIComponent(u+e),encodeURIComponent(t)].join("="))})),"blob"==s.getOpt("chunkFormat"))c.append(u+s.getOpt("fileParameterName"),a,s.fileObj.fileName);else if("base64"==s.getOpt("chunkFormat")){var d=new FileReader;d.onload=function(e){c.append(u+s.getOpt("fileParameterName"),d.result),s.xhr.send(c)},d.readAsDataURL(a)}var h=n.getTarget("upload",l),f=s.getOpt("uploadMethod");s.xhr.open(f,h),"octet"===s.getOpt("method")&&s.xhr.setRequestHeader("Content-Type","application/octet-stream"),s.xhr.timeout=s.getOpt("xhrTimeout"),s.xhr.withCredentials=s.getOpt("withCredentials");var p=s.getOpt("headers");"function"==typeof p&&(p=p(s.fileObj,s)),n.each(p,(function(e,t){s.xhr.setRequestHeader(e,t)})),"blob"==s.getOpt("chunkFormat")&&s.xhr.send(c)}else s.test()},s.abort=function(){s.xhr&&s.xhr.abort(),s.xhr=null},s.status=function(){return s.pendingRetry?"uploading":s.xhr?s.xhr.readyState<4?"uploading":200==s.xhr.status||201==s.xhr.status?"success":n.contains(s.getOpt("permanentErrors"),s.xhr.status)||s.retries>=s.getOpt("maxChunkRetries")?"error":(s.abort(),"pending"):"pending"},s.message=function(){return s.xhr?s.xhr.responseText:""},s.progress=function(e){void 0===e&&(e=!1);var t=e?(s.endByte-s.startByte)/s.fileObjSize:1;if(s.pendingRetry)return 0;switch(s.xhr&&s.xhr.status||(t*=.95),s.status()){case"success":case"error":return 1*t;case"pending":return 0*t;default:return s.loaded/(s.endByte-s.startByte)*t}},this}return i.uploadNextChunk=function(){var e=!1;if(i.getOpt("prioritizeFirstAndLastChunk")&&(n.each(i.files,(function(t){return t.chunks.length&&"pending"==t.chunks[0].status()&&0===t.chunks[0].preprocessState?(t.chunks[0].send(),e=!0,!1):t.chunks.length>1&&"pending"==t.chunks[t.chunks.length-1].status()&&0===t.chunks[t.chunks.length-1].preprocessState?(t.chunks[t.chunks.length-1].send(),e=!0,!1):void 0})),e))return!0;if(n.each(i.files,(function(t){if(!1===t.isPaused()&&n.each(t.chunks,(function(t){if("pending"==t.status()&&0===t.preprocessState)return t.send(),e=!0,!1})),e)return!1})),e)return!0;var t=!1;return n.each(i.files,(function(e){if(!e.isComplete())return t=!0,!1})),t||i.fire("complete"),!1},i.assignBrowse=function(e,t){void 0===e.length&&(e=[e]),n.each(e,(function(e){var n;"INPUT"===e.tagName&&"file"===e.type?n=e:((n=document.createElement("input")).setAttribute("type","file"),n.style.display="none",e.addEventListener("click",(function(){n.style.opacity=0,n.style.display="block",n.focus(),n.click(),n.style.display="none"}),!1),e.appendChild(n));var r=i.getOpt("maxFiles");void 0===r||1!=r?n.setAttribute("multiple","multiple"):n.removeAttribute("multiple"),t?n.setAttribute("webkitdirectory","webkitdirectory"):n.removeAttribute("webkitdirectory");var s=i.getOpt("fileType");void 0!==s&&s.length>=1?n.setAttribute("accept",s.map((function(e){return"."+e})).join(",")):n.removeAttribute("accept"),n.addEventListener("change",(function(e){l(e.target.files,e),i.getOpt("clearInput")&&(e.target.value="")}),!1)}))},i.assignDrop=function(e){void 0===e.length&&(e=[e]),n.each(e,(function(e){e.addEventListener("dragover",s,!1),e.addEventListener("dragenter",s,!1),e.addEventListener("drop",r,!1)}))},i.unAssignDrop=function(e){void 0===e.length&&(e=[e]),n.each(e,(function(e){e.removeEventListener("dragover",s),e.removeEventListener("dragenter",s),e.removeEventListener("drop",r)}))},i.isUploading=function(){var e=!1;return n.each(i.files,(function(t){if(t.isUploading())return e=!0,!1})),e},i.upload=function(){if(!i.isUploading()){i.fire("uploadStart");for(var e=1;e<=i.getOpt("simultaneousUploads");e++)i.uploadNextChunk()}},i.pause=function(){n.each(i.files,(function(e){e.abort()})),i.fire("pause")},i.cancel=function(){i.fire("beforeCancel");for(var e=i.files.length-1;e>=0;e--)i.files[e].cancel();i.fire("cancel")},i.progress=function(){var e=0,t=0;return n.each(i.files,(function(i){e+=i.progress()*i.size,t+=i.size})),t>0?e/t:0},i.addFile=function(e,t){l([e],t)},i.addFiles=function(e,t){l(e,t)},i.removeFile=function(e){for(var t=i.files.length-1;t>=0;t--)i.files[t]===e&&i.files.splice(t,1)},i.getFromUniqueIdentifier=function(e){var t=!1;return n.each(i.files,(function(i){i.uniqueIdentifier==e&&(t=i)})),t},i.getSize=function(){var e=0;return n.each(i.files,(function(t){e+=t.size})),e},i.handleDropEvent=function(e){r(e)},i.handleChangeEvent=function(e){l(e.target.files,e),e.target.value=""},i.updateQuery=function(e){i.opts.query=e},this};e.exports=t}()},93877:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>x});i(13902),i(34900),i(90203),i(2027);var n=i(56022),r=i(66198),s=i(89074),o=(i(43146),i(35545),i(83090),i(81379),i(95653),i(1646),i(46636),i(53290),i(84817),i(71982),i(28800),i(47623),i(88858),i(7996),i(70914),i(51892)),a=i(71199),c=i(50923),l=i(77824),u=i(46833),d=i(55248),h=i(27397),f=i(41067),p=i(91286),m=i(21518),v=i(37879),g=i(56907),b=i(42472);function y(e){return(0,b.Z)(1,arguments),Math.floor(function(e){return(0,b.Z)(1,arguments),(0,g.Z)(e).getTime()}(e)/1e3)}var C=i(96486),w=i(59293);o.default.mixin(f.Z);const _={name:"FileManager",components:{SortDropdown:w.default,FilesPreview:p.default,GroupView:c.default,GridView:l.default,ListView:u.default,Upload:d.default},data:function(){return{dropZone:!1,perPage:"",currentPage:1,files:[],checked:[],isSelectAll:!1,sort:{param:"name",order:"asc"},search:{active:!1,searching:!1,paused:!1,complete:!1,completeInterval:null,currentItemPath:"",pendingGetDirs:0,term:"",results:[],indexed:{},mobileInput:!1},isFileEditor:!1,filePreview:{items:[],current:null},displayType:"grid",manager:this,tasks:[]}},computed:{activeSearch:function(){return this.search.active},displayTypes:function(){return[{id:"grid",label:"Grid View",icon:"icon ni ni-view-grid3-wd"},{id:"group",label:"Group View",icon:"icon ni ni-view-group-wd"},{id:"list",label:"List View",icon:"icon ni ni-view-row-wd"}]},breadcrumbs:function(){var e="",t=[{name:this.getRootFolderName(),path:"/"}];return this.$store.state.cwd.location.split("/").forEach((function(i){e+=i+"/",t.push({name:i,path:e})})),t.filter((function(e){return e.name}))},content:function(){return this.activeSearch?this.search.results:this.$store.state.cwd.content},hasFilesOrFolders:function(){var e=this;return this.content.filter((function(t){return!e.isBack(t)})).length>0},checkable:function(){var e=this;return this.content.filter((function(t){return e.isCheckable(t)}))},totalCount:function(){return Number((0,C.sumBy)(this.content,(function(e){return"file"==e.type||"dir"==e.type})))}},watch:{"$route.query.cd":function(e){var t=this;this.activeSearch&&this.resetSearch(),this.loading(),this.checked=[],this.currentPage=1,h.Z.changeDir({to:e}).then((function(e){t.$store.commit("setCwd",{content:e.files,location:e.location})})).finally((function(){t.idle()}))},"search.active":function(e){e&&(this.dropZone=!1)},displayType:function(e){var t=this;this.$nextTick((function(){t.$session.set("displayType",e)}))},"$route.name":function(e){this.checkIfFileEditor(e)},isFileEditor:function(e){var t=this,i=e?"file-editor":"file-manager";this.$route.name!==i&&this.$nextTick((function(){t.$router.replace((0,s.Z)((0,s.Z)({},t.$router.currentRoute),{},{name:e?"file-editor":"file-manager"}))}))}},mounted:function(){var e=this;return(0,r.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.init();case 1:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){this.resetSearch(),this.hideModal()},methods:{init:function(){var e=this.$session.get("displayType");e&&this.setDisplayType(e),this.loadFiles(),this.checkIfFileEditor(this.$route.name)},setDisplayType:function(e){this.displayType=e},checkIfFileEditor:function(e){"file-editor"!==e||this.isFileEditor?"file-editor"!==e&&this.isFileEditor&&(this.isFileEditor=!1):this.isFileEditor=!0},loadFiles:function(){var e=this;if(this.can("read")){if(this.activeSearch){var t=this.search.term;return this.search.active=!0,this.resetSearch(),void this.$nextTick((function(){e.resetSearch(t),e.searchFiles()}))}this.loading(),h.Z.getDir({to:""}).then((function(t){e.$store.commit("setCwd",{content:t.files,location:t.location})})).finally((function(){e.idle()}))}},browseTo:function(e){this.goTo("file-manager",{cd:e})},selectAll:function(e){this.checked=e?this.checkable.slice():[]},updateSelectAll:function(){this.isSelectAll=this.checked.length===this.content.length},getSelected:function(){return(0,C.reduce)(this.checked,(function(e,t){return e.push(t),e}),[])},hasSelected:function(){return this.checked&&this.checked.length>0},totalSelected:function(){return this.checked?this.checked.length:0},preview:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&this.addPreviewItem(e),this.openPreview()},addPreviewItem:function(e){var t=this;this.filePreview.items.find((function(i){return t.uniqueKey(i)===t.uniqueKey(e)}))||this.filePreview.items.push(e),this.filePreview.current=e},removePreviewItem:function(e){var t=this,i=this.filePreview.items.findIndex((function(i){return t.uniqueKey(i)===t.uniqueKey(e)}));-1!==i&&this.filePreview.items.splice(i,1),this.filePreview.current&&this.uniqueKey(e)===this.uniqueKey(this.filePreview.current)&&(this.filePreview.current=null)},resetPreview:function(){this.filePreview.items=[],this.filePreview.current=null},openPreview:function(){this.isFileEditor||(this.isFileEditor=!0)},closePreview:function(){this.isFileEditor&&(this.isFileEditor=!1)},itemClick:function(e){this.stopSearch(),"dir"==e.type||"back"==e.type?this.browseTo(e.path):this.can(["download"])&&this.hasPreview(e)?this.preview(e):this.can(["download"])&&this.download(e)},rightClick:function(e,t){"back"!=e.type&&(t.preventDefault(),this.$refs["ref-single-action-button-"+e.path].click())},beforeAction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.stopSearch(),window.dispatchEvent(new CustomEvent("wpide_item_action_start",{detail:{action:e,item:t,newItem:i}}))},afterAction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;window.dispatchEvent(new CustomEvent("wpide_item_action_done",{detail:{action:e,item:t,newItem:i}}))},itemActions:function(e){var t=this;return this.isBack(e)?[]:[{key:"preview",name:(0,a.__)("View","wpide"),allowed:this.isFile(e)&&this.can(["download"])&&this.hasPreview(e)&&!this.isFileEditor,icon:"ni-eye",handler:function(){t.preview(e)}},{key:"create-file",name:(0,a.__)("Create file","wpide"),allowed:this.isFolder(e)&&this.can(["read","write"]),icon:"ni-file-plus",handler:function(){t.create("file",e.path)}},{key:"create-folder",name:(0,a.__)("Create folder","wpide"),allowed:this.isFolder(e)&&this.can(["read","write"]),icon:"ni-folder-plus",handler:function(){t.create("dir",e.path)}},{key:"download",name:(0,a.__)("Download","wpide"),allowed:!this.isBack(e)&&this.can("download"),icon:"ni-download",handler:function(){t.download(e)}},{key:"duplicate",name:(0,a.__)("Duplicate","wpide"),allowed:this.can("write")&&!this.isRootFolder(e),icon:"ni-copy-fill",handler:function(){t.duplicate(e)}},{key:"copy",name:(0,a.__)("Copy","wpide"),allowed:this.can("write")&&!this.isFileEditor&&!this.isRootFolder(e),icon:"ni-copy",handler:function(){t.copy(e)}},{key:"move",name:(0,a.__)("Move","wpide"),allowed:this.can("write")&&!this.isFileEditor&&!this.isRootFolder(e),icon:"ni-forward-arrow",handler:function(){t.move(e)}},{key:"rename",name:(0,a.__)("Rename","wpide"),allowed:this.can("write")&&!this.isRootFolder(e)&&!this.isRootFolder(e),icon:"ni-pen",handler:function(){t.rename(e)}},{key:"unzip",name:(0,a.__)("Unzip","wpide"),allowed:this.can(["write","zip"])&&this.isArchive(e)&&!this.isRootFolder(e),icon:"ni-unarchive",handler:function(){t.unzip(e)}},{key:"zip",name:(0,a.__)("Zip","wpide"),allowed:this.can(["write","zip"])&&!this.isArchive(e)&&!this.isRootFolder(e),icon:"ni-archive",handler:function(){t.zip([e])}},{key:"remove",name:(0,a.__)("Delete","wpide"),allowed:this.can("write")&&!this.isRootFolder(e),icon:"ni-trash",handler:function(){t.remove(e)}}]},batchActions:function(){var e=this;return this.hasSelected()?[{key:"preview",name:(0,a.__)("View","wpide"),allowed:this.getSelected().filter((function(t){return e.isFile(t)&&e.can(["download"])&&e.hasPreview(t)&&!e.isFileEditor})).length===this.getSelected().length,icon:"ni-eye",handler:function(){e.batchView()}},{key:"batchdownload",name:(0,a.__)("Download","wpide"),allowed:this.can("batchdownload"),icon:"ni-download",handler:function(){e.batchDownload()}},{key:"duplicate",name:(0,a.__)("Duplicate","wpide"),allowed:this.can("write"),icon:"ni-copy-fill",handler:function(){e.duplicate()}},{key:"copy",name:(0,a.__)("Copy","wpide"),allowed:this.can("write")&&!this.isFileEditor,icon:"ni-copy",handler:function(){e.copy()}},{key:"move",name:(0,a.__)("Move","wpide"),allowed:this.can("write")&&!this.isFileEditor,icon:"ni-forward-arrow",handler:function(){e.move()}},{key:"zip",name:(0,a.__)("Zip","wpide"),allowed:this.can(["write","zip"]),icon:"ni-archive",handler:function(){e.zip()}},{key:"remove",name:(0,a.__)("Delete","wpide"),allowed:this.can("write"),icon:"ni-trash",handler:function(){e.remove()}}]:[]},selectDir:function(){var e=this;this.showModal((0,a.__)("Select folder","wpide"),"FileManager/Tree",{selected:function(t){e.hideModal(),e.browseTo(t.path)}},{hideFooter:!0})},getCachedFolderSize:function(e){var t=this;return(0,r.Z)((0,n.Z)().mark((function i(){var r,s,o;return(0,n.Z)().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t.$localforage.folder_sizes.getItem(e.path);case 2:if(null===(r=i.sent)){i.next=8;break}if(s=(0,m.Z)(e.time),o=(0,m.Z)(r.time),!((0,v.Z)(s,o)<0)){i.next=8;break}return i.abrupt("return",r.size);case 8:return i.abrupt("return",null);case 9:case"end":return i.stop()}}),i)})))()},getFolderSize:function(e){var t=this;return new Promise((function(i){t.getCachedFolderSize(e).then((function(n){null===n?h.Z.getDirSize({dir:e.path}).then((function(r){n=r,t.$localforage.folder_sizes.setItem(e.path,{size:n,time:y(new Date)}),i(n)})):i(n)}))}))},duplicate:function(e){var t=this,i=e?[e]:this.getSelected(),n=1===i.length?i[0]:null;this.beforeAction("duplicate",n),this.loading(),h.Z.copyItems({destination:i[0].dir,items:i}).then((function(){t.loadFiles(),t.afterAction("duplicate",n)})).finally((function(){t.idle()})),this.checked=[]},copy:function(e){var t=this,i=e?[e]:this.getSelected(),n=1===i.length?i[0]:null;this.beforeAction("copy",n),this.showModal((0,a.__)("Copy to folder","wpide"),"FileManager/Tree",{selected:function(e){t.hideModal(),t.loading(),h.Z.copyItems({destination:e.path,items:i}).then((function(){t.loadFiles(),t.afterAction("copy",n)})).finally((function(){t.idle()})),t.checked=[]}},{hideFooter:!0})},move:function(e){var t=this,i=e?[e]:this.getSelected(),n=1===i.length?i[0]:null;this.beforeAction("move",n),this.showModal((0,a.__)("Move to folder","wpide"),"FileManager/Tree",{selected:function(e){t.hideModal(),t.loading(),h.Z.moveItems({destination:e.path,items:i}).then((function(){t.loadFiles(),t.afterAction("move",n)})).finally((function(){t.idle()})),t.checked=[]}},{hideFooter:!0})},batchView:function(){var e=this;this.getSelected().forEach((function(t){e.hasPreview(t)&&e.preview(t)}))},batchDownload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=1===(e=e.length?e:this.getSelected()).length?e[0]:null,i=t?t.dir:this.$store.state.cwd.location,n=t?t.name+".zip":this.getConfig("file.default_archive_name");this.beforeAction("download",t),this.showModal((0,a.__)("Preparing download...","wpide"),"FileManager/Download",{items:e,name:n,destination:i,manager:this},{okTitle:(0,a.__)("Cancel","wpide"),showTitleSpinner:!0})},download:function(e){if("dir"===e.type)return this.batchDownload([e]);this.beforeAction("download"),window.open(this.getDownloadLink(e),"_self"),this.afterAction("download")},isCheckable:function(e){return"back"!==e.type&&(this.can("batchdownload")||this.can("write")||this.can("zip"))},unzip:function(e){var t=this;this.beforeAction("unzip",e),this.showModalConfirm((0,a.__)("Unzip","wpide"),(function(){t.loading(),h.Z.unzipItem({item:e.path,destination:e.dir}).then((function(){t.loadFiles(),t.afterAction("unzip",e)})).finally((function(){t.idle()})),t.checked=[]}))},zip:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=1===(t=t.length?t:this.getSelected()).length?t[0]:null,n=i?i.dir:this.$store.state.cwd.location,r=i?i.name+".zip":this.getConfig("file.default_archive_name");this.beforeAction("zip",i);var s={value:r,placeholder:r};this.showModalPrompt((0,a.__)("Zip name","wpide"),s,(0,a.__)("Create","wpide"),(function(i){e.hideModal(),e.$nextTick((function(){e.showModal((0,a.__)("Compressing...","wpide"),"FileManager/Download",{zip:!0,items:t,name:i,destination:n,manager:e},{okTitle:(0,a.__)("Cancel","wpide"),showTitleSpinner:!0})}))}))},rename:function(e){var t=this;this.beforeAction("rename",e);var i={value:e.name};this.showModalPrompt((0,a.__)("New name","wpide"),i,(0,a.__)("Rename","wpide"),(function(i){t.loading(),h.Z.renameItem({from:e.name,to:i,destination:e.dir}).then((function(){t.loadFiles();var n=t.cloneObj(e);n.name=i,n.path=e.dir+"/"+i,t.afterAction("rename",e,n)})).finally((function(){t.idle()})),t.checked=[]}))},upload:function(){this.$refs.uploadBtn.$el.querySelector("input").click()},create:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.beforeAction("create");var n={placeholder:"dir"==e?"MyFolder":"file.txt"};i=i||this.$store.state.cwd.location,this.showModalPrompt((0,a.__)("Name","wpide"),n,(0,a.__)("Create","wpide"),(function(n){t.loading(),h.Z.createNew({type:e,name:n,destination:i}).then((function(){t.loadFiles(),t.afterAction("create",{dir:i})})).finally((function(){t.idle()})),t.checked=[]}))},remove:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e?[e]:this.getSelected(),r=1===n.length?n[0]:null;this.beforeAction("remove",r),this.showModalConfirm((0,a.__)("Delete","wpide"),(function(){t.loading(),h.Z.removeItems({items:n}).then((function(){t.loadFiles(),t.afterAction("remove",r),i&&i(e)})).finally((function(){t.idle()})),t.checked=[]}))},resetSort:function(){this.sort.order="asc",this.sort.param="name"},sortBy:function(e){var t=this;this.sort.param=e,this.sort.order="asc"===this.sort.order?"desc":"asc",this.loading(),setTimeout((function(){var e=t.content.sort((function(e,i){return t.customSort(e,i,t.sort.order,t.sort.param)}));t.activeSearch?t.search.results=e:t.$store.commit("setCwd",{content:e,location:t.$store.state.cwd.location}),t.idle()}),3)},sortIcon:function(e){return this.sort.param===e?"asc"===this.sort.order?"dropdown-indicator-down":"dropdown-indicator-up":null},customSort:function(e,t,i,n){return i="asc"!==i,"back"==e.type?-1:"back"==t.type?1:this.isString(e[n])?e[n].localeCompare(t[n])*(i?-1:1):(e[n]<t[n]?-1:1)*(i?-1:1)},reset:function(){this.resetPreview(),this.loadFiles()},resetSearch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.stopSearch(),this.search.active=""!==e,this.search.searching=""!==e,this.search.paused=!1,this.search.complete=!1,this.search.completeInterval=null,this.search.currentItemPath="",this.search.pendingGetDirs=0,this.search.results=this.search.term!==e?[]:this.search.results,this.search.indexed=this.search.term!==e?[]:this.search.indexed,this.search.term=e,this.resetSort(),this.search.active||(this.loadFiles(),this.isSelectAll=!1)},stopSearch:function(){this.search.searching=!1,this.search.paused=!0,this.search.completeInterval&&(clearInterval(this.search.completeInterval),this.search.completeInterval=null)},resumeSearch:function(){this.search.paused=!1,this.searchFiles()},searchFilesEvent:(0,C.debounce)((function(e){this.search.active=!0,this.resetSearch(e),this.searchFiles()}),1e3),searchFiles:function(){this.activeSearch&&this.searchDirLimited(this.$store.state.cwd.location)},detectSearchComplete:function(){var e=this;this.search.completeInterval&&clearInterval(this.search.completeInterval);var t=0;this.search.completeInterval=setInterval((function(){e.search.searching?t=0:t++,(t>5||e.search.complete)&&(e.search.complete=!0,e.search.paused=!0,clearInterval(e.search.completeInterval))}),202)},searchDirLimited:function(e){var t=this,i=setInterval((function(){t.activeSearch&&!t.search.paused&&t.search.pendingGetDirs<t.getConfig("file.search_simultaneous",5)&&(t.search.pendingGetDirs++,clearInterval(i),t.searchDir(e))}),200);this.detectSearchComplete()},searchDir:function(e){var t=this;this.search.paused&&(this.search.paused=!1),this.search.searching=!0,h.Z.getDir({dir:e,query:this.search.term}).then((function(e){t.search.searching=!1,t.search.pendingGetDirs--,e.files.reverse().forEach((function(e){t.search.currentItemPath=e.path,e.name.toLowerCase().indexOf(t.search.term.toLowerCase())>-1&&!t.search.indexed.hasOwnProperty(e.id)&&(t.search.results.push(e),t.search.indexed[e.id]=!0)})),e.files.filter((function(e){return"dir"===e.type})).forEach((function(e){t.searchDirLimited(e.path)}))}))}}};const x=(0,i(9970).Z)(_,(function(){var e=this,t=e._self._c;return e.isFileEditor?t("FilesPreview",{attrs:{items:e.filePreview.items,current:e.filePreview.current,manager:e.manager}}):t("div",{staticClass:"d-flex flex-column flex-grow-1",on:{dragenter:function(t){t.preventDefault(),t.stopPropagation(),e.dropZone=!1}}},[t("div",{ref:"bodyHead",staticClass:"nk-fmg-body-head d-none d-lg-flex",on:{dragenter:function(t){t.preventDefault(),t.stopPropagation(),e.dropZone=!1}}},[t("b-file",{ref:"uploadBtn",staticClass:"visually-hidden",attrs:{id:"upload",multiple:"","no-drop":""},on:{input:function(t){e.files=t,e.dropZone=!1}}}),t("div",{staticClass:"nk-fmg-search"},[!e.activeSearch||e.search.paused?t("em",{staticClass:"icon ni ni-search"}):e._e(),e.activeSearch&&!e.search.paused?t("em",{staticClass:"icon ni ni-loader ni-spin-anim"}):e._e(),t("b-input",{ref:"searchInput",staticClass:"form-control border-transparent form-focus-none",attrs:{type:"text",value:e.search.term,placeholder:e.__("Search within this folder","wpide")},on:{input:e.searchFilesEvent,keyup:function(t){e.search.results=[]}}})],1),t("div",{staticClass:"nk-fmg-actions"},[e.activeSearch?t("ul",{staticClass:"nk-block-tools g-3"},[e.search.complete?t("li",[t("span",{domProps:{textContent:e._s(e.sprintf(e.__("%s results found","wpide"),e.search.results.length))}})]):t("li",[e.search.paused?t("a",{staticClass:"nav-link btn btn-light",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.resumeSearch()}}},[t("span",{domProps:{textContent:e._s(e.__("Resume","wpide"))}})]):t("a",{staticClass:"nav-link btn btn-light",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.stopSearch()}}},[t("span",{domProps:{textContent:e._s(e.__("Stop","wpide"))}})])]),t("li",[t("a",{staticClass:"nav-link btn btn-primary",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.resetSearch()}}},[t("em",{staticClass:"icon ni ni-cross"}),t("span",{domProps:{textContent:e._s(e.__("Close","wpide"))}})])])]):t("ul",{staticClass:"nk-block-tools g-3"},[e.can(["read","write"])?t("li",[t("b-nav-item-dropdown",{attrs:{"toggle-class":"btn btn-light",right:""},scopedSlots:e._u([{key:"button-content",fn:function(){return[t("em",{staticClass:"icon ni ni-plus"}),t("span",{domProps:{textContent:e._s(e.__("Create","wpide"))}})]},proxy:!0},{key:"default",fn:function(){return[t("ul",{staticClass:"link-list-opt no-bdr"},[t("li",[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.create("file")}}},[t("em",{staticClass:"icon ni ni-file-plus"}),t("span",{domProps:{textContent:e._s(e.__("Create file","wpide"))}})])]),t("li",[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.create("dir")}}},[t("em",{staticClass:"icon ni ni-folder-plus"}),t("span",{domProps:{textContent:e._s(e.__("Create folder","wpide"))}})])])])]},proxy:!0}],null,!1,1321260213)})],1):e._e(),e.can("upload")?t("li",[t("a",{staticClass:"btn btn-primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.dropZone=!e.dropZone}}},[t("em",{staticClass:"icon ni ni-upload-cloud"}),t("span",{domProps:{textContent:e._s(e.__("Add files","wpide"))}})])]):e._e()])])],1),e.can("read")?t("div",{ref:"bodyContent",staticClass:"nk-fmg-body-content d-flex flex-column flex-grow-1"},[t("div",{staticClass:"d-flex flex-column flex-grow-1",attrs:{id:"dropzone"},on:{dragenter:function(t){t.preventDefault(),t.stopPropagation(),e.dropZone=!0},drop:function(t){t.preventDefault(),e.dropZone=!1}}},[t("div",{staticClass:"nk-block-head nk-block-head-sm"},[t("div",{staticClass:"nk-block-between position-relative"},[t("div",{staticClass:"nk-block-head-content"},[t("nav",{attrs:{"aria-label":"breadcrumbs"}},[t("ul",{staticClass:"breadcrumb breadcrumb-arrow"},[e._l(e.breadcrumbs,(function(i,n){return t("li",{key:n,staticClass:"breadcrumb-item",class:{active:n===e.breadcrumbs.length-1}},[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.browseTo(i.path)}}},["/"===i.path?t("em",{staticClass:"icon ni ni-hard-drive mr-1 d-inline-block align-middle"}):e._e(),e._v(" "+e._s(i.name)+" ")])])})),e.activeSearch?t("li",{staticClass:"breadcrumb-item"},[e._v(" "+e._s(e.__("Search for","wpide"))+" ")]):e._e(),e.activeSearch?t("li",{staticClass:"breadcrumb-item active flex-fill"},[e._v(' "'+e._s(e.search.term)+'" ')]):e._e(),e.activeSearch&&!e.search.mobileInput&&e.hasFilesOrFolders&&!e.search.paused?t("li",{staticClass:"breadcrumb-item active"},[t("span",{domProps:{textContent:e._s(e.search.currentItemPath)}})]):e._e()],2)])]),e.dropZone?e._e():t("div",{staticClass:"nk-block-head-content"},[t("ul",{staticClass:"nk-block-tools g-1"},[t("li",{staticClass:"d-lg-none"},[t("a",{staticClass:"btn btn-trigger btn-icon search-toggle toggle-search",attrs:{href:"#"},on:{click:function(t){e.search.mobileInput=!0}}},[t("em",{staticClass:"icon ni ni-search"})])]),t("li",{staticClass:"d-lg-none"},[t("b-nav-item-dropdown",{attrs:{"toggle-class":"btn btn-trigger btn-icon",right:""},scopedSlots:e._u([{key:"button-content",fn:function(){return[t("em",{staticClass:"icon ni ni-view-group-wd"})]},proxy:!0},{key:"default",fn:function(){return[t("ul",{staticClass:"link-list-opt no-bdr"},e._l(e.displayTypes,(function(i){return t("li",{key:i.id},[t("a",{class:{active:e.displayType===i.id},attrs:{href:"#"},on:{click:function(t){return e.setDisplayType(i.id)}}},[t("em",{staticClass:"icon ni",class:i.icon}),t("span",{domProps:{textContent:e._s(i.label)}})])])})),0)]},proxy:!0}],null,!1,1814632878)})],1),e.can(["read","write"])?t("li",{staticClass:"d-lg-none"},[t("b-nav-item-dropdown",{attrs:{"toggle-class":"btn btn-trigger btn-icon",right:""},scopedSlots:e._u([{key:"button-content",fn:function(){return[t("em",{staticClass:"icon ni ni-plus"})]},proxy:!0},{key:"default",fn:function(){return[t("ul",{staticClass:"link-list-opt no-bdr"},[e.can("upload")?t("li",[t("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.dropZone=!0}}},[t("em",{staticClass:"icon ni ni-file-plus"}),t("span",{domProps:{textContent:e._s(e.__("Add files","wpide"))}})])]):e._e(),t("li",[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.create("file")}}},[t("em",{staticClass:"icon ni ni-file-plus"}),t("span",{domProps:{textContent:e._s(e.__("Create file","wpide"))}})])]),t("li",[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.create("dir")}}},[t("em",{staticClass:"icon ni ni-folder-plus"}),t("span",{domProps:{textContent:e._s(e.__("Create folder","wpide"))}})])])])]},proxy:!0}],null,!1,1984080387)})],1):e._e()])]),e.dropZone?e._e():t("div",{staticClass:"search-wrap px-2 d-lg-none",class:{active:e.search.mobileInput},attrs:{"data-search":"search"}},[t("div",{staticClass:"search-content"},[t("a",{staticClass:"search-back btn btn-icon toggle-search",attrs:{href:"#"},on:{click:function(t){e.search.mobileInput=!1,e.resetSearch()}}},[t("em",{staticClass:"icon ni ni-arrow-left"})]),t("b-input",{ref:"searchInput",staticClass:"form-control border-transparent form-focus-none",attrs:{type:"text",value:e.search.term,placeholder:e.__("Search within this folder","wpide")},on:{input:e.searchFilesEvent,keyup:function(t){e.search.results=[]}}}),t("button",{staticClass:"search-submit btn btn-icon"},[e.activeSearch&&!e.search.paused?t("em",{staticClass:"icon ni ni-pause",on:{click:function(t){return t.preventDefault(),e.stopSearch()}}}):e._e(),!e.activeSearch||e.search.paused?t("em",{staticClass:"icon ni ni-search",on:{click:function(t){return t.preventDefault(),e.resumeSearch()}}}):e._e(),e.activeSearch&&!e.search.paused?t("em",{staticClass:"icon ni ni-loader ni-spin-anim"}):e._e()])],1)]),e.activeSearch||e.dropZone?e._e():t("div",{staticClass:"nk-block-head-content d-none d-lg-block"},[t("ul",{staticClass:"nk-block-tools g-3"},[t("SortDropdown",{attrs:{label:e.__("Sort by","wpide"),"sort-by":e.sortBy,"sort-icon":e.sortIcon,sort:e.sort}}),e._l(e.displayTypes,(function(i){return t("li",{key:i.id},[t("a",{staticClass:"nk-switch-icon",class:{active:e.displayType===i.id},attrs:{href:"#"},on:{click:function(t){return e.setDisplayType(i.id)}}},[t("em",{staticClass:"icon ni",class:i.icon})])])})),t("li",[t("a",{staticClass:"nk-switch-icon",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.selectDir.apply(null,arguments)}}},[t("em",{staticClass:"icon ni ni-network"})])])],2)])])]),e.can("upload")?t("Upload",{directives:[{name:"show",rawName:"v-show",value:0==e.dropZone,expression:"dropZone == false"}],attrs:{files:e.files,"drop-zone":e.dropZone}}):e._e(),e.dropZone&&!e.isLoading?t("div",{staticClass:"upload-zone dropzone d-flex flex-column flex-grow-1 justify-content-center"},[t("div",{staticClass:"dz-message"},[t("span",{staticClass:"dz-message-text mb-3"},[e._v(e._s(e.__("Drop files to upload","wpide")))]),t("button",{staticClass:"btn btn-primary",domProps:{textContent:e._s(e.__("Add files","wpide"))},on:{click:e.upload}}),t("button",{staticClass:"btn btn-light ml-1",domProps:{textContent:e._s(e.__("Cancel","wpide"))},on:{click:function(t){e.dropZone=!1}}})])]):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.dropZone,expression:"!dropZone"}]},[e.hasFilesOrFolders?t("div",[t("GridView",{directives:[{name:"show",rawName:"v-show",value:"grid"===e.displayType&&!e.activeSearch,expression:"displayType === 'grid' && !activeSearch"}],attrs:{items:e.content,manager:e.manager}}),t("GroupView",{directives:[{name:"show",rawName:"v-show",value:"group"===e.displayType&&!e.activeSearch,expression:"displayType === 'group' && !activeSearch"}],attrs:{items:e.content,manager:e.manager}}),t("ListView",{directives:[{name:"show",rawName:"v-show",value:"list"===e.displayType||e.activeSearch,expression:"displayType === 'list' || activeSearch"}],attrs:{items:e.content,insearch:e.activeSearch,manager:e.manager}})],1):e._e(),!e.activeSearch||e.hasFilesOrFolders||e.search.paused?e._e():t("div",{staticClass:"searching"},[t("span",{staticClass:"search-current text-muted",domProps:{textContent:e._s(e.search.currentItemPath)}}),t("svg",{staticClass:"search-svg",attrs:{viewbox:"0 0 128 128",width:"100%",height:"100%"}},[t("path",{staticClass:"search-doc",attrs:{d:"M0-0.00002,0,3.6768,0,124.32,0,128h4.129,119.74,4.129v-3.6769-120.65-3.6768h-4.129-119.74zm8.2581,7.3537,111.48,0,0,113.29-111.48,0zm13.626,25.048,0,7.3537,57.806,0,0-7.3537zm0,19.12,0,7.3537,84.232,0,0-7.3537zm0,17.649,0,7.3537,84.232,0,0-7.3537zm0,19.12,0,7.3537"}}),t("path",{staticClass:"search-magnify",attrs:{d:"M38.948,10.429c-18.254,10.539-24.468,33.953-14.057,51.986,9.229,15.984,28.649,22.764,45.654,16.763-0.84868,2.6797-0.61612,5.6834,0.90656,8.3207l17.309,29.98c2.8768,4.9827,9.204,6.6781,14.187,3.8013,4.9827-2.8768,6.6781-9.204,3.8013-14.187l-17.31-29.977c-1.523-2.637-4.008-4.34-6.753-4.945,13.7-11.727,17.543-31.935,8.31-47.919-10.411-18.034-33.796-24.359-52.049-13.82zm6.902,11.955c11.489-6.633,26.133-2.7688,32.893,8.9404,6.7603,11.709,2.7847,26.324-8.704,32.957-11.489,6.632-26.133,2.768-32.893-8.941-6.761-11.709-2.785-26.324,8.704-32.957z"}})])]),e.activeSearch||e.hasFilesOrFolders||e.isLoading?e._e():t("div",{staticClass:"nk-empty-folder"},[t("em",{staticClass:"icon ni ni-folder"}),t("p",{staticClass:"text-muted",domProps:{textContent:e._s(e.__("Empty folder","wpide"))}})])])],1)]):e._e()])}),[],!1,null,"d314a30e",null).exports},22219:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});i(90203);const n={name:"FilesItemActions",props:["actions","icon","label","noPadding","count","extraToggleClass"],computed:{toggleClass:function(){var e=this.extraToggleClass?" "+this.extraToggleClass:"";return this.label?"trigger p-0 link tb-head text-secondary"+e:this.noPadding?"trigger btn btn-sm btn-icon"+e:"trigger btn btn-sm btn-icon btn-trigger"+e},iconClass:function(){return"icon ni "+(this.icon||"ni-more-h")}}};const r=(0,i(9970).Z)(n,(function(){var e=this,t=e._self._c;return t("b-nav-item-dropdown",{attrs:{"toggle-class":e.toggleClass,"menu-class":"link-list-plain no-bdr",right:""},scopedSlots:e._u([{key:"button-content",fn:function(){return[t("em",{class:e.iconClass}),e.label?t("span",{staticClass:"p-0",domProps:{textContent:e._s(e.label)}}):e._e(),e.count?t("span",{staticClass:"pl-1 text-muted"},[e.count>1?t("span",[e._v("("+e._s(e.sprintf(e.__("%d items","wpide"),e.count))+")")]):t("span",[e._v("("+e._s(e.sprintf(e.__("%d item","wpide"),e.count))+")")])]):e._e()]},proxy:!0},{key:"default",fn:function(){return[e._l(e.actions,(function(i){return[i.allowed?t("b-dropdown-item",{key:i.key,on:{click:function(e){return e.preventDefault(),i.handler.apply(null,arguments)}}},[t("em",{staticClass:"icon ni",class:i.icon}),t("span",[e._v(e._s(i.name))])]):e._e()]}))]},proxy:!0}])})}),[],!1,null,null,null).exports},12168:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});const n={name:"FilesList",components:{FilesListItem:i(95227).default},props:["items","display","insearch","manager"]};const r=(0,i(9970).Z)(n,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"nk-files-list"},e._l(e.items,(function(i,n){return t("FilesListItem",{key:i.id+"-"+n,attrs:{item:i,display:e.display,insearch:e.insearch,manager:e.manager}})})),1)}),[],!1,null,null,null).exports},95227:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});i(90203),i(71982),i(13902),i(34900);var n=i(71199),r=i(16202);const s={name:"FilesListItem",components:{FilesItemActions:i(22219).default},mixins:[r.Z],props:["item","display","insearch","manager"],data:function(){return{folderSize:0,loadingFolderSize:!1,folderSizeCalculated:!1}},computed:{icon:function(){return"list"!==this.display?this.getFileLargeSvgIcon(this.item,"files-svg"):this.getFileSvgIcon(this.item,"files-svg")},_isFile:function(){return this.isFile(this.item)},_isFolder:function(){return this.isFolder(this.item)},_isBack:function(){return this.isBack(this.item)},date:function(){return this.item.time?this.formatDate(this.item.time):""},calcDirSizeOnDemand:function(){return"ondemand"===this.getConfig("file.calc_dir_size")},calcDirSizeOnLoad:function(){return"onload"===this.getConfig("file.calc_dir_size")},calcDirSizeEnabled:function(){return"disabled"!==this.getConfig("file.calc_dir_size")},size:function(){return this._isBack&&"list"!==this.display?(0,n.__)("Go back","wpide"):this._isFolder||this._isBack?this.calcDirSizeEnabled?this.formatBytes(this.folderSize):(0,n.__)("Folder","wpide"):this.formatBytes(this.item.size)},checkable:function(){return this.manager.isCheckable(this.item)}},mounted:function(){var e=this;this._isFolder&&(this.calcDirSizeOnLoad?this.calcFolderSize():this.manager.getCachedFolderSize(this.item).then((function(t){e.folderSize=t,null!==e.folderSize&&(e.folderSizeCalculated=!0,e.updateStateFolderSize())})))},methods:{calcFolderSize:function(){var e=this;this._isFolder&&this.calcDirSizeEnabled&&(this.loadingFolderSize=!0,this.manager.getFolderSize(this.item).then((function(t){e.folderSize=t,e.folderSizeCalculated=!0,e.loadingFolderSize=!1,e.updateStateFolderSize()})).catch((function(e){console.log(e)})))},updateStateFolderSize:function(){var e=this,t=this.manager.content.findIndex((function(t){return t.id==e.item.id}));t>-1&&this.$store.state.cwd.content[t]&&(this.activeSearch?this.manager.search.results[t].size=this.folderSize:this.$store.state.cwd.content[t].size=this.folderSize)},onContextMenu:function(e){e.preventDefault(),this.$refs.fileItem.querySelector(".trigger").click()}}};const o=(0,i(9970).Z)(s,(function(){var e=this,t=e._self._c;return!e._isBack||e._isBack&&"list"===e.display?t("div",{ref:"fileItem",staticClass:"nk-file-item nk-file",class:{"folder-back":e._isBack},on:{contextmenu:e.onContextMenu}},[t("div",{staticClass:"nk-file-info"},[t("div",{staticClass:"nk-file-title"},["list"===e.display?t("b-form-checkbox",{staticClass:"custom-control custom-control-sm custom-checkbox notext",attrs:{value:e.item,disabled:!e.checkable,type:"checkbox"},on:{change:e.manager.updateSelectAll},model:{value:e.manager.checked,callback:function(t){e.$set(e.manager,"checked",t)},expression:"manager.checked"}}):e._e(),t("div",{staticClass:"nk-file-icon"},[t("a",{staticClass:"nk-file-icon-type",attrs:{href:"#"},domProps:{innerHTML:e._s(e.icon)},on:{click:function(t){return t.preventDefault(),e.manager.itemClick(e.item)}}})]),t("div",{staticClass:"nk-file-name"},[t("div",{staticClass:"nk-file-name-text"},[t("a",{staticClass:"title",attrs:{href:"#"},domProps:{textContent:e._s(e.item.name)},on:{click:function(t){return t.preventDefault(),e.manager.itemClick(e.item)}}})])])],1),"list"!==e.display?t("ul",{staticClass:"nk-file-desc"},[t("li",{staticClass:"date",domProps:{textContent:e._s(e.date)}}),t("li",{staticClass:"size"},[e.loadingFolderSize?t("em",{staticClass:"icon ni ni-loader ni-spin-anim"}):t("span",[e._isFolder&&e.calcDirSizeOnDemand&&!e.folderSizeCalculated?t("a",{attrs:{href:"#"},domProps:{textContent:e._s(e.__("Calc size"))},on:{click:function(t){return t.preventDefault(),e.calcFolderSize.apply(null,arguments)}}}):t("span",{domProps:{textContent:e._s(e.size)}})])])]):e._e()]),e.insearch?t("div",{staticClass:"nk-file-meta"},[t("div",{staticClass:"nk-file-title"},[t("div",{staticClass:"nk-file-name"},[t("div",{staticClass:"nk-file-name-text"},[t("a",{staticClass:"title",attrs:{href:"#"},domProps:{textContent:e._s(e.item.dir)},on:{click:function(t){return t.preventDefault(),e.manager.browseTo(e.item.dir)}}})])])])]):e._e(),"list"===e.display?t("div",{staticClass:"nk-file-meta"},[t("div",{staticClass:"tb-lead",domProps:{textContent:e._s(e.date)}})]):e._e(),"list"===e.display?t("div",{staticClass:"nk-file-size"},[e._isBack?e._e():t("div",{staticClass:"tb-lead"},[e.loadingFolderSize?t("em",{staticClass:"icon ni ni-loader ni-spin-anim"}):t("span",[e._isFolder&&e.calcDirSizeOnDemand&&!e.folderSizeCalculated?t("a",{attrs:{href:"#"},domProps:{textContent:e._s(e.__("Calc size"))},on:{click:function(t){return t.preventDefault(),e.calcFolderSize.apply(null,arguments)}}}):t("span",{domProps:{textContent:e._s(e.size)}})])])]):e._e(),t("div",{staticClass:"nk-file-actions"},[e._isBack?e._e():t("FilesItemActions",{attrs:{actions:e.manager.itemActions(e.item)}})],1)]):e._e()}),[],!1,null,"dc074bdc",null).exports},91286:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var n=i(68618),r=(i(35545),i(11923),i(82837),i(84817),i(68098),i(53271),i(77834),i(95653),i(43146),i(83090),i(90203),i(67293),i(16202)),s=i(20545),o=i.n(s),a=i(73023),c=i(77814),l=i(96486),u=i(71199);const d={name:"FilesPreview",components:{VueTabs:o(),Multipane:c.x,MultipaneResizer:c.P,Tree:function(){return i.e(622).then(i.bind(i,66692))},Editor:function(){return i.e(948).then(i.bind(i,72152))},Gallery:function(){return i.e(632).then(i.bind(i,75019))},MediaPlayer:function(){return i.e(689).then(i.bind(i,62022))}},mixins:[r.Z],props:["items","current","manager"],emits:["updated"],data:function(){return{cssVars:null,tab:null,tabs:[],activeTreeFolders:[],treeKey:1,findOptions:{caseSensitive:!1,regex:!1}}},computed:{currentTab:function(){var e=this;return this.tabs.find((function(t){return t.key===e.tab}))},currentItem:function(){return this.currentTab?this.currentTab.item:null},defaultTreePath:function(){return this.currentItem?this.currentItem.dir:"/"},tabFiles:function(){return this.tabs.map((function(e){return e.item}))},tabFilesPaths:function(){return this.tabFiles.map((function(e){return e.path}))}},watch:{tab:function(){var e=this;this.$nextTick((function(){e.saveSession()}))}},created:function(){this.loading()},errorCaptured:function(e){if("t.className.match is not a function"===e.message)return!1},mounted:function(){var e=this;this._ro=new a.Z((function(){window.requestAnimationFrame((function(){e.setCssVars()}))})),this.$refs.tabsBar&&this._ro.observe(this.$refs.tabsBar),this.startItemActionsListener(),this.idle(),this.init(),this.saveSession()},beforeDestroy:function(){this._ro.disconnect(),this.stopItemActionsListener(),this.saveSession()},methods:{init:function(){var e=this,t=this.items,i=this.current,r=this.getSession();if(r&&r.items&&r.current){var s=new Set(t.map((function(e){return e.id})));t=[].concat((0,n.Z)(r.items.filter((function(e){return!s.has(e.id)}))),(0,n.Z)(t)),i=i||r.current}t.forEach((function(t){e.addTab(t)})),this.tab=t.length?this.uniqueKey(i||t[0]):null,this.$nextTick((function(){window.dispatchEvent(new Event("resize"))}))},getSession:function(){return this.$session.get("fm_preview")},saveSession:function(){this.$session.set("fm_preview",{items:this.tabFiles,current:this.currentItem})},removeSession:function(){return this.$session.set("fm_preview",{items:[],current:null})},setCssVars:function(){this.cssVars={"--wpide-tabs-height":this.$refs.tabsBar&&this.$refs.tabsBar.clientHeight?this.$refs.tabsBar.clientHeight+1+"px":"0px"}},createTabs:function(e){var t=this;return e.map((function(e){return t.createTabObject(e)}))},createTabObject:function(e){var t=this;return{label:e.name,key:this.uniqueKey(e),closable:!0,favicon:function(e,i){var n=i.tab;return e("span",{domProps:{innerHTML:t.getFileSvgIcon(n.item,"files-svg")}})},item:e}},addTab:function(e){var t,i=this.uniqueKey(e);if(this.tabExists(i)){var r=this.getTab(i);return r.label=e.name,r.item=e,this.tab=i,!1}var s=this.createTabs([e]);(t=this.$refs.tabs).addTab.apply(t,(0,n.Z)(s)),this.tab=i},onTabRemoved:function(e){this.manager.removePreviewItem(e.item)},removeTab:function(e){this.$refs.tabs.removeTab(e)},removeAllTabs:function(){this.tabs=[],this.tab=null,this.manager.resetPreview()},getTab:function(e){return this.tabs.find((function(t){return t.key===e}))},tabEditor:function(e){return this.$refs.hasOwnProperty("editor-"+e)?this.$refs["editor-"+e][0]:null},currentTabEditor:function(){return this.tab?this.tabEditor(this.tab):null},isCurrentTab:function(e){return this.tab===e},tabExists:function(e){return!!this.getTab(e)},itemSelected:function(e){this.hasPreview(e)?this.addTab(e):this.manager.itemClick(e)},minimize:function(){this.manager.closePreview()},close:function(){this.removeAllTabs(),this.removeSession(),this.minimize()},onGalleryImageDeleted:function(e){this.removeTab(this.uniqueKey(e))},onGalleryImageEditorClosed:function(){this.refreshManager()},onPaneResized:(0,l.debounce)((function(){window.dispatchEvent(new Event("resize"))}),300),noFileFound:function(e){this.removeTab(this.uniqueKey(e)),this.refreshManager(),this.handleError((0,u.gB)((0,u.__)('File "%s" is either not found or has invalid permissions!',"wpide"),e.name))},startItemActionsListener:function(){window.addEventListener("wpide_item_action_done",this.onItemActionDone,!1)},stopItemActionsListener:function(){window.removeEventListener("wpide_item_action_done",this.onItemActionDone,!1)},onItemActionDone:function(e){var t=this,i=e.detail.action,n=e.detail.item;if(["rename","remove"].includes(i)&&n){var r=this.uniqueKey(n);if("remove"===i)this.removeTab(r);else if("rename"===i&&this.tabExists(r)){var s=e.detail.newItem;this.removeTab(r),this.$nextTick((function(){t.addTab(s)}))}}},onActiveDirs:function(e){this.activeTreeFolders=e},refreshManager:function(){this.treeKey++,this.manager.reset()}}};const h=(0,i(9970).Z)(d,(function(){var e=this,t=e._self._c;return t("div",{ref:"preview",staticClass:"wpide-preview bg2 d-flex",style:e.cssVars},[t("Multipane",{staticClass:"w-100 multipane-custom",on:{paneResize:e.onPaneResized,paneResizeStop:e.onPaneResized}},[t("div",{staticClass:"wpide-preview-items border-right"},[t("Tree",{key:e.treeKey,attrs:{"active-files":e.tabFilesPaths,"active-dirs":e.activeTreeFolders,path:e.defaultTreePath,selected:e.itemSelected,filter:["dir","file"],"toggle-selected":!0,"item-actions":e.manager.itemActions},on:{activeDirs:e.onActiveDirs}})],1),t("MultipaneResizer",{staticClass:"left-resizer"}),t("div",{staticClass:"wpide-preview-main bg-alt"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.tabs.length,expression:"tabs.length"}],ref:"tabsBar",staticClass:"wpide-preview-tabs bg-alt"},[t("vue-tabs",{ref:"tabs",attrs:{"min-hidden-width":120,tabs:e.tabs},on:{swap:e.saveSession,remove:e.onTabRemoved},model:{value:e.tab,callback:function(t){e.tab=t},expression:"tab"}},[t("span",{staticClass:"slot-after-btn",attrs:{slot:"after",title:e.__("Minimize","wpide")},on:{click:e.minimize},slot:"after"},[t("i",{staticClass:"icon ni ni-minus"})]),t("span",{staticClass:"slot-after-btn",attrs:{slot:"after",title:e.__("Close all tabs","wpide")},on:{click:e.close},slot:"after"},[t("i",{staticClass:"icon ni ni-cross"})])])],1),e._l(e.tabs,(function(i){return[e.isText(i.item)?t("Editor",{directives:[{name:"show",rawName:"v-show",value:e.isCurrentTab(i.key),expression:"isCurrentTab(_tab.key)"}],key:i.key,ref:"editor-"+i.key,refInFor:!0,attrs:{"is-current-tab":e.isCurrentTab(i.key),item:i.item},on:{noFileFound:e.noFileFound}}):e._e(),e.isImage(i.item)?t("Gallery",{directives:[{name:"show",rawName:"v-show",value:e.isCurrentTab(i.key),expression:"isCurrentTab(_tab.key)"}],key:i.key,ref:"gallery-"+i.key,refInFor:!0,attrs:{item:i.item,"item-selected":e.itemSelected},on:{noFileFound:e.noFileFound,editorClosed:e.onGalleryImageEditorClosed,deleted:e.onGalleryImageDeleted}}):e._e(),e.isMedia(i.item)?t("MediaPlayer",{directives:[{name:"show",rawName:"v-show",value:e.isCurrentTab(i.key),expression:"isCurrentTab(_tab.key)"}],key:i.key,ref:"media-"+i.key,refInFor:!0,attrs:{active:e.isCurrentTab(i.key),item:i.item},on:{noFileFound:e.noFileFound}}):e._e()]})),e.tabs.length?e._e():t("div",{staticClass:"bg2 full-height"},[t("div",{staticClass:"no-tabs-close"},[t("a",{staticClass:"text-secondary",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[t("em",{staticClass:"icon ni ni-cross"})])]),t("div",{staticClass:"no-tabs-bg"},[t("em",{staticClass:"circle p-4 bg-primary-dim",class:e.pageIcon})]),t("div",{staticClass:"no-tabs"},[t("em",{staticClass:"icon ni ni-arrow-long-left"}),t("span",{staticClass:"no-tabs-text",domProps:{textContent:e._s(e.__("Select a file"))}})])])],2)],1)],1)}),[],!1,null,null,null).exports},77824:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});const n={name:"GridView",components:{FilesList:i(12168).default},props:["items","manager"]};const r=(0,i(9970).Z)(n,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"nk-files nk-files-view-grid"},[t("FilesList",{attrs:{items:e.items,display:"grid",manager:e.manager}})],1)}),[],!1,null,null,null).exports},50923:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});i(95653),i(35545);const n={name:"GroupView",components:{FilesList:i(12168).default},props:["items","manager"],computed:{folders:function(){return this.items.filter((function(e){return"dir"===e.type}))},files:function(){return this.items.filter((function(e){return"file"===e.type}))}}};const r=(0,i(9970).Z)(n,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"nk-files nk-files-view-group"},[e.folders.length?t("div",{staticClass:"nk-files-group"},[t("h6",{staticClass:"title",domProps:{textContent:e._s("Folders")}}),t("FilesList",{attrs:{items:e.folders,display:"group",manager:e.manager}})],1):e._e(),e.files.length?t("div",{staticClass:"nk-files-group"},[t("h6",{staticClass:"title",domProps:{textContent:e._s("Files")}}),t("FilesList",{attrs:{items:e.files,display:"group",manager:e.manager}})],1):e._e()])}),[],!1,null,null,null).exports},46833:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var n=i(51028),r=i(12168);const s={name:"ListView",components:{FilesItemActions:i(22219).default,FilesList:r.default},props:["items","sortBy","insearch","manager"],mounted:function(){var e=this;this._io=new IntersectionObserver((function(t){var i=(0,n.Z)(t,1)[0];e.$refs.filesHead&&e.$refs.filesHead.classList.toggle("is-stuck",i.intersectionRatio<.1)}),{threshold:[0,1]}),this._io.observe(this.$refs.filesHeadTop)},beforeUnmount:function(){this._io.disconnect()}};const o=(0,i(9970).Z)(s,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"nk-files nk-files-view-list"},[t("div",{ref:"filesHeadTop",staticClass:"nk-files-head-top"}),e.items.length?t("div",{ref:"filesHead",staticClass:"nk-files-head"},[t("div",{staticClass:"nk-file-item"},[t("div",{staticClass:"nk-file-info"},[t("div",{staticClass:"nk-file-title"},[t("b-form-checkbox",{staticClass:"mr-3 ml-2 custom-control custom-control-sm custom-checkbox notext",attrs:{type:"checkbox"},on:{change:e.manager.selectAll},model:{value:e.manager.isSelectAll,callback:function(t){e.$set(e.manager,"isSelectAll",t)},expression:"manager.isSelectAll"}}),e.manager.hasSelected()?t("FilesItemActions",{attrs:{actions:e.manager.batchActions(),count:e.manager.totalSelected(),label:e.__("Bulk actions","wpide"),icon:"ni-chevron-down"}}):t("a",{staticClass:"tb-head text-secondary",class:e.manager.sortIcon("name"),attrs:{href:"#"},domProps:{textContent:e._s(e.__("Name","wpide"))},on:{click:function(t){return t.preventDefault(),e.manager.sortBy("name")}}})],1)]),e.insearch?t("div",{staticClass:"nk-file-meta"},[t("div",{staticClass:"nk-file-title"},[t("a",{staticClass:"tb-head text-secondary",class:e.manager.sortIcon("dir"),attrs:{href:"#"},domProps:{textContent:e._s(e.__("Folder","wpide"))},on:{click:function(t){return t.preventDefault(),e.manager.sortBy("dir")}}})])]):e._e(),t("div",{staticClass:"nk-file-meta"},[t("a",{staticClass:"tb-head text-secondary",class:e.manager.sortIcon("time"),attrs:{href:"#"},domProps:{textContent:e._s(e.__("Last updated","wpide"))},on:{click:function(t){return t.preventDefault(),e.manager.sortBy("time")}}})]),t("div",{staticClass:"nk-file-size"},[t("a",{staticClass:"tb-head text-secondary",class:e.manager.sortIcon("size"),attrs:{href:"#"},domProps:{textContent:e._s(e.__("Size","wpide"))},on:{click:function(t){return t.preventDefault(),e.manager.sortBy("size")}}})]),t("div",{staticClass:"nk-file-actions"})])]):e._e(),t("FilesList",{ref:"filesList",attrs:{items:e.items,display:"list",insearch:e.insearch,manager:e.manager}})],1)}),[],!1,null,null,null).exports},59293:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});i(2027),i(84817),i(35545);const n={name:"SortDropdown",props:["label","sortIcon","sortBy","sort"],data:function(){return{options:[{value:"name",label:"Name"},{value:"size",label:"Size"},{value:"time",label:"Updated"}]}},computed:{currentSortLabel:function(){var e=this,t=this.options.find((function(t){return t.value===e.sort.param}));return this.label?t?this.label+" "+t.label.toLowerCase():"":t?t.label:""}}};const r=(0,i(9970).Z)(n,(function(){var e=this,t=e._self._c;return t("b-nav-item-dropdown",{attrs:{"toggle-class":"nk-switch-icon w-auto","menu-class":"link-list-plain no-bdr",right:""},scopedSlots:e._u([{key:"button-content",fn:function(){return[t("span",{staticClass:"p-0",domProps:{textContent:e._s(e.currentSortLabel)}}),t("em",{staticClass:"ni",class:e.sortIcon(e.sort.param)})]},proxy:!0},{key:"default",fn:function(){return[e._l(e.options,(function(i){return[t("b-dropdown-item",{key:i.value,on:{click:function(t){return t.preventDefault(),e.sortBy(i.value)}}},[t("em",{staticClass:"icon ni",class:e.sortIcon(i.value)}),t("span",[e._v(e._s(i.label))])])]}))]},proxy:!0}])})}),[],!1,null,null,null).exports},55248:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});i(7996),i(53290),i(43146),i(35545),i(83090),i(90203),i(13902),i(46636),i(7422);var n=i(53831),r=i.n(n),s=i(71199),o=i(51892),a=i(27397),c=i(2332);const l={name:"Upload",props:["files","dropZone"],data:function(){return{resumable:{},visible:!1,paused:!1,progressVisible:!1}},computed:{activeUploads:function(){return this.resumable.files.length>0&&this.resumable.progress()<1},progress:function(){return this.resumable.getSize()>0?Math.round(100*this.resumable.progress()):0},percent:function(){return(this.progress||0)+"%"},total:function(){return this.formatBytes(this.resumable.getSize())}},watch:{files:function(e){var t=this;e.forEach((function(e){t.resumable.addFile(e)}))}},mounted:function(){var e=this;if(this.resumable=new(r())({target:o.default.config.baseURL+"/upload",headers:{"x-csrf-token":c.Z.defaults.headers.common["x-csrf-token"]},withCredentials:!0,simultaneousUploads:this.getConfig("file.upload_simultaneous"),minFileSize:0,chunkSize:this.getConfig("file.upload_chunk_size"),maxFileSize:this.getConfig("file.upload_max_size"),maxFileSizeErrorCallback:function(t){e.$bvToast.toast((0,s.gB)((0,s.__)("%s is too large, please upload files less than %s","wpide"),t.name,e.formatBytes(e.$store.state.config.file.upload_max_size)),{title:(0,s.__)("Error","wpide"),variant:"danger",toaster:"b-toaster-bottom-right",appendToast:!0})}}),this.resumable.support){var t=document.getElementById("dropzone");t&&(this.resumable.assignDrop(t),this.resumable.on("fileAdded",(function(t){e.visible=!0,e.progressVisible=!0,void 0===t.relativePath||null===t.relativePath||t.relativePath==t.fileName?t.relativePath=e.$store.state.cwd.location:t.relativePath=[e.$store.state.cwd.location,t.relativePath].join("/").replace("//","/").replace(t.fileName,"").replace(/\/$/,""),e.paused||e.resumable.upload()})),this.resumable.on("fileSuccess",(function(t){t.file.uploadingError=!1,e.$forceUpdate(),e.can("read")&&a.Z.getDir({to:""}).then((function(t){e.$store.commit("setCwd",{content:t.files,location:t.location})}))})),this.resumable.on("fileError",(function(e){e.file.uploadingError=!0})))}else this.$bvToast.toast((0,s.__)("Browser not supported.","wpide"),{title:(0,s.__)("Error","wpide"),variant:"danger",noAutoHide:!0,toaster:"b-toaster-bottom-right",appendToast:!0})},beforeDestroy:function(){this.resumable.cancel()},methods:{closeWindow:function(){var e=this;this.activeUploads?this.showModalConfirm((0,s.__)("Confirm","wpide"),(function(){e.resumable.cancel(),e.visible=!1})):(this.visible=!1,this.resumable.cancel())},toggleWindow:function(){this.progressVisible=!this.progressVisible},togglePause:function(){this.paused?(this.resumable.upload(),this.paused=!1):(this.resumable.pause(),this.paused=!0)}}};const u=(0,i(9970).Z)(l,(function(){var e=this,t=e._self._c;return t("div",[e.visible&&0==e.dropZone?t("div",{staticClass:"progress-box"},[t("div",{staticClass:"box-header"},[t("div",{staticClass:"d-flex justify-content-between align-center"},[t("div",{staticClass:"d-flex text-primary"},[e.activeUploads&&!e.paused?t("span",{staticClass:"mr-1",domProps:{textContent:e._s(e.sprintf(e.__("Uploading files %s of %s","wpide"),e.percent,e.total))}}):e._e(),e.activeUploads&&e.paused?t("span",{domProps:{textContent:e._s(e.__("Upload paused.","wpide"))}}):e._e(),e.activeUploads?e._e():t("span",{domProps:{textContent:e._s(e.__("Upload done!","wpide"))}})]),t("div",{staticClass:"d-flex"},[e.activeUploads?t("a",{staticClass:"progress-icon",on:{click:function(t){return e.togglePause()}}},[t("em",{staticClass:"ni icon",class:e.paused?"ni-play-circle":"ni-pause-circle"})]):e._e(),t("a",{staticClass:"progress-icon",on:{click:function(t){return e.toggleWindow()}}},[t("em",{staticClass:"ni icon",class:{"ni-chevron-down":e.progressVisible,"ni-chevron-up":!e.progressVisible}})]),t("a",{staticClass:"progress-icon",on:{click:function(t){return e.closeWindow()}}},[t("em",{staticClass:"ni icon ni-cross"})])])])]),e.progressVisible?t("div",{staticClass:"box-body"},[t("div",{staticClass:"progress-items list-group"},e._l(e.resumable.files.slice().reverse(),(function(i,n){return t("div",{key:n,staticClass:"list-group-item"},[t("div",{staticClass:"d-flex flex-column justify-content-between"},[t("div",[e._v(e._s("/"!=i.relativePath?i.relativePath:"")+"/"+e._s(i.fileName))]),t("div",{staticClass:"d-flex justify-content-between mt-1"},[t("b-progress",{class:[i.file.uploadingError?"is-danger":"is-primary","progress is-large"],attrs:{value:i.size>0?100*i.progress():100,max:"100",animated:""}}),!i.isUploading()&&i.file.uploadingError?t("a",{staticClass:"progress-icon",on:{click:function(e){return i.retry()}}},[t("em",{staticClass:"icon ni ni-redo text-danger"})]):e._e(),i.isUploading()?t("a",{staticClass:"progress-icon",on:{click:function(e){return i.cancel()}}},[t("em",{staticClass:"icon ni",class:i.isComplete()?"ni-check":"ni-cross"})]):e._e()],1)])])})),0)]):e._e()]):e._e()])}),[],!1,null,"520093ae",null).exports},77814:(e,t,i)=>{"use strict";i.d(t,{P:()=>o,x:()=>s});var n="vertical",r={name:"multipane",props:{layout:{type:String,default:n}},data:function(){return{isResizing:!1}},computed:{classnames:function(){return["multipane","layout-"+this.layout.slice(0,1),this.isResizing?"is-resizing":""]},cursor:function(){return this.isResizing?this.layout==n?"col-resize":"row-resize":""},userSelect:function(){return this.isResizing?"none":""}},methods:{onMouseDown:function(e){var t=e.target,i=e.pageX,r=e.pageY;if(t.className&&t.className.match("multipane-resizer")){var s=this,o=s.$el,a=s.layout,c=t.previousElementSibling,l=c.offsetWidth,u=c.offsetHeight,d=!!(c.style.width+"").match("%"),h=window.addEventListener,f=window.removeEventListener,p=function(e,t){if(void 0===t&&(t=0),a==n){var i=o.clientWidth,r=e+t;return c.style.width=d?r/i*100+"%":r+"px"}if("horizontal"==a){var s=o.clientHeight,l=e+t;return c.style.height=d?l/s*100+"%":l+"px"}};s.isResizing=!0;var m=p();s.$emit("paneResizeStart",c,t,m);var v=function(e){var o=e.pageX,d=e.pageY;m=a==n?p(l,o-i):p(u,d-r),s.$emit("paneResize",c,t,m)},g=function(){m=p(a==n?c.clientWidth:c.clientHeight),s.isResizing=!1,f("mousemove",v),f("mouseup",g),s.$emit("paneResizeStop",c,t,m)};h("mousemove",v),h("mouseup",g)}}}};!function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style"),i=".multipane { display: flex; } .multipane.layout-h { flex-direction: column; } .multipane.layout-v { flex-direction: row; } .multipane > div { position: relative; z-index: 1; } .multipane-resizer { display: block; position: relative; z-index: 2; } .layout-h > .multipane-resizer { width: 100%; height: 10px; margin-top: -10px; top: 5px; cursor: row-resize; } .layout-v > .multipane-resizer { width: 10px; height: 100%; margin-left: -10px; left: 5px; cursor: col-resize; } ";t.type="text/css",t.styleSheet?t.styleSheet.cssText=i:t.appendChild(document.createTextNode(i)),e.appendChild(t)}}();var s=Object.assign(r,{render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.classnames,style:{cursor:e.cursor,userSelect:e.userSelect},on:{mousedown:e.onMouseDown}},[e._t("default")],2)},staticRenderFns:[]});s.prototype=r.prototype,function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText="":t.appendChild(document.createTextNode("")),e.appendChild(t)}}();var o={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"multipane-resizer"},[e._t("default")],2)},staticRenderFns:[]};"undefined"!=typeof window&&window.Vue&&(window.Vue.component("multipane",s),window.Vue.component("multipane-resizer",o))},20545:function(e){"undefined"!=typeof self&&self,e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s="112a")}({"112a":function(e,t,i){"use strict";var n;i.r(t),i.d(t,"VueTabsChrome",(function(){return b})),"undefined"!=typeof window&&(i("e67d"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(i.p=n[1]));var r,s,o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"vue-tabs-chrome",class:e.theme?"theme-"+e.theme:""},[i("div",{ref:"content",staticClass:"tabs-content"},[e._l(e.tabs.length,(function(t){return i("div",{key:t,staticClass:"tabs-divider",style:{left:(e.tabWidth-2*e.gap)*t+e.gap+"px"}})})),e._l(e.tabs,(function(t,n){return i("div",{key:e.getKey(t),ref:"item",refInFor:!0,staticClass:"tabs-item",class:[{active:e.getKey(t)===e.value},"tab-"+e.getKey(t),t.class].filter((function(e){return e})),style:{width:e.tabWidth+"px"},on:{contextmenu:function(i){return e.handleMenu(i,t,n)}}},[i("div",{staticClass:"tabs-background"},[i("div",{staticClass:"tabs-background-content"}),i("svg",{staticClass:"tabs-background-before",attrs:{width:"7",height:"7"}},[i("path",{attrs:{d:"M 0 7 A 7 7 0 0 0 7 0 L 7 7 Z"}})]),i("svg",{staticClass:"tabs-background-after",attrs:{width:"7",height:"7"}},[i("path",{attrs:{d:"M 0 0 A 7 7 0 0 0 7 7 L 0 7 Z"}})])]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.canShowTabClose(t),expression:"canShowTabClose(tab)"}],staticClass:"tabs-close",on:{click:function(i){return i.stopPropagation(),e.handleDelete(t,n)}}},[e.$slots["close-icon"]?e._t("close-icon"):i("svg",{staticClass:"tabs-close-icon",attrs:{width:"16",height:"16",stroke:"#595959"}},[i("path",{attrs:{d:"M 4 4 L 12 12 M 12 4 L 4 12"}})])],2),i("div",{staticClass:"tabs-main",attrs:{title:e._f("tabLabelText")(t,e.tabLabel,e.renderLabel)}},[t.favicon?i("span",{staticClass:"tabs-favicon"},["function"==typeof t.favicon?i("render-temp",{attrs:{render:t.favicon,params:{tab:t,index:n}}}):t.favicon?i("img",{attrs:{height:"32",width:"32",src:t.favicon}}):e._e()],1):e._e(),i("span",{staticClass:"tabs-label",class:{"no-close":!e.canShowTabClose(t)}},[e._v(e._s(e._f("tabLabelText")(t,e.tabLabel,e.renderLabel)))])])])})),i("span",{ref:"after",staticClass:"tabs-after",style:{left:(e.tabWidth-2*e.gap)*e.tabs.length+2*e.gap+"px"}},[e._t("after")],2)],2),i("div",{staticClass:"tabs-footer"})])},a=[],c=i("7c66"),l=i.n(c),u={name:"render-temp",props:{render:{type:Function,default:()=>{}},params:{type:Object,default:()=>({})}},render(e){return this.render&&this.render(e,{...this.params})}};function d(e,t,i,n,r,s,o,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var h=d(u,r,s,!1,null,null,null).exports;const f=(e,t,i,n,r)=>{let s=(i-r)/2,o=t._instance.position.x;for(let i=0;i<e.length;i++){let r=e[i]._x-1;if(m(t,n)!==m(e[i],n)){if(r<=o&&o<r+s/2)return{direction:"left",instance:e[i]._instance,targetTab:e[i]};if(r+s/2<=o&&o<r+s)return{direction:"right",instance:e[i]._instance,targetTab:e[i]}}}return{direction:null,instance:null,targetTab:t}},p=(e,t)=>{let i=t.split("."),n=e;return i.forEach((e=>{n=n[e]})),n},m=(e,t)=>p(e,t);var v={name:"vue-tabs-chrome",components:{RenderTemp:h},props:{value:{type:[String,Number],default:""},tabs:{type:Array,default:()=>[]},props:{type:Object,default:()=>({})},minWidth:{type:Number,default:40},autoHiddenCloseIconWidth:{type:Number,default:120},maxWidth:{type:Number,default:245},gap:{type:Number,default:7},insertToAfter:{type:Boolean,default:!1},theme:{type:String,default:""},isMousedownActive:{type:Boolean,default:!0},renderLabel:{type:Function},onClose:{type:Function}},data:()=>({tabWidth:null}),filters:{tabLabelText:(e,t="",i)=>i?i(e):p(e,t)},computed:{tabKey(){return this.props.key||"key"},tabLabel(){return this.props.label||"label"}},mounted(){this.calcTabWidth(),window.addEventListener("resize",this.handleResize),this.setup()},destroyed(){window.removeEventListener("resize",this.handleResize)},methods:{canShowTabClose(e){return!(!1===e.closable||e[this.tabKey]!==this.value&&this.autoHiddenCloseIconWidth>this.tabWidth)},calcTabWidth(){let{tabs:e,maxWidth:t,minWidth:i,gap:n}=this,r=this.$refs.content,s=this.$refs.after.getBoundingClientRect().width;if(!r)return Math.max(t,i);let o=(r.clientWidth-3*n-s)/e.length;o+=2*n,o>t&&(o=t),o<i&&(o=i),this.tabWidth=o},setup(){let{tabs:e}=this;e.forEach(((e,t)=>{this.addInstance(e,t)}))},addInstance(e,t){let{tabWidth:i,tabKey:n,gap:r}=this;if(e._instance)return void e._instance.setPosition(e._x,0);let s=this.$refs.content,o=this.$refs.item.find((t=>t.classList.contains("tab-"+m(e,n))));e._instance=new l.a(o,{axis:"x",containment:s,handle:".tabs-main"}),!1===e.dragable&&(e._instance.disable(),o.addEventListener("mousedown",(i=>this.handlePointerDown(i,e,t))),o.addEventListener("click",(i=>this.handleClick(i,e,t))));let a=(i-2*r)*t;e._x=a,e._instance.setPosition(a,0),e._instance.on("pointerDown",(i=>this.handlePointerDown(i,e,t))),e._instance.on("dragMove",(i=>this.handleDragMove(i,e,t))),e._instance.on("dragEnd",(i=>this.handleDragEnd(i,e,t))),e._instance.on("staticClick",(i=>this.handleClick(i,e,t)))},addTab(...e){let{insertToAfter:t,value:i,tabKey:n}=this;if(t){let t=this.tabs.findIndex((e=>m(e,n)===i));this.tabs.splice(t+1,0,...e)}else this.tabs.push(...e);this.$nextTick((()=>{this.setup(),this.doLayout()}))},removeTab(e){let{tabKey:t,tabs:i}=this,n=-1,r=null;"number"==typeof tab?(n=e,r=this.tabs[n]):i.forEach(((i,s)=>{m(i,t)===e&&(n=s,r=i)})),n>=0&&r&&this.handleDelete(r,n)},doLayout(){this.calcTabWidth();let{tabWidth:e,tabs:t,gap:i}=this;t.forEach(((t,n)=>{let r=t._instance,s=(e-2*i)*n;t._x=s,r.setPosition(s,0)}))},handleDelete(e,t){if("function"==typeof this.onClose&&!this.onClose(e,e[this.tabKey],t))return!1;let i,n,{tabKey:r,tabs:s,value:o}=this,a=s.findIndex((e=>m(e,r)===o));t===a&&(i=s[t+1],n=s[t-1]),i?this.$emit("input",m(i,r)):n?this.$emit("input",m(n,r)):s.length<=1&&this.$emit("input",null),s.splice(t,1),this.$emit("remove",e,t),this.$nextTick((()=>{this.doLayout()}))},handleResize(e){this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.doLayout()}),100)},handlePointerDown(e,t,i){let{tabKey:n,isMousedownActive:r}=this;r&&this.$emit("input",m(t,n)),this.$emit("dragstart",e,t,i)},handleDragMove(e,t,i){let{tabWidth:n,tabs:r,tabKey:s,gap:o}=this,{instance:a,targetTab:c}=f(r,t,n,s,o);a&&this.swapTab(t,c),this.$emit("dragging",e,c,i)},handleDragEnd(e,t){let i=t._instance;i.position.x<0||(setTimeout((()=>{i.element.classList.add("move"),i.setPosition(t._x,0)}),50),setTimeout((()=>{this.$emit("dragend",e,t),i.element.classList.remove("move")}),200))},handleClick(e,t,i){this.$emit("click",e,t,i)},handleMenu(e,t,i){this.$emit("contextmenu",e,t,i)},swapTab(e,t){let i,n,{tabKey:r,tabs:s}=this;if(!1===t.swappable)return;for(let o=0;o<s.length;o++)m(e,r)===m(s[o],r)&&(i=o),m(t,r)===m(s[o],r)&&(n=o);i!==n&&([s[i],s[n]]=[s[n],s[i]]);let o=e._x;e._x=t._x,t._x=o;let a=t._instance;setTimeout((()=>{a.element.classList.add("move"),a.setPosition(o,a.position.y)}),50),setTimeout((()=>{a.element.classList.remove("move"),this.$emit("swap",e,t)}),200),this.tabs.splice(0,0)},getTabs(){return this.tabs.map((e=>{let t={...e};return delete t._instance,delete t._x,t}))},getKey(e){return m(e,this.tabKey)}}},g=v,b=(i("9f0c"),d(g,o,a,!1,null,null,null)).exports;const y=function(e){y.installed||(y.installed=!0,e.component(b.name,b))};"undefined"!=typeof window&&window.Vue&&y(window.Vue),b.install=y;var C=b;t.default=C},"2d0b":function(e,t,i){var n,r,s,o;s=window,o=function(e,t){"use strict";function i(){}var n=i.prototype=Object.create(t.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){for(var i=(t=void 0===t||t)?"addEventListener":"removeEventListener",n=t?this._touchActionValue:"",r=0;r<this.handles.length;r++){var s=this.handles[r];this._bindStartEvent(s,t),s[i]("click",this),e.PointerEvent&&(s.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(e,t){this.okayPointerDown(e)&&(this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t]))};var r={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},s={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(e){var t=r[e.target.nodeName],i=s[e.target.type],n=!t||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var e=document.activeElement;e&&e.blur&&e!=document.body&&e.blur()},n.pointerMove=function(e,t){var i=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,i]),this._dragMove(e,t,i)},n._dragPointerMove=function(e,t){var i={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(e,t),i},n.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},n.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},n._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},n._dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(e,t)},n.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},n._dragMove=function(e,t,i){this.isDragging&&this.dragMove(e,t,i)},n.dragMove=function(e,t,i){e.preventDefault(),this.emitEvent("dragMove",[e,t,i])},n._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},n.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},n.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},n._staticClick=function(e,t){this.isIgnoringMouseUp&&"mouseup"==e.type||(this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},i.getPointerPoint=t.getPointerPoint,i},n=[i("b246")],r=function(e){return o(s,e)}.apply(t,n),void 0===r||(e.exports=r)},4882:function(e,t,i){var n,r,s;"undefined"!=typeof window&&window,s=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var s=i[r];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e},void 0===(r="function"==typeof(n=s)?n.call(t,i,t,e):n)||(e.exports=r)},5925:function(e,t,i){"use strict";function n(e,t){for(var i=[],n={},r=0;r<t.length;r++){var s=t[r],o=s[0],a={id:e+":"+r,css:s[1],media:s[2],sourceMap:s[3]};n[o]?n[o].parts.push(a):i.push(n[o]={id:o,parts:[a]})}return i}i.r(t),i.d(t,"default",(function(){return p}));var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},o=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,l=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,i,r){l=i,d=r||{};var o=n(e,t);return m(o),function(t){for(var i=[],r=0;r<o.length;r++){var a=o[r],c=s[a.id];c.refs--,i.push(c)}for(t?m(o=n(e,t)):o=[],r=0;r<i.length;r++)if(0===(c=i[r]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete s[c.id]}}}function m(e){for(var t=0;t<e.length;t++){var i=e[t],n=s[i.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](i.parts[r]);for(;r<i.parts.length;r++)n.parts.push(g(i.parts[r]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var o=[];for(r=0;r<i.parts.length;r++)o.push(g(i.parts[r]));s[i.id]={id:i.id,refs:1,parts:o}}}}function v(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,i,n=document.querySelector("style["+h+'~="'+e.id+'"]');if(n){if(l)return u;n.parentNode.removeChild(n)}if(f){var r=c++;n=a||(a=v()),t=y.bind(null,n,r,!1),i=y.bind(null,n,r,!0)}else n=v(),t=C.bind(null,n),i=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else i()}}var b=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}();function y(e,t,i,n){var r=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,r);else{var s=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(s,o[t]):e.appendChild(s)}}function C(e,t){var i=t.css,n=t.media,r=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute(h,t.id),r&&(i+="\n/*# sourceURL="+r.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}},5997:function(e,t,i){var n=i("f2c7");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),(0,i("5925").default)("78eeea22",n,!0,{sourceMap:!1,shadowMode:!1})},"690e":function(e,t){function i(e,t){var i=e[1]||"",r=e[3];if(!r)return i;if(t&&"function"==typeof btoa){var s=n(r),o=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[i].concat(o).concat([s]).join("\n")}return[i].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var s=this[r][0];"number"==typeof s&&(n[s]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(i&&!o[2]?o[2]=i:i&&(o[2]="("+o[2]+") and ("+i+")"),t.push(o))}},t}},"7c66":function(e,t,i){var n,r,s,o;s=window,o=function(e,t,i){function n(e,t){for(var i in t)e[i]=t[i];return e}function r(){}var s=e.jQuery;function o(e,t){this.element="string"==typeof e?document.querySelector(e):e,s&&(this.$element=s(this.element)),this.options=n({},this.constructor.defaults),this.option(t),this._create()}var a=o.prototype=Object.create(i.prototype);o.defaults={},a.option=function(e){n(this.options,e)};var c={relative:!0,absolute:!0,fixed:!0};function l(e,t,i){return i=i||"round",t?Math[i](e/t)*t:e}return a._create=function(){this.position={},this._getPosition(),this.startPoint={x:0,y:0},this.dragPoint={x:0,y:0},this.startPosition=n({},this.position);var e=getComputedStyle(this.element);c[e.position]||(this.element.style.position="relative"),this.on("pointerMove",this.onPointerMove),this.on("pointerUp",this.onPointerUp),this.enable(),this.setHandles()},a.setHandles=function(){this.handles=this.options.handle?this.element.querySelectorAll(this.options.handle):[this.element],this.bindHandles()},a.dispatchEvent=function(e,t,i){var n=[t].concat(i);this.emitEvent(e,n),this.dispatchJQueryEvent(e,t,i)},a.dispatchJQueryEvent=function(t,i,n){var r=e.jQuery;if(r&&this.$element){var s=r.Event(i);s.type=t,this.$element.trigger(s,n)}},a._getPosition=function(){var e=getComputedStyle(this.element),t=this._getPositionCoord(e.left,"width"),i=this._getPositionCoord(e.top,"height");this.position.x=isNaN(t)?0:t,this.position.y=isNaN(i)?0:i,this._addTransformPosition(e)},a._getPositionCoord=function(e,i){if(-1!=e.indexOf("%")){var n=t(this.element.parentNode);return n?parseFloat(e)/100*n[i]:0}return parseInt(e,10)},a._addTransformPosition=function(e){var t=e.transform;if(0===t.indexOf("matrix")){var i=t.split(","),n=0===t.indexOf("matrix3d")?12:4,r=parseInt(i[n],10),s=parseInt(i[n+1],10);this.position.x+=r,this.position.y+=s}},a.onPointerDown=function(e,t){this.element.classList.add("is-pointer-down"),this.dispatchJQueryEvent("pointerDown",e,[t])},a.pointerDown=function(e,t){this.okayPointerDown(e)&&this.isEnabled?(this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.element.classList.add("is-pointer-down"),this.dispatchEvent("pointerDown",e,[t])):this._pointerReset()},a.dragStart=function(e,t){this.isEnabled&&(this._getPosition(),this.measureContainment(),this.startPosition.x=this.position.x,this.startPosition.y=this.position.y,this.setLeftTop(),this.dragPoint.x=0,this.dragPoint.y=0,this.element.classList.add("is-dragging"),this.dispatchEvent("dragStart",e,[t]),this.animate())},a.measureContainment=function(){var e=this.getContainer();if(e){var i=t(this.element),n=t(e),r=this.element.getBoundingClientRect(),s=e.getBoundingClientRect(),o=n.borderLeftWidth+n.borderRightWidth,a=n.borderTopWidth+n.borderBottomWidth,c=this.relativeStartPosition={x:r.left-(s.left+n.borderLeftWidth),y:r.top-(s.top+n.borderTopWidth)};this.containSize={width:n.width-o-c.x-i.width,height:n.height-a-c.y-i.height}}},a.getContainer=function(){var e=this.options.containment;if(e)return e instanceof HTMLElement?e:"string"==typeof e?document.querySelector(e):this.element.parentNode},a.onPointerMove=function(e,t,i){this.dispatchJQueryEvent("pointerMove",e,[t,i])},a.dragMove=function(e,t,i){if(this.isEnabled){var n=i.x,r=i.y,s=this.options.grid,o=s&&s[0],a=s&&s[1];n=l(n,o),r=l(r,a),n=this.containDrag("x",n,o),r=this.containDrag("y",r,a),n="y"==this.options.axis?0:n,r="x"==this.options.axis?0:r,this.position.x=this.startPosition.x+n,this.position.y=this.startPosition.y+r,this.dragPoint.x=n,this.dragPoint.y=r,this.dispatchEvent("dragMove",e,[t,i])}},a.containDrag=function(e,t,i){if(!this.options.containment)return t;var n="x"==e?"width":"height",r=l(-this.relativeStartPosition[e],i,"ceil"),s=this.containSize[n];return s=l(s,i,"floor"),Math.max(r,Math.min(s,t))},a.onPointerUp=function(e,t){this.element.classList.remove("is-pointer-down"),this.dispatchJQueryEvent("pointerUp",e,[t])},a.dragEnd=function(e,t){this.isEnabled&&(this.element.style.transform="",this.setLeftTop(),this.element.classList.remove("is-dragging"),this.dispatchEvent("dragEnd",e,[t]))},a.animate=function(){if(this.isDragging){this.positionDrag();var e=this;requestAnimationFrame((function(){e.animate()}))}},a.setLeftTop=function(){this.element.style.left=this.position.x+"px",this.element.style.top=this.position.y+"px"},a.positionDrag=function(){this.element.style.transform="translate3d( "+this.dragPoint.x+"px, "+this.dragPoint.y+"px, 0)"},a.staticClick=function(e,t){this.dispatchEvent("staticClick",e,[t])},a.setPosition=function(e,t){this.position.x=e,this.position.y=t,this.setLeftTop()},a.enable=function(){this.isEnabled=!0},a.disable=function(){this.isEnabled=!1,this.isDragging&&this.dragEnd()},a.destroy=function(){this.disable(),this.element.style.transform="",this.element.style.left="",this.element.style.top="",this.element.style.position="",this.unbindHandles(),this.$element&&this.$element.removeData("draggabilly")},a._init=r,s&&s.bridget&&s.bridget("draggabilly",o),o},n=[i("ebc9"),i("2d0b")],r=function(e,t){return o(s,e,t)}.apply(t,n),void 0===r||(e.exports=r)},"9f0c":function(e,t,i){"use strict";i("5997")},b246:function(e,t,i){var n,r,s,o;s=window,o=function(e,t){"use strict";function i(){}function n(){}var r=n.prototype=Object.create(t.prototype);r.bindStartEvent=function(e){this._bindStartEvent(e,!0)},r.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},r._bindStartEvent=function(t,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",r="mousedown";e.PointerEvent?r="pointerdown":"ontouchstart"in e&&(r="touchstart"),t[n](r,this)},r.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.getTouch=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.identifier==this.pointerIdentifier)return i}},r.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},r.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},r.onpointerdown=function(e){this._pointerDown(e,e)},r._pointerDown=function(e,t){e.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},r.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])};var s={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return r._bindPostStartEvents=function(t){if(t){var i=s[t.type];i.forEach((function(t){e.addEventListener(t,this)}),this),this._boundPointerEvents=i}},r._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(t){e.removeEventListener(t,this)}),this),delete this._boundPointerEvents)},r.onmousemove=function(e){this._pointerMove(e,e)},r.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},r.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},r._pointerMove=function(e,t){this.pointerMove(e,t)},r.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},r.onmouseup=function(e){this._pointerUp(e,e)},r.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},r.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},r._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},r.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},r._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},r._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},r.pointerDone=i,r.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},r.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},r._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},r.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},n.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},n},n=[i("4882")],r=function(e){return o(s,e)}.apply(t,n),void 0===r||(e.exports=r)},e67d:function(e,t){!function(e){var t="currentScript",i=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(n){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in i)if(i[e].src==t||"interactive"==i[e].readyState)return i[e];return null}}})}(document)},ebc9:function(e,t,i){var n,r,s;window,s=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function t(){}var i="undefined"==typeof console?t:function(e){console.error(e)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=n.length;function s(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<r;t++)e[n[t]]=0;return e}function o(e){var t=getComputedStyle(e);return t||i("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var a,c=!1;function l(){if(!c){c=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=o(t);a=200==Math.round(e(n.width)),u.isBoxSizeOuter=a,i.removeChild(t)}}function u(t){if(l(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var i=o(t);if("none"==i.display)return s();var c={};c.width=t.offsetWidth,c.height=t.offsetHeight;for(var u=c.isBorderBox="border-box"==i.boxSizing,d=0;d<r;d++){var h=n[d],f=i[h],p=parseFloat(f);c[h]=isNaN(p)?0:p}var m=c.paddingLeft+c.paddingRight,v=c.paddingTop+c.paddingBottom,g=c.marginLeft+c.marginRight,b=c.marginTop+c.marginBottom,y=c.borderLeftWidth+c.borderRightWidth,C=c.borderTopWidth+c.borderBottomWidth,w=u&&a,_=e(i.width);!1!==_&&(c.width=_+(w?0:m+y));var x=e(i.height);return!1!==x&&(c.height=x+(w?0:v+C)),c.innerWidth=c.width-(m+y),c.innerHeight=c.height-(v+C),c.outerWidth=c.width+g,c.outerHeight=c.height+b,c}}return u},void 0===(r="function"==typeof(n=s)?n.call(t,i,t,e):n)||(e.exports=r)},f2c7:function(e,t,i){(e.exports=i("690e")(!1)).push([e.i,".vue-tabs-chrome{padding-top:10px;background-color:#dee1e6;position:relative}.vue-tabs-chrome .tabs-content{height:34px;position:relative;overflow:hidden}.vue-tabs-chrome .tabs-divider{left:0;top:50%;width:1px;height:20px;background-color:#a9adb0;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-tabs-chrome .tabs-item{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .15s;transition:width .15s;position:absolute}.vue-tabs-chrome .tabs-item:hover .tabs-background-content{background-color:#f2f3f5}.vue-tabs-chrome .tabs-item:hover .tabs-background-after,.vue-tabs-chrome .tabs-item:hover .tabs-background-before{fill:#f2f3f5}.vue-tabs-chrome .tabs-item.move{-webkit-transition:.15s;transition:.15s}.vue-tabs-chrome .tabs-item.is-dragging{z-index:3}.vue-tabs-chrome .tabs-item.is-dragging .tabs-background-content{background-color:#f2f3f5}.vue-tabs-chrome .tabs-item.is-dragging .tabs-background-after,.vue-tabs-chrome .tabs-item.is-dragging .tabs-background-before{fill:#f2f3f5}.vue-tabs-chrome .tabs-item.active{z-index:2}.vue-tabs-chrome .tabs-item.active .tabs-background{opacity:1}.vue-tabs-chrome .tabs-item.active .tabs-background-content{background-color:#fff}.vue-tabs-chrome .tabs-item.active .tabs-background-after,.vue-tabs-chrome .tabs-item.active .tabs-background-before{fill:#fff}.vue-tabs-chrome .tabs-item:first-of-type .tabs-dividers:before,.vue-tabs-chrome .tabs-item:last-of-type .tabs-dividers:after{opacity:0}.vue-tabs-chrome .tabs-main{height:100%;left:0;right:0;margin:0 14px;border-top-left-radius:5px;border-top-right-radius:5px;-webkit-transition:.15s;transition:.15s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.vue-tabs-chrome .tabs-close{top:50%;right:14px;width:16px;height:16px;z-index:1;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-tabs-chrome .tabs-close-icon{width:100%;height:100%;border-radius:50%}.vue-tabs-chrome .tabs-close-icon:hover{stroke:#000;background-color:#e8eaed}.vue-tabs-chrome .tabs-favicon{height:16px;width:16px;margin-left:7px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}.vue-tabs-chrome .tabs-favicon img{height:100%}.vue-tabs-chrome .tabs-label{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:7px;margin-right:16px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;white-space:nowrap}.vue-tabs-chrome .tabs-label.no-close{margin-right:7px}.vue-tabs-chrome .tabs-background{width:100%;height:100%;padding:0 6px;position:absolute;-webkit-transition:opacity .3s;transition:opacity .3s;-webkit-box-sizing:border-box;box-sizing:border-box}.vue-tabs-chrome .tabs-background-content{height:100%;border-top-left-radius:7px;border-top-right-radius:7px;-webkit-transition:background .15s;transition:background .15s}.vue-tabs-chrome .tabs-background-after,.vue-tabs-chrome .tabs-background-before{bottom:-1px;position:absolute;fill:transparent;-webkit-transition:background .15s;transition:background .15s}.vue-tabs-chrome .tabs-background-before{left:-1px}.vue-tabs-chrome .tabs-background-after{right:-1px}.vue-tabs-chrome .tabs-footer{height:4px;background-color:#fff}.vue-tabs-chrome .tabs-after{top:50%;display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;overflow:hidden;-webkit-transform:translateY(-50%);transform:translateY(-50%)}@-webkit-keyframes tab-show{0%{-webkit-transform:scaleX(0);transform:scaleX(0)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tab-show{0%{-webkit-transform:scaleX(0);transform:scaleX(0)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.theme-dark{color:#9ca1a7}.theme-dark,.theme-dark .tabs-item:hover .tabs-background-content{background-color:#202124}.theme-dark .tabs-item:hover .tabs-background-after,.theme-dark .tabs-item:hover .tabs-background-before{fill:transparent}.theme-dark .tabs-item.is-dragging .tabs-background-content{background-color:#202124}.theme-dark .tabs-item.is-dragging .tabs-background-after,.theme-dark .tabs-item.is-dragging .tabs-background-before{fill:transparent}.theme-dark .tabs-item.active{color:#fff}.theme-dark .tabs-item.active .tabs-background-content{background-color:#323639}.theme-dark .tabs-item.active .tabs-background-after,.theme-dark .tabs-item.active .tabs-background-before{fill:#323639}.theme-dark .tabs-item .tabs-close-icon{stroke:#81878c}.theme-dark .tabs-item .tabs-close-icon:hover{stroke:#cfd1d2;background-color:#5f6368}.theme-dark .tabs-divider{background-color:#4a4d51}.theme-dark .tabs-footer{background-color:#323639}",""])}})},11416:(e,t,i)=>{"use strict";var n=i(79024);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},94979:(e,t,i)=>{"use strict";var n=i(93999),r=i(34904),s=i(46834),o=i(87843),a=i(75087),c=i(76735),l=i(80755),u=i(40948),d=i(30444),h=i(70474),f=Array;e.exports=function(e){var t=s(e),i=c(this),p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m;v&&(m=n(m,p>2?arguments[2]:void 0));var g,b,y,C,w,_,x=h(t),k=0;if(!x||this===f&&a(x))for(g=l(t),b=i?new this(g):f(g);g>k;k++)_=v?m(t[k],k):t[k],u(b,k,_);else for(w=(C=d(t,x)).next,b=i?new this:[];!(y=r(w,C)).done;k++)_=v?o(C,m,[y.value,k],!0):y.value,u(b,k,_);return b.length=k,b}},84354:(e,t,i)=>{"use strict";var n=i(51736),r=Math.floor,s=function(e,t){var i=e.length,c=r(i/2);return i<8?o(e,t):a(e,s(n(e,0,c),t),s(n(e,c),t),t)},o=function(e,t){for(var i,n,r=e.length,s=1;s<r;){for(n=s,i=e[s];n&&t(e[n-1],i)>0;)e[n]=e[--n];n!==s++&&(e[n]=i)}return e},a=function(e,t,i,n){for(var r=t.length,s=i.length,o=0,a=0;o<r||a<s;)e[o+a]=o<r&&a<s?n(t[o],i[a])<=0?t[o++]:i[a++]:o<r?t[o++]:i[a++];return e};e.exports=s},87843:(e,t,i)=>{"use strict";var n=i(9644),r=i(81489);e.exports=function(e,t,i,s){try{return s?t(n(i)[0],i[1]):t(i)}catch(t){r(e,"throw",t)}}},70796:(e,t,i)=>{"use strict";var n=i(92990),r=i(76633),s=i(46233),o=i(93999),a=i(17869),c=i(41562),l=i(2246),u=i(38718),d=i(71668),h=i(44391),f=i(74777),p=i(9536).fastKey,m=i(62108),v=m.set,g=m.getterFor;e.exports={getConstructor:function(e,t,i,u){var d=e((function(e,r){a(e,h),v(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),f||(e.size=0),c(r)||l(r,e[u],{that:e,AS_ENTRIES:i})})),h=d.prototype,m=g(t),b=function(e,t,i){var n,r,s=m(e),o=y(e,t);return o?o.value=i:(s.last=o={index:r=p(t,!0),key:t,value:i,previous:n=s.last,next:void 0,removed:!1},s.first||(s.first=o),n&&(n.next=o),f?s.size++:e.size++,"F"!==r&&(s.index[r]=o)),e},y=function(e,t){var i,n=m(e),r=p(t);if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key===t)return i};return s(h,{clear:function(){for(var e=m(this),t=e.index,i=e.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete t[i.index],i=i.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,i=m(t),n=y(t,e);if(n){var r=n.next,s=n.previous;delete i.index[n.index],n.removed=!0,s&&(s.next=r),r&&(r.previous=s),i.first===n&&(i.first=r),i.last===n&&(i.last=s),f?i.size--:t.size--}return!!n},forEach:function(e){for(var t,i=m(this),n=o(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:i.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),s(h,i?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),f&&r(h,"size",{configurable:!0,get:function(){return m(this).size}}),d},setStrong:function(e,t,i){var n=t+" Iterator",r=g(t),s=g(n);u(e,t,(function(e,t){v(this,{type:n,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=s(this),t=e.kind,i=e.last;i&&i.removed;)i=i.previous;return e.target&&(e.last=i=i?i.next:e.state.first)?d("keys"===t?i.key:"values"===t?i.value:[i.key,i.value],!1):(e.target=void 0,d(void 0,!0))}),i?"entries":"values",!i,!0),h(t)}}},14064:(e,t,i)=>{"use strict";var n=i(77545),r=i(62262),s=i(39272),o=i(39762),a=i(20134),c=i(9536),l=i(2246),u=i(17869),d=i(21365),h=i(41562),f=i(81930),p=i(79024),m=i(89380),v=i(94521),g=i(8669);e.exports=function(e,t,i){var b=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),C=b?"set":"add",w=r[e],_=w&&w.prototype,x=w,k={},L=function(e){var t=s(_[e]);a(_,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(y&&!f(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return y&&!f(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(y&&!f(e))&&t(this,0===e?0:e)}:function(e,i){return t(this,0===e?0:e,i),this})};if(o(e,!d(w)||!(y||_.forEach&&!p((function(){(new w).entries().next()})))))x=i.getConstructor(t,e,b,C),c.enable();else if(o(e,!0)){var H=new x,M=H[C](y?{}:-0,1)!==H,V=p((function(){H.has(1)})),S=m((function(e){new w(e)})),z=!y&&p((function(){for(var e=new w,t=5;t--;)e[C](t,t);return!e.has(-0)}));S||((x=t((function(e,t){u(e,_);var i=g(new w,e,x);return h(t)||l(t,i[C],{that:i,AS_ENTRIES:b}),i}))).prototype=_,_.constructor=x),(V||z)&&(L("delete"),L("has"),b&&L("get")),(z||M)&&L(C),y&&_.clear&&delete _.clear}return k[e]=x,n({global:!0,constructor:!0,forced:x!==w},k),v(x,e),y||i.setStrong(x,e,b),x}},34465:(e,t,i)=>{"use strict";var n=i(67088)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(i){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},46233:(e,t,i)=>{"use strict";var n=i(20134);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},64790:(e,t,i)=>{"use strict";var n=i(69422).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},48323:(e,t,i)=>{"use strict";var n=i(69422);e.exports=/MSIE|Trident/.test(n)},68290:(e,t,i)=>{"use strict";var n=i(69422).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},97798:(e,t,i)=>{"use strict";var n=i(79024);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},9536:(e,t,i)=>{"use strict";var n=i(77545),r=i(39272),s=i(35079),o=i(81930),a=i(95776),c=i(44116).f,l=i(66637),u=i(57968),d=i(52885),h=i(63635),f=i(97798),p=!1,m=h("meta"),v=0,g=function(e){c(e,m,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},p=!0;var e=l.f,t=r([].splice),i={};i[m]=1,e(i).length&&(l.f=function(i){for(var n=e(i),r=0,s=n.length;r<s;r++)if(n[r]===m){t(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,m)){if(!d(e))return"F";if(!t)return"E";g(e)}return e[m].objectID},getWeakData:function(e,t){if(!a(e,m)){if(!d(e))return!0;if(!t)return!1;g(e)}return e[m].weakData},onFreeze:function(e){return f&&p&&d(e)&&!a(e,m)&&g(e),e}};s[m]=!0},61661:(e,t,i)=>{"use strict";var n=i(81930),r=i(88669),s=i(67088)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===r(e))}},44915:(e,t,i)=>{"use strict";var n=i(61661),r=TypeError;e.exports=function(e){if(n(e))throw new r("The method doesn't accept regular expressions");return e}},52885:(e,t,i)=>{"use strict";var n=i(79024),r=i(81930),s=i(88669),o=i(11416),a=Object.isExtensible,c=n((function(){a(1)}));e.exports=c||o?function(e){return!!r(e)&&((!o||"ArrayBuffer"!==s(e))&&(!a||a(e)))}:a},45800:(e,t,i)=>{"use strict";var n=i(34904),r=i(95776),s=i(1338),o=i(69035),a=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||r(e,"flags")||!s(a,e)?t:n(o,e)}},92142:e=>{"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},71982:(e,t,i)=>{"use strict";var n=i(77545),r=i(65010).findIndex,s=i(2755),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),s(o)},53520:(e,t,i)=>{"use strict";var n=i(77545),r=i(94979);n({target:"Array",stat:!0,forced:!i(89380)((function(e){Array.from(e)}))},{from:r})},67293:(e,t,i)=>{"use strict";var n=i(77545),r=i(93809).includes,s=i(79024),o=i(2755);n({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},68098:(e,t,i)=>{"use strict";var n=i(77545),r=i(65010).map;n({target:"Array",proto:!0,forced:!i(79239)("map")},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},2027:(e,t,i)=>{"use strict";var n=i(77545),r=i(39272),s=i(6717),o=i(46834),a=i(80755),c=i(26177),l=i(3021),u=i(79024),d=i(84354),h=i(40706),f=i(64790),p=i(48323),m=i(1874),v=i(68290),g=[],b=r(g.sort),y=r(g.push),C=u((function(){g.sort(void 0)})),w=u((function(){g.sort(null)})),_=h("sort"),x=!u((function(){if(m)return m<70;if(!(f&&f>3)){if(p)return!0;if(v)return v<603;var e,t,i,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(n=0;n<47;n++)g.push({k:t+n,v:i})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[n].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));n({target:"Array",proto:!0,forced:C||!w||!_||!x},{sort:function(e){void 0!==e&&s(e);var t=o(this);if(x)return void 0===e?b(t):b(t,e);var i,n,r=[],u=a(t);for(n=0;n<u;n++)n in t&&y(r,t[n]);for(d(r,function(e){return function(t,i){return void 0===i?-1:void 0===t?1:void 0!==e?+e(t,i)||0:l(t)>l(i)?1:-1}}(e)),i=a(r),n=0;n<i;)t[n]=r[n++];for(;n<u;)c(t,n++);return t}})},1388:(e,t,i)=>{"use strict";var n=i(62262);i(94521)(n.JSON,"JSON",!0)},19657:(e,t,i)=>{"use strict";i(94521)(Math,"Math",!0)},88523:(e,t,i)=>{"use strict";i(77545)({target:"Object",stat:!0,sham:!i(74777)},{create:i(92990)})},9450:(e,t,i)=>{"use strict";var n=i(77545),r=i(79024),s=i(46834),o=i(13520),a=i(39822);n({target:"Object",stat:!0,forced:r((function(){o(1)})),sham:!a},{getPrototypeOf:function(e){return o(s(e))}})},31068:(e,t,i)=>{"use strict";var n=i(74777),r=i(76633),s=i(81930),o=i(46834),a=i(63175),c=Object.getPrototypeOf,l=Object.setPrototypeOf,u=Object.prototype,d="__proto__";if(n&&c&&l&&!(d in u))try{r(u,d,{configurable:!0,get:function(){return c(o(this))},set:function(e){var t=a(this);(s(e)||null===e)&&s(t)&&l(t,e)}})}catch(e){}},86199:(e,t,i)=>{"use strict";i(77545)({target:"Object",stat:!0},{setPrototypeOf:i(38914)})},89048:(e,t,i)=>{"use strict";i(13902);var n,r,s=i(77545),o=i(34904),a=i(21365),c=i(9644),l=i(3021),u=(n=!1,(r=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===r.test("abc")&&n),d=/./.test;s({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=c(this),i=l(e),n=t.exec;if(!a(n))return o(d,t,i);var r=o(n,t,i);return null!==r&&(c(r),!0)}})},16361:(e,t,i)=>{"use strict";var n=i(57246).PROPER,r=i(20134),s=i(9644),o=i(3021),a=i(79024),c=i(45800),l="toString",u=RegExp.prototype[l],d=a((function(){return"/a/b"!==u.call({source:"a",flags:"b"})})),h=n&&u.name!==l;(d||h)&&r(RegExp.prototype,l,(function(){var e=s(this);return"/"+o(e.source)+"/"+o(c(e))}),{unsafe:!0})},41346:(e,t,i)=>{"use strict";i(14064)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i(70796))},53271:(e,t,i)=>{"use strict";i(41346)},73522:(e,t,i)=>{"use strict";var n=i(77545),r=i(39272),s=i(44915),o=i(63175),a=i(3021),c=i(34465),l=r("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~l(a(o(this)),a(s(e)),arguments.length>1?arguments[1]:void 0)}})},34900:(e,t,i)=>{"use strict";var n=i(34904),r=i(36369),s=i(9644),o=i(41562),a=i(63175),c=i(92142),l=i(3021),u=i(46838),d=i(80126);r("search",(function(e,t,i){return[function(t){var i=a(this),r=o(t)?void 0:u(t,e);return r?n(r,t,i):new RegExp(t)[e](l(i))},function(e){var n=s(this),r=l(e),o=i(t,n,r);if(o.done)return o.value;var a=n.lastIndex;c(a,0)||(n.lastIndex=0);var u=d(n,r);return c(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]}))},35670:(e,t,i)=>{"use strict";i(73833)("asyncIterator")},21509:(e,t,i)=>{"use strict";var n=i(96024),r=i(73833),s=i(94521);r("toStringTag"),s(n("Symbol"),"Symbol")},68740:(e,t,i)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}i.d(t,{Z:()=>n})},66198:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});i(35545);function n(e,t,i,n,r,s,o){try{var a=e[s](o),c=a.value}catch(e){return void i(e)}a.done?t(c):Promise.resolve(c).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(r,s){var o=e.apply(t,i);function a(e){n(o,r,s,a,c,"next",e)}function c(e){n(o,r,s,a,c,"throw",e)}a(void 0)}))}}},56022:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});i(75539),i(73470),i(98239),i(35545),i(35142),i(11923),i(82837),i(35670),i(21509),i(1388),i(19657),i(88523),i(9450),i(43146),i(19356),i(30359),i(81379),i(83090),i(90203),i(86199),i(31068),i(7996),i(53290);var n=i(93808);function r(){r=function(){return t};var e,t={},i=Object.prototype,s=i.hasOwnProperty,o=Object.defineProperty||function(e,t,i){e[t]=i.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,i){return e[t]=i}}function h(e,t,i,n){var r=t&&t.prototype instanceof y?t:y,s=Object.create(r.prototype),a=new A(n||[]);return o(s,"_invoke",{value:V(e,i,a)}),s}function f(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var p="suspendedStart",m="suspendedYield",v="executing",g="completed",b={};function y(){}function C(){}function w(){}var _={};d(_,c,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(P([])));k&&k!==i&&s.call(k,c)&&(_=k);var L=w.prototype=y.prototype=Object.create(_);function H(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function i(r,o,a,c){var l=f(e[r],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==(0,n.Z)(d)&&s.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,c)}),(function(e){i("throw",e,a,c)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return i("throw",e,a,c)}))}c(l.arg)}var r;o(this,"_invoke",{value:function(e,n){function s(){return new t((function(t,r){i(e,n,t,r)}))}return r=r?r.then(s,s):s()}})}function V(t,i,n){var r=p;return function(s,o){if(r===v)throw new Error("Generator is already running");if(r===g){if("throw"===s)throw o;return{value:e,done:!0}}for(n.method=s,n.arg=o;;){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=v;var l=f(t,i,n);if("normal"===l.type){if(r=n.done?g:m,l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=g,n.method="throw",n.arg=l.arg)}}}function S(t,i){var n=i.method,r=t.iterator[n];if(r===e)return i.delegate=null,"throw"===n&&t.iterator.return&&(i.method="return",i.arg=e,S(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var s=f(r,t.iterator,i.arg);if("throw"===s.type)return i.method="throw",i.arg=s.arg,i.delegate=null,b;var o=s.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,b):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function P(t){if(t||""===t){var i=t[c];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function i(){for(;++r<t.length;)if(s.call(t,r))return i.value=t[r],i.done=!1,i;return i.value=e,i.done=!0,i};return o.next=o}}throw new TypeError((0,n.Z)(t)+" is not iterable")}return C.prototype=w,o(L,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:C,configurable:!0}),C.displayName=d(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===C||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,u,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},H(M.prototype),d(M.prototype,l,(function(){return this})),t.AsyncIterator=M,t.async=function(e,i,n,r,s){void 0===s&&(s=Promise);var o=new M(h(e,i,n,r),s);return t.isGeneratorFunction(i)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},H(L),d(L,u,"Generator"),d(L,c,(function(){return this})),d(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var i in this)"t"===i.charAt(0)&&s.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,r){return a.type="throw",a.arg=t,i.next=n,r&&(i.method="next",i.arg=e),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=s.call(o,"catchLoc"),l=s.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var r=n;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),E(i),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var r=n.arg;E(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:P(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}},51028:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});i(50863);i(73470),i(98239),i(35545),i(35142),i(11923),i(82837),i(81379);var n=i(48994);i(19356),i(30359);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,r,s,o,a=[],c=!0,l=!1;try{if(s=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;c=!1}else for(;!(c=(n=s.call(i)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(l)throw r}}return a}}(e,t)||(0,n.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},68618:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});i(50863);var n=i(68740);i(73470),i(98239),i(35545),i(35142),i(11923),i(82837),i(53520);var r=i(48994);i(19356),i(30359);function s(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},48994:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});i(53290),i(30359),i(47623),i(35545),i(16361),i(90203),i(53520),i(11923),i(13902),i(89048);var n=i(68740);function r(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?(0,n.Z)(e,t):void 0}}}}]);