Sorry, but nothing was found. Please try a search with different keywords.

/*! For license information please see FileManager.js.LICENSE.txt */ (self.webpackChunkwpide=self.webpackChunkwpide||[]).push([[100,111,228,250,388,404,574,776,910,940],{14291:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});i(25695),i(8736);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:'',archive:'',audio:'',cd:'',code:'',font:'',excel:'',image:'',pdf:'',powerpoint:'',text:'',video:''};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'},c.methods.getSvgIconClass=function(e,t){return''},c.methods.getSvgIconMulti=function(){for(var e=arguments,t=e.length,i="",r=0;r';return''+i+""},c.methods.getSvgIconMultiClass=function(e){for(var t=arguments,i=t.length,r="",s=1;s';return''+r+""},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''+(i?''+r[i]+"":"")+(n?''+n+"":"")+(e.is_unreadable?'':"")},c.methods.getFolderSvgIcon=function(e){return''+(e.unreadable?'':"")+""},c.methods.getTreeFolderSvgIcon=function(e){return''+(e.unreadable?'':"")+""};const l=c},57562:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});i(25695),i(994),i(90930),i(26411);var n=i(48649),r=i(89936);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{"use strict";i.d(t,{A:()=>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__;i0},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);i0},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},87579: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;t0){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.sizes.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.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.endByte1e3*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}()},9053:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>x});i(44582),i(90930),i(53311),i(78554);var n=i(5051),r=i(27275),s=i(46155),o=(i(90704),i(81593),i(556),i(88405),i(38276),i(95226),i(30594),i(8134),i(29522),i(69152),i(43012),i(28251),i(15224),i(59784),i(29296),i(47961),i(70549),i(22788),i(6535),i(48649)),a=i(788),c=i(24290),l=i(2710),u=i(30400),d=i(89364),h=i(87370),f=i(57562),p=i(76194),m=i(63684),v=i(63771),g=i(79858),b=i(85408);function y(e){return(0,b.A)(1,arguments),Math.floor(function(e){return(0,b.A)(1,arguments),(0,g.A)(e).getTime()}(e)/1e3)}var C=i(2543),w=i(99144);o.default.mixin(f.A);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.A.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.A)((0,s.A)({},t.$router.currentRoute),{},{name:e?"file-editor":"file-manager"}))}))}},mounted:function(){var e=this;return(0,r.A)((0,n.A)().mark((function t(){return(0,n.A)().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.A.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.A)((0,n.A)().mark((function i(){var r,s,o;return(0,n.A)().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.A)(e.time),o=(0,m.A)(r.time),!((0,v.A)(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.A.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.A.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.A.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.A.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.A.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.A.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.A.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.A.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]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-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(86817).A)(_,(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},81128:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});i(90930);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(86817).A)(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},44491:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});const n={name:"FilesList",components:{FilesListItem:i(96209).default},props:["items","display","insearch","manager"]};const r=(0,i(86817).A)(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},96209:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});i(90930),i(556),i(53311),i(78554);var n=i(788),r=i(14291);const s={name:"FilesListItem",components:{FilesItemActions:i(81128).default},mixins:[r.A],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(86817).A)(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},76194:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>h});var n=i(30204),r=(i(50394),i(90704),i(81593),i(88405),i(25695),i(67846),i(90930),i(28251),i(64607),i(71954),i(20876),i(62597),i(50460),i(90435),i(3080),i(60234),i(95692),i(59784),i(29296),i(47961),i(70549),i(83238),i(22788),i(5073),i(14291)),s=i(38386),o=i.n(s),a=i(17447),c=i(12017),l=i(2543),u=i(788);const d={name:"FilesPreview",components:{VueTabs:o(),Multipane:c.S,MultipaneResizer:c.M,Tree:function(){return i.e(287).then(i.bind(i,10915))},Editor:function(){return i.e(632).then(i.bind(i,55872))},Gallery:function(){return i.e(559).then(i.bind(i,73979))},MediaPlayer:function(){return i.e(582).then(i.bind(i,39261))}},mixins:[r.A],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.A((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.A)(r.items.filter((function(e){return!s.has(e.id)}))),(0,n.A)(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.A)(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.nv)((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(86817).A)(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},2710:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});const n={name:"GridView",components:{FilesList:i(44491).default},props:["items","manager"]};const r=(0,i(86817).A)(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},24290:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});i(90704),i(28251),i(59784),i(29296);const n={name:"GroupView",components:{FilesList:i(44491).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(86817).A)(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},30400:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var n=i(76261),r=i(44491);const s={name:"ListView",components:{FilesItemActions:i(81128).default,FilesList:r.default},props:["items","sortBy","insearch","manager"],mounted:function(){var e=this;this._io=new IntersectionObserver((function(t){var i=(0,n.A)(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(86817).A)(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},99144:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>r});i(44582),i(81593),i(28251),i(59784),i(47961);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(86817).A)(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},89364:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>u});i(30594),i(8134),i(88405),i(2894),i(90930),i(28251),i(53311),i(15224),i(59784),i(70549),i(22788);var n=i(87579),r=i.n(n),s=i(788),o=i(48649),a=i(87370),c=i(94079);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.A.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.nv)((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.A.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(86817).A)(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},12017:(e,t,i)=>{"use strict";i.d(t,{M:()=>o,S:()=>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))},38386: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{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{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{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;r3||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;ri.parts.length&&(n.parts.length=i.parts.length)}else{var o=[];for(r=0;r