@progress/kendo-react-spreadsheet 6.1.1 → 7.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/FormulaInput.d.ts +9 -0
  2. package/LICENSE.md +1 -1
  3. package/List.d.ts +9 -0
  4. package/NameBox.d.ts +9 -0
  5. package/SheetsBar.d.ts +8 -0
  6. package/{dist/npm/Spreadsheet.d.ts → Spreadsheet.d.ts} +4 -0
  7. package/{dist/npm/SpreadsheetProps.d.ts → SpreadsheetProps.d.ts} +5 -2
  8. package/dist/cdn/js/kendo-react-spreadsheet.js +5 -1
  9. package/index.d.ts +8 -0
  10. package/index.js +5 -0
  11. package/index.mjs +1357 -0
  12. package/{dist/npm/messages.d.ts → messages.d.ts} +4 -0
  13. package/package-metadata.d.ts +9 -0
  14. package/package.json +43 -57
  15. package/{dist/npm/tools → tools}/adjustDecimals.d.ts +4 -0
  16. package/{dist/npm/tools → tools}/align.d.ts +4 -0
  17. package/tools/backgroundColor.d.ts +14 -0
  18. package/tools/bold.d.ts +14 -0
  19. package/tools/cleanFormat.d.ts +15 -0
  20. package/tools/defaultTools.d.ts +9 -0
  21. package/tools/export.d.ts +15 -0
  22. package/tools/fontFamily.d.ts +15 -0
  23. package/{dist/es/tools → tools}/fontSize.d.ts +4 -0
  24. package/tools/format.d.ts +15 -0
  25. package/{dist/es/tools → tools}/gridLines.d.ts +4 -0
  26. package/{dist/es/tools → tools}/index.d.ts +5 -1
  27. package/tools/italic.d.ts +14 -0
  28. package/tools/open.d.ts +15 -0
  29. package/tools/redo.d.ts +14 -0
  30. package/{dist/npm/tools → tools}/tableTools.d.ts +4 -0
  31. package/tools/textColor.d.ts +14 -0
  32. package/{dist/es/tools → tools}/textWrap.d.ts +4 -0
  33. package/tools/underline.d.ts +14 -0
  34. package/tools/undo.d.ts +14 -0
  35. package/{dist/npm/tools → tools}/utils.d.ts +4 -0
  36. package/about.md +0 -3
  37. package/dist/es/FormulaInput.d.ts +0 -5
  38. package/dist/es/FormulaInput.js +0 -116
  39. package/dist/es/List.d.ts +0 -5
  40. package/dist/es/List.js +0 -22
  41. package/dist/es/NameBox.d.ts +0 -5
  42. package/dist/es/NameBox.js +0 -91
  43. package/dist/es/SheetsBar.d.ts +0 -5
  44. package/dist/es/SheetsBar.js +0 -246
  45. package/dist/es/Spreadsheet.d.ts +0 -47
  46. package/dist/es/Spreadsheet.js +0 -286
  47. package/dist/es/SpreadsheetProps.d.ts +0 -189
  48. package/dist/es/SpreadsheetProps.js +0 -2
  49. package/dist/es/main.d.ts +0 -4
  50. package/dist/es/main.js +0 -4
  51. package/dist/es/messages.d.ts +0 -110
  52. package/dist/es/messages.js +0 -310
  53. package/dist/es/package-metadata.d.ts +0 -5
  54. package/dist/es/package-metadata.js +0 -11
  55. package/dist/es/tools/adjustDecimals.d.ts +0 -20
  56. package/dist/es/tools/adjustDecimals.js +0 -39
  57. package/dist/es/tools/align.d.ts +0 -44
  58. package/dist/es/tools/align.js +0 -96
  59. package/dist/es/tools/backgroundColor.d.ts +0 -11
  60. package/dist/es/tools/backgroundColor.js +0 -15
  61. package/dist/es/tools/bold.d.ts +0 -11
  62. package/dist/es/tools/bold.js +0 -9
  63. package/dist/es/tools/cleanFormat.d.ts +0 -11
  64. package/dist/es/tools/cleanFormat.js +0 -17
  65. package/dist/es/tools/defaultTools.d.ts +0 -5
  66. package/dist/es/tools/defaultTools.js +0 -66
  67. package/dist/es/tools/export.d.ts +0 -11
  68. package/dist/es/tools/export.js +0 -19
  69. package/dist/es/tools/fontFamily.d.ts +0 -11
  70. package/dist/es/tools/fontFamily.js +0 -21
  71. package/dist/es/tools/fontSize.js +0 -82
  72. package/dist/es/tools/format.d.ts +0 -11
  73. package/dist/es/tools/format.js +0 -26
  74. package/dist/es/tools/gridLines.js +0 -25
  75. package/dist/es/tools/index.js +0 -18
  76. package/dist/es/tools/italic.d.ts +0 -11
  77. package/dist/es/tools/italic.js +0 -9
  78. package/dist/es/tools/open.d.ts +0 -11
  79. package/dist/es/tools/open.js +0 -36
  80. package/dist/es/tools/redo.d.ts +0 -11
  81. package/dist/es/tools/redo.js +0 -9
  82. package/dist/es/tools/tableTools.d.ts +0 -64
  83. package/dist/es/tools/tableTools.js +0 -102
  84. package/dist/es/tools/textColor.d.ts +0 -11
  85. package/dist/es/tools/textColor.js +0 -15
  86. package/dist/es/tools/textWrap.js +0 -26
  87. package/dist/es/tools/underline.d.ts +0 -11
  88. package/dist/es/tools/underline.js +0 -9
  89. package/dist/es/tools/undo.d.ts +0 -11
  90. package/dist/es/tools/undo.js +0 -9
  91. package/dist/es/tools/utils.d.ts +0 -91
  92. package/dist/es/tools/utils.js +0 -102
  93. package/dist/npm/FormulaInput.d.ts +0 -5
  94. package/dist/npm/FormulaInput.js +0 -119
  95. package/dist/npm/List.d.ts +0 -5
  96. package/dist/npm/List.js +0 -25
  97. package/dist/npm/NameBox.d.ts +0 -5
  98. package/dist/npm/NameBox.js +0 -94
  99. package/dist/npm/SheetsBar.d.ts +0 -5
  100. package/dist/npm/SheetsBar.js +0 -250
  101. package/dist/npm/Spreadsheet.js +0 -289
  102. package/dist/npm/SpreadsheetProps.js +0 -9
  103. package/dist/npm/main.d.ts +0 -4
  104. package/dist/npm/main.js +0 -39
  105. package/dist/npm/messages.js +0 -313
  106. package/dist/npm/package-metadata.d.ts +0 -5
  107. package/dist/npm/package-metadata.js +0 -14
  108. package/dist/npm/tools/adjustDecimals.js +0 -42
  109. package/dist/npm/tools/align.js +0 -100
  110. package/dist/npm/tools/backgroundColor.d.ts +0 -11
  111. package/dist/npm/tools/backgroundColor.js +0 -18
  112. package/dist/npm/tools/bold.d.ts +0 -11
  113. package/dist/npm/tools/bold.js +0 -12
  114. package/dist/npm/tools/cleanFormat.d.ts +0 -11
  115. package/dist/npm/tools/cleanFormat.js +0 -21
  116. package/dist/npm/tools/defaultTools.d.ts +0 -5
  117. package/dist/npm/tools/defaultTools.js +0 -69
  118. package/dist/npm/tools/export.d.ts +0 -11
  119. package/dist/npm/tools/export.js +0 -23
  120. package/dist/npm/tools/fontFamily.d.ts +0 -11
  121. package/dist/npm/tools/fontFamily.js +0 -25
  122. package/dist/npm/tools/fontSize.d.ts +0 -39
  123. package/dist/npm/tools/fontSize.js +0 -86
  124. package/dist/npm/tools/format.d.ts +0 -11
  125. package/dist/npm/tools/format.js +0 -30
  126. package/dist/npm/tools/gridLines.d.ts +0 -15
  127. package/dist/npm/tools/gridLines.js +0 -29
  128. package/dist/npm/tools/index.d.ts +0 -19
  129. package/dist/npm/tools/index.js +0 -34
  130. package/dist/npm/tools/italic.d.ts +0 -11
  131. package/dist/npm/tools/italic.js +0 -12
  132. package/dist/npm/tools/open.d.ts +0 -11
  133. package/dist/npm/tools/open.js +0 -40
  134. package/dist/npm/tools/redo.d.ts +0 -11
  135. package/dist/npm/tools/redo.js +0 -12
  136. package/dist/npm/tools/tableTools.js +0 -105
  137. package/dist/npm/tools/textColor.d.ts +0 -11
  138. package/dist/npm/tools/textColor.js +0 -18
  139. package/dist/npm/tools/textWrap.d.ts +0 -15
  140. package/dist/npm/tools/textWrap.js +0 -30
  141. package/dist/npm/tools/underline.d.ts +0 -11
  142. package/dist/npm/tools/underline.js +0 -12
  143. package/dist/npm/tools/undo.d.ts +0 -11
  144. package/dist/npm/tools/undo.js +0 -12
  145. package/dist/npm/tools/utils.js +0 -108
  146. package/dist/systemjs/kendo-react-spreadsheet.js +0 -1
  147. package/e2e-next/basic.tests.ts +0 -24
@@ -1 +1,5 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-dom"),require("react-transition-group"),require("@progress/kendo-react-intl"),require("@progress/kendo-drawing"),require("@progress/kendo-date-math")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","react-dom","react-transition-group","@progress/kendo-react-intl","@progress/kendo-drawing","@progress/kendo-date-math"],t):"object"==typeof exports?exports.KendoReactSpreadsheet=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-dom"),require("react-transition-group"),require("@progress/kendo-react-intl"),require("@progress/kendo-drawing"),require("@progress/kendo-date-math")):e.KendoReactSpreadsheet=t(e.React,e.PropTypes,e.KendoLicensing,e.ReactDOM,e.ReactTransitionGroup,e.KendoReactIntl,e.KendoDrawing,e.KendoDateMath)}(self,(function(e,t,n,r,o,i,a,s){return(()=>{"use strict";var l={6377:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FormulaInput=void 0;const r=n(3899),o=n(5362),i=n(5964),a=n(6039);t.FormulaInput=r.forwardRef(((e,t)=>{const[n,s]=r.useState(!1),[l,c]=r.useState(0),[u,h]=r.useState([]),d=r.useMemo((()=>({})),[]);d.showPopup=n,d.popupContentKey=l,d.data=u;const p=r.useRef(null),f=r.useRef(null),m=r.useRef(null),v=r.useCallback((()=>{if(m.current&&m.current.element)return m.current.element.querySelector(".k-focus")}),[]),g=r.useCallback((()=>{const e=v();e&&e.classList.remove("k-focus")}),[]),b=r.useCallback((e=>{const t=Array.from(m.current&&m.current.element.children||[]),n=v();let r;if(n){const o=t.indexOf(n);n.classList.remove("k-focus"),r=t[o+e]?t[o+e]:1===e?t[0]:t[t.length-1]}else r=1===e?t[0]:t[t.length-1];r&&r.classList.add("k-focus")}),[]);r.useImperativeHandle(p,(()=>({element:f.current,props:e,popup:{open:()=>{s(!0)},close:()=>{s(!1)},position:()=>{c(d.popupContentKey+1)},visible:()=>d.showPopup},list:{get element(){return m.current&&m.current.element},data:e=>{if(!e)return d.data;h(e)},value:()=>({}),focus:()=>Array.from(m.current&&m.current.element&&m.current.element.children||[]).indexOf(v()),focusNext:()=>{b(1)},focusPrev:()=>{b(-1)},focusFirst:()=>{const e=m.current&&m.current.element;e&&e.children.item(0)&&(g(),e.children.item(0).classList.add("k-focus"))},focusLast:()=>{const e=m.current&&m.current.element;e&&e.children.length&&(g(),e.children.item(e.children.length-1).classList.add("k-focus"))},itemClick:e=>{d.itemClick=e}}})),[]),r.useImperativeHandle(t,(()=>p.current),[]);const y=r.useCallback((e=>{d.itemClick&&d.itemClick(e)}),[]);return r.createElement(r.Fragment,null,r.createElement("div",{className:(0,a.classNames)("k-spreadsheet-formula-input",e.className),contentEditable:"true",spellCheck:"false",style:{whiteSpace:"pre"},ref:f}),r.createElement(o.Popup,{show:n,anchor:f.current,animate:{openDuration:100,closeDuration:100},contentKey:l,popupClass:"k-list-container"},r.createElement(i.List,{data:u,ref:m,onItemClick:y})))})),t.FormulaInput.displayName="FormulaInput",t.FormulaInput.propTypes={}},5964:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;const r=n(3899),o=n(6039),i=n(8696);t.List=r.forwardRef(((e,t)=>{const n=r.useRef(null),a=r.useRef(null);return r.useImperativeHandle(n,(()=>({element:a.current,props:e}))),r.useImperativeHandle(t,(()=>n.current)),r.createElement("div",{className:"k-list k-list-md"},r.createElement("div",{className:"k-list-content"},r.createElement("ul",{ref:a,className:"k-spreadsheet-formula-list k-list-ul",onMouseDown:e=>e.preventDefault(),style:{maxHeight:280}},e.data.map((t=>r.createElement("li",{key:t.text,className:"k-list-item",onClick:()=>e.onItemClick(t.value)},r.createElement(o.IconWrap,{name:"formula-fx",icon:i.formulaFxIcon}),r.createElement("span",{className:"k-list-item-text"},t.text)))))))})),t.List.displayName="List",t.List.propTypes={}},9248:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NameBox=void 0;const r=n(3899),o=n(2831),i=n(6039),a=n(8696),s=n(499),l=n(5003);t.NameBox=r.forwardRef(((e,t)=>{const n=r.useRef(null),c=r.useRef(null),[u,h]=r.useState([]),[d,p]=r.useState(!1),[f,m]=r.useState(""),v=r.useMemo((()=>({})),[]);v.data=u,r.useImperativeHandle(n,(()=>({value:e=>{if(void 0===e){const e=c.current&&c.current.value;return e&&e.name||e}m(e||"")}})),[]),r.useImperativeHandle(t,(()=>n.current),[]);const g=r.useCallback((t=>{const n=e.nameEditor();n&&n.trigger("delete",{name:t})}),[]),b=r.useCallback(((e,t)=>{const n=r.createElement(r.Fragment,null,e.props.children,r.createElement("span",{role:"button",className:"k-button-delete",onClick:()=>g(t.dataItem[t.textField]),onMouseDown:e=>e.preventDefault(),onPointerDown:e=>e.preventDefault(),"data-role":"delete"},r.createElement(i.IconWrap,{name:"x",icon:a.xIcon})));return r.cloneElement(e,e.props,n)}),[]),y=r.useCallback((e=>r.cloneElement(e,Object.assign({},e.props),r.createElement("div",null))),[]),w=r.useCallback((t=>{if(t.syntheticEvent&&"change"===t.syntheticEvent.type)return;const n=e.nameEditor();n&&(h(n.readData()),p(!0))}),[]),x=r.useCallback((()=>{p(!1)}),[]),k=r.useCallback((t=>{if(t.syntheticEvent.target.closest("[data-role]"))return;const n=e.nameEditor();if(n&&t.value){const e=t.value.name;e!==f&&(n.trigger("select",{name:e}),m(e))}}),[f]),C=r.useCallback((t=>{const n=e.nameEditor();if(n)if("Enter"===t.key){const e=t.target.value;n.trigger("enter",{value:e}),m(e)}else"Escape"===t.key&&(n.trigger("cancel"),m(v.prevValue))}),[]),z=r.useCallback((e=>{v.prevValue=e.value.name}),[]);return r.createElement("div",{className:"k-spreadsheet-name-editor",onKeyDown:C},r.createElement(o.ComboBox,{ref:c,title:(0,s.useLocalization)().toLanguageString(l.keys.nameBox,l.messages[l.keys.nameBox]),popupSettings:{className:"k-spreadsheet-names-popup"},fillMode:"flat",clearButton:!1,dataItemKey:"name",textField:"name",itemRender:b,data:u,value:f?u.find((e=>e.name===name))||{name:f}:null,onChange:k,opened:d,onOpen:w,onClose:x,onFocus:z,listNoDataRender:y,allowCustom:!0}))})),t.NameBox.displayName="NameBox",t.NameBox.propTypes={}},5666:function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.SheetsBar=void 0;const o=n(3899),i=n(2888),a=n(6039),s=n(9207),l=n(8696),c=n(499),u=n(5003),h=o.createContext({onSelect:()=>{},onDelete:()=>{},onEnterEdit:()=>{},onCancelEdit:()=>{},onExitEdit:()=>{},onEdit:()=>{}}),d=e=>{const t=e.dataItem,{onSelect:n,onDelete:r,onEnterEdit:i,onExitEdit:s,onCancelEdit:c,onEdit:u}=o.useContext(h),d=o.useCallback((e=>{e.target instanceof HTMLElement&&"INPUT"===e.target.nodeName||n.call(void 0,t,e)}),[t,n]),p=o.useCallback((e=>{r.call(void 0,t,e)}),[t,r]),f=o.useCallback((e=>{e.target instanceof HTMLElement&&"INPUT"===e.target.nodeName||i.call(void 0,t,e)}),[t,i]),m=o.useCallback((e=>{s.call(void 0,t,e)}),[t,s]),v=o.useCallback((e=>{"Enter"===e.key?s.call(void 0,t,e):"Escape"===e.key&&c.call(void 0,t,e)}),[t,s,c]),g=o.useCallback((e=>{u.call(void 0,Object.assign(Object.assign({},t),{text:e.target.value}),e)}),[t,u]);return o.createElement("li",Object.assign({style:e.style},e.attributes,{ref:e.forwardRef,role:"tab",className:(0,a.classNames)("k-item k-tabstrip-item",{"k-disabled":e.isDisabled,"k-active k-state-tab-on-top k-spreadsheet-sheets-bar-active":t.active,"k-spreadsheet-sheets-bar-inactive":!t.active,"k-first":t.first,"k-last":t.last}),onClick:d,onDoubleClick:f}),t.inEdit?o.createElement("input",{type:"text",className:"k-textbox k-spreadsheet-sheets-editor",value:t.text,onChange:g,maxLength:50,autoFocus:!0,onBlur:m,onKeyDown:v}):o.createElement(o.Fragment,null,o.createElement("span",{className:"k-link"},t.text),t.first&&t.last?null:o.createElement("span",{className:"k-link k-spreadsheet-sheets-remove",onClick:p},o.createElement(a.IconWrap,{name:"x",icon:l.xIcon}))))},p=o.forwardRef(((e,t)=>{const{children:n,className:i}=e,s=r(e,["children","className"]);return o.createElement("ul",Object.assign({className:(0,a.classNames)("k-tabstrip-items k-reset",i),role:"tablist"},s,{ref:t}),n)}));p.displayName="TabsList";const f=e=>{const{sheets:t,setSheets:n,onSheetSelect:r,onSheetDelete:i,onSheetEdit:a,onSheetReorderEnd:l}=e,[c,u]=o.useState(null),f=o.useRef(!1),m=o.useRef(-1),v=o.useCallback((e=>{n(e.map(((e,t,n)=>Object.assign(Object.assign({},e),{first:0===t,last:t===n.length-1}))))}),[]),g=o.useCallback((e=>{v(e.newState)}),[v,l]),b=o.useCallback((e=>{l.call(void 0,e)}),[l]),y=o.useCallback((e=>{f.current=!0,m.current=e.prevIndex}),[]),w=o.useCallback((e=>{setTimeout((()=>{f.current=!1}),50),l.call(void 0,Object.assign(Object.assign({},e),{prevIndex:m.current}))}),[]),x=o.useCallback(((e,t)=>{f.current||r.call(void 0,e,t)}),[r]),k=o.useCallback(((e,t)=>{t.stopPropagation(),i.call(void 0,e)}),[t,i]),C=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((t=>Object.assign(Object.assign({},t),{active:t.id===e.id,inEdit:t.id===e.id})));n(o),u(Object.assign({},e))}),[t]),z=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((e=>Object.assign(Object.assign({},e),{inEdit:!1,text:e.inEdit&&c?c.text:e.text})));n(o),u(null)}),[t,c]),_=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((e=>Object.assign(Object.assign({},e),{inEdit:!1}))),i=t.findIndex((t=>t.id===e.id));n(o),u(null),a.call(void 0,e,i)}),[t,a]),E=o.useCallback(((e,r)=>{r.stopPropagation(),r.preventDefault();const o=t.map((t=>Object.assign(Object.assign({},t),{text:e.id===t.id?e.text:t.text})));n(o)}),[t]);return o.createElement("div",{className:"k-spreadsheet-sheets-items k-tabstrip k-floatwrap k-tabstrip-bottom"},o.createElement("div",{className:"k-tabstrip-items-wrapper k-hstack"},o.createElement(h.Provider,{value:{onSelect:x,onDelete:k,onEnterEdit:C,onCancelEdit:z,onExitEdit:_,onEdit:E}},o.createElement(s.Sortable,{idField:"id",data:t,itemUI:d,itemsWrapUI:p,onDragOver:g,onNavigate:b,onDragStart:y,onDragEnd:w}))))};t.SheetsBar=e=>{const{spreadsheetRef:t}=e,[n,r]=o.useState([]),s=o.useRef((n.find((e=>e.active))||{}).text),h=o.useCallback((()=>{t.current&&(t.current.view.sheetsbar.onSheetSelect(s.current),r(((e,t)=>e.map(((e,n,r)=>({text:e.name(),id:(0,a.guid)(),first:0===n,last:n===r.length-1,active:e.name()===t}))))(t.current.sheets(),s.current)))}),[]),d=o.useCallback((()=>{if(t.current){const e=t.current.sheets();e.find((e=>e.name()===s.current))||(s.current=e[e.length-1].name()),h()}}),[]);o.useEffect((()=>(t.current&&(t.current.sheets().length&&(s.current=t.current.sheets()[0].name(),h()),t.current.view.bind("update",d)),()=>{t.current&&t.current.view.unbind("update",d)})),[t.current]);const p=o.useCallback((e=>{s.current!==e.text&&(s.current=e.text,h())}),[]),m=o.useCallback((()=>{if(t.current){t.current.view.sheetsbar.onAddSelect();const e=t.current.sheets();s.current=e[e.length-1].name(),h()}}),[]),v=o.useCallback((e=>{if(t.current){if(s.current===e.text){const n=t.current.sheets(),r=n.findIndex((t=>t.name()===e.text)),o=n[r+1]||n[r-1];s.current=o?o.name():""}t.current.view.sheetsbar.onSheetRemove(e.text),h()}}),[]),g=o.useCallback(((e,n)=>{if(t.current){let r=e.text;const o=t.current.sheets(),i=o[n];if(!r)return s.current=i.name(),void h();if(i&&i.name()===r)return;o.find((e=>e.name()===r))&&(r=i.name()),t.current.view.sheetsbar.onSheetRename(r,n),s.current=r,h()}}),[]),b=o.useCallback((e=>{if(t.current){const{prevIndex:n,nextIndex:r}=e;s.current=t.current.sheets()[n].name(),t.current.view.sheetsbar.onSheetReorderEnd({oldIndex:n,newIndex:r}),h()}}),[]);return o.createElement("div",{className:"k-spreadsheet-sheets-bar k-header"},o.createElement(i.Button,{fillMode:"flat",icon:"plus",className:"k-spreadsheet-sheets-bar-add",title:(0,c.useLocalization)().toLanguageString(u.keys.addNewSheet,u.messages[u.keys.addNewSheet]),svgIcon:l.plusIcon,onClick:m}),o.createElement(f,{sheets:n,setSheets:r,onSheetSelect:p,onSheetDelete:v,onSheetEdit:g,onSheetReorderEnd:b}))}},4737:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Spreadsheet=void 0;const r=n(3899),o=n(189),i=n(2888),a=n(3009),s=n(1959),l=n(6377),c=n(9248),u=n(5666),h=n(3998),d=n(3960),p=n(6039),f=n(7363),m=n(8696),v=n(499),g=n(2202),b=n(6904),y=n(5003),w=["bold","italic","underline","fontFamily","fontSize","color","background","textAlign","verticalAlign","wrap","gridLines"],x={Bold:e=>e.bold,Italic:e=>e.italic,Underline:e=>e.underline,FontFamily:e=>e.fontFamily,FontSize:e=>e.fontSize,IncreaseFontSize:e=>e.fontSize,DecreaseFontSize:e=>e.fontSize,TextColor:e=>e.color,BackgroundColor:e=>e.background,Alignment:e=>({textAlign:e.textAlign,verticalAlign:e.verticalAlign}),AlignHorizontally:e=>e.textAlign,AlignVertically:e=>e.verticalAlign,TextWrap:e=>e.wrap,GridLines:e=>e.gridLines,AddColumnLeft:e=>e.selectedHeaders,AddColumnRight:e=>e.selectedHeaders,AddRowBelow:e=>e.selectedHeaders,AddRowAbove:e=>e.selectedHeaders,DeleteColumn:e=>e.selectedHeaders,DeleteRow:e=>e.selectedHeaders},k=":not(.k-dropdownlist button):not(.k-combobox button):not(.k-upload-button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",C=["button"+k,".k-button-group > button"+k,".k-dropdownlist",".k-combobox",".k-colorpicker"];t.Spreadsheet=r.forwardRef(((e,t)=>{(0,p.validatePackage)(f.packageMetadata);const n=(0,p.shouldShowValidationUI)(f.packageMetadata),{toolbar:o=d.defaultTabs}=e,k=[];"boolean"==typeof o?k.push(...o?d.defaultTabs:[]):k.push(...o);const[z,_]=r.useState(null),[E,I]=r.useState(k.findIndex((e=>e.selected))||0),[S,M]=r.useState(!1),O=r.useRef(null),R=r.useRef(null),H=r.useRef(null),F=r.useRef(null),D=r.useRef(null),[A,V]=r.useState({}),B=r.useRef({});B.current=A;const N=r.useRef({});N.current=e;const L=(0,v.useLocalization)(),P=r.useCallback((e=>{N.current.onSelect&&N.current.onSelect.call(void 0,e)}),[]),T=r.useCallback((e=>{N.current.onChange&&N.current.onChange.call(void 0,e)}),[]),j=r.useCallback((e=>{N.current.onChangeFormat&&N.current.onChangeFormat.call(void 0,e)}),[]),U=r.useCallback((e=>{N.current.onExcelImport&&N.current.onExcelImport.call(void 0,e)}),[]),W=r.useCallback((e=>{N.current.onExcelExport&&N.current.onExcelExport.call(void 0,e)}),[]),K=r.useRef(null);r.useImperativeHandle(K,(()=>({element:O.current,get instance(){return D.current},props:e,get view(){return D.current.view},get workbook(){return D.current.workbook},executeCommand(e){var t;null===(t=D.current)||void 0===t||t.executeCommand(e)},fromJSON(e){var t;return null===(t=D.current)||void 0===t?void 0:t.fromJSON(e)},toJSON:()=>D.current.toJSON(),saveJSON:()=>D.current.saveJSON(),fromFile:e=>D.current.fromFile(e),saveAsExcel(e){var t;null===(t=D.current)||void 0===t||t.saveAsExcel(Object.assign(Object.assign(Object.assign({},D.current.options.excel),{saveAs:g.saveAs,Workbook:b.Workbook}),e))},activeSheet(e){var t;return null===(t=D.current)||void 0===t?void 0:t.activeSheet(e)},sheets:()=>D.current.sheets(),refresh(){var e;return null===(e=D.current)||void 0===e?void 0:e.refresh()}})),[e]),r.useImperativeHandle(t,(()=>K.current));const q=r.useCallback((()=>D.current&&D.current.view.nameEditor),[]),G=r.useCallback((e=>{const t={};w.forEach((n=>{"function"==typeof e.range[n]?t[n]=e.range[n]():"gridLines"===n&&(t[n]=e.range.sheet().showGridLines())})),t.selectedHeaders=e.range.sheet().selectedHeaders(),(w.some((e=>t[e]!==B.current[e]))||t.selectedHeaders.allCols!==B.current.selectedHeaders.allCols||t.selectedHeaders.allRows!==B.current.selectedHeaders.allRows)&&V(t)}),[]),$=r.useCallback((e=>{const t=e.name,n=y.keys[t];_({title:"Error"===e.title?L.toLanguageString(y.keys.error,y.messages[y.keys.error]||e.title):e.title,message:n?L.toLanguageString(n,y.messages[n]||e.text):e.text,close:e.close})}),[]),Y=r.useCallback((()=>{_(null),null==z||z.close()}),[z]),Z=(0,v.useInternationalization)(),X=(0,v.useLocalization)();r.useEffect((()=>{var t;const n=Object.assign(Object.assign({},e.defaultProps),{sheets:structuredClone(null===(t=e.defaultProps)||void 0===t?void 0:t.sheets),messages:{workbook:{defaultSheetName:X.toLanguageString(y.keys.defaultSheetName,y.messages[y.keys.defaultSheetName])}},intl:{localeInfo:()=>Z.localeInfo(),parseDate:(e,t)=>Z.parseDate(e,t),toString:(e,t)=>Z.toString(e,t),format:(e,...t)=>Z.format(e,...t)},formulaBarInputRef:R,formulaCellInputRef:H,nameBoxRef:F}),r=new h.SpreadsheetWidget(O.current,n);D.current=r,r.bind("select",P),r.bind("change",T),r.bind("changeFormat",j),r.bind("excelImport",U),r.bind("excelExport",W),r.view.bind("update",G),r.view.bind("message",$);const o=r.activeSheet();return o&&G({range:o.range(o.activeCell())}),M(!0),()=>{r.destroy()}}),[]);const J=r.useCallback(((e,t)=>{const n=r.createElement(e,{spreadsheetRef:D,value:x[e.displayName]?x[e.displayName](A):void 0,key:t});return n.type===i.ToolbarSeparator?r.createElement(e,{key:t}):n}),[A]);let Q=null;return k.length&&(Q=r.createElement(a.TabStrip,{selected:E,animation:!1,className:"k-floatwrap k-spreadsheet-tabstrip",style:{minHeight:"auto"},onSelect:e=>I(e.selected)},k.map((e=>{const t=e.textKey?X.toLanguageString(e.textKey,y.messages[e.textKey]):e.text;return r.createElement(a.TabStripTab,{key:e.textKey||e.text,title:t},r.createElement(i.Toolbar,{buttons:C,className:"k-spreadsheet-toolbar"},e.tools.map(((e,t)=>Array.isArray(e)?r.createElement(i.ButtonGroup,{key:t},e.map(((e,t)=>J(e,t)))):J(e,t)))))})))),r.createElement("div",{ref:O,style:e.style,className:(0,p.classNames)("k-widget k-spreadsheet",e.className),role:"application"},Q,r.createElement("div",{className:"k-spreadsheet-action-bar"},r.createElement(c.NameBox,{ref:F,nameEditor:q}),r.createElement("div",{className:"k-spreadsheet-formula-bar"},r.createElement(p.IconWrap,{name:"formula-fx",icon:m.formulaFxIcon}),r.createElement(l.FormulaInput,{ref:R}))),r.createElement("div",{className:"k-spreadsheet-view"},r.createElement("div",{className:"k-spreadsheet-fixed-container"}),r.createElement("div",{className:"k-spreadsheet-scroller"},r.createElement("div",{className:"k-spreadsheet-view-size"})),r.createElement("div",{tabIndex:0,className:"k-spreadsheet-clipboard",contentEditable:"true"}),r.createElement(l.FormulaInput,{ref:H,className:"k-spreadsheet-cell-editor"})),r.createElement(u.SheetsBar,{spreadsheetRef:D}),z&&r.createElement(s.Dialog,{title:z.title,onClose:Y},r.createElement("div",null,z.message),r.createElement(s.DialogActionsBar,{layout:"start"},r.createElement(i.Button,{themeColor:"primary",onClick:Y,autoFocus:!0},L.toLanguageString(y.keys.ok,y.messages[y.keys.ok])))),n&&r.createElement(p.WatermarkOverlay,null))})),t.Spreadsheet.displayName="KendoReactSpreadsheet",t.Spreadsheet.propTypes={className:o.string,defaultProps:o.any,toolbar:o.oneOfType([o.bool,o.arrayOf(o.any)]),style:o.object,onSelect:o.func,onChange:o.func,onChangeFormat:o.func,onExcelImport:o.func,onExcelExport:o.func}},3998:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Sheet=t.Workbook=t.View=t.Range=t.SpreadsheetWidget=void 0;const r=n(727);Object.defineProperty(t,"SpreadsheetWidget",{enumerable:!0,get:function(){return r.SpreadsheetWidget}}),Object.defineProperty(t,"Range",{enumerable:!0,get:function(){return r.Range}}),Object.defineProperty(t,"View",{enumerable:!0,get:function(){return r.View}}),Object.defineProperty(t,"Sheet",{enumerable:!0,get:function(){return r.Sheet}}),Object.defineProperty(t,"Workbook",{enumerable:!0,get:function(){return r.Workbook}})},468:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.NULLREF=t.UnionRef=t.RangeRef=t.NameRef=t.CellRef=t.Ref=t.defineAlias=t.defineFunction=t.dateToSerial=t.serialToDate=t.unpackTime=t.packTime=t.unpackDate=t.packDate=t.CalcError=t.Matrix=t.Context=t.Spreadsheet=void 0;var i=n(4737);Object.defineProperty(t,"Spreadsheet",{enumerable:!0,get:function(){return i.Spreadsheet}}),o(n(3998),t),o(n(5652),t);var a=n(727);Object.defineProperty(t,"Context",{enumerable:!0,get:function(){return a.Context}}),Object.defineProperty(t,"Matrix",{enumerable:!0,get:function(){return a.Matrix}}),Object.defineProperty(t,"CalcError",{enumerable:!0,get:function(){return a.CalcError}}),Object.defineProperty(t,"packDate",{enumerable:!0,get:function(){return a.packDate}}),Object.defineProperty(t,"unpackDate",{enumerable:!0,get:function(){return a.unpackDate}}),Object.defineProperty(t,"packTime",{enumerable:!0,get:function(){return a.packTime}}),Object.defineProperty(t,"unpackTime",{enumerable:!0,get:function(){return a.unpackTime}}),Object.defineProperty(t,"serialToDate",{enumerable:!0,get:function(){return a.serialToDate}}),Object.defineProperty(t,"dateToSerial",{enumerable:!0,get:function(){return a.dateToSerial}}),Object.defineProperty(t,"defineFunction",{enumerable:!0,get:function(){return a.defineFunction}}),Object.defineProperty(t,"defineAlias",{enumerable:!0,get:function(){return a.defineAlias}}),Object.defineProperty(t,"Ref",{enumerable:!0,get:function(){return a.Ref}}),Object.defineProperty(t,"CellRef",{enumerable:!0,get:function(){return a.CellRef}}),Object.defineProperty(t,"NameRef",{enumerable:!0,get:function(){return a.NameRef}}),Object.defineProperty(t,"RangeRef",{enumerable:!0,get:function(){return a.RangeRef}}),Object.defineProperty(t,"UnionRef",{enumerable:!0,get:function(){return a.UnionRef}}),Object.defineProperty(t,"NULLREF",{enumerable:!0,get:function(){return a.NULLREF}})},5003:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.keys=t.messages=void 0;const n="spreadsheet.bold",r="spreadsheet.italic",o="spreadsheet.underline",i="spreadsheet.openFile",a="spreadsheet.textColor",s="spreadsheet.background",l="spreadsheet.addRowAbove",c="spreadsheet.addRowBelow",u="spreadsheet.addColumnLeft",h="spreadsheet.addColumnRight",d="spreadsheet.deleteRow",p="spreadsheet.deleteColumn",f="spreadsheet.undo",m="spreadsheet.redo",v="spreadsheet.fontSize",g="spreadsheet.fontSizeIncrease",b="spreadsheet.fontSizeDecrease",y="spreadsheet.fontName",w="spreadsheet.cleanFormatting",x="spreadsheet.format",k="spreadsheet.alignHorizontally",C="spreadsheet.alignVertically",z="spreadsheet.align",_="spreadsheet.alignLeft",E="spreadsheet.alignRight",I="spreadsheet.alignCenter",S="spreadsheet.center",M="spreadsheet.alignJustify",O="spreadsheet.justify",R="spreadsheet.alignTop",H="spreadsheet.alignMiddle",F="spreadsheet.alignBottom",D="spreadsheet.increaseDecimal",A="spreadsheet.decreaseDecimal",V="spreadsheet.textWrap",B="spreadsheet.gridLines",N="spreadsheet.exportToExcel",L="spreadsheet.nameBox",P="spreadsheet.defaultSheetName",T="spreadsheet.home",j="spreadsheet.file",U="spreadsheet.insert",W="spreadsheet.formatTab",K="spreadsheet.addNewSheet",q="spreadsheet.error",G="spreadsheet.ok",$="spreadsheet.modifyMerged",Y="spreadsheet.cannotModifyDisabled",Z="spreadsheet.openUnsupported",X="spreadsheet.duplicateSheetName";t.messages={[n]:"Bold",[r]:"Italic",[o]:"Underline",[f]:"Undo",[m]:"Redo",[v]:"Font size",[g]:"Increase Font size",[b]:"Decrease Font size",[y]:"Font",[w]:"Clean formatting",[x]:"Custom format...",[k]:"Align horizontally",[C]:"Align vertically",[z]:"Align",[_]:"Align left",[E]:"Align right",[I]:"Align center",[M]:"Align justify",[S]:"Center",[O]:"Justify",[R]:"Align top",[H]:"Align middle",[F]:"Align bottom",[D]:"Increase decimal",[A]:"Decrease decimal",[a]:"Text Color",[s]:"Background color",[l]:"Add row above",[c]:"Add row below",[u]:"Add column left",[h]:"Add column right",[d]:"Delete row",[p]:"Delete column",[i]:"Open...",[N]:"Export to Excel",[V]:"Text Wrap",[B]:"Toggle gridlines",[L]:"Name Box",[P]:"Sheet",[T]:"Home",[j]:"File",[U]:"Insert",[K]:"Add new sheet",[W]:"Format",[$]:"Cannot change part of a merged cell.",[Y]:"Cannot modify disabled cells.",[Z]:"Unsupported format. Please select an .xlsx file.",[X]:"There is an existing sheet with this name. Please enter another name.",[q]:"Error",[G]:"OK"},t.keys={bold:n,italic:r,underline:o,undo:f,redo:m,fontSize:v,fontSizeIncrease:g,fontSizeDecrease:b,fontName:y,cleanFormatting:w,format:x,alignHorizontally:k,alignVertically:C,align:z,alignLeft:_,alignRight:E,alignCenter:I,center:S,alignJustify:M,justify:O,alignTop:R,alignMiddle:H,alignBottom:F,increaseDecimal:D,decreaseDecimal:A,textColor:a,background:s,addRowAbove:l,addRowBelow:c,addColumnLeft:u,addColumnRight:h,deleteRow:d,deleteColumn:p,open:i,exportToExcel:N,textWrap:V,gridLines:B,nameBox:L,defaultSheetName:P,file:j,home:T,insert:U,addNewSheet:K,error:q,ok:G,modifyMerged:$,cannotModifyDisabled:Y,openUnsupported:Z,duplicateSheetName:X,formatTab:W}},7363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-spreadsheet",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700065698,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},653:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DecreaseDecimal=t.IncreaseDecimal=void 0;const r=n(3899),o=n(2888),i=n(499),a=n(5003),s=n(8696),l=e=>t=>{const{icon:n,svgIcon:s,titleKey:l,value:c}=e,{spreadsheetRef:u}=t,h=r.useCallback((()=>{if(u.current){const e={command:"AdjustDecimalsCommand",options:{value:c}};u.current.executeCommand(e)}}),[]);return r.createElement(o.Button,{type:"button",icon:n,svgIcon:s,fillMode:"flat",onClick:h,title:(0,i.useLocalization)().toLanguageString(l,a.messages[l])})};t.IncreaseDecimal=l({icon:s.decimalIncreaseIcon.name,svgIcon:s.decimalIncreaseIcon,value:1,titleKey:a.keys.increaseDecimal}),t.DecreaseDecimal=l({icon:s.decimalDecreaseIcon.name,svgIcon:s.decimalDecreaseIcon,value:-1,titleKey:a.keys.decreaseDecimal})},7628:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlignVertically=t.AlignHorizontally=t.Alignment=void 0;const r=n(3899),o=n(2888),i=n(6039),a=n(8696),s=n(499),l=n(5003),c=[{icon:"align-left",svgIcon:a.alignLeftIcon,textKey:l.keys.alignLeft,commandName:"textAlign",value:"left",selected:!1},{icon:"align-center",svgIcon:a.alignCenterIcon,textKey:l.keys.alignCenter,commandName:"textAlign",value:"center",selected:!1},{icon:"align-right",svgIcon:a.alignRightIcon,textKey:l.keys.alignRight,commandName:"textAlign",value:"right",selected:!1},{icon:"align-justify",svgIcon:a.alignJustifyIcon,textKey:l.keys.alignJustify,commandName:"textAlign",value:"justify",selected:!1},{icon:"align-top",svgIcon:a.alignTopIcon,textKey:l.keys.alignTop,commandName:"verticalAlign",value:"top",selected:!1},{icon:"align-middle",svgIcon:a.alignMiddleIcon,textKey:l.keys.alignMiddle,commandName:"verticalAlign",value:"center",selected:!1},{icon:"align-bottom",svgIcon:a.alignBottomIcon,textKey:l.keys.alignBottom,commandName:"verticalAlign",value:"bottom",selected:!1}],u=[c[0],Object.assign(Object.assign({},c[1]),{textKey:l.keys.center}),c[2],Object.assign(Object.assign({},c[3]),{textKey:l.keys.justify})],h=c.filter((e=>"verticalAlign"===e.commandName));t.Alignment=e=>{const{value:t,spreadsheetRef:n}=e,{textAlign:u,verticalAlign:h}=t||{},d=(0,s.useLocalization)(),p=r.useCallback((e=>{if(n.current){const t=e.item,r={command:"PropertyChangeCommand",options:{property:t.commandName,value:t.value||null}};n.current.executeCommand(r)}}),[]);let f=c.slice();return f=f.map((e=>Object.assign(Object.assign({},e),{text:d.toLanguageString(e.textKey,l.messages[e.textKey])}))),u&&(f=f.map((e=>"textAlign"===e.commandName?Object.assign(Object.assign({},e),{selected:e.value===u}):e))),h&&(f=f.map((e=>"verticalAlign"===e.commandName?Object.assign(Object.assign({},e),{selected:e.value===h}):e))),r.createElement(o.DropDownButton,{icon:"align-left",svgIcon:a.alignLeftIcon,items:f,fillMode:"flat",onItemClick:p,title:d.toLanguageString(l.keys.align,l.messages[l.keys.align]),text:r.createElement(i.IconWrap,{name:"caret-alt-down",icon:a.caretAltDownIcon})})},t.Alignment.displayName="Alignment";const d={items:u,icon:{icon:"align-left",svgIcon:a.alignLeftIcon},displayName:"AlignHorizontally",titleKey:l.keys.alignHorizontally},p={items:h,icon:{icon:"align-bottom",svgIcon:a.alignBottomIcon},displayName:"AlignVertically",titleKey:l.keys.alignVertically},f=e=>{const t=t=>{const{value:n,spreadsheetRef:c}=t,u=(0,s.useLocalization)(),h=r.useCallback((e=>{if(c.current){const t=e.item,n={command:"PropertyChangeCommand",options:{property:t.commandName,value:t.value||null}};c.current.executeCommand(n)}}),[]);let d=e.items.slice();d=d.map((e=>Object.assign(Object.assign({},e),{text:u.toLanguageString(e.textKey,l.messages[e.textKey])}))),d=d.map((e=>Object.assign(Object.assign({},e),{selected:e.value===n})));const p=Object.assign({},e.icon),f=d.find((e=>e.selected));return f&&(p.icon=f.icon,p.svgIcon=f.svgIcon),r.createElement(o.DropDownButton,Object.assign({},p,{items:d,fillMode:"flat",onItemClick:h,title:u.toLanguageString(e.titleKey,l.messages[e.titleKey]),text:r.createElement(i.IconWrap,{name:"caret-alt-down",icon:a.caretAltDownIcon})}))};return t.displayName=e.displayName,t};t.AlignHorizontally=f(d),t.AlignVertically=f(p)},3560:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundColor=void 0;const r=n(5003),o=n(2226),i=n(8696);t.BackgroundColor=(0,o.ColorTool)({icon:"droplet",svgIcon:i.dropletIcon,view:"palette",property:"background",titleKey:r.keys.background,ariaLabel:"Background"}),t.BackgroundColor.displayName="BackgroundColor"},9466:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Bold=void 0;const r=n(8696),o=n(2226),i=n(5003),a={property:"bold",icon:"bold",svgIcon:r.boldIcon,titleKey:i.keys.bold};t.Bold=(0,o.PropertyChangeTool)(a),t.Bold.displayName="Bold"},3890:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CleanFormatting=void 0;const r=n(3899),o=n(8696),i=n(2888),a=n(499),s=n(5003);t.CleanFormatting=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((()=>{t.current&&t.current.executeCommand({command:"PropertyCleanCommand"})}),[]);return r.createElement(i.Button,{type:"button",icon:"clean-css",svgIcon:o.clearCssIcon,fillMode:"flat",onClick:n,title:(0,a.useLocalization)().toLanguageString(s.keys.cleanFormatting,s.messages[s.keys.cleanFormatting])})}},3960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTabs=void 0;const r=n(2888),o=n(8062),i=n(1258),a=n(9466),s=n(8858),l=n(4300),c=n(2233),u=n(102),h=n(3515),d=n(3560),p=n(7628),f=n(1315),m=n(4082),v=n(4218),g=n(6561),b=n(5003),y=n(1495),w=n(1676),x=n(653);t.defaultTabs=[{textKey:b.keys.file,tools:[i.Open,o.ExcelExport]},{textKey:b.keys.home,selected:!0,tools:[[y.Undo,w.Redo],r.ToolbarSeparator,c.FontFamily,u.FontSize,u.IncreaseFontSize,u.DecreaseFontSize,r.ToolbarSeparator,[a.Bold,s.Italic,l.Underline],h.TextColor,r.ToolbarSeparator,d.BackgroundColor,r.ToolbarSeparator,p.AlignHorizontally,p.AlignVertically,f.TextWrap,r.ToolbarSeparator,m.GridLines]},{textKey:b.keys.insert,tools:[[g.AddColumnLeft,g.AddColumnRight,g.AddRowBelow,g.AddRowAbove],r.ToolbarSeparator,[g.DeleteColumn,g.DeleteRow]]},{textKey:b.keys.formatTab,tools:[v.Format,[x.DecreaseDecimal,x.IncreaseDecimal]]}]},8062:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExcelExport=void 0;const r=n(3899),o=n(2888),i=n(2202),a=n(6904),s=n(8696);t.ExcelExport=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((()=>{t.current&&t.current.saveAsExcel(Object.assign(Object.assign({},t.current.options.excel),{saveAs:i.saveAs,Workbook:a.Workbook}))}),[]);return r.createElement(o.Button,{className:"k-toolbar-button",title:"Export...",icon:"download",fillMode:"flat",svgIcon:s.downloadIcon,onClick:n})},t.ExcelExport.displayName="ExcelExport"},2233:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontFamily=void 0;const r=n(3899),o=n(2831),i=n(2226),a=n(499),s=n(5003);t.FontFamily=e=>{const{spreadsheetRef:t,value:n}=e,l=r.useCallback((e=>{if(t.current){const n={command:"PropertyChangeCommand",options:{property:"fontFamily",value:e.value||null}};t.current.executeCommand(n)}}),[]);return r.createElement(o.DropDownList,{onChange:l,value:n,data:i.FONT_FAMILIES,defaultValue:i.DEFAULT_FONT_FAMILY,fillMode:"flat",title:(0,a.useLocalization)().toLanguageString(s.keys.fontName,s.messages[s.keys.fontName]),leftRightKeysNavigation:!1})},t.FontFamily.displayName="FontFamily"},102:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DecreaseFontSize=t.IncreaseFontSize=t.FontSize=void 0;const r=n(3899),o=n(2831),i=n(2226),a=n(5003),s=n(499),l=n(2888),c=n(8696),u=e=>"string"==typeof e?parseFloat(e):e;t.FontSize=e=>{const{spreadsheetRef:t}=e,n=u(e.value),l=r.useCallback((e=>{var r;let o=e.value?u(e.value):n;o=isNaN(o)?n:o,o=Math.min(409,Math.max(1,o));const i={command:"PropertyChangeCommand",options:{property:"fontSize",value:o}};"keydown"===e.nativeEvent.type||"focusout"===e.nativeEvent.type?null===(r=t.current)||void 0===r||r.executeCommand(i):setTimeout((()=>{var e;null===(e=t.current)||void 0===e||e.executeCommand(i)}),0)}),[n]);return r.createElement(o.ComboBox,{onChange:l,value:n,data:i.FONT_SIZES,defaultValue:i.DEFAULT_FONT_SIZE,allowCustom:!0,fillMode:"flat",title:(0,s.useLocalization)().toLanguageString(a.keys.fontSize,a.messages[a.keys.fontSize]),tabIndex:-1,clearButton:!1})},t.FontSize.displayName="FontSize";const h=e=>{const t=t=>{const{property:n,icon:o,svgIcon:i,titleKey:c,step:h}=e,{spreadsheetRef:d}=t,p=u(t.value),f=r.useCallback((()=>{var e;const t={command:"PropertyChangeCommand",options:{property:n,value:Math.min(409,Math.max(1,p+h))}};null===(e=d.current)||void 0===e||e.executeCommand(t)}),[p]);return r.createElement(l.Button,{type:"button",icon:o,svgIcon:i,fillMode:"flat",onClick:f,disabled:p+h<1||p+h>409,title:(0,s.useLocalization)().toLanguageString(c,a.messages[c])})};return t.displayName=e.displayName,t};t.IncreaseFontSize=h({property:"fontSize",icon:"font-grow",svgIcon:c.fontGrowIcon,titleKey:a.keys.fontSizeIncrease,displayName:"IncreaseFontSize",step:1}),t.DecreaseFontSize=h({property:"fontSize",icon:"font-shrink",svgIcon:c.fontShrinkIcon,titleKey:a.keys.fontSizeDecrease,displayName:"DecreaseFontSize",step:-1})},4218:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Format=void 0;const r=n(3899),o=n(2888),i=n(8696),a=n(2226),s=n(6039),l=n(499),c=n(5003);t.Format=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((e=>{const n=e.item.value||null;setTimeout((()=>{if(t.current){const e={command:"PropertyChangeCommand",options:{property:"format",value:n}};t.current.executeCommand(e)}}),0)}),[]);return r.createElement(o.DropDownButton,{icon:"custom-format",svgIcon:i.customFormatIcon,fillMode:"flat",onItemClick:n,items:a.FORMATS,title:(0,l.useLocalization)().toLanguageString(c.keys.format,c.messages[c.keys.format]),text:r.createElement(s.IconWrap,{name:"caret-alt-down"})})},t.Format.displayName="Format"},4082:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GridLines=void 0;const r=n(3899),o=n(2888),i=n(8696),a=n(499),s=n(5003);t.GridLines=e=>{const{value:t,spreadsheetRef:n}=e,l=r.useCallback((()=>{if(n.current){const e=n.current.activeSheet();if(e){const t={command:"GridLinesChangeCommand",options:{property:"gridLines",value:!e.showGridLines()}};n.current.executeCommand(t)}}}),[]);return r.createElement(o.Button,{type:"button",togglable:!0,icon:"borders-none",svgIcon:i.bordersNoneIcon,fillMode:"flat",title:(0,a.useLocalization)().toLanguageString(s.keys.gridLines,s.messages[s.keys.gridLines]),onClick:l,selected:t})},t.GridLines.displayName="GridLines"},5652:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7628),t),o(n(3560),t),o(n(9466),t),o(n(3960),t),o(n(8062),t),o(n(2233),t),o(n(102),t),o(n(3890),t),o(n(4218),t),o(n(4082),t),o(n(8858),t),o(n(1258),t),o(n(1676),t),o(n(6561),t),o(n(3515),t),o(n(1315),t),o(n(4300),t),o(n(1495),t)},8858:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Italic=void 0;const r=n(8696),o=n(2226),i=n(5003),a={property:"italic",icon:"italic",svgIcon:r.italicIcon,titleKey:i.keys.italic};t.Italic=(0,o.PropertyChangeTool)(a),t.Italic.displayName="Italic"},1258:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Open=void 0;const r=n(3899),o=n(2888),i=n(3746),a=n(8696),s=n(499),l=n(5003);t.Open=e=>{const{spreadsheetRef:t}=e,n=r.useCallback((e=>{const t=e.target;if(t instanceof Element&&t.parentNode){const e=t.closest(".k-toolbar"),n=e&&e.querySelector(".k-upload input");n&&n.click()}}),[]),c=r.useCallback((e=>{const n=e.newState;if(n[0]&&n[0].getRawFile){const e=n[0].getRawFile();t.current&&t.current.executeCommand({command:"OpenCommand",options:{file:e}})}}),[]);return r.createElement(r.Fragment,null,r.createElement(o.Button,{className:"k-toolbar-button",title:(0,s.useLocalization)().toLanguageString(l.keys.open,l.messages[l.keys.open]),icon:"folder-open",svgIcon:a.folderOpenIcon,fillMode:"flat",onClick:n}),r.createElement("div",{style:{display:"none"}},r.createElement(i.Upload,{restrictions:{allowedExtensions:[".xlsx"]},onAdd:c,autoUpload:!1,defaultFiles:[],multiple:!1,accept:".xlsx,.XLSX",withCredentials:!1})))},t.Open.displayName="Open"},1676:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Redo=void 0;const r=n(8696),o=n(2226),i=n(5003),a={action:"redo",icon:"reload",svgIcon:r.arrowRotateCwIcon,titleKey:i.keys.redo};t.Redo=(0,o.UndoRedo)(a),t.Redo.displayName="Redo"},6561:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteRow=t.DeleteColumn=t.AddRowAbove=t.AddRowBelow=t.AddColumnRight=t.AddColumnLeft=void 0;const r=n(3899),o=n(2888),i=n(8696),a=n(5003),s=n(499),l=e=>t=>{const{spreadsheetRef:n,value:i}=t,l=r.useCallback((()=>{if(n.current){const t={command:e.command,options:{value:e.value}};n.current.executeCommand(t)}}),[]);return r.createElement(o.Button,{type:"button",icon:e.icon,svgIcon:e.svgIcon,fillMode:"flat",title:(0,s.useLocalization)().toLanguageString(e.titleKey,a.messages[e.titleKey]),onClick:l,disabled:i&&e.disabled(i)})},c={command:"AddColumnCommand",value:"left",icon:"table-column-insert-left",svgIcon:i.tableColumnInsertLeftIcon,titleKey:a.keys.addColumnLeft,disabled:e=>e.allCols,displayName:"AddColumnLeft"},u={command:"AddColumnCommand",value:"right",icon:"table-column-insert-right",svgIcon:i.tableColumnInsertRightIcon,titleKey:a.keys.addColumnRight,disabled:e=>e.allCols,displayName:"AddColumnRight"},h={command:"AddRowCommand",value:"below",icon:"table-row-insert-below",svgIcon:i.tableRowInsertBelowIcon,titleKey:a.keys.addRowBelow,disabled:e=>e.allRows,displayName:"AddRowBelow"},d={command:"AddRowCommand",value:"above",icon:"table-row-insert-above",svgIcon:i.tableRowInsertAboveIcon,titleKey:a.keys.addRowAbove,disabled:e=>e.allRows,displayName:"AddRowAbove"},p={command:"DeleteColumnCommand",icon:"table-column-delete",svgIcon:i.tableColumnDeleteIcon,titleKey:a.keys.deleteColumn,disabled:e=>e.allCols,displayName:"DeleteColumn"},f={command:"DeleteRowCommand",icon:"table-row-delete",svgIcon:i.tableRowDeleteIcon,titleKey:a.keys.deleteRow,disabled:e=>e.allRows,displayName:"DeleteRow"};t.AddColumnLeft=l(c),t.AddColumnRight=l(u),t.AddRowBelow=l(h),t.AddRowAbove=l(d),t.DeleteColumn=l(p),t.DeleteRow=l(f),t.AddColumnLeft.displayName="AddColumnLeft",t.AddColumnRight.displayName="AddColumnRight",t.AddRowBelow.displayName="AddRowBelow",t.AddRowAbove.displayName="AddRowAbove",t.DeleteColumn.displayName="DeleteColumn",t.DeleteRow.displayName="DeleteRow"},3515:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextColor=void 0;const r=n(5003),o=n(2226),i=n(8696);t.TextColor=(0,o.ColorTool)({icon:"foreground-color",svgIcon:i.foregroundColorIcon,view:"palette",property:"color",titleKey:r.keys.textColor,ariaLabel:"Text Color"}),t.TextColor.displayName="TextColor"},1315:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextWrap=void 0;const r=n(3899),o=n(2888),i=n(8696),a=n(499),s=n(5003);t.TextWrap=e=>{const{value:t,spreadsheetRef:n}=e,l=r.useCallback((()=>{if(n.current){const e=n.current.activeSheet();if(e){const t={command:"TextWrapCommand",options:{property:"wrap",value:!e.range(e.activeCell()).wrap()}};n.current.executeCommand(t)}}}),[]);return r.createElement(o.Button,{type:"button",togglable:!0,icon:"text-wrap",svgIcon:i.textWrapIcon,fillMode:"flat",title:(0,a.useLocalization)().toLanguageString(s.keys.textWrap,s.messages[s.keys.textWrap]),onClick:l,selected:t})},t.TextWrap.displayName="TextWrap"},4300:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Underline=void 0;const r=n(8696),o=n(2226),i=n(5003),a={property:"underline",icon:"underline",svgIcon:r.underlineIcon,titleKey:i.keys.underline};t.Underline=(0,o.PropertyChangeTool)(a),t.Underline.displayName="Underline"},1495:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Undo=void 0;const r=n(8696),o=n(2226),i=n(5003),a={action:"undo",icon:"reset",svgIcon:r.arrowRotateCcwIcon,titleKey:i.keys.undo};t.Undo=(0,o.UndoRedo)(a),t.Undo.displayName="Undo"},2226:function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.UndoRedo=t.ColorTool=t.PropertyChangeTool=t.FORMATS=t.DEFAULT_FONT_SIZE=t.FONT_SIZES=t.DEFAULT_FONT_FAMILY=t.FONT_FAMILIES=void 0;const o=n(3899),i=n(2888),a=n(5603),s=n(499),l=n(5003);t.FONT_FAMILIES=["Arial","Courier New","Georgia","Times New Roman","Trebuchet MS","Verdana"],t.DEFAULT_FONT_FAMILY="Arial",t.FONT_SIZES=[8,9,10,11,12,13,14,16,18,20,22,24,26,28,36,48,72],t.DEFAULT_FONT_SIZE=12,t.FORMATS=[{text:"Automatic",value:null},{text:"Text",value:"@"},{text:"Number",value:"#,0.00"},{text:"Percent",value:"0.00%"},{text:"Financial",value:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)'},{text:"Currency",value:"$#,##0.00;[Red]$#,##0.00"},{text:"Date",value:"m/d/yyyy"},{text:"Time",value:"h:mm:ss AM/PM"},{text:"Date time",value:"m/d/yyyy h:mm"},{text:"Duration",value:"[h]:mm:ss"}],t.PropertyChangeTool=e=>t=>{const{property:n,icon:r,svgIcon:a,titleKey:c}=e,{spreadsheetRef:u,value:h}=t,d=o.useCallback((()=>{if(u.current){const e={command:"PropertyChangeCommand",options:{property:n,value:!h}};u.current.executeCommand(e)}}),[h]);return o.createElement(i.Button,{type:"button",icon:r,svgIcon:a,fillMode:"flat",togglable:!0,onClick:d,selected:h,title:(0,s.useLocalization)().toLanguageString(c,l.messages[c])})},t.ColorTool=e=>t=>{const{property:n,titleKey:i}=e,c=r(e,["property","titleKey"]),{spreadsheetRef:u,value:h}=t,d=o.useCallback((e=>{if(u.current){const t={command:"PropertyChangeCommand",options:{property:n,value:e.value||null}};u.current.executeCommand(t)}}),[n]);return o.createElement(a.ColorPicker,Object.assign({onChange:d,onActiveColorClick:d,fillMode:"flat"},c,{title:(0,s.useLocalization)().toLanguageString(i,l.messages[i]),value:h}))},t.UndoRedo=e=>t=>{const{spreadsheetRef:n}=t,r=o.useCallback((()=>{n.current&&n.current.workbook.undoRedoStack[e.action]()}),[]);return o.createElement(i.Button,{type:"button",icon:e.icon,svgIcon:e.svgIcon,fillMode:"flat",title:(0,s.useLocalization)().toLanguageString(e.titleKey,l.messages[e.titleKey]),onClick:r})}},4343:(e,t,n)=>{n.d(t,{f:()=>y});var r,o=n(3899),i=n(189),a=n(8047),s=n(3228),l=n(6144),c=n(9013),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},d=c.Z.styles,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=o.createRef(),t}return u(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,i=t.appear,s=t.enter,c=t.exit,u=t.transitionName,p=t.transitionEnterDuration,f=t.transitionExitDuration,m=t.className,v=t.onEnter,g=t.onEntering,b=t.onEntered,y=t.onExit,w=t.onExiting,x=t.onExited,k=t.onAfterExited,C=t.mountOnEnter,z=t.unmountOnExit,_=t.animationEnteringStyle,E=t.animationEnteredStyle,I=t.animationExitingStyle,S=t.animationExitedStyle,M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),O=(0,a.A)(m,d["child-animation-container"]),R=h({transitionDelay:"0ms"},r),H={entering:h({transitionDuration:"".concat(p,"ms")},_),entered:h({},E),exiting:h({transitionDuration:"".concat(f,"ms")},I),exited:h({},S)},F={in:this.props.in,appear:i,enter:s,exit:c,mountOnEnter:C,unmountOnExit:z,timeout:{enter:p,exit:f},onEnter:function(){v&&v.call(void 0,{animatedElement:e.element,target:e})},onEntering:function(){g&&g.call(void 0,{animatedElement:e.element,target:e})},onEntered:function(){b&&b.call(void 0,{animatedElement:e.element,target:e})},onExit:function(){y&&y.call(void 0,{animatedElement:e.element,target:e})},onExiting:function(){w&&w.call(void 0,{animatedElement:e.element,target:e})},onExited:function(){k&&k.call(void 0,{animatedElement:e.element,target:e}),x&&x.call(void 0,{animatedElement:e.element,target:e})},classNames:{appear:d["".concat(u,"-appear")]||"".concat(u,"-appear"),appearActive:d["".concat(u,"-appear-active")]||"".concat(u,"-appear-active"),enter:d["".concat(u,"-enter")]||"".concat(u,"-enter"),enterActive:d["".concat(u,"-enter-active")]||"".concat(u,"-enter-active"),exit:d["".concat(u,"-exit")]||"".concat(u,"-exit"),exitActive:d["".concat(u,"-exit-active")]||"".concat(u,"-exit-active")}};return o.createElement(l.CSSTransition,h({},F,M,{nodeRef:this.elementRef}),(function(t){return o.createElement("div",{style:h(h({},R),H[t]),className:O,ref:e.elementRef},n)}))},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:s.Z,onEntering:s.Z,onEntered:s.Z,onExit:s.Z,onExiting:s.Z,onExited:s.Z,onAfterExited:s.Z,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(o.Component),f=n(4006),m={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063333,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},b=c.Z.styles,y=function(e){function t(t){var n=e.call(this,t)||this;return(0,f.s)(m),n}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,s=e.className,c=e.childFactory,u=(e.stackChildren,e.componentChildStyle),h=e.componentChildClassName,d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),f={id:t,style:n,component:i,childFactory:c,className:(0,a.A)(b["animation-container"],b["animation-container-relative"],s)},m=o.Children.map(r||null,(function(e){return o.createElement(p,g({},d,{style:u,className:h}),e)}));return o.createElement(l.TransitionGroup,g({},f),m)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(o.Component)},8686:(e,t,n)=>{n.d(t,{U:()=>h});var r,o=n(3899),i=n(189),a=n(4343),s=n(3228),l=n(9013),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props,r=n.onEnter,o=n.onBeforeEnter;o&&o.call(void 0,e),t.updateContainerDimensions(e.animatedElement,(function(){r&&r.call(void 0,e)}))},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.updateContainerDimensions=function(e,n){void 0===n&&(n=s.Z);var r=e.firstChild;if(r){var o=l.Z.outerHeight(r),i=l.Z.outerWidth(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return c(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,i=t.childFactory,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["direction","children","childFactory"]),l=this.state,c=l.maxHeight,h=l.maxWidth,d={maxHeight:(e="vertical"===n?{maxHeight:c?"".concat(c,"px"):""}:{maxWidth:h?"".concat(h,"px"):""}).maxHeight,maxWidth:e.maxWidth};return o.createElement(a.f,u({},s,{childFactory:function(t){var n=i?i(t):t;return n.props.in?n:o.cloneElement(n,u(u({},n.props),{style:u(u({},n.props.style),{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-".concat(n)}),r)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component)},9013:(e,t,n)=>{n.d(t,{Z:()=>r});const r={outerHeight:function(e){if(!e||!e.ownerDocument.defaultView)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},outerWidth:function(e){if(!e||!e.ownerDocument.defaultView)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},styles:{"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}}},7037:(e,t,n)=>{n.d(t,{z:()=>f});var r,o=n(3899),i=n(189),a=n(8130),s=n(8047),l=n(2697),c=n(3218),u=n(4006),h=n(2709),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},f=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.handleClick=function(e){n.toggleIfApplicable(),n.props.onClick&&n.props.onClick.call(void 0,e)},(0,u.s)(h.k),n.state={selected:!0===n.props.togglable&&!0===n.props.selected},n}return d(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return void 0!==this._selectedTemp?this._selectedTemp:this.state.selected},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){return e.togglable&&void 0!==e.selected&&e.selected!==t.selected?{selected:e.selected}:null},t.prototype.render=function(){var e,n=this,r=this.props,i=r.children,c=r.togglable,u=r.icon,h=r.iconClass,d=r.svgIcon,f=r.imageUrl,m=r.imageAlt,v=(r.className,r.onClick,r.size),g=void 0===v?t.defaultProps.size:v,b=r.rounded,y=void 0===b?t.defaultProps.rounded:b,w=r.fillMode,x=void 0===w?t.defaultProps.fillMode:w,k=r.themeColor,C=void 0===k?t.defaultProps.themeColor:k,z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(r,["children","togglable","icon","iconClass","svgIcon","imageUrl","imageAlt","className","onClick","size","rounded","fillMode","themeColor"]),_=void 0!==d||void 0!==u||void 0!==h||void 0!==f,E=void 0!==i,I=function(e){var t=e.imageUrl,n=e.name,r=e.iconClass,i=e.svgIcon,l=e.imageAlt;return t?o.createElement("img",{role:"presentation",className:"k-button-icon",alt:l,src:t}):n||i?o.createElement(a.a,{className:"k-button-icon",name:n,icon:i}):r?o.createElement("span",{role:"presentation",className:(0,s.A)("k-button-icon",r)}):null}({name:u,svgIcon:d,iconClass:h,imageUrl:f,imageAlt:m});return o.createElement("button",p({ref:function(e){return n._element=e},"aria-pressed":c?this.state.selected:void 0},z,{onClick:this.handleClick,className:(0,s.A)("k-button",(e={},e["k-button-".concat(l.G.sizeMap[g]||g)]=g,e["k-button-".concat(x)]=x,e["k-button-".concat(x,"-").concat(C)]=Boolean(x&&C),e["k-rounded-".concat(l.G.roundedMap[y]||y)]=y,e["k-icon-button"]=!E&&_,e["k-disabled"]=this.props.disabled,e["k-selected"]=this.state.selected,e["k-rtl"]="rtl"===this.props.dir,e),this.props.className)}),I,i&&o.createElement("span",{className:"k-button-text"},i))},t.prototype.toggleIfApplicable=function(){var e=this;if(this.props.togglable&&void 0===this.props.selected){var t=!this.state.selected;this._selectedTemp=t,this.setState({selected:t},(function(){return e._selectedTemp=void 0}))}},t.propTypes={children:i.node,selected:i.bool,togglable:i.bool,icon:i.string,svgIcon:c.wi,iconClass:i.string,imageUrl:i.string,imageAlt:i.string,size:i.oneOf([null,"small","medium","large"]),rounded:i.oneOf([null,"small","medium","large","full"]),fillMode:i.oneOf([null,"flat","link","outline","solid"]),themeColor:i.oneOf([null,"base","primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"])},t.defaultProps={togglable:!1,size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(o.Component)},7711:(e,t,n)=>{n.d(t,{h:()=>p});var r,o=n(3899),i=n(189),a=n(8047),s=n(4006),l=n(2709),c=n(1889),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},d=c.Z.styles,p=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,(0,s.s)(l.k),n}return u(t,e),t.prototype.render=function(){var e,t=this,n=this.mapButtons(this.props.children),r=(0,a.A)([d["button-group"]],((e={})["k-disabled"]=this.props.disabled,e[d["button-group-stretched"]]=!!this.props.width,e),this.props.className),i={className:r,style:{width:"".concat(this.props.width)},dir:this.props.dir,role:"group","aria-disabled":this.props.disabled};return o.createElement("div",h({ref:function(e){t._element=e}},i,{className:r}),n)},t.prototype.mapButtons=function(e){var t=this,n=o.Children.count(e),r=void 0!==this.props.dir?"rtl"===this.props.dir:this._element&&"rtl"===getComputedStyle(this._element).direction||!1;return o.Children.map(e,(function(e,i){return o.isValidElement(e)?t.renderButton(e,i,i===n-1,r):e}))},t.prototype.renderButton=function(e,t,n,r){var i,s=(0,a.A)(e.props.className,((i={})[d["group-start"]]=r?n:0===t,i[d["group-end"]]=r?0===t:n,i)),l=h(h({},this.props.width?{width:this.props.width}:{}),e.props.style||{}),c=this.props.disabled||e.props.disabled,u=h(h(h(h({},e.props),s?{className:s}:{}),Object.keys(l).length?{style:l}:{}),void 0!==c?{disabled:c}:{});return o.Children.count(e.props.children)>0?o.cloneElement(e,u,e.props.children):o.cloneElement(e,u)},t.propTypes={children:i.oneOfType([i.arrayOf(i.element),i.element]),className:i.string,disabled:i.bool,width:i.string,dir:i.string},t}(o.Component)},1711:(e,t,n)=>{n.d(t,{A:()=>x});var r=n(3899),o=n(189),i=n(228),a=n(8199),s=n(3493),l=n(4703),c=n(8047),u=n(2697),h=n(8130),d=n(3218),p=n(6785),f=n(4163),m=n(5770),v=n(5209),g=n(4006),b=n(2709),y=n(3322),w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},x=r.forwardRef((function(e,t){var n;(0,g.s)(b.k);var o=r.useRef(null),x=r.useRef(null),k=(0,a.n)(x,e.dir);r.useImperativeHandle(o,(function(){return{element:x.current,props:e}})),r.useImperativeHandle(t,(function(){return o.current}));var C=r.useContext(i.Wn),z=C[0],_=C[1],E=r.useContext(i.OW),I=E[0],S=E[1],M=r.useContext(i.zD)[1],O=r.useMemo((function(){return e.selected||(Array.isArray(z)?z.some((function(t){return t===e.value})):z===e.value)}),[e.selected,e.value,z]),R=r.useMemo((function(){return I===e.value}),[e.value,I]);r.useEffect((function(){R&&x.current&&x.current.focus()}),[R]);var H=r.useCallback((function(t){_({type:v.ey.toggle,payload:e.value,event:t})}),[_,e.value]),F=r.useCallback((function(t){e.removable&&(M({type:m.V.remove,payload:e.value,event:t}),S({type:f.E.reset,payload:e.value,event:t}),_({type:v.ey.remove,payload:e.value,event:t}),e.onRemove&&e.onRemove.call(void 0,{target:o.current,syntheticEvent:t}))}),[e.onRemove,e.value,e.removable,M,S,_]),D=r.useCallback((function(t){switch(t.keyCode){case s.R.left:S({type:f.E.prev,payload:e.value,event:t});break;case s.R.right:S({type:f.E.next,payload:e.value,event:t});break;case s.R.enter:_({type:v.ey.toggle,payload:e.value,event:t});break;case s.R.delete:F(t)}e.onKeyDown&&e.onKeyDown.call(void 0,{target:o.current,syntheticEvent:t})}),[e.onKeyDown,e.value,S,_,F]),A=r.useCallback((function(t){S({payload:e.value,type:f.E.current,event:t}),e.onFocus&&e.onFocus.call(void 0,{target:o.current,syntheticEvent:t})}),[e.onFocus,e.value,S]),V=r.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:o.current,syntheticEvent:t})}),[e.onBlur]),B=(0,y.i)(e,o,{onClick:H});return r.createElement("div",w({},B,{role:e.role,id:e.value,style:e.style,ref:x,dir:k,tabIndex:(0,l.p)(e.tabIndex,e.disabled,void 0),className:(0,c.A)("k-chip",(n={"k-rtl":"rtl"===k,"k-disabled":e.disabled,"k-selected":O,"k-focus":R},n["k-chip-".concat(u.G.sizeMap[e.size]||e.size)]=e.size,n["k-rounded-".concat(u.G.roundedMap[e.rounded]||e.rounded)]=e.rounded,n["k-chip-".concat(e.fillMode)]=e.fillMode,n["k-chip-".concat(e.fillMode,"-").concat(e.themeColor)]=Boolean(e.fillMode&&e.themeColor),n),e.className),"aria-checked":O,"aria-disabled":e.disabled,"aria-describedby":e.ariaDescribedBy,onFocus:A,onBlur:V,onKeyDown:D}),O&&(e.selectedIcon||e.selectedSvgIcon)&&r.createElement(h.a,{className:"k-chip-icon",name:e.selectedIcon?(0,d.iJ)(e.selectedIcon):void 0,icon:e.selectedSvgIcon,size:"small"}),(e.icon||e.svgIcon)&&r.createElement(h.a,{className:"k-chip-icon",name:e.icon?(0,d.iJ)(e.icon):void 0,icon:e.svgIcon,size:"small"}),e.avatar&&r.createElement("div",{className:"k-chip-avatar k-avatar k-rounded-".concat(e.avatar.rounded," k-avatar-md k-avatar-solid k-avatar-solid-primary"),style:e.avatar.style},r.createElement("span",{className:"k-avatar-image"},r.createElement("img",{src:e.avatar.image,alt:e.avatar.imageAlt}))),r.createElement("span",{className:"k-chip-content"},void 0!==e.children?e.children:e.text&&r.createElement("span",{"aria-label":e.ariaLabel||e.text,className:"k-chip-label"},e.text)),e.removable&&r.createElement("span",{className:"k-chip-actions"},r.createElement("span",{className:(0,c.A)("k-chip-action","k-chip-remove-action"),onClick:F},r.createElement(h.a,{name:e.removeIcon?(0,d.iJ)(e.removeIcon):void 0,icon:e.removeSvgIcon||p.jKn,size:"small"}))))})),k={id:o.string,text:o.string,value:o.any,dir:o.oneOf(["ltr","rtl"]),removable:o.bool,removeIcon:o.string,removeIconSvg:d.wi,disabled:o.bool,icon:o.string,svgIcon:d.wi,selectedIcon:o.string,selectedIconSvg:d.wi,onRemove:o.func,dataItem:o.any,selected:o.bool,ariaDescribedBy:o.string,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"outline","solid"]),themeColor:o.oneOf([null,"base","info","success","warning","error"])};x.displayName="KendoReactChip",x.propTypes=k,x.defaultProps={disabled:!1,removable:!1,removeIcon:"k-i-x-circle",dir:"ltr",size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"}},228:(e,t,n)=>{n.d(t,{Wn:()=>b,OW:()=>y,zD:()=>w,jg:()=>x});var r=n(3899),o=n(189),i=n(8199),a=n(9659),s=n(3322),l=n(4703),c=n(8047),u=n(2697),h=n(5209),d=n(4163),p=n(5770),f=n(1711),m=n(4006),v=n(2709),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},b=r.createContext([null,function(e){}]),y=r.createContext([null,function(e){}]),w=r.createContext([null,function(e){}]),x=r.forwardRef((function(e,t){var n;(0,m.s)(v.k);var o=r.useRef(null),x=r.useRef(null),k=(0,i.n)(x,e.dir),z=e.chip,_=e.id,E=e.style,I=e.tabIndex,S=e.disabled,M=e.size,O=e.className,R=e.ariaDescribedBy,H=e.ariaLabelledBy,F=e.selection,D=void 0===F?C.selection:F,A=e.value,V=void 0===A?C.defaultValue:A,B=e.defaultData,N=void 0===B?C.defaultData:B,L=e.valueField,P=void 0===L?C.valueField:L,T=e.textField,j=void 0===T?C.textField:T,U=e.onChange,W=e.onDataChange,K=r.useMemo((function(){return z||f.A}),[z,f.A]);r.useImperativeHandle(o,(function(){return{element:x.current,props:e}})),r.useImperativeHandle(t,(function(){return o.current}));var q=r.useCallback((function(e,t){U&&o.current&&U.call(void 0,{value:e,target:o.current,syntheticEvent:t})}),[U]),G=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1];return[i,function(e){var r=(0,h.TX)(t.state||i,g(g({},e),t));n&&n(r,e.event),a(r)}]}(V,{selection:D,state:V},q),$=G[0],Y=G[1],Z=r.useCallback((function(e,t){W&&o.current&&W.call(void 0,{value:e,target:o.current,syntheticEvent:t})}),[W]),X=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1];return[i,function(e){var r=(0,p.I)(t.state||i,g(g({},e),t));n&&n(r,e.event),a(r)}]}(e.data||N,{state:e.data,valueField:P},Z),J=X[0],Q=X[1],ee=r.useCallback((function(e,t){return e.push(t[P]),e}),[P]),te=r.useMemo((function(){return e.data||J}),[e.data,J]),ne=r.useMemo((function(){return V||$}),[V,$]),re=r.useMemo((function(){return te.reduce(ee,[])}),[te,ee]),oe=r.useCallback((function(e){return(0,a.Y)(P)(e)}),[P]),ie=r.useCallback((function(e){return(0,a.Y)(j)(e)}),[j]),ae=function(e){var t=r.useState(null),n=t[0],o=t[1];return[n,function(t){var n=(0,d.L)(t.payload,g(g({},t),e));o(n)}]}({items:re}),se=ae[0],le=ae[1],ce=(0,s.i)(e,o);return r.createElement(b.Provider,{value:[ne,Y]},r.createElement(y.Provider,{value:[se,le]},r.createElement(w.Provider,{value:[te,Q]},r.createElement("div",g({ref:x},ce,{role:"listbox",id:_,dir:k,style:E,tabIndex:(0,l.p)(I,S,void 0),className:(0,c.A)("k-chip-list",(n={"k-rtl":"rtl"===k,"k-disabled":S},n["k-chip-list-".concat(u.G.sizeMap[M]||M)]=M,n),O),"aria-labelledby":H,"aria-describedby":R}),te.map((function(e,t){return r.createElement(K,{role:"option",dataItem:e,size:M,key:[oe(e),t].join("-"),text:ie(e),value:oe(e),ariaLabel:e.ariaLabel,svgIcon:e.svgIcon||void 0})}))))))})),k={id:o.string,className:o.string,tabIndex:o.number,data:o.any,defaultData:o.arrayOf(o.any),onDataChange:o.func,value:o.oneOfType([o.any,o.arrayOf(o.any)]),defaultValue:o.oneOfType([o.any,o.arrayOf(o.any)]),onChange:o.func,selection:o.oneOf(["single","none","multiple"]),textField:o.string,valueField:o.string,disabled:o.bool,dir:o.oneOf(["ltr","rtl"]),ariaLabelledBy:o.string,ariaDescribedBy:o.string,size:o.oneOf([null,"small","medium","large"])},C={chip:f.A,size:"medium",disabled:!1,defaultValue:null,defaultData:[],dir:"ltr",selection:"none",textField:"text",valueField:"value",removable:"removable"};x.displayName="KendoReactChipList",x.propTypes=k,x.defaultProps=C},5770:(e,t,n)=>{var r;n.d(t,{V:()=>r,I:()=>o}),function(e){e.remove="remove",e.add="add",e.reorder="reorder"}(r||(r={}));var o=function(e,t){switch(t.type){case r.add:break;case r.remove:return e.filter((function(e){return e[t.valueField]!==t.payload}));case r.reorder:break;default:return e}}},4163:(e,t,n)=>{var r;n.d(t,{E:()=>r,L:()=>o}),function(e){e.next="next",e.prev="prev",e.current="current",e.reset="reset"}(r||(r={}));var o=function(e,t){var n=t.items.findIndex((function(t){return t===e}));switch(t.type){case r.next:return n===t.items.length-1?e:t.items[n+1];case r.prev:return 0===n?e:t.items[n-1];case r.current:return t.payload;case r.reset:return null;default:return e}}},5209:(e,t,n)=>{n.d(t,{ey:()=>o,TX:()=>a});var r,o,i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};!function(e){e.single="single",e.multiple="multiple",e.none="none"}(r||(r={})),function(e){e.toggle="toggle",e.remove="remove"}(o||(o={}));var a=function(e,t){switch(t.selection){case r.single:switch(t.type){case o.toggle:if(!Array.isArray(e)||null===e)return t.payload===e?null:t.payload;throw new Error("State cannot be an array in single selection");case o.remove:return t.payload===e?null:e;default:return e}case r.multiple:switch(t.type){case o.toggle:if(Array.isArray(e))return e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):i(i([],e,!0),[t.payload],!1);if(null===e)return[t.payload];throw new Error("State cannot be non-array in multiple selection");case o.remove:return Array.isArray(e)?e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):i(i([],e,!0),[t.payload],!1):e;default:return e}case r.none:return null;default:return e}}},2888:(e,t,n)=>{n.r(t),n.d(t,{Button:()=>r.z,ButtonGroup:()=>o.h,Chip:()=>j.A,ChipList:()=>U.jg,DropDownButton:()=>H,DropDownButtonItem:()=>M,FloatingActionButton:()=>ee,FloatingActionButtonItem:()=>$,SplitButton:()=>I,SplitButtonItem:()=>b,Toolbar:()=>V,ToolbarItem:()=>N,ToolbarSeparator:()=>P,ToolbarSpacer:()=>T,toolbarButtons:()=>F.w});var r=n(7037),o=n(7711),i=n(3899),a=n(189),s=n(3198),l=n(3493),c=n(3769),u=n(8047),h=n(2697),d=n(3218),p=n(5407),f=n(8130),m=function(e){var t=i.useCallback((function(t){e.onClick(t,e.index)}),[e]),n=e.dataItem.render||e.item||(void 0===e.item?e.render:null),r=void 0!==e.dataItem.text?e.dataItem.text:e.textField?e.dataItem[e.textField]:e.dataItem,o=i.createElement("li",{id:e.id,className:(0,u.A)("k-item",e.className,{"k-focus":e.focused}),tabIndex:-1,onClick:t,onMouseDown:e.onDown,onPointerDown:e.onDown,role:"menuitem","aria-disabled":e.dataItem.disabled||void 0},i.createElement("span",{tabIndex:-1,className:(0,u.A)("k-link k-menu-link",{"k-selected":e.dataItem.selected,"k-disabled":e.dataItem.disabled}),key:"icon"},n?i.createElement(n,{item:e.dataItem,itemIndex:e.index}):i.createElement(i.Fragment,null,(e.dataItem.icon||e.dataItem.iconClass)&&i.createElement(f.a,{className:e.dataItem.iconClass,name:e.dataItem.icon,icon:e.dataItem.svgIcon}),e.dataItem.imageUrl&&i.createElement("img",{role:"presentation",alt:"",src:e.dataItem.imageUrl,className:"k-icon"}),r&&i.createElement("span",{className:"k-menu-link-text"},r))));return void 0!==e.item&&void 0!==e.render?e.render.call(void 0,o,e):o};m.displayName="KendoReactButtonItem";var v,g=(v=function(e,t){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},v(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,disabled:a.bool,render:a.any},t}(i.Component),y=function(e,t,n,r){if(n)return e;var o=Math.min(r-1,Math.max(0,e));switch(t){case l.R.enter:case l.R.space:case l.R.esc:return-1;case l.R.up:case l.R.left:return o-1<0?r-1:o-1;case l.R.down:case l.R.right:return o+1>=r?0:o+1;case l.R.home:return 0;case l.R.end:return r-1;default:return e}},w=n(1754);function x(e){var t={horizontal:"left",vertical:"bottom"};return e&&(t.horizontal="right"),t}function k(e){var t={horizontal:"left",vertical:"top"};return e&&(t.horizontal="right"),t}var C=n(4006),z=n(2709),_=n(6785),E=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1,focusedIndex:-1,opened:!1},n.wrapper=null,n.mainButton=null,n.list=null,n.guid=(0,s.M)(),n.skipFocus=!1,n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==l.R.down?n.opened&&e.keyCode===l.R.up&&(n.setState({focusedIndex:-1}),n.setOpen(!1)):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0}),n.setOpen(!0));else{var r=void 0;if(e.keyCode===l.R.enter||e.keyCode===l.R.space){if(e.preventDefault(),n.dispatchClickEvent(e,t),t>=0){r={focusedIndex:n.opened?-1:0};var o=!n.opened;n.setOpen(o),o&&n.dispatchPopupEvent(e,o)}}else if(n.opened&&e.keyCode===l.R.esc)return n.setState({focusedIndex:-1}),void n.setOpen(!1);if(n.opened){var i=y(t,e.keyCode,e.altKey,n.buttonsData.length);i!==t&&((r=r||{}).focusedIndex=i);var a=e.keyCode===l.R.up||e.keyCode===l.R.down||e.keyCode===l.R.left||e.keyCode===l.R.right;e.altKey||!a&&e.keyCode!==l.R.home&&e.keyCode!==l.R.end||e.preventDefault()}r&&n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.onFocus=function(e){n.skipFocus||((0,p.N)(n.props.onFocus,e,n,void 0),n.setState({focused:!0}))},n.setOpen=function(e){n.openedDuringOnChange=e,n.setState({opened:e})},n.onItemClick=function(e,t){n.opened&&(n.setState({focusedIndex:0}),n.setOpen(!1)),n.dispatchClickEvent(e,t)},n.onBlur=function(e){n.skipFocus||(n.setState({focused:!1,focusedIndex:-1}),n.setOpen(!1),(0,p.N)(n.props.onBlur,e,n,void 0))},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))})),n.dispatchPopupEvent({},!1)},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onSplitPartClick=function(e){if(n.buttonsData.length){var t=!n.opened;t&&n.dispatchPopupEvent(e,t),n.setState({focusedIndex:t?0:-1,focused:!0}),n.setOpen(t)}},n.onDownSplitPart=function(e){e.preventDefault();var t=(0,c.v)(document);n.element&&t!==n.element&&t!==n.list&&n.element.focus()},n.onItemDown=function(e){(0,c.v)(document)===n.list&&e.preventDefault()},n.dispatchPopupEvent=function(e,t){(0,p.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0),n.openedDuringOnChange=void 0},(0,C.s)(z.k),n}return E(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0!==this.openedDuringOnChange?this.openedDuringOnChange:void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;this.buttonsData=this.props.items||i.Children.toArray(this.props.children).filter((function(e){return e&&e.type===b})).map((function(e){return e.props}));var t=this.isRtl(),n=t?"rtl":void 0,o=this.props,a=o.id,s=o.style,l=o.tabIndex,c=o.disabled;return i.createElement("div",{id:a,style:s,className:(0,u.A)("k-split-button","k-button-group",{"k-focus":this.state.focused},"k-rounded-".concat(h.G.roundedMap[this.props.rounded||"medium"]),this.props.className),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,dir:n,ref:function(t){return e.wrapper=t}},i.createElement(r.z,{ref:function(t){return e.mainButton=t&&t.element},type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:function(t){return e.onItemClick(t,-1)},disabled:c||void 0,tabIndex:l,accessKey:this.props.accessKey,className:this.props.buttonClass,icon:this.props.icon,svgIcon:this.props.svgIcon,iconClass:this.props.iconClass,imageUrl:this.props.imageUrl,dir:n,"aria-disabled":c,"aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),i.createElement(r.z,{type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,icon:"caret-alt-down",svgIcon:_.M7i,className:"k-split-button-arrow",disabled:c||void 0,tabIndex:-1,onClick:this.onSplitPartClick,onMouseDown:this.onDownSplitPart,onPointerDown:this.onDownSplitPart,dir:n,"aria-label":"menu toggling button"}),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(-1===t?(0,p.N)(this.props.onButtonClick,e,this,void 0):(0,p.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t}))},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,o=this.state.focusedIndex;return i.createElement(w.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,u.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||x(e),popupAlign:r.popupAlign||k(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},i.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,ref:this.listRef,"aria-activedescendant":o>=0?"".concat(this.guid,"-").concat(o):void 0,className:(0,u.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(h.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,o=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,a){return i.createElement(m,{className:"k-menu-item",dataItem:t,textField:o,focused:e.state.focusedIndex===a,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,key:a,index:a,id:"".concat(e.guid,"-").concat(a)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onButtonClick:a.func,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,text:a.string,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,svgIcon:d.wi,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.any,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(i.Component),S=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,selected:a.bool,disabled:a.bool,render:a.any},t}(i.Component),O=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(){return R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},R.apply(this,arguments)},H=function(e){function t(t){var n=e.call(this,t)||this;return n.state={opened:!1,focused:!1,focusedIndex:-1},n.wrapper=null,n.mainButton=null,n.list=null,n.skipFocus=!1,n.guid=(0,s.M)(),n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==l.R.down?n.opened&&e.keyCode===l.R.up&&(n.setState({focusedIndex:-1}),n.setOpen(!1)):(n.setOpen(!0),n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0}));else{var r=R({},n.state);if(e.keyCode===l.R.enter||e.keyCode===l.R.space){t>=0&&n.dispatchClickEvent(e,t),e.preventDefault();var o=!n.opened;return n.setOpen(o),void(o&&(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:n.opened?-1:0})))}if(n.opened&&e.keyCode===l.R.esc)return n.setState({focusedIndex:-1}),void n.setOpen(!1);if(n.opened){var i=y(t,e.keyCode,e.altKey,n.buttonsData.length);r.focusedIndex=i;var a=e.keyCode===l.R.up||e.keyCode===l.R.down||e.keyCode===l.R.left||e.keyCode===l.R.right;e.altKey||!a&&e.keyCode!==l.R.home&&e.keyCode!==l.R.end||e.preventDefault()}n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.handleFocus=function(e){n.skipFocus||(n.setState({focused:!0,focusedIndex:n.opened?0:-1}),(0,p.N)(n.props.onFocus,e,n,void 0))},n.handleBlur=function(e){n.skipFocus||(n.setState({focused:!1,focusedIndex:-1}),n.setOpen(!1),(0,p.N)(n.props.onBlur,e,n,void 0))},n.setOpen=function(e){n.openedDuringOnChange=e,n.setState({opened:e})},n.onItemClick=function(e,t){n.setState({focusedIndex:-1}),n.setOpen(!1),n.dispatchClickEvent(e,t)},n.onItemDown=function(e){(0,c.v)(document)===n.list&&e.preventDefault()},n.mouseDown=function(e){e.preventDefault();var t=(0,c.v)(document);n.element&&t!==n.element&&t!==n.list&&n.element.focus()},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))})),n.dispatchPopupEvent({},!1)},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onClickMainButton=function(e){if(n.buttonsData.length){var t=!n.opened;n.setState({focused:!0,focusedIndex:t?0:-1}),n.setOpen(t),t&&n.dispatchPopupEvent(e,t)}},n.dispatchPopupEvent=function(e,t){(0,p.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0),n.openedDuringOnChange=void 0},(0,C.s)(z.k),n}return O(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0!==this.openedDuringOnChange?this.openedDuringOnChange:void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.isRtl(),n=t?"rtl":void 0,o=this.props,a=o.id,s=o.style,l=o.tabIndex,c=o.disabled;return this.buttonsData=this.props.items||i.Children.toArray(this.props.children).filter((function(e){return e&&e.type===M})).map((function(e){return e.props})),i.createElement("div",{id:a,style:s,className:(0,u.A)("k-dropdown-button",{"k-focus":this.state.focused},this.props.className),onKeyDown:this.onKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,dir:n,ref:function(t){return e.wrapper=t}},i.createElement(r.z,{size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:this.onClickMainButton,onMouseDown:this.mouseDown,disabled:c||void 0,tabIndex:l,accessKey:this.props.accessKey,icon:this.props.icon,svgIcon:this.props.svgIcon,iconClass:this.props.iconClass,className:this.props.buttonClass,imageUrl:this.props.imageUrl,dir:n,ref:function(t){return e.mainButton=t&&t.element},type:"button","aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(0,p.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t})},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,o=this.state.focusedIndex;return i.createElement(w.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,u.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||x(e),popupAlign:r.popupAlign||k(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},i.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,"aria-activedescendant":o>=0?"".concat(this.guid,"-").concat(o):void 0,ref:this.listRef,className:(0,u.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(h.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,o=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,a){return i.createElement(m,{className:"k-menu-item",dataItem:t,textField:o,focused:e.state.focusedIndex===a,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,index:a,key:a,id:"".concat(e.guid,"-").concat(a)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,svgIcon:d.wi,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.func,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(i.Component),F=n(1889),D=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(){return A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},A.apply(this,arguments)},V=function(e){function t(n){var r=e.call(this,n)||this;return r._element=null,r.offsetHeight=0,r.offsetWidth=0,r.buttons=[],r.focusedSelector=r.selectors.map((function(e){return e+":focus"})).join(","),r.setTabIndex=function(e){var n=r.props.tabIndex,o=void 0===n?t.defaultProps.tabIndex:n;r.buttons.forEach((function(t,n){t.tabIndex=n===e?o:-1}))},r.onKeyDown=function(e){var t=e.target;if((e.keyCode===l.R.left||e.keyCode===l.R.right)&&!e.defaultPrevented&&-1!==r.buttons.findIndex((function(e){return e===t}))){var n=r.focusedIndex;e.keyCode===l.R.left?r.focusButton(n,n-1):r.focusButton(n,n+1)}},r.onWindowResize=function(e){var t=r.element;if(t){var n=t.offsetWidth,o=t.offsetHeight;if(r.offsetWidth!==n||r.offsetHeight!==o){r.offsetWidth=n,r.offsetHeight=o;var i={offsetWidth:r.offsetWidth,offsetHeight:r.offsetHeight};r.props.onResize&&r.props.onResize.call(void 0,A(A({target:r},i),{nativeEvent:e}))}}},(0,C.s)(z.k),r}return D(t,e),Object.defineProperty(t.prototype,"selectors",{get:function(){return this.props.buttons||F.w},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusedIndex",{get:function(){var e=this.element&&this.element.querySelector(this.focusedSelector);return Math.max(0,this.buttons.findIndex((function(t){return t===e})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.onWindowResize);var e=this.element;e&&(this.offsetWidth=e.offsetWidth,this.offsetHeight=e.offsetHeight,!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(0)))},t.prototype.componentDidUpdate=function(){var e=this.element;e&&!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(this.focusedIndex))},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.onWindowResize),this.buttons.length=0},t.prototype.render=function(){var e,t=this;return i.createElement("div",{id:this.props.id,"aria-label":this.props.ariaLabel,className:(0,u.A)("k-toolbar",(e={},e["k-toolbar-".concat(h.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,e),this.props.className),style:this.props.style,role:void 0!==this.props.role?this.props.role||void 0:"toolbar",dir:this.props.dir,ref:function(e){return t._element=e},onKeyDown:!1!==this.props.keyboardNavigation?this.onKeyDown:void 0},this.props.children)},t.prototype.focusButton=function(e,n){var r=this.props.tabIndex,o=void 0===r?t.defaultProps.tabIndex:r,i=this.buttons[n];if(i){i.tabIndex=o,i.focus();var a=this.buttons[e];a&&(a.tabIndex=-1)}},t.propTypes={tabIndex:a.number,dir:a.string,keyboardNavigation:a.bool,style:a.object,className:a.string,role:a.string,onResize:a.func,buttons:a.arrayOf(a.string),size:a.oneOf([null,"small","medium","large"])},t.defaultProps={tabIndex:0,size:"medium"},t}(i.Component),B=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t}return B(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return i.createElement("div",{id:this.props.id,className:(0,u.A)("k-toolbar-item",this.props.className),style:this.props.style,ref:function(t){return e._element=t}},this.props.children)},t.propTypes={className:a.string},t}(i.PureComponent),L=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return L(t,e),t.prototype.render=function(){return i.createElement("div",{className:(0,u.A)("k-separator",this.props.className)})},t}(i.PureComponent),T=i.forwardRef((function(e,t){var n=i.useRef(null),r=i.useRef(null);i.useImperativeHandle(r,(function(){return{element:n.current}})),i.useImperativeHandle(t,(function(){return{element:n.current}}));var o=i.useMemo((function(){return(0,u.A)("k-spacer",e.className)}),[e.className]);return i.createElement("span",{ref:n,className:o})}));T.displayName="KendoReactToolbarSpacer",T.propTypes={className:a.string};var j=n(1711),U=n(228),W=n(8259),K=n(8199),q=n(4703),G=function(){return G=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},G.apply(this,arguments)},$=i.forwardRef((function(e,t){var n=e.className,r=e.disabled,o=e.text,a=e.icon,s=e.style,l=e.id,c=e.focused,h=e.tabIndex,d=e.index,p=e.dataItem,m=e.item,v=e.svgIcon,g=e.onDown,b=e.onClick,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","disabled","text","icon","style","id","focused","tabIndex","index","dataItem","item","svgIcon","onDown","onClick"]),w=i.useRef(null),x=i.useCallback((function(){w.current&&w.current.focus()}),[]),k=i.useCallback((function(){return{element:w.current,focus:x}}),[x]);i.useImperativeHandle(t,k);var C=i.useCallback((function(e){b&&void 0!==d&&!r&&b(e,d)}),[b,d]),z=i.useMemo((function(){return(0,u.A)("k-fab-item",{"k-focus":c,"k-disabled":r},n)}),[n,r,c]),_=m;return i.createElement("li",G({ref:w,id:l,className:z,style:s,role:"menuitem",tabIndex:(0,q.p)(h,r),"aria-disabled":r,"aria-label":"".concat(o||""," floatingactionbutton item"),onClick:C,onMouseDown:g,onPointerDown:g},y),_?i.createElement(_,{itemIndex:d,item:p}):i.createElement(i.Fragment,null,o&&i.createElement("span",{className:"k-fab-item-text"},o),a||v?i.createElement(f.a,{className:"k-fab-item-icon",name:a,icon:v}):null))}));$.propTypes={className:a.string,style:a.object,children:a.any,disabled:a.bool,focused:a.bool,index:a.number,icon:a.string,svgIcon:d.wi,text:a.string,tabIndex:a.number,customProp:a.any},$.displayName="KendoFloatingActionButtonItem";var Y="16px",Z=function(e){return"number"==typeof e?e+"px":e},X=function(e,t){var n={horizontal:t?"right":"left",vertical:"bottom"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},J=function(e,t){var n={horizontal:t?"right":"left",vertical:"top"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q.apply(this,arguments)},ee=i.forwardRef((function(e,t){(0,C.s)(z.k);var n=e.align,r=void 0===n?te.align:n,o=e.alignOffset,a=e.className,d=e.disabled,m=e.icon,v=e.svgIcon,g=e.iconClass,b=e.id,y=e.items,x=e.item,k=e.text,_=e.positionMode,E=void 0===_?te.positionMode:_,I=e.size,S=void 0===I?te.size:I,M=e.style,O=e.rounded,R=void 0===O?te.rounded:O,H=e.themeColor,F=void 0===H?te.themeColor:H,D=e.overlayStyle,A=e.tabIndex,V=e.accessKey,B=e.popupSettings,N=void 0===B?{}:B,L=e.modal,P=e.onClick,T=e.onItemClick,j=e.onFocus,U=e.onBlur,G=e.onKeyDown,ee=e.onOpen,ne=e.onClose,re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["align","alignOffset","className","disabled","icon","svgIcon","iconClass","id","items","item","text","positionMode","size","style","rounded","themeColor","overlayStyle","tabIndex","accessKey","popupSettings","modal","onClick","onItemClick","onFocus","onBlur","onKeyDown","onOpen","onClose"]),oe=(0,W.u)(),ie=oe?oe+2:100,ae=i.useRef(null),se=i.useRef(null),le=i.useRef(null),ce=i.useRef(null),ue=i.useCallback((function(){se.current&&se.current.focus()}),[]),he=i.useCallback((function(){return{element:se.current,focus:ue}}),[ue]);i.useImperativeHandle(ae,he),i.useImperativeHandle(t,(function(){return ae.current}));var de=i.useState(!1),pe=de[0],fe=de[1],me=i.useState(!1),ve=me[0],ge=me[1],be=i.useState(-1),ye=be[0],we=be[1],xe=i.useMemo((function(){return(0,s.M)()}),[]),ke=(0,K.n)(se,e.dir),Ce="rtl"===ke,ze=i.useMemo((function(){return(0,s.M)()}),[]);i.useEffect((function(){!function(e,t,n,r){var o=t.horizontal,i=t.vertical;if(e.current){var a=n&&void 0!==n.x?Z(n.x):Y,s=n&&void 0!==n.x?"calc(50% + ".concat(Z(n.x),")"):"50%",l=n&&void 0!==n.y?Z(n.y):Y,c=n&&void 0!==n.y?"calc(50% + ".concat(Z(n.y),")"):"50%";e.current.style.setProperty(function(e,t){return{end:t?"left":"right",center:"left",start:t?"right":"left"}[e.horizontal||"end"]}(t,r),"center"===o?s:a),e.current.style.setProperty(function(e){return{top:"top",middle:"top",bottom:"bottom"}[e.vertical||"bottom"]}(t),"middle"===i?c:l),r&&("top"!==i&&"bottom"!==i||"start"!==o||e.current.style.setProperty("left","unset"),"middle"===i&&"end"===o&&e.current.style.setProperty("right","unset"),"middle"===i&&"start"===o&&e.current.style.setProperty("left","unset"))}}(se,r,o,Ce)}),[se,r,o,Ce]),i.useEffect((function(){ve&&se&&se.current&&se.current.focus()}),[ve,se]);var _e=i.useCallback((function(e,t){y&&(0,p.N)(t?ee:ne,e,he(),void 0)}),[ee,ne,y]),Ee=i.useCallback((function(e){e.target&&!d&&(!y&&P?(0,p.N)(P,e,he(),void 0):(fe(!pe),ge(!0),we(pe?-1:0),_e(e,!pe)))}),[fe,ge,we,P,_e,pe,y,d]),Ie=i.useCallback((function(e){ge(!0),we(pe?0:-1),j&&(0,p.N)(j,e,he(),void 0)}),[j,ge,we]),Se=i.useCallback((function(e){ge(!1),fe(!1),we(-1),(0,p.N)(U,e,he(),void 0),pe&&_e(e,!1)}),[U,ge,fe,we,_e]),Me=i.useCallback((function(e){e.preventDefault()}),[]),Oe=i.useCallback((function(e,t){y&&(y[t].disabled||(0,p.N)(T,e,he(),{itemProps:y[t],itemIndex:t}))}),[T]),Re=i.useCallback((function(e,t){e.target&&y&&(we(t),fe(!1),Oe(e,t),_e(e,!1))}),[we,fe,Oe,_e]),He=i.useCallback((function(e){(0,c.v)(document)===se.current&&e.preventDefault()}),[se]),Fe=i.useCallback((function(e){var t=ye,n=y?y.length-1:-1,o="bottom"===r.vertical;switch(e.keyCode){case l.R.enter:case l.R.space:t>=0&&Oe(e,t),e.preventDefault(),fe(!pe),we(pe?-1:0);break;case l.R.esc:e.preventDefault(),fe(!1),we(-1);break;case l.R.home:e.preventDefault(),we(0);break;case l.R.end:e.preventDefault(),we(n);break;case l.R.down:case l.R.right:e.preventDefault(),t<n&&!o&&we(t+1),t>0&&o&&we(t-1);break;case l.R.up:case l.R.left:e.preventDefault(),t>0&&!o&&we(t-1),t<n&&o&&we(t+1)}(0,p.N)(G,e,he(),void 0)}),[G,ye,we,Ce,fe]),De=i.useMemo((function(){var e;return(0,u.A)("k-fab k-fab-solid",((e={"k-fab-sm":"small"===S,"k-fab-md":"medium"===S,"k-fab-lg":"large"===S,"k-disabled":d,"k-pos-absolute":"absolute"===E,"k-pos-fixed":"fixed"===E,"k-focus":ve})["k-rounded-".concat(h.G.roundedMap[R]||R)]=R,e["k-fab-solid-".concat(F)]=F,e),"k-".concat(r.vertical,"-").concat(r.horizontal),a)}),[F,S,R,d,E,r,ve,a]),Ae=y&&y.map((function(e,t){return i.createElement($,Q({},e,{key:t,index:t,id:"".concat(ze,"-").concat(t),disabled:d||e.disabled,focused:ye===t,dataItem:e,item:x,className:(0,u.A)(e.className,(n=ke||"ltr",o=r.horizontal,{rtl:{end:"k-text-left",start:"k-text-right"},ltr:{start:"k-text-left",end:"k-text-right"}}[n]["end"===o?"end":"start"])),onClick:Re,onDown:He}));var n,o})),Ve=Boolean((m||v)&&!k),Be=(se.current?se.current.offsetWidth:0)/2-16;return i.createElement(W.$.Provider,{value:ie},i.createElement(i.Fragment,null,i.createElement("button",Q({ref:se,id:b||xe,role:y?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":y?pe:void 0,"aria-haspopup":!!y,"aria-label":"".concat(k||""," floatingactionbutton"),"aria-owns":y?ze:void 0,"aria-activedescendant":ye>=0&&y?"".concat(ze,"-").concat(ye):void 0,tabIndex:(0,q.p)(A,d),accessKey:V,dir:ke,disabled:d,className:De,style:M,onClick:Ee,onMouseDown:Me,onFocus:Ie,onBlur:Se,onKeyDown:Fe},re),m||v?i.createElement(f.a,{className:"k-fab-icon",name:m,icon:v}):g?i.createElement("span",{role:"presentation",className:g}):null,k&&i.createElement("span",{className:"k-fab-text"},k)),L&&pe&&i.createElement("div",{className:"k-overlay",style:Q({zIndex:ie},D)}),i.createElement(w.G,{ref:ce,anchor:se.current,show:pe,animate:N.animate,popupClass:(0,u.A)("k-popup-transparent k-fab-popup",N.popupClass),anchorAlign:N.anchorAlign||X(r,Ce),popupAlign:N.popupAlign||J(r,Ce),style:{boxShadow:"none"}},i.createElement("ul",{ref:le,role:"menu","aria-labelledby":b,id:ze,className:(0,u.A)("k-fab-items",{"k-fab-items-bottom":"bottom"!==r.vertical,"k-fab-items-top":"bottom"===r.vertical}),style:{paddingLeft:Ve?Be:void 0,paddingRight:Ve?Be:void 0}},Ae))))}));ee.propTypes={className:a.string,style:a.object,id:a.string,dir:a.string,tabIndex:a.number,accessKey:a.string,disabled:a.bool,icon:a.string,svgIcon:d.wi,iconClass:a.string,text:a.string,alignOffset:a.shape({x:a.oneOfType([a.number,a.string]),y:a.oneOfType([a.number,a.string])}),align:a.shape({vertical:a.oneOf(["top","middle","bottom"]),horizontal:a.oneOf(["start","center","end"])}),positionMode:a.oneOf(["absolute","fixed"]),size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),themeColor:a.oneOf([null,"primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]),modal:a.bool,overlayStyle:a.object};var te={align:{vertical:"bottom",horizontal:"end"},size:"medium",rounded:"full",themeColor:"primary",positionMode:"fixed"};ee.displayName="KendoFloatingActionButton"},2709:(e,t,n)=>{n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-buttons",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063497,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},1889:(e,t,n)=>{n.d(t,{w:()=>o,Z:()=>i});var r=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",o=["button"+r,".k-button-group > button"+r,".k-colorpicker",".k-dropdownlist"];const i={styles:{button:"k-button",flat:"k-flat",outline:"k-outline",clear:"k-button-clear",primary:"k-primary","state-selected":"k-selected","button-icon":"k-button-icon","button-icontext":"k-button-icontext","state-disabled":"k-disabled","group-start":"k-group-start","group-end":"k-group-end","button-group":"k-button-group","button-group-stretched":"k-button-group-stretched",ltr:"k-ltr",rtl:"k-rtl"}}},6785:(e,t,n)=>{n.d(t,{M7i:()=>r,jKn:()=>o});const r={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},o={name:"x-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm128 306.7L338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7z" />',viewBox:"0 0 512 512"}},1193:(e,t,n)=>{n.d(t,{V:()=>S,M:()=>I});var r,o=n(3899),i=n(994),a=n(189),s=n(7037),l=n(7271),c=function(e){var t=e.children,n=e.onCloseButtonClick,r=e.id,i=e.closeIcon;return o.createElement("div",{className:"k-window-titlebar k-dialog-titlebar",id:r},o.createElement("span",{className:"k-window-title k-dialog-title"},t),o.createElement("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions"},i&&o.createElement(s.z,{role:"button","aria-label":"Close",onClick:n,icon:"x",svgIcon:l.FZE,fillMode:"flat",className:"k-window-titlebar-action k-dialog-titlebar-action"})))},u=n(6847),h=n(3198),d=n(5407),p=n(3493),f=n(3769),m=n(8259),v=n(8047),g=n(7827),b=n(848),y=n(4006),w=n(2080),x=n(8792),k=n(180),C=n(4061),z=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_.apply(this,arguments)},E=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n._id=(0,h.M)(),n.titleId=n.generateTitleId(),n.contentId=n.generateContentId(),n.showLicenseWatermark=!1,n.onCloseDialog=function(e){e.preventDefault(),(0,d.N)(n.props.onClose,e,n,void 0)},n.onKeyDown=function(e){e.keyCode===p.R.esc&&n.props.onClose&&(e.preventDefault(),n.onCloseDialog(e));var t=n.element;if(t&&e.keyCode===p.R.tab){var r=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),o=r[0],i=r[r.length-1],a=n.getDocument(),s=(0,f.v)(a);e.shiftKey?(a&&s===o||a&&s===n.element)&&(i.focus(),e.preventDefault()):a&&s===i&&(o.focus(),e.preventDefault())}},n.getCurrentZIndex=function(){return n.state&&void 0!==n.context?n.state.zIndex>(n.context?n.context+C.de:0)?n.state.zIndex:n.context+C.de:n.context?n.context:C.iS},n.getDocument=function(){return n.props.appendTo?n.props.appendTo.ownerDocument:document},(0,y.s)(x.k),n.showLicenseWatermark=(0,y.G)(x.k),n.state={zIndex:(0,k.b)(n.getCurrentZIndex(),n.getDocument(),n._id)},n}return z(t,e),t.prototype.componentDidMount=function(){this.element&&this.props.autoFocus&&this.element.focus()},t.prototype.render=function(){var e,t,n=this,r=void 0!==this.props.id?this.props.id:this.titleId,a=this.props,s=a.title,l=a.width,u=a.height,h=a.children,d=a.minWidth,p=a.dir,f=a.style,b=a.contentStyle,y=o.Children.toArray(h),x=this.getContent(y),k=this.getActionBar(y),z=s?{"aria-labelledby":r}:null,E=void 0===this.props.closeIcon||this.props.closeIcon,I=this.getCurrentZIndex(),S=o.createElement(m.$.Provider,{value:I},o.createElement("div",_({},((e={})[C.DZ]=this._id,e),{className:"k-dialog-wrapper"+(this.props.className?" "+this.props.className:""),onKeyDown:this.onKeyDown,tabIndex:0,dir:p,style:_({zIndex:I},f),ref:function(e){return n.element=e}}),o.createElement("div",{className:"k-overlay"}),o.createElement("div",_({},z,{className:(0,v.A)("k-window k-dialog",(t={},t["k-window-".concat(this.props.themeColor)]=this.props.themeColor,t)),role:"dialog","aria-labelledby":r,"aria-modal":!0,"aria-describedby":this.contentId,style:{width:l,height:u,minWidth:d}}),this.props.title&&o.createElement(c,{closeIcon:E,onCloseButtonClick:this.onCloseDialog,id:r},s),o.createElement("div",{className:"k-window-content k-dialog-content",style:b,id:this.contentId},x),k,this.showLicenseWatermark&&o.createElement(w.t,null))));return g.N?null!==this.props.appendTo?i.createPortal(S,this.props.appendTo||document.body):S:null},t.prototype.getActionBar=function(e){return e.filter((function(e){return e&&e.type===u.l}))},t.prototype.getContent=function(e){return e.filter((function(e){return e&&e.type!==u.l}))},t.prototype.generateTitleId=function(){return"dialog-title"+this._id},t.prototype.generateContentId=function(){return"dialog-content"+this._id},t.displayName="Dialog",t.propTypes={title:a.any,id:a.string,dir:a.string,style:a.object,closeIcon:a.bool,width:a.oneOfType([a.number,a.string]),height:a.oneOfType([a.number,a.string]),minWidth:a.oneOfType([a.number,a.string]),autoFocus:a.bool},t.defaultProps={autoFocus:!1},t.contextType=m.$,t}(o.Component),I=(0,b.Y)(),S=(0,b.u)(I,E);S.displayName="KendoReactDialog"},6847:(e,t,n)=>{n.d(t,{l:()=>s});var r=n(3899),o=n(189),i=n(8047),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},s=function(e){var t,n=a({layout:"stretched"},e),o=n.layout,s=n.children,l=(0,i.A)("k-actions","k-actions-horizontal","k-window-actions k-dialog-actions",((t={})["k-actions-".concat(o)]=o,t));return r.createElement("div",{className:l},s)};s.propTypes={children:o.any,layout:o.oneOf(["start","center","end","stretched"])}},4061:(e,t,n)=>{n.d(t,{DZ:()=>r,iS:()=>o,de:()=>i,Fm:()=>a});var r="data-windowid",o=10002,i=2,a=".k-window:not(.k-dialog), .k-dialog-wrapper"},1959:(e,t,n)=>{n.r(t),n.d(t,{Dialog:()=>o.V,DialogActionsBar:()=>i.l,DialogPropsContext:()=>o.M,Window:()=>q,WindowActionsBar:()=>L,WindowPropsContext:()=>K});var r,o=n(1193),i=n(6847),a=n(3899),s=n(994),l=n(189);!function(e){e.DEFAULT="DEFAULT",e.FULLSCREEN="FULLSCREEN",e.MINIMIZED="MINIMIZED"}(r||(r={}));var c,u,h=n(7037),d=n(499),p=n(7271),f="dialogs.windowMaximizeButton",m="dialogs.windowMinimizeButton",v="dialogs.windowRestoreButton",g="dialogs.windowCloseButton",b=((c={})[f]="maximize",c[m]="minimize",c[v]="restore",c[g]="close",c),y=function(){return y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},w=function(e){var t=e.children,n=e.onCloseButtonClick,o=e.onMinimizeButtonClick,i=e.onFullScreenButtonClick,s=e.onRestoreButtonClick,l=e.onDoubleClick,c=e.stage,u=e.forwardedRef,y=e.id,w=(0,d.useLocalization)(),x=e.minimizeButton?a.createElement(e.minimizeButton,{onClick:o,stage:c}):a.createElement(h.z,{fillMode:"flat",icon:"window-minimize",svgIcon:p.YS7,className:"k-window-titlebar-action",onClick:o,"aria-label":w.toLanguageString(m,b[m])}),k=e.maximizeButton?a.createElement(e.maximizeButton,{onClick:i,stage:c}):a.createElement(h.z,{fillMode:"flat",icon:"window-maximize",svgIcon:p.IHW,className:"k-window-titlebar-action",onClick:i,"aria-label":w.toLanguageString(f,b[f])}),C=e.restoreButton?a.createElement(e.restoreButton,{onClick:s,stage:c}):a.createElement(h.z,{fillMode:"flat",icon:"window-restore",svgIcon:p.LOr,className:"k-window-titlebar-action",onClick:s,"aria-label":w.toLanguageString(v,b[v])}),z=e.closeButton?a.createElement(e.closeButton,{onClick:n,stage:c}):a.createElement(h.z,{fillMode:"flat",icon:"x",svgIcon:p.FZE,className:"k-window-titlebar-action",onClick:n,"aria-label":w.toLanguageString(g,b[g])});return a.createElement("div",{className:"k-window-titlebar",style:{touchAction:"none"},ref:u,onDoubleClick:l},a.createElement("span",{className:"k-window-title",id:y},t||""),a.createElement("div",{className:"k-window-titlebar-actions"},c===r.DEFAULT&&x,c===r.DEFAULT&&k,c!==r.DEFAULT&&C,z))},x=a.forwardRef((function(e,t){return a.createElement(w,y({},e,{forwardedRef:t}))})),k=n(3198),C=n(3493),z=n(5407),_=n(8047),E=n(8259),I=n(7827),S=n(1779),M=n(848),O=(u=function(e,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},u(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),R=["n","e","s","w","se","sw","ne","nw"],H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){var e=this;return a.createElement("div",{className:"k-resize-handles-wrapper"}," ",R.map((function(t,n){return a.createElement(S._,{key:n,onDrag:function(n){var r=n.event;r.originalEvent.preventDefault(),e.props.onResize(r,{end:!1,direction:t})},onRelease:function(n){var r=n.event;r.originalEvent.preventDefault(),e.props.onResize(r,{end:!0,direction:t})}},a.createElement("div",{className:"k-resize-handle k-resize-"+t,style:{display:"block",touchAction:"none"}}))})))},t}(a.Component),F=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return F(t,e),t.prototype.shouldComponentUpdate=function(e){return e.shouldUpdateOnDrag||!e.isDragging},t.prototype.render=function(){return this.props.children},t}(a.Component),A=n(4006),V=n(2080),B=n(8792),N=function(){return N=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N.apply(this,arguments)},L=function(e){var t=N({layout:"end"},e),n=t.layout,r=t.children,o=(0,_.A)("k-actions","k-window-actions","k-actions-horizontal","k-hstack",{"k-justify-content-start":"start"===n,"k-justify-content-center":"center"===n,"k-justify-content-end":"end"===n,"k-justify-content-stretch":"stretched"===n});return a.createElement("div",{className:o},r)};L.propTypes={children:l.any,layout:l.oneOf(["start","center","end","stretched"])};var P=n(4061),T=n(180),j=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),U=function(){return U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U.apply(this,arguments)},W=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n.draggable=null,n.offSetCoordinates={x:0,y:0},n._id=(0,k.M)(),n.titleId=n.generateTitleId(),n.mounted=!1,n.showLicenseWatermark=!1,n.onKeyDown=function(e){if(e.target===e.currentTarget){var t=n.props.minWidth||120,o=n.props.minHeight||100;if(e.ctrlKey&&n.props.resizable){switch(e.keyCode){case C.R.up:e.preventDefault(),o<=n.height-5&&n.setState({height:n.height-5});break;case C.R.down:e.preventDefault(),n.setState({height:n.height+5});break;case C.R.left:t<=n.width-5&&n.setState({width:n.width-5});break;case C.R.right:n.setState({width:n.width+5});break;default:return}n.dispatchMoveEvent(n.props.onResize,e,!1,void 0)}else if(e.altKey)switch(e.keyCode){case C.R.up:n.windowStage===r.MINIMIZED?(n.handleRestore(e),(0,z.N)(n.props.onStageChange,e,n,{state:r.DEFAULT})):n.windowStage===r.DEFAULT&&(n.handleFullscreen(e),(0,z.N)(n.props.onStageChange,e,n,{state:r.FULLSCREEN}));break;case C.R.down:n.windowStage===r.FULLSCREEN?(n.handleRestore(e),(0,z.N)(n.props.onStageChange,e,n,{state:r.DEFAULT})):n.windowStage===r.DEFAULT&&(n.handleMinimize(e),(0,z.N)(n.props.onStageChange,e,n,{state:r.MINIMIZED}))}else{if(!e.ctrlKey)switch(e.keyCode){case C.R.esc:return void(n.props.onClose&&n.handleCloseWindow(e));case C.R.up:n.setState({top:n.state.top-5});break;case C.R.down:n.setState({top:n.state.top+5});break;case C.R.left:n.setState({left:n.state.left-5});break;case C.R.right:n.setState({left:n.state.left+5});break;default:return}n.dispatchMoveEvent(n.props.onMove,e,!1,void 0)}}},n.onPress=function(e){var t=e.event;n.windowCoordinatesState.differenceLeft=t.pageX-n.left,n.windowCoordinatesState.differenceTop=t.pageY-n.top},n.onDrag=function(e){var t=e.event;t.originalEvent.preventDefault(),n.windowStage!==r.FULLSCREEN&&n.props.draggable&&(n.setState({top:Math.max(t.pageY-n.windowCoordinatesState.differenceTop,0),left:t.pageX-n.windowCoordinatesState.differenceLeft,isDragging:!0}),n.props.onMove&&n.dispatchMoveEvent(n.props.onMove,t,!0,!1))},n.onRelease=function(e){var t=e.event;n.windowStage!==r.FULLSCREEN&&n.props.draggable&&n.props.onMove&&n.dispatchMoveEvent(n.props.onMove,t,!0,!0),n.setState({isDragging:!1})},n.onFocus=function(){n._blurTimeout?(clearTimeout(n._blurTimeout),n._blurTimeout=void 0):n.setState({focused:!0,zIndex:(0,T.b)(n.getCurrentZIndex(),n.getDocument(),n._id)})},n.onBlur=function(){clearTimeout(n._blurTimeout);var e=n.getWindow();e&&(n._blurTimeout=e.setTimeout((function(){n.mounted&&n.setState({focused:!1}),n._blurTimeout=void 0})))},n.getInitialTop=function(){if(void 0!==n.props.top)return n.props.top;if(void 0!==n.props.initialTop)return n.props.initialTop;var e=300;if(void 0!==n.props.height?e=n.props.height:void 0!==n.props.initialHeight&&(e=n.props.initialHeight),n.props.appendTo)return n.props.appendTo.offsetHeight/2-e/2;var t=n.getWindow();return t?t.innerHeight/2-e/2:0},n.getInitialLeft=function(){if(void 0!==n.props.left)return n.props.left;if(void 0!==n.props.initialLeft)return n.props.initialLeft;var e=300;if(void 0!==n.props.width?e=n.props.width:void 0!==n.props.initialWidth&&(e=n.props.initialWidth),n.props.appendTo)return n.props.appendTo.offsetWidth/2-e/2;var t=n.getWindow();return t?t.innerWidth/2-e/2:0},n.getInitialWidth=function(){var e=300;return void 0!==n.props.width?e=n.props.width:void 0!==n.props.initialWidth&&(e=n.props.initialWidth),e},n.getInitialHeight=function(){var e=300;return void 0!==n.props.height?e=n.props.height:void 0!==n.props.initialHeight&&(e=n.props.initialHeight),e},n.handleMinimize=function(e){e.preventDefault(),n.windowCoordinatesState.leftBeforeAction=n.left,n.windowCoordinatesState.topBeforeAction=n.top,n.windowCoordinatesState.widthBeforeAction=n.width,n.windowCoordinatesState.heightBeforeAction=n.height,n.setState({stage:r.MINIMIZED,height:0}),(0,z.N)(n.props.onStageChange,e,n,{state:r.MINIMIZED})},n.handleFullscreen=function(e){e.preventDefault(),n.windowCoordinatesState.leftBeforeAction=n.left,n.windowCoordinatesState.topBeforeAction=n.top,n.windowCoordinatesState.widthBeforeAction=n.width,n.windowCoordinatesState.heightBeforeAction=n.height;var t=n.getWindow(),o=t?t.innerWidth:0,i=t?t.innerHeight:0;n.setState({left:0,top:0,width:n.props.appendTo?n.props.appendTo.offsetWidth:o,height:n.props.appendTo?n.props.appendTo.offsetHeight:i,stage:r.FULLSCREEN}),(0,z.N)(n.props.onStageChange,e,n,{state:r.FULLSCREEN})},n.handleRestore=function(e){e.preventDefault(),n.windowStage===r.FULLSCREEN?n.setState({stage:r.DEFAULT,left:n.windowCoordinatesState.leftBeforeAction,top:n.windowCoordinatesState.topBeforeAction,width:n.windowCoordinatesState.widthBeforeAction,height:n.windowCoordinatesState.heightBeforeAction}):n.windowStage===r.MINIMIZED&&n.setState({stage:r.DEFAULT,height:n.windowCoordinatesState.heightBeforeAction}),(0,z.N)(n.props.onStageChange,e,n,{state:r.DEFAULT})},n.handleCloseWindow=function(e){e.preventDefault(),(0,z.N)(n.props.onClose,e,n,{state:void 0})},n.handleDoubleClick=function(e){n.windowStage===r.FULLSCREEN||n.windowStage===r.MINIMIZED?n.handleRestore(e):n.handleFullscreen(e)},n.handleResize=function(e,t){var r=n.props.appendTo?e.pageX-n.offSetCoordinates.x:e.pageX,o=n.props.appendTo?e.pageY-n.offSetCoordinates.y:e.pageY,i=n.width,a=n.height,s=n.props.minWidth||120,l=n.props.minHeight||100,c=n.top-o,u=n.left-r,h=r-n.left,d=o-n.top,p=Object.assign({},n.state,{isDragging:!t.end});t.direction.indexOf("n")>=0&&l-(a+c)<0&&(n.top>0&&(p.height=a+c),p.top=o),t.direction.indexOf("s")>=0&&l-d<0&&(p.height=d),t.direction.indexOf("w")>=0&&s-(i+u)<0&&(n.left>0&&(p.width=i+u),p.left=r),t.direction.indexOf("e")>=0&&s-h<0&&(p.width=h),n.setState(p),n.dispatchMoveEvent(n.props.onResize,e,!0,t.end)},n.dispatchMoveEvent=function(e,t,r,o){e&&e.call(void 0,{nativeEvent:t.nativeEvent?t.nativeEvent:t.originalEvent,drag:r,end:o,target:n,left:n.state.left,top:n.state.top,width:n.state.width,hight:n.state.height,height:n.state.height})},n.handleBrowserWindowResize=function(){if(n.windowStage===r.FULLSCREEN){var e=n.getWindow(),t=e?e.innerWidth:0,o=e?e.innerHeight:0;n.setState({width:n.props.appendTo?n.props.appendTo.offsetWidth:t,height:n.props.appendTo?n.props.appendTo.offsetHeight:o})}},n.getCurrentZIndex=function(){return n.state&&void 0!==n.context?n.state.zIndex>(n.context?n.context+P.de:0)?n.state.zIndex:n.context+P.de:n.context?n.context:P.iS},n.getDocument=function(){return n.props.appendTo?n.props.appendTo.ownerDocument:document},n.getWindow=function(){var e=n.getDocument();return e&&e.defaultView},(0,A.s)(B.k),n.showLicenseWatermark=(0,A.G)(B.k),n.state={stage:n.props.stage||r.DEFAULT,isDragging:!1,top:n.getInitialTop(),left:n.getInitialLeft(),width:n.getInitialWidth(),height:n.getInitialHeight(),focused:!0,zIndex:(0,T.b)(n.getCurrentZIndex(),n.getDocument(),n._id)},n.windowCoordinatesState={leftBeforeAction:n.getInitialLeft(),topBeforeAction:n.getInitialTop(),widthBeforeAction:n.getInitialWidth(),heightBeforeAction:n.getInitialHeight()},n}return j(t,e),t.prototype.componentDidMount=function(){var e=this.getWindow();e&&e.addEventListener("resize",this.handleBrowserWindowResize);var t=this.getDocument();if(this.props.appendTo&&t){var n=this.props.appendTo.getBoundingClientRect(),r=t.body.getBoundingClientRect();this.offSetCoordinates.x=n.left-r.left,this.offSetCoordinates.y=n.top-r.top}this.mounted=!0},t.prototype.componentWillUnmount=function(){var e=this.getWindow();e&&e.removeEventListener("resize",this.handleBrowserWindowResize),this.mounted=!1},t.prototype.componentDidUpdate=function(){var e=this.getDocument();if(this.props.appendTo&&e){var t=this.props.appendTo.getBoundingClientRect(),n=e.body.getBoundingClientRect();this.offSetCoordinates.x=t.left-n.left,this.offSetCoordinates.y=t.top-n.top}this.mounted=!0},t.prototype.render=function(){var e,t,n=this,o=a.Children.toArray(this.props.children),i=this.getContent(o),l=this.getActionBar(o),c=this.getCurrentZIndex(),u=(0,_.A)("k-window",this.props.className,((e={})["k-window-".concat(this.props.themeColor)]=this.props.themeColor,e["k-window-minimized"]="MINIMIZED"===this.state.stage,e["k-window-focused"]=this.state.focused,e)),h=a.createElement(E.$.Provider,{value:c},a.createElement(a.Fragment,null,this.props.modal&&a.createElement("div",{className:"k-overlay",style:U({zIndex:c},this.props.overlayStyle)}),a.createElement("div",U({},((t={})[P.DZ]=this._id,t),{tabIndex:0,role:"dialog","aria-labelledby":this.titleId,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,ref:function(e){n.windowElement=e,n.element=e},className:u,style:U({top:this.top,left:this.left,width:this.width,height:this.height||"",zIndex:c},this.props.style)}),a.createElement(D,{shouldUpdateOnDrag:this.props.shouldUpdateOnDrag||!1,isDragging:this.state.isDragging},a.createElement(S._,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease,ref:function(e){return n.draggable=e}},a.createElement(x,{stage:this.windowStage,onDoubleClick:this.props.doubleClickStageChange?this.handleDoubleClick:void 0,onMinimizeButtonClick:this.handleMinimize,onFullScreenButtonClick:this.handleFullscreen,onRestoreButtonClick:this.handleRestore,onCloseButtonClick:this.handleCloseWindow,closeButton:this.props.closeButton,minimizeButton:this.props.minimizeButton,maximizeButton:this.props.maximizeButton,restoreButton:this.props.restoreButton,id:this.titleId},this.props.title)),this.windowStage!==r.MINIMIZED?a.createElement(a.Fragment,null,a.createElement("div",{className:"k-window-content"},i),l):null,this.windowStage===r.DEFAULT&&this.props.resizable?a.createElement(H,{onResize:this.handleResize}):null),this.showLicenseWatermark&&a.createElement(V.t,null))));return I.N?null!==this.props.appendTo?s.createPortal(h,this.props.appendTo||document.body):h:null},Object.defineProperty(t.prototype,"top",{get:function(){return this.windowStage!==r.FULLSCREEN?Math.max(this.props.top||this.state.top,0):0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.windowStage!==r.FULLSCREEN?Math.max(this.props.left||this.state.left,0):0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){var e=this.props.width||this.state.width;if(this.windowStage===r.FULLSCREEN){if(this.props.appendTo)return this.props.appendTo.offsetWidth;var t=this.getWindow();e=t?t.innerWidth:0}return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){var e=this.props.height||this.state.height;if(this.windowStage===r.FULLSCREEN){if(this.props.appendTo)return this.props.appendTo.offsetHeight;var t=this.getWindow();e=t?t.innerHeight:0}else this.windowStage===r.MINIMIZED&&(e=0);return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"windowStage",{get:function(){return this.props.stage||this.state.stage},enumerable:!1,configurable:!0}),t.prototype.getActionBar=function(e){return e.filter((function(e){return e&&e.type===L}))},t.prototype.getContent=function(e){return e.filter((function(e){return e&&e.type!==L}))},t.prototype.generateTitleId=function(){return"window-title-"+this._id},t.displayName="Window",t.propTypes={width:l.number,height:l.number,left:l.number,top:l.number,initialWidth:l.number,initialHeight:l.number,initialLeft:l.number,initialTop:l.number,minWidth:l.number,minHeight:l.number,resizable:l.bool,draggable:l.bool,title:l.any,shouldUpdateOnDrag:l.bool,stage:l.oneOf(["DEFAULT","MINIMIZED","FULLSCREEN"]),className:l.string,style:l.object,overlayStyle:l.object},t.defaultProps={minWidth:120,minHeight:100,resizable:!0,draggable:!0,modal:!1,doubleClickStageChange:!0},t.contextType=E.$,t}(a.Component),K=(0,M.Y)(),q=(0,M.u)(K,W);q.displayName="KendoReactWindow"},8792:(e,t,n)=>{n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-dialogs",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063922,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},180:(e,t,n)=>{n.d(t,{b:()=>o});var r=n(4061),o=function(e,t,n){var o=e;if(t&&t.defaultView){var i=t.querySelectorAll(r.Fm),a=!1;return i.forEach((function(e){var i=t.defaultView.getComputedStyle(e,null);if(e.getAttribute(r.DZ)!==n&&null!==i.zIndex){var s=parseInt(i.zIndex,10);s>=o&&(o=s,a=!0)}})),a?o+r.de:o}return o}},7271:(e,t,n)=>{n.d(t,{IHW:()=>o,YS7:()=>a,LOr:()=>i,FZE:()=>r});const r={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},o={name:"window",content:'<path d="M96 96v320h320V96H96zm288 288H128V192h256v192z" />',viewBox:"0 0 512 512"},i={name:"window-restore",content:'<path d="M448 32v288h-32V128H160V32h288zM64 192h288v288H64V192zm32 256h224V288H96v160z" />',viewBox:"0 0 512 512"},a={name:"window-minimize",content:'<path d="M416 288v64H96v-64h320z" />',viewBox:"0 0 512 512"}},2831:(e,t,n)=>{n.r(t),n.d(t,{AutoComplete:()=>Qe,AutoCompletePropsContext:()=>Je,AutoCompleteWithoutContext:()=>Xe,ComboBox:()=>qe,ComboBoxPropsContext:()=>Ke,ComboBoxWithoutContext:()=>We,DropDownList:()=>He,DropDownListPropsContext:()=>Re,DropDownListWithoutContext:()=>Oe,DropDownTree:()=>pn,DropDownTreePropsContext:()=>dn,List:()=>he,ListContainer:()=>C,ListFilter:()=>S,ListItem:()=>Y,MultiColumnComboBox:()=>St,MultiColumnComboBoxPropsContext:()=>It,MultiSelect:()=>wt,MultiSelectPropsContext:()=>yt,MultiSelectTree:()=>xn,MultiSelectTreePropsContext:()=>wn,MultiSelectWithoutContext:()=>bt,SearchBar:()=>Ve,TagList:()=>it,dropdownsMessages:()=>le,getMultiSelectTreeValue:()=>_n,getValueMap:()=>zn,nodata:()=>te,scrollToItem:()=>D});var r=n(3899),o=n(189),i=n(2697),a=n(3198),s=n(8047),l=n(3493),c=n(4703),u=n(8130),h=n(3218),d=n(848),p=n(6097);const f={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},m={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},v={name:"plus",content:'<path d="M288 224V96h-64v128H96v64h128v128h64V288h128v-64H288z" />',viewBox:"0 0 512 512"},g={name:"search",content:'<path d="M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3L365.3 320zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192z" />',viewBox:"0 0 512 512"};var b,y=n(1754),w=(b=function(e,t){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},b(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.width,o=e.dir,i=e.itemsCount,a=e.popupSettings;return r.createElement(y.G,x({style:{width:n,direction:o},contentKey:i&&i.join()},a),t)},t}(r.Component);const C=k;var z=n(4071),_=n(6183),E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},I=r.forwardRef((function(e,t){var n=r.useRef(null);return r.useImperativeHandle(t,(function(){return n.current})),r.createElement("div",{className:"k-list-filter"},r.createElement(z.z,E({},e,{ref:n,value:e.value||"",onChange:e.onChange,onKeyDown:e.onKeyDown,tabIndex:e.tabIndex,onClick:function(e){return e.stopPropagation()},size:e.size,fillMode:e.fillMode,rounded:e.rounded,prefix:function(){return r.createElement(_.Z,null,r.createElement(u.a,{name:"search",icon:g}))}})))}));I.propTypes={value:o.oneOfType([o.string,o.number,o.array]),tabIndex:o.number,onChange:o.func,onKeyDown:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},I.displayName="KendoReactListFilter";const S=I;var M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){var e=this.props,t=e.group,n=e.groupMode,o=e.render,i=r.createElement("div",{className:"k-list-group-sticky-header"},"classic"===n?t:r.createElement("div",{className:"k-list-header-text"},t));return void 0!==o?o.call(void 0,i,this.props):i},t}(r.Component);const R=O;var H=function(e){return null!=e},F=function(e,t,n){if(!H(e))return!1;var r=String(e);return n&&(r=r.toLowerCase()),0===r.indexOf(t)},D=function(e,t,n,r,o){var i=e.offsetHeight,a=t.children.item(n),s=a.offsetTop+(o?r-e.scrollTop:0),l=a.offsetHeight;if(o){var c=0;s+l>i?c=s+l-i:s<0&&(c=s),0!==c?e.scrollTop+=c:0===e.scrollTop&&0!==r&&(e.scrollTop=r)}else s+l>i+e.scrollTop?e.scrollTop=s+l-i:s<e.scrollTop&&(e.scrollTop-=e.scrollTop-s)},A=function(e,t,n){var r=-1;if(t){t=t.toLowerCase();for(var o=0;o<e.length;o++){var i=(B(e[o],n)||"")+"";if(i&&i.toLowerCase().startsWith(t)){r=o;break}}}return r},V=function(e,t,n,r){void 0===r&&(r=!1);var o=function(e){return r?e:e.toLowerCase()};return e.findIndex((function(e){return n?o(B(e,n))===o(t):o(t)===o(e.toString())}))},B=function(e,t){if(t&&H(e)){var n=t.split("."),r=e;return n.forEach((function(e){r=r?r[e]:void 0})),r}return e},N=function(e,t,n){t.forEach((function(t){var r=e.findIndex((function(e){return L(e,t,n)}));-1!==r&&e.splice(r,1)}))},L=function(e,t,n){return e===t||H(e)===H(t)&&B(e,n)===B(t,n)},P=function(e,t,n){if(t){var r=V(e,t,n,!0);return-1!==r?e[r]:e[A(e,t,n)]}return e[0]},T=function(e){"INPUT"!==e.target.nodeName&&e.preventDefault()},j=function(e,t,n){return!!e==!!t&&e.text===t.text&&(e===t||function(e,t,n){if(void 0===e&&(e=[]),void 0===t&&(t=[]),e===t)return!0;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!L(e[r],t[r],n))return!1;return!0}(e.data,t.data,n))},U=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),W=function(e){return e.preventDefault()},K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return U(t,e),t.prototype.render=function(){var e=this.props,t=e.selected,n=e.defaultItem,o=e.textField;return r.createElement("div",{onClick:this.props.onClick,onMouseDown:W,style:{position:"unset"},className:(0,s.A)("k-list-optionlabel",{"k-selected":t})},B(n,o)||"")},t}(r.Component);const q=K;var G=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){return t.props.onClick(t.props.index,e)},t}return G(t,e),t.prototype.render=function(){var e=this.props,t=e.selected,n=e.group,o=e.dataItem,i=e.virtual,a=e.groupMode,l=e.disabled,c=e.render,u=r.createElement("li",{id:this.props.id,role:"option","aria-selected":t,"aria-disabled":!!l||void 0,className:(0,s.A)("k-list-item",{"k-selected":t,"k-focus":this.props.focused,"k-first":Boolean(n)&&"classic"===a,"k-disabled":l}),onClick:this.handleClick,style:{position:i?"relative":"unset"}},r.createElement("span",{className:"k-list-item-text"},B(o,this.props.textField).toString()),void 0!==n&&"classic"===a?r.createElement("div",{className:"k-list-item-group-label"},n):null);return void 0!==c?c.call(void 0,u,this.props):u},t}(r.Component);const Y=$;var Z=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Z(t,e),t.prototype.render=function(){var e=this.props,t=e.group,n=e.virtual,o=e.render,i=e.isMultiColumn,a=void 0!==i&&i,s=r.createElement("li",{id:this.props.id,role:"group",className:a?"k-table-group-row":"k-list-group-item",style:a?{boxSizing:"inherit"}:{position:n?"relative":"unset"}},r.createElement("span",{className:o?void 0:a?"k-table-th":"k-list-item-text"},t));return void 0!==o?o.call(void 0,s,this.props):s},t}(r.Component);const J=X;var Q,ee=n(499),te="dropdowns.nodata",ne="dropdowns.clear",re="dropdowns.comboArrowBtnAriaLabelExpand",oe="dropdowns.comboArrowBtnAriaLabelCollapse",ie="dropdowns.dropDownListArrowBtnAriaLabel",ae="dropdowns.apply",se="dropdowns.cancel",le=((Q={})[ne]="clear",Q[te]="NO DATA FOUND.",Q[re]="expand combobox",Q[oe]="collapse combobox",Q[ie]="select",Q[ae]="Apply",Q[se]="Cancel",Q),ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ce(t,e),t.prototype.renderItems=function(){var e=this,t=this.props,n=t.textField,o=t.valueField,i=t.groupField,a=t.groupMode,s=t.isMultiColumn,l=t.optionsGuid,c=t.skip,u=void 0===c?0:c,h=t.virtual,d=t.focusedIndex,p=t.highlightSelected,f=void 0===p||p,m=t.value,v=t.data,g=t.itemRender,b=t.groupHeaderItemRender,y=Array.isArray(m),w=0;return v.map((function(t,c){var p,x,k=u+c,C=u+c+w,z=!t.disabled&&f&&(!y&&L(t,m,o)||y&&-1!==m.findIndex((function(e){return L(e,t,o)}))),_=void 0;return c>0&&void 0!==i&&(p=B(t,i),x=B(v[c-1],i),p&&x&&p!==x&&(_=p)),void 0!==_&&"modern"===a&&(w+=1),[void 0!==_&&"modern"===a&&r.createElement(J,{id:"option-".concat(l,"-").concat(C),virtual:h,key:k+"-group-item",group:_,isMultiColumn:s,render:b}),r.createElement(Y,{id:"option-".concat(l,"-").concat(void 0!==_&&"modern"===a?C+1:C),virtual:h,dataItem:t,groupMode:a,selected:z,focused:d===c,index:k,key:k,onClick:e.props.onClick,textField:n,group:_,render:g,disabled:t.disabled})]}))},t.prototype.renderNoValueElement=function(e){var t=this.props.noDataRender,n=r.createElement("div",{className:"k-nodata"},r.createElement("div",null,e.toLanguageString(te,le[te])));return t?t.call(void 0,n):n},t.prototype.render=function(){var e=(0,ee.provideLocalizationService)(this),t=this.props,n=t.id,o=t.show,i=t.wrapperCssClass,a=t.wrapperStyle,s=t.listStyle,l=t.listRef,c=t.wrapperRef,u=t.listClassName,h=void 0===u?"k-list-ul":u,d=this.renderItems();return d.length?r.createElement("div",{className:i,style:a,ref:c,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onScroll:this.props.onScroll,unselectable:"on"},r.createElement("ul",{id:n,role:"listbox","aria-hidden":!o||void 0,className:h,ref:l,style:s},d),this.props.scroller&&r.createElement("div",{className:"k-height-container"},this.props.scroller)):this.renderNoValueElement(e)},t}(r.Component);const he=ue;(0,ee.registerForLocalization)(ue);const de=function(){function e(){var e=this;this.container=null,this.scrollElement=null,this.list=null,this.containerHeight=0,this.skip=0,this.total=0,this.enabled=!1,this.pageSize=0,this.itemHeight=0,this.PageChange=null,this.prevScrollPos=0,this.listTranslate=0,this.scrollSyncing=!1,this.scrollerRef=function(t){var n=e;n.container=t,t&&(t.setAttribute("unselectable","on"),window.setTimeout(n.calcScrollElementHeight.bind(n),0))},this.calcScrollElementHeight=function(){e.scrollSyncing=!0;var t=!1;e.itemHeight=e.list?e.list.children[0].offsetHeight:e.itemHeight,e.containerHeight=Math.min(1533915,e.itemHeight*e.total);var n=e.containerHeight;return e.scrollElement&&(t=e.scrollElement.style.height!==n+"px")&&(e.scrollElement.style.height=n+"px"),e.scrollSyncing=!1,t},this.scrollHandler=this.scrollHandler.bind(this)}return Object.defineProperty(e.prototype,"translate",{get:function(){return this.listTranslate},enumerable:!1,configurable:!0}),e.prototype.changePage=function(e,t){var n=Math.min(Math.max(0,e),this.total-this.pageSize);n!==this.skip&&this.PageChange&&this.PageChange({skip:n,take:this.pageSize},t)},e.prototype.translateTo=function(e){this.listTranslate=e,this.list&&(this.list.style.transform="translateY("+e+"px)")},e.prototype.reset=function(){this.container&&(this.calcScrollElementHeight(),this.container.scrollTop=0,this.translateTo(0))},e.prototype.scrollToEnd=function(){this.container&&this.list&&(this.calcScrollElementHeight(),this.container.scrollTop=this.container.scrollHeight-this.container.offsetHeight,this.translateTo(this.container.scrollHeight))},e.prototype.localScrollUp=function(e){var t,n=this.itemHeight,r=this.container.scrollTop,o=this.listTranslate,i=r-o;if(!(i>n)){for(t=0;t<this.skip&&!(o+n+i<=r);t++)o-=n;if(o=this.validateTranslate(o),this.skip-t<=0&&o>=r)return this.translateTo(0),this.changePage(0,e),void(this.container.scrollTop=0);o!==this.listTranslate&&(this.translateTo(o),this.changePage(this.skip-t,e))}},e.prototype.localScrollDown=function(e){var t,n=this.itemHeight,r=this.container.scrollTop,o=this.listTranslate,i=this.list.children.length;for(t=0;t<i&&!(o+n>=r);t++)o+=n;o=this.validateTranslate(o),t>=i&&this.skip+t>=this.total?(this.translateTo(o),this.changePage(this.total-1,e)):o!==this.listTranslate&&(this.translateTo(o),this.changePage(this.skip+t,e))},e.prototype.scrollNonStrict=function(e){var t=this.total*this.prevScrollPos/this.containerHeight,n=Math.min(Math.floor(t),this.total-1),r=this.containerHeight*t/this.total;r=this.validateTranslate(r),this.translateTo(r),this.changePage(n,e)},e.prototype.scrollHandler=function(e){var t=this.container?this.container.scrollTop:0,n=this.prevScrollPos;this.prevScrollPos=t,this.enabled&&this.list&&this.container&&!this.scrollSyncing&&(t-n<=0&&t>this.listTranslate-this.list.scrollHeight/10?this.localScrollUp(e):t-n>0&&t<this.listTranslate+2*this.list.scrollHeight/3?this.localScrollDown(e):this.scrollNonStrict(e))},e.prototype.validateTranslate=function(e){return e=Math.max(0,e),Math.min(this.containerHeight,e)},e}();var pe=function(){function e(){}return e.prototype.navigate=function(e){var t=e.keyCode;return t===l.R.up||t===l.R.left?this.next({current:e.current,min:e.min,max:e.max,step:e.skipItems?e.skipItems:-1}):t===l.R.down||t===l.R.right?this.next({current:e.current,min:e.min,max:e.max,step:e.skipItems?e.skipItems:1}):t===l.R.home?0:t===l.R.end?e.max:void 0},e.prototype.next=function(e){return H(e.current)?Math.min(e.max,Math.max(e.current+e.step,e.min)):e.min},e}(),fe=function(){return fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},fe.apply(this,arguments)},me=function(){function e(e){var t=this;this.wrapper=null,this.list=null,this.vs=new de,this.navigation=new pe,this.handleItemClick=function(e,n){var r=t.initState();r.syntheticEvent=n,n.stopPropagation(),t.component.handleItemSelect(e,r),t.togglePopup(r),t.applyState(r)},this.handleFocus=function(e){if(!t.component.state.focused){var n=t.initState();n.data.focused=!0,n.events.push({type:"onFocus"}),n.syntheticEvent=e,t.applyState(n)}},this.filterChanged=function(e,n){var r=t.component.props,o=r.textField;r.filterable&&n.events.push({type:"onFilterChange",filter:{field:o,operator:"contains",ignoreCase:!0,value:e}})},this.togglePopup=function(e){var n=t.component.props,r=void 0!==n.opened?n.opened:t.component.state.opened;void 0===n.opened&&(e.data.opened=!r),r?e.events.push({type:"onClose"}):(e.events.push({type:"onOpen"}),t.calculatePopupWidth())},this.pageChange=function(e,n){var r=t.initState();r.syntheticEvent=n,t.triggerOnPageChange(r,e.skip,e.take),t.applyState(r)},this.scrollToVirtualItem=function(e,n){var r=t.vs;if(r.enabled=!1,0===e.skip)r.reset();else if(e.skip+e.pageSize===e.total)r.scrollToEnd();else{var o=r.translate;0===o&&(r.calcScrollElementHeight(),o=r.itemHeight*e.skip,r.translateTo(o-r.itemHeight)),r.container&&(r.container.scrollTop=o),t.scrollToItem(n,!0)}window.setTimeout((function(){return r.enabled=!0}),10)},this.scrollPopupByPageSize=function(e){var n,r,o,i,a,s,l=t.vs,c=null===(r=null===(n=t.list)||void 0===n?void 0:n.parentElement)||void 0===r?void 0:r.scrollTop,u=l.enabled&&l.itemHeight?l.itemHeight:t.list?t.list.children[0].offsetHeight:0,h=null===(i=null===(o=t.list)||void 0===o?void 0:o.parentElement)||void 0===i?void 0:i.offsetHeight;void 0!==c&&void 0!==h&&(null===(s=null===(a=t.list)||void 0===a?void 0:a.parentElement)||void 0===s||s.scroll({top:c+e*Math.floor(h/u)*u}))},this.renderScrollElement=function(){var e=t.vs;return e.enabled&&r.createElement("div",{ref:function(t){return e.scrollElement=t},key:"scrollElementKey"})},this.resetGroupStickyHeader=function(e,t){e!==t.state.group&&t.setState(fe(fe({},t.state),{group:e}))},this.listBoxId=(0,a.M)(),this.guid=(0,a.M)(),this.component=e,this.vs.PageChange=this.pageChange}return e.prototype.didMount=function(){var e=this.component.props,t=e.popupSettings||{},n=e.style||{},r=t.width,o=!0===e.opened;void 0===r&&this.calculatePopupWidth(),void 0===e.dir&&void 0===n.direction&&(this.calculateDir(),o=!0),o&&this.component.forceUpdate()},e.prototype.calculateDir=function(){var e=this.component.element;e&&e.ownerDocument&&e.ownerDocument.defaultView&&(this.dirCalculated=e.ownerDocument.defaultView.getComputedStyle(e).direction||void 0)},e.prototype.calculatePopupWidth=function(){this.wrapper&&(this.popupWidth=this.wrapper.offsetWidth+"px")},e.prototype.scrollToItem=function(e,t,n){var r=this,o=this.list||this.vs.list;if(o||n||setTimeout((function(){r.scrollToItem(e,t,!0)}),10),o&&e>=0){var i=this.vs,a=i.container||o.parentNode,s=void 0!==t?t:i.enabled;D(a,o,e,i.translate,s)}},e.prototype.initState=function(){return{data:{},events:[],syntheticEvent:void 0}},e.prototype.applyState=function(e){var t=this;Object.keys(e.data).length>0&&this.component.setState(e.data);var n={syntheticEvent:e.syntheticEvent,nativeEvent:e.syntheticEvent?e.syntheticEvent.nativeEvent:void 0,target:this.component,value:this.component.value};e.events.forEach((function(e){var r=e.type;delete e.type;var o=r&&t.component.props[r];o&&o.call(void 0,fe(fe({},n),e))}))},e.prototype.triggerOnPageChange=function(e,t,n){var r=this.component.props.virtual;if(r){var o=Math.min(Math.max(0,t),Math.max(0,r.total-n));o!==r.skip&&e.events.push({type:"onPageChange",page:{skip:o,take:n}})}},e.prototype.triggerPageChangeCornerItems=function(e,t){var n=this.component.props,r=n.data,o=void 0===r?[]:r,i=n.dataItemKey,a=n.virtual,s=void 0!==n.opened?n.opened:this.component.state.opened;e&&a&&this.vs.enabled&&(a.skip>0&&L(e,o[0],i)?this.triggerOnPageChange(t,a.skip-1,a.pageSize):!s&&a.skip+a.pageSize<a.total&&L(e,o[o.length-1],i)&&this.triggerOnPageChange(t,a.skip+1,a.pageSize))},e.prototype.getPopupSettings=function(){return Object.assign({},e.defaultProps.popupSettings,this.component.props.popupSettings)},e.prototype.getGroupedDataModernMode=function(e,t){var n=[];return e.forEach((function(r,o){var i;e[o-1]&&r[t]!==e[o-1][t]?(n.push(((i={})[t]=r[t],i)),n.push(e[o])):n.push(e[o])})),n},e.basicPropTypes={opened:o.bool,disabled:o.bool,dir:o.string,tabIndex:o.number,accessKey:o.string,data:o.array,textField:o.string,className:o.string,label:o.string,loading:o.bool,popupSettings:o.shape({animate:o.oneOfType([o.bool,o.shape({openDuration:o.number,closeDuration:o.number})]),popupClass:o.string,className:o.string,appendTo:o.any,width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number])}),onOpen:o.func,onClose:o.func,onFocus:o.func,onBlur:o.func,onChange:o.func,itemRender:o.func,listNoDataRender:o.func,focusedItemIndex:o.func,header:o.node,footer:o.node},e.propTypes=fe(fe({},e.basicPropTypes),{value:o.any,defaultValue:o.any,filterable:o.bool,filter:o.string,virtual:o.shape({pageSize:o.number.isRequired,skip:o.number.isRequired,total:o.number.isRequired}),onFilterChange:o.func,onPageChange:o.func}),e.defaultProps={popupSettings:{height:"200px"},required:!1,validityStyles:!0},e}();const ve=me;var ge=n(4006),be=n(7827),ye={name:"@progress/kendo-react-dropdowns",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700064130,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},we=n(7037),xe=500,ke=768,Ce=n(3162),ze=n(1205),_e=n(7999),Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ie=function(){return Ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ie.apply(this,arguments)},Se=i.G.sizeMap,Me=i.G.roundedMap,Oe=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n._element=null,n.base=new ve(n),n.searchState={word:"",last:""},n._select=null,n._skipFocusEvent=!1,n._filterInput=null,n._navigated=!1,n._lastKeypressIsFilter=!1,n._inputId=(0,a.M)(),n.itemHeight=0,n.focus=function(){n.base.wrapper&&n.base.wrapper.focus()},n.handleItemSelect=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.virtual,s=r.dataItemKey,l=r.defaultItem,c=a?a.skip:0,u=-1===e&&void 0!==l?l:i[e-c],h=!L(u,n.value,s);n.triggerOnChange(u,t),h&&n.base.triggerPageChangeCornerItems(u,t)},n.componentRef=function(e){n._element=e,n.base.wrapper=e},n.dummySelect=function(e){return r.createElement("select",{name:n.props.name,ref:function(e){n._select=e},tabIndex:-1,"aria-hidden":!0,title:n.props.label,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},r.createElement("option",{value:n.props.valueMap?n.props.valueMap.call(void 0,e):e}))},n.renderListContainer=function(){var e,t=n.props,o=t.header,i=t.footer,a=t.dir,l=t.data,c=void 0===l?[]:l,u=t.size,h=t.groupField,d=t.groupStickyHeaderItemRender,p=t.list,f=n.base,m=f.getPopupSettings(),v=void 0!==n.props.opened?n.props.opened:n.state.opened,g=void 0!==m.width?m.width:f.popupWidth,b={dir:void 0!==a?a:f.dirCalculated,width:g,popupSettings:{popupClass:(0,s.A)(m.popupClass,"k-list-container","k-dropdownlist-popup"),className:m.className,animate:m.animate,anchor:n.element,show:v,onOpen:n.onPopupOpened,onClose:n.onPopupClosed,appendTo:m.appendTo},itemsCount:[c.length]},y=n.state.group;return void 0===y&&void 0!==h&&(y=B(c[0],h)),r.createElement(C,Ie({},b),n.renderListFilter(),o&&r.createElement("div",{className:"k-list-header"},o),r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(Se[u]||u)]=u,e["k-virtual-list"]=n.base.vs.enabled,e))},n.renderDefaultItem(),!p&&y&&0!==c.length&&r.createElement(R,{group:y,groupMode:"modern",render:d}),n.renderList()),i&&r.createElement("div",{className:"k-list-footer"},i))},n.renderList=function(){var e=n.props,t=e.data,o=void 0===t?[]:t,i=e.textField,a=e.dataItemKey,s=e.virtual,l=void 0===s?{skip:0}:s,c=e.groupHeaderItemRender,u=e.listNoDataRender,h=e.itemRender,d=n.base.vs,p=l.skip,f=void 0!==n.props.opened?n.props.opened:n.state.opened,m=n.base.getPopupSettings(),v="translateY(".concat(d.translate,"px)");return r.createElement(he,{id:n.base.listBoxId,show:f,data:o.slice(),focusedIndex:n.getFocusedIndex(),value:n.value,textField:i,valueField:a,optionsGuid:n.base.guid,groupField:n.props.groupField,groupMode:"modern",listRef:function(e){return d.list=n.base.list=e},wrapperStyle:{maxHeight:m.height},wrapperCssClass:"k-list-content",listStyle:d.enabled?{transform:v}:void 0,key:"listkey",skip:p,onClick:n.handleItemClick,itemRender:h,groupHeaderItemRender:c,noDataRender:u,onScroll:n.onScroll,wrapperRef:d.scrollerRef,scroller:n.base.renderScrollElement()})},n.onScroll=function(e){var t=n.base,r=t.vs,o=t.list;r.scrollHandler(e);var i=n.props.groupField,a=n.props.data,s=void 0===a?[]:a;if(i&&s.length&&i){for(var l=n.itemHeight=n.itemHeight||(r.enabled?r.itemHeight:o?o.children[0].offsetHeight:0),c=e.target.scrollTop-r.skip*l,u=(s=n.base.getGroupedDataModernMode(s,i))[0][i],h=1;h<s.length&&!(l*h>c);h++)s[h]&&s[h][i]&&(u=s[h][i]);u!==n.state.group&&n.setState({group:u})}},n.renderListFilter=function(){var e=void 0!==n.props.filter?n.props.filter:n.state.text;return n.props.filterable&&r.createElement(S,{value:e,ref:function(e){return n._filterInput=e&&e.element},onChange:n.handleListFilterChange,onKeyDown:n.handleKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode})},n.renderDefaultItem=function(){var e=n.props,t=e.textField,o=e.defaultItem,i=e.dataItemKey;return void 0!==o&&r.createElement(q,{defaultItem:o,textField:t,selected:L(n.value,o,i),key:"defaultitemkey",onClick:n.handleDefaultItemClick})},n.search=function(e){clearTimeout(n._typingTimeout),n.props.filterable||(n._typingTimeout=window.setTimeout((function(){return n.searchState.word=""}),n.props.delay),n.selectNext(e))},n.selectNext=function(e){var t,r=n.props,o=r.data,i=void 0===o?[]:o,a=r.dataItemKey,s=i.map((function(e,t){return{item:e,itemIndex:t}})),l=n.searchState.word,c=n.searchState.last,u=function(e,t){for(var n=0;n<e.length;n++)if(e.charAt(n)!==t)return!1;return!0}(l,c),h=s.length,d=Math.max(0,i.findIndex((function(e){return L(e,n.value,a)})));n.props.defaultItem&&(t={item:n.props.defaultItem,itemIndex:-1},h+=1,d+=1),s=function(e,t,n){var r=e;return n&&(r=[n].concat(r)),r.slice(t).concat(r.slice(0,t))}(s,d+=u?1:0,t);for(var p,f,m,v=0,g=n.props,b=g.textField,y=g.ignoreCase;v<h;v++)if(p=B(s[v].item,b),f=u&&F(p,c,y),m=F(p,l,y),f||m){v=s[v].itemIndex;break}if(v!==h){var w=n.base.initState();w.syntheticEvent=e,n.handleItemSelect(v,w),n.applyState(w),n._valueDuringOnChange=void 0}},n.handleKeyDown=function(e){e&&e.target instanceof Element&&"INPUT"===e.target.nodeName&&e.stopPropagation&&e.stopPropagation();var t=n.props,r=t.data,o=void 0===r?[]:r,i=t.filterable,a=t.disabled,s=t.defaultItem,c=t.leftRightKeysNavigation,u=void 0===c||c,h=t.virtual,d=void 0===h?{skip:0,total:0,pageSize:0}:h,p=t.dataItemKey,f=t.groupField,m=void 0===f?"":f,v=t.textField,g=t.skipDisabledItems,b=void 0===g||g,y=n.value,w=o.findIndex((function(e){return L(e,y,p)})),x=void 0!==n.props.opened?n.props.opened:n.state.opened,k=e.keyCode,C=k===l.R.home||k===l.R.end,z=k===l.R.up||k===l.R.down,_=!x&&(e.altKey&&k===l.R.down||k===l.R.enter||k===l.R.space),E=x&&(e.altKey&&k===l.R.up||k===l.R.esc),I=u&&(k===l.R.left||k===l.R.right),S=z||I&&!i||C,M=n.base.initState();if(M.syntheticEvent=e,!a){if(C&&n.base.vs.enabled)k===l.R.home?0!==d.skip?(n.base.triggerOnPageChange(M,0,d.pageSize),n._navigated=!0):n.triggerOnChange(o[0],M):d.skip<d.total-d.pageSize?(n.base.triggerOnPageChange(M,d.total-d.pageSize,d.pageSize),n._navigated=!0):n.triggerOnChange(o[o.length-1],M);else if(x&&k===l.R.pageUp)n.base.scrollPopupByPageSize(-1);else if(x&&k===l.R.pageDown)n.base.scrollPopupByPageSize(1);else if(x&&k===l.R.enter){var O=n.getFocusedIndex();n.haveFocusedItemAndDataNotEmpty(o,O)?(n.triggerOnChange(null,M),n.applyState(M)):n.handleItemSelect(O,M),n.base.togglePopup(M),e.preventDefault()}else if(_||E)E&&n.resetValueIfDisabledItem(),n.base.togglePopup(M),e.preventDefault();else if(S){if(n._lastKeypressIsFilter=!1,""!==m&&v)if(!b&&x)n.onNavigate(M,k);else{var R=void 0;if(k===l.R.down||k===l.R.right){var H=o.slice(w+1).find((function(e){return!e.disabled&&e[v]}));R=H&&o.findIndex((function(e){return e[v]===H[v]}))}else if(k===l.R.up||k===l.R.left){var F=void 0;if(0===w&&s)R=-1;else if(-1===w)F=o,R=o.findIndex((function(e){return!e.disabled&&e[v]}));else{for(var D=(F=o.slice(0,w)).pop();D&&D.disabled;)D=F.pop();R=D&&o.findIndex((function(e){return e[v]===D[v]}))}}if(void 0!==R){var A=R-w;n.onNavigate(M,k,A)}else void 0===R&&o.findIndex((function(e){return e[v]===y[v]}))===o.length-1&&n.onNavigate(M,k)}else if(!b&&x||C)n.onNavigate(M,k);else if(v){if(R=void 0,k===l.R.down||k===l.R.right){var V=o.slice(w+1).find((function(e){return!e.disabled&&e[v]}));R=V&&o.findIndex((function(e){return e[v]===V[v]}))}else if(k===l.R.up||k===l.R.left){var B=void 0;if(0===w&&s)R=-1;else if(-1===w)B=o,R=o.find((function(e){return!e.disabled&&e[v]}));else{for(var N=(B=o.slice(0,w)).pop();N&&N.disabled;)N=B.pop();R=N&&o.findIndex((function(e){return e[v]===N[v]}))}}void 0!==R?(A=R-w,n.onNavigate(M,k,A)):void 0===R&&o.findIndex((function(e){return e[v]===y[v]}))===o.length-1&&n.onNavigate(M,k)}else n.onNavigate(M,k);e.preventDefault()}n.applyState(M)}},n.handleItemClick=function(e,t){n.base.handleItemClick(e,t),n._valueDuringOnChange=void 0},n.handleFocus=function(e){n._skipFocusEvent||n.base.handleFocus(e)},n.handleBlur=function(e){if(!n._skipFocusEvent&&n.state.focused){var t=void 0!==n.props.opened?n.props.opened:n.state.opened,r=n.props.adaptive,o=n.state.windowWidth,i=(void 0===o?0:o)<=ke&&r,a=n.base.initState();a.syntheticEvent=e,a.data.focused=!1,a.events.push({type:"onBlur"}),t&&n.resetValueIfDisabledItem(),t&&!i&&n.base.togglePopup(a),n.applyState(a)}},n.handleDefaultItemClick=function(e){var t=n.base.initState();t.syntheticEvent=e,n.base.togglePopup(t),n.triggerOnChange(n.props.defaultItem,t),n.applyState(t)},n.handleWrapperClick=function(e){if(!e.isPropagationStopped()){var t=n.base.initState();t.syntheticEvent=e,n.state.focused||(t.data.focused=!0),n.resetValueIfDisabledItem(),n.base.togglePopup(t),n.applyState(t)}},n.handleKeyPress=function(e){if(!n.props.filterable&&0!==e.which&&e.keyCode!==l.R.enter){var t=String.fromCharCode(e.charCode||e.keyCode);n.props.ignoreCase&&(t=t.toLowerCase())," "===t&&e.preventDefault(),n.searchState={word:n.searchState.word+t,last:n.searchState.last+t},n.search(e)}},n.handleListFilterChange=function(e){var t=n.base.initState();t.syntheticEvent=e.syntheticEvent,void 0===n.props.filter&&(t.data.text=e.target.value),n.base.filterChanged(e.target.value,t),n._lastKeypressIsFilter=!0,n.applyState(t),n.setState({group:void 0})},n.onPopupOpened=function(){n._filterInput&&n.focusElement(n._filterInput),n.props.adaptive&&setTimeout((function(){n._filterInput&&n.focusElement(n._filterInput)}),300)},n.onPopupClosed=function(){n.state.focused&&window.setTimeout((function(){n.state.focused&&n.base.wrapper&&n.focusElement(n.base.wrapper)}))},n.setValidity=function(){n._select&&n._select.setCustomValidity&&n._select.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please select a value from the list!")},(0,ge.s)(ye),n}return Ee(t,e),Object.defineProperty(t.prototype,"document",{get:function(){if(be.N)return this.element&&this.element.ownerDocument||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var e;return void 0!==this._valueDuringOnChange?e=this._valueDuringOnChange:void 0!==this.props.value?e=this.props.value:void 0!==this.state.value?e=this.state.value:void 0!==this.props.defaultValue&&(e=this.props.defaultValue),H(e)||void 0===this.props.defaultItem||(e=this.props.defaultItem),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var e=this.props,t=e.data,n=void 0===t?[]:t,r=e.dataItemKey,o=this.value;return n.findIndex((function(e){return L(e,o,r)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.dataItemKey,i=r.virtual,a=r.groupField,s=void 0===a?"":a,l=r.textField,c=this.props.data,u=void 0===c?[]:c,h=e.virtual?e.virtual.total:0,d=void 0!==this.props.opened?this.props.opened:this.state.opened,p=void 0!==e.opened?e.opened:t.opened,f=!p&&d;if(this.base.getPopupSettings().animate||f&&this.onPopupOpened(),i&&i.total!==h)this.base.vs.calcScrollElementHeight(),this.base.vs.reset();else{var m=this.value,v=void 0!==e.value?e.value:t.value,g=u.findIndex((function(e){return L(e,m,o)}));""!==s&&m&&l&&(g=null===(n=this.base.getGroupedDataModernMode(u,s))||void 0===n?void 0:n.map((function(e){return e[l]})).indexOf(m[l]));var b=!L(v,m,o);f&&i?this.base.scrollToVirtualItem(i,g):f&&!i?(this.onPopupOpened(),u&&0!==u.length&&this.base.resetGroupStickyHeader(u[0][s],this),this.base.scrollToItem(g)):d&&p&&m&&b&&!this._navigated?this.base.scrollToItem(g):d&&p&&this._navigated&&(this._navigated&&i&&0===i.skip?this.base.vs.reset():this._navigated&&i&&i.skip===i.total-i.pageSize&&this.base.vs.scrollToEnd())}this._navigated=!1,this.setValidity()},t.prototype.componentDidMount=function(){var e;this.observerResize=be.N&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.base.didMount(),this.setValidity(),(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.observe(this.document.body)},t.prototype.componentWillUnmount=function(){var e;(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.disconnect()},t.prototype.render=function(){var e,t=this,n=(0,ee.provideLocalizationService)(this).toLanguageString(ie,le[ie]),o=this.props,i=o.style,a=o.className,l=o.label,h=o.dir,d=o.virtual,m=o.size,v=o.rounded,g=o.fillMode,b=o.adaptive,y=this.state.windowWidth,w=void 0===y?0:y,x=void 0!==this.props.opened?this.props.opened:this.state.opened,k=this.value,C=B(k,this.props.textField),z=!this.validityStyles||this.validity.valid,_=this.base,E=_.vs,I=w<=ke&&b;E.enabled=void 0!==d,void 0!==d&&(_.vs.skip=d.skip,_.vs.total=d.total,_.vs.pageSize=d.pageSize);var S=this.props,M=S.dataItemKey,O=S.data,R=void 0===O?[]:O,H=S.disabled,F=S.tabIndex,D=S.loading,A=S.iconClassName,V=S.valueRender,N=this.state.focused,P=R.findIndex((function(e){return L(e,k,M)})),T=r.createElement("span",{id:this._inputId,className:"k-input-inner"},r.createElement("span",{className:"k-input-value-text"},C)),j=void 0!==V?V.call(void 0,T,k):T,U=r.createElement(r.Fragment,null,r.createElement("span",{ref:this.componentRef,className:(0,s.A)("k-dropdownlist k-picker",a,(e={},e["k-picker-".concat(Se[m]||m)]=m,e["k-rounded-".concat(Me[v]||v)]=v,e["k-picker-".concat(g)]=g,e["k-focus"]=N,e["k-disabled"]=H,e["k-invalid"]=!z,e["k-loading"]=D,e["k-required"]=this.required,e)),style:l?Ie(Ie({},i),{width:void 0}):i,dir:h,onMouseDown:x?function(e){"INPUT"!==e.target.nodeName&&(t.focusElement(t.base.wrapper),e.preventDefault())}:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:(0,c.p)(F,H),accessKey:this.props.accessKey,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onClick:H?void 0:this.handleWrapperClick,role:"combobox","aria-required":this.required,"aria-disabled":H||void 0,"aria-haspopup":"listbox","aria-expanded":x||!1,"aria-owns":this.base.listBoxId,"aria-activedescendant":x?"option-"+this.base.guid+"-"+(P+(d?d.skip:0)):void 0,"aria-label":this.props.ariaLabel||this.props.label,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy||this._inputId,id:this.props.id,title:this.props.title},j,D&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),r.createElement(we.z,{tabIndex:-1,type:"button","aria-label":n,"aria-hidden":!0,size:m,fillMode:g,iconClass:A,className:"k-input-button",rounded:null,themeColor:"base",icon:A?void 0:"caret-alt-down",svgIcon:A?this.props.svgIcon:f,onMouseDown:function(e){return t.state.focused&&e.preventDefault()}}),this.dummySelect(k),!I&&this.renderListContainer()),I&&this.renderAdaptiveListContainer());return l?r.createElement(p._,{label:l,editorValue:C,editorValid:z,editorDisabled:this.props.disabled,style:{width:i?i.width:void 0},children:U}):U},t.prototype.onNavigate=function(e,t,n){var r=this.props,o=r.data,i=void 0===o?[]:o,a=r.defaultItem,s=r.dataItemKey,l=r.virtual,c=void 0===l?{skip:0,total:0,pageSize:0}:l,u=this.base.vs,h=this.value,d=i.findIndex((function(e){return L(e,h,s)})),p=this.base.navigation.navigate({current:c.skip+d,max:(u.enabled?c.total:i.length)-1,min:void 0!==a?-1:0,keyCode:t,skipItems:n||void 0});void 0!==p&&this.handleItemSelect(p,e),this.applyState(e)},t.prototype.renderAdaptiveListContainer=function(){var e,t=this,n=this.state.windowWidth,o=void 0===n?0:n,i=this.props,a=i.header,l=i.footer,c=i.size,u=i.adaptiveTitle,h=i.groupField,d=i.groupStickyHeaderItemRender,p=i.list,f=i.data,v=void 0===f?[]:f,g={navigatable:!1,navigatableElements:[],expand:void 0!==this.props.opened?this.props.opened:this.state.opened,animation:!0,onClose:function(e){return t.handleWrapperClick(e)},animationStyles:o<=xe?{top:0,width:"100%",height:"100%"}:void 0,className:o<=xe?"k-adaptive-actionsheet k-actionsheet-fullscreen":"k-adaptive-actionsheet k-actionsheet-bottom"},b=this.state.group;return void 0===b&&void 0!==h&&(b=B(v[0],h)),r.createElement(r.Fragment,null,r.createElement(Ce.V,Ie({},g),r.createElement(ze.n,{className:"k-text-center"},r.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},r.createElement("div",{className:"k-actionsheet-title"},r.createElement("div",null,u)),r.createElement("div",{className:"k-actionsheet-actions"},r.createElement(we.z,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",onClick:this.handleWrapperClick,icon:"x",svgIcon:m}))),r.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},this.renderListFilter())),r.createElement(_e.M,{className:"!k-overflow-hidden"},a&&r.createElement("div",{className:"k-list-header"},a),r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(Se[c]||c)]=c,e["k-virtual-list"]=this.base.vs.enabled,e))},this.renderDefaultItem(),!p&&b&&0!==v.length&&r.createElement(R,{group:b,groupMode:"modern",render:d}),this.renderList()),l&&r.createElement("div",{className:"k-list-footer"},l))))},t.prototype.getFocusedIndex=function(){var e=this.value,t=this.props,n=t.data,r=void 0===n?[]:n,o=t.textField,i=t.dataItemKey,a=t.virtual,s=void 0===a?{skip:0}:a,l=t.focusedItemIndex,c=void 0===l?A:l,u=t.filterable,h=t.skipDisabledItems,d=void 0===h||h,p=this.props.filter?this.props.filter:this.state.text;return d&&o&&!p&&!e?r.findIndex((function(e){return!e.disabled&&e[o]})):H(e)&&void 0===p||u&&""===p?r.findIndex((function(t){return L(t,e,i)})):p?this._lastKeypressIsFilter?c(r,p,o):r.findIndex((function(t){return L(t,e,i)})):0===s.skip?0:-1},t.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout((function(){return t._skipFocusEvent=!1}),30)},t.prototype.triggerOnChange=function(e,t){L(this.value,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},t.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},t.prototype.calculateMedia=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.setState({windowWidth:r.target.clientWidth})}},t.prototype.resetValueIfDisabledItem=function(){var e=this.props.data,t=void 0===e?[]:e,n=this.base.initState(),r=this.getFocusedIndex();this.haveFocusedItemAndDataNotEmpty(t,r)&&(this.triggerOnChange(null,n),this.applyState(n))},t.prototype.haveFocusedItemAndDataNotEmpty=function(e,t){return void 0!==t&&-1!==t&&e&&e.length>0&&e[t].disabled},t.displayName="DropDownList",t.propTypes=Ie({delay:o.number,ignoreCase:o.bool,iconClassName:o.string,svgIcon:h.wi,defaultItem:o.any,valueRender:o.func,valueMap:o.func,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string,leftRightKeysNavigation:o.bool,title:o.string,groupField:o.string,list:o.any,skipDisabledItems:o.bool},ve.propTypes),t.defaultProps=Ie(Ie({delay:500,tabIndex:0,ignoreCase:!0},ve.defaultProps),{required:!1,size:"medium",rounded:"medium",fillMode:"solid",groupMode:"modern"}),t}(r.Component),Re=(0,d.Y)(),He=(0,d.u)(Re,Oe);He.displayName="KendoReactDropDownList";var Fe=n(3769),De=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._input=null,t}return De(t,e),Object.defineProperty(t.prototype,"input",{get:function(){return this._input},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=e.value,n=e.suggestedText,r=this.props,o=r.value,i=r.suggestedText,a=r.focused,s=this.input,l=t!==o||i!==n,c=l&&t.startsWith(o)&&!(n&&i&&n.endsWith(i)),u=(0,Fe.v)(document);a&&s&&u!==s&&s.focus(),i&&l&&!c&&s&&s.setSelectionRange(o.length-i.length,o.length)},t.prototype.render=function(){var e=this,t=this.props,n=t.expanded,o=void 0!==n&&n,i=t.disabled,a=t.role,s=void 0===a?"listbox":a,l=t.render,c=r.createElement("input",{autoComplete:"off",id:this.props.id,type:"text",key:"searchbar",size:this.props.size,placeholder:this.props.placeholder,className:"k-input-inner",tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,role:s,name:this.props.name,value:this.props.value,onChange:this.props.onChange,ref:function(t){return e._input=t},onKeyDown:this.props.onKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur,onClick:this.props.onClick,"aria-disabled":i||void 0,disabled:i||void 0,readOnly:this.props.readOnly||void 0,title:this.props.title,"aria-haspopup":"listbox","aria-expanded":o,"aria-owns":this.props.owns,"aria-activedescendant":o?this.props.activedescendant:void 0,"aria-describedby":this.props.ariaDescribedBy,"aria-labelledby":this.props.ariaLabelledBy,"aria-required":this.props.ariaRequired});return l?l.call(void 0,c):c},t}(r.Component);const Ve=Ae;var Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){return e.preventDefault()},t}return Be(t,e),t.prototype.render=function(){var e=(0,ee.provideLocalizationService)(this).toLanguageString(ne,le[ne]);return r.createElement("span",{className:"k-clear-value",role:"button",onClick:this.props.onClick,onMouseDown:this.onMouseDown,tabIndex:-1,title:e,key:"clearbutton"},r.createElement(u.a,{name:"x",icon:m}))},t}(r.Component);const Le=Ne;(0,ee.registerForLocalization)(Ne);var Pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Te=function(){return Te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Te.apply(this,arguments)},je=i.G.sizeMap,Ue=i.G.roundedMap,We=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n.base=new ve(n),n._element=null,n._inputId=(0,a.M)(),n._suggested="",n._skipBlur=!1,n._input=null,n._adaptiveFilterInput=null,n.itemHeight=0,n.focus=function(){n._input&&n._input.focus()},n.handleItemSelect=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.virtual,s=r.dataItemKey,l=i[e-(a?a.skip:0)],c=!L(l,n.value,s);n.triggerOnChange(l,t),void 0!==n.state.text&&(t.data.text=void 0),c&&n.base.triggerPageChangeCornerItems(l,t)},n.onPopupOpened=function(){setTimeout((function(){n.mobileMode&&n._adaptiveFilterInput&&(n._skipBlur=!0,n._adaptiveFilterInput.focus(),n._skipBlur=!1)}),300)},n.componentRef=function(e){n._element=e,n.base.wrapper=e},n.toggleBtnClick=function(e){var t=n.props,r=t.data,o=void 0===r?[]:r,i=t.skipDisabledItems,a=t.textField,s=n.getFocusedIndex(),l=n.getCurrentValueDisabledStatus(a,o,s),c=void 0!==n.props.opened?n.props.opened:n.state.opened,u=n.base.initState();if(u.syntheticEvent=e,!i&&a&&l&&n.clearValueOnToggleBtnClick(e),n.base.togglePopup(u),!c&&n.mobileMode){var h=void 0!==n.props.adaptiveFilter?n.props.adaptiveFilter:n.state.text||null;n.base.filterChanged(h,u)}n.applyState(u)},n.renderMobileListFilter=function(){var e=void 0!==n.props.adaptiveFilter?n.props.adaptiveFilter:n.state.text,t=B(n.value,n.props.textField),o=H(e)?e:t;return r.createElement(S,{value:o,ref:function(e){return n._adaptiveFilterInput=e&&e.element},onChange:n.handleMobileFilterChange,onKeyDown:n.onInputKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode})},n.handleMobileFilterChange=function(e){var t=n.base.initState();t.syntheticEvent=e.syntheticEvent,t.data.text=e.target.value,n.base.filterChanged(e.target.value,t),n.applyState(t)},n.onScroll=function(e){var t=n.base,r=t.vs,o=t.list;r.scrollHandler(e);var i=n.props.groupField,a=n.props.data,s=void 0===a?[]:a;if(i&&s.length){var l=n.itemHeight=n.itemHeight||(r.enabled?r.itemHeight:o?o.children[0].offsetHeight:0),c=e.target.scrollTop-r.skip*l;"modern"===n.props.groupMode&&(s=n.base.getGroupedDataModernMode(s,i));for(var u=s[0][i],h=1;h<s.length&&!(l*h>c);h++)s[h]&&s[h][i]&&(u=s[h][i]);u!==n.state.group&&(n.setState({group:u}),n.props.onGroupScroll&&n.props.onGroupScroll.call(void 0,{group:u}))}},n.handleItemClick=function(e,t){n.base.handleItemClick(e,t),n._valueDuringOnChange=void 0},n.handleBlur=function(e){if(n.state.focused&&!n._skipBlur){var t=n.base.initState(),r=n.props,o=r.textField,i=r.data,a=void 0===i?[]:i,s=n.getFocusedIndex(),l=!(-1===s)&&n.getCurrentValueDisabledStatus(o,a,s);t.data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,o&&l&&n.clearValueOnBlur(e),n.applyValueOnRejectSuggestions(e.currentTarget.value,t)}},n.onInputClick=function(e){var t=void 0!==n.props.opened?n.props.opened:n.state.opened,r=void 0!==n.props.adaptiveFilter?n.props.adaptiveFilter:n.state.text||null;if(!t&&n.mobileMode){var o=n.base.initState();o.syntheticEvent=e,n.base.togglePopup(o),n.base.filterChanged(r,o),n.applyState(o)}},n.onInputKeyDown=function(e){var t=n.props,r=t.data,o=void 0===r?[]:r,i=t.skipDisabledItems,a=t.textField,s=t.dataItemKey,c=t.groupField,u=n.value,h=Math.max(0,o.findIndex((function(e){return L(e,u,s)}))),d=e.keyCode,p=void 0!==n.props.opened?n.props.opened:n.state.opened,f=n.base.initState();if(f.syntheticEvent=e,!e.altKey&&(d===l.R.up||d===l.R.down)){if(e.preventDefault(),""!==c&&a)if(!n.props.skipDisabledItems&&p)n.onNavigate(f,d);else{var m=0;if(d===l.R.down||d===l.R.right){var v=o.slice(h+1).find((function(e){return!e.disabled&&e[a]}));m=v&&o.findIndex((function(e){return e[a]===v[a]}))}else if(d===l.R.up||d===l.R.left){var g=void 0;if(0===h)g=o,m=o.findIndex((function(e){return!e.disabled&&e[a]}));else{for(var b=(g=o.slice(0,h)).pop();b&&b.disabled;)b=g.pop();m=b&&o.findIndex((function(e){return e[a]===b[a]}))}}if(void 0!==m){var y=m-h;n.onNavigate(f,d,y)}else void 0===m&&o.findIndex((function(e){return e[a]===u[a]}))===o.length-1&&n.onNavigate(f,d)}else if(!n.props.skipDisabledItems&&p)n.onNavigate(f,d);else{if(m=null,d===l.R.down||d===l.R.right)m=o.slice(h+1).find((function(e){return!e.disabled}));else if(d===l.R.up||d===l.R.left){var w=o.slice(0,h);for(m=w.pop();m&&m.disabled;)m=w.pop()}m?(y=m.id-h-1,n.onNavigate(f,d,y)):n.onNavigate(f,d)}n.applyState(f)}var x=function(){e.preventDefault(),n.base.togglePopup(f),n.applyState(f)},k=n.getFocusedIndex(),C=-1===k,z=!C&&n.getCurrentValueDisabledStatus(a,o,k);p?d===l.R.pageUp?n.base.scrollPopupByPageSize(-1):d===l.R.pageDown?n.base.scrollPopupByPageSize(1):e.altKey&&d===l.R.up?x():d===l.R.enter?(e.preventDefault(),(a&&!C&&e.currentTarget.value?o[k][a]:void 0)?!i&&a&&z?n.clearValueOnEnterOrEsc(e):z||n.applyValueOnEnter(e.currentTarget.value,f):n.applyValueOnEnter(e.currentTarget.value,f)):d===l.R.esc&&(!i&&a&&z&&n.clearValueOnEnterOrEsc(e),n.applyValueOnRejectSuggestions(e.currentTarget.value,f)):p||d!==l.R.esc?e.altKey&&d===l.R.down&&x():n.clearValueOnEnterOrEsc(e)},n.inputOnChange=function(e){var t=n.base.initState();t.syntheticEvent=e;var r=void 0!==n.props.opened?n.props.opened:n.state.opened,o=e.currentTarget,i=o.value;if(n.props.suggest){var a=o.selectionEnd===i.length,s=void 0!==n.props.filter?n.props.filter:n.state.text;H(s)||(s=B(n.value,n.props.textField)||"");var l=s&&s===i,c=s&&s.length>i.length;l||c||!a?n._suggested="":n.suggestValue(i)}void 0===n.props.filter&&(t.data.text=i),void 0!==n.state.focusedItem&&(t.data.focusedItem=void 0),r||n.base.togglePopup(t),n.base.filterChanged(i,t),n.applyState(t),n.setState({group:void 0})},n.clearButtonClick=function(e){n.base.initState().syntheticEvent=e,e.stopPropagation(),n.clearValue()},n.clearValueOnEnterOrEsc=function(e){n.base.initState().syntheticEvent=e,e.stopPropagation(),n.clearValue()},n.clearValueOnBlur=function(e){n.base.initState().syntheticEvent=e,e.stopPropagation(),n.clearValue()},n.clearValueOnToggleBtnClick=function(e){n.base.initState().syntheticEvent=e,e.stopPropagation(),n.clearValue()},n.setValidity=function(){n._input&&n._input.setCustomValidity&&n._input.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please enter a valid value!")},(0,ge.s)(ye),n}return Pe(t,e),Object.defineProperty(t.prototype,"document",{get:function(){if(be.N)return this.element&&this.element.ownerDocument||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mobileMode",{get:function(){return!!(this.state.windowWidth&&this.state.windowWidth<=ke&&this.props.adaptive)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var e=this.props,t=e.data,n=void 0===t?[]:t,r=e.dataItemKey,o=this.value;return n.findIndex((function(e){return L(e,o,r)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.dataItemKey,i=r.virtual,a=r.groupField,s=void 0===a?"":a,l=r.data,c=void 0===l?[]:l,u=r.textField,h=e.virtual?e.virtual.total:0,d=void 0!==this.props.opened?this.props.opened:this.state.opened,p=void 0!==e.opened?e.opened:t.opened,f=!p&&d,m=this.value;if(this._valueOnDidUpdate=m,i&&i.total!==h)this.base.vs.calcScrollElementHeight(),this.base.vs.reset();else{var v=void 0!==e.value?e.value:t.value,g=c.findIndex((function(e){return L(e,m,o)}));"modern"===this.props.groupMode&&u&&m&&(g=null===(n=this.base.getGroupedDataModernMode(c,s))||void 0===n?void 0:n.map((function(e){return e[u]})).indexOf(m[u]));var b=!L(v,m,o);f&&i?this.base.scrollToVirtualItem(i,g):f&&!i?(this.onPopupOpened(),c&&0!==c.length&&this.base.resetGroupStickyHeader(c[0][s],this),this.base.scrollToItem(g)):d&&p&&m&&b&&this.base.scrollToItem(g)}f&&this._input&&this._input.focus(),this.setValidity()},t.prototype.componentDidMount=function(){var e;this.observerResize=be.N&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.base.didMount(),this.setValidity(),(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.observe(this.document.body)},t.prototype.componentWillUnmount=function(){var e;(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.disconnect()},t.prototype.render=function(){var e,n=(0,ee.provideLocalizationService)(this).toLanguageString(re,le[re]),o=(0,ee.provideLocalizationService)(this).toLanguageString(oe,le[oe]),i=this.props,a=i.dir,l=i.disabled,c=i.clearButton,h=void 0===c?t.defaultProps.clearButton:c,d=i.label,m=i.textField,v=i.adaptive,g=i.className,b=i.style,y=i.loading,w=i.iconClassName,x=i.virtual,k=i.size,C=i.rounded,z=i.fillMode,_=i.opened,E=void 0===_?this.state.opened:_,I=i.placeholder,S=this.state.windowWidth,M=void 0===S?0:S,O=!this.validityStyles||this.validity.valid,R=void 0!==this.props.filter?this.props.filter:this.state.text,F=B(this.value,m),D=H(R)?R:F,A=h&&(!!D||H(this.value)),V=this.base.vs,N=this.props.id||this._inputId,L=M<=ke&&v;V.enabled=void 0!==x,void 0!==x&&(V.skip=x.skip,V.total=x.total,V.pageSize=x.pageSize);var P=r.createElement(r.Fragment,null,r.createElement("span",{className:(0,s.A)("k-combobox k-input",(e={},e["k-input-".concat(je[k]||k)]=k,e["k-rounded-".concat(Ue[C]||C)]=C,e["k-input-".concat(z)]=z,e["k-invalid"]=!O,e["k-loading"]=y,e["k-required"]=this.required,e["k-disabled"]=l,e),g),ref:this.componentRef,style:d?Te(Te({},b),{width:void 0}):b,dir:a},this.renderSearchBar(D||"",N,I),A&&!y&&r.createElement(Le,{onClick:this.clearButtonClick,key:"clearbutton"}),y&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading",key:"loading"}),r.createElement(we.z,{tabIndex:-1,type:"button","aria-label":E?o:n,icon:w?void 0:"caret-alt-down",svgIcon:w?this.props.svgIcon:f,iconClass:w,size:k,fillMode:z,rounded:null,themeColor:"base",className:"k-input-button",onClick:this.toggleBtnClick,onMouseDown:function(e){return e.preventDefault()}}),!L&&this.renderListContainer()),L&&this.renderAdaptiveListContainer());return d?r.createElement(p._,{label:d,editorId:N,editorValue:D,editorValid:O,editorDisabled:l,style:{width:b?b.width:void 0},children:P}):P},t.prototype.onNavigate=function(e,t,n){var r=this.props,o=r.data,i=void 0===o?[]:o,a=r.virtual,s=void 0===a?{skip:0}:a,l=this.props.filter?this.props.filter:this.state.text,c=this.getFocusedIndex(),u=this.base.vs,h=this.value;if(this._suggested="",-1===c||H(h))if(""===l)this.handleItemSelect(0,e);else{var d=s.skip+c,p=this.base.navigation.navigate({keyCode:t,current:d,max:(u.enabled?u.total:i.length)-1,min:0,skipItems:n||void 0});void 0!==p&&this.handleItemSelect(p,e)}else this.handleItemSelect(c,e)},t.prototype.getCurrentValueDisabledStatus=function(e,t,n){return e&&t&&t[n]&&t[n].disabled},t.prototype.applyValueOnEnter=function(e,t){var n,r=this.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=r.allowCustom,l=void 0!==this.props.opened?this.props.opened:this.state.opened,c=B(this.value,a)===e?this.index:V(i,e,a),u=-1!==c,h=void 0;if(this._suggested="",u)h=i[c];else{if(!s)return this.selectFocusedItem(e,t);h=void 0!==a?((n={})[a]=e,n):e}this.triggerOnChange(h,t),l&&this.base.togglePopup(t),void 0===this.props.filter&&void 0!==this.state.text&&(t.data.text=void 0),this.applyState(t)},t.prototype.applyValueOnRejectSuggestions=function(e,t){var n,r=this.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=r.allowCustom,l=void 0!==this.props.opened?this.props.opened:this.state.opened,c=B(this.value,a),u=this.state.windowWidth&&this.state.windowWidth<=ke;if(this._suggested="",e===c||""===e&&!H(c))return l&&!u&&this.base.togglePopup(t),this.applyState(t);var h=V(i,e,a,!0),d=null;-1!==h?d=i[h]:s&&(d=e?a?((n={})[a]=e,n):e:null),this.triggerOnChange(d,t),void 0!==this.state.text&&(t.data.text=void 0,this.base.filterChanged("",t)),l&&!u&&this.base.togglePopup(t),this.applyState(t)},t.prototype.selectFocusedItem=function(e,t){var n=void 0!==this.props.opened?this.props.opened:this.state.opened,r=this.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=r.virtual,l=void 0===s?{skip:0}:s,c=r.focusedItemIndex,u=void 0===c?A:c,h=l.skip,d=""===e&&0===h?0:u(i,e,a);return-1!==d?this.handleItemSelect(d+h,t):(this.triggerOnChange(null,t),void 0!==this.state.text&&(t.data.text=void 0)),n&&this.base.togglePopup(t),this.applyState(t)},t.prototype.renderAdaptiveListContainer=function(){var e,t=this,n=this.state.windowWidth,o=void 0===n?0:n,i=this.props,a=i.header,l=i.footer,c=i.size,u=i.data,h=void 0===u?[]:u,d=i.groupField,p=i.groupMode,f=i.list,v=i.virtual,g=i.adaptiveTitle,b=i.groupStickyHeaderItemRender,y=void 0!==this.props.opened?this.props.opened:this.state.opened,w=this.state.group;void 0===w&&void 0!==d&&(w=B(h[0],d));var x={navigatable:!1,navigatableElements:[],expand:y,animation:!0,onClose:function(e){return t.toggleBtnClick(e)},animationStyles:o<=xe?{top:0,width:"100%",height:"100%"}:void 0,className:o<=xe?"k-adaptive-actionsheet k-actionsheet-fullscreen":"k-adaptive-actionsheet k-actionsheet-bottom"};return r.createElement(r.Fragment,null,r.createElement(Ce.V,Te({},x),r.createElement(ze.n,{className:"k-text-center"},r.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},r.createElement("div",{className:"k-actionsheet-title"},r.createElement("div",null,g)),r.createElement("div",{className:"k-actionsheet-actions"},r.createElement(we.z,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",onClick:this.toggleBtnClick,icon:"x",svgIcon:m}))),r.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},this.renderMobileListFilter())),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},r.createElement("div",{className:(0,s.A)((e={},e["k-list"]=!f,e["k-list-lg"]=!0,e["k-virtual-list"]=v,e["k-data-table"]=f,e["k-table-".concat(je[c]||c)]=f&&c,e))},a&&r.createElement("div",{className:"k-table-header"},a),!f&&w&&0!==h.length&&r.createElement(R,{group:w,groupMode:p,render:b}),this.renderList(),l&&r.createElement("div",{className:"k-list-footer"},l))))))},t.prototype.renderListContainer=function(){var e,t,n=this.base,o=this.props,i=o.dir,a=o.header,l=o.footer,c=o.data,u=void 0===c?[]:c,h=o.groupField,d=o.groupMode,p=o.size,f=o.list,m=o.virtual,v=o.groupStickyHeaderItemRender,g=void 0!==this.props.opened?this.props.opened:this.state.opened,b=n.getPopupSettings(),y=void 0!==b.width?b.width:n.popupWidth,w=this.state.group;return void 0===w&&void 0!==h&&(w=B(u[0],h)),r.createElement(C,{width:y,popupSettings:{animate:b.animate,anchor:this.element,show:g,popupClass:(0,s.A)(b.popupClass,"k-list-container","k-combobox-popup"),className:b.className,appendTo:b.appendTo},dir:void 0!==i?i:this.base.dirCalculated,itemsCount:[u.length]},r.createElement("div",{className:(0,s.A)((e={},e["k-list"]=!f,e["k-list-".concat(je[p]||p)]=!f&&p,e["k-virtual-list"]=m,e["k-data-table"]=f,e["k-table-".concat(je[p]||p)]=f&&p,e))},a&&r.createElement("div",{className:"k-table-header"},a),!f&&w&&0!==u.length&&r.createElement(R,{group:w,groupMode:d,render:v}),this.renderList(),l&&r.createElement("div",{className:(0,s.A)((t={},t["k-list-footer"]=!this.props.footerClassName,t),this.props.footerClassName)},l)))},t.prototype.renderList=function(){var e,t=this,n=this.base,o=this.props,i=o.textField,a=o.dataItemKey,l=o.listNoDataRender,c=o.itemRender,u=o.groupHeaderItemRender,h=o.data,d=void 0===h?[]:h,p=o.virtual,f=void 0===p?{skip:0}:p,m=n.getPopupSettings(),v=n.vs,g=f.skip,b=void 0!==this.props.opened?this.props.opened:this.state.opened,y="translateY(".concat(v.translate,"px)"),w=b?this.getFocusedIndex():void 0,x=void 0!==this.props.filter?this.props.filter:this.state.text,k=B(this.value,i),C=H(x)&&x!==k?null:this.value,z=this.props.list||he;return r.createElement(z,{id:n.listBoxId,virtual:Boolean(f),show:b,data:d,focusedIndex:w,value:C,textField:i,valueField:a,groupField:this.props.groupField,groupMode:this.props.groupMode,isMultiColumn:this.props.isMultiColumn,optionsGuid:n.guid,listRef:function(e){v.list=t.base.list=e,t.itemHeight=0},wrapperStyle:this.state.windowWidth&&this.state.windowWidth>ke?{maxHeight:m.height}:{},wrapperCssClass:(0,s.A)("k-list-content",(e={},e["k-list-scroller"]=!f,e)),listStyle:v.enabled?{transform:y}:void 0,key:"listkey",skip:g,onClick:this.handleItemClick,itemRender:c,groupHeaderItemRender:u,noDataRender:l,onMouseDown:function(e){return e.preventDefault()},onScroll:this.onScroll,wrapperRef:v.scrollerRef,scroller:this.base.renderScrollElement()})},t.prototype.renderSearchBar=function(e,t,n){var o=this,i=this.props,a=i.tabIndex,s=i.disabled,l=i.data,c=void 0===l?[]:l,u=i.dataItemKey,h=i.virtual,d=void 0===h?{skip:0}:h,p=void 0!==this.props.opened?this.props.opened:this.state.opened,f=this.value,m=Math.max(0,c.findIndex((function(e){return L(e,f,u)})));return this._suggested&&!L(this._valueOnDidUpdate,f,u)&&(this._suggested=""),r.createElement(Ve,{id:t,readOnly:p&&this.mobileMode,placeholder:n,tabIndex:a,title:this.props.title,accessKey:this.props.accessKey,value:e+this._suggested,suggestedText:this._suggested,ref:function(e){return o._input=e&&e.input},onClick:this.onInputClick,onKeyDown:this.onInputKeyDown,onChange:this.inputOnChange,onFocus:this.base.handleFocus,onBlur:this.handleBlur,disabled:s,expanded:p,owns:this.base.listBoxId,activedescendant:"option-".concat(this.base.guid,"-").concat(m+d.skip),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,ariaRequired:this.required,render:this.props.valueRender})},t.prototype.clearValue=function(){var e=this.base.initState();this._suggested="",this.base.filterChanged("",e),void 0===this.props.filter&&void 0!==this.state.text&&(e.data.text=void 0),this.triggerOnChange(null,e);var t=void 0!==this.props.opened?this.props.opened:this.state.opened,n=this.mobileMode;t&&!n&&this.base.togglePopup(e),this.applyState(e)},t.prototype.triggerOnChange=function(e,t){var n=this.value;!H(n)&&!H(e)||L(n,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},t.prototype.getFocusedIndex=function(){var e=this.value,t=this.props,n=t.data,r=void 0===n?[]:n,o=t.textField,i=t.dataItemKey,a=t.virtual,s=void 0===a?{skip:0}:a,l=t.focusedItemIndex,c=void 0===l?A:l,u=t.skipDisabledItems,h=this.props.filter?this.props.filter:this.state.text;return H(e)&&void 0===h?r.findIndex((function(t){return L(t,e,i)})):h?c(r,h,o):u&&o&&!h&&0===s.skip?r.findIndex((function(e){return!e.disabled&&e[o]})):0===s.skip?0:-1},t.prototype.suggestValue=function(e){var t=this.props,n=t.data,r=t.textField;this._suggested=function(e,t,n){void 0===t&&(t=[]);var r="";if(e){var o=t[A(t,e,n)];if(o){var i=B(o,n);e.toLowerCase()!==i.toLowerCase()&&(r=i.substring(e.length))}}return r}(e,n,r)},t.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},t.prototype.calculateMedia=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.setState({windowWidth:r.target.clientWidth})}},t.displayName="ComboBox",t.propTypes=Te(Te({},ve.propTypes),{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),dataItemKey:o.string,groupField:o.string,groupMode:o.oneOf([void 0,"classic","modern"]),isMultiColumn:o.bool,suggest:o.bool,placeholder:o.string,title:o.string,allowCustom:o.bool,clearButton:o.bool,iconClassName:o.string,svgIcon:h.wi,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,list:o.any,valueRender:o.func,skipDisabledItems:o.bool}),t.defaultProps=Te(Te({},ve.defaultProps),{size:"medium",rounded:"medium",fillMode:"solid",allowCustom:!1,clearButton:!0,required:!1,groupMode:"modern",isMultiColumn:!1,skipDisabledItems:!0}),t}(r.Component),Ke=(0,d.Y)(),qe=(0,d.u)(Ke,We);qe.displayName="KendoReactComboBox";var Ge=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$e.apply(this,arguments)},Ye=i.G.sizeMap,Ze=i.G.roundedMap,Xe=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n.base=new ve(n),n._element=null,n._inputId=(0,a.M)(),n._suggested="",n._input=null,n._isScrolling=!1,n.itemHeight=0,n.focus=function(){n._input&&n._input.focus()},n.handleItemSelect=function(e,t){var r=n.props.data,o=B((void 0===r?[]:r)[e],n.props.textField);n.triggerOnChange(o,t)},n.itemFocus=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.textField,s=i[e];L(n.state.focusedItem,s,a)||(t.data.focusedItem=s)},n.togglePopup=function(e){n.base.togglePopup(e)},n.setValidity=function(){n._input&&n._input.setCustomValidity&&n._input.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please enter a valid value!")},n.onScroll=function(e){n._isScrolling=!0;var t=n.base.list,r=n.props.groupField,o=n.props.data,i=void 0===o?[]:o;if(r&&i.length){var a=n.itemHeight||(t?t.children[0].offsetHeight:0),s=e.target.scrollTop;r&&(i=n.base.getGroupedDataModernMode(i,r));for(var l=i[0][r],c=1;c<i.length&&!(a*c>s);c++)i[c]&&i[c][r]&&(l=i[c][r]);l!==n.state.group&&n.setState({group:l})}},n.handleItemClick=function(e,t){n.base.handleItemClick(e,t),n._valueDuringOnChange=void 0},n.onChangeHandler=function(e){var t=n.base.initState(),r=e.currentTarget,o=r.value,i=r.selectionEnd===o.length;t.syntheticEvent=e;var a=n._suggested,s=n.value,l=s&&s.substring(0,s.length-a.length),c=l&&l===o,u=l&&l.length>o.length,h=n.props.suggest,d=void 0!==n.props.opened?n.props.opened:n.state.opened;if(void 0!==h&&!1!==h){c||u||!i?n._suggested="":n.suggestValue(o);var p=o+n._suggested,f={userInput:o,value:n._suggested};n.triggerOnChange(p,t,{suggestion:f})}else n._suggested="",n.triggerOnChange(o,t);(!d&&o||d&&!o)&&n.togglePopup(t),t.data.focusedItem=void 0,n.applyState(t),n.setState({group:void 0})},n.clearButtonClick=function(e){var t=n.base.initState(),r=void 0!==n.props.opened?n.props.opened:n.state.opened;t.syntheticEvent=e,n._suggested="",n.triggerOnChange("",t),void 0!==n.state.focusedItem&&(t.data.focusedItem=void 0),r&&n.togglePopup(t),n.applyState(t)},n.onInputKeyDown=function(e){var t=n.props,r=t.data,o=void 0===r?[]:r,i=t.skipDisabledItems,a=t.groupField,s=t.textField;n._isScrolling&&(n._isScrolling=!1);var c=n.focusedIndex(),u=o[c],h=e.keyCode,d=e.altKey,p=void 0!==n.props.opened?n.props.opened:n.state.opened,f=n.base.initState();f.syntheticEvent=e;var m=function(){p&&e.preventDefault()};if(d&&h===l.R.down)n.setState({opened:!0});else if(d&&h===l.R.up)n.setState({opened:!1});else if(p&&h===l.R.pageUp)n.base.scrollPopupByPageSize(-1);else if(p&&h===l.R.pageDown)n.base.scrollPopupByPageSize(1);else if(!p||h!==l.R.enter&&h!==l.R.esc)if(p||h!==l.R.esc){if(h===l.R.up||h===l.R.down){if(""!==a&&s)if(!n.props.skipDisabledItems&&p)n.onNavigate(f,h);else{var v=0;if(h===l.R.down||h===l.R.right){var g=o.slice(c+1).find((function(e){return!e.disabled&&e[s]}));v=g&&o.findIndex((function(e){return e[s]===g[s]}))}else if(h===l.R.up||h===l.R.left){var b=void 0;if(-1===c)b=o,v=o.findIndex((function(e){return!e.disabled&&e[s]}));else{for(var y=(b=o.slice(0,c)).pop();y&&y.disabled;)y=b.pop();v=y&&o.findIndex((function(e){return e[s]===y[s]}))}}if(void 0!==v){var w=v-c;n.onNavigate(f,h,w)}else void 0===v&&o.findIndex((function(e){return e[s]}))===o.length-1&&n.onNavigate(f,h)}else if(!n.props.skipDisabledItems&&p)n.onNavigate(f,h);else{if(v=null,h===l.R.down||h===l.R.right)v=o.slice(c+1).find((function(e){return!e.disabled}));else if(h===l.R.up||h===l.R.left){var x=o.slice(0,c);for(v=x.pop();v&&v.disabled;)v=x.pop()}v?(w=v.id-c-1,n.onNavigate(f,h,w)):n.onNavigate(f,h)}n.applyState(f),m()}}else n._suggested="",n.triggerOnChange("",f),void 0!==n.state.focusedItem&&(f.data.focusedItem=void 0),n.applyState(f);else m(),!1===i&&u&&u.disabled?(p&&n.togglePopup(f),n.applyState(f)):n.applyInputValue(e.currentTarget.value,f,e.keyCode)},n.handleBlur=function(e){if(n.state.focused){var t=n.base.initState();t.data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,n.applyInputValue(e.currentTarget.value,t)}},(0,ge.s)(ye),n}return Ge(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||""!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.groupField,i=void 0===o?"":o,a=r.data,s=void 0===a?[]:a,l=e.data,c=void 0===l?[]:l,u=this.focusedIndex(),h=s[u],d=c!==s,p=void 0!==h&&t.focusedItem!==h,f=void 0!==this.props.opened?this.props.opened:this.state.opened,m=void 0!==e.opened?e.opened:t.opened,v=!m&&f;if(""===i)(f&&(p||d)||v)&&this.base.scrollToItem(u);else if(!this._isScrolling){var g=null===(n=this.base.getGroupedDataModernMode(s,i))||void 0===n?void 0:n.indexOf(h);v&&(s&&0!==s.length&&this.base.resetGroupStickyHeader(s[0][i],this),this.base.scrollToItem(g)),f&&m&&p&&this.base.scrollToItem(g)}this.setValidity()},t.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},t.prototype.render=function(){var e,t=this,n=this.props,o=n.dir,i=n.disabled,a=n.label,l=n.className,c=n.style,h=n.loading,d=n.suggest,f=n.size,m=n.rounded,v=n.fillMode,g=!this.validityStyles||this.validity.valid,b=this.base,y=this.value,w=!1!==this.props.clearButton&&!h&&!!y,x=this.props.id||this._inputId;"string"==typeof d&&(this._suggested=d);var k=r.createElement("span",{className:(0,s.A)("k-autocomplete k-input",l,(e={},e["k-input-".concat(Ye[f]||f)]=f,e["k-rounded-".concat(Ze[m]||m)]=m,e["k-input-".concat(v)]=v,e["k-invalid"]=!g,e["k-loading"]=h,e["k-required"]=this.required,e["k-disabled"]=i,e)),ref:function(e){t._element=e,b.wrapper=e},style:a?$e($e({},c),{width:void 0}):c,dir:o},this.renderSearchBar(y||"",x),h&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),w&&!h&&r.createElement(Le,{onClick:this.clearButtonClick,key:"clearbutton"}),this.renderListContainer());return a?r.createElement(p._,{label:a,editorId:x,editorValue:y,editorValid:g,editorDisabled:i,style:{width:c?c.width:void 0},children:k}):k},t.prototype.onNavigate=function(e,t,n){var r=this,o=this.value,i=this.props,a=i.data,s=void 0===a?[]:a,l=i.textField,c=i.focusedItemIndex,u=void 0!==this.state.focusedItem?s.findIndex((function(e){return L(e,r.state.focusedItem,l)})):c?c(s,o,l):s.indexOf(P(s,o,l)),h=this.base.navigation.navigate({keyCode:t,current:u,max:s.length-1,min:0,skipItems:n||void 0});void 0!==h&&this.itemFocus(h,e),this.applyState(e)},t.prototype.applyInputValue=function(e,t,n){var r=void 0!==this.props.opened?this.props.opened:this.state.opened,o=this.props,i=o.data,a=void 0===i?[]:i,s=o.textField,c=a[this.focusedIndex()];if(this._suggested="",r&&n===l.R.enter&&c&&!c.disabled){var u=B(a[this.focusedIndex(e)],s);this.triggerOnChange(u,t)}r&&this.togglePopup(t),this.applyState(t)},t.prototype.renderSearchBar=function(e,t){var n=this,o=this.base,i=this.props,a=i.placeholder,s=i.tabIndex,l=i.disabled,c=i.readonly,u=this.state.focused,h=void 0!==this.props.opened?this.props.opened:this.state.opened;return r.createElement(Ve,{id:t,placeholder:a,tabIndex:s,accessKey:this.props.accessKey,value:e,suggestedText:this._suggested,focused:u,name:this.props.name,ref:function(e){return n._input=e&&e.input},onKeyDown:this.onInputKeyDown,onChange:this.onChangeHandler,onFocus:o.handleFocus,onBlur:this.handleBlur,disabled:l,readOnly:c,expanded:h,owns:o.listBoxId,activedescendant:"option-"+o.guid+"-"+this.focusedIndex(),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,ariaRequired:this.required,render:this.props.valueRender})},t.prototype.renderListContainer=function(){var e,t=this.base,n=this.props,o=n.dir,i=n.header,a=n.footer,l=n.data,c=void 0===l?[]:l,u=n.size,h=n.groupField,d=n.list,p=n.groupStickyHeaderItemRender,f=t.getPopupSettings(),m=void 0!==this.props.opened?this.props.opened:this.state.opened,v=void 0!==f.width?f.width:t.popupWidth,g=this.state.group;return void 0===g&&void 0!==h&&(g=B(c[0],h)),r.createElement(C,{width:v,popupSettings:{animate:f.animate,anchor:this.element,show:m,popupClass:(0,s.A)(f.popupClass,"k-list-container","k-autocomplete-popup"),className:f.className,appendTo:f.appendTo},dir:void 0!==o?o:this.base.dirCalculated,itemsCount:[c.length]},i&&r.createElement("div",{className:"k-list-header"},i),r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(Ye[u]||u)]=u,e))},!d&&g&&0!==c.length&&r.createElement(R,{group:g,groupMode:"modern",render:p}),this.renderList()),a&&r.createElement("div",{className:"k-list-footer"},a))},t.prototype.renderList=function(){var e=this.base,t=e.getPopupSettings(),n=this.props,o=n.textField,i=n.data,a=void 0===i?[]:i,s=n.listNoDataRender,l=n.itemRender,c=n.groupHeaderItemRender,u=this.value,h=void 0!==this.props.opened?this.props.opened:this.state.opened;return r.createElement(he,{id:e.listBoxId,show:h,data:a.slice(),focusedIndex:this.focusedIndex(),value:u,textField:o,valueField:o,highlightSelected:!1,optionsGuid:e.guid,groupField:this.props.groupField,groupMode:"modern",listRef:function(t){return e.list=t},wrapperStyle:{maxHeight:t.height},wrapperCssClass:"k-list-content",onClick:this.handleItemClick,itemRender:l,groupHeaderItemRender:c,noDataRender:s,onMouseDown:function(e){return e.preventDefault()},onScroll:this.onScroll})},t.prototype.triggerOnChange=function(e,t,n){(this.value!==e||n)&&(t.data.value=e,this._valueDuringOnChange=e,t.events.push($e({type:"onChange"},n||{})))},t.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},t.prototype.suggestValue=function(e){if(this._suggested="",e){var t=this.props,n=t.data,r=void 0===n?[]:n,o=t.textField,i=r[A(r,e,o)];if(i){var a=B(i,o);e.toLowerCase()!==a.toLowerCase()&&(this._suggested=a.substring(e.length))}}},t.prototype.focusedIndex=function(e){var t=this,n=this.props,r=n.data,o=void 0===r?[]:r,i=n.textField,a=n.focusedItemIndex,s=n.skipDisabledItems,l=void 0!==e?e:this.value;if(void 0!==this.state.focusedItem)return o.findIndex((function(e){return L(e,t.state.focusedItem,i)}));if(a)return a(o,l,i);var c=o.indexOf(P(o,l,i));return s&&i&&-1===c?o.findIndex((function(e){return!e.disabled&&e[i]})):Math.max(0,c)},t.displayName="AutoComplete",t.propTypes=$e($e({},ve.basicPropTypes),{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),groupField:o.string,suggest:o.oneOfType([o.bool,o.string]),placeholder:o.string,value:o.string,defaultValue:o.string,validationMessage:o.string,required:o.bool,readonly:o.bool,clearButton:o.bool,valueRender:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,list:o.any,skipDisabledItems:o.bool}),t.defaultProps=$e($e({},ve.defaultProps),{size:"medium",rounded:"medium",fillMode:"solid",skipDisabledItems:!0}),t}(r.Component),Je=(0,d.Y)(),Qe=(0,d.u)(Je,Xe);Qe.displayName="KendoReactAutoComplete";var et=n(1711),tt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(e){return e.syntheticEvent.preventDefault()},rt=function(e){return e.syntheticEvent.stopPropagation()},ot=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tt(t,e),t.prototype.render=function(){var e=this.props,t=e.data,n=e.guid,o=e.focused,i=e.tagRender,a=e.tag,s=e.onTagDelete,l=e.size;return r.createElement(r.Fragment,null,t.map((function(e,c){var u=a?r.createElement(a,{key:e.text+c,tagData:e,guid:n,focusedTag:o,onTagDelete:s}):r.createElement(et.A,{id:"tag-".concat(n,"-").concat(e.text.replace(/\s+/g,"-")),"aria-selected":!0,role:"option","aria-setsize":t.length,key:e.text+c,text:e.text,removable:!0,onRemove:function(t){return s.call(void 0,e.data,t.syntheticEvent)},onMouseDown:nt,onClick:rt,className:e===o?"k-focus":void 0,size:l});return i?i(e,u):u})),this.props.children)},t}(r.Component);const it=ot;var at;!function(e){e[e.PopupList=0]="PopupList",e[e.TagsList=1]="TagsList"}(at||(at={}));var st,lt=n(4390),ct=function(){return ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ct.apply(this,arguments)},ut=function(e){var t=e.footer,n=e.children,o=e.windowWidth,i=void 0===o?0:o,a=e.navigatable,s=e.navigatableElements,l=e.expand,c=e.animation,u=e.onClose,h=e.adaptiveTitle,d=e.mobileFilter,p={navigatable:a||!1,navigatableElements:s||[],expand:l,animation:!1!==c,onClose:u,animationStyles:i<=500?{top:0,width:"100%",height:"100%"}:void 0,className:i<=500?"k-adaptive-actionsheet k-actionsheet-fullscreen":"k-adaptive-actionsheet k-actionsheet-bottom"};return r.createElement(Ce.V,ct({},p),r.createElement(ze.n,{className:"k-text-center"},r.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},r.createElement("div",{className:"k-actionsheet-title"},r.createElement("div",null,h)),r.createElement("div",{className:"k-actionsheet-actions"},r.createElement(we.z,{tabIndex:0,"aria-label":"Cancel","aria-disabled":"false",type:"button",fillMode:"flat",icon:"x",svgIcon:m,onClick:u}))),d&&r.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},d)),n,t&&r.createElement(lt.K,{className:"k-actions k-actions-stretched"},r.createElement(we.z,{size:"large",tabIndex:0,"aria-label":t.cancelText,"aria-disabled":"false",type:"button",onClick:t.onCancel},t.cancelText),r.createElement(we.z,{tabIndex:0,themeColor:"primary",size:"large","aria-label":t.applyText,"aria-disabled":"false",type:"button",onClick:t.onApply},t.applyText)))},ht=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),dt=function(){return dt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dt.apply(this,arguments)},pt=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},ft=i.G.sizeMap,mt=i.G.roundedMap,vt=function(e){return e.preventDefault()},gt=function(e){return e===st.CustomItem};!function(e){e[e.None=0]="None",e[e.ListItem=1]="ListItem",e[e.CustomItem=2]="CustomItem"}(st||(st={}));var bt=function(e){function t(t){var n=e.call(this,t)||this;return n.state={activedescendant:at.PopupList,currentValue:[]},n._element=null,n._valueItemsDuringOnChange=null,n._inputId=(0,a.M)(),n.base=new ve(n),n._tags=[],n._input=null,n._adaptiveInput=null,n._skipFocusEvent=!1,n._lastSelectedOrDeslectedItemIndex=null,n.itemHeight=0,n.scrollToFocused=!1,n.localization=null,n.focus=function(){n._input&&n._input.focus()},n.handleItemSelect=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.dataItemKey,s=r.virtual,l=i[e-(s?s.skip:0)],c=n.value.findIndex((function(e){return L(e,l,a)}));n._lastSelectedOrDeslectedItemIndex=i.findIndex((function(e){return L(e,l,a)}));var u=[];-1!==c?(u=n.value).splice(c,1):u=pt(pt([],n.value,!0),[l],!1),(void 0!==n.props.filter?n.props.filter:n.state.text)&&!n.mobileMode&&(n.state.text&&(t.data.text=""),n.base.filterChanged("",t)),n._adaptiveInput&&n._adaptiveInput.blur(),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.triggerOnChange(u,t),n.base.triggerPageChangeCornerItems(l,t)},n.onTagDelete=function(e,t){var r=n.base.initState();r.syntheticEvent=t,n.opened&&n.base.togglePopup(r),n.state.focused||n.mobileMode||(r.data.focused=!0,n.focus());var o=n.value;N(o,e,n.props.dataItemKey),n.triggerOnChange(o,r),n.applyState(r)},n.itemFocus=function(e,t){var r=n.props,o=r.data,i=void 0===o?[]:o,a=r.allowCustom,s=r.virtual,l=s?s.skip:0,c=void 0!==n.props.filter?n.props.filter:n.state.text,u=n.getFocusedState().focusedIndex,h=a&&c,d=i[e-l];d&&u!==e?n.state.focusedIndex!==e&&(t.data.focusedIndex=e,t.data.activedescendant=at.PopupList):h&&-1===e&&void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.base.triggerPageChangeCornerItems(d,t)},n.componentRef=function(e){n._element=e,n.base.wrapper=e},n.searchbarRef=function(e){var t=n._input=e&&e.input;t&&n.state.focused&&window.setTimeout((function(){return t.focus()}),0)},n.onChangeHandler=function(e){var t=n.base.initState(),r=e.target.value;t.syntheticEvent=e,void 0===n.props.filter&&(t.data.text=r),t.data.focusedIndex=void 0,n.opened||(n.base.togglePopup(t),n.setState({currentValue:n.value})),n.base.filterChanged(r,t),n.applyState(t),n.setState({group:void 0})},n.clearButtonClick=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),n.value.length>0&&n.triggerOnChange([],t),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.opened&&n.base.togglePopup(t);var r=void 0!==n.props.filter?n.props.filter:n.state.text;H(r)&&""!==r&&n.base.filterChanged("",t),n.state.text&&(t.data.text=""),n._lastSelectedOrDeslectedItemIndex=null,n.applyState(t)},n.onInputKeyDown=function(e){var t=n.props,r=t.data,o=void 0===r?[]:r,i=t.textField,a=t.groupField,s=e.keyCode,c=void 0!==n.props.filter?n.props.filter:n.state.text,u=void 0!==n.props.opened?n.props.opened:n.state.opened,h=n.getFocusedState(),d=h.focusedItem,p=h.focusedIndex,f=n.base.initState();if(f.syntheticEvent=e,!c&&n.value.length>0&&(s===l.R.left||s===l.R.right||s===l.R.home||s===l.R.end||s===l.R.delete||s===l.R.backspace)&&!e.shiftKey)return n.onTagsNavigate(e,f);var m=function(){e.preventDefault(),n.base.togglePopup(f),n.applyState(f)};if(n.opened)if(s===l.R.pageUp)n.base.scrollPopupByPageSize(-1);else if(s===l.R.pageDown)n.base.scrollPopupByPageSize(1);else if((e.ctrlKey||e.metaKey)&&"KeyA"===e.code){var v=(n.state.value&&n.state.value.length)===o.length?[]:o;n.updateStateOnKeyboardNavigation(v,f)}else if((e.ctrlKey||e.metaKey)&&e.shiftKey&&e.keyCode===l.R.end)v=o.slice(n.getFocusedState().focusedIndex),n.itemFocus(o.length-1,f),n.updateStateOnKeyboardNavigation(v,f);else if((e.ctrlKey||e.metaKey)&&e.shiftKey&&e.keyCode===l.R.home)v=o.slice(0,n.getFocusedState().focusedIndex+1),n.itemFocus(0,f),n.updateStateOnKeyboardNavigation(v,f);else if(e.shiftKey&&e.keyCode===l.R.up)v=void 0,null===(g=n.getLastSelectedOrDeselectedIndex(1,p))?v=0!==p?o.slice(p-1,p):[o[p]]:g===p?v=[o[g-1]]:p>=0&&(v=g>p?o.slice(p-1,g):o.slice(g-1,p)),v&&v.length>0&&(p>=1&&n.itemFocus(p-1,f),n.updateStateOnKeyboardNavigation(v,f));else if(e.shiftKey&&e.keyCode===l.R.down){var g;v=void 0,null===(g=n.getLastSelectedOrDeselectedIndex(0,p))?v=p!==o.length-1?o.slice(p,p+1):[o[p]]:g===p?v=o.slice(p,p+2):p>=0&&(v=g>p?o.slice(p+1,g+1):o.slice(g,p+2)),v&&v.length>=1&&(n.itemFocus(p+1,f),n.updateStateOnKeyboardNavigation(v,f))}else if(e.altKey&&s===l.R.up)m();else if(s===l.R.up||s===l.R.down){if(""!==a&&i)if(!n.props.skipDisabledItems&&u)n.onNavigate(f,s);else{var b=0;if(s===l.R.down||s===l.R.right){var y=o.slice(p+1).find((function(e){return!e.disabled&&e[i]}));b=y&&o.findIndex((function(e){return e[i]===y[i]}))}else if(s===l.R.up||s===l.R.left){var w=void 0;if(-1===p)w=o,b=o.findIndex((function(e){return!e.disabled&&e[i]}));else{for(var x=(w=o.slice(0,p)).pop();x&&x.disabled;)x=w.pop();b=x&&o.findIndex((function(e){return e[i]===x[i]}))}}if(b){var k=b-p;n.onNavigate(f,s,k)}else void 0!==b&&n.onNavigate(f,s)}else if(!n.props.skipDisabledItems&&u)n.onNavigate(f,s);else{if(b=null,s===l.R.down||s===l.R.right)b=o.slice(p+1).find((function(e){return!e.disabled}));else if(s===l.R.up||s===l.R.left){var C=o.slice(0,p);for(b=C.pop();b&&b.disabled;)b=C.pop()}b?(k=b.id-p-1,n.onNavigate(f,s,k)):n.onNavigate(f,s)}n.applyState(f),e.preventDefault()}else s===l.R.enter?(e.preventDefault(),n.props.allowCustom&&c&&null===d?n.customItemSelect(e):d&&d.disabled?m():n.selectFocusedItem(e)):s===l.R.esc&&m();else e.altKey&&s===l.R.down&&m()},n.listContainerContent=function(){var e,t,o=n.props,i=o.header,a=o.footer,l=o.allowCustom,c=o.size,h=o.data,d=void 0===h?[]:h,p=o.groupStickyHeaderItemRender,f=o.groupField,m=o.list,g=void 0!==n.props.filter?n.props.filter:n.state.text,b=n.getFocusedState().focusedType,y=l&&g&&r.createElement("div",{className:(0,s.A)("k-list",(e={},e["k-list-".concat(ft[c]||c)]=c,e)),key:"customitem",onClick:n.customItemSelect,onMouseDown:vt},r.createElement("div",{className:(0,s.A)("k-list-item k-custom-item",{"k-focus":gt(b)}),style:{fontStyle:"italic"}},g,r.createElement(u.a,{name:"plus",icon:v,style:{position:"absolute",right:"0.5em"}}))),w=n.state.group;return void 0===w&&void 0!==f&&(w=B(d[0],f)),r.createElement(r.Fragment,null,i&&r.createElement("div",{className:"k-list-header"},i),y,r.createElement("div",{className:(0,s.A)("k-list",(t={},t["k-list-".concat(n.mobileMode?"lg":ft[c]||c)]=c,t["k-virtual-list"]=n.base.vs.enabled,t))},!m&&w&&0!==d.length&&r.createElement(R,{group:w,groupMode:"modern",render:p}),n.renderList()),a&&r.createElement("div",{className:"k-list-footer"},a))},n.renderListContainer=function(){var e=n.base,t=n.props,o=t.dir,i=t.data,a=void 0===i?[]:i,l=n.base.getPopupSettings(),c=void 0!==l.width?l.width:e.popupWidth,u={dir:void 0!==o?o:e.dirCalculated,width:c,popupSettings:{popupClass:(0,s.A)(l.popupClass,"k-list-container","k-multiselect-popup"),className:l.className,animate:l.animate,anchor:n.element,show:n.opened,onOpen:n.onPopupOpened,onClose:n.onPopupClosed,appendTo:l.appendTo},itemsCount:[a.length,n.value.length]};return r.createElement(C,dt({},u),n.listContainerContent())},n.renderAdaptiveListContainer=function(){var e=n.props,t=e.adaptiveTitle,o=e.filterable,i=e.filter,a=n.state.windowWidth,s=void 0===a?0:a,l=void 0!==i?i:n.state.text;n.localization=(0,ee.provideLocalizationService)(n);var c=o?r.createElement(S,{value:l,ref:function(e){return n._adaptiveInput=e&&e.element},onChange:n.onChangeHandler,onKeyDown:n.onInputKeyDown,size:n.props.size,rounded:n.props.rounded,fillMode:n.props.fillMode}):null,u={adaptiveTitle:t,expand:n.opened,onClose:function(e){return n.onCancel(e)},windowWidth:s,mobileFilter:c,footer:{cancelText:n.localization.toLanguageString(se,le[se]),onCancel:n.onCancel,applyText:n.localization.toLanguageString(ae,le[ae]),onApply:n.closePopup}};return r.createElement(ut,dt({},u),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},n.listContainerContent())))},n.closePopup=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.opened&&n.base.togglePopup(t),t.events.push({type:"onClose"});var r=void 0!==n.props.filter?n.props.filter:n.state.text;H(r)&&""!==r&&n.base.filterChanged("",t),n.state.text&&(t.data.text=""),n.applyState(t)},n.onCancel=function(e){var t=n.base.initState();t.syntheticEvent=e,e.stopPropagation(),void 0!==n.state.focusedIndex&&(t.data.focusedIndex=void 0),n.opened&&n.base.togglePopup(t),t.events.push({type:"onCancel"});var r=void 0!==n.props.filter?n.props.filter:n.state.text;H(r)&&""!==r&&n.base.filterChanged("",t),n.state.text&&(t.data.text=""),n.applyState(t)},n.renderList=function(){var e=n.props,t=e.data,o=void 0===t?[]:t,i=e.textField,a=e.listNoDataRender,s=e.itemRender,l=e.groupHeaderItemRender,c=e.dataItemKey,u=e.virtual,h=n.base.vs,d=u?u.skip:0,p=n.getFocusedState().focusedIndex,f=n.base.getPopupSettings(),m="translateY(".concat(h.translate,"px)");return r.createElement(he,{id:n.base.listBoxId,show:n.opened,data:o.slice(),focusedIndex:p-d,value:n.value,textField:i,valueField:c,optionsGuid:n.base.guid,groupField:n.props.groupField,groupMode:"modern",listRef:function(e){h.list=n.base.list=e},wrapperStyle:n.mobileMode?{}:{maxHeight:f.height},wrapperCssClass:"k-list-content",listStyle:h.enabled?{transform:m}:void 0,key:"listKey",skip:d,onClick:n.handleItemClick,itemRender:s,groupHeaderItemRender:l,noDataRender:a,onMouseDown:vt,onBlur:n.handleBlur,onScroll:n.onScroll,wrapperRef:h.scrollerRef,scroller:n.base.renderScrollElement()})},n.onScroll=function(e){var t=n.base,r=t.vs,o=t.list;r.scrollHandler(e);var i=n.props.groupField,a=n.props.data,s=void 0===a?[]:a;if(i&&s.length&&i){for(var l=n.itemHeight=n.itemHeight||(r.enabled?r.itemHeight:o?o.children[0].offsetHeight:0),c=e.target.scrollTop-r.skip*l,u=(s=n.base.getGroupedDataModernMode(s,i))[0][i],h=1;h<s.length&&!(l*h>c);h++)s[h]&&s[h][i]&&(u=s[h][i]);u!==n.state.group&&n.setState({group:u})}},n.customItemSelect=function(e){var t,r=void 0!==n.props.filter?n.props.filter:n.state.text,o=n.props.textField;if(r){var i=n.base.initState();i.syntheticEvent=e;var a=o?((t={})[o]=r,t):r;void 0!==n.state.text&&(i.data.text=""),i.data.focusedIndex=void 0,n.base.filterChanged("",i);var s=pt(pt([],n.value,!0),[a],!1);n.triggerOnChange(s,i),n.base.togglePopup(i),n.applyState(i)}},n.handleWrapperClick=function(e){var t=n._input;!n.opened&&t&&n.focusElement(t);var r=n.base.initState();r.syntheticEvent=e,n.state.focused||n.mobileMode||(r.events.push({type:"onFocus"}),r.data.focused=!0),n.mobileMode&&(n.setState({currentValue:n.tagsToRender}),n.mobileMode&&window.setTimeout((function(){return n._adaptiveInput&&n._adaptiveInput.focus()}),300)),n.base.togglePopup(r),n.applyState(r)},n.handleItemClick=function(e,t){var r=n.base.initState();r.syntheticEvent=t,n.handleItemSelect(e,r),n.props.autoClose&&!n.mobileMode&&n.base.togglePopup(r),t.stopPropagation(),n.applyState(r)},n.handleBlur=function(e){if(n.state.focused&&!n._skipFocusEvent){var t=n.base.initState(),r=n.props,o=r.allowCustom,i=r.filterable;t.syntheticEvent=e,t.data.focused=!1,t.events.push({type:"onBlur"}),n.opened&&!n.mobileMode&&(n.state.opened&&(t.data.opened=!1),t.events.push({type:"onClose"})),o||i||!n.state.text||(t.data.text=""),n.applyState(t)}},n.handleFocus=function(e){n._skipFocusEvent||n.base.handleFocus(e)},n.onPopupOpened=function(){n._input&&n.state.focused&&!n.mobileMode&&n.focusElement(n._input)},n.onPopupClosed=function(){n.state.focused&&window.setTimeout((function(){n.state.focused&&n.focusElement(n._input)}),0)},n.setValidity=function(){n._input&&n._input.setCustomValidity&&n._input.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"Please enter a valid value!")},(0,ge.s)(ye),n}return ht(t,e),Object.defineProperty(t.prototype,"document",{get:function(){if(be.N)return this.element&&this.element.ownerDocument||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opened",{get:function(){return!!(void 0!==this.props.opened?this.props.opened:this.state.opened)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagsToRender",{get:function(){var e=this.props,t=e.tags,n=e.textField,r=[];return void 0===t?this.value.forEach((function(e){r.push({text:B(e,n),data:[e]})})):r.push.apply(r,t),r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mobileMode",{get:function(){return!!(this.state.windowWidth&&this.state.windowWidth<=ke&&this.props.adaptive)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var e=[];return this._valueItemsDuringOnChange?e.push.apply(e,this._valueItemsDuringOnChange):this.props.value?e.push.apply(e,this.props.value):this.state.value?e.push.apply(e,this.state.value):this.props.defaultValue&&e.push.apply(e,this.props.defaultValue),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&this.value.length>0&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){var n,r=this.props,o=r.virtual,i=r.groupField,a=void 0===i?"":i,s=r.data,l=void 0===s?[]:s,c=o?o.skip:0,u=e.virtual?e.virtual.total:0,h=void 0!==e.opened?e.opened:t.opened,d=!h&&this.opened,p=h&&!this.opened;if(!this.base.getPopupSettings().animate&&p&&this.onPopupClosed(),o&&o.total!==u)this.base.vs.calcScrollElementHeight(),this.base.vs.reset();else{var f=this.getFocusedState(),m=f.focusedItem,v=f.focusedIndex;""!==a&&(v=null===(n=this.base.getGroupedDataModernMode(l,a))||void 0===n?void 0:n.indexOf(m)),d&&o?this.base.scrollToVirtualItem(o,v-c):d&&!o?(l&&0!==l.length&&this.base.resetGroupStickyHeader(l[0][a],this),this.base.scrollToItem(v)):this.opened&&h&&m&&this.scrollToFocused&&this.base.scrollToItem(v-c)}this.scrollToFocused=!1,this.setValidity()},t.prototype.componentDidMount=function(){var e;this.observerResize=be.N&&window.ResizeObserver&&new window.ResizeObserver(this.calculateMedia.bind(this)),this.base.didMount(),this.setValidity(),(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.observe(this.document.body)},t.prototype.componentWillUnmount=function(){var e;(null===(e=this.document)||void 0===e?void 0:e.body)&&this.observerResize&&this.observerResize.disconnect()},t.prototype.onNavigate=function(e,t,n){var r=this.props,o=r.allowCustom,i=r.data,a=void 0===i?[]:i,s=void 0!==this.props.filter?this.props.filter:this.state.text,c=this.getFocusedState(),u=c.focusedType,h=c.focusedIndex,d=o&&s,p=gt(u),f=this.base,m=f.vs;if(this.opened&&t===l.R.up&&p)void 0!==this.state.focusedIndex&&(e.data.focusedIndex=void 0);else{var v=f.navigation.navigate({keyCode:t,current:h,max:(m.enabled?m.total:a.length)-1,min:d?-1:0,skipItems:n||void 0});void 0!==v&&(this.itemFocus(v,e),this.scrollToFocused=!0)}this.applyState(e)},t.prototype.render=function(){var e,t,n=this.props,o=n.style,i=n.className,a=n.label,l=n.dir,c=n.disabled,h=n.textField,d=n.dataItemKey,f=n.virtual,m=n.size,v=n.rounded,g=n.fillMode,b=n.loading,y=n.filter,w=this.state,x=w.text,k=w.focused,C=w.focusedTag,z=w.currentValue,_=this.base.vs,E=this.props.id||this._inputId;_.enabled=void 0!==f,void 0!==f&&(_.skip=f.skip,_.total=f.total,_.pageSize=f.pageSize);var I=this.mobileMode&&this.opened?z:this.tagsToRender;this.setItems(this.tagsToRender,this._tags);var S=!this.validityStyles||this.validity.valid,M=Boolean(void 0!==y?y:x)||I&&I.length>0,O=r.createElement(r.Fragment,null,r.createElement("div",{ref:this.componentRef,className:(0,s.A)("k-multiselect k-input",i,(e={},e["k-input-".concat(ft[m]||m)]=m,e["k-rounded-".concat(mt[v]||v)]=v,e["k-input-".concat(g)]=g,e["k-focus"]=k&&!c,e["k-invalid"]=!S,e["k-disabled"]=c,e["k-loading"]=b,e["k-required"]=this.required,e)),style:a?dt(dt({},o),{width:void 0}):o,dir:l,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleWrapperClick,onMouseDown:T},r.createElement("div",{className:(0,s.A)("k-input-values")},r.createElement("div",{className:(0,s.A)("k-chip-list",(t={},t["k-chip-list-".concat(ft[m]||m)]=m,t)),role:"listbox",id:"tagslist-"+this.base.guid},I&&I.length>0&&r.createElement(it,{tagRender:this.props.tagRender,onTagDelete:this.onTagDelete,data:I,guid:this.base.guid,focused:C?I.find((function(e){return j(e,C,d)})):void 0,size:m})),this.renderSearchBar(E)),b&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),M&&r.createElement(Le,{onClick:this.clearButtonClick}),!this.mobileMode&&this.renderListContainer()),this.mobileMode&&this.renderAdaptiveListContainer());return a?r.createElement(p._,{label:a,editorId:E,editorValue:x||B(this.value[0],h),editorValid:S,editorDisabled:c,style:{width:o?o.width:void 0},children:O}):O},t.prototype.renderSearchBar=function(e){var t=this.state,n=t.activedescendant,o=t.focusedTag,i=t.currentValue,a=this.props,s=a.disabled,l=a.placeholder,c=a.ariaDescribedBy,u=!this.mobileMode&&(void 0!==this.props.filter?this.props.filter:this.state.text)||"",h=this.getFocusedState().focusedIndex,d=0!==this.value.length||u?void 0:l,p=i&&i.length>0?void 0:l,f=n===at.TagsList&&void 0!==o?"tag-".concat(this.base.guid,"-").concat(o.text.replace(/\s+/g,"-")):"option-".concat(this.base.guid,"-").concat(h);return r.createElement(Ve,{id:e,size:Math.max((d||"").length,u.length,1),tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,placeholder:this.mobileMode&&this.opened?p:d,value:u,onChange:this.onChangeHandler,onKeyDown:this.onInputKeyDown,ref:this.searchbarRef,disabled:s,expanded:this.opened,owns:this.base.listBoxId,role:"combobox",activedescendant:f,ariaDescribedBy:"tagslist-".concat(this.base.guid).concat(c?" "+c:""),ariaLabelledBy:this.props.ariaLabelledBy,ariaRequired:this.required})},t.prototype.onTagsNavigate=function(e,t){var n=e.keyCode,r=this.state.focusedTag,o=this._tags,i=this.props.dataItemKey,a=r?o.findIndex((function(e){return j(e,r,i)})):-1,s=void 0,c=-1!==a;if(n===l.R.left)s=o[a=c?Math.max(0,a-1):o.length-1];else if(n===l.R.right)a===o.length-1?s=void 0:c&&(s=o[a=Math.min(o.length-1,a+1)]);else if(n!==l.R.home||e.shiftKey)if(n!==l.R.end||e.shiftKey){if(n===l.R.delete){if(c){var u=this.value;N(u,o[a].data,i),this.triggerOnChange(u,t)}}else if(n===l.R.backspace)if(u=this.value,c)N(u,o[a].data,i),this.triggerOnChange(u,t);else if(!c&&o.length){var h=o.pop();N(u,h.data,i),this.triggerOnChange(u,t)}}else s=o[o.length-1];else s=o[0];s!==r&&(t.data.focusedTag=s,t.data.activedescendant=at.TagsList),this.applyState(t)},t.prototype.triggerOnChange=function(e,t){void 0===this.props.value&&(t.data.value=pt([],e,!0)),this._valueItemsDuringOnChange=[],this.setItems(e,this._valueItemsDuringOnChange),t.events.push({type:"onChange"})},t.prototype.selectFocusedItem=function(e,t){var n=this.props,r=n.data,o=void 0===r?[]:r,i=n.virtual,a=(t||this.getFocusedState()).focusedIndex;void 0!==o[a-(i?i.skip:0)]&&this.handleItemClick(a,e)},t.prototype.setItems=function(e,t){t.length=0,t.push.apply(t,e)},t.prototype.getFocusedState=function(){var e,t=this.state.focusedIndex,n=void 0!==this.props.filter?this.props.filter:this.state.text,r=this.props,o=r.allowCustom,i=r.data,a=void 0===i?[]:i,s=r.dataItemKey,l=r.virtual,c=r.textField,u=r.focusedItemIndex,h=void 0===u?A:u,d=r.skipDisabledItems,p=l&&l.skip||0;if(void 0!==t)return{focusedIndex:t,focusedItem:a[t-p],focusedType:st.ListItem};var f=this.value;if(o&&n)return{focusedItem:null,focusedIndex:-1,focusedType:st.CustomItem};if(n)return{focusedItem:a[e=h(a,n,c)],focusedIndex:e+p,focusedType:st.ListItem};if(f.length){var m=f[f.length-1];return e=a.findIndex((function(e){return L(e,m,s)})),void 0!==a[e]?{focusedIndex:e+p,focusedItem:a[e],focusedType:st.ListItem}:{focusedType:st.None,focusedIndex:-1}}if(d&&c&&!n&&0===p){var v=a.findIndex((function(e){return!e.disabled&&e[c]}));return{focusedIndex:v,focusedItem:a[v-p],focusedType:st.ListItem}}return 0===p?{focusedItem:a[0],focusedIndex:0,focusedType:st.ListItem}:{focusedType:st.None,focusedIndex:-1}},t.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout((function(){return t._skipFocusEvent=!1}),0)},t.prototype.applyState=function(e){this.base.applyState(e),this._valueItemsDuringOnChange=null},t.prototype.calculateMedia=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.setState({windowWidth:r.target.clientWidth})}},t.prototype.updateStateOnKeyboardNavigation=function(e,t){this.setState({value:e}),this.triggerOnChange(e,t),this.applyState(t)},t.prototype.getLastSelectedOrDeselectedIndex=function(e,t){return null===this._lastSelectedOrDeslectedItemIndex&&(this._lastSelectedOrDeslectedItemIndex=t),null!==this._lastSelectedOrDeslectedItemIndex?this._lastSelectedOrDeslectedItemIndex+e:null},t.displayName="MultiSelect",t.propTypes=dt(dt({},ve.propTypes),{autoClose:o.bool,value:o.arrayOf(o.any),defaultValue:o.arrayOf(o.any),dataItemKey:o.string,placeholder:o.string,tags:o.arrayOf(o.shape({text:o.string,data:o.arrayOf(o.any)})),tagRender:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,groupField:o.string,list:o.any,adaptive:o.bool,adaptiveTitle:o.string,onCancel:o.func,skipDisabledItems:o.bool}),t.defaultProps=dt(dt({},ve.defaultProps),{autoClose:!0,required:!1,size:"medium",rounded:"medium",fillMode:"solid",groupMode:"modern",skipDisabledItems:!0}),t}(r.Component),yt=(0,d.Y)(),wt=(0,d.u)(yt,bt);wt.displayName="KendoReactMultiSelect";var xt=function(){return xt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xt.apply(this,arguments)},kt=function(e){return r.createElement(he,xt({},e,{wrapperCssClass:"k-table-body k-table-scroller",listClassName:(0,s.A)("k-table k-table-list",{"k-virtual-table":void 0!==e.virtual}),listStyle:xt({},e.listStyle)}))},Ct=n(9656),zt=n(2665),_t=n(9659),Et=function(){return Et=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Et.apply(this,arguments)},It=(0,d.Y)(),St=r.forwardRef((function(e,t){var n=(0,Ct.Y)(It,e),o=r.useRef(null),i=r.useRef(null),a=(0,zt.n)(),l=n.columns,c=void 0===l?Ot.columns:l,u=n.popupSettings,h=void 0===u?Ot.popupSettings:u,d=n.className,p=(n.size,n.onOpen),f=n.onClose,m=n.onFocus,v=n.onBlur,g=n.onChange,b=n.onFilterChange,w=n.onPageChange,x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(n,["columns","popupSettings","className","size","onOpen","onClose","onFocus","onBlur","onChange","onFilterChange","onPageChange"]);r.useImperativeHandle(o,(function(){return{element:i.current&&i.current.element,focus:function(){i.current&&i.current.focus()},get value(){return i.current&&i.current.value},get name(){return i.current&&i.current.name},props:n}})),r.useImperativeHandle(t,(function(){return o.current}));var k=r.useMemo((function(){if(void 0!==n.groupField&&n.data)return B(n.data[0],n.groupField)}),[n.data,n.groupField]),C=r.useState(k),z=C[0],_=C[1],E=r.useState(!0),I=E[0],S=E[1],M=r.useMemo((function(){var e=r.createElement("th",{className:"k-table-th",colSpan:c.length},z);return r.createElement(r.Fragment,null,n.header,r.createElement("div",{className:"k-table-header-wrap"},r.createElement("table",{className:"k-table",role:"presentation"},r.createElement("colgroup",null,c.map((function(e,t){return r.createElement("col",{key:e.uniqueKey?e.uniqueKey:t,style:{width:e.width?e.width:Ot.width}})}))),r.createElement("thead",{className:"k-table-thead"},r.createElement("tr",{className:"k-table-row"},c.map((function(e,t){return r.createElement("th",{className:"k-table-th",key:e.uniqueKey?e.uniqueKey:t},e.header||" ")}))),z&&I&&r.createElement("tr",{className:"k-table-group-row"},n.groupStickyHeaderItemRender?n.groupStickyHeaderItemRender.call(void 0,e,{}):e)))))}),[n.header,c,z,I]),O=r.useMemo((function(){return"calc(".concat(c.map((function(e){return t=e.width,n=Ot.width,t?"number"==typeof t?t+"px":t:n;var t,n})).filter(Boolean).join(" + ")," + ").concat(a,"px + 4px)")}),[c,a]),R=n.virtual?n.virtual.skip:0,H=r.useCallback((function(e,t){var o,i,a,l=c.map((function(e,o){return r.createElement("span",{className:n.itemRender?void 0:"k-table-td",style:n.itemRender?void 0:{width:e.width?e.width:Ot.width},key:e.uniqueKey?e.uniqueKey:o},e.field?String((0,_t.Y)(e.field)(t.dataItem)):"")})),u=void 0,h=n.data||[],d=t.index-R;void 0!==n.groupField&&(o=(a=(0,_t.Y)(n.groupField))(h[d]),i=a(h[d-1]),o&&i&&o!==i&&(u=o)),u&&"classic"===n.groupMode&&l.push(r.createElement("div",{key:"group",className:"k-table-td k-table-group-td"},r.createElement("span",null,u)));var p=r.cloneElement(e,Et(Et({},e.props),{className:(0,s.A)("k-table-row",{"k-table-alt-row":t.index%2!=0,"k-focus":t.focused,"k-selected":t.selected,"k-first":Boolean(u),"k-disabled":t.dataItem.disabled})}),l);return n.itemRender?n.itemRender.call(void 0,p,t):p}),[c,n.groupField,n.itemRender,n.data,R]),F=r.useCallback((function(e,t){e&&e.call(void 0,Et(Et({},t),{target:o.current}))}),[]),D=r.useCallback((function(e){return n.virtual||_(k),F(p,e)}),[F,p,n.virtual,k]),A=r.useCallback((function(e){return F(f,e)}),[f]),V=r.useCallback((function(e){return F(m,e)}),[m]),N=r.useCallback((function(e){return F(v,e)}),[v]),L=r.useCallback((function(e){return F(g,e)}),[g]),P=r.useCallback((function(e){return F(w,e)}),[w]),T=r.useCallback((function(e){return _(k),F(b,Et(Et({},e),{mobileMode:e.target.mobileMode}))}),[b]),j=r.useCallback((function(e){_(e.group)}),[]);r.useEffect((function(){(0,zt.p)()})),r.useEffect((function(){var e=n.data;_(k),e&&0!==e.length?S(!0):S(!1)}),[n.data]);var U=r.useCallback((function(e){return r.createElement(kt,Et({},e))}),[]);return r.createElement(y.v.Provider,{value:function(e){return Et(Et({},e),{popupClass:"k-dropdowngrid-popup ".concat(h.popupClass)})}},r.createElement(qe,Et({},x,{list:U,popupSettings:Et(Et({width:O},h),{className:h.className}),ref:i,header:M,itemRender:H,groupHeaderItemRender:n.groupHeaderItemRender,size:n.size,rounded:n.rounded,fillMode:n.fillMode,groupMode:n.groupMode,groupField:n.groupField,isMultiColumn:!0,onOpen:D,onClose:A,onFocus:V,onBlur:N,onChange:L,onFilterChange:T,onPageChange:P,onGroupScroll:j,className:(0,s.A)("k-dropdowngrid",d),required:n.required,adaptive:n.adaptive,adaptiveFilter:n.adaptiveFilter,adaptiveTitle:n.adaptiveTitle,footer:n.footer,footerClassName:"k-table-footer"})))})),Mt=Et(Et({},We.propTypes),{columns:o.any.isRequired}),Ot={columns:[],popupSettings:{},width:"200px",size:"medium",rounded:"medium",fillMode:"solid"};St.displayName="KendoMultiColumnComboBox",St.propTypes=Mt,St.defaultProps=Ot;var Rt=n(3228),Ht=n(1573),Ft=n(8006),Dt=n(5098),At=n(4824),Vt=n(9519),Bt=n(5407);function Nt(e,t,n,r,o){switch(r){case l.R.left:return Dt.isIdZeroLevel(t)||o.expanded(e)&&(0,Vt.hc)(t,n,o)?t:Dt.getDirectParentId(t);case l.R.right:return(0,Vt.Cb)(e,o)?Dt.getFirstChildId(t):t;case l.R.up:return i=Number(Dt.getShortId(t)),a=Dt.getDirectParentId(t),i?Pt(Dt.createId(i-1,a),n,o):Dt.isIdZeroLevel(t)?t:a;case l.R.down:return(0,Vt.Cb)(e,o)?Dt.getFirstChildId(t):Lt(t,n,o)||t;case l.R.home:return Dt.ZERO_LEVEL_ZERO_NODE_ID;case l.R.end:return function(){for(var e,t=(n.length-1).toString(),r=n[n.length-1];(0,Vt.Cb)(r,o);)e=r[o.getChildrenField()],t=Dt.createId(e.length-1,t),r=e[e.length-1];return t}();default:return t}var i,a}function Lt(e,t,n){var r=Dt.getDirectParentId(e),o=r?Dt.getItemById(r,t,n.getChildrenField()):void 0,i=o?o[n.getChildrenField()]:t,a=Number(Dt.getShortId(e));return a<i.length-1?Dt.createId(a+1,r):o?Lt(r,t,n):void 0}function Pt(e,t,n){var r=Dt.getItemById(e,t,n.getChildrenField());return(0,Vt.Cb)(r,n)?Pt(Dt.createId(r[n.getChildrenField()].length-1,e),t,n):e}var Tt=n(1779);const jt={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},Ut={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},Wt={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"};var Kt=n(8686),qt="items",Gt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$t=function(){return $t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$t.apply(this,arguments)},Yt=i.G.sizeMap,Zt=r.createContext((function(e){return e})),Xt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.itemGuid=(0,a.M)(),t.onCheckChange=function(e){t.props.onCheckChange(e,t.item,t.itemId)},t.onExpandChange=function(e){t.props.onExpandChange(e,t.item,t.itemId)},t.onItemClick=function(e){t.props.onItemClick(e,t.item,t.itemId)},t.onPress=function(e){t.props.onPress(e.event,t.item,t.itemId)},t.onDrag=function(e){t.props.onDrag(e.event,t.item,t.itemId)},t.onRelease=function(e){t.props.onRelease(e.event,t.item,t.itemId)},t.onContextMenu=function(e){t.props.onContextMenu(e,t.item,t.itemId)},t.assignDraggableMeta=function(e){e&&(e._kendoItemId=t.props.itemId,e._kendoTreeViewGuid=t.props.treeGuid)},t}return Gt(t,e),t.prototype.render=function(){var e=this,t=this.renderSubitemsIfApplicable(),n=this.renderItemInPart();return r.createElement("li",{className:(0,s.A)("k-treeview-item"),tabIndex:this.tabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.disabled||void 0,ref:function(t){return e.itemElement=t}},r.createElement("div",{className:"k-treeview-".concat(this.props.position),ref:this.assignDraggableMeta},this.renderExpandIcon(),this.renderCheckbox(),this.props.draggable?r.createElement(Tt._,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},n):n),this.props.animate?r.createElement(Kt.U,{transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"},children:t}):t)},t.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.itemId;e&&e===t&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},t.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId;if(t&&t!==e.focusedItemId&&t===this.itemId&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement){var n=this.fieldsSvc.checkIndeterminate(this.item);n!==e.fieldsService.checkIndeterminate(e.item)&&(this.checkboxElement.indeterminate=n)}},t.prototype.renderCheckbox=function(){var e,t=this;if(this.props.checkboxes){var n=this.props.size;return r.createElement("div",{className:(0,s.A)("k-checkbox-wrap")},r.createElement("input",{type:"checkbox",className:(0,s.A)("k-checkbox k-rounded-md",(e={},e["k-checkbox-".concat(Yt[n]||n)]=n,e["k-disabled"]=this.disabled,e)),"aria-label":this.item.text,checked:Boolean(this.fieldsSvc.checked(this.item)),id:this.itemGuid,tabIndex:-1,onChange:this.onCheckChange,ref:function(e){return t.checkboxElement=e}}),r.createElement("label",{className:"k-checkbox-label",htmlFor:this.itemGuid}))}},t.prototype.renderExpandIcon=function(){return this.props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||(0,Vt.g8)(this.item,this.fieldsSvc.getChildrenField()))&&r.createElement("span",{className:(0,s.A)("k-treeview-toggle",{"k-disabled":this.disabled}),onClick:this.onExpandChange},r.createElement(u.a,$t({},this.getIconProps())))},t.prototype.renderSubitemsIfApplicable=function(){var e=this,t=this.fieldsSvc.children(this.item);return(0,Vt.Cb)(this.item,this.fieldsSvc)?r.createElement("ul",{className:"k-treeview-group",role:"group"},t.map((function(n,o){return r.createElement(Jt,{item:n,position:0===o?"top":o===t.length-1?"bot":"mid",itemId:Dt.createId(o,e.itemId),treeGuid:e.props.treeGuid,animate:e.props.animate,focusedItemId:e.props.focusedItemId,tabbableItemId:e.props.tabbableItemId,fieldsService:e.props.fieldsService,itemUI:e.props.itemUI,checkboxes:e.props.checkboxes,ariaMultiSelectable:e.props.ariaMultiSelectable,onItemClick:e.props.onItemClick,onFocusDomElNeeded:e.props.onFocusDomElNeeded,draggable:e.props.draggable,onPress:e.props.onPress,onDrag:e.props.onDrag,onRelease:e.props.onRelease,expandIcons:e.props.expandIcons,onExpandChange:e.props.onExpandChange,onCheckChange:e.props.onCheckChange,onContextMenu:e.props.onContextMenu,key:o,size:e.props.size,disabled:e.disabled,isRtl:e.props.isRtl})}))):void 0},t.prototype.renderItemInPart=function(){return r.createElement("span",{className:(0,s.A)("k-treeview-leaf",{"k-focus":this.props.focusedItemId===this.itemId,"k-selected":this.fieldsSvc.selected(this.item),"k-disabled":this.disabled}),style:{touchAction:"none"},onClick:this.onItemClick,onContextMenu:this.onContextMenu},r.createElement("span",{className:"k-treeview-leaf-text"},this.props.itemUI?r.createElement(this.props.itemUI,{item:this.item,itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item)))},Object.defineProperty(t.prototype,"fieldsSvc",{get:function(){return this.props.fieldsService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemId",{get:function(){return this.props.itemId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return(this.props.focusedItemId||this.props.tabbableItemId)===this.itemId?0:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaExpanded",{get:function(){return this.fieldsSvc.hasChildren(this.item)||(0,Vt.g8)(this.item,this.fieldsSvc.getChildrenField())?Boolean(this.fieldsSvc.expanded(this.item)):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.props.disabled||this.fieldsSvc.disabled(this.item)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaChecked",{get:function(){return this.props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return!!this.fieldsSvc.selected(this.item)||(this.props.ariaMultiSelectable?!!this.disabled&&void 0:void 0)},enumerable:!1,configurable:!0}),t.prototype.getIconProps=function(){var e=this.fieldsSvc.expanded(this.item);return e&&!(0,Vt.g8)(this.item,this.fieldsSvc.getChildrenField())?{name:"loading"}:e?{name:"caret-alt-down",icon:Ut}:{name:this.props.isRtl?"caret-alt-left":"caret-alt-right",icon:this.props.isRtl?Wt:jt}},t.defaultProps={position:"top"},t}(r.Component),Jt=r.forwardRef((function(e,t){var n=r.useContext(Zt).call(void 0,e);return r.createElement(Xt,$t({ref:t},n))}));Jt.displayName="TreeViewItem";var Qt={name:"@progress/kendo-react-treeview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700064084,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},en=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),tn=i.G.sizeMap,nn=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:Dt.ZERO_LEVEL_ZERO_NODE_ID},n.fieldsSvc=null,n.allowExplicitFocus=!1,n.treeGuid=(0,a.M)(),n._element=null,n.onFocusDomElNeeded=function(e){n.allowExplicitFocus&&n.focusDomItem(e)},n.onCheckChange=function(e,t,r){n.setFocus(r),n.dispatchCheckChange(e,t,r)},n.onExpandChange=function(e,t,r){n.setFocus(r),n.dispatchExpandChange(e,t,r)},n.onPress=function(e,t,r){n.props.onItemDragStart&&n.props.onItemDragStart.call(void 0,{target:n,item:t,itemHierarchicalIndex:r})},n.onDrag=function(e,t,r){var o=e.pageX,i=e.pageY,a=e.clientX,s=e.clientY;n.props.onItemDragOver&&n.props.onItemDragOver.call(void 0,{target:n,item:t,itemHierarchicalIndex:r,pageX:o,pageY:i,clientX:a,clientY:s})},n.onRelease=function(e,t,r){var o=e.pageX,i=e.pageY,a=e.clientX,s=e.clientY;n.props.onItemDragEnd&&n.props.onItemDragEnd.call(void 0,{target:n,item:t,itemHierarchicalIndex:r,pageX:o,pageY:i,clientX:a,clientY:s})},n.onItemClick=function(e,t,r){n.setFocus(r),n.dispatchItemClick(e,t,r)},n.onFocus=function(){clearTimeout(n.blurRequest),void 0===n.state.focusedItemId&&n.data.length&&n.setFocus(n.state.tabbableItemId)},n.onBlur=function(){clearTimeout(n.blurRequest),n.blurRequest=window.setTimeout((function(){return n.setFocus(void 0)}),0)},n.onKeyDown=function(e){var t=n.getFocusedItem();if(t&&n.fieldsSvc){var r=Nt(t,n.state.focusedItemId,n.data,e.keyCode,n.fieldsSvc);r!==n.state.focusedItemId&&(e.preventDefault(),n.allowExplicitFocus=!0,n.setFocus(r)),n.dispatchEventsOnKeyDown(e,t)}},n.onContextMenu=function(e,t,r){if(n.props.onContextMenu){var o={target:n,syntheticEvent:e,nativeEvent:e.nativeEvent,item:t,itemID:r};n.props.onContextMenu.call(void 0,o)}},(0,ge.s)(Qt),n}return en(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this;this.fieldsSvc=new At.U(this.props);var n=this.props,o=n.size,i=n.className;return r.createElement("div",{className:(0,s.A)("k-treeview",(e={},e["k-treeview-".concat(tn[o]||o)]=o,e["k-user-select-none"]=this.props.draggable,e["k-rtl"]="rtl"===this.props.dir,e),i),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],ref:function(e){return t._element=e},tabIndex:this.props.tabIndex},r.createElement("ul",{className:"k-treeview-lines k-treeview-group",role:"group"},this.data.map((function(e,n){return r.createElement(Jt,{item:e,position:0===n?"top":n===t.data.length-1?"bot":"mid",itemId:n.toString(),treeGuid:t.treeGuid,animate:t.props.animate,focusedItemId:t.state.focusedItemId,tabbableItemId:t.state.tabbableItemId,fieldsService:t.fieldsSvc,itemUI:t.props.item,checkboxes:t.props.checkboxes,ariaMultiSelectable:t.ariaMultiSelectable,onItemClick:t.onItemClick,onFocusDomElNeeded:t.onFocusDomElNeeded,draggable:t.props.draggable,onPress:t.onPress,onDrag:t.onDrag,onRelease:t.onRelease,expandIcons:t.props.expandIcons,onExpandChange:t.onExpandChange,onCheckChange:t.onCheckChange,onContextMenu:t.onContextMenu,key:n,size:o,isRtl:"rtl"===t.props.dir})}))))},t.prototype.componentDidUpdate=function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},t.prototype.dispatchEventsOnKeyDown=function(e,t){var n=this;if(null!==this.fieldsSvc){var r=function(){return n.fieldsSvc&&(0,Vt.hc)(n.state.focusedItemId,n.data,n.fieldsSvc)};e.keyCode===l.R.left&&this.fieldsSvc.expanded(t)&&r()||e.keyCode===l.R.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||(0,Vt.g8)(t,this.props.childrenField))&&r()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===l.R.enter&&r()?this.dispatchItemClick(e,t,this.state.focusedItemId):e.keyCode===l.R.space&&r()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.state.focusedItemId))}},t.prototype.setFocus=function(e){if(e&&this.fieldsSvc)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.setState({focusedItemId:e,focusedItemPublicId:this.fieldsSvc.focusId(t)})}else this.setState({focusedItemId:e});else this.setState((function(e){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:e.focusedItemId}}))},t.prototype.getFocusedItem=function(){return this.state.focusedItemId?this.getItemById(this.state.focusedItemId):void 0},t.prototype.getItemById=function(e){return Dt.getItemById(e,this.data,this.props.childrenField||qt)},t.prototype.dispatchCheckChange=function(e,t,n){(0,Bt.N)(this.props.onCheckChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchExpandChange=function(e,t,n){(0,Bt.N)(this.props.onExpandChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchItemClick=function(e,t,n){(0,Bt.N)(this.props.onItemClick,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.refocusDueToFocusIdField=function(){if(this.fieldsSvc&&this.fieldsSvc.focusIdField){var e=this.state.focusedItemPublicId;if(e){var t=this.props.getFocusHierarchicalIndex?this.props.getFocusHierarchicalIndex(e):(0,Vt.kO)(e,this.fieldsSvc.focusIdField,this.data,this.props.childrenField);t!==this.state.focusedItemId&&(this.allowExplicitFocus=!0,this.setState({focusedItemId:t}))}}},Object.defineProperty(t.prototype,"ariaMultiSelectable",{get:function(){return!0===this.props["aria-multiselectable"]||"true"===this.props["aria-multiselectable"]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.props.data||[]},enumerable:!1,configurable:!0}),t.prototype.focusDomItem=function(e){e.focus()},Object.defineProperty(t.prototype,"guid",{get:function(){return this.treeGuid},enumerable:!1,configurable:!0}),t.propTypes={data:o.arrayOf(o.any),animate:o.bool,tabIndex:o.number,focusIdField:o.string,getHierarchicalIndexById:o.func,onExpandChange:o.func,onItemClick:o.func,expandField:o.string,selectField:o.string,childrenField:o.string,hasChildrenField:o.string,textField:o.string,disableField:o.string,item:o.any,"aria-multiselectable":function(e,t,n){return void 0!==e[t]&&!0!==e[t]&&!1!==e[t]&&"true"!==e[t]&&"false"!==e[t]?new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed."):null},"aria-label":o.string,"aria-labelledby":o.string,size:o.oneOf([null,"small","medium","large"]),dir:o.string},t.defaultProps={animate:!0,expandField:"expanded",selectField:"selected",hasChildrenField:"hasChildren",childrenField:qt,textField:"text",disableField:"disabled",checkField:"checked",checkIndeterminateField:"checkIndeterminate",size:"medium"},t}(r.Component);function rn(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){void 0!==i&&e.current&&a(e.current.offsetWidth)}),n),i}var on=function(e){return r.createElement("div",{className:"k-nodata"},r.createElement("div",null,e.children))},an=function(){return an=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},an.apply(this,arguments)},sn=i.G.sizeMap,ln=i.G.roundedMap,cn=function(e){return r.createElement("span",{className:"k-input-value-text"},e.children)},un=function(e){return e.split("_").map((function(e){return parseInt(e,10)}))},hn={selectField:"selected",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},data:[],required:!1,style:{},validityStyles:!0,size:"medium",rounded:"medium",fillMode:"solid"},dn=(0,d.Y)(),pn=r.forwardRef((function(e,t){var n;(0,ge.s)(ye);var o=(0,Ct.Y)(dn,e),i=an(an({},hn),o),h=r.useMemo((function(){return(0,a.M)()}),[]),d=i.id||h,v=i.data,g=i.dataItemKey,b=i.popupSettings,w=i.style,x=i.opened,k=i.disabled,C=i.onOpen,z=void 0===C?Rt.Z:C,_=i.onClose,E=void 0===_?Rt.Z:_,I=i.placeholder,M=i.label,O=i.name,R=i.selectField,F=i.subItemsField,D=i.validationMessage,A=i.valid,V=i.required,N=i.validityStyles,P=(0,c.p)(i.tabIndex,k),T=r.useRef(null),j=r.useRef(null),U=r.useRef(null),W=r.useRef(null),K=r.useRef(null),q=r.useRef(null),G=r.useRef(!1),$=r.useState(void 0),Y=$[0],Z=$[1],X=void 0!==i.value,J=X?i.value:void 0!==Y?Y:i.defaultValue,Q=H(J),re=Q?B(J,i.textField):"",oe=function(e,t){var n=e.valid;return{customError:void 0!==e.validationMessage,valid:Boolean(void 0!==n?n:!e.required||t),valueMissing:!t}}({validationMessage:D,valid:A,required:V},Q),ie=r.useCallback((function(){return j.current&&j.current.focus()}),[]);r.useImperativeHandle(T,(function(){return{props:i,element:j.current,focus:ie}})),r.useImperativeHandle(t,(function(){return T.current}));var ae=(0,Ht.V)(j,i.dir),se=void 0!==b.width?b.width:void 0!==w.width?w.width:hn.popupSettings.width,ce=rn(j,se),ue=an({width:ce},void 0!==ae?{direction:ae}:{}),he=r.useState(!1),de=he[0],pe=he[1],fe=void 0!==x?x:de,me=r.useState(!1),ve=me[0],xe=me[1],Ce=r.useState(),ze=Ce[0],Ee=Ce[1],Ie=!!(ze&&ze<=ke&&i.adaptive),Se=r.useState(""),Me=Se[0],Oe=Se[1],Re=r.useCallback((function(){K.current&&K.current.setCustomValidity&&K.current.setCustomValidity(oe.valid?"":void 0===D?"Please select a value from the list!":D)}),[D,oe]);r.useEffect(Re),r.useEffect((function(){var e=be.N&&window.ResizeObserver&&new window.ResizeObserver(Xe.bind(void 0));return(null===document||void 0===document?void 0:document.body)&&e&&e.observe(document.body),function(){(null===document||void 0===document?void 0:document.body)&&e&&e.disconnect()}}),[]);var He,Fe,De=r.useCallback((function(e){if(!fe){if(z){var t=an({},e);z.call(void 0,t)}void 0===x&&pe(!0)}}),[fe,x,z]),Ae=r.useCallback((function(e){if(fe){if(E){var t=an({},e);E.call(void 0,t)}void 0===x&&(pe(!1),Ie&&setTimeout((function(){var e;Pe(null===(e=W.current)||void 0===e?void 0:e.element)}),300))}}),[fe,x,E,Ie]),Ve=r.useCallback((function(e){if(!e.isDefaultPrevented()&&T.current){xe(!0);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:T.current};(fe?Ae:De)(t)}}),[fe,x,z,E]),Be=r.useCallback((function(e){G.current=!0,e(),window.setTimeout((function(){return G.current=!1}),0)}),[]),Ne=r.useCallback((function(e){var t,n,r=e.keyCode,o=e.altKey,i=q.current&&q.current.element;if(T.current&&(!e.isDefaultPrevented()||(null===(t=U.current)||void 0===t?void 0:t.element)!==e.target)){var a={syntheticEvent:e,nativeEvent:e.nativeEvent,target:T.current};if(fe)if(r===l.R.esc||o&&r===l.R.up)e.preventDefault(),Ae(a);else if(i&&i.querySelector(".k-focus")&&(r===l.R.up||r===l.R.down||r===l.R.left||r===l.R.right||r===l.R.home||r===l.R.end)){if(r===l.R.up&&(null===(n=U.current)||void 0===n?void 0:n.element)){var s=Array.from(i.querySelectorAll(".k-treeview-item")),c=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],s,!0).reverse().find((function(e){return Boolean(e&&e.querySelector(".k-focus"))}));if(c&&0===s.indexOf(c))return Be((function(){var e;Pe(null===(e=U.current)||void 0===e?void 0:e.element)}))}Be(Rt.Z)}else r===l.R.down&&Be((function(){var e;Pe((null===(e=U.current)||void 0===e?void 0:e.element)||i)}));else o&&r===l.R.down?(e.preventDefault(),De(a)):fe||r===l.R.esc&&$e(e)}}),[fe,x,z,E]),Le=r.useCallback((function(e){var t=e.keyCode;e.altKey||t!==l.R.up&&t!==l.R.down||(e.preventDefault(),Be(t===l.R.up?function(){Pe(j.current)}:function(){Pe(q.current&&q.current.element)}))}),[]),Pe=r.useCallback((function(e){e&&Be((function(){return e.focus()}))}),[]),Te=r.useCallback((function(){var e;ve||!fe||x?o.filterable?Pe(null===(e=U.current)||void 0===e?void 0:e.element):Pe(q.current&&q.current.element):Ae({target:T.current})}),[E,o.filterable,ve,x,fe]),je=r.useCallback((function(){ve&&Pe(j.current)}),[ve]),Ue=r.useCallback((function(e){if(!ve&&!G.current&&(xe(!0),o.onFocus&&T.current)){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:T.current};o.onFocus.call(void 0,t)}}),[ve,o.onFocus]),We=r.useCallback((function(e){if(ve&&!G.current&&T.current){xe(!1);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:T.current};if(o.onBlur){var n=an({},t);o.onBlur.call(void 0,n)}Ie||Ae(t)}}),[ve,o.onBlur,fe,x,E]),Ke=r.useCallback((function(){ve&&Be(Rt.Z),Ie&&setTimeout((function(){var e;Pe(null===(e=W.current)||void 0===e?void 0:e.element)}),300)}),[ve,Ie]),qe=r.useCallback((function(e,t,n){if(o.onChange){var r=an({value:t,level:n?un(n):[]},e);o.onChange.call(void 0,r)}X||Z(t)}),[o.onChange,X]),Ge=r.useCallback((function(e){if(!L(e.item,J,g)&&T.current){var t=e.item,n=e.itemHierarchicalIndex,r=e.nativeEvent,o={syntheticEvent:e.syntheticEvent,nativeEvent:r,target:T.current};qe(o,t,n),Ae(o)}}),[X,J,o.onChange,g,fe,x,E]),$e=r.useCallback((function(e){if(T.current){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:T.current};qe(t,null),Ae(t),e.preventDefault()}}),[X,o.onChange,fe,x,E]),Ye=r.useCallback((function(e){if(e.syntheticEvent.stopPropagation(),o.onExpandChange&&T.current){var t=e.item,n=e.itemHierarchicalIndex,r=e.nativeEvent,i=e.syntheticEvent,a={level:un(n),item:t,nativeEvent:r,syntheticEvent:i,target:T.current};o.onExpandChange.call(void 0,a)}}),[o.onExpandChange]),Ze=r.useCallback((function(e){if(o.onFilterChange&&T.current){var t={filter:{field:o.textField,operator:"contains",value:e.target.value},syntheticEvent:e.syntheticEvent,nativeEvent:e.nativeEvent,target:T.current};o.onFilterChange.call(void 0,t),void 0===o.filter&&Oe(e.target.value)}}),[o.onFilterChange,o.filter,o.textField]),Xe=r.useCallback((function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];Ee(r.target.clientWidth)}}),[]),Je=r.useMemo((function(){return X||!Q?v:(0,Ft.Gy)(v,F,(function(e){var t;return(0,Ft.u5)(e,F,((t={})[R]=L(e,J,g),t))}))}),[v,J,X,Q,R,F]),Qe=i.listNoData||on,et=i.valueHolder||cn,tt=(0,ee.useLocalization)(),nt=!N||oe.valid,rt=i.size,ot=i.rounded,it=i.fillMode,at=r.createElement(r.Fragment,null,r.createElement("span",{className:(0,s.A)("k-dropdowntree k-picker",i.className,(n={},n["k-picker-".concat(sn[rt]||rt)]=rt,n["k-rounded-".concat(ln[ot]||ot)]=ot,n["k-picker-".concat(it)]=it,n["k-focus"]=ve,n["k-invalid"]=!nt,n["k-loading"]=i.loading,n["k-required"]=V,n["k-disabled"]=i.disabled,n)),tabIndex:P,accessKey:i.accessKey,id:d,style:M?an(an({},w),{width:void 0}):w,dir:ae,ref:j,onKeyDown:k?void 0:Ne,onMouseDown:Ke,onClick:k?void 0:Ve,onFocus:Ue,onBlur:We,role:"combobox","aria-haspopup":"tree","aria-expanded":fe,"aria-disabled":k,"aria-label":M,"aria-labelledby":i.ariaLabelledBy,"aria-describedby":i.ariaDescribedBy,"aria-required":V},r.createElement("span",{className:"k-input-inner"},r.createElement(et,{item:J},re||I)),i.loading&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),Q&&!k&&r.createElement("span",{onClick:$e,className:"k-clear-value",title:tt.toLanguageString(ne,le[ne]),role:"button",tabIndex:-1,onMouseDown:function(e){return e.preventDefault()}},r.createElement(u.a,{name:"x",icon:m})),r.createElement(we.z,{tabIndex:-1,type:"button","aria-label":"select",className:"k-input-button",size:rt,fillMode:it,themeColor:"base",rounded:null,icon:"caret-alt-down",svgIcon:f}),r.createElement("select",{name:O,ref:K,tabIndex:-1,"aria-hidden":!0,title:M,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},r.createElement("option",{value:i.valueMap?i.valueMap.call(void 0,J):J})),!Ie&&r.createElement(y.G,{className:(0,s.A)(b.className,{"k-rtl":"rtl"===ae}),popupClass:(0,s.A)(b.popupClass,"k-dropdowntree-popup"),style:ue,animate:b.animate,anchor:j.current,show:fe,onOpen:Te,onClose:je,appendTo:b.appendTo},i.filterable&&r.createElement(S,{value:void 0===i.filter?Me:i.filter,ref:U,onChange:Ze,onKeyDown:Le,size:rt,rounded:ot,fillMode:it}),v.length>0?r.createElement(nn,{ref:q,tabIndex:P,data:Je,focusIdField:g,textField:i.textField,selectField:R,expandField:i.expandField,childrenField:F,expandIcons:!0,onItemClick:Ge,onExpandChange:Ye,size:rt,item:i.item,dir:ae}):r.createElement(Qe,null,tt.toLanguageString(te,le[te])))),Ie&&(He=i.filterable?r.createElement(S,{value:void 0===i.filter?Me:i.filter,ref:W,onChange:Ze,onKeyDown:Le,size:rt,rounded:ot,fillMode:it}):null,Fe={adaptiveTitle:i.adaptiveTitle,expand:fe,onClose:function(e){return Ae(e)},windowWidth:ze,mobileFilter:He},r.createElement(ut,an({},Fe),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},r.createElement("div",{className:"k-list k-list-lg"},v.length>0?r.createElement(nn,{ref:q,tabIndex:P,data:Je,focusIdField:g,textField:i.textField,selectField:R,expandField:i.expandField,childrenField:F,expandIcons:!0,onItemClick:Ge,onExpandChange:Ye,size:rt,item:i.item,dir:ae}):r.createElement(Qe,null,tt.toLanguageString(te,le[te]))))))));return M?r.createElement(p._,{label:M,editorValue:re,editorPlaceholder:I,editorValid:nt,editorDisabled:k,editorId:d,style:{width:w?w.width:void 0},children:at,dir:ae}):at})),fn={opened:o.bool,disabled:o.bool,dir:o.string,tabIndex:o.number,accessKey:o.string,data:o.array,value:o.any,valueMap:o.func,placeholder:o.string,dataItemKey:o.string.isRequired,textField:o.string.isRequired,selectField:o.string,expandField:o.string,subItemsField:o.string,className:o.string,style:o.object,label:o.string,validationMessage:o.string,validityStyles:o.bool,valid:o.bool,required:o.bool,name:o.string,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,filterable:o.bool,filter:o.string,loading:o.bool,popupSettings:o.shape({animate:o.oneOfType([o.bool,o.shape({openDuration:o.number,closeDuration:o.number})]),popupClass:o.string,className:o.string,appendTo:o.any,width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number])}),onOpen:o.func,onClose:o.func,onFocus:o.func,onBlur:o.func,onChange:o.func,onFilterChange:o.func,onExpandChange:o.func,item:o.func,valueHolder:o.func,listNoData:o.func,adaptiveTitle:o.string,adaptive:o.bool};pn.displayName="KendoReactDropDownTree",pn.propTypes=fn;var mn=function(){return mn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},mn.apply(this,arguments)},vn=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},gn=i.G.sizeMap,bn=i.G.roundedMap,yn={checkField:"checkField",checkIndeterminateField:"checkIndeterminateField",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},size:"medium",rounded:"medium",fillMode:"solid",required:!1,validityStyles:!0},wn=(0,d.Y)(),xn=r.forwardRef((function(e,t){var n,o,i=(0,Ct.Y)(wn,e);(0,ge.s)(ye);var h=r.useMemo((function(){return(0,a.M)()}),[]),d=i.id||h,f=i.data,m=void 0===f?[]:f,v=i.dataItemKey,g=i.popupSettings,b=void 0===g?{}:g,w=i.style,x=void 0===w?{}:w,k=i.opened,C=i.disabled,z=i.onOpen,_=void 0===z?Rt.Z:z,E=i.onClose,I=void 0===E?Rt.Z:E,M=i.placeholder,O=i.label,R=i.name,H=i.checkField,F=void 0===H?yn.checkField:H,D=i.checkIndeterminateField,A=void 0===D?yn.checkIndeterminateField:D,V=i.subItemsField,N=void 0===V?yn.subItemsField:V,P=i.validationMessage,T=i.valid,U=i.tags,W=i.value,K=i.required,q=void 0===K?yn.required:K,G=i.validityStyles,$=void 0===G?yn.validityStyles:G,Y=(0,c.p)(i.tabIndex,C),Z=r.useRef(null),X=r.useRef(null),J=r.useRef(null),Q=r.useRef(null),ne=r.useRef(null),re=r.useRef(null),oe=r.useRef(!1),ie=r.useRef([]),ce=r.useRef(null),ue=r.useState(),he=ue[0],de=ue[1],pe=r.useState(!1),fe=pe[0],me=pe[1],ve=r.useState(!1),we=ve[0],xe=ve[1],Ce=r.useState(),ze=Ce[0],Ee=Ce[1],Ie=r.useState([]),Se=Ie[0],Me=Ie[1],Oe=r.useState(""),Re=Oe[0],He=Oe[1],Fe=!!(ze&&ze<=ke&&i.adaptive),De=void 0!==k?k:fe,Ae=Boolean(Array.isArray(W)&&W.length),Ve=function(e,t){var n=e.valid;return{customError:void 0!==e.validationMessage,valid:Boolean(void 0!==n?n:!e.required||t),valueMissing:!t}}({validationMessage:P,valid:T,required:q},Ae),Be=(0,Ht.V)(X,i.dir),Ne=void 0!==b.width?b.width:void 0!==x.width?x.width:yn.popupSettings.width,Pe=rn(X,Ne),Te=mn({width:Pe},void 0!==Be?{direction:Be}:{}),je=r.useCallback((function(){return X.current&&X.current.focus()}),[]);ie.current=void 0===U?(W||[]).map((function(e){return{text:B(e,i.textField),data:[e]}})):vn([],U,!0),r.useImperativeHandle(Z,(function(){return{props:i,element:X.current,focus:je}})),r.useImperativeHandle(t,(function(){return Z.current}));var Ue=r.useCallback((function(){ne.current&&ne.current.setCustomValidity&&ne.current.setCustomValidity(Ve.valid?"":void 0===P?"Please select a value from the list!":P)}),[P,Ve]);r.useEffect(Ue),r.useEffect((function(){var e=be.N&&window.ResizeObserver&&new window.ResizeObserver(pt.bind(void 0));return(null===document||void 0===document?void 0:document.body)&&e&&e.observe(document.body),function(){e&&e.disconnect()}}),[]),r.useEffect((function(){ce.current&&De&&ce.current.setPosition(ce.current._popup)}),[W,De]);var We,Ke,qe=r.useCallback((function(e,t,n){if(i.onChange){var r=mn({items:t,operation:n},e);i.onChange.call(void 0,r)}}),[i.onChange]),Ge=r.useCallback((function(e){if(!L(e.item,W,v)&&Z.current){var t=e.item,n=e.nativeEvent,r={syntheticEvent:e.syntheticEvent,nativeEvent:n,target:Z.current};qe(r,[t],"toggle")}}),[W,v,qe]),$e=r.useCallback((function(e){if(!De){if(_){var t=mn({},e);_.call(void 0,t)}void 0===k&&(me(!0),Me(W||[]),Fe&&setTimeout((function(){var e;Xe(null===(e=Q.current)||void 0===e?void 0:e.element)}),300))}}),[De,k,_,Fe,Q]),Ye=r.useCallback((function(e){if(De){if(I){var t=mn({},e);I.call(void 0,t)}void 0===k&&me(!1)}}),[De,k,I]),Ze=r.useCallback((function(e){oe.current=!0,e(),window.setTimeout((function(){return oe.current=!1}),0)}),[]),Xe=r.useCallback((function(e){e&&Ze((function(){return e.focus()}))}),[Ze]),Je=r.useCallback((function(){var e;!we&&De?Ye({target:Z.current}):i.filterable?Xe(null===(e=J.current)||void 0===e?void 0:e.element):Xe(re.current&&re.current.element)}),[we,De,Xe,Ye,i.filterable]),Qe=r.useCallback((function(){we&&Xe(X.current)}),[we,Xe]),et=r.useCallback((function(e){if(!we&&!oe.current&&(xe(!0),i.onFocus&&Z.current)){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:Z.current};i.onFocus.call(void 0,t)}}),[we,i.onFocus]),tt=r.useCallback((function(e){if(we&&!oe.current&&Z.current){xe(!1);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:Z.current};if(i.onBlur){var n=mn({},t);i.onBlur.call(void 0,n)}Fe||Ye(t)}}),[we,i.onBlur,De,k,I]),nt=r.useCallback((function(){we&&Ze(Rt.Z)}),[we,Ze]),rt=r.useCallback((function(e){if(!e.isDefaultPrevented()&&Z.current){xe(!0);var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:Z.current};De||$e(t)}}),[De,$e]),ot=r.useCallback((function(e){var t,n,r=e.keyCode,o=e.altKey,i=re.current&&re.current.element;if(Z.current&&(!e.isDefaultPrevented()||(null===(t=J.current)||void 0===t?void 0:t.element)!==e.target)){var a={syntheticEvent:e,nativeEvent:e.nativeEvent,target:Z.current};if(W&&W.length>0&&(r===l.R.left||r===l.R.right||r===l.R.home||r===l.R.end||r===l.R.delete)){var s=ie.current,c=he?s.findIndex((function(e){return j(e,he,v)})):-1,u=void 0,h=-1!==c;r===l.R.left?u=s[c=h?Math.max(0,c-1):s.length-1]:r===l.R.right?c===s.length-1?u=void 0:h&&(u=s[c=Math.min(s.length-1,c+1)]):r===l.R.home?u=s[0]:r===l.R.end?u=s[s.length-1]:r===l.R.delete&&h&&qe(a,s[c].data,"delete"),u!==he&&de(u)}if(De)if(r===l.R.esc||o&&r===l.R.up)e.preventDefault(),Ye(a);else if(i&&i.querySelector(".k-focus")&&(r===l.R.up||r===l.R.down||r===l.R.left||r===l.R.right||r===l.R.home||r===l.R.end)){if(r===l.R.up&&(null===(n=J.current)||void 0===n?void 0:n.element)){var d=Array.from(i.querySelectorAll(".k-treeview-item")),p=vn([],d,!0).reverse().find((function(e){return Boolean(e&&e.querySelector(".k-focus"))}));if(p&&0===d.indexOf(p))return Ze((function(){var e;Xe(null===(e=J.current)||void 0===e?void 0:e.element)}))}Ze(Rt.Z)}else r===l.R.down&&Ze((function(){var e;Xe((null===(e=J.current)||void 0===e?void 0:e.element)||i)}));else o&&r===l.R.down&&(e.preventDefault(),$e(a))}}),[De,Ye,Xe,Ze,$e,he,v,W,qe]),at=r.useCallback((function(e){var t=e.keyCode;e.altKey||t!==l.R.up&&t!==l.R.down||(e.preventDefault(),Ze(t===l.R.up?function(){Xe(X.current)}:function(){Xe(re.current&&re.current.element)}))}),[Xe,Ze]),st=r.useCallback((function(e){if(Z.current){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:Z.current};qe(t,[],"clear"),Ye(t),e.preventDefault()}}),[qe,Ye]),lt=r.useCallback((function(e,t){var n;Ye({target:Z.current}),we||Xe(null===(n=J.current)||void 0===n?void 0:n.element),qe({syntheticEvent:t,nativeEvent:t.nativeEvent,target:Z.current},e,"delete")}),[qe,Ye,Xe,we]),ct=r.useCallback((function(e){if(i.onExpandChange&&Z.current){var t=e.item,n=e.itemHierarchicalIndex,r=e.nativeEvent,o=e.syntheticEvent,a={level:(s=n,s.split("_").map((function(e){return parseInt(e,10)}))),item:t,nativeEvent:r,syntheticEvent:o,target:Z.current};i.onExpandChange.call(void 0,a)}var s}),[i.onExpandChange]),ht=r.useCallback((function(e){if(i.onFilterChange&&Z.current){var t={filter:{field:i.textField,operator:"contains",value:e.target.value},syntheticEvent:e.syntheticEvent,nativeEvent:e.nativeEvent,target:Z.current};i.onFilterChange.call(void 0,t),void 0===i.filter&&He(e.target.value)}}),[i.onFilterChange,i.filter,i.textField]),dt=r.useCallback((function(e){if(Z.current){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:Z.current};i.onCancel&&i.onCancel.call(void 0,t),Ye(t),e.preventDefault()}}),[i.onCancel,Ye]),pt=r.useCallback((function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];Ee(r.target.clientWidth)}}),[]),ft=i.listNoData||on,mt=(0,ee.useLocalization)(),vt=!$||Ve.valid,gt=i.size,bt=i.rounded,yt=i.fillMode,wt=Fe&&De?Se:ie.current,xt=r.createElement(r.Fragment,null,r.createElement("span",{className:(0,s.A)("k-multiselecttree k-input",i.className,(n={},n["k-input-".concat(gn[gt]||gt)]=gt,n["k-rounded-".concat(bn[bt]||bt)]=bt,n["k-input-".concat(yt)]=yt,n["k-focus"]=we&&!C,n["k-invalid"]=!vt,n["k-disabled"]=C,n["k-loading"]=i.loading,n["k-required"]=q,n)),tabIndex:Y,accessKey:i.accessKey,id:d,style:O?mn(mn({},x),{width:void 0}):x,dir:Be,ref:X,onKeyDown:C?void 0:ot,onMouseDown:nt,onFocus:et,onBlur:tt,role:"combobox","aria-haspopup":"tree","aria-expanded":De,"aria-disabled":C,"aria-label":O,"aria-labelledby":i.ariaLabelledBy,"aria-describedby":i.ariaDescribedBy?i.ariaDescribedBy:"tagslist-"+d,"aria-required":i.required,onClick:C?void 0:rt},r.createElement("div",{id:"tagslist-"+d,className:(0,s.A)("k-input-values k-chip-list k-selection-multiple",(o={},o["k-chip-list-".concat(gn[gt]||gt)]=gt,o))},wt.length>0?r.createElement(it,{tag:i.tag,onTagDelete:lt,data:wt,guid:d,focused:he?ie.current.find((function(e){return j(e,he,v)})):void 0,size:gt}):M),r.createElement("span",{className:"k-input-inner"},r.createElement("span",{className:"k-input-value-text"}," ")),i.loading&&r.createElement(u.a,{className:"k-input-loading-icon",name:"loading"}),Ae&&!C&&wt.length>0&&r.createElement(Le,{onClick:st}),r.createElement("select",{name:R,ref:ne,tabIndex:-1,"aria-hidden":!0,title:O,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},r.createElement("option",{value:i.valueMap?i.valueMap.call(void 0,W):W})),!Fe&&r.createElement(y.G,{popupClass:(0,s.A)(b.popupClass,"k-multiselecttree-popup"),className:(0,s.A)(b.className,{"k-rtl":"rtl"===Be}),style:Te,animate:b.animate,anchor:X.current,show:De,onOpen:Je,onClose:Qe,appendTo:b.appendTo,ref:ce},i.filterable&&r.createElement(S,{value:void 0===i.filter?Re:i.filter,ref:J,onChange:ht,onKeyDown:at,tabIndex:Y,size:gt,rounded:bt,fillMode:yt}),m.length>0?r.createElement(nn,{ref:re,tabIndex:Y,data:m,focusIdField:v,textField:i.textField,checkField:F,checkIndeterminateField:A,expandField:i.expandField,childrenField:N,expandIcons:!0,onItemClick:Ge,onCheckChange:Ge,onExpandChange:ct,checkboxes:!0,size:gt,item:i.item,dir:Be}):r.createElement(ft,null,mt.toLanguageString(te,le[te])))),Fe&&(We=i.filterable?r.createElement(S,{value:void 0===i.filter?Re:i.filter,ref:Q,onChange:ht,onKeyDown:at,size:gt,rounded:bt,fillMode:yt}):null,Ke={adaptiveTitle:i.adaptiveTitle,expand:De,onClose:function(e){return i.onCancel?dt(e):st(e)},windowWidth:ze,mobileFilter:We,footer:{cancelText:mt.toLanguageString(se,le[se]),onCancel:function(e){return i.onCancel?dt(e):st(e)},applyText:mt.toLanguageString(ae,le[ae]),onApply:function(e){return Ye(e)}}},r.createElement(ut,mn({},Ke),r.createElement(_e.M,{className:"!k-overflow-hidden"},r.createElement("div",{className:"k-list-container"},r.createElement("div",{className:"k-list k-list-lg"},m.length>0?r.createElement(nn,{ref:re,tabIndex:Y,data:m,focusIdField:v,textField:i.textField,checkField:F,checkIndeterminateField:A,expandField:i.expandField,childrenField:N,expandIcons:!0,onItemClick:Ge,onCheckChange:Ge,onExpandChange:ct,checkboxes:!0,size:gt,item:i.item,dir:Be}):r.createElement(ft,null,mt.toLanguageString(te,le[te]))))))));return O?r.createElement(p._,{label:O,editorValue:Ae,editorPlaceholder:M,editorValid:vt,editorDisabled:C,editorId:d,style:{width:x?x.width:void 0},children:xt,dir:Be}):xt})),kn={opened:o.bool,disabled:o.bool,dir:o.string,tabIndex:o.number,accessKey:o.string,data:o.array,value:o.any,valueMap:o.func,placeholder:o.string,dataItemKey:o.string.isRequired,textField:o.string.isRequired,checkField:o.string,checkIndeterminateField:o.string,expandField:o.string,subItemsField:o.string,className:o.string,style:o.object,label:o.string,validationMessage:o.string,validityStyles:o.bool,valid:o.bool,required:o.bool,name:o.string,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,filterable:o.bool,filter:o.string,loading:o.bool,tags:o.arrayOf(o.shape({text:o.string,data:o.arrayOf(o.any)})),popupSettings:o.shape({animate:o.oneOfType([o.bool,o.shape({openDuration:o.number,closeDuration:o.number})]),popupClass:o.string,className:o.string,appendTo:o.any,width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number])}),onOpen:o.func,onClose:o.func,onFocus:o.func,onBlur:o.func,onChange:o.func,onFilterChange:o.func,onExpandChange:o.func,onCancel:o.func,item:o.func,listNoData:o.func,adaptiveTitle:o.string,adaptive:o.bool};xn.displayName="KendoReactMultiSelectTree",xn.defaultProps=yn,xn.propTypes=kn;var Cn=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},zn=function(e,t){var n={};return e&&e.length&&e.forEach((function(e){n[t(e)]=!0})),n},_n=function(e,t){var n=t.items,r=t.dataItemKey,o=t.value,i=t.subItemsField,a=void 0===i?"items":i,s=t.operation,l=(0,_t.Y)(r),c=zn(o,l);if("clear"===s)return[];if("delete"===s){var u=zn(n,l);return o.filter((function(e){return!u[l(e)]}))}for(var h,d=n[0],p=l(d),f=(0,_t.Y)(a),m=Cn([],e,!0),v=[],g=[];m.length;){var b=m.pop();if(p===l(b)){g=v.map((function(e){return e.item})),h=b;break}v&&v.length&&v[v.length-1].parentPosition===m.length&&v.pop(),(S=f(b))&&S.length&&(v.push({item:b,parentPosition:m.length}),m.push.apply(m,S))}for(var y=Cn([],f(h)||[],!0),w=[];y.length;)b=y.pop(),w.push(b),(S=f(b))&&S.length&&y.push.apply(y,S);var x=[];if(c[p]){var k=l(h),C=zn(w,l),z=zn(g,l);x.push.apply(x,o.filter((function(e){var t=l(e);return!C[t]&&k!==t&&!z[t]})))}else{x.push.apply(x,o),x.push(h),x.push.apply(x,w.filter((function(e){return!c[l(e)]})));for(var _=g.filter((function(e){return!c[l(e)]})),E=zn(x,l),I=_.length-1;I>-1;I--){var S,M=_[I];if((S=f(M)).filter((function(e){return E[l(e)]})).length<S.length)break;x.push(M),E[l(M)]=!0}}return x}},6183:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(8047),o=n(3899),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=o.forwardRef((function(e,t){var n=o.useRef(null),a=o.useRef(null);return o.useImperativeHandle(n,(function(){return{element:a.current}})),o.useImperativeHandle(t,(function(){return n.current})),o.createElement("span",i({},e,{className:(0,r.A)("k-input-prefix",e.className)}))}));a.displayName="KendoReactInputPrefix"},5603:(e,t,n)=>{n.r(t),n.d(t,{Checkbox:()=>Ln,CheckboxPropsContext:()=>Nn,ColorGradient:()=>Ft,ColorGradientPropsContext:()=>Ht,ColorGradientWithoutContext:()=>Rt,ColorInput:()=>lt,ColorPalette:()=>Pt,ColorPalettePropsContext:()=>Lt,ColorPaletteWithoutContext:()=>Nt,ColorPicker:()=>Yt,ColorPickerPropsContext:()=>$t,FlatColorPicker:()=>en,Input:()=>Je,InputClearValue:()=>Lr,InputPrefix:()=>Pr.Z,InputPropsContext:()=>Xe,InputSeparator:()=>jr,InputSuffix:()=>Wr,InputValidationIcon:()=>qr,InputWithoutContext:()=>Ze,MaskedTextBox:()=>xn,MaskedTextBoxPropsContext:()=>wn,MaskedTextBoxWithoutContext:()=>yn,NumericTextBox:()=>Ae,NumericTextBoxPropsContext:()=>De,PALETTEPRESETS:()=>At,RANGE_ACTION:()=>kn,RATING_ACTION:()=>Qn,RadioButton:()=>jn,RadioButtonPropsContext:()=>Tn,RadioGroup:()=>qn,RadioGroupPropsContext:()=>Kn,RangeSlider:()=>Sn,RangeSliderPropsContext:()=>In,Rating:()=>ur,RatingItem:()=>Xn,RatingPropsContext:()=>cr,SLIDER_LABEL_ATTRIBUTE:()=>ft,Signature:()=>Vr,SignaturePropsContext:()=>Ar,Slider:()=>wt,SliderLabel:()=>mt,SliderPropsContext:()=>yt,SliderWithoutContext:()=>bt,Switch:()=>Vn,SwitchPropsContext:()=>An,SwitchWithoutContext:()=>Dn,TextArea:()=>Zn,TextAreaPropsContext:()=>Yn,TextBox:()=>Br.z,inputsMessages:()=>ce,isCorrectValue:()=>or,isHalf:()=>tr,isSelected:()=>nr,maskingChanged:()=>mn,numericDecreaseValue:()=>F,numericIncreaseValue:()=>H,rangeReducer:()=>zn,ratingReducer:()=>ar,sanitizeNumber:()=>Re,toRound:()=>er});var r=n(3899),o=n(189),i=n(499),a=n(848),s=n(9656),l=n(3198),c=n(9447),u=n(5407),h=n(3769),d=n(8047),p=n(2697),f=n(4703);const m={name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},v={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},g={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},b={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},y={name:"caret-alt-expand",content:'<path d="M128 288h256L256 480 128 288zM256 32 128 224h256.001L256 32z" />',viewBox:"0 0 512 512"},w={name:"droplet-slider",content:'<path d="M192 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S32 404.8 32 312C32 181.3 192 32 192 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136zm128-88h-32v256h32V224zm0-192h-32v64h32V32zm-64 96v64h96v-64h-96z" />',viewBox:"0 0 512 512"},x={name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},k={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},C={name:"hyperlink-open",content:'<path d="M32 480h448V256h-32v192H64V64h192V32H32v448zM320 32l56.9 56.9.5.5L224 242.7l45.3 45.3 153.3-153.4L480 192V32H320z" />',viewBox:"0 0 512 512"},z={name:"star-outline",content:'<path d="M480 202.4 319.1 188 256 32l-63.1 156L32 202.4l122 111.7L117.2 480 256 391.5 394.8 480 358 314.1l122-111.7zM256 353.6l-90.8 57.9 24-108.5-82.1-75.2 108.1-9.7L256 117.3l40.8 100.8 108.1 9.7-82.1 75.2 24.1 108.5-90.9-57.9z" />',viewBox:"0 0 512 512"},_={name:"star",content:'<path d="M256 391.5 117.2 480 154 314.1 32 202.4 192.9 188 256 32l63.1 156L480 202.4 358 314.1 394.8 480 256 391.5z" />',viewBox:"0 0 512 512"},E={name:"palette",content:'<path d="m206 256.6 160-160c-2.2-5.7-4.8-11.1-7.9-16.3-24.2-40.8-60.1-66-107.8-75.9-2.3-.5-4.7-1-7.1-1.4C192-5.8 143.1 4.8 96.5 34.6 49.3 64.7 19.2 107.2 6.1 162c-13 54.8-5.2 106.4 23.4 154.6 14.2 23.8 31.3 43.2 51.4 58.4 3.8-25.2 13.4-52 36.4-75 31.3-31.4 64-41.3 88.7-43.4zM288 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-96-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm0-128c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm438.7 12.9L480 118.3c-12.4-12.4-32.8-12.4-45.3 0L281.1 271.9c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l11.3 12.7c5.4 6.8 11.8 16.2 17.6 27.6l153.5-153.5c12.6-12.4 12.6-32.8.2-45.2zM354.3 289.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L457.4 141h.1l22.5 22.5-125.7 125.8zm-78.7 169c-23.8 23.7-48.4 33-70.7 37.7-49.6 10.4-96 16-96 16s34.7-17.3 33.9-77c-.4-32.7-3.7-66.4 19.7-89.8 56.6-56.7 113.3.2 113.3.2s56.7 56-.2 112.9z" />',viewBox:"0 0 512 512"},I={name:"droplet-slash",content:'<path d="m317.9 431 23.2 23.2C316.5 470.6 287.3 480 256 480c-88.4 0-160-75.2-160-168 0-27.8 7.2-56.4 18.6-84.2l24.8 24.8C131.9 274 128 293.9 128 312c0 75 57.4 136 128 136 22.4 0 43.5-6.2 61.9-17zM256 416v-32c-35.3 0-64-28.7-64-64h-32c0 53 43 96 96 96zm224 41.4L457.4 480 32 54.6 54.6 32l108.7 108.7C207 77.7 256 32 256 32s160 149.3 160 280c0 24.1-4.9 47.1-13.6 67.8l77.6 77.6zM384 312c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-1.4 1.9-2.7 3.7-4.1 5.6-.8 1.1-1.5 2.1-2.3 3.2l-1.5 2.1-3 4.2c-.2.3-.4.5-.6.8-1 1.5-2.1 3-3.1 4.5-.1.1-.1.2-.2.3l191.2 191.2c.5-1.6 1-3.3 1.4-4.9 0-.2.1-.4.1-.5.4-1.5.8-2.9 1.1-4.4.1-.3.1-.6.2-.9.3-1.4.6-2.7.9-4.1.1-.4.2-.8.2-1.2.2-1.3.5-2.6.7-3.9.1-.5.2-1 .2-1.5.2-1.2.3-2.5.5-3.7.1-.5.1-1.1.2-1.6l.3-3.6c0-.6.1-1.1.1-1.7.1-1.3.2-2.5.2-3.8 0-.5.1-1 .1-1.6.4-1.9.4-3.7.4-5.5z" />',viewBox:"0 0 512 512"};var S,M=n(6097),O=n(4006),R=n(2009),H="numerictextbox.increment",F="numerictextbox.decrement",D="slider.increment",A="slider.decrement",V="slider.dragTitle",B="colorGradient.r",N="colorGradient.g",L="colorGradient.b",P="colorGradient.a",T="colorGradient.hex",j="colorGradient.contrastRatio",U="colorGradient.colorGradientAALevel",W="colorGradient.colorGradientAAALevel",K="colorGradient.colorGradientPass",q="colorGradient.colorGradientFail",G="colorGradient.hueSliderLabel",$="colorGradient.alphaSliderLabel",Y="colorGradient.toggleInputsButton",Z="flatColorPicker.cancelBtn",X="flatColorPicker.applyBtn",J="flatColorPicker.colorGradientBtn",Q="flatColorPicker.colorPaletteBtn",ee="flatColorPicker.clearBtn",te="checkbox.validation",ne="checkbox.optionalText",re="switch.validation",oe="colorPicker.dropdownButtonAriaLabel",ie="rating.ariaLabel",ae="signature.clear",se="signature.maximize",le="signature.minimize",ce=((S={})[H]="Increase value",S[F]="Decrease value",S[D]="Increase",S[A]="Decrease",S[V]="Drag",S[B]="r",S[N]="g",S[L]="b",S[P]="a",S[T]="hex",S[j]="Contrast ratio",S[U]="AA",S[W]="AAA",S[K]="Pass",S[q]="Fail",S[G]="Hue slider",S[$]="Alpha slider",S[Y]="Toggle colorgradient inputs",S[Z]="Cancel",S[X]="Apply",S[J]="Color Gradient view",S[Q]="Color Palette view",S[ee]="Clear color value",S[te]="Please check this box if you want to proceed!",S[ne]="(Optional)",S["radioButton.validation"]="Please select option if you want to proceed!",S[re]="Please turn on if you want to proceed!",S[oe]="Select",S[ie]="Rating",S[ae]="Clear",S[se]="Maximize",S[le]="Minimize",S),ue=function(){return ue=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ue.apply(this,arguments)},he=1111111.1111111,de=/\d/,pe=function(e,t){return void 0!==e?e:t},fe=function(e,t,n){return null===e&&void 0===e?"":"string"==typeof e?e:n.formatNumber(e,t)},me=function(e){return(String(e).split(".")[1]||"").length},ve=function(e,t){return Math.max(me(e),me(t))},ge=function(e,t){var n=function(e){return Math.min(e,15)}(t);return parseFloat(e.toFixed(n))},be=function(e,t,n,r,o,i,a){var s=ve(e||0,n||0),l=we(ge((e||0)+(n||0),s),r,o);t.eventValue=l,t.currentLooseValue=fe(l,i,a),t.selectionStart=t.selectionEnd=_e(t.currentLooseValue,de)},ye=function(e,t,n,r,o,i,a){var s=ve(e||0,n||0),l=we(ge((e||0)-(n||0),s),r,o);t.eventValue=l,t.currentLooseValue=fe(l,i,a),t.selectionStart=t.selectionEnd=_e(t.currentLooseValue,de)},we=function(e,t,n){return null==e?e:e>1||e<1||1===e?void 0!==n&&void 0!==t&&n<t?null:(void 0!==n&&e>n&&(e=n),void 0!==t&&e<t&&(e=t),e):null},xe=function(e,t,n,r){e.selectionStart=e.selectionEnd=t,function(e,t,n){var r=function(e,t){var n=t.findIndex((function(t){t[0];var n=t[1];return Boolean(n)&&e.indexOf(n)===e.length-n.length}));if(-1===n)return-1;var r=t[n][1];return e.length-r.length}(e,t);if(-1!==r&&n.selectionStart>r)n.selectionStart=n.selectionEnd=r;else{n.selectionStart>e.length&&(n.selectionStart=n.selectionEnd=e.length);var o=function(e,t){var n=t.findIndex((function(t){var n=t[0];return t[1],Boolean(n)&&0===e.indexOf(n)}));return-1===n?-1:t[n][0].length}(e,t);-1!==o&&n.selectionStart<o&&(n.selectionStart=n.selectionEnd=o),-1===n.selectionStart&&(n.selectionStart=n.selectionEnd=0)}}(n,r,e)},ke=function(e,t,n,r){e.eventValue=r.parseNumber(e.prevLooseValue,t),e.currentLooseValue=e.prevLooseValue,e.valueIsCorrected=!0,xe(e,e.selectionStart,e.currentLooseValue,n)},Ce=function(e,t){var n=e.indexOf(t.decimal);return n>-1?n:_e(e,de)},ze=function(e){return e.split("").reverse().join("")},_e=function(e,t){return e.length-ze(e).search(t)},Ee=function(e){return e.split(e[e.search(de)])[0]},Ie=function(e){var t=ze(e);return ze(t.split(t[t.search(de)])[0])},Se=function(e,t){return e.search(t)},Me=function(e,t){var n=e.indexOf(t);return n>-1?e.length-n-1:0},Oe=function(e,t,n,r,o){var i="0"===e.replace(o,"")[0],a="0"===t.replace(o,"")[0];if(i&&!a)return n-1;if(a&&r)return n+1;for(var s=0,l=0;l<n;l++)de.test(e.charAt(l))&&s++;for(var c=0;s>0&&t.length>c;)de.test(t.charAt(c))&&s--,c++;return c},Re=function(e,t,n){var r=ue({},e),o=r.prevLooseValue,i=n.numberSymbols(),a=function(e,t){var n=t.formatNumber(he,e),r=t.formatNumber(-he,e),o=t.formatNumber(0,e),i=t.formatNumber(1,e),a=t.numberSymbols(),s=new RegExp("[\\d\\".concat(a.decimal).concat(a.group,"]"),"g");return[n,r,o,i].map((function(e){return e.replace(s,"")})).join("").split("").filter((function(e,t,n){return n.indexOf(e)===t})).join("")}(t,n),s=String(r.currentLooseValue),l=String(o),c=new RegExp("[^\\d\\".concat(i.decimal,"]"),"g"),u=new RegExp("[^\\d\\".concat(i.decimal,"\\").concat(i.group,"]"),"g"),h=new RegExp("[\\d\\".concat(i.decimal,"\\").concat(i.group,"]")),d=s.replace(c,""),p=Se(s,de),f=-1===p?-1:_e(s,de),m=s.indexOf(i.decimal),v=(s.substring(0,p)+s.substring(p,f).replace(u,"")+s.substring(f,s.length)).split("").filter((function(e){return-1!==a.indexOf(e)||-1!==e.search(h)})).join(""),g=n.formatNumber(.31111111111111117,t).replace(c,""),b=g.indexOf(i.decimal),y=b>-1?g.length-b-1:0,w=n.formatNumber(1,t).replace(c,""),x=w.indexOf(i.decimal),k=x>-1?w.length-x-1:0,C=function(e,t){var n=t.formatNumber(he,e),r=t.formatNumber(-he,e),o=t.formatNumber(0,e),i=t.formatNumber(1,e),a=Ee(n),s=Ee(r),l=Ee(o),c=Ee(i);return{positiveInfo:[a,Ie(n)],negativeInfo:[s,Ie(r)],zeroInfo:[l,Ie(o)],oneInfo:[c,Ie(i)]}}(t,n),z=[C.positiveInfo,C.negativeInfo,C.zeroInfo,C.oneInfo],_=1!==z.findIndex((function(e){return-1!==e.findIndex((function(e){return Boolean(e)}))})),E=s.length>0&&s.length<l.length,I="string"==typeof t&&"p"===t[0]&&s&&-1===s.indexOf(i.percentSign);if(!r.isPaste){if(""===s)return r.eventValue=null,r.currentLooseValue="",r;if(r.currentLooseValue===i.minusSign&&n.formatNumber(-0,t)!==l)return r.eventValue=-0,r.currentLooseValue=fe(r.eventValue,t,n),xe(r,Ce(r.currentLooseValue,i),r.currentLooseValue,z),r;if(r.currentLooseValue===i.decimal){r.eventValue=0;var S=fe(r.eventValue,t,n);if(0===k&&y>0){var M=_e(S,de);r.currentLooseValue=S.substring(0,M)+i.decimal+S.substring(M)}else r.currentLooseValue=S;return xe(r,Ce(r.currentLooseValue,i)+1,r.currentLooseValue,z),r}if(function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return n.split(t.minusSign).length!==r.split(t.minusSign).length&&n.length===r.length+t.minusSign.length}(r,i)){var O=n.parseNumber(o,t);r.eventValue=-(null!==O?O:0),r.currentLooseValue=fe(r.eventValue,t,n);var R=Se(r.currentLooseValue,de),H=Se(l,de);return xe(r,r.selectionEnd-1+(R-H),r.currentLooseValue,z),r}if(function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return-1===n.indexOf(t.minusSign)&&-1!==r.indexOf(t.minusSign)}(r,i))return r.eventValue=n.parseNumber(r.currentLooseValue,t),xe(r,r.selectionStart,r.currentLooseValue,z),r;if(function(e,t){return String(e.currentLooseValue).split(t.decimal).length>2}(r,i))return ke(r,t,z,n),r;if(I)return r.eventValue=n.parseNumber(s,t)/100,r.currentLooseValue=fe(r.eventValue,t,n),r;if(String(r.currentLooseValue).replace(/[^\d]/g,"").length>15)return ke(r,t,z,n),r;if(d!==s&&s&&_){var F=z.findIndex((function(e){var t=e[0],n=e[1],r=s.indexOf(t),o=s.indexOf(n),a=0===r,l=o===s.length-n.length,c=r+t.length!==p&&-1!==p&&s[r+t.length]!==i.decimal,u=o!==f&&-1!==f&&s[o-1]!==i.decimal;return t&&n?!c&&!u&&a&&l:t?!c&&a:!!n&&!u&&l}));if(-1===F)return ke(r,t,z,n),r}if(d[d.length-1]===i.decimal&&y>0)return r.eventValue=n.parseNumber(s,t),r.currentLooseValue=v,r;if(r.currentLooseValue&&o&&(a+i.decimal+i.group).split("").findIndex((function(e){return s.split("").filter((function(t){return t===e})).length<l.split("").filter((function(t){return t===e})).length&&s.length+1===l.length&&(e!==i.decimal||0!==Me(l.replace(c,""),i.decimal))}))>-1)return r.eventValue=n.parseNumber(e.prevLooseValue,t),r.currentLooseValue=e.prevLooseValue,r;var D=Me(d,i.decimal),A="0"===d[d.length-1];if(E&&A&&D<k)return r.eventValue=n.parseNumber(r.currentLooseValue,t),r.currentLooseValue=fe(r.eventValue,t,n),r;if(D>0){var V=s.substring(0,m);if(A&&(!V||0!==l.indexOf(V))){r.eventValue=n.parseNumber(r.currentLooseValue,t);var B=fe(r.eventValue,t,n);return xe(r,Oe(s,B,r.selectionEnd,E,c),B,z),r.currentLooseValue=B,r}if(D>y){var N=s.indexOf(i.decimal),L=s.substring(0,N)+s.substring(N,N+1+y)+s.substring(f,String(r.currentLooseValue).length);return r.eventValue=n.parseNumber(L,t),r.currentLooseValue=L,xe(r,r.selectionStart,L,z),r}if(k!==y&&D<=y&&A)return r.eventValue=n.parseNumber(r.currentLooseValue,t),r.currentLooseValue=v,r;if(D<k)return r.eventValue=n.parseNumber(r.currentLooseValue,t),r.currentLooseValue=fe(r.eventValue,t,n),r}}return r.eventValue=n.parseNumber(r.currentLooseValue,t),I&&(r.eventValue=r.eventValue/100),"number"==typeof r.eventValue?(B=fe(r.eventValue,t,n),1===s.length?xe(r,Ce(B,i),B,z):xe(r,Oe(s,B,r.selectionEnd,E,c),B,z),r.currentLooseValue=B):r.currentLooseValue=fe(n.parseNumber(d),t,n),r},He=n(7037),Fe=function(){return Fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fe.apply(this,arguments)},De=(0,a.Y)(),Ae=r.forwardRef((function(e,t){var n;(0,O.s)(R.k);var o=(0,s.Y)(De,e),a=r.useMemo((function(){return(0,l.M)()}),[]),v=o.id||a,b=(0,i.useInternationalization)(),y=(0,i.useLocalization)(),w=r.useRef(null),x=r.useRef(),k=r.useState(!1),C=k[0],z=k[1],_=r.useRef({eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}),E=r.useRef(!1),I=r.useRef(),S=r.useRef(o.defaultValue),D=fe(_.current.focused&&!o.disabled?_.current.currentLooseValue:pe(o.value,S.current),o.format,b);I.current=D;var A=(0,c.A)(o.prefix)[0],V=(0,c.A)(o.suffix)[0];r.useEffect((function(){w.current&&w.current.setCustomValidity&&w.current.setCustomValidity(T().valid?"":o.validationMessage||"Please enter a valid value!")}));var B=r.useCallback((function(){w.current&&w.current.focus()}),[]),N=r.useCallback((function(){return void 0!==x.current?x.current:pe(o.value,S.current)}),[o.value]),L=r.useCallback((function(){return o.name}),[o.name]),P=r.useCallback((function(){return o.required}),[o.required]),T=r.useCallback((function(){var e=void 0!==o.validationMessage,t=N();return{customError:e,valid:void 0!==o.valid?o.valid:!(_.current.valueIsOutOfRange||P()&&null==t),valueMissing:null==t}}),[o.validationMessage,o.valid,N,P]),j=r.useCallback((function(){return o.validityStyles}),[o.validityStyles]),U=r.useCallback((function(){return o}),[o]),W=r.useCallback((function(){var e={element:w.current,focus:B};return Object.defineProperty(e,"name",{get:L}),Object.defineProperty(e,"value",{get:N}),Object.defineProperty(e,"validity",{get:T}),Object.defineProperty(e,"validityStyles",{get:j}),Object.defineProperty(e,"required",{get:P}),Object.defineProperty(e,"props",{get:U}),e}),[L,N,T,j,P,B,U]);r.useImperativeHandle(t,W);var K=r.useCallback((function(){return{eventValue:pe(o.value,S.current),prevLooseValue:I.current,currentLooseValue:w.current.value,selectionStart:w.current.selectionStart,selectionEnd:w.current.selectionEnd,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1,isPaste:E.current,focused:_.current.focused}}),[o.value]),q=r.useCallback((function(e,t){if(!o.disabled){x.current=t.eventValue,S.current=t.eventValue;var n=fe(we(t.eventValue,o.min,o.max),o.format,b),r=we(b.parseNumber(n,o.format),o.min,o.max);r!==t.eventValue&&(t.valueIsOutOfRange=!0,t.eventValue=r,S.current=r),o.value!==t.eventValue&&(0,u.N)(o.onChange,e,W(),{value:t.eventValue}),x.current=void 0,_.current=t,z((function(e){return!e}))}}),[o.value,o.onChange,o.disabled,z,W]),G=r.useCallback((function(e){var t=K();E.current=!1,q(e,Re(t,o.format,b))}),[o.format,o.onChange,b,q,K]),$=r.useCallback((function(e){var t=K(),n=b.parseNumber(String(t.currentLooseValue),o.format);if(t.selectionEnd>t.selectionStart&&t.selectionEnd-t.selectionStart===String(t.currentLooseValue).length){var r=b.numberSymbols(),i=r&&e.key===r.minusSign,a=r&&e.key===r.decimal;E.current=!i&&!a}else{switch(e.keyCode){case 38:be(n,t,o.step,o.min,o.max,o.format,b);break;case 40:ye(n,t,o.step,o.min,o.max,o.format,b);break;case 13:if(!1===o.rangeOnEnter)return;var s=fe(we(n,o.min,o.max),o.format,b),l=we(b.parseNumber(s,o.format),o.min,o.max);t.eventValue=l,t.currentLooseValue=fe(l,o.format,b),t.selectionStart=t.selectionEnd=t.currentLooseValue.length;break;case 110:var c=w.current,u=b.numberSymbols();c&&(t.currentLooseValue=t.currentLooseValue.slice(0,t.selectionStart)+u.decimal+t.currentLooseValue.slice(t.selectionEnd),t.selectionStart=t.selectionEnd=t.selectionStart+1,t=Re(t,o.format,b));break;default:return}e.preventDefault(),q(e,t)}}),[o.format,o.min,o.max,o.step,o.onChange,o.rangeOnEnter,q,K]),Y=r.useCallback((function(){E.current=!0}),[]),Z=r.useCallback((function(e){if(!o.readOnly&&!o.disabled){var t=K();be(b.parseNumber(String(t.currentLooseValue),o.format),t,o.step,o.min,o.max,o.format,b),q(e,t)}}),[o.format,o.min,o.max,o.step,o.onChange,o.readOnly,o.disabled,q,K]),X=r.useCallback((function(e){if(!o.readOnly&&!o.disabled){var t=K();ye(b.parseNumber(String(t.currentLooseValue),o.format),t,o.step,o.min,o.max,o.format,b),q(e,t)}}),[o.format,o.min,o.max,o.step,o.onChange,o.readOnly,o.disabled,q,K]),J=r.useCallback((function(e){var t=(0,h.v)(document);document&&t===w.current&&w.current&&!o.readOnly&&!o.disabled&&(e.nativeEvent.deltaY<0&&Z(e),e.nativeEvent.deltaY>0&&X(e))}),[Z,X,o.disabled,o.readOnly]),Q=r.useCallback((function(e){_.current.currentLooseValue=I.current,_.current.focused=!0,(0,u.N)(o.onFocus,e,W(),{}),z((function(e){return!e}))}),[o.onFocus,z,W]),ee=r.useCallback((function(e){_.current={eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1},(0,u.N)(o.onBlur,e,W(),{}),z((function(e){return!e}))}),[o.onBlur,z,W]),te=r.useCallback((function(e){if(document&&w.current){var t=(0,h.v)(document);e.preventDefault(),t!==w.current&&w.current.focus()}}),[]);r.useLayoutEffect((function(){w.current&&"number"!==w.current.type&&void 0!==_.current.selectionStart&&void 0!==_.current.selectionEnd&&(w.current.selectionStart=_.current.selectionStart,w.current.selectionEnd=_.current.selectionEnd,_.current.selectionStart=void 0,_.current.selectionEnd=void 0)}),[C]);var ne=!j()||T().valid,re=r.createElement("span",{dir:o.dir,style:o.label?o.style:Fe({width:o.width},o.style),className:(0,d.A)("k-input","k-numerictextbox",(n={},n["k-input-".concat(p.G.sizeMap[o.size]||o.size)]=o.size,n["k-input-".concat(o.fillMode)]=o.fillMode,n["k-rounded-".concat(p.G.roundedMap[o.rounded]||o.rounded)]=o.rounded,n["k-invalid"]=!ne,n["k-required"]=o.required,n["k-disabled"]=o.disabled,n),o.className),"aria-disabled":o.disabled?"true":void 0},r.createElement(A,null),r.createElement("input",{role:"spinbutton",value:null===D?"":D,tabIndex:(0,f.p)(o.tabIndex,o.disabled),accessKey:o.accessKey,disabled:o.disabled,title:o.title,"aria-disabled":o.disabled?"true":void 0,"aria-valuemin":o.min,"aria-valuemax":o.max,"aria-label":o.ariaLabel,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,placeholder:o.placeholder,spellCheck:!1,autoComplete:"off",autoCorrect:"off",type:o.inputType||"tel",className:"k-input-inner",id:v,name:o.name,readOnly:o.readOnly,style:o.inputStyle,onChange:G,onFocus:Q,onBlur:ee,onKeyDown:$,onPaste:Y,onWheel:J,ref:w}),r.createElement(V,null),o.children,o.spinners&&r.createElement("span",{className:"k-input-spinner k-spin-button",onMouseDown:te},r.createElement(He.z,{tabIndex:-1,type:"button",icon:"caret-alt-up",svgIcon:m,rounded:null,className:"k-spinner-increase","aria-label":y.toLanguageString(H,ce[H]),title:y.toLanguageString(H,ce[H]),onClick:Z}),r.createElement(He.z,{tabIndex:-1,type:"button",icon:"caret-alt-down",svgIcon:g,rounded:null,className:"k-spinner-decrease","aria-label":y.toLanguageString(F,ce[F]),title:y.toLanguageString(F,ce[F]),onClick:X})));return o.label?r.createElement(M._,{label:o.label,editorId:v,editorValue:null===D?"":D,editorValid:ne,editorDisabled:o.disabled,editorPlaceholder:o.placeholder,children:re,style:{width:o.width},dir:o.dir}):re}));Ae.propTypes={value:o.number,defaultValue:o.number,step:o.number,format:o.oneOfType([o.string,o.shape({style:o.oneOf(["decimal","currency","percent","scientific","accounting"]),currency:o.string,currencyDisplay:o.oneOf(["symbol","code","name"]),useGrouping:o.bool,minimumIntegerDigits:o.number,minimumFractionDigits:o.number,maximumFractionDigits:o.number})]),width:o.oneOfType([o.string,o.number]),tabIndex:o.number,accessKey:o.string,title:o.string,placeholder:o.string,min:o.number,max:o.number,spinners:o.bool,disabled:o.bool,readOnly:o.bool,dir:o.string,name:o.string,label:o.string,validationMessage:o.string,required:o.bool,id:o.string,rangeOnEnter:o.bool,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string,onChange:o.func,onFocus:o.func,onBlur:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},Ae.displayName="KendoNumericTextBox",Ae.defaultProps={prefix:function(e){return null},suffix:function(e){return null},step:1,spinners:!0,disabled:!1,required:!1,validityStyles:!0,rangeOnEnter:!0,onChange:function(e){},onFocus:function(e){},onBlur:function(e){},size:"medium",rounded:"medium",fillMode:"solid"};var Ve,Be=n(4407),Ne=function(e){return null!=e},Le=function(e,t,n){return!Ne(e)||isNaN(e)||e<=t?t:e>=n?n:e},Pe=function(e,t,n){if(void 0===n&&(n=!0),-1===["hex","rgba"].indexOf(t))throw new Error("Unsupported color output format '".concat(t,"'. The available options are 'hex' or 'rgba'."));if(Ne(e)){var r=(0,Be.parseColor)(e.trim(),n);if(Ne(r))return"hex"===t?r.toCss():r.toCssRgba()}},Te=function(e,t){void 0===t&&(t=!0);var n=(0,Be.parseColor)(e,t);return Ne(n)?n.toHSV():{}},je=function(e,t){void 0===t&&(t=!0);var n=(0,Be.parseColor)(e,t);return Ne(n)?n.toBytes():{}},Ue=function(e){var t=Le(e.h,0,359.9),n=Le(e.s,0,1),r=Le(e.v,0,1),o=Le(e.a,0,1);return Be.Color.fromHSV(t,n,r,o).toCssRgba()},We=function(e){return Ue({h:e,s:1,v:1,a:1})},Ke=function(e,t){var n=Le(e.r,0,255),r=Le(e.g,0,255),o=Le(e.b,0,255),i=Le(e.a,0,1),a=Le(t.r,0,255),s=Le(t.g,0,255),l=Le(t.b,0,255);return{r:Math.round((1-i)*a+i*n),g:Math.round((1-i)*s+i*r),b:Math.round((1-i)*l+i*o)}},qe=function(e){var t=[e.r||0,e.g||0,e.b||0].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]},Ge=function(e,t){return n=qe(Ke(e,t)),r=qe(Ke(t,{r:0,g:0,b:0,a:1})),(Math.max(n,r)+.05)/(Math.min(n,r)+.05);var n,r},$e=(Ve=function(e,t){return Ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ve(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ye=function(){return Ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ye.apply(this,arguments)},Ze=function(e){function t(n){var r=e.call(this,n)||this;return r._input=null,r._inputId=(0,l.M)(),r.focus=function(){r._input&&r._input.focus()},r.isInvalid=function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&(t=t||Boolean(e[n]));return t},r.setValidity=function(){r._input&&r._input.setCustomValidity&&(r.validity.valid||!r.validityStyles?r._input.classList.remove("k-invalid"):r._input.classList.add("k-invalid"),r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||""))},r.handleChange=function(e){r.setState({value:e.target.value}),r.valueDuringOnChange=e.target.value,r.props.onChange&&r.props.onChange.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:e.target.value,target:r}),r.valueDuringOnChange=void 0},r.handleAutoFill=function(e){if("autoFillStart"===e.animationName){var t=e.target.parentNode;t&&t.classList.contains("k-empty")&&t.classList.remove("k-empty")}},(0,O.s)(R.k),r.state={value:r.props.defaultValue||t.defaultProps.defaultValue},r}return $e(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.value?this.props.value:this.state.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e={badInput:!!this._input&&this._input.validity.badInput,patternMismatch:!!this._input&&this._input.validity.patternMismatch,rangeOverflow:!!this._input&&this._input.validity.rangeOverflow,rangeUnderflow:!!this._input&&this._input.validity.rangeUnderflow,stepMismatch:!!this._input&&this._input.validity.stepMismatch,tooLong:!!this._input&&this._input.validity.tooLong,typeMismatch:!!this._input&&this._input.validity.typeMismatch,valueMissing:!!this._input&&this._input.validity.valueMissing};return Ye(Ye({},e),{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!this._input||!this.isInvalid(e)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.label,i=t.labelClassName,a=t.id,s=(t.validationMessage,t.defaultValue,t.valid,t.visited,t.touched,t.modified,t.ariaLabelledBy),l=t.ariaDescribedBy,c=(t.validityStyles,t.style),u=t.ariaLabel,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["className","label","labelClassName","id","validationMessage","defaultValue","valid","visited","touched","modified","ariaLabelledBy","ariaDescribedBy","validityStyles","style","ariaLabel"]),p=a||this._inputId,f=!this.validityStyles||this.validity.valid,m=(0,d.A)(n,"k-input k-input-md k-rounded-md k-input-solid"),v=r.createElement("input",Ye({"aria-labelledby":s,"aria-describedby":l,"aria-disabled":this.props.disabled||void 0,"aria-invalid":!f||void 0,"aria-label":u||void 0},h,{style:o?void 0:c,value:this.value,id:p,className:m,onChange:this.handleChange,onAnimationStart:this.handleAutoFill,ref:function(t){e._input=t}}));return o?r.createElement(M._,{label:o,labelClassName:i,editorId:p,editorValue:String(this.value),editorValid:f,editorDisabled:h.disabled,editorPlaceholder:h.placeholder,children:v,style:c,dir:h.dir}):v},t.displayName="Input",t.propTypes={label:o.string,labelClassName:o.string,validationMessage:o.string,required:o.bool,validate:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string},t.defaultProps={defaultValue:"",required:!1,validityStyles:!0},t}(r.Component),Xe=(0,a.Y)(),Je=(0,a.u)(Xe,Ze);Je.displayName="KendoReactInput";var Qe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const et=function(e){function t(t){var n=e.call(this,t)||this;return n.onChange=function(e){var t=e.target.value,r=Pe(t,"rgba");n.setState({hex:t}),Ne(r)&&n.props.onHexChange(t,r,e)},n.onBlur=function(){Ne(Pe(n.state.hex,"rgba"))||n.setState({hex:n.state.originalHex})},n.state={hex:n.props.hex,originalHex:n.props.hex},n}return Qe(t,e),t.prototype.render=function(){return r.createElement(Je,{value:this.state.hex,onChange:this.onChange,onBlur:this.onBlur,disabled:this.props.disabled})},t.getDerivedStateFromProps=function(e,t){return e.hex!==t.originalHex?{hex:e.hex,originalHex:e.hex}:null},t}(r.Component);var tt=n(2609),nt=n(8011),rt=function(e){(0,O.s)(nt.k);var t=e.id,n=e.editorId,o=e.editorRef,a=e.editorDisabled,s=e.children,l=e.editorValid,c=e.style,u=e.className,h=e.optional,p=(0,i.useLocalization)(),f=h?p.toLanguageString(tt.y,tt.s[tt.y]):"",m=f&&r.createElement("span",{className:"k-label-optional"},f),v=r.useCallback((function(e){if(o&&o.current&&!a){o.current.focus&&(e.preventDefault(),o.current.focus());var t=o.current.actionElement;t&&(e.preventDefault(),t.click())}}),[o]),g=(0,d.A)({"k-label":!0,"k-label-empty":!s,"k-text-error":!1===l,"k-text-disabled":!0===a},u);return r.createElement("label",{id:t,htmlFor:n,onClick:v,style:c,className:g},s,m)};rt.propTypes={id:o.string,editorId:o.string,editorRef:o.oneOfType([o.func,o.shape({current:o.any})]),editorValid:o.bool,editorDisabled:o.bool,style:o.object,className:o.string,optional:o.bool},rt.displayName="KendoReactLabel";var ot=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),it=function(){return it=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},it.apply(this,arguments)},at=["rgba","rgb","hex"],st=function(e){function t(t){var n=e.call(this,t)||this;return n.onRgbaRChange=function(e){n.dispatchRgbaChange({r:e.value},e)},n.onRgbaGChange=function(e){n.dispatchRgbaChange({g:e.value},e)},n.onRgbaBChange=function(e){n.dispatchRgbaChange({b:e.value},e)},n.onRgbaAChange=function(e){n.dispatchRgbaChange({a:e.value},e)},n.state={inputMode:t.defaultInputMode||at[1]},n}return ot(t,e),t.prototype.render=function(){var e=(0,i.provideLocalizationService)(this),t=e.toLanguageString(B,ce[T]),n=e.toLanguageString(B,ce[B]),o=e.toLanguageString(B,ce[N]),a=e.toLanguageString(B,ce[L]),s=e.toLanguageString(B,ce[P]),l=e.toLanguageString(Y,ce[Y]);return r.createElement("div",{className:"k-colorgradient-inputs k-hstack"},r.createElement("div",{className:"k-vstack"},r.createElement(He.z,{"aria-label":l,fillMode:"flat",icon:"caret-alt-expand",svgIcon:y,className:"k-colorgradient-toggle-mode k-icon-button",onClick:this.onToggleModeChange.bind(this)})),"hex"===this.state.inputMode&&r.createElement("div",{className:"k-vstack k-flex-1"},r.createElement("span",{className:"k-hex-value k-textbox k-input"},r.createElement(et,{hex:this.props.hex,onHexChange:this.props.onHexChange,disabled:this.props.disabled})),r.createElement(rt,{className:"k-colorgradient-input-label"},t)),("rgb"===this.state.inputMode||"rgba"===this.state.inputMode)&&r.createElement(r.Fragment,null,r.createElement("div",{className:"k-vstack"},r.createElement(Ae,{inputType:"number",value:this.props.rgba.r,ariaLabel:String(this.props.rgba.r),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaRChange,disabled:this.props.disabled}),r.createElement(rt,{className:"k-colorgradient-input-label"},n)),r.createElement("div",{className:"k-vstack"},r.createElement(Ae,{inputType:"number",value:this.props.rgba.g,ariaLabel:String(this.props.rgba.g),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaGChange,disabled:this.props.disabled}),r.createElement(rt,{className:"k-colorgradient-input-label"},o)),r.createElement("div",{className:"k-vstack"},r.createElement(Ae,{inputType:"number",value:this.props.rgba.b,ariaLabel:String(this.props.rgba.b),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaBChange,disabled:this.props.disabled}),r.createElement(rt,{className:"k-colorgradient-input-label"},a))),"rgba"===this.state.inputMode&&r.createElement("div",{className:"k-vstack"},this.props.opacity&&r.createElement(Ae,{inputType:"number",value:this.props.rgba.a,ariaLabel:String(this.props.rgba.a),min:0,max:1,step:.01,spinners:!1,format:"n2",onChange:this.onRgbaAChange,disabled:this.props.disabled}),this.props.opacity&&r.createElement(rt,{className:"k-colorgradient-input-label"},s)))},t.prototype.dispatchRgbaChange=function(e,t){var n=it({},this.props.rgba);void 0!==e.r&&(n.r=e.r),void 0!==e.g&&(n.g=e.g),void 0!==e.b&&(n.b=e.b),void 0!==e.a&&(n.a=e.a),this.props.onRgbaChange(n,t)},t.prototype.onToggleModeChange=function(){var e=at.length-1===at.indexOf(this.state.inputMode)?0:at.indexOf(this.state.inputMode)+1;if(this.props.opacity)this.setState({inputMode:at[e]});else{var t="rgba"===at[e]?e+1:e;this.setState({inputMode:at[t]})}},t}(r.Component);const lt=st;(0,i.registerForIntl)(st),(0,i.registerForLocalization)(st);var ct=n(9124),ut=n(1779),ht=n(3493),dt=n(8199),pt=function(){return pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pt.apply(this,arguments)},ft="data-slider-label",mt=function(e){var t,n,o=r.useRef(null),i=(0,dt.n)(o),a=e.vertical?{bottom:"".concat(e.position,"%")}:((t={})["rtl"===i?"right":"left"]="".concat(e.position,"%"),t),s=e.vertical?"k-tick-vertical":"k-tick-horizontal";return r.createElement("li",{ref:o,className:"k-tick k-tick-large ".concat(s),title:e.title,style:pt({zIndex:1,position:"absolute"},a)},e.children&&r.createElement("span",pt({},((n={})[ft]=!0,n),{className:"k-label",onClick:e.onClick}),e.children))},vt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt=function(){return gt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},gt.apply(this,arguments)},bt=function(e){function t(t){var n=e.call(this,t)||this;return n.state={value:void 0===n.props.defaultValue?n.props.min:n.props.defaultValue,focused:!1,dir:n.props.dir},n._sliderTrack=null,n._element=null,n.buttons=function(e){if(!e.enabled)return e.children;var t="rtl"===n.state.dir?n.props.vertical?m:b:n.props.vertical?m:v,o="rtl"===n.state.dir?n.props.vertical?g:v:n.props.vertical?g:b,i="rtl"===n.state.dir?n.props.vertical?"caret-alt-up":"caret-alt-left":n.props.vertical?"caret-alt-up":"caret-alt-right",a="rtl"===n.state.dir?n.props.vertical?"caret-alt-down":"caret-alt-right":n.props.vertical?"caret-alt-down":"caret-alt-left";return r.createElement(r.Fragment,null,r.createElement(He.z,{className:"k-button-decrease",rounded:"full",icon:a,svgIcon:o,title:e.decrementTitle,onClick:e.decrement}),e.children,r.createElement(He.z,{className:"k-button-increase",rounded:"full",icon:i,svgIcon:t,title:e.incrementTitle,onClick:e.increment}))},n.focus=function(){n._element&&n._element.focus()},n.isLabel=function(e){for(var t=e;t;){if(Boolean(t.getAttribute(ft)))return!0;t=t.parentElement}return!1},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.onKeyDown=function(e){var t=void 0;e.keyCode===ht.R.left||e.keyCode===ht.R.down?t=n.state.value-(n.props.step||0):e.keyCode===ht.R.right||e.keyCode===ht.R.up?t=n.state.value+(n.props.step||0):e.keyCode===ht.R.home?t=n.props.min:e.keyCode===ht.R.end&&(t=n.props.max),void 0!==t&&(e.preventDefault(),n.change(e,t))},n.decrement=function(e){e.preventDefault(),n.change(e,n.state.value-(n.props.step||0))},n.increment=function(e){e.preventDefault(),n.change(e,n.state.value+(n.props.step||0))},n.dragStart=function(e){n.isLabel(e.event.originalEvent.target)||(e.event.isTouch&&e.event.originalEvent.preventDefault(),n.drag(e))},n.dragOver=function(e){e.event.originalEvent.preventDefault(),n.drag(e)},n.drag=function(e){var t=e.element.getBoundingClientRect(),r=(n.props.vertical?t.bottom-e.event.clientY:"rtl"===n.state.dir?t.right-e.event.clientX:e.event.clientX-t.left)/(n.props.vertical?t.height:t.width);n.change(e,n.props.min+r*(n.props.max-n.props.min))},(0,O.s)(R.k),n}return vt(t,e),t.getDerivedStateFromProps=function(e,t){var n=void 0!==e.value?e.value:t.value,r=e.min,o=e.max;return void 0===n?null:{value:Math.min(Math.max(n,r),o)}},t.prototype.componentDidMount=function(){if(!this.state.dir&&window&&this._element){var e=window.getComputedStyle(this._element).direction;e&&this.setState({dir:e})}},t.prototype.render=function(){var e,t=this,n=(0,i.provideLocalizationService)(this),o=(this.state.value-this.props.min)/(this.props.max-this.props.min)*100,a=this.props.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"},s=this.props.vertical?{paddingTop:0,height:"100%"}:{};return r.createElement("div",{ref:function(e){return t._element=e},dir:this.state.dir,id:this.props.id,style:gt({gap:0},this.props.style),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,className:(0,d.A)("k-slider",{"k-focus":this.state.focused,"k-disabled":this.props.disabled,"k-slider-horizontal":!this.props.vertical,"k-slider-vertical":this.props.vertical},this.props.className)},r.createElement(this.buttons,{enabled:this.props.buttons,decrement:this.decrement,increment:this.increment,incrementTitle:n.toLanguageString(D,ce[D]),decrementTitle:n.toLanguageString(A,ce[A])},r.createElement(ut._,{onDrag:this.dragOver,onPress:this.dragStart},r.createElement("div",{className:"k-slider-track-wrap",style:gt({flexGrow:1,position:"relative",touchAction:"none"},a)},this.props.children&&r.createElement("ul",{className:"k-reset k-slider-items",style:gt({margin:0},s)},r.Children.map(this.props.children,(function(e){return e&&r.cloneElement(e,{position:100*(e.props.position-t.props.min)/(t.props.max-t.props.min),vertical:t.props.vertical},e.props.children)}))),r.createElement("div",{className:"k-slider-track",style:this.props.vertical?{bottom:0,height:"100%"}:(e={},e["rtl"===this.state.dir?"right":"left"]=0,e.width="100%",e),ref:function(e){return t._sliderTrack=e}},r.createElement("div",{className:"k-slider-selection",style:this.props.vertical?{height:o+"%"}:{width:o+"%"}}),r.createElement("span",{role:"slider","aria-valuemin":this.props.min,"aria-valuemax":this.props.max,"aria-valuenow":this.state.value,"aria-valuetext":String(this.state.value),"aria-orientation":this.props.vertical?"vertical":void 0,"aria-disabled":this.props.disabled?"true":void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-label":this.props.ariaLabel,tabIndex:(0,f.p)(this.props.tabIndex,this.props.disabled,void 0),className:"k-draghandle",title:n.toLanguageString(V,ce[V]),style:this.props.vertical?{bottom:"calc("+o+"%)",zIndex:1}:"rtl"===this.state.dir?{right:"calc("+o+"% - 13px)",zIndex:1}:{left:"calc("+o+"%)",zIndex:1}}))))))},Object.defineProperty(t.prototype,"sliderTrack",{get:function(){return this._sliderTrack},enumerable:!1,configurable:!0}),t.prototype.change=function(e,t){t=Math.min(Math.max(t,this.props.min),this.props.max),this.setState({value:t}),(0,u.N)(this.props.onChange,e,this,{value:t})},t.displayName="Slider",t.propTypes={min:o.number.isRequired,max:o.number.isRequired,value:o.number,vertical:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,ariaLabel:o.string},t}(r.Component),yt=(0,a.Y)(),wt=(0,a.u)(yt,bt);wt.displayName="KendoReactSlider",(0,i.registerForLocalization)(bt);var xt={},kt=n(8130),Ct=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ct(t,e),t.prototype.render=function(){var e=(0,i.provideLocalizationService)(this),t=e.toLanguageString(j,ce[j]),n=e.toLanguageString(U,ce[U]),o=e.toLanguageString(W,ce[W]),a=e.toLanguageString(K,ce[K]),s=e.toLanguageString(q,ce[q]),l=Ge(this.props.rgba,this.props.bgColor),c=4.5.toFixed(1),u=7..toFixed(1),h="".concat(t,": ").concat(l.toFixed(2)),d="".concat(n,": ").concat(c),p="".concat(o,": ").concat(u),f=r.createElement("span",{className:"k-contrast-validation k-text-success"},a," ",r.createElement(kt.a,{name:"check",icon:x})),m=r.createElement("span",{className:"k-contrast-validation k-text-error"},s," ",r.createElement(kt.a,{name:"x",icon:k}));return r.createElement("div",{className:"k-vbox k-colorgradient-color-contrast"},r.createElement("div",{className:"k-contrast-ratio"},r.createElement("span",{className:"k-contrast-ratio-text"},h),l>=4.5?r.createElement("span",{className:"k-contrast-validation k-text-success"},r.createElement(kt.a,{name:"check",icon:x}),l>=7&&r.createElement(kt.a,{name:"check",icon:x})):r.createElement("span",{className:"k-contrast-validation k-text-error"},r.createElement(kt.a,{name:"x",icon:k}))),r.createElement("div",null,r.createElement("span",null,d),l>=4.5?f:m),r.createElement("div",null,r.createElement("span",null,p),l>=7?f:m))},t}(r.Component);(0,i.registerForLocalization)(zt);var _t=function(e,t){if(0===e.length)return"";var n=e.reduce((function(e,n,r,o){return 0===r?"M ".concat(n[0],",").concat(n[1]):"".concat(e," ").concat(t(n,r,o))}),"");return'<path d="'.concat(n,'" fill="none" stroke="white" stroke-width="1"/>')},Et=function(e,t){var n=t[0]-e[0],r=t[1]-e[1];return{length:Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),angle:Math.atan2(r,n)}},It=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),St=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return It(t,e),t.prototype.renderSvgCurveLine=function(){var e,t,n=this,r=this.props.metrics,o=function(e,t,i,a,s){var l=(i+a)/2,c=Object.assign({},n.props.hsva,{s:t/r.width,v:1-l/r.height}),u=Ge(je(Ue(c)),je(n.props.backgroundColor||""));return i+.5>a?u<e+1&&u>e-1?l:null:s(u,e)?o(e,t,i,a-(a-i)/2,s):o(e,t,i+(a-i)/2,a,s)},i=function(e,t,n){void 0===n&&(n=!1);for(var i=[],a=0;a<=r.width;a+=r.width/t){var s=o(e,a,0,r.height,n?function(e,t){return e<t}:function(e,t){return e>t});null!==s&&i.push([a,s])}return i},a=(t=Et,e=function(e,n,r,o){var i=t(n||e,r||e),a=i.angle+(o?Math.PI:0),s=.1*i.length;return[e[0]+Math.cos(a)*s,e[1]+Math.sin(a)*s]},function(t,n,r){var o=e(r[n-1],r[n-2],t),i=o[0],a=o[1],s=e(t,r[n-1],r[n+1],!0),l=s[0],c=s[1];return"C ".concat(i,",").concat(a," ").concat(l,",").concat(c," ").concat(t[0],",").concat(t[1])});return _t(i(4.5,16),a)+_t(i(4.5,16,!0),a)+_t(i(7,16),a)+_t(i(7,16,!0),a)},t.prototype.shouldComponentUpdate=function(e){return e.hsva.h!==this.props.hsva.h||e.hsva.a!==this.props.hsva.a||this.props.backgroundColor!==e.backgroundColor},t.prototype.render=function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"k-color-contrast-svg",dangerouslySetInnerHTML:{__html:this.renderSvgCurveLine()},style:{position:"absolute",overflow:"visible",pointerEvents:"none",left:0,top:0,zIndex:3}})},t}(r.Component),Mt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ot="rgba(255, 255, 255, 1)",Rt=function(e){function t(n){var r=e.call(this,n)||this;r.wrapper=null,r.onHexChange=function(e,t,n){if(r.isUncontrolled){var o=Te(t);r.setState({hsva:o,backgroundColor:We(o.h),rgba:je(t),hex:e})}else!function(e,t,n){xt[e]={value:t,hex:n}}(r.state.guid,t,e);r.dispatchChangeEvent(t,n,n.nativeEvent)},r.onRgbaChange=function(e,t){var n=function(e){var t=Le(e.r,0,255),n=Le(e.g,0,255),r=Le(e.b,0,255),o=Le(e.a,0,1);return Be.Color.fromBytes(t,n,r,o).toCssRgba()}(e);if(r.isUncontrolled){var o=Te(n),i=Pe(n,"hex");r.setState({hsva:o,backgroundColor:We(o.h),rgba:e,hex:i})}else!function(e,t,n){xt[e]={value:t,rgba:n}}(r.state.guid,n,e);r.dispatchChangeEvent(n,t.syntheticEvent,t.nativeEvent)},r.onAlphaSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{a:e.value/100}),e.syntheticEvent,e.nativeEvent)},r.onHueSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{h:e.value}),e.syntheticEvent,e.nativeEvent)},r.onDrag=function(e){r.gradientWrapper.classList.add("k-dragging"),r.changePosition(e.event)},r.onRelease=function(){r.gradientWrapper.classList.remove("k-dragging")},r.onGradientWrapperClick=function(e){r.changePosition(e)},r.changePosition=function(e){var t=r.getGradientRectMetrics(),n=e.clientX-t.left,o=e.clientY-t.top,i=Le(n,0,t.width),a=Le(o,0,t.height),s=Object.assign({},r.state.hsva,{s:i/t.width,v:1-a/t.height});r.handleHsvaChange(s,e,e.nativeEvent)},r.onFocus=function(e){r.props.onFocus&&r.props.onFocus.call(void 0,{nativeEvent:e,target:r})},r.focus=function(){(0,ct.n)(r.wrapper)},(0,O.s)(R.k);var o=n.value||n.defaultValue||Pe(Ot,"rgba");return r.state=Object.assign({},t.getStateFromValue(o),{isFirstRender:!0,guid:(0,l.M)()}),r}return Mt(t,e),t.getDerivedStateFromProps=function(e,n){return e.value&&!n.isFirstRender?t.getStateFromValue(e.value,n.guid):null},t.prototype.componentDidMount=function(){this.setAlphaSliderBackground(this.state.backgroundColor),this.state.isFirstRender&&this.setState({isFirstRender:!1})},t.prototype.componentWillUnmount=function(){var e;e=this.state.guid,delete xt[e]},t.prototype.componentDidUpdate=function(e,t){t.backgroundColor!==this.state.backgroundColor&&this.setAlphaSliderBackground(this.state.backgroundColor)},t.prototype.renderRectangleDragHandle=function(){var e={};if(!this.state.isFirstRender){var t=this.getGradientRectMetrics(),n=(1-this.state.hsva.v)*t.height,o=this.state.hsva.s*t.width;e.top="".concat(n,"px"),e.left="".concat(o,"px")}return r.createElement("div",{role:"slider",tabIndex:(0,f.p)(this.props.tabIndex,this.props.disabled),"aria-valuetext":this.props.ariaValueText,"aria-valuenow":parseInt(this.state.hex.substring(1),16),"aria-label":this.props.ariaLabelHSV,"aria-orientation":void 0,"aria-disabled":this.props.disabled?"true":void 0,className:"k-hsv-draghandle k-draghandle",style:e})},t.prototype.handleHsvaChange=function(e,t,n){var r=Ue(e);if(this.isUncontrolled){var o=Pe(r,"hex");this.setState({hsva:e,backgroundColor:We(e.h),rgba:je(r),hex:o})}else!function(e,t,n){xt[e]={value:t,hsva:n}}(this.state.guid,r,e);this.dispatchChangeEvent(r,t,n)},t.prototype.dispatchChangeEvent=function(e,t,n){this.props.onChange&&this.props.onChange.call(void 0,{syntheticEvent:t,nativeEvent:n,target:this,value:e})},t.getStateFromValue=function(e,t){Ne(Pe(e,"hex"))||(e=Ot);var n=function(e,t){if(e){var n=xt[e];return n&&n.value===t?n.hsva:void 0}}(t,e)||Te(e),r=function(e,t){if(e){var n=xt[e];return n&&n.value===t?n.rgba:void 0}}(t,e)||je(e),o=function(e,t){if(e){var n=xt[e];return n&&n.value===t?n.hex:void 0}}(t,e)||Pe(e,"hex");return{hsva:n,backgroundColor:We(n.h),rgba:r,hex:o}},t.prototype.setAlphaSliderBackground=function(e){this.props.opacity&&this.alphaSlider&&this.alphaSlider.sliderTrack&&(this.alphaSlider.sliderTrack.style.background="linear-gradient(to top, transparent, ".concat(e,")"))},Object.defineProperty(t.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),t.prototype.getGradientRectMetrics=function(){return this.gradientWrapper.getBoundingClientRect()},t.prototype.render=function(){var e=this,t=(0,i.provideLocalizationService)(this),n=(0,d.A)("k-colorgradient",{"k-disabled":this.props.disabled},this.props.className);return r.createElement("div",{id:this.props.id,role:this.props.role,className:n,"aria-disabled":this.props.disabled?"true":void 0,style:this.props.style,ref:function(t){return e.wrapper=t},tabIndex:(0,f.p)(this.props.tabIndex,this.props.disabled),"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,onFocus:this.onFocus},r.createElement("div",{className:"k-colorgradient-canvas k-hstack"},r.createElement("div",{className:"k-hsv-rectangle",style:{background:this.state.backgroundColor}},r.createElement(ut._,{onDrag:this.onDrag,onRelease:this.onRelease,ref:function(t){return e.gradientWrapper=t?t.element:void 0}},r.createElement("div",{className:"k-hsv-gradient",style:{touchAction:"none"},onClick:this.onGradientWrapperClick},this.renderRectangleDragHandle())),this.props.backgroundColor&&!this.state.isFirstRender&&r.createElement(St,{metrics:this.gradientWrapper?this.getGradientRectMetrics():void 0,hsva:this.state.hsva,backgroundColor:this.props.backgroundColor})),r.createElement("div",{className:"k-hsv-controls k-hstack"},r.createElement(wt,{value:this.state.hsva.h,buttons:!1,vertical:!0,min:0,max:360,step:5,onChange:this.onHueSliderChange,className:"k-hue-slider k-colorgradient-slider",disabled:this.props.disabled,ariaLabel:t.toLanguageString(G,ce[G])}),this.props.opacity&&r.createElement(wt,{value:Ne(this.state.hsva.a)?100*this.state.hsva.a:100,buttons:!1,vertical:!0,min:0,max:100,step:1,ariaLabel:t.toLanguageString($,ce[$]),onChange:this.onAlphaSliderChange,className:"k-alpha-slider k-colorgradient-slider",disabled:this.props.disabled,ref:function(t){return e.alphaSlider=t}}))),r.createElement(lt,{rgba:this.state.rgba,onRgbaChange:this.onRgbaChange,hex:this.state.hex,onHexChange:this.onHexChange,opacity:this.props.opacity,disabled:this.props.disabled,defaultInputMode:this.props.format}),this.props.backgroundColor&&r.createElement(zt,{bgColor:je(this.props.backgroundColor),rgba:this.state.rgba}))},t.displayName="ColorGradient",t.propTypes={defaultValue:o.string,value:o.string,onChange:o.func,onFocus:o.func,opacity:o.bool,backgroundColor:o.string,format:o.any,disabled:o.bool,style:o.any,id:o.string,role:o.string,ariaLabel:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,className:o.string},t.defaultProps={opacity:!0,role:"textbox",format:"rgb"},t}(r.Component),Ht=(0,a.Y)(),Ft=(0,a.u)(Ht,Rt);Ft.displayName="KendoReactColorGradient";var Dt=function(){function e(){this.colorRows=[]}return e.prototype.setColorMatrix=function(e,t){if(this.colorRows=[],Ne(e)&&e.length){t=t||e.length;for(var n=0;n<e.length;n+=t){var r=e.slice(n,t+n);this.colorRows.push(r)}}},e.prototype.getCellCoordsFor=function(e){var t=this;if(Ne(e)){var n=e?(0,Be.parseColor)(e,!0):e,r=[e];Ne(n)&&r.push(n.toCss(),n.toCssRgba());for(var o=function(e){for(var n=function(n){if(r.some((function(r){return r===t.colorRows[e][n]})))return{value:{row:e,col:n}}},o=0;o<i.colorRows[e].length;o++){var a=n(o);if("object"==typeof a)return a}},i=this,a=0;a<this.colorRows.length;a++){var s=o(a);if("object"==typeof s)return s.value}}},e.prototype.getColorAt=function(e){if(Ne(e)&&Ne(this.colorRows[e.row]))return this.colorRows[e.row][e.col]},e.prototype.getNextCell=function(e,t,n){if(!(Ne(e)&&Ne(e.row)&&Ne(e.col)))return{row:0,col:0};var r=this.clampIndex(e.row+n,this.colorRows.length-1);return{row:r,col:this.clampIndex(e.col+t,this.colorRows[r].length-1)}},e.prototype.clampIndex=function(e,t){return e<0?0:e>t?t:e},e}(),At={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4"," ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Vt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Bt="office",Nt=function(e){function t(t){var n=e.call(this,t)||this;return n.wrapper=null,n.paletteService=null,n.guid=(0,l.M)(),n.focus=function(){n.wrapper&&n.wrapper.focus()},n.onKeyDown=function(e){switch(e.keyCode){case ht.R.down:n.handleCellNavigation(0,1);break;case ht.R.up:n.handleCellNavigation(0,-1);break;case ht.R.right:n.handleCellNavigation(1,0);break;case ht.R.left:n.handleCellNavigation(-1,0);break;case ht.R.enter:n.handleEnter(e);break;default:return}e.preventDefault()},n.onColorClick=function(e,t){n.isUncontrolled?n.setState({selectedColor:e,focusedColor:e}):n.setState({focusedColor:e}),n.dispatchChangeEvent(e,t)},n.onFocus=function(e){n.paletteService&&(n.setState({focusedColor:n.state.selectedColor||n.paletteService.colorRows[0][0]}),n.props.onFocus&&n.props.onFocus.call(void 0,e))},n.onBlur=function(){n.setState({focusedColor:void 0})},(0,O.s)(R.k),n.state={selectedColor:void 0!==n.props.value?n.props.value:n.props.defaultValue,isFirstRender:!0},n}return Vt(t,e),t.prototype.render=function(){var e=this,t=this.getPaletteInfo(),n=this.paletteService=new Dt;n.setColorMatrix(t.colors,t.columns);var o=n.getCellCoordsFor(this.state.selectedColor),i=n.getCellCoordsFor(this.state.focusedColor),a=(0,d.A)("k-colorpalette",{"k-disabled":this.props.disabled},this.props.className);return t.colors.length?r.createElement("div",{id:this.props.id,role:"grid",className:a,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,"aria-disabled":this.props.ariaDisabled||(this.props.disabled?"true":void 0),"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,tabIndex:(0,f.p)(this.props.tabIndex,this.props.disabled),ref:function(t){return e.wrapper=t}},r.createElement("table",{className:"k-colorpalette-table",role:"presentation"},r.createElement("tbody",{role:"rowgroup"},this.renderRows(n.colorRows,o,i)))):""},t.getDerivedStateFromProps=function(e,t){if(t.isFirstRender||void 0===e.value){if(t.isFirstRender)return{isFirstRender:!1}}else{if(""===e.value&&void 0!==t.selectedColor)return{selectedColor:void 0};if(""!==e.value&&e.value!==t.selectedColor)return{selectedColor:e.value}}return null},t.prototype.handleCellNavigation=function(e,t){if(this.paletteService)if(this.focusedColorCooridanates){var n=this.paletteService.getNextCell(this.focusedColorCooridanates,e,t);this.setState({focusedColor:this.paletteService.getColorAt(n)})}else this.setState({focusedColor:this.paletteService.colorRows[0][0]})},t.prototype.handleEnter=function(e){this.isUncontrolled&&this.setState({selectedColor:this.state.focusedColor}),this.dispatchChangeEvent(this.state.focusedColor,e)},t.prototype.dispatchChangeEvent=function(e,t){(0,u.N)(this.props.onChange,t,this,{value:e,rgbaValue:Pe(e,"rgba")})},Object.defineProperty(t.prototype,"focusedColorCooridanates",{get:function(){return this.state.focusedColor&&this.paletteService?this.paletteService.getCellCoordsFor(this.state.focusedColor):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),t.prototype.getPaletteInfo=function(){if("string"==typeof this.props.palette){var e=At[this.props.palette];return Ne(e)?{colors:e.colors,columns:this.props.columns||e.columns||10}:{colors:[],columns:0}}return{colors:this.props.palette||[],columns:this.props.columns||10}},t.prototype.renderRows=function(e,t,n){var o=this;return e.map((function(e,i){return r.createElement("tr",{role:"row",key:i},o.renderColumns(e,i,t,n))}))},t.prototype.renderColumns=function(e,t,n,o){var i=this,a=void 0!==n&&n.row===t,s=n&&n.col,l=void 0!==o&&o.row===t,c=o&&o.col,u="number"!=typeof this.props.tileSize?this.props.tileSize:{width:this.props.tileSize,height:this.props.tileSize},h=u.width+"px",p=u.height+"px";return e.map((function(e,n){var o=a&&s===n,u=(0,d.A)("k-colorpalette-tile",{"k-selected":o,"k-focus":l&&c===n});return r.createElement("td",{role:"gridcell",className:u,"aria-label":e,"aria-selected":!!o||!!i.props.disabled&&void 0,style:{backgroundColor:e,width:h,height:p,minWidth:h},onClick:function(t){return i.onColorClick(e,t)},id:i.createCellId({row:t,col:n}),key:n})}))},t.prototype.createCellId=function(e){return"".concat(this.guid,"_").concat(e.row,"_").concat(e.col)},t.displayName="ColorPalette",t.propTypes={palette:o.oneOfType([o.arrayOf(o.string.isRequired),o.string]),columns:o.number,tileSize:o.any,defaultValue:o.string,value:o.string,disabled:o.bool,tabIndex:o.number,onChange:o.func,onFocus:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,className:o.string},t.defaultProps={palette:Bt,tileSize:24},t}(r.Component),Lt=(0,a.Y)(),Pt=(0,a.u)(Lt,Nt);Pt.displayName="KendoReactColorPalette";var Tt=n(3218),jt=n(1754),Ut=function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ut.apply(this,arguments)},Wt=function(e){var t=e.popupSettings||{},n="rtl"===e.dir?"right":"left",o=r.useMemo((function(){return{horizontal:n,vertical:"bottom"}}),[n]),i=r.useMemo((function(){return{horizontal:n,vertical:"top"}}),[n]);return r.createElement(r.Fragment,null,e.input,e.button,r.createElement(jt.G,Ut({style:Ut(Ut({},(t||{}).style),{direction:e.dir})},t,{anchor:e.popupAnchor,anchorAlign:o,popupAlign:i,show:e.open,onOpen:e.onOpen,onClose:e.onClose,className:(0,d.A)("k-reset",t.className)}),e.content))};Wt.displayName="KendoPickerComponent";var Kt=function(){return Kt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Kt.apply(this,arguments)},qt={palette:Bt,tileSize:24},Gt=function(e){return void 0!==e},$t=(0,a.Y)(),Yt=r.forwardRef((function(e,t){var n;(0,O.s)(R.k);var o=(0,s.Y)($t,e),a=(0,i.useLocalization)(),l=o.size,c=void 0===l?Zt.size:l,u=o.rounded,h=void 0===u?Zt.rounded:u,m=o.fillMode,v=void 0===m?Zt.fillMode:m,b=o.popupSettings,y=o.gradientSettings,w=o.paletteSettings,x=o.valid,k=o.disabled,C=o.tabIndex,z=o.view,_=o.icon,E=o.svgIcon,I=o.iconClassName,S=o.onChange,M=o.onFocus,H=o.onBlur,F=o.onActiveColorClick,D=o.className,A=r.useRef(null),V=r.useRef(null),B=r.useRef(null),N=r.useRef(),L=r.useRef(null),P=r.useState(!1),T=P[0],j=P[1],U=r.useState(o.defaultValue),W=U[0],K=U[1],q=r.useState(!1),G=q[0],$=q[1],Y=Gt(o.value),Z=Gt(o.open),X=Y?o.value:W,J=Z?o.open:G,Q=r.useCallback((function(){A.current&&A.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:A.current,actionElement:L.current,value:X,focus:Q}}),[X,Q]);var ee=r.useCallback((function(e,t){Z||(!e&&!t&&A&&A.current&&A.current.focus(),$(e))}),[Z]),te=r.useCallback((function(e){var t=e.altKey,n=e.keyCode;if(n!==ht.R.esc)return n!==ht.R.enter||Z?void(!t||n!==ht.R.up&&n!==ht.R.down||(e.preventDefault(),e.stopPropagation(),n===ht.R.up&&A&&A.current&&(A.current.focus(),ee(!1)),n===ht.R.down&&ee(!0))):(e.preventDefault(),e.stopPropagation(),void ee(!J));ee(!1)}),[J,Z]),ne=r.useCallback((function(){Z||(V.current?V.current.focus():B.current&&B.current.focus())}),[Z]),re=r.useCallback((function(){ee(!J,!0)}),[J]),ie=r.useCallback((function(e){F&&F.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:X})}),[F,X]),ae=r.useCallback((function(e){N.current?(clearTimeout(N.current),N.current=void 0):j(!0),M&&M.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[M]),se=r.useCallback((function(){ee(!1,!0),j(!1),N.current=void 0}),[]),le=r.useCallback((function(e){clearTimeout(N.current),N.current=window.setTimeout(se),H&&H.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[H]),ue=r.useCallback((function(e,t){var n=t?e.rgbaValue:e.value;Y||K(n),t&&ee(!1),S&&S.call(void 0,{value:n,nativeEvent:e.nativeEvent,syntheticEvent:e.syntheticEvent})}),[Y,S]),he=r.useCallback((function(e){return ue(e,!0)}),[Gt,ue]),de=(0,dt.n)(A,o.dir),pe=!1!==x;return r.createElement("span",{id:o.id,role:"combobox","aria-label":o.ariaLabel,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,"aria-haspopup":"dialog","aria-expanded":J,"aria-disabled":k?"true":void 0,className:(0,d.A)("k-colorpicker","k-picker","k-icon-picker",(n={},n["k-picker-".concat(p.G.sizeMap[c]||c)]=c,n["k-picker-".concat(v)]=v,n["k-rounded-".concat(p.G.roundedMap[h]||h)]=h,n["k-invalid"]=!pe,n["k-disabled"]=k,n["k-focus"]=T,n.className=D,n)),ref:A,tabIndex:(0,f.p)(C,k),title:o.title,onKeyDown:te,onFocus:ae,onBlur:le,dir:de},r.createElement(Wt,{dir:de,open:J,onOpen:ne,popupAnchor:A.current||void 0,popupSettings:Kt({},b),input:r.createElement("span",{onClick:ie,className:"k-input-inner"},r.createElement("span",{className:(0,d.A)("k-value-icon","k-color-preview",{"k-no-color":!X,"k-icon-color-preview":_||E||I})},I&&r.createElement("span",{className:(0,d.A)("k-color-preview-icon",I)}),!I&&(_||E)&&r.createElement(kt.a,{name:_,icon:E}),r.createElement("span",{className:"k-color-preview-mask",style:{backgroundColor:X}}))),button:r.createElement(He.z,{tabIndex:-1,type:"button",onClick:re,className:"k-input-button",rounded:null,icon:"caret-alt-down",svgIcon:g,"aria-label":a.toLanguageString(oe,ce[oe])}),content:r.createElement(r.Fragment,null,("combo"===z||"gradient"===z)&&r.createElement(Ft,Kt({},y,{tabIndex:0,ref:V,value:X,onChange:ue})),("combo"===z||"palette"===z)&&r.createElement(Pt,Kt({},w,{ref:B,value:X,onChange:he})))}))}));Yt.propTypes={value:o.string,defaultValue:o.string,disabled:o.bool,view:o.oneOf(["gradient","palette","combo"]),dir:o.string,id:o.string,icon:o.string,svgIcon:Tt.wi,ariaLabelledBy:o.string,ariaDescribedBy:o.string,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),className:o.string};var Zt={size:"medium",rounded:"medium",fillMode:"solid",view:"palette",gradientSettings:{opacity:!0},paletteSettings:qt};Yt.defaultProps=Zt,Yt.displayName="KendoColorPicker";var Xt,Jt=n(7711),Qt="rgba(255, 255, 255, 1)",en=r.forwardRef((function(e,t){(0,O.s)(R.k);var n=r.useRef(null),o=r.useRef(null),a=r.useRef(null),s=e.defaultValue,l=void 0===s?Qt:s,c=e.showButtons,u=void 0===c||c,h=e.showPreview,p=void 0===h||h,m=e.showClearButton,v=void 0===m||m,g=r.useState("ColorGradient"===(e.view||"ColorGradient")),b=g[0],y=g[1],x=r.useState(e.value||l),k=x[0],C=x[1],z=r.useState(e.value||l),_=z[0],S=z[1],M=void 0!==e.value?e.value:_;r.useEffect((function(){C(e.value||l)}),[e.value,l]);var H=(0,i.useLocalization)(),F=r.useCallback((function(){n.current&&n.current.focus()}),[n]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:F,props:e,value:M}}),[M,F,e]),r.useImperativeHandle(t,(function(){return n.current}));var D=r.useCallback((function(e){("ColorGradient"===e&&!b||"ColorPalette"===e&&b)&&y(!b)}),[b]),A=r.useCallback((function(t){if(C(l),e.onPreviewChange){var n={value:l,nativeEvent:t.nativeEvent,syntheticEvent:t};e.onPreviewChange.call(void 0,n)}}),[l,e.onPreviewChange]),V=r.useCallback((function(t){if(C(t.value),e.onPreviewChange){var n={value:t.value,nativeEvent:t.nativeEvent,syntheticEvent:t.syntheticEvent};e.onPreviewChange.call(void 0,n)}}),[e.onPreviewChange]),B=r.useCallback((function(t){if(S(k),e.onChange){var n={value:k,nativeEvent:t.nativeEvent,syntheticEvent:t};e.onChange.call(void 0,n)}}),[k,e.onChange]),N=r.useCallback((function(){S(Qt)}),[]),L=r.useCallback((function(t){if(C(_),e.onPreviewChange){var n={value:_,nativeEvent:t.nativeEvent,syntheticEvent:t};e.onPreviewChange.call(void 0,n)}}),[_,e.onPreviewChange]),P=r.useCallback((function(e){o.current&&e.nativeEvent.target instanceof HTMLInputElement==0&&o.current.focus()}),[o]),T=r.useCallback((function(t){var n;if((!t.relatedTarget||!(null===(n=o.current)||void 0===n?void 0:n.contains(t.relatedTarget)))&&(u||S(k),!u&&e.onChange)){var r={value:k,nativeEvent:t.nativeEvent,syntheticEvent:t};e.onChange.call(void 0,r)}}),[k,u,e.onChange]);return r.createElement("div",{id:e.id,role:"textbox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledBy,"aria-disabled":e.disabled?"true":void 0,style:e.style,ref:o,tabIndex:(0,f.p)(e.tabIndex,e.disabled),className:(0,d.A)("k-flatcolorpicker k-coloreditor",{"k-disabled":e.disabled},e.className),onBlur:T},r.createElement(r.Fragment,null,e.header||r.createElement("div",{className:"k-coloreditor-header k-hstack"},r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},r.createElement(Jt.h,{className:"k-button-group-flat"},r.createElement(He.z,{type:"button","aria-label":H.toLanguageString(J,ce[J]),togglable:!0,fillMode:"flat",selected:b,onClick:function(){return D("ColorGradient")},icon:"droplet-slider",svgIcon:w}),r.createElement(He.z,{type:"button","aria-label":H.toLanguageString(Q,ce[Q]),togglable:!0,fillMode:"flat",selected:!b,onClick:function(){return D("ColorPalette")},icon:"palette",svgIcon:E}))),r.createElement("div",{className:"k-spacer"}),r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},v&&r.createElement(He.z,{type:"button",fillMode:"flat",onClick:A,"aria-label":H.toLanguageString(ee,ce[ee]),icon:"droplet-slash",svgIcon:I}),p&&r.createElement("div",{className:"k-coloreditor-preview k-vstack"},r.createElement("span",{className:"k-coloreditor-preview-color k-color-preview",style:{background:k}}),r.createElement("span",{className:"k-coloreditor-current-color k-color-preview",style:{background:_},onClick:L})))),r.createElement("div",{className:"k-coloreditor-views k-vstack"},b?r.createElement(Ft,{ref:a,role:"none",tabIndex:-1,ariaLabel:void 0,value:k,onChange:V,onFocus:P,opacity:e.opacity,format:e.format}):r.createElement(Pt,{ariaDisabled:!0,ariaLabelledBy:"required_label",value:k,onChange:V,onFocus:P})),u&&r.createElement("div",{className:"k-coloreditor-footer k-actions k-actions-end"},r.createElement(He.z,{type:"button",className:"k-coloreditor-cancel",onClick:N},ce[Z]),r.createElement(He.z,{type:"button",className:"k-coloreditor-apply k-primary",onClick:B},ce[X]))))})),tn={id:o.string,style:o.any,className:o.string,value:o.string,defaultValue:o.string,onPreviewChange:o.func,onChange:o.func,opacity:o.bool,format:o.any,tabIndex:o.number,ariaLabel:o.string,ariaLabelledBy:o.string,disabled:o.bool,view:o.any,header:o.any,showClearButton:o.bool,showPreview:o.bool,showButtons:o.bool};en.displayName="KendoFlatColorPicker",en.propTypes=tn,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(Xt||(Xt={}));var nn=function(){function e(e,t,n){void 0===n&&(n=Xt.Undefined),this.value=e,this.rest=t,this.type=n}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '".concat(this.value,"', rest: ").concat(this.rest," })")},e}(),rn=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}(),on=function(e){return(e||"").split("")},an=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof rn?this.parse(e):this.parse(new rn(on(e),on(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===Xt.Literal},e}(),sn=function(e,t){return new an((function(n){var r=n.next().char,o=e[r];return"\\"===r?(r=n.next().char,new nn(t.literal(r),n)):new nn(o?t.mask(o):t.literal(r),n)}))},ln=function(e){return new an((function(t){var n=e.prompt,r=e.promptPlaceholder,o=t.next().char;return new nn(o===n?r:o,t)}))},cn=function(e){return new an((function(t){var n=t.next().char;return new nn(e?n:"",t)}))},un=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new an((function(e){return new nn(t,e)}))));var t},hn=function(e){return new an((function(t){for(var n=new nn([],t);!t.eof();)n=n.concat(e.run(t));return n}))},dn=function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}return e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,r=e.prompt,o=void 0===r?"":r,i=e.promptPlaceholder,a=void 0===i?" ":i,s=e.rules,l=void 0===s?{}:s,c=e.includeLiterals,u=void 0!==c&&c;this.mask=n,this.prompt=o,this.promptPlaceholder=a,this.rules=l,this.includeLiterals=u,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return un(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?(un(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?(un(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,r){var o="",i=r,a=t.split("").slice(0,n),s=t.split("").slice(r);return un(this.maskTokens.slice(n,r)).run(e).fold((function(e){o=a.concat(e).concat(s).join("")})),{selection:i,value:o}},e.prototype.maskRemoved=function(e,t,n){var r=this,o="",i=n,a=e.split("").slice(n),s=e.split("").slice(0,n).join(""),l=this.maskTokens.length-(e.length-n);return un(this.maskTokens.slice(0,l)).run(s,t).fold((function(e){i=r.adjustPosition(e,i),o=e.concat(a).join("")})),{selection:i,value:o}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var r=this,o="",i=n,a=e.slice(0,n);return un(this.unmaskTokens).run(a,t).chain((function(e){i=e.join("").length;var n=t.slice(i);return un(r.maskTokens).run(e.join("")+n,t)})).fold((function(e){o=e.join("")})),{selection:i,value:o}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return t=e,new an((function(e){return e.peek().char===t?(e.eat(),new nn(t,e,Xt.Literal)):new nn(t,e,Xt.Literal)}));var t},mask:function(n){return(r={prompt:e,promptPlaceholder:t},function(e){return new an((function(t){for(var n=r.prompt,o=r.promptPlaceholder;!t.eof();){var i=t.peek(),a=i.char,s=i.control;if(a===s&&s===n)return t.eat(),new nn(n,t,Xt.Mask);if(e.test(a))return t.eat(),new nn(a,t,Xt.Mask);if(a===o)return t.eat(),new nn(n,t,Xt.Mask);t.eat_input()}return t.eat(),new nn(n,t,Xt.Mask)}))})(n);var r}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return t=e,new an((function(e){return e.eof()?new nn("",e):(e.peek().char===t&&e.eat(),new nn(t,e))}));var t},mask:function(t){return(n=e.prompt,function(e){return new an((function(t){for(;!t.eof();){var r=t.peek(),o=r.char,i=r.control;if(o===n&&i===n)return t.eat(),new nn(o,t);if(e.test(o))return t.eat(),new nn(o,t);t.eat_input()}return t.eat(),new nn("",t)}))})(t);var n}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this,t=e.prompt,n=e.promptPlaceholder,r=e.includeLiterals;return{literal:function(e){return cn(r)},mask:function(e){return ln({prompt:t,promptPlaceholder:n})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return cn(!1)},mask:function(t){return ln({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;hn(sn(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),hn(sn(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),hn(sn(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),hn(sn(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))},e}(),pn={"#":/[\d\s\+\-]/,"&":/[\S]/,0:/[\d]/,9:/[\d\s]/,"?":/[a-zA-Z\s]/,A:/[a-zA-Z0-9]/,C:/./,L:/[a-zA-Z]/,a:/[a-zA-Z0-9\s]/},fn=function(){return!1},mn=function(e,t){return e.includeLiterals!==t.includeLiterals||e.mask!==t.mask||e.prompt!==t.prompt||e.promptPlaceholder!==t.promptPlaceholder||!vn(e.rules,t.rules)},vn=function(e,t){if(!!e!=!!t)return!1;if(e===t||!e||!t)return!0;var n=!0;for(var r in e)if(e[r]!==t[r]){n=!1;break}if(n)for(var r in t)if(!e.hasOwnProperty(r)){n=!1;break}return n},gn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bn=function(){return bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},bn.apply(this,arguments)},yn=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n._inputId="k-".concat((0,l.M)()),n._service=new dn,n._isPasted=!1,n._selection=[null,null],n._input=null,n.focus=function(){n._input&&n._input.focus()},n.pasteHandler=function(e){var t=e.target,r=t.selectionStart,o=t.selectionEnd;o!==r&&(n._isPasted=!0,n._selection=[r||0,o||0])},n.onChangeHandler=function(e){var t=e.currentTarget,r=t.value,o=n._selection[0]||0,i=n._selection[1]||0;if(!n.props.mask)return n._isPasted=!1,n._selection=[null,null],void n.triggerOnChange(r,e);var a,s=n.value;if(n._isPasted){n._isPasted=!1;var l=s.length-i,c=r.length-l;a=n._service.maskInRange(r.slice(o,c),s,o,i)}else a=n._service.maskInput(r,s,t.selectionStart||0);n._selection=[a.selection,a.selection],n.triggerOnChange(a.value,e)},n.focusHandler=function(e){n.state.focused||(n.setState({focused:!0}),n.props.onFocus&&n.props.onFocus.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.blurHandler=function(e){n.state.focused&&(n.setState({focused:!1}),n.props.onBlur&&n.props.onBlur.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.setValidity=function(){n.element&&n.element.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"")},(0,O.s)(R.k),n}return gn(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawValue",{get:function(){return this._service.rawValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=this.value,t=this._service.validationValue(e);return{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!(this.required&&!t||this.props.maskValidation&&this.props.prompt&&-1!==e.indexOf(this.props.prompt)),valueMissing:!t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(this.element&&this.state.focused&&t.focused){var n=this._selection,r=n[0],o=n[1],i=e.selection,a=this.props.selection;(!i&&a||i&&a&&(i.start!==a.start||i.end!==a.end))&&(r=a.start,o=a.end),null!==r&&null!==o&&this.element.setSelectionRange(r,o)}mn(e,this.props)&&this.updateService(),this.setValidity()},t.prototype.componentDidMount=function(){this.updateService(),this.setValidity()},t.prototype.render=function(){var e,n=this,o=this.props,i=o.size,a=void 0===i?t.defaultProps.size:i,s=o.fillMode,l=void 0===s?t.defaultProps.fillMode:s,u=o.rounded,h=void 0===u?t.defaultProps.rounded:u,m=this.props.id||this._inputId,v=!this.validityStyles||this.validity.valid,g=this.props.style||{},b=this.props,y=b.prefix,w=void 0===y?t.defaultProps.prefix:y,x=b.suffix,k=void 0===x?t.defaultProps.suffix:x,C=(0,c.A)(w)[0],z=(0,c.A)(k)[0],_=r.createElement("span",{dir:this.props.dir,className:(0,d.A)("k-maskedtextbox k-input",(e={},e["k-input-".concat(p.G.sizeMap[a]||a)]=a,e["k-input-".concat(l)]=l,e["k-rounded-".concat(p.G.roundedMap[h]||h)]=h,e["k-invalid"]=!v,e["k-required"]=this.required,e["k-disabled"]=this.props.disabled,e),this.props.className),style:this.props.label?g:bn({width:this.props.width},g)},r.createElement(C,null),r.createElement("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,className:"k-input-inner",value:this.value,id:m,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-placeholder":this.props.mask,name:this.props.name,tabIndex:(0,f.p)(this.props.tabIndex,this.props.disabled,!0),accessKey:this.props.accessKey,title:this.props.title,disabled:this.props.disabled||void 0,readOnly:this.props.readonly||void 0,placeholder:this.props.placeholder,ref:function(e){return n._input=e},onChange:this.onChangeHandler,onPaste:this.pasteHandler,onFocus:this.focusHandler,onBlur:this.blurHandler,onDragStart:fn,onDrop:fn}),r.createElement(z,null));return this.props.label?r.createElement(M._,{label:this.props.label,editorId:m,editorValue:this.value,editorValid:v,editorDisabled:this.props.disabled,editorPlaceholder:this.props.placeholder,children:_,style:{width:this.props.width},dir:this.props.dir}):_},t.prototype.triggerOnChange=function(e,t){if(this.setState({value:e}),this.props.onChange){this._valueDuringOnChange=e;var n={syntheticEvent:t,nativeEvent:t.nativeEvent,selectionStart:this._selection[0],selectionEnd:this._selection[1],target:this,value:this.value};this.props.onChange.call(void 0,n),this._valueDuringOnChange=void 0}},t.prototype.updateService=function(e){var t=Object.assign({includeLiterals:this.props.includeLiterals,mask:this.props.mask,prompt:this.props.prompt,promptPlaceholder:this.props.promptPlaceholder,rules:this.rules},e);this._service.update(t)},Object.defineProperty(t.prototype,"rules",{get:function(){return Object.assign({},pn,this.props.rules)},enumerable:!1,configurable:!0}),t.displayName="MaskedTextBox",t.propTypes={value:o.string,defaultValue:o.string,placeholder:o.string,title:o.string,dir:o.string,id:o.string,style:o.object,className:o.string,prefix:o.any,suffix:o.any,ariaLabelledBy:o.string,ariaDescribedBy:o.string,width:o.oneOfType([o.string,o.number]),tabIndex:o.number,accessKey:o.string,disabled:o.bool,readonly:o.bool,prompt:o.string,promptPlaceholder:o.string,includeLiterals:o.bool,maskValidation:o.bool,mask:o.string,rules:function(e,t,n){var r=e.rules;return void 0===r||Object.entries(r).some((function(e){return"string"!=typeof e||!(r[e]instanceof RegExp)}))?null:new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed.")},selection:o.shape({start:o.number.isRequired,end:o.number.isRequired}),name:o.string,label:o.string,validationMessage:o.string,required:o.bool,valid:o.bool,validityStyles:o.bool,onChange:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},t.defaultProps={prompt:"_",promptPlaceholder:" ",includeLiterals:!1,maskValidation:!0,rules:pn,required:!1,validityStyles:!0,prefix:function(e){return null},suffix:function(e){return null},size:"medium",rounded:"medium",fillMode:"solid"},t}(r.Component),wn=(0,a.Y)(),xn=(0,a.u)(wn,yn);xn.displayName="KendoReactMaskedTextBox";var kn,Cn=function(){return Cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Cn.apply(this,arguments)};!function(e){e.start="start",e.end="end",e.min="min",e.max="max",e.increase="increase",e.decrease="decrease"}(kn||(kn={}));var zn=function(e,t){var n,r;switch(t.type){case kn.start:if(void 0===t.payload)return e;n={start:t.payload>e.end?e.end:Math.max(t.payload,t.min),end:e.end};break;case kn.end:if(void 0===t.payload)return e;n={start:e.start,end:t.payload<e.start?e.start:Math.min(t.payload,t.max)};break;case kn.min:n="start"===t.key?Cn(Cn({},e),{start:t.min}):Cn(Cn({},e),{end:Math.max(t.min,e.start)});break;case kn.max:n="start"===t.key?Cn(Cn({},e),{start:Math.min(t.max,e.end)}):Cn(Cn({},e),{end:t.max});break;case kn.increase:if(void 0===t.step||void 0===t.key)return e;r=e[t.key]+t.step,n="start"===t.key?r<t.min?Cn(Cn({},e),{start:t.min}):Cn(Cn({},e),{start:Math.min(r,e.end)}):r>t.max?Cn(Cn({},e),{end:t.max}):Cn(Cn({},e),{end:Math.max(r,e.start)});break;case kn.decrease:if(void 0===t.step||void 0===t.key)return e;r=e[t.key]-t.step,n="start"===t.key?r<t.min?Cn(Cn({},e),{start:t.min}):Cn(Cn({},e),{start:Math.min(r,e.end)}):r>t.max?Cn(Cn({},e),{end:t.max}):Cn(Cn({},e),{end:Math.max(r,e.start)});break;default:n=e}return n},_n=n(9844),En=function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},En.apply(this,arguments)},In=(0,a.Y)(),Sn=r.forwardRef((function(e,t){var n,o;(0,O.s)(R.k);var a=(0,s.Y)(In,e),l=r.useRef(null),c=r.useRef(null),u=r.useRef(null),h=r.useRef(null),p=r.useRef(null),m=r.useCallback((function(){h.current&&h.current.focus()}),[h]);r.useImperativeHandle(l,(function(){return{element:c.current,focus:m,props:a}})),r.useImperativeHandle(t,(function(){return l.current}));var v=r.useMemo((function(){return a.min}),[a.min]),g=r.useMemo((function(){return a.max}),[a.max]),b=r.useMemo((function(){return void 0!==a.step?a.step:On.step}),[a.step,On.step]),y=(0,dt.n)(c,a.dir),w=r.useState(""),x=w[0],k=w[1],C=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1],s=r.useCallback((function(e){var r=zn(t.state||i,En(En({},e),t));n&&n(r,e.event),a(r)}),[t,n]);return[i,s]}(a.defaultValue||On.defaultValue,{min:v,max:g,step:b,state:a.value},(function(e,t){a.onChange&&l.current&&a.onChange.call(void 0,{value:e,target:l.current,syntheticEvent:t})})),z=C[0],_=C[1],E=r.useMemo((function(){return a.value||z}),[a.value,z]),I=r.useRef(null),S=r.useRef(null),M=r.useMemo((function(){return(E.start-v)/(g-v)*100}),[E.start,v,g]),H=r.useMemo((function(){return(E.end-v)/(g-v)*100}),[E.end,v,g]),F=r.useMemo((function(){return a.vertical?{paddingTop:0,height:"100%"}:{}}),[a.vertical]),D=r.useMemo((function(){return a.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"}}),[a.vertical]),A=(0,i.useLocalization)(),B=r.useCallback((function(e){if(S.current){var t=S.current.getBoundingClientRect(),n=a.vertical?t.bottom-e.clientY:"rtl"===y?t.right-e.clientX:e.clientX-t.left,r=a.vertical?t.height:t.width;return v+n/r*(g-v)}}),[S,a.vertical,y,v,g,z.start,z.end,a.value&&a.value.start,a.value&&a.value.end]),N=r.useCallback((function(e){return e<=E.start?"start":e>=E.end?"end":2*e<E.end+E.start?"start":"end"}),[z.start,z.end,a.value&&a.value.start,a.value&&a.value.end]),L=r.useCallback((function(e){switch(e.keyCode){case ht.R.right:e.preventDefault(),_({type:"rtl"===y?kn.decrease:kn.increase,key:"start",event:e});break;case ht.R.up:e.preventDefault(),_({type:kn.increase,key:"start",event:e});break;case ht.R.left:e.preventDefault(),_({type:"rtl"===y?kn.increase:kn.decrease,key:"start",event:e});break;case ht.R.down:e.preventDefault(),_({type:kn.decrease,key:"start",event:e});break;case ht.R.home:e.preventDefault(),_({type:kn.min,key:"start",event:e});break;case ht.R.end:e.preventDefault(),_({type:kn.max,key:"start",event:e})}}),[_]),P=r.useCallback((function(e){switch(e.keyCode){case ht.R.right:e.preventDefault(),_({type:"rtl"===y?kn.decrease:kn.increase,key:"end",event:e});break;case ht.R.up:e.preventDefault(),_({type:kn.increase,key:"end",event:e});break;case ht.R.left:e.preventDefault(),_({type:"rtl"===y?kn.increase:kn.decrease,key:"end",event:e});break;case ht.R.down:e.preventDefault(),_({type:kn.decrease,key:"end",event:e});break;case ht.R.home:e.preventDefault(),_({type:kn.min,key:"end",event:e});break;case ht.R.end:e.preventDefault(),_({type:kn.max,key:"end",event:e})}}),[_,y]),T=r.useCallback((function(e){var t=B(e),n=N(t);k(n),"end"===n?p.current.focus():h.current.focus();var r="end"===n?kn.end:kn.start;_({type:r,payload:t,event:e})}),[a.vertical,v,g,_]);return(0,_n.O)(S,{onPress:T,onDrag:function(e){var t=B(e),n="end"===x?kn.end:kn.start;_({type:n,payload:t,event:e})},onRelease:function(e){var t=B(e),n="end"===x?kn.end:kn.start;_({type:n,payload:t,event:e}),k("")}}),r.createElement("div",{id:a.id,style:a.style,ref:c,dir:y,className:(0,d.A)("k-slider",{"k-rtl":"rtl"===y,"k-disabled":a.disabled,"k-slider-vertical":a.vertical,"k-slider-horizontal":!a.vertical},a.className)},r.createElement("div",{ref:S,className:"k-slider-track-wrap",style:En({flexGrow:1,position:"relative",touchAction:"none"},D)},a.children&&r.createElement("ul",{className:"k-reset k-slider-items",style:En({},F)},r.Children.map(a.children,(function(e){return e&&r.cloneElement(e,{position:100*(e.props.position-a.min)/(a.max-a.min),vertical:a.vertical},e.props.children)}))),r.createElement("div",{ref:I,className:"k-slider-track",style:a.vertical?{bottom:0,height:"100%"}:(n={},n["rtl"===y?"right":"left"]=0,n.width="100%",n)},null!==M&&null!==H&&r.createElement("div",{"data-selection":!0,ref:u,title:"".concat(E.start," - ").concat(E.end),className:"k-slider-selection",style:a.vertical?{height:H-M+"%",bottom:M+"%"}:(o={},o["rtl"===y?"right":"left"]=M+"%",o.width=H-M+"%",o)}),r.createElement("span",{ref:h,role:"slider",tabIndex:(0,f.p)(a.startTabIndex,a.disabled,void 0),"aria-valuemin":v,"aria-valuemax":Math.max(g,E.end),"aria-valuenow":E.start,"aria-disabled":a.disabled?"true":void 0,"aria-valuetext":"".concat(E.start," - ").concat(E.end),className:"k-draghandle",title:A.toLanguageString(V,ce[V]),style:a.vertical?{bottom:"calc("+M+"%)",zIndex:1}:"rtl"===y?{right:"calc("+M+"% - 13px)",zIndex:1}:{left:"calc("+M+"%)",zIndex:1},onKeyDown:L}),r.createElement("span",{ref:p,role:"slider",tabIndex:(0,f.p)(a.endTabIndex,a.disabled,void 0),"aria-valuemin":Math.min(v,E.start),"aria-valuemax":g,"aria-valuenow":E.end,"aria-disabled":a.disabled?"true":void 0,"aria-valuetext":"".concat(E.start," - ").concat(E.end),className:"k-draghandle",title:A.toLanguageString(V,ce[V]),style:a.vertical?{bottom:"calc("+H+"%)",zIndex:1}:"rtl"===y?{right:"calc("+H+"% - 13px)",zIndex:1}:{left:"calc("+H+"%)",zIndex:1},onKeyDown:P}))))})),Mn={value:function(e,t,n){if(e.value){var r=e.value.start,o=e.value.end,i=e.min,a=e.max;if(r>o||r>a||r<i||o>a||o<i||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},defaultValue:function(e,t,n){if(e.defaultValue){var r=e.defaultValue.start,o=e.defaultValue.end,i=e.min,a=e.max;if(r>o||r>a||r<i||o>a||o<i||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},onChange:o.func,step:o.number,min:function(e,t,n){var r=e[t],o=e.min,i=e.max;return void 0===o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&o>=i?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or bigger than the max value.\n ")):null},max:function(e,t,n){var r=e[t],o=e.min,i=e.max;return void 0===i?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&i<=o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or smaller than the min value.\n ")):null},vertical:o.bool,disabled:o.bool,dir:o.oneOf(["ltr","rtl"])},On={step:1,defaultValue:{start:0,end:0},vertical:!1,disabled:!1};Sn.displayName="KendoReactRangeSlider",Sn.propTypes=Mn,Sn.defaultProps=On;var Rn=n(3228),Hn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fn=function(){return Fn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fn.apply(this,arguments)},Dn=function(e){function t(n){var o=e.call(this,n)||this;return o.setValidity=function(){o._input&&o._input.setCustomValidity&&o._input.setCustomValidity(o.validity.valid?"":o.props.validationMessage||o.defaultValidationMessage.toLanguageString(re,ce[re]))},o.limit=function(e,t,n){var r=n.offsetWidth,o=t.offsetWidth;return e<0?0:e>r-o?r-o:e},o.toggle=function(e,t){o.setState({checked:e}),o.valueDuringOnChange=e,(0,u.N)(o.props.onChange,t,o,{value:e}),o.valueDuringOnChange=void 0},o._element=null,o._wrapper=null,o._input=null,o._id=(0,l.M)(),o.defaultValidationMessage=(0,i.provideLocalizationService)(o),o.focus=function(){o.actionElement&&o.actionElement.focus()},o.dummyInput=function(e){return r.createElement("input",{type:"checkbox",checked:o.props.checked,ref:function(e){o._input=e},tabIndex:-1,"aria-hidden":!0,value:e,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"},onChange:Rn.Z,name:o.name||void 0})},o.handleClick=function(e){o.eventTimeStamp!==e.timeStamp&&(o.eventTimeStamp=e.timeStamp,o.toggle(!o.value,e))},o.handleKeyDown=function(e){if(!o.props.disabled){var t=e.keyCode;t!==ht.R.space&&t!==ht.R.enter||(o.toggle(!o.value,e),e.preventDefault())}},o.handleWrapperFocus=function(e){if(!o.props.disabled){o.setState({focused:!0});var t=o.props.onFocus;t&&t.call(void 0,e)}},o.handleWrapperBlur=function(e){if(!o.props.disabled){o.setState({focused:!1});var t=o.props.onBlur;t&&t.call(void 0,e)}},(0,O.s)(R.k),o.state={checked:n.defaultChecked||t.defaultProps.defaultChecked,focused:!1},o}return Hn(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.checked?this.props.checked:this.state.checked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){return this._wrapper},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=void 0!==this.props.valid?this.props.valid:!this.props.required||!!this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.setValidity(),this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e,t,n,o=this,i=this.state.focused,a=this.props,s=a.dir,l=a.disabled,c=a.trackRounded,u=a.thumbRounded,h=a.size,m=a.offLabel,v=a.onLabel,g=a.tabIndex;this.dir=s||this.element&&getComputedStyle(this.element).direction||void 0;var b=!this.validityStyles||this.validity.valid,y=(0,d.A)("k-switch",((e={})["k-switch-".concat(p.G.sizeMap[h]||h)]=h,e["k-rounded-".concat(p.G.roundedMap[c]||c)]=c,e["k-switch-on"]=this.value,e["k-switch-off"]=!this.value,e["k-focus"]=i,e["k-disabled"]=l,e["k-invalid"]=!b,e),this.props.className),w={"aria-checked":this.value,"aria-disabled":l||void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-label":this.props.ariaLabel};return r.createElement("span",Fn({ref:function(e){o._wrapper=e},role:"switch"},w,{className:y,dir:this.dir,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onBlur:this.handleWrapperBlur,onFocus:this.handleWrapperFocus,tabIndex:(0,f.p)(g,l,void 0),accessKey:this.props.accessKey,id:this.props.id||this._id}),r.createElement("span",{className:(0,d.A)("k-switch-track",(t={},t["k-rounded-".concat(p.G.roundedMap[c]||c)]=c,t)),ref:function(e){o._element=e}},this.dummyInput(this.value),r.createElement("span",{className:"k-switch-label-on"},v),r.createElement("span",{className:"k-switch-label-off"},m)),r.createElement("span",{className:"k-switch-thumb-wrap"},r.createElement("span",{className:(0,d.A)("k-switch-thumb",(n={},n["k-rounded-".concat(u)]=u,n))})))},t.displayName="Switch",t.propTypes={accessKey:o.string,checked:o.bool,className:o.string,disabled:o.bool,defaultChecked:o.bool,size:o.oneOf([null,"small","medium","large"]),trackRounded:o.oneOf([null,"small","medium","large","full"]),thumbRounded:o.oneOf([null,"small","medium","large","full"]),dir:o.string,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,offLabel:o.string,required:o.bool,tabIndex:o.number,valid:o.bool,validate:o.bool,validationMessage:o.string,onBlur:o.any,onChange:o.any,onFocus:o.any,onLabel:o.string},t.defaultProps={disabled:!1,defaultChecked:!1,size:"medium",trackRounded:"full",thumbRounded:"full",offLabel:"OFF",onBlur:Rn.Z,onFocus:Rn.Z,onLabel:"ON",required:!1,validityStyles:!0},t}(r.Component),An=(0,a.Y)(),Vn=(0,a.u)(An,Dn);Vn.displayName="KendoReactSwitch";var Bn=function(){return Bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bn.apply(this,arguments)},Nn=(0,a.Y)(),Ln=r.forwardRef((function(e,t){var n;(0,O.s)(R.k);var o=(0,s.Y)(Nn,e),a=o,c=a.ariaDescribedBy,h=a.ariaLabelledBy,m=a.checked,v=a.className,g=a.labelClassName,b=a.children,y=a.defaultChecked,w=a.disabled,x=a.defaultValue,k=a.id,C=a.size,z=a.rounded,_=a.label,E=a.labelPlacement,I=a.name,S=a.labelOptional,M=a.onChange,H=a.onFocus,F=a.onBlur,D=a.tabIndex,A=a.value,V=a.required,B=a.valid,N=a.validationMessage,L=a.validityStyles,P=(a.visited,a.touched,a.modified,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(a,["ariaDescribedBy","ariaLabelledBy","checked","className","labelClassName","children","defaultChecked","disabled","defaultValue","id","size","rounded","label","labelPlacement","name","labelOptional","onChange","onFocus","onBlur","tabIndex","value","required","valid","validationMessage","validityStyles","visited","touched","modified"])),T=r.useRef(null),j=r.useCallback((function(){T.current&&T.current.focus()}),[]),U=r.useCallback((function(){return{element:T.current,focus:j,get name(){return T.current&&T.current.name}}}),[j]);r.useImperativeHandle(t,U);var W=r.useState(y),K=W[0],q=W[1],G=r.useState(x),$=G[0],Y=G[1],Z="boolean"==typeof A||null===A,X=void 0!==m,J=Z,Q=J?A:$,ee=X?m:J?void 0:K,re=void 0===ee&&Q,oe=re?Q:ee,ie=re||J?null===A?A:void 0:A||Q,ae=null===oe||null===ie,se=r.useMemo((function(){return(0,l.M)()}),[]),le=(0,i.useLocalization)(),ue=function(e){return le.toLanguageString(e,ce[e])},he=ue(te),de=ue(ne),pe=void 0!==B?B:!V||!!ee;r.useEffect((function(){T.current&&T.current.setCustomValidity&&T.current.setCustomValidity(pe?"":N||he)}),[pe,N,he]);var fe=r.useCallback((function(e,t){J||w||(Y(t),X||w||q(t)),M&&!w&&(0,u.N)(M,e,Bn(Bn({},U()),{value:t}),{value:t})}),[X,w,M,J,U]),me=r.useCallback((function(e){var t=e.target.checked;fe(e,t)}),[fe,A]),ve=r.useCallback((function(e){if(!w){var t=e.keyCode,n=e.currentTarget.checked;t===ht.R.space&&(e.preventDefault(),e.stopPropagation(),fe(e,!n))}}),[w,fe]),ge=r.useCallback((function(e){w||e.keyCode===ht.R.space&&e.preventDefault()}),[w]),be=r.useCallback((function(e){H&&!w&&(0,u.N)(H,e,U(),void 0)}),[H,w,U]),ye=r.useCallback((function(e){F&&!w&&(0,u.N)(F,e,U(),void 0)}),[F,w,U]),we=(0,dt.n)(T,o.dir),xe=(0,d.A)("k-checkbox-wrap",v),ke=Bn(Bn({type:"checkbox",className:(0,d.A)("k-checkbox",(n={},n["k-checkbox-".concat(p.G.sizeMap[C]||C)]=C,n["k-rounded-".concat(p.G.roundedMap[z]||z)]=z,n["k-indeterminate"]=ae,n["k-disabled"]=w,n["k-invalid k-invalid"]=!(pe||void 0!==L||!0===L),n)),ref:T,name:I,id:k||se,"aria-labelledby":h,"aria-describedby":c,checked:Boolean(oe),disabled:w,tabIndex:(0,f.p)(D,w),role:"checkbox",required:void 0!==V&&V,"aria-checked":!(!ee&&!oe)||!!ae&&"mixed","aria-disabled":w||void 0},P),{onChange:me,onKeyDown:ve,onKeyUp:ge,onFocus:be,onBlur:ye}),Ce=r.createElement(r.Fragment,null,void 0===ie?r.createElement("input",Bn({},ke)):r.createElement("input",Bn({},ke,{value:Z?void 0:null===ie?"":ie}))),ze=r.createElement(r.Fragment,null,void 0!==_?r.createElement("label",{className:(0,d.A)("k-checkbox-label",g),htmlFor:k||se,style:{userSelect:"none"}},_,S&&r.createElement("span",{className:"k-label-optional"},de)):null);return r.createElement(r.Fragment,null,"before"===E?r.createElement("span",{className:xe,dir:"rtl"},Ce,ze,b):r.createElement("span",{className:xe,dir:we},Ce,ze,b))}));Ln.propTypes={checked:o.bool,className:o.string,defaultChecked:o.bool,defaultValue:o.any,dir:o.string,disabled:o.bool,id:o.string,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large"]),ariaLabelledBy:o.string,ariaDescribedBy:o.string,label:o.any,labelPlacement:o.string,labelOptional:o.bool,name:o.string,tabIndex:o.number,value:o.any,validationMessage:o.string,required:o.bool,validate:o.bool,valid:o.bool,onChange:o.func,onFocus:o.func,onBlur:o.func},Ln.defaultProps={size:"medium",rounded:"medium"},Ln.displayName="KendoCheckbox";var Pn=function(){return Pn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pn.apply(this,arguments)},Tn=(0,a.Y)(),jn=r.forwardRef((function(e,t){var n;(0,O.s)(R.k);var o=(0,s.Y)(Tn,e),i=o.ariaDescribedBy,a=o.checked,c=o.children,h=o.className,m=o.disabled,v=o.id,g=o.size,b=o.label,y=o.labelPlacement,w=o.name,x=o.style,k=o.tabIndex,C=o.value,z=o.valid,_=o.onChange,E=o.onFocus,I=o.onBlur,S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(o,["ariaDescribedBy","checked","children","className","disabled","id","size","label","labelPlacement","name","style","tabIndex","value","valid","onChange","onFocus","onBlur"]),M=r.useRef(null),H=r.useCallback((function(){M.current&&M.current.focus()}),[]),F=r.useCallback((function(){return{element:M.current,focus:H}}),[H]);r.useImperativeHandle(t,F);var D=r.useMemo((function(){return(0,l.M)()}),[]),A=r.useCallback((function(e){(0,u.N)(_,e,F(),{value:C})}),[_,C,m]),V=r.useCallback((function(e){E&&!m&&(0,u.N)(E,e,F(),void 0)}),[E,m]),B=r.useCallback((function(e){I&&!m&&(0,u.N)(I,e,F(),void 0)}),[I,m]),N=Pn({type:"radio",id:v||D,name:w,className:(0,d.A)("k-radio",(n={},n["k-radio-".concat(p.G.sizeMap[g]||g)]=g,n["k-invalid"]=!1===z,n),h),ref:M,disabled:m,tabIndex:(0,f.p)(k,m),checked:a,style:x,"aria-describedby":i,value:C,onChange:A,onFocus:V,onBlur:B},S),L=r.createElement(r.Fragment,null,void 0!==b?r.createElement("label",{className:"k-radio-label",htmlFor:v||D,style:{userSelect:"none"},"aria-label":b},b):null),P=r.createElement("input",Pn({},N));return"before"===y?r.createElement(r.Fragment,null,L,P,c):r.createElement(r.Fragment,null,P,L,c)}));jn.propTypes={ariaDescribedBy:o.string,checked:o.bool,className:o.string,disabled:o.bool,id:o.string,size:o.oneOf([null,"small","medium","large"]),label:o.string,labelPlacement:o.string,name:o.string,style:o.object,tabIndex:o.number,value:o.any,valid:o.bool,onChange:o.func,onFocus:o.func,onBlur:o.func},jn.displayName="KendoRadioButton",jn.defaultProps={size:"medium"};var Un=n(1573),Wn=function(){return Wn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wn.apply(this,arguments)},Kn=(0,a.Y)(),qn=r.forwardRef((function(e,t){(0,O.s)(R.k);var n=(0,s.Y)(Kn,e),o=n.ariaLabelledBy,i=n.ariaDescribedBy,a=n.className,c=n.data,h=n.defaultValue,p=n.disabled,f=n.name,m=n.labelPlacement,v=n.layout,g=n.style,b=n.value,y=n.valid,w=n.item,x=void 0===w?Gn.item:w,k=n.onChange,C=n.onFocus,z=r.useRef(null),_=r.useCallback((function(){z.current&&(0,ct.n)(z.current)}),[]),E=r.useCallback((function(){return{element:z.current,focus:_}}),[_]);r.useImperativeHandle(t,E);var I=r.useState(h),S=I[0],M=I[1],H=void 0!==b,F=H?b:S,D=r.useCallback((function(e){var t=e.value;H||p||M(t),k&&!p&&(0,u.N)(k,e.syntheticEvent,E(),{value:t})}),[M,k,p]),A=r.useCallback((function(e){C&&!p&&(0,u.N)(C,e.syntheticEvent,E(),void 0)}),[C,p]),V=r.useMemo((function(){return(0,l.M)()}),[]),B=(0,d.A)("k-radio-list",{"k-list-horizontal":"horizontal"===v,"k-list-vertical":"vertical"===v||void 0===v},a),N=(0,Un.V)(z,n.dir),L=c&&c.map((function(e,t){var n=F===e.value,o=null==F,i=Wn(Wn({},e),{valid:y,checked:n,disabled:!(!e.disabled&&!p),labelPlacement:e.labelPlacement?e.labelPlacement:m,tabIndex:e.tabIndex?e.tabIndex:o&&0===t||n?0:-1,index:t,name:f||V,onChange:D,onFocus:A});return r.createElement(x,{className:(0,d.A)("k-radio-item",{"k-disabled":i.disabled||p}),key:t,role:"none"},r.createElement(jn,Wn({},i)))}));return r.createElement("ul",{role:"radiogroup",className:B,ref:z,dir:N,style:g,"aria-labelledby":o,"aria-describedby":i},L)})),Gn={item:function(e){return r.createElement("li",Wn({},e))}};qn.propTypes={ariaLabelledBy:o.string,ariaDescribedBy:o.string,className:o.string,data:o.arrayOf(o.object),defaultValue:o.any,dir:o.string,disabled:o.bool,labelPlacement:o.string,layout:o.string,name:o.string,style:o.object,value:o.any,onChange:o.func,onFocus:o.func},qn.defaultProps=Gn,qn.displayName="KendoRadioGroup";var $n=function(){return $n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$n.apply(this,arguments)},Yn=(0,a.Y)(),Zn=r.forwardRef((function(e,t){var n,o=(0,s.Y)(Yn,e),i=o,a=i.size,c=i.rounded,h=i.fillMode,m=i.ariaDescribedBy,v=i.ariaLabelledBy,g=i.autoSize,b=i.className,y=i.defaultValue,w=i.disabled,x=i.readOnly,k=i.required,C=i.rows,z=i.id,_=i.name,E=i.placeholder,I=i.style,S=i.tabIndex,M=i.value,O=i.valid,R=i.validationMessage,H=i.validityStyles,F=i.onChange,D=i.onFocus,A=i.onBlur,V=(i.visited,i.touched,i.modified,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(i,["size","rounded","fillMode","ariaDescribedBy","ariaLabelledBy","autoSize","className","defaultValue","disabled","readOnly","required","rows","id","name","placeholder","style","tabIndex","value","valid","validationMessage","validityStyles","onChange","onFocus","onBlur","visited","touched","modified"])),B=r.useRef(null),N=r.useCallback((function(){B.current&&B.current.focus()}),[]),L=r.useState(y),P=L[0],T=L[1],j=void 0!==M,U=j?M:P,W=r.useCallback((function(){return{element:B,focus:N,get value(){return U},get name(){return B.current&&B.current.name}}}),[N,U]);r.useImperativeHandle(t,W);var K=r.useState("auto"),q=K[0],G=K[1],$=r.useMemo((function(){return(0,l.M)()}),[]),Y=(0,dt.n)(B,o.dir),Z=void 0!==O?O:!k||!!U;r.useEffect((function(){B.current&&B.current.setCustomValidity&&B.current.setCustomValidity(Z?"":R||"")}),[Z,R]),r.useLayoutEffect((function(){B.current&&G("".concat(B.current.scrollHeight,"px"))}),[U]);var X=r.useCallback((function(e){var t=e.target.value;G("auto"),j||w||T(t),F&&!w&&(0,u.N)(F,e,$n($n({},W()),{value:t}),{value:t})}),[T,F,w,j]),J=r.useCallback((function(e){D&&!w&&(0,u.N)(D,e,W(),void 0)}),[D,w]),Q=r.useCallback((function(e){A&&!w&&(0,u.N)(A,e,W(),void 0)}),[A,w]),ee=$n($n({id:z||$,role:"textbox",name:_,className:"k-input-inner !k-overflow-auto",ref:B,disabled:w,rows:C,placeholder:E,readOnly:x,required:k,tabIndex:(0,f.p)(S,w),style:g?{resize:"none",overflow:"hidden",height:q}:{},"aria-labelledby":v,"aria-describedby":m,"aria-multiline":!0,"aria-disabled":w||void 0,value:j?M:P},V),{onChange:X,onFocus:J,onBlur:Q});return r.createElement("span",{className:(0,d.A)("k-input","k-textarea",(n={},n["k-input-".concat(p.G.sizeMap[a]||a)]=a,n["k-input-".concat(h)]=h,n["k-rounded-".concat(p.G.roundedMap[c]||c)]=c,n["k-invalid"]=!(Z||void 0!==H||!0===H),n["k-required"]=k,n["k-disabled"]=w,n),b),style:I,dir:Y},r.createElement("textarea",$n({},ee)))}));Zn.propTypes={ariaDescribedBy:o.string,ariaLabelledBy:o.string,autoSize:o.bool,className:o.string,defaultValue:o.string,dir:o.string,disabled:o.bool,readOnly:o.bool,rows:o.number,id:o.string,name:o.string,placeholder:o.string,style:o.object,tabIndex:o.number,value:o.oneOfType([o.string,o.arrayOf(o.string),o.number]),onChange:o.func,onFocus:o.func,onBlur:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},Zn.displayName="KendoTextArea",Zn.defaultProps={size:"medium",rounded:"medium",fillMode:"solid"};var Xn=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=(0,dt.n)(o,e.dir);r.useImperativeHandle(n,(function(){return{element:o.current,props:e,value:e.value}})),r.useImperativeHandle(t,(function(){return n.current}));var a=r.useCallback((function(t){e.onClick&&e.onClick.call(void 0,{value:e.value,target:n.current,syntheticEvent:t})}),[e.onClick,e.value]),s=r.useCallback((function(t){e.onKeyDown&&e.onKeyDown.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onKeyDown]),l=r.useCallback((function(t){e.onFocus&&e.onFocus.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onFocus]),c=r.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onBlur]),u=r.useCallback((function(t){e.onMouseMove&&e.onMouseMove.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseMove]),h=r.useCallback((function(t){e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseEnter]),p=r.useCallback((function(t){e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseLeave]);return r.createElement("span",{id:e.id,ref:o,dir:i,"data-half":e.half,tabIndex:e.tabIndex,title:e.title,style:e.style,className:(0,d.A)("k-rating-item",{"k-rtl":"rtl"===i,"k-selected":e.selected,"k-hover":e.hovered},e.className),onClick:a,onKeyDown:s,onFocus:l,onBlur:c,onMouseEnter:h,onMouseLeave:p,onMouseMove:u},e.children)})),Jn={id:o.string,icon:o.any,dir:o.oneOf(["ltr","rtl"]),title:o.string,value:o.number,half:o.bool,selected:o.bool,hovered:o.bool};Xn.displayName="KendoReactRatingItem",Xn.propTypes=Jn,Xn.defaultProps={dir:"ltr"};var Qn,er=function(e,t){if(e%1){var n=Math.pow(10,(t.toString().split(".")[1]||t.toString().split(".")[0]).length);return Math.round(e*n)/n}return e},tr=function(e,t,n){return er(e-n,n)<t&&t<e},nr=function(e,t,n,r){return null!==t&&("continues"===r?tr(e,t,n)?er(e-n/2,n/2)<=t:e<=t:"single"===r&&(tr(e,t,n)?er(e-n/2,n/2)===t:e===t))},rr=function(e,t,n){return"ltr"===e?n<t.x+t.width/2:n>t.x+t.width/2},or=function(e,t,n,r){for(var o=e;o<=t;o+=n)if(r===o)return!0;return!1};!function(e){e.select="select",e.deselect="deselect",e.increase="increase",e.decrease="decrease",e.min="min",e.max="max",e.reset="reset"}(Qn||(Qn={}));var ir,ar=function(e,t){switch(t.type){case Qn.select:return void 0===t.payload||void 0===t.step?e:t.payload===e?null:t.payload>=t.min?t.payload<t.max?er(t.payload,t.step):t.max:t.min;case Qn.deselect:return null;case Qn.increase:return void 0===t.step?e:e<t.min?t.min:e+t.step<t.max?er(e+t.step,t.step):t.max;case Qn.decrease:return void 0===t.step?e:er(e-t.step,t.step)>=t.min?er(e-t.step,t.step):t.min;case Qn.min:return void 0===t.step?e:t.min;case Qn.max:return t.max;case Qn.reset:return null;default:return e}},sr=function(){return sr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sr.apply(this,arguments)},lr=function(e,t,n){var o=r.useState(e),i=o[0],a=o[1];return[i,function(e){var r=ar(t.state||i,sr(sr({},e),t));n&&n(r,e.event),a(r)}]},cr=(0,a.Y)(),ur=r.forwardRef((function(e,t){var n=(0,s.Y)(cr,e),o=(0,i.useLocalization)(),a=r.useRef(null),l=r.useRef(null),c=(0,dt.n)(l,n.dir);r.useImperativeHandle(a,(function(){return{element:l.current,props:n}})),r.useImperativeHandle(t,(function(){return a.current}));for(var u,h,p=r.useCallback((function(e,t){n.onChange&&a.current&&n.onChange.call(void 0,{value:e,target:a.current,syntheticEvent:t})}),[n.onChange]),m=r.useMemo((function(){return void 0!==n.min?n.min:dr.min}),[n.min]),v=r.useMemo((function(){return void 0!==n.max?n.max:dr.max}),[n.max]),g=r.useMemo((function(){return n.precision||dr.precision}),[n.precision]),b=r.useMemo((function(){return void 0!==n.step?n.step:dr.step}),[n.step]),y=r.useMemo((function(){return n.readonly||dr.readonly}),[n.readonly]),w=r.useMemo((function(){return n.disabled||dr.disabled}),[n.disabled]),x=r.useMemo((function(){return n.item||dr.item}),[n.item]),k=lr(void 0!==n.defaultValue?n.defaultValue:dr.defaultValue,{state:n.value,min:m,max:v,step:"half"===g?b/2:b},p),C=k[0],E=k[1],I=lr(null,{state:n.value,min:m,max:v,step:"half"===g?b/2:b,precision:g}),S=I[0],M=I[1],O=r.useMemo((function(){return void 0!==n.value?n.value:C}),[n.value,C]),R=r.useMemo((function(){return S}),[S]),H=r.useMemo((function(){return n.selection||dr.selection}),[n.selection]),F=r.useMemo((function(){return b/("half"===g?2:1)}),[b,g]),D=r.useCallback((function(e){if(e.target&&e.target.element&&!y&&!w){if("half"===g){var t=e.target.element.getBoundingClientRect(),r=rr(c||"ltr",t,e.syntheticEvent.clientX)?er(e.target.value-b/2,F):e.target.value;E({type:Qn.select,payload:r,event:e.syntheticEvent})}else E({type:Qn.select,payload:e.target.value,event:e.syntheticEvent});if(n.onClick){var o={value:O,target:a.current,syntheticEvent:e.syntheticEvent};n.onClick.call(void 0,o)}}}),[n.onClick,E,O]),A=r.useCallback((function(e){if(!y&&!w){switch(e.keyCode){case ht.R.right:e.preventDefault(),E({type:"rtl"===c?Qn.decrease:Qn.increase,event:e});break;case ht.R.left:e.preventDefault(),E({type:"rtl"===c?Qn.increase:Qn.decrease,event:e});break;case ht.R.home:e.preventDefault(),E({type:"rtl"===c?Qn.min:Qn.max,event:e});break;case ht.R.end:e.preventDefault(),E({type:"rtl"===c?Qn.max:Qn.min,event:e});break;case ht.R.esc:e.preventDefault(),E({type:Qn.deselect,event:e})}n.onKeyDown&&n.onKeyDown.call(void 0,{value:O,target:a.current,syntheticEvent:e})}}),[n.onKeyDown,E,O]),V=r.useCallback((function(e){if(n.onFocus){var t={target:a.current,syntheticEvent:e};n.onFocus.call(void 0,t)}}),[n.onFocus]),B=r.useCallback((function(e){if(n.onBlur){var t={target:a.current,syntheticEvent:e};n.onBlur.call(void 0,t)}}),[n.onBlur]),N=r.useCallback((function(e){if(e.target&&e.target.element)if("half"===g){var t=e.target.element.getBoundingClientRect(),n=rr(c||"ltr",t,e.syntheticEvent.clientX)?e.target.value-b/2:e.target.value;M({type:Qn.select,payload:n,event:e.syntheticEvent})}else M({type:Qn.select,payload:e.target.value,event:e.syntheticEvent})}),[g,b,c]),L=r.useCallback((function(e){M({type:Qn.reset,event:e.syntheticEvent})}),[]),P=[],T=(u=er(v-m,F))-(h=b)*Math.floor(u/h),j=m;j<=v;j=er(j+b,F)){var U=er(j+T,F),W="half"===g&&tr(U,null!==R?R:null!==O?O:0,b),K=nr(U,O,b,H),q=nr(U,null!==R?R:O,b,H),G=nr(U,R,b,H);P.push(r.createElement(x,{key:U,value:U,dir:c,title:String(W?er(U-b/2,F):U),icon:n.icon,svgIcon:n.svgIcon,half:W,selected:K||q,hovered:G,onClick:D,onMouseMove:N,onMouseLeave:L},W&&r.createElement("span",{className:"k-rating-precision-complement"},!(n.icon||n.svgIconOutline)&&r.createElement(kt.a,{name:"star-outline",icon:z,style:{clipPath:"".concat("rtl"===c?"inset(0 50% 0 0)":"inset(0 0 0 50%)")},size:"xlarge"}),(n.icon||n.svgIconOutline)&&r.createElement(kt.a,{name:(0,Tt.iJ)("".concat(n.icon,"-outline")),icon:n.svgIconOutline,size:"xlarge"})),W&&r.createElement("span",{className:"k-rating-precision-part"},!(n.icon||n.svgIcon)&&r.createElement(kt.a,{name:"star",icon:_,style:{clipPath:"".concat("rtl"===c?"inset(0 0 0 50%)":"inset(0 50% 0 0)")},size:"xlarge"}),(n.icon||n.svgIcon)&&r.createElement(kt.a,{name:n.icon?(0,Tt.iJ)(n.icon):void 0,icon:n.svgIcon,size:"xlarge"})),W&&r.createElement("span",{style:{width:"24px",height:"24px",display:"block"}}),!W&&!(n.icon||n.svgIcon)&&(G||q&&!G)&&r.createElement(kt.a,{name:"star",icon:_,size:"xlarge"})||!(n.icon||n.svgIcon)&&!G&&!q&&r.createElement(kt.a,{name:"star-outline",icon:z,size:"xlarge"})||(n.icon||n.svgIcon)&&(G||q&&!G)&&r.createElement(kt.a,{name:n.icon,icon:n.svgIcon,size:"xlarge"})||(n.icon||n.svgIcon)&&!G&&r.createElement(kt.a,{name:(0,Tt.iJ)("".concat(n.icon,"-outline")),icon:n.svgIconOutline,size:"xlarge"})))}return r.createElement("span",{id:n.id,style:n.style,ref:l,role:"slider",dir:c,tabIndex:(0,f.p)(n.tabIndex,n.disabled,void 0),className:(0,d.A)("k-rating",{"k-rtl":"rtl"===c,"k-readonly":y,"k-disabled":w},n.className),onKeyDown:A,onFocus:V,onBlur:B,"aria-valuemin":m,"aria-valuemax":v,"aria-valuenow":null!==O?O:void 0,"aria-disabled":w?"true":void 0,"aria-label":o.toLanguageString(ie,ce[ie]),"aria-labelledby":n.ariaLabelledBy,"aria-describedby":n.ariaDescribedBy},r.createElement("input",{id:"rating",className:"k-hidden",readOnly:y,disabled:w}),r.createElement("span",{className:"k-rating-container"},P),n.label&&r.createElement("span",{className:"k-rating-label"},n.label))})),hr={id:o.string,dir:o.oneOf(["ltr","rtl"]),selection:o.oneOf(["continues","single"]),precision:o.oneOf(["item","half"]),value:function(e,t,n){return e.value&&e.min&&e.max&&e.step&&!("half"===e.precision?or(e.min,e.max,e.step/2,e.value):or(e.min,e.max,e.step,e.value))&&"half"===e.precision?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The value of the { value } property is not correct, please check your values.\n ")):null},defaultValue:o.number,min:o.number,max:o.number,step:function(e,t,n){return void 0!==e.step&&e.step<=0?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,'.\n The value of the { step } property is cannot be equal or less than "0", please check your values.\n ')):null},hovered:o.number,label:o.string,readonly:o.bool,disabled:o.bool,half:o.bool,icon:o.string,svgIcon:Tt.wi,svgIconOutline:Tt.wi,ariaDescribedBy:o.string},dr={dir:"ltr",min:1,max:5,step:1,item:Xn,defaultValue:null,readonly:!1,disabled:!1,selection:"continues",precision:"item"};ur.displayName="KendoReactRating",ur.propTypes=hr,ur.defaultProps=dr,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(ir||(ir={}));var pr=function(){function e(e,t,n){void 0===n&&(n=ir.Undefined),this.value=e,this.rest=t,this.type=n}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '"+this.value+"', rest: "+this.rest+" })"},e}(),fr=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}(),mr=function(e){return(e||"").split("")},vr=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof fr?this.parse(e):this.parse(new fr(mr(e),mr(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===ir.Literal},e}(),gr=function(e,t){return new vr((function(n){var r=n.next().char,o=e[r];return"\\"===r?(r=n.next().char,new pr(t.literal(r),n)):new pr(o?t.mask(o):t.literal(r),n)}))},br=function(e){var t=e.prompt,n=e.promptPlaceholder;return new vr((function(e){var r=e.next().char;return new pr(r===t?n:r,e)}))},yr=function(e){return new vr((function(t){var n=t.next().char;return new pr(e?n:"",t)}))},wr=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new vr((function(e){return new pr(t,e)}))));var t},xr=function(e){return new vr((function(t){for(var n=new pr([],t);!t.eof();)n=n.concat(e.run(t));return n}))},kr=(function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,r=e.prompt,o=void 0===r?"":r,i=e.promptPlaceholder,a=void 0===i?" ":i,s=e.rules,l=void 0===s?{}:s,c=e.includeLiterals,u=void 0!==c&&c;this.mask=n,this.prompt=o,this.promptPlaceholder=a,this.rules=l,this.includeLiterals=u,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return wr(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?(wr(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?(wr(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,r){var o="",i=r,a=t.split("").slice(0,n),s=t.split("").slice(r);return wr(this.maskTokens.slice(n,r)).run(e).fold((function(e){o=a.concat(e).concat(s).join("")})),{selection:i,value:o}},e.prototype.maskRemoved=function(e,t,n){var r=this,o="",i=n,a=e.split("").slice(n),s=e.split("").slice(0,n).join(""),l=this.maskTokens.length-(e.length-n);return wr(this.maskTokens.slice(0,l)).run(s,t).fold((function(e){i=r.adjustPosition(e,i),o=e.concat(a).join("")})),{selection:i,value:o}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var r=this,o="",i=n,a=e.slice(0,n);return wr(this.unmaskTokens).run(a,t).chain((function(e){i=e.join("").length;var n=t.slice(i);return wr(r.maskTokens).run(e.join("")+n,t)})).fold((function(e){o=e.join("")})),{selection:i,value:o}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return t=e,new vr((function(e){return e.peek().char===t?(e.eat(),new pr(t,e,ir.Literal)):new pr(t,e,ir.Literal)}));var t},mask:function(n){return function(e){var t=e.prompt,n=e.promptPlaceholder;return function(e){return new vr((function(r){for(;!r.eof();){var o=r.peek(),i=o.char,a=o.control;if(i===a&&a===t)return r.eat(),new pr(t,r,ir.Mask);if(e.test(i))return r.eat(),new pr(i,r,ir.Mask);if(i===n)return r.eat(),new pr(t,r,ir.Mask);r.eat_input()}return r.eat(),new pr(t,r,ir.Mask)}))}}({prompt:e,promptPlaceholder:t})(n)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return t=e,new vr((function(e){return e.eof()?new pr("",e):(e.peek().char===t&&e.eat(),new pr(t,e))}));var t},mask:function(t){return(n=e.prompt,function(e){return new vr((function(t){for(;!t.eof();){var r=t.peek(),o=r.char,i=r.control;if(o===n&&i===n)return t.eat(),new pr(o,t);if(e.test(o))return t.eat(),new pr(o,t);t.eat_input()}return t.eat(),new pr("",t)}))})(t);var n}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this,t=e.prompt,n=e.promptPlaceholder,r=e.includeLiterals;return{literal:function(e){return yr(r)},mask:function(e){return br({prompt:t,promptPlaceholder:n})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return yr(!1)},mask:function(t){return br({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;xr(gr(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),xr(gr(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),xr(gr(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),xr(gr(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))}}(),Be.drawing.util),Cr=kr.elementOffset,zr=kr.limitValue,_r=Be.geometry.Point,Er=Be.geometry.Rect,Ir=Be.geometry.transform,Sr=function(){},Mr=function(){function e(e,t){void 0===t&&(t={}),this.element=e,this.lastMoveTime=0,this.options=Object.assign({scale:1,precision:1,samplingRate:200,smooth:!1!==t.smooth,color:t.color||"#000",backgroundColor:t.backgroundColor||"#fff",strokeWidth:1,onChange:Sr,onDraw:Sr,onDrawEnd:Sr},t),this.pathOptions={stroke:{color:this.options.color,width:this.options.strokeWidth,lineCap:"round",lineJoin:"round"}},this.initSurface(),this.attachEvents()}return e.prototype.destroy=function(){this.detachEvents()},e.prototype.clear=function(){this.rootGroup.clear(),this.path=null},Object.defineProperty(e.prototype,"isDrawing",{get:function(){return Boolean(this.points)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pathData",{get:function(){var e;return null===(e=this.path)||void 0===e?void 0:e.toString(3)},set:function(e){this.clear(),this.path=Be.MultiPath.parse(e,this.pathOptions),this.rootGroup.append(this.path)},enumerable:!1,configurable:!0}),e.prototype.loadImage=function(e,t){if(void 0===t&&(t=[]),e){var n=this.size,r=n[0],o=n[1],i=r/this.options.scale,a=o/this.options.scale,s=t[0]||6*i,l=t[1]||6*a,c=i/s,u=a/l,h=Math.min(c,u),d=new Be.Image(e,new Be.geometry.Rect([0,0],[s,l]));d.transform(Ir().scale(h,h)),this.clear(),this.rootGroup.append(d)}else this.clear()},e.prototype.exportImage=function(e){var t,n=this.size,r=n[0],o=n[1],i=r/this.options.scale,a=o/this.options.scale,s=(null==e?void 0:e.width)||6*i,l=(null==e?void 0:e.height)||6*a,c=s/i,u=l/a,h=Math.min(c,u),d=new Er([0,0],[s,l]),p=new Be.Group({clip:Be.Path.fromRect(d)}),f=new Be.Group({transform:Ir().scale(h,h)}),m=Be.Path.fromRect(d,{fill:{color:this.options.backgroundColor}});return p.append(m),p.append(f),(t=f.children).push.apply(t,this.rootGroup.children),(0,Be.exportImage)(p,Object.assign({width:s,height:l},e))},e.prototype.resize=function(){this.surface.resize(!0)},e.prototype.setOptions=function(e){Object.assign(this.options,e),this.pathOptions.stroke.color=this.options.color,this.pathOptions.stroke.width=this.options.strokeWidth,this.path&&(this.path.options.set("stroke.color",this.options.color),this.path.options.set("stroke.width",this.options.strokeWidth)),this.background.options.set("fill.color",this.options.backgroundColor)},e.prototype.initSurface=function(){this.surface=Be.Surface.create(this.element,{type:"canvas"}),this.element.style.touchAction="none";var e=this.options.scale;this.rootGroup=new Be.Group({transform:Ir().scale(e,e)});var t=this.element.offsetWidth||750,n=this.element.offsetHeight||250;this.size=[t,n],this.background=Be.Path.fromRect(new Er([0,0],this.size),{fill:{color:this.options.backgroundColor}}),this.surface.draw(this.background),this.surface.draw(this.rootGroup)},e.prototype.attachEvents=function(){this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.element.addEventListener("pointerdown",this.onPointerDown),this.element.addEventListener("pointermove",this.onPointerMove),this.element.addEventListener("pointerup",this.onPointerUp)},e.prototype.detachEvents=function(){this.element.removeEventListener("pointerdown",this.onPointerDown),this.element.removeEventListener("pointermove",this.onPointerMove),this.element.removeEventListener("pointerup",this.onPointerUp)},e.prototype.touchPoint=function(e){var t=Cr(this.element),n=e.pageX,r=e.pageY,o=1/this.options.scale;return new _r(n-t.left,r-t.top).scale(o,o)},e.prototype.onPointerDown=function(e){if(!this.options.readonly&&e.isPrimary&&function(e){return"number"!=typeof e.button||0===e.button}(e)){this.path||(this.path=new Be.MultiPath(this.pathOptions),this.rootGroup.append(this.path)),this.options.onDraw(),this.element.setPointerCapture(e.pointerId);var t=this.touchPoint(e);this.points=[t],this.path.moveTo(t)}},e.prototype.onPointerMove=function(e){if(this.points&&e.isPrimary){var t=(new Date).getTime();if(!(t-this.lastMoveTime<1e3/zr(this.options.samplingRate,1,1e4))){this.lastMoveTime=t;var n=this.touchPoint(e),r=this.points[this.points.length-1],o=1/zr(this.options.precision,.01,100);n.distanceTo(r)<o||(this.points.push(n),this.path.lineTo(n))}}},e.prototype.onPointerUp=function(e){if(e.isPrimary&&this.path&&this.points&&!this.options.readonly){if(this.options.smooth){var t=Be.Path.curveFromPoints(this.points);this.path.paths.splice(this.path.paths.length-1,1,t)}this.points=null,this.options.onDrawEnd(),this.options.onChange(this.pathData)}},e}(),Or=n(1193),Rr=function(){return Rr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Rr.apply(this,arguments)},Hr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Fr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Dr=function(e){return void 0!==e},Ar=(0,a.Y)(),Vr=r.forwardRef((function(e,t){var n;(0,O.s)(R.k);var o=(0,s.Y)(Ar,e),a=(0,i.useLocalization)(),l=r.useRef(null),c=r.useRef(null),h=r.useRef(null),m=r.useRef(null),v=r.useRef(null),g=r.useState(),b=g[0],y=g[1],w=r.useState(!1),x=w[0],z=w[1],_=r.useState(!1),E=_[0],I=_[1],S=r.useState(),M=S[0],H=S[1],F=r.useState(),D=F[0],A=F[1],V=Dr(o.value)?o.value:M,B=r.useState(!1),N=B[0],L=B[1],P=Dr(o.open),T=P?o.open:N,j=!(o.maximized||E||!o.maximizable||o.disabled),U=o.maximized&&!E,W=!(!o.value&&!M||E||o.readOnly||o.disabled),K=a.toLanguageString(se,ce[se]),q=a.toLanguageString(le,ce[le]),G=a.toLanguageString(ae,ce[ae]),$=o.popupScale||3,Y=o.exportScale||2,Z=function(e){H(e),o.onChange&&o.onChange({value:e})};r.useEffect((function(){o.value!==M&&(H(o.value),null==b||b.loadImage(o.value))}),[o.value]);var X=r.useCallback((function(e){P||L(e)}),[P]),J=r.useCallback((function(){var e="#000000";return!o.color&&"undefined"!=typeof document&&l.current&&(e=getComputedStyle(l.current).color),o.color||e}),[o.color]),Q=r.useCallback((function(){var e="#ffffff";return!o.backgroundColor&&"undefined"!=typeof document&&l.current&&(e=getComputedStyle(l.current).backgroundColor),o.backgroundColor||e}),[o.backgroundColor]),ee=function(){return{scale:o.maximized?o.popupScale:1,color:J(),backgroundColor:Q(),strokeWidth:o.strokeWidth,smooth:o.smooth,readonly:o.readOnly}},te=function(e){return Hr(void 0,void 0,void 0,(function(){var t,n;return Fr(this,(function(r){switch(r.label){case 0:return t=e.width,n=e.height,[4,null==b?void 0:b.exportImage({width:t*Y,height:n*Y})];case 1:return[2,r.sent()]}}))}))};r.useEffect((function(){var e=c.current,t=new Mr(e,ee());return V&&t.loadImage(V),y(t),function(){return t.destroy()}}),[]),r.useEffect((function(){null==b||b.setOptions({onChange:function(){return Hr(void 0,void 0,void 0,(function(){var e;return Fr(this,(function(t){switch(t.label){case 0:return e=Z,[4,te(be())];case 1:return[2,e.apply(void 0,[t.sent()])]}}))}))},onDraw:function(){return I(!0)},onDrawEnd:function(){return I(!1)}})}),[b]),r.useLayoutEffect((function(){return null==b?void 0:b.setOptions(ee())}),[o.readOnly,o.color,o.backgroundColor,o.strokeWidth,o.smooth]),r.useEffect((function(){var e,t,n=null===(t=null===(e=h.current)||void 0===e?void 0:e.element)||void 0===t?void 0:t.querySelector(".k-overlay");if(n){var r=function(){return X(!1)};return n.addEventListener("click",r),function(){return n.removeEventListener("click",r)}}}),[T]),r.useEffect((function(){if(T&&"undefined"!=typeof document){var e=function(e){e.keyCode===ht.R.esc&&X(!1)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}}),[T]),r.useEffect((function(){var e,t;o.maximized&&(null===(t=null===(e=m.current)||void 0===e?void 0:e.element)||void 0===t||t.focus())}),[]);var ne=r.useCallback((function(){var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}),[]),re=r.useCallback((function(){return o.value}),[o.value]),oe=r.useCallback((function(){return o.name}),[o.name]),ie=r.useCallback((function(){return o.required}),[o.required]),ue=r.useCallback((function(){var e=void 0!==o.validationMessage,t=!re();return{customError:e,valid:void 0!==o.valid?o.valid:!ie()||!t,valueMissing:t}}),[o.validationMessage,o.valid,re,ie]),he=r.useCallback((function(){return o.validityStyles}),[o.validityStyles]),de=r.useCallback((function(){return o}),[o]),pe=r.useCallback((function(){var e={element:l.current,focus:ne};return Object.defineProperty(e,"name",{get:oe}),Object.defineProperty(e,"value",{get:re}),Object.defineProperty(e,"validity",{get:ue}),Object.defineProperty(e,"validityStyles",{get:he}),Object.defineProperty(e,"required",{get:ie}),Object.defineProperty(e,"props",{get:de}),Object.defineProperty(e,"color",{get:J}),Object.defineProperty(e,"backgroundColor",{get:Q}),e}),[oe,re,ue,he,ie,ne,de,J,Q]);r.useImperativeHandle(t,pe);var fe=r.useCallback((function(e){x||o.maximized||(z(!0),(0,u.N)(o.onFocus,e,pe(),{}))}),[x,o.onFocus,pe]),me=r.useCallback((function(e){(function(e,t){for(var n=e;n&&n!==t;)n=n.parentNode;return!!n})(e.relatedTarget,l.current)||(z(!1),(0,u.N)(o.onBlur,e,pe(),{}))}),[x,o.onBlur,pe]),ve=r.useCallback((function(e){return Hr(void 0,void 0,void 0,(function(){var t;return Fr(this,(function(n){switch(n.label){case 0:return t=A,[4,te(ye())];case 1:return t.apply(void 0,[n.sent()]),X(!0),(0,u.N)(o.onOpen,e,pe(),{}),[2]}}))}))}),[T,P,o.onOpen,o.value,M,pe]),ge=r.useCallback((function(e){X(!1),(0,u.N)(o.onClose,e,pe(),{})}),[T,P,o.onClose,pe]),be=function(){var e,t;return{width:o.width||(null===(e=l.current)||void 0===e?void 0:e.offsetWidth)||250,height:o.height||(null===(t=l.current)||void 0===t?void 0:t.offsetHeight)||84}},ye=function(){var e=be(),t=e.width,n=e.height;return{width:t*$,height:n*$}},we=!he()||ue().valid;return r.createElement("div",{ref:l,dir:o.dir,style:Rr({width:o.width,height:o.height},o.style),className:(0,d.A)("k-input","k-signature",(n={"k-signature-maximized":o.maximized},n["k-signature-".concat(p.G.sizeMap[o.size]||o.size)]=o.size,n["k-input-".concat(o.fillMode)]=o.fillMode,n["k-rounded-".concat(p.G.roundedMap[o.rounded]||o.rounded)]=o.rounded,n["k-invalid"]=!we,n["k-required"]=o.required,n["k-disabled"]=o.disabled,n["k-focus"]=x,n),o.className),onFocus:fe,onBlur:me},r.createElement("div",{className:"k-signature-canvas",ref:c,tabIndex:(0,f.p)(o.tabIndex,o.disabled),role:"img",id:o.id,"aria-label":o.ariaLabel,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,"aria-disabled":o.disabled?"true":void 0}),r.createElement("div",{className:"k-signature-actions k-signature-actions-top"},j&&r.createElement(He.z,{className:"k-signature-action k-signature-maximize",ref:v,icon:"hyperlink-open",svgIcon:C,fillMode:"flat",size:o.size,onClick:ve,"aria-label":K,title:K}),U&&r.createElement(He.z,{className:"k-signature-action k-signature-minimize k-rotate-180",ref:m,icon:"hyperlink-open",svgIcon:C,fillMode:"flat",size:o.size,onClick:ge,"aria-label":q,title:q})),!o.hideLine&&r.createElement("div",{className:"k-signature-line",style:{zIndex:2,pointerEvents:"none"}}),r.createElement("div",{className:"k-signature-actions k-signature-actions-bottom"},W&&r.createElement(He.z,{className:"k-signature-action k-signature-clear",icon:"x",svgIcon:k,fillMode:"flat",size:o.size,onClick:function(){null==b||b.clear(),Z(),ne()},"aria-label":G,title:G})),T&&r.createElement(Or.V,{ref:h},r.createElement(Vr,Rr({},o,ye(),{value:D,maximized:!0,exportScale:1/$*Y,open:!1,onChange:function(e){null==b||b.loadImage(e.value),Z(e.value)},onClose:function(e){var t,n;ge(e),null===(n=(null===(t=v.current)||void 0===t?void 0:t.element)||c.current)||void 0===n||n.focus()}}))))}));Vr.propTypes={value:o.string,width:o.number,height:o.number,tabIndex:o.number,dir:o.string,ariaDescribedBy:o.string,ariaLabelledBy:o.string,ariaLabel:o.string,readOnly:o.bool,disabled:o.bool,validationMessage:o.string,required:o.bool,onChange:o.func,onFocus:o.func,onBlur:o.func,onOpen:o.func,onClose:o.func,size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large"]),fillMode:o.oneOf([null,"solid","flat","outline"])},Vr.displayName="KendoSignature",Vr.defaultProps={strokeWidth:1,smooth:!1,popupScale:3,exportScale:2,maximizable:!0,disabled:!1,required:!1,validityStyles:!0,onChange:function(e){return Rn.Z},onFocus:function(e){return Rn.Z},onBlur:function(e){return Rn.Z},onOpen:function(e){return Rn.Z},onClose:function(e){return Rn.Z},size:"medium",rounded:"medium",fillMode:"solid"};var Br=n(4071),Nr=function(){return Nr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Nr.apply(this,arguments)},Lr=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("span",Nr({},e,{className:(0,d.A)("k-clear-value",e.className)}))}));Lr.displayName="KendoReactInputClearValue";var Pr=n(6183),Tr=function(){return Tr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Tr.apply(this,arguments)},jr=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("span",Tr({},e,{className:(0,d.A)("k-input-separator",e.className)}))}));jr.displayName="KendoReactInputSeparator";var Ur=function(){return Ur=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ur.apply(this,arguments)},Wr=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("span",Ur({},e,{className:(0,d.A)("k-input-suffix",e.className)}))}));Wr.displayName="KendoReactInputSuffix";var Kr=function(){return Kr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Kr.apply(this,arguments)},qr=r.forwardRef((function(e,t){return r.createElement(kt.a,Kr({ref:t},e,{className:(0,d.A)("k-input-validation-icon",e.className)}))}));qr.displayName="KendoReactInputValidationIcon"},2009:(e,t,n)=>{n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-inputs",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700064010,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},4071:(e,t,n)=>{n.d(t,{z:()=>d});var r=n(3899),o=n(189),i=n(4006),a=n(9447),s=n(6059),l=n(8047),c=n(2697),u=n(2009),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},d=r.forwardRef((function(e,t){var n;(0,i.s)(u.k);var o=r.useRef(null),d=r.useRef(null),f=r.useRef(),m=r.useCallback((function(){var e;return void 0!==f.current?f.current:null===(e=o.current)||void 0===e?void 0:e.value}),[]);r.useImperativeHandle(d,(function(){return{get element(){return o.current},get name(){return o.current&&o.current.name},get value(){return m()}}})),r.useImperativeHandle(t,(function(){return d.current}));var v=e,g=v.size,b=v.fillMode,y=v.rounded,w=v.className,x=v.dir,k=v.style,C=v.prefix,z=void 0===C?p.prefix:C,_=v.suffix,E=void 0===_?p.suffix:_,I=(v.valid,v.modified,v.touched,v.visited,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(v,["size","fillMode","rounded","className","dir","style","prefix","suffix","valid","modified","touched","visited"])),S=(0,a.A)(z)[0],M=(0,a.A)(E)[0],O=r.useState(!1),R=O[0],H=O[1],F=r.useCallback((function(t){f.current=t.target.value,e.onChange&&e.onChange.call(void 0,{syntheticEvent:t,nativeEvent:t.nativeEvent,value:t.target.value,target:d.current}),f.current=void 0}),[e.onChange]),D=(0,s.U)({onFocus:function(e){H(!0)},onBlur:function(e){H(!1)},onSyncFocus:e.onFocus,onSyncBlur:e.onBlur}),A=D.onFocus,V=D.onBlur;return r.createElement("span",{style:k,dir:x,className:(0,l.A)("k-textbox k-input",(n={},n["k-input-".concat(c.G.sizeMap[g]||g)]=g,n["k-input-".concat(b)]=b,n["k-rounded-".concat(c.G.roundedMap[y]||y)]=y,n),{"k-focus":R,"k-required":e.required,"k-disabled":e.disabled,"k-invalid":!1===e.valid},w),onFocus:A,onBlur:V},r.createElement(S,null),r.createElement("input",h({ref:o,className:"k-input-inner"},I,{onChange:F})),r.createElement(M,null))})),p={prefix:function(e){return null},suffix:function(e){return null},size:"medium",rounded:"medium",fillMode:"solid"};d.propTypes={size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"])},d.displayName="KendoReactTextBoxComponent",d.defaultProps=p},6097:(e,t,n)=>{n.d(t,{_:()=>d});var r,o=n(3899),i=n(189),a=n(8047),s=n(499),l=n(2609),c=n(4006),u=n(8011),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1},n.handleFocus=function(e){n.setState({focused:!0})},n.handleBlur=function(e){n.setState({focused:!1})},(0,c.s)(u.k),n}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.editorId,r=e.className,i=e.labelClassName,c=e.editorValue,u=e.editorPlaceholder,h=e.editorValid,d=e.editorDisabled,p=e.style,f=e.id,m=e.optional,v=(0,s.provideLocalizationService)(this),g=m?v.toLanguageString(l.y,l.s[l.y]):"",b=g&&o.createElement("span",{className:"k-label-optional"},g),y=(0,a.A)({"k-floating-label-container":!0,"k-focus":this.state.focused,"k-empty":!u&&!c&&0!==c,"k-text-disabled":d,"k-rtl":"rtl"===this.props.dir},r),w=(0,a.A)({"k-label":!0,"k-text-error":!1===h,"k-text-disabled":d},i);return o.createElement("span",{id:this.props.id,className:y,onFocus:this.handleFocus,onBlur:this.handleBlur,style:p,dir:this.props.dir},this.props.children,t?n?o.createElement("label",{id:f,htmlFor:n,className:w},t,b):o.createElement("span",{id:f,className:w},t,b):null)},t.propTypes={label:i.string,editorId:i.string,editorValue:i.oneOfType([i.string,i.bool,i.number]),editorPlaceholder:i.string,editorValid:i.bool,editorDisabled:i.bool,id:i.string,style:i.object,className:i.string,labelClassName:i.string,optional:i.bool},t}(o.Component);(0,s.registerForLocalization)(d)},2609:(e,t,n)=>{var r;n.d(t,{y:()=>o,s:()=>i});var o="labels.optional",i=((r={})[o]="(Optional)",r)},8011:(e,t,n)=>{n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-labels",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063806,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},3162:(e,t,n)=>{n.d(t,{V:()=>g});var r,o=n(3899),i=n(189),a=n(4343),s=n(4006),l=n(6604),c=n(8047),u=n(8206),h=n(4312),d=n(1205),p=n(4390),f=n(7999),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(){return v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},v.apply(this,arguments)},g=function(e){function t(t){var n=e.call(this,t)||this;return n.actionSheetRef=o.createRef(),n.actionSheetTitleClass="k-actionsheet-title",n.ariaLabeledBy=n.actionSheetTitleClass+1,n.animationDuration=300,n.bottomPosition={bottom:"0",width:"100%"},n.handleKeyDown=function(e){n.props.navigatable&&n.navigation.triggerKeyboardEvent(e)},n.onTab=function(e,t,n){n.preventDefault(),n.shiftKey?t.focusPrevious(e):t.focusNext(e)},n.handleOverlayClick=function(e){n.props.onOverlayClick&&n.props.onOverlayClick.call(void 0,e),n.props.onClose&&n.props.onClose.call(void 0,e),n.props.animation||n.hideActionSheet()},n.handleItemClick=function(e){n.props.onItemClick&&n.props.onItemClick.call(void 0,e),n.props.onItemSelect&&n.props.onItemSelect.call(void 0,e),n.props.animation||n.hideActionSheet()},n.onEnter=function(e,t,r){if(!e.ariaDisabled){var o=!(!e.className||!e.className.indexOf)&&-1!==e.className.indexOf("k-actionsheet-item"),i=t.elements.filter((function(e){return-1!==e.className.indexOf("k-actionsheet-item")}));if(o&&n.props.onItemClick){r.preventDefault();var a=n.props.items[i.indexOf(e)];n.props.onItemClick.call(void 0,{syntheticEvent:r,item:a,title:a&&a.title})}o&&n.props.onItemSelect&&(r.preventDefault(),a=n.props.items[i.indexOf(e)],n.props.onItemSelect.call(void 0,{syntheticEvent:r,item:a,title:a&&a.title})),n.props.animation||n.hideActionSheet()}},n.onEscape=function(e,t,r){n.props.onOverlayClick&&(r.preventDefault(),n.props.onOverlayClick.call(void 0,r)),n.props.onClose&&(r.preventDefault(),n.props.onClose.call(void 0,r)),n.props.animation||n.hideActionSheet()},n.hideActionSheet=function(){n.setState({show:!1})},n.children=function(e){var t={};return o.Children.forEach(e,(function(e){e&&(t[e.type.displayName]=e)})),t},n.state={show:!1,slide:!1},(0,s.s)(u.k),n}return m(t,e),t.prototype.componentDidMount=function(){this.props.expand&&!this.state.show&&this.setState({show:!0})},t.prototype.componentDidUpdate=function(e,t){var n=this,r=this.actionSheetRef.current;if(this.props.expand&&!this.state.show&&this.setState({show:!0}),this.props.expand&&this.state.show&&!this.state.slide&&this.setState({slide:!0}),!this.props.expand&&this.state.show&&this.state.slide&&this.setState({slide:!1}),t!==this.state&&this.state.slide&&r&&!this.props.className&&(r.style.setProperty("--kendo-actionsheet-height","auto"),r.style.setProperty("--kendo-actionsheet-max-height","none")),r&&this.props.navigatable){var o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([".k-actionsheet-item"],[".k-actionsheet-footer",".k-actionsheet-content",".k-actionsheet-titlebar"].map((function(e){return l.x.concat(n.props.navigatableElements).map((function(t){return"".concat(e," ").concat(t)}))})).flat(),!0);this.navigation=new l.W({tabIndex:this.props.tabIndex||0,root:this.actionSheetRef,rovingTabIndex:!1,selectors:o,keyboardEvents:{keydown:{Tab:this.onTab,Enter:this.onEnter,Escape:this.onEscape}}}),this.navigation.focusElement(this.navigation.first,null)}},t.prototype.render=function(){var e=this,t=this.props,n=t.title,r=t.subTitle,i=t.animationStyles,s=t.animation,l=t.expand,u=t.tabIndex,m=t.items,g=null==m?void 0:m.filter((function(e){return!e.group||"top"===e.group})),b=null==m?void 0:m.filter((function(e){return"bottom"===e.group})),y=g&&g.length>0&&b&&b.length>0,w=this.children(this.props.children),x=this.props.animationDuration||this.animationDuration,k=this.state.slide&&o.createElement("div",{className:(0,c.A)("k-actionsheet",this.props.className,{"k-actionsheet-bottom":!this.props.className}),role:"dialog","aria-modal":"true","aria-hidden":!1,"aria-labelledby":this.ariaLabeledBy,ref:this.actionSheetRef,onKeyDown:this.handleKeyDown},w[d.w]&&!n&&!r&&w[d.w],(n||r)&&o.createElement("div",{className:"k-actionsheet-titlebar k-text-center"},o.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},o.createElement("div",{className:this.actionSheetTitleClass,id:this.ariaLabeledBy},n&&o.createElement("div",null,n),r&&o.createElement("div",{className:"k-actionsheet-subtitle"},r)))),w[f.y]||o.createElement("div",{className:"k-actionsheet-content"},o.createElement("div",{className:"k-list-ul",role:"group"},g&&g.map((function(t,n){return o.createElement(h.Q,v({},t,{id:n,key:n,item:t,tabIndex:u||0,onClick:e.handleItemClick}))}))),y&&o.createElement("hr",{className:"k-hr"}),o.createElement("div",{className:"k-list-ul",role:"group"},b&&b.map((function(t,n){return o.createElement(h.Q,v({},t,{id:n+((null==g?void 0:g.length)||0),key:n,item:t,tabIndex:u||0,onClick:e.handleItemClick}))})))),w[p.g]);return o.createElement(o.Fragment,null,l||this.state.show?o.createElement(o.Fragment,null,o.createElement("div",{className:"k-actionsheet-container"},o.createElement("div",{className:"k-overlay",onClick:this.handleOverlayClick}),s?o.createElement(a.f,{transitionName:this.state.slide?"slide-up":"slide-down",onExited:this.hideActionSheet,transitionEnterDuration:x,transitionExitDuration:x,animationEnteringStyle:i||this.bottomPosition,animationEnteredStyle:i||this.bottomPosition,animationExitingStyle:i||this.bottomPosition,exit:!0,enter:!0,appear:!1},k):k)):null)},t.displayName="KendoReactActionSheet",t.propTypes={items:i.array,subTitle:i.string,title:i.string,navigatable:i.bool,navigatableElements:i.array},t.defaultProps={navigatable:!0,navigatableElements:[]},t}(o.Component)},7999:(e,t,n)=>{n.d(t,{y:()=>a,M:()=>s});var r=n(3899),o=n(189),i=n(8047),a="ActionSheetContent",s=function(e){return r.createElement("div",{className:(0,i.A)("k-actionsheet-content",e.className)},e.children)};s.propTypes={className:o.string},s.displayName=a,s.propTypes={children:o.any}},4390:(e,t,n)=>{n.d(t,{g:()=>a,K:()=>s});var r=n(3899),o=n(189),i=n(8047),a="ActionSheetFooter",s=function(e){return r.createElement("div",{className:(0,i.A)("k-actionsheet-footer",e.className)},e.children)};s.propTypes={className:o.string},s.displayName=a,s.propTypes={children:o.any}},1205:(e,t,n)=>{n.d(t,{w:()=>a,n:()=>s});var r=n(3899),o=n(189),i=n(8047),a="ActionSheetHeader",s=function(e){return r.createElement("div",{className:(0,i.A)("k-actionsheet-titlebar",e.className)},e.children)};s.propTypes={className:o.string},s.displayName=a,s.propTypes={children:o.any}},4312:(e,t,n)=>{n.d(t,{Q:()=>a});var r=n(3899),o=n(189),i=n(8047),a=function(e){var t=r.useRef(null),n=r.useCallback((function(t){e.onClick&&e.onClick.call(void 0,{syntheticEvent:t,item:e.item,title:e.title})}),[e.item,e.title,e.onClick]);return r.useEffect((function(){t.current&&e.focused&&t.current.focus()}),[e.focused]),r.createElement("span",{style:e.style,tabIndex:e.tabIndex,className:(0,i.A)("k-actionsheet-item","k-cursor-pointer",e.disabled&&"k-disabled",e.className),ref:t,role:"button","aria-disabled":e.disabled,onClick:n},r.createElement("span",{className:"k-actionsheet-action"},e.icon&&r.createElement("span",{className:"k-icon-wrap"},e.icon),(e.title||e.description)&&r.createElement("span",{className:"k-actionsheet-item-text"},e.title&&r.createElement("span",{className:"k-actionsheet-item-title"},e.title),e.description&&r.createElement("span",{className:"k-actionsheet-item-description"},e.description))))};a.propTypes={className:o.string,style:o.object,description:o.string,disabled:o.bool,group:o.oneOf(["top","bottom"]),icon:o.element,title:o.string}},3009:(e,t,n)=>{n.r(t),n.d(t,{ActionSheet:()=>nr.V,ActionSheetContent:()=>ir.M,ActionSheetFooter:()=>ar.K,ActionSheetHeader:()=>or.n,ActionSheetItem:()=>rr.Q,AppBar:()=>pn,AppBarSection:()=>mn,AppBarSpacer:()=>vn,Avatar:()=>Tt,BottomNavigation:()=>Fn,BottomNavigationItem:()=>Rn,Breadcrumb:()=>Qn,BreadcrumbDelimiter:()=>qn,BreadcrumbLink:()=>$n,BreadcrumbListItem:()=>Wn,BreadcrumbOrderedList:()=>Zn,Card:()=>Mt,CardActions:()=>Dt,CardBody:()=>Ht,CardFooter:()=>Nt,CardHeader:()=>Ot,CardImage:()=>Vt,CardSubtitle:()=>Bt,CardTitle:()=>Rt,ContextMenu:()=>yr,Drawer:()=>Xt,DrawerContent:()=>Jt,DrawerItem:()=>Kt,DrawerNavigation:()=>Yt,ExpansionPanel:()=>xr,ExpansionPanelContent:()=>Cr,GridLayout:()=>Pn,GridLayoutItem:()=>Un,Menu:()=>bt,MenuItem:()=>et,MenuItemArrow:()=>$,MenuItemInternalsList:()=>J,MenuItemLink:()=>H,PanelBar:()=>Xe,PanelBarItem:()=>De,PanelBarUtils:()=>We,Splitter:()=>It,SplitterBar:()=>ne,SplitterPane:()=>wt,StackLayout:()=>Bn,Step:()=>ln,Stepper:()=>hn,TabStrip:()=>Ie,TabStripContent:()=>xe,TabStripNavigation:()=>pe,TabStripNavigationItem:()=>ie,TabStripTab:()=>Me,TileLayout:()=>Sn,Timeline:()=>gr,addYearsFlags:()=>ur,contentDisplayName:()=>ir.y,downArrowName:()=>K,flatChildren:()=>je,flatVisibleChildren:()=>Ue,flatVisibleItems:()=>Te,footerDisplayName:()=>ar.g,getFirstId:()=>Ne,getInitialState:()=>Le,headerDisplayName:()=>or.w,isArrayEqual:()=>Ge,isPresent:()=>Ke,leftArrowName:()=>G,renderChildren:()=>Be,rightArrowName:()=>q,sortEventList:()=>cr});var r=n(3899),o=n(3769),i=n(8130),a=n(8047),s=n(1754),l="",c="0",u="_";function h(e,t){if(g(e))return t[Number(e)];var n=t[Number(d(e))];return n.items?h(function(e){if(v(e))return e;var t=e.indexOf(u);return e.substring(t+1)}(e),n.items):void 0}function d(e){return v(e)?e:e.split(u)[0]}function p(e){return f("0",e)}function f(e,t){return t?t+u+e:e}function m(e){var t=e.lastIndexOf(u);return t<0?l:e.substring(0,t)}function v(e){return e===l||e.indexOf(u)<0}function g(e){return e!==l&&e.indexOf(u)<0}function b(e){var t=e.lastIndexOf(u);return t<0?e:e.substring(t+1)}function y(e,t,n){return g(t)?e?Number(t)<n-1?(Number(t)+1).toString():"0":Number(t)>0?(Number(t)-1).toString():(n-1).toString():t}var w={vertical:"top",horizontal:"left"},x={vertical:"top",horizontal:"right"},k={vertical:"flip",horizontal:"fit"},C={vertical:"fit",horizontal:"flip"},z={downward:{anchorAlign:{vertical:"bottom",horizontal:"right"},popupAlign:x,collision:k},leftward:{anchorAlign:{vertical:"top",horizontal:"left"},popupAlign:x,collision:C}},_={downward:{anchorAlign:{vertical:"bottom",horizontal:"left"},popupAlign:w,collision:k},rightward:{anchorAlign:{vertical:"top",horizontal:"right"},popupAlign:w,collision:C}};function E(e,t,n){return g(e)?t?n?"leftward":"rightward":"downward":n?"leftward":"rightward"}function I(e){return e?"rtl":"ltr"}function S(e,t){return"".concat(e,"_").concat(t)}var M,O=n(189),R=(M=function(e,t){return M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},M(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.url?r.createElement("a",{className:this.getMenuItemClassName(),role:"presentation",href:this.props.url,tabIndex:-1},this.props.children):r.createElement("span",{id:this.props.id,className:(0,a.A)(this.getMenuItemClassName(),this.props.className),style:this.props.style,role:"presentation"},this.props.children)},t.prototype.getMenuItemClassName=function(){return(0,a.A)("k-link","k-menu-link",{"k-active":this.props.opened})},t.propTypes={opened:O.bool,url:O.string},t}(r.Component);const F={name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},D={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},A={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},V={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},B={name:"chevron-up",content:'<path d="m129.941 353.941 126.06-126.06 126.061 126.06L416 320 256.001 160 96 320l33.941 33.941z" />',viewBox:"0 0 512 512"},N={name:"chevron-right",content:'<path d="m158.059 129.941 126.06 126.06-126.06 126.061L192 416l160-159.999L192 96l-33.941 33.941z" />',viewBox:"0 0 512 512"},L={name:"chevron-down",content:'<path d="m382.059 158.059-126.06 126.06-126.061-126.06L96 192l159.999 160L416 192l-33.941-33.941z" />',viewBox:"0 0 512 512"},P={name:"chevron-left",content:'<path d="m353.941 382.059-126.06-126.06 126.06-126.061L320 96 160 255.999 320 416l33.941-33.941z" />',viewBox:"0 0 512 512"},T={name:"check-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm-32-154-83-83-45 45 128 128 176-176-45-45-131 131z" />',viewBox:"0 0 512 512"},j={name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"};var U=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),W=function(){return W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},W.apply(this,arguments)},K="caret-alt-down",q="caret-alt-right",G="caret-alt-left",$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return U(t,e),t.prototype.render=function(){return r.createElement(i.a,W({"aria-hidden":!0},this.getIcon()))},t.prototype.getIcon=function(){switch(E(this.props.itemId,!0===this.props.verticalMenu,"rtl"===this.props.dir)){case"downward":return{name:K,icon:A};case"rightward":return{name:q,icon:D};case"leftward":return{name:G,icon:V};default:return{}}},t.propTypes={itemId:O.string,dir:O.string,verticalMenu:O.bool},t}(r.Component),Y=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Z=function(e){function t(t){var n=e.call(this,t)||this;return n.isFirstRender=!0,n.onMouseOver=function(e){n.props.onMouseOver(n.props.item.id),e.stopPropagation()},n.onMouseLeave=function(e){n.props.onMouseLeave(n.props.item.id),e.stopPropagation()},n.state={opened:!1},n}return Y(t,e),t.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.props.item.id;e&&e===t&&this.itemElement.focus(),this.isFirstRender=!1},t.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId,n=this.props.item.id;if(t){var r=(0,o.v)(document);e.focusedItemId===t||t!==n||this.itemElement.contains(r)||this.itemElement.focus()}},t.prototype.render=function(){var e=this,t=this.props.item,n=t.id,o=S(this.props.menuGuid,n);return r.createElement(r.Fragment,null,r.createElement("li",{id:S(this.props.menuGuid,n),className:this.getMenuItemClassName(t),style:t.cssStyle,tabIndex:n===this.props.tabbableItemId?0:-1,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave,onMouseDown:function(t){return e.props.onMouseDown(t)},onBlur:function(t){return e.props.onBlur(n,t)},onFocus:function(){return e.props.onFocus(n)},onClick:function(t){return e.props.onClick(t,n)},role:"menuitem","aria-disabled":!!t.disabled||void 0,"aria-haspopup":t.items.length>0||void 0,"aria-expanded":t.items.length>0?this.Opened:void 0,"aria-label":t.text,"aria-owns":this.Opened?o:void 0,ref:function(t){return e.itemElement=t},key:"0"},this.contentRender?this.renderContent():this.renderMenuItemLink()),this.renderPopupIfOpened())},t.prototype.renderContent=function(){var e=this.props.item.contentParentItemId;return r.createElement("div",{className:"k-content",role:"presentation"},r.createElement(this.contentRender,{item:this.props.onOriginalItemNeeded(e),itemId:e}))},t.prototype.renderMenuItemLink=function(){var e=this.props.item;if(this.linkRender)return r.createElement(this.linkRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,opened:this.Opened,dir:I(this.props.isDirectionRightToLeft)});var t=this.itemRender?r.createElement(this.itemRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,key:"1"}):r.createElement("span",{className:"k-menu-link-text"},e.text);return r.createElement(H,{url:e.url,opened:this.Opened},this.renderMenuIconIfApplicable(),t,this.renderArrowIfApplicable())},t.prototype.renderPopupIfOpened=function(){if(this.Opened){var e=this.props.item.id,t=function(e,t,n){var r=E(e,t,n);return n?"downward"===r?z.downward:z.leftward:"downward"===r?_.downward:_.rightward}(e,this.props.isMenuVertical,this.props.isDirectionRightToLeft),n=t.anchorAlign,o=t.popupAlign,i=t.collision;return r.createElement(s.G,{anchor:this.itemElement,show:!0,popupClass:this.getPopupClassName(),anchorAlign:n,popupAlign:o,collision:i,animate:!1,key:"1"},r.createElement(J,{parentItemId:e,items:this.props.item.items,menuGuid:this.props.menuGuid,focusedItemId:this.props.focusedItemId,lastItemIdToBeOpened:this.props.lastItemIdToBeOpened,tabbableItemId:this.props.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,isMenuVertical:this.props.isMenuVertical,isDirectionRightToLeft:this.props.isDirectionRightToLeft,className:"k-group k-menu-group k-reset k-menu-group-md",onMouseOver:this.props.onMouseOver,onMouseLeave:this.props.onMouseLeave,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onFocus:this.props.onFocus,onClick:this.props.onClick,onOriginalItemNeeded:this.props.onOriginalItemNeeded}))}return null},t.prototype.renderMenuIconIfApplicable=function(){var e=this.props.item,t=e.icon,n=e.svgIcon;return t||n?r.createElement(i.a,{name:t,icon:n,key:"0"}):null},t.prototype.renderArrowIfApplicable=function(){return this.props.item.items.length>0?r.createElement("span",{className:"k-menu-expand-arrow","aria-hidden":!0},r.createElement($,{itemId:this.props.item.id,verticalMenu:this.props.isMenuVertical,dir:I(this.props.isDirectionRightToLeft),key:"2"})):null},Object.defineProperty(t.prototype,"itemRender",{get:function(){return this.props.item.render||this.props.itemRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linkRender",{get:function(){return this.props.item.linkRender||this.props.linkRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentRender",{get:function(){return this.props.item.contentParentItemId?this.props.item.contentRender:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Opened",{get:function(){var e,t,n=this.props;return n.item.items.length>0&&(e=n.item.id,0===(t=n.lastItemIdToBeOpened).indexOf(e)&&(t.length===e.length||t.charAt(e.length)===u))&&!this.isFirstRender},enumerable:!1,configurable:!0}),t.prototype.getPopupClassName=function(){return(0,a.A)("k-menu-popup",{"k-rtl":this.props.isDirectionRightToLeft})},t.prototype.getMenuItemClassName=function(e){return(0,a.A)("k-item","k-menu-item",{"k-first":(t=e.id,b(t)===c),"k-last":e.isLastFromSiblings,"k-disabled":e.disabled},e.cssClass);var t},t}(r.Component),X=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseOver=function(e){t.props.onMouseOver(t.props.parentItemId),e.stopPropagation()},t.onMouseLeave=function(e){t.props.onMouseLeave(t.props.parentItemId),e.stopPropagation()},t}return X(t,e),t.prototype.render=function(){var e=this.props.parentItemId;return r.createElement("ul",{className:this.props.className,role:this.props.role?this.props.role:void 0!==e?"menu":"menubar",id:void 0!==e?S(this.props.menuGuid,e):void 0,onMouseOver:void 0!==e?this.onMouseOver:void 0,onMouseLeave:void 0!==e?this.onMouseLeave:void 0,"aria-orientation":this.props["aria-orientation"]},this.renderChildItems())},t.prototype.renderChildItems=function(){var e=this;return this.props.items.length>0?this.props.items.map((function(t,n){return r.createElement(Z,{item:t,isMenuVertical:e.props.isMenuVertical,isDirectionRightToLeft:e.props.isDirectionRightToLeft,focusedItemId:e.props.focusedItemId,lastItemIdToBeOpened:e.props.lastItemIdToBeOpened,tabbableItemId:e.props.tabbableItemId,itemRender:e.props.itemRender,linkRender:e.props.linkRender,menuGuid:e.props.menuGuid,onMouseOver:e.props.onMouseOver,onMouseLeave:e.props.onMouseLeave,onMouseDown:e.props.onMouseDown,onBlur:e.props.onBlur,onFocus:e.props.onFocus,onClick:e.props.onClick,onOriginalItemNeeded:e.props.onOriginalItemNeeded,key:n})})):null},t}(r.Component),Q=n(3493),ee=n(1779),te=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ne=function(e){function t(t){var n=e.call(this,t)||this;return n.draggable=null,n.onDrag=function(e,t,r){var o=e.event,i=n.props,a=i.onDrag,s=i.index,l=n.draggable&&n.draggable.element;l&&!n.isStatic&&n.isDraggable&&a(o,l,s,t,r)},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.onToggle=function(e){var t=n.props,r=t.onToggle,o=t.index,i=t.prev,a=t.next;(i.collapsible||a.collapsible)&&r(i.collapsible?o:o+1,e)},n.onPrevToggle=function(e){var t=n.props,r=t.onToggle,o=t.index;t.prev.collapsible&&r(o,e)},n.onNextToggle=function(e){var t=n.props,r=t.onToggle,o=t.index;t.next.collapsible&&r(o+1,e)},n.onKeyDown=function(e){var t=e&&e.keyCode,r=n.isHorizontal,o=n.props.index,i=n.draggable&&n.draggable.element,a=function(t,r,o){e.preventDefault(),n.props.onKeyboardResize(t,r,o,e)};i&&(t===Q.R.enter?(e.preventDefault(),n.onToggle(e)):n.isDraggable&&(r&&t===Q.R.left?a(i,o,-10):r&&t===Q.R.right?a(i,o,10):r||t!==Q.R.up?r||t!==Q.R.down||a(i,o,10):a(i,o,-10)))},n.state={focused:!1},n}return te(t,e),Object.defineProperty(t.prototype,"isStatic",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsible||n.collapsible;return!r&&!o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDraggable",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsed||n.collapsed;return!!r&&!o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHorizontal",{get:function(){return"horizontal"===this.props.orientation},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this,n=this.isDraggable,o=this.isStatic,s=this.isHorizontal,l=(0,a.A)("k-splitbar",((e={})["k-focus"]=this.state.focused,e["k-splitbar-horizontal"]=s,e["k-splitbar-vertical"]=!s,e["k-splitbar-draggable-horizontal"]=s&&n,e["k-splitbar-draggable-vertical"]=!s&&n,e["k-splitbar-static-horizontal"]=s&&o,e["k-splitbar-static-vertical"]=!s&&o,e));return r.createElement(ee._,{onPress:function(e){return t.onDrag(e,!0,!1)},onDrag:function(e){return t.onDrag(e,!1,!1)},onRelease:function(e){return t.onDrag(e,!1,!0)},ref:function(e){t.draggable=e}},r.createElement("div",{tabIndex:o?-1:0,role:"separator","aria-valuenow":0,"aria-label":this.props.ariaLabel,"aria-orientation":s?"vertical":void 0,className:l,style:{touchAction:"none"},onFocus:this.onFocus,onBlur:this.onBlur,onDoubleClick:this.onToggle,onKeyDown:this.onKeyDown},this.props.prev.collapsible&&r.createElement("div",{className:"k-collapse-prev",onClick:this.onPrevToggle},r.createElement(i.a,{name:this.props.prev.collapsible?s?this.props.prev.collapsed?this.props.isRtl?"caret-alt-left":"caret-alt-right":this.props.isRtl?"caret-alt-right":"caret-alt-left":this.props.prev.collapsed?"caret-alt-down":"caret-alt-up":void 0,icon:this.props.prev.collapsible?s?this.props.prev.collapsed?this.props.isRtl?V:D:this.props.isRtl?D:V:this.props.prev.collapsed?A:F:void 0,size:"xsmall"})),r.createElement("div",{className:"k-resize-handle"}),this.props.next.collapsible&&r.createElement("div",{className:"k-collapse-next",onClick:this.onNextToggle},r.createElement(i.a,{name:this.props.next.collapsible?s?this.props.next.collapsed?this.props.isRtl?"caret-alt-right":"caret-alt-left":this.props.isRtl?"caret-alt-left":"caret-alt-right":this.props.next.collapsed?"caret-alt-up":"caret-alt-down":void 0,icon:this.props.next.collapsible?s?this.props.next.collapsed?this.props.isRtl?D:V:this.props.isRtl?V:D:this.props.next.collapsed?F:A:void 0,size:"xsmall"}))))},t}(r.Component),re=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),oe=function(){return oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oe.apply(this,arguments)},ie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.itemRef=null,t.focus=function(){t.itemRef&&(t.itemRef.tabIndex=0,t.itemRef.focus())},t.blur=function(){t.itemRef&&(t.itemRef.tabIndex=-1,t.itemRef.blur())},t.onClick=function(){t.props.onSelect&&t.props.onSelect(t.props.index),t.itemRef&&(t.itemRef.tabIndex=0,t.itemRef.focus())},t}return re(t,e),t.prototype.render=function(){var e,t=this,n=this.props,o=n.id,i=n.active,s=n.disabled,l=n.title,c=void 0===l?"Untitled":l,u=n.first,h=n.last,d={id:o,"aria-selected":i,"aria-controls":o,"aria-disabled":s,"aria-hidden":s,role:"tab",onClick:s?void 0:this.onClick},p=(0,a.A)("k-item",((e={})["k-first"]=u,e["k-last"]=h,e["k-disabled"]=s,e["k-active"]=i,e));return r.createElement("li",oe({},d,{className:p,ref:function(e){return t.itemRef=e},onBlur:this.blur}),r.createElement("span",{className:"k-link"},c))},t.propTypes={active:O.bool,disabled:O.bool,index:O.number,onSelect:O.func,title:O.oneOfType([O.string,O.element]),first:O.bool,last:O.bool},t}(r.Component),ae=n(7037),se=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),le=function(){return le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},le.apply(this,arguments)},ce=function(e){return e.preventDefault()},ue="smooth",he="prev",de="next",pe=function(e){function t(t){var n=e.call(this,t)||this;return n.itemsNavRef=r.createRef(),n.isRtl=function(){return"rtl"===n.props.dir},n.onWheel=function(e){e.stopPropagation();var t=e.deltaY<0?he:de;n.setNewScrollPosition(t,e)},n.arrowClickPrev=function(e){n.handleArrowClick(he,e)},n.arrowClickNext=function(e){n.handleArrowClick(de,e)},n.handleArrowClick=function(e,t){n.setNewScrollPosition(e,t)},n.setNewScrollPosition=function(e,t){var r=n.itemsNavRef.current;if(r){var o=n.horizontalScroll(),i=o?r.scrollWidth-r.offsetWidth:r.scrollHeight-r.offsetHeight,a=("click"===t.type?n.props.buttonScrollSpeed:n.props.mouseScrollSpeed)||0,s=o?r.scrollLeft:r.scrollTop,l=o?r.scrollWidth-r.scrollLeft:r.scrollHeight-r.scrollTop,c=r.scrollWidth- -1*r.scrollLeft;n.isRtl()&&n.horizontalScroll()?(e===he&&s<0&&(s+=a,c+=a),e===de&&s<i&&(s-=a,c-=a),s=Math.min(0,Math.min(i,s))):(e===he&&s>0&&(s-=a,l+=a),e===de&&s<i&&(s+=a,l-=a),s=Math.max(0,Math.min(i,s)));var u=0===s,h="click"===t.type?ue:void 0;if(o){var d=n.isRtl()?Math.round(c)<=r.clientWidth||Math.floor(c)<=r.clientWidth:Math.round(l)<=r.clientWidth||Math.floor(l)<=r.clientWidth;n.setState({disabledPrev:u,disabledNext:d}),r.scrollTo({left:s,behavior:h})}else n.setState({disabledPrev:u,disabledNext:Math.round(l)<=r.clientHeight||Math.floor(l)<=r.clientHeight}),r.scrollTo({top:s,behavior:h})}},n.renderArrow=function(e,t){var o=n.horizontalScroll(),i={prev:{arrowTab:"k-tabstrip-prev",fontIcon:o?n.isRtl()?"caret-alt-right":"caret-alt-left":"caret-alt-up",svgIcon:o?n.isRtl()?D:V:F},next:{arrowTab:"k-tabstrip-next",fontIcon:o?n.isRtl()?"caret-alt-left":"caret-alt-right":"caret-alt-down",svgIcon:o?n.isRtl()?V:D:A}},a=(e===he?n.props.prevButton:n.props.nextButton)||ae.z,s=e===he?n.arrowClickPrev:n.arrowClickNext;return r.createElement(a,{disabled:t,className:"".concat(i[e].arrowTab),onClick:s,icon:i[e].fontIcon,svgIcon:i[e].svgIcon,onMouseDown:ce,tabIndex:-1,fillMode:"flat"})},n.state={disabledPrev:0===n.props.selected,disabledNext:n.props.selected===r.Children.count(n.props.children)-1},n}return se(t,e),t.prototype.componentDidMount=function(){this.props.scrollable&&this.scrollToSelected()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.scrollable,o=t.selected;n&&e.selected!==o&&(this.scrollToSelected(),this.setState({disabledPrev:0===o,disabledNext:o===r.Children.count(this.props.children)-1}))},t.prototype.render=function(){var e,t,n=this.props,o=n.selected,i=n.tabPosition,s=n.children,l=n.onSelect,c=n.onKeyDown,u=r.Children.count(s),h=r.Children.toArray(s);s&&(e=(t=u,Array.apply(null,Array(t))).map((function(e,t,n){var i={active:o===t,disabled:h[t].props.disabled,index:t,title:h[t].props.title,first:0===t,last:t===n.length-1,onSelect:l};return r.createElement(ie,le({key:t},i))})));var d=(0,a.A)("k-tabstrip-items-wrapper",{"k-hstack":"top"===i||"bottom"===i,"k-vstack":"left"===i||"right"===i}),p=(0,a.A)("k-tabstrip-items","k-reset");return r.createElement("div",{className:d},this.props.scrollable?r.createElement(r.Fragment,null,this.renderArrow(he,this.state.disabledPrev),r.createElement("ul",{ref:this.itemsNavRef,className:p,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:c,onWheel:this.onWheel},e),this.renderArrow(de,this.state.disabledNext)):r.createElement("ul",{className:p,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:c},e))},t.prototype.scrollToSelected=function(){var e,t,n,r,o=this.itemsNavRef.current,i=o&&o.children[this.props.selected||0];if(i instanceof HTMLElement&&o instanceof HTMLElement){var a,s=this.horizontalScroll(),l=s?o.offsetWidth:o.offsetHeight,c=s?i.offsetWidth:i.offsetHeight,u=s?"left":"top",h=s?o.scrollLeft:o.scrollTop,d=0;this.isRtl()?(h*=-1,(a=i.offsetLeft)<0?(d=a-c+o.offsetLeft,o.scrollTo(((e={})[u]=d,e.behavior=ue,e))):a+c>l-h&&(d=h+a-c,o.scrollTo(((t={})[u]=d,t.behavior=ue,t)))):h+l<(a=s?i.offsetLeft-o.offsetLeft:i.offsetTop-o.offsetTop)+c?(d=a+c-l,o.scrollTo(((n={})[u]=d,n.behavior=ue,n))):h>a&&(d=a,o.scrollTo(((r={})[u]=d,r.behavior=ue,r)))}},t.prototype.horizontalScroll=function(){return/top|bottom/.test(this.props.tabPosition||"top")},t.propTypes={children:O.oneOfType([O.element,O.arrayOf(O.element)]),onSelect:O.func,onKeyDown:O.func,selected:O.number,tabIndex:O.number},t}(r.Component),fe=n(4343),me=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ve=function(){return ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ve.apply(this,arguments)},ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children"]);return r.createElement(fe.f,ve({},{transitionName:"fade"},n),t)},t.propTypes={children:O.oneOfType([O.arrayOf(O.node),O.node]),childFactory:O.any,className:O.string,component:O.string,id:O.string,style:O.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(r.Component),be=n(3198),ye=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),we=function(){return we=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},we.apply(this,arguments)},xe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.contentId=(0,be.M)(),t.childFactory=function(e){return r.cloneElement(e,we(we({},e.props),{in:e.props.children.props.id===String(t.contentId+t.props.selected)}))},t}return ye(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.selected,o=t&&"number"==typeof n&&r.Children.toArray(t)[n],i=(0,a.A)("k-tabstrip-content","k-active",o&&o.props.contentClassName);return r.createElement("div",{className:i,style:this.props.style},this.renderContent(t))},t.prototype.renderContent=function(e){var t=this;return this.props.keepTabsMounted?r.Children.map(this.props.children,(function(e,n){return t.renderChild(e,n)})):this.renderChild(r.Children.toArray(e)[this.props.selected],this.props.selected)},t.prototype.renderChild=function(e,t){var n=t===this.props.selected,o={role:"tabpanel","aria-expanded":!0,"aria-labelledby":t.toString(),style:{display:n?void 0:"none"}},i={position:"initial",display:n?void 0:"none"};return e.props.disabled?null:this.props.animation?r.createElement(ge,{appear:!0,exit:this.props.keepTabsMounted,style:i,childFactory:this.props.keepTabsMounted?this.childFactory:void 0},r.createElement("div",we({},o,{id:String(this.contentId+t),key:t}),e.props.children)):r.createElement("div",we({},o,{key:t}),e.props.children)},t.propTypes={animation:O.bool,children:O.oneOfType([O.element,O.arrayOf(O.element)]),selected:O.number,style:O.object},t}(r.Component),ke=n(4006),Ce=n(2080),ze=n(8206),_e=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ee=function(){return Ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ee.apply(this,arguments)},Ie=function(e){function t(t){var n,o=e.call(this,t)||this;return o._element=null,o.showLicenseWatermark=!1,o.keyBinding=((n={})[Q.R.left]=function(){return o.prevNavigatableTab()},n[Q.R.right]=function(){return o.nextNavigatableTab()},n[Q.R.down]=function(){return o.nextNavigatableTab()},n[Q.R.up]=function(){return o.prevNavigatableTab()},n[Q.R.home]=function(){return 0},n[Q.R.end]=function(){return r.Children.count(o.props.children)-1},n),o.onSelect=function(e){o.props.selected!==e&&o.props.onSelect&&o.props.onSelect({selected:e})},o.onKeyDown=function(e){var t;switch(e.keyCode){case Q.R.left:t=o.keyBinding[o.invertKeys(Q.R.left,Q.R.right)];break;case Q.R.right:t=o.keyBinding[o.invertKeys(Q.R.right,Q.R.left)];break;case Q.R.up:t=o.keyBinding[Q.R.up];break;case Q.R.down:t=o.keyBinding[Q.R.down];break;case Q.R.home:t=o.keyBinding[Q.R.home];break;case Q.R.end:t=o.keyBinding[Q.R.end]}t&&(e.preventDefault(),o.onSelect(t()))},o.renderContent=function(e){var t=e.selected,n=e.children,o=e.tabContentStyle;return t<r.Children.count(n)&&t>-1?r.createElement(xe,Ee({index:t},e,{style:o})):null},o.firstNavigatableTab=function(){var e=o.children(),t=r.Children.count(e);if(e)for(var n=0;n<t;n++)if(!e[n].props.disabled)return n},o.lastNavigatableTab=function(){var e=o.children(),t=r.Children.count(e);if(e)for(var n=t-1;n>0;n--)if(!e[n].props.disabled)return n},o.prevNavigatableTab=function(){var e=o.children(),t=o.props.selected,n=t?t-1:-1;if(n<0)return o.lastNavigatableTab();if(e)for(var r=n;r>-1;r--){if(!e[r].props.disabled)return r;if(0===r)return o.lastNavigatableTab()}},o.nextNavigatableTab=function(){var e=o.children(),t=o.props.selected,n=t?t+1:1,i=r.Children.count(e);if(n>=i)return o.firstNavigatableTab();if(e)for(var a=n;a<i;a++){if(!e[a].props.disabled)return a;if(a+1===i)return o.firstNavigatableTab()}},(0,ke.s)(ze.k),o.showLicenseWatermark=(0,ke.G)(ze.k),o}return _e(t,e),t.prototype.render=function(){var e=this,t=Ee(Ee({},this.props),{children:this.children(),onKeyDown:this.onKeyDown,onSelect:this.onSelect}),n=t.tabPosition,o=t.tabIndex,i=void 0===o?0:o,s="bottom"===n,l=(0,a.A)("k-tabstrip k-pos-relative",{"k-tabstrip-left":"left"===n,"k-tabstrip-right":"right"===n,"k-tabstrip-bottom":"bottom"===n,"k-tabstrip-top":"top"===n,"k-tabstrip-scrollable":this.props.scrollable},this.props.className);return r.createElement("div",{id:this.props.id,ref:function(t){return e._element=t},dir:this.props.dir,className:l,style:this.props.style},!s&&r.createElement(pe,Ee({},t,{tabIndex:i})),this.renderContent(t),s&&r.createElement(pe,Ee({},t,{tabIndex:i})),this.showLicenseWatermark&&r.createElement(Ce.t,null))},t.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction?t:e},t.prototype.children=function(){return r.Children.toArray(this.props.children).filter((function(e){return e}))},t.propTypes={animation:O.bool,children:O.node,onSelect:O.func,selected:O.number,style:O.object,tabContentStyle:O.object,tabPosition:O.string,tabIndex:O.number,className:O.string,dir:O.string},t.defaultProps={animation:!0,tabPosition:"top",keepTabsMounted:!1,buttonScrollSpeed:100,mouseScrollSpeed:10},t}(r.Component),Se=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Se(t,e),t.prototype.render=function(){return null},t.propTypes={disabled:O.bool,contentClassName:O.string,children:O.oneOfType([O.element,O.node]),title:O.oneOfType([O.string,O.element,O.node])},t}(r.Component),Oe=n(3218),Re=n(8686),He=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fe=function(){return Fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fe.apply(this,arguments)},De=function(e){function t(t){var n=e.call(this,t)||this;return n.handleItemClick=function(){var e=n.props,t=e.onSelect,r=e.disabled,o=e.id;t&&!r&&t.call(void 0,{uniquePrivateKey:n.props.uniquePrivateKey,id:o,target:n})},n.childFactory=function(e){return n.props.keepItemsMounted?r.cloneElement(e,Fe(Fe({},e.props),{in:n.props.expanded})):e},n.state={show:t.expanded||!1},n}return He(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.id,o=t.children,s=t.title,l=t.uniquePrivateKey,c=t.disabled,u=t.selected,h=t.focused,d=t.expanded,p=t.className,f=t.level,m=t.headerClassName,v=t.animation,g=t.keepItemsMounted,b={role:"treeitem","aria-disabled":c,"aria-hidden":!c&&!d,"aria-selected":!c&&u,"aria-expanded":!c&&d&&!!o},y=(0,a.A)("k-panelbar-item",{"k-panelbar-header":0===f,"k-expanded":d&&!!o,"k-disabled":c},"k-level-".concat(f),p),w=(0,a.A)("k-link",{"k-selected":!c&&u,"k-focus":!c&&h},m),x=function(e){var t=e.imageUrl,n=e.icon,o=e.svgIcon,a=e.iconClass;return t?r.createElement("img",{role:"presentation",className:"k-panelbar-item-icon k-image",src:t}):n||o?r.createElement(i.a,{className:"k-panelbar-item-icon",name:n,icon:o}):a?r.createElement("span",{role:"presentation",className:"k-panelbar-item-icon "+a}):null}(this.props),k=!c&&o?r.createElement(i.a,{name:d?"chevron-up":"chevron-down",icon:d?B:L,className:(0,a.A)("k-panelbar-toggle",d?"k-panelbar-collapse":"k-panelbar-expand")}):null,C=!c&&d||g?r.createElement("ul",{role:"group","aria-expanded":d,"aria-hidden":!d,className:"k-panelbar-group k-panel k-group",style:{display:g?this.state.show?"block":"none":"block"}},o):null,z=void 0!==v&&!v||c||!o?C:r.createElement(Re.U,{transitionEnterDuration:200,transitionExitDuration:200,key:l+"_animation",style:{display:"block"},children:C,childFactory:g&&this.childFactory,unmountOnExit:!g,onBeforeEnter:function(){return g&&e.setState({show:!0})},onAfterExited:function(){return g&&e.setState({show:!1})}});return r.createElement("li",Fe({id:n,className:y},b),r.createElement("span",{className:w,onClick:this.handleItemClick},x,r.createElement("span",{className:"k-panelbar-item-text"},s),k),z)},t.propTypes={animation:O.bool,children:O.any,className:O.string,icon:O.string,iconClass:O.string,imageUrl:O.string,svgIcon:Oe.wi,expanded:O.bool,disabled:O.bool,onSelect:O.func,selected:O.bool,level:O.number,title:O.oneOfType([O.string,O.element]),id:O.oneOfType([O.string,O.number]),focused:O.bool,keepItemsMounted:O.bool},t.defaultProps={title:"Untitled"},t}(r.PureComponent),Ae=function(){return Ae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ae.apply(this,arguments)},Ve=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Be=function(e){var t=e.animation,n=void 0===t||t,o=e.keepItemsMounted,i=void 0!==o&&o,a=e.state,s=e.expanded,l=e.handleSelect,c=e.children,u=e.parentExpanded,h=void 0===u||u,d=e.level,p=void 0===d?0:d,f=e.parentPrivateKey,m=void 0===f?[]:f;return r.Children.map(c,(function(e,t){if(e&&e.type===De){var o=void 0,c=Pe(e,m,t);if(e.props.children){var u={animation:n,keepItemsMounted:i,state:a,expanded:s,handleSelect:l,children:e.props.children,parentExpanded:(s||[]).indexOf(c)>-1,level:p+1,parentPrivateKey:Ve(Ve([],m,!0),[c],!1)};o=Be(u)}return r.cloneElement(e,Ae(Ae({},e.props),{animation:void 0!==e.props.animation?e.props.animation:n,keepItemsMounted:i,id:e.props.id||"k-panelbar-item-default-".concat(c),uniquePrivateKey:c,parentUniquePrivateKey:m,parentExpanded:h,level:p,expanded:(s||[]).indexOf(c)>-1,focused:a.focused===c&&a.wrapperFocused,selected:a.selected===c,children:o,onSelect:l}))}return r.createElement("div",{className:"k-panelbar-content k-content"},e)}))},Ne=function(e){var t=r.Children.toArray(e.children)[0];return t?Pe(t,[],0):""},Le=function(e,t,n,o,i){return void 0===n&&(n={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||"",wrapperFocused:!1}),void 0===o&&(o=!0),void 0===i&&(i=[]),r.Children.map(e.children,(function(e,r){if(e&&e.type===De){var a=Pe(e,i,r);!e.props.disabled&&o&&(e.props.selected&&(n.selected=a),e.props.focused&&(n.focused=a),e.props.expanded&&("multiple"===t?n.expanded.push(a):"single"===t&&(n.expanded=[a])),e.props.children&&(n=Le(e.props,t,n,!!e.props.expanded,Ve(Ve([],i,!0),[a],!1))))}})),n},Pe=function(e,t,n){return e&&e.props&&e.props.id?e.props.id:t.length?t[t.length-1]+".".concat(n):".".concat(n)};function Te(e,t){return void 0===t&&(t=[]),(e||[]).forEach((function(e){e.disabled||(t.push(e),e.expanded&&e.children&&Te(e.children,t))})),t}function je(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,(function(e){e&&e.props&&!e.props.disabled&&(t.push(e),e.props.children&&je(e.props.children,t))})),t}function Ue(e,t){return void 0===t&&(t=[]),r.Children.forEach(e,(function(e){e&&e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&Ue(e.props.children,t))})),t}var We,Ke=function(e){return null!=e};!function(e){e.mapItemsToComponents=function e(t){return t.map((function(t,n){var o;return t.content&&(o=t.content),t.children&&(o=e(t.children)),r.createElement(De,Ae({},t,{children:o,key:t.id||n}))}))}}(We||(We={}));var qe,Ge=function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))};!function(e){e[e.Toggle=0]="Toggle",e[e.Next=1]="Next",e[e.Previous=2]="Previous"}(qe||(qe={}));var $e=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ye=function(){return Ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ye.apply(this,arguments)},Ze=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Xe=function(e){function t(t){var n=e.call(this,t)||this;n._element=null,n.showLicenseWatermark=!1,n.handleSelect=function(e){n.onSelect(e),n.onFocus(e)},n.onSelect=function(e){var t,o;switch(je(r.Children.toArray(n.children)).forEach((function(r){r.props.uniquePrivateKey===(e.uniquePrivateKey||n.state.focused)&&(t=r)})),n.expandMode){case"single":o=Ze(Ze([],t.props.parentUniquePrivateKey,!0),[t.props.uniquePrivateKey],!1),Ge(n.expandedItems,o)&&(o=t.props.parentUniquePrivateKey?Ze([],t.props.parentUniquePrivateKey,!0):[]);break;case"multiple":var i=(o=n.expandedItems.slice()).indexOf(t.props.uniquePrivateKey);-1===i?o.push(t.props.uniquePrivateKey):o.splice(i,1);break;default:o=n.expandedItems.slice()}n.setState({selected:t.props.uniquePrivateKey,expanded:o}),n.props.onSelect&&n.props.onSelect.call(void 0,{target:t,expandedItems:o})},n.onFocus=function(e,t){void 0===t&&(t=0);var o,i=Ue(r.Children.toArray(n.children));i.forEach((function(r,a){if(r.props.uniquePrivateKey===(e.uniquePrivateKey||n.state.focused)){var s=a+t<0?0:a+t>i.length?i.length-1:a+t;o=i[s]}})),o&&(n.activeDescendant=o.props.id,n.setState({focused:o.props.uniquePrivateKey}))},n.onNavigate=function(e,t){var r;switch(t){case qe.Previous:r=-1,n.onFocus(e,r);break;case qe.Next:r=1,n.onFocus(e,r);break;case qe.Toggle:n.onSelect(e)}},n.handleWrapperFocus=function(){clearTimeout(n.nextTickId),n.state.wrapperFocused||n.setState({wrapperFocused:!0})},n.handleWrapperBlur=function(){n.nextTick((function(){n.setState({wrapperFocused:!1})}))},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;if(e.target===e.currentTarget){var r=void 0;switch(e.keyCode){case Q.R.left:r=t?qe.Next:qe.Previous;break;case Q.R.up:r=qe.Previous;break;case Q.R.right:r=t?qe.Previous:qe.Next;break;case Q.R.down:r=qe.Next;break;case Q.R.space:case Q.R.enter:r=qe.Toggle;break;default:r=null}null!==r&&(e.preventDefault(),n.onNavigate(e,r))}},(0,ke.s)(ze.k),n.showLicenseWatermark=(0,ke.G)(ze.k);var o=Le(t,n.expandMode);return o.focused||(o.focused=Ne(t)),n.state=o,n}return $e(t,e),Object.defineProperty(t.prototype,"expandMode",{get:function(){return this.props.expandMode||"multiple"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItem",{get:function(){var e=this.props.selected;return void 0===e?this.state.selected:e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"expandedItems",{get:function(){return this.props.isControlled?this.props.expanded||[]:this.state.expanded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=Ye(Ye({},this.state),{selected:this.selectedItem}),t={animation:this.props.animation,keepItemsMounted:this.props.keepItemsMounted,state:e,expanded:this.expandedItems,handleSelect:this.handleSelect,children:this.props.children};return Be(t)},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t={"aria-activedescendant":this.activeDescendant},n=(0,a.A)("k-panelbar","k-pos-relative",this.props.className);return r.createElement("ul",Ye({ref:function(t){e._element=t},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,className:n,style:this.props.style},t),this.children,this.showLicenseWatermark&&r.createElement(Ce.t,null))},t.prototype.nextTick=function(e){this.nextTickId=window.setTimeout((function(){return e()}))},t.propTypes={animation:O.bool,children:function(e,t){var n=e[t];if(n){if(Array.isArray(n))for(var r=0,o=n;r<o.length;r++){var i=o[r];if(!i.type||i.type!==De)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==De)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.");return null}return null},dir:O.string,selected:O.string,expanded:O.arrayOf(O.string),focused:O.string,expandMode:O.oneOf(["single","multiple"]),className:O.string,keepItemsMounted:O.bool,onSelect:O.func,style:O.object},t.defaultProps={expandMode:"multiple",animation:!0,keepItemsMounted:!1},t}(r.Component),Je=n(5407),Qe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),et=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Qe(t,e),t.prototype.render=function(){return null},t.propTypes={text:O.string,url:O.string,icon:O.string,disabled:O.bool,cssClass:O.string,cssStyle:O.object,render:O.any,linkRender:O.any,contentRender:O.any,data:O.any},t}(r.Component);function tt(e,t){if(e&&e.length>0)return{items:it(e),inputItems:e};if(rt(t).length>0){var n=ot(rt(t));return{items:it(n),inputItems:n}}return{items:[],inputItems:[]}}function nt(e,t){var n={},r=e||t.props,o=r.text,i=r.url,a=r.icon,s=r.svgIcon,l=r.disabled,c=r.cssClass,u=r.cssStyle,h=r.render,d=r.linkRender,p=r.contentRender,f=r.data;return void 0!==o&&(n.text=o),void 0!==i&&(n.url=i),void 0!==a&&(n.icon=a),void 0!==s&&(n.svgIcon=s),void 0!==l&&(n.disabled=l),void 0!==c&&(n.cssClass=c),void 0!==u&&(n.cssStyle=u),void 0!==h&&(n.render=h),void 0!==d&&(n.linkRender=d),void 0!==p&&(n.contentRender=p),void 0!==f&&(n.data=f),n}function rt(e){return r.Children.toArray(e).filter((function(e){return e&&e.type===et}))}function ot(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=nt(void 0,r),i=ot(rt(r.props.children));i.length>0&&(o.items=i),t.push(o)}return t}function it(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=nt(o);i.id=f(r.toString(),t),i.isLastFromSiblings=r===e.length-1,i.items=at(o,i),n.push(i)}return n}function at(e,t){return e.contentRender?[{contentParentItemId:t.id,id:f(c,t.id),isLastFromSiblings:!0,contentRender:e.contentRender,items:[]}]:e.items?it(e.items,t.id):[]}var st=/\S/;function lt(e,t,n,r,o,i){var a,s=C();switch(n){case Q.R.left:return o?i?w():c():i?v():l();case Q.R.right:return o?i?c():w():i?l():v();case Q.R.up:return o?_():g(t)?k():_();case Q.R.down:return o?E():g(t)?x():E();case Q.R.enter:case Q.R.space:return s.disabled?t:z()?p(t):d(t);case Q.R.home:return I()[0].id;case Q.R.end:return(a=I())[a.length-1].id;case Q.R.esc:return g(t)?t:m(t);default:return 1===r.length&&st.test(r)?function(){var e=r.toLowerCase(),n=I(),o=Number(b(t)),i=n.slice(o+1).concat(n.slice(0,o+1)).find((function(t){return(t.text||"").toLowerCase().startsWith(e)}));return i?i.id:t}():t}function l(){return g(t)?_():1===function(e){return e.split(u).length-1}(t)?x(_(d(t))):m(t)}function c(){return g(t)?k():m(t)}function v(){return g(t)?E():x(z()?t:E(d(t)))}function w(){return x(g(t)||z()?t:E(d(t)))}function x(e){return S(!0,e)}function k(e){return S(!1,e)}function C(n,r){return void 0===n&&(n=t),void 0===r&&(r=e),h(n,r)}function z(e){return C(e).items.length>0}function _(e){return M(!1,e)}function E(e){return M(!0,e)}function I(){return g(t)?e:C(m(t),e).items}function S(e,n){void 0===n&&(n=t);var r=C(n);return z(n)&&!r.disabled?e?p(n):function(e){var t=C(e).items;return t[t.length-1].id}(n):n}function M(n,r){if(void 0===r&&(r=t),g(r))return y(n,r,e.length);var o=m(r);return f(y(n,b(r),C(o).items.length),o)}}var ct,ut,ht,dt,pt,ft=function(){function e(){this.phase="Initialized"}return e.prototype.getIsDirectionRightToLeft=function(){return this.isDirectionRightToLeft},e.prototype.setIsDirectionRightToLeft=function(e){this.phase="NotInitialized"===this.phase?"Initialized":"NewValueReceived",this.previousIsDirectionRightToLeft=this.isDirectionRightToLeft,this.isDirectionRightToLeft=e},e.prototype.hasDirectionChanged=function(){return"NewValueReceived"===this.phase&&this.previousIsDirectionRightToLeft!==this.isDirectionRightToLeft},e}(),mt=function(){function e(e,t,n){this.openOnClick=e,this.resetMenu=t,this.openItem=n,this.mouseDown=!1,this.openOnClick=e,this.isMouseOverEnabled=!e}return Object.defineProperty(e.prototype,"OpenOnClick",{set:function(e){Boolean(e)!==Boolean(this.openOnClick)&&(this.mouseDown=!1,this.isMouseOverEnabled=!e),this.openOnClick=e},enumerable:!1,configurable:!0}),e.prototype.handleItemSelectedViaKeyboard=function(){this.openOnClick&&(this.isMouseOverEnabled=!1,this.resetMenu())},Object.defineProperty(e.prototype,"IsMouseOverEnabled",{get:function(){return this.isMouseOverEnabled},enumerable:!1,configurable:!0}),e.prototype.handleItemMouseDown=function(){this.mouseDown=!0},e.prototype.handleItemFocus=function(){this.openOnClick&&!this.mouseDown&&(this.isMouseOverEnabled=!0),this.mouseDown=!1},e.prototype.handleItemClick=function(e,t){this.openOnClick&&(this.isMouseOverEnabled?t&&(this.isMouseOverEnabled=!1,this.resetMenu()):(this.isMouseOverEnabled=!0,this.openItem(e)))},e}(),vt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt={focusedItemId:l,hoveredItemId:l,tabbableItemId:c},bt=function(e){function t(t){var n=e.call(this,t)||this;return n.menuWrapperEl=null,n.guid=(0,be.M)(),n.directionHolder=new ft,n.inputItems=[],n.items=[],n.reset=function(){n.clearItemHoverAndLeaveRequestsIfApplicable(),n.setState(gt)},n.onKeyDown=function(e){if(n.state.focusedItemId!==l){var t=h(n.state.focusedItemId,n.items),r=lt(n.items,t.id,e.keyCode,e.key,n.props.vertical,n.directionHolder.getIsDirectionRightToLeft());t.id!==r&&(e.preventDefault(),n.setFocusedItemId(r)),e.keyCode!==Q.R.enter&&e.keyCode!==Q.R.space||t.disabled||(n.mouseOverHandler.handleItemSelectedViaKeyboard(),n.dispatchSelectEventIfWired(e,t.id),!e.isDefaultPrevented()&&0===t.items.length&&t.url&&window.location.assign(t.url))}e.keyCode===Q.R.esc&&n.props.onClose&&n.props.onClose.call(void 0,e)},n.onItemMouseOver=function(e){n.mouseOverHandler.IsMouseOverEnabled&&(n.clearItemHoverAndLeaveRequestsIfApplicable(),n.itemHoverRequest=window.setTimeout((function(){n.setHoveredItemId(e),n.itemHoverRequest=null}),function(e){return void 0!==e.hoverOpenDelay?e.hoverOpenDelay:e.openOnClick?0:100}(n.props)))},n.onItemMouseLeave=function(e){n.mouseOverHandler.IsMouseOverEnabled&&n.isItemWithDefaultClose(e)&&(n.clearItemHoverAndLeaveRequestsIfApplicable(),n.itemLeaveRequest=window.setTimeout((function(){n.setHoveredItemId(l),n.itemLeaveRequest=null}),function(e){return void 0!==e.hoverCloseDelay?e.hoverCloseDelay:100}(n.props)))},n.onItemMouseDown=function(){n.mouseOverHandler.handleItemMouseDown()},n.onItemFocus=function(e){n.setFocusedItemId(e),n.mouseOverHandler.handleItemFocus()},n.onItemClick=function(e,t){var r=h(t,n.items);r.disabled||(n.setFocusedItemId(t),n.mouseOverHandler.handleItemClick(t,n.isItemWithDefaultClose(t)),n.dispatchSelectEventIfWired(e,t),!e.isDefaultPrevented()&&r.url&&window.location.assign(r.url))},n.onItemBlur=function(e,t){if(n.isItemWithDefaultClose(e)&&n.setFocusedItemId(l),t.relatedTarget&&"LI"===t.relatedTarget.nodeName){var r=t.relatedTarget.getAttribute("id");if(r&&r.includes(n.guid))return}n.props.onClose&&n.props.onClose.call(void 0,t)},n.getInputItem=function(e){return h(e,n.inputItems)},(0,ke.s)(ze.k),n.mouseOverHandler=new mt(n.props.openOnClick,n.reset,n.onItemMouseOver),n.state=Object.assign({},gt,{isFirstRender:!0}),n}return vt(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.menuWrapperEl},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;this.prepareItems(),this.state.isFirstRender||this.directionHolder.setIsDirectionRightToLeft(this.checkIsDirectionRightToLeft());var t=this.state.hoveredItemId?this.state.hoveredItemId:this.state.focusedItemId?m(this.state.focusedItemId):l;return r.createElement("div",{onKeyDown:this.onKeyDown,style:this.props.style,className:this.directionHolder.getIsDirectionRightToLeft()?"k-rtl":void 0,ref:function(t){return e.menuWrapperEl=t}},r.createElement(J,{className:this.getMenuClassName(),"aria-orientation":this.props.vertical?"vertical":void 0,items:this.items,isMenuVertical:this.props.vertical,isDirectionRightToLeft:this.directionHolder.getIsDirectionRightToLeft(),focusedItemId:this.state.focusedItemId,lastItemIdToBeOpened:t,tabbableItemId:this.state.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,menuGuid:this.guid,onMouseLeave:this.onItemMouseLeave,onMouseOver:this.onItemMouseOver,onMouseDown:this.onItemMouseDown,onFocus:this.onItemFocus,onClick:this.onItemClick,onBlur:this.onItemBlur,onOriginalItemNeeded:this.getInputItem,role:this.props.role}))},t.prototype.componentDidMount=function(){this.setState({isFirstRender:!1})},t.prototype.componentDidUpdate=function(e){(Boolean(e.vertical)!==Boolean(this.props.vertical)||this.directionHolder.hasDirectionChanged())&&this.reset(),this.mouseOverHandler.OpenOnClick=this.props.openOnClick},t.prototype.componentWillUnmount=function(){this.clearItemHoverAndLeaveRequestsIfApplicable()},t.prototype.setFocusedItemId=function(e){this.setState((function(t){var n=e===l?t.tabbableItemId:d(e);return{hoveredItemId:e===l||v(t.hoveredItemId)&&v(e)?t.hoveredItemId:l,focusedItemId:e,tabbableItemId:n}}))},t.prototype.setHoveredItemId=function(e){this.setState((function(t){return v(e)&&v(t.focusedItemId)?{hoveredItemId:e,focusedItemId:t.focusedItemId,tabbableItemId:t.tabbableItemId}:{hoveredItemId:e,focusedItemId:l,tabbableItemId:c}}))},t.prototype.getMenuClassName=function(){return(0,a.A)("k-reset","k-header","k-menu",{"k-menu-horizontal":!this.props.vertical},{"k-menu-vertical":this.props.vertical},this.props.className)},t.prototype.clearItemHoverAndLeaveRequestsIfApplicable=function(){this.itemHoverRequest&&(clearTimeout(this.itemHoverRequest),this.itemHoverRequest=null),this.itemLeaveRequest&&(clearTimeout(this.itemLeaveRequest),this.itemLeaveRequest=null)},t.prototype.isItemWithDefaultClose=function(e){return!this.props.customCloseItemIds||-1===this.props.customCloseItemIds.indexOf(e)},t.prototype.checkIsDirectionRightToLeft=function(){return Boolean(void 0!==this.props.dir?"rtl"===this.props.dir:this.menuWrapperEl&&"rtl"===getComputedStyle(this.menuWrapperEl).direction)},t.prototype.prepareItems=function(){var e=tt(this.props.items,this.props.children),t=e.items,n=e.inputItems;this.items=t,this.inputItems=n},t.prototype.dispatchSelectEventIfWired=function(e,t){(0,Je.N)(this.props.onSelect,e,this,{item:this.getInputItem(t),itemId:t})},t.propTypes={vertical:O.bool,items:O.arrayOf(O.object),style:O.object,dir:O.string,hoverOpenDelay:O.number,hoverCloseDelay:O.number,openOnClick:O.bool,itemRender:O.any,linkRender:O.any,customCloseItemIds:O.arrayOf(O.string),onSelect:O.func,role:O.string},t.defaultProps={vertical:!1},t}(r.Component),yt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return yt(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,o=t.size,i=t.collapsed,s=t.overlay,l=t.containsSplitter,c=t.collapsible,u=t.resizable,h=t.scrollable,d=t.keepMounted,p=o&&o.length>0,f={flexBasis:o},m=(0,a.A)("k-pane",((e={})["k-hidden"]=i,e.hidden=i,e["k-pane-flex"]=l,e["k-pane-static"]=!u&&!c||p,e["k-scrollable"]=h,e));return r.createElement("div",{id:n,role:"group",style:f,className:m},!i||d?this.props.children:void 0,s?r.createElement("div",{className:"k-splitter-overlay k-overlay"}):void 0)},t}(r.Component),xt="splitBarLabel",kt=((ct={})[xt]="split bar",ct),Ct=n(499),zt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_t=function(){return _t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_t.apply(this,arguments)},Et={collapsible:!1,collapsed:!1,resizable:!0,scrollable:!0},It=function(e){function t(t){var n=e.call(this,t)||this;return n._container=null,n.validatePanes=function(e){if(!e.filter((function(e){return void 0===e.size})).length)throw new Error("The Splitter should have at least one pane without a set size.")},n.mapPaneOptions=function(e,t){for(var o=n.orientation,i=n.state,a=i.dragIndex,s=i.isDragging,l=[],c=0;c<t.length;c++){var u=!1,h=t[c];r.isValidElement(h)&&(u="Splitter"===h.type.displayName);var d=!1;s&&void 0!==a&&(d=a===c||a+1===c),l.push(_t(_t(_t({},Et),{orientation:o,containsSplitter:u,overlay:d}),(e||[])[c]))}return l},n.mapSplitterPanes=function(e,t){var o=(0,Ct.provideLocalizationService)(n).toLanguageString(xt,kt[xt]);return e.map((function(i,a){var s,l=2*a,c=l+1;if(a+1<e.length){var u=e[a+1];s=r.createElement(ne,{key:c,index:a,orientation:i.orientation,prev:i,next:u,ariaLabel:o,onDrag:n.onBarDragResize,onToggle:n.onBarToggle,onKeyboardResize:n.onBarKeyboardResize,isRtl:n.isRtl})}return[r.createElement(wt,_t({key:l},i),t[a]),s]}))},n.onBarToggle=function(e,t){var r=n.panesOptions(n.panesContent).map((function(t,r){var o=n.getPaneProps(t);return r===e?_t(_t({},o),{collapsed:!t.collapsed}):_t({},o)}));n.props.onChange&&n.props.onChange({newState:r,isLast:!0,nativeEvent:t})},n.onBarDragResize=function(e,t,r,o,i){var a=(new Date).getTime(),s=e.pageX,l=e.pageY,c=n.surroudingPanes(t),u=c.prevElement,h=c.nextElement;if(u&&h)if(o)n.setState({isDragging:!0,dragIndex:r,startTime:a,originalX:s,originalY:l,originalPrevSize:n.elementSize(u),originalNextSize:n.elementSize(h)});else{var d,p=n.state,f=p.originalPrevSize,m=p.originalNextSize,v=p.startTime,g=p.originalX,b=p.originalY;!o&&a-v<150||(d="vertical"===n.orientation?l-b:n.isRtl?g-s:s-g,n.resize(r,r+1,f,m,d,i,e)),i&&n.resetDragState()}},n.onBarKeyboardResize=function(e,t,r,o){var i=n.surroudingPanes(e),a=i.prevElement,s=i.nextElement,l=n.elementSize(a),c=n.elementSize(s);n.resize(t,t+1,l,c,r,!0,o)},n.containerSize=function(){return n._container?n.elementSize(n._container,!0):0},n.panesOptions=function(e){return n.mapPaneOptions(n.panes,e)},n.elementSize=function(e,t){var r=t?"client":"offset";return"vertical"===n.orientation?e["".concat(r,"Height")]:e["".concat(r,"Width")]},n.clamp=function(e,t,n){return Math.min(t,Math.max(e,n))},n.fixedSize=function(e){return e&&e.length>0},(0,ke.s)(ze.k),n.state={isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0,panes:t.defaultPanes||[]},n}return zt(t,e),Object.defineProperty(t.prototype,"isControlledState",{get:function(){return void 0!==this.props.panes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panes",{get:function(){return void 0!==this.panesDuringOnChange?this.panesDuringOnChange:this.isControlledState?this.props.panes:this.state.panes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.props.orientation||"horizontal"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRtl",{get:function(){return this._container&&"rtl"===getComputedStyle(this._container).direction||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panesContent",{get:function(){return r.Children.toArray(this.props.children).filter((function(e){return e}))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.panesContent,n=this.panesOptions(t),o=(0,a.A)("k-widget","k-splitter","k-splitter-flex","k-splitter-".concat(this.orientation),this.props.className);return this.validatePanes(n),r.createElement("div",{style:this.props.style,ref:function(t){return e._container=t},className:o},this.mapSplitterPanes(n,t))},t.prototype.surroudingPanes=function(e){return{prevElement:e.previousElementSibling,nextElement:e.nextElementSibling}},t.prototype.isPercent=function(e){return/%$/.test(e)},t.prototype.toPixels=function(e,t){var n=parseInt(e,10);return this.isPercent(e)&&(n=t*n/100),n},t.prototype.resetDragState=function(){this.setState({isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0})},t.prototype.resize=function(e,t,n,r,o,i,a){var s,l,c=this,u=this.panesOptions(this.panesContent),h=u[e],d=u[t],p=n+r,f=this.containerSize(),m=function(e){return c.toPixels(e,f)},v={index:e,initialSize:n,min:m(h.min)||p-m(d.max)||0,max:m(h.max)||p-m(d.min)||p},g={index:t,initialSize:r,min:m(d.min)||p-m(h.max)||0,max:m(d.max)||p-m(h.min)||p},b=function(e,t){var n=u[e.index],r=c.clamp(e.min,e.max,e.initialSize+t);return c.isPercent(n.size||"")?100*r/f+"%":r+"px"};this.fixedSize(h.size)&&this.fixedSize(d.size)?(s=b(v,o),l=b(g,-o)):d.collapsible||this.fixedSize(d.size)?l=b(g,-o):s=b(v,o);var y=u.map((function(n,r){var o=c.getPaneProps(n);return r===e?_t(_t({},o),{size:s}):r===t?_t(_t({},o),{size:l}):_t({},o)}));this.panesDuringOnChange=y,this.isControlledState||this.setState({panes:y}),this.props.onChange&&this.props.onChange({newState:y,isLast:i,nativeEvent:a}),this.panesDuringOnChange=void 0},t.prototype.getPaneProps=function(e){return e.orientation,e.overlay,e.containsSplitter,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["orientation","overlay","containsSplitter"])},t.displayName="Splitter",t}(r.Component);!function(e){e.TEXT="text",e.IMAGE="image",e.ICON="icon"}(ut||(ut={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(ht||(ht={})),function(e){e.DEFAULT="default",e.primary="primary",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error"}(dt||(dt={})),function(e){e.START="start",e.CENTER="center",e.END="end",e.STRETCHED="stretched"}(pt||(pt={}));var St=function(){return St=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},St.apply(this,arguments)},Mt=r.forwardRef((function(e,t){var n;(0,ke.s)(ze.k);var o=e.children,i=e.dir,s=e.style,l=e.className,c=e.type,u=e.orientation,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","dir","style","className","type","orientation"]),d=r.useRef(null),p=r.useRef(null);return r.useImperativeHandle(d,(function(){return{element:p.current,props:e}})),r.useImperativeHandle(t,(function(){return d.current})),r.createElement("div",St({dir:i,style:s,ref:p,className:(0,a.A)("k-card",l,(n={},n["k-card-".concat(c)]=c!==dt.DEFAULT,n),u!==ht.HORIZONTAL?"k-card-vertical":"k-card-horizontal")},h),o)}));Mt.displayName="KendoReactCard",Mt.propTypes={children:O.node,className:O.string,dir:O.string,orientation:O.oneOf(["horizontal","vertical"]),style:O.object,type:O.oneOf(["default","primary","info","success","warning","error"])},Mt.defaultProps={type:dt.DEFAULT,orientation:ht.VERTICAL};var Ot=function(e){return r.createElement("div",{style:e.style,className:(0,a.A)("k-card-header",e.className)},e.children)};Ot.propTypes={className:O.string};var Rt=function(e){return r.createElement("div",{style:e.style,className:(0,a.A)("k-card-title",e.className)},e.children)};Rt.propTypes={className:O.string};var Ht=function(e){return r.createElement("div",{style:e.style,className:(0,a.A)("k-card-body",e.className)},e.children)};Ht.propTypes={className:O.string};var Ft=function(){return Ft=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ft.apply(this,arguments)},Dt=function(e){var t=Ft({layout:pt.START,orientation:ht.HORIZONTAL},e);return r.createElement("div",{style:t.style,className:(0,a.A)("k-card-actions",t.className,"k-card-actions-".concat(t.layout),t.orientation!==ht.VERTICAL?"k-card-actions-horizontal":"k-card-actions-vertical")},t.children)};Dt.propTypes={layout:O.oneOf(["stretched","start","center","end"]),orientation:O.oneOf(["horizontal","vertical"])};var At=function(){return At=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},At.apply(this,arguments)},Vt=function(e){var t=At({src:""},e);return r.createElement("img",{style:t.style,className:(0,a.A)("k-card-image",t.className),src:t.src,alt:t.alt})};Vt.propTypes={className:O.string,src:O.string};var Bt=function(e){return r.createElement("div",{style:e.style,className:(0,a.A)("k-card-subtitle",e.className)},e.children)};Bt.propTypes={className:O.string};var Nt=function(e){return r.createElement("div",{style:e.style,className:(0,a.A)("k-card-footer",e.className)},e.children)};Nt.propTypes={className:O.string};var Lt=n(2697),Pt=function(){return Pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pt.apply(this,arguments)},Tt=function(e){var t,n=Pt({type:ut.TEXT,size:"medium",rounded:"full",fillMode:"solid",themeColor:"primary"},e);return(0,ke.s)(ze.k),r.createElement("div",{style:n.style,className:(0,a.A)("k-avatar",(t={},t["k-avatar-bordered"]=n.border,t["k-rounded-".concat(Lt.G.roundedMap[n.rounded]||n.rounded)]=n.rounded,t["k-avatar-".concat(Lt.G.sizeMap[n.size]||n.size)]=n.size,t["k-avatar-".concat(n.fillMode)]=n.fillMode,t["k-avatar-".concat(n.fillMode,"-").concat(n.themeColor)]=Boolean(n.fillMode&&n.themeColor),t),n.className)},r.createElement("span",{className:"k-avatar-".concat(n.type)},n.children))};Tt.propTypes={className:O.string,type:O.oneOf(["text","image","icon"]),size:O.oneOf([null,"small","medium","large"]),rounded:O.oneOf([null,"small","medium","large","full"]),fillMode:O.oneOf([null,"solid","outline"]),themeColor:O.oneOf([null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"])};var jt=r.createContext({animation:!0,expanded:!1,mode:"overlay",position:"start",mini:!1,dir:"ltr",width:240,miniWidth:50}),Ut=n(4703),Wt=function(){return Wt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wt.apply(this,arguments)},Kt=r.forwardRef((function(e,t){var n=e.className,o=e.style,s=e.text,l=e.icon,c=e.svgIcon,u=e.separator,h=e.disabled,d=e.selected,p=e.onSelect,f=e.index,m=e.tabIndex,v=e.children,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","style","text","icon","svgIcon","separator","disabled","selected","onSelect","index","tabIndex","children"]),b=r.useContext(jt),y=b.expanded,w=b.mini,x=b.item,k=r.useRef(null),C=r.useCallback((function(){k.current&&k.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:k.current,focus:C,props:e}}));var z=(0,a.A)("k-drawer-item",{"k-selected":d,"k-disabled":h},n),_=r.useCallback((function(t){if(p&&!h){var n={element:k.current,focus:C,props:e};p(n,f,t)}}),[p,f,h]),E=r.createElement(r.Fragment,null,(l||c)&&r.createElement(i.a,{name:l?(0,Oe.iJ)(l):l,icon:c}),!y&&w?null:r.createElement("span",{className:"k-item-text"},s));return u?r.createElement("li",{className:"k-drawer-item k-drawer-separator",role:"separator"}):r.createElement("li",Wt({ref:k,className:z,style:o,role:"menuitem","aria-label":s,"aria-disabled":h,onClick:_,tabIndex:(0,Ut.p)(m,h)},g),x?v:E)}));Kt.propTypes={className:O.string,style:O.object,text:O.string,icon:O.string,svgIcon:Oe.wi,separator:O.bool,selected:O.bool,disabled:O.bool,targetItem:O.any},Kt.displayName="KendoDrawerItem";var qt=function(){return qt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qt.apply(this,arguments)},Gt={type:"slide",duration:200},$t={type:"slide",duration:0},Yt=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.style;(0,ke.s)(ze.k);var s=(0,ke.G)(ze.k),l=r.useContext(jt),c=l.animation,u=l.expanded,h=l.mode,d=l.position,p=l.onOverlayClick,f=l.mini,m=l.dir,v=l.width,g=l.miniWidth,b=l.items,y=l.item,w=l.onSelect,x=r.useRef(null),k=r.useCallback((function(){x.current&&x.current.focus()}),[]),C="boolean"!=typeof c?c:!1===c?$t:Gt,z=v||240,_=g||50;r.useImperativeHandle(t,(function(){return{element:x.current,focus:k}}));var E=r.useMemo((function(){return"k-widget k-drawer "+(0,a.A)({"k-drawer-start":"start"===d,"k-drawer-end":"end"===d},o)}),[d]),I={opacity:1,flexBasis:z,WebkitTransition:"all "+(C&&C.duration)+"ms",transition:"all "+(C&&C.duration)+"ms"},S={opacity:1,transform:"translateX(0px)",WebkitTransition:"all "+(C&&C.duration)+"ms",transition:"all "+(C&&C.duration)+"ms"},M={opacity:f?1:0,flexBasis:f?_:0,WebkitTransition:"all "+(C&&C.duration)+"ms",transition:"all "+(C&&C.duration)+"ms"},O={opacity:0,transform:"translateX(-100%)",WebkitTransition:"all "+(C&&C.duration)+"ms",transition:"all "+(C&&C.duration)+"ms"},R={opacity:0,transform:"translateX(100%)",WebkitTransition:"all "+(C&&C.duration)+"ms",transition:"all "+(C&&C.duration)+"ms"},H={transform:"translateX(0%)",WebkitTransitionDuration:(C&&C.duration)+"ms",transitionDuration:(C&&C.duration)+"ms"},F=u?"push"===h?I:S:"push"===h?M:"ltr"===m&&"start"===d||"rtl"===m&&"end"===d?f?H:O:f?H:R,D=b&&r.createElement("ul",{className:"k-drawer-items",role:"menubar","aria-label":"drawer-list","aria-expanded":u},b.map((function(e,t){var n=qt(qt({index:t},e),{onSelect:w}),o=y||Kt;return r.createElement(o,qt({key:t},n))}))),A=r.createElement("div",{style:C?qt(qt({},F),i):i,className:E,ref:x},r.createElement("div",{className:"k-drawer-wrapper",style:!u&&f&&"overlay"===h?{width:_}:{width:z}},D||n),s&&r.createElement(Ce.t,null));return"overlay"===h?r.createElement(r.Fragment,null,u&&r.createElement("div",{className:"k-overlay",onClick:p}),A):A}));Yt.propTypes={children:O.any,className:O.string,style:O.object,item:O.any,tabIndex:O.number},Yt.displayName="KendoDrawerNavigation";var Zt=n(8199),Xt=r.forwardRef((function(e,t){(0,ke.s)(ze.k);var n=e.expanded,o=e.mode,i=e.position,s=e.className,l=e.children,c=e.style,u=e.animation,h=e.mini,d=e.width,p=e.miniWidth,f=e.items,m=e.item,v=e.tabIndex,g=e.onOverlayClick,b=e.onSelect,y=r.useRef(null),w=r.useCallback((function(){y.current&&y.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:y.current,focus:w}}));var x=r.useCallback((function(e,t,n){if(f&&b){var r={itemTarget:e,itemIndex:t,syntheticEvent:n,nativeEvent:n&&n.nativeEvent,target:void 0};b.call(void 0,r)}}),[f,b]),k=(0,Zt.n)(y,e.dir),C=(0,a.A)({"k-drawer-container":!0,"k-drawer-expanded":n,"k-drawer-overlay":"overlay"===o,"k-drawer-push":"push"===o,"k-drawer-mini":h},s);return r.createElement(jt.Provider,{value:{animation:u,expanded:n,mode:o,position:i,mini:h,dir:k,items:f,item:m,width:d,miniWidth:p,onOverlayClick:g,onSelect:x}},r.createElement("div",{className:C,ref:y,dir:k,style:c,tabIndex:v},f&&r.createElement(Yt,null),l))}));Xt.propTypes={animation:O.any,expanded:O.bool,children:O.any,className:O.string,dir:O.string,mode:O.string,position:O.string,mini:O.bool,style:O.object,tabIndex:O.number,width:O.number,miniWidth:O.number,selected:O.number,onSelect:O.func,onOverlayClick:O.func},Xt.defaultProps={animation:!0,expanded:!1,mode:"overlay",position:"start",mini:!1,dir:"ltr",width:240,miniWidth:50},Xt.displayName="KendoDrawer";var Jt=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.style,s=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:s.current}}));var l=(0,a.A)({"k-drawer-content":!0},o);return r.createElement("div",{className:l,style:i,ref:s},n)}));Jt.propTypes={children:O.any,className:O.string,style:O.object},Jt.displayName="KendoDrawerContent";var Qt,en=r.createContext({linear:!1,mode:"steps",value:0}),tn=n(9124),nn=n(1573),rn="stepper.optionalText",on="stepper.progBarAriaLabel",an=((Qt={})[rn]="(Optional)",Qt[on]="progressbar",Qt),sn=function(){return sn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sn.apply(this,arguments)},ln=r.forwardRef((function(e,t){var n=e.children,o=e.className,s=e.current,l=e.disabled,c=e.focused,u=e.icon,h=e.svgIcon,d=e.index,p=e.isValid,f=e.label,m=e.optional,v=e.style,g=e.tabIndex,b=e.text,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","className","current","disabled","focused","icon","svgIcon","index","isValid","label","optional","style","tabIndex","text"]),w=r.useContext(en),x=w.animationDuration,k=w.isVertical,C=w.item,z=w.linear,_=w.mode,E=w.numOfSteps,I=w.value,S=w.onChange,M=w.onFocus,O=w.successIcon,R=w.errorIcon,H=w.successSVGIcon,F=w.errorSVGIcon,D=r.useRef(null),A=r.useCallback((function(){D.current&&(0,tn.n)(D.current)}),[]),V=r.useCallback((function(){return{element:D.current,focus:A}}),[A]);r.useImperativeHandle(t,V);var B,N=!z||d===I-1||d===I||d===I+1,L="labels"===_||Boolean(u)&&Boolean(f),P=(0,Ct.useLocalization)(),U=(B=rn,P.toLanguageString(B,an[B])),W="number"==typeof x?x:!1!==x?400:0,K=r.useCallback((function(e){S&&!l&&(0,Je.N)(S,e,V(),{value:d})}),[S,I,l]),q=r.useCallback((function(e){M&&!l&&(0,Je.N)(M,e,V(),void 0)}),[M,l]),G=r.useMemo((function(){return(0,a.A)("k-step",{"k-step-first":0===d,"k-step-last":E&&d===E-1,"k-step-done":d<I,"k-step-current":s,"k-step-optional":m,"k-step-error":void 0!==p&&!p,"k-step-success":p},{"k-disabled":l,"k-focus":c},o)}),[d,E,I,s,m,l,c,p,o]),$=r.useMemo((function(){return sn({maxWidth:k?void 0:"calc(100% / ".concat(E,")"),maxHeight:k?"calc(100% / ".concat(E,")"):void 0,pointerEvents:N?void 0:"none"},v)}),[k,E,v,N]),Y=p?O:R,Z=Y?r.createElement("span",{className:"k-step-indicator-icon "+Y,"aria-hidden":"true"}):r.createElement(i.a,{className:"k-step-indicator-icon",name:p?"check-circle":"exclamation-circle",icon:p?H||T:F||j}),X=r.createElement(r.Fragment,null,"labels"!==_?r.createElement("span",{className:"k-step-indicator","aria-hidden":!0,style:{transitionDuration:W+"ms"}},u||h?L||void 0===p?r.createElement(i.a,{className:"k-step-indicator-icon",name:u?(0,Oe.iJ)(u):u,icon:h}):Z:void 0!==p?Z:r.createElement("span",{className:"k-step-indicator-text"},b||d+1)):null),J=r.createElement("span",{className:"k-step-label"},f&&r.createElement("span",{className:"k-step-text"},f),L&&void 0!==p&&Z,m&&r.createElement("span",{className:"k-step-label-optional"},U)),Q=r.createElement(r.Fragment,null,X,J);return r.createElement("li",sn({ref:D,className:G,style:$},y),r.createElement("a",{className:"k-step-link",title:f||void 0,onClick:K,onFocus:q,tabIndex:g||(c?0:-1),"aria-current":s,"aria-disabled":l||!N||void 0,"aria-invalid":void 0!==p&&!p||void 0},C?n:Q))}));ln.propTypes={children:O.any,className:O.string,current:O.bool,disabled:O.bool,icon:O.string,index:O.number,isValid:O.bool,label:O.string,optional:O.bool,style:O.object,tabIndex:O.number,text:O.string},ln.defaultProps={tabIndex:0},ln.displayName="KendoStep";var cn=n(2013),un=function(){return un=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},un.apply(this,arguments)},hn=r.forwardRef((function(e,t){(0,ke.s)(ze.k);var n=e.animationDuration,o=e.children,i=e.className,s=e.disabled,l=e.errorIcon,c=e.errorSVGIcon,u=e.item,h=e.items,d=e.linear,p=e.mode,f=e.orientation,m=e.style,v=e.successIcon,g=e.successSVGIcon,b=e.onChange,y=e.onFocus,w=(0,Ct.useLocalization)().toLanguageString(on,an[on]),x=r.useRef(null),k=r.useCallback((function(){x.current&&(0,tn.n)(x.current)}),[]),C=r.useCallback((function(){return{element:x.current,focus:k}}),[k]);r.useImperativeHandle(t,C);var z=e.value||dn.value,_=r.useState(z),E=_[0],I=_[1],S=h?h.length:0,M="vertical"===f,O=(0,nn.V)(x,e.dir),R="number"==typeof n?n:!1!==n?400:0;r.useEffect((function(){I(z)}),[z]);var H=r.useCallback((function(e,t){z!==t&&b&&!s&&(!d||t===z-1||t===z||t===z+1)&&((0,Je.N)(b,e,C(),{value:t}),I(t))}),[z,d,b,s,I]),F=r.useCallback((function(e){var t=e.value,n=e.syntheticEvent;H(n,t)}),[H]),D=r.useCallback((function(e){y&&!s&&(0,Je.N)(y,e.syntheticEvent,C(),void 0)}),[y,s]),A=r.useCallback((function(e){H(e,E)}),[H,E]),V=r.useCallback((function(e){var t="rtl"===O,n=E,r=h.length-1;switch(e.keyCode){case Q.R.left:e.preventDefault(),!t&&n>0&&I(n-1),t&&n<r&&I(n+1);break;case Q.R.right:e.preventDefault(),!t&&n<r&&I(n+1),t&&n>0&&I(n-1);break;case Q.R.up:e.preventDefault(),!t&&n>0&&I(n-1),t&&n>0&&I(n-1);break;case Q.R.down:e.preventDefault(),!t&&n<r&&I(n+1),t&&n<r&&I(n+1);break;case Q.R.home:e.preventDefault(),I(0);break;case Q.R.end:e.preventDefault(),I(r);break;case Q.R.space:e.preventDefault();break;case Q.R.enter:e.preventDefault(),h[n].disabled||A(e)}}),[h,I,E,O,A]),B=r.useMemo((function(){return(0,a.A)("k-stepper",{"k-stepper-linear":d},i)}),[d,i]),N=r.useMemo((function(){return un({display:"grid",gridTemplateColumns:M?void 0:"repeat("+2*S+", 1fr)",gridTemplateRows:M?"repeat("+S+", 1fr)":void 0},m)}),[M,S,m]),L=r.useMemo((function(){return(0,a.A)("k-step-list",{"k-step-list-horizontal":!M,"k-step-list-vertical":M})}),[M]),P=r.useMemo((function(){return{gridColumnStart:M?void 0:1,gridColumnEnd:M?void 0:-1,gridRowStart:M?1:void 0,gridRowEnd:M?-1:void 0}}),[M]),T=r.useMemo((function(){return{gridColumnStart:M?void 0:2,gridColumnEnd:M?void 0:2*S,gridRowStart:M?1:void 0,gridRowEnd:M?S:void 0,top:M?17:void 0}}),[M,S]),j=h&&h.map((function(e,t){var n=un({index:t,disabled:s||e.disabled,focused:t===E,current:t===z},e),o=u||ln;return r.createElement(o,un({key:t},n))}));return r.createElement(en.Provider,{value:{animationDuration:n,isVertical:M,item:u,linear:d,mode:p,numOfSteps:S,value:z,successIcon:v,successSVGIcon:g,errorIcon:l,errorSVGIcon:c,onChange:F,onFocus:D}},r.createElement("nav",{className:B,style:N,dir:O,onKeyDown:V},r.createElement("ol",{className:L,style:P},j||o),r.createElement(cn.k,{style:T,animation:{duration:R},ariaLabel:w,"aria-hidden":!0,max:S-1,labelVisible:!1,orientation:f,reverse:"vertical"===f,value:z,disabled:s,tabIndex:-1})))}));hn.propTypes={animationDuration:O.oneOfType([O.bool,O.number]),children:O.any,className:O.string,dir:O.string,disabled:O.bool,errorIcon:O.string,errorSVGIcon:Oe.wi,item:O.any,items:O.any,linear:O.bool,mode:O.oneOf(["steps","labels"]),orientation:O.oneOf(["horizontal","vertical"]),style:O.object,successIcon:O.string,successSVGIcon:Oe.wi,value:O.number.isRequired,onChange:O.func,onFocus:O.func};var dn={value:0};hn.defaultProps=dn,hn.displayName="KendoStepper";var pn=r.forwardRef((function(e,t){(0,ke.s)(ze.k);var n=e.children,o=e.className,i=e.style,s=e.id,l=r.useRef(null),c=r.useCallback((function(){l.current&&(0,tn.n)(l.current)}),[]),u=r.useCallback((function(){return{element:l.current,focus:c}}),[c]);r.useImperativeHandle(t,u);var h=r.useMemo((function(){return(0,be.M)()}),[]),d=r.useMemo((function(){return e.themeColor||fn.themeColor}),[e.themeColor]),p=r.useMemo((function(){return e.position||fn.position}),[e.position]),f=r.useMemo((function(){return e.positionMode||fn.positionMode}),[e.positionMode]),m=r.useMemo((function(){return(0,a.A)("k-appbar",{"k-appbar-top":"top"===p,"k-appbar-bottom":"bottom"===p,"k-appbar-static":"static"===f,"k-appbar-sticky":"sticky"===f,"k-appbar-fixed":"fixed"===f,"k-appbar-light":"light"===d,"k-appbar-dark":"dark"===d,"k-appbar-inherit":"inherit"===d},o)}),[p,f,d,o]);return r.createElement("div",{className:m,style:i,id:s||h},n)}));pn.propTypes={children:O.any,className:O.string,style:O.object,id:O.string,themeColor:O.string,position:O.oneOf(["top","bottom"]),positionMode:O.oneOf(["static","sticky","fixed"])};var fn={themeColor:"light",position:"top",positionMode:"static"};pn.displayName="KendoAppBar";var mn=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.style,s=r.useRef(null),l=r.useCallback((function(){s.current&&(0,tn.n)(s.current)}),[]),c=r.useCallback((function(){return{element:s.current,focus:l}}),[l]);r.useImperativeHandle(t,c);var u=r.useMemo((function(){return(0,a.A)("k-appbar-section",o)}),[o]);return r.createElement("div",{className:u,style:i},n)}));mn.propTypes={children:O.any,className:O.string,style:O.object},mn.displayName="KendoAppBarSection";var vn=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.style,s=r.useRef(null),l=r.useCallback((function(){s.current&&(0,tn.n)(s.current)}),[]),c=r.useCallback((function(){return{element:s.current,focus:l}}),[l]);r.useImperativeHandle(t,c);var u=r.useMemo((function(){return(0,a.A)("k-appbar-spacer",{"k-appbar-spacer-sized":i&&i.width&&null!==i.width},o)}),[o,i]),h=r.useMemo((function(){return{flexBasis:i&&i.width?i.width:void 0}}),[i]);return r.createElement("span",{className:u,style:h},n)}));vn.propTypes={children:O.any,className:O.string,style:O.object},vn.displayName="KendoAppBarSpacer";var gn=n(9659),bn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),yn=function(){return yn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},yn.apply(this,arguments)},wn=function(e){return r.createElement(ee._,{onPress:e.onPress,onDrag:function(t){e.onResize(t.event,!1,e.d)},onRelease:function(t){e.onResize(t.event,!0,e.d)}},r.createElement("div",{className:"k-resize-handle k-cursor-"+e.d+"-resize",style:yn({bottom:0,right:0},e.style)}))},xn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleResize=function(e,n,r){e.originalEvent.preventDefault(),t.props.onResize(e,{end:n,direction:r})},t}return bn(t,e),t.prototype.render=function(){var e=this.props,t=e.resizable,n=e.onPress,o=e.rtl;return t?r.createElement(r.Fragment,null,"vertical"!==t&&r.createElement(wn,{onPress:n,onResize:this.handleResize,d:"ew",style:o?{top:0,width:9,left:0,right:""}:{top:0,width:9,right:0,left:""}}),"horizontal"!==t&&r.createElement(wn,{onPress:n,onResize:this.handleResize,d:"ns",style:{left:0,height:9}}),!0===t&&r.createElement(wn,{onPress:n,onResize:this.handleResize,d:o?"nesw":"nwse",style:o?{width:9,height:9,right:"",left:0}:{width:9,height:9,right:0,left:""}})):null},t}(r.Component),kn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Cn=function(){return Cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Cn.apply(this,arguments)},zn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={rtl:!1},t.oldSize={},t.draggable=null,t.dragging=!1,t.resizing=!1,t.element=null,t.hintElement=null,t.ignoreDrag=!1,t.pressOffset={x:0,y:0},t.pressXY={x:0,y:0},t.currentTranslate={x:0,y:0},t.preventDataOps=void 0,t.handleResize=function(e,n){if(n.end)t.handleRelease();else if(t.element&&t.hintElement){var r=e.clientX,o=e.clientY;t.resizing=!0;var i=("ns"!==n.direction?r-t.pressXY.x:0)*(t.state.rtl?-1:1),a="ew"!==n.direction?o-t.pressXY.y:0;if(t.dragElement&&(t.state.rtl?t.dragElement.style.marginLeft=-i+"px":t.dragElement.style.marginRight=-i+"px",t.dragElement.style.height="calc(100% + ".concat(a,"px)")),t.hintElement.classList.add("k-layout-item-hint-resize"),!t.preventDataOps){var s=0,l=0,c=t.element.getBoundingClientRect();i>c.width/t.props.defaultPosition.colSpan/3&&(s=1),i<-c.width/t.props.defaultPosition.colSpan/1.25&&(s=-1),a>c.height/t.props.defaultPosition.rowSpan/3&&(l=1),a<-c.height/t.props.defaultPosition.rowSpan/1.25&&(l=-1),0===s&&0===l||t.props.update(t.props.index,0,0,l,s)}}},t.handlePress=function(e){if(t.dragElement)if(t.pressXY={x:e.event.clientX,y:e.event.clientY},t.ignoreDrag=!1,t.props.ignoreDrag&&t.props.ignoreDrag(e.event.originalEvent))t.ignoreDrag=!0;else{t.element&&t.hintElement&&(t.element.style.zIndex="10",t.hintElement.style.display="block"),t.dragElement.classList.remove("k-cursor-grab"),t.dragElement.classList.add("k-cursor-grabbing");var n=t.dragElement.getBoundingClientRect();t.pressOffset={x:e.event.clientX-n.x,y:e.event.clientY-n.y}}},t.handleDrag=function(e){if(!t.ignoreDrag){var n=t.dragElement;if(!e.event.originalEvent.defaultPrevented&&n){t.dragging=!0,e.event.originalEvent.preventDefault();var r=n.getBoundingClientRect();if(t.currentTranslate={x:e.event.clientX-r.x-t.pressOffset.x+t.currentTranslate.x,y:e.event.clientY-r.y-t.pressOffset.y+t.currentTranslate.y},n.style.transform="translate(".concat(t.currentTranslate.x,"px, ").concat(t.currentTranslate.y,"px)"),n.style.transition="transform 0s",!t.preventDataOps){var o=0,i=0;t.currentTranslate.y>.7*r.height/t.props.defaultPosition.rowSpan&&(i=1),t.currentTranslate.y<.7*-r.height/t.props.defaultPosition.rowSpan&&(i=-1),t.currentTranslate.x>.7*r.width/t.props.defaultPosition.colSpan&&(o=1),t.currentTranslate.x<.7*-r.width/t.props.defaultPosition.colSpan&&(o=-1),t.props.update(t.props.index,i,t.state.rtl?-o:o,0,0)}}}},t.handleRelease=function(){t.dragging=t.resizing=!1,t.currentTranslate={x:0,y:0},t.element&&t.hintElement&&(t.element.style.zIndex="1",t.hintElement.classList.remove("k-layout-item-hint-resize"),t.hintElement.style.display="none");var e=t.dragElement;e&&(e.style.transform="translate(0px, 0px)",e.style.transition="transform ".concat(200,"ms cubic-bezier(0.2, 0, 0, 1) 0s"),e.style.marginRight="0px",e.style.marginLeft="0px",e.style.height="100%",e.classList.remove("k-cursor-grabbing"),e.classList.add("k-cursor-grab"))},t}return kn(t,e),Object.defineProperty(t.prototype,"reorderable",{get:function(){return void 0!==this.props.reorderable?this.props.reorderable:t.defaultProps.reorderable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dragElement",{get:function(){return this.draggable?this.draggable.element:void 0},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.element&&("rtl"===getComputedStyle(this.element).direction&&this.setState({rtl:!0}),this.hintElement&&(this.hintElement.style.height=this.element.offsetHeight+"px",this.hintElement.style.width=this.element.offsetWidth+"px"))},t.prototype.render=function(){var e=this;clearTimeout&&"function"==typeof clearTimeout&&(clearTimeout(this.preventDataOps),this.preventDataOps=window.setTimeout((function(){e.preventDataOps=void 0}),200));var n=this.props.defaultPosition,o=void 0!==this.props.resizable?this.props.resizable:t.defaultProps.resizable,i=Cn({gridColumnStart:n.col,gridColumnEnd:"span ".concat(n.colSpan),gridRowStart:n.row,gridRowEnd:"span ".concat(n.rowSpan),outline:"none",order:n.order,display:"none"},this.props.hintStyle),s={gridColumnStart:n.col,gridColumnEnd:"span ".concat(n.colSpan),gridRowStart:n.row,gridRowEnd:"span ".concat(n.rowSpan),order:n.order},l=r.createElement("div",{ref:function(t){e.draggable=t?{element:t}:null},className:(0,a.A)("k-tilelayout-item k-card",{"k-cursor-grab":this.reorderable},this.props.className),style:Cn(Cn({height:"100%"},s),this.props.style)},this.props.children,r.createElement(xn,{onPress:this.handlePress,onResize:this.handleResize,resizable:o,rtl:this.state.rtl}));return r.createElement("div",{ref:function(t){e.element=t},style:s},r.createElement("div",{ref:function(t){e.hintElement=t},style:Cn({position:"absolute"},i),className:(0,a.A)("k-layout-item-hint",this.props.hintClassName)}),r.createElement(ee._,{ref:function(t){e.draggable=t},onDrag:this.props.reorderable?this.handleDrag:void 0,onRelease:this.props.reorderable?this.handleRelease:void 0,onPress:this.props.reorderable?this.handlePress:void 0},l))},t.prototype.getSnapshotBeforeUpdate=function(e){return this.oldSize={},this.dragElement&&(this.oldSize=this.dragElement.getBoundingClientRect()),null},t.prototype.componentDidUpdate=function(e){var t=this,n=this.dragElement;if(n){var r=n.getBoundingClientRect(),o=this.oldSize;if(this.resizing){var i=r.width-o.width;if(this.state.rtl){var a=parseFloat(n.style.marginLeft||"0");n.style.marginLeft=a-i+"px"}else a=parseFloat(n.style.marginRight||"0"),n.style.marginRight=a+i+"px";this.pressXY.x+=this.state.rtl?-i:i;var s=r.height-o.height,l=parseFloat(n.style.height.substring(12));n.style.height="calc(100% + ".concat(l+s,"px)"),this.pressXY.y+=s}var c=o.left-r.left,u=o.top-r.top;0===c&&0===u||(this.dragging?e.defaultPosition.order===this.props.defaultPosition.order&&e.defaultPosition.col===this.props.defaultPosition.col||(this.currentTranslate.x=0,this.currentTranslate.y=0,n.style.transform=""):Math.abs(u)<15&&Math.abs(c)<15||requestAnimationFrame((function(){var e=t.element;e&&(e.style.transform="translate(".concat(c,"px, ").concat(u,"px)"),e.style.transition="transform 0s",requestAnimationFrame((function(){e.style.transform="",e.style.transition="transform ".concat(200,"ms cubic-bezier(0.2, 0, 0, 1) 0s")})))})))}},t.propTypes={defaultPosition:O.object.isRequired,style:O.object,className:O.string,hintStyle:O.object,hintClassName:O.string,header:O.any,body:O.any,item:O.any,resizable:O.oneOf(["horizontal","vertical",!0,!1]),reorderable:O.bool},t.displayName="KendoTileLayoutItem",t.defaultProps={resizable:!0,reorderable:!0},t}(r.Component),_n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),En=function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},En.apply(this,arguments)},In={column:"k-grid-flow-col",row:"k-grid-flow-row","column dense":"k-grid-flow-col-dense","row dense":"k-grid-flow-row-dense",unset:"k-grid-flow-unset"},Sn=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.state={positions:(n.props.items||[]).map((function(e,t){return Object.assign({order:t,rowSpan:1,colSpan:1},e.defaultPosition)}))},n.showLicenseWatermark=!1,n.focus=function(){n._element&&n._element.focus()},n.update=function(e,t,r,o,i){if(void 0===o&&(o=0),void 0===i&&(i=0),0!==t||0!==r||i||o){var a=!1,s=n.state.positions.map((function(e){return Object.assign({},e)})),l=s[e],c=s.find((function(e){return e.order===l.order+t}));c&&c!==l&&(l.order+=t,c.order+=-t,a=!0);var u=l.col+r;0!==r&&u>=1&&u+l.colSpan<=(n.props.columns||3)+1&&(l.col=u,a=!0);var h=l.colSpan+i;i&&h>=1&&h+l.col<=(n.props.columns||3)+1&&(l.colSpan=h,a=!0);var d=l.rowSpan+o;o&&d>=1&&(l.rowSpan=d,a=!0),a&&(n.setState({positions:s}),(0,Je.N)(n.props.onReposition,{},n,{value:s}))}},(0,ke.s)(ze.k),n.showLicenseWatermark=(0,ke.G)(ze.k),n}return _n(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){return e.positions?{positions:e.positions.map((function(e,t){return Object.assign({order:t,rowSpan:1,colSpan:1},e)}))}:!e.items||t.positions&&e.items.length===t.positions.length?null:{positions:e.items.map((function(e,t){return Object.assign({order:t,rowSpan:1,colSpan:1},e.defaultPosition)}))}},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.columns,i=void 0===o?3:o,s=t.columnWidth,l=void 0===s?"1fr":s,c=t.gap,u=t.rowHeight,h=void 0===u?"1fr":u,d=t.style,p=t.autoFlow,f=void 0===p?"column":p,m=t.items,v=void 0===m?[]:m,g=c?"".concat("number"==typeof c.rows?c.rows+"px":c.rows)+" "+"".concat("number"==typeof c.columns?c.columns+"px":c.columns):16,b=En({gridTemplateColumns:"repeat(".concat(i,", minmax(0px, ").concat("number"==typeof l?l+"px":l,"))"),gridAutoRows:"minmax(0px, ".concat("number"==typeof h?h+"px":h,")"),gap:g,padding:g},d);return r.createElement("div",{ref:function(t){e._element=t},dir:this.props.dir,className:(0,a.A)("k-tilelayout k-pos-relative",In[f],n),style:b,id:this.props.id,children:v.map((function(t,n){return r.createElement(r.Fragment,{key:e.props.dataItemKey?(0,gn.Y)(e.props.dataItemKey)(t):n},r.createElement(zn,{update:e.update,defaultPosition:e.state.positions[n],index:n,resizable:t.resizable,reorderable:t.reorderable,style:t.style,className:t.className,hintClassName:t.hintClassName,hintStyle:t.hintStyle,ignoreDrag:e.props.ignoreDrag},t.item?t.item:r.createElement(r.Fragment,null,r.createElement("div",{className:"k-tilelayout-item-header k-card-header"},r.isValidElement(t.header)?t.header:r.createElement("h5",{className:"k-card-title"},t.header)),r.createElement("div",{className:"k-tilelayout-item-body k-card-body"},t.body))),e.showLicenseWatermark&&r.createElement(Ce.t,null))}))})},t.propTypes={id:O.string,style:O.object,className:O.string,dir:O.string,gap:O.object,columns:O.number,columnWidth:O.oneOfType([O.number,O.string]),rowHeight:O.oneOfType([O.number,O.string]),dataItemKey:O.string,items:O.array,positions:O.array,autoFlow:O.oneOf(["column","row","column dense","row dense","unset"]),onReposition:O.func,ignoreDrag:O.func},t.displayName="KendoTileLayout",t}(r.Component),Mn={vertical:"k-bottom-nav-item-flow-vertical",horizontal:"k-bottom-nav-item-flow-horizontal"},On={fixed:"k-pos-fixed",sticky:"k-pos-sticky"},Rn=r.forwardRef((function(e,t){(0,ke.s)(ze.k);var n=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:n.current}}));var o=e.className,s=e.style,l=e.selected,c=e.disabled,u=e.item,h=e.render,d=e.dataItem,p=e.icon,f=e.svgIcon,m=e.text,v=e.id,g=e.onSelect,b=e.onKeyDown,y=e.index,w=e.tabIndex,x=r.useMemo((function(){return(0,a.A)("k-bottom-nav-item",{"k-selected":l,"k-disabled":c},o)}),[l,c,o]),k=r.useCallback((function(e){g&&void 0!==y&&!c&&g(e,y)}),[g,y,c]),C=r.useCallback((function(e){b&&void 0!==y&&!c&&b(e,y)}),[b,y,c]),z=h,_=u,E=r.createElement("span",{ref:n,className:x,style:s,role:"link",id:v,tabIndex:w,onClick:k,onKeyDown:C,"aria-current":l,"aria-disabled":c},_?r.createElement(_,{itemIndex:y,item:d}):r.createElement(r.Fragment,null,(p||f)&&r.createElement(i.a,{className:"k-bottom-nav-item-icon",name:p,icon:f,size:"xlarge"}),m&&r.createElement("span",{className:"k-bottom-nav-item-text",style:{userSelect:"none"}},m)));return void 0!==z?z.call(void 0,E,e):E}));Rn.propTypes={className:O.string,style:O.object,id:O.string,disabled:O.bool,selected:O.bool,icon:O.string,svgIcon:Oe.wi,text:O.string,tabIndex:O.number},Rn.defaultProps={tabIndex:0},Rn.displayName="KendoReactBottomNavigationItem";var Hn=function(){return Hn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Hn.apply(this,arguments)},Fn=r.forwardRef((function(e,t){(0,ke.s)(ze.k);var n=r.useRef(null),o=r.useCallback((function(){n.current&&(0,tn.n)(n.current)}),[]),i=r.useCallback((function(){return{element:n.current,focus:o}}),[o]);r.useImperativeHandle(t,i);var s=e.positionMode,l=void 0===s?Dn.positionMode:s,c=e.itemFlow,u=void 0===c?Dn.itemFlow:c,h=e.border,d=void 0===h?Dn.border:h,p=e.className,f=e.items,m=e.item,v=e.itemRender,g=e.disabled,b=e.style,y=e.id,w=e.onSelect,x=e.onKeyDown,k=r.useMemo((function(){return(0,be.M)()}),[]),C=(0,Zt.n)(n,e.dir),z=r.useMemo((function(){return null===e.fillMode||null===e.fill?null:e.fill||e.fillMode||Dn.fillMode}),[e.fillMode,e.fill]),_=r.useMemo((function(){return e.themeColor||Dn.themeColor}),[e.themeColor]),E=r.useMemo((function(){var e;return(0,a.A)("k-bottom-nav",On[l],Mn[u],((e={})["k-bottom-nav-".concat(z)]=z,e["k-bottom-nav-".concat(z,"-").concat(_)]=Boolean(z&&_),e["k-bottom-nav-border"]=d,e["k-disabled"]=g,e),p)}),[l,_,z,u,d,g,p]),I=r.useCallback((function(e,t){f&&!f[t].disabled&&w&&(0,Je.N)(w,e,i(),{itemTarget:f[t],itemIndex:t})}),[f,w]),S=r.useCallback((function(e,t){I(e,t)}),[I]),M=r.useCallback((function(e,t){switch(e.keyCode){case Q.R.enter:case Q.R.space:I(e,t),e.preventDefault()}(0,Je.N)(x,e,i(),void 0)}),[I,x]);return r.createElement("nav",{ref:n,className:E,style:b,id:y||k,dir:C},f&&f.map((function(e,t){return r.createElement(Rn,Hn({},e,{key:t,index:t,id:"".concat(y||k,"-").concat(t),disabled:g||e.disabled,selected:e.selected,dataItem:e,item:m,render:v,onSelect:S,onKeyDown:M}))})))})),Dn={themeColor:"primary",fillMode:"flat",itemFlow:"vertical",positionMode:"fixed",border:!0};Fn.propTypes={className:O.string,style:O.object,id:O.string,dir:O.string,themeColor:O.oneOf(["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]),fill:O.oneOf(["solid","flat"]),fillMode:O.oneOf(["solid","flat"]),itemFlow:O.oneOf(["vertical","horizontal"]),border:O.bool,disabled:O.bool,selected:O.number,onSelect:O.func},Fn.defaultProps=Dn,Fn.displayName="KendoReactBottomNavigation";var An=n(9302),Vn=function(){return Vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Vn.apply(this,arguments)},Bn=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useCallback((function(){return{element:n.current}}),[]);r.useImperativeHandle(t,o);var i=e.className,s=e.style,l=e.id,c=e.children,u=r.useMemo((function(){return(0,be.M)()}),[]),h=r.useMemo((function(){return e.orientation||Nn.orientation}),[e.orientation]),d="horizontal"===h,p=r.useMemo((function(){return e.align&&e.align.horizontal?e.align.horizontal:Nn.hAlign}),[e.align]),f=r.useMemo((function(){return e.align&&e.align.vertical?e.align.vertical:Nn.vAlign}),[e.align]),m=r.useMemo((function(){return(0,a.A)("k-stack-layout",{"k-hstack":"horizontal"===h,"k-vstack":"vertical"===h,"k-justify-content-start":d&&"start"===p||!d&&"top"===f,"k-justify-content-center":d&&"center"===p||!d&&"middle"===f,"k-justify-content-end":d&&"end"===p||!d&&"bottom"===f,"k-justify-content-stretch":d&&"stretch"===p||!d&&"stretch"===f,"k-align-items-start":!d&&"start"===p||d&&"top"===f,"k-align-items-center":!d&&"center"===p||d&&"middle"===f,"k-align-items-end":!d&&"end"===p||d&&"bottom"===f,"k-align-items-stretch":!d&&"stretch"===p||d&&"stretch"===f},i)}),[h,d,p,f,i]),v=Vn({gap:"".concat("number"==typeof e.gap?e.gap+"px":e.gap)},s);return r.createElement("div",{ref:n,className:m,style:v,id:l||u},c)})),Nn={orientation:"horizontal",hAlign:"stretch",vAlign:"stretch"};Bn.propTypes={className:O.string,style:O.object,children:O.any,id:O.string,orientation:O.oneOf(["horizontal","vertical"]),gap:O.oneOfType([O.string,O.number]),align:O.shape({vertical:O.oneOf(["top","middle","bottom","stretch"]),horizontal:O.oneOf(["start","center","end","stretch"])})},Bn.defaultProps=Nn,Bn.displayName="KendoReactStackLayout";var Ln=function(){return Ln=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ln.apply(this,arguments)},Pn=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useCallback((function(){return{element:n.current}}),[]);r.useImperativeHandle(t,o);var i=e.className,s=e.style,l=e.id,c=e.children,u=e.gap,h=r.useMemo((function(){return(0,be.M)()}),[]),d=r.useMemo((function(){return e.align&&e.align.horizontal?e.align.horizontal:Tn.hAlign}),[e.align]),p=r.useMemo((function(){return e.align&&e.align.vertical?e.align.vertical:Tn.vAlign}),[e.align]),f=r.useMemo((function(){return(0,a.A)("k-grid-layout",{"k-justify-items-start":"start"===d,"k-justify-items-center":"center"===d,"k-justify-items-end":"end"===d,"k-justify-items-stretch":"stretch"===d,"k-align-items-start":"top"===p,"k-align-items-center":"middle"===p,"k-align-items-end":"bottom"===p,"k-align-items-stretch":"stretch"===p},i)}),[d,p,i]),m=u?"".concat("number"==typeof u.rows?u.rows+"px":u.rows)+" "+"".concat("number"==typeof u.cols?u.cols+"px":u.cols):void 0,v=e.rows&&e.rows.map((function(e){return"".concat("number"==typeof e.height?e.height+"px":e.height)})).join(" "),g=e.cols&&e.cols.map((function(e){return"".concat("number"==typeof e.width?e.width+"px":e.width)})).join(" "),b=Ln({gap:m,gridTemplateColumns:g,gridTemplateRows:v},s);return r.createElement("div",{ref:n,className:f,style:b,id:l||h},c)})),Tn={hAlign:"stretch",vAlign:"stretch",gap:void 0};Pn.propTypes={className:O.string,style:O.object,children:O.any,id:O.string,gap:O.shape({rows:O.oneOfType([O.string,O.number]),columns:O.oneOfType([O.string,O.number])}),align:O.shape({vertical:O.oneOf(["top","middle","bottom","stretch"]),horizontal:O.oneOf(["start","center","end","stretch"])})},Pn.defaultProps=Tn,Pn.displayName="KendoReactGridLayout";var jn=function(){return jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jn.apply(this,arguments)},Un=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useCallback((function(){return{element:n.current}}),[]);r.useImperativeHandle(t,o);var i=e.className,a=e.style,s=e.id,l=e.children,c=e.row,u=e.col,h=e.rowSpan,d=e.colSpan,p=r.useMemo((function(){return(0,be.M)()}),[]),f=jn({gridArea:"".concat(c||"auto"," / ").concat(u||"auto"," / ").concat(h?"span "+h:"auto"," / ").concat(d?"span "+d:"auto")},a);return r.createElement("div",{ref:n,className:i,style:f,id:s||p},l)}));Un.propTypes={className:O.string,style:O.object,children:O.any,id:O.string},Un.displayName="KendoReactGridLayoutItem";var Wn=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useRef(null),i=r.useCallback((function(){o.current&&o.current.focus()}),[o]);return r.useImperativeHandle(n,(function(){return{element:o.current,focus:i,props:e}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement("li",{ref:o,id:e.id,style:e.style,className:(0,a.A)("k-breadcrumb-item",{"k-breadcrumb-root-item":e.isFirstItem,"k-breadcrumb-last-item":e.isLastItem},e.className)},e.children)})),Kn={id:O.string,className:O.string,children:O.any,style:O.object};Wn.displayName="KendoReactBreadcrumbListItem",Wn.propTypes=Kn;var qn=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){var t;return{element:(null===(t=o.current)||void 0===t?void 0:t.element)||null,props:e}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement(i.a,{ref:o,id:e.id,"aria-hidden":!0,tabIndex:e.tabIndex,style:e.style,name:"rtl"===e.dir?"chevron-left":"chevron-right",icon:"rtl"===e.dir?P:N,className:"k-breadcrumb-delimiter-icon",size:"xsmall"})})),Gn={id:O.string,className:O.string,style:O.object,tabIndex:O.number,dir:O.string};qn.displayName="KendoReactBreadcrumbDelimiter",qn.propTypes=Gn;var $n=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useRef(null),i=r.useCallback((function(){o.current&&o.current.focus()}),[o]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:i,props:e}})),r.useImperativeHandle(t,(function(){return n.current}));var s=r.useCallback((function(t){e.id&&(0,Je.N)(e.onItemSelect,t,t.target,{id:e.id})}),[e.onItemSelect]),l=r.useCallback((function(t){e.id&&(0,Je.N)(e.onKeyDown,t,t.target,{id:e.id})}),[e.onKeyDown]);return r.createElement("span",{"aria-current":e.ariaCurrent?e.ariaCurrent:e.isLast,role:"link",id:e.id,ref:o,style:e.style,dir:(0,Zt.n)(o,e.dir),tabIndex:(0,Ut.p)(e.tabIndex,e.disabled),className:(0,a.A)({"k-breadcrumb-root-link":e.isFirst,"k-breadcrumb-link":!e.isFirst,"k-breadcrumb-icontext-link":void 0!==e.iconClass&&e.text,"k-breadcrumb-icon-link":void 0!==e.iconClass&&!e.text,"k-disabled":e.disabled}),onClick:s,onKeyDown:l},e.iconClass?r.createElement("span",{className:(0,a.A)("k-icon",e.iconClass)}):e.icon?e.icon:"",e.text&&r.createElement("span",{className:"k-breadcrumb-item-text"},e.text))})),Yn={id:O.string,className:O.string,tabIndex:O.number,style:O.object,dir:O.string,disabled:O.bool,text:O.string,icon:O.node,iconClass:O.string,onClick:O.func,ariaCurrent:O.bool};$n.displayName="KendoReactBreadcrumbLink",$n.propTypes=Yn;var Zn=r.forwardRef((function(e,t){(0,An.validatePackage)(ze.k);var n=r.useRef(null),o=r.useRef(null);return r.useImperativeHandle(n,(function(){return{element:o.current,props:e}})),r.useImperativeHandle(t,(function(){return n.current})),r.createElement(r.Fragment,null,e.rootItem?r.createElement("ol",{id:e.id,ref:o,style:e.style,dir:(0,Zt.n)(o,e.dir),tabIndex:(0,Ut.p)(e.tabIndex,e.disabled),className:(0,a.A)("k-breadcrumb-root-item-container",{"k-disabled":e.disabled},e.className)},e.children):r.createElement("ol",{id:e.id,ref:o,style:e.style,dir:(0,Zt.n)(o,e.dir),tabIndex:(0,Ut.p)(e.tabIndex,e.disabled),className:(0,a.A)("k-breadcrumb-container !k-flex-wrap",{"k-disabled":e.disabled},e.className)},e.children))})),Xn={id:O.string,className:O.string,children:O.element,tabIndex:O.number,style:O.object,dir:O.string,disabled:O.bool};Zn.displayName="KendoReactBreadcrumbOrderedList",Zn.propTypes=Xn;var Jn=function(){return Jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Jn.apply(this,arguments)},Qn=r.forwardRef((function(e,t){var n;(0,An.validatePackage)(ze.k);var o=r.useRef(null),i=r.useRef(null),s=r.useMemo((function(){return e.breadcrumbOrderedList||Zn}),[e.breadcrumbOrderedList]),l=r.useMemo((function(){return e.breadcrumbListItem||Wn}),[e.breadcrumbListItem]),c=r.useMemo((function(){return e.breadcrumbDelimiter||qn}),[e.breadcrumbDelimiter]),u=r.useMemo((function(){return e.breadcrumbLink||$n}),[e.breadcrumbLink]),h=r.useCallback((function(){i.current&&i.current.focus()}),[i]),d=r.useMemo((function(){return e.disabled||!1}),[e.disabled]);r.useImperativeHandle(o,(function(){return{element:i.current,focus:h,props:e}})),r.useImperativeHandle(t,(function(){return o.current}));var p=(0,Zt.n)(i,e.dir),f=function(t){o.current&&(0,Je.N)(e.onItemSelect,t,t.target,{id:t.target.id})},m=function(t){o.current&&(0,Je.N)(e.onKeyDown,t,t.target,{id:t.target.id})},v=e.valueField||tr.valueField,g=e.iconField||tr.iconField,b=e.iconClassField||tr.iconClassField,y=e.textField||tr.textField,w=e.size||"medium";return r.createElement("nav",{"aria-label":e.ariaLabel,id:e.id,style:e.style,ref:i,dir:p,className:(0,a.A)("k-breadcrumb k-breadcrumb-wrap",(n={"k-rtl":"rtl"===p,"k-disabled":d,"k-breadcrumb-md":!e.size},n["k-breadcrumb-".concat(Lt.G.sizeMap[w]||w)]=w,n),e.className)},r.createElement(s,{rootItem:!0},r.createElement(r.Fragment,null,e.data.map((function(t,n,o){var i=t[v];if(0===n)return r.createElement(l,{key:i,isFirstItem:!0,isLastItem:o.length-1===n},r.createElement(u,Jn({isLast:o.length-1===n,isFirst:!0,id:String(i),icon:t[g]||void 0,iconClass:t[b]?String(t[b]):void 0,text:t[y]?String(t[y]):void 0,disabled:t.disabled||!1,onItemSelect:f,onKeyDown:m},e)))})))),r.createElement(s,{rootItem:!1},r.createElement(r.Fragment,null,e.data.map((function(t,n,o){var i=t[v];if(0!==n)return r.createElement(l,{key:i,isFirstItem:!1,isLastItem:o.length-1===n},r.createElement(c,{dir:p}),r.createElement(u,Jn({isLast:o.length-1===n,isFirst:!1,id:String(i),icon:t[g]||void 0,iconClass:t[b]?String(t[b]):void 0,text:t[y]?String(t[y]):void 0,disabled:t.disabled||!1,onItemSelect:f,onKeyDown:m},e)))})))))})),er={id:O.string,style:O.object,className:O.string,breadcrumbOrderedList:O.elementType,breadcrumbListItem:O.elementType,breadcrumbDelimiter:O.elementType,breadcrumbLink:O.elementType,data:O.arrayOf(O.shape({id:O.string,text:O.string,icon:O.any,iconClass:O.string})),dir:O.oneOf(["ltr","rtl"]),disabled:O.bool,valueField:O.string,textField:O.string,iconField:O.string,iconClassField:O.string,onItemSelect:O.func,ariaLabel:O.string},tr={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};Qn.displayName="KendoReactBreadcrumb",Qn.propTypes=er,Qn.defaultProps=tr;var nr=n(3162),rr=n(4312),or=n(1205),ir=n(7999),ar=n(4390),sr=n(6584),lr=function(e){var t=e.eventData,n=t.title,o=t.subtitle,i=t.actions,s=t.images,l=t.description,c=r.useState(e.eventData.opened||!1),u=c[0],h=c[1],d=r.useState(e.eventData.opened||!!e.collapsible),p=d[0],f=d[1],m=function(t){if(e.onActionClick){var n={syntheticEvent:t,nativeEvent:t.nativeEvent,eventData:e.eventData};e.onActionClick.call(void 0,n)}},v=function(){return r.createElement(r.Fragment,null,r.createElement(Ht,null,r.createElement("div",{className:"k-card-description"},r.createElement("p",null,l),s&&s.map((function(e,t){return r.createElement(Vt,{key:t,src:e.src})})))),r.createElement(Dt,null,i&&i.map((function(e,t){return r.createElement("a",{key:t,href:e.url,className:"k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary",onClick:m},e.text)}))))};return r.createElement("div",{"data-testid":"k-timeline-card",className:(0,a.A)("k-timeline-card",{"k-collapsed":e.collapsible&&p})},r.createElement(Mt,{"aria-live":"polite","aria-describedby":e.id,"aria-atomic":"true",tabIndex:e.tabindex,role:e.horizontal?"tabpanel":"button","aria-expanded":e.collapsible&&p},r.createElement("span",{style:e.calloutStyle,className:(0,a.A)("k-timeline-card-callout","k-card-callout",{"k-callout-n":e.horizontal},{"k-callout-e":e.alternated&&!e.horizontal},{"k-callout-w":!e.alternated&&!e.horizontal})}),r.createElement("div",{className:"k-card-inner"},r.createElement(Ot,null,r.createElement(Rt,null,r.createElement("span",{className:"k-event-title"},n),e.collapsible&&r.createElement("span",{onClick:function(t){return function(t){if(h(!u),e.onChange){var n={syntheticEvent:t,nativeEvent:t.nativeEvent,eventData:e.eventData};e.onChange.call(void 0,n)}}(t)},className:"k-event-collapse k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button"},r.createElement(sr.l,{icon:N}))),o&&r.createElement(Bt,null,o)),e.collapsible?r.createElement(Re.U,{transitionEnterDuration:e.transitionDuration||400,transitionExitDuration:e.transitionDuration||400,onBeforeEnter:function(){return f(!1)},onAfterExited:function(){return f(!0)}},u?v():null):v())))};lr.propTypes={onChange:O.func,onActionClick:O.func};var cr=function(e){return e.sort((function(e,t){return e.date.getTime()-t.date.getTime()}))},ur=function(e){var t;return e.reduce((function(e,n){return t!==n.date.getFullYear()?(t=n.date.getFullYear(),e.push({yearFlag:t},n)):e.push(n),e}),[])},hr=n(6604),dr=n(7827),pr=function(){return pr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pr.apply(this,arguments)},fr=function(e){var t=(0,Ct.useInternationalization)(),n=r.useState(!1),o=n[0],i=n[1],s=r.useState(!0),l=s[0],c=s[1],u=r.useState(),h=u[0],d=u[1],p=r.useState(0),f=p[0],m=p[1],v=r.useState(),g=v[0],b=v[1],y=r.useState(0),w=y[0],x=y[1],k=r.useState(0),C=k[0],z=k[1],_=r.useState(1),E=_[0],I=_[1],S=r.useState(),M=S[0],O=S[1],R=r.useState(),H=R[0],F=R[1],A=r.useState([0,0,0]),B=A[0],N=A[1],L=r.useState(0),P=L[0],T=L[1],j=r.useState(1),U=j[0],W=j[1],K=r.useRef(null),q=r.useRef(null),G=r.useRef(null),$=e.eventsData,Y=e.dateFormat,Z=e.navigatable,X=e.onActionClick,J=g?"".concat(g,"%"):"".concat(150,"px"),Q=r.useRef(new hr.W({tabIndex:0,root:K,selectors:[".k-timeline-scrollable-wrap"]}));r.useEffect((function(){K.current&&e.navigatable&&(setTimeout((function(){var e=Q.current.first;e&&e.setAttribute("tabindex",String(0))}),0),Q.current.keyboardEvents={keydown:{ArrowRight:ee,ArrowLeft:te,End:re,Home:ne}})}),[e.navigatable,E,w]),r.useEffect((function(){Q.current.update()})),r.useEffect((function(){var e,t=dr.N&&window.ResizeObserver&&new window.ResizeObserver(de),n=q.current,r=(null===(e=null==K?void 0:K.current)||void 0===e?void 0:e.offsetWidth)||0;return t&&n&&t.observe(n),oe(),de(),N([r,0,-r]),function(){t&&t.disconnect()}}),[]),r.useEffect((function(){var e=q.current,t=e&&e.children[E];if(t){var n=t.offsetWidth;if(i(!(f>=0)),H){var r=H.length*n>w*n*((-1*f+100)/100);c(r)}(null==e?void 0:e.offsetWidth)*-f/100>=e.children.length*n&&(oe(),de(),m((t.offsetLeft-t.offsetWidth)/(w*t.offsetWidth)*100*-1)),ue(t)}}),[w,g,E]);var ee=function(e,t,n){if(q.current){var r=q.current.children[E+1],o=r&&r.classList.contains("k-timeline-flag-wrap")?E+2:E+1;if(H&&H.length<=o)return;w+C<=o&&ae(),he(o,n)}},te=function(e,t,n){if(q.current){var r=q.current&&q.current.children[E-1],o=r&&r.classList.contains("k-timeline-flag-wrap")?E-2:E-1;if(o<=0)return;o<C&&ie(),he(o,n)}},ne=function(e,t,n){if(q.current){if(E<=1)return;se(!0,1,0,0),he(1,n)}},re=function(e,t,n){if(q.current){var r=q.current&&q.current.children.length-1;if(r<=E)return;var o=Math.floor(r/w);se(!0,r,o*w,-100*o),he(r,n)}},oe=function(){var e=ur($);F(e),O([e[E-1],e[E],e[E+1]])},ie=function(){var e;if(q.current&&H){var t=C-w,n=C-1,r=H[n]&&(null===(e=H[n])||void 0===e?void 0:e.yearFlag)?n-1:n;se(!1,r,t,f+100>0?0:f+100)}},ae=function(){if(q.current&&H){var e=C+w,t=H[e]&&H[e].yearFlag?e+1:e;se(!0,t,e,f-100)}},se=function(e,t,n,r){le(e,t),de(),z(n),m(r),I(t)},le=function(t,n){var r;if(M&&H){var o=ce(t,U),i=Object.assign([],M,((r={})[o]=H[n],r));O(i),W(o),T(t?-100:100),setTimeout((function(){var e,t,n,r=null===(n=K.current)||void 0===n?void 0:n.offsetWidth,a=Object.assign([],B,((e={})[o]=0,e[ce(!0,o)]=r,e[ce(!1,o)]=r&&-r,e)),s=Object.assign([],i,((t={})[ce(!0,o)]={},t[ce(!1,o)]={},t));O(s),N(a),T(0)}),e.transitionDuration||300)}},ce=function(e,t){var n=e?t+1:t-1;return M?n<0?M.length-1:n%M.length:0},ue=function(e){var t,n=(E-C)*e.offsetWidth+e.offsetWidth/2+((null===(t=G.current)||void 0===t?void 0:t.offsetWidth)||0);d(n)},he=function(e,t){t.preventDefault(),e>E?le(!0,e):e<E&&le(!1,e),I(e)},de=r.useCallback((function(){var e=q.current,t=e&&e.children[E];if(e instanceof HTMLElement&&t){var n=Math.round(e.offsetWidth/150);ue(t),b(100/n),x(n)}}),[]),pe=function(e){return{transform:"translateX(".concat(e,"%)"),transformOrigin:"left top"}};return r.createElement(r.Fragment,null,r.createElement("div",{className:"k-timeline-track-wrap",ref:K,onKeyDown:function(e){Z&&Q.current&&Q.current.triggerKeyboardEvent(e)}},r.createElement("a",{ref:G,"aria-hidden":"true",onClick:function(){return o&&ie()},className:(0,a.A)("k-timeline-arrow","k-timeline-arrow-left","k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button",{"k-disabled":!o})},r.createElement(sr.l,{icon:V})),r.createElement("a",{"aria-hidden":"true",onClick:function(){return l&&ae()},className:(0,a.A)("k-timeline-arrow","k-timeline-arrow-right","k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button",{"k-disabled":!l})},r.createElement(sr.l,{icon:D})),r.createElement("div",{className:"k-timeline-track"},r.createElement("ul",{ref:q,className:"k-timeline-scrollable-wrap",role:"tablist",tabIndex:0,style:{transform:"translateX(".concat(f,"%)")}},H&&H.map((function(e,n){return e.yearFlag?r.createElement("li",{role:"none",className:"k-timeline-track-item k-timeline-flag-wrap",style:{flex:"1 0 ".concat(J)},key:n},r.createElement("span",{className:"k-timeline-flag"},e.yearFlag)):r.createElement("li",{role:"tab",className:(0,a.A)("k-timeline-track-item",{"k-focus":n===E}),"aria-selected":n===E,style:{flex:"1 0 ".concat(J)},key:n},r.createElement("div",{className:"k-timeline-date-wrap"},r.createElement("span",{className:"k-timeline-date"},t.formatDate(e.date,Y))),r.createElement("span",{onClick:function(e){return he(n,e)},className:"k-timeline-circle"}))}))))),r.createElement("div",{className:"k-timeline-events-list"},r.createElement("ul",{className:"k-timeline-scrollable-wrap",style:0===P?pr({},pe(P)):pr(pr({},pe(P)),{transitionDuration:"".concat(300,"ms")})},M&&M.map((function(e,t){return r.createElement("li",{key:t,className:"k-timeline-event",style:{transform:"translate3d(".concat(B[t],"px, 0px, 0px)")}},e&&r.createElement(lr,{tabindex:0===B[t]?0:-1,eventData:e,onActionClick:X,horizontal:!0,collapsible:!1,calloutStyle:{left:"".concat(h,"px")}}))})))))};fr.propTypes={onActionClick:O.func};var mr=function(e){var t=(0,Ct.useInternationalization)(),n=r.useState(),o=n[0],i=n[1],s=e.collapsibleEvents,l=e.transitionDuration,c=e.eventsData,u=e.dateFormat,h=e.alterMode,d=e.navigatable,p=e.onChange,f=e.onActionClick,m=r.useRef(null),v=r.useRef(new hr.W({tabIndex:0,root:m,selectors:[".k-card-vertical"]}));r.useEffect((function(){m.current&&e.navigatable&&(setTimeout((function(){var e=v.current.first;e&&e.setAttribute("tabindex",String(0))}),0),v.current.keyboardEvents={keydown:{Space:g,Enter:g}})}),[e.navigatable]),r.useEffect((function(){i(ur(c))}),[]),r.useEffect((function(){v.current.update()}));var g=function(e,t,n){n.preventDefault();var r=e.querySelector(".k-card-title .k-event-collapse");r&&r.click()},b=0;return r.createElement("ul",{ref:m,onKeyDown:function(e){d&&v.current&&v.current.triggerKeyboardEvent(e)}},o&&o.map((function(e,n){var o=(0,be.M)(),i=(n+b)%2==0;return e.yearFlag&&(b+=1),r.createElement(r.Fragment,{key:n},e.yearFlag?r.createElement("li",{className:"k-timeline-flag-wrap"},r.createElement("span",{className:"k-timeline-flag"},e.yearFlag)):r.createElement("li",{className:(0,a.A)("k-timeline-event",{"k-reverse":i})},r.createElement("div",{className:"k-timeline-date-wrap"},r.createElement("span",{className:"k-timeline-date",id:o},t.formatDate(e.date,u))),r.createElement("a",{className:"k-timeline-circle"}),r.createElement(lr,{id:o,tabindex:d?0:-1,eventData:e,alternated:h&&i,collapsible:s,transitionDuration:l,onChange:p,onActionClick:f})))})))};mr.propTypes={onActionClick:O.func};var vr=function(){return vr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vr.apply(this,arguments)},gr=function(e){var t=vr({alterMode:!1,collapsibleEvents:!0,dateFormat:"MMM dd, yyyy"},e),n=t.collapsibleEvents,o=t.transitionDuration,i=t.className,s=t.alterMode,l=t.navigatable,c=t.horizontal,u=t.events,h=t.dateFormat,d=t.onChange,p=t.onActionClick,f=r.useState(),m=f[0],v=f[1],g=r.useRef(null);return r.useEffect((function(){g.current&&v(g.current.offsetWidth)}),[]),r.createElement("div",{ref:g,className:(0,a.A)("k-timeline",{"k-timeline-collapsible":n,"k-timeline-vertical":!c,"k-timeline-alternating":s,"k-timeline-horizontal":c},i),style:{width:"".concat(m,"px")}},c?r.createElement(fr,{navigatable:l,eventsData:u,dateFormat:h,transitionDuration:o,onActionClick:p}):r.createElement(mr,{navigatable:l,eventsData:u,dateFormat:h,alterMode:s,collapsibleEvents:n,transitionDuration:o,onChange:d,onActionClick:p}))};gr.propTypes={className:O.string};var br=function(){return br=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},br.apply(this,arguments)},yr=function(e){var t=r.useRef(null);return r.useEffect((function(){e.show&&setTimeout((function(){var e=t.current&&t.current.element,n=e&&e.querySelector(".k-menu-item"),r=(0,o.v)(n&&n.ownerDocument);n&&n!==r&&n.focus()}))}),[e.show]),r.createElement(s.G,{show:e.show,offset:e.offset,popupClass:"k-menu-popup",animate:!1},r.createElement(bt,br({vertical:!0},e,{ref:t,className:(0,a.A)("k-context-menu",e.className),onClose:e.onClose,role:"menu"}),e.children))};yr.displayName="KendoReactContextMenu";var wr=n(6059),xr=r.forwardRef((function(e,t){var n,o;(0,ke.s)(ze.k);var s=r.useRef(null),l=r.useState(!1),c=l[0],u=l[1],h=r.useCallback((function(){return{element:s.current}}),[]);r.useImperativeHandle(t,h);var d=e.expanded,p=void 0!==d&&d,f=e.disabled,m=e.title,v=e.subtitle,g=e.onAction,b=e.expandIcon,y=e.collapseIcon,w=e.expandSVGIcon,x=e.collapseSVGIcon,k=r.useCallback((function(e){(0,Je.N)(g,e,h(),{expanded:p})}),[g,p]),C=r.useCallback((function(e){e.keyCode!==Q.R.enter&&e.keyCode!==Q.R.space||(e.preventDefault(),(0,Je.N)(g,e,h(),{expanded:p}))}),[g,p]),z=r.useCallback((function(){e.disabled||u(!0)}),[e.disabled]),_=r.useCallback((function(){e.disabled||u(!1)}),[e.disabled]),E=(0,wr.U)({onFocus:z,onBlur:_}),I=E.onFocus,S=E.onBlur;return r.createElement("div",{ref:s,className:(0,a.A)("k-expander",e.className,{"k-expanded":p,"k-focus":c&&!f,"k-disabled":f}),onFocus:I,onBlur:S,style:e.style,id:e.id,dir:(0,nn.V)(s,e.dir),onKeyDown:f?void 0:C},r.createElement("div",{role:"button","aria-controls":e.ariaControls,"aria-expanded":p,"aria-disabled":f,tabIndex:(0,Ut.p)(e.tabIndex,f),className:"k-expander-header",onClick:f?void 0:k},void 0!==m?r.createElement("div",{className:"k-expander-title"},m):void 0,r.createElement("span",{className:"k-spacer"}),void 0!==v?r.createElement("div",{className:"k-expander-sub-title"},v):void 0,r.createElement("span",{className:"k-expander-indicator"},r.createElement(i.a,{name:p?y?void 0:"chevron-up":b?void 0:"chevron-down",icon:p?x||y?x:B:w||b?w:L,className:(0,a.A)(p?(n={},n[String(y)]=Boolean(y),n):(o={},o[String(b)]=Boolean(b),o))}))),e.children)}));xr.propTypes={children:O.node,className:O.string,style:O.object,dir:O.string,id:O.string,tabIndex:O.number,title:O.node,subtitle:O.node,expandIcon:O.string,collapseIcon:O.string,expanded:O.bool,disabled:O.bool,onAction:O.func},xr.displayName="KendoReactExpansionPanel";var kr=function(){return kr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kr.apply(this,arguments)},Cr=r.forwardRef((function(e,t){return r.createElement("div",kr({ref:t},e,{className:(0,a.A)("k-expander-content-wrapper",e.className)}),r.createElement("div",{className:"k-expander-content"},e.children))}));Cr.displayName="KendoReactExpansionPanelContent"},8206:(e,t,n)=>{n.d(t,{k:()=>r});var r={name:"@progress/kendo-react-layout",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063587,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},1754:(e,t,n)=>{n.d(t,{v:()=>a,G:()=>s});var r=n(3899),o=n(61),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=r.createContext((function(e){return e})),s=r.forwardRef((function(e,t){var n=r.useContext(a).call(void 0,e);return r.createElement(o.B,i({ref:t},n))}));s.displayName="Popup"},61:(e,t,n)=>{n.d(t,{B:()=>oe});var r=n(3899),o=n(994),i=n(189),a=function(e){e.style.transitionDuration="",Array.from(e.classList).forEach((function(t){t.startsWith("k-slide-")&&e.classList.remove(t)}))},s="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),l=n(4006),c=n(7827),u=n(8259),h=n(8047);const d="bottom",p="center",f="middle",m="left",v="right",g="top",b="fit",y="flip",w="none";var x,k,C,z=function(e,t,n){var r=0;return e+t>n&&(r=n-(e+t)),e<0&&(r=-e),r},_=function(e){var t=e.offset,n=e.size,r=e.anchorSize,o=e.viewPortSize,i=e.anchorAlignPoint,a=e.elementAlignPoint,s=0,l=2*e.margin;if(a!==i&&a!==p&&a!==f&&i!==p&&i!==f){var c=i===g||i===m;t<0&&c?t+(s=n+r+l)+n>o&&(s=0):t>=0&&!c&&(t+n>o&&(s+=-(r+n+l)),t+s<0&&(s=0))}return s},E=(x=function(e){if(!I())return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var r=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),r},C=!1,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return C||(k=x.apply(void 0,e),C=!0),k}),I=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)};const S={eitherRect:function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},scaleRect:function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e},removeStackingOffset:function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},hasRelativeStackingContext:E,canUseDOM:I};function M(e){return e.ownerDocument||e.document||e}const O=function(e){return M(e).defaultView},R=function(e){return M(e).documentElement};var H=0;function F(){if(!H&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML="&nbsp;",document.body.appendChild(e),H=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return H}function D(e){var t=O(e),n=R(e),r={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(r.width-=F()),r}function A(e){var t=R(e),n=O(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}const V=function(e){var t=e.getBoundingClientRect(),n=t.left,r=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,r=t.left,o=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var i=e.getBoundingClientRect();return e.style.display=n,e.style.left=r,e.style.position=o,i}(e)),{top:r,left:n,height:t.height,width:t.width}};function B(e){return e===(e.ownerDocument||{}).body?A(e):{x:e.scrollLeft,y:e.scrollTop}}const N=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||R(e)};function L(e,t){for(var n=[],r=e.parentNode;r&&(n.push(r),r!==t);)r=r.parentNode;return n}function P(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t}var T=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],j=function(){return S.canUseDOM()?window:null},U=/auto|scroll/,W=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)},K=function(e){if(!e||!S.hasRelativeStackingContext())return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},q=function(){return S.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},G={addOffset:function(e,t){return{left:e.left+t.left,top:e.top+t.top}},addScroll:function(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}},align:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,i=e.margin;void 0===i&&(i={});var a=n.horizontal,s=n.vertical,l=o.horizontal,c=o.vertical,u=i.horizontal||0,h=i.vertical||0,m=t.top,g=t.left;return s===d&&(m+=t.height),s!==p&&s!==f||(m+=Math.round(t.height/2)),c===d&&(m-=r.height,h*=-1),c!==p&&c!==f||(m-=Math.round(r.height/2),h*=-1),a===v&&(g+=t.width),a!==p&&a!==f||(g+=Math.round(t.width/2)),l===v&&(g-=r.width,u*=-1),l!==p&&l!==f||(g-=Math.round(r.width/2),u*=-1),{top:m+h,left:g+u}},boundingOffset:function(e){if(!e.getBoundingClientRect){var t=D(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},getFontStyles:function(e){var t=j();if(!t||!e)return[];var n=t.getComputedStyle(e);return T.map((function(e){return{key:e,value:n[e]}}))},getWindow:j,hasOffsetParent:function(e){return!!e&&Boolean(e.offsetParent)},offset:function(e){return e?V(e):null},offsetAtPoint:function(e,t){if(!e)return null;var n=e.style,r=n.left,o=n.top,i=n.transition;e.style.transition="none",e.style.left=t.left+"px",e.style.top=t.top+"px";var a=V(e);return e.style.left=r,e.style.top=o,e.offsetHeight,e.style.transition=i,a},position:function(e,t,n){return e&&t?function(e,t,n){void 0===n&&(n=1);var r=t?N(t):null,o=function(e,t){var n=O(e),r=n.getComputedStyle(e),o=V(e),i=t||N(e),a=e.ownerDocument,s=i!==a.body&&i!==a.documentElement,l={top:0,left:0};if("fixed"!==r.position&&s){var c=n.getComputedStyle(i);(l=V(i)).top+=parseInt(c.borderTopWidth,10),l.left+=parseInt(c.borderLeftWidth,10)}return{top:o.top-l.top,left:o.left-l.left,height:o.height,width:o.width}}(e,r),i=o.top,a=o.left,s=o.height,l=o.width,c=function(e,t){return e?B(e):function(e){var t=N(e);return t?B(t):{x:0,y:0}}(t)}(r,e),u=c.x,h=c.y,d=e.ownerDocument,p=r===d.body||r===d.documentElement?1:n;return{top:i+h*p,left:a+u*p,height:s,width:l}}(e,t,n||1):null},removeScroll:function(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}},restrictToView:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,i=e.collisions,a=e.viewPort,s=e.margin;void 0===s&&(s={});var l=r.top,c=r.left,u=r.height,h=r.width,d=a.height,p=a.width,f=s.horizontal||0,m=s.vertical||0,v=0,g=0,w=i.vertical===b,x=i.horizontal===b,k=i.vertical===y,C=i.horizontal===y;w&&(g+=z(l,u,d)),x&&(v+=z(c,h,p)),k&&(g+=_({margin:m,offset:l,size:u,anchorSize:t.height,viewPortSize:d,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),C&&(v+=_({margin:f,offset:c,size:h,anchorSize:t.width,viewPortSize:p,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var E=k&&0!==g,I=C&&0!==v,S=w&&0!==g,M=x&&0!==v;return{flipped:I||E,fitted:S||M,flip:{horizontal:I,vertical:E},fit:{horizontal:M,vertical:S},offset:{left:v,top:g}}},scrollPosition:A,scrollableParents:function(e){var t=[];if(!S.canUseDOM())return t;for(var n=e.parentElement;n;)(U.test(W(n))||n.hasAttribute("data-scrollable"))&&t.push(n),n=n.parentElement;return t.push(window),t},getRelativeContextElement:K,stackingElementOffset:function(e){var t=K(e);return t?V(t):null},stackingElementScroll:function(e){var t=K(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(e){var t=K(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},useRelativePosition:function(e){return Boolean(K(e))},windowViewPort:D,zoomLevel:q,isZoomed:function(){return q()>1},zIndex:function(e,t){if(!e||!S.canUseDOM())return null;var n=function(e,t){for(var n,r,o=L(e),i=t;i&&(n=P(i),!(r=o.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)i=i.parentElement;return r}(e,t);if(!n)return null;var r=[e].concat(L(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,r=parseInt(n,10);return r>e?r:e}),0);return r?r+1:null}};const $=G;const Y=function(e){var t=e.anchor,n=e.element,r=e.anchorAlign,o=e.elementAlign,i=e.margin,a=e.offset,s=e.positionMode,l=e.scale||1,c="fixed"!==s&&$.hasOffsetParent(n)?function(e,t,n,r){var o=S.eitherRect($.position(e,t,r),n);return S.scaleRect(o,r)}(t,n,a,l):function(e,t,n,r){var o=function(e,t){return e?{x:0,y:0}:$.scrollPosition(t)}(e,t),i=S.eitherRect($.offset(e),n),a=2*r,s=$.stackingElementScroll(t);1!==r&&s&&(s.x/=a,s.y/=a);var l=$.stackingElementOffset(t);return 1!==r&&l&&(l.left/=a,l.top/=a),$.removeScroll($.addScroll(S.removeStackingOffset(S.scaleRect(i,r),l),s),o)}(t,n,a,l),u=S.scaleRect($.offset(n),l);return $.align({anchorAlign:r,anchorRect:c,elementAlign:o,elementRect:u,margin:i})};var Z,X={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063458,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},J=(Z=function(e,t){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Z(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q.apply(this,arguments)};function ee(e,t){if(e===t)return!0;if(!!e!=!!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(e[i]!==t[i])return!1}return!0}var te,ne={left:-1e3,top:0};!function(e){e.hiding="hiding",e.hidden="hidden",e.showing="showing",e.shown="shown",e.reposition="reposition"}(te||(te={}));var re="k-animation-container-shown",oe=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n.state={current:te.hidden,previous:te.hidden,props:{}},n._popup=null,n.show=function(e){n.setPosition(e),n.animate(e.firstChild,"enter",n.onOpened),n.setState({current:te.shown,previous:n.state.current})},n.setPosition=function(e){var t=n.props,r=t.anchorAlign,o=t.popupAlign,i=t.collision,a=t.offset,s=t.anchor,l=t.margin,c=t.scale,u=t.positionMode,h=e.style,d=h.width,p=h.height;e.style.width=e.offsetWidth+"px",e.style.height=e.offsetHeight+"px";var f=function(e){var t=e.anchor,n=e.currentLocation,r=e.element,o=e.anchorAlign,i=e.elementAlign,a=e.collisions,s=e.margin,l=e.scale||1,c=$.offsetAtPoint(r,n),u=S.scaleRect(c,l),h=S.scaleRect($.offset(t),l),d=S.eitherRect(h,n),p=e.viewPort||$.windowViewPort(r);p.width=p.width/l,p.height=p.height/l;var f=$.restrictToView({anchorAlign:o,anchorRect:d,collisions:a,elementAlign:i,elementRect:u,margin:s,viewPort:p}),m=$.addOffset(n,f.offset);return{flip:f.flip,flipped:f.flipped,fit:f.fit,fitted:f.fitted,offset:m}}({anchor:s,anchorAlign:r,element:e,elementAlign:o,collisions:i,currentLocation:Y({anchor:s,anchorAlign:r,element:e,elementAlign:o,offset:a,margin:l,positionMode:u,scale:c}),margin:n.props.margin});if(e.style.top=f.offset.top+"px",e.style.left=f.offset.left+"px",e.style.width=d,e.style.height=p,n._collisions={fit:f.fit,fitted:f.fitted,flip:f.flip,flipped:f.flipped},n.props.onPosition){var m={target:n,flipped:f.flipped,fitted:f.fitted};n.props.onPosition.call(void 0,m)}},n.onOpened=function(){var e=n._popup;e&&(n.props.show&&e.classList.add(re),n.attachRepositionHandlers(e),n.props.onOpen&&n.props.onOpen.call(void 0,{target:n}))},n.animate=function(e,t,r){if(n.props.popupAlign){var o,i=n.props.popupAlign,l=i.horizontal,c=i.vertical;o="left"===l&&"center"===c?"right":"right"===l&&"center"===c?"left":"top"===c?"down":"up",n._collisions&&n._collisions.flipped&&(o={down:"up",up:"down",left:"right",right:"left"}[o]),function(e,t,n,r,o){if(0===n)return o();var i="k-slide-"+t+"-"+r,l=i+"-active",c=function(t){t.target===e&&(e.removeEventListener("transitionend",c),a(e),e.style.display="exit"===r?"none":"",o())};e.addEventListener("transitionend",c);var u=e.ownerDocument;if(u){var h=u.defaultView;if(h){var d=function(){a(e),e.classList.add(i),h.requestAnimationFrame((function(){e.style.transitionDuration=n+"ms",e.classList.add(l)}))};s?h.requestAnimationFrame(d):d()}}}(e,o,n.animationDuration[t],t,r)}},n.onClosing=function(e){n.props.show||e.classList.remove(re),n.detachRepositionHandlers()},n.onClosed=function(){n.state.current===te.hiding&&n.state.previous===te.shown&&n.setState({current:te.hidden,previous:n.state.current}),n.props.onClose&&n.props.onClose.call(void 0,{target:n})},n.getCurrentZIndex=function(){return n.context?n.context+1:100},(0,l.s)(X),n.reposition=function(e,t,n){var r,o,i,a;void 0===n&&(n={});var s=0;n=n||{};var l=function(){s=!1===n.leading?0:(new Date).getTime(),r=void 0,a=e.apply(o,i),r||(o=i=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var u=t-(c-s);return o=void 0,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=void 0),s=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=window.setTimeout(l,u)),a}}(n.reposition.bind(n),16.666666666666668),n}return J(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._popup},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){var n=e.show,r=e.anchor,o=e.anchorAlign,i=e.appendTo,a=e.collision,s=e.popupAlign,l=e.className,c=e.popupClass,u=e.style,h=e.offset,d=e.contentKey,p=Q(Q({},t),{props:{show:n,anchor:r,anchorAlign:o,appendTo:i,collision:a,popupAlign:s,className:l,popupClass:c,style:u,offset:h,contentKey:d}});return e.show?t.current===te.hidden||t.current===te.hiding?Q(Q({},p),{current:te.showing,previous:t.current}):t.current===te.showing?Q(Q({},p),{current:te.shown,previous:t.current}):t.current!==te.shown||ee(h,t.props.offset)&&ee(o,t.props.anchorAlign)&&ee(i,t.props.appendTo)&&ee(a,t.props.collision)&&ee(s,t.props.popupAlign)&&ee(u,t.props.style)&&r===t.props.anchor&&c===t.props.popupClass&&l===t.props.className?p:Q(Q({},p),{current:te.reposition,previous:t.current}):t.current===te.hiding||t.current===te.hidden?Q(Q({},p),{current:te.hidden,previous:t.current}):Q(Q({},p),{current:te.hiding,previous:t.current})},t.prototype.componentDidUpdate=function(e){this.state.current===te.showing&&this._popup?this.show(this._popup):this.state.current===te.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===te.reposition&&this.state.previous===te.shown?this.setState({current:te.shown,previous:this.state.current}):this.state.current===te.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},t.prototype.componentDidMount=function(){this.state.current===te.showing&&this._popup&&this.show(this._popup)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.className,a=t.popupClass,s=t.show,l=t.id,d=t.positionMode,p=this.props.appendTo?this.props.appendTo:c.N?this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument.body:document.body:void 0;this.state.current===te.reposition&&this.state.previous===te.shown&&this._popup&&this.setPosition(this._popup);var f=Object.assign({},{position:d,top:0,left:-1e4},this.props.style||{}),m=this.state.current===te.hiding;if((s||m)&&p){var v=this.getCurrentZIndex(),g=r.createElement(u.$.Provider,{value:v},r.createElement("div",{className:(0,h.A)("k-animation-container",i),id:l,ref:function(t){return e._popup=t},style:Q({zIndex:v},f)},r.createElement("div",{className:(0,h.A)("k-child-animation-container"),style:{transitionDelay:"0ms"}},r.createElement("div",{role:this.props.role,className:(0,h.A)("k-popup",a)},n))));return null!==this.props.appendTo?o.createPortal(g,p):g}return null},Object.defineProperty(t.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!1,configurable:!0}),t.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=$.scrollableParents(this.props.anchor||e),this._scrollableParents&&this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.setState({current:te.reposition,previous:this.state.current})},t.propTypes={anchor:function(e){var t=e.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){var t=e.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:i.oneOfType([i.string,i.arrayOf(i.string),i.object]),id:i.string,popupClass:i.oneOfType([i.string,i.arrayOf(i.string),i.object]),collision:i.shape({horizontal:i.oneOf([b,y,w]),vertical:i.oneOf([b,y,w])}),anchorAlign:i.shape({horizontal:i.oneOf([m,p,v]),vertical:i.oneOf([g,p,d])}),popupAlign:i.shape({horizontal:i.oneOf([m,p,v]),vertical:i.oneOf([g,p,d])}),offset:i.shape({left:i.number,top:i.number}),children:i.oneOfType([i.element,i.node]),show:i.bool,animate:i.oneOfType([i.bool,i.shape({openDuration:i.number,closeDuration:i.number})]),margin:i.shape({horizontal:i.number,vertical:i.number}),positionMode:i.oneOf(["fixed","absolute"]),scale:i.number,style:i.object,onClose:i.func,onPosition:i.func,onOpen:i.func},t.defaultProps={collision:{horizontal:b,vertical:y},anchorAlign:{horizontal:m,vertical:d},popupAlign:{horizontal:m,vertical:g},offset:ne,animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},t.contextType=u.$,t.displayName="PopupComponent",t}(r.Component)},5362:(e,t,n)=>{n.r(t),n.d(t,{Popup:()=>r.G,PopupWithoutContext:()=>o.B,PopupPropsContext:()=>r.v});var r=n(1754),o=n(61)},2013:(e,t,n)=>{n.d(t,{k:()=>p});var r=n(3899),o=n(189),i=n(1573),a=n(8047),s=n(4703),l=function(e,t,n){var r=Math.abs((t-e)/100);return Math.abs((n-e)/r)},c=function(e,t,n,r){var o=Math.max(n,.01),i=100/o*100;e.current&&t.current&&(e.current.style.width=r?"100%":"".concat(o,"%"),t.current.style.width=r?"100%":"".concat(i,"%"),e.current.style.height=r?"".concat(o,"%"):"100%",t.current.style.height=r?"".concat(i,"%"):"100%")},u=n(4006),h={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700063549,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},p=r.forwardRef((function(e,t){(0,u.s)(h);var n=e.animation,o=e.disabled,p=e.reverse,m=void 0===p?f.reverse:p,v=e.orientation,g=e.labelVisible,b=e.labelPlacement,y=e.max,w=void 0===y?f.max:y,x=e.min,k=void 0===x?f.min:x,C=e.tabIndex,z=e.className,_=e.style,E=e.emptyStyle,I=e.emptyClassName,S=e.progressStyle,M=e.progressClassName,O=r.useRef(null),R=r.useRef(null),H=r.useRef(null),F=r.useCallback((function(){O.current&&O.current.focus()}),[]);r.useImperativeHandle(t,(function(){return{element:O.current,progressStatusElement:R.current,progressStatusWrapElement:H.current,focus:F}}));var D,A,V,B,N,L=e.value||f.value,P=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}(L),T=null===e.value,j=(0,i.V)(O,e.dir),U="vertical"===v,W=function(e){var t=e.toString().split(".");return 1===t.length?"".concat(t[0]):"".concat(t[0],".").concat(t[1].substr(0,3))}(L),K={value:L},q=g?e.label?r.createElement("span",{className:"k-progress-status"},r.createElement(e.label,d({},K))):r.createElement("span",{className:"k-progress-status"},W):void 0,G={className:(0,a.A)("k-progressbar",{"k-progressbar-horizontal":!U,"k-progressbar-vertical":U,"k-progressbar-reverse":m,"k-progressbar-indeterminate":T,"k-disabled":o},z),ref:O,dir:j,tabIndex:(0,s.p)(C,o),role:"progressbar","aria-label":e.ariaLabel,"aria-valuemin":k,"aria-valuemax":w,"aria-valuenow":T?void 0:L,"aria-disabled":o,style:_},$=(0,a.A)("k-progress-status-wrap",{"k-progress-start":"start"===b,"k-progress-center":"center"===b,"k-progress-end":"end"===b||void 0===b}),Y="boolean"!=typeof n&&void 0!==n?n.duration:n?400:0,Z=r.useCallback((function(){var e=l(k,w,P);c(R,H,e,U)}),[U,w,k,P]),X=r.useCallback((function(e){var t=l(k,w,P+(L-P)*e);c(R,H,t,U)}),[k,w,P,L,U]),J=r.useCallback((function(){var e=l(k,w,L);c(R,H,e,U)}),[U,w,k,L]);return D={duration:Y,onStart:Z,onUpdate:X,onEnd:J},A=[L,Y],V=r.useRef(0),B=r.useRef(!1),N=r.useRef(),r.useEffect((function(){return function(e){var t,n=e.duration,r=V.current&&1-V.current;e.onStart&&e.onStart();var o=function(i){t||(t=i);var a=(i-t+1)/n+r;a<=1?(e.onUpdate&&e.onUpdate(a),N.current=window.requestAnimationFrame(o),V.current=a):(e.onEnd&&e.onEnd(1),V.current=0)};N.current=window.requestAnimationFrame(o)}(D),function(){N.current&&window.cancelAnimationFrame(N.current)}}),A),r.useEffect((function(){B.current=!0}),[]),r.createElement("div",d({},G),r.createElement("span",{className:$+(I?" "+I:""),style:E},q),r.createElement("div",{className:"k-progressbar-value k-selected",style:S,ref:R},r.createElement("span",{className:$+(M?" "+M:""),ref:H},q)))}));p.propTypes={animation:o.any,ariaLabel:o.string,disabled:o.bool,reverse:o.bool,label:o.any,labelVisible:o.bool,labelPlacement:o.oneOf(["start","center","end"]),max:o.number,min:o.number,value:o.number,tabIndex:o.number,emptyStyle:o.object,emptyClassName:o.string,progressStyle:o.object,progressClassName:o.string};var f={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};p.defaultProps=f,p.displayName="KendoProgressBar"},9207:(e,t,n)=>{n.r(t),n.d(t,{Sortable:()=>A,SortableOnDragEndEvent:()=>g,SortableOnDragOverEvent:()=>v,SortableOnDragStartEvent:()=>m,SortableOnNavigateEvent:()=>b});var r,o,i,a=n(3899),s=n(994),l=n(189),c=n(3769),u=n(3493),h=n(4703),d=n(1779),p=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}(),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e){function t(t,n,r){var o=e.call(this)||this;return o.target=t,o.prevIndex=n,o.element=r,o}return f(t,e),t}(p),v=function(e,t,n,r){this.target=e,this.prevIndex=t,this.nextIndex=n,this.newState=r},g=function(e,t,n,r){this.target=e,this.prevIndex=t,this.nextIndex=n,this.newState=r},b=function(e,t,n,r){this.target=e,this.prevIndex=t,this.nextIndex=n,this.newState=r},y=n(499),w="sortable.noData",x=((o={})[w]="No Data",o),k=n(7191),C=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},z=function(e){return String(e).trim().split(" ")},_=/^(?:a|input|select|option|textarea|button|object)$/i,E=(0,k.V)(),I=n(4006),S={name:"@progress/kendo-react-sortable",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700065191,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},M=n(9659),O=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(){return R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},R.apply(this,arguments)},H="data-sortable-id",F="data-sortable-component",D=((i={})[F]=!0,i),A=function(e){function t(t){var n=e.call(this,t)||this;return n.state={clientX:0,clientY:0,isDragging:!1,activeId:"",dragCueWidth:0,dragCueHeight:0},n.isRtl=!1,n.itemRefsMap={},n.oldSizesMap={},n.animatingItemMap={},n.draggableRef=null,n.isUnmounted=!1,n.focusActiveId=!1,n.isKeyboardNavigated=!1,n.isDragPrevented=!1,n.swapItems=function(e,t,n){var r=e[t];return e[t]=e[n],e[n]=r,n},n.generateNewState=function(e,t){var r=n.props.data,o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],r,!0);if(e>t)for(var i=e-1;i>=t;i--){var a=r[i];n.isItemDisabled(a)||(e=n.swapItems(o,e,i))}else for(i=e+1;i<=t;i++)a=r[i],n.isItemDisabled(a)||(e=n.swapItems(o,e,i));return o},n.closestSortableItem=function(e){for(var t=e;t;){var r=t.getAttribute(H);if(r&&n.itemRefsMap[r]===t)return{id:r,element:t};t=t.parentElement}return{id:"",element:null}},n.isSortable=function(e){return Boolean(e.hasAttribute(F))},n.closestSortable=function(e){for(var t=e;t;){if(n.isSortable(t))return t;t=t.parentElement}return null},n.isSameSortable=function(e){return n.closestSortable(e)===n.container},n.idComparer=function(e,t){return e+""==t+""},n.findItem=function(e){var t=n.props,r=t.data,o=t.idField;if(e+""){var i=(0,M.Y)(o);return function(t,r){for(var o=0;o<t.length;o++)if(a=t[o],n.idComparer(i(a),e))return t[o];var a}(r)}},n.findIndex=function(e){var t=n.props,r=t.data,o=t.idField;return e+""?C(r,(function(t){return n.idComparer(t[o],e)})):-1},n.isItemDisabled=function(e){return e&&!0===e[n.props.disabledField||""]},n.shouldResetActive=function(){var e=(0,c.v)(document);if(e instanceof HTMLElement){var t=n.closestSortableItem(e).element;return!Boolean(t)}return!1},n.widgetTarget=function(e){var t=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}(e,(function(e){return function(e,t){var n=z("k-widget");return Boolean(z(e.className).find((function(e){return n.indexOf(e)>=0})))}(e)||n.isSortable(e)}));return t&&!n.isSortable(t)},n.allowDrag=function(e){return e.hasAttribute(H)||!(function(e){if(e.tagName){var t=e.tagName.toLowerCase(),n=e.getAttribute("tabIndex"),r="-1"===n,o=null!==n&&!r;return _.test(t)&&(o=!e.disabled&&!r),o}return!1}(e)||n.widgetTarget(e))},n.onDragStart=function(e){var t=e.event,r=n.props.onDragStart,o=document.elementFromPoint(t.clientX,t.clientY),i=n.closestSortableItem(o),a=i.id,s=i.element,l=n.findItem(a);if(!a||l&&n.isItemDisabled(l)||!n.allowDrag(o)||!n.isSameSortable(o))n.isDragPrevented=!0;else{t.isTouch&&t.originalEvent.preventDefault();var c=new m(n,n.findIndex(a),o);r&&r.call(void 0,c),n.isDragPrevented=c.isDefaultPrevented(),n.isDragPrevented?t.originalEvent.preventDefault():(n.offsetParent=function(e){if(!e||!E)return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}}(n.container),n.setState({activeId:a,dragCueWidth:s&&s.clientWidth||0,dragCueHeight:s&&s.clientHeight||0}))}},n.onDragOver=function(e){var t=e.event,r=n.props,o=r.onDragOver,i=r.data;if(!n.isDragPrevented){t.originalEvent.preventDefault();var a=n.findIndex(n.state.activeId);if(-1!==a){var s=document.elementFromPoint(t.clientX,t.clientY),l=n.closestSortableItem(s),c=n.findIndex(l.id),u=i[c];if(o&&c>-1&&a!==c&&!n.isItemDisabled(u)&&!n.animatingItemMap[l.id]&&n.shouldReorder(l.element,t.clientX,t.clientY)){var h=new v(n,a,c,n.generateNewState(a,c));o.call(void 0,h)}var d=n.parentOffset();n.setState({clientX:t.clientX-d.left,clientY:t.clientY-d.top,isDragging:!0})}else n.resetState()}},n.onDragEnd=function(e){var t=e.event,r=n.shouldResetActive();if(!n.isDragPrevented){var o=n.props,i=o.onDragEnd,a=o.data,s=document.elementFromPoint(t.clientX,t.clientY),l=n.closestSortableItem(s),c=n.findIndex(l.id),u=n.findIndex(n.state.activeId),h=n.isItemDisabled(a[c]);if((-1===c||h)&&(c=u),i){var d=n.generateNewState(u,c);if(!h){var p=n.thresholdRect(l.element);if(p&&(t.clientX<p.left||t.clientX>p.right||t.clientY<p.top||t.clientY>p.bottom)){var f=u;u=c,c=f,d=n.props.data.slice()}}var m=new g(n,u,c,d);i.call(void 0,m)}n.resetState(r)}},n.shouldReorder=function(e,t,r){var o=n.thresholdRect(e);return o&&t>o.left&&t<o.right&&r>o.top&&r<o.bottom},n.thresholdRect=function(e){var t=n.state.activeId,r=n.container,o=(r?Array.from(r.childNodes):[]).find((function(e){return e instanceof HTMLElement&&e.getAttribute(H)===t}));if(!e||!o)return null;var i=o.getBoundingClientRect(),a=i.width,s=i.height,l=e.getBoundingClientRect(),c=l.top+l.height/2-s/2,u=l.left+l.width/2-a/2;return{top:c,left:u,bottom:c+s,right:u+a}},n.onItemBlur=function(){window.setTimeout((function(){n.isUnmounted||n.shouldResetActive()&&!n.state.isDragging&&n.setState({activeId:""})}))},n.onItemFocus=function(e){var t=n.closestSortableItem(e.currentTarget),r=t.id,o=t.element;!n.idComparer(r,n.state.activeId)&&n.isSameSortable(e.target)&&o===e.target&&n.setState({activeId:r})},n.onKeyDown=function(e){var t=n.props,r=t.data,o=t.idField,i=t.onNavigate,a=t.navigation,s=n.state.activeId;if(a&&s&&n.isSameSortable(e.target)){var l=n.isRtl,c=r.filter((function(e){return!n.isItemDisabled(e)})),h=C(c,(function(e){return n.idComparer(e[o],s)})),d=c.length-1,p=h;switch(e.keyCode===u.R.left&&(e.keyCode=l?u.R.down:u.R.up),e.keyCode===u.R.right&&(e.keyCode=l?u.R.up:u.R.down),e.keyCode){case u.R.up:h>0&&(p=h-1);break;case u.R.down:h<d&&(p=h+1)}if(p!==h){e.stopPropagation(),e.preventDefault();var f=c[p],m=f?f[o]:"",v=c[h],g=v?v[o]:"";if(e.ctrlKey){if(i){var y=n.findIndex(g),w=n.findIndex(m),x=new b(n,y,w,n.generateNewState(y,w));n.isKeyboardNavigated=!0,i.call(void 0,x)}}else n.focusActiveId=!0,n.setState({activeId:m+""})}}},n.resetState=function(e){n.isDragPrevented=!1,n.setState({clientX:0,clientY:0,isDragging:!1,dragCueWidth:0,dragCueHeight:0,activeId:e?"":n.state.activeId})},n.renderData=function(){var e=n.props,t=e.data,r=e.itemUI,o=e.idField,i=e.tabIndex;return t.map((function(e){var t,s=(0,M.Y)(o)(e),l=n.isItemDisabled(e),c=n.idComparer(n.state.activeId,s);return a.createElement(r,{key:s,forwardRef:function(e){return n.refAssign(e,s)},dataItem:e,isDisabled:l,isActive:c,isDragged:c&&n.state.isDragging,isDragCue:!1,attributes:(t={},t[H]=s,t["aria-disabled"]=l,t["aria-grabbed"]=c&&n.state.isDragging&&!n.isDragPrevented,t["aria-dropeffect"]=l?"none":"move",t.tabIndex=(0,h.p)(i,l),t.onFocus=n.onItemFocus,t.onBlur=n.onItemBlur,t),style:{cursor:l?"auto":"move",MozUserSelect:"none",msUserSelect:"none",WebkitUserSelect:"none",userSelect:"none"}})}))},n.renderNoData=function(){var e=n.props.emptyItemUI,t=(0,y.provideLocalizationService)(n).toLanguageString(w,x[w]);if(e)return a.createElement(e,{message:t})},n.renderDragCue=function(){var e=n.props.itemUI,t=n.state,r=t.isDragging,o=t.activeId,i=t.clientX,s=t.clientY,l=n.findItem(o);if(r&&l)return a.createElement(e,{dataItem:l,isDisabled:!1,isActive:!0,isDragged:!0,isDragCue:!0,style:{position:"fixed",top:s+10,left:i+10,width:n.state.dragCueWidth,height:n.state.dragCueHeight},attributes:{}})},n.refAssign=function(e,t){e?n.itemRefsMap[t]=e:delete n.itemRefsMap[t]},n.draggableRefAssign=function(e){n.draggableRef=e},(0,I.s)(S),n}return O(t,e),Object.defineProperty(t.prototype,"container",{get:function(){return this.draggableRef&&this.draggableRef.element},enumerable:!1,configurable:!0}),t.prototype.getSnapshotBeforeUpdate=function(){var e=this,t=this.props,n=t.idField,r=t.animation;return this.oldSizesMap={},r?(this.props.data.forEach((function(t){var r=t[n],o=e.itemRefsMap[r],i=s.findDOMNode(o);i&&(e.oldSizesMap[r]=i.getBoundingClientRect())})),null):null},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props,r=n.idField,o=n.animation;this.focusActiveId&&(this.focusActiveId=!1,this.itemRefsMap[this.state.activeId].focus()),o&&(this.state.isDragging||this.isKeyboardNavigated)&&(this.isKeyboardNavigated=!1,e.data.forEach((function(e){var n=e[r],o=t.itemRefsMap[n];if(o){var i=o.getBoundingClientRect(),a=t.oldSizesMap[n],s=a.left-i.left,l=a.top-i.top;0===s&&0===l||requestAnimationFrame((function(){t.animatingItemMap[n]=!0,o.style.transform="translate(".concat(s,"px, ").concat(l,"px)"),o.style.transition="transform 0s",requestAnimationFrame((function(){o.style.transform="",o.style.transition="transform ".concat(200,"ms cubic-bezier(0.2, 0, 0, 1) 0s"),window.setTimeout((function(){return t.animatingItemMap[n]=!1}),200)}))}))}})))},t.prototype.componentDidMount=function(){this.isRtl=this.container&&"rtl"===getComputedStyle(this.container).direction||!1},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0},t.prototype.parentOffset=function(){var e=this.offsetParent;if(e&&e.ownerDocument&&e!==e.ownerDocument.body){var t=e.getBoundingClientRect();return{left:t.left-e.scrollLeft,top:t.top-e.scrollTop}}return{left:0,top:0}},t.prototype.render=function(){var e=this.props,t=e.data,n=e.style,r=e.className,o=e.itemsWrapUI||"div";return a.createElement(d._,{onDragStart:this.onDragStart,onDrag:this.onDragOver,onDragEnd:this.onDragEnd,ref:this.draggableRefAssign},a.createElement(o,R({},D,{className:r,style:R({touchAction:"none"},n),onKeyDown:this.onKeyDown}),t&&t.length?this.renderData():this.renderNoData(),this.renderDragCue()))},t.defaultProps={navigation:!0,animation:!0,emptyItemUI:function(e){return a.createElement("div",null,e.message)}},t.propTypes={idField:l.string.isRequired,disabledField:l.string,data:l.array.isRequired,tabIndex:l.number,navigation:l.bool,animation:l.bool,itemsWrapUI:l.any,itemUI:l.func.isRequired,emptyItemUI:l.func,style:l.object,className:l.string,onDragStart:l.func,onDragOver:l.func,onDragEnd:l.func,onNavigate:l.func},t}(a.Component);(0,y.registerForLocalization)(A)},4796:(e,t,n)=>{n.d(t,{Z:()=>Gn});var r=-2,o=4,i=0,a=1,s=2;function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)l(n,r)&&(e[r]=n[r])}}return e}function u(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var h={arraySet:function(e,t,n,r,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),o);else for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){var t,n,r,o,i,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),o=0,t=0,n=e.length;t<n;t++)i=e[t],a.set(i,o),o+=i.length;return a},Buf8:function(e){return new Uint8Array(e)},Buf16:function(e){return new Uint16Array(e)},Buf32:function(e){return new Int32Array(e)}},d={arraySet:function(e,t,n,r,o){for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)},Buf8:function(e){return new Array(e)},Buf16:function(e){return new Array(e)},Buf32:function(e){return new Array(e)}},p=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return p=function(){return e},e},f=function(e,t,n,r,o){return(f=p()?h.arraySet:d.arraySet)(e,t,n,r,o)},m=function(e){return(m=p()?h.flattenChunks:d.flattenChunks)(e)},v=function(e){return(v=p()?h.Buf8:d.Buf8)(e)},g=function(e){return(g=p()?h.Buf16:d.Buf16)(e)},b=function(e){return(b=p()?h.Buf32:d.Buf32)(e)},y=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return y=function(){return e},e},w=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return w=function(){return e},e},x=function(e){for(var t=v(256),n=0;n<256;n++)t[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;return t[254]=t[254]=1,x=function(e){return t[e]},t[e]};function k(e){var t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),i=0,o=0;i<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t}function C(e,t){if(t<65534&&(e.subarray&&w()||!e.subarray&&y()))return String.fromCharCode.apply(null,u(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}function z(e,t){var n,r,o,i,a=t||e.length,s=new Array(2*a);for(r=0,n=0;n<a;)if((o=e[n++])<128)s[r++]=o;else if((i=x(o))>4)s[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&n<a;)o=o<<6|63&e[n++],i--;i>1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return C(s,r)}function _(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+x(e[n])>t?n:t}function E(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{i=i+(o=o+t[r++]|0)|0}while(--a);o%=65521,i%=65521}return o|i<<16|0}var I=function(){var e=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();return I=function(){return e},e};function S(e,t,n,r){var o=I(),i=r+n;e^=-1;for(var a=r;a<i;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}var M=30,O=12;function R(e,t){var n,r,o,i,a,s,l,c,u,h,d,p,f,m,v,g,b,y,w,x,k,C,z,_,E;n=e.state,r=e.next_in,_=e.input,o=r+(e.avail_in-5),i=e.next_out,E=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,d=n.window,p=n.hold,f=n.bits,m=n.lencode,v=n.distcode,g=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{f<15&&(p+=_[r++]<<f,f+=8,p+=_[r++]<<f,f+=8),y=m[p&g];t:for(;;){if(p>>>=w=y>>>24,f-=w,0==(w=y>>>16&255))E[i++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=m[(65535&y)+(p&(1<<w)-1)];continue t}if(32&w){n.mode=O;break e}e.msg="invalid literal/length code",n.mode=M;break e}x=65535&y,(w&=15)&&(f<w&&(p+=_[r++]<<f,f+=8),x+=p&(1<<w)-1,p>>>=w,f-=w),f<15&&(p+=_[r++]<<f,f+=8,p+=_[r++]<<f,f+=8),y=v[p&b];n:for(;;){if(p>>>=w=y>>>24,f-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=v[(65535&y)+(p&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=M;break e}if(k=65535&y,f<(w&=15)&&(p+=_[r++]<<f,(f+=8)<w&&(p+=_[r++]<<f,f+=8)),(k+=p&(1<<w)-1)>l){e.msg="invalid distance too far back",n.mode=M;break e}if(p>>>=w,f-=w,k>(w=i-a)){if((w=k-w)>u&&n.sane){e.msg="invalid distance too far back",n.mode=M;break e}if(C=0,z=d,0===h){if(C+=c-w,w<x){x-=w;do{E[i++]=d[C++]}while(--w);C=i-k,z=E}}else if(h<w){if(C+=c+h-w,(w-=h)<x){x-=w;do{E[i++]=d[C++]}while(--w);if(C=0,h<x){x-=w=h;do{E[i++]=d[C++]}while(--w);C=i-k,z=E}}}else if(C+=h-w,w<x){x-=w;do{E[i++]=d[C++]}while(--w);C=i-k,z=E}for(;x>2;)E[i++]=z[C++],E[i++]=z[C++],E[i++]=z[C++],x-=3;x&&(E[i++]=z[C++],x>1&&(E[i++]=z[C++]))}else{C=i-k;do{E[i++]=E[C++],E[i++]=E[C++],E[i++]=E[C++],x-=3}while(x>2);x&&(E[i++]=E[C++],x>1&&(E[i++]=E[C++]))}break}}break}}while(r<o&&i<s);r-=x=f>>3,p&=(1<<(f-=x<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=p,n.bits=f}var H=15,F=852,D=592,A=0,V=1,B=2,N=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],L=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],P=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],T=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function j(e,t,n,r,o,i,a,s){var l,c,u,h,d,p,f,m,v,b=s.bits,y=0,w=0,x=0,k=0,C=0,z=0,_=0,E=0,I=0,S=0,M=null,O=0,R=g(H+1),j=g(H+1),U=null,W=0;for(y=0;y<=H;y++)R[y]=0;for(w=0;w<r;w++)R[t[n+w]]++;for(C=b,k=H;k>=1&&0===R[k];k--);if(C>k&&(C=k),0===k)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(x=1;x<k&&0===R[x];x++);for(C<x&&(C=x),E=1,y=1;y<=H;y++)if(E<<=1,(E-=R[y])<0)return-1;if(E>0&&(e===A||1!==k))return-1;for(j[1]=0,y=1;y<H;y++)j[y+1]=j[y]+R[y];for(w=0;w<r;w++)0!==t[n+w]&&(a[j[t[n+w]]++]=w);if(e===A?(M=U=a,p=19):e===V?(M=N,O-=257,U=L,W-=257,p=256):(M=P,U=T,p=-1),S=0,w=0,y=x,d=i,z=C,_=0,u=-1,h=(I=1<<C)-1,e===V&&I>F||e===B&&I>D)return 1;for(;;){f=y-_,a[w]<p?(m=0,v=a[w]):a[w]>p?(m=U[W+a[w]],v=M[O+a[w]]):(m=96,v=0),l=1<<y-_,x=c=1<<z;do{o[d+(S>>_)+(c-=l)]=f<<24|m<<16|v|0}while(0!==c);for(l=1<<y-1;S&l;)l>>=1;if(0!==l?(S&=l-1,S+=l):S=0,w++,0==--R[y]){if(y===k)break;y=t[n+a[w]]}if(y>C&&(S&h)!==u){for(0===_&&(_=C),d+=x,E=1<<(z=y-_);z+_<k&&!((E-=R[z+_])<=0);)z++,E<<=1;if(I+=1<<z,e===V&&I>F||e===B&&I>D)return 1;o[u=S&h]=C<<24|z<<16|d-i|0}}return 0!==S&&(o[d+S]=y-_<<24|64<<16|0),s.bits=C,0}var U=1,W=2,K=0,q=-2,G=1,$=12,Y=30,Z=852,X=592;function J(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Q(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=g(320),this.work=g(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ee(e,t){var n,r;return e?(r=new Q,e.state=r,r.window=null,n=function(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?q:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,function(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=G,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=b(Z),t.distcode=t.distdyn=b(X),t.sane=1,t.back=-1,K):q}(e)):q}(e))):q}(e,t),n!==K&&(e.state=null),n):q}var te,ne,re=!0;function oe(e){if(re){var t;for(te=b(512),ne=b(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(j(U,e.lens,0,288,te,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;j(W,e.lens,0,32,ne,0,e.work,{bits:5}),re=!1}e.lencode=te,e.lenbits=9,e.distcode=ne,e.distbits=5}function ie(e,t,n,r){var o,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=v(i.wsize)),r>=i.wsize?(f(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),f(i.window,t,n-r,o,i.wnext),(r-=o)?(f(i.window,t,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=o))),0}function ae(e,t){var n,r,o,i,a,s,l,c,u,h,d,p,m,g,b,y,w,x,k,C,z,_,I,M,O=0,H=v(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return q;(n=e.state).mode===$&&(n.mode=13),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,h=s,d=l,_=K;e:for(;;)switch(n.mode){case G:if(0===n.wrap){n.mode=13;break}for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(2&n.wrap&&35615===c){n.check=0,H[0]=255&c,H[1]=c>>>8&255,n.check=S(n.check,H,2,0),c=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=Y;break}if(8!=(15&c)){e.msg="unknown compression method",n.mode=Y;break}if(u-=4,z=8+(15&(c>>>=4)),0===n.wbits)n.wbits=z;else if(z>n.wbits){e.msg="invalid window size",n.mode=Y;break}n.dmax=1<<z,e.adler=n.check=1,n.mode=512&c?10:$,c=0,u=0;break;case 2:for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(n.flags=c,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=Y;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Y;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(H[0]=255&c,H[1]=c>>>8&255,n.check=S(n.check,H,2,0)),c=0,u=0,n.mode=3;case 3:for(;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(H[0]=255&c,H[1]=c>>>8&255,H[2]=c>>>16&255,H[3]=c>>>24&255,n.check=S(n.check,H,4,0)),c=0,u=0,n.mode=4;case 4:for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(H[0]=255&c,H[1]=c>>>8&255,n.check=S(n.check,H,2,0)),c=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(H[0]=255&c,H[1]=c>>>8&255,n.check=S(n.check,H,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((p=n.length)>s&&(p=s),p&&(n.head&&(z=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),f(n.head.extra,r,i,p,z)),512&n.flags&&(n.check=S(n.check,r,p,i)),s-=p,i+=p,n.length-=p),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;p=0;do{z=r[i+p++],n.head&&z&&n.length<65536&&(n.head.name+=String.fromCharCode(z))}while(z&&p<s);if(512&n.flags&&(n.check=S(n.check,r,p,i)),s-=p,i+=p,z)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;p=0;do{z=r[i+p++],n.head&&z&&n.length<65536&&(n.head.comment+=String.fromCharCode(z))}while(z&&p<s);if(512&n.flags&&(n.check=S(n.check,r,p,i)),s-=p,i+=p,z)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Y;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=$;break;case 10:for(;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}e.adler=n.check=J(c),c=0,u=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=$;case $:if(5===t||6===t)break e;case 13:if(n.last){c>>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}switch(n.last=1&c,u-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(oe(n),n.mode=20,6===t){c>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=Y}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Y;break}if(n.length=65535&c,c=0,u=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(p=n.length){if(p>s&&(p=s),p>l&&(p=l),0===p)break e;f(o,r,i,p,a),s-=p,i+=p,l-=p,a+=p,n.length-=p;break}n.mode=$;break;case 17:for(;u<14;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(n.nlen=257+(31&c),c>>>=5,u-=5,n.ndist=1+(31&c),c>>>=5,u-=5,n.ncode=4+(15&c),c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Y;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.lens[F[n.have++]]=7&c,c>>>=3,u-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},_=j(0,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,_){e.msg="invalid code lengths set",n.mode=Y;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;y=(O=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,w=65535&O,!((b=O>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(w<16)c>>>=b,u-=b,n.lens[n.have++]=w;else{if(16===w){for(M=b+2;u<M;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(c>>>=b,u-=b,0===n.have){e.msg="invalid bit length repeat",n.mode=Y;break}z=n.lens[n.have-1],p=3+(3&c),c>>>=2,u-=2}else if(17===w){for(M=b+3;u<M;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}u-=b,z=0,p=3+(7&(c>>>=b)),c>>>=3,u-=3}else{for(M=b+7;u<M;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}u-=b,z=0,p=11+(127&(c>>>=b)),c>>>=7,u-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Y;break}for(;p--;)n.lens[n.have++]=z}}if(n.mode===Y)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Y;break}if(n.lenbits=9,I={bits:n.lenbits},_=j(U,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,_){e.msg="invalid literal/lengths set",n.mode=Y;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},_=j(W,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,_){e.msg="invalid distances set",n.mode=Y;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,R(e,d),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===$&&(n.back=-1);break}for(n.back=0;y=(O=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,w=65535&O,!((b=O>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(y&&0==(240&y)){for(x=b,k=y,C=w;y=(O=n.lencode[C+((c&(1<<x+k)-1)>>x)])>>>16&255,w=65535&O,!(x+(b=O>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}c>>>=x,u-=x,n.back+=x}if(c>>>=b,u-=b,n.back+=b,n.length=w,0===y){n.mode=26;break}if(32&y){n.back=-1,n.mode=$;break}if(64&y){e.msg="invalid literal/length code",n.mode=Y;break}n.extra=15&y,n.mode=22;case 22:if(n.extra){for(M=n.extra;u<M;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;y=(O=n.distcode[c&(1<<n.distbits)-1])>>>16&255,w=65535&O,!((b=O>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(0==(240&y)){for(x=b,k=y,C=w;y=(O=n.distcode[C+((c&(1<<x+k)-1)>>x)])>>>16&255,w=65535&O,!(x+(b=O>>>24)<=u);){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}c>>>=x,u-=x,n.back+=x}if(c>>>=b,u-=b,n.back+=b,64&y){e.msg="invalid distance code",n.mode=Y;break}n.offset=w,n.extra=15&y,n.mode=24;case 24:if(n.extra){for(M=n.extra;u<M;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Y;break}n.mode=25;case 25:if(0===l)break e;if(p=d-l,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Y;break}p>n.wnext?(p-=n.wnext,m=n.wsize-p):m=n.wnext-p,p>n.length&&(p=n.length),g=n.window}else g=o,m=a-n.offset,p=n.length;p>l&&(p=l),l-=p,n.length-=p;do{o[a++]=g[m++]}while(--p);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;o[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(0===s)break e;s--,c|=r[i++]<<u,u+=8}if(d-=l,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=n.flags?S(n.check,o,d,a-d):E(n.check,o,d,a-d)),d=l,(n.flags?c:J(c))!==n.check){e.msg="incorrect data check",n.mode=Y;break}c=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,c+=r[i++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Y;break}c=0,u=0}n.mode=29;case 29:_=1;break e;case Y:_=-3;break e;case 31:return-4;default:return q}return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<Y&&(n.mode<27||4!==t))&&ie(e,e.output,e.next_out,d-e.avail_out),h-=e.avail_in,d-=e.avail_out,e.total_in+=h,e.total_out+=d,n.total+=d,n.wrap&&d&&(e.adler=n.check=n.flags?S(n.check,o,d,e.next_out-d):E(n.check,o,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===$?128:0)+(20===n.mode||15===n.mode?256:0),(0===h&&0===d||4===t)&&_===K&&(_=-5),_}function se(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?q:11===n.mode&&E(1,t,r,0)!==n.check?-3:ie(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,K):q}var le={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function ce(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function ue(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var he=Object.prototype.toString,de=function e(t){if(!(this instanceof e))return new e(t);this.options=c({chunkSize:16384,windowBits:0,to:""},t||{});var n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,0===n.windowBits&&(n.windowBits=-15)),!(n.windowBits>=0&&n.windowBits<16)||t&&t.windowBits||(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&0==(15&n.windowBits)&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ce,this.strm.avail_out=0;var r,o,i,a=ee(this.strm,n.windowBits);if(0!==a)throw new Error(le[a]);if(this.header=new ue,r=this.strm,o=this.header,r&&r.state&&(0==(2&(i=r.state).wrap)||(i.head=o,o.done=!1)),n.dictionary&&("string"==typeof n.dictionary?n.dictionary=k(n.dictionary):"[object ArrayBuffer]"===he.call(n.dictionary)&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&0!==(a=se(this.strm,n.dictionary))))throw new Error(le[a])};function pe(e){for(var t=e.length;--t>=0;)e[t]=0}de.prototype.push=function(e,t){var n,r,o,i,a,s,l=this.strm,c=this.options.chunkSize,h=this.options.dictionary,d=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=function(e){for(var t=new Uint8Array(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t}(e):"[object ArrayBuffer]"===he.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=v(c),l.next_out=0,l.avail_out=c),2===(n=ae(l,0))&&h&&(s="string"==typeof h?k(h):"[object ArrayBuffer]"===he.call(h)?new Uint8Array(h):h,n=se(this.strm,s)),-5===n&&!0===d&&(n=0,d=!1),1!==n&&0!==n)return this.onEnd(n),this.ended=!0,!1;l.next_out&&(0!==l.avail_out&&1!==n&&(0!==l.avail_in||4!==r&&2!==r)||("string"===this.options.to?(o=_(l.output,l.next_out),i=l.next_out-o,a=z(l.output,o),l.next_out=i,l.avail_out=c-i,i&&f(l.output,l.output,o,i,0),this.onData(a)):this.onData(u(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(d=!0)}while((l.avail_in>0||0===l.avail_out)&&1!==n);return 1===n&&(r=4),4===r?(n=function(e){if(!e||!e.state)return q;var t=e.state;return t.window&&(t.window=null),e.state=null,K}(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==r||(this.onEnd(0),l.avail_out=0,!0)},de.prototype.onData=function(e){this.chunks.push(e)},de.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=m(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var fe,me,ve,ge,be,ye,we,xe,ke,Ce=0,ze=1,_e=2,Ee=3,Ie=258,Se=29,Me=256,Oe=Me+1+Se,Re=30,He=19,Fe=2*Oe+1,De=15,Ae=16,Ve=7,Be=256,Ne=16,Le=17,Pe=18,Te=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],je=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ue=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],We=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ke=512;function qe(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function Ge(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function $e(e){return e<256?ve[e]:ve[256+(e>>>7)]}function Ye(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,n){e.bi_valid>Ae-n?(e.bi_buf|=t<<e.bi_valid&65535,Ye(e,e.bi_buf),e.bi_buf=t>>Ae-e.bi_valid,e.bi_valid+=n-Ae):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Xe(e,t,n){Ze(e,n[2*t],n[2*t+1])}function Je(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function Qe(e,t,n){var r,o,i=new Array(De+1),a=0;for(r=1;r<=De;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=Je(i[s]++,s))}}function et(e){var t;for(t=0;t<Oe;t++)e.dyn_ltree[2*t]=0;for(t=0;t<Re;t++)e.dyn_dtree[2*t]=0;for(t=0;t<He;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*Be]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function tt(e){e.bi_valid>8?Ye(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function nt(e,t,n,r){var o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]}function rt(e,t,n){for(var r=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&nt(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!nt(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r}function ot(e,t,n){var r,o,i,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===r?Xe(e,o,t):(Xe(e,(i=ge[o])+Me+1,t),0!==(a=Te[i])&&Ze(e,o-=be[i],a),Xe(e,i=$e(--r),n),0!==(a=je[i])&&Ze(e,r-=ye[i],a))}while(s<e.last_lit);Xe(e,Be,t)}function it(e,t){var n,r,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=Fe,n=0;n<l;n++)0!==i[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)rt(e,i,n);o=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],rt(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,rt(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,o,i,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(i=0;i<=De;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<Fe;n++)(i=l[2*l[2*(r=e.heap[n])+1]+1]+1)>f&&(i=f,m++),l[2*r+1]=i,r>c||(e.bl_count[i]++,a=0,r>=p&&(a=d[r-p]),s=l[2*r],e.opt_len+=s*(i+a),h&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==m){do{for(i=f-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(i=f;0!==i;i--)for(r=e.bl_count[i];0!==r;)(o=e.heap[--n])>c||(l[2*o+1]!==i&&(e.opt_len+=(i-l[2*o+1])*l[2*o],l[2*o+1]=i),r--)}}(e,t),Qe(i,c,e.bl_count)}function at(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[2*Ne]++):s<=10?e.bl_tree[2*Le]++:e.bl_tree[2*Pe]++,s=0,i=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4))}function st(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<l&&o===a)){if(s<c)do{Xe(e,o,e.bl_tree)}while(0!=--s);else 0!==o?(o!==i&&(Xe(e,o,e.bl_tree),s--),Xe(e,Ne,e.bl_tree),Ze(e,s-3,2)):s<=10?(Xe(e,Le,e.bl_tree),Ze(e,s-3,3)):(Xe(e,Pe,e.bl_tree),Ze(e,s-11,7));s=0,i=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4)}}var lt=!1;function ct(e,t,n,r){Ze(e,(Ce<<1)+(r?1:0),3),function(e,t,n,r){tt(e),Ye(e,n),Ye(e,~n),f(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}function ut(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(ge[n]+Me+1)]++,e.dyn_dtree[2*$e(t)]++),e.last_lit===e.lit_bufsize-1}var ht=3,dt=258,pt=dt+ht+1,ft=103,mt=113,vt=666;function gt(e,t){return e.msg=le[t],t}function bt(e){return(e<<1)-(e>4?9:0)}function yt(e){for(var t=e.length;--t>=0;)e[t]=0}function wt(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(f(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function xt(e,t){(function(e,t,n,r){var l,c,u=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<Me;t++)if(0!==e.dyn_ltree[2*t])return a;return i}(e)),it(e,e.l_desc),it(e,e.d_desc),u=function(e){var t;for(at(e,e.dyn_ltree,e.l_desc.max_code),at(e,e.dyn_dtree,e.d_desc.max_code),it(e,e.bl_desc),t=He-1;t>=3&&0===e.bl_tree[2*We[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),l=e.opt_len+3+7>>>3,(c=e.static_len+3+7>>>3)<=l&&(l=c)):l=c=n+5,n+4<=l&&-1!==t?ct(e,t,n,r):e.strategy===o||c===l?(Ze(e,(ze<<1)+(r?1:0),3),ot(e,fe,me)):(Ze(e,(_e<<1)+(r?1:0),3),function(e,t,n,r){var o;for(Ze(e,t-257,5),Ze(e,n-1,5),Ze(e,r-4,4),o=0;o<r;o++)Ze(e,e.bl_tree[2*We[o]+1],3);st(e,e.dyn_ltree,t-1),st(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),ot(e,e.dyn_ltree,e.dyn_dtree)),et(e),r&&tt(e)})(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,wt(e.strm)}function kt(e,t){e.pending_buf[e.pending++]=t}function Ct(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function zt(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-pt?e.strstart-(e.w_size-pt):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+dt,p=c[i+a-1],f=c[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===f&&c[n+a-1]===p&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<d);if(r=dt-(d-i),i=d-dt,r>a){if(e.match_start=t,a=r,r>=s)break;p=c[i+a-1],f=c[i+a]}}}while((t=h[t&u])>l&&0!=--o);return a<=e.lookahead?a:e.lookahead}function _t(e){var t,n,r,o,i,a,s,l,c,u,h=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-pt)){f(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=h?r-h:0}while(--n);t=n=h;do{r=e.prev[--t],e.prev[t]=r>=h?r-h:0}while(--n);o+=h}if(0===e.strm.avail_in)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,c=o,u=void 0,(u=a.avail_in)>c&&(u=c),n=0===u?0:(a.avail_in-=u,f(s,a.input,a.next_in,u,l),1===a.state.wrap?a.adler=E(a.adler,s,u,l):2===a.state.wrap&&(a.adler=S(a.adler,s,u,l)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=ht)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+ht-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<ht)););}while(e.lookahead<pt&&0!==e.strm.avail_in)}function Et(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(_t(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,xt(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-pt&&(xt(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(xt(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(xt(e,!1),e.strm.avail_out),1)}function It(e,t){for(var n,r;;){if(e.lookahead<pt){if(_t(e),e.lookahead<pt&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=ht&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ht-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-pt&&(e.match_length=zt(e,n)),e.match_length>=ht)if(r=ut(e,e.strstart-e.match_start,e.match_length-ht),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ht){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ht-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=ut(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(xt(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<ht-1?e.strstart:ht-1,4===t?(xt(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(xt(e,!1),0===e.strm.avail_out)?1:2}function St(e,t){for(var n,r,o;;){if(e.lookahead<pt){if(_t(e),e.lookahead<pt&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=ht&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ht-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ht-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-pt&&(e.match_length=zt(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===ht&&e.strstart-e.match_start>4096)&&(e.match_length=ht-1)),e.prev_length>=ht&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-ht,r=ut(e,e.strstart-1-e.prev_match,e.prev_length-ht),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ht-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=ht-1,e.strstart++,r&&(xt(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=ut(e,0,e.window[e.strstart-1]))&&xt(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=ut(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ht-1?e.strstart:ht-1,4===t?(xt(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(xt(e,!1),0===e.strm.avail_out)?1:2}function Mt(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}var Ot=function(){var e=[new Mt(0,0,0,0,Et),new Mt(4,4,8,4,It),new Mt(4,5,16,8,It),new Mt(4,6,32,32,It),new Mt(4,4,16,16,St),new Mt(8,16,32,32,St),new Mt(8,16,128,128,St),new Mt(8,32,128,256,St),new Mt(32,128,258,1024,St),new Mt(32,258,258,4096,St)];return Ot=function(){return e},e};function Rt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=g(1146),this.dyn_dtree=g(122),this.bl_tree=g(78),yt(this.dyn_ltree),yt(this.dyn_dtree),yt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=g(16),this.heap=g(573),yt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=g(573),yt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ht(e){var t=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=s,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:mt,e.adler=2===t.wrap?0:1,t.last_flush=0,function(e){lt||(function(){var e,t,n,r,o,i=new Array(De+1);for(pe(fe=new Array(2*(Oe+2))),pe(me=new Array(2*Re)),pe(ve=new Array(Ke)),pe(ge=new Array(Ie-Ee+1)),pe(be=new Array(Se)),pe(ye=new Array(Re)),n=0,r=0;r<Se-1;r++)for(be[r]=n,e=0;e<1<<Te[r];e++)ge[n++]=r;for(ge[n-1]=r,o=0,r=0;r<16;r++)for(ye[r]=o,e=0;e<1<<je[r];e++)ve[o++]=r;for(o>>=7;r<Re;r++)for(ye[r]=o<<7,e=0;e<1<<je[r]-7;e++)ve[256+o++]=r;for(t=0;t<=De;t++)i[t]=0;for(e=0;e<=143;)fe[2*e+1]=8,e++,i[8]++;for(;e<=255;)fe[2*e+1]=9,e++,i[9]++;for(;e<=279;)fe[2*e+1]=7,e++,i[7]++;for(;e<=287;)fe[2*e+1]=8,e++,i[8]++;for(Qe(fe,Oe+1,i),e=0;e<Re;e++)me[2*e+1]=5,me[2*e]=Je(e,5);we=new qe(fe,Te,Me+1,Oe,De),xe=new qe(me,je,0,Re,De),ke=new qe(new Array(0),Ue,0,He,Ve)}(),lt=!0),e.l_desc=new Ge(e.dyn_ltree,we),e.d_desc=new Ge(e.dyn_dtree,xe),e.bl_desc=new Ge(e.bl_tree,ke),e.bi_buf=0,e.bi_valid=0,et(e)}(t),0):gt(e,r)}(e);return 0===t&&function(e){e.window_size=2*e.w_size,yt(e.head);var t=Ot();e.max_lazy_match=t[e.level].max_lazy,e.good_match=t[e.level].good_length,e.nice_match=t[e.level].nice_length,e.max_chain_length=t[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ht-1,e.match_available=0,e.ins_h=0}(e.state),t}function Ft(e,t){var n,o,i,a;if(!e||!e.state||t>5||t<0)return e?gt(e,r):r;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||o.status===vt&&4!==t)return gt(e,0===e.avail_out?-5:r);if(o.strm=e,n=o.last_flush,o.last_flush=t,42===o.status)if(2===o.wrap)e.adler=0,kt(o,31),kt(o,139),kt(o,8),o.gzhead?(kt(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),kt(o,255&o.gzhead.time),kt(o,o.gzhead.time>>8&255),kt(o,o.gzhead.time>>16&255),kt(o,o.gzhead.time>>24&255),kt(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),kt(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(kt(o,255&o.gzhead.extra.length),kt(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=S(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(kt(o,0),kt(o,0),kt(o,0),kt(o,0),kt(o,0),kt(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),kt(o,3),o.status=mt);else{var s=8+(o.w_bits-8<<4)<<8;s|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(s|=32),s+=31-s%31,o.status=mt,Ct(o,s),0!==o.strstart&&(Ct(o,e.adler>>>16),Ct(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(i=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>i&&(e.adler=S(e.adler,o.pending_buf,o.pending-i,i)),wt(e),i=o.pending,o.pending!==o.pending_buf_size));)kt(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>i&&(e.adler=S(e.adler,o.pending_buf,o.pending-i,i)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){i=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>i&&(e.adler=S(e.adler,o.pending_buf,o.pending-i,i)),wt(e),i=o.pending,o.pending===o.pending_buf_size)){a=1;break}a=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,kt(o,a)}while(0!==a);o.gzhead.hcrc&&o.pending>i&&(e.adler=S(e.adler,o.pending_buf,o.pending-i,i)),0===a&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){i=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>i&&(e.adler=S(e.adler,o.pending_buf,o.pending-i,i)),wt(e),i=o.pending,o.pending===o.pending_buf_size)){a=1;break}a=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,kt(o,a)}while(0!==a);o.gzhead.hcrc&&o.pending>i&&(e.adler=S(e.adler,o.pending_buf,o.pending-i,i)),0===a&&(o.status=ft)}else o.status=ft;if(o.status===ft&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&wt(e),o.pending+2<=o.pending_buf_size&&(kt(o,255&e.adler),kt(o,e.adler>>8&255),e.adler=0,o.status=mt)):o.status=mt),0!==o.pending){if(wt(e),0===e.avail_out)return o.last_flush=-1,0}else if(0===e.avail_in&&bt(t)<=bt(n)&&4!==t)return gt(e,-5);if(o.status===vt&&0!==e.avail_in)return gt(e,-5);if(0!==e.avail_in||0!==o.lookahead||0!==t&&o.status!==vt){var l=2===o.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(_t(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=ut(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(xt(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(xt(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(xt(e,!1),0===e.strm.avail_out)?1:2}(o,t):3===o.strategy?function(e,t){for(var n,r,o,i,a=e.window;;){if(e.lookahead<=dt){if(_t(e),e.lookahead<=dt&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=ht&&e.strstart>0&&(r=a[o=e.strstart-1])===a[++o]&&r===a[++o]&&r===a[++o]){i=e.strstart+dt;do{}while(r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&o<i);e.match_length=dt-(i-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ht?(n=ut(e,1,e.match_length-ht),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=ut(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(xt(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(xt(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(xt(e,!1),0===e.strm.avail_out)?1:2}(o,t):Ot()[o.level].func(o,t);if(3!==l&&4!==l||(o.status=vt),1===l||3===l)return 0===e.avail_out&&(o.last_flush=-1),0;if(2===l&&(1===t?function(e){Ze(e,ze<<1,3),Xe(e,Be,fe),function(e){16===e.bi_valid?(Ye(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}(o):5!==t&&(ct(o,0,0,!1),3===t&&(yt(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),wt(e),0===e.avail_out))return o.last_flush=-1,0}return 4!==t?0:o.wrap<=0?1:(2===o.wrap?(kt(o,255&e.adler),kt(o,e.adler>>8&255),kt(o,e.adler>>16&255),kt(o,e.adler>>24&255),kt(o,255&e.total_in),kt(o,e.total_in>>8&255),kt(o,e.total_in>>16&255),kt(o,e.total_in>>24&255)):(Ct(o,e.adler>>>16),Ct(o,65535&e.adler)),wt(e),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)}var Dt=Object.prototype.toString,At=function(e){this.options=c({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ce,this.strm.avail_out=0;var n,i,a=function(e,t,n,i,a,s){if(!e)return r;var l=1;if(-1===t&&(t=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),a<1||a>9||8!==n||i<8||i>15||t<0||t>9||s<0||s>o)return gt(e,r);8===i&&(i=9);var c=new Rt;return e.state=c,c.strm=e,c.wrap=l,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+ht-1)/ht),c.window=v(2*c.w_size),c.head=g(c.hash_size),c.prev=g(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=v(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=s,c.method=n,Ht(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==a)throw new Error(le[a]);if(t.header&&(n=this.strm,i=t.header,n&&n.state&&(2!==n.state.wrap||(n.state.gzhead=i))),t.dictionary){var s;if(s="string"==typeof t.dictionary?k(t.dictionary):"[object ArrayBuffer]"===Dt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,a=function(e,t){var n,o,i,a,s,l,c,u,h=t.length;if(!e||!e.state)return r;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return r;for(1===a&&(e.adler=E(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===a&&(yt(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=v(n.w_size),f(u,t,h-n.w_size,n.w_size,0),t=u,h=n.w_size),s=e.avail_in,l=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,_t(n);n.lookahead>=ht;){o=n.strstart,i=n.lookahead-(ht-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[o+ht-1])&n.hash_mask,n.prev[o&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=o,o++}while(--i);n.strstart=o,n.lookahead=ht-1,_t(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=ht-1,n.match_available=0,e.next_in=l,e.input=c,e.avail_in=s,n.wrap=a,0}(this.strm,s),0!==a)throw new Error(le[a]);this._dict_set=!0}};At.prototype.push=function(e,t){var n,o,i,a=this.strm,s=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=k(e):"[object ArrayBuffer]"===Dt.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=v(s),a.next_out=0,a.avail_out=s),1!==(n=Ft(a,o))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(C(i=u(a.output,a.next_out),i.length)):this.onData(u(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==n);return 4===o?(n=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==ft&&t!==mt&&t!==vt?gt(e,r):(e.state=null,t===mt?gt(e,-3):0):r}(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==o||(this.onEnd(0),a.avail_out=0,!0)},At.prototype.onData=function(e){this.chunks.push(e)},At.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=m(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Vt={Promise},Bt={base64:!0,array:!0,string:!0,nodebuffer:!1,nodestream:!1,get arraybuffer(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},get uint8array(){return"undefined"!=typeof Uint8Array},get blob(){return Nt()}},Nt=function(){var e;if("undefined"==typeof ArrayBuffer)e=!1;else{var t=new ArrayBuffer(0);try{e=0===new Blob([t],{type:"application/zip"}).size}catch(t){e=!1}}return Nt=function(){return e},e},Lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Pt(e){return e}function Tt(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function jt(e,t,n){var r=[],o=0,i=e.length;if(i<=n)return String.fromCharCode.apply(null,e);for(;o<i;)"array"===t?r.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+n,i)))):r.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+n,i)))),o+=n;return r.join("")}var Ut=function(){var e;try{e=Bt.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){e=!1}return Ut=function(){return e},e};function Wt(e){var t=65536,n=Yt(e),r=!0;if("uint8array"===n&&(r=Ut()),r)for(;t>1;)try{return jt(e,n,t)}catch(e){t=Math.floor(t/2)}return function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}(e)}var Kt=Wt;function qt(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var Gt={string:{string:Pt,array:function(e){return Tt(e,new Array(e.length))},arraybuffer:function(e){return Gt.string.uint8array(e).buffer},uint8array:function(e){return Tt(e,new Uint8Array(e.length))}},array:{string:Wt,array:Pt,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)}},arraybuffer:{string:function(e){return Wt(new Uint8Array(e))},array:function(e){return qt(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:Pt,uint8array:function(e){return new Uint8Array(e)}},uint8array:{string:Wt,array:function(e){return qt(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:Pt}},$t=function(e,t){if(t||(t=""),!e)return t;Zt(e);var n=Yt(t);return Gt[n][e](t)},Yt=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":Bt.uint8array&&e instanceof Uint8Array?"uint8array":Bt.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},Zt=function(e){if(!Bt[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},Xt=65535,Jt=-1,Qt=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},en=function(e,t,n){setTimeout((function(){e.apply(n||null,t||[])}),0)},tn=function(){var e,t,n=arguments,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.hasOwnProperty.call(n[e],t)&&void 0===r[t]&&(r[t]=n[e][t]);return r},nn=function(e,t,n,r,o){return Vt.Promise.resolve(t).then((function(e){return Bt.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new Vt.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var i,a=Yt(t);return a?("arraybuffer"===a?t=$t("uint8array",t):"string"===a&&(o?t=function(e){var t,n,r,o,i,a,s=0,l=0;if("data:"===e.substr(0,5))throw new Error("Invalid base64 input, it looks like a data url.");var c,u=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===Lt.charAt(64)&&u--,e.charAt(e.length-2)===Lt.charAt(64)&&u--,u%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=Bt.uint8array?new Uint8Array(0|u):new Array(0|u);s<e.length;)t=Lt.indexOf(e.charAt(s++))<<2|(o=Lt.indexOf(e.charAt(s++)))>>4,n=(15&o)<<4|(i=Lt.indexOf(e.charAt(s++)))>>2,r=(3&i)<<6|(a=Lt.indexOf(e.charAt(s++))),c[l++]=t,64!==i&&(c[l++]=n),64!==a&&(c[l++]=r);return c}(t):n&&!0!==r&&(t=Tt(i=t,Bt.uint8array?new Uint8Array(i.length):new Array(i.length)))),t):Vt.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))},rn=function(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null};rn.prototype.push=function(e){this.emit("data",e)},rn.prototype.end=function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},rn.prototype.error=function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},rn.prototype.on=function(e,t){return this._listeners[e].push(t),this},rn.prototype.cleanUp=function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},rn.prototype.emit=function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},rn.prototype.pipe=function(e){return e.registerPrevious(this)},rn.prototype.registerPrevious=function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},rn.prototype.pause=function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},rn.prototype.resume=function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},rn.prototype.flush=function(){},rn.prototype.processChunk=function(e){this.push(e)},rn.prototype.withStreamInfo=function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},rn.prototype.mergeStreamInfo=function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},rn.prototype.lock=function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},rn.prototype.toString=function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e};var on=function(e){for(var t=new Array(256),n=0;n<256;n++)t[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;return t[254]=t[254]=1,on=function(e){return t[e]},t[e]},an=function(e){return function(e){var t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=Bt.uint8array?new Uint8Array(s):new Array(s),i=0,o=0;i<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t}(e)},sn=function(e){return function(e){var t,n,r,o,i=e.length,a=new Array(2*i);for(n=0,t=0;t<i;)if((r=e[t++])<128)a[n++]=r;else if((o=on(r))>4)a[n++]=65533,t+=o-1;else{for(r&=2===o?31:3===o?15:7;o>1&&t<i;)r=r<<6|63&e[t++],o--;o>1?a[n++]=65533:r<65536?a[n++]=r:(r-=65536,a[n++]=55296|r>>10&1023,a[n++]=56320|1023&r)}return a.length!==n&&(a.subarray?a=a.subarray(0,n):a.length=n),Kt(a)}(e=$t(Bt.uint8array?"uint8array":"array",e))},ln=function(e){function t(){e.call(this,"utf-8 decode"),this.leftOver=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){var t=$t(Bt.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Bt.uint8array){var n=t;(t=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var r=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+on(e[n])>t?n:t}(t),o=t;r!==t.length&&(Bt.uint8array?(o=t.subarray(0,r),this.leftOver=t.subarray(r,t.length)):(o=t.slice(0,r),this.leftOver=t.slice(r,t.length))),this.push({data:sn(o),meta:e.meta})},t.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:sn(this.leftOver),meta:{}}),this.leftOver=null)},t}(rn),cn=function(e){function t(){e.call(this,"utf-8 encode")}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:an(e.data),meta:e.meta})},t}(rn),un=function(e){function t(t){e.call(this,"ConvertWorker to "+t),this.destType=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:$t(this.destType,e.data),meta:e.meta})},t}(rn);function hn(e,t){return new Vt.Promise((function(n,r){var o=[],i=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",(function(e,n){o.push(e),t&&t(n)})).on("error",(function(e){o=[],r(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return function(e,t){return Zt("blob"),new Blob([e],{type:t})}($t("arraybuffer",t),n);case"base64":return function(e){for(var t,n,r,o,i,a,s,l=[],c=0,u=e.length,h=u,d="string"!=typeof e;c<e.length;)h=u-c,d?(t=e[c++],n=c<u?e[c++]:0,r=c<u?e[c++]:0):(t=e.charCodeAt(c++),n=c<u?e.charCodeAt(c++):0,r=c<u?e.charCodeAt(c++):0),o=t>>2,i=(3&t)<<4|n>>4,a=h>1?(15&n)<<2|r>>6:64,s=h>2?63&r:64,l.push(Lt.charAt(o)+Lt.charAt(i)+Lt.charAt(a)+Lt.charAt(s));return l.join("")}(t);default:return $t(e,t)}}(a,function(e,t){var n,r=0,o=null,i=0;for(n=0;n<t.length;n++)i+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(i),n=0;n<t.length;n++)o.set(t[n],r),r+=t[n].length;return o;default:throw new Error("concat : unsupported type '"+e+"'")}}(i,o),s);n(e)}catch(e){r(e)}o=[]})).resume()}))}var dn=function(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,Zt(r),this._worker=e.pipe(new un(r)),e.lock()}catch(e){this._worker=new rn("error"),this._worker.error(e)}};dn.prototype.accumulate=function(e){return hn(this,e)},dn.prototype.on=function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){en(t,arguments,n)})),this},dn.prototype.resume=function(){return en(this._worker.resume,[],this._worker),this},dn.prototype.pause=function(){return this._worker.pause(),this};var pn=Object.freeze({__proto__:null,base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null}),fn=function(e){function t(t){e.call(this,"DataWorker");var n=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(e){n.dataIsReady=!0,n.data=e,n.max=e&&e.length||0,n.type=Yt(e),n.isPaused||n._tickAndRepeat()}),(function(e){n.error(e)}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this.data=null},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,en(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(en(this._tickAndRepeat,[],this),this._tickScheduled=!0))},t.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t}(rn),mn=function(e){function t(t){e.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(t){if(t){var n=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=n+t.data.length}e.prototype.processChunk.call(this,t)},t}(rn),vn=function(){for(var e=[],t=0;t<256;t++){for(var n=t,r=0;r<8;r++)n=1&n?3988292384^n>>>1:n>>>1;e[t]=n}return vn=function(){return e},e};function gn(e,t){return void 0!==e&&e.length?"string"!==Yt(e)?function(e,t,n,r){var o=vn(),i=0+n;e^=-1;for(var a=0;a<i;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}(0|t,e,e.length):function(e,t,n,r){var o=vn(),i=0+n;e^=-1;for(var a=0;a<i;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length):0}var bn=function(e){function t(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.streamInfo.crc32=gn(e.data,this.streamInfo.crc32||0),this.push(e)},t}(rn),yn=function(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o};yn.prototype.getContentWorker=function(){var e=new fn(Vt.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new mn("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},yn.prototype.getCompressedWorker=function(){return new fn(Vt.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)},yn.createWorkerFrom=function(e,t,n){return e.pipe(new bn).pipe(new mn("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new mn("compressedSize")).withStreamInfo("compression",t)};var wn=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};wn.prototype.internalStream=function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new cn)),!o&&r&&(t=t.pipe(new ln))}catch(e){(t=new rn("error")).error(e)}return new dn(t,n,"")},wn.prototype.async=function(e,t){return this.internalStream(e).accumulate(t)},wn.prototype._compressWorker=function(e,t){if(this._data instanceof yn&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new cn)),yn.createWorkerFrom(n,e,t)},wn.prototype._decompressWorker=function(){return this._data instanceof yn?this._data.getContentWorker():this._data instanceof rn?this._data:new fn(this._data)};var xn=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?"uint8array":"array";xn=function(){return e}},kn=function(e){function t(t,n){e.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=n,this.meta={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push($t(xn(),e.data),!1)},t.prototype.flush=function(){e.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this._pako=null},t.prototype._createPako=function(){var e=this,t={raw:!0,level:this._pakoOptions.level||-1};this._pako="Deflate"===this._pakoAction?new At(t):new de(t),this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t}(rn),Cn={STORE:{magic:"\0\0",compressWorker:function(){return new rn("STORE compression")},uncompressWorker:function(){return new rn("STORE decompression")}},DEFLATE:{magic:"\b\0",compressWorker:function(e){return new kn("Deflate",e)},uncompressWorker:function(){return new kn("Inflate",{})}}},zn="PK",_n="PK",En="PK",In="PK",Sn="PK",Mn=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},On=function(e,t,n,r,o,i){var a,s,l=e.file,c=e.compression,u=i!==an,h=$t("string",i(l.name)),d=$t("string",an(l.name)),p=l.comment,f=$t("string",i(p)),m=$t("string",an(p)),v=d.length!==l.name.length,g=m.length!==p.length,b="",y="",w="",x=l.dir,k=l.date,C={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(C.crc32=e.crc32,C.compressedSize=e.compressedSize,C.uncompressedSize=e.uncompressedSize);var z=0;t&&(z|=8),u||!v&&!g||(z|=2048);var _,E,I,S=0,M=0;x&&(S|=16),"UNIX"===o?(M=798,S|=(_=l.unixPermissions,E=x,I=_,_||(I=E?16893:33204),(65535&I)<<16)):(M=20,S|=63&(l.dosPermissions||0)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,s=k.getUTCFullYear()-1980,s<<=4,s|=k.getUTCMonth()+1,s<<=5,s|=k.getUTCDate(),v&&(y=Mn(1,1)+Mn(gn(h),4)+d,b+="up"+Mn(y.length,2)+y),g&&(w=Mn(1,1)+Mn(gn(f),4)+m,b+="uc"+Mn(w.length,2)+w);var O="";return O+="\n\0",O+=Mn(z,2),O+=c.magic,O+=Mn(a,2),O+=Mn(s,2),O+=Mn(C.crc32,4),O+=Mn(C.compressedSize,4),O+=Mn(C.uncompressedSize,4),O+=Mn(h.length,2),O+=Mn(b.length,2),{fileRecord:zn+O+h+b,dirRecord:_n+Mn(M,2)+O+Mn(f.length,2)+"\0\0\0\0"+Mn(S,4)+Mn(r,4)+h+b+f}},Rn=function(e){return"PK\b"+Mn(e.crc32,4)+Mn(e.compressedSize,4)+Mn(e.uncompressedSize,4)},Hn=function(e){function t(t,n,r,o){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=n,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(t){var n=t.meta.percent||0,r=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,e.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(n+100*(r-o-1))/r:100}}))},t.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=On(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},t.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=On(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:Rn(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},t.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=function(e,t,n,r,o){var i=$t("string",o(r));return En+"\0\0\0\0"+Mn(e,2)+Mn(e,2)+Mn(t,4)+Mn(n,4)+Mn(i.length,2)+i}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},t.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},t.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},t.prototype.error=function(t){var n=this._sources;if(!e.prototype.error.call(this,t))return!1;for(var r=0;r<n.length;r++)try{n[r].error(t)}catch(e){}return!0},t.prototype.lock=function(){e.prototype.lock.call(this);for(var t=this._sources,n=0;n<t.length;n++)t[n].lock()},t}(rn),Fn=function(e){this.data=e,this.length=e.length,this.index=0,this.zero=0};Fn.prototype.checkOffset=function(e){this.checkIndex(this.index+e)},Fn.prototype.checkIndex=function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},Fn.prototype.setIndex=function(e){this.checkIndex(e),this.index=e},Fn.prototype.skip=function(e){this.setIndex(this.index+e)},Fn.prototype.byteAt=function(e){},Fn.prototype.readInt=function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},Fn.prototype.readString=function(e){return $t("string",this.readData(e))},Fn.prototype.readData=function(e){},Fn.prototype.lastIndexOfSignature=function(e){},Fn.prototype.readAndCheckSignature=function(e){},Fn.prototype.readDate=function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))};var Dn=function(e){function t(t){e.call(this,t);for(var n=0;n<this.data.length;n++)t[n]=255&t[n]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data[this.zero+e]},t.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},t.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(Fn),An=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},t.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},t.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},t.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(Fn),Vn=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(Dn);function Bn(e){var t=Yt(e);return Zt(t),"string"!==t||Bt.uint8array?Bt.uint8array?new Vn($t("uint8array",e)):new Dn($t("array",e)):new An(e)}var Nn=function(e,t){this.options=e,this.loadOptions=t};Nn.prototype.isEncrypted=function(){return 1==(1&this.bitFlag)},Nn.prototype.useUTF8=function(){return 2048==(2048&this.bitFlag)},Nn.prototype.readLocalPart=function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in Cn)if(Cn.hasOwnProperty(t)&&Cn[t].magic===e)return Cn[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+Qt(this.compressionMethod)+" unknown (inner file : "+$t("string",this.fileName)+")");this.decompressed=new yn(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},Nn.prototype.readCentralPart=function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},Nn.prototype.processAttributes=function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},Nn.prototype.parseZIP64ExtraField=function(e){if(this.extraFields[1]){var t=Bn(this.extraFields[1].value);this.uncompressedSize===Jt&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===Jt&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===Jt&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===Jt&&(this.diskNumberStart=t.readInt(4))}},Nn.prototype.readExtraFields=function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<o;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r}},Nn.prototype.handleUTF8=function(){var e=Bt.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=sn(this.fileName),this.fileCommentStr=sn(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=$t(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=$t(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},Nn.prototype.findExtraFieldUnicodePath=function(){var e=this.extraFields[28789];if(e){var t=Bn(e.value);return 1!==t.readInt(1)||gn(this.fileName)!==t.readInt(4)?null:sn(t.readData(e.length-5))}return null},Nn.prototype.findExtraFieldUnicodeComment=function(){var e=this.extraFields[25461];if(e){var t=Bn(e.value);return 1!==t.readInt(1)||gn(this.fileComment)!==t.readInt(4)?null:sn(t.readData(e.length-5))}return null};var Ln=function(e){this.files=[],this.loadOptions=e};function Pn(e){return new Vt.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new bn);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}function Tn(e,t){var n=this;return t=tn(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:sn}),nn("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new Ln(t);return n.load(e),n})).then((function(e){var n=[Vt.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(Pn(r[o]));return Vt.Promise.all(n)})).then((function(e){for(var r=e.shift(),o=r.files,i=0;i<o.length;i++){var a=o[i];n.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders})}return r.zipComment.length&&(n.comment=r.zipComment),n}))}Ln.prototype.checkSignature=function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Qt(t)+", expected "+Qt(e)+")")}},Ln.prototype.isSignature=function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},Ln.prototype.readBlockEndOfCentral=function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=Bt.uint8array?"uint8array":"array",n=$t(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},Ln.prototype.readBlockZip64EndOfCentral=function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},Ln.prototype.readBlockZip64EndOfCentralLocator=function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},Ln.prototype.readLocalFiles=function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(zn),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},Ln.prototype.readCentralDir=function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(_n);)(e=new Nn({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},Ln.prototype.readEndOfCentral=function(){var e=this.reader.lastIndexOfSignature(En);if(e<0)throw this.isSignature(0,zn)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(En),this.readBlockEndOfCentral(),this.diskNumber===Xt||this.diskWithCentralDirStart===Xt||this.centralDirRecordsOnThisDisk===Xt||this.centralDirRecords===Xt||this.centralDirSize===Jt||this.centralDirOffset===Jt){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(In))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(In),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Sn)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Sn),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Sn),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,_n)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},Ln.prototype.prepareReader=function(e){this.reader=Bn(e)},Ln.prototype.load=function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()};var jn=function(e,t,n){var r,o=Yt(t),i=tn(n||{},pn);i.date=i.date||new Date,null!==i.compression&&(i.compression=i.compression.toUpperCase()),"string"==typeof i.unixPermissions&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(e=Wn(e)),i.createFolders&&(r=Un(e))&&Kn.call(this,r,!0);var a="string"===o&&!1===i.binary&&!1===i.base64;n&&void 0!==n.binary||(i.binary=!a),(t instanceof yn&&0===t.uncompressedSize||i.dir||!t||0===t.length)&&(i.base64=!1,i.binary=!0,t="",i.compression="STORE",o="string");var s;s=t instanceof yn||t instanceof rn?t:nn(e,t,i.binary,i.optimizedBinaryString,i.base64);var l=new wn(e,s,i);this.files[e]=l},Un=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Wn=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},Kn=function(e,t){return t=void 0===t||t,e=Wn(e),this.files[e]||jn.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function qn(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var Gn=function e(){if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new e;for(var n in this)"function"!=typeof this[n]&&(t[n]=this[n]);return t}},$n={support:{configurable:!0},defaults:{configurable:!0},version:{configurable:!0},external:{configurable:!0}};Gn.prototype.load=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Gn.prototype.forEach=function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},Gn.prototype.filter=function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},Gn.prototype.file=function(e,t,n){if(1===arguments.length){if(qn(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,jn.call(this,e,t,n),this},Gn.prototype.folder=function(e){if(!e)return this;if(qn(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=Kn.call(this,t),r=this.clone();return r.root=n.name,r},Gn.prototype.remove=function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},Gn.prototype.generate=function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Gn.prototype.generateInternalStream=function(e){var t,n={};try{if((n=tn(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:an})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");Zt(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),t=function(e,t,n){var r=new Hn(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,n){o++;var i=function(e,t){var n=e||t,r=Cn[n];if(!r)throw new Error(n+" is not a valid compression method !");return r}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},s=n.dir,l=n.date;n._compressWorker(i,a).withStreamInfo("file",{name:e,dir:s,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(r)})),r.entriesCount=o}catch(e){r.error(e)}return r}(this,n,n.comment||this.comment||"")}catch(e){(t=new rn("error")).error(e)}return new dn(t,n.type||"string",n.mimeType)},Gn.prototype.generateAsync=function(e,t){return this.generateInternalStream(e).accumulate(t)},Gn.prototype.loadAsync=function(e,t){return Tn.apply(this,[e,t])},Gn.loadAsync=function(e,t){return(new Gn).loadAsync(e,t)},$n.support.get=function(){return Bt},$n.defaults.get=function(){return pn},$n.version.get=function(){return"3.2.2-esm"},$n.external.get=function(){return Vt},Object.defineProperties(Gn,$n)},2202:(e,t,n)=>{function r(e,t,n){void 0===n&&(n={});var r=l;if(n.forceProxy&&!n.proxyURL)throw new Error("No proxyURL is set, but forceProxy is true");n.forceProxy||(i()&&(r=s),navigator.msSaveBlob&&(r=a)),r(e,t,n)}n.r(t),n.d(t,{encodeBase64:()=>h,saveAs:()=>r});var o=function(){return document.createElement("a")},i=function(){return"download"in o()};function a(e,t){var n=e;if("string"==typeof e){for(var r=e.split(";base64,"),o=r[0],i=atob(r[1]),a=new Uint8Array(i.length),s=0;s<i.length;s++)a[s]=i.charCodeAt(s);n=new Blob([a.buffer],{type:o})}navigator.msSaveBlob(n,t)}function s(e,t){var n=e;window.Blob&&e instanceof Blob&&(n=URL.createObjectURL(e));var r=o();r.download=t,r.href=n;var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(i),setTimeout((function(){return URL.revokeObjectURL(n)}))}function l(e,t,n){if(n.proxyURL){var r=document.createElement("form");r.setAttribute("action",n.proxyURL),r.setAttribute("method","POST"),r.setAttribute("target",n.proxyTarget||"_self");var o=n.proxyData||{};o.fileName=t;var i=e.split(";base64,");for(var a in o.contentType=i[0].replace("data:",""),o.base64=i[1],o)if(o.hasOwnProperty(a)){var s=document.createElement("input");s.setAttribute("type","hidden"),s.setAttribute("name",a),s.setAttribute("value",o[a]),r.appendChild(s)}document.body.appendChild(r),r.submit(),document.body.removeChild(r)}}var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=String.fromCharCode;function h(e){for(var t,n,r,o,i,a,s,l=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=u(r):r<2048?(t+=u(192|r>>>6),t+=u(128|63&r)):r<65536&&(t+=u(224|r>>>12),t+=u(128|r>>>6&63),t+=u(128|63&r))}return t}(e),h="",d=0;d<l.length;)o=(t=l.charCodeAt(d++))>>2,i=(3&t)<<4|(n=l.charCodeAt(d++))>>4,a=(15&n)<<2|(r=l.charCodeAt(d++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),h=h+c.charAt(o)+c.charAt(i)+c.charAt(a)+c.charAt(s);return h}},6904:(e,t,n)=>{n.r(t),n.d(t,{ExcelExporter:()=>m,IntlService:()=>b,TemplateService:()=>i,Workbook:()=>G,Worksheet:()=>T});var r={compile:function(e){return e}},o=function(){};o.register=function(e){r=e},o.compile=function(e){return r.compile(e)};const i=o;var a=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,s={},l="undefined";function c(e){if(s[e])return s[e];var t=[];return e.replace(a,(function(e,n,r,o){t.push(typeof n!==l?n:r||o)})),s[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},s[e]}function u(e,t){return e.reduce((function(e,n,r){var o=t(n,r);return null!=o&&e.push(o),e}),[])}function h(e){return e.title+": "+e.value}function d(e,t){for(var n=[],r=0;r<e;r++)n.push(t(r));return n}function p(e){return e.id}s[l]=function(e){return e};var f=function(e){e.columns=this._trimColumns(e.columns||[]),this.allColumns=u(this._leafColumns(e.columns||[]),this._prepareColumn),this.columns=this._visibleColumns(this.allColumns),this.options=e,this.data=e.data||[],this.aggregates=e.aggregates||{},this.groups=[].concat(e.groups||[]),this.hasGroups=this.groups.length>0,this.hierarchy=e.hierarchy,this.hasGroupHeaderColumn=this.columns.some((function(e){return e.groupHeaderColumnTemplate})),this.collapsible=this.options.collapsible};f.prototype.workbook=function(){return{sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]}},f.prototype._trimColumns=function(e){var t=this;return e.filter((function(e){var n=Boolean(e.field);return!n&&e.columns&&(n=t._trimColumns(e.columns).length>0),n}))},f.prototype._leafColumns=function(e){for(var t=[],n=0;n<e.length;n++)e[n].columns?t=t.concat(this._leafColumns(e[n].columns)):t.push(e[n]);return t},f.prototype._prepareColumn=function(e){if(!e.field)return null;var t=function(t){return c(e.field)(t)},n=null;return e.values&&(n={},e.values.forEach((function(e){n[e.value]=e.text})),t=function(t){return n[c(e.field)(t)]}),Object.assign({},e,{value:t,values:n,groupHeaderTemplate:e.groupHeaderTemplate?i.compile(e.groupHeaderTemplate):h,groupHeaderColumnTemplate:e.groupHeaderColumnTemplate?i.compile(e.groupHeaderColumnTemplate):null,groupFooterTemplate:e.groupFooterTemplate?i.compile(e.groupFooterTemplate):null,footerTemplate:e.footerTemplate?i.compile(e.footerTemplate):null})},f.prototype._filter=function(){if(!this.options.filterable)return null;var e=this._depth();return{from:e,to:e+this.columns.length-1}},f.prototype._createPaddingCells=function(e){var t=this;return d(e,(function(){return Object.assign({background:"#dfdfdf",color:"#333"},t.options.paddingCellOptions)}))},f.prototype._dataRow=function(e,t,n){var r=this._createPaddingCells(t);if(this.hasGroups&&n&&e.items){r=r.concat(this._groupHeaderCells(e,t,n));var o=this._dataRows(e.items,t+1);return o.unshift({type:"group-header",cells:r,level:this.collapsible?t:null}),o.concat(this._footer(e,t))}for(var i=[],a=0;a<this.columns.length;a++)i[a]=this._cell(e,this.columns[a]);return this.hierarchy&&(i[0].colSpan=n-t+1),[{type:"data",cells:r.concat(i),level:this.collapsible?t:null}]},f.prototype._groupHeaderCells=function(e,t,n){var r=[],o=this.allColumns.filter((function(t){return t.field===e.field}))[0]||{},i=o&&o.title?o.title:e.field,a=o?o.groupHeaderTemplate||o.groupHeaderColumnTemplate:null,s=Object.assign({title:i,field:e.field,value:o&&o.values?o.values[e.value]:e.value,aggregates:e.aggregates,items:e.items},e.aggregates[e.field]),l=a?a(s):i+": "+e.value;return r.push(Object.assign({value:l,background:"#dfdfdf",color:"#333",colSpan:(this.hasGroupHeaderColumn?1:this.columns.length)+n-t},o.groupHeaderCellOptions)),this.hasGroupHeaderColumn&&this.columns.forEach((function(t,n){n>0&&r.push(Object.assign({background:"#dfdfdf",color:"#333",value:t.groupHeaderColumnTemplate?t.groupHeaderColumnTemplate(Object.assign({group:s},s,e.aggregates[t.field])):void 0},t.groupHeaderCellOptions))})),r},f.prototype._dataRows=function(e,t){for(var n=this._depth(),r=[],o=0;o<e.length;o++)r.push.apply(r,this._dataRow(e[o],t,n));return r},f.prototype._hierarchyRows=function(){var e,t=this._depth(),n=this.data,r=this.hierarchy.itemLevel,o=this.hierarchy.itemId||p,i=this._hasFooterTemplate(),a=[],s=[],l=0;i||(this.collapsible=!1);for(var c=0;c<n.length;c++){var u=n[c],h=r(u,c);i&&(h>l?s.push({id:e,level:l}):h<l&&a.push.apply(a,this._hierarchyFooterRows(s,h,t)),l=h,e=o(u,c)),a.push.apply(a,this._dataRow(u,h+1,t))}if(i){a.push.apply(a,this._hierarchyFooterRows(s,0,t));var d=n.length?this.aggregates[n[0].parentId]:{};a.push(this._hierarchyFooter(d,0,t))}return this._prependHeaderRows(a),a},f.prototype._hierarchyFooterRows=function(e,t,n){for(var r=[];e.length&&e[e.length-1].level>=t;){var o=e.pop();r.push(this._hierarchyFooter(this.aggregates[o.id],o.level+1,n))}return r},f.prototype._hasFooterTemplate=function(){for(var e=this.columns,t=0;t<e.length;t++)if(e[t].footerTemplate)return!0},f.prototype._hierarchyFooter=function(e,t,n){var r=this.columns.map((function(r,o){var i=o?1:n-t+1;if(r.footerTemplate){var a=(e||{})[r.field];return Object.assign({background:"#dfdfdf",color:"#333",colSpan:i,value:r.footerTemplate(Object.assign({aggregates:e},a))},r.footerCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333",colSpan:i},r.footerCellOptions)}));return{type:"footer",cells:this._createPaddingCells(t).concat(r),level:this.collapsible?t:null}},f.prototype._footer=function(e,t){var n,r,o=[],i=this.columns.some((function(e){return e.groupFooterTemplate}));i&&(r={group:{items:e.items,field:e.field,value:e.value}},n={},Object.keys(e.aggregates).forEach((function(t){n[t]=Object.assign({},e.aggregates[t],r)})));var a=this.columns.map((function(t){if(t.groupFooterTemplate){var o=Object.assign({},n,e.aggregates[t.field],r);return Object.assign({background:"#dfdfdf",color:"#333",value:t.groupFooterTemplate(o)},t.groupFooterCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333"},t.groupFooterCellOptions)}));return i&&o.push({type:"group-footer",cells:this._createPaddingCells(this.groups.length).concat(a),level:this.collapsible?t:null}),o},f.prototype._isColumnVisible=function(e){return this._visibleColumns([e]).length>0&&(e.field||e.columns)},f.prototype._visibleColumns=function(e){var t=this;return e.filter((function(e){var n=e.exportable;"object"==typeof n&&(n=e.exportable.excel);var r=!e.hidden&&!1!==n,o=e.hidden&&!0===n,i=r||o;return i&&e.columns&&(i=t._visibleColumns(e.columns).length>0),i}))},f.prototype._headerRow=function(e,t){var n=this,r=e.cells.map((function(t){return Object.assign(t,{colSpan:t.colSpan>1?t.colSpan:1,rowSpan:e.rowSpan>1&&!t.colSpan?e.rowSpan:1})}));return this.hierarchy&&r[0].firstCell&&(r[0].colSpan+=this._depth()),{type:"header",cells:d(t.length,(function(){return Object.assign({background:"#7a7a7a",color:"#fff"},n.options.headerPaddingCellOptions)})).concat(r)}},f.prototype._prependHeaderRows=function(e){var t=this.groups,n=[{rowSpan:1,cells:[],index:0}];this._prepareHeaderRows(n,this.options.columns);for(var r=n.length-1;r>=0;r--)e.unshift(this._headerRow(n[r],t))},f.prototype._prepareHeaderRows=function(e,t,n,r){for(var o=this,i=r||e[e.length-1],a=e[i.index+1],s=0,l=0;l<t.length;l++){var c=t[l];if(o._isColumnVisible(c)){var u=Object.assign({background:"#7a7a7a",color:"#fff",value:c.title||c.field,colSpan:0,firstCell:0===l&&(!n||n.firstCell)},c.headerCellOptions);i.cells.push(u),c.columns&&c.columns.length&&(a||(a={rowSpan:0,cells:[],index:e.length},e.push(a)),u.colSpan=o._trimColumns(o._visibleColumns(c.columns)).length,o._prepareHeaderRows(e,c.columns,u,a),s+=u.colSpan-1,i.rowSpan=e.length-i.index)}}n&&(n.colSpan+=s)},f.prototype._rows=function(){var e=this,t=this._dataRows(this.data,0);if(this.columns.length){this._prependHeaderRows(t);var n=!1,r=this.columns.map((function(t){return t.footerTemplate?(n=!0,Object.assign({background:"#dfdfdf",color:"#333",value:t.footerTemplate(Object.assign({},e.aggregates,e.aggregates[t.field]))},t.footerCellOptions)):Object.assign({background:"#dfdfdf",color:"#333"},t.footerCellOptions)}));n&&t.push({type:"footer",cells:this._createPaddingCells(this.groups.length).concat(r)})}return t},f.prototype._headerDepth=function(e){for(var t=0,n=0;n<e.length;n++)if(e[n].columns){var r=this._headerDepth(e[n].columns);r>t&&(t=r)}return 1+t},f.prototype._freezePane=function(){var e=this._visibleColumns(this.options.columns||[]),t=this._visibleColumns(this._trimColumns(this._leafColumns(e.filter((function(e){return e.locked}))))).length;return{rowSplit:this._headerDepth(e),colSplit:t?t+this.groups.length:0}},f.prototype._cell=function(e,t){return Object.assign({value:t.value(e)},t.cellOptions)},f.prototype._depth=function(){return this.hierarchy?this.hierarchy.depth:this.groups.length},f.prototype._columns=function(){return d(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))};const m=f;var v={toString:function(e){return e}},g=function(){};g.register=function(e){v=e},g.toString=function(e,t){return v.toString(e,t)};const b=g;var y=n(4796);function w(e,t,n){return(1461*(e+4800+((t-13)/12|0))/4|0)+(367*(t-1-12*((t-13)/12|0))/12|0)-(3*((e+4900+((t-13)/12|0))/100|0)/4|0)+n-32075}var x=w(1900,0,-1);var k="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",C="data:"+k+";base64,",z={compression:"DEFLATE",type:"base64"},_={compression:"DEFLATE",type:"blob"},E={compression:"DEFLATE",type:"arraybuffer"};function I(e){return C+e}function S(e,t){return t.indexOf(e)}var M=JSON.parse.bind(JSON);function O(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/\'/g,"&#39;")}function R(e,t){for(var n="",r=0;r<e;++r)n+=t(r);return n}function H(e,t){var n="";if(null!=e)if(Array.isArray(e))for(var r=0;r<e.length;++r)n+=t(e[r],r);else"object"==typeof e&&Object.keys(e).forEach((function(r,o){n+=t(e[r],r,o)}));return n}var F='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',D=F+'\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>\n </Relationships>',A=function(e){return F+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+H(e,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function V(e){var t=Math.floor(e/26)-1;return(t>=0?V(t):"")+String.fromCharCode(65+e%26)}function B(e,t){return V(t)+(e+1)}function N(e,t){return"$"+V(t)+"$"+(e+1)}function L(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function P(e){return e/7-Math.floor(128/7)/256}var T=function(e,t,n,r){this.options=e,this._strings=t,this._styles=n,this._borders=r,this._validations={},this._comments=[],this._drawings=e.drawings||[],this._hyperlinks=(this.options.hyperlinks||[]).map((function(e,t){return Object.assign({},e,{rId:"link"+t})}))};function j(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}T.prototype.relsToXML=function(){var e=this._hyperlinks,t=this._comments,n=this._drawings;if(e.length||t.length||n.length)return function(e){var t=e.comments,n=e.sheetIndex,r=e.drawings;return F+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+H(e.hyperlinks,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+O(e.target)+'" TargetMode="External" />'}))+"\n "+(t.length?'\n <Relationship Id="comment'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+n+'.xml"/>\n <Relationship Id="vml'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+n+'.vml"/>':"")+"\n "+(r.length?'\n <Relationship Id="drw'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+n+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:n})},T.prototype.toXML=function(e){var t=this,n=this.options.mergedCells||[],r=function(e,t){var n=[],r=[];!function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r){var o=r.index;"number"!=typeof o&&(o=n),t(r,o)}}}(e,(function(e,t){var o={_source:e,index:t,height:e.height,level:e.level,cells:[]};n.push(o),r[t]=o}));for(var o=X(n).slice(0),i={rowData:n,rowsByIndex:r,mergedCells:t},a=0;a<o.length;a++)te(o[a],i),delete o[a]._source;return X(n)}(this.options.rows||[],n);this._readCells(r);var o,i=this.options.filter;i&&"number"==typeof i.from&&"number"==typeof i.to?i={from:B(L(this.options),i.from),to:B(L(this.options),i.to)}:i&&i.ref&&i.columns&&(o=i,i=null);var a=[];for(var s in t._validations)Object.prototype.hasOwnProperty.call(t._validations,s)&&a.push(t._validations[s]);var l=null;this.options.defaultCellStyle&&(l=this._lookupStyle(this.options.defaultCellStyle));var c=this.options.freezePane||{},u=this.options.defaults||{},h=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return function(e){var t=e.frozenColumns,n=e.frozenRows,r=e.columns,o=e.defaults,i=e.data,a=e.index,s=e.mergeCells,l=e.autoFilter,c=e.filter,u=e.showGridLines,h=e.hyperlinks,d=e.validations,p=e.defaultCellStyleId,f=e.rtl,m=e.legacyDrawing,v=e.drawing,g=e.lastRow,b=e.lastCol;return F+'\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" mc:Ignorable="x14ac">\n '+(g&&b?'<dimension ref="A1:'+B(g-1,b-1)+'" />':"")+"\n\n <sheetViews>\n <sheetView "+(f?'rightToLeft="1"':"")+" "+(0===a?'tabSelected="1"':"")+' workbookViewId="0" '+(!1===u?'showGridLines="0"':"")+">\n "+(n||t?'\n <pane state="frozen"\n '+(t?'xSplit="'+t+'"':"")+"\n "+(n?'ySplit="'+n+'"':"")+'\n topLeftCell="'+(String.fromCharCode(65+(t||0))+((n||0)+1))+'"\n />':"")+'\n </sheetView>\n </sheetViews>\n\n <sheetFormatPr x14ac:dyDescent="0.25" '+(o.skipCustomHeight?"":'customHeight="1"')+' defaultRowHeight="'+(o.rowHeight?.75*o.rowHeight:15)+'"\n '+(o.columnWidth?'defaultColWidth="'+P(o.columnWidth)+'"':"")+" />\n\n "+(null!=p||r&&r.length>0?"\n <cols>\n "+(r&&r.length?"":'\n <col min="1" max="16384" style="'+p+'"\n '+(o.columnWidth?'width="'+P(o.columnWidth)+'"':"")+" /> ")+"\n "+H(r,(function(e,t){var n="number"==typeof e.index?e.index+1:t+1;return 0===e.width?"<col "+(null!=p?'style="'+p+'"':"")+'\n min="'+n+'" max="'+n+'" hidden="1" customWidth="1" />':"<col "+(null!=p?'style="'+p+'"':"")+'\n min="'+n+'" max="'+n+'" customWidth="1"\n '+(e.autoWidth?'width="'+(7*e.width+5)/7*256/256+'" bestFit="1"':'width="'+P(e.width)+'"')+" />"}))+"\n </cols>":"")+"\n\n <sheetData>\n "+H(i,(function(e,t){return'\n <row r="'+("number"==typeof e.index?e.index+1:t+1)+'" x14ac:dyDescent="0.25"\n '+(e.level?'outlineLevel="'+e.level+'"':"")+"\n "+(0===e.height?'hidden="1"':e.height?'ht="'+.75*e.height+'" customHeight="1"':"")+">\n "+H(e.data,(function(e){return'\n <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n "+(null!=e.formula?"string"==typeof(t=e.formula)?"<f>"+O(t)+"</f>":'<f t="array" ref="'+t.ref+'">'+O(t.src)+"</f>":"")+"\n "+(null!=e.value?"<v>"+O(e.value)+"</v>":"")+"\n </c>";var t}))+"\n </row>\n "}))+"\n </sheetData>\n\n "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':c?ue(c):"")+"\n\n "+(s.length?'\n <mergeCells count="'+s.length+'">\n '+H(s,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n </mergeCells>":"")+"\n\n "+(d.length?"\n <dataValidations>\n "+H(d,(function(e){return'\n <dataValidation sqref="'+e.sqref.join(" ")+'"\n showErrorMessage="'+e.showErrorMessage+'"\n type="'+O(e.type)+'"\n '+("list"!==e.type?'operator="'+O(e.operator)+'"':"")+'\n allowBlank="'+e.allowBlank+'"\n showDropDown="'+e.showDropDown+'"\n '+(e.error?'error="'+O(e.error)+'"':"")+"\n "+(e.errorTitle?'errorTitle="'+O(e.errorTitle)+'"':"")+">\n "+(e.formula1?"<formula1>"+O(e.formula1)+"</formula1>":"")+"\n "+(e.formula2?"<formula2>"+O(e.formula2)+"</formula2>":"")+"\n </dataValidation>"}))+"\n </dataValidations>":"")+"\n\n "+(h.length?"\n <hyperlinks>\n "+H(h,(function(e){return'\n <hyperlink ref="'+e.ref+'" r:id="'+e.rId+'"/>'}))+"\n </hyperlinks>":"")+'\n\n <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />\n '+(v?'<drawing r:id="'+v+'"/>':"")+"\n "+(m?'<legacyDrawing r:id="'+m+'"/>':"")+"\n</worksheet>"}({frozenColumns:this.options.frozenColumns||c.colSplit,frozenRows:this.options.frozenRows||c.rowSplit,columns:this.options.columns,defaults:u,data:r,index:e,mergeCells:n,autoFilter:i,filter:o,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:a,defaultCellStyleId:l,rtl:void 0!==this.options.rtl?this.options.rtl:u.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:h,lastCol:d})},T.prototype.commentsXML=function(){if(this._comments.length)return function(e){return F+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <authors>\n <author></author>\n </authors>\n <commentList>\n '+H(e.comments,(function(e){return'\n <comment ref="'+e.ref+'" authorId="0">\n <text>\n <r>\n <rPr>\n <sz val="8"/>\n <color indexed="81"/>\n <rFont val="Tahoma"/>\n <charset val="1"/>\n </rPr>\n <t>'+O(e.text)+"</t>\n </r>\n </text>\n </comment>"}))+"\n </commentList>\n</comments>"}({comments:this._comments})},T.prototype.drawingsXML=function(e){if(this._drawings.length){var t={},n=this._drawings.map((function(n){var r=Q(n.topLeftCell),o=t[n.image];return o||(o=t[n.image]={rId:"img"+n.image,target:e[n.image].target}),{col:r.col,colOffset:ee(n.offsetX),row:r.row,rowOffset:ee(n.offsetY),width:ee(n.width),height:ee(n.height),imageId:o.rId}}));return{main:(r=n,F+'\n<xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n '+H(r,(function(e,t){return'\n <xdr:oneCellAnchor editAs="oneCell">\n <xdr:from>\n <xdr:col>'+e.col+"</xdr:col>\n <xdr:colOff>"+e.colOffset+"</xdr:colOff>\n <xdr:row>"+e.row+"</xdr:row>\n <xdr:rowOff>"+e.rowOffset+'</xdr:rowOff>\n </xdr:from>\n <xdr:ext cx="'+e.width+'" cy="'+e.height+'" />\n <xdr:pic>\n <xdr:nvPicPr>\n <xdr:cNvPr id="'+(t+1)+'" name="Picture '+(t+1)+'"/>\n <xdr:cNvPicPr/>\n </xdr:nvPicPr>\n <xdr:blipFill>\n <a:blip r:embed="'+e.imageId+'"/>\n <a:stretch>\n <a:fillRect/>\n </a:stretch>\n </xdr:blipFill>\n <xdr:spPr>\n <a:prstGeom prst="rect">\n <a:avLst/>\n </a:prstGeom>\n </xdr:spPr>\n </xdr:pic>\n <xdr:clientData/>\n </xdr:oneCellAnchor>'}))+"\n</xdr:wsDr>"),rels:A(t)}}var r},T.prototype.legacyDrawing=function(){if(this._comments.length)return function(e){return'<xml xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:x="urn:schemas-microsoft-com:office:excel">\n <v:shapetype coordsize="21600,21600" id="_x0000_t202" path="m,l,21600r21600,l21600,xe">\n <v:stroke joinstyle="miter"/>\n <v:path gradientshapeok="t" o:connecttype="rect"/>\n </v:shapetype>\n '+H(e.comments,(function(e){return'\n <v:shape type="#_x0000_t202" style="visibility: hidden" fillcolor="#ffffe1" o:insetmode="auto">\n <v:shadow on="t" color="black" obscured="t"/>\n <x:ClientData ObjectType="Note">\n <x:MoveWithCells/>\n <x:SizeWithCells/>\n <x:Anchor>'+e.anchor+"</x:Anchor>\n <x:AutoFill>False</x:AutoFill>\n <x:Row>"+e.row+"</x:Row>\n <x:Column>"+e.col+"</x:Column>\n </x:ClientData>\n </v:shape>"}))+"\n</xml>"}({comments:this._comments})},T.prototype._lookupString=function(e){var t,n="$"+e,r=this._strings.indexes[n];return void 0!==r?t=r:(t=this._strings.indexes[n]=this._strings.uniqueCount,this._strings.uniqueCount++),this._strings.count++,t},T.prototype._lookupStyle=function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var n=S(t,this._styles);return n<0&&(n=this._styles.push(t)-1),n+1},T.prototype._lookupBorder=function(e){var t=JSON.stringify(e);if("{}"!==t){var n=S(t,this._borders);return n<0&&(n=this._borders.push(t)-1),n+1}},T.prototype._readCells=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.cells;n.data=[];for(var o=0;o<r.length;o++){var i=this._cell(r[o],n.index,o);i&&n.data.push(i)}}},T.prototype._cell=function(e,t,n){if(!e||e===Z)return null;var r=e.value,o={};e.borderLeft&&(o.left=e.borderLeft),e.borderRight&&(o.right=e.borderRight),e.borderTop&&(o.top=e.borderTop),e.borderBottom&&(o.bottom=e.borderBottom),e.dBorders&&(o.diagonal=e.dBorders),o=this._lookupBorder(o);var i,a=this.options.defaultCellStyle||{},s={borderId:o};(i=function(t,n){var r=e[t];if(void 0===r&&(r=a[t]),void 0!==r)return s[n||t]=r,!0})("color"),i("background"),i("bold"),i("italic"),i("underline"),i("fontFamily")||i("fontName","fontFamily"),i("fontSize"),i("format"),i("textAlign")||i("hAlign","textAlign"),i("verticalAlign")||i("vAlign","verticalAlign"),i("wrap"),i("indent");var l,c,u,h=(this.options.columns||[])[n],d=typeof r;if(h&&h.autoWidth&&(!e.colSpan||1===e.colSpan)){var p=r;"number"===d&&(p=b.toString(r,e.format)),h.width=Math.max(h.width||0,String(p).length)}"string"===d?(r=function(e){return String(e).replace(/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,"").replace(/\r?\n/g,"\r\n")}(r),r=this._lookupString(r),d="s"):"number"===d?d="n":"boolean"===d?(d="b",r=Number(r)):r&&r.getTime?(d=null,c=((l=r).getHours()+(l.getMinutes()+(l.getSeconds()+l.getMilliseconds()/1e3)/60)/60)/24,r=(u=function(e,t,n){return w(e,t,n)-x}(l.getFullYear(),l.getMonth(),l.getDate()))<0?u-1+c:u+c,s.format||(s.format="mm-dd-yy")):(d=null,r=null),s=this._lookupStyle(s);var f=B(t,n);if(e.validation&&this._addValidation(e.validation,f),e.comment){var m=[n+1,15,t,10,n+3,15,t+3,4];this._comments.push({ref:f,text:e.comment,row:t,col:n,anchor:m.join(", ")})}return{value:r,formula:e.formula,type:d,style:s,ref:f}},T.prototype._addValidation=function(e,t){var n={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:W[e.dataType]||e.dataType,operator:U[e.comparerType]||e.comparerType,allowBlank:e.allowNulls?1:0,showDropDown:e.showButton?0:1,error:e.messageTemplate,errorTitle:e.titleTemplate},r=JSON.stringify(n);this._validations[r]||(this._validations[r]=n,n.sqref=[]),this._validations[r].sqref.push(t)},T.prototype._getLastRow=function(){return j(this.options.rows)},T.prototype._getLastCol=function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,j(t.cells)))})),e};var U={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},W={number:"decimal"},K={General:0,0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49,"[$-404]e/m/d":27,"m/d/yy":30,t0:59,"t0.00":60,"t#,##0":61,"t#,##0.00":62,"t0%":67,"t0.00%":68,"t# ?/?":69,"t# ??/??":70};function q(e){var t=function(e){function t(e){var t=parseInt(e,10).toString(16);return t.length<2?"0"+t:t}var n=/^rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([0-9.]+)\s*)?\)/i.exec(e.trim());return n?"#"+t(255*(n[4]?parseFloat(n[4]):1)|0)+t(n[1])+t(n[2])+t(n[3]):e}(e);return t.length<6&&(t=t.replace(/(\w)/g,(function(e,t){return t+t}))),(t=t.substring(1).toUpperCase()).length<8&&(t="FF"+t),t}var G=function(e){var t=this;this.options=e||{},this._strings={indexes:{},count:0,uniqueCount:0},this._styles=[],this._borders=[],this._images=this.options.images,this._imgId=0,this._sheets=u(this.options.sheets||[],(function(e,n){return e.defaults=t.options,e.sheetIndex=n+1,new T(e,t._strings,t._styles,t._borders)}))};function $(e,t){var n,r,o="";return t&&(o+="<"+e+' style="'+(r="thin",2===(n=t.size)?r="medium":3===n&&(r="thick"),r+'">'),t.color&&(o+='<color rgb="'+q(t.color)+'"/>'),o+="</"+e+">"),o}function Y(e){var t=e.diagonal?e.diagonal.type:0;return"<border "+(2&t?'diagonalUp="true"':"")+" "+(1&t?'diagonalDown="true"':"")+">\n "+$("left",e.left)+"\n "+$("right",e.right)+"\n "+$("top",e.top)+"\n "+$("bottom",e.bottom)+"\n "+$("diagonal",e.diagonal)+"\n </border>"}G.prototype.imageFilename=function(e){var t=++this._imgId;switch(e){case"image/jpg":case"image/jpeg":return"image"+t+".jpg";case"image/png":return"image"+t+".png";case"image/gif":return"image"+t+".gif";default:return"image"+t+".bin"}},G.prototype.toZIP=function(){var e=this,t=new y.Z,n=t.folder("docProps");n.file("core.xml",function(e){var t=e.lastModifiedBy,n=e.created,r=e.modified;return F+'\n <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"\n xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"\n xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n <dc:creator>'+O(e.creator)+"</dc:creator>\n <cp:lastModifiedBy>"+O(t)+'</cp:lastModifiedBy>\n <dcterms:created xsi:type="dcterms:W3CDTF">'+O(n)+'</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">'+O(r)+"</dcterms:modified>\n</cp:coreProperties>"}({creator:this.options.creator||"Kendo UI",lastModifiedBy:this.options.creator||"Kendo UI",created:this.options.date||(new Date).toJSON(),modified:this.options.date||(new Date).toJSON()}));var r=this._sheets.length;n.file("app.xml",function(e){var t=e.sheets;return F+'\n<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n <Application>Microsoft Excel</Application>\n <DocSecurity>0</DocSecurity>\n <ScaleCrop>false</ScaleCrop>\n <HeadingPairs>\n <vt:vector size="2" baseType="variant">\n <vt:variant>\n <vt:lpstr>Worksheets</vt:lpstr>\n </vt:variant>\n <vt:variant>\n <vt:i4>'+t.length+'</vt:i4>\n </vt:variant>\n </vt:vector>\n </HeadingPairs>\n <TitlesOfParts>\n <vt:vector size="'+t.length+'" baseType="lpstr">'+H(t,(function(e,t){return e.options.title?"<vt:lpstr>"+O(e.options.title)+"</vt:lpstr>":"<vt:lpstr>Sheet"+(t+1)+"</vt:lpstr>"}))+"</vt:vector>\n </TitlesOfParts>\n <LinksUpToDate>false</LinksUpToDate>\n <SharedDoc>false</SharedDoc>\n <HyperlinksChanged>false</HyperlinksChanged>\n <AppVersion>14.0300</AppVersion>\n</Properties>"}({sheets:this._sheets})),t.folder("_rels").file(".rels",D);var o=t.folder("xl");if(o.folder("_rels").file("workbook.xml.rels",function(e){var t=e.count;return F+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+R(t,(function(e){return'\n <Relationship Id="rId'+(e+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet'+(e+1)+'.xml" />'}))+'\n <Relationship Id="rId'+(t+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml" />\n <Relationship Id="rId'+(t+2)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml" />\n</Relationships>'}({count:r})),this._images){var i=o.folder("media");Object.keys(this._images).forEach((function(t){var n=e._images[t],r=e.imageFilename(n.type);i.file(r,n.data),n.target="../media/"+r}))}var a={};o.file("workbook.xml",function(e){var t=e.filterNames,n=e.userNames;return F+'\n<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303" />\n <workbookPr defaultThemeVersion="124226" />\n <bookViews>\n <workbookView xWindow="240" yWindow="45" windowWidth="18195" windowHeight="7995" />\n </bookViews>\n <sheets>\n '+H(e.sheets,(function(e,t){var n=e.options;return'<sheet name="'+O(n.name||n.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n </sheets>\n "+(t.length||n.length?"\n <definedNames>\n "+H(t,(function(e){return'\n <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+O(function(e){return/^\'/.test(e)||/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+O(e.from)+":"+O(e.to)+"</definedName>"}))+"\n "+H(n,(function(e){return'\n <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+O(e.value)+"</definedName>"}))+"\n </definedNames>":"")+'\n <calcPr fullCalcOnLoad="1" calcId="145621" />\n</workbook>'}({sheets:this._sheets,filterNames:u(this._sheets,(function(e,t){var n=e.options,r=n.name||n.title||"Sheet"+(t+1);a[r.toLowerCase()]=t;var o=n.filter;if(o){if(o.ref){var i=o.ref.split(":"),s=Q(i[0]),l=Q(i[1]);return{localSheetId:t,name:r,from:N(s.row,s.col),to:N(l.row,l.col)}}if(void 0!==o.from&&void 0!==o.to)return{localSheetId:t,name:r,from:N(L(n),o.from),to:N(L(n),o.to)}}})),userNames:u(this.options.names||[],(function(e){return{name:e.localName,localSheetId:e.sheet?a[e.sheet.toLowerCase()]:null,value:e.value,hidden:e.hidden}}))}));for(var s=o.folder("worksheets"),l=o.folder("drawings"),c=l.folder("_rels"),h=s.folder("_rels"),d=[],p=[],f=0;f<r;f++){var m=e._sheets[f],v="sheet"+(f+1)+".xml",g=m.toXML(f),b=m.relsToXML(),w=m.commentsXML(),x=m.legacyDrawing(),k=m.drawingsXML(e._images);if(b&&h.file(v+".rels",b),w){var C="comments"+m.options.sheetIndex+".xml";o.file(C,w),d.push(C)}if(x&&l.file("vmlDrawing"+m.options.sheetIndex+".vml",x),k){var z="drawing"+m.options.sheetIndex+".xml";l.file(z,k.main),c.file(z+".rels",k.rels),p.push(z)}s.file(v,g)}var _=u(this._borders,M),E=u(this._styles,M),I=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},A=u(E,(function(e){var t,n,r;if(e.fontSize&&(e.fontSize=(t=e.fontSize,(r=Number(t))&&(n=3*r/4),n)),e.color&&(e.color=q(e.color)),I(e))return e})),V=u(E,(function(e){if(e.format&&void 0===K[e.format])return e})),B=u(E,(function(e){if(e.background)return e.background=q(e.background),e}));return o.file("styles.xml",function(e){var t=e.formats,n=e.fonts,r=e.fills,o=e.borders,i=e.styles;return F+'\n<styleSheet\n xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"\n xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\n mc:Ignorable="x14ac"\n xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">\n <numFmts count="'+t.length+'">\n '+H(t,(function(e,t){return'\n <numFmt formatCode="'+O(e.format)+'" numFmtId="'+(165+t)+'" />'}))+'\n </numFmts>\n <fonts count="'+(n.length+1)+'" x14ac:knownFonts="1">\n <font>\n <sz val="11" />\n <color theme="1" />\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n </font>\n '+H(n,(function(e){return"\n <font>\n "+(e.bold?"<b/>":"")+"\n "+(e.italic?"<i/>":"")+"\n "+(e.underline?"<u/>":"")+'\n <sz val="'+(e.fontSize||11)+'" />\n '+(e.color?'<color rgb="'+O(e.color)+'" />':'<color theme="1" />')+"\n "+(e.fontFamily?'\n <name val="'+O(e.fontFamily)+'" />\n <family val="2" />\n ':'\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n ')+"\n </font>"}))+'\n </fonts>\n <fills count="'+(r.length+2)+'">\n <fill><patternFill patternType="none"/></fill>\n <fill><patternFill patternType="gray125"/></fill>\n '+H(r,(function(e){return"\n "+(e.background?'\n <fill>\n <patternFill patternType="solid">\n <fgColor rgb="'+O(e.background)+'"/>\n </patternFill>\n </fill>\n ':"")}))+'\n </fills>\n <borders count="'+(o.length+1)+'">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n '+H(o,Y)+'\n </borders>\n <cellStyleXfs count="1">\n <xf borderId="0" fillId="0" fontId="0" />\n </cellStyleXfs>\n <cellXfs count="'+(i.length+1)+'">\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" />\n '+H(i,(function(e){return'\n <xf xfId="0"\n '+(e.fontId?'fontId="'+e.fontId+'" applyFont="1"':"")+"\n "+(e.fillId?'fillId="'+e.fillId+'" applyFill="1"':"")+"\n "+(e.numFmtId?'numFmtId="'+e.numFmtId+'" applyNumberFormat="1"':"")+"\n "+(e.textAlign||e.verticalAlign||e.wrap?'applyAlignment="1"':"")+"\n "+(e.borderId?'borderId="'+e.borderId+'" applyBorder="1"':"")+">\n "+(e.textAlign||e.verticalAlign||e.wrap?"\n <alignment\n "+(e.textAlign?'horizontal="'+O(e.textAlign)+'"':"")+"\n "+(e.verticalAlign?'vertical="'+O(e.verticalAlign)+'"':"")+"\n "+(e.indent?'indent="'+O(e.indent)+'"':"")+"\n "+(e.wrap?'wrapText="1"':"")+" />\n ":"")+"\n </xf>\n "}))+'\n </cellXfs>\n <cellStyles count="1">\n <cellStyle name="Normal" xfId="0" builtinId="0"/>\n </cellStyles>\n <dxfs count="0" />\n <tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleMedium9" />\n</styleSheet>'}({fonts:A,fills:B,formats:V,borders:_,styles:u(E,(function(e){var t={};return I(e)&&(t.fontId=S(e,A)+1),e.background&&(t.fillId=S(e,B)+2),t.textAlign=e.textAlign,t.indent=e.indent,t.verticalAlign=e.verticalAlign,t.wrap=e.wrap,t.borderId=e.borderId,e.format&&(void 0!==K[e.format]?t.numFmtId=K[e.format]:t.numFmtId=165+S(e,V)),t}))})),o.file("sharedStrings.xml",function(e){var t=e.count,n=e.uniqueCount,r=e.indexes;return F+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+n+'">\n '+H(Object.keys(r),(function(e){return'\n <si><t xml:space="preserve">'+O(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.commentFiles,n=e.drawingFiles;return F+'\n<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n <Default Extension="png" ContentType="image/png"/>\n <Default Extension="gif" ContentType="image/gif"/>\n <Default Extension="jpg" ContentType="image/jpeg"/>\n <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />\n <Default Extension="xml" ContentType="application/xml" />\n <Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>\n <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" />\n <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>\n <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>\n '+R(e.sheetCount,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n "+H(t,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n "+H(n,(function(e){return'<Override PartName="/xl/drawings/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.drawing+xml"/>'}))+'\n <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />\n <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" />\n</Types>'}({sheetCount:r,commentFiles:d,drawingFiles:p})),t},G.prototype.toDataURL=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(z).then(I):I(e.generate(z))},G.prototype.toBlob=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(_):new Blob([e.generate(E)],{type:k})};var Z={};function X(e){return e.sort((function(e,t){return e.index-t.index}))}function J(e,t){for(var n=0;n<e.length;++n){var r=e[n].split(":"),o=r[0];if(o===t){var i=r[1];return o=Q(o),{rowSpan:(i=Q(i)).row-o.row+1,colSpan:i.col-o.col+1}}}}function Q(e){var t,n=/^([a-z]+)(\d+)$/i.exec(e);return{row:(t=n[2],parseInt(t,10)-1),col:function(e){for(var t=e.toUpperCase(),n=0,r=0;r<t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}(n[1])}}function ee(e){return Math.round(9525*e)}function te(e,t){var n,r,o=e._source,i=e.index,a=o.cells,s=e.cells;if(a)for(var l=0;l<a.length;l++){var c=a[l]||Z,u=c.rowSpan||1,h=c.colSpan||1,d=ne(s,c),p=B(i,d);if(1===u&&1===h){var f=J(t.mergedCells,p);f&&(h=f.colSpan,u=f.rowSpan)}if(oe(c,s,d,h),(u>1||h>1)&&(n=t.mergedCells,r=p+":"+B(i+u-1,d+h-1),n.indexOf(r)<0&&n.push(r)),u>1)for(var m=i+1;m<i+u;m++){var v=t.rowsByIndex[m];v||(v=t.rowsByIndex[m]={index:m,cells:[]},t.rowData.push(v)),oe(c,v.cells,d-1,h+1)}}}function ne(e,t){var n;return"number"==typeof t.index?(n=t.index,re(e,t,t.index)):n=function(e,t){for(var n=e.length,r=0;r<e.length+1;r++)if(!e[r]){e[r]=t,n=r;break}return n}(e,t),n}function re(e,t,n){e[n]=t}function oe(e,t,n,r){for(var o=1;o<r;o++)re(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},n+o)}var ie=function(e){var t=e.ref,n=e.columns,r=e.generators;return'\n<autoFilter ref="'+t+'">\n '+H(n,(function(e){return'\n <filterColumn colId="'+e.index+'">\n '+r[e.filter](e)+"\n </filterColumn>\n "}))+"\n</autoFilter>"},ae=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+H(e.criteria,(function(e){var t=ue.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+ue.customValue(e)+'"/>'}))+"\n</customFilters>"},se=function(e){var t=e.type;return'<dynamicFilter type="'+ue.dynamicFilterType(t)+'" />'},le=function(e){var t=e.type,n=e.value;return'<top10 percent="'+(/percent$/i.test(t)?1:0)+'"\n top="'+(/^top/i.test(t)?1:0)+'"\n val="'+n+'" />'},ce=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n "+H(e.values,(function(e){return'\n <filter val="'+e+'" />'}))+"\n </filters>"};function ue(e){return ie({ref:e.ref,columns:e.columns,generators:{custom:ae,dynamic:se,top:le,value:ce}})}ue.customOperator=function(e){return{eq:"equal",gt:"greaterThan",gte:"greaterThanOrEqual",lt:"lessThan",lte:"lessThanOrEqual",ne:"notEqual",doesnotstartwith:"notEqual",doesnotendwith:"notEqual",doesnotcontain:"notEqual",doesnotmatch:"notEqual"}[e.operator.toLowerCase()]},ue.customValue=function(e){function t(e){return e.replace(/([*?])/g,"~$1")}switch(e.operator.toLowerCase()){case"startswith":case"doesnotstartwith":return t(e.value)+"*";case"endswith":case"doesnotendwith":return"*"+t(e.value);case"contains":case"doesnotcontain":return"*"+t(e.value)+"*";default:return e.value}},ue.dynamicFilterType=function(e){return{quarter1:"Q1",quarter2:"Q2",quarter3:"Q3",quarter4:"Q4",january:"M1",february:"M2",march:"M3",april:"M4",may:"M5",june:"M6",july:"M7",august:"M8",september:"M9",october:"M10",november:"M11",december:"M12"}[e.toLowerCase()]||e}},727:(e,t,n)=>{n.r(t),n.d(t,{CalcError:()=>T,CellRef:()=>w,Context:()=>ae,Matrix:()=>se,NULLREF:()=>b,NameRef:()=>y,Range:()=>Dr,RangeRef:()=>x,Ref:()=>g,Sheet:()=>Fo,SpreadsheetWidget:()=>xs,UnionRef:()=>k,View:()=>gi,Workbook:()=>bs,dateToSerial:()=>Oe,defineAlias:()=>Re,defineFunction:()=>fe,packDate:()=>Ce,packTime:()=>Me,serialToDate:()=>Se,unpackDate:()=>ke,unpackTime:()=>Ie});var r=n(4407),o=n(619),i=function(){return"undefined"!=typeof window},a={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)(\.(\d+(\.\d+)?))?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},s={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},l={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i},c={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i},u=function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)&&t[r].test(e))return r;return void 0!==n?n:e},h=i()&&window.navigator?window.navigator.userAgent:null,d=h?function(e){var t=null,n=[];for(var r in l)if(l.hasOwnProperty(r)&&(n=e.match(l[r]))){(t={})[r]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10);break}return t}(h):null;(h&&function(e){var t,n=[];for(var r in a)if(a.hasOwnProperty(r)){if(!(n=e.match(a[r])))continue;if("windows"===r&&"plugins"in window.navigator)return null;var o={};return o.device=r,o.browser=u(e,c,"default"),o.name=u(r,s),o[o.name]=!0,o.majorVersion=n[2],o.minorVersion=n[3]?n[3].replace("_","."):".0",t=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),o.cordova=void 0!==typeof window.PhoneGap||void 0!==typeof window.cordova,o.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||o.cordova,o}}(h),i()&&window,d&&!d.chrome&&window.MSPointerEvent,d&&!d.chrome&&window.PointerEvent,{})[void 0]=function(e){return e};var p=n(4796);function f(e){const t=Math.floor(e/26)-1;return(t>=0?f(t):"")+String.fromCharCode(65+e%26)}function m(e){return/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}function v(e,t,n,r){let o="";return++t,isFinite(t)?null==r||2&r||(t="$"+t):t="",isFinite(n)?(o=f(n),null==r||1&r||(o="$"+o)):n="",e?m(e)+"!"+o+t:o+t}class g{constructor(){this.type="ref",this.sheet=""}clone(){return this}hasSheet(){return this._hasSheet}simplify(){return this}setSheet(e,t){return this.sheet=e,null!=t&&(this._hasSheet=t),this}absolute(e,t){return this}relative(...e){return this}adjust(e,t,n,r,o,i,a){return this}toString(){return this.relative(0,0,3,3).print(0,0)}forEach(e,t){e.call(t,this)}map(e,t){return e.call(t,this)}intersect(e){return this}intersects(e){return this.intersect(e)!==b}isCell(){return!1}toRow(e){return this}toColumn(e){return this}first(){return this}lastRange(){return this}size(){return 1}rangeAt(e){return this}nextRangeIndex(e){return 0}previousRangeIndex(e){return 0}eq(e){let t=this,n=e;if(t===b||n===b)return t===n;if((n instanceof w||n instanceof x&&!(t instanceof w))&&(t=e,n=this),t instanceof w)return n=n.simplify(),n instanceof w&&t.row==n.row&&t.col==n.col&&t.sheet==n.sheet;if(t instanceof x){if(n instanceof x)return n.topLeft.eq(t.topLeft)&&n.bottomRight.eq(t.bottomRight);if(n instanceof k)return n.single()&&t.eq(n.refs[0])}else if(t instanceof k&&n instanceof k){const e=t.refs,r=n.refs;if(e.length!=r.length)return!1;for(let t=0,n=e.length;t<n;t++)if(!e[t].eq(r[t]))return!1;return!0}return t===n}concat(e){return new k([this,e])}replaceAt(e,t){return t}forEachColumnIndex(e){this.forEachAxisIndex("col",e)}forEachRowIndex(e){this.forEachAxisIndex("row",e)}forEachRow(e){}forEachColumn(e){}forEachAxisIndex(e,t){let n=[];this["row"===e?"forEachRow":"forEachColumn"]((function(t){let r=t.first()[e];-1===n.indexOf(r)&&n.push(r)})),n.sort((function(e,t){return e>t?1:e<t?-1:0})).forEach(t)}valid(){return!1}renameSheet(e,t){if(this.sheet&&this.sheet.toLowerCase()==e.toLowerCase())return this.sheet=t,!0}}g.display=v;const b=new class extends g{print(){return"#NULL!"}eq(e){return e===this}forEach(){}};class y extends g{constructor(e){super(),this.name=e,this.ref="name"}clone(){return new y(this.name).setSheet(this.sheet,this.hasSheet())}print(){let e=m(this.name);return this.hasSheet()&&(e=m(this.sheet)+"!"+e),e}}class w extends g{constructor(e,t,n){super(),this.row=e,this.col=t,this.rel=n||0,this.ref="cell"}clone(){return new w(this.row,this.col,this.rel).setSheet(this.sheet,this.hasSheet())}intersect(e){return e instanceof w?this.eq(e)?this:b:e.intersect(this)}print(e,t,n){let r,o=this.col,i=this.row,a=this.rel;if(null==e&&a){let e=this.hasSheet()?m(this.sheet)+"!":"";return o=isFinite(o)?1&a?"C["+o+"]":"C"+(o+1):"",i=isFinite(i)?2&a?"R["+i+"]":"R"+(i+1):"",e+i+o}return r=this.absolute(e,t),n?(i=r.row%1048576,o=r.col%16384,i<0&&(i+=1048576),o<0&&(o+=16384),v(this._hasSheet&&this.sheet,i,o,a)):r.valid()?v(this._hasSheet&&this.sheet,r.row,r.col,a):"#REF!"}absolute(e,t){let n=this.clone();return 0==(3&n.rel)||(1&n.rel&&(n.col=(n.col+t)%16384),2&n.rel&&(n.row=(n.row+e)%1048576),n.rel=0),n}toRangeRef(){return new x(this,this)}relative(e,t,n){null==n&&(n=this.rel);let r=2&n?this.row-e:this.row,o=1&n?this.col-t:this.col;return new w(r,o,n).setSheet(this.sheet,this.hasSheet())}height(){return 1}width(){return 1}toString(){return v(null,this.row,this.col,3)}isCell(){return!0}leftColumn(){return this}rightColumn(){return this}topRow(){return this}bottomRow(){return this}forEachRow(e){e(this.toRangeRef())}forEachColumn(e){e(this.toRangeRef())}adjust(e,t,n,r,o,i,a){let s=this.absolute(e,t);if(o){if(s.row>=i){if(a<0&&s.row<i-a)return b;s.row+=a}}else if(s.col>=i){if(a<0&&s.col<i-a)return b;s.col+=a}return null!=n&&null!=r&&(s=s.relative(n,r,this.rel)),s}valid(){if(this.rel)throw new Error("valid() called on relative reference");let e=this.col,t=this.row;return!(isFinite(e)&&e<0||isFinite(t)&&t<0)}}class x extends g{constructor(e,t){super(),this.ref="range",e._hasSheet&&t._hasSheet&&e.sheet.toLowerCase()!=t.sheet.toLowerCase()&&(this.endSheet=t.sheet),this.topLeft=new w(e.row,e.col,e.rel),this.bottomRight=new w(t.row,t.col,t.rel),this.normalize()}clone(){return new x(this.topLeft.clone(),this.bottomRight.clone()).setSheet(this.sheet,this.hasSheet())}_containsRange(e){return this._containsCell(e.topLeft)&&this._containsCell(e.bottomRight)}_containsCell(e){return e.sheet==this.sheet&&e.row>=this.topLeft.row&&e.col>=this.topLeft.col&&e.row<=this.bottomRight.row&&e.col<=this.bottomRight.col}contains(e){if(e instanceof Array){let t=this;return e.some((function(e){return Boolean(t.contains(e))}))}return e instanceof w?this._containsCell(e):e instanceof x&&this._containsRange(e)}_intersectRange(e){if(this.sheet!=e.sheet)return b;let t=this.topLeft.col,n=this.topLeft.row,r=this.bottomRight.col,o=this.bottomRight.row,i=e.topLeft.col,a=e.topLeft.row,s=e.bottomRight.col,l=e.bottomRight.row;return t<=s&&i<=r&&n<=l&&a<=o?new x(new w(Math.max(n,a),Math.max(t,i)),new w(Math.min(o,l),Math.min(r,s))).setSheet(this.sheet,this.hasSheet()):b}intersect(e){return e instanceof w?this._containsCell(e)?e:b:e instanceof x?this._intersectRange(e).simplify():e instanceof k?e.intersect(this):b}simplify(){return this.isCell()?new w(this.topLeft.row,this.topLeft.col,this.topLeft.rel).setSheet(this.sheet,this.hasSheet()):this}normalize(){let e,t=this.topLeft,n=this.bottomRight,r=t.row,o=t.col,i=n.row,a=n.col,s=2&t.rel,l=1&t.rel,c=2&n.rel,u=1&n.rel,h=!1;return s===c&&l===u&&(r>i&&(h=!0,e=r,r=i,i=e,e=s,s=c,c=e),o>a&&(h=!0,e=o,o=a,a=e,e=l,l=u,u=e),h&&(this.topLeft=new w(r,o,l|s),this.bottomRight=new w(i,a,u|c))),this}print(e,t,n){if(n||this.absolute(e,t).valid()){let r=this.topLeft.print(e,t,n)+":"+this.bottomRight.print(e,t,n);return this.hasSheet()&&(r=m(this.sheet)+(this.endSheet?":"+m(this.endSheet):"")+"!"+r),r}return"#REF!"}absolute(e,t){return new x(this.topLeft.absolute(e,t),this.bottomRight.absolute(e,t)).setSheet(this.sheet,this.hasSheet())}relative(e,t,n,r){return null==r&&(r=n),new x(this.topLeft.relative(e,t,n),this.bottomRight.relative(e,t,r)).setSheet(this.sheet,this.hasSheet())}height(){if(this.topLeft.rel!=this.bottomRight.rel)throw new Error("Mixed relative/absolute references");return this.bottomRight.row-this.topLeft.row+1}width(){if(this.topLeft.rel!=this.bottomRight.rel)throw new Error("Mixed relative/absolute references");return this.bottomRight.col-this.topLeft.col+1}collapse(){return this.topLeft.toRangeRef()}leftColumn(){return new x(this.topLeft,new w(this.bottomRight.row,this.topLeft.col))}rightColumn(){return new x(new w(this.topLeft.row,this.bottomRight.col),this.bottomRight)}topRow(){return new x(this.topLeft,new w(this.topLeft.row,this.bottomRight.col))}bottomRow(){return new x(new w(this.bottomRight.row,this.topLeft.col),this.bottomRight)}toRangeRef(){return this}toRow(e){return e+=Math.max(0,this.topLeft.row),new x(new w(e,this.topLeft.col),new w(e,this.bottomRight.col)).setSheet(this.sheet,this.hasSheet())}toColumn(e){return e+=Math.max(0,this.topLeft.col),new x(new w(this.topLeft.row,e),new w(this.bottomRight.row,e)).setSheet(this.sheet,this.hasSheet())}toCell(e,t){return e+=Math.max(0,this.topLeft.row),t+=Math.max(0,this.topLeft.col),new w(e,t,0).setSheet(this.sheet,this.hasSheet())}forEachRow(e){let t=this.topLeft.row,n=this.bottomRight.row,r=this.topLeft.col,o=this.bottomRight.col;for(let i=t;i<=n;i++)e(new x(new w(i,r),new w(i,o)))}forEachColumn(e){let t=this.topLeft.row,n=this.bottomRight.row,r=this.topLeft.col,o=this.bottomRight.col;for(let i=r;i<=o;i++)e(new x(new w(t,i),new w(n,i)))}intersecting(e){return e.filter((e=>e.toRangeRef().intersects(this)))}union(e,t){let n=this.intersecting(e),r=this.topLeft.row,o=this.topLeft.col,i=this.bottomRight.row,a=this.bottomRight.col,s=!1;n.forEach((function(e){(e=e.toRangeRef()).topLeft.row<r&&(s=!0,r=e.topLeft.row),e.topLeft.col<o&&(s=!0,o=e.topLeft.col),e.bottomRight.row>i&&(s=!0,i=e.bottomRight.row),e.bottomRight.col>a&&(s=!0,a=e.bottomRight.col),t&&t(e)}));let l=new x(new w(r,o),new w(i,a));return s?l.union(e,t):l}resize(e){let t=Math.max.bind(Math,0);function n(e){return e||0}let r=this.topLeft.row+n(e.top),o=this.topLeft.col+n(e.left),i=this.bottomRight.row+n(e.bottom),a=this.bottomRight.col+n(e.right);return o<0&&a<0||r<0&&i<0?b:r<=i&&o<=a?new x(new w(t(r),t(o)),new w(t(i),t(a))):b}move(e,t){return new x(new w(this.topLeft.row+e,this.topLeft.col+t),new w(this.bottomRight.row+e,this.bottomRight.col+t))}first(){return this.topLeft.clone().setSheet(this.sheet,this.hasSheet())}isCell(){return!this.endSheet&&this.topLeft.eq(this.bottomRight)}toString(){return this.topLeft+":"+this.bottomRight}adjust(e,t,n,r,o,i,a){let s=this.topLeft.adjust(e,t,n,r,o,i,a),l=this.bottomRight.adjust(e,t,n,r,o,i,a);return s===b&&l===b?b:(s===b?(s=this.topLeft.absolute(e,t),o?s.row=i:s.col=i,null!=n&&null!=r&&(s=s.relative(n,r,this.topLeft.rel))):l===b&&(l=this.bottomRight.absolute(e,t),o?l.row=i-1:l.col=i-1,null!=n&&null!=r&&(l=l.relative(n,r,this.bottomRight.rel))),new x(s,l).setSheet(this.sheet,this.hasSheet()).simplify())}valid(){return this.topLeft.valid()&&this.bottomRight.valid()}}class k extends g{constructor(e){super(),this.refs=e,this.length=e.length}clone(){return new k(this.refs.slice())}intersect(e){let t=[];for(let n=0;n<this.length;++n){let r=e.intersect(this.refs[n]);r!==b&&t.push(r)}return t.length>0?new k(t).simplify():b}simplify(){let e=new k(this.refs.reduce((function(e,t){return(t=t.simplify())!==b&&e.push(t),e}),[]));return e.empty()?b:e.single()?e.refs[0]:e}absolute(e,t){return new k(this.refs.map((function(n){return n.absolute(e,t)})))}forEach(e,t){this.refs.forEach((function(n){n instanceof k?n.forEach(e,t):e.call(t,n)}),t)}toRangeRef(){return this.refs[0].toRangeRef()}contains(e){return this.refs.some((function(t){return t.contains(e)}))}map(e,t){let n=[];return this.forEach((function(r){n.push(e.call(t,r))})),new k(n)}first(){return this.refs[0].first()}lastRange(){return this.refs[this.length-1]}size(){return this.length}single(){return 1==this.length}empty(){return 0===this.length}isCell(){return this.single()&&this.refs[0].isCell()}rangeAt(e){return this.refs[e]}nextRangeIndex(e){return e===this.length-1?0:e+1}previousRangeIndex(e){return 0===e?this.length-1:e-1}concat(e){return new k(this.refs.concat([e]))}print(e,t,n){return this.refs.map((function(r){return r.print(e,t,n)})).join(",")}replaceAt(e,t){let n=this.refs.slice();return n.splice(e,1,t),new k(n)}leftColumn(){return this.map((function(e){return e.leftColumn()}))}rightColumn(){return this.map((function(e){return e.rightColumn()}))}topRow(){return this.map((function(e){return e.topRow()}))}bottomRow(){return this.map((function(e){return e.bottomRow()}))}forEachRow(e){this.forEach((function(t){t.forEachRow(e)}))}forEachColumn(e){this.forEach((function(t){t.forEachColumn(e)}))}adjust(e,t,n,r,o,i,a){return this.map((function(s){return s.adjust(e,t,n,r,o,i,a)})).simplify()}toString(){return this.refs.map((function(e){return e.toString()})).join(", ")}valid(){for(let e=this.refs.length;--e>=0;)if(this.refs[e].valid())return!1;return!0}renameSheet(e,t){this.refs.forEach((function(n){n.renameSheet(e,t)}))}}const C=new w(0,0),z=new x(new w(0,0),new w(1/0,1/0));z.print=function(){return"#SHEET"};const _={view:{nameBox:"Name Box",errors:{modifyMerged:"Cannot change part of a merged cell.",openUnsupported:"Unsupported format. Please select an .xlsx file.",shiftingNonblankCells:"Cannot insert cells due to data loss possibility. Select another insert location or delete the data from the end of your worksheet.",insertColumnWhenRowIsSelected:"Cannot insert column when all columns are selected.",insertRowWhenColumnIsSelected:"Cannot insert row when all rows are selected.",filterRangeContainingMerges:"Cannot create a filter within a range containing merges",sortRangeContainingMerges:"Cannot sort a range containing merges",cantSortMultipleSelection:"Cannot sort multiple selection",cantSortNullRef:"Cannot sort empty selection",cantSortMixedCells:"Cannot sort range containing cells of mixed shapes",validationError:"The value that you entered violates the validation rules set on the cell.",cannotModifyDisabled:"Cannot modify disabled cells.",insertRowBelowLastRow:"Cannot insert row below the last row.",insertColAfterLastCol:"Cannot insert column to the right of the last column."},tabs:{home:"Home",insert:"Insert",data:"Data"}},menus:{cut:"Cut",copy:"Copy",paste:"Paste",merge:"Merge",unmerge:"Unmerge",delete:"Delete",hide:"Hide",unhide:"Unhide",bringToFront:"Bring to front",sendToBack:"Send to back"},workbook:{defaultSheetName:"Sheet"}},E={name:"Spreadsheet",toolbar:!0,sheetsbar:!0,rows:200,columns:50,rowHeight:20,columnWidth:64,headerHeight:20,headerWidth:32,excel:{fileName:"Workbook.xlsx",forceProxy:!1,proxyURL:""},messages:_,pdf:{area:"workbook",fileName:"Workbook.pdf",proxyURL:"",paperSize:"a4",landscape:!0,margin:null,title:null,author:null,subject:null,keywords:null,creator:"Kendo UI PDF Generator",date:null},defaultCellStyle:{fontFamily:"Arial",fontSize:12},useCultureDecimals:!1,locale:"en"},I={recalc:!0,selection:!0,activeCell:!0,layout:!0,sheetSelection:!0,resize:!0,editorChange:!1,editorClose:!1},S={INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},M=new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");function O(e){let t=Object.create(null);return function(){let n="";for(let e=arguments.length;--e>=0;)n+=":"+arguments[e];return n in t?t[n]:t[n]=e.apply(this,arguments)}}function R(e,t){try{return e.call(t,(function(e){throw new n(e)}))}catch(e){if(e instanceof n)return e.value;throw e}function n(e){this.value=e}}const H={};function F(e,t,n){return"string"==typeof t&&(n=t,t=!1),n=n||"d",(e=e||"")&&"["!==e.charAt(0)&&(e="."+e),t?e=(e=function(e,t){let n,r,o,i,a=t||"d",s=1;for(r=0,o=e.length;r<o;r++)i=e[r],""!==i&&(n=i.indexOf("["),0!==n&&(-1===n?i="."+i:(s++,i="."+i.substring(0,n)+" || {})"+i.substring(n))),s++,a+=i+(r<o-1?" || {})":")"));return new Array(s).join("(")+a}((e=(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'")).split("."),n)).replace(/_\$DOT\$_/g,"."):e=n+e,e}function D(e){let t=1,n=arguments.length;for(t=1;t<n;t++)V(e,arguments[t]);return e}function A(e){return"function"==typeof e}function V(e,t){let n,r,o,i,a;for(n in t)r=t[n],o=typeof r,i="object"===o&&null!==r?r.constructor:null,!i||i===Array||i===RegExp||A(window.ArrayBuffer)&&i===ArrayBuffer||r instanceof HTMLElement?"undefined"!==o&&(e[n]=r):r instanceof Date?e[n]=new Date(r.getTime()):A(r.clone)?e[n]=r.clone():(a=e[n],e[n]="object"==typeof a&&a||{},V(e[n],r));return e}const B={},N=function(e){if(!isNaN(B._scrollbar)&&!e)return B._scrollbar;let t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",document.body.appendChild(n),B._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t},L=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content},P=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)};class T{constructor(e){if(e instanceof T)return e;this.code=e}toString(){return"#"+this.code+("NAME"===this.code?"?":"!")}}let j={};const U=e=>{if(!e)return j;j=e},W=()=>U().localeInfo();function K(){this.node=null}function q(){}K.prototype={remove:function(){this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.attr={}},attr:{},text:function(){return""}},q.prototype={nodeName:"#null",attr:{style:{}},children:[],remove:function(){}};let G=new q;function $(e,t,n){this.nodeName=e,this.attr=t||{},this.children=n||[]}function Y(e){this.nodeValue=String(e)}function Z(e){this.html=e}$.prototype=new K,$.prototype.appendTo=function(e){let t=document.createElement(this.nodeName),n=this.children;for(let e=0;e<n.length;e++)n[e].render(t,G);return e.appendChild(t),t},$.prototype.render=function(e,t){let n;if(t.nodeName!==this.nodeName)t.remove(),n=this.appendTo(e);else{let r;n=t.node;let o=this.children,i=o.length,a=t.children,s=a.length;if(Math.abs(s-i)>2)return void this.render({appendChild:function(n){e.replaceChild(n,t.node)}},G);for(r=0;r<i;r++)o[r].render(n,a[r]||G);for(r=i;r<s;r++)a[r].remove()}this.node=n,this.syncAttributes(t.attr),this.removeAttributes(t.attr)},$.prototype.syncAttributes=function(e){let t=this.attr;for(let n in t){let r=t[n],o=e[n];"style"===n?this.setStyle(r,o):r!==o&&this.setAttribute(n,r,o)}},$.prototype.setStyle=function(e,t){let n,r=this.node;if(t)for(n in e)e[n]!==t[n]&&(r.style[n]=e[n]);else for(n in e)r.style[n]=e[n]},$.prototype.removeStyle=function(e){let t=this.attr.style||{},n=this.node;for(let r in e)void 0===t[r]&&(n.style[r]="")},$.prototype.removeAttributes=function(e){let t=this.attr;for(let n in e)"style"===n?this.removeStyle(e.style):void 0===t[n]&&this.removeAttribute(n)},$.prototype.removeAttribute=function(e){let t=this.node;"style"===e?t.style.cssText="":"className"===e?t.className="":t.removeAttribute(e)},$.prototype.setAttribute=function(e,t){let n=this.node;void 0!==n[e]?n[e]=t:n.setAttribute(e,t)},$.prototype.text=function(){let e="";for(let t=0;t<this.children.length;++t)e+=this.children[t].text();return e},Y.prototype=new K,Y.prototype.nodeName="#text",Y.prototype.render=function(e,t){let n;t.nodeName!==this.nodeName?(t.remove(),n=document.createTextNode(this.nodeValue),e.appendChild(n)):(n=t.node,this.nodeValue!==t.nodeValue&&n.parentNode&&(n.nodeValue=this.nodeValue)),this.node=n},Y.prototype.text=function(){return this.nodeValue},Z.prototype={nodeName:"#html",attr:{},remove:function(){for(let e=0;e<this.nodes.length;e++){let t=this.nodes[e];t.parentNode&&t.parentNode.removeChild(t)}},render:function(e,t){if(t.nodeName!==this.nodeName||t.html!==this.html){t.remove();let n=e.lastChild;!function(e,t){for(X.innerHTML=t;X.firstChild;)e.appendChild(X.firstChild)}(e,this.html),this.nodes=[];for(let t=n?n.nextSibling:e.firstChild;t;t=t.nextSibling)this.nodes.push(t)}else this.nodes=t.nodes.slice(0)}};let X=document.createElement("div");function J(e){return new Z(e)}function Q(e,t,n){return new $(e,t,n)}function ee(e){return new Y(e)}function te(e){this.root=e,this.children=[]}te.prototype={html:J,element:Q,text:ee,render:function(e){let t,n,r=this.children;for(t=0,n=e.length;t<n;t++){let n=r[t];n?n.node&&n.node.parentNode||(n.remove(),n=G):n=G,e[t].render(this.root,n)}for(t=n;t<r.length;t++)r[t].remove();this.children=e}};const ne={html:J,text:ee,element:Q,Tree:te,Node:K};var re={runtime:{}},oe=Object.create(null);re.runtime.FUNCS=oe;const ie=function(e,t,n,r,o){const i={};return i.spreadsheet={calc:e,CalcError:t,Ref:n,CellRef:r,RangeRef:o},i.culture=()=>W(),i}(re,T,g,w,x);class ae{constructor(e,t,n,r){this.callback=e,this.formula=t,this.ss=n,this.parent=r}resolve(e){var t=this;e instanceof g?t.resolveCells([e],(function(){t._resolve(e)})):t._resolve(e)}error(e){return new T(e)}_resolve(e){var t;e=void 0===e?null:Array.isArray(e)?this.asMatrix(e):"number"==typeof(t=e)?de(t):t;var n=this.formula;n.arrayFormulaRange?e=this.asMatrix(e)||this.asMatrix([[e]]):e instanceof x&&(e=this._arrayArg(e)),n.value=e,this.ss.onFormula(n)&&this.callback&&this.callback.call(n,e)}resolveCells(e,t){var n=this,r=[];if(function e(t){for(var r=0;r<t.length;++r){var o=t[r];o instanceof g&&a(n.getRefCells(o)),Array.isArray(o)&&e(o)}}(e),!r.length)return t.call(n);for(var o=r.length,i=0;i<r.length;++i)r[i].exec(n.ss,(function(){--o||t.call(n)}),n);function a(e){for(var t=0;t<e.length;++t){var n=e[t];n.formula&&r.push(n.formula)}return!0}}cellValues(e,t){for(var n=[],r=0;r<e.length;++r){var o=e[r];o instanceof g?(o=this.getRefData(o,t),n=n.concat(o)):Array.isArray(o)?n=n.concat(this.cellValues(o,t)):o instanceof se?n=n.concat(this.cellValues(o.data,t)):n.push(o)}return n}fetchName(e,t){var n=this.formula,r=this.ss.nameValue(e,n.sheet,n.row,n.col);if(r instanceof ce){r=r.clone(n.sheet,n.row,n.col,!0);var o=new Fn(this.ss.workbook);r.exec(o,t,this)}else r instanceof g&&((r=r.absolute(n.row,n.col))instanceof x&&this.ss.isMerged(r)&&(r=r.topLeft),r.sheet||(r.sheet=n.sheet)),t(null==r?new T("NAME"):r)}force(e){return e instanceof g?this.getRefData(e):e}func(e,t,n){e=e.toLowerCase();var r=oe[e];if(r)return r.call(this,t,n);t(new T("NAME"))}bool(e){return e instanceof g&&(e=this.getRefData(e)),"string"==typeof e?"true"==e.toLowerCase():"number"==typeof e?0!==e:"boolean"==typeof e?e:null!=e}_arrayArg(e){var t=this.formula;return!t.arrayFormulaRange&&e instanceof x?1==e.height()&&t.col>=e.topLeft.col&&t.col<=e.bottomRight.col?this.getRefData(new w(e.topLeft.row,t.col).setSheet(e.sheet)):1==e.width()&&t.row>=e.topLeft.row&&t.row<=e.bottomRight.row?this.getRefData(new w(t.row,e.topLeft.col).setSheet(e.sheet)):new T("VALUE"):this.asMatrix(e)}asMatrix(e){if(e instanceof se)return e;var t=this;if(e instanceof x){var n=e.topLeft,r=n.row,o=n.col,i=t.getRefCells(e),a=new se(t);return isFinite(e.width())&&(a.width=e.width()),isFinite(e.height())&&(a.height=e.height()),isFinite(r)||(r=0),isFinite(o)||(o=0),i.forEach((function(e){a.set(e.row-r,e.col-o,e.value)})),a}if(Array.isArray(e)&&e.length>0){a=new se(t);var s=0;return e.forEach((function(e){var n=0,r=1;e.forEach((function(e){var o=e instanceof x;e instanceof g&&!o&&(e=t.getRefData(e)),(o||Array.isArray(e))&&(e=t.asMatrix(e)),e instanceof se?(e.each((function(e,t,r){a.set(s+t,n+r,e)})),r=Math.max(r,e.height),n+=e.width):("string"==typeof e&&e.length&&!isNaN(e)&&(e=Number(e)),a.set(s,n++,e))})),s+=r})),a}}getRefCells(e,t,n){var r=this.formula;return this.ss.getRefCells(e,t,r.sheet,r.row,r.col,n)}getRefData(e,t){var n=this.formula;return this.ss.getData(e,n.sheet,n.row,n.col,t)}workbook(){return this.ss.workbook}}class se{constructor(e){this.context=e,this.height=0,this.width=0,this.data=[]}clone(){var e=new se(this.context);return e.height=this.height,e.width=this.width,e.data=this.data.map((function(e){return e.slice()})),e}get(e,t){var n=this.data[e],r=n?n[t]:null;return r instanceof g?this.context.getRefData(r):r}getNA(e,t){return e<this.height&&t<this.width?this.get(e,t):new T("N/A")}set(e,t,n){var r=this.data[e];null==r&&(r=this.data[e]=[]),r[t]=n,e>=this.height&&(this.height=e+1),t>=this.width&&(this.width=t+1)}each(e,t){for(var n=0;n<this.height;++n)for(var r=0;r<this.width;++r){var o=this.get(n,r);if((t||null!=o)&&void 0!==(o=e.call(this.context,o,n,r)))return o}}map(e,t){var n=new se(this.context);return this.each((function(t,r,o){n.set(r,o,e.call(this,t,r,o))}),t),n}eachRow(e){for(var t=0;t<this.height;++t){var n=e.call(this.context,t);if(void 0!==n)return n}}eachCol(e){for(var t=0;t<this.width;++t){var n=e.call(this.context,t);if(void 0!==n)return n}}mapRow(e){var t=new se(this.context);return this.eachRow((function(n){t.set(n,0,e.call(this.context,n))})),t}mapCol(e){var t=new se(this.context);return this.eachCol((function(n){t.set(0,n,e.call(this.context,n))})),t}toString(){return JSON.stringify(this.data)}transpose(){var e=new se(this.context);return this.each((function(t,n,r){e.set(r,n,t)})),e}unit(e){this.width=this.height=e;for(var t=this.data=new Array(e),n=e;--n>=0;)for(var r=t[n]=new Array(e),o=e;--o>=0;)r[o]=n==o?1:0;return this}multiply(e){for(var t=this,n=new se(t.context),r=0;r<t.height;++r)for(var o=0;o<e.width;++o){for(var i=0,a=0;a<t.width;++a){var s=t.get(r,a),l=e.get(a,o);if("number"!=typeof s||"number"!=typeof l)throw new T("VALUE");i+=s*l}n.set(r,o,i)}return n}adds(e,t){for(var n=this,r=new se(n.context),o=t?-1:1,i=0;i<n.height;++i)for(var a=0;a<n.width;++a){var s=n.get(i,a),l=e.get(i,a);r.set(i,a,s+o*l)}return r}determinant(){var e,t,n,r,o=this.clone().data,i=o.length,a=1;for(e=0;e<i;e++){for(t=e;t<i&&!o[t][e];t++);if(t==i)return 0;if(t!=e)for(a=-a,r=e;r<i;r++){var s=o[e][r];o[e][r]=o[t][r],o[t][r]=s}for(n=e+1;n<i;n++)for(r=e+1;r<i;r++)o[n][r]-=o[e][r]*o[n][e]/o[e][e];a*=o[e][e]}return a}inverse(){for(var e,t=this.width,n=this.augment(new se(this.context).unit(t)),r=n.data,o=0;o<t;++o){var i=le(o,t,(function(e){return r[e][o]}));if(!r[i][o])return null;o!=i&&(e=r[o],r[o]=r[i],r[i]=e);for(var a=o+1;a<t;++a){for(var s=o+1;s<2*t;++s)r[a][s]-=r[o][s]*r[a][o]/r[o][o];r[a][o]=0}}for(a=0;a<t;++a){var l=r[a][a];for(s=0;s<2*t;++s)r[a][s]/=l}for(o=t;--o>=0;)for(a=o;--a>=0;)if(r[a][o])for(s=2*t;--s>=t;)r[a][s]-=r[o][s]*r[a][o];return n.slice(0,t,t,t)}augment(e){var t=this.clone(),n=t.width;return e.each((function(e,r,o){t.set(r,o+n,e)})),t}slice(e,t,n,r){for(var o=new se(this.context),i=0;i<n;++i)for(var a=0;a<r;++a)o.set(i,a,this.get(e+i,t+a));return o}}function le(e,t,n){for(var r=n(e),o=e;++e<t;){var i=n(e);i>r&&(r=i,o=e)}return o}let ce=class e{constructor(e,t,n,r,o,i,a){this.refs=e,this.handler=t,this.print=n,this.absrefs=null,this.sheet=r,this.row=o,this.col=i,this.onReady=[],this.pending=!1,this.arrayFormulaRange=a}setArrayFormulaRange(e){this.arrayFormulaRange=e.clone().setSheet(this.sheet)}clone(t,n,r,o){var i=t.toLowerCase(),a=this.refs,s=this.arrayFormulaRange;return(o||i!=this.sheet.toLowerCase())&&(a=a.map((function(e){return e.hasSheet()||e.sheet&&e.sheet.toLowerCase()==i||(e=e.clone().setSheet(t)),e})),s&&(s=s.clone().setSheet(t))),new e(a,this.handler,this.print,t,n,r,s)}deepClone(){var t=this.refs.map((function(e){return e.clone()}));return new e(t,this.handler,this.print,this.sheet,this.row,this.col,this.arrayFormulaRange)}resolve(e){this.pending=!1,this.onReady.forEach((function(t){t(e)}))}exec(e,t,n){if("value"in this)t&&t(this.value);else{t&&this.onReady.push(t);for(var r=new ae(this.resolve,this,e,n),o=0;n;){if(n.formula===this)return this.pending=!1,void r.resolve(new T("CIRCULAR"));n=n.parent,++o}if(this.pending)return;this.pending=!0;var i=function(){this.absrefs||(this.absrefs=this.refs.map((function(e){return e.absolute(this.row,this.col)}),this)),this.handler.call(r)}.bind(this);o<20?i():setTimeout(i,0)}}reset(){this.onReady=[],this.pending=!1,delete this.value}renameSheet(e,t){e=e.toLowerCase(),this.absrefs=null,this.sheet.toLowerCase()==e&&(this.sheet=t),this.refs.forEach((function(n){n.renameSheet(e,t)}))}adjust(t,n,r,o){t=t.toLowerCase();var i=this.row,a=this.col,s=this.sheet.toLowerCase(),l=!1;s==t&&("row"==n&&i>=r&&(this.row+=o,l=!0),"col"==n&&a>=r&&(this.col+=o,l=!0));var c=this.row,u=this.col;this.absrefs=null;var h=this.refs,d=l;this.refs=h.map((function(e){var t=f(e);return d||ue(t,e)||(d=!0),t}));var p=this.arrayFormulaRange;if(p&&(this.arrayFormulaRange=f(p),d||ue(p,this.arrayFormulaRange)||(d=!0)),d)return new e(h,this.handler,this.print,this.sheet,i,a,p);function f(e){return e===b?e:e.sheet.toLowerCase()!=t?(l&&("row"==n&&i>=r&&(e=e.relative(o,0)),"col"==n&&a>=r&&(e=e.relative(0,o))),e):e.adjust(i,a,c,u,"row"==n,r,o)}}toString(){return this.print(this.row,this.col)}};function ue(e,t){if(e.constructor!==t.constructor)return!1;if(e instanceof w)return e.sheet==t.sheet&&e.row==t.row&&e.col==t.col&&e.rel==t.rel;if(e instanceof x)return ue(e.topLeft,t.topLeft)&&ue(e.bottomRight,t.bottomRight)&&e.endSheet==t.endSheet;if(e instanceof k){var n=e.refs.length;if(n!=t.refs.length)return!1;for(;--n>=0;)if(!ue(e.refs[n],t.refs[n]))return!1}return!0}function he(e,t){var n,r,o,i="function arrayArgs(args) { var xargs = [], width = 0, height = 0, arrays = [], i = 0; ",a="function resolve(args, callback) { var toResolve = [], i = 0; ",s="'use strict'; function check(args) { var stack = [], tmp, xargs = [], i = 0, m, err = 'VALUE'; ",l=!1,c=!1,u=!1;return s+=t.map((function e(t){n=t[0];var o="{ ";if(Array.isArray(n))i+="while (i < args.length) { ",a+="while (i < args.length) { ",o+="xargs.push(tmp = []); stack.push(xargs); xargs = tmp; ",o+="while (i < args.length) { ",o+=t.map(e).join(""),o+="} ",o+="xargs = stack.pop(); ",a+="} ",i+="} ";else if("+"==n)i+="while (i < args.length) { ",a+="while (i < args.length) { ",o+="if (i >= args.length) return new CalcError('N/A'); ",o+="xargs.push(tmp = []); stack.push(xargs); xargs = tmp; ",o+="do { ",o+=t.slice(1).map(e).join(""),o+="} while (i < args.length); ",o+="xargs = stack.pop(); ",a+="} ",i+="} ";else if("?"==n)o+="if (!("+p(t[1])+")) return new CalcError(err); ";else{var s=t[1];if(Array.isArray(s)&&/^#?collect/.test(s[0])){var l=/!$/.test(s[0]),d=s[2];h(),o+="try {var $"+n+" = this.cellValues(args.slice(i",d&&(o+=", i + "+d),o+=")"+(l?",true":"")+").reduce(function(ret, $"+n+"){ ","#"!=s[0].charAt(0)&&(o+="if ($"+n+" instanceof CalcError) throw $"+n+"; "),o+="if ("+p(s[1])+") ret.push($"+n+"); ",o+="return ret; ",o+="}.bind(this), []); ",o+=d?"i += "+d+"; ":"i = args.length; ",o+="xargs.push($"+n+")} catch(ex) { if (ex instanceof CalcError) return ex; throw ex; } ",a+="toResolve.push(args.slice(i)); "}else if("rest"==s)o+="xargs.push(args.slice(i)); i = args.length; ";else{(c=/^\*/.test(n))&&(u=!0,n=n.substr(1)),o+="var $"+n+" = args[i++]; ";var f=!1;/!$/.test(s)?(s=s.substr(0,s.length-1),f=!0):o+="if ($"+n+" instanceof CalcError) return $"+n+"; ",o+=function(e,t){r=!1;var o="if (!("+p(e)+")) { ";return r&&!t&&(o+=" if ($"+n+" instanceof CalcError) return $"+n+"; "),r||(a+="i++; "),i+=c?"var $"+n+" = this._arrayArg(args[i]); if ($"+n+") { xargs.push($"+n+"); width = Math.max(width, $"+n+".width); height = Math.max(height, $"+n+".height); arrays.push(true) } else { xargs.push(args[i]); arrays.push(false); } i++; ":"xargs.push(args[i++]); arrays.push(false); ",o+"return new CalcError(err); } "}(s,f)+"xargs.push($"+n+"); "}}return o+"} "})).join(""),s+="if (i < args.length) return new CalcError('N/A'); ",s+="return xargs; } ",i+="return { args: xargs, width: width, height: height, arrays: arrays }; } ",l?(a+="this.resolveCells(toResolve, callback); } ",o=new Function("kendo","CalcError","round",s+a+i+" return { resolve: resolve, check: check, arrayArgs: arrayArgs };")):o=new Function("kendo","CalcError","round",s+" return { check: check };"),o=o(ie,T,de),u||delete o.arrayArgs,o;function h(){return r?"$"+n:(l=!0,r=!0,a+="toResolve.push(args[i++]); ","($"+n+" = this.force($"+n+"))")}function d(e){return"("+(e?"(typeof "+h()+" == 'number' ? ($"+n+" = round($"+n+"), true) : false) || ":"(typeof "+h()+" == 'number') || ")+"(typeof $"+n+" == 'boolean' ? ($"+n+" = +$"+n+", true) : false) || (typeof $"+n+" == 'string' && !/^(?:=|true|false)/i.test($"+n+") ? (tmp = kendo.spreadsheet.calc.parse(0, 0, 0, $"+n+"), /^date|number|percent$/.test(tmp.type) ? ($"+n+" = +tmp.value, true) : false) : false))"}function p(e){if(Array.isArray(e)){if("or"==e[0])return"("+e.slice(1).map(p).join(") || (")+")";if("and"==e[0])return"("+e.slice(1).map(p).join(") && (")+")";if("values"==e[0])return"("+e.slice(1).map((function(e){return h()+" === "+e})).join(") || (")+")";if("null"==e[0])return"("+p("null")+" ? (($"+n+" = "+e[1]+"), true) : false)";if("between"==e[0]||"[between]"==e[0])return"("+h()+" >= "+e[1]+" && $"+n+" <= "+e[2]+" ? true : ((err = 'NUM'), false))";if("(between)"==e[0])return"("+h()+" > "+e[1]+" && $"+n+" < "+e[2]+" ? true : ((err = 'NUM'), false))";if("(between]"==e[0])return"("+h()+" > "+e[1]+" && $"+n+" <= "+e[2]+" ? true : ((err = 'NUM'), false))";if("[between)"==e[0])return"("+h()+" >= "+e[1]+" && $"+n+" < "+e[2]+" ? true : ((err = 'NUM'), false))";if("assert"==e[0]){var t=e[2]||"N/A";return"(("+e[1]+") ? true : (err = "+JSON.stringify(t)+", false))"}if("not"==e[0])return"!("+p(e[1])+")";throw new Error("Unknown array type condition: "+e[0])}if("number"==e||"datetime"==e)return d(!0);if("number!"==e)return"(typeof "+h()+" == 'number' ? ($"+n+" = round($"+n+"), true) : false)";if("integer"==e||"date"==e)return"("+d()+" && (($"+n+" |= 0), true))";if("divisor"==e)return"("+d(!0)+" && ($"+n+" == 0 ? ((err = 'DIV/0'), false) : true))";if("number+"==e)return"("+d(!0)+" && ($"+n+" >= 0 ? true : ((err = 'NUM'), false)))";if("integer+"==e)return"("+d()+" && (($"+n+" |= 0) >= 0 ? true : ((err = 'NUM'), false)))";if("number++"==e)return"("+d(!0)+" && ($"+n+" > 0 ? true : ((err = 'NUM'), false)))";if("integer++"==e)return"("+d()+" && (($"+n+" |= 0) > 0 ? true : ((err = 'NUM'), false)))";if("string"==e)return"((typeof "+h()+" == 'string' || typeof $"+n+" == 'boolean' || typeof $"+n+" == 'number') ? ($"+n+" += '', true) : ($"+n+" === undefined ? (($"+n+" = ''), true) : false))";if("boolean"==e)return"(typeof "+h()+" == 'boolean')";if("logical"==e)return"(typeof "+h()+" == 'boolean' || (typeof $"+n+" == 'number' ? ($"+n+" = !!$"+n+", true) : false))";if("matrix"==e)return h(),"((m = this.asMatrix($"+n+")) ? ($"+n+" = m) : false)";if("#matrix"==e)return"((m = this.asMatrix($"+n+")) ? ($"+n+" = m) : false)";if("ref"==e)return"($"+n+" instanceof kendo.spreadsheet.Ref)";if("area"==e)return"($"+n+" instanceof kendo.spreadsheet.CellRef || $"+n+" instanceof kendo.spreadsheet.RangeRef)";if("cell"==e)return"($"+n+" instanceof kendo.spreadsheet.CellRef)";if("null"==e)return"("+h()+" == null)";if("anyvalue"==e)return"("+h()+" != null && i <= args.length)";if("forced"==e)return"("+h()+", i <= args.length)";if("anything"==e)return"(i <= args.length)";if("blank"==e)return"("+h()+" == null || $"+n+" === '')";throw new Error("Can't check for type: "+e)}}function de(e){return e===parseInt(e,10)?e:+e.toPrecision(16)}function pe(e,t,n){if(n instanceof T)return n;try{return t.apply(e,n)}catch(e){if(e instanceof T)return e;throw e}}function fe(e,t){return e=e.toLowerCase(),oe[e]=t,{args:function(n,r){var o=he(0,n);r&&(o.arrayArgs&&window.console.log(o.arrayArgs.toString()),o.resolve&&window.console.log(o.resolve.toString()),o.check&&window.console.log(o.check.toString()));var i,a,s,l,c=oe[e]=(i=t,a=o.resolve,s=o.check,l=o.arrayArgs,function(e,t){function n(){if(l){var n=l.call(this,t);if(t=n.args,n.width>0&&n.height>0){for(var r=new se(this),o=0;o<n.height;++o)for(var a=0;a<n.width;++a){for(var c=[],u=0;u<t.length;++u)n.arrays[u]?c[u]=t[u].getNA(o,a):c[u]=t[u];c=s.call(this,c),r.set(o,a,pe(this,i,c))}return e(r)}}c=s.call(this,t),e(pe(this,i,c))}a?a.call(this,t,n):n.call(this)});return c.kendoSpreadsheetArgs=n,this},argsAsync:function(n,r){var o=he(0,n);r&&(o.arrayArgs&&window.console.log(o.arrayArgs.toString()),o.resolve&&window.console.log(o.resolve.toString()),o.check&&window.console.log(o.check.toString()));var i,a,s,l,c=oe[e]=(i=t,a=o.resolve,s=o.check,l=o.arrayArgs,function(e,t){function n(){if(l){var n=l.call(this,t);if(t=n.args,n.width>0&&n.height>0){for(var r=new se(this),o=n.width*n.height,a=function(t,n){return function(i){if(r.set(t,n,i),0==--o)return e(r)}},c=0;c<n.height&&o>0;++c)for(var u=0;u<n.width&&o>0;++u){for(var h=[],d=0;d<t.length;++d)n.arrays[d]?h[d]=t[d].getNA(c,u):h[d]=t[d];if((h=s.call(this,h))instanceof T){if(r.set(c,u,h),0==--o)return e(r)}else h.unshift(a(c,u)),i.apply(this,h)}return}}(n=s.call(this,t))instanceof T?e(n):(n.unshift(e),i.apply(this,n))}a?a.call(this,t,n):n.call(this)});return c.kendoSpreadsheetArgs=n,this}}}function me(e,t,n){return(1461*(e+4800+((++t-14)/12|0))/4|0)+(367*(t-2-12*((t-14)/12|0))/12|0)-(3*((e+4900+((t-14)/12|0))/100|0)/4|0)+n-32075}oe.if=function(e,t){var n=this,r=t[0],o=t[1],i=t[2];this.resolveCells([r],(function(){var t=n.asMatrix(r);t?o((function(r){i((function(o){var i=n.asMatrix(r),a=n.asMatrix(o);e(t.map((function(e,t,s){return e instanceof T?e:n.bool(e)?i?i.get(t,s):r:a?a.get(t,s):o})))}))})):(r=this.force(r))instanceof T?e(r):n.bool(r)?o(e):i(e)}))},oe["φ"]=function(e){e((1+Math.sqrt(5))/2)};var ve=me(1900,0,-1),ge=[31,28,31,30,31,30,31,31,30,31,30,31],be=[[0,31,59,90,120,151,181,212,243,273,304,334],[0,31,60,91,121,152,182,213,244,274,305,335]];function ye(e){return e%4?0:e%100?1:e%400?0:1}function we(e){return ye(e)?366:365}function xe(e,t){return ye(e)&&1==t?29:ge[t]}function ke(e){return n=(t=(0|e)+ve)+68569,s=(n=(n-=(146097*(r=4*n/146097|0)+3)/4|0)-(1461*(i=4e3*(n+1)/1461001|0)/4|0)+31)-(2447*(o=80*n/2447|0)/80|0),a=o+2-12*(n=o/11|0),{year:l=100*(r-49)+i+n,month:--a,date:s,day:(t+1)%7,ord:be[ye(l)][a]+s};var t,n,r,o,i,a,s,l}function Ce(e,t,n){return me(e,t,n)-ve}var ze=6e4,_e=60*ze,Ee=24*_e;function Ie(e){var t=e-(0|e);t<0&&t++;var n=Math.round(Ee*t),r=Math.floor(n/_e);n-=r*_e;var o=Math.floor(n/ze);n-=o*ze;var i=Math.floor(n/1e3);return{hours:r,minutes:o,seconds:i,milliseconds:n-=1e3*i}}function Se(e){var t=ke(e),n=Ie(e);return new Date(t.year,t.month,t.date,n.hours,n.minutes,n.seconds,n.milliseconds)}function Me(e,t,n,r){return(e+(t+(n+r/1e3)/60)/60)/24}function Oe(e){var t=Me(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return(e=Ce(e.getFullYear(),e.getMonth(),e.getDate()))<0?e-1+t:e+t}function Re(e,t){var n=oe[t];if(!n)throw new Error("Function "+t+" is not yet defined");n.kendoSpreadsheetAliases||(n.kendoSpreadsheetAliases=[t]),n.kendoSpreadsheetAliases.push(e),oe[e]=n}re.runtime.CalcError=T,re.runtime.Formula=ce,re.runtime.Matrix=se,re.runtime.packDate=Ce,re.runtime.unpackDate=ke,re.runtime.packTime=Me,re.runtime.unpackTime=Ie,re.runtime.serialToDate=Se,re.runtime.dateToSerial=Oe,re.runtime.daysInMonth=xe,re.runtime.validDate=function(e,t,n){return t>=1&&t<=12&&n>=1&&n<=xe(e,t-1)},re.runtime.isLeapYear=ye,re.runtime.daysInYear=we,re.runtime.parseDate=function(e,t){t&&(t=Wn.makeDateFormat(t));const n=U().parseDate;return n(e,t)||n(e)||n(e,["MMMM dd yyyy","MMMM dd yy","MMM dd yyyy","MMM dd yy","dd MMMM yyyy","dd MMMM yy","dd MMM yyyy","dd MMM yy","MMMM dd, yyyy","MMMM dd, yy","MMM dd, yyyy","MMM dd, yy","MMMM dd","MMM dd","MMMM yyyy","MMM yyyy","dd MMMM","dd MMM"])},re.runtime.limitPrecision=de,re.runtime.defineFunction=fe,re.runtime.defineAlias=Re;var He=["or","number",["null",0]],Fe=[["*a",He],["*b",He]],De=[["*a","forced"],["*b","forced"]];function Ae(e,t){return e="string"==typeof e?e.toLowerCase():e,t="string"==typeof t?t.toLowerCase():t,!1===e&&null==t||!1===t&&null==e||0===e&&null==t||0===t&&null==e||""===e&&null==t||""===t&&null==e||e===t}function Ve(e){return function(t,n){return"string"==typeof t&&"string"!=typeof n&&(n=null==n?"":n+""),"string"!=typeof t&&"string"==typeof n&&(t=null==t?"":t+""),"number"==typeof t&&null==n&&(n=0),"number"==typeof n&&null==t&&(t=0),"string"==typeof t&&"string"==typeof n&&(t=t.toLowerCase(),n=n.toLowerCase()),typeof n==typeof t?e(t,n):new T("VALUE")}}fe("binary+",(function(e,t){return e+t})).args(Fe),fe("binary-",(function(e,t){return e-t})).args(Fe),fe("binary*",(function(e,t){return e*t})).args(Fe),fe("binary/",(function(e,t){return e/t})).args([["*a",He],["*b","divisor"]]),fe("binary^",(function(e,t){return Math.pow(e,t)})).args(Fe),fe("binary&",(function(e,t){return null==e&&(e=""),null==t&&(t=""),""+e+t})).args([["*a",["or","number","string","boolean","null"]],["*b",["or","number","string","boolean","null"]]]),fe("binary=",Ae).args(De),fe("binary<>",(function(e,t){return!Ae(e,t)})).args(De),fe("binary<",Ve((function(e,t){return e<t}))).args(De),fe("binary<=",Ve((function(e,t){return e<=t}))).args(De),fe("binary>",Ve((function(e,t){return e>t}))).args(De),fe("binary>=",Ve((function(e,t){return e>=t}))).args(De),fe("unary+",(function(e){return e})).args([["*a",He]]),fe("unary-",(function(e){return-e})).args([["*a",He]]),fe("unary%",(function(e){return e/100})).args([["*a",He]]),fe("binary:",(function(e,t){return new x(e,t).setSheet(e.sheet||this.formula.sheet,e.hasSheet())})).args([["a","cell"],["b","cell"]]),fe("binary,",(function(e,t){return new k([e,t])})).args([["a","ref"],["b","ref"]]),fe("binary ",(function(e,t){return e.intersect(t)})).args([["a","ref"],["b","ref"]]),fe("not",(function(e){return!this.bool(e)})).args([["*a",["or","anyvalue",["null",0]]]]),fe("isblank",(function(e){return e instanceof w&&null==this.getRefData(e)})).args([["*value","anything!"]]),fe("iserror",(function(e){return e instanceof T})).args([["*value","forced!"]]),fe("iserr",(function(e){return e instanceof T&&"N/A"!=e.code})).args([["*value","forced!"]]),fe("isna",(function(e){return e instanceof T&&"N/A"==e.code})).args([["*value","forced!"]]),fe("islogical",(function(e){return"boolean"==typeof e})).args([["*value","forced!"]]),fe("isnontext",(function(e){return"string"!=typeof e})).args([["*value","forced!"]]),fe("istext",(function(e){return"string"==typeof e})).args([["*value","forced!"]]),fe("isnumber",(function(e){return"number"==typeof e})).args([["*value","forced!"]]),fe("isref",(function(e){return e instanceof w||e instanceof x})).args([["*value","anything!"]]),fe("_matrix",(function(e){return"string"==typeof e&&(e=this.asMatrix([e.split(/\s*,\s*/)])),e})).args([["m",["or","matrix","string"]]]),oe[",getname"]=function(e,t){this.fetchName(t[0],e)};let Be=Object.create(null),Ne=Object.create(null);var Le;(Le=[[":"],[" "],[","],["%"],["^"],["*","/"],["+","-"],["&"],["=","<",">","<=",">=","<>"]]).forEach((function(e,t){e.forEach((function(e){Be[e]=Le.length-t,Ne[","===e?";":e]=Le.length-t}))}));let Pe=Be,Te={DEC:".",ARG:",",COL:","};function je(e){Te.DEC=e,Te.ARG=","===e?";":",",Te.COL=","===e?"\\":",",Pe=","===e?Ne:Be}re.withDecimalSeparator=function(e,t){if(Te.DEC===e)return t();let n=Te.DEC;je(e);try{return t()}finally{je(n)}},re._separators=Te;class Ue{constructor(e,t){this.message=e,this.pos=t}toString(){return this.message}}let We={type:"bool",value:!0},Ke={type:"bool",value:!1};function qe(e){e=e.toUpperCase();let t=0;for(let n=0;n<e.length;++n)t=26*t+e.charCodeAt(n)-64;return t-1}function Ge(e){return parseInt(e,10)-1}function $e(e,t,n,r){let o=[],i=(r=tt(r,{row:t,col:n})).is;return{type:"exp",ast:l(!0),refs:o,sheet:e,row:t,col:n};function a(e){return e.index=o.length,o.push(e),e}function s(e,t,n){if(i(e,t))return r.next();{let o=r.peek();o?r.croak("Expected "+e+" «"+t+"» but found "+o.type+" «"+o.value+"»"):n||r.croak("Expected "+e+" «"+t+"»")}}function l(e){return h((t=c(),i("punc","(")||i("ref")||i("num")||i("func")?{type:"binary",op:" ",left:t,right:l(!1)}:t),0,e);var t}function c(){let t;var n,o;return i("ref")?((o=r.next()).hasSheet()||o.setSheet(e),t=a(o)):i("func")?t=function(){let e=r.next();e=e.value,s("punc","(");let t=[];for(;!i("punc",")");)if(i("op",Te.ARG))t.push({type:"null"}),r.next();else{if(t.push(l(!1)),r.eof()||i("punc",")"))break;s("op",Te.ARG)}return s("punc",")",!0),{type:"func",func:e,args:t}}():i("punc","(")?(r.next(),t=l(!0),s("punc",")",!0)):i("punc","{")?(r.next(),t=function(){let e=[],t=[e],n=!0;for(;!r.eof()&&!i("punc","}");)n?n=!1:i(null,";")?(t.push(e=[]),r.next()):s(null,Te.COL),e.push(l(!1));return{type:"matrix",value:t}}(),s("punc","}",!0)):i("num")||i("str")||i("error")?t=r.next():i("sym")?t="TRUE"===(n=r.next()).upper||"FALSE"===n.upper?"TRUE"===n.upper?We:Ke:a(new y(n.value)):i("op","+")||i("op","-")?t={type:"prefix",op:r.next().value,exp:c()}:r.peek()?i("punc","[")?r.croak("External reference not supported"):r.croak("Parse error"):r.croak("Incomplete expression"),u(t)}function u(e){return i("op","%")?(r.next(),u({type:"postfix",op:"%",exp:e})):e}function h(e,t,n){let o=i("op");if(o&&(n||o.value!==Te.ARG)){let i=Pe[o.value];if(i>t){r.next();let a=h(c(),i,n);return h({type:"binary",op:";"===o.value?",":o.value,left:e,right:a},t,n)}}return e}}let Ye=(Ze=Object.create(null),function(e){let t=Ze[e];return t||(t=Ze[e]=new Function("kendo","'use strict';return("+e+")")(ie)),t});var Ze;function Xe(e,t){let n=0;return r(e,t);function r(e,t){switch(e.type){case"ref":return function(e,t){return"name"===e.ref?function(e,t){return{type:"func",func:",getname",args:[a(t),e]}}(e,t):o(e,t)}(e,t);case"num":case"str":case"null":case"error":case"bool":return o(e,t);case"prefix":case"postfix":return function(e,t){return r({type:"func",func:"unary"+e.op,args:[e.exp]},t)}(e,t);case"binary":return function(e,t){return r({type:"func",func:"binary"+e.op,args:[e.left,e.right]},t)}(e,t);case"func":return function(e,t){switch(e.func.toLowerCase()){case"if":return function(e,t,n,o){return r(e,(function(e){let i=a(o),l=s("T"),c=s("E");return{type:"func",func:"if",args:[i,e,{type:"lambda",vars:[l],body:r(t||We,(function(e){return{type:"call",func:{type:"var",name:l},args:[e]}}))},{type:"lambda",vars:[c],body:r(n||Ke,(function(e){return{type:"call",func:{type:"var",name:c},args:[e]}}))}]}}))}(e.args[0],e.args[1],e.args[2],t);case"and":return function(e,t){return 0===e.length?o(We,t):r({type:"func",func:"IF",args:[e[0],{type:"func",func:"AND",args:e.slice(1)},Ke]},t)}(e.args,t);case"or":return function(e,t){return 0===e.length?o(Ke,t):r({type:"func",func:"IF",args:[e[0],We,{type:"func",func:"OR",args:e.slice(1)}]},t)}(e.args,t);case"true":return t(We);case"false":return t(Ke)}return function t(n,o){return o===e.args.length?{type:"func",func:e.func,args:n}:r(e.args[o],(function(e){return t(n.concat([e]),o+1)}))}([a(t)],0)}(e,t);case"lambda":return function(e,t){let n=s("K"),o=r(e.body,(function(e){return{type:"call",func:{type:"var",value:n},args:[e]}}));return t({type:"lambda",vars:[n].concat(e.vars),body:o})}(e,t);case"matrix":return i(e.value,t,!0)}throw new Error("Cannot CPS "+e.type)}function o(e,t){return t(e)}function i(e,t,n){let o=[];return function a(s){return s===e.length?t({type:"matrix",value:o}):(n?i:r)(e[s],(function(e){return o[s]=e,a(s+1)}))}(0)}function a(e){let t=s("R");return{type:"lambda",vars:[t],body:e({type:"var",name:t})}}function s(e){return e||(e=""),(e="_"+e)+ ++n}}let Je=Object.create(null);function Qe(e){let t=function(e){return Ye("function(row, col, mod){return("+function e(n,r,o){switch(n.type){case"num":return"(kendo.spreadsheet.calc._separators.DEC == '.' ? "+JSON.stringify(JSON.stringify(n.value))+" : "+JSON.stringify(JSON.stringify(n.value))+".replace('.' , kendo.spreadsheet.calc._separators.DEC))";case"bool":return JSON.stringify(n.value);case"error":return JSON.stringify("#"+n.value);case"str":return JSON.stringify(JSON.stringify(n.value));case"ref":return"this.refs["+n.index+"].print(row, col, mod)";case"prefix":return i((function(){return JSON.stringify(n.op)+" + "+e(n.exp,n,Pe[n.op])}));case"postfix":return i((function(){return e(n.exp,n,Pe[n.op])+" + "+JSON.stringify(n.op)}));case"binary":return i((function(){let r=t(e(n.left,n,Pe[n.op]),n.left instanceof y&&":"===n.op),o=t(e(n.right,n,Pe[n.op]),n.right instanceof y&&":"===n.op);return/^[,;]/.test(n.op)?r+" + kendo.spreadsheet.calc._separators.ARG + "+o:r+" + "+JSON.stringify(n.op)+" + "+o}));case"func":return JSON.stringify(n.func+"(")+" + "+(n.args.length>0?n.args.map((function(t){return e(t,n,0)})).join(" + kendo.spreadsheet.calc._separators.ARG + ' ' + "):"''")+" + ')'";case"matrix":return"'{ ' + "+n.value.map((function(t){return t.map((function(t){return e(t,n,0)})).join(" + kendo.spreadsheet.calc._separators.COL + ' ' + ")})).join(" + '; ' + ")+"+ ' }'";case"null":return"''"}throw new Error("Cannot make printer for node "+n.type);function i(e){let i=n.op,a=Pe[i]<o||!o&&","===i||"prefix"===r.type&&o===Pe[i]&&"-"===r.op||"binary"===r.type&&o===Pe[i]&&n===r.right;return t(e(),a)}}(e.ast,e,0)+")}");function t(e,t){return t?"'(' + "+e+" + ')'":e}}(e),n=t.call(e),r=Je[n];if(r)return r.clone(e.sheet,e.row,e.col);let o=i(Xe(e.ast,(function(e){return{type:"return",value:e}})));return o=["function(){","let context = this, refs = context.formula.absrefs",o,"}"].join(";\n"),r=new re.runtime.Formula(e.refs,Ye(o),t,e.sheet,e.row,e.col),Je[n]=r.clone(e.sheet,e.row,e.col),r;function i(e){let t=e.type;if("num"===t)return e.value+"";if("str"===t)return JSON.stringify(e.value);if("error"===t)return"context.error("+JSON.stringify(e.value)+")";if("return"===t)return"context.resolve("+i(e.value)+")";if("func"===t)return"context.func("+JSON.stringify(e.func)+", "+i(e.args[0])+", "+a(e.args.slice(1))+")";if("call"===t)return i(e.func)+"("+e.args.map(i).join(", ")+")";if("ref"===t)return"refs["+e.index+"]";if("bool"===t)return""+e.value;if("if"===t)return"(context.bool("+i(e.co)+") ? "+i(e.th)+" : "+i(e.el)+")";if("lambda"===t)return"(function("+e.vars.join(", ")+"){ return("+i(e.body)+") })";if("var"===t)return e.name;if("matrix"===t)return a(e.value);if("null"===t)return"null";throw new Error("Cannot compile expression "+t)}function a(e){return"[ "+e.map(i).join(", ")+" ]"}}function et(e){return e}function tt(e,t){e=function(e,t){let n=[],r=0,o=e.readWhile;return{next:d,peek:h,eof:function(){return null==h()},croak:e.croak,ahead:function(e,t){let n=r,o=[];for(;e-- >0;)o.push(d()||rt);return r=n,t.apply(o,o)},skip:function(e){r+=e}};function i(e){return/[0-9]/i.test(e)}function a(e){return/[a-z$_]/i.test(e)||function(e){return M.test(e)}(e)}function s(e){return a(e)||i(e)||"."===e}function l(t,n){return{type:"sym",value:t,upper:t.toUpperCase(),space:nt(e.peek()),quote:n}}function c(e,t,n){if(!e&&!t&&!n)return null;if(!e&&!n||e&&n){let n=t?parseInt(t,10):0;return e?n:n-1}}function u(){if(e.eof())return null;let n,r=e.peek();return'"'===r?(e.next(),{type:"str",value:e.readEscaped('"')}):"'"===r?(e.next(),l(e.readEscaped("'"),!0)):i(r)||r===Te.DEC?function(){let e=!1,t=o((function(t){return t===Te.DEC?!e&&(e=!0,!0):i(t)}));return t===Te.DEC?{type:"punc",value:Te.DEC}:{type:"num",value:parseFloat(t.replace(Te.DEC,"."))}}():a(r)?function(){let t=e.lookingAt(/^R(\[)?(-?[0-9]+)?(\])?C(\[)?(-?[0-9]+)?(\])?/i);if(t){let n=c(t[1],t[2],t[3]),r=c(t[4],t[5],t[6]);if(null!=n&&null!=r)return e.skip(t),{type:"rc",row:n,col:r,rel:(t[4]||!(t[4]||t[5]||t[6])?1:0)|(t[1]||!(t[1]||t[2]||t[3])?2:0)}}return l(o(s))}():function(e){return e in Pe}(r)?{type:"op",value:o((function(e,t){return t+e in Pe}))}:function(e){return"\\!;(){}[]".indexOf(e)>=0}(r)?{type:"punc",value:e.next()}:(n=e.lookingAt(/^#([a-z\/]+)[?!]?/i))?(e.skip(n),{type:"error",value:n[1]}):(t.forEditor||e.croak("Can't handle character with code: "+r.charCodeAt(0)),{type:"error",value:e.next()})}function h(){for(;n.length<=r;){o(nt);let r=e.pos(),i=u();t.forEditor&&i&&(i.begin=r,i.end=e.pos()),n.push(i)}return n[r]}function d(){let e=h();return e&&r++,e}}(ot(e),t);let n=e.ahead,r=e.skip,o=null,i=null!=t.row&&null!=t.col?function(e){return 1&e.rel&&(e.col-=t.col),2&e.rel&&(e.row-=t.row),e}:et,a=t.forEditor?function(e,t,n){return e.begin=t.begin,e.end=n.end,e}:et;return{peek:s,next:function(){if(null!=o){let e=o;return o=null,e}return l()},croak:e.croak,eof:e.eof,is:function(e,t){let n=s();return null==n||null!=e&&n.type!==e||null!=t&&n.value!==t?null:n}};function s(){return null==o&&(o=l()),o}function l(){let t,r=e.peek();return r&&("sym"!==r.type&&"rc"!==r.type&&"num"!==r.type||(t=n(8,u)||n(6,h)||n(6,d)||n(4,p)||n(4,f)||n(2,m)||n(2,v)),t||(t=e.next())),t}function c(n,r){if("rc"===n.type)return!n.rel||t.forEditor||null!=t.row&&null!=t.col||e.croak("Cannot read relative cell in RC notation"),new w(n.row,n.col,n.rel);if("num"===n.type)return n.value<=1048577?i(new w(Ge(n.value),r?-1/0:1/0,2)):null;let o=n.value,a=/^(\$)?([a-z]+)(\$)?(\d+)$/i.exec(o);if(a){let e=Ge(a[4]),t=qe(a[2]);return e<=1048576&&t<=16383?i(new w(Ge(a[4]),qe(a[2]),(a[1]?0:1)|(a[3]?0:2))):null}let s="$"===o.charAt(0);if(s&&(o=o.substr(1)),/^\d+$/.test(o)){if(Ge(o)<=1048576)return i(new w(Ge(o),r?-1/0:1/0,s?0:2))}else if(qe(o)<=16383)return i(new w(r?-1/0:1/0,qe(o),s?0:1))}function u(e,t,n,o,i,s,l,u){if("sym"===e.type&&"op"===t.type&&":"===t.value&&"sym"===n.type&&"punc"===o.type&&"!"===o.value&&("sym"===i.type||"rc"===i.type||"num"===i.type&&i.value==i.value|0)&&"op"===s.type&&":"===s.value&&("sym"===l.type||"rc"===l.type||"num"===l.type&&l.value==l.value|0)&&l.type===i.type&&("punc"!==u.type||"("!==u.value||l.space)){let t=c(i,!0),o=c(l,!1);if(t&&o)return r(7),a(new x(t.setSheet(e.value,!0),o.setSheet(n.value,!0)).setSheet(e.value,!0),e,l)}}function h(e,t,n,o,i,s){if("sym"===e.type&&"op"===t.type&&":"===t.value&&"sym"===n.type&&"punc"===o.type&&"!"===o.value&&("sym"===i.type||"rc"===i.type||"num"===i.type&&i.value==i.value|0)&&("punc"!==s.type||"("!==s.value||i.space)){let t=c(i);if(t){r(5);let o=t.clone();return a(new x(t.setSheet(e.value,!0),o.setSheet(n.value,!0)).setSheet(e.value,!0),e,i)}}}function d(e,t,n,o,i,s){if("sym"===e.type&&"punc"===t.type&&"!"===t.value&&("sym"===n.type||"rc"===n.type||"num"===n.type&&n.value==n.value|0)&&"op"===o.type&&":"===o.value&&("sym"===i.type||"rc"===i.type||"num"===i.type&&i.value==i.value|0)&&("punc"!==s.type||"("!==s.value||i.space)){let t=c(n,!0),o=c(i,!1);if(t&&o)return r(5),a(new x(t,o).setSheet(e.value,!0),e,i)}}function p(e,t,n,o){if("sym"===e.type&&"punc"===t.type&&"!"===t.value&&("sym"===n.type||"rc"===n.type||"num"===n.type&&n.value==n.value|0)&&("punc"!==o.type||"("!==o.value||n.space)){r(3);let t=c(n);return t&&isFinite(t.row)||(t=new y(n.value)),a(t.setSheet(e.value,!0),e,n)}}function f(e,t,n,o){if(("sym"===e.type||"rc"===e.type||"num"===e.type&&e.value==e.value|0)&&"op"===t.type&&":"===t.value&&("sym"===n.type||"rc"===n.type||"num"===n.type&&n.value==n.value|0)&&("punc"!==o.type||"("!==o.value||n.space)){let t=c(e,!0),o=c(n,!1);if(t&&o)return r(3),a(new x(t,o),e,n)}}function m(e,t){if(("sym"===e.type||"rc"===e.type)&&("punc"!==t.type||"("!==t.value||e.space)){let t=c(e);if(t&&isFinite(t.row)&&isFinite(t.col))return r(1),a(t,e,e)}}function v(e,t){if("sym"===e.type&&"punc"===t.type&&"("===t.value&&!e.space)return e.type="func",r(1),e}}function nt(e){return" \t\r\n ​".indexOf(e)>=0}let rt={type:"eof"};function ot(e){let t=0;return{next:n,peek:r,eof:o,croak:i,readWhile:function(e){let t="";for(;!o()&&e(r(),t);)t+=n();return t},readEscaped:function(e){let t=!1,r="";for(;!o();){let o=n();if(t)r+=o,t=!1;else if("\\"===o)t=!0;else{if(o===e)break;r+=o}}return r},lookingAt:function(n){return n.exec(e.substr(t))},skip:function(n){if("string"==typeof n)e.substr(t,n.length)!==n&&i("Expected "+n),a(n.length);else if(n instanceof RegExp){let r=n.exec(e.substr(t));if(r)return a(r[0].length),r}else a(n[0].length)},forward:a,pos:function(){return t}};function n(){return e.charAt(t++)}function r(){return e.charAt(t)}function o(){return""===r()}function i(n){throw new Ue(n+" (input: "+e+")",t)}function a(e){for(;e-- >0;)n()}}let it=[],at=re.registerFormatParser=function(e){it.push(e)};re.parse=function(e,t,n,r,o){if(r instanceof Date)return{type:"date",value:re.runtime.dateToSerial(r)};if("number"==typeof r)return{type:"number",value:r};if("boolean"==typeof r)return{type:"boolean",value:r};if(/^'/.test(r+=""))return{type:"string",value:r.substr(1)};if(/^-?[0-9]+%$/.test(r)){let e=r.substr(0,r.length-1),t=parseFloat(e);if(!isNaN(t)&&t===e)return{type:"percent",value:t/100}}if(/^=/.test(r))return r=r.substr(1),/\S/.test(r)?$e(e,t,n,r):{type:"string",value:"="+r};for(let e=0;e<it.length;++e){let t=it[e](r,o);if(t)return t}if("true"===r.toLowerCase())return{type:"boolean",value:!0};if("false"===r.toLowerCase())return{type:"boolean",value:!1};let i=re.runtime.parseDate(r,o);if(i)return{type:"date",value:re.runtime.dateToSerial(i)};let a=parseFloat(r);return!isNaN(a)&&r.length>0&&a===r?(o=null,a!==Math.floor(a)&&(o="0."+String(a).split(".")[1].replace(/\d/g,"0")),{type:"number",value:a,format:o}):{type:"string",value:r}},re.parseNameDefinition=function(e,t){let n=$e(null,0,0,e);if(!(n.ast instanceof y))throw new Ue("Invalid name: "+e);if(n=n.ast,!(t instanceof g)){let e=$e(n.sheet,0,0,t);t=e.ast instanceof g?e.ast:/^(?:str|num|bool|error)$/.test(e.ast.type)?e.ast.value:Qe(e)}return{name:n,value:t}},re.parseFormula=$e,re.parseReference=function(e,t){if("#sheet"===e.toLowerCase())return z;e:{let t;if(t=/^(\$)?([a-z]+)(\$)?(\d+)$/i.exec(e)){let e=Ge(t[4]),n=qe(t[2]);if(e<1048576&&n<16384)return new w(Ge(t[4]),qe(t[2]));break e}let n=tt(e,{}),r=[];for(;;){let e=n.next();if(e instanceof w)e.rel=0;else{if(!(e instanceof x))break e;e.topLeft.rel=0,e.bottomRight.rel=0}if(r.push(e),n.eof())break;if(!n.is("op",Te.ARG))break e;n.next()}return 1===r.length?r[0]:new k(r)}if(!t)throw new Error("Cannot parse reference: "+e)},re.compile=Qe,re.parseSqref=function(e,t,n){e=tt(e,{row:t=t||0,col:n=n||0});let r=[];for(;!e.eof();){let o=e.next();if("ref"!==o.type)throw new Ue("Expecting a reference but got: "+JSON.stringify(o));r.push(o.absolute(t,n))}return r},re.InputStream=ot,re.ParseError=Ue,re.tokenize=function(e,t,n){let r=[];for(e=tt(e,{forEditor:!0,row:t,col:n});!e.eof();)r.push(i());let o=r[0];return"op"===o.type&&"="===o.value&&(o.type="startexp"),r;function i(){let r=e.next();return"sym"===r.type?"TRUE"===r.upper?(r.type="bool",r.value=!0):"FALSE"===r.upper&&(r.type="bool",r.value=!1):"ref"===r.type&&(r={type:"ref",ref:null!=t&&null!=n?r.absolute(t,n):r,begin:r.begin,end:r.end}),r}},at((function(e,t){let n,r=0,o="";if(t||(t=W().calendar.patterns.d),n=/^(\d+)([-/.])(\d+)\2(\d{2}(?:\d{2})?)(\s*)/.exec(e)){let i=parseInt(n[1],10),a=n[2],s=parseInt(n[3],10),l=parseInt(n[4],10);l<30?l+=2e3:l<100&&(l+=1900);let c=!t||t.indexOf("M")<t.indexOf("d");if(i>12||!c){let e=i;i=s,s=e,c=!1}if(!re.runtime.validDate(l,i,s))return null;r=re.runtime.packDate(l,i-1,s),r<0&&r--,o=c?["mm","dd","yyyy"].join(a):["dd","mm","yyyy"].join(a),o+=n[5],e=e.substr(n[0].length)}if(n=/^(\d+):(\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10);return{type:"date",format:o+"hh:mm",value:r+re.runtime.packTime(e,t,0,0)}}if(n=/^(\d+):(\d+)(\.\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10),i=1e3*parseFloat(n[3]);return{type:"date",format:o+"mm:ss.00",value:r+re.runtime.packTime(0,e,t,i)}}if(n=/^(\d+):(\d+):(\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10),i=parseInt(n[3],10);return{type:"date",format:o+"hh:mm:ss",value:r+re.runtime.packTime(e,t,i,0)}}if(n=/^(\d+):(\d+):(\d+)(\.\d+)$/.exec(e)){let e=parseInt(n[1],10),t=parseInt(n[2],10),i=parseInt(n[3],10),a=1e3*parseFloat(n[4]);return{type:"date",format:o+"hh:mm:ss.00",value:r+re.runtime.packTime(e,t,i,a)}}})),at((function(e){let t,n;var r=W().numbers;let o=r.symbols.group,i=r.symbols.decimal,a=r.currencies[r.localeCurrency].symbol,s=function(e,t){let n=e+t,r=st[n];return r||(r="^(\\d+(COM\\d{3})*(DOT\\d+)?)",r=r.replace(/DOT/g,"\\"+t).replace(/COM/g,"\\"+e),r=new RegExp(r),st[n]=r),r}(o,i),l=new RegExp("^\\s*\\"+a+"\\s*"),c=1,u="",h="",d=!1,p=!1;if((e=ot(e.replace(/^\s+|\s+$/g,""))).skip(/^-\s*/)&&(c=-1),(t=e.skip(l))&&(d=!0,u+='"'+t[0]+'"'),e.skip(/^-\s*/)){if(c<0)return null;c=-1}if(!(n=e.skip(s)))return null;if(u+="0",t=e.skip(l)){if(d)return null;d=!0,h='"'+t[0]+'"'}if(!d&&(t=e.skip(/^\s*%\s*/))&&(p=!0,h=t[0]),!e.eof())return null;(n[2]||d)&&(u=u.replace("0","#"),u+=",0"),n[3]&&(u+="."+lt("0",n[3].length-1));let f=n[0].replace(new RegExp("\\"+o,"g"),"").replace(new RegExp("\\"+i,"g"),".");return f=parseFloat(f),p&&(f/=100),u+=h,d&&(u+=";-"+u),{type:"number",currency:d,format:u,value:c*f}})),at((function(e){let t;if(t=/^([0-9]*)\.([0-9]+)(\s*%)$/.exec(e))return{type:"number",value:parseFloat(e)/100,format:"0."+lt("0",t[2].length)+t[3]}}));let st={};function lt(e,t){let n="";for(;t-- >0;)n+=e;return n}function ct(e){return(Math.exp(e)+Math.exp(-e))/2}function ut(e){return(Math.exp(e)-Math.exp(-e))/2}function ht(e){return ut(e)/ct(e)}function dt(e,t){for(;t;){var n=e%t;e=t,t=n}return e}function pt(e,t){return Math.abs(e*t)/dt(e,t)}function ft(e,t){for(var n=[],r=0,o=e[0];r<e.length;)n.push({matrix:e[r++],pred:Nt(e[r++])});for(var i=0;i<o.height;++i)e:for(var a=0;a<o.width;++a){for(r=0;r<n.length;++r){var s=n[r].matrix.get(i,a);if(!n[r].pred(null==s||""===s?0:s))continue e}t(i,a)}}["abs","cos","sin","acos","asin","tan","atan","exp","sqrt"].forEach((function(e){fe(e,Math[e]).args([["*n","number"]])})),fe("ln",Math.log).args([["*n","number"]]),fe("log",(function(e,t){return Math.log(e)/Math.log(t)})).args([["*num","number++"],["*base",["or","number++",["null",10]]],["?",["assert","$base != 1","DIV/0"]]]),fe("log10",(function(e){return Math.log(e)/Math.log(10)})).args([["*num","number++"]]),fe("pi",(function(){return Math.PI})).args([]),fe("sqrtpi",(function(e){return Math.sqrt(e*Math.PI)})).args([["*num","number+"]]),fe("degrees",(function(e){return 180*e/Math.PI%360})).args([["*radians","number"]]),fe("radians",(function(e){return Math.PI*e/180})).args([["*degrees","number"]]),fe("cosh",ct).args([["*num","number"]]),fe("acosh",(function(e){return Math.log(e+Math.sqrt(e-1)*Math.sqrt(e+1))})).args([["*num","number"],["?",["assert","$num >= 1"]]]),fe("sinh",ut).args([["*num","number"]]),fe("asinh",(function(e){return Math.log(e+Math.sqrt(e*e+1))})).args([["*num","number"]]),fe("sec",(function(e){return 1/Math.cos(e)})).args([["*num","number"]]),fe("sech",(function(e){return 1/ct(e)})).args([["*num","number"]]),fe("csc",(function(e){return 1/Math.sin(e)})).args([["*num","number"]]),fe("csch",(function(e){return 1/ut(e)})).args([["*num","number"]]),fe("atan2",(function(e,t){return Math.atan(t/e)})).args([["*x","divisor"],["*y","number"]]),fe("tanh",ht).args([["*num","number"]]),fe("atanh",(function(e){return Math.log(Math.sqrt(1-e*e)/(1-e))})).args([["*num",["and","number",["(between)",-1,1]]]]),fe("cot",(function(e){return 1/Math.tan(e)})).args([["*num","divisor"]]),fe("coth",(function(e){return 1/ht(e)})).args([["*num","divisor"]]),fe("acot",(function(e){return Math.PI/2-Math.atan(e)})).args([["*num","number"]]),fe("acoth",(function(e){return Math.log((e+1)/(e-1))/2})).args([["*num","number"],["?",["or",["assert","$num < -1"],["assert","$num > 1"]]]]),fe("power",(function(e,t){return Math.pow(e,t)})).args([["*a","number"],["*b","number"]]),fe("mod",(function(e,t){return e%t})).args([["*a","number"],["*b","divisor"]]),fe("quotient",(function(e,t){return Math.floor(e/t)})).args([["*a","number"],["*b","divisor"]]),fe("ceiling",(function(e,t){return t?t*Math.ceil(e/t):0})).args([["*number","number"],["*significance","number"],["?",["assert","$significance >= 0 || $number < 0"]]]),fe("ceiling.precise",(function(e,t){return(t=Math.abs(t))?t*Math.ceil(e/t):0})).args([["*number","number"],["*significance",["or","number",["null",1]]]]),re.runtime.defineAlias("iso.ceiling","ceiling.precise"),fe("ceiling.math",(function(e,t,n){return t&&e?(e<0&&(!n&&t<0||n&&t>0)&&(t=-t),t?t*Math.ceil(e/t):0):0})).args([["*number","number"],["*significance",["or","number",["null","$number < 0 ? -1 : 1"]]],["*mode",["or","logical",["null",0]]]]),fe("floor",(function(e,t){return t?t*Math.floor(e/t):0})).args([["*number","number"],["*significance","number"],["?",["assert","$significance >= 0 || $number < 0"]]]),fe("floor.precise",(function(e,t){return(t=Math.abs(t))?t*Math.floor(e/t):0})).args([["*number","number"],["*significance",["or","number",["null",1]]]]),fe("floor.math",(function(e,t,n){return t&&e?(e<0&&(!n&&t<0||n&&t>0)&&(t=-t),t?t*Math.floor(e/t):0):0})).args([["*number","number"],["*significance",["or","number",["null","$number < 0 ? -1 : 1"]]],["*mode",["or","logical",["null",0]]]]),fe("int",Math.floor).args([["*number","number"]]),fe("mround",(function(e,t){return t?t*Math.round(e/t):0})).args([["*number","number"],["*multiple","number"]]),fe("round",(function(e,t){var n=e<0?-1:1;return n<0&&(e=-e),e=de(e*(t=Math.pow(10,t))),n*(e=Math.round(e))/t})).args([["*number","number"],["*digits","number"]]),fe("roundup",(function(e,t){return(e=(e=de(e*(t=Math.pow(10,t))))<0?Math.floor(e):Math.ceil(e))/t})).args([["*number","number"],["*digits","number"]]),fe("rounddown",(function(e,t){return(e=(e=de(e*(t=Math.pow(10,t))))<0?Math.ceil(e):Math.floor(e))/t})).args([["*number","number"],["*digits","number"]]),fe("even",(function(e){var t=e<0?Math.floor(e):Math.ceil(e);return t%2?t+(t<0?-1:1):t})).args([["*number","number"]]),fe("odd",(function(e){var t=e<0?Math.floor(e):Math.ceil(e);return t%2?t:t+(t<0?-1:1)})).args([["*number","number"]]),fe("sign",(function(e){return e<0?-1:e>0?1:0})).args([["*number","number"]]),fe("gcd",(function(e){for(var t=e[0],n=1;n<e.length;++n)t=dt(t,e[n]);return t})).args([["numbers",["collect","number"]]]),fe("lcm",(function(e){for(var t=e[0],n=1;n<e.length;++n)t=pt(t,e[n]);return t})).args([["numbers",["collect","number"]]]),fe("sum",(function(e){return e.reduce((function(e,t){return e+t}),0)})).args([["numbers",["collect","number"]]]),fe("product",(function(e){return e.reduce((function(e,t){return e*t}),1)})).args([["numbers",["collect","number"]]]),fe("sumproduct",(function(e,t){var n=0;return e.each((function(e,r,o){if("number"==typeof e){for(var i=0;i<t.length;++i){var a=t[i].get(r,o);if("number"!=typeof a)return;e*=a}n+=e}})),n})).args([["a1","matrix"],["+",["a2",["and","matrix",["assert","$a2.width == $a1.width"],["assert","$a2.height == $a1.height"]]]]]),fe("sumsq",(function(e){return e.reduce((function(e,t){return e+t*t}),0)})).args([["numbers",["collect","number"]]]),fe("sumx2my2",(function(e,t){var n=0;return e.each((function(e,r,o){var i=t.get(r,o);"number"==typeof e&&"number"==typeof i&&(n+=e*e-i*i)})),n})).args([["a","matrix"],["b",["and","matrix",["assert","$b.width == $a.width"],["assert","$b.height == $a.height"]]]]),fe("sumx2py2",(function(e,t){var n=0;return e.each((function(e,r,o){var i=t.get(r,o);"number"==typeof e&&"number"==typeof i&&(n+=e*e+i*i)})),n})).args([["a","matrix"],["b",["and","matrix",["assert","$b.width == $a.width"],["assert","$b.height == $a.height"]]]]),fe("sumxmy2",(function(e,t){var n=0;return e.each((function(e,r,o){var i=t.get(r,o);"number"==typeof e&&"number"==typeof i&&(n+=(e-i)*(e-i))})),n})).args([["a","matrix"],["b",["and","matrix",["assert","$b.width == $a.width"],["assert","$b.height == $a.height"]]]]),fe("seriessum",(function(e,t,n,r){var o=0;return r.each((function(r){if("number"!=typeof r)throw new T("VALUE");o+=r*Math.pow(e,t),t+=n})),o})).args([["x","number"],["y","number"],["m","number"],["a","matrix"]]),fe("min",(function(e){return e.length?Math.min.apply(Math,e):0})).args([["numbers",["collect","number!"]]]),fe("max",(function(e){return e.length?Math.max.apply(Math,e):0})).args([["numbers",["collect","number!"]]]),fe("counta",(function(e){return e.length})).args([["values",["#collect","anyvalue"]]]),fe("count",(function(e){return e.length})).args([["numbers",["#collect","number"]]]),fe("countunique",(function(e){var t=0,n=[];return e.forEach((function(e){n.indexOf(e)<0&&(t++,n.push(e))})),t})).args([["values",["#collect","anyvalue"]]]),fe("countblank",(function(e){var t=0;function n(e){null!=e&&""!==e||t++}return function(e){for(var t=0;t<e.length;++t){var r=e[t];r instanceof se?r.each(n,!0):n(r)}}(e),t})).args([["+",["args",["or","matrix","anyvalue"]]]]),fe("iseven",(function(e){return e%2==0})).args([["*number","number"]]),fe("isodd",(function(e){return e%2!=0})).args([["*number","number"]]),fe("n",(function(e){return"boolean"==typeof e?e?1:0:"number"==typeof e?e:0})).args([["*value","anyvalue"]]),fe("na",(function(){return new T("N/A")})).args([]);var mt=[["m1","matrix"],["c1","anyvalue"],[["m2","matrix"],["c2","anyvalue"]]];fe("countifs",(function(e,t,n){var r=0;return n.unshift(e,t),ft(n,(function(){r++})),r})).args(mt);var vt=[["range","matrix"]].concat(mt);fe("sumifs",(function(e,t,n,r){r.unshift(e,Lt,t,n);var o=0;return ft(r,(function(t,n){var r=e.get(t,n);r&&(o+=r)})),o})).args(vt),fe("averageifs",(function(e,t,n,r){r.unshift(e,Lt,t,n);var o=0,i=0;return ft(r,(function(t,n){var r=e.get(t,n);null!=r&&""!==r||(r=0),o+=r,i++})),i?o/i:new T("DIV/0")})).args(vt),fe("countif",(function(e,t){t=Nt(t);var n=0;return e.each((function(e){t(e)&&n++})),n})).args([["range","matrix"],["*criteria","anyvalue"]]);var gt,bt=[["range","matrix"],["*criteria","anyvalue"],["sumRange",["or","area","#matrix",["null","$range"]]]];function yt(e){return function(t,n,r,o){var i=this;if(o instanceof g){var a=o.clone().toRangeRef();if(a.width()!=n.width||a.height()!=n.height)return isFinite(a.topLeft.row)||(a.topLeft.row=0),isFinite(a.topLeft.col)||(a.topLeft.col=0),a.bottomRight.row=a.topLeft.row+n.height-1,a.bottomRight.col=a.topLeft.col+n.width-1,i.resolveCells([a],(function(){t(e(n,r,i.asMatrix(a)))}))}t(e(n,r,i.asMatrix(o)))}}function wt(e){return e.reduce((function(e,t){return e+t}),0)/e.length}function xt(e,t,n){return null==n&&(n=wt(e)),e.reduce((function(e,t){return e+Math.pow(t-n,2)}),0)/t}function kt(e,t){return Math.sqrt(xt(e,t))}function Ct(e,t,n){var r=0,o=0,i=null,a=null,s=!1;return e.forEach((function(e){e<t?(r++,i=null==i?e:Math.max(i,e)):e>t?(o++,a=null==a?e:Math.min(a,e)):s=!0})),r||o?s?n?(r+1)/(e.length+1):r/(r+o):((a-t)*Ct(e,i,n)+(t-i)*Ct(e,a,n))/(a-i):new T("N/A")}fe("sumif",yt((function(e,t,n){var r=0;return t=Nt(t),e.each((function(e,o,i){if(t(e)){var a=n.get(o,i);Lt(a)&&(r+=a||0)}})),r}))).argsAsync(bt),fe("averageif",yt((function(e,t,n){var r=0,o=0;return t=Nt(t),e.each((function(e,i,a){if(t(e)){var s=n.get(i,a);Lt(s)&&(r+=s||0,o++)}})),o?r/o:new T("DIV/0")}))).argsAsync(bt),(gt=function(e,t){fe(e,(function(e,n){var r=[];return e.each((function(e){if(e instanceof T)return e;"number"==typeof e&&r.push(e)}))||(n>r.length?new T("NUM"):t(r,n-1))})).args([["array","matrix"],["*nth","number++"]])})("large",(function(e,t){return e.sort(Tt)[t]})),gt("small",(function(e,t){return e.sort(Pt)[t]})),fe("stdev.s",(function(e){return kt(e,e.length-1)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("stdev.p",(function(e){return kt(e,e.length)})).args([["numbers",["collect","number!"]],["?",["assert","$numbers.length >= 1","NUM"]]]),fe("var.s",(function(e){return xt(e,e.length-1)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("var.p",(function(e){return xt(e,e.length)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("median",(function(e){var t=e.length;return e.sort(Pt),t%2?e[t>>1]:(e[t>>=1]+e[t-1])/2})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length > 0","N/A"]]]),fe("mode.sngl",(function(e){e.sort(Pt);for(var t=null,n=0,r=1,o=null,i=0;i<e.length;++i){var a=e[i];a!=t?(n=1,t=a):n++,n>r&&(r=n,o=a)}return null==o?new T("N/A"):o})).args([["numbers",["collect","number"]]]),fe("mode.mult",(function(e){var t=Object.create(null),n=2,r=[];e.forEach((function(e){var o=t[e]||0;t[e]=++o,o==n?r.push(e):o>n&&(n=o,r=[e])}));var o=new se(this);return r.forEach((function(e,t){o.set(t,0,e)})),o})).args([["numbers",["collect","number"]]]),fe("geomean",(function(e){var t=e.length,n=e.reduce((function(e,t){if(t<0)throw new T("NUM");return e*t}),1);return Math.pow(n,1/t)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length > 0","NUM"]]]),fe("harmean",(function(e){return e.length/e.reduce((function(e,t){if(!t)throw new T("DIV/0");return e+1/t}),0)})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length > 0","NUM"]]]),fe("trimmean",(function(e,t){var n=e.length;e.sort(Pt);var r=Math.floor(n*t);r%2&&--r;for(var o=0,i=r/=2;i<n-r;++i)o+=e[i];return o/(n-2*r)})).args([["numbers",["collect","number",1]],["percent",["and","number",["[between)",0,1]]],["?",["assert","$numbers.length > 0","NUM"]]]),fe("frequency",(function(e,t){e.sort(Pt),t.sort(Pt);var n=-1/0,r=0;function o(t){for(var o=0;r<e.length&&e[r]>n&&e[r]<=t;)++o,++r;return o}var i=new se(this);return t.forEach((function(e,t){var r=o(e);n=e,i.set(t,0,r)})),i.set(i.height,0,e.length-r),i})).args([["data",["collect","number",1]],["bins",["collect","number",1]]]),fe("rank.eq",(function(e,t,n){t.sort(n?Pt:Tt);var r=t.indexOf(e);return r<0?new T("N/A"):r+1})).args([["value","number"],["numbers",["collect","number",1]],["order",["or","logical",["null",!1]]]]),re.runtime.defineAlias("rank","rank.eq"),fe("rank.avg",(function(e,t,n){t.sort(n?Pt:Tt);var r=t.indexOf(e);if(r<0)return new T("N/A");for(var o=r;t[o]==e;++o);return(r+o+1)/2})).args([["value","number"],["numbers",["collect","number"]],["order",["or","logical",["null",!1]]]]),fe("kurt",(function(e){var t=e.length,n=wt(e),r=xt(e,t-1,n),o=Math.sqrt(r);return t*(t+1)/((t-1)*(t-2)*(t-3))*e.reduce((function(e,t){return e+Math.pow((t-n)/o,4)}),0)-3*Math.pow(t-1,2)/((t-2)*(t-3))})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 4","NUM"]]]);var zt=[["array",["collect","number",1]],["x","number"],["significance",["or",["null",3],"integer++"]],["?",["assert","$array.length > 0","NUM"]]];function _t(e,t,n){for(var r=0,o=wt(e),i=wt(t),a=e.length,s=0;s<a;++s)r+=(e[s]-o)*(t[s]-i);return r/n}fe("percentrank.inc",(function(e,t,n){var r=Ct(e,t,0);return r=r.toFixed(n+1),parseFloat(r.substr(0,r.length-1))})).args(zt),fe("percentrank.exc",(function(e,t,n){var r=Ct(e,t,1);return r=r.toFixed(n+1),parseFloat(r.substr(0,r.length-1))})).args(zt),re.runtime.defineAlias("percentrank","percentrank.inc"),fe("covariance.p",(function(e,t){return _t(e,t,e.length)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["?",["assert","$array1.length == $array2.length","N/A"]],["?",["assert","$array1.length > 0","DIV/0"]]]),fe("covariance.s",(function(e,t){return _t(e,t,e.length-1)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["?",["assert","$array1.length == $array2.length","N/A"]],["?",["assert","$array1.length > 1","DIV/0"]]]),re.runtime.defineAlias("covar","covariance.p");var Et=O((function(e){for(var t=2,n=1;t<=e;++t)n*=t;return n}));fe("fact",Et).args([["*n","integer+"]]),fe("factdouble",(function(e){for(var t=2+(1&e),n=1;t<=e;t+=2)n*=t;return n})).args([["*n","integer+"]]),fe("multinomial",(function(e){var t=1,n=0;return e.forEach((function(e){if(e<0)throw new T("NUM");n+=e,t*=Et(e)})),Et(n)/t})).args([["numbers",["collect","number"]]]);var It=O((function(e,t){for(var n=t+1,r=1,o=1,i=1;r<=e-t;++n,++r)o*=n,i*=r;return o/i}));function St(e,t){e.sort(Pt);var n=e.length,r=0|t,o=t-r;return 0===r?e[0]:r>=n?e[n-1]:e[--r]+o*(e[r+1]-e[r])}function Mt(e,t){return St(e,t*(e.length-1)+1)}function Ot(e,t){return St(e,t*(e.length+1))}fe("combin",It).args([["*n","integer++"],["*k",["and","integer",["[between]",0,"$n"]]]]),fe("combina",(function(e,t){return It(e+t-1,e-1)})).args([["*n","integer++"],["*k",["and","integer",["[between]",1,"$n"]]]]),fe("average",(function(e){return e.reduce((function(e,t){return e+t}),0)/e.length})).args([["numbers",["collect","number!"]],["?",["assert","$numbers.length > 0","DIV/0"]]]),fe("averagea",(function(e){var t=0,n=0;return e.forEach((function(e){"string"!=typeof e&&(t+=e),++n})),n?t/n:new T("DIV/0")})).args([["values",["collect","anyvalue"]]]),fe("percentile.inc",Mt).args([["numbers",["collect","number",1]],["p",["and","number",["[between]",0,1]]]]),fe("percentile.exc",Ot).args([["numbers",["collect","number",1]],["p",["and","number",["(between)",0,1]]]]),fe("quartile.inc",(function(e,t){return Mt(e,t/4)})).args([["numbers",["collect","number",1]],["quarter",["values",0,1,2,3,4]]]),fe("quartile.exc",(function(e,t){return Ot(e,t/4)})).args([["numbers",["collect","number",1]],["quarter",["values",0,1,2,3,4]]]),re.runtime.defineAlias("quartile","quartile.inc"),re.runtime.defineAlias("percentile","percentile.inc");var Rt=["AVERAGE","COUNT","COUNTA","MAX","MIN","PRODUCT","STDEV.S","STDEV.P","SUM","VAR.S","VAR.P","MEDIAN","MODE.SNGL","LARGE","SMALL","PERCENTILE.INC","QUARTILE.INC","PERCENTILE.EXC","QUARTILE.EXC"];function Ht(e,t,n){var r=[];return function t(o){if(o instanceof g)e.getRefCells(o,!0).forEach((function(e){var t=e.value;if(!(1&n&&e.hidden)){if(e.formula){var o=e.formula.print(e.row,e.col);if(/^\s*(?:aggregate|subtotal)\s*\(/i.test(o)&&!(4&n))return}2&n&&t instanceof T||("number"==typeof t||t instanceof T)&&r.push(t)}}));else if(Array.isArray(o))for(var i=0;i<o.length;++i)t(o[i]);else o instanceof se?o.each(t):("number"==typeof o||o instanceof T&&!(2&n))&&r.push(o)}(t),r}function Ft(e,t,n,r){if(r){for(var o=0,i=0;i<=e;++i)o+=It(t,i)*Math.pow(n,i)*Math.pow(1-n,t-i);return o}return It(t,e)*Math.pow(n,e)*Math.pow(1-n,t-e)}function Dt(e){var t=ke(Ce(e,0,1));return 4==t.day||3==t.day&&re.runtime.isLeapYear(e)?53:52}function At(e,t,n){var r=ke(e),o=ke(t);return n?(31==r.date&&(r.date=30),31==o.date&&(o.date=30)):(1==r.month&&1==o.month&&r.date==xe(r.year,1)&&o.date==xe(o.year,1)&&(o.date=30),r.date==xe(r.year,r.month)?(r.date=30,31==o.date&&(o.date=30)):30==r.date&&31==o.date&&(o.date=30)),360*(o.year-r.year)+30*(o.month-r.month)+(o.date-r.date)}fe("aggregate",(function(e,t,n,r){var o=this;o.resolveCells(r,(function(){var i;if(t>12){i=Ht(o,r[0],n);var a=r[1];if(a instanceof w&&(a=o.getRefData(a)),"number"!=typeof a)return e(new T("VALUE"))}else i=Ht(o,r,n);o.func(Rt[t-1],e,i)}))})).argsAsync([["funcId",["values",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]],["options",["or",["null",0],["values",0,1,2,3,4,5,6,7]]],["args","rest"]]),fe("subtotal",(function(e,t){var n=this,r=t>100;r&&(t-=100);for(var o=[],i=2;i<arguments.length;++i)o.push(arguments[i]);n.resolveCells(o,(function(){var i=Ht(n,o,r?1:0);n.func(Rt[t-1],e,i)}))})).argsAsync([["funcId",["values",1,2,3,4,5,6,7,8,9,10,11,101,102,103,104,105,106,107,108,109,110,111]],["+",["ref",["or","ref","#matrix"]]]]),fe("avedev",(function(e){var t=e.reduce((function(e,t){return e+t}),0)/e.length;return e.reduce((function(e,n){return e+Math.abs(n-t)}),0)/e.length})).args([["numbers",["collect","number"]],["?",["assert","$numbers.length >= 2","NUM"]]]),fe("binom.dist",Ft).args([["successes","integer+"],["trials",["and","integer",["assert","$trials >= $successes"]]],["probability",["and","number",["[between]",0,1]]],["cumulative","logical"]]),re.runtime.defineAlias("binomdist","binom.dist"),fe("binom.inv",(function(e,t,n){for(var r=0;r<=e;++r)if(Ft(r,e,t,!0)>=n)return r;return new T("N/A")})).args([["trials","integer+"],["probability",["and","number",["[between]",0,1]]],["alpha",["and","number",["[between]",0,1]]]]),re.runtime.defineAlias("critbinom","binom.inv"),fe("binom.dist.range",(function(e,t,n,r){for(var o=0,i=n;i<=r;++i)o+=It(e,i)*Math.pow(t,i)*Math.pow(1-t,e-i);return o})).args([["trials","integer+"],["probability",["and","number",["[between]",0,1]]],["successes_min",["and","integer",["[between]",0,"$trials"]]],["successes_max",["or",["and","integer",["[between]","$successes_min","$trials"]],["null","$successes_min"]]]]),fe("negbinom.dist",(function(e,t,n,r){if(r){for(var o=0;e>=0;)o+=It(e+t-1,e)*Math.pow(n,t)*Math.pow(1-n,e),e--;return o}return It(e+t-1,e)*Math.pow(n,t)*Math.pow(1-n,e)})).args([["number_f","integer+"],["number_s","integer+"],["probability_s",["and","number",["[between]",0,1]]],["cumulative","logical"]]),re.runtime.defineAlias("negbinomdist","negbinom.dist"),fe("address",(function(e,t,n,r,o){var i=new w(e-1,t-1,n-1);return o&&i.setSheet(o,!0),r?i.print(0,0):i.print()})).args([["row","integer++"],["col","integer++"],["abs",["or",["null",1],["values",1,2,3,4]]],["a1",["or",["null",!0],"logical"]],["sheet",["or","null","string"]]]),fe("areas",(function(e){var t=0;return function e(n){n instanceof w||n instanceof x?t++:n instanceof k&&n.refs.forEach(e)}(e),t})).args([["ref","ref"]]),fe("choose",(function(e,t){return e>t.length?new T("N/A"):t[e-1]})).args([["*index","integer"],["+",["value","anything"]]]),fe("column",(function(e){return e?e instanceof w?e.col+1:this.asMatrix(e).mapCol((function(t){return t+e.topLeft.col+1})):this.formula.col+1})).args([["ref",["or","area","null"]]]),fe("columns",(function(e){return e instanceof g?e.width():e.width})).args([["ref",["or","area","#matrix"]]]),fe("formulatext",(function(e){var t=this.getRefCells(e)[0];return t.formula?t.formula.print(t.row,t.col):new T("N/A")})).args([["ref","ref"]]),fe("hlookup",(function(e,t,n,r){var o=null;return t.eachCol((function(n){var i=t.get(0,n);if(r){if(i>e)return!0;o=n}else if(i===e)return o=n,!0})),null==o?new T("N/A"):t.get(n-1,o)})).args([["value","anyvalue"],["range","matrix"],["row","integer++"],["approx",["or","logical",["null",!0]]]]),fe("index",(function(e,t,n,r,o){var i=this;if(t instanceof k&&(t=t.refs[o-1]),!n&&!r||!t)return e(new T("N/A"));if(t instanceof w&&(t=t.toRangeRef()),t instanceof x){if(n&&r){if(r>t.width()||n>t.height())return e(new T("REF"));var a=t.toCell(n-1,r-1);return void i.resolveCells([a],(function(){e(i.getRefData(a))}))}if(!n){var s=t.toColumn(r-1);return void i.resolveCells([s],(function(){e(i.asMatrix(s))}))}if(!r){var l=t.toRow(n-1);return void i.resolveCells([l],(function(){e(i.asMatrix(l))}))}}else if(t instanceof se){if(t.width>1&&t.height>1){if(n&&r)return e(t.get(n-1,r-1));if(!n)return e(t.mapRow((function(e){return t.get(e,r-1)})));if(!r)return e(t.mapCol((function(e){return t.get(n-1,e)})))}if(1==t.width)return e(t.get(n-1,0));if(1==t.height)return e(t.get(0,r-1))}else e(new T("REF"))})).argsAsync([["range",["or","ref","matrix"]],["row",["or","integer+","null"]],["col",["or","integer+","null"]],["areanum",["or","integer++",["null",1]]]]),fe("indirect",(function(e){try{var t=this.formula,n=re.parseFormula(t.sheet,t.row,t.col,e).ast;if(n instanceof y&&(n=this.ss.nameValue(n,t.sheet,t.row,t.col)),!(n instanceof g))throw 1;return n.absolute(t.row,t.col)}catch(e){return new T("REF")}})).args([["thing","string"]]),fe("match",(function(e,t,n){var r,o=1;return 0===n?r=Nt(e):-1===n?r=Nt("<="+e):1===n&&(r=Nt(">="+e)),t.each((function(t){if(null!=t&&r(t))return 0!==n&&e!=t&&--o,!0;o++}),!0)&&o>0?o:new T("N/A")})).args([["value","anyvalue"],["range","matrix"],["type",["or",["values",-1,0,1],["null",1]]]]),fe("offset",(function(e,t,n,r,o){var i=(e instanceof w?e:e.topLeft).clone();return i.row+=t,i.col+=n,i.row<0||i.col<0?new T("VALUE"):r>1||o>1?new x(i,new w(i.row+r-1,i.col+o-1)).setSheet(e.sheet,e.hasSheet()):i})).args([["ref","area"],["*rows","integer"],["*cols","integer"],["*height",["or","integer++",["null","$ref.height()"]]],["*width",["or","integer++",["null","$ref.width()"]]]]),fe("row",(function(e){return e?e instanceof w?e.row+1:this.asMatrix(e).mapRow((function(t){return t+e.topLeft.row+1})):this.formula.row+1})).args([["ref",["or","area","null"]]]),fe("rows",(function(e){return e instanceof g?e.height():e.height})).args([["ref",["or","area","#matrix"]]]),fe("vlookup",(function(e,t,n,r){var o=null;return"number"!=typeof e&&(r=!1),"string"==typeof e&&(e=e.toLowerCase()),t.eachRow((function(n){var i=t.get(n,0);if(r){if(i>e)return!0;o=n}else if("string"==typeof i&&(i=i.toLowerCase()),i===e)return o=n,!0})),null==o?new T("N/A"):t.get(o,n-1)})).args([["value","anyvalue"],["range","matrix"],["col","integer++"],["approx",["or","logical",["null",!0]]]]),fe("date",(function(e,t,n){return Ce(e,t-1,n)})).args([["*year","integer"],["*month","integer"],["*date","integer"]]),fe("day",(function(e){return ke(e).date})).args([["*date","date"]]),fe("month",(function(e){return ke(e).month+1})).args([["*date","date"]]),fe("year",(function(e){return ke(e).year})).args([["*date","date"]]),fe("weekday",(function(e){return ke(e).day+1})).args([["*date","date"]]),fe("weeknum",(function(e,t){var n,r=Ce(ke(e).year,0,1),o=ke(r);return 21==t?((n=3-(o.day+6)%7)<0&&(n+=7),r+=n,o.date+=n,o.day=4,t=1):t=1==t?0:2==t?1:(t-10)%7,(n=o.day-t)<0&&(n+=7),r-=n,Math.ceil((e+1-r)/7)})).args([["*date","date"],["*type",["or",["null",1],["values",1,2,11,12,13,14,15,16,17,21]]]]),fe("isoweeknum",(function(e){var t=ke(e),n=t.day||7,r=Math.floor((t.ord-n+10)/7);return r<1?Dt(t.year-1):53==r&&r>Dt(t.year)?1:r})).args([["*date","date"]]),fe("now",(function(){return re.runtime.dateToSerial(new Date)})).args([]),fe("today",(function(){return 0|re.runtime.dateToSerial(new Date)})).args([]),fe("time",(function(e,t,n){return re.runtime.packTime(e,t,n,0)})).args([["*hours","integer"],["*minutes","integer"],["*seconds","integer"]]),fe("hour",(function(e){return re.runtime.unpackTime(e).hours})).args([["*time","datetime"]]),fe("minute",(function(e){return re.runtime.unpackTime(e).minutes})).args([["*time","datetime"]]),fe("second",(function(e){return re.runtime.unpackTime(e).seconds})).args([["*time","datetime"]]),fe("edate",(function(e,t){var n=ke(e),r=n.month+t,o=n.year+Math.floor(r/12);return(r%=12)<0&&(r+=12),Ce(o,r,n=Math.min(n.date,xe(o,r)))})).args([["*start_date","date"],["*months","integer"]]),fe("eomonth",(function(e,t){var n=ke(e),r=n.month+t,o=n.year+Math.floor(r/12);return(r%=12)<0&&(r+=12),Ce(o,r,n=xe(o,r))})).args([["*start_date","date"],["*months","integer"]]),fe("workday",(function(e,t,n){var r=t>0?1:-1;t=Math.abs(t);for(var o=ke(e).day;t>0;)e+=r,(o=(o+r)%7)>0&&o<6&&n.indexOf(e)<0&&--t;return e})).args([["start_date","date"],["days","integer"],["holidays",["collect","date"]]]),fe("networkdays",(function(e,t,n){if(e>t){var r=e;e=t,t=r}for(var o=0,i=ke(e).day;e<=t;)i>0&&i<6&&n.indexOf(e)<0&&o++,e++,i=(i+1)%7;return o})).args([["start_date","date"],["end_date","date"],["holidays",["collect","date"]]]),fe("days",(function(e,t){return e-t})).args([["*start_date","date"],["*end_date","date"]]),re.runtime._days_360=At,fe("days360",At).args([["*start_date","date"],["*end_date","date"],["*method",["or","logical",["null",!1]]]]),fe("yearfrac",(function(e,t,n){switch(n){case 0:return At(e,t,!1)/360;case 1:return(t-e)/we(ke(e).year);case 2:return(t-e)/360;case 3:return(t-e)/365;case 4:return At(e,t,!0)/360}})).args([["*start_date","date"],["*end_date","date"],["*method",["or",["null",0],["values",0,1,2,3,4]]]]),fe("datevalue",(function(e){var t=re.runtime.parseDate(e);return t?re.runtime.dateToSerial(t):new T("VALUE")})).args([["*text","string"]]),fe("timevalue",(function(e){var t=e.toLowerCase().match(/(\d+):(\d+)(:(\d+)(\.(\d+))?)?\s*(am?|pm?)?/);if(t){var n=parseFloat(t[1]),r=parseFloat(t[2]),o=t[3]?parseFloat(t[4]):0,i=t[7];return i&&(n>12||n<1)?new T("VALUE"):(/^p/.test(i)&&(n+=12),re.runtime.packTime(n,r,o,0))}return new T("VALUE")})).args([["*text","string"]]),fe("mdeterm",(function(e){return e.each((function(e){if("number"!=typeof e)return new T("VALUE")}),!0)||e.determinant()})).args([["m",["and","matrix",["assert","$m.width == $m.height"]]]]),fe("transpose",(function(e){return e.transpose()})).args([["range","matrix"]]),fe("mmult",(function(e,t){return e.multiply(t)})).args([["a","matrix"],["b",["and","matrix",["assert","$b.height == $a.width"]]]]),fe("munit",(function(e){return new se(this).unit(e)})).args([["n","integer+"]]),fe("minverse",(function(e){return e.each((function(e){if("number"!=typeof e)return new T("VALUE")}),!0)||e.inverse()||new T("VALUE")})).args([["m",["and","matrix",["assert","$m.width == $m.height"]]]]),fe("rand",(function(){return Math.random()})).args([]),fe("randbetween",(function(e,t){return e+Math.floor((t-e+1)*Math.random())})).args([["min","integer"],["max",["and","integer",["assert","$max >= $min"]]]]),fe("true",(function(){return!0})).args([]),fe("false",(function(){return!0})).args([]),fe("roman",(function(e){return function(e){let t={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"},n=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],r="";for(;e>0;)e<n[0]?n.shift():(r+=t[n[0]],e-=n[0]);return r}(e).toUpperCase()})).args([["*number","integer"]]),fe("arabic",(function(e){var t=function(e){e=e.toLowerCase();let t={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},n=0,r=0;for(let o=0;o<e.length;++o){let i=t[e.charAt(o)];if(!i)return null;n+=i,i>r&&(n-=2*r),r=i}return n}(e);return null==t?new T("VALUE"):t})).args([["*roman","string"]]),fe("base",(function(e,t,n){for(var r=e.toString(t).toUpperCase();r.length<n;)r="0"+r;return r})).args([["*number","integer"],["*radix",["and","integer",["[between]",2,36]]],["*minLen",["or","integer+",["null",0]]]]),fe("decimal",(function(e,t){e=e.toUpperCase();for(var n=0,r=0;r<e.length;++r){var o=e.charCodeAt(r);if(o>=48&&o<=57)o-=48;else{if(!(o>=65&&o<55+t))return new T("VALUE");o-=55}n=n*t+o}return n})).args([["*text","string"],["*radix",["and","integer",["[between]",2,36]]]]),fe("char",(function(e){return String.fromCharCode(e)})).args([["*code","integer+"]]);var Vt=/[\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u037F-\u0383\u038B\u038D\u03A2\u0528-\u0530\u0557\u0558\u0560\u0588\u058B-\u058E\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08A1\u08AD-\u08E3\u08FF\u0978\u0980\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0C00\u0C04\u0C0D\u0C11\u0C29\u0C34\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5A-\u0C5F\u0C64\u0C65\u0C70-\u0C77\u0C80\u0C81\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0D01\u0D04\u0D0D\u0D11\u0D3B\u0D3C\u0D45\u0D49\u0D4F-\u0D56\u0D58-\u0D5F\u0D64\u0D65\u0D76-\u0D78\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E86\u0E89\u0E8B\u0E8C\u0E8E-\u0E93\u0E98\u0EA0\u0EA4\u0EA6\u0EA8\u0EA9\u0EAC\u0EBA\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F5-\u13FF\u169D-\u169F\u16F1-\u16FF\u170D\u1715-\u171F\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180F\u181A-\u181F\u1878-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191D-\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE-\u1AFF\u1B4C-\u1B4F\u1B7D-\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C80-\u1CBF\u1CC8-\u1CCF\u1CF7-\u1CFF\u1DE7-\u1DFB\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20BB-\u20CF\u20F1-\u20FF\u218A-\u218F\u23F4-\u23FF\u2427-\u243F\u244B-\u245F\u2700\u2B4D-\u2B4F\u2B5A-\u2BFF\u2C2F\u2C5F\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E3C-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u312E-\u3130\u318F\u31BB-\u31BF\u31E4-\u31EF\u321F\u32FF\u4DB6-\u4DBF\u9FCD-\u9FFF\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA698-\uA69E\uA6F8-\uA6FF\uA78F\uA794-\uA79F\uA7AB-\uA7F7\uA82C-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C5-\uA8CD\uA8DA-\uA8DF\uA8FC-\uA8FF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9E0-\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAA7C-\uAA7F\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F-\uABBF\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFE\uFDFF\uFE1A-\uFE1F\uFE27-\uFE2F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]/g;function Bt(e,t){this.link=e,this.text=t}fe("clean",(function(e){return e.replace(Vt,"")})).args([["*text","string"]]),fe("code",(function(e){return e.charAt(0)})).args([["*text","string"]]),re.runtime.defineAlias("unichar","char"),re.runtime.defineAlias("unicode","code"),fe("concatenate",(function(e){for(var t="",n=0;n<e.length;++n)t+=e[n];return t})).args([["+",["*text","string"]]]),fe("dollar",(function(e,t){for(var n="$#,##0DECIMALS;($#,##0DECIMALS)",r="",o=1;t-- >0;)r+="0";for(;++t<0;)o*=10;return""!==r?r="."+r:1!==o&&(e=Math.round(e/o)*o),n=n.replace(/DECIMALS/g,r),Wn.text(e,n)})).args([["*number","number"],["*decimals",["or","integer",["null",2]]]]),fe("exact",(function(e,t){return e===t})).args([["*text1","string"],["*text2","string"]]),fe("find",(function(e,t,n){var r=t.indexOf(e,n-1);return r<0?new T("VALUE"):r+1})).args([["*substring","string"],["*string","string"],["*start",["or","integer++",["null",1]]]]),fe("fixed",(function(e,t,n){var r=Math.pow(10,t);e=Math.round(e*r)/r;var o=n?"0":"#,##0";if(t>0)for(o+=".";t-- >0;)o+="0";return Wn.text(e,o)})).args([["*number","number"],["*decimals",["or","integer",["null",2]]],["*noCommas",["or","boolean",["null",!1]]]]),fe("left",(function(e,t){return e.substr(0,t)})).args([["*text","string"],["*length",["or","integer+",["null",1]]]]),fe("right",(function(e,t){return e.substr(-t)})).args([["*text","string"],["*length",["or","integer+",["null",1]]]]),fe("len",(function(e){return e.length})).args([["*text","string"]]),fe("lower",(function(e){return e.toLowerCase()})).args([["*text","string"]]),fe("upper",(function(e){return e.toUpperCase()})).args([["*text","string"]]),fe("ltrim",(function(e){return e.replace(/^\s+/,"")})).args([["*text","string"]]),fe("rtrim",(function(e){return e.replace(/\s+$/,"")})).args([["*text","string"]]),fe("trim",(function(e){return e.replace(/^\s+|\s+$/,"")})).args([["*text","string"]]),fe("mid",(function(e,t,n){return e.substr(t-1,n)})).args([["*text","string"],["*start","integer++"],["*length","integer+"]]),fe("proper",(function(e){return e.toLowerCase().replace(/\b./g,(function(e){return e.toUpperCase()}))})).args([["*text","string"]]),fe("replace",(function(e,t,n,r){return e.substr(0,--t)+r+e.substr(t+n)})).args([["*text","string"],["*start","integer++"],["*length","integer+"],["*newText","string"]]),fe("rept",(function(e,t){for(var n="";t-- >0;)n+=e;return n})).args([["*text","string"],["*number","integer+"]]),fe("search",(function(e,t,n){var r=t.toLowerCase().indexOf(e.toLowerCase(),n-1);return r<0?new T("VALUE"):r+1})).args([["*substring","string"],["*string","string"],["*start",["or","integer++",["null",1]]]]),fe("substitute",(function(e,t,n,r){if(t===n)return e;var o=e.split(t);if(null==r)return o.join(n);e="",r--;for(var i=0;i<o.length;++i)e+=o[i],i<o.length-1&&(e+=i===r?n:t);return e})).args([["*text","string"],["*oldText","string"],["*newText","string"],["*nth",["or","integer++","null"]]]),fe("t",(function(e){return"string"==typeof e?e:""})).args([["*value","anyvalue"]]),fe("text",(function(e,t){return Wn.text(e,t)})).args([["*value","anyvalue"],["*format","string"]]),fe("value",(function(e){return"number"==typeof e?e:"boolean"==typeof e?+e:(e=(e+"").replace(/[$€,]/g,""),e=parseFloat(e),isNaN(e)?new T("VALUE"):e)})).args([["*value","anyvalue"]]),Bt.prototype.toString=function(){return this.text},fe("hyperlink",(function(e,t){return new Bt(e,t)})).args([["*link","string"],["*text",["or","string",["null","$link"]]]]),fe("iferror",(function(e,t){return e instanceof T?t:e})).args([["*value","forced!"],["*value_if_error","anyvalue!"]]);var Nt=function(){var e=Object.create(null);function t(e,t){if("string"==typeof t){var n=parseFloat(t);isNaN(n)||n!=t||(t=n)}return function(n){var r=t;return"string"==typeof n&&"string"==typeof r&&(n=n.toLowerCase(),r=r.toLowerCase()),e(n,r)}}function n(e){var t,n;return"string"==typeof e&&(e=e.toLowerCase()),/^[0-9.]+%$/.test(e)?(n=e.substr(0,e.length-1),t=parseFloat(n),isNaN(t)||t!=n||(e=t/100)):/^[0-9.]+$/.test(e)&&(t=parseFloat(e),isNaN(t)||t!=e||(e=t)),e}function r(e,t){return n(e)<n(t)}function o(e,t){return n(e)<=n(t)}function i(e,t){return n(e)>n(t)}function a(e,t){return n(e)>=n(t)}function s(e,t){return!l(e,t)}function l(e,t){return t instanceof RegExp?t.test(e):("string"!=typeof e&&"string"!=typeof t||(e=String(e),t=String(t)),n(e)==n(t))}return function(n){if("function"==typeof n)return n;var c;if(c=/^=(.*)$/.exec(n))return t(l,c[1]);if(c=/^<>(.*)$/.exec(n))return t(s,c[1]);if(c=/^<=(.*)$/.exec(n))return t(o,c[1]);if(c=/^<(.*)$/.exec(n))return t(r,c[1]);if(c=/^>=(.*)$/.exec(n))return t(a,c[1]);if(c=/^>(.*)$/.exec(n))return t(i,c[1]);if(/[?*]/.exec(n)){var u=e[n];return u||(u=n.replace(/(~\?|~\*|[\]({\+\.\|\^\$\\})\[]|[?*])/g,(function(e){switch(e){case"~?":return"\\?";case"~*":return"\\*";case"?":return".";case"*":return".*";default:return"\\"+e}})),u=e[n]=new RegExp("^"+u+"$","i")),t(l,u)}return t(l,n)}}();function Lt(e){return"number"==typeof e||"boolean"==typeof e||null==e||""===e}function Pt(e,t){return e===t?0:e<t?-1:1}function Tt(e,t){return e===t?0:e<t?1:-1}fe("ERF",(function(e,t){return null==t?Gt(e):Gt(t)-Gt(e)})).args([["lower_limit","number"],["upper_limit",["or","number","null"]]]),fe("ERFC",$t).args([["x","number"]]),fe("GAMMALN",Yt).args([["x","number++"]]),fe("GAMMA",Zt).args([["x","number"]]),fe("GAMMA.DIST",Qt).args([["x","number+"],["alpha","number++"],["beta","number++"],["cumulative","logical"]]),fe("GAMMA.INV",en).args([["p",["and","number",["[between]",0,1]]],["alpha","number++"],["beta","number++"]]),fe("NORM.S.DIST",tn).args([["z","number"],["cumulative","logical"]]),fe("NORM.S.INV",nn).args([["p",["and","number",["[between]",0,1]]]]),fe("NORM.DIST",(function(e,t,n,r){return r?tn((e-t)/n,!0):Math.exp(-(e-t)*(e-t)/(2*n*n))/(n*Math.sqrt(2*Math.PI))})).args([["x","number"],["mean","number"],["stddev","number++"],["cumulative","logical"]]),fe("NORM.INV",rn).args([["p",["and","number",["[between]",0,1]]],["mean","number"],["stddev","number++"]]),fe("BETADIST",(function(e,t,n,r,o){return on((e-r)/(o-r),t,n)})).args([["x","number"],["alpha","number++"],["beta","number++"],["A",["or","number",["null",0]]],["B",["or","number",["null",1]]],["?",["assert","$x >= $A","NUM"]],["?",["assert","$x <= $B","NUM"]],["?",["assert","$A < $B","NUM"]]]),fe("BETA.DIST",(function(e,t,n,r,o,i){return r?on((e-o)/(i-o),t,n):function(e,t,n){return Math.exp((t-1)*Math.log(e)+(n-1)*Math.log(1-e)-Xt(t,n))}((e-o)/(i-o),t,n)/(i-o)})).args([["x","number"],["alpha","number++"],["beta","number++"],["cumulative","logical"],["A",["or","number",["null",0]]],["B",["or","number",["null",1]]],["?",["assert","$x >= $A","NUM"]],["?",["assert","$x <= $B","NUM"]],["?",["assert","$A < $B","NUM"]]]),fe("BETA.INV",ln).args([["p",["and","number",["[between]",0,1]]],["alpha","number++"],["beta","number++"],["A",["or","number",["null",0]]],["B",["or","number",["null",1]]]]),fe("CHISQ.DIST",cn).args([["x","number+"],["deg_freedom","integer++"],["cumulative","logical"]]),fe("CHISQ.DIST.RT",un).args([["x","number+"],["deg_freedom","integer++"]]),fe("CHISQ.INV",hn).args([["p",["and","number",["[between]",0,1]]],["deg_freedom","integer++"]]),fe("CHISQ.INV.RT",(function(e,t){return hn(1-e,t)})).args([["p",["and","number",["[between]",0,1]]],["deg_freedom","integer++"]]),fe("CHISQ.TEST",(function(e,t){return function(e,t){var n,r,o=e.length,i=e[0].length,a=0;for(n=0;n<o;n++)for(r=0;r<i;r++){var s=t[n][r],l=e[n][r]-s;a+=(l*=l)/s}return un(a,(o-1)*(i-1))}(e.data,t.data)})).args([["actual_range","matrix"],["expected_range","matrix"],["?",["assert","$actual_range.width == $expected_range.width"]],["?",["assert","$actual_range.height == $expected_range.height"]]]),fe("EXPON.DIST",(function(e,t,n){return n?1-Math.exp(-t*e):t*Math.exp(-t*e)})).args([["x","number+"],["lambda","number++"],["cumulative","logical"]]),fe("POISSON.DIST",(function(e,t,n){if(n)return 1-cn(2*t,2*(e+1),!0);for(var r=0,o=2;o<=e;o++)r+=Math.log(o);return Math.exp(e*Math.log(t)-t-r)})).args([["x","integer+"],["mean","number+"],["cumulative","logical"]]),fe("F.DIST",dn).args([["x","number+"],["deg_freedom1","integer++"],["deg_freedom2","integer++"],["cumulative","logical"]]),fe("F.DIST.RT",(function(e,t,n){return 1-dn(e,t,n,!0)})).args([["x","number+"],["deg_freedom1","integer++"],["deg_freedom2","integer++"]]),fe("F.INV",(function(e,t,n){return n/t*(1/ln(1-e,n/2,t/2,0,1)-1)})).args([["p",["and","number",["[between]",0,1]]],["deg_freedom1","integer++"],["deg_freedom2","integer++"]]),fe("F.INV.RT",(function(e,t,n){return n/t*(1/ln(e,n/2,t/2,0,1)-1)})).args([["p",["and","number",["[between]",0,1]]],["deg_freedom1","integer++"],["deg_freedom2","integer++"]]),fe("F.TEST",(function(e,t){var n=e.length-1,r=t.length-1,o=fn(e,pn(e)),i=fn(t,pn(t));if(!o||!i)throw new T("DIV/0");return 2*dn(o/i,n,r,!0)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["?",["assert","$array1.length >= 2","DIV/0"]],["?",["assert","$array2.length >= 2","DIV/0"]]]),fe("FISHER",(function(e){return.5*Math.log((1+e)/(1-e))})).args([["x",["and","number",["(between)",-1,1]]]]),fe("FISHERINV",(function(e){var t=Math.exp(2*e);return(t-1)/(t+1)})).args([["y","number"]]),fe("T.DIST",mn).args([["x","number"],["deg_freedom","integer++"],["cumulative","logical"]]),fe("T.DIST.RT",vn).args([["x","number"],["deg_freedom","integer++"]]),fe("T.DIST.2T",gn).args([["x","number+"],["deg_freedom","integer++"]]),fe("T.INV",bn).args([["p",["and","number",["(between]",0,1]]],["deg_freedom","integer++"]]),fe("T.INV.2T",(function(e,t){return bn(1-e/2,t)})).args([["p",["and","number",["(between]",0,1]]],["deg_freedom","integer++"]]),fe("T.TEST",(function(e,t,n,r){var o,i,a=e.length,s=t.length;if(1==r){for(var l=0,c=0,u=0;u<a;u++){var h=e[u]-t[u];l+=h,c+=h*h}var d=l/a;return o=d/Math.sqrt((c-l*d)/(a*(a-1))),1==n?vn(o,a-1):gn(o,a-1)}var p=pn(e),f=pn(t),m=fn(e,p),v=fn(t,f);if(3==r){var g=m/a,b=v/s,y=g+b,w=g/y,x=b/y;return i=1/(w*w/(a-1)+x*x/(s-1)),o=qt(p-f)/Math.sqrt(y),1==n?vn(o,i):gn(o,i)}return i=a+s-2,o=qt(p-f)*Math.sqrt(i*a*s/((a+s)*((a-1)*m+(s-1)*v))),1==n?vn(o,i):gn(o,i)})).args([["array1",["collect","number",1]],["array2",["collect","number",1]],["tails",["and","integer",["values",1,2]]],["type",["and","integer",["values",1,2,3]]],["?",["assert","$type != 1 || $array1.length == $array2.length","N/A"]],["?",["assert","$array1.length >= 2","DIV/0"]],["?",["assert","$array2.length >= 2","DIV/0"]]]),fe("CONFIDENCE.T",(function(e,t,n){return-bn(e/2,n-1)*t/Math.sqrt(n)})).args([["alpha",["and","number",["(between)",0,1]]],["standard_dev","number++"],["size",["and","integer++",["assert","$size != 1","DIV/0"]]]]),fe("CONFIDENCE.NORM",(function(e,t,n){return-nn(e/2)*t/Math.sqrt(n)})).args([["alpha",["and","number",["(between)",0,1]]],["standard_dev","number++"],["size",["and","integer++"]]]),fe("GAUSS",(function(e){return tn(e,!0)-.5})).args([["z","number"]]),fe("PHI",(function(e){return tn(e)})).args([["x","number"]]),fe("LOGNORM.DIST",(function(e,t,n,r){if(r)return.5+.5*Gt((Math.log(e)-t)/(n*Math.sqrt(2)));var o=Math.log(e)-t;return Math.exp(-o*o/(2*n*n))/(e*n*Math.sqrt(2*Math.PI))})).args([["x","number++"],["mean","number"],["standard_dev","number++"],["cumulative","logical"]]),fe("LOGNORM.INV",(function(e,t,n){return Math.exp(rn(e,t,n))})).args([["probability",["and","number",["(between)",0,1]]],["mean","number"],["standard_dev","number++"]]),fe("PROB",(function(e,t,n,r){var o,i=e.length,a=0;for(o=0;o<i;o++){if(t[o]<=0||t[o]>1)throw new T("NUM");a+=t[o]}if(1!=a)throw new T("NUM");var s=0;for(o=0;o<i;o++){var l=e[o];l>=n&&l<=r&&(s+=t[o])}return s})).args([["x_range",["collect","number",1]],["prob_range",["collect","number",1]],["lower_limit","number"],["upper_limit",["or","number",["null","$lower_limit"]]],["?",["assert","$prob_range.length == $x_range.length","N/A"]]]),fe("SLOPE",(function(e,t){for(var n=pn(t),r=pn(e),o=0,i=0,a=0,s=e.length;a<s;a++){var l=t[a]-n;o+=l*(e[a]-r),i+=l*l}return o/i})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]]]),fe("INTERCEPT",(function(e,t){for(var n=pn(t),r=pn(e),o=0,i=0,a=0,s=e.length;a<s;a++){var l=t[a]-n;o+=l*(e[a]-r),i+=l*l}return r-o*n/i})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]]]),fe("PEARSON",yn).args([["array1",["collect!","anything",1]],["array2",["collect!","anything",1]],["?",["assert","$array2.length == $array1.length","N/A"]],["?",["assert","$array2.length > 0 && $array1.length > 0","N/A"]]]),fe("RSQ",(function(e,t){var n=yn(e,t);return n*n})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]],["?",["assert","$known_x.length != 1 && $known_y.length != 1","N/A"]]]),fe("STEYX",(function(e,t){for(var n=t.length,r=pn(t),o=pn(e),i=0,a=0,s=0,l=0;l<n;l++){var c=t[l]-r,u=e[l]-o;i+=u*u,a+=c*u,s+=c*c}return Math.sqrt((i-a*a/s)/(n-2))})).args([["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length >= 3 && $known_y.length >= 3","DIV/0"]]]),fe("FORECAST",(function(e,t,n){for(var r=pn(n),o=pn(t),i=0,a=0,s=0,l=n.length;s<l;s++){var c=n[s]-r;i+=c*(t[s]-o),a+=c*c}if(0===a)throw new T("N/A");var u=i/a;return o-u*r+u*e})).args([["x","number"],["known_y",["collect","number",1]],["known_x",["collect","number",1]],["?",["assert","$known_x.length == $known_y.length","N/A"]],["?",["assert","$known_x.length > 0 && $known_y.length > 0","N/A"]]]),fe("LINEST",kn).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]],["stats",["or","logical",["null",!1]]]]),fe("LOGEST",(function(e,t,n,r){return kn.call(this,e.map(Math.log),t,n,r).map(Math.exp)})).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]],["stats",["or","logical",["null",!1]]]]),fe("TREND",Cn).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["new_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]]]),fe("GROWTH",(function(e,t,n,r){return Cn.call(this,e.map(Math.log),t,n,r).map(Math.exp)})).args([["known_y","matrix"],["known_x",["or","matrix","null"]],["new_x",["or","matrix","null"]],["const",["or","logical",["null",!0]]]]),fe("FV",_n).args([["rate","number"],["nper","number"],["pmt",["or","number",["null",0]]],["pv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["?",["assert","$pmt || $pv"]]]),fe("PV",(function(e,t,n,r,o){if(!e)return-r-n*t;var i=Math.pow(1+e,t);return-(r+n*(i-1)/e*(1+e*o))/i})).args([["rate","number"],["nper","number"],["pmt",["or","number",["null",0]]],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]]]),fe("PMT",En).args([["rate","number"],["nper","number"],["pmt","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]]]),fe("NPER",(function(e,t,n,r,o){if(!e)return-(r+n)/t;var i=t*(1+e*o);return Math.log((i-r*e)/(i+n*e))/Math.log(1+e)})).args([["rate","number"],["pmt","number"],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]]]),fe("RATE",(function(e,t,n,r,o,i){return zn((function(i){var a=Math.pow(1+i,e-1),s=a*(1+i);return[n*s+t*(1/i+o)*(s-1)+r,e*n*a+t*(-(s-1)/(i*i)+(1/i+o)*e*a)]}),i)})).args([["nper","number"],["pmt",["or","number",["null",0]]],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["guess",["or","number++",["null",.01]]],["?",["assert","$pmt || $fv"]]]),fe("IPMT",In).args([["rate","number"],["per","number++"],["nper","number++"],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["?",["assert","$per >= 1 && $per <= $nper"]]]),fe("PPMT",(function(e,t,n,r,o,i){return En(e,n,r,o,i)-In(e,t,n,r,o,i)})).args([["rate","number"],["per","number++"],["nper","number++"],["pv","number"],["fv",["or","number",["null",0]]],["type",["or",["values",0,1],["null",0]]],["?",["assert","$per >= 1 && $per <= $nper"]]]),fe("CUMPRINC",(function(e,t,n,r,o,i){1==i&&(r--,o--);var a=Math.pow(1+e,t),s=Math.pow(1+e,r-1),l=Math.pow(1+e,o),c=e*n*a/(a-1);return l*n-(l-1)/e*c-(s*n-(s-1)/e*c)})).args([["rate","number++"],["nper","number++"],["pv","number++"],["start_period","number++"],["end_period","number++"],["type",["or",["values",0,1],["null",0]]],["?",["assert","$end_period >= $start_period","NUM"]]]),fe("CUMIPMT",(function(e,t,n,r,o,i){for(var a=0,s=r;s<=o;s++)a+=In(e,s,t,n,0,i);return a})).args([["rate","number++"],["nper","number++"],["pv","number++"],["start_period","number++"],["end_period","number++"],["type",["or",["values",0,1],["null",0]]],["?",["assert","$end_period >= $start_period","NUM"]]]),fe("NPV",(function(e,t){for(var n=0,r=0,o=t.length;r<o;r++)n+=t[r]*Math.pow(1+e,-r-1);return n})).args([["rate","number"],["values",["collect","number"]],["?",["assert","$values.length > 0","N/A"]]]),fe("IRR",(function(e,t){return zn((function(t){for(var n=0,r=0,o=0,i=e.length;o<i;o++)n+=e[o]*Math.pow(1+t,-o-1),r+=-o*e[o]*Math.pow(1+t,-o-2);return[n,r]}),t)})).args([["values",["collect","number",1]],["guess",["or","number",["null",.1]]]]),fe("EFFECT",(function(e,t){return Math.pow(1+e/t,t)-1})).args([["nominal_rate","number++"],["npery","integer++"]]),fe("NOMINAL",(function(e,t){return t*(Math.pow(e+1,1/t)-1)})).args([["effect_rate","number++"],["npery","integer++"]]),fe("XNPV",(function(e,t,n){for(var r=0,o=0,i=t.length;o<i;o++)r+=t[o]*Math.pow(1+e,(n[0]-n[o])/365);return r})).args([["rate","number"],["values",["collect","number",1]],["dates",["collect","date",1]],["?",["assert","$values.length == $dates.length","NUM"]]]),fe("XIRR",(function(e,t,n){return zn((function(n){for(var r=e[0],o=0,i=1,a=e.length;i<a;i++){var s=(t[0]-t[i])/365;r+=e[i]*Math.pow(1+n,s),o+=s*e[i]*Math.pow(1+n,s-1)}return[r,o]}),n)})).args([["values",["collect","number",1]],["dates",["collect","date",1]],["guess",["or","number",["null",.1]]],["?",["assert","$values.length == $dates.length","NUM"]]]),fe("ISPMT",(function(e,t,n,r){return-r*e*(1-t/n)})).args([["rate","number"],["per","number++"],["nper","number++"],["pv","number"],["?",["assert","$per >= 1 && $per <= $nper"]]]),fe("DB",(function(e,t,n,r,o){var i=1-Math.pow(t/e,1/n),a=e*(i=Math.floor(1e3*i+.5)/1e3)*o/12;if(1==r)return a;for(var s=1;s<n;s++){if(s==r-1)return(e-a)*i;a+=(e-a)*i}return(e-a)*i*(12-o)/12})).args([["cost","number"],["salvage","number"],["life","number++"],["period","number++"],["month",["or","number",["null",12]]]]),fe("DDB",(function(e,t,n,r,o){var i=o/n,a=-e*(Math.pow(1-i,r-1)-1),s=(e-a)*i;return Math.min(s,Math.max(0,e-a-t))})).args([["cost","number"],["salvage","number"],["life","number++"],["period","number++"],["factor",["or","number",["null",2]]]]),fe("SLN",(function(e,t,n){return(e-t)/n})).args([["cost","number"],["salvage","number"],["life","number++"]]),fe("SYD",(function(e,t,n,r){return(e-t)*(n-r+1)*2/(n*(n+1))})).args([["cost","number"],["salvage","number"],["life","number++"],["per","number++"]]),fe("VDB",(function(e,t,n,r,o,i,a){var s=i>=n?1:i/n;function l(e,n){var r,o,i;return o=1==s?1==n?e:0:e*Math.pow(1-s,n-1),(r=(i=e*Math.pow(1-s,n))<t?o-t:o-i)<0?0:r}function c(e,n,r){for(var o,i=e-t,a=Math.ceil(r),s=0,c=0,u=!1,h=1;h<=a;h++){if(u)o=s;else{var d=l(e,h);(s=i/(n-h+1))>d?(o=s,u=!0):(o=d,i-=d)}h==a&&(o*=r+1-a),c+=o}return c}var u=Math.floor(r),h=Math.ceil(o),d=0;if(a)for(var p=u+1;p<=h;p++){var f=l(e,p);p==u+1?f*=Math.min(o,u+1)-r:p==h&&(f*=o+1-h),d+=f}else{var m=n;if(r!=Math.floor(r)&&i>1&&r>=n/2){var v=r-n/2;r=n/2,o-=v,m+=1}e-=c(e,m,r),d=c(e,n-r,o-r)}return d})).args([["cost","number+"],["salvage","number+"],["life","number++"],["start_period","number+"],["end_period","number+"],["factor",["or","number+",["null",2]]],["no_switch",["or","logical",["null",!1]]],["?",["assert","$end_period >= $start_period","NUM"]]]);var jt=[["settlement","date"],["maturity","date"],["frequency",["and","integer",["values",1,2,4]]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]];fe("COUPDAYBS",(function(e,t,n,r){return Mn(On(e,t,n)[0],e,r)})).args(jt),fe("COUPDAYS",(function(e,t,n,r){if(1==r){var o=On(e,t,n);return Mn(o[0],o[1],1)}return 3==r?365/n:360/n})).args(jt),fe("COUPDAYSNC",(function(e,t,n,r){return Mn(e,On(e,t,n)[1],r)})).args(jt),fe("COUPPCD",(function(e,t,n){return On(e,t,n)[0]})).args(jt),fe("COUPNCD",(function(e,t,n){return On(e,t,n)[1]})).args(jt),fe("COUPNUM",(function(e,t,n){var r=ke(e),o=ke(t);return 1+((12*(o.year-r.year)+o.month-r.month)*n/12|0)})).args(jt),fe("ACCRINTM",(function(e,t,n,r,o){var i=Rn(ke(t).year,o);return n*r*Mn(e,t,o)/i})).args([["issue","date"],["settlement","date"],["rate","number++"],["par",["or",["null",1e3],"number++"]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$issue < $settlement","NUM"]]]),fe("ACCRINT",(function(e,t,n,r,o,i,a,s){var l,c,u,h,d,p,f=0,m=o*r/i,v=a%2==0?360:365;function g(e,t){return(t-e)*i/v|0}return n<=t?(c=(l=On(n,t,i))[0],u=l[1],c<=e?m*Mn(e,n,a)/Mn(c,u,a):(h=(l=On(e,c,i))[0],m*((p=g(d=l[1],n))+Mn(e,d,a)/Mn(h,d,a)+(n<u?Mn(c,n,a)/Mn(c,u,a):0)))):(l=function(e,t,n){var r=ke(t),o=ke(e),i=r.year-o.year;i>0&&(i=(i-1)*n);for(var a,s=e,l=12/n;t>s;)a=s,s=Sn(e,++i*l);return[a,s]}(t,n,i),c=l[0],u=l[1],p=g(t,n),f=u==n?m*p:m*(p+Mn(c,n,a)/Mn(c,u,a)),s?(c=(l=On(e,t,i))[0],u=l[1],f+=m*((p=g(e,t))+Mn(e,u,a)/Mn(c,u,a))):f)})).args([["issue","date"],["first_interest","date"],["settlement","date"],["rate","number++"],["par",["or",["null",1e3],"number++"]],["frequency",["and","integer",["values",1,2,4]]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["calc_method",["or","logical",["null",!0]]],["?",["assert","$issue < $settlement","NUM"]]]),fe("DISC",(function(e,t,n,r,o){return(r-n)/r*(o%2==0?360:ye(ke(e).year)?366:365)/Mn(e,t,o)})).args([["settlement","date"],["maturity","date"],["pr","number++"],["redemption","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("INTRATE",(function(e,t,n,r,o){return(r-n)/n*(o%2==0?360:ye(ke(e).year)?366:365)/Mn(e,t,o)})).args([["settlement","date"],["maturity","date"],["investment","number++"],["redemption","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("RECEIVED",(function(e,t,n,r,o){var i=o%2==0?360:ye(ke(e).year)?366:365;return n/(1-r*Mn(e,t,o)/i)})).args([["settlement","date"],["maturity","date"],["investment","number++"],["discount","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("PRICE",(function(e,t,n,r,o,i,a){var s=1+((t-e)*i/(a%2==0?360:365)|0),l=On(e,t,i),c=l[0],u=l[1],h=Mn(c,e,a),d=Mn(e,u,a),p=Mn(c,u,a),f=100*n/i,m=r/i,v=d/p;return 1==s?(o+f)/(1+v*m)-h/p*f:o/Math.pow(1+m,s-1+v)+f*Math.pow(1+m,1-s-v)*(Math.pow(1+m,s)-1)/m-h/p*f})).args([["settlement","date"],["maturity","date"],["rate","number++"],["yld","number++"],["redemption","number++"],["frequency",["and","integer",["values",1,2,4]]],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]),fe("PRICEDISC",(function(e,t,n,r,o){return r-n*r*Mn(e,t,o)/Rn(ke(t).year,o)})).args([["settlement","date"],["maturity","date"],["discount","number++"],["redemption","number++"],["basis",["or",["null",0],["and","integer",["values",0,1,2,3,4]]]],["?",["assert","$settlement < $maturity","NUM"]]]);var Ut=300,Wt=22204e-20,Kt=1e-30,qt=Math.abs;function Gt(e){if(qt(e)>=3.3)return 1-$t(e);var t=e>0?1:-1;-1==t&&(e=-e);for(var n=0,r=1,o=1;o<100;o++)n+=r,r*=2*e*e/(2*o+1);return 2*t/Math.sqrt(Math.PI)*e*Math.exp(-e*e)*n}function $t(e){if(qt(e)<3.3)return 1-Gt(e);var t=1;e<0&&(t=-1,e=-e);for(var n=e,r=8;r>=1;r-=.5)n=e+r/n;return n=1/(e+n),1==t?Math.exp(-e*e)/Math.sqrt(Math.PI)*n:2-Math.exp(-e*e)/Math.sqrt(Math.PI)*n}function Yt(e){var t=[1.000000000190015,76.18009172947146,-86.50532032941678,24.01409824083091,-1.231739572450155,.001208650973866179,-5395239384953e-18],n=e,r=e+5.5,o=t[0];r-=(e+.5)*Math.log(r);for(var i=1;i<=6;i++)o+=t[i]/(n+=1);return-r+Math.log(Math.sqrt(2*Math.PI)*o/e)}function Zt(e){if(e>0)return Math.exp(Yt(e));var t=Math.PI,n=-e;return-t/(n*Zt(n)*Math.sin(t*n))}function Xt(e,t){return Yt(e)+Yt(t)-Yt(e+t)}function Jt(e,t){return Math.exp(Xt(e,t))}function Qt(e,t,n,r){return r?function(e,t){return t<e+1?function(e,t){var n,r=1/e,o=r,i=e,a=Yt(e);for(n=1;n<=Ut&&(r+=o*=t/++i,!(qt(o)<qt(r)*Wt));n++);return r*Math.exp(-t+e*Math.log(t)-a)}(e,t):1-function(e,t){for(var n=Kt,r=n,o=0,i=1,a=t+1-e,s=Yt(e),l=1;l<=Ut;l++){qt(o=a+i*o)<Kt&&(o=Kt),qt(r=a+i/r)<Kt&&(r=Kt);var c=r*(o=1/o);if(n*=c,qt(c-1)<Wt)break;a+=2,i=-l*(l-e)}return n*Math.exp(-t-s+e*Math.log(t))}(e,t)}(t,e/n):Math.pow(e/n,t-1)*Math.exp(-e/n)/(n*Zt(t))}function en(e,t,n){if(0===e)return 0;if(1==e)return 1/0;var r=0,o=10,i=0,a=t*n;a>1&&(o*=a);for(var s=0;s<Ut;s++){var l=Qt(i=.5*(r+o),t,n,!0);if(qt(e-l)<1e-16)break;l>e?o=i:r=i}return i}function tn(e,t){return t?.5+.5*Gt(e/Math.sqrt(2)):Math.exp(-e*e/2)/Math.sqrt(2*Math.PI)}function nn(e){var t,n,r=[-39.69683028665376,220.9460984245205,-275.9285104469687,138.357751867269,-30.66479806614716,2.506628277459239],o=[-54.47609879822406,161.5858368580409,-155.6989798598866,66.80131188771972,-13.28068155288572],i=[-.007784894002430293,-.3223964580411365,-2.400758277161838,-2.549732539343734,4.374664141464968,2.938163982698783],a=[.007784695709041462,.3224671290700398,2.445134137142996,3.754408661907416];return e<.02425?(t=Math.sqrt(-2*Math.log(e)),(((((i[0]*t+i[1])*t+i[2])*t+i[3])*t+i[4])*t+i[5])/((((a[0]*t+a[1])*t+a[2])*t+a[3])*t+1)):.97575<e?(t=Math.sqrt(-2*Math.log(1-e)),-(((((i[0]*t+i[1])*t+i[2])*t+i[3])*t+i[4])*t+i[5])/((((a[0]*t+a[1])*t+a[2])*t+a[3])*t+1)):(((((r[0]*(n=(t=e-.5)*t)+r[1])*n+r[2])*n+r[3])*n+r[4])*n+r[5])*t/(((((o[0]*n+o[1])*n+o[2])*n+o[3])*n+o[4])*n+1)}function rn(e,t,n){return t+n*nn(e)}function on(e,t,n){var r=Math.exp(t*Math.log(e)+n*Math.log(1-e)-Xt(t,n));return e<(t+1)/(t+n+2)?r*an(t,n,e)/t:1-r*an(n,t,1-e)/n}function an(e,t,n){var r,o,i,a,s,l,c,u,h,d;for(h=e-1,a=1,qt(s=1-(u=e+t)*n/(d=e+1))<Kt&&(s=Kt),c=s=1/s,r=1;r<=Ut&&(qt(s=1+(i=r*(t-r)*n/((h+(o=2*r))*(e+o)))*s)<Kt&&(s=Kt),qt(a=1+i/a)<Kt&&(a=Kt),c*=(s=1/s)*a,qt(s=1+(i=-(e+r)*(u+r)*n/((e+o)*(d+o)))*s)<Kt&&(s=Kt),qt(a=1+i/a)<Kt&&(a=Kt),c*=l=(s=1/s)*a,!(qt(l-1)<Wt));r++);return c}function sn(e,t,n){for(var r=0,o=1,i=0,a=0;a<Ut;a++){var s=on(i=.5*(r+o),t,n);if(qt(e-s)<Wt)break;s>e?o=i:r=i}return i}function ln(e,t,n,r,o){return r+(o-r)*sn(e,t,n)}function cn(e,t,n){return Qt(e,t/2,2,n)}function un(e,t){return 1-cn(e,t,!0)}function hn(e,t){return en(e,t/2,2)}function dn(e,t,n,r){if(r)return on(t*e/(n+t*e),t/2,n/2);var o=t/n;return o/Jt(t/=2,n/=2)*Math.pow(o*e,t-1)/Math.pow(1+o*e,t+n)}function pn(e){for(var t=0,n=e.length,r=0;r<n;r++)t+=e[r];return t/n}function fn(e,t){for(var n=0,r=e.length,o=0;o<r;o++){var i=e[o]-t;n+=i*i}return n/(r-1)}function mn(e,t,n){return n?1-.5*on(t/(e*e+t),t/2,.5):1/(Math.sqrt(t)*Jt(.5,t/2))*Math.pow(1+e*e/t,-(t+1)/2)}function vn(e,t){return 1-mn(e,t,!0)}function gn(e,t){return e<0&&(e=-e),2*vn(e,t)}function bn(e,t){var n=sn(2*Math.min(e,1-e),t/2,.5);return n=Math.sqrt(t*(1-n)/n),e>.5?n:-n}function yn(e,t){!function(e,t){for(var n=e.length;--n>=0;)"number"==typeof e[n]&&"number"==typeof t[n]||(e.splice(n,1),t.splice(n,1))}(e,t);for(var n=pn(e),r=pn(t),o=0,i=0,a=0,s=0,l=e.length;s<l;s++){var c=e[s]-n,u=t[s]-r;o+=c*u,i+=c*c,a+=u*u}return o/Math.sqrt(i*a)}function wn(e){for(var t=e.height,n=0,r=0;r<t;r++)n+=e.data[r][0];return n/t}function xn(e,t){for(var n=e.height,r=0,o=0;o<n;o++){var i=e.data[o][0]-t;r+=i*i}return r}function kn(e,t,n,r){var o=0;t||(t=e.map((function(){return++o}))),n&&((t=t.clone()).eachRow((function(e){t.data[e].unshift(1)})),++t.width);var i=t.transpose(),a=i.multiply(t).inverse().multiply(i).multiply(e),s=[];for(o=a.height-1;o>=0;o--)s.push(a.data[o][0]);if(n||s.push(0),!r)return this.asMatrix([s]);var l=t.multiply(a),c=e.adds(l,!0),u=xn(l,n?wn(l):0),h=xn(c,n?wn(c):0),d=[];d.push(u,h);var p=u/(u+h),f=e.height-t.width,m=Math.sqrt(h/f),v=[];v.push(p,m);var g=n?u/(t.width-1)/(h/f):p/t.width/((1-p)/f),b=[];b.push(g,f);var y=i.multiply(t).inverse(),w=[];for(o=y.height-1;o>=0;o--)w.push(Math.sqrt(y.data[o][o]*h/f));return this.asMatrix([s,w,v,b,d])}function Cn(e,t,n,r){var o=0;t||(t=e.map((function(){return++o}))),r&&((t=t.clone()).eachRow((function(e){t.data[e].unshift(1)})),++t.width);var i=t.transpose(),a=i.multiply(t).inverse().multiply(i).multiply(e);return n?r&&((n=n.clone()).eachRow((function(e){n.data[e].unshift(1)})),++n.width):n=t,n.multiply(a)}function zn(e,t,n,r){for(var o=n||20,i=r||1e-7,a=t,s=1;s<=o;s++){var l=e(a),c=l[0]/l[1];if(a-=c,Math.abs(c)<i)return a}return new T("NUM")}function _n(e,t,n,r,o){var i=Math.pow(1+e,t);return-(r*i+n*(e?(i-1)/e:t)*(1+e*o))}function En(e,t,n,r,o){if(!e)return-(r+n)/t;var i=Math.pow(1+e,t);return-e*(r+n*i)/((1+e*o)*(i-1))}function In(e,t,n,r,o,i){if(1==i&&1==t)return 0;var a=_n(e,t-1,En(e,n,r,o,i),r,i)*e;return i?a/(1+e):a}function Sn(e,t){var n=ke(e),r=n.month+t,o=n.year+Math.floor(r/12);return(r%=12)<0&&(r+=12),Ce(o,r,n=Math.min(n.date,xe(o,r)))}function Mn(e,t,n){return 1==n||2==n||3==n?t-e:At(e,t,n)}function On(e,t,n){var r=ke(e),o=ke(t).year-r.year;o>0&&(o=(o-1)*n);var i,a=12/n;do{i=Sn(t,-++o*a)}while(e<i);return[i,Sn(t,- --o*a)]}function Rn(e,t){return 3==t?365:1==t?ye(e)?366:365:360}class Hn{constructor(e){this.workbook=e}getRefCells(e,t,n,r,o,i){let a,s,l,c;if(e instanceof w)return a=this.workbook.sheetByName(e.sheet),a&&e.valid()?(s=a.formula(e),l=a.range(e.row,e.col).value(),i||null!=s||null!=l?[{formula:s,value:l,row:e.row,col:e.col,sheet:e.sheet,hidden:!!t&&(0===a.columnWidth(e.col)||0===a.rowHeight(e.row))}]:[]):[{value:new T("REF")}];if(e instanceof x){c=this.workbook.sheetIndex(e.sheet);let n=[],r=c;if(e.endSheet&&(r=this.workbook.sheetIndex(e.endSheet),c>r)){let e=c;c=r,r=e}if(c<0||r<0||!e.valid())return[{value:new T("REF")}];for(;c<=r;){a=this.workbook.sheetByIndex(c++);let r=a._grid.normalize(e.topLeft),o=a._grid.normalize(e.bottomRight),u=a._grid.cellRefIndex(r),h=a._grid.cellRefIndex(o),d=a._properties.iterator("value",u,h);for(let e=r.col;e<=o.col;++e)for(let c=r.row;c<=o.row;++c){let r=a._grid.index(c,e);s=a._properties.get("formula",r),l=d.at(r),(i||null!=s||null!=l)&&n.push({formula:s,value:l,row:c,col:e,sheet:a.name(),hidden:!!t&&(0===a.columnWidth(e)||0===a.rowHeight(c))})}}return n}if(e instanceof k){let i=[];for(c=0;c<e.refs.length;++c)i=i.concat(this.getRefCells(e.refs[c],t,n,r,o));return i}if(e instanceof y){let i=this.nameValue(e,n,r,o);return i instanceof g?this.getRefCells(i,t,n,r,o):[{value:null==i?new T("NAME"):i}]}return[]}isMerged(e){return this.workbook.sheetByName(e.sheet).isMerged(e)}nameValue(e,t,n,r){let o;return e.hasSheet()?o=this.workbook.nameValue(this._displayString(e.print())):(e=e.clone().setSheet(t,!0),o=this.workbook.nameValue(this._displayString(e.print())),null==o&&(o=this.workbook.nameValue(this._displayString(e.name)))),o instanceof g&&(o=o.absolute(n,r)),o}getData(e,t,n,r,o){let i=e instanceof w;e instanceof y&&(i=this.workbook.nameValue(e.name)instanceof w);let a=this.getRefCells(e,!1,t,n,r,o).map((function(e){let t=e.value;return t instanceof re.runtime.Formula&&(t=t.value),t}));return i?a[0]:a}onFormula(e){let t=this.workbook.sheetByName(e.sheet),n=e.row,r=e.col,o=e.value;if(t.formula({row:n,col:r})!==e)return!1;let i=e.arrayFormulaRange;if(i){let e,n,r=o.width,a=o.height;t.forEach(i,(function(i,s){void 0===e&&(e=i,n=s);let l,c=i-e,u=s-n;l=c<a&&u<r?o.get(c,u):new T("N/A"),t._value(i,s,l)}))}else o instanceof g&&(o=this.getData(o,e.sheet,n,r),Array.isArray(o)&&(o=o[0]),void 0===o&&(o=null)),o instanceof re.runtime.Matrix&&(o=o.get(0,0)),t._value(n,r,o);return clearTimeout(t._formulaContextRefresh),t._formulaContextRefresh=setTimeout((function(){t.batch((function(){}),{layout:!0})}),50),!0}_displayString(e){return/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}}class Fn extends Hn{onFormula(){return!0}}let Dn=/^\[(black|green|white|blue|magenta|yellow|cyan|red)\]/i,An=/^\[(<=|>=|<>|<|>|=)(-?[0-9.]+)\]/;function Vn(e){e=re.InputStream(e);let t,n=[],r=!1;for(;!e.eof();){let e=l();n.push(e),e.cond&&(r=!0)}return r||(1===n.length?n[0].cond="num":2===n.length?(n[0].cond={op:">=",value:0},n[1].cond={op:"<",value:0}):n.length>=3&&(n[0].cond={op:">",value:0},n[1].cond={op:"<",value:0},n[2].cond={op:"=",value:0},n.length>3&&(n[3].cond="text",n=n.slice(0,4)))),n;function o(){let t=e.skip(Dn);if(t)return t[1].toLowerCase()}function i(){let t,n=[],r=null;for(;!e.eof()&&(t=s());)"date"===t.type?r&&/^(el)?time$/.test(r.type)&&"h"===r.part&&"m"===t.part&&t.format<3&&(t.type="time"):/^(el)?time$/.test(t.type)&&"s"===t.part&&r&&"date"===r.type&&"m"===r.part&&r.format<3&&(r.type="time"),/^(?:str|space|fill)$/.test(t.type)||(r=t),n.push(t);return n}function a(t){if("date"!==t.type||"m"===t.part&&t.format<3){let n=e.skip(/^\.(0+)/);n&&(t.fraction=n[1].length,"date"===t.type&&(t.type="time"))}return t}function s(){let n,r;if(r=e.skip(/^([#0?]+)(?:,([#0?]+))+/))return{type:"digit",sep:!0,format:r[1]+r[2],decimal:t};if(r=e.skip(/^[#0?]+/))return{type:"digit",sep:!1,format:r[0],decimal:t};if(r=e.skip(/^(e)([+-])/i))return{type:"exp",ch:r[1],sign:r[2]};if(r=e.skip(/^(d{1,4}|m{1,5}|yyyy|yy|y)/i))return r=r[1].toLowerCase(),a({type:"date",part:r.charAt(0),format:r.length});if(r=e.skip(/^(hh?|ss?)/i))return r=r[1].toLowerCase(),a({type:"time",part:r.charAt(0),format:r.length});if(r=e.skip(/^\[(hh?|mm?|ss?)\]/i))return r=r[1].toLowerCase(),a({type:"eltime",part:r.charAt(0),format:r.length});if(r=e.skip(/^(a[.]?m[.]?\/p[.]?m[.]?|a\/p)/i))return r=r[1].split("/"),{type:"ampm",am:r[0],pm:r[1]};switch(n=e.next()){case";":return null;case"\\":return{type:"str",value:e.next()};case'"':return{type:"str",value:e.readEscaped(n)};case"@":return{type:"text"};case"_":return{type:"space",value:e.next()};case"*":return{type:"fill",value:e.next()};case".":return e.lookingAt(/^\s*[#0?]/)?(t=!0,{type:"dec"}):{type:"str",value:"."};case"%":return{type:"percent"};case",":return{type:"comma"}}return{type:"str",value:n}}function l(){t=!1;let n=o(),r=function(){let t=e.skip(An);if(t){let e=parseFloat(t[2]);if(!isNaN(e))return{op:t[1],value:e,custom:!0}}}();return!n&&r&&(n=o()),{color:n,cond:r,body:i()}}}function Bn(e){let t=function(e){let t=0;return{next:function(){return e[t++]},eof:function(){return t>=e.length},ahead:function(n,r){if(t+n<=e.length){let o=r.apply(null,e.slice(t,t+n));return o&&(t+=n),o}},restart:function(){t=0}}}(e.body),n=!1,r=!1,o=!1,i=0,a=/[\$\xA2-\xA5\u058F\u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20BD\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6]/,s=0,l="let intPart, decPart, isNegative, date, time; ",c=!1,u=0,h=[],d=[],p=e.cond,f="";function m(e,t){("digit"===e.type&&"comma"===t.type||"comma"===e.type&&e.hidden&&"comma"===t.type)&&(t.hidden=!0,s++)}for("text"===p?f="if (typeof value == 'string' || value instanceof kendo.spreadsheet.CalcError) { ":"num"===p?f="if (typeof value == 'number') { ":p&&(f="if (typeof value == 'number' && value "+("="===p.op?"==":p.op)+" "+p.value+") { ",p.custom||(l+="value = Math.abs(value); ")),e.color&&(l+="result.color = "+JSON.stringify(e.color)+"; ");!t.eof();){t.ahead(2,m);let e=t.next();"percent"===e.type?i++:"digit"===e.type?e.decimal?(u+=e.format.length,d.push(e.format)):(h.push(e.format),e.sep&&(c=!0)):"time"===e.type?r=!0:"date"===e.type?n=!0:"ampm"===e.type&&(o=r=!0)}for(i>0&&(l+="value *= "+Math.pow(100,i)+"; "),s>0&&(l+="value /= "+Math.pow(1e3,s)+"; "),h.length&&(l+="intPart = runtime.formatInt(culture, value, "+JSON.stringify(h)+", "+u+", "+c+"); ",l+="isNegative = parseInt(intPart[0]) < 0;"),d.length&&(l+="decPart = runtime.formatDec(value, "+JSON.stringify(d)+", "+u+"); "),(h.length||d.length)&&(l+="type = 'number'; "),n&&(l+="date = runtime.unpackDate(value); "),r&&(l+="time = runtime.unpackTime(value); "),(n||r)&&(l+="type = 'date'; "),(i>0||s>0||h.length||d.length||n||r)&&(f||(f="if (typeof value == 'number') { ")),t.restart(),l+="let matchedCurrency = false;";!t.eof();){let e=t.next();"dec"===e.type?l+="output += culture.numbers.symbols.decimal; ":"comma"!==e.type||e.hidden?"percent"===e.type?(l+="type = 'percent'; ",l+="output += culture.numbers.symbols.percentSign; "):"str"===e.type?(a.test(e.value)&&(l+="type = 'currency'; ",l+="if (isNegative) { output += '-'; matchedCurrency = true; }"),l+="output += "+JSON.stringify(e.value)+"; "):"text"===e.type?(l+="type = 'text'; ",l+="output += value; "):"space"===e.type?(l+="if (output) result.body.push(output); ",l+="output = ''; ",l+="result.body.push({ type: 'space', value: "+JSON.stringify(e.value)+" }); "):"fill"===e.type?l+="output += runtime.fill("+JSON.stringify(e.value)+"); ":"digit"===e.type?(l+="if (isNegative && intPart[0] && matchedCurrency) {intPart[0] = intPart[0].replace('-', '');}",l+="output += "+(e.decimal?"decPart":"intPart")+".shift(); "):"date"===e.type?l+="output += runtime.date(culture, date, "+JSON.stringify(e.part)+", "+e.format+"); ":"time"===e.type?l+="output += runtime.time(time, "+JSON.stringify(e.part)+", "+e.format+", "+o+", "+e.fraction+"); ":"eltime"===e.type?l+="output += runtime.eltime(value, "+JSON.stringify(e.part)+", "+e.format+", "+e.fraction+"); ":"ampm"===e.type&&(l+="output += time.hours < 12 ? "+JSON.stringify(e.am)+" : "+JSON.stringify(e.pm)+"; "):l+="output += ','; "}return l+="if (output) result.body.push(output); ",l+="result.type = type; ",l+="return result; ",f&&(l=f+l+"}"),l}let Nn=Bn({cond:"text",body:[{type:"text"}]}),Ln=O((function(e){let t=Vn(e).map(Bn);return t.push(Nn),t=t.join("\n"),t="'use strict'; return function(value, culture){ if (!culture) culture = kendo.culture();let output = '', type = null, result = { body: [] }; "+t+"; return result; };",new Function("kendo","runtime",t)(ie,Tn)})),Pn=O((function(e){let t,n=Vn(e),r=!1,o=!1;for(let e=0;e<n.length;++e){t=n[e];for(let e=0;e<t.body.length;++e)/^(?:date|time|ampm)$/.test(t.body[e].type)&&(r=!0,"ampm"===t.body[e].type&&(o=!0));if(r)break}return r?t.body.map((function(e){if("digit"===e.type)return e.sep?e.format.charAt(0)+","+e.format.substr(1):e.format;if("exp"===e.type)return e.ch+e.sign;if("date"===e.type||"time"===e.type){let t=e.part;return"date"===e.type&&/^m/.test(t)?t="M":"time"===e.type&&/^h/.test(t)&&(o||(t=t.toUpperCase())),function(e,t){return t.fraction&&(e+=jn("",Math.max(t.fraction,3),"f")),e}(jn("",e.format,t),e)}return"ampm"===e.type?"tt":"str"===e.type?e.value:"space"===e.type?" ":"dec"===e.type?".":"percent"===e.type?"%":"comma"===e.type?",":""})).join(""):null})),Tn={unpackDate:ke,unpackTime:Ie,date:function(e,t,n,r){switch(n){case"d":switch(r){case 1:return t.date;case 2:return jn(t.date,2,"0");case 3:return e.calendar.days.format.abbreviated[t.day];case 4:return e.calendar.days.format.wide[t.day]}break;case"m":switch(r){case 1:return t.month+1;case 2:return jn(t.month+1,2,"0");case 3:return e.calendar.months.format.abbreviated[t.month];case 4:return e.calendar.months.format.wide[t.month];case 5:return e.calendar.months.format.narrow[t.month]}break;case"y":switch(r){case 1:case 4:return t.year;case 2:return t.year%100}}return"##"},time:function(e,t,n,r,o){let i,a;switch(t){case"h":i=jn(r?e.hours%12||12:e.hours,n,"0"),o&&(a=(e.minutes+(e.seconds+e.milliseconds/1e3)/60)/60);break;case"m":i=jn(e.minutes,n,"0"),o&&(a=(e.seconds+e.milliseconds/1e3)/60);break;case"s":i=jn(e.seconds,n,"0"),o&&(a=e.milliseconds/1e3)}return a&&(i+=Tn.toFixed(a,o).replace(/^0+/,"")),i},eltime:function(e,t,n,r){let o,i;switch(t){case"h":o=24*e;break;case"m":o=24*e*60;break;case"s":o=24*e*60*60}return r&&(i=o-(0|o)),o=jn(0|o,n,"0"),i&&(o+=Tn.toFixed(i,r).replace(/^0+/,"")),o},fill:function(e){return e},formatInt:function(e,t,n,r,o){t=Tn.toFixed(t,r).replace(/\..*$/,"");let i=n[n.length-1];r>0&&"0"!=i[n.length-1]&&("0"===t?t="":"-0"===t&&(t="-"));let a,s=!1,l=t.length-1,c=[],u=0;function h(t,n){o&&u&&u%3==0&&/^[0-9]$/.test(t)&&(a=e.numbers.symbols.group+a),n&&"-"===t&&(s=!0,t="0"),a=t+a,u++}for(let e=n.length;--e>=0;){let r=n[e];a="";for(let e=r.length;--e>=0;){let n=r.charAt(e);l<0?"0"==n?h("0"):"?"==n&&h(" "):("0"==t&&"?"==n?h(" "):"0"==n?h(t.charAt(l),!0):h(t.charAt(l)),l--)}if(0===e)for(;l>=0;)h(t.charAt(l--));c.unshift(a)}return s&&(c[0]="-"+c[0]),c},formatDec:function(e,t,n){let r=(e=Tn.toFixed(e,n)).indexOf(".");e=r>=0?e.substr(r+1).replace(/0+$/,""):"";let o=0,i=[];for(let n=0;n<t.length;++n){let r=t[n],a="";for(let t=0;t<r.length;++t){let n=r.charAt(t);o<e.length?a+=e.charAt(o++):"0"==n?a+="0":"?"==n&&(a+=" ")}i.push(a)}return i},toFixed:function(e,t){return function e(n,r){if(!isFinite(n))return"#NUM!";if(n<0)return"-"+e(-n);if(0===t)return String(Math.round(n));if(n===Math.round(n)&&!/e/i.test(String(n)))return n.toFixed(t);let o=function(e){let t,n,r,o=String(e).toLowerCase(),i=o.indexOf(".");if(i<0?(i=o.indexOf("e"),i<0?(t=o,n=""):(t=o.substr(0,i),n=o.substr(i))):(t=o.substr(0,i),n=o.substr(i+1)),r=/(\d*)e([-+]?\d+)/.exec(n)){let e=parseInt(r[2],10);e>=0?(n=function(e,t,n){for(e+="";e.length<t;)e+="0";return e}(r[1],e),t+=n.substr(0,e),n=n.substr(e)):(t=jn(t,-e,"0"),n=t.substr(e)+r[1],t=t.substr(0,t.length+e))}return{intpart:t||"0",decpart:n}}(n),i=o.intpart,a=o.decpart;if(a.length<=t){for(;a.length<t;)a+="0";return i+"."+a}if(r)return i+"."+a.substr(0,t);let s=Math.pow(10,t);return e(Math.round(n*s)/s,!0)}(Number(e.toFixed(14)))}};function jn(e,t,n){for(e+="";e.length<t;)e=n+e;return e}function Un(e){let t=e.body,n="";for(let e=0;e<t.length;++e){let r=t[e];"string"==typeof r?n+=r:"space"===r.type&&(n+=" ")}return n}const Wn={compile:Ln,parse:Vn,format:function(e,t,n){let r=Ln(t)(e,n),o=ne.element("span");o.__dataType=r.type;let i=r.body;r.color&&(o.attr.style={color:r.color});for(let e=0;e<i.length;++e){let t=i[e];"string"==typeof t?o.children.push(ne.text(t)):"space"===t.type&&o.children.push(ne.element("span",{style:{visibility:"hidden"}},[ne.text(t.value)]))}return o},text:function(e,t,n){return Un(Ln(t)(e,n))},textAndColor:function(e,t,n){let r=Ln(t)(e,n);return{text:Un(r),color:r.color,type:r.type}},type:function(e,t){return Ln(t)(e).type},adjustDecimals:function(e,t){let n=Vn(e);var r;return r=t,n.forEach((function(e){let t=r;if("text"===e.cond)return;let n=e.body,o=!1,i=n.length;for(;0!==t&&--i>=0;){let e=n[i];if("digit"===e.type){if(e.decimal){if(o=!0,t>0)e.format+=jn("",t,"0");else if(t<0){let n=e.format.length;e.format=e.format.substr(0,n+t),t+=n-e.format.length}if(0===e.format.length)for(n.splice(i,1);--i>=0;){if(e=n[i],"digit"===e.type&&e.decimal){++i;break}if("dec"===e.type){n.splice(i,1);break}}}if(t>0)break}}!o&&t>0&&n.splice(i+1,0,{type:"dec"},{type:"digit",sep:!1,decimal:!0,format:jn("",t,"0")})})),function(e){return e.map((function(e){let t="";return e.color&&(t+="["+e.color+"]"),e.cond&&"text"!==e.cond&&"num"!==e.cond&&(t+="["+e.cond.op+e.cond.value+"]"),t+=e.body.map(n).join(""),t})).join(";");function t(e,t){return t.fraction&&(e+="."+jn("",t.fraction,"0")),e}function n(e){return"digit"===e.type?e.sep?e.format.charAt(0)+","+e.format.substr(1):e.format:"exp"===e.type?e.ch+e.sign:"date"===e.type||"time"===e.type?t(jn("",e.format,e.part),e):"eltime"===e.type?t("["+jn("",e.format,e.part)+"]",e):"ampm"===e.type?e.am+"/"+e.pm:"str"===e.type?JSON.stringify(e.value):"text"===e.type?"@":"space"===e.type?"_"+e.value:"fill"===e.type?"*"+e.value:"dec"===e.type?".":"percent"===e.type?"%":"comma"===e.type?",":void 0}}(n)},makeDateFormat:Pn};let Kn={8:"backspace",9:"tab",13:"enter",27:"esc",37:"left",38:"up",39:"right",40:"down",35:"end",36:"home",32:"spacebar",33:"pageup",34:"pagedown",46:"delete",113:":edit"},qn=navigator.platform.toUpperCase().indexOf("MAC")>=0;class Gn{constructor(e,t,n){if(this._handlers={},this.target=e,this._observer=t||window,this.keyDownProxy=this.keyDown.bind(this),this.mouseProxy=this.mouse.bind(this),this.touchProxy=this.touch.bind(this),this.threshold=5,this._pressLocation=null,this._attachEvent(e,"keydown",this.keyDownProxy),this._attachEvent(e,"contextmenu mousedown cut copy paste scroll wheel click dblclick focus",this.mouseProxy),this._attachEvent(e,"touchmove touchend",this.touchProxy),this._attachEvent(document.documentElement,"mousemove mouseup",this.mouseProxy),this._attachEvent(document.documentElement,"touchmove touchend",this.touchProxy),n)for(let e in n)this.on(e,n[e])}_attachEvent(e,t,n){t.split(" ").forEach((t=>{e.addEventListener(t,n)}))}_removeEvent(e,t,n){t.split(" ").forEach((t=>{e.removeEventListener(t,n)}))}keyDown(e){(!e.altKey||"n"!==e.key&&"h"!==e.key&&"a"!==e.key)&&this.handleEvent(e,function(e){let t=e.keyCode,n=Kn[t];return!n&&function(e){return e>47&&e<58||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223||229===e}(t)&&(n=":alphanum"),!n&&e.key&&1===e.key.length&&(n=":alphanum"),n}(e))}touch(e){this.handleEvent(e,e.type)}mouse(e){let t;e.which?t=3===e.which:e.button&&(t=2===e.button);let n=e.type;if("mousedown"===n&&(t?n="rightmousedown":this._pressLocation={x:e.pageX,y:e.pageY}),"mouseup"===n&&(t||(this._pressLocation=null)),"mousemove"===n&&this._pressLocation){let t=this._pressLocation.x-e.pageX,r=this._pressLocation.y-e.pageY;Math.sqrt(t*t+r*r)>this.threshold&&(n="mousedrag")}this.handleEvent(e,n)}handleEvent(e,t){let n="";e.mod=qn?e.metaKey:e.ctrlKey&&!e.altKey,e.altKey&&(n+="alt+"),e.shiftKey&&(n+="shift+"),e.ctrlKey&&(n+="ctrl+"),n+=t;let r=this._handlers["*+"+t];r&&r.call(this._observer,e,n);let o=this._handlers[n];o&&o.call(this._observer,e,n)}on(e,t){let n=this._handlers;"string"==typeof t&&(t=this._observer[t]),"string"==typeof e&&(e=e.split(",")),e.forEach((function(e){n[e]=t}))}destroy(){this._removeEvent(this.target,"keydown",this.keyDownProxy),this._removeEvent(this.target,"contextmenu mousedown cut copy paste scroll wheel click dblclick focus",this.mouseProxy),this._removeEvent(this.target,"touchmove touchend",this.touchProxy),this._removeEvent(document.documentElement,"mousemove mouseup",this.mouseProxy),this._removeEvent(document.documentElement,"touchmove touchend",this.touchProxy)}}let $n=/:alphanum$/,Yn={up:"up",down:"down",left:"left",right:"right",home:"first-col",end:"last-col","ctrl+left":"word-left","ctrl+right":"word-right","ctrl+up":"word-up","ctrl+down":"word-down","ctrl+home":"first","ctrl+end":"last",pageup:"prev-page",pagedown:"next-page"},Zn={tab:"next","shift+tab":"previous",enter:"lower","shift+enter":"upper",delete:"clearContents",backspace:"clearContents","shift+:alphanum":"edit","alt+:alphanum":"edit",":alphanum":"edit","ctrl+:alphanum":"ctrl","alt+ctrl+:alphanum":"edit",":edit":"edit"},Xn={wheel:"onWheel","*+mousedown":"onMouseDown",contextmenu:"onContextMenu","*+mousedrag":"onMouseDrag","*+mouseup":"onMouseUp","*+dblclick":"onDblClick",mousemove:"onMouseMove"},Jn={pageup:"onPageUp",pagedown:"onPageDown",mouseup:"onMouseUp","*+cut":"onCut","*+paste":"onPaste","*+copy":"onCopy"},Qn={esc:"onEditorEsc",enter:"onEditorBlur","alt+enter":"insertNewline","shift+enter":"onEditorBlur",tab:"onEditorBlur","shift+tab":"onEditorBlur","shift+ctrl+enter":"onEditorArrayFormula"},er=Object.assign({focus:"onEditorBarFocus"},Qn),tr=Object.assign({focus:"onEditorCellFocus"},Qn),nr={cell:"range",rowheader:"row",columnheader:"column",topcorner:"sheet",autofill:"autofill"},rr=[],or=[],ir=[];for(let e in Yn)rr.push(e),or.push("shift+"+e);for(let e in Zn)ir.push(e);Jn[rr]="onAction",Jn[or]="onShiftAction",Jn[ir]="onEntryAction",tr[rr]="onEditorAction",tr[or]="onEditorShiftAction";class ar{constructor(e,t){this.view=e,this.workbook(t),this.container=e.container,this.clipboardElement=e.clipboard,this.scroller=e.scroller,this.tabstrip=e.tabstrip,this.sheetsbar=e.sheetsbar,e.nameEditor.bind("enter",this.onNameEditorEnter.bind(this)),e.nameEditor.bind("cancel",this.onNameEditorCancel.bind(this)),e.nameEditor.bind("select",this.onNameEditorSelect.bind(this)),e.nameEditor.bind("delete",this.onNameEditorDelete.bind(this)),this.editor=e.editor,this.editor.bind("change",this.onEditorChange.bind(this)),this.editor.bind("activate",this.onEditorActivate.bind(this)),this.editor.bind("deactivate",this.onEditorDeactivate.bind(this)),this.editor.bind("update",this.onEditorUpdate.bind(this)),e.scroller.addEventListener("scroll",this.onScroll.bind(this)),this.listener=new Gn(this.container,this,Xn),e.scroller.addEventListener("mousedown",this.onMouseDown.bind(this)),this._enableEditorEvents(),this.sheetsbar&&(this.sheetsbar.bind("select",this.onSheetBarSelect.bind(this)),this.sheetsbar.bind("reorder",this.onSheetBarReorder.bind(this)),this.sheetsbar.bind("rename",this.onSheetBarRename.bind(this)),this.sheetsbar.bind("remove",this.onSheetBarRemove.bind(this)))}executeCommand(e){return this._execute(e)}_enableEditorEvents(e){void 0===e||e?(this.keyListener=new Gn(this.clipboardElement,this,Jn),this.barKeyListener=new Gn(this.editor.barElement(),this,er),this.inputKeyListener=new Gn(this.editor.cellElement(),this,tr)):(this.keyListener.destroy(),this.barKeyListener.destroy(),this.inputKeyListener.destroy())}_execute(e){let t=this._workbook.execute(e);return"EditCommand"!==e.command||t||this._workbook.trigger("change",{editorClose:!0}),t&&(this._preventNavigation=!0,"error"===t.reason?(this.editor.deactivate(!0),this.view.showError(t,function(){}.bind(this))):this.view.openDialog(t.reason)),t}_activeTooltip(){return this._workbook.activeSheet().activeCell().simplify().toString()}onContextMenuSelect(e){let t;switch(e.item.getAttribute("data-action")){case"cut":t={command:"ToolbarCutCommand",options:{workbook:this._workbook}};break;case"copy":t={command:"ToolbarCopyCommand",options:{workbook:this._workbook}};break;case"paste":t={command:"ToolbarPasteCommand",options:{workbook:this._workbook}};break;case"delete-drawing":t={command:"DeleteDrawingCommand",options:{drawing:this.navigator._sheet._activeDrawing}};break;case"bring-to-front":t={command:"BringToFrontCommand",options:{drawing:this.navigator._sheet._activeDrawing}};break;case"send-to-back":t={command:"SendToBackCommand",options:{drawing:this.navigator._sheet._activeDrawing}};break;case"unmerge":t={command:"MergeCellCommand",options:{value:"unmerge"}};break;case"merge":this.view.openDialog("merge");break;case"hide-row":t={command:"HideLineCommand",options:{axis:"row"}};break;case"hide-column":t={command:"HideLineCommand",options:{axis:"column"}};break;case"unhide-row":t={command:"UnHideLineCommand",options:{axis:"row"}};break;case"unhide-column":t={command:"UnHideLineCommand",options:{axis:"column"}};break;case"delete-row":t={command:"DeleteRowCommand"};break;case"delete-column":t={command:"DeleteColumnCommand"}}t&&this._execute(t)}onSheetBarRemove(e){let t=this._workbook.sheetByName(e.name);t&&this._workbook.removeSheet(t)}destroy(){this.listener.destroy(),this._enableEditorEvents(!1),this.keyListener.destroy(),this.inputKeyListener.destroy()}onSheetBarSelect(e){let t,n=this._workbook;if(e.isAddButton){if(this._workbook.trigger("insertSheet"))return;t=n.insertSheet()}else t=n.sheetByName(e.name);if(n.activeSheet().name()!==t.name()){if(this._workbook.trigger("selectSheet",{sheet:t}))return;this.editor.canInsertRef(!1)||this.editor.deactivate(),n.activeSheet(t)}}onSheetBarReorder(e){let t=this._workbook,n=t.sheetByIndex(e.oldIndex),r=t.activeSheet(),o=r.name();if(t.moveSheetToIndex(n,e.newIndex),o!==n.name()){if(t.trigger("selectSheet",{sheet:n}))return void t.activeSheet(r);this.editor.canInsertRef(!1)||this.editor.deactivate(),t.activeSheet(n)}}onSheetBarRename(e){let t=this._workbook.sheetByIndex(e.sheetIndex);this._workbook.sheetByName(e.name)?this.view.showError({reason:"error",type:"duplicateSheetName"}):(this._workbook.renameSheet(t,e.name),this.clipboardElement.focus())}sheet(e){this.navigator=e.navigator(),this.axisManager=e.axisManager()}workbook(e){this._workbook=e,this.clipboard=e.clipboard(),e.bind("commandRequest",this.onCommandRequest.bind(this))}refresh(){let e=this.editor,t=this._workbook.activeSheet();this._viewPortHeight=this.view.scroller.clientHeight,this.navigator.height(this._viewPortHeight),e.isActive()||this.isEditorDisabled||(e.enable(!1!==t.selection().enable()),this.resetEditorValue());let n=t.selection()._ref.simplify(),r=this._workbook.nameForRef(n,t.name());this.view.nameEditor.value(r.name)}onScroll(){this.view.render({scroll:!0})}onWheel(e){let t=e.deltaX,n=e.deltaY;1===e.deltaMode&&(t*=10,n*=10),this.scrollWith(t,n),e.preventDefault()}onAction(e,t){this._workbook.activeSheet()._activeDrawing=null,this.navigator.moveActiveCell(Yn[t]),e.preventDefault()}onPageUp(){this.scrollDown(-this._viewPortHeight)}onPageDown(){this.scrollDown(this._viewPortHeight)}onEntryAction(e,t){let n=this._workbook.activeSheet();if(e.mod){let t=!0;switch(String.fromCharCode(e.keyCode)){case"A":n._activeDrawing=null,this.navigator.selectAll();break;case"Y":this._workbook.undoRedoStack.redo();break;case"Z":this._workbook.undoRedoStack.undo();break;default:t=!1}t&&e.preventDefault()}else{let r=!1===n.selection().enable(),o=":edit"!==t;if("delete"==t||"backspace"==t)n._activeDrawing?this._execute({command:"DeleteDrawingCommand",options:{drawing:n._activeDrawing}}):r||this._execute({command:"ClearContentCommand"}),e.preventDefault();else if($n.test(t)||!o){if(n._activeDrawing=null,r)return void e.preventDefault();o&&this.editor.value(""),this.activateEditor(o)}else this.navigator.navigateInSelection(Zn[t]),e.preventDefault()}}onShiftAction(e,t){this.navigator.modifySelection(Yn[t.replace("shift+","")],this.appendSelection),e.preventDefault()}onMouseMove(e){let t=this._workbook.activeSheet();if(t.resizingInProgress()||t.selectionInProgress())return;let n=this.objectAt(e);"columnresizehandle"===n.type||"rowresizehandle"===n.type?t.positionResizeHandle(n.ref):t.removeResizeHandle(),t._renderComment("cell"==n.type?n.ref:null)}onMouseDown(e){let t=this.objectAt(e);if(t.pane&&(this.originFrame=t.pane),this._startResizingDrawing(e,t))return void e.stopPropagation();let n=this._workbook.activeSheet();if(n._activeDrawing=null,"drawing"===t.type)return n._activeDrawing=t.drawing,t.copy=t.drawing.clone(),t.startBox=n.drawingBoundingBox(t.copy),n.startDragging(t),n.triggerChange({dragging:!0}),void e.preventDefault();if("outside"===t.type)return e.preventDefault(),void e.stopPropagation();if("editor"===t.type)return this.onEditorEsc(),this.openCustomEditor(),void e.preventDefault();if(this.editor.canInsertRef(!1)&&t.ref)return this._workbook.activeSheet()._setFormulaSelections(this.editor.highlightedRefs()),this.navigator.startSelection(t.ref,this._selectionMode,this.appendSelection,e.shiftKey,this.view),void e.preventDefault();if(this._preventNavigation=!1,this.editor.deactivate(),!this._preventNavigation){if("columnresizehandle"===t.type||"rowresizehandle"===t.type)return n.startResizing({x:t.x,y:t.y}),void e.preventDefault();if("filtericon"===t.type)return this.openFilterMenu(e),void e.preventDefault();this._selectionMode=nr[t.type],this.appendSelection=e.mod,this.navigator.startSelection(t.ref,this._selectionMode,this.appendSelection,e.shiftKey,this.view)}}_startResizingDrawing(e){let t=e.target.closest(".k-spreadsheet-drawing-handle");if(t){let n=this.translateCoords(e),r=t.getAttribute("data-direction"),o=this._workbook.activeSheet(),i=o._activeDrawing;return o.startDragging({pane:this.originFrame,drawing:i,copy:i.clone(),startBox:o.drawingBoundingBox(i),resize:r,startX:n.x,startY:n.y}),!0}}onContextMenu(e){let t=this._workbook.activeSheet();e.preventDefault(),!t.resizingInProgress()&&t.draggingInProgress()}prevent(e){e.preventDefault()}constrainResize(e,t){let n=this._workbook.activeSheet().resizeHandlePosition();return!n||"outside"===e||"topcorner"===e||t.col<n.col||t.row<n.row}_dragDrawing(e){let t=this._workbook.activeSheet(),n=t.draggingInProgress();if(!n)return!1;let r=this.translateCoords(e),o=n.drawing,i=r.x-n.startX,a=r.y-n.startY;return"SE"==n.resize?n.aspect?Math.abs(i)>Math.abs(a)?(o.width=Math.max(n.copy.width+i,20),o.height=o.width/n.aspect):(o.height=Math.max(n.copy.height+a,20),o.width=o.height*n.aspect):(o.width=Math.max(n.copy.width+i,20),o.height=Math.max(n.copy.height+a,20)):"E"==n.resize?o.width=Math.max(n.copy.width+i,20):"S"==n.resize?o.height=Math.max(n.copy.height+a,20):"N"==n.resize?n.copy.height-a>20&&(o.height=n.copy.height-a,o.offsetY=n.copy.offsetY+a):"W"==n.resize?n.copy.width-i>20&&(o.width=n.copy.width-i,o.offsetX=n.copy.offsetX+i):"NE"==n.resize?(o.width=Math.max(n.copy.width+i,20),n.copy.height-a>20&&(o.height=n.copy.height-a,o.offsetY=n.copy.offsetY+a)):"SW"==n.resize?(o.height=Math.max(n.copy.height+a,20),n.copy.width-i>20&&(o.width=n.copy.width-i,o.offsetX=n.copy.offsetX+i)):"NW"==n.resize?(n.copy.height-a>20&&(o.height=n.copy.height-a,o.offsetY=n.copy.offsetY+a),n.copy.width-i>20&&(o.width=n.copy.width-i,o.offsetX=n.copy.offsetX+i)):(o.offsetX=n.copy.offsetX+i,o.offsetY=n.copy.offsetY+a),t.triggerChange({dragging:!0}),!0}onMouseDrag(e){if("sheet"===this._selectionMode)return;let t={clientX:e.clientX,clientY:e.clientY},n=this._workbook.activeSheet();if(this._dragDrawing(e))return;let r=this.objectAt(t);if(n.resizingInProgress())this.constrainResize(r.type,r.ref)||n.resizeHintPosition({x:r.x,y:r.y});else if("outside"!==r.type){if(this.originFrame===r.pane)this.selectToLocation(t);else{let e=this.originFrame._grid;r.x,e.right,r.y>e.bottom&&this.scrollTop(),r.y<e.top||r.x<e.left?this.startAutoScroll(r,t):this.selectToLocation(t)}e.preventDefault()}else this.startAutoScroll(r)}onMouseUp(e){let t=this._workbook.activeSheet();t.completeResizing(),t.completeDragging(),this.navigator.completeSelection(),this.stopAutoScroll();let n=this.editor.activeEditor();if(!n)return;let r=e.target;for(;r;){if(r===n.element)return;r=r.parentNode}let o=this.objectAt(e);o&&o.ref&&n.canInsertRef(!1)&&(n.refAtPoint(t),t._setFormulaSelections(n.highlightedRefs()))}onDblClick(e){let t=this.objectAt(e),n=!1===this._workbook.activeSheet().selection().enable();if("cell"!==t.type||n)return;let r=this._workbook.activeSheet().selection();this.activateEditor(!r.value()&&!r.formula()),this.onEditorUpdate()}onCut(e){let t=this;setTimeout((function(){t.clipboard.menuInvoked=void 0===e,t._execute({command:"CutCommand",options:{workbook:t.view._workbook,event:e}})}))}clipBoardValue(){return this.clipboardElement.html()}_pasteImage(e){let t=this,n=new window.Image;n.src=window.URL.createObjectURL(e),n.onload=function(){t._execute({command:"InsertImageCommand",options:{blob:e,width:n.width,height:n.height}})},setTimeout((function(){window.URL.revokeObjectURL(n.src)}),10)}onPaste(e){let t=this,n="",r="";if(t.clipboard.menuInvoked=void 0===e,e){let o=e.clipboardData;if(!o||!o.getData){if(window.clipboardData.files&&window.clipboardData.files.length){let e=window.clipboardData.files[0];if(/^image\/(?:png|jpe?g|gif)$/i.test(e.type))return t._pasteImage(e)}return r=window.clipboardData.getData("Text"),r&&(r=r.trim()),t.clipboardElement.empty(),void setTimeout((function(){n=t.clipboardElement.html(),(n||r)&&(t.clipboard.external({html:n,plain:r}),t._execute({command:"PasteCommand",options:{workbook:t.view._workbook,event:e}}))}))}{e.preventDefault();let i=!1,a=!1;if(window.DOMStringList&&o.types instanceof window.DOMStringList?(i=o.types.contains("text/html"),a=o.types.contains("text/plain")):Array.isArray(o.types)?(i=o.types.indexOf("text/html")>=0,a=o.types.indexOf("text/plain")>=0):(i=/text\/html/.test(o.types),a=/text\/plain/.test(o.types)),i&&(n=o.getData("text/html").trim()),a&&(r=o.getData("text/plain").trim()),!n&&!r&&o.items&&o.items.length)for(let e=0;e<o.items.length;++e){let n=o.items[e];if("file"===n.kind&&/^image\/(?:png|jpe?g|gif)$/i.test(n.type))return t._pasteImage(n.getAsFile())}}}else t.clipboard.menuInvoked=!0;(n||r)&&(t.clipboard.external({html:n,plain:r}),t._execute({command:"PasteCommand",options:{workbook:t.view._workbook,event:e}}))}onCopy(e){this.clipboard.menuInvoked=void 0===e,this._execute({command:"CopyCommand",options:{workbook:this.view._workbook,event:e}})}scrollTop(){this.scroller.scrollTop=0}scrollLeft(){this.scroller.scrollLeft=0}scrollDown(e){this.scroller.scrollTop+=e}scrollRight(e){this.scroller.scrollLeft+=e}scrollWith(e,t){this.scroller.scrollTop+=t,this.scroller.scrollLeft+=e}translateCoords(e){let t=this.container.getBoundingClientRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}objectAt(e,t){if(!e)return;const n=this.translateCoords(e);return this.view.objectAt(n.x,n.y,t)}selectToLocation(e){let t=this.objectAt(e,!0);t.pane&&t.ref&&(this.extendSelection(t),this.lastKnownCellLocation=e,this.originFrame=t.pane),this.stopAutoScroll()}extendSelection(e){this.navigator.extendSelection(e.ref,this._selectionMode)}autoScroll(){let e=this._autoScrollTarget.x,t=this._autoScrollTarget.y,n=this.originFrame._grid,r=this.view.scroller,o=r.scrollLeft,i=r.scrollTop;e<n.left&&this.scrollRight(-8),e>n.right&&this.scrollRight(8),t<n.top&&this.scrollDown(-8),t>n.bottom&&this.scrollDown(8),i===r.scrollTop&&o===r.scrollLeft?this.selectToLocation(this.finalLocation):this.extendSelection(this.objectAt(this.lastKnownCellLocation))}startAutoScroll(e,t){this._scrollInterval||(this._scrollInterval=setInterval(this.autoScroll.bind(this),50)),this.finalLocation=t||this.lastKnownCellLocation,this._autoScrollTarget=e}stopAutoScroll(){clearInterval(this._scrollInterval),this._scrollInterval=null}openCustomEditor(){this.view.openCustomEditor()}openFilterMenu(e){let t=this.objectAt(e),n=this._workbook.activeSheet().filterColumn(t.ref),r=this.view.createFilterMenu(n);r.bind("action",this.onCommandRequest.bind(this)),r.bind("action",r.close.bind(r)),r.openFor(e.target,e)}_saveEditorValue(e){let t=this.editor._range.sheet(),n=this.editor.value();this._workbook.activeSheet()!==t&&(this._workbook.activeSheet()._setFormulaSelections(),this._workbook.activeSheet(t)),t.isInEditMode(!1),this._lastEditorValue=n,this._execute({command:"EditCommand",options:{value:n,arrayFormula:e}})}onEditorChange(){this._saveEditorValue(!1)}onEditorArrayFormula(){this._saveEditorValue(!0),this.editor.deactivate(!0)}onEditorActivate(){let e=this._workbook.activeSheet();e._setFormulaSelections(this.editor.highlightedRefs()),e.isInEditMode(!0)}onEditorDeactivate(){let e=this._workbook.activeSheet();e.isInEditMode(!1),e._setFormulaSelections([])}onEditorUpdate(){this._workbook.activeSheet()._setFormulaSelections(this.editor.highlightedRefs())}onEditorBarFocus(){!1===this._workbook.activeSheet().selection().enable()||this.editor.activate({range:this._workbook.activeSheet().selection(),rect:this.view.activeCellRectangle(),tooltip:this._activeTooltip()})}onEditorCellFocus(){this.editor.scale()}onEditorEsc(){this.resetEditorValue(),this.editor.deactivate(),this.clipboardElement.focus()}insertNewline(e){e.preventDefault(),this.editor.insertNewline()}onEditorBlur(e,t){e.defaultPrevented||this.editor.isFiltered()||(this._preventNavigation=!1,this.editor.deactivate(),this._preventNavigation||(this.clipboardElement.focus(),this.navigator.navigateInSelection(Zn[t])))}onEditorAction(e,t){if(e.defaultPrevented)return;let n=this.editor,r=this._workbook.activeSheet();this._casualEditing&&/^(?:up|right|down|left)$/.test(t)?(this.deactivateEditor(),this.navigator.moveActiveCell(Yn[t]),e.preventDefault()):n.canInsertRef(!0)&&(this.navigator.moveActiveCell(Yn[t]),n.activeEditor().refAtPoint(r),r._setFormulaSelections(n.highlightedRefs()),e.preventDefault())}onEditorShiftAction(e,t){let n=this.editor,r=this._workbook.activeSheet();n.canInsertRef(!0)&&(this.navigator.modifySelection(Yn[t.replace("shift+","")],this.appendSelection),n.activeEditor().refAtPoint(r),r._setFormulaSelections(n.highlightedRefs()),e.preventDefault())}resetEditorValue(){let e=this._workbook.activeSheet(),t=e.activeCell(),n=this._workbook._inputForRef(t),r=e.range(t).intersectingArrayFormula();r&&(n="="+r.formula),this.editor.value(n,Boolean(r))}activateEditor(e){this._casualEditing=e,this.editor.activate({range:this._workbook.activeSheet().selection(),rect:this.view.activeCellRectangle(),tooltip:this._activeTooltip()}).focus()}deactivateEditor(){this.view.editor.deactivate()}onCommandRequest(e){e.command?this._execute(e):this._workbook.undoRedoStack[e.action]()}onDialogRequest(e){let t={pdfExport:this._workbook.options.pdf,excelExport:this._workbook.options.excel};e.options?D(e.options,t):e.options=t,this.view.openDialog(e.name,e.options)}onNameEditorEnter({value:e}){let t,n=this._workbook,r=n.activeSheet(),o=void 0!==e?e:this.view.nameEditor.value();if(t=re.parseReference(o,!0)||n.nameValue(o),t instanceof g){if(t.sheet&&t.sheet.toLowerCase()!==r.name().toLowerCase()){let e=n.sheetByName(t.sheet);e&&(n.activeSheet(e),r=e)}r.range(t).select()}else t=r.selection()._ref.clone().simplify().setSheet(r.name(),!0),this._execute({command:"DefineNameCommand",options:{name:o,value:t}}),this.clipboardElement.focus()}onNameEditorCancel(){this.clipboardElement.focus()}onNameEditorSelect(e){let t=e.name,n=this._workbook,r=n.activeSheet(),o=n.nameValue(t);if(o instanceof g){if(o.sheet&&o.sheet.toLowerCase()!==r.name().toLowerCase()){let e=n.sheetByName(o.sheet);e&&(n.activeSheet(e),r=e)}r.range(o).select()}else this.clipboardElement.focus()}onNameEditorDelete(e){this._execute({command:"DeleteNameCommand",options:{name:e.name}}),this.clipboardElement.focus()}}class sr{constructor(e,t,n,r){this.level=e,this.value=t,this.left=n,this.right=r}}const lr={left:void 0,right:void 0,level:0};function cr(e){let t=e;if(t.left.level===t.level){let e=t;t=t.left,e.left=t.right,t.right=e}return t}function ur(e){let t=e;if(t.right.right.level===t.level){let e=t;t=t.right,e.right=t.left,t.left=e,t.level+=1}return t}function hr(e,t){return e===lr?new sr(1,t,lr,lr):(e.value.start>t.start?e.left=hr(e.left,t):e.right=hr(e.right,t),ur(cr(e)))}function dr(e,t){let n=e;if(n===lr)return n;let r=n.value.start-t.start;if(0===r)if(n.left!==lr&&n.right!==lr){let e=n.left;for(;e.right!==lr;)e=e.right;n.value=e.value,n.left=dr(n.left,n.value)}else n=n.left===lr?n.right:n.left;else r>0?n.left=dr(n.left,t):n.right=dr(n.right,t);return(n.left.level<n.level-1||n.right.level<n.level-1)&&(n.level-=1,n.right.level>n.level&&(n.right.level=n.level),n=cr(n),n.right=cr(n.right),n.right.right=cr(n.right.right),n=ur(n),n.right=ur(n.right)),n}lr.left=lr,lr.right=lr;class pr{constructor(e,t,n){this.start=e,this.end=t,this.value=n}intersects(e){return e.start<=this.end&&e.end>=this.start}clone(){return new pr(this.start,this.end,this.value)}}class fr{constructor(){this.root=lr}insert(e){this.root=hr(this.root,e)}remove(e){this.root=dr(this.root,e)}findrange(e){let t=this.root;for(;t!==lr;)if(e<t.value.start)t=t.left;else{if(!(e>t.value.end))return t.value;t=t.right}return null}values(){let e=[];return mr(this.root,e),e}intersecting(e,t){let n=[];return vr(this.root,new pr(e,t),n),n}map(e){let t=new fr;return gr(t,this.root,e),t}forEach(e){br(this.root,e)}clone(){return this.map((function(e){return e.clone()}))}first(){let e=this.root;for(;e.left!==lr;)e=e.left;return e}last(){let e=this.root;for(;e.right!==lr;)e=e.right;return e}}function mr(e,t){e!==lr&&(mr(e.left,t),t.push(e.value),mr(e.right,t))}function vr(e,t,n){if(e===lr)return;let r=e.value;t.start<r.start&&vr(e.left,t,n),r.intersects(t)&&n.push(r),t.end>r.end&&vr(e.right,t,n)}function gr(e,t,n){t!==lr&&(gr(e,t.left,n),e.insert(n(t.value)),gr(e,t.right,n))}function br(e,t){e!==lr&&(br(e.left,t),t(e.value),br(e.right,t))}class yr{constructor(e,t,n){void 0===t?this.tree=e:(this.tree=new fr,this.tree.insert(new pr(e,t,n)))}values(){return this.tree.values()}map(e){return new yr(this.tree.map(e))}forEach(e){this.tree.forEach(e)}intersecting(e,t){return this.tree.intersecting(e,t)}first(){return this.tree.first().value}last(){return this.tree.last().value}insert(e,t,n){return this.tree.insert(new pr(e,t,n))}value(e,t,n){let r=e,o=t;if(void 0===n)return void 0===o&&(o=r),this.intersecting(r,o)[0].value;let i=this.tree.intersecting(r-1,o+1);if(i.length){let e=i[0],t=i[i.length-1];e.end<r&&(e.value===n?r=e.start:i.shift()),t.start>o&&(t.value===n?o=t.end:i.pop());for(let e=0,t=i.length;e<t;e++){let t=i[e],a=t.value,s=t.start,l=t.end;this.tree.remove(t),s<r&&(a!==n?this.insert(s,r-1,a):r=s),l>o&&(a!==n?this.insert(o+1,l,a):o=l)}}this.insert(r,o,n)}expandedValues(e,t){let n=this.intersecting(e,t),r=[],o=0;for(let i=e;i<=t;i++)n[o].end<i&&o++,r.push({index:i-e,value:n[o].value});return r}sortedIndices(e,t,n,r){let o=this.expandedValues(e,t),i=function(e,t){return e.value===t.value?e.index-t.index:n(e.value,t.value)};return r&&(i=function(e,t){let o=r[e.index],i=r[t.index];return o.value===i.value?n(e.value,t.value):e.index-t.index}),o.sort(i),o}sort(e,t,n){if(1===this.intersecting(e,t).length)return;let r=this.expandedValues(e,t);for(let t=0,o=n.length;t<o;t++)this.value(t+e,t+e,r[n[t].index].value)}copy(e,t,n){let r,o=this.intersecting(e,t),i=n;for(let n=0,a=o.length;n<a;n++){let a=o[n].start;a<e&&(a=e);let s=o[n].end;s>t&&(s=t),r=i+(s-a),this.value(i,r,o[n].value),i=++r}}iterator(e,t){return new wr(e,t,this.intersecting(e,t))}getState(){return this.tree.clone()}setState(e){this.tree=e.clone()}toJSON(){return this.values()}fromJSON(e){e.forEach((e=>{this.value(e.start,e.end,e.value)}))}}class wr{constructor(e,t,n){this.start=e,this.end=t,this.index=0,this.ranges=n}unique(){return this.ranges.map((function(e){return e.value}))}at(e){for(;this.ranges[this.index]&&this.ranges[this.index].end<e;)this.index++;return this.ranges[this.index]&&this.ranges[this.index].value}forEach(e){for(let t=this.start;t<=this.end;t++)e(this.at(t),t);this.index=0}}class xr extends yr{constructor(e,t,n){super(e,t,n),this._defaultValue=n,this.tree=new fr,this.range=new pr(e,t,n)}intersecting(e,t){let n,r=e,o=this.tree.intersecting(r,t),i=[];if(!o.length)return[this.range];for(let e=0,t=o.length;e<t;e++)n=o[e],n.start>r&&i.push(new pr(r,n.start-1,this.range.value)),i.push(n),r=n.end+1;return n.end<t&&i.push(new pr(n.end+1,t,this.range.value)),i}insert(e,t,n){let r=n;null==r&&(r=this._defaultValue),r!==this.range.value&&this.tree.insert(new pr(e,t,r))}lastRangeStart(){let e=this.tree.root;if(e===lr)return this.range.start;for(;e.right!==lr;)e=e.right;return e.value.end+1}}class kr{constructor(e){this.list=e}get(e){return this.parse(this.list.value(e,e))}set(e,t,n){void 0===n&&(n=t,t=e),this.list.value(e,t,n)}parse(e){return e}copy(e,t,n){this.list.copy(e,t,n)}iterator(e,t){return this.list.iterator(e,t)}}class Cr extends kr{set(e,t,n){this.list.value(e,t,JSON.stringify(n))}parse(e){return JSON.parse(e)}}const zr=[{property:kr,name:"format",value:null,sortable:!0,serializable:!0},{property:class extends kr{constructor(e,t){super(e),this.formats=t}set(e,t,n){n instanceof Date?(n=Oe(n),this.formats.value(e,t)||this.formats.value(e,t,W().calendar.patterns.d.replace(/M/g,"m").replace(/'/g,'"').replace(/tt/,"am/pm"))):"number"==typeof n&&(n=re.runtime.limitPrecision(n)),this.list.value(e,t,n)}},name:"value",value:null,sortable:!0,serializable:!0,depends:"format"},{property:kr,name:"formula",value:null,sortable:!0,serializable:!0},{property:kr,name:"background",value:null,sortable:!0,serializable:!0},{property:Cr,name:"vBorders",value:null,sortable:!1,serializable:!1},{property:Cr,name:"hBorders",value:null,sortable:!1,serializable:!1},{property:Cr,name:"dBorders",value:null,sortable:!1,serializable:!0},{property:kr,name:"color",value:null,sortable:!0,serializable:!0},{property:kr,name:"fontFamily",value:null,sortable:!0,serializable:!0},{property:kr,name:"underline",value:null,sortable:!0,serializable:!0},{property:kr,name:"fontSize",value:null,sortable:!0,serializable:!0},{property:kr,name:"italic",value:null,sortable:!0,serializable:!0},{property:kr,name:"bold",value:null,sortable:!0,serializable:!0},{property:kr,name:"textAlign",value:null,sortable:!0,serializable:!0},{property:kr,name:"indent",value:null,sortable:!0,serializable:!0},{property:kr,name:"verticalAlign",value:null,sortable:!0,serializable:!0},{property:kr,name:"wrap",value:null,sortable:!0,serializable:!0},{property:kr,name:"validation",value:null,sortable:!1,serializable:!0},{property:kr,name:"enable",value:null,sortable:!1,serializable:!0},{property:kr,name:"link",value:null,sortable:!0,serializable:!0},{property:kr,name:"editor",value:null,sortable:!0,serializable:!0},{property:kr,name:"comment",value:null,sortable:!0,serializable:!0},{property:kr,name:"html",value:null,sortable:!0,serializable:!0}];class _r{constructor(e,t,n){n=n||{};let r=e*t-1;this.specs=zr,this.rowCount=e,this.columnCount=t,this.cellCount=r,this.properties={},this.lists={},this.specs.forEach((function(e){let t=e.name,o=n[t];void 0===o&&(o=e.value),this.lists[t]=new xr(0,r,o),(this.properties[t]=new e.property(this.lists[t],this.lists[e.depends])).spec=e}),this),this.lists.formula.tree.clone=Ir,this.lists.validation.tree.clone=Ir}_resize(e,t){let n=this,r=n.rowCount,o=e*t-1;function i(t){return(t/r|0)*e+t%r}function a(e){e.start=i(e.start),e.end=i(e.end)}Object.keys(n.lists).forEach((function(t){let i=n.lists[t];e!==r&&i.forEach(a),i.range.end=o})),n.rowCount=e,n.columnCount=t,n.cellCount=o}getState(){let e={};return this.specs.forEach((function(t){e[t.name]=this.lists[t.name].getState()}),this),e}setState(e){this.specs.forEach((function(t){this.lists[t.name].setState(e[t.name])}),this)}get(e,t){if(void 0===t)return this.lists[e];switch(e){case"borderRight":t+=this.rowCount;case"borderLeft":e="vBorders";break;case"borderBottom":t++;case"borderTop":e="hBorders"}return t>this.cellCount?null:this.properties[e].get(t)}set(e,t,n,r){switch(e){case"borderRight":t+=this.rowCount,n+=this.rowCount;case"borderLeft":e="vBorders";break;case"borderBottom":t++,n++;case"borderTop":e="hBorders"}t<=n&&n<=this.cellCount&&this.properties[e].set(t,n,r)}fromJSON(e,t){for(let n=0;n<this.specs.length;n++){let r=this.specs[n];r.serializable&&void 0!==t[r.name]&&this.set(r.name,e,e,t[r.name],!1)}["borderLeft","borderRight","borderTop","borderBottom"].forEach((function(n){void 0!==t[n]&&this.set(n,e,e,t[n])}),this)}copy(e,t,n){this.specs.forEach((function(r){this.properties[r.name].copy(e,t,n)}),this)}iterator(e,t,n){let r=this.properties[e],o=r.iterator(t,n),i=o.at,a=this.cellCount;return o.at=function(e){return e>a?null:r.parse(i.call(o,e))},o.name=e,o.value=r.spec.value,o}sortable(){return this.specs.filter((function(e){return e.sortable})).map((function(e){return this.lists[e.name]}),this)}iterators(e,t){return this.specs.reduce(function(n,r){return r.serializable&&n.push(this.iterator(r.name,e,t)),n}.bind(this),[])}forEach(e,t,n){let r,o,i=this.iterators(e,t),a=this.iterator("hBorders",e,t+1),s=this.iterator("vBorders",e,t),l=this.iterator("vBorders",e+this.rowCount,t+this.rowCount);function c(e,t,n){let o=t.at(n);o!==t.value&&(r[e]=o)}for(o=e;o<=t;o++){r={};for(let e=0;e<i.length;e++){let t=i[e],n=t.at(o);n!==t.value&&(r[t.name]=n)}c("borderLeft",s,o),c("borderRight",l,o+this.rowCount),c("borderTop",a,o),(o+1)%this.rowCount&&c("borderBottom",a,o+1),n(r)}}forEachProperty(e){for(let t in this.properties)e(this.properties[t])}}function Er(e){return(e=e.clone()).value=e.value.deepClone(),e}function Ir(){let e=this.map(Er);return e.clone=Ir,e}const Sr=zr.reduce((function(e,t){return t.serializable&&e.push(t.name),e}),["borderTop","borderRight","borderBottom","borderLeft"]);let Mr='DATEVALUE("{0}")';class Or{constructor(e){this.handler=e.handler,this.from=e.from,this.to=e.to,this.dataType=e.dataType,this.comparerType=e.comparerType,this.type=e.type?e.type:"warning",this.allowNulls=!!e.allowNulls,this.fromIsDateValue=!!e.fromIsDateValue,this.toIsDateValue=!!e.toIsDateValue,this.showButton=e.showButton,this.fromIsListValue=!!e.fromIsListValue,this.sheet=e.sheet,this.row=e.row,this.col=e.col,e.tooltipMessageTemplate&&(this.tooltipMessageTemplate=e.tooltipMessageTemplate),e.tooltipTitleTemplate&&(this.tooltipTitleTemplate=e.tooltipTitleTemplate),e.messageTemplate&&(this.messageTemplate=e.messageTemplate),e.titleTemplate&&(this.titleTemplate=e.titleTemplate)}_formatMessages(e){let t=this.from?this.from_value:"",n=this.to?this.to_value:"",r=this.from?this.from.toString():"",o=this.to?this.to.toString():"",i=this.dataType,a=this.type,s=this.comparerType;return U().format(e,t,n,r,o,i,a,s)}_setMessages(){this.title="",this.message="",this.tooltipTitleTemplate&&(this.tooltipTitle=this._formatMessages(this.tooltipTitleTemplate)),this.tooltipMessageTemplate&&(this.tooltipMessage=this._formatMessages(this.tooltipMessageTemplate)),this.titleTemplate&&(this.title=this._formatMessages(this.titleTemplate)),this.messageTemplate&&(this.message=this._formatMessages(this.messageTemplate))}_getListData(){if(!this.from_value||!this.from_value.data)return[];let e,t,n=this.from_value.data,r=[];for(e=0;e<n.length;e++){let o=n[e];if(o)for(t=0;t<o.length;t++)r.push(o[t])}return r}clone(e,t,n){let r=this._getOptions();r.from&&(r.from=r.from.clone(e,t,n)),r.to&&(r.to=r.to.clone(e,t,n));const o=Object.assign({},r);return o.handler=this.handler,o.sheet=e,o.row=t,o.col=n,new Or(o)}deepClone(){let e=new Or(this);return e.from=e.from.deepClone(),e.to&&(e.to=e.to.deepClone()),e}exec(e,t,n,r){let o=this;function i(t){return t instanceof g&&(t=e.getData(t),Array.isArray(t)&&(t=t[0])),t}let a=function(e){o.from_value=i(e),o.value=o.handler.call(o,t,n),o._setMessages(),r&&r(o.value)};o.to?o.to.exec(e,(function(t){o.to_value=i(t),o.from.exec(e,a)})):o.from.exec(e,a)}reset(){this.from&&this.from.reset(),this.to&&this.to.reset(),delete this.value}adjust(e,t,n,r){let o,i,a,s=this.row,l=this.col;if(this.from&&(o=this.from.adjust(e,t,n,r)),this.to&&(i=this.to.adjust(e,t,n,r)),this.sheet.toLowerCase()===e.toLowerCase())switch(t){case"row":s>=n&&(a=!0,this.row+=r);break;case"col":l>=n&&(a=!0,this.col+=r)}if(a||o||i){let e=new Or(this);return e.from=o,e.to=i,e.row=s,e.col=l,e}}toJSON(){let e=this._getOptions();return e.from&&(e.from=e.from.toString(),"list"===e.dataType&&(e.from=e.from.replace(/^_matrix\((.*)\)$/i,"$1"),delete e.fromIsListValue),"date"===e.dataType&&this.fromIsDateValue&&(e.from=e.from.replace(/^DATEVALUE\("(.*)"\)$/i,"$1"),delete e.fromIsDateValue)),e.to&&(e.to=e.to.toString(),"date"===e.dataType&&this.toIsDateValue&&(e.to=e.to.replace(/^DATEVALUE\("(.*)"\)$/i,"$1"),delete e.toIsDateValue)),e}_getOptions(){return{from:this.from,to:this.to,dataType:this.dataType,type:this.type,comparerType:this.comparerType,row:this.row,col:this.col,sheet:this.sheet,allowNulls:this.allowNulls,fromIsListValue:this.fromIsListValue,fromIsDateValue:this.fromIsDateValue,toIsDateValue:this.toIsDateValue,tooltipMessageTemplate:this.tooltipMessageTemplate,tooltipTitleTemplate:this.tooltipTitleTemplate,messageTemplate:this.messageTemplate,titleTemplate:this.titleTemplate,showButton:this.showButton}}}const Rr={compile:function(e,t,n,r){let o,i,a,s;if("string"==typeof r&&(r=JSON.parse(r)),r.from&&("list"!==r.dataType||r.fromIsListValue||(r.from.indexOf("{")>-1&&(r.from=r.from.replace(/\"/g,"").replace("{",'"').replace("}",'"')),r.from=U().format("_matrix({0})",r.from),r.fromIsListValue=!0),"date"===r.dataType&&(a=re.runtime.parseDate(r.from),a&&(r.from=U().format(Mr,r.from),r.fromIsDateValue=!0)),r.from=re.compile(re.parseFormula(e,t,n,r.from))),r.to&&("date"===r.dataType&&(s=re.runtime.parseDate(r.to),s&&(r.to=U().format(Mr,r.to),r.toIsDateValue=!0)),r.to=re.compile(re.parseFormula(e,t,n,r.to))),i="custom"===r.dataType?Rr.validationComparers.custom:"list"===r.dataType?Rr.validationComparers.list:Rr.validationComparers[r.comparerType],!i)throw U().format("'{0}' comparer is not implemented.",r.comparerType);o=function(e){let t=this.to&&(this.to_value||0===this.to_value)?this.to_value:void 0;if(null===e||""===e)this.allowNulls?this.value=!0:this.value=!1;else if("custom"===this.dataType)this.value=i(e,this.from_value,t);else if("list"===this.dataType){let n=this._getListData();this.value=i(e,n,t)}else this.value=i(e,this.from_value,t);return this.value};const l=Object.assign({},r);return l.handler=o,l.sheet=e,l.row=t,l.col=n,new Or(l)},validationComparers:{greaterThan:function(e,t){return e>t},lessThan:function(e,t){return e<t},between:function(e,t,n){return e>=t&&e<=n},equalTo:function(e,t){return e===t},notEqualTo:function(e,t){return e!==t},greaterThanOrEqualTo:function(e,t){return e>=t},lessThanOrEqualTo:function(e,t){return e<=t},notBetween:function(e,t,n){return e<t||e>n},custom:function(e,t){return t},list:function(e,t){return t.indexOf(e)>-1}}};Rr.Validation=Or;const{measureText:Hr}=r.drawing.util;let Fr=["color","fontFamily","underline","italic","bold","textAlign","indent","verticalAlign","background","format","link","editor","borderTop","borderRight","borderBottom","borderLeft","comment","html"],Dr=class e{constructor(e,t){this._sheet=t,this._ref=e}clone(){return new e(this._ref.clone(),this._sheet)}skipHiddenCells(){let e=[],t=this,n=t._sheet,r=n.isHiddenRow.bind(n),o=n.isHiddenColumn.bind(n);return t._ref.forEach((function(n){let i=(n=t._normalize(n.toRangeRef())).topLeft,a=n.bottomRight,s=Ar(i.row,a.row,r),l=Ar(i.col,a.col,o);for(let t=0;t<s.length;++t)for(let n=0;n<l.length;++n)e.push(new x(new w(s[t].begin,l[n].begin),new w(s[t].end,l[n].end)))})),n.range(e.length>1?new k(e):e[0])}_normalize(e){return this._sheet._grid.normalize(e)}_set(e,t,n){let r=this,o=r._sheet;return r._ref.forEach((function(n){let r=n;if(("value"===e||"formula"===e||"link"===e)&&n.topLeft){let e=new w(n.topLeft.row,n.topLeft.col);o.forEachMergedCell((function(t){t.intersects(e)&&(r=e)}))}o._set(r.toRangeRef(),e,t)})),n||o.triggerChange({recalc:"formula"===e||"value"===e||"validation"===e,value:t,range:r,ref:r._ref,isValue:"value"===e}),r}_get(e){return this._sheet._get(this._ref.toRangeRef(),e)}_property(e,t){return void 0===t?this._get(e):this._set(e,t)}value(e){return void 0!==e&&this._set("formula",null,!0),this._property("value",e)}html(e){return this._property("html",e)}resize(t){let n=this._resizedRef(t);return new e(n,this._sheet)}_resizedRef(e){return this._ref.map((function(t){return t.toRangeRef().resize(e)}))}input(e,t){t=Object.assign({},t,{arrayFormula:!1});let n,r=this._get("format");if(void 0!==e){let o=this._ref.toRangeRef().topLeft;return n=re.parse(this._sheet.name(),o.row,o.col,e,r),this._sheet.batch(function(){let o=null;if("exp"===n.type)o=re.compile(n);else if("@"!==r){let e=r&&Wn.type(n.value,r);"date"===n.type&&"date"!==e?this.format(n.format||W().calendar.patterns.d.replace(/M/g,"m").replace(/'/g,'"').replace(/tt/,"am/pm")):"percent"===n.type&&"percent"!==e?this.format(100*n.value==(100*n.value|0)?"0%":"0.00%"):n.format&&(!r||n.currency||"number"===e&&"number"===n.type&&n.format.length>r.length)&&this.format(n.format)}else"string"!==n.type&&(n.value=e);this.formula(o,t.arrayFormula),o||this.value(n.value)}.bind(this),{recalc:!0,value:e,ref:this._ref,editorChange:this._sheet.isInEditMode(),isValue:!0}),this}{e=this._get("value");let t=this._get("formula"),i=r&&!t&&Wn.type(e,r);if(t)e="="+t;else e:{if(r&&"date"===i){let t=Wn.text(e,r);if(n=re.parse(null,null,null,t,r),t===Wn.text(n.value,r)){e=t;break e}}if("date"===i){const t=U();e=t.toString(Se(e),W().calendar.patterns.d,t.locale)}else"percent"===i?e=re.runtime.limitPrecision(100*e)+"%":"string"==typeof e&&(/^[=']/.test(e)||/^(?:true|false)$/i.test(e)||!/^=/.test(o=e)&&/number|percent/.test(re.parse(null,0,0,o).type))?e="'"+e:this._sheet._useCultureDecimals()&&"number"==typeof e&&e!==Math.floor(e)&&(e=String(e).replace(".",W().numbers.symbols.decimal))}return e}var o}enable(e){return void 0===e?!R((function(e){this._sheet.forEach(this._ref,(function(t,n,r){!1===r.enable&&e(!0)}))}),this):this._property("enable",e)}formula(e,t){let n=this;if(void 0===e){let e=n._get("formula");return e?""+e:null}if(t){let t=this._ref.toRangeRef();(e=n._sheet.range(t.topLeft)._set("formula",e)._get("formula"))&&e.setArrayFormulaRange(t)}else n._set("formula",e);return n}intersectingArrayFormula(){let e=this._ref.clone().simplify().setSheet(this._sheet.name());return R((function(t){this._sheet._forFormulas((function(n){let r=n.arrayFormulaRange;r&&(r=e.intersect(r))!==b&&t({formula:n,intersection:r})}))}),this)}canEditArrayFormula(){let e=this.intersectingArrayFormula();return!e||e.formula.arrayFormulaRange.eq(e.intersection)}validation(e){if(void 0===e){let e=this._get("validation");return e?e.toJSON():null}return this._property("validation",e)}_getValidationState(){let e,t,n=this._ref.toRangeRef(),r=n.topLeft.row,o=n.topLeft.col,i=n.bottomRight.row,a=n.bottomRight.col;for(e=o;e<=a;e++)for(t=r;t<=i;t++){let n=this._sheet._validation(t,e);if(n&&"reject"===n.type&&!1===n.value)return n}return!1}merge(){return this._ref=this._sheet._merge(this._ref),this}unmerge(){let e=this._sheet._mergedCells;return this._ref.forEach((function(t){t.toRangeRef().intersecting(e).forEach((function(t){e.splice(e.indexOf(t),1)}))})),this._sheet.triggerChange({}),this}select(){return this._sheet.select(this._ref),this}values(e){if(this._ref instanceof k)throw new Error("Unsupported for multiple ranges.");if(this._ref===b){if(void 0!==e)throw new Error("Unsupported for NULLREF.");return[]}let t,n,r=this._ref.toRangeRef(),o=r.topLeft.row,i=r.topLeft.col,a=r.bottomRight.row,s=r.bottomRight.col;if(void 0===e){e=new Array(r.height());for(let t=0;t<e.length;t++)e[t]=new Array(r.width());for(t=i;t<=s;t++)for(n=o;n<=a;n++)e[n-o][t-i]=this._sheet._value(n,t);return e}for(this._sheet._set(r,"formula",null),t=i;t<=s;t++)for(n=o;n<=a;n++){let r=e[n-o];if(r){let e=r[t-i];void 0!==e&&this._sheet._value(n,t,e)}}return this._sheet.triggerChange({recalc:!0,ref:r}),this}_properties(e,t){if(this._ref instanceof k)throw new Error("Unsupported for multiple ranges.");if(this._ref===b){if(void 0!==e)throw new Error("Unsupported for NULLREF.");return[]}let n,r,o=this._ref.toRangeRef(),i=o.topLeft.row,a=o.topLeft.col,s=o.bottomRight.row,l=o.bottomRight.col,c=this._sheet;if(void 0===e)return e=new Array(o.height()),c.forEach(o,(function(t,n,r){n-=a,(e[t-=i]||(e[t]=[]))[n]=r})),e;{let u;o=o.clone();let h=function(e){let t=u[e];o.topLeft.row=o.bottomRight.row=r,o.topLeft.col=o.bottomRight.col=n,"value"===e&&c._set(o,"formula",null),c._set(o,e,t)};for(n=a;n<=l;n++)if(t||!c.isHiddenColumn(n))for(r=i;r<=s;r++){if(!t&&c.isHiddenRow(r))continue;if(t&&c.isFilteredRow(r))continue;let o=e[r-i];o&&(u=o[n-a],u&&Object.keys(u).forEach(h))}return c.triggerChange({recalc:!0,ref:this._ref}),this}}clear(e){let t=(e=e||{}).clearAll||!Object.keys(e).length,n=this._sheet,r={recalc:t||e.contentsOnly,ref:this._ref};return n.batch(function(){r.recalc&&this.formula(null),t&&this.validation(null),(t||e.formatOnly)&&(Fr.forEach(function(t){e.keepBorders&&/^border/i.test(t)||this[t](null)}.bind(this)),this.fontSize(null),this.wrap(null),this.unmerge())}.bind(this),r),this}clearContent(){return this.clear({contentsOnly:!0})}clearFormat(){return this.clear({formatOnly:!0})}isSortable(){return!this.cantSort()}cantSort(){if(this._ref instanceof k)return{code:"cantSortMultipleSelection",message:"Unsupported for multiple ranges."};if(this._ref===b)return{code:"cantSortNullRef",message:"Unsupported for NULLREF."};let e=this._sheet._getMergedCells(this._ref.toRangeRef()),t=e.primary,n=e.secondary,r=null,o=null,i={};try{this._sheet.forEach(this,(function(a,s){let l=new w(a,s).print(),c=t[l];if(c){if(null===r)r=c.width(),o=c.height();else if(r!==c.width()||o!==c.height())throw i}else if(!n[l]&&e.hasMerged)throw i}))}catch(e){if(e!==i)throw e;return{code:"cantSortMixedCells",message:"Unsupported for range containing cells of different shapes."}}return!1}sort(e){let t=this.cantSort();if(t)throw new Error(t.message);return void 0===e&&(e={column:0}),e=e instanceof Array?e:[e],this._sheet._sortBy(this._ref.toRangeRef(),e.map((function(e,t){return"number"==typeof e&&(e={column:e}),{index:void 0===e.column?t:e.column,ascending:void 0===e.ascending||e.ascending}}))),this}isFilterable(){return!(this._ref instanceof k)}filter(e){if(this._ref instanceof k)throw new Error("Unsupported for multiple ranges.");return!1===e?this.clearFilters():(e=!0===e?[]:e instanceof Array?e:[e],this._sheet._filterBy(this._ref.toRangeRef(),e.map((function(e,t){return{index:void 0===e.column?void 0===e.index?t:e.index:e.column,filter:e.filter}})))),this}clearFilter(e){this._sheet.clearFilter(e)}clearFilters(){let e=this._sheet.filter(),t=[];if(e){for(let n=0;n<e.columns.length;n++)t.push(e.columns[n].index);this._sheet.batch((function(){this.clearFilter(t),this._filter=null}),{layout:!0,filter:!0})}}hasFilter(){let e=this._sheet.filter();return Boolean(e)}leftColumn(){return new e(this._ref.leftColumn(),this._sheet)}rightColumn(){return new e(this._ref.rightColumn(),this._sheet)}topRow(){return new e(this._ref.topRow(),this._sheet)}bottomRow(){return new e(this._ref.bottomRow(),this._sheet)}column(t){return new e(this._ref.toColumn(t),this._sheet)}row(t){return new e(this._ref.toRow(t),this._sheet)}forEachRow(t){this._ref.forEachRow(function(n){t(new e(n,this._sheet))}.bind(this))}forEachColumn(t){this._ref.forEachColumn(function(n){t(new e(n,this._sheet))}.bind(this))}sheet(){return this._sheet}topLeft(){return this._ref.toRangeRef().topLeft}intersectingMerged(){let e=this._sheet,t=[];return e._mergedCells.forEach(function(e){e.intersects(this._ref)&&t.push(e.toString())}.bind(this)),t}getState(e){let t,n=this._ref.first(),r={ref:n,data:[],origRef:this._ref,rows:this._sheet._rows.getState()};e?t="input"===e?["value","formula"]:"border"===e?["borderLeft","borderTop","borderRight","borderBottom"]:[e]:(t=Sr,r.mergedCells=this.intersectingMerged());let o=r.data;return this.forEachCell((function(e,r,i){let a={},s=e-n.row,l=r-n.col;o[s]||(o[s]=[]),o[s][l]=a,t.forEach((function(e){let t=void 0===i[e]?null:i[e];(t instanceof re.runtime.Formula||t instanceof Rr.Validation)&&(t=t.deepClone()),a[e]=t}))})),r}setState(e,t){let n=this._sheet,r=this._ref.first(),o=e.ref.row-r.row,i=e.ref.col-r.col,a=t&&!t.isExternal(),s=t&&!a;n.batch(function(){e.mergedCells&&this.unmerge(),t||this._sheet._rows.setState(e.rows);let l=r.row,c=this.hasFilter();e.data.forEach((function(o,i){if(c&&a&&n.isHiddenRow(e.ref.row+i))return;let u=r.col;o.forEach((function(o,h){if(c&&a&&n.isHiddenColumn(e.ref.col+h))return;let d=t?n.range(l,u):n.range(r.row+i,r.col+h);if(d.enable()){for(let e in o)"value"!==e&&(t&&"enable"===e||d._set(e,o[e]));if(!o.formula)if(s)try{null==o.value?d._set("value",null):d.input(o.value)}catch(e){d._set("value",o.value)}else d._set("value",o.value)}u++})),l++})),e.mergedCells&&e.mergedCells.forEach((function(e){e=n._ref(e).relative(o,i,3),n.range(e).merge()}),this)}.bind(this),{recalc:!0,ref:this._ref})}_adjustRowHeight(){let e=this,t=e._sheet,n=t._getMergedCells(e._ref.toRangeRef()),r=n.primary,o=n.secondary;t.batch((function(){e.forEachRow((function(e){let n=e._ref.topLeft.row,i=t.rowHeight(n);i&&(e.forEachCell((function(e,n,a){let s=new w(e,n).print();if(o[s])return;let l,c=r[s];l=c?t._columns.sum(c.topLeft.col,c.bottomRight.col):t.columnWidth(n);let u=a.value;a.format&&null!=u&&(u=Wn.format(u,a.format));let h=function(e,t,n,r,o){return Hr(e,{baselineMarkerSize:0,width:!0===o?t+"px":"auto","font-size":(r||12)+"px","font-family":n||"Arial","white-space":!0===o?"pre-wrap":"pre","overflow-wrap":!0===o?"break-word":"normal","word-wrap":!0===o?"break-word":"normal"},{box:Vr,normalizeText:!1}).height}(u,l,a.fontFamily,a.fontSize,a.wrap);i=Math.max(i,h)})),t.rowHeight(n,i))}))}),{layout:!0})}forEachCell(e){this._ref.forEach(function(t){this._sheet.forEach(t.toRangeRef(),e.bind(this))}.bind(this))}hasValue(){let e=this._sheet._defaultCellStyle;return R((function(t){this.forEachCell((function(n,r,o){for(let n in o){let r=o[n];null!=r&&r!==e[n]&&t(!0)}}))}),this)}wrap(e){return void 0===e?Boolean(this._property("wrap")):(this._property("wrap",e),null!==e&&this._adjustRowHeight(),this)}fontSize(e){return void 0===e?this._property("fontSize"):(this._property("fontSize",e),null!==e&&this._adjustRowHeight(),this)}draw(e,t){this._sheet.draw(this,e,t)}insideBorders(e){return this.insideVerticalBorders(e).insideHorizontalBorders(e)}insideVerticalBorders(e){return this._ref.forEach((function(t){t instanceof x&&t.width()>1&&((t=t.clone()).topLeft.col++,this._sheet.range(t)._set("vBorders",e))}),this),this}insideHorizontalBorders(e){return this._ref.forEach((function(t){t instanceof x&&t.height()>1&&((t=t.clone()).topLeft.row++,this._sheet.range(t)._set("hBorders",e))}),this),this}};function Ar(e,t,n){for(;e<=t&&n(e);)e++;if(e>t)return[];for(let r=e+1;r<=t;++r)if(n(r))return[{begin:e,end:r-1}].concat(Ar(r+1,t,n));return[{begin:e,end:t}]}Fr.forEach((function(e){Dr.prototype[e]=function(t){return this._property(e,t)}}));const Vr=document.createElement("div");Vr.setAttribute("style","position: absolute !important; top: -4000px !important; height: auto !important;padding: 1px 3px !important; box-sizing: border-box; margin: 0 !important; border: 1px solid black !important;line-height: normal !important; visibility: hidden !important;white-space: pre-wrap;");var Br=re.runtime.Formula,Nr="incompatibleRanges",Lr=Dr.FillError=function(e){this.code=e};function Pr(e){for(var t=e.length,n=(t+1)/2,r=e.reduce((function(e,t){return e+t}),0)/t,o=0,i=0,a=0;a<t;a++){var s=a+1-n;o+=s*(e[a]-r),i+=s*s}if(!i)return function(t){return e[t%e.length]};var l=o/i,c=r-l*n;return function(e){return c+l*(e+1)}}function Tr(e){function t(e){return e.map((function(e){return e.number}))}var n=[],r=e.map((function(e){return e.formula||e.value}));return function(e,t){for(var n,r=null,o=0,i=[],a=0;a<e.length;++a)n=jr(e[a]),i.push(n),null!=r&&n.type!==r.type&&(t(o,a,r.type,i.slice(o,a)),o=a),r=n;t(o,a,r.type,i.slice(o,a))}(r,(function(e,o,i,a){var s,l;if("number"==i)s=Pr(l=t(a));else if("string"==i||"formula"==i||"boolean"==i)s=function(e,t){return r[t]};else if(Array.isArray(i))if(1==a.length)s=function(e){return i[(a[0].number+e)%i.length]};else{var c=function(e){for(var t=e[1]-e[0],n=2;n<e.length;++n)if(e[n]-e[n-1]!=t)return null;return t}(t(a));s=null==c?function(e){return a[e%a.length].value}:function(e){var t=a[0].number+c*e;return i[t%i.length]}}else"null"!=i?(1==(l=t(a)).length&&l.push(l[0]+1),l=Pr(l),s=function(e,t){return r[t].replace(/^(.*[\D0]+)\d+/,"$1"+l(e,t))}):s=function(){return null};for(var u={f:s,begin:e,end:o,len:o-e},h=e;h<o;++h)n[h]=u})),function(t,o){var i,a,s=n[o],l=t/r.length|0,c=t%r.length,u=l*s.len+c-s.begin,h=s.f(u,o),d=(i=e[o],a={},Object.keys(i||{}).forEach((function(e){a[e]=i[e]})),a);return delete d.enable,h instanceof Br?d.formula=h:d.value=h,d}}function jr(e){if("number"==typeof e)return{type:"number",number:e};if("string"==typeof e){var t=function(e){for(var t=e.toLowerCase(),n=function(){const e=W().calendar;return[e.days.format.abbreviated,e.days.format.wide,e.months.format.abbreviated,e.months.format.wide]}(),r=0;r<n.length;++r)for(var o=n[r],i=o.length;--i>=0;)if(o[i].toLowerCase()==t)return{type:o,number:i,value:e}}(e);if(t)return t;var n=/^(.*\D)(\d+)/.exec(e);return n?{type:e=e.replace(/^(.*\D)\d+/,"$1-######"),match:n,number:parseFloat(n[2])}:{type:"string"}}if("boolean"==typeof e)return{type:"boolean"};if(null==e)return{type:"null"};if(e instanceof Br)return{type:"formula"};throw window.console.error(e),new Error("Cannot fill data")}function Ur(e){for(var t=e.length,n=e[0].length,r=[],o=0;o<n;++o){r[o]=[];for(var i=0;i<t;++i)r[o][i]=e[i][o]}return r}Dr.prototype._previewFillFrom=function(e,t){var n=this,r=n._sheet;"string"==typeof e&&(e=r.range(e));var o=e._ref.toRangeRef().clone().setSheet(r.name()),i=n._ref.toRangeRef().clone().setSheet(r.name());if(o.intersects(i)){if(o.eq(i))return null;if(i=i.clone(),o.topLeft.eq(i.topLeft))if(o.width()==i.width())i.topLeft.row+=o.height(),t=0;else{if(o.height()!=i.height())throw new Lr(Nr);i.topLeft.col+=o.width(),t=1}else{if(!o.bottomRight.eq(i.bottomRight))throw new Lr(Nr);if(o.width()==i.width())i.bottomRight.row-=o.height(),t=2;else{if(o.height()!=i.height())throw new Lr(Nr);i.bottomRight.col-=o.width(),t=3}}return r.range(i)._previewFillFrom(e,t)}if(null==t)if(o.topLeft.col==i.topLeft.col)t=o.topLeft.row<i.topLeft.row?0:2;else{if(o.topLeft.row!=i.topLeft.row)throw new Lr("noFillDirection");t=o.topLeft.col<i.topLeft.col?1:3}var a=1&t,s=2&t;if(a&&o.height()!=i.height()||!a&&o.width()!=i.width())throw new Lr(Nr);var l,c=e._properties();a?l=i.width():(c=Ur(c),l=i.height());for(var u=new Array(c.length),h=null,d=0;d<c.length;++d)for(var p=c[d],f=Tr(p),m=u[d]=new Array(l),v=0;v<l;++v){var g=s?-v-1:p.length+v,b=s?p.length-v%p.length-1:v%p.length,y=m[s?l-v-1:v]=f(g,b);null!=y.value&&(h=y.value)}return a||(u=Ur(u)),{props:u,direction:t,dest:n,hint:h}},Dr.prototype.fillFrom=function(e,t){var n=this._previewFillFrom(e,t);return n.dest._properties(n.props,!0),n.dest};const Wr="string",Kr="function";let qr=function(){this._defaultPrevented=!0},Gr=function(){return!0===this._defaultPrevented};class $r{constructor(){this._events={}}bind(e,t,n){let r,o,i,a,s,l=this,c=typeof e===Wr?[e]:e,u=typeof t===Kr;if(void 0===t){for(r in e)l.bind(r,e[r]);return l}for(r=0,o=c.length;r<o;r++)e=c[r],a=u?t:t[e],a&&(n&&(i=a,a=function(){l.unbind(e,a),i.apply(l,arguments)},a.original=i),s=l._events[e]=l._events[e]||[],s.push(a));return l}one(e,t){return this.bind(e,t,!0)}first(e,t){let n,r,o,i,a=this,s=typeof e===Wr?[e]:e,l=typeof t===Kr;for(n=0,r=s.length;n<r;n++)e=s[n],o=l?t:t[e],o&&(i=a._events[e]=a._events[e]||[],i.unshift(o));return a}trigger(e,t){let n,r,o=this,i=o._events[e];if(i){for((t=t||{}).sender=o,t._defaultPrevented=!1,t.preventDefault=qr,t.isDefaultPrevented=Gr,i=i.slice(),n=0,r=i.length;n<r;n++)i[n].call(o,t);return!0===t._defaultPrevented}return!1}unbind(e,t){let n,r=this,o=r._events[e];if(void 0===e)r._events={};else if(o)if(t)for(n=o.length-1;n>=0;n--)o[n]!==t&&o[n].original!==t||o.splice(n,1);else r._events[e]=[];return r}}class Yr extends $r{constructor(e,t){super(),this.element=e,this.events=[],this.options=t}setOptions(e){this._setEvents(e),D({},this.options,e)}_setEvents(e){let t,n=this,r=0,o=n.events.length;for(;r<o;r++)t=n.events[r],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)}resize(e){const t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))}getSize(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}}destroy(){this.unbind()}}class Zr extends $r{constructor(e){super(),this.events=["activate","deactivate","change","update"],this.view=e,this.formulaBar=e.formulaBar,this._active=!1,this.barInput=e.formulaBar.formulaInput,this.cellInput=e.formulaInput,this.barInput.syncWith(this.cellInput),this.cellInput.syncWith(this.barInput),this.barInput.bind("keyup",this._triggerUpdate.bind(this)),this.cellInput.bind("keyup",this._triggerUpdate.bind(this)),this.barInput.bind("blur",this._blur.bind(this)),this.cellInput.bind("blur",this._blur.bind(this))}_blur(){this.deactivate()}_triggerUpdate(){this.trigger("update",{value:this.value()})}activeEditor(){let e=null,t=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}}();return this.barElement()===t?e=this.barInput:this.cellElement()===t&&(e=this.cellInput),e}activate(e){let t,n,r,o=this.view.element;return this._active=!0,this._rect=e.rect,this._range=e.range,this.cellInput.position(e.rect),this.cellInput.resize(e.rect),this.cellInput.tooltip(e.tooltip),this.cellInput.activeCell=this.barInput.activeCell=this._range.topLeft(),this.cellInput.activeSheet=this.barInput.activeSheet=this._range._sheet,o&&(t=o.offsetWidth,n=o.querySelector(".k-spreadsheet-scroller"),r=n.offsetWidth-n.clientWidth,this.cellInput.element.style.maxWidth=t-r-parseFloat(this.cellInput.element.style.left)+"px"),this.trigger("activate"),this}deactivate(e){let t=this.cellInput;this._active&&(this._active=!1,e||t.value()===this._value||this.trigger("change",{value:t.value(),range:this._range}),this._rect=null,t.hide(),this.trigger("deactivate"))}enable(e){this.barInput.enable(e),this.cellInput.enable(e)}barElement(){return this.barInput.element}cellElement(){return this.cellInput.element}focus(e){"cell"===(e=e||"cell")?(this.cellInput.element.focus(),this.cellInput.end()):this.barInput.focus()}isActive(){return this._active}isFiltered(){return this.barInput.popup.visible()||this.cellInput.popup.visible()}canInsertRef(e){let t=this.activeEditor();return t&&t.canInsertRef(e)}highlightedRefs(){let e=this.activeEditor(),t=[];return e&&(t=e.highlightedRefs()),t}scale(){this.cellInput.scale()}toggleTooltip(e){var t,n;this.cellInput.toggleTooltip((n=e,(t=this._rect)&&(t.top!==n.top||t.left!==n.left)))}value(e,t){if(void 0===e)return this.barInput.value();null===e&&(e=""),this._value=e,this.barInput.value(e),this.cellInput.value(e),this.barInput.element.classList.toggle("k-spreadsheet-array-formula",Boolean(t))}insertNewline(){this.activeEditor().insertNewline(),this.scale()}select(){this.activeEditor().select()}}const Xr=/&/g,Jr=/</g,Qr=/"/g,eo=/'/g,to=/>/g;class no{constructor(e,t){this._value=t,this._count=e,this.values=new yr(0,e-1,t),this._hidden=new yr(0,e-1,0),this.scrollBarSize=N(),this._refresh()}_resize(e){e>this._count?(this.values.value(this._count,e-1,this._value),this._hidden.value(this._count,e-1,0)):e<this._count&&(this.values.value(e,this._count-1,0),this._hidden.value(e,this._count-1,0)),this._count=e,this._refresh()}adjust(e,t){t<0?(this.values.copy(e-t,this._count-1,e),this._hidden.copy(e-t,this._count-1,e)):(this.values.copy(e,this._count,e+t),this._hidden.copy(e,this._count,e+t),this.values.value(e,e+t-1,this._value),this._hidden.value(e,e+t-1,0)),this._refresh()}toJSON(e,t){let n=[],r=this.values.iterator(0,this._count-1);for(let o=0;o<this._count;o++){let i=r.at(o),a=this._hidden.value(o,o);if(i===this._value&&!a)continue;let s=t[o];if(void 0===s){s=n.length;let r={index:o};r[e]=i,a&&(r.hidden=a),n.push(r),t[o]=s}}return n}fromJSON(e,t){for(let n=0;n<t.length;n++){let r=t[n],o=r.index;void 0===o&&(o=n);let i=r[e];0===i?(this._hidden.value(o,o,r.hidden||this._value),this.value(o,o,0)):this.value(o,o,i)}}hide(e){if(!this.hidden(e)){let t=this.value(e,e);this._hidden.value(e,e,t),this.value(e,e,0)}}hidden(e){return 0!==this._hidden.value(e,e)}includesHidden(e,t){return this._hidden.intersecting(e,t).length>1}nextVisible(e){let t=this._count-1,n=e;for(;++n<=t;)if(!this.hidden(n))return n;return e}nextUntil(e,t){let n=this._count-1,r=e,o=!1;for(;++r<=n;){let e=t(r,o,this.hidden(r));if("number"==typeof e)return e;if(e)break;o=!0}return r-1}nextPage(e,t){return this.index(this.sum(0,e-1)+t)}prevPage(e,t){return this.index(this.sum(0,e)-t)}firstVisible(){let e=this._hidden.first();return 0===e.value?0:e.end+1}lastVisible(){let e=this._hidden.last();return 0===e.value?this._count-1:e.start-1}prevVisible(e){let t=e;for(;--t>=0;)if(!this.hidden(t))return t;return e}prevUntil(e,t){let n=e,r=!1;for(;--n>=0;){let e=t(n,r,this.hidden(n));if("number"==typeof e)return e;if(e)break;r=!0}return n+1}unhide(e){if(this.hidden(e)){let t=this._hidden.value(e,e);this._hidden.value(e,e,0),this.value(e,e,t)}}value(e,t,n){if(void 0===n)return this.values.iterator(e,t).at(0);this.values.value(e,t,n),this._refresh()}sum(e,t){let n=this.values.iterator(e,t),r=0;for(let o=e;o<=t;o++)r+=n.at(o);return r}locate(e,t,n){let r=this.values.iterator(e,t),o=0;for(let i=e;i<=t;i++)if(o+=r.at(i),n(o))return i;return null}visible(e,t){let n=null,r=null,o=!1;t>=this.total+this.scrollBarSize&&(o=!0);let i=this._pixelValues.intersecting(e,t);if(n=i[0],r=i[i.length-1],!n)return{values:this.values.iterator(0,0),offset:0};let a=e-n.start,s=(a/n.value.value>>0)+n.value.start,l=a-(s-n.value.start)*n.value.value,c=t-r.start,u=(c/r.value.value>>0)+r.value.start;return u>r.value.end&&(u=r.value.end),o&&(l+=r.value.value-(c-(u-r.value.start)*r.value.value)),l=Math.min(-l,0),{values:this.values.iterator(s,u),offset:l}}index(e){let t=0,n=this.values.iterator(0,this._count-1),r=n.at(0);for(;r<e&&t<this._count-1;)r+=n.at(++t);return t}indexVisible(e){let t=this.index(e);return this.hidden(t)&&(t=this.prevVisible(t)),t}_refresh(){let e=0;this._pixelValues=this.values.map((function(t){let n=e;return e+=(t.end-t.start+1)*t.value,new pr(n,e-1,t)})),this.total=e}getState(){return{values:this.values.getState(),hidden:this._hidden.getState(),count:this._count}}setState(e){this.values.setState(e.values),this._hidden.setState(e.hidden);let t=this._count;t>e.count?(this._count=e.count,this._resize(t)):this._refresh()}}class ro{constructor(e,t,n,r){this._axis=e,this._start=t,this._count=n,this.hasHeader=0===t,this.headerSize=r,this.defaultValue=e._value,this.frozen=n>0}viewSize(e){this._viewSize=e}sum(e,t){return this._axis.sum(e,t-1)}start(){return this.sum(0,this._start)}size(){return this.sum(this._start,this._start+this._count)}index(e,t){return this._axis.index(e+(this.frozen?0:t)-this.headerSize)}indexVisible(e,t){return this._axis.indexVisible(e+(this.frozen?0:t)-this.headerSize)}paneSegment(){let e,t=this.start();return this.hasHeader||(t+=this.headerSize),this.frozen?(e=this.size(),this.hasHeader?e+=this.headerSize:e-=this.headerSize):e=this._viewSize-t,{offset:t,length:e}}visible(e){let t,n=this.start();this.frozen?(t=this.size(),this.hasHeader||(t-=this.headerSize)):(t=this._viewSize-n-this.headerSize,n+=e);let r=this._axis.visible(n,n+t-1);return this.frozen&&(r.offset=0),r.start=n,this.hasHeader&&(r.offset+=this.headerSize,r.start-=this.headerSize),r}contains(e,t){return this.frozen?!(e>this._start+this._count||t<this._start):t>=this._start}}class oo{constructor(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r,this.right=this.left+this.width,this.bottom=this.top+this.height}offset(e,t){return new oo(this.left+e,this.top+t,this.width,this.height)}resize(e,t){return new oo(this.left,this.top,this.width+e,this.height+t)}intersects(e,t){return e instanceof oo?this.intersectsRect(e):this.left<e&&e<this.left+this.width&&this.top<t&&t<this.top+this.height}intersectsRect(e){let t=this;return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}toDiv(e){return ne.element("div",{className:e,style:{width:this.width+"px",height:this.height+"px",top:this.top+"px",left:this.left+"px"}})}}class io{constructor(e,t,n,r,o,i){this.rowCount=n,this.columnCount=r,this._columns=t,this._rows=e,this._headerHeight=o,this._headerWidth=i}_resize(e,t){this.rowCount=e,this.columnCount=t}isAxis(e){let t=(e=e.toRangeRef()).topLeft,n=e.bottomRight;return 0===t.row&&n.row===this.rowCount-1||0===t.col&&n.col===this.columnCount-1}width(e,t){return this._columns.sum(e,t)}height(e,t){return this._rows.sum(e,t)}totalHeight(){return this._rows.total+this._headerHeight}totalWidth(){return this._columns.total+this._headerWidth}index(e,t){return t*this.rowCount+e}cellRef(e){return new w(e%this.rowCount,e/this.rowCount>>0)}rowRef(e){return new x(new w(e,0),new w(e,this.columnCount-1))}colRef(e){return new x(new w(0,e),new w(this.rowCount-1,e))}cellRefIndex(e){return this.index(e.row,e.col)}normalize(e){return e instanceof x?new x(this.normalize(e.topLeft),this.normalize(e.bottomRight)).setSheet(e.sheet,e.hasSheet()):e instanceof k?e.map((function(e){return this.normalize(e)}),this):(e instanceof w&&((e=e.clone()).col=Math.max(0,Math.min(this.columnCount-1,e.col)),e.row=Math.max(0,Math.min(this.rowCount-1,e.row))),e)}rectangle(e){let t=this.normalize(e.topLeft),n=this.normalize(e.bottomRight);return new oo(this.width(0,t.col-1),this.height(0,t.row-1),this.width(t.col,n.col),this.height(t.row,n.row))}pane(e){return new ao(new ro(this._rows,e.row,e.rowCount,this._headerHeight),new ro(this._columns,e.column,e.columnCount,this._headerWidth),this)}rangeDimensions(e){return{rows:this._rows.values.iterator(e.topLeft.row,e.bottomRight.row),columns:this._columns.values.iterator(e.topLeft.col,e.bottomRight.col)}}forEach(e,t){let n=this.normalize(e.topLeft),r=this.normalize(e.bottomRight);for(let e=n.col;e<=r.col;e++)for(let o=n.row;o<=r.row;o++)t(new w(o,e))}trim(e,t){let n=this.normalize(e.topLeft),r=this.normalize(e.bottomRight),o=n.row,i=n.col;for(let e=n.col;e<=r.col;e++){let a=this.index(n.row,e),s=this.index(r.row,e),l=t.tree.intersecting(a,s);if(l.length){let t=this.cellRef(l[l.length-1].end);o=Math.max(o,t.row),i=e}}return new x(e.topLeft,new w(Math.min(o,e.bottomRight.row),i))}}class ao{constructor(e,t,n){this.rows=e,this.columns=t,this._grid=n,this.headerHeight=e.headerSize,this.headerWidth=t.headerSize,this.hasRowHeader=t.hasHeader,this.hasColumnHeader=e.hasHeader}refresh(e,t){this.columns.viewSize(e),this.rows.viewSize(t);let n=this.columns.paneSegment(),r=this.rows.paneSegment();this.left=n.offset,this.top=r.offset,this.right=n.offset+n.length,this.bottom=r.offset+r.length,this.style={top:r.offset+"px",left:n.offset+"px",height:r.length+"px",width:n.length+"px"}}view(e,t){let n=this.rows.visible(t),r=this.columns.visible(e);return{rows:n,columns:r,rowOffset:n.offset,columnOffset:r.offset,mergedCellLeft:r.start,mergedCellTop:n.start,ref:new x(new w(n.values.start,r.values.start),new w(n.values.end,r.values.end))}}contains(e){return this.rows.contains(e.topLeft.row,e.bottomRight.row)&&this.columns.contains(e.topLeft.col,e.bottomRight.col)}index(e,t){return this._grid.index(e,t)}boundingRectangle(e){return this._grid.rectangle(e)}cellRefIndex(e){return this._grid.cellRefIndex(e)}scrollBoundaries(e){let t=this.boundingRectangle(e),n={top:Math.max(0,t.top-this.top+(this.hasColumnHeader?0:this.headerHeight)),left:Math.max(0,t.left-this.left+(this.hasRowHeader?0:this.headerWidth)),right:t.right-this.columns._viewSize+this.headerWidth,bottom:t.bottom-this.rows._viewSize+this.headerHeight},r=this.columns.defaultValue/2,o=this.rows.defaultValue/2;return n.scrollTop=n.top-o,n.scrollBottom=n.bottom+o,n.scrollLeft=n.left-r,n.scrollRight=n.right+r,n}}class so{constructor(e,t){this._grid=e,this._lists=t}indices(e,t,n,r){let o=so.ascendingComparer;return!1===n&&(o=so.descendingComparer),t.sortedIndices(this._grid.cellRefIndex(e.topLeft),this._grid.cellRefIndex(e.bottomRight),o,r)}sortBy(e,t,n,r,o){let i=this.indices(e.toColumn(t),n,r,o);for(let t=e.topLeft.col;t<=e.bottomRight.col;t++){let n=this._grid.index(e.topLeft.row,t),r=this._grid.index(e.bottomRight.row,t);for(let e=0;e<this._lists.length;e++)n<this._lists[e].lastRangeStart()&&this._lists[e].sort(n,r,i)}return i}}so.ascendingComparer=function(e,t){if(null===e&&null===t)return 0;if(null===e)return 1;if(null===t)return-1;let n=typeof e,r=typeof t;if("number"===n)return"number"===r?e-t:-1;if("string"===n)switch(r){case"number":return 1;case"string":return e.localeCompare(t);default:return-1}if("boolean"===n)switch(r){case"number":case"string":return 1;case"boolean":return e-t;default:return-1}if(e instanceof T)return t instanceof T?0:1;throw new Error("Cannot compare "+e+" and "+t)},so.descendingComparer=function(e,t){return null===e&&null===t?0:null===e?1:null===t?-1:so.ascendingComparer(t,e)};class lo{constructor(e){this._sheet=e}forEachSelectedColumn(e){let t=this._sheet;t.batch((function(){t.select().forEachColumnIndex((function(n,r){e(t,n,r)}))}),{layout:!0,recalc:!0})}forEachSelectedRow(e){let t=this._sheet;t.batch((function(){t.select().forEachRowIndex((function(n,r){e(t,n,r)}))}),{layout:!0,recalc:!0})}includesHiddenColumns(e){return this._sheet._grid._columns.includesHidden(e.topLeft.col,e.bottomRight.col)}includesHiddenRows(e){return this._sheet._grid._rows.includesHidden(e.topLeft.row,e.bottomRight.row)}selectionIncludesHiddenColumns(){return this.includesHiddenColumns(this._sheet.select())}selectionIncludesHiddenRows(){return this.includesHiddenRows(this._sheet.select())}deleteSelectedColumns(){let e=[],t=0;return this.forEachSelectedColumn((function(n,r){if(r-=t,n.isHiddenColumn(r))return;t++;let o=[];e.unshift({index:r,formulas:o,width:n.columnWidth(r)}),n._saveModifiedFormulas(o,(function(){n.deleteColumn(r)}))})),e}deleteSelectedRows(){let e=[],t=0;return this.forEachSelectedRow((function(n,r){if(r-=t,n.isHiddenRow(r))return;t++;let o=[];e.unshift({index:r,formulas:o,height:n.rowHeight(r)}),n._saveModifiedFormulas(o,(function(){n.deleteRow(r)}))})),e}hideSelectedColumns(){this.forEachSelectedColumn((function(e,t){e.hideColumn(t)}));let e=this._sheet,t=e.select().toRangeRef(),n=t.topLeft.col,r=t.bottomRight.col,o=null;for(;;){let t=r<e._columns._count,i=n>=0;if(!i&&!t)break;if(t&&!e.isHiddenColumn(r)){o=r;break}if(i&&!e.isHiddenColumn(n)){o=n;break}n--,r++}null!==o&&(t=new x(new w(0,o),new w(e._rows._count-1,o)),e.range(t).select())}hideSelectedRows(){this.forEachSelectedRow((function(e,t){e.hideRow(t)}));let e=this._sheet,t=e.select().toRangeRef(),n=t.topLeft.row,r=t.bottomRight.row,o=null;for(;;){let t=r<e._rows._count,i=n>=0;if(!i&&!t)break;if(t&&!e.isHiddenRow(r)){o=r;break}if(i&&!e.isHiddenRow(n)){o=n;break}n--,r++}null!==o&&(t=new x(new w(o,0),new w(o,e._columns._count-1)),e.range(t).select())}unhideSelectedColumns(){this.forEachSelectedColumn((function(e,t){e.unhideColumn(t)}))}unhideSelectedRows(){this.forEachSelectedRow((function(e,t){e.unhideRow(t)}))}addColumnLeft(){let e,t=this._sheet,n=0;return t.batch((function(){t.select().forEachColumnIndex((function(r){e||(e=r),t.insertColumn(e),++n}))}),{recalc:!0,layout:!0}),{base:e,count:n}}addColumnRight(){let e,t=this._sheet,n=0;return t.batch((function(){t.select().forEachColumnIndex((function(t){e=t+1,++n}));for(let r=0;r<n;++r)t.insertColumn(e)}),{recalc:!0,layout:!0}),{base:e,count:n}}addRowAbove(){let e,t=this._sheet,n=0,r=t.select();return t.batch((function(){r.forEachRowIndex((function(r){e||(e=r),t.insertRow(e),++n}))}),{recalc:!0,layout:!0}),{base:e,count:n}}addRowBelow(){let e,t=this._sheet,n=0;return t.batch((function(){t.select().forEachRowIndex((function(t){e=t+1,++n}));for(let r=0;r<n;++r)t.insertRow(e)}),{recalc:!0,layout:!0}),{base:e,count:n}}}class co{constructor(e){this._grid=e}rectIsVertical(e,t,n,r){let o=this._grid.rectangle(e.toRangeRef()),i=this._grid.rectangle(t.toRangeRef());return Math.abs(i[r]-o[r])>Math.abs(o[n]-i[n])}autoFillDest(e,t){let n,r,o,i,a,s=e.topLeft,l=e.bottomRight,c=t.row>=s.row,u=t.col>=s.col;if(n=c?u?4:3:u?2:1,4===n)r=s,o=l,a=t.row>o.row||t.col>o.col,a&&(t=new w(Math.max(t.row,o.row),Math.max(t.col,o.col))),i=this.rectIsVertical(o,t,"right","bottom")?new w(t.row,o.col):new w(o.row,t.col);else if(3===n){let e=new w(s.col,l.row);t.row>l.row&&this.rectIsVertical(e,t,"left","bottom")?(r=s,i=new w(t.row,l.col)):(r=l,i=new w(s.row,t.col))}else if(2===n){let e=new w(s.row,l.col);t.col>l.col&&!this.rectIsVertical(e,t,"right","top")?(r=s,i=new w(l.row,t.col)):(r=l,i=new w(t.row,s.col))}else r=l,i=this.rectIsVertical(s,t,"left","top")?new w(t.row,s.col):new w(s.row,t.col);return this._grid.normalize(new x(r,i))}}class uo{constructor(e,t,n,r){this.rangeGetter=n,this.prevLeft=function(n){var o=r(this.range(n)),i=this.range(t.prevVisible(o.topLeft[e]));return r(i).topLeft[e]},this.nextRight=function(n){var o=r(this.range(n)),i=this.range(t.nextVisible(o.bottomRight[e]));return r(i).bottomRight[e]},this.nextLeft=function(n){var o=r(this.range(n));return t.nextVisible(o.bottomRight[e])},this.prevRight=function(n){var o=r(this.range(n));return t.prevVisible(o.topLeft[e])}}boundary(e,t){this.top=e,this.bottom=t}range(e){return this.rangeGetter(e,this.top,this.bottom)}}class ho{constructor(e){this._sheet=e,this.autoFillCalculator=new co(e._grid),this.colEdge=new uo("col",this._sheet._grid._columns,this.columnRange.bind(this),this.union.bind(this)),this.rowEdge=new uo("row",this._sheet._grid._rows,this.rowRange.bind(this),this.union.bind(this))}height(e){this._viewPortHeight=e}union(e){return this._sheet.unionWithMerged(e)}columnRange(e,t,n){return this._sheet._ref(t,e,n-t,1)}rowRange(e,t,n){return this._sheet._ref(e,t,1,n-t)}selectionIncludesMergedCells(){return this._sheet.select().contains(this._sheet._mergedCells)}setSelectionValue(e){var t=this._sheet.selection();setTimeout((function(){t.value(e())}))}selectAll(){this._sheet.select(this._sheet._sheetRef)}select(e,t,n){e=this.refForMode(e,t),n&&(e=this._sheet.select().concat(e)),this._sheet.select(e)}refForMode(e,t){var n=this._sheet._grid;switch(t){case"range":e=n.normalize(e);break;case"row":e=n.rowRef(e.row);break;case"column":e=n.colRef(e.col);break;case"sheet":e=this._sheet._sheetRef}return e}startSelection(e,t,n,r,o){if("autofill"===t)this._sheet.startAutoFill();else if(r&&"range"===t){var i=new x(this._sheet.activeCell().first(),e);this._sheet.select(i,!1,!1),this._sheet.startSelection(o)}else this._sheet.startSelection(o),this.select(e,t,n)}completeSelection(){this._sheet.completeSelection()}selectForContextMenu(e,t){var n=this._sheet;n._activeDrawing=null,n.select().contains(this.refForMode(e,t))||this.select(e,t)}selectDrawingForContextMenu(e){var t=this._sheet;t._activeDrawing=e,t.triggerChange({selection:!0})}modifySelection(e){var t,n=this.determineDirection(e),r=this._sheet,o=this._viewPortHeight,i=r._grid._rows,a=r._grid._columns,s=r.currentOriginalSelectionRange(),l=r.select().toRangeRef(),c=r.activeCell(),u=s.topLeft.clone(),h=s.bottomRight.clone(),d=new w(h.row,u.col);switch(this.colEdge.boundary(l.topLeft.row,l.bottomRight.row),this.rowEdge.boundary(l.topLeft.col,l.bottomRight.col),n){case"expand-left":u.col=this.colEdge.prevLeft(u.col),t=u;break;case"shrink-right":u.col=this.colEdge.nextLeft(u.col),t=u;break;case"expand-right":h.col=this.colEdge.nextRight(h.col),t=h;break;case"shrink-left":h.col=this.colEdge.prevRight(h.col),t=h;break;case"expand-up":u.row=this.rowEdge.prevLeft(u.row),t=u;break;case"shrink-down":u.row=this.rowEdge.nextLeft(u.row),t=u;break;case"expand-down":h.row=this.rowEdge.nextRight(h.row),t=h;break;case"shrink-up":h.row=this.rowEdge.prevRight(h.row),t=h;break;case"expand-page-up":u.row=i.prevPage(u.row,o);break;case"shrink-page-up":h.row=i.prevPage(h.row,o);break;case"expand-page-down":h.row=i.nextPage(h.row,o);break;case"shrink-page-down":u.row=i.nextPage(u.row,o);break;case"first-col":u.col=a.firstVisible(),h.col=c.bottomRight.col,t=u;break;case"last-col":h.col=a.lastVisible(),u.col=c.topLeft.col,t=h;break;case"first-row":u.row=i.firstVisible(),h.row=c.bottomRight.row,t=u;break;case"last-row":h.row=i.lastVisible(),u.row=c.topLeft.row,t=h;break;case"last":h.row=i.lastVisible(),h.col=a.lastVisible(),u=c.topLeft,t=h;break;case"first":u.row=i.firstVisible(),u.col=a.firstVisible(),h=c.bottomRight,t=u;break;case"expand-word-right":h.col=a.nextUntil(h.col,po(r,h,!0)),t=h;break;case"shrink-word-right":u.col=a.nextUntil(d.col,po(r,d,!0)),t=u;break;case"expand-word-left":u.col=a.prevUntil(d.col,po(r,d,!0)),t=u;break;case"shrink-word-left":h.col=a.prevUntil(h.col,po(r,h,!0)),t=h;break;case"expand-word-up":u.row=i.prevUntil(u.row,po(r,u,!1)),t=u;break;case"shrink-word-up":h.row=i.prevUntil(h.row,po(r,h,!1)),t=h;break;case"expand-word-down":h.row=i.nextUntil(h.row,po(r,h,!1)),t=h;break;case"shrink-word-down":u.row=i.nextUntil(u.row,po(r,u,!1)),t=u}var p=new x(u,h);this.union(p).intersects(c)?(t&&r.focus(t),this.updateCurrentSelectionRange(p)):this.modifySelection(n.replace("shrink","expand"))}moveActiveCell(e){var t=this._sheet,n=t.activeCell(),r=n.topLeft,o=n.bottomRight,i=t.originalActiveCell(),a=t._grid._rows,s=t._grid._columns,l=i.row,c=i.col;switch(e){case"left":c=s.prevVisible(r.col);break;case"up":l=a.prevVisible(r.row);break;case"right":c=s.nextVisible(o.col);break;case"down":l=a.nextVisible(o.row);break;case"first-col":c=s.firstVisible();break;case"last-col":c=s.lastVisible();break;case"first-row":l=a.firstVisible();break;case"last-row":l=a.lastVisible();break;case"last":l=a.lastVisible(),c=s.lastVisible();break;case"first":l=a.firstVisible(),c=s.firstVisible();break;case"next-page":l=a.nextPage(o.row,this._viewPortHeight);break;case"prev-page":l=a.prevPage(o.row,this._viewPortHeight);break;case"word-right":c=s.nextUntil(c,po(t,o,!0));break;case"word-left":c=s.prevUntil(c,po(t,o,!0));break;case"word-up":l=a.prevUntil(l,po(t,o,!1));break;case"word-down":l=a.nextUntil(l,po(t,o,!1))}t.select(new w(l,c))}navigateInSelection(e){var t,n,r,o=this._sheet,i=o.activeCell().topLeft,a=o.originalActiveCell(),s=o._grid._rows,l=o._grid._columns,c=a.row,u=a.col,h=!1,d=!1,p=i.col,f=i.row;function m(e){t=e.topLeft,n=e.bottomRight}m(o.currentNavigationRange());for(var v=!1,g=!1;!v&&!g;){var b=new w(c,u);switch(o.singleCellSelection()&&(h=t.eq(b)&&o._sheetRef.topLeft.eq(b),d=n.eq(b)&&o._sheetRef.bottomRight.eq(b),h||(h=l.firstVisible()===u&&s.firstVisible()===c),d||(d=l.lastVisible()===u&&s.lastVisible()===c)),e){case"next":d?g=!0:n.eq(b)?(m(o.nextNavigationRange()),c=t.row,u=t.col):((u=l.nextVisible(p))===p||u>n.col)&&(u=t.col,c=(r=s.nextVisible(c))===c||r>n.row?t.row:r);break;case"previous":h?(g=!0,this._sheet._workbook._view.element.querySelector(".k-spreadsheet-name-editor .k-input-inner").focus()):t.eq(b)?(m(o.previousNavigationRange()),c=n.row,u=n.col):((u=l.prevVisible(p))===p||u<t.col)&&(u=n.col,c=(r=s.prevVisible(c))===c||r<t.row?n.row:r);break;case"lower":n.eq(b)?(m(o.nextNavigationRange()),c=t.row,u=t.col):((c=s.nextVisible(f))===f||c>n.row)&&(c=t.row,u=(r=l.nextVisible(u))===u||r>n.col?t.col:r);break;case"upper":t.eq(b)?(m(o.previousNavigationRange()),c=n.row,u=n.col):((c=s.prevVisible(f))===f||c<t.row)&&(c=n.row,u=(r=l.prevVisible(u))===u||r<t.col?n.col:r);break;default:throw new Error("Unknown entry navigation: "+e)}v=!this.shouldSkip(c,u),p=u,f=c}v&&(o.singleCellSelection()?o.select(new w(c,u)):o.activeCell(new w(c,u)))}extendSelection(e,t){var n=this._sheet,r=n._grid;if("autofill"!==t){"range"===t?e=r.normalize(e):"row"===t?e=r.rowRef(e.row).bottomRight:"column"===t&&(e=r.colRef(e.col).bottomRight);var o=n.originalActiveCell().toRangeRef();this.updateCurrentSelectionRange(new x(o.topLeft,e))}else this.resizeAutoFill(e)}shouldSkip(e,t){if(this._sheet.isHiddenRow(e)||this._sheet.isHiddenColumn(t))return!0;var n=new w(e,t),r=!1;return this._sheet.forEachMergedCell((function(e){e.intersects(n)&&!e.collapse().eq(n)&&(r=!0)})),r}resizeAutoFill(e){var t,n,r=this._sheet,o=r.select(),i=r._autoFillOrigin,a=this.autoFillCalculator.autoFillDest(o,e),s=this.punch(o,a);if(!s){var l=r.range(a)._previewFillFrom(r.range(i));l&&(n=l.direction,t=l.hint)}r.updateAutoFill(a,s,t,n)}determineDirection(e){var t=this._sheet.currentSelectionRange(),n=this._sheet.activeCell(),r=n.topLeft.col===t.topLeft.col,o=n.bottomRight.col===t.bottomRight.col,i=n.topLeft.row===t.topLeft.row,a=n.bottomRight.row===t.bottomRight.row;switch(e){case"left":e=o?"expand-left":"shrink-left";break;case"right":e=r?"expand-right":"shrink-right";break;case"up":e=a?"expand-up":"shrink-up";break;case"down":e=i?"expand-down":"shrink-down";break;case"prev-page":e=a?"expand-page-up":"shrink-page-up";break;case"next-page":e=i?"expand-page-down":"shrink-page-down";break;case"word-left":e=o?"expand-word-left":"shrink-word-left";break;case"word-right":e=r?"expand-word-right":"shrink-word-right";break;case"word-up":e=a?"expand-word-up":"shrink-word-up";break;case"word-down":e=i?"expand-word-down":"shrink-word-down"}return e}updateCurrentSelectionRange(e){var t=this._sheet;t.select(t.originalSelect().replaceAt(t.selectionRangeIndex(),e),!1)}punch(e,t){var n;if(t.topLeft.eq(e.topLeft))if(t.bottomRight.row<e.bottomRight.row){var r=this.rowEdge.nextRight(t.bottomRight.row);n=new x(new w(r,e.topLeft.col),e.bottomRight)}else if(t.bottomRight.col<e.bottomRight.col){var o=this.colEdge.nextRight(t.bottomRight.col);n=new x(new w(e.topLeft.row,o),e.bottomRight)}return n}}function po(e,t,n){var r=e.range(t).value();return function(o,i,a){if(a)return!0;var s=(n?e.range(t.row,o):e.range(o,t.col)).value();return null===r?null!==s&&o:i||null!==s?null===s:(r=null,!1)}}function fo(e){return null==e?null:Se(e)}var mo=function(e){return e};class vo{constructor(e){this.options=Object.assign({columns:[]},this.options,e),this.columns=this._normalizeColumns(this.options.columns),this._sheet(),this._dataSource(),this._header(),this._boundRowsCount=0,this.dataSource.fetch()}_sheet(){this.sheet=this.options.sheet,this._sheetChangeHandler=this._sheetChange.bind(this),this._sheetDeleteRowHandler=this._sheetDeleteRow.bind(this),this._sheetInsertRowHandler=this._sheetInsertRow.bind(this),this.sheet.bind("change",this._sheetChangeHandler).bind("afterDeleteRow",this._sheetDeleteRowHandler).bind("afterInsertRow",this._sheetInsertRowHandler)}_sheetInsertRow(e){void 0!==e.index&&this.dataSource.insert(Math.max(e.index-1,0),{})}_sheetDeleteRow(e){if(void 0!==e.index){var t=this.dataSource,n=t.view()[e.index-1];n&&t.remove(n)}}_header(){this.sheet.batch(function(){this.columns.forEach(function(e,t){this.sheet.range(0,t).value(e.title)}.bind(this))}.bind(this))}_sheetChange(e){if(!e.insertRow&&!e.deleteRow&&e.recalc&&e.ref&&e.isValue){var t,n,r,o,i,a=this.dataSource,s=a.view(),l=this.columns,c=[],u=this.sheet,h=function(e){for(var t,r=0,i=(e=e.toRangeRef()).topLeft.row;i<=e.bottomRight.row;i++){(t=s[i-1])||(t=a.insert(i-1,{}),s=a.view());for(var u=0,h=e.topLeft.col;h<=e.bottomRight.col&&h<l.length;h++){var d=c[o][r][u++];t.set(l[h].field,n[h](d))}r++}};for(a.reader.model&&(t=a.reader.model.fields),!l.length&&s.length&&(l=Object.keys(s[0].toJSON())),n=l.map((function(e){var n=e.field;return n&&t&&t[n]&&"date"===t[n].type?fo:mo})),this._skipRebind=!0,(r=u._grid.normalize(e.ref))instanceof k||(r=new k([r])),(i=r.refs).forEach((function(e){c.push(u.range(e).values())})),o=0;o<i.length;o++)i[o].forEach(h);this._boundRowsCount=a.view().length,this._skipRebind=!1}}_normalizeColumns(e){return e.map((function(e){var t=e.field||e;return{field:t,title:e.title||t}}))}_dataSource(){var e=this.options.dataSource;this.dataSource={data:e}}_error(){this._progress(!1)}_requestStart(){this._progress(!0)}_progress(e){this.sheet.trigger("progress",{toggle:e})}_change(){if(!this._skipRebind&&!this.sheet.trigger("dataBinding")){var e=this.dataSource.view(),t=this.columns;!t.length&&e.length&&(this.columns=t=this._normalizeColumns(Object.keys(e[0].toJSON())),this._header());var n=t.map((function(e){return function(e,t){let n=e+t;return H[n]=H[n]||new Function("d","return "+F(e,t)),H[n]}(e.field)}));this.sheet.batch(function(){for(var t=Math.max(e.length,this._boundRowsCount,this.sheet._grid.rowCount-1),r=0;r<t;r++)for(var o=0;o<n.length;o++){var i=e[r]?n[o](e[r]):null;this.sheet.range(r+1,o).value(i)}}.bind(this)),this._boundRowsCount=e.length,this._progress(!1),this.sheet.trigger("dataBound")}}destroy(){this.dataSource.unbind("change",this._changeHandler).unbind("progress",this._progressHandler).unbind("error",this._errorHandler),this.sheet.unbind("change",this._sheetChangeHandler).unbind("deleteRow",this._sheetDeleteRowHandler).unbind("insertRow",this._sheetInsertRowHandler)}}const go=function(){function e(){return(0,o.getDate)(new Date)}return{dayOfWeek:o.dayOfWeek,getDate:o.getDate,isToday:function(t){return(0,o.getDate)(t).getTime()===e().getTime()},addDays:o.addDays,today:e,firstDayOfMonth:o.firstDayOfMonth}}(),bo=/^\/Date\((.*?)\)\/$/;var yo=function(){function e(e){return"string"==typeof e&&(e=e.replace(/[\r\n]+/g,"")),JSON.stringify(e)}function t(t){return function(n,r,o,i){return r+="",o&&(n="("+n+" + '').toString()"+(i?".toLocaleLowerCase('"+i+"')":".toLowerCase()"),r=i?r.toLocaleLowerCase(i):r.toLowerCase()),t(n,e(r),o)}}function n(t,n,r,o,i){if(null!=r){if("string"==typeof r){var a=bo.exec(r);a?r=new Date(+a[1]):o?(r=e(i?r.toLocaleLowerCase(i):r.toLowerCase()),n="(("+n+" || '')+'')"+(i?".toLocaleLowerCase('"+i+"')":".toLowerCase()")):r=e(r)}r.getTime&&(n="("+n+"&&"+n+".getTime?"+n+".getTime():"+n+")",r=r.getTime())}return n+" "+t+" "+r}function r(e){for(var t="/^",n=!1,r=0;r<e.length;++r){var o=e.charAt(r);if(n)t+="\\"+o;else{if("~"===o){n=!0;continue}"*"===o?t+=".*":"?"===o?t+=".":".+^$()[]{}|\\/\n\r\u2028\u2029 ".indexOf(o)>=0?t+="\\"+o:t+=o}n=!1}return t+"$/"}return{quote:function(t){return t&&t.getTime?"new Date("+t.getTime()+")":e(t)},eq:function(e,t,r,o){return n("==",e,t,r,o)},neq:function(e,t,r,o){return n("!=",e,t,r,o)},gt:function(e,t,r){return n(">",e,t,r)},gte:function(e,t,r){return n(">=",e,t,r)},lt:function(e,t,r){return n("<",e,t,r)},lte:function(e,t,r){return n("<=",e,t,r)},startswith:t((function(e,t){return e+".lastIndexOf("+t+", 0) == 0"})),doesnotstartwith:t((function(e,t){return e+".lastIndexOf("+t+", 0) == -1"})),endswith:t((function(e,t){return e+".indexOf("+t+", "+e+".length - "+(t?t.length-2:0)+") >= 0"})),doesnotendwith:t((function(e,t){return e+".indexOf("+t+", "+e+".length - "+(t?t.length-2:0)+") < 0"})),contains:t((function(e,t){return e+".indexOf("+t+") >= 0"})),doesnotcontain:t((function(e,t){return e+".indexOf("+t+") == -1"})),matches:t((function(e,t){return r(t=t.substring(1,t.length-1))+".test("+e+")"})),doesnotmatch:t((function(e,t){return"!"+r(t=t.substring(1,t.length-1))+".test("+e+")"})),isempty:function(e){return e+" === ''"},isnotempty:function(e){return e+" !== ''"},isnull:function(e){return"("+e+" == null)"},isnotnull:function(e){return"("+e+" != null)"},isnullorempty:function(e){return"("+e+" === null) || ("+e+" === '')"},isnotnullorempty:function(e){return"("+e+" !== null) && ("+e+" !== '')"}}}();const wo=function(e){var t,n,r,o,i,a,s=[],l=[],c=[],u=e.filters;for(t=0,n=u.length;t<n;t++)i=(r=u[t]).field,a=r.operator,r.filters?(r=(o=wo(r)).expression.replace(/__o\[(\d+)\]/g,(function(e,t){return t=+t,"__o["+(c.length+t)+"]"})).replace(/__f\[(\d+)\]/g,(function(e,t){return t=+t,"__f["+(l.length+t)+"]"})),c.push.apply(c,o.operators),l.push.apply(l,o.fields)):("function"==typeof i?(o="__f["+l.length+"](d)",l.push(i)):o=F(i),"function"==typeof a?(r="__o["+c.length+"]("+o+", "+yo.quote(r.value)+")",c.push(a)):r=yo[(a||"eq").toLowerCase()](o,r.value,void 0===r.ignoreCase||r.ignoreCase,e.accentFoldingFiltering)),s.push(r);return{expression:"("+s.join({and:" && ",or:" || "}[e.logic])+")",fields:l,operators:c}};let xo={};class ko{prepare(){}value(e){return e.value}matches(){throw new Error("The 'matches' method is not implemented.")}toJSON(){throw new Error("The 'toJSON' method is not implemented.")}}ko.create=function(e){var t=e.filter;if(!t)throw new Error("Filter type not specified.");var n=xo[t.charAt(0).toUpperCase()+t.substring(1)+"Filter"];if(!n)throw new Error("Filter type not recognized.");return new n(e)};class Co extends ko{constructor(e){super(e),this._values=[],this._dates=[],this._blanks=!1,void 0!==e.values&&(this._values=e.values),void 0!==e.blanks&&(this._blanks=e.blanks),void 0!==e.dates&&(this._dates=e.dates)}value(e){var t=e.value;return this._dates.length>0&&e.format&&"number"==typeof t&&"date"===Wn.type(t,e.format)&&(t=Se(t)),t}matches(e){return null==e?this._blanks:e instanceof Date?this._dates.some((function(t){return!(t.year!==e.getFullYear()||void 0!==t.month&&t.month!==e.getMonth()||void 0!==t.day&&t.day!==e.getDate()||void 0!==t.hours&&t.hours!==e.getHours()||void 0!==t.minutes&&t.minutes!==e.getMinutes()||void 0!==t.seconds&&t.seconds!==e.getSeconds())})):this._values.indexOf(e)>=0}toJSON(){return{filter:"value",blanks:this._blanks,values:this._values.slice(0)}}}class zo extends ko{constructor(e){if(super(e),this._logic="and",void 0!==e.logic&&(this._logic=e.logic),void 0===e.criteria)throw new Error("Must specify criteria.");this._criteria=e.criteria;var t=wo({logic:this._logic,filters:this._criteria,accentFoldingFiltering:W().name}).expression;this._matches=new Function("d","return "+t)}matches(e){return null!==e&&this._matches(e)}value(e){var t=e.value,n=this._criteria[0].value,r=n instanceof Date?"date":typeof n,o=typeof t;return e.format&&(o=Wn.type(t,e.format)),o!=r?"string"==r&&(e.format&&(t=Wn.text(t,e.format)),t+=""):"date"==o&&(t=Se(t)),t}toJSON(){return{filter:"custom",logic:this._logic,criteria:this._criteria}}}class _o extends ko{constructor(e){super(e),this._type=e.type,this._value=e.value,this._values=[]}prepare(e){var t=e.map(this.value).sort().filter((function(e,t,n){return 0===t||e!==n[t-1]}));"topNumber"===this._type||"topPercent"==this._type?t.sort((function(e,t){return t-e})):t.sort((function(e,t){return e-t}));var n=this._value;"topPercent"!==this._type&&"bottomPercent"!==this._type||(n=t.length*n/100>>0),this._values=t.slice(0,n)}matches(e){return this._values.indexOf(e)>=0}toJSON(){return{filter:"top",type:this._type,value:this._value}}}class Eo extends ko{constructor(e){if(super(e),this._type=e.type,this._predicate=this[e.type],"function"!=typeof this._predicate)throw new Error("DynamicFilter type '"+e.type+"' not recognized.")}value(e){var t=e.value;return e.format&&"date"===Wn.type(t,e.format)&&(t=Se(t)),t}prepare(e){for(var t=0,n=0,r=0;r<e.length;r++){var o=this.value(e[r]);"number"==typeof o&&(t+=o,n++)}this._average=n>0?t/n:0}matches(e){return this._predicate(e)}aboveAverage(e){return e instanceof Date&&(e=Oe(e)),"number"==typeof e&&e>this._average}belowAverage(e){return e instanceof Date&&(e=Oe(e)),"number"==typeof e&&e<this._average}tomorrow(e){if(e instanceof Date){var t=go.addDays(go.today(),1);return go.getDate(e).getTime()===t.getTime()}return!1}today(e){return e instanceof Date&&go.isToday(e)}yesterday(e){if(e instanceof Date){var t=go.addDays(go.today(),-1);return go.getDate(e).getTime()===t.getTime()}return!1}nextWeek(e){return Oo(go.addDays(go.today(),7),e)}thisWeek(e){return Oo(go.today(),e)}lastWeek(e){return Oo(go.addDays(go.today(),-7),e)}nextMonth(e){return Mo(e,1)}thisMonth(e){return Mo(e,0)}lastMonth(e){return Mo(e,-1)}nextQuarter(e){if(e instanceof Date){var t=go.today(),n=Io(e)-Io(t);return 1===n&&t.getFullYear()===e.getFullYear()||-3==n&&t.getFullYear()+1===e.getFullYear()}return!1}thisQuarter(e){if(e instanceof Date){var t=go.today();return 0==Io(e)-Io(t)&&t.getFullYear()===e.getFullYear()}return!1}lastQuarter(e){if(e instanceof Date){var t=go.today(),n=Io(t)-Io(e);return 1===n&&t.getFullYear()===e.getFullYear()||-3==n&&t.getFullYear()-1===e.getFullYear()}return!1}nextYear(e){return So(e,1)}thisYear(e){return So(e,0)}lastYear(e){return So(e,-1)}yearToDate(e){if(e instanceof Date){var t=go.today();return e.getFullYear()===t.getFullYear()&&e<=t}return!1}toJSON(){return{filter:"dynamic",type:this._type}}}function Io(e){var t=e.getMonth()+1;return t>=1&&t<=3?1:t>=4&&t<=6?2:t>=7&&t<=9?3:4}function So(e,t){if(e instanceof Date){var n=go.today();return n.setFullYear(n.getFullYear()+t),n.getFullYear()===e.getFullYear()}return!1}function Mo(e,t){if(e instanceof Date){var n=go.firstDayOfMonth(go.today());return n.setMonth(n.getMonth()+t,1),n.getTime()===go.firstDayOfMonth(e).getTime()}return!1}function Oo(e,t){if(t instanceof Date){var n=go.dayOfWeek(go.getDate(e),1),r=go.dayOfWeek(go.getDate(t),1);return n.getTime()===r.getTime()}return!1}var Ro;xo={Filter:ko,ValueFilter:Co,CustomFilter:zo,TopFilter:_o},[1,2,3,4].forEach((function(e){Eo.prototype["quarter"+e]=function(t){return t instanceof Date&&Io(t)===e}}));class Ho{constructor(e){this._sheet=e,this.selection=C.toRangeRef(),this.originalSelection=C.toRangeRef(),this._activeCell=C.toRangeRef(),this.originalActiveCell=C}currentSelectionRange(){return this.selection.rangeAt(this.selectionRangeIndex).toRangeRef()}currentOriginalNavigationRange(){return this.originalSelection.rangeAt(this.selectionRangeIndex).toRangeRef()}currentNavigationRange(){return this.singleCellSelection()?this._sheet._sheetRef:this.selection.rangeAt(this.selectionRangeIndex).toRangeRef()}nextNavigationRange(){return this.singleCellSelection()||(this.selectionRangeIndex=this.selection.nextRangeIndex(this.selectionRangeIndex)),this.currentNavigationRange()}previousNavigationRange(){return this.singleCellSelection()||(this.selectionRangeIndex=this.selection.previousRangeIndex(this.selectionRangeIndex)),this.currentNavigationRange()}activeCell(e){return e&&(this.originalActiveCell=e.first(),this._activeCell=this._sheet.unionWithMerged(e.toRangeRef()),this._sheet.focus(e),this._sheet.triggerChange({activeCell:!0,selection:!0})),this._activeCell}select(e,t,n,r){if(e){if(e.eq(this.originalSelection))return;if(this._sheet.triggerSelect(new Dr(e,this._sheet)),this.originalSelection=e,this.selection=t,!1!==n){if(e.isCell())this._sheet.forEachMergedCell(e,(function(t){e=t.topLeft})),this.activeCell(e);else{if(e=this.selection.lastRange(),r&&r._sheet===this._sheet&&r.panes[0]){var o,i,a,s,l,c,u=r.panes;for(o=0;o<u.length&&(!(i=u[o])._currentView||(a=i._currentView.rows.values,s=i._currentView.columns.values,l=new x(new w(a.start,s.start),new w(a.end,s.end)),(c=e.intersect(l))===b));o++);c&&c!==b&&(e=c)}this.activeCell(e.first())}this.selectionRangeIndex=this.selection.size()-1}else this._sheet.triggerChange({selection:!0})}return this.selection}singleCellSelection(){return this._activeCell.eq(this.selection)}}class Fo extends $r{constructor(){super(),this.events=["changing","commandRequest","afterInsertRow","afterDeleteRow","insertRow","insertColumn","deleteRow","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","dataBinding","dataBound","progress"],this._reinit.apply(this,arguments)}activeCellCustomEditor(){}_reinit(e,t,n,r,o,i,a){a=a||{},this._defaultCellStyle={background:a.background,color:a.color,fontFamily:a.fontFamily,fontSize:a.fontSize,italic:a.italic,bold:a.bold,underline:a.underline,wrap:a.wrap,verticalAlign:a.verticalAlign,textAlign:a.textAlign},this._rows=new no(e,n),this._columns=new no(t,r),this._filteredRows=new yr(0,e-1,!1),this._mergedCells=[],this._frozenRows=0,this._frozenColumns=0,this._suspendChanges=!1,this._filter=null,this._showGridLines=!0,this._gridLinesColor=null,this._grid=new io(this._rows,this._columns,e,t,o,i),this._sheetRef=this._grid.normalize(z),this._properties=new _r(e,t,this._defaultCellStyle),this._sorter=new so(this._grid,this._properties.sortable()),this._viewSelection=new Ho(this),this._editSelection=new Ho(this),this._formulaSelections=[],this._drawings=[]}resize(e,t){e=Math.max(e,1),t=Math.max(t,1);var n=this._rows._count,r=this._columns._count;e<n&&this.range(e,0,n-e,r).clear(),t<r&&this.range(0,t,n,r-t).clear(),this._rows._resize(e),this._columns._resize(t),this._grid._resize(e,t),this._properties._resize(e,t),this._sheetRef=this._grid.normalize(z),e>n&&(this.range(n,0,e-n,t).clear(),this._filteredRows.value(n,e-1,!1)),t>r&&this.range(0,r,e,t-r).clear(),this.triggerChange({layout:!0})}_resizeAddRow(e){this.resize(this._rows._count+(e||1),this._columns._count)}_resizeAddColumn(e){this.resize(this._rows._count,this._columns._count+(e||1))}_resizeDeleteRow(e){this._resizeAddRow(-(e||1))}_resizeDeleteColumn(e){this._resizeAddColumn(-(e||1))}_resizeForJSON(e){for(var t=e.length,n=0,r=0;r<e.length;++r){var o=e[r];if(null!=o.index&&(t=Math.max(t,o.index+1)),o.cells){n=Math.max(n,o.cells.length);for(var i=0;i<o.cells.length;++i){var a=o.cells[i];null!=a.index&&(n=Math.max(n,a.index+1))}}}this.resize(Math.max(t,this._rows._count),Math.max(n,this._columns._count))}_selectionState(){return this._inEdit?this._editSelection:this._viewSelection}navigator(){return this._navigator||(this._navigator=new ho(this)),this._navigator}axisManager(){return this._axisManager||(this._axisManager=new lo(this)),this._axisManager}_name(e){return e?(this._sheetName=e,this):this._sheetName}name(){return this._name()}_property(e,t,n){return void 0===t?e():(e(t),this.triggerChange(n))}_field(e,t,n){return void 0===t?this[e]:(this[e]=t,this.triggerChange(n))}suspendChanges(e){return void 0===e?this._suspendChanges:(this._suspendChanges=e,this)}triggerChange(e){return this._suspendChanges?e&&e.isValue&&(this._valueChanged=!0):this.trigger("change",e),this}triggerSelect(e){this.trigger("select",{range:e})}setDataSource(e,t){this.dataSourceBinder&&this.dataSourceBinder.destroy(),this.dataSourceBinder=new vo({dataSource:e,sheet:this,columns:t}),this.dataSource=this.dataSourceBinder.dataSource}hideColumn(e){if(!this.trigger("hideColumn",{index:e}))return this._property(this._columns.hide.bind(this._columns),e,{layout:!0})}unhideColumn(e){if(!this.trigger("unhideColumn",{index:e}))return this._property(this._columns.unhide.bind(this._columns),e,{layout:!0})}isHiddenColumn(e){return this._grid._columns.hidden(e)}_copyRange(e,t){var n=this._grid,r=n.rowCount,o=n.normalize(e.topLeft),i=n.normalize(e.bottomRight),a=o.col*r+o.row,s=i.col*r+i.row,l=t.col*r+t.row;this._properties.copy(a,s,l)}_saveModifiedFormulas(e,t){var n=Ro;Ro=e;var r=t();return Ro=n,r}_restoreModifiedFormulas(e){var t=this._workbook;e.forEach((function(e){var n,r=t.sheetByName(e.sheet);e instanceof re.runtime.Formula&&(n=r._grid.cellRefIndex(e),r._properties.set("formula",n,n,e)),e instanceof Rr.Validation&&(n=r._grid.cellRefIndex(e),r._properties.set("validation",n,n,e))}))}_adjustReferences(e,t,n,r){if(this._mergedCells=r.reduce((function(r,o){return(o=o.adjust(null,null,null,null,"row"===e,t,n))instanceof x&&r.push(o),r}),[]),this._workbook){var o=this._name();this._workbook._sheets.forEach((function(r){r._forFormulas((function(r){var i=r.adjust(o,e,t,n);i&&Ro&&Ro.push(i)})),r._forValidations((function(r){var i=r.adjust(o,e,t,n);i&&Ro&&Ro.push(i)}))})),this._workbook.adjustNames(o,"row"===e,t,n)}var i=this.select();(i=i.adjust(null,null,null,null,"row"===e,t,n))!==b&&this.select(i),("col"===e?this._columns:this._rows).adjust(t,n),"row"===e&&(n<0?this._filteredRows.copy(t-n,this._rows._count-1,t):(this._filteredRows.copy(t,this._rows._count,t+n),this._filteredRows.value(t,t+n-1,!1))),this._drawings.forEach((function(r){r.topLeftCell&&(r.topLeftCell=r.topLeftCell.adjust(null,null,null,null,"row"===e,t,n))}))}_forFormulas(e){var t=this._properties.get("formula").values(),n=t.length;t.forEach((function(t,r){e.call(this,t.value,r,n)}),this)}_forValidations(e){this._properties.get("validation").values().forEach((function(t){e.call(this,t.value)}),this)}insertRow(e,t){if(!this.trigger("insertRow",{index:e}))return this.batch((function(){this._resizeAddRow();var t=this._grid,n=t.columnCount,r=t.rowCount;if(e+1!==r){var o=this.frozenRows();e<o&&this.frozenRows(o+1);for(var i=this._mergedCells.slice(),a=0;a<n;a++){var s=new x(new w(e,a),new w(e,a)),l=t.normalize(s.topLeft),c=t.normalize(s.bottomRight),u=new x(new w(l.row,l.col),new w(r-2,c.col));this._copyRange(u,new w(l.row+1,l.col)),new Dr(s,this).clear({clearAll:!0,keepBorders:!0})}this._adjustReferences("row",e,1,i)}}),{recalc:!0,layout:!0,insertRow:{index:e},ref:new x(new w(e,0),new w(1/0,1/0))}),t||this.trigger("afterInsertRow",{index:e}),this}isEnabledRow(e){var t=new x(new w(e,0),new w(e,this._grid.columnCount));return new Dr(t,this).enable()}deleteRow(e,t){return this.isEnabledRow(e)?this.trigger("deleteRow",{index:e})?void 0:(this.batch((function(){var t=this._grid,n=t.columnCount,r=this.frozenRows();e<r&&this.frozenRows(r-1);for(var o=this._mergedCells.slice(),i=0;i<n;i++){var a=new x(new w(e,i),new w(e,i));new Dr(a,this).clear({clearAll:!0,keepBorders:!0});var s=t.normalize(a.topLeft),l=t.normalize(a.bottomRight),c=new x(new w(s.row+1,s.col),new w(1/0,l.col));this._copyRange(c,s);var u=t.normalize(c.bottomRight);new Dr(new x(u,u),this).clear()}this._adjustReferences("row",e,-1,o),this._resizeDeleteRow()}),{recalc:!0,layout:!0,deleteRow:{index:e},ref:new x(new w(e,0),new w(1/0,1/0))}),t||this.trigger("afterDeleteRow",{index:e}),this):this}insertColumn(e){if(!this.trigger("insertColumn",{index:e}))return this.batch((function(){this._resizeAddColumn();var t=this._grid,n=t.columnCount;if(e+1!==n){var r=this.frozenColumns();e<r&&this.frozenColumns(r+1);for(var o=this._mergedCells.slice(),i=n;i>=e;i--){var a=new x(new w(0,i),new w(1/0,i));if(new Dr(a,this).clear({clearAll:!0,keepBorders:!0}),i===e)break;var s=t.normalize(a.topLeft),l=t.normalize(a.bottomRight),c=new x(new w(s.row,s.col-1),new w(l.row,l.col-1));this._copyRange(c,s)}this._adjustReferences("col",e,1,o)}}),{recalc:!0,layout:!0,insertColumn:{index:e},ref:new x(new w(0,e),new w(1/0,1/0))}),this}isEnabledColumn(e){var t=new x(new w(0,e),new w(1/0,e));return new Dr(t,this).enable()}deleteColumn(e){return this.isEnabledColumn(e)?this.trigger("deleteColumn",{index:e})?void 0:(this.batch((function(){var t=this._grid,n=t.columnCount,r=this.frozenColumns();e<r&&this.frozenColumns(r-1);for(var o=this._mergedCells.slice(),i=e;i<n;i++){var a=new x(new w(0,i),new w(1/0,i));if(new Dr(a,this).clear({clearAll:!0,keepBorders:!0}),i===n-1)break;var s=t.normalize(a.topLeft),l=t.normalize(a.bottomRight),c=new x(new w(s.row,s.col+1),new w(l.row,l.col+1));this._copyRange(c,s)}this._adjustReferences("col",e,-1,o),this._resizeDeleteColumn()}),{recalc:!0,layout:!0,deleteColumn:{index:e},ref:new x(new w(0,e),new w(1/0,1/0))}),this):this}_filterRow(e){this._rows.hide(e),this._filteredRows.value(e,e,!0),this.triggerChange({layout:!0})}hideRow(e){if(!this.trigger("hideRow",{index:e}))return this._property(this._rows.hide.bind(this._rows),e,{layout:!0})}unhideRow(e){if(!this.trigger("unhideRow",{index:e}))return this._property(this._rows.unhide.bind(this._rows),e,{layout:!0})}isHiddenRow(e){return this._grid._rows.hidden(e)}isFilteredRow(e){return this._filteredRows.value(e)}columnWidth(e,t){return this._property(this._columns.value.bind(this._columns,e,e),t,{layout:!0})}rowHeight(e,t){return this._property(this._rows.value.bind(this._rows,e,e),t,{layout:!0})}frozenRows(e){return this._field("_frozenRows",e,{layout:!0})}frozenColumns(e){return this._field("_frozenColumns",e,{layout:!0})}showGridLines(e){return this._field("_showGridLines",e,{layout:!0})}gridLinesColor(e){return this._field("_gridLinesColor",e,{layout:!0})}_ref(e,t,n,r){var o=null;return e instanceof g?e:e instanceof Dr?e._ref.toRangeRef():("string"==typeof e?o=re.parseReference(e):(n||(n=1),r||(r=1),o=new x(new w(e,t),new w(e+n-1,t+r-1))),o)}range(e,t,n,r){return new Dr(this._ref(e,t,n,r),this)}_getMergedCells(e){var t=this._grid,n={},r={},o=!1;return this.forEachMergedCell(e,(function(i){var a=i.topLeft;t.forEach(i,(function(t){a.eq(t)?(n[t.print()]=i,o=!0):e.contains(t)&&(r[t.print()]=a,o=!0)}))})),{primary:n,secondary:r,hasMerged:o}}forEachMergedCell(e,t){var n=!1;void 0===t&&(t=e,n=!0),this._mergedCells.forEach((function(r){(n||r.intersects(e))&&t(r)}))}forEachFilterHeader(e,t){var n=!1;if(void 0===t&&(t=e,n=!0),this._filter){var r=[];this._filter.ref.forEachColumn((function(t){(n||t.intersects(e))&&r.push(t.topLeft)})),this._mergedCells.forEach((function(e){r=r.map((function(t){return e.intersects(t)?e:t}))})),r.reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]).forEach(t)}}forEach(e,t){var n=this;function r(e){e instanceof x||(e=e.toRangeRef());var r,o,i=n._grid.normalize(e.topLeft),a=n._grid.normalize(e.bottomRight);function s(e){t(o++,r,e)}for(r=i.col;r<=a.col;r++){o=i.row;var l=n._grid.index(o,r),c=n._grid.index(a.row,r);n._properties.forEach(l,c,s)}}e instanceof x||(e=n._ref(e)),e instanceof k?e.forEach(r):r(e)}startResizing(e){this._initialPosition=e,this._resizeInProgress=!0}startAutoFill(){this._autoFillInProgress=!0;var e=this.select();this._autoFillOrigin=e,this._autoFillDest=e,this.triggerChange({selection:!0})}updateAutoFill(e,t,n,r){this._autoFillDest=e,this._autoFillPunch=t,this._autoFillHint=n,this._autoFillDirection=r,this.triggerChange({selection:!0})}autoFillRef(){return this._autoFillDest}autoFillPunch(){return this._autoFillPunch}autoFillInProgress(){return this._autoFillInProgress}resizingInProgress(){return this._resizeInProgress}draggingInProgress(){return this._draggingInProgress}completeResizing(){if(this._resizeInProgress){this._resizeInProgress=!1;var e=this.resizeHintPosition();if(this._initialPosition&&e){var t=this.resizeHandlePosition();t.col!==-1/0?this.trigger("commandRequest",{command:"ColumnWidthCommand",options:{target:t.col,value:this.columnWidth(t.col)-(this._initialPosition.x-e.x)}}):this.trigger("commandRequest",{command:"RowHeightCommand",options:{target:t.row,value:this.rowHeight(t.row)-(this._initialPosition.y-e.y)}})}else this.trigger("change",{resize:!0})}}_visualRange(e){for(var t=this._mergedCells,n=t.length;--n>=0;)if(t[n].intersects(e))return this.range(t[n]);return this.range(e)}_renderComment(e){var t=null;if(e){var n=this._visualRange(e);t=n.comment(),e=n._ref.toRangeRef().topLeft}t?this._commentRef&&e.eq(this._commentRef)||(this._commentRef=e,this.trigger("change",{comment:!0})):this._commentRef&&(this._commentRef=null,this.trigger("change",{comment:!0}))}resizeHandlePosition(){return this._resizeHandlePosition}resizeHintPosition(e){return void 0!==e&&(this._resizeHintPosition=e,this.trigger("change",{resize:!0})),this._resizeHintPosition}removeResizeHandle(){this._resizeHandlePosition&&(this._resizeHintPosition=void 0,this._resizeHandlePosition=void 0,this._initialPosition=void 0,this.trigger("change",{resize:!0}))}positionResizeHandle(e){this._resizeHandlePosition=e,this.trigger("change",{resize:!0})}startDragging(e){this._draggingInProgress=e}completeDragging(){var e=this._draggingInProgress;if(e){this._draggingInProgress=null;var t=e.drawing;if(t.eq(e.copy))return;if(t.topLeftCell){var n=this.drawingBoundingBox(t),r=this._rows.indexVisible(n.top),o=this._columns.indexVisible(n.left),i=new w(r,o),a=this.refBoundingBox(i);t.offsetX=n.left-a.left,t.offsetY=n.top-a.top,t.topLeftCell=i,this.triggerChange({dragging:!0})}this.trigger("commandRequest",{command:"DrawingUpdateCommand",options:{sheet:this,drawing:t,previous:e.copy}})}}startSelection(e){this.frozenRows()||this.frozenColumns()?this._currentView=null:e&&e._sheet===this&&(this._currentView=e),this._selectionInProgress=!0}completeSelection(){if(this._selectionInProgress&&(this._selectionInProgress=!1,this._resizeHintPosition=void 0,this.trigger("change",{selection:!0})),this._autoFillInProgress){this._autoFillInProgress=!1;var e=this._autoFillDest,t=this._autoFillOrigin;this._autoFillPunch?this.trigger("commandRequest",{command:"ClearContentCommand",options:{operatingRange:this.range(this._autoFillPunch)}}):e.eq(t)?this.triggerChange({selection:!0}):this.trigger("commandRequest",{command:"AutoFillCommand",options:{operatingRange:this.range(e),origin:this.range(t)}}),this._autoFillDest=null,this._autoFillPunch=null,this._autoFillOrigin=null,this.select(e)}}selectionInProgress(){return this._selectionInProgress}select(e,t){var n,r=this._selectionState();return e&&(e=this._ref(e),e=this._grid.normalize(e),n=this._grid.isAxis(e)?e:this.unionWithMerged(e)),r.select(e,n,t,this._currentView)}originalSelect(){return this._selectionState().originalSelection}currentSelectionRange(){return this._selectionState().currentSelectionRange()}currentOriginalSelectionRange(){return this._selectionState().currentOriginalNavigationRange()}currentNavigationRange(){return this._selectionState().currentNavigationRange()}nextNavigationRange(){return this._selectionState().nextNavigationRange()}previousNavigationRange(){return this._selectionState().previousNavigationRange()}selectionRangeIndex(){return this._selectionState().selectionRangeIndex}activeCell(e){return this._selectionState().activeCell(e)}originalActiveCell(){return this._selectionState().originalActiveCell}singleCellSelection(){return this._selectionState().singleCellSelection()}unionWithMerged(e){var t=this._mergedCells;return e.map((function(e){return e.toRangeRef().union(t)}))}trim(e){var t=[],n=this._grid;return this._properties.forEachProperty((function(r){t.push(n.trim(e,r.list))})),this.unionWithMerged(e.topLeft.toRangeRef().union(t))}focus(e){if(!e){var t=this._focus;return this._focus=null,t}this._focus=e.toRangeRef()}activeCellSelection(){return new Dr(this._grid.normalize(this.activeCell()),this)}selection(){return new Dr(this._grid.normalize(this._selectionState().selection),this)}selectedHeaders(){var e=this.select(),t={},n={},r=!1,o=!1,i=this._grid.rowCount-1,a=this._grid.columnCount-1;return e.forEach((function(e){var s,l="partial",c="partial",u=(e=e.toRangeRef()).bottomRight,h=e.topLeft,d=h.col<=0&&u.col>=a,p=h.row<=0&&u.row>=i;if(p&&(o=!0,c="full"),d&&(r=!0,l="full"),!p)for(s=h.row;s<=u.row;s++)"full"!==t[s]&&(t[s]=l);if(!d)for(s=h.col;s<=u.col;s++)"full"!==n[s]&&(n[s]=c)})),{rows:t,cols:n,allRows:o,allCols:r,all:o&&r}}isInEditMode(e){if(void 0===e)return this._inEdit;this._inEdit=e,e&&(this._editSelection.selection=this._viewSelection.selection.clone(),this._editSelection.originalSelection=this._viewSelection.originalSelection.clone(),this._editSelection._activeCell=this._viewSelection._activeCell.clone(),this._editSelection.originalActiveCell=this._viewSelection.originalActiveCell.clone())}_setFormulaSelections(e){this._formulaSelections=(e||[]).slice(),this.triggerChange({selection:!0})}_viewActiveCell(){return this._viewSelection._activeCell.toRangeRef()}toJSON(){var e={},t=this._rows.toJSON("height",e),n=this._columns.toJSON("width",{}),o=this._viewSelection,i=[],a=this._defaultCellStyle||{};this.forEach(z,(function(n,o,s){if(function(e){Object.keys(a).forEach((function(t){e[t]===a[t]&&delete e[t]}))}(s),0!==Object.keys(s).length){s.link&&i.push({ref:g.display(null,n,o),target:s.link});var l=e[n];void 0===l&&(l=t.length,t.push({index:n}),e[n]=l),n=t[l],s.index=o,void 0===n.cells&&(n.cells=[]),s.formula&&(s.formula.arrayFormulaRange?s.formula={src:s.formula.toString(),ref:s.formula.arrayFormulaRange.toString()}:s.formula=s.formula.toString()),s.validation&&(s.validation=s.validation.toJSON()),s.color&&(s.color=(0,r.parseColor)(s.color).toCss()),s.background&&(s.background=(0,r.parseColor)(s.background).toCss()),s.borderTop&&s.borderTop.color&&(s.borderTop.color=(0,r.parseColor)(s.borderTop.color).toCss()),s.borderBottom&&s.borderBottom.color&&(s.borderBottom.color=(0,r.parseColor)(s.borderBottom.color).toCss()),s.borderRight&&s.borderRight.color&&(s.borderRight.color=(0,r.parseColor)(s.borderRight.color).toCss()),s.borderLeft&&s.borderLeft.color&&(s.borderLeft.color=(0,r.parseColor)(s.borderLeft.color).toCss()),n.cells.push(s)}}));var s={name:this._name(),rows:t,columns:n,selection:o.selection.toString(),activeCell:o.activeCell().toString(),frozenRows:this.frozenRows(),frozenColumns:this.frozenColumns(),showGridLines:this.showGridLines(),gridLinesColor:this.gridLinesColor(),mergedCells:this._mergedCells.map((function(e){return e.toString()})),hyperlinks:i,defaultCellStyle:a,drawings:this._drawings.map((function(e){return e.toJSON()}))};return this._sort&&(s.sort={ref:this._sort.ref.toString(),columns:this._sort.columns.map((function(e){return{index:e.index,ascending:e.ascending}}))}),this._filter&&(s.filter={ref:this._filter.ref.toString(),columns:this._filter.columns.map((function(e){var t=e.filter.toJSON();return t.index=e.index,t}))}),s}fromJSON(e){this.batch((function(){if(void 0!==e.name&&this._name(e.name),void 0!==e.frozenColumns&&this.frozenColumns(e.frozenColumns),void 0!==e.frozenRows&&this.frozenRows(e.frozenRows),void 0!==e.columns&&this._columns.fromJSON("width",e.columns),void 0!==e.rows){this._resizeForJSON(e.rows),this._rows.fromJSON("height",e.rows);for(var t=0;t<e.rows.length;t++){var n=e.rows[t],r=n.index;if(void 0===r&&(r=t),n.cells)for(var o=0;o<n.cells.length;o++){var i=n.cells[o],a=i.index;if(void 0===a&&(a=o),i.formula){var s="string"!=typeof i.formula,l=s?i.formula.src:i.formula,c=this._compileFormula(r,a,l);s&&c.setArrayFormulaRange(re.parseReference(i.formula.ref)),i.formula=c}i.validation&&(i.validation=this._compileValidation(r,a,i.validation)),this._properties.fromJSON(this._grid.index(r,a),i)}}}if(e.drawings&&(this._drawings=e.drawings.map(Do.fromJSON)),e.selection&&(this._viewSelection.selection=this._viewSelection.originalSelection=this._ref(e.selection)),e.activeCell){var u=this._ref(e.activeCell);this._viewSelection._activeCell=u.toRangeRef(),this._viewSelection.originalActiveCell=u.first()}if(e.mergedCells&&e.mergedCells.forEach((function(e){this.range(e).merge()}),this),e.filter){var h=e.filter.ref,d=void 0===e.filter.columns?[]:e.filter.columns;h&&(this._filter={ref:this._ref(h),columns:d.map((function(e){return{index:e.index,filter:ko.create(e)}}))},this._refreshFilter())}void 0!==e.showGridLines&&(this._showGridLines=e.showGridLines),this._gridLinesColor=e.gridLinesColor,e.sort&&this._sortBy(this._ref(e.sort.ref),e.sort.columns.slice(0))})),this._rows._refresh(),this._columns._refresh()}formula(e){return this._properties.get("formula",this._grid.cellRefIndex(e))}validation(e){return this._properties.get("validation",this._grid.cellRefIndex(e))}resetFormulas(){this._forFormulas((function(e){e.reset()}))}resetValidations(){this._forValidations((function(e){e.reset()}))}recalc(e,t){var n=this._properties.get("formula").values(),r=n.length,o=0,i=0;if(!r&&t)return t();function a(){o--,i!==r||o||t()}for(;i<r;)o++,n[i++].value.exec(e,t?a:null)}revalidate(e){var t=this;this._forValidations((function(n){var r=new w(n.row,n.col),o=new x(r,r);n.exec(e,t._get(o,"value"),t._get(o,"format"))}))}_value(e,t,n){var r=this._grid.index(e,t);if(void 0===n)return this._properties.get("value",r);this._properties.set("value",r,r,n)}_validation(e,t){var n=this._grid.index(e,t);return this._properties.get("validation",n)}_compileValidation(e,t,n){return n instanceof Rr.Validation?n.clone(this._name(),e,t):(null!=n.from&&(n.from=(n.from+"").replace(/^=/,"")),null!=n.to&&(n.to=(n.to+"").replace(/^=/,"")),Rr.compile(this._name(),e,t,n))}_compileFormula(e,t,n){return n=n.replace(/^=/,""),n=re.parseFormula(this._name(),e,t,n),re.compile(n)}_copyValuesInRange(e,t,n,r){var o,i,a;for(o=e.col;o<=t.col;o++){i=this._grid.index(e.row,o),a=this._grid.index(t.row,o);for(var s=i,l=e.row;s<=a;++s,++l)n=n.clone(this._name(),l,o),this._properties.set(r,s,s,n)}return n}_set(e,t,n){var r,o,i,a=this._grid.normalize(e.topLeft),s=this._grid.normalize(e.bottomRight);if("number"==typeof n&&(n=re.runtime.limitPrecision(n)),n&&"formula"===t)"string"==typeof n&&(n=this._compileFormula(a.row,a.col,n)),n=this._copyValuesInRange(a,s,n,"formula");else if(n&&"validation"===t)n=this._compileValidation(a.row,a.col,n),n=this._copyValuesInRange(a,s,n,"validation");else for(r=a.col;r<=s.col;r++)o=this._grid.index(a.row,r),i=this._grid.index(s.row,r),this._properties.set(t,o,i,n),"formula"===t&&this._properties.set("value",o,i,null)}_get(e,t){var n=this._grid.normalize(e.topLeft),r=this._grid.index(n.row,n.col);return this._properties.get(t,r)}batch(e,t){var n=this.suspendChanges();return this.suspendChanges(!0),this._valueChanged=!1,e.call(this),t||(t={recalc:!0}),this._valueChanged&&(t.isValue=!0),this.suspendChanges(n).triggerChange(t)}_sortBy(e,t){var n=null;t.forEach((function(t){n=this._sorter.sortBy(e,t.index,this._properties.get("value"),t.ascending,n)}),this),this._sort={ref:e,columns:t},this._refreshFilter(),this.forEach(e,function(e,t,n){var r=n.formula;if(r){var o=e-r.row;if(0!==o){var i=o>0?r.row:r.row+o;r.adjust(this.name(),"row",i,o)}}}.bind(this)),this.triggerChange({recalc:!0})}_refreshFilter(){this._filter&&this._filterBy(this._filter.ref,this._filter.columns)}_filterBy(e,t){this.batch((function(){for(var n=e.topLeft.row;n<=e.bottomRight.row;n++)this.isFilteredRow(n)&&(this._filteredRows.value(n,n,!1),this._rows.unhide(n));t.forEach((function(t){var n=e.resize({top:1}).toColumn(t.index),r=[];if(n!==b){this.forEach(n,(function(e,t,n){n.row=e,r.push(n)})),t.filter.prepare(r);for(var o=0;o<r.length;o++){var i=r[o],a=t.filter.value(i);!1===t.filter.matches(a)&&this._filterRow(i.row)}}}),this),this._filter={ref:e,columns:t}}),{recalc:!0,layout:!0,filter:!0})}filterColumn(e){var t=this.filter().ref;return e.toRangeRef().topLeft.col-t.topLeft.col}filter(){return this._filter}clearFilter(e){this._clearFilter(e instanceof Array?e:[e])}_clearFilter(e){this._filter&&this.batch((function(){this._filter.columns=this._filter.columns.filter((function(t){return e.indexOf(t.index)<0})),this._refreshFilter()}),{recalc:!0,layout:!0,filter:!0})}getAxisState(){return{rows:this._rows.getState(),columns:this._columns.getState()}}setAxisState(e){this._rows.setState(e.rows),this._columns.setState(e.columns),this.triggerChange({layout:!0})}getState(){return{rows:this._rows.getState(),columns:this._columns.getState(),mergedCells:this._mergedCells.map((function(e){return e.clone()})),properties:this._properties.getState()}}setState(e){this._rows.setState(e.rows),this._columns.setState(e.columns),this._mergedCells=e.mergedCells,this._properties.setState(e.properties),this.triggerChange(I)}_merge(e){var t,n=this._mergedCells,r=this;return this.batch((function(){t=e.map((function(e){if(e instanceof w)return e;var t=e.toRangeRef().union(n,(function(e){n.splice(n.indexOf(e),1)})),o=new Dr(t,r),i=o._get("formula"),a=o.value(),s=o.format(),l=o.background();o.value(null),o.format(null),o.background(null);var c=new Dr(t.collapse(),r);return i?c._set("formula",i):c.value(a),c.format(s),c.background(l),n.push(t),t}));var o=r._viewSelection;o.selection=r.unionWithMerged(o.originalSelection),o._activeCell=r.unionWithMerged(o.originalActiveCell)}),{activeCell:!0,selection:!0}),t}_useCultureDecimals(){return this._workbook&&this._workbook.options.useCultureDecimals}withCultureDecimals(e){var t=".";return this._useCultureDecimals()&&(t=W().numbers.symbols.decimal),re.withDecimalSeparator(t,e)}drawingBoundingBox(e){var t=e.offsetX,n=e.offsetY;return e.topLeftCell&&(t+=this._columns.sum(0,e.topLeftCell.col-1),n+=this._rows.sum(0,e.topLeftCell.row-1)),new oo(t,n,e.width,e.height)}refBoundingBox(e){return this._grid.rectangle(e.toRangeRef())}addDrawing(e,t){return e instanceof Do||(e=new Do(e)),this._drawings.push(e),t&&(this._activeDrawing=e),this.triggerChange({layout:!0}),e}removeDrawing(e){var t=this._drawings.indexOf(e);t>=0&&(this._drawings.splice(t,1),this.triggerChange({layout:!0}))}usesImage(e){for(var t=this._drawings.length;--t>=0;)if(this._drawings[t].image===e)return!0;return!1}isMerged(e){for(var t=this._mergedCells,n=t.length;--n>=0;)if(t[n].eq(e))return!0;return!1}}class Do{constructor(e){this.reset(e)}toJSON(){return{topLeftCell:this.topLeftCell.toString(),offsetX:this.offsetX,offsetY:this.offsetY,width:this.width,height:this.height,image:this.image,opacity:this.opacity}}clone(){return new Do(this)}reset(e){var t=e.topLeftCell;"string"==typeof t&&(t=re.parseReference(t)),this.topLeftCell=t,this.offsetX=e.offsetX||0,this.offsetY=e.offsetY||0,this.width=e.width,this.height=e.height,this.image=e.image,this.opacity=null!=e.opacity?e.opacity:1}eq(e){return(!this.topLeftCell&&!e.topLeftCell||this.topLeftCell&&e.topLeftCell&&this.topLeftCell.eq(e.topLeftCell))&&this.offsetX===e.offsetX&&this.offsetY===e.offsetY&&this.width===e.width&&this.height===e.height&&this.image===e.image&&this.opacity===e.opacity}}Do.fromJSON=function(e){return new Do(e)};let Ao={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],executive:[521.86,756],folio:[612,936],legal:[612,1008],letter:[612,792],tabloid:[792,1224]};function Vo(e){return e*(72/25.4)}function Bo(e){return Vo(10*e)}function No(e){return 72*e}function Lo(e,t){if("number"==typeof e)return e;if("string"==typeof e){let t;if(t=/^\s*([0-9.]+)\s*(mm|cm|in|pt)\s*$/.exec(e),t){let e=parseFloat(t[1]);if(!isNaN(e))return"pt"===t[2]?e:{mm:Vo,cm:Bo,in:No}[t[2]](e)}}if(null!=t)return t;throw new Error("Can't parse unit: "+e)}let Po,To=.8;function jo(e,t,n,r,o){let i=0,a=[],s=t,l=0;return t&&n&&(n*=t),e.forEach((function(e,c){null!=r&&c<r&&(l+=e),t&&i+e>s&&(s-i<n&&(i=t*Math.ceil(i/t)+l,l>0&&o.push(i-l)),s+=t*Math.ceil(e/t)),a.push(i),i+=e})),a.push(i),a}function Uo(e,t,n){let r=e._grid;t=r.normalize(t);let o=r.rectangle(t),i=[];e._drawings.forEach((function(t){let n=e.drawingBoundingBox(t);n.intersects(o)&&i.push({drawing:t,box:n.offset(-o.left,-o.top)})}));let a=[],s=[],l=[],c=e._getMergedCells(t),u=-1,h=-1;e.forEach(t,(function(r,o,d){let p=r-t.topLeft.row,f=o-t.topLeft.col,m=e.rowHeight(r),v=e.columnWidth(o);n.forScreen||(d.drawings=i.filter((function(t){let n=t.drawing.topLeftCell;if(n&&n.row==r&&n.col==o)return u=Math.max(u,e._rows.index(t.box.bottom)),h=Math.max(h,e._columns.index(t.box.right)),!0}))),f||s.push(m),p||l.push(v);let g=new w(r,o).print();if(c.secondary[g])return;d.row=p,d.col=f;let b=c.primary[g];if(b?(delete c.primary[g],d.merged=!0,d.rowspan=b.height(),d.colspan=b.width(),n.forScreen&&(d.width=e._columns.sum(b.topLeft.col,b.bottomRight.col),d.height=e._rows.sum(b.topLeft.row,b.bottomRight.row))):(d.rowspan=1,d.colspan=1),!e._grid._columns.sum(o,o+d.colspan-1)||!e._grid._rows.sum(r,r+d.rowspan-1))return;let y=n.forScreen||function(e){return null!=e.value||e.merged||null!=e.background||null!=e.borderRight||null!=e.borderBottom||null!=e.dBorders||null!=e.validation&&!e.validation.value||e.drawings&&e.drawings.length}(d);(n.emptyCells||y)&&(y?(u=Math.max(u,p+d.rowspan-1),h=Math.max(h,f+d.colspan-1)):d.empty=!0,a.push(d))})),n.forScreen||(s=s.slice(0,u+1),l=l.slice(0,h+1));let d=n.pageWidth,p=n.pageHeight,f=n.scale||1;if(n.fitWidth){let e=l.reduce(Ko,0);e>d&&(f=d/e)}d=Math.ceil(d/f),p=Math.ceil(p/f);let m=[],v=jo(s,p||0,n.maxEmpty,n.headerRows,m),g=jo(l,d||0,n.maxEmpty),b=0,y=0,x=[];return a=a.filter((function(e){return!(e.empty&&(e.row>u||e.col>h)||(n.headerRows&&e.row<n.headerRows&&x.push(e),e.left=g[e.col],e.top=v[e.row],e.merged?n.forScreen?(e.right=e.left+e.width,e.bottom=e.top+e.height):(e.right=qo(g,e.col+e.colspan),e.bottom=qo(v,e.row+e.rowspan),e.width=e.right-e.left,e.height=e.bottom-e.top):(e.width=l[e.col],e.height=s[e.row],e.bottom=e.top+e.height,e.right=e.left+e.width),n.forScreen||e.drawings.forEach((function(t){let n=t.box;n.left=e.left+t.drawing.offsetX,n.top=e.top+t.drawing.offsetY,n.right=n.left+n.width,n.bottom=n.top+n.height})),b=Math.max(b,e.right),y=Math.max(y,e.bottom),0))})),Object.keys(c.primary).forEach((function(n){let r=c.primary[n];e.forEach(r.topLeft.toRangeRef(),(function(n,o,i){let s=n-t.topLeft.row,l=o-t.topLeft.col;i.merged=!0,i.colspan=r.width(),i.rowspan=r.height(),i.top=s<0?-e._rows.sum(n,n-s-1):v[s],i.left=l<0?-e._columns.sum(o,o-l-1):g[l],i.height=e._rows.sum(r.topLeft.row,r.bottomRight.row),i.width=e._columns.sum(r.topLeft.col,r.bottomRight.col),i.height>0&&i.width>0&&(i.right=i.left+i.width,i.bottom=i.top+i.height,i.row=s,i.col=l,a.push(i))}))})),n.headerRows&&(m.forEach((function(e){x.forEach((function(t){var n,r;(n=t,r||(r={}),t=Object.assign?Object.assign(r,n):Object.keys(n).reduce((function(e,t){return e[t]=n[t],e}),r)).top+=e,t.bottom=t.top+t.height,a.push(t)})),v.push(e)})),v.sort($o)),{width:b,height:y,cells:a.sort(Go),scale:f,xCoords:g,yCoords:v,drawings:i}}function Wo(e,t){return e.size===t.size&&e.color===t.color}function Ko(e,t){return e+t}function qo(e,t){return t<e.length?e[t]:e[e.length-1]}function Go(e,t){return e.top<t.top?-1:e.top==t.top?e.left<t.left?-1:e.left==t.left?0:1:1}function $o(e,t){return e<t?-1:e>t?1:0}function Yo(e,t){if(e.indent){let n=1.4*e.indent;switch(t.textAlign){case null:case"left":t.paddingLeft=n+"ch";break;case"right":t.paddingRight=n+"ch";break;case"center":t.paddingLeft=n/2+"ch",t.paddingRight=n/2+"ch"}}}function Zo(e,t,n,o){null==n&&null==o&&(o=t,n={},t=z),null==o&&(o=n,t instanceof Range||t instanceof g||"string"==typeof t?n={}:(n=t,t=z)),n=Object.assign({},{paperSize:"A4",landscape:!0,margin:"1cm",guidelines:!0,guideColor:"#aaa",emptyCells:!0,fitWidth:!1,center:!1,headerRows:null,maxEmpty:.2,scale:1},n);let i=new r.drawing.Group,a=function(e){if("function"!=typeof e){let t=e;e=function(e,n){return e in t?t[e]:n}}let t=e("paperSize",Ao.a4);if(!t)return{};if("string"==typeof t&&(t=Ao[t.toLowerCase()],null==t))throw new Error("Unknown paper size");t[0]=Lo(t[0]),t[1]=Lo(t[1]),e("landscape",!1)&&(t=[Math.max(t[0],t[1]),Math.min(t[0],t[1])]);let n=e("margin");return n&&("string"==typeof n||"number"==typeof n?(n=Lo(n,0),n={left:n,top:n,right:n,bottom:n}):n={left:Lo(n.left,0),top:Lo(n.top,0),right:Lo(n.right,0),bottom:Lo(n.bottom,0)},e("addMargin")&&(t[0]+=n.left+n.right,t[1]+=n.top+n.bottom)),{paperSize:t,margin:n}}(n);i.options.set("pdf",{author:n.author,creator:n.creator,date:n.date,keywords:n.keywords,margin:a.margin,multiPage:!0,paperSize:a.paperSize,subject:n.subject,title:n.title,autoPrint:n.autoPrint});let s=a.paperSize[0],l=a.paperSize[1];a.margin&&(s-=a.margin.left+a.margin.right+1,l-=a.margin.top+a.margin.bottom+1),n.pageWidth=s,n.pageHeight=l;let c=Uo(e,e._ref(t),n);(function(e,t,n,o){let i=Math.ceil(t.width/o.pageWidth),a=Math.ceil(t.height/o.pageHeight),s=Math.ceil(o.pageWidth/t.scale),l=Math.ceil(o.pageHeight/t.scale);for(let e=0;e<a;++e)for(let t=0;t<i;++t)c(e,t);function c(i,a){let c=a*s,u=c+s,h=i*l,d=h+l,p=0,f=0;function m(e){return!(e.right<=c||e.left>=u||e.bottom<=h||e.top>=d||(p=Math.max(e.bottom,p),f=Math.max(e.right,f),0))}let v=t.cells.filter(m),g=t.drawings.filter((function(e){return m(e.box)}));if(p=Math.min(p,d),f=Math.min(f,u),v.length||g.length){let i=new r.drawing.Group;n.append(i);let a=new r.drawing.Group;i.append(a),a.clip(r.drawing.Path.fromRect(new r.geometry.Rect([c-1,h-1],[f+1,p+1])));let s=r.geometry.Matrix.scale(t.scale,t.scale).multiplyCopy(r.geometry.Matrix.translate(-c,-h));if((o.hCenter||o.vCenter)&&(s=s.multiplyCopy(r.geometry.Matrix.translate(o.hCenter?(u-f)/2:0,o.vCenter?(d-p)/2:0))),a.transform(s),o.guidelines){let e=null;t.xCoords.forEach((function(t){(t=Math.min(t,f))!==e&&t>=c&&t<=u&&(e=t,a.append((new r.drawing.Path).moveTo(t,h).lineTo(t,p).close().stroke(o.guideColor,To)))})),e=null,t.yCoords.forEach((function(t){(t=Math.min(t,p))!==e&&t>=h&&t<=d&&(e=t,a.append((new r.drawing.Path).moveTo(c,t).lineTo(f,t).close().stroke(o.guideColor,To)))}))}let l=Jo();v.forEach((function(t){!function(e,t,n){let o=new r.drawing.Group;t.append(o);let i=new r.geometry.Rect([e.left,e.top],[e.width,e.height]);if(e.background||e.merged){let t=i;n.guidelines&&(t=i.clone(),t.origin.x+=To/2+.1,t.origin.y+=To/2+.1,t.size.width-=To+.2,t.size.height-=To+.2),o.append(new r.drawing.Rect(t).fill(e.background||"#fff").stroke(null))}e.dBorders&&(2&e.dBorders.type&&o.append((new r.drawing.Path).moveTo(e.left,e.bottom).lineTo(e.right,e.top).stroke(e.dBorders.color,e.dBorders.size)),1&e.dBorders.type&&o.append((new r.drawing.Path).moveTo(e.left,e.top).lineTo(e.right,e.bottom).stroke(e.dBorders.color,e.dBorders.size)));let a=e.value;if(null!=a){let t="number"==typeof a?"number":null,n=new r.drawing.Group;n.clip(r.drawing.Path.fromRect(i)),o.append(n);let s,l=e.format;if(l||"number"!=t||a==Math.floor(a)||(l="0.##############"),l?(s=Wn.textAndColor(a,l),a=s.text,s.type&&(t=s.type)):a+="",!e.textAlign)switch(t){case"number":case"date":case"percent":case"currency":e.textAlign="right";break;case"boolean":e.textAlign="center"}!function(e,t,n,o){Po||(Po=document.createElement("div"),Po.style.position="fixed",Po.style.left="0px",Po.style.top="0px",Po.style.visibility="hidden",Po.style.overflow="hidden",Po.style.boxSizing="border-box",Po.style.lineHeight="normal",document.body.appendChild(Po)),Po.firstChild&&Po.removeChild(Po.firstChild),Po.style.padding="2px 4px",Po.style.color=t,Po.style.font=function(e){let t=[];return e.italic&&t.push("italic"),e.bold&&t.push("bold"),t.push((e.fontSize||12)+"px"),t.push(e.fontFamily||"Arial"),t.join(" ")}(n),Po.style.width=n.width+"px",Po.style.textAlign=n.textAlign||"left",Po.style.textDecoration=n.underline?"underline":"none",Yo(n,Po.style),n.wrap?(Po.style.whiteSpace="pre-wrap",Po.style.overflowWrap=Po.style.wordWrap="break-word"):(Po.style.whiteSpace="pre",Po.style.overflowWrap=Po.style.wordWrap="normal"),Po.appendChild(document.createTextNode(e));let i=0;switch(n.verticalAlign){case"center":i=n.height-Po.offsetHeight>>1;break;case void 0:case null:case"bottom":i=n.height-Po.offsetHeight}i<0&&(i=0);let a=r.drawDOM.drawText(Po);a.transform(r.geometry.Matrix.translate(n.left,n.top+i)),o.append(a)}(a,s&&s.color||e.color||"#000",e,n)}}(t,a,o),l.add(t,e)}));let m=new r.drawing.Group;l.vert.forEach((function(e){e.forEach((function(e){e.rendered||(e.rendered=!0,m.append((new r.drawing.Path).moveTo(e.x,e.top).lineTo(e.x,e.bottom).close().stroke(e.color,e.size)))}))})),l.horiz.forEach((function(e){e.forEach((function(e){e.rendered||(e.rendered=!0,m.append((new r.drawing.Path).moveTo(e.left,e.y).lineTo(e.right,e.y).close().stroke(e.color,e.size)))}))})),a.append(m),g.forEach((function(t){let n=t.drawing,o=n.image;if(null!=o){let i=t.box,s=e._workbook.imageUrl(o);a.append(new n.Image(s,new r.geometry.Rect([i.left,i.top],[i.width,i.height])).opacity(n.opacity))}}))}}})(e,c,i,n),o(i)}function Xo(){}function Jo(){let e=new Xo,t=new Xo;function n(e,n,r,o,i,a){let s=t[n]||(t[n]=new Xo),l=e>0&&s[e-1];l&&Wo(l,r)?(s[e]=l,l.bottom=a):s[e]={size:r.size,color:r.color||"#000",x:o,top:i,bottom:a}}function r(t,n,r,o,i,a){let s=e[t]||(e[t]=new Xo),l=n>0&&s[n-1];l&&Wo(l,r)?(s[n]=l,l.right=a):s[n]={size:r.size,color:r.color||"#000",y:o,left:i,right:a}}return{add:function(e,t){if(t){let n=t._properties,r=t._grid;e.borderLeft=n.get("vBorders",r.index(e.row,e.col)),e.borderRight=n.get("vBorders",r.index(e.row,e.col+e.colspan)),e.borderTop=n.get("hBorders",r.index(e.row,e.col)),e.borderBottom=n.get("hBorders",r.index(e.row+e.rowspan,e.col))}e.borderLeft&&n(e.row,e.col,e.borderLeft,e.left,e.top,e.bottom),e.borderRight&&n(e.row,e.col+e.colspan,e.borderRight,e.right,e.top,e.bottom),e.borderTop&&r(e.row,e.col,e.borderTop,e.top,e.left,e.right),e.borderBottom&&r(e.row+e.rowspan,e.col,e.borderBottom,e.bottom,e.left,e.right)},horiz:e,vert:t}}Fo.prototype.draw=function(e,t,n){let r=this;r._workbook?r.recalc(r._workbook._context,(function(){Zo(r,e,t,n)})):Zo(r,e,t,n)},Xo.prototype={forEach:function(e){Object.keys(this).forEach((function(t){e(this[t],t,this)}),this)}};const Qo={Borders:Jo,doLayout:Uo,applyIndent:Yo},ei=".",ti={view:"k-spreadsheet-view",fixedContainer:"k-spreadsheet-fixed-container",editContainer:"k-spreadsheet-edit-container",scroller:"k-spreadsheet-scroller",viewSize:"k-spreadsheet-view-size",clipboard:"k-spreadsheet-clipboard",cellEditor:"k-spreadsheet-cell-editor",barEditor:"k-spreadsheet-editor",topCorner:"k-spreadsheet-top-corner",filterHeadersWrapper:"k-filter-wrapper",filterRange:"k-filter-range",filterButton:"k-spreadsheet-filter",filterButtonSelected:"k-selected",horizontalResize:"k-horizontal-resize",verticalResize:"k-vertical-resize",icon:"k-icon",iconFilterDefault:"k-i-arrow-60-down",sheetsBar:"k-spreadsheet-sheets-bar",sheetsBarActive:"k-spreadsheet-sheets-bar-active",sheetsBarInactive:"k-spreadsheet-sheets-bar-inactive",cellContextMenu:"k-spreadsheet-cell-context-menu",rowHeaderContextMenu:"k-spreadsheet-row-header-context-menu",colHeaderContextMenu:"k-spreadsheet-col-header-context-menu",drawingContextMenu:"k-spreadsheet-drawing-context-menu"},ni={cell:"k-spreadsheet-cell",vaxis:"k-spreadsheet-vaxis",haxis:"k-spreadsheet-haxis",vborder:"k-spreadsheet-vborder",hborder:"k-spreadsheet-hborder",rowHeader:"k-spreadsheet-row-header",columnHeader:"k-spreadsheet-column-header",pane:"k-spreadsheet-pane",data:"k-spreadsheet-data",mergedCell:"k-spreadsheet-merged-cell",mergedCellsWrapper:"k-merged-cells-wrapper",activeCell:"k-spreadsheet-active-cell",selection:"k-spreadsheet-selection",selectionWrapper:"k-selection-wrapper",autoFillWrapper:"k-auto-fill-wrapper",single:"k-single",top:"k-top",right:"k-right",bottom:"k-bottom",left:"k-left",resizeHandle:"k-resize-handle",columnResizeHandle:"k-column-resize-handle",rowResizeHandle:"k-row-resize-handle",resizeHint:"k-resize-hint",resizeHintHandle:"k-resize-hint-handle",resizeHintMarker:"k-resize-hint-marker",resizeHintVertical:"k-resize-hint-vertical",selectionHighlight:"k-spreadsheet-selection-highlight",series:["k-series-a","k-series-b","k-series-c","k-series-d","k-series-e","k-series-f"]};function ri(e){return(e.size||1)+"px solid "+(e.color||"#000")}function oi(e){return/:\/\//.test(e)||(e="http://"+e),e}class ii{constructor(e,t){this._sheet=e,this._grid=t}refresh(e,t){this._grid.refresh(e,t)}isVisible(e,t,n){return this._grid.view(e,t).ref.intersects(n)}render(e){let t=e.scroller,n=t.scrollLeft,r=t.scrollTop;r<0&&(r=0),n<0&&(n=0);let o=ii.classNames,i=this._sheet,a=this._grid,s=a.view(n,r);this._currentView=s,this._currentRect=this._rectangle(s.ref),this._selectedHeaders=i.selectedHeaders();let l=[];if(l.push(this.renderData(e)),i._activeDrawing||l.push(this.renderSelection(t)),l.push(this.renderAutoFill()),l.push(this.renderEditorSelection()),l.push(this.renderFilterHeaders()),a.hasRowHeader){let e=ne.element("div",{className:o.rowHeader,style:{width:a.headerWidth+"px",top:s.rowOffset+"px"}});l.push(e),i.forEach(s.ref.leftColumn(),function(t){if(!i.isHiddenRow(t)){let n=t+1,r=i.rowHeight(t);e.children.push(ne.element("div",{className:this.headerClassName(t,"row"),style:{width:a.headerWidth+"px",height:r+"px"}},[ne.element("div",{className:"k-vertical-align-center"},[ne.text(n+"")])]))}}.bind(this))}if(a.hasColumnHeader){let e=ne.element("div",{className:o.columnHeader,style:{top:"0px",left:s.columnOffset+"px",width:this._currentRect.width+"px",height:a.headerHeight+"px"}});l.push(e);let t=0;i.forEach(s.ref.topRow(),function(n,r){if(!i.isHiddenColumn(r)){let n=g.display(null,1/0,r),o=i.columnWidth(r);e.children.push(ne.element("div",{className:this.headerClassName(r,"col"),style:{position:"absolute",left:t+"px",width:o+"px",height:a.headerHeight+"px"}},[ne.element("div",{className:"k-vertical-align-center"},[ne.text(n+"")])])),t+=o}}.bind(this))}i.resizeHandlePosition()&&(a.hasColumnHeader||a.hasRowHeader)&&(i.resizeHintPosition()||this.renderResizeHandle(l));let c=[o.pane];return a.hasColumnHeader&&c.push(o.top),a.hasRowHeader&&c.push(o.left),ne.element("div",{style:a.style,className:c.join(" ")},l)}headerClassName(e,t){let n,r,o=this._selectedHeaders;"row"===t?(n=o.rows[e],r=o.allRows):(n=o.cols[e],r=o.allCols);let i=n||(o.all?"full":r?"partial":"none");return i&&(i="k-selection-"+i),i}renderData(e){let t,n=this._sheet,o=this._currentView,i=ne.element("div",{className:ii.classNames.data,style:{position:"relative",left:o.columnOffset+"px",top:o.rowOffset+"px"}}),a=this._currentRect,s=Qo.doLayout(n,o.ref,{forScreen:!0}),l=this._grid,c=n._showGridLines;c&&(t=null,s.xCoords.forEach((function(e){e!==t&&(t=e,i.children.push(ne.element("div",{className:ni.vaxis,style:{left:e+"px",height:a.height+"px",borderColor:n.gridLinesColor()}})))})),t=null,s.yCoords.forEach((function(e){e!==t&&(t=e,i.children.push(ne.element("div",{className:ni.haxis,style:{top:e+"px",width:a.width+"px",borderColor:n.gridLinesColor()}})))})));let u=Qo.Borders(),h=n.activeCell().toRangeRef(),d=h.topLeft;return s.cells.forEach((function(t){let a=null,s=t.row+o.ref.topLeft.row,p=t.col+o.ref.topLeft.col;if(n._activeDrawing){let e=n._activeDrawing.topLeftCell;e&&e.row===s&&e.col===p&&(a="k-spreadsheet-drawing-anchor-cell")}else s===d.row&&p===d.col&&(a=[ii.classNames.activeCell].concat(this._activeFormulaColor(),this._directionClasses(h)),n.singleCellSelection()&&a.push(ii.classNames.single),a=a.join(" "));if(u.add(t),function(e,t,n,o){function i(e){let n=t.link;if(n||"object"==typeof t.value&&(n=t.value.link),n){let r={textDecoration:"none"};return t.color&&(r.color=t.color),t.underline&&(r.textDecoration="underline"),ne.element("a",{href:oi(n),style:r,target:"_blank"},e?[e]:[])}return e}let a=null!=t.value||null!=t.validation&&!t.validation.value||t.background||t.merged||t.comment||t.dBorders;if(!n&&!a)return;let s={background:[]},l=t.background;if(l){let e=l;o&&(e=(0,r.parseColor)(e).toHSV(),e.v*=.9,e=e.toCssRgba()),e=ri({color:e}),s.outline=e}t.dBorders&&(2&t.dBorders.type&&s.background.push("linear-gradient(to top left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) calc(50% - "+t.dBorders.size+"px), "+t.dBorders.color+" 50%, rgba(0, 0, 0, 0) calc(50% + "+t.dBorders.size+"px), rgba(0, 0, 0, 0) 100%)"),1&t.dBorders.type&&s.background.push("linear-gradient(to top right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) calc(50% - "+t.dBorders.size+"px), "+t.dBorders.color+" 50%, rgba(0, 0, 0, 0) calc(50% + "+t.dBorders.size+"px), rgba(0, 0, 0, 0) 100%)")),l&&s.background.push(l),t.color&&(s.color=t.color),t.fontFamily&&(s.fontFamily=t.fontFamily),t.underline&&(s.textDecoration="underline"),t.italic&&(s.fontStyle="italic"),t.textAlign&&(s.textAlign=t.textAlign),t.bold&&(s.fontWeight="bold"),t.fontSize&&(s.fontSize=t.fontSize+"px"),!0===t.wrap?(s.whiteSpace="pre-wrap",s.overflowWrap="break-word",s.wordWrap="break-word"):(s.whiteSpace="pre",s.overflowWrap="normal",s.wordWrap="normal"),s.left=t.left+1+"px",s.top=t.top+1+"px",s.width=t.width-1+"px",s.height=t.height-1+"px";let c=t.value,u=typeof c,h=t.format;if(h||"number"!==u||c===Math.floor(c)||(h="0.##############"),h&&null!=c?(c=Wn.format(c,h),c.__dataType&&(u=c.__dataType)):null!=c&&(c=t.html?ne.html(c):ne.text(c)),!s.textAlign)switch(u){case"number":case"date":case"percent":case"currency":s.textAlign="right";break;case"boolean":s.textAlign="center"}Qo.applyIndent(t,s);let d=[ni.cell];n&&d.push(n),!1===t.enable&&d.push("k-disabled"),t.merged&&d.push("k-spreadsheet-merged-cell"),t.comment&&d.push("k-spreadsheet-has-comment");let p=t.verticalAlign||"bottom";c=p&&c?ne.element("div",{className:"k-vertical-align-"+p},[i(c)]):i(c),s.background.length?s.background=s.background.join(","):delete s.background;let f=c?[c]:[],m={style:s},v=t.validation;v&&!v.value&&(f.push(ne.element("span",{className:"k-dirty"})),d.push("k-dirty-cell"),m.title=v.message),m.className=d.join(" ");let g=ne.element("div",m,f);e.push(g)}(i.children,t,a,c),t.comment&&n._commentRef&&s===n._commentRef.row&&p===n._commentRef.col){let n=4,r=t.right+l.left+o.columnOffset+n,i={top:t.top+l.top+o.rowOffset+"px"};r+200>e.contentWidth?i.right=e.contentWidth-l.left-t.left-o.columnOffset+n+"px":i.left=r+"px";let a=ne.element("div",{className:"k-tooltip k-spreadsheet-cell-comment",style:i},[ne.text(t.comment)]);e.toplevelElements.push(a)}}),this),u.vert.forEach((function(e){e.forEach((function(e){if(!e.rendered){e.rendered=!0;let t={left:e.x+"px",top:e.top+"px",height:e.bottom-e.top+1+"px",borderWidth:e.size+"px",borderColor:e.color};1!==e.size&&(t.transform="translateX(-"+(e.size-1)/2+"px)"),i.children.push(ne.element("div",{className:ni.vborder,style:t}))}}))})),u.horiz.forEach((function(e){e.forEach((function(e){if(!e.rendered){e.rendered=!0;let t={top:e.y+"px",left:e.left+"px",width:e.right-e.left+"px",borderWidth:e.size+"px",borderColor:e.color};1!==e.size&&(t.transform="translateY(-"+(e.size-1)/2+"px)"),i.children.push(ne.element("div",{className:ni.hborder,style:t}))}}))})),this.renderDrawings(s,i.children),i}renderDrawings(e,t){let n=this._sheet,r=n._workbook;e.drawings.forEach((function(e){let o=e.drawing,i=e.box.toDiv("k-spreadsheet-drawing");o.image&&i.children.push(ne.element("div",{className:"k-spreadsheet-drawing-image",style:{backgroundImage:"url('"+r.imageUrl(o.image)+"')",opacity:o.opacity}})),o===n._activeDrawing&&(i.attr.className+=" k-spreadsheet-active-drawing",function(e){["N","NE","E","SE","S","SW","W","NW"].forEach((function(t){e.push(ne.element("div",{className:"k-spreadsheet-drawing-handle "+t,"data-direction":t}))}))}(i.children)),t.push(i)}))}renderResizeHandle(e){let t,n=this._sheet.resizeHandlePosition(),r=this._rectangle(n),o=[ii.classNames.resizeHandle];if(n.col!==-1/0){if(this._grid.rows._start>0)return;t={height:this._grid.headerHeight+"px",width:"7px",left:r.right-3.5+"px",top:"0px"},o.push(ti.horizontalResize)}else{if(this._grid.columns._start>0)return;t={height:"7px",width:this._grid.headerWidth+"px",top:r.bottom-3.5+"px",left:"0px"},o.push(ti.verticalResize)}e.push(ne.element("div",{className:o.join(" "),style:t}))}filterIconRect(e){return new oo(e.right-16-3,e.top+3,16,16)}renderFilterHeaders(){let e=this._sheet,t=[],n=ti,r=e.filter();function o(e){return ne.element("span",{className:n.icon+" "+e})}return r&&this._addDiv(t,r.ref,n.filterRange),e.forEachFilterHeader(this._currentView.ref,function(e){let i=this._rectangle(e),a=this.filterIconRect(i),s=this._sheet.filterColumn(e),l=function(e,t,n){let i={left:t.left+"px",top:t.top+"px"},a=r&&r.columns.some((function(e){return e.index===n})),s=e.filterButton;return a&&(s+=" "+e.filterButtonSelected),ne.element("span",{className:s,style:i},[o(e.iconFilterDefault)])}(n,a,s);t.push(l)}.bind(this)),ne.element("div",{className:n.filterHeadersWrapper},t)}renderEditorSelection(){let e=ii.classNames,t=this._sheet,n=[];return t._formulaSelections.forEach(function(t){let r=t.ref;r!==b&&this._addDiv(n,r,e.selectionHighlight+" "+t.colorClass)}.bind(this)),ne.element("div",{className:e.selectionWrapper},n)}renderSelection(e){let t=ii.classNames,n=[],r=[t.selection],o=this._sheet,i=o.activeCell().toRangeRef(),a=o.select();return r=r.concat(this._activeFormulaColor()),1===a.size()&&r.push("k-single-selection"),this._sheet.autoFillPunch()&&r.push("k-dim-auto-fill-handle"),a.forEach(function(e){e!==b&&this._addDiv(n,e,r.join(" "))}.bind(this)),this._renderCustomEditorButton(n,i,e),ne.element("div",{className:t.selectionWrapper},n)}renderAutoFill(){let e=[];if(this._sheet.autoFillInProgress()){let t=this._sheet.autoFillRef(),n=this._sheet.autoFillPunch(),r=this._sheet._autoFillDirection;if(this._addDiv(e,t,"k-auto-fill"),n)this._addDiv(e,n,"k-auto-fill-punch");else if(void 0!==r){let n,o;switch(r){case 0:case 1:n=t.bottomRight,o="k-auto-fill-br-hint";break;case 2:n=new w(t.topLeft.row,t.bottomRight.col),o="k-auto-fill-tr-hint";break;case 3:n=new w(t.bottomRight.row,t.topLeft.col),o="k-auto-fill-bl-hint"}let i=this._addDiv(e,n,o);if(i){let e=ne.element("span",{className:"k-tooltip"},[ne.text(this._sheet._autoFillHint)]);i.children.push(e)}}}return ne.element("div",{className:ii.classNames.autoFillWrapper},e)}_addDiv(e,t,n){let r;return this._currentView.ref.intersects(t)&&(r=this._rectangle(t).resize(1,1).toDiv(n),e.push(r)),r}_renderCustomEditorButton(e,t,n){let r=this,o=r._sheet,i=r._currentView,a=r._grid.columns._axis._count,s=o.activeCellCustomEditor();if(s&&i.ref.intersects(t)){let i=r._rectangle(t);o.forEach(t.collapse(),(function(t,o,l){l.left=i.left,l.top=i.top,l.width=i.width,l.height=i.height;let c="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-spreadsheet-editor-button",u=o===a-1||r._buttonOutOfVisiblePane(t,o,n);u&&(c+=" k-spreadsheet-last-column"),r._editorInLastColumn=u;let h=ne.element("div",{className:c,style:{left:l.left+(u?0:l.width)+"px",top:l.top+"px",height:l.height+"px"}});s.icon&&h.children.push(ne.element("span",{className:"k-icon "+s.icon})),e.push(h)}))}}_activeFormulaColor(){let e,t=[];return this._sheet.isInEditMode()&&(e=this._sheet._formulaSelections.filter((function(e){return e.active&&"ref"===e.type}))[0],e&&t.push(e.colorClass)),t}_directionClasses(e){let t=[],n=ii.classNames,r=this._currentView.ref;return e.move(0,-1).intersects(r)||t.push(n.left),e.move(-1,0).intersects(r)||t.push(n.top),e.move(0,1).intersects(r)||t.push(n.right),e.move(1,0).intersects(r)||t.push(n.bottom),t}_rectangle(e){return this._grid.boundingRectangle(e.toRangeRef()).offset(-this._currentView.mergedCellLeft,-this._currentView.mergedCellTop)}_buttonOutOfVisiblePane(e,t,n){let r=this._grid,o=this._sheet,i=o.range(e,t)._ref,a=r.scrollBoundaries(i),s=r.columns.frozen?0:n.scrollLeft;if(a.right+20>s||t+1===o.frozenColumns())return!0}}ii.classNames=ni;let ai=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","text-transform","line-height"],si={27:"esc",37:"left",39:"right",35:"end",36:"home",32:"spacebar"},li=/(^_|[^a-z0-9]$)/i;class ci extends Yr{constructor(e,t){const n=Object.assign({},{name:"FormulaInput",autoScale:!1,filterOperator:"startswith",scalePadding:30,minLength:1,formulaBarWidth:null},t);super(e,n),this.events=["keyup","focus"],this.input=t.input,e&&(this.bind(this.events,this.options),e.classList.add(ci.classNames.wrapper),n&&n.formulaBarWidth,this._highlightedRefs=[],this._formulaSource(),this._formulaList(),this._tooltip(),this._sync=this._sync.bind(this),this.scale=this.scale.bind(this),this._keydown=this._keydown.bind(this),this._keyup=this._keyup.bind(this),this._blur=this._blur.bind(this),this._input=this._input.bind(this),this._focus=this._focus.bind(this),this._paste=this._paste.bind(this),this.options.autoScale&&e.addEventListener("input",this.scale),e.addEventListener("keydown",this._keydown),e.addEventListener("keyup",this._keyup),e.addEventListener("blur",this._blur),e.addEventListener("input",this._input),e.addEventListener("click",this._input),e.addEventListener("focus",this._focus),e.addEventListener("paste",this._paste))}enable(e){if(void 0===e)return"true"===this.element.getAttribute("contenteditable");e?this.element.setAttribute("contenteditable",e):this.element.removeAttribute("contenteditable"),this.element.classList.toggle("k-disabled",!e)}getPos(){let e=this.element,t=window.getSelection(),n=o(t.focusNode,t.focusOffset),r=o(t.anchorNode,t.anchorOffset);if(null!=n&&null!=r){if(n>r){let e=n;n=r,r=e}return{begin:n,end:r,collapsed:n===r}}function o(t,n){try{!function e(r){if(r===t)throw n;if(1===r.nodeType)for(let t=r.firstChild;t;t=t.nextSibling)e(t);else 3===r.nodeType&&(n+=r.nodeValue.length)}(e)}catch(e){return e}}}setPos(e,t){let n=this.element;if(e=i(n,e),t=null!=t?i(n,t):e,e&&t){let n=document.createRange();n.setStart(e.node,e.pos),n.setEnd(t.node,t.pos);let i=window.getSelection();o=i.getRangeAt(0),((r=n).startOffset!==o.startOffset||r.endOffset!==o.endOffset||r.startContainer!==o.endContainer||r.endContainer!==o.endContainer)&&(i.removeAllRanges(),i.addRange(n))}var r,o;function i(e,t){try{!function e(n){if(3===n.nodeType){let e=n.nodeValue.length;if(e>=t)throw n;t-=e}else if(1===n.nodeType)for(let t=n.firstChild;t;t=t.nextSibling)e(t)}(e)}catch(e){return{node:e,pos:t}}}}end(){this.setPos(this.length())}home(){this.setPos(0)}select(){this.setPos(0,this.length())}length(){return this.value().length}_formulaSource(){let e,t=[];for(let n in re.runtime.FUNCS)li.test(n)||(e=n.toUpperCase(),t.push({value:e,text:e}));this.formulaSource=t}get list(){return this.input.current.list}get popup(){return this.input.current.popup}_formulaList(){this.list.data(this.formulaSource),this.list.itemClick((e=>{this._formulaListChange(e)}))}_formulaListChange(e){let t=this._tokenContext();if(!t||this._mute)return;let n=t.token,r=e,o={replace:!0,token:n,end:n.end};t.nextToken&&"("===t.nextToken.value||(r+="("),this._replaceAt(o,r),this.popup.close()}_blur(){this.popup.close(),clearTimeout(this._focusId),this.trigger("blur")}_isFormula(){return/^=/.test(this.value())}_keydown(e){let t=e.keyCode,n=this;si[t]?(n.popup.close(),n._navigated=!0):n._move(t)&&(n._navigated=!0,e.preventDefault()),n._keyDownTimeout=setTimeout(n._syntaxHighlight.bind(n))}_keyup(){let e,t=this.popup;if(this._isFormula()&&!this._navigated){e=((this._tokenContext()||{}).token||{}).value;const n=this.filter(e);e&&n.length?(t[t.visible()?"position":"open"](),setTimeout((()=>{this.list.focusFirst()}),0)):t.close()}this._navigated=!1,this._syntaxHighlight(),this.trigger("keyup")}_input(){this._syntaxHighlight()}_focus(){setTimeout(this._sync.bind(this)),this._focusTimeout=setTimeout(this._syntaxHighlight.bind(this)),this.trigger("focus")}_paste(e){e.preventDefault();let t,n=this.getPos();t=e.clipboardData.getData("text/plain");let r=this.value();r=r.substr(0,n.begin)+t+r.substr(n.end),this.value(r),this.setPos(n.begin+t.length),this.scale()}_move(e){let t=this.list,n=this.popup;if(n.visible()){if(e===S.DOWN)return t.focusNext(),!0;if(e===S.UP)return t.focusPrev(),!0;if(e===S.ENTER||e===S.TAB)return t.data()[t.focus()]&&this._formulaListChange(t.data()[t.focus()].value),n.close(),!0;if(e===S.PAGEUP)return t.focusFirst(),!0;if(e===S.PAGEDOWN)return t.focusLast(),!0}return!1}_tokenContext(){let e=this.getPos(),t=this.value();if(!t||!e||!e.collapsed)return null;let n,r=re.tokenize(t,this.row(),this.col());for(let t=0;t<r.length;++t)if(n=r[t],hi(n,e)&&/^(?:str|sym|func)$/.test(n.type))return{token:n,nextToken:r[t+1]};return null}_sync(){this._editorToSync&&this.isActive()&&this._editorToSync.value(this.value())}_textContainer(){let e=function(e,t){let n,r={};return document.defaultView&&document.defaultView.getComputedStyle?(n=document.defaultView.getComputedStyle(e,""),t&&t.forEach((function(e){r[e]=n.getPropertyValue(e)}))):(n=e.currentStyle,t&&t.forEach((function(e){var t;r[e]=n[(t=e,t.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()})))]}))),function(e){let t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!==t&&n++;return n}(r)||(r=n),r}(this.element,ai);e.position="absolute",e.visibility="hidden",e.whiteSpace="pre",e.top=-3333,e.left=-3333,this._span=document.createElement("span"),this._span.style.whiteSpace="pre";for(const t in e)Object.hasOwnProperty.call(e,t)&&(this._span.style[t]=e[t]);P(this._span,this.element)}_tooltip(){this._cellTooltip=document.createElement("div"),this._cellTooltip.className="k-widget k-tooltip",this._cellTooltip.style.position="absolute",this._cellTooltip.style.display="none",this._cellTooltip.appendChild(document.createTextNode("A1")),P(this._cellTooltip,this.element)}tooltip(e){for(;this._cellTooltip.firstChild;)this._cellTooltip.removeChild(this._cellTooltip.firstChild);this._cellTooltip.appendChild(document.createTextNode(e))}toggleTooltip(e){this._cellTooltip.style.display=e?"":"none"}isActive(){return this.element===function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}}()}filter(e){if(!e||e.length<this.options.minLength)return;const t=this.formulaSource.filter((t=>String(t.value).toLowerCase().startsWith(e.toLowerCase())));return this.list.data(t),t}hide(){this.enable(!1),this.element.style.display="none",this._cellTooltip.style.display="none"}show(){this.enable(!0),this.element.style.display="block"}row(){if(this.activeCell)return this.activeCell.row}col(){if(this.activeCell)return this.activeCell.col}position(e){e&&(this.show(),this.element.style.top=e.top+1+"px",this.element.style.left=e.left+1+"px",this._cellTooltip.style.top=e.top-this._cellTooltip.offsetHeight-10+"px",this._cellTooltip.style.left=e.left+"px")}resize(e){e&&(this.element.style.width=e.width-1+"px",this.element.style.height=e.height-1+"px")}canInsertRef(e){return this._canInsertRef(e)}_canInsertRef(e){if(this.popup.visible())return null;let t,n,r,o=e,i=this.getPos();if(i&&this._isFormula()){if(0===i.begin)return null;for(t=re.tokenize(this.value(),this.row(),this.col()),r=0;r<t.length;++r){if(n=t[r],hi(n,i))return s(n);if(a(n))return l(t[r-1],n)}return l(n,null)}return null;function a(e){return e.begin>i.begin}function s(e){if(e){if(/^(?:num|str|bool|sym|ref)$/.test(e.type))return{replace:!0,token:e,end:e.end};if(/^(?:op|punc|startexp)$/.test(e.type))return e.end===i.end?l(e,t[r+1]):l(t[r-1],e)}}function l(e,t){if(null==e)return null;if(null==t)return/^(?:op|startexp)$/.test(e.type)||ui(e.value)?{token:e,end:i.end}:null;if(o){if("op"===e.type&&/^(?:punc|op)$/.test(t.type))return{token:e,end:i.end}}else{if("startexp"===e.type)return{token:e,end:i.end};if(/^(?:op|punc)$/.test(e.type)&&/^[,;({]$/.test(e.value))return{token:e,end:i.end};if(/^(?:ref|sym)/.test(e.type))return{token:e,replace:!0,end:e.end};if(/^(?:ref|sym)/.test(t.type))return{token:t,replace:!0,end:t.end}}return!1}}refAtPoint(e){let t=this._canInsertRef();if(t){let n=e.selection()._ref.simplify().clone().relative(0,0,3);e.isMerged(n)&&(n=n.topLeft),e!==this.activeSheet&&(n=n.setSheet(e.name(),!0)),this._replaceAt(t,n.print(0,0))}}_replaceAt(e,t){let n=this.value(),r=e.token,o=n.substr(e.end);n=n.substr(0,e.replace?r.begin:e.end)+t;let i=n.length;n+=o,this._value(n),this.setPos(i),this.scale(),this._syntaxHighlight()}syncWith(e){this._editorToSync=e,this.element&&(this.element.removeEventListener("input",this._sync),this.element.addEventListener("input",this._sync))}scale(){let e,t,n=this.element;this._span||this._textContainer(),this._span.innerHTML=n.innerHTML,e=this._span.offsetWidth+this.options.scalePadding,t=this._span.offsetHeight,e>n.offsetWidth&&(n.style.width=e+"px"),t-1>n.offsetHeight&&(n.style.height=t-1+"px"),this._sync()}_value(e){if((this.element.innerText||this.element.textContent).replace(/\n$/,"")!==e){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(document.createTextNode(e))}}value(e){let t=(this.element.innerText||this.element.textContent).replace(/\n$/,"");if(void 0===e)return t;t!==e&&(this._value(e),this._syntaxHighlight())}highlightedRefs(){return this._highlightedRefs.slice()}_syntaxHighlight(){let e=this.getPos(),t=this.value(),n=ii.classNames.series,r=[],o=0,i=[],a=[];e&&!e.collapsed||(/^=/.test(t)?(a=re.tokenize(t,this.row(),this.col()),a.forEach((function(t){if(t.active=!1,t.cls=["k-syntax-"+t.type],"ref"===t.type&&(t.colorClass=n[o++%n.length],t.cls.push(t.colorClass),r.push(t)),e&&"punc"===t.type)if(ui(t.value))i.unshift(t);else if(")"===(a=t.value)||"]"===a||"}"===a){let n=i.shift();n?function(e,t){return"("===t?")"===e:"["===t?"]"===e:"{"===t&&"}"===e}(t.value,n.value)?(hi(t,e)||hi(n,e))&&(t.cls.push("k-syntax-paren-match"),n.cls.push("k-syntax-paren-match")):(t.cls.push("k-syntax-error"),n.cls.push("k-syntax-error")):t.cls.push("k-syntax-error")}var a;e&&hi(t,e)&&(t.cls.push("k-syntax-at-point"),t.active=!0),"func"!==t.type||function(e){return re.runtime.FUNCS[e.toLowerCase()]}(t.value)||e&&hi(t,e)||t.cls.push("k-syntax-error")})),a.reverse().forEach((function(e){let n=e.begin,r=e.end,o=function(e){return String(e).replace(Xr,"&amp;").replace(Jr,"&lt;").replace(to,"&gt;").replace(Qr,"&quot;").replace(eo,"&#39;")}(t.substring(n,r));t=t.substr(0,n)+"<span class='"+e.cls.join(" ")+"'>"+o+"</span>"+t.substr(r)})),this.element.innerHTML=t,e&&this.setPos(e.begin,e.end),this._highlightedRefs=r):this._highlightedRefs.length&&(this._highlightedRefs=[],this._value(t)))}destroy(){this._editorToSync=null,this.element.removeEventListener("input",this.scale),this.element.removeEventListener("keydown",this._keydown),this.element.removeEventListener("keyup",this._keyup),this.element.removeEventListener("blur",this._blur),this.element.removeEventListener("input",this._input),this.element.removeEventListener("click",this._input),this.element.removeEventListener("focus",this._focus),this.element.removeEventListener("paste",this._paste),clearTimeout(this._focusTimeout),clearTimeout(this._keyDownTimeout),this._cellTooltip=null,this._span=null,super.destroy()}insertNewline(){let e=this.value(),t=this.getPos(),n=t.end===e.length;e=e.substr(0,t.begin)+(n?"\n\n":"\n"+e.substr(t.end)),this.value(e),this.setPos(t.begin+1)}}function ui(e){return"("===e||"["===e||"{"===e}function hi(e,t){return e.begin<=t.begin&&e.end>=t.end}ci.classNames={wrapper:"k-spreadsheet-formula-input",listWrapper:"k-spreadsheet-formula-list"};class di extends Yr{constructor(e,t){super(e,t);const n=e&&e.querySelector(".k-spreadsheet-formula-input:not(.k-spreadsheet-cell-editor)");this.formulaInput=new ci(n,this.options)}destroy(){this.formulaInput&&this.formulaInput.destroy(),this.formulaInput=null}}class pi extends Yr{readData(){const e=[];return this._workbook.forEachName((function(t){!t.hidden&&t.value instanceof g&&e.push({name:t.name})})),e}value(e){if(this.options.combobox.current)return this.options.combobox.current.value(e)}}class fi extends Yr{constructor(e,t){super(e,Object.assign({},{name:"SheetsBar"},t)),this.events=["select","reorder","rename"]}onSheetReorderEnd(e){this.trigger("reorder",{oldIndex:e.oldIndex,newIndex:e.newIndex})}onSheetRemove(e){this.trigger("remove",{name:e,confirmation:!0})}onSheetSelect(e){this.trigger("select",{name:e,isAddButton:!1})}onSheetRename(e,t){this.trigger("rename",{name:e,sheetIndex:t})}onAddSelect(){this.trigger("select",{isAddButton:!0})}destroy(){super.destroy()}}class mi{constructor(){this.cols=[],this.trs=[],this._height=0,this._width=0}addColumn(e){this._width+=e;let t=ne.element("col",{style:{width:e+"px"}});t.visible=e>0,this.cols.push(t)}addRow(e){let t=null;t={style:{height:e+"px"}},this._height+=e;let n=ne.element("tr",t);n.visible=e>0,this.trs.push(n)}addCell(e,t,n,r,o){null==t&&(t=""),t instanceof ne.Node||(t=ne.text(t));let i=[t],a={style:n};o&&!o.value&&(i.push(ne.element("span",{className:"k-dirty"})),r=(r||"")+(r?" ":"")+"k-dirty-cell",a.title=o.message),r&&(a.className=r);let s=ne.element("td",a,i);return this.trs[e].children.push(s),s}toDomTree(e,t,n){this.trs=this.trs.filter((function(e){return e.visible}));let r=0;return this.cols=this.cols.filter((function(e,t){return e.visible||(this.trs.forEach((function(e){e.children.splice(t-r,1)})),r++),e.visible}),this),ne.element("table",{style:{left:e+"px",top:t+"px",height:this._height+"px",width:this._width+"px"},className:n,role:"presentation"},[ne.element("colgroup",null,this.cols),ne.element("tbody",null,this.trs)])}}function vi(e,t,n){return e>=t&&e<=n}class gi extends $r{constructor(e,t){super();let n=gi.classNames;this.element=e,this.options=D({},{messages:_.view},this.options,t),this.events=["update","message"],this._chrome(),this._dialogs=[],this._formulaInput(),this.wrapper=e.querySelector(ei+n.view),this.container=e.querySelector(ei+n.fixedContainer),this.scroller=e.querySelector(ei+n.scroller),this.clipboard=e.querySelector(ei+n.clipboard),this.viewSize=this.scroller&&this.scroller.firstChild,this.tree=new ne.Tree(this.container),this.clipboardContents=new ne.Tree(this.clipboard),this.editor=new Zr(this),this._sheetsbar()}enableClipboard(e){this.isClipboardDeactivated=!e,e?this.clipboard.setAttribute("contenteditable",e):this.clipboard.removeAttribute("contenteditable")}_resize(){}_chrome(){let e=this.element.querySelector(".k-spreadsheet-name-editor");this.nameEditor=new pi(e,{combobox:this.options.nameBoxRef});let t=this.element.querySelector(".k-spreadsheet-formula-bar");this.formulaBar=new di(t,{input:this.options.formulaBarInputRef})}_formulaInput(){let e=this.element.querySelector(ei+gi.classNames.cellEditor);this.formulaInput=new ci(e,{autoScale:!0,input:this.options.formulaCellInputRef})}_sheetsbar(){this.options.sheetsbar&&(this.sheetsbar=new fi(this.element.querySelector(ei+gi.classNames.sheetsBar),this.options.sheetsbar))}_tabstrip(){}_executeCommand(e){this._sheet.trigger("commandRequest",e)}workbook(e){this._workbook=e,e._view=this,this.nameEditor._workbook=e}sheet(e){this._sheet=e}activeCellRectangle(){return this.cellRectangle(this._sheet._viewActiveCell())}_rectangle(e,t){return e._grid.boundingRectangle(t.toRangeRef())}isColumnResizer(e,t,n){return e-=this._sheet._grid._headerWidth,t._grid.columns.frozen||(e+=this.scroller.scrollLeft),null===(n=this._sheet._grid._columns.locate(0,n,(function(t){return Math.abs(e-t)<=3.5})))||this._sheet.isHiddenColumn(n)?null:n}isRowResizer(e,t,n){return e-=this._sheet._grid._headerHeight,t._grid.rows.frozen||(e+=this.scroller.scrollTop),null===(n=this._sheet._grid._rows.locate(0,n,(function(t){return Math.abs(e-t)<=3.5})))||this._sheet.isHiddenRow(n)?null:n}isFilterIcon(e,t,n,r){let o=this,i=n._grid,a=i.rows.frozen?0:o.scroller.scrollTop,s=i.columns.frozen?0:o.scroller.scrollLeft;return e-=o._sheet._grid._headerWidth-s,t-=o._sheet._grid._headerHeight-a,R((function(i){o._sheet.forEachFilterHeader(r,(function(r){let a=o._rectangle(n,r);n.filterIconRect(a).intersects(e,t)&&i(!0)}))}))}isAutoFill(e,t,n){let r=this._sheet.select();if(r.size>1)return!1;e-=this._sheet._grid._headerWidth,t-=this._sheet._grid._headerHeight,n._grid.columns.frozen||(e+=this.scroller.scrollLeft),n._grid.rows.frozen||(t+=this.scroller.scrollTop);let o=this._rectangle(n,r);return Math.abs(o.right-e)<8&&Math.abs(o.bottom-t)<8}isEditButton(e,t,n){if(this._sheet.activeCellCustomEditor()){let r=this.activeCellRectangle();if(t>=r.top&&t<=r.bottom)return n._editorInLastColumn?e<r.left&&e>=r.left-20:e>r.right&&e<=r.right+20}}drawingAt(e,t,n){e-=this._sheet._grid._headerWidth,t-=this._sheet._grid._headerHeight,n._grid.columns.frozen||(e+=this.scroller.scrollLeft),n._grid.rows.frozen||(t+=this.scroller.scrollTop);let r=this._sheet,o=this._sheet._drawings;for(let n=o.length;--n>=0;){let i=o[n],a=r.drawingBoundingBox(i);if(a.intersects(e,t))return{drawing:i,drx:a.left-e,dry:a.top-t}}}objectAt(e,t,n){let r,o,i=this._sheet._grid;if(e<0||t<0||e>this.scroller.clientWidth||t>this.scroller.clientHeight)r={type:"outside"};else if(e<i._headerWidth&&t<i._headerHeight)r={type:"topcorner"};else if(o=this.paneAt(e,t),o){if(!n){let n=this.drawingAt(e,t,o);if(n)return{type:"drawing",drawing:n.drawing,drx:n.drx,dry:n.dry,pane:o,startX:e,startY:t}}let a=o._grid.rows.indexVisible(t,this.scroller.scrollTop),s=o._grid.columns.indexVisible(e,this.scroller.scrollLeft),l="cell",c=new w(a,s),u=this._sheet.selectionInProgress();this.isAutoFill(e,t,o)?l="autofill":this.isFilterIcon(e,t,o,c)?l="filtericon":!u&&e<i._headerWidth?(l="rowheader",null!==(a=this.isRowResizer(t,o,a))&&(c=new w(a,-1/0),l="rowresizehandle")):!u&&t<i._headerHeight?(l="columnheader",null!==(s=this.isColumnResizer(e,o,s))&&(c=new w(-1/0,s),l="columnresizehandle")):this.isEditButton(e,t,o)&&(l="editor"),r={type:l,ref:c}}else r={type:"outside"};return r.pane=o,r.x=e,r.y=t,r}paneAt(e,t){return this.panes.filter((function(n){let r=n._grid;return vi(t,r.top,r.bottom)&&vi(e,r.left,r.right)}))[0]}containingPane(e){return this.panes.filter((function(t){return!!t._grid.contains(e)}))[0]}cellRectangle(e){let t=this.containingPane(e)._grid;return this._sheet._grid.rectangle(e).offset(t.headerWidth-(t.columns.frozen?0:this.scroller.scrollLeft),t.headerHeight-(t.rows.frozen?0:this.scroller.scrollTop))}refresh(e){let t=this._sheet;if(this.trigger("update",{reason:e,range:t.range(t.activeCell())}),this._resize(),this.viewSize.style.height=t._grid.totalHeight()+"px",this.viewSize.style.width=t._grid.totalWidth()+"px",e.layout){let e=t.frozenColumns(),n=t.frozenRows();this.panes=[this._pane(n,e)],e>0&&this.panes.push(this._pane(n,0,null,e)),n>0&&this.panes.push(this._pane(0,e,n,null)),n>0&&e>0&&this.panes.push(this._pane(0,0,n,e))}e.filter&&this._destroyFilterMenu(),e.activeCell&&(this._focus=t.activeCell().toRangeRef())}createFilterMenu(){}selectClipboardContents(){this.isClipboardDeactivated||(this.clipboard.focus({preventScroll:!0}),function(e){let t=window.getSelection();t.removeAllRanges();let n=document.createRange();n.selectNodeContents(e),t.addRange(n)}(this.clipboard))}scrollIntoView(e){let t=!1,n=this.containingPane(e)._grid,r=n.scrollBoundaries(e),o=this.scroller,i=n.rows.frozen?0:o.scrollTop,a=n.columns.frozen?0:o.scrollLeft;return r.top<i&&(t=!0,o.scrollTop=r.scrollTop),r.bottom>i&&(t=!0,o.scrollTop=r.scrollBottom),r.left<a&&(t=!0,o.scrollLeft=r.scrollLeft),r.right>a&&(t=!0,o.scrollLeft=r.scrollRight),t}_destroyDialog(){this._dialogs.pop()}openCustomEditor(){let e=this,t=e._sheet.activeCell().first(),n=e._sheet.activeCellCustomEditor(),r=e._sheet.range(t);n.edit({range:r,rect:e.activeCellRectangle(),view:this,validation:this._sheet.validation(t),callback:function(t,n){e._executeCommand({command:"EditCommand",options:{operatingRange:r,editRange:r,property:n?"input":"value",value:t}})}})}openDialog(e,t){let n=this._sheet;return n.withCultureDecimals(function(){let r=n.activeCell(),o=new Dr(r,n);this.trigger("message",{...t,name:e,ref:r,range:o})}.bind(this))}showError(e,t){let n=this._dialogs,r=this.options.messages.errors;if(n.length>0)return;let o=function(){n.pop(),this.selectClipboardContents(),t&&t()}.bind(this);const i={title:e.title||"Error",text:e.body?e.body:r[e.type],close:o};n.push(i),this.openDialog(e.type||"message",i)}destroy(){this.unbind(),[this.tree,this.clipboardContents].forEach((e=>{for(;e&&e.root&&e.root.lastChild;)e.root.removeChild(e.root.lastChild)})),this.tree=this.clipboardContents=null}_destroyFilterMenu(){this._filterMenu&&(this._filterMenu.destroy(),this._filterMenu=void 0,this._filterMenuColumn=void 0)}render(e){let t=this._sheet,n=t.focus(),r=N(),o=this.wrapper.clientWidth-r,i=this.wrapper.clientHeight-r;if(n&&this.scrollIntoView(n))return;let a=t.resizingInProgress()?t.resizeHandlePosition().col===-1/0?"column":"row":"none";this.wrapper.classList.toggle(ti.editContainer,this.editor.isActive()),this.wrapper.classList.toggle(ti.horizontalResize,"row"===a),this.wrapper.classList.toggle(ti.verticalResize,"column"===a);let s=t._grid,l=[],c={scroller:this.scroller,toplevelElements:l,contentWidth:o,contentHeight:i};this.panes.forEach((function(e){l.push(e.render(c))}));let u=ne.element("div",{style:{width:s._headerWidth+"px",height:s._headerHeight+"px"},className:gi.classNames.topCorner});l.push(u),t.resizeHandlePosition()&&t.resizeHintPosition()&&l.push(this.renderResizeHint()),this.tree.render(l),this.container.style.width=o+"px",this.container.style.height=i+"px",this.editor.isActive()?this.editor.toggleTooltip(this.activeCellRectangle()):e.resize||e.comment||t.selectionInProgress()||t.resizingInProgress()||t.draggingInProgress()||t.isInEditMode()||this.renderClipboardContents()}renderResizeHint(){let e,t=this._sheet,n=t.resizeHandlePosition().col!==-1/0;e=n?{height:this.scroller.clientHeight+"px",width:"7px",left:t.resizeHintPosition().x+"px",top:"0px"}:{height:"7px",width:this.scroller.clientWidth+"px",top:t.resizeHintPosition().y+"px",left:"0px"};let r=ii.classNames;return ne.element("div",{className:r.resizeHint+(n?"":" "+r.resizeHintVertical),style:e},[ne.element("div",{className:r.resizeHintHandle}),ne.element("div",{className:r.resizeHintMarker})])}renderClipboardContents(){let e=this._sheet,t=e._grid,n=t.normalize(e.select().toRangeRef()),r=this._workbook.clipboard().canCopy();if(!1===r.canCopy&&r.multiSelection)return this.clipboardContents.render([]),void this.selectClipboardContents();n=e.trim(n);let o=new mi,i=t.rangeDimensions(n);i.rows.forEach((function(e){o.addRow(e)})),i.columns.forEach((function(e){o.addColumn(e)}));let a=e._getMergedCells(n),s=a.primary,l=a.secondary;e.forEach(n,(function(e,t,r){let i=new w(e,t).print();if(!l[i]){let t=function(e,t,n){let r={};n.background&&(r.backgroundColor=n.background),n.color&&(r.color=n.color),n.fontFamily&&(r.fontFamily=n.fontFamily),n.underline&&(r.textDecoration="underline"),n.italic&&(r.fontStyle="italic"),n.textAlign&&(r.textAlign=n.textAlign),n.verticalAlign&&(r.verticalAlign="center"===n.verticalAlign?"middle":n.verticalAlign),n.bold&&(r.fontWeight="bold"),n.fontSize&&(r.fontSize=n.fontSize+"px"),!0===n.wrap&&(r.whiteSpace="pre-wrap"),n.borderRight?r.borderRight=ri(n.borderRight):n.background&&(r.borderRightColor=n.background),n.borderBottom?r.borderBottom=ri(n.borderBottom):n.background&&(r.borderBottomColor=n.background);let o=n.value,i=typeof o,a=n.format;if(a||"number"!==i||o===Math.floor(o)||(a="0.##############"),a&&null!=o&&(o=Wn.format(o,a),o.__dataType&&(i=o.__dataType)),!r.textAlign)switch(i){case"number":case"date":case"percent":case"currency":r.textAlign="right";break;case"boolean":r.textAlign="center"}let s=null;!1===n.enable&&(s="k-disabled");let l,c,u=e.addCell(t,o,r,s,n.validation);return n.borderLeft?(c=function(e,t){let n=e.trs[t].children;return n[n.length-2]}(e,t),l=ri(n.borderLeft),c&&l&&(c.attr.style.borderRight=l)):n.background&&(r.borderLeftColor=n.background),n.borderTop?(c=function(e,t){let n=e.trs[t-1],r=e.trs[t].children.length-1;if(n&&r>=0)return n.children[r]}(e,t),l=ri(n.borderTop),c&&l&&(c.attr.style.borderBottom=l)):n.background&&(r.borderTopColor=n.background),u}(o,e-n.topLeft.row,r),a=s[i];a&&(t.attr.colspan=a.width(),t.attr.rowspan=a.height())}})),this.clipboardContents.render([o.toDomTree(0,0,"kendo-clipboard-"+this._workbook.clipboard()._uid)]),this.selectClipboardContents()}_pane(e,t,n,r){let o=new ii(this._sheet,this._sheet._grid.pane({row:e,column:t,rowCount:n,columnCount:r}));return o.refresh(this.scroller.clientWidth,this.scroller.clientHeight),o}}gi.classNames=ti;class bi{constructor(e){this._content={},this._externalContent={},this._internalContent={},this.workbook=e,this.origin=b,this.iframe=document.createElement("iframe"),this.iframe.className="k-spreadsheet-clipboard-paste",this.iframe.setAttribute("title","Spreadsheet clipboard iframe"),this.menuInvoked=!1,this._uid=function(){let e,t,n="";for(n+="abcdef"[Math.floor(Math.random()*Math.floor(6))],e=1;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n}(),document.body.appendChild(this.iframe)}destroy(){this.iframe&&this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe)}canCopy(){let e={canCopy:!0},t=this.workbook.activeSheet().select();return t===b&&(e.canCopy=!1),t instanceof k&&(e.canCopy=!1,e.multiSelection=!0),this.menuInvoked&&(e.canCopy=!1,e.menuInvoked=!0),e}canPaste(){let e=this.workbook.activeSheet(),t=this.pasteRef(),n={canPaste:!0,pasteOnMerged:!1,pasteOnDisabled:!1};return e.range(t).enable()||(n.canPaste=!1,n.pasteOnDisabled=!0),t.eq(e.unionWithMerged(t))||(n.canPaste=!1,n.pasteOnMerged=!0),this.menuInvoked&&(n.canPaste=!1,n.menuInvoked=!0),n}intersectsMerged(){let e=this.workbook.activeSheet();this.parse(),this.origin=this._content.origRef;let t=this.pasteRef();return!t.eq(e.unionWithMerged(t))}copy(){let e=this.workbook.activeSheet();this.origin=e.select(),this._internalContent=e.selection().getState(),delete this._externalContent.html,delete this._externalContent.plain}cut(){let e=this.workbook.activeSheet();this.copy(),e.range(e.select()).clear()}pasteRef(){let e=this.workbook.activeSheet();if(this.origin===b)return e.select();let t=e.activeCell().first(),n=this.origin.first(),r=n.row-t.row,o=n.col-t.col;return this.origin.relative(r,o,3)}paste(){let e=this.workbook.activeSheet(),t=this.pasteRef();(t.bottomRight.row>=e._rows._count||t.bottomRight.col>=e._columns._count)&&e.resize(Math.max(t.bottomRight.row+1,e._rows._count),Math.max(t.bottomRight.col+1,e._columns._count)),e.range(t).setState(this._content,this),e.triggerChange({recalc:!0,ref:t})}external(e){if(!e||!e.html&&!e.plain)return this._externalContent;this._externalContent=e}isExternal(){return!this._isInternal()}parse(){let e;if(this._isInternal())e=this._internalContent;else{let t=this._externalContent;if(e=t.plain?function(e){let t=yi();if(-1===e.indexOf("\t")&&-1===e.indexOf("\n"))wi(t,0,0,{value:e});else{let n=e.split("\n");for(let e=0;e<n.length;e++){let r=n[e].split("\t");for(let n=0;n<r.length;n++)wi(t,e,n,{value:r[n]})}}return t}(t.plain):yi(),t.html){let n=this.iframe.contentWindow.document;n.open(),n.write(t.html),n.close();let r=n.querySelector("table");if(r){let t=function(e){let t=yi(),n=[],r=0,o=0;for(let t=0;t<e.rows.length;++t)n.push([]);let i=new re.runtime.Matrix,a=new re.runtime.Matrix;for(let s=0;s<e.rows.length;++s,++r){let l=e.rows[s];o=0;for(let e=0;e<l.cells.length;++e){let s=l.cells[e],c=s.rowSpan,u=s.colSpan;for(;n[r][o];)o++;let h=s.getAttribute("style"),d=/mso-ignore:colspan/.test(h);wi(t,r,o,ki(r,o,s,i,a)),(c>1||u>1&&!d)&&t.mergedCells.push(new x(new w(r,o),new w(r+c-1,o+u-1)).toString());for(let e=r+c;--e>=r;)for(let i=o+u;--i>=o;)e<n.length&&(n[e][i]=!0,e===r&&i===o||wi(t,e,i,{}))}}return t}(r);t.data.forEach((function(t,n){t.forEach((function(t,r){/^\s*#+\s*$/.test(t.value)&&(t.value=e.data[n][r].value)}))})),e=t}}this.origin=e.origRef}this._content=e}_isInternal(){if(void 0===this._externalContent.html)return!0;let e=Boolean(L(this._externalContent.html).querySelector("table.kendo-clipboard-"+this._uid)),t=Boolean(L(this._externalContent.plain).querySelector("table.kendo-clipboard-"+this._uid));return e||t}}function yi(){let e=new w(0,0,0);return{ref:e,mergedCells:[],data:[],foreign:!0,origRef:e.toRangeRef()}}function wi(e,t,n,r){let o=e.data||(e.data=[]);o[t]||(o[t]=[]),o[t][n]=r;let i=e.origRef.bottomRight;i.row=Math.max(i.row,t),i.col=Math.max(i.col,n)}function xi(e){return e.replace(/^-(?:ms|moz|webkit)-/,"")}function ki(e,t,n,r,o){let i=window.getComputedStyle(n),a=(n.innerText||n.textContent).replace(/\t$/,""),s=function(e){let t={};return["borderBottom","borderRight","borderLeft","borderTop"].forEach((function(n){t[n]="none"===e[n+"Style"]?null:{size:1,color:e[n+"Color"]}})),t}(i),l={value:""===a?null:a,borderTop:s.borderTop||r.get(e,t)||null,borderBottom:s.borderBottom||r.get(e+1,t)||null,borderLeft:s.borderLeft||o.get(e,t)||null,borderRight:s.borderRight||o.get(e,t+1)||null,fontSize:parseInt(i["font-size"],10)};return r.set(e,t,l.borderTop),r.set(e+1,t,l.borderBottom),o.set(e,t,l.borderLeft),o.set(e,t+1,l.borderRight),"rgb(0, 0, 0)"!==i["background-color"]&&"rgba(0, 0, 0, 0)"!==i["background-color"]&&(l.background=i["background-color"]),"rgb(0, 0, 0)"!==i.color&&"rgba(0, 0, 0, 0)"!==i.color&&(l.color=i.color),"underline"===i["text-decoration"]&&(l.underline=!0),"italic"===i["font-style"]&&(l.italic=!0),"bold"===i["font-weight"]&&(l.bold=!0),"right"!==xi(i["text-align"])&&(l.textAlign=xi(i["text-align"])),"middle"!==i["vertical-align"]&&(l.verticalAlign=i["vertical-align"]),"normal"!==i["word-wrap"]&&(l.wrap=!0),l}let Ci="autoFill",zi="clear",_i="edit",Ei="paste",Ii="validation";const Si=()=>{};class Mi{constructor(e){this.options=e,this._workbook=e.workbook,this._property=e&&e.property,this._state={}}range(e){return void 0!==e&&this._setRange(e),this._range}_setRange(e){this._range=e}redo(){this.range().select(),this.exec()}undo(){this.setState(this._state)}getState(){this._state=this.range().getState(this._property)}setState(e){this.range().setState(e)}rejectState(e){return this.undo(),{title:e.title,body:e.message,reason:"error",type:"validationError"}}_forEachCell(e){let t=this.range();t._ref.forEach(function(n){t.sheet().forEach(n.toRangeRef(),e.bind(this))}.bind(this))}usesImage(){return!1}}class Oi extends Mi{constructor(e){super(e),this._drawing=e.drawing}usesImage(e){return this._drawing.image===e}}class Ri extends Oi{exec(){let e=this.range().sheet();this._origIndex=e._drawings.indexOf(this._drawing),e._drawings.splice(this._origIndex,1),this._newIndex=this._reorder(),e._drawings.splice(this._newIndex,0,this._drawing),e.triggerChange({drawings:!0})}undo(){let e=this.range().sheet();e._drawings.splice(this._newIndex,1),e._drawings.splice(this._origIndex,0,this._drawing),e.triggerChange({drawings:!0})}}class Hi extends Mi{constructor(e){super(e),this._target=e.target,this._value=e.value}exec(){this.getState(),this.setState(this._value)}}class Fi extends Mi{_setRange(e){Mi.prototype._setRange.call(this,e.skipHiddenCells())}constructor(e){super(e),this._value=e.value}exec(){let e=this.range();e.enable()&&(this.getState(),"format"===this.options.property&&this._workbook.trigger("changeFormat",{range:e}),e[this._property](this._value))}}class Di extends Mi{constructor(e){super(e),this._eventType="cut",this._clipboard=e.workbook.clipboard(),this._event=e.event}exec(){let e,t,n=this._clipboard.canCopy(),r=[];if(!n.canCopy)return n.menuInvoked?{reason:"error",type:"useKeyboard"}:n.multiSelection?{reason:"error",type:"unsupportedSelection"}:void 0;let o=this._workbook.activeSheet().selection();if("cut"===this._eventType){if(!o.enable())return this._event.preventDefault(),{reason:"error",type:"cannotModifyDisabled"};this.getState()}if(this._workbook.trigger(this._eventType,{range:o}))this._event.preventDefault();else if("cut"===this._eventType){if(e=o.values(),e.forEach((function(e){t=[],e.forEach((function(){t.push({})})),r.push(t)})),o.sheet().trigger("changing",{data:r,range:o,changeType:"cut"}))return;this._clipboard.cut()}else this._clipboard.copy()}undo(){let e=this.range();e.sheet().trigger("changing",{data:this._state.data,range:e,changeType:"cut"})||this.setState(this._state)}}class Ai extends Mi{column(){return this.options.column||0}undo(){this.range().sheet().clearFilter(this.column()),this._state.length&&this.range().filter(this._state)}getState(){let e=this.range().sheet().filter();e&&(this._state=e.columns.filter(function(e){return e.index===this.column()}.bind(this)))}exec(){let e,t,n=this.range(),r=this.column(),o=n.sheet().filter(),i=!1;this.options.valueFilter?t={column:r,filter:new Co(this.options.valueFilter)}:this.options.customFilter&&(t={column:r,filter:new zo(this.options.customFilter)}),this.getState(),o&&o.ref.eq(n._ref)&&o.columns.length?(o.columns.forEach((function(e){e.index===r&&(i=!0)})),e=o.columns.map((function(e){return e.index===r?t:{column:e.index,filter:e.filter}})),i||e.push(t)):e=t,n.filter(e)}}class Vi extends Mi{constructor(e){super(e),this.axis=e.axis}undo(){this.range().sheet().setAxisState(this._state)}exec(){let e=this.range().sheet();this._state=e.getAxisState(),"row"===this.axis?e.axisManager().hideSelectedRows():e.axisManager().hideSelectedColumns()}}class Bi extends Mi{exec(){this._expandedRange=this._expand(this.range()),this._state=this._expandedRange.getState(),this._indexes=this._exec(this._expandedRange.sheet())}undo(){let e=this,t=e._expandedRange,n=t.sheet();n.batch((function(){e._indexes.forEach((function(t){e._undoOne(n,t),n._restoreModifiedFormulas(t.formulas)})),t.setState(e._state)}),{layout:!0,recalc:!0,ref:t._ref,isValue:!0})}}class Ni extends Mi{constructor(e){super(e),this._value=e.value}undo(){let e=this,t=e.range().sheet();t.batch((function(){for(let n=e._pos.count;--n>=0;)e._undoOne(t,e._pos.base)}),{layout:!0,recalc:!0})}}class Li extends Mi{constructor(e){super(e),this._name=e.name,this._value=e.value}getState(){this._state=this._workbook.nameDefinition(this._name)}setState(){this._workbook.nameDefinition(this._name,this._state),this._workbook.trigger("change",{recalc:!0})}}var Pi=Object.freeze({__proto__:null,AddColumnCommand:class extends Ni{exec(){let e=this._value,t=this.range().sheet();this._pos="left"===e?t.axisManager().addColumnLeft():t.axisManager().addColumnRight()}_undoOne(e,t){e.deleteColumn(t)}},AddCommand:Ni,AddRowCommand:class extends Ni{exec(){let e=this._value,t=this.range().sheet();this._pos="above"===e?t.axisManager().addRowAbove():t.axisManager().addRowBelow()}_undoOne(e,t){e.deleteRow(t)}},AdjustDecimalsCommand:class extends Mi{constructor(e){e.property="format",super(e),this._delta=e.value}exec(){let e=this.range().sheet(),t=this._delta;this.getState(),e.batch(function(){this.range().forEachCell((function(n,r,o){let i=o.format;if(!i){let e=o.value;"number"==typeof e&&/\./.test(e)&&(i="0."+String(e).split(".")[1].replace(/\d/g,"0"))}(i||t>0)&&(i=Wn.adjustDecimals(i||"0",t),e.range(n,r).format(i))}))}.bind(this))}},AdjustRowHeightCommand:class extends Mi{exec(){let e=this.options,t=this._workbook.activeSheet();(e.range||t.range(e.rowIndex))._adjustRowHeight()}},ApplyFilterCommand:Ai,AutoFillCommand:class extends Mi{constructor(e){super(e)}origin(e){this._origin=e}exec(){let e,t=this.range();if(!t.enable())return{reason:"error",type:"rangeDisabled"};if(t.intersectingArrayFormula())return{reason:"error",type:"intersectsArray"};this.getState();try{if(e=t._previewFillFrom(this._origin),t.sheet().trigger("changing",{data:e.props,range:e.dest,changeType:Ci}))return;e.dest._properties(e.props,!0)}catch(e){if(e instanceof Dr.FillError)return{reason:"error",type:e.code};throw e}}undo(){let e=this.range(),t=this._state;e.sheet().trigger("changing",{data:t.data,range:e,changeType:Ci})||this.setState(this._state)}},BorderChangeCommand:class extends Mi{constructor(e){e.property="border",super(e),this._type=e.border,this._style=e.style}_batch(e){return this.range().sheet().batch(e,{})}exec(){let e=this;e.getState(),e._batch((function(){e[e._type](e._style)}))}noBorders(){this.range().insideBorders(null),this.outsideBorders(null)}allBorders(e){this.range().insideBorders(e),this.outsideBorders(e)}leftBorder(e){this.range().leftColumn().borderLeft(e)}rightBorder(e){this.range().rightColumn().borderRight(e)}topBorder(e){this.range().topRow().borderTop(e)}bottomBorder(e){this.range().bottomRow().borderBottom(e)}outsideBorders(e){let t=this.range();t.leftColumn().borderLeft(e),t.topRow().borderTop(e),t.rightColumn().borderRight(e),t.bottomRow().borderBottom(e)}insideBorders(e){this.range().insideBorders(e),this.outsideBorders(null)}insideHorizontalBorders(e){this.range().insideHorizontalBorders(e)}insideVerticalBorders(e){this.range().insideVerticalBorders(e)}},BringToFrontCommand:class extends Ri{_reorder(){return this.range().sheet()._drawings.length}},ClearContentCommand:class extends Mi{exec(){let e,t,n,r,o,i=[];return this.range().enable()?this.range().canEditArrayFormula()?(this.getState(),e=this.range().skipHiddenCells(),e._ref.refs&&e._ref.refs.length>1?e._ref.refs.forEach((function(t){o=e.sheet().range(t),i=i.concat(o.values())})):i=e.values(),n=[],i.forEach((function(e){t=[],e.forEach((function(){t.push(null)})),n.push(t)})),e.sheet().trigger("changing",{data:n,range:e,changeType:zi})?void 0:(e.clearContent(),r=e._getValidationState(),r?this.rejectState(r):void 0)):{reason:"error",type:"intersectsArray"}:{reason:"error",type:"cannotModifyDisabled"}}undo(){let e,t=this.range().skipHiddenCells(),n=t.sheet(),r=this._state.data,o=[];r.forEach((function(t){e=[],t.forEach((function(t){e.push(t.value)})),o.push(e)})),n.trigger("changing",{data:o,range:t,changeType:zi})||this.setState(this._state)}},ClearFilterCommand:class extends Ai{exec(){let e=this.range(),t=this.column();this.getState(),e.clearFilter(t)}},ColumnWidthCommand:class extends Hi{getState(){this._state=this.range().sheet().columnWidth(this._target)}setState(e){this.range().sheet().columnWidth(this._target,e)}},Command:Mi,CopyCommand:class extends Di{constructor(e){super(e),this._eventType="copy",this.undo=Si}},CutCommand:Di,DefineNameCommand:class extends Li{exec(){this.getState();try{this._workbook.defineName(this._name,this._value),this._workbook.trigger("change",{recalc:!0})}catch(e){return{title:"Error",body:e+"",reason:"error"}}}},DeleteColumnCommand:class extends Bi{_expand(e){return e.resize({top:-1/0,bottom:1/0})}_exec(e){return e.axisManager().deleteSelectedColumns()}_undoOne(e,t){e.insertColumn(t.index),e.columnWidth(t.index,t.width)}},DeleteCommand:Bi,DeleteDrawingCommand:class extends Oi{exec(){let e=this.range().sheet();e._activeDrawing=null,e.removeDrawing(this._drawing)}undo(){let e=this.range().sheet();e._activeDrawing=this._drawing,e.addDrawing(this._drawing)}redo(){this.exec()}},DeleteNameCommand:class extends Li{exec(){this.getState(),this._workbook.undefineName(this._name),this._workbook.trigger("change",{recalc:!0})}},DeleteRowCommand:class extends Bi{_expand(e){return e.resize({left:-1/0,right:1/0})}_exec(e){return e.axisManager().deleteSelectedRows()}_undoOne(e,t){e.insertRow(t.index),e.rowHeight(t.index,t.height)}},DrawingCommand:Oi,DrawingUpdateCommand:class extends Mi{constructor(e){super(e),this._sheet=e.sheet,this._drawing=e.drawing,this._orig=this._drawing.clone(),this._previous=e.previous}exec(){}undo(){this._drawing.reset(this._previous),this._sheet._activeDrawing=this._drawing,this._sheet.triggerChange({layout:!0})}redo(){this._drawing.reset(this._orig),this._sheet._activeDrawing=this._drawing,this._sheet.triggerChange({layout:!0})}usesImage(e){return this._drawing.image===e||this._orig.image===e||this._previous.image===e}},EditCommand:class extends Fi{constructor(e){e.property=e.property||"input",super(e)}_setRange(e){Fi.prototype._setRange.apply(this,arguments),this._editRange=this.options.arrayFormula?e:e.sheet().activeCellSelection()}getState(){this._state=this.range().getState()}exec(){return this.range().sheet().withCultureDecimals(this._exec.bind(this))}undo(){let e=this._editRange,t=this._state;e.sheet().trigger("changing",{data:t.data[0][0].value,range:e,changeType:_i})||this.setState(this._state)}_exec(){let e=this.options.arrayFormula,t=this._editRange;if(!t.enable())return{reason:"error",type:"rangeDisabled"};if(!t.canEditArrayFormula())return{reason:"error",type:"intersectsArray"};let n=this._value;if(this.getState(),!this.range().sheet().trigger("changing",{data:n,range:this._editRange,changeType:_i}))if("value"!==this._property)try{t.link(null),""===n?t.value(null):(t.input(n,{arrayFormula:e}),/\n/.test(t.value())&&t.wrap(!0)),t._adjustRowHeight();let r=t._getValidationState();if(r)return this.rejectState(r)}catch(e){if(e instanceof re.ParseError)return{title:"Error in formula",body:e+"",reason:"error"};throw e}else t.value(n)}},EditValidationCommand:class extends Mi{constructor(e){super(e),this._value=e.value}exec(){let e=this,t=e.range().sheet();if(this.getState(),!t.trigger("changing",{data:e._value,range:e.range(),changeType:Ii}))try{t.withCultureDecimals((function(){e.range().validation(e._value)}))}catch(e){if(e instanceof re.ParseError)return{title:"Error in formula",body:e+"",reason:"error"};throw e}}undo(){let e=this.range(),t=this._state;e.sheet().trigger("changing",{data:t.data[0][0].validation,range:e,changeType:Ii})||this.setState(this._state)}},FilterCommand:class extends Mi{undo(){this.range().filter(this._state)}exec(){let e=this.range();this._state=e.hasFilter(),e.filter(!this._state)}},FreezePanesCommand:class extends Mi{constructor(e){super(e),this._type=e.value}exec(){this.getState(),this._topLeft=this.range().topLeft(),this[this._type]()}getState(){this._state=this.range().sheet().getState()}undo(){this.range().sheet().setState(this._state)}panes(){let e=this._topLeft;this.range().sheet().frozenColumns(e.col).frozenRows(e.row)}rows(){let e=this._topLeft;this.range().sheet().frozenRows(e.row)}columns(){let e=this._topLeft;this.range().sheet().frozenColumns(e.col)}unfreeze(){this.range().sheet().frozenRows(0).frozenColumns(0)}},GridLinesChangeCommand:class extends Hi{getState(){this._state=this._range.sheet().showGridLines()}setState(e){this._range.sheet().showGridLines(e)}},HideLineCommand:Vi,HyperlinkCommand:class extends Mi{constructor(e){super(e),this._link=e.link}exec(){let e=this.range();this._prevLink=e.link(),this._prevUnderline=e.underline(),e.link(this._link),e.underline(!0),null==e.value()&&(this._hasSetValue=!0,e.value(this._link))}undo(){let e=this.range();e.link(this._prevLink),e.underline(this._prevUnderline),this._hasSetValue&&e.value(null)}},InsertCommentCommand:class extends Fi{constructor(e){e.property="comment",super(e)}},InsertImageCommand:class extends Oi{constructor(e){super(e),this._blob=e.blob,this._width=e.width,this._height=e.height}exec(){let e=this.range(),t=e.sheet(),n=this._width,r=this._height,o=n/r;n>r?(n=Math.min(n,300),r=n/o):(r=Math.min(r,300),n=r*o),this._drawing=t.addDrawing({topLeftCell:e.topLeft(),offsetX:5,offsetY:5,width:n,height:r,opacity:1,image:this._workbook.addImage(this._blob)},!0),this._blob=null}undo(){let e=this.range().sheet();e._activeDrawing=null,e.removeDrawing(this._drawing)}redo(){let e=this.range().sheet();e._activeDrawing=this._drawing,e.addDrawing(this._drawing)}},MergeCellCommand:class extends Mi{constructor(e){super(e),this._type=e.value}exec(){this.getState(),this[this._type](),this.range().sheet().triggerChange({recalc:!0})}activate(e){this.range().sheet().activeCell(e)}getState(){this._state=this.range().getState()}undo(){"unmerge"!==this._type&&(this.range().unmerge(),this.activate(this.range().topLeft())),this.range().setState(this._state)}cells(){let e=this.range(),t=e._ref;e.merge(),this.activate(t)}horizontally(){let e=this.range().topRow()._ref;this.range().forEachRow((function(e){e.merge()})),this.activate(e)}vertically(){let e=this.range().leftColumn()._ref;this.range().forEachColumn((function(e){e.merge()})),this.activate(e)}unmerge(){let e=this.range(),t=e._ref.topLeft;e.unmerge(),this.activate(t)}},NameCommand:Li,OpenCommand:class extends Mi{constructor(e){super(e),this.cannotUndo=!0}exec(){if(null===this.options.file.name.match(/.xlsx$/i))return{reason:"error",type:"openUnsupported"};let e=this.options.workbook;e.fromFile(this.options.file);let t=e.excelImportErrors;t&&t.length&&e._view.openDialog("importError",{errors:t})}},PasteCommand:class extends Mi{constructor(e){super(e),this._clipboard=e.workbook.clipboard(),this._clipboard.parse(),this._event=e.event,this._clipboardContent=this._clipboard._content,this._sheet=this._workbook.activeSheet(),this._range=this._sheet.selection?this._sheet.selection():this._sheet.range(this._clipboard.pasteRef()),this._state=this._range.getState(),this._targetRangeRefs=(this._range._ref instanceof k?this._range._ref.refs:[this._range._ref]).map((function(e){return e.toRangeRef()}))}exec(){return this.range().sheet().withCultureDecimals(this._exec.bind(this))}undo(){let e=this._sheet,t=this._range;e.trigger("changing",{data:this._state.data,range:t,changeType:Ei})||this.setState(this._state)}_exec(){let e=this._clipboard.canPaste();if(!e.canPaste)return e.menuInvoked?{reason:"error",type:"useKeyboard"}:e.pasteOnMerged?{reason:"error",type:"modifyMerged"}:e.pasteOnDisabled?(this._event.preventDefault(),{reason:"error",type:"cannotModifyDisabled"}):{reason:"error"};let t=this._sheet,n=this._range;this._workbook.trigger("paste",{range:n,clipboardContent:this._clipboardContent})||t.trigger("changing",{data:this._clipboardContent.data,range:n,changeType:Ei})?this._event.preventDefault():this._processPaste()}_adjustPasteTarget(e,t,n){let r,o,i,a,s,l,c,u=this,h=u._targetRangeRefs,d=u._sheet,p=[];for(l=0;l<h.length;l+=1)i=h[l],s=e[l],a=i.topLeft,c={row:s.rows*t+a.row-1,col:s.cols*n+a.col-1},r=new x(a,c),p.push(r);1===p.length?o=d.range(r):(p.sort((function(e,t){let n=0,r=e.topLeft,o=t.topLeft;return r.row>o.row?n=1:r.row<o.row?n=-1:r.col>o.col?n=1:r.col<o.col&&(n=-1),n})),o=d.range(new k(p))),o.select(),u._range=o,u._state=u._range.getState()}_processPaste(){let e,t=this,n=t._sheet,r=t._clipboardContent,o=t._range,i=r.data,a=i.length,s=i[0].length,l=t._targetRangeRefs,c=t._targetRanges(a,s),u=this._clipboard.pasteRef();(u.bottomRight.row>=n._rows._count||u.bottomRight.col>=n._columns._count)&&n.resize(Math.max(u.bottomRight.row+1,n._rows._count),Math.max(u.bottomRight.col+1,n._columns._count)),t._adjustPasteTarget(c,a,s),n.batch((function(){for(e=0;e<l.length;e++)t._populateTargetRange(l[e],a,s,c[e])}),{recalc:!0,ref:t._range._ref}),o._adjustRowHeight()}_populateTargetRange(e,t,n,r){let o,i,a,s=e.topLeft;for(i=0;i<r.rows;i++)for(a=0;a<r.cols;a++)o=this._sheet.range(s.row+t*i,s.col+n*a),o.setState(this._clipboardContent,this._clipboard)}_targetRangeDimensions(e,t,n){let r=e.topLeft,o=e.bottomRight,i=o.row-r.row+1,a=o.col-r.col+1,s=1,l=1;return i%t==0&&a%n==0&&(s=i/t,l=a/n),{rows:s,cols:l}}_targetRanges(e,t){let n,r=this._targetRangeRefs,o=[];for(n=0;n<r.length;n++)o.push(this._targetRangeDimensions(r[n],e,t));return o}},PropertyChangeCommand:Fi,PropertyCleanCommand:class extends Fi{exec(){let e=this.range();e.enable()&&(this.getState(),e.clearFormat())}},ReorderDrawingsCommand:Ri,RowHeightCommand:class extends Hi{getState(){this._state=this.range().sheet().rowHeight(this._target)}setState(e){this.range().sheet().rowHeight(this._target,e)}},SaveAsCommand:class extends Mi{constructor(e){super(e),this.cannotUndo=!0}exec(){let e=this.options.name+this.options.extension;".xlsx"===this.options.extension?this.options.workbook.saveAsExcel({fileName:e}):".pdf"===this.options.extension&&this.options.workbook.saveAsPDF(D(this.options.pdf,{workbook:this.options.workbook,fileName:e}))}},SendToBackCommand:class extends Ri{_reorder(){return 0}},SortCommand:class extends Mi{undo(){this.range().sheet().setState(this._state)}exec(){let e=this.range(),t=e.sheet(),n=t.activeCell(),r=this.options.sheet?n.topLeft.col:this.options.column||0,o="asc"===this.options.value;this._state=t.getState(),this.options.sheet&&(e=this.expandRange());let i=e.cantSort();if(i)return{reason:"error",type:i.code};e.sort({column:r,ascending:o})}expandRange(){let e=this.range().sheet();return new Dr(e._sheetRef,e)}},TargetValueCommand:Hi,TextWrapCommand:class extends Fi{constructor(e){e.property="wrap",super(e),this._value=e.value}getState(){let e={};this.range().forEachRow((function(t){let n=t.topLeft().row;e[n]=t.sheet().rowHeight(n)})),this._state=this.range().getState(this._property),this._rowHeight=e}undo(){let e=this.range().sheet(),t=this._rowHeight;this.range().setState(this._state);for(let n in t)e.rowHeight(n,t[n])}},ToolbarCopyCommand:class extends Mi{constructor(e){super(e),this._clipboard=e.workbook.clipboard(),this.undo=Si}exec(){return{reason:"error",type:"useKeyboard"}}},ToolbarCutCommand:class extends Mi{constructor(e){super(e),this._clipboard=e.workbook.clipboard(),this.cannotUndo=!0}exec(){return{reason:"error",type:"useKeyboard"}}},ToolbarPasteCommand:class extends Mi{exec(){}},UnHideLineCommand:class extends Vi{exec(){let e=this.range().sheet();this._state=e.getAxisState(),"row"===this.axis?e.axisManager().unhideSelectedRows():e.axisManager().unhideSelectedColumns()}}});class Ti extends $r{constructor(e){super(),this.options=e,this.events=["undo","redo"],this.clear()}push(e){this.stack=this.stack.slice(0,this.currentCommandIndex+1),this.currentCommandIndex=this.stack.push(e)-1}undo(){if(this.canUndo()){let e=this.stack[this.currentCommandIndex--];e.undo(),this.trigger("undo",{command:e})}}redo(){if(this.canRedo()){let e=this.stack[++this.currentCommandIndex];e.redo(),this.trigger("redo",{command:e})}}clear(){this.stack=[],this.currentCommandIndex=-1}canUndo(){return this.currentCommandIndex>=0}canRedo(){return this.currentCommandIndex!==this.stack.length-1}}let ji=String.fromCharCode,Ui={amp:38,lt:60,gt:62,quot:34,apos:39,nbsp:160};function Wi(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}function Ki(e,t){t>65535?(t-=65536,e.push(t>>>10&1023|55296,56320|1023&t)):e.push(t)}let qi=Wi("<![CDATA["),Gi=Wi("]]>"),$i=Wi("--\x3e"),Yi=Wi("!--"),Zi=Wi("/>"),Xi=Wi("</"),Ji=Wi("?>"),Qi=Wi("?"),ea=Wi("<"),ta=Wi(">"),na=Wi(";"),ra=Wi("="),oa=Wi("&"),ia=Wi('"'),aa=Wi("'"),sa=Wi("#"),la=Wi("x"),ca=Wi("X"),ua={};function ha(e,t){let n=0,r=[],o={is:function(e){let t=r.length,n=e.length;for(;--t>=0&&--n>=0;)if(r[t].$tag!==e[n]&&"*"!==e[n])return!1;return n<0?r[r.length-1]:null},exit:function(){throw ua},stack:r};function i(t){let r=e[n++];240&r^240?224&r^224?192&r^192?t.push(r):Ki(t,(31&r)<<6|63&e[n++]):Ki(t,(15&r)<<12|(63&e[n++])<<6|63&e[n++]):Ki(t,(3&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])}function a(e){throw new Error(e+", at "+n)}function s(t){let r=[];for(;n<e.length&&t(e[n]);)r.push(e[n++]);return r}function l(e){return ji.apply(0,s(e))}function c(){s(d)}function u(t){let r=n;for(let o=0;o<t.length;++o)if(e[n++]!==t[o])return n=r,!1;return t}function h(e){u(e)||a("Expecting "+e.join(", "))}function d(e){return 9===e||10===e||13===e||32===e}function p(e){return e>=48&&e<=57}function f(e){return e>=48&&e<=57||(e|=32)>=97&&e<=102}function m(e){return 58===e||95===e||(e|=32)>=97&&e<=122}function v(e){return 45===e||p(e)||m(e)}function g(){let t,o;u(Qi)?(k("decl",b(),x()),h(Ji)):u(Yi)?function(){let t=[];for(;n<e.length;){if(u($i))return k("comment",ji.apply(0,t));i(t)}}():(t=b(),o=x(t),r.push(o),u(Zi)?k("enter",t,o,!0):(h(ta),k("enter",t,o),function(t){let r=[];for(;n<e.length;){if(u(Xi))return r.length&&k("text",ji.apply(0,r));if(u(qi))for(;n<e.length&&!u(Gi);)i(r);else u(ea)?(r.length&&k("text",ji.apply(0,r)),g(),r=[]):u(oa)?w(r):i(r)}a("Unclosed tag "+t)}(t),t!==b()&&a("Bad closing tag"),k("leave",t,o),c(),h(ta)),r.pop())}function b(){return m(e[n])||a("Expecting XML name"),l(v)}function y(){let t=u(ia)||u(aa);t||a("Expecting string");let r=[];for(;n<e.length;){if(u(t))return ji.apply(0,r);u(oa)?w(r):i(r)}a("Unfinished string")}function w(e){let t;if(u(sa))t=u(la)||u(ca)?parseInt(l(f),16):parseInt(l(p),10),isNaN(t)&&a("Bad numeric entity");else{let e=b();t=Ui[e],void 0===t&&a("Unknown entity "+e)}Ki(e,t),h(na)}function x(t){let r={$tag:t};for(;n<e.length;){c();let t=e[n];if(63===t||62===t||47===t)break;r[b()]=(h(ra),y())}return r}function k(e,n,r,i){let a=t&&t[e];a&&a.call(o,n,r,i)}let C=[];for(i(C),65279!==C[0]&&(n=0);n<e.length;)c(),h(ea),g(),c()}const da=function(){try{return ha.apply(this,arguments)}catch(e){if(e!==ua)throw e}};let pa={greaterThanOrEqual:"greaterThanOrEqualTo",lessThanOrEqual:"lessThanOrEqualTo"},fa=null;let ma=["sheetData","row","c"],va=["cols","col"],ga=["definedNames","definedName"],ba=["sheetData","row","c","f"],ya=["mergeCells","mergeCell"],wa=["sheetViews","sheetView","pane"],xa=["sheetData","row"],ka=["sheetViews","sheetView","selection"],Ca=["sheets","sheet"],za=["sheetData","row","c","is"],_a=["t"],Ea=["si"],Ia=["sheetData","row","c","v"],Sa=["bookViews","workbookView"],Ma=["sheetViews","sheetView"],Oa=["hyperlinks","hyperlink"],Ra=["dataValidations","dataValidation"],Ha=["dataValidations","dataValidation","formula1"],Fa=["dataValidations","dataValidation","formula2"],Da=["x14:dataValidations","x14:dataValidation"],Aa=["x14:dataValidations","x14:dataValidation","xm:sqref"],Va=["x14:dataValidations","x14:dataValidation","x14:formula1","xm:f"],Ba=["x14:dataValidations","x14:dataValidation","x14:formula2","xm:f"],Na=["commentList","comment"],La=["authors","author"],Pa=["t"];function Ta(e){return/^\//.test(e)?e=e.substr(1):/^xl\//.test(e)||(e="xl/"+e),e}async function ja(e,t){let n,r={rows:0,cols:0};return await es(e,Ta(t),{enter:function(e,t){"dimension"===e?(n=re.parseReference(t.ref),n.bottomRight&&(r.cols=n.bottomRight.col+1,r.rows=n.bottomRight.row+1)):"sheetFormatPr"===e?(t.defaultColWidth&&(r.columnWidth=Ua(parseFloat(t.defaultColWidth))),t.defaultRowHeight&&(r.rowHeight=Wa(parseFloat(t.defaultRowHeight)))):this.is(xa)&&t.r?r.rows=Math.max(r.rows,+t.r):this.is(ma)&&t.r&&(n=re.parseReference(t.r),r.rows=Math.max(r.rows,n.row+1),r.cols=Math.max(r.cols,n.col+1))}}),r}function Ua(e){return(256*e+Math.floor(128/7))/256*7}function Wa(e){return e*(4/3)}async function Ka(e,t,n,r,o){let i,a,s,l,c,u,h,p,f,m,v,g,b,y,k={},C=n._columns._count,z=null,_=t.replace(/worksheets\//,"worksheets/_rels/"),E=await ts(e,_),I=[];if(fa=n._workbook.excelImportErrors,t=Ta(t),await es(e,t,{enter:function(e,t,r){let u;if(this.is(ba))r&&"shared"===t.t&&null!=t.si&&(l=n.range(k[t.si])._get("formula"));else if(this.is(ma)){s=null,l=null,i=t.r,c=null,null==i&&(i=re.parseReference(z),i.col++,i=i.toString()),z=i,a=t.t;let e=t.s;null!=e&&Qa(n,i,o,e)}else if(this.is(ya))n.range(t.ref).merge();else if(this.is(va)){let e,r=hs(t.min)-1,i=Math.min(C,hs(t.max))-1;if(t.width&&(e=Ua(parseFloat(t.width)),0!==e&&n._columns.values.value(r,i,e)),"1"===t.hidden||0===e)for(let e=r;e<=i;e++)n.hideColumn(e);null!=t.style&&Qa(n,new x(new w(-1/0,r),new w(1/0,i)),o,t.style)}else if(this.is(xa)){let e,r=hs(t.r)-1;t.ht&&(e=Wa(parseFloat(t.ht)),0!==e&&n._rows.values.value(r,r,e)),"1"!==t.hidden&&0!==e||n.hideRow(r)}else if(this.is(ka)){if(t.activeCell){let e=re.parseReference(t.activeCell);n.select(e,!0)}}else if(this.is(wa))t.state&&t.state.indexOf("frozen")>-1&&(t.xSplit&&n.frozenColumns(hs(t.xSplit)),t.ySplit&&n.frozenRows(hs(t.ySplit)));else if(this.is(Ma))n.showGridLines(ds(t.showGridLines,!0));else if(this.is(Oa)){let e=t["r:id"],r=E.byId[e];r&&n.range(t.ref).link(r)}else this.is(["autoFilter"])?(f=t.ref,r&&S()):f&&(this.is(["filterColumn"])?m=parseInt(t.colId,10):this.is(["customFilters"])?(v=ds(t.and)?"and":"or",g=[]):this.is(["customFilter"])?(u=function(e,t){let n={equal:"eq",notEqual:"ne",greaterThan:"gt",greaterThanOrEqual:"gte",lessThan:"lt",lessThanOrEqual:"lte"}[e];return t=Ya(t),n&&"number"==typeof t?{operator:n,value:t}:"notEqual"!==e&&e||"string"!=typeof t?void 0:{operator:e?"doesnotmatch":"matches",value:t}}(t.operator,t.val),u&&g.push({operator:u.operator,value:u.value})):this.is(["dynamicFilter"])?I.push({column:m,filter:new Eo({type:$a(t.type)})}):this.is(["top10"])?I.push({column:m,filter:new _o({value:Ya(t.val),type:(h=ds(t.percent),d=ds(t.top),h&&d?"topPercent":d?"topNumber":h?"bottomPercent":"bottomNumber")})}):this.is(["filters"])?(b=ds(t.blank),y=[]):this.is(["filter"])&&y.push(Ya(t.val)));var h,d},leave:function(e,t){if(this.is(ba))l||"shared"!==t.t||null==t.si||(l=n.range(k[t.si])._get("formula"));else if(this.is(ma)){if(null!=l)Za(n,c||i,(function(){n.range(c||i).formula(l,u)}),"parsing formula")&&n.range(c||i).value(l).background("#ffaaaa");else if(null!=s){let e=n.range(i);e._get("formula")||(a&&"n"!==a?"s"===a?s=r[hs(s)]:"b"===a?s="1"===s:"d"===a&&(s=U().parseDate(s)):s=parseFloat(s),null!=s&&e.value(s))}}else this.is(Ra)||this.is(Da)?function(){let e=re.parseSqref(t.sqref),r=t.type.toLowerCase(),o=t.operator;/^(?:whole|decimal)$/.test(r)?r="number":"list"===r&&(o="list"),!o&&/^(?:number|date)$/.test(r)&&(o="between"),e.forEach((function(e){Za(n,e,(function(){n.range(e).validation({type:ds(t.showErrorMessage,!0)?"reject":"warning",from:h,to:p,dataType:r,comparerType:pa[o]||o,allowNulls:ds(t.allowBlank),showButton:ds(t.showDropDown)||"date"===r||"list"===r,messageTemplate:t.error,titleTemplate:t.errorTitle})}),"parsing validation")}))}():"cols"===e?n._columns._refresh():"sheetData"===e?n._rows._refresh():"autoFilter"===e?S():f&&("customFilters"===e?I.push({column:m,filter:new zo({logic:v,criteria:g})}):"filters"===e&&I.push({column:m,filter:new Co({values:y,blanks:b})}))},text:function(e){let t;this.is(Ia)||this.is(za)?s=e:(t=this.is(ba))?(l=e,u="array"===t.t,u?c=t.ref:"shared"===t.t&&(k[t.si]=i)):this.is(Ha)||this.is(Va)?h=e:this.is(Fa)||this.is(Ba)?p=e:this.is(Aa)&&(this.stack[this.stack.length-2].sqref=e)}}),E.byType.comments){let r=fs(t,E.byType.comments[0]);await async function(e,t,n){let r,o,i=[];await es(e,t,{enter:function(e,t){this.is(Na)?o={author:i[t.authorId],ref:t.ref,text:""}:this.is(La)&&(r="")},leave:function(){this.is(Na)?n.range(o.ref).comment(o.text):this.is(La)&&i.push(r)},text:function(e){this.is(Pa)?o.text+=e:this.is(La)&&(r+=e)}})}(e,r,n)}if(E.byType.drawing){let r=fs(t,E.byType.drawing[0]);await async function(e,t,n){let r,o,i,a,s=["xdr:twoCellAnchor"],l=["xdr:ext"],c=["xdr:oneCellAnchor"],u=["xdr:from"],h=["xdr:to"],p=["xdr:row"],f=["xdr:col"],m=["xdr:rowOff"],v=["xdr:colOff"],g=["xdr:blipFill","a:blip"],b=t.replace(/drawings\//,"drawings/_rels/"),y=await ts(e,b);if(y.byType.image)for(const r of Object.keys(y.byId)){let o=fs(t,y.byId[r]),i=qa(o);if(i){let t=await e.files[o].async("arrayBuffer"),a=Ga(o),s=a&&!d.edge?new window.File([t],a,{type:i}):new window.Blob([t],{type:i});y.byId[r]=n._workbook.addImage(s)}}await es(e,t,{enter:function(e,t){if(this.is(s)||this.is(c))r={};else if(this.is(u)||this.is(h))o={};else if(this.is(g)){let e=t["r:embed"];r.image=y.byId[e]}else this.is(l)&&(i=ms(parseFloat(t.cx)),a=ms(parseFloat(t.cy)))},leave:function(){if(this.is(u))r.topLeftCell=new w(o.row,o.col),r.offsetX=ms(o.colOffset),r.offsetY=ms(o.rowOffset);else if(this.is(h))r.brCell=new w(o.row,o.col),r.brX=ms(o.colOffset),r.brY=ms(o.rowOffset);else if(this.is(s)&&r.image){let e=n._columns.sum(0,r.topLeftCell.col-1)+r.offsetX,t=n._rows.sum(0,r.topLeftCell.row-1)+r.offsetY,o=n._columns.sum(0,r.brCell.col-1)+r.brX,s=n._rows.sum(0,r.brCell.row-1)+r.brY;n.addDrawing({topLeftCell:r.topLeftCell,offsetX:r.offsetX,offsetY:r.offsetY,width:null!=i?i:o-e,height:null!=a?a:s-t,image:r.image,opacity:1})}else this.is(c)&&r.image&&n.addDrawing({topLeftCell:r.topLeftCell,offsetX:r.offsetX,offsetY:r.offsetY,width:i,height:a,image:r.image,opacity:1})},text:function(e){this.is(p)?o.row=parseFloat(e):this.is(f)?o.col=parseFloat(e):this.is(m)?o.rowOffset=parseFloat(e):this.is(v)&&(o.colOffset=parseFloat(e))}})}(e,r,n)}function S(){n.range(f).filter(I),f=null}}function qa(e){let t=/\.([^.]+)$/.exec(e);if(t&&t[1])return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",gif:"image/gif",wmf:"image/wmf"}[t[1].toLowerCase()]}function Ga(e){let t=/[^/]+$/.exec(e);return t&&t[0]}function $a(e){return{Q1:"quarter1",Q2:"quarter2",Q3:"quarter3",Q4:"quarter4",M1:"january",M2:"february",M3:"march",M4:"april",M5:"may",M6:"june",M7:"july",M8:"august",M9:"september",M10:"october",M11:"november",M12:"december"}[e.toUpperCase()]||e}function Ya(e){let t=parseFloat(e);return isNaN(t)||t!==e?e:t}function Za(e,t,n,r){try{return n(),!1}catch(n){let o={context:r,error:String(n)};return e&&e.name?o.sheet=e.name():e&&(o.sheet=e),t&&(o.location=String(t)),fa.push(o),!0}}let Xa={none:0,thin:1,medium:2,dashed:1,dotted:1,thick:3,double:3,hair:1,mediumDashed:2,dashDot:1,mediumDashDot:2,dashDotDot:1,mediumDashDotDot:2,slantDashDot:1},Ja={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"mm-dd-yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@"};function Qa(e,t,n,r){let o,i,a=e.range(t),s=n.inlineStyles[r];var l;function c(e,t){let n=s[e];if(null!=n&&!n)return!1;if(i=s[t],o&&null==i){if(n=o[e],null!=n&&!n)return!1;i=o[t]}return null!=i}s.xfId&&(o=n.namedStyles[s.xfId]),c("applyBorder","borderId")&&function(e){function t(t,n){let r=e[t];if(!r)return;let o=Xa[r.style];if(!o)return;let i=r.color;null==i&&(i="#000");let s={size:o,color:i};"diagonal"===t&&(s.type=r.up<<1|r.down),a._property(n,s)}t("left","borderLeft"),t("top","borderTop"),t("right","borderRight"),t("bottom","borderBottom"),t("diagonal","dBorders")}(n.borders[i]),c("applyFont","fontId")&&function(e){a.fontFamily(e.name),e.size&&a._property("fontSize",4*e.size/3),e.bold&&a.bold(!0),e.italic&&a.italic(!0),e.underline&&a.underline(!0),e.color&&a.color(e.color)}(n.fonts[i]),c("applyAlignment","textAlign")&&a.textAlign(i),c("applyAlignment","verticalAlign")&&a.verticalAlign(i),c("applyAlignment","indent")&&a.indent(i),c("applyAlignment","wrapText")&&a._property("wrap",i),c("applyFill","fillId")&&"solid"===(l=n.fills[i]).type&&a.background(l.color),c("applyNumberFormat","numFmtId")&&function(e){let t="string"==typeof e?e:e.formatCode;null==t||/^general$/i.test(t)||(t=t.replace(/^\[\$-[0-9]+\]/,""),a.format(t))}(n.numFmts[i]||Ja[i])}async function es(e,t,n){let r=e.files[t];r&&await da(await r.async("uint8array"),n)}async function ts(e,t){let n={byId:{},byType:{theme:[]}};return await es(e,Ta(t)+".rels",{enter:function(e,t){if("Relationship"===e){n.byId[t.Id]=t.Target;let e=t.Type.match(/\w+$/)[0],r=n.byType[e]||[];r.push(t.Target),n.byType[e]=r}}}),n}let ns=["borders","border"],rs=["fills","fill"],os=["fonts","font"],is=["cellXfs","xf"],as=["cellStyleXfs","xf"],ss=["numFmts","numFmt"],ls=[ps("FF000000"),ps("FFFFFFFF"),ps("FFFF0000"),ps("FF00FF00"),ps("FF0000FF"),ps("FFFFFF00"),ps("FFFF00FF"),ps("FF00FFFF"),ps("FF000000"),ps("FFFFFFFF"),ps("FFFF0000"),ps("FF00FF00"),ps("FF0000FF"),ps("FFFFFF00"),ps("FFFF00FF"),ps("FF00FFFF"),ps("FF800000"),ps("FF008000"),ps("FF000080"),ps("FF808000"),ps("FF800080"),ps("FF008080"),ps("FFC0C0C0"),ps("FF808080"),ps("FF9999FF"),ps("FF993366"),ps("FFFFFFCC"),ps("FFCCFFFF"),ps("FF660066"),ps("FFFF8080"),ps("FF0066CC"),ps("FFCCCCFF"),ps("FF000080"),ps("FFFF00FF"),ps("FFFFFF00"),ps("FF00FFFF"),ps("FF800080"),ps("FF800000"),ps("FF008080"),ps("FF0000FF"),ps("FF00CCFF"),ps("FFCCFFFF"),ps("FFCCFFCC"),ps("FFFFFF99"),ps("FF99CCFF"),ps("FFFF99CC"),ps("FFCC99FF"),ps("FFFFCC99"),ps("FF3366FF"),ps("FF33CCCC"),ps("FF99CC00"),ps("FFFFCC00"),ps("FFFF9900"),ps("FFFF6600"),ps("FF666699"),ps("FF969696"),ps("FF003366"),ps("FF339966"),ps("FF003300"),ps("FF333300"),ps("FF993300"),ps("FF993366"),ps("FF333399"),ps("FF333333"),ps("FF000000"),ps("FFFFFFFF")],cs=["a:clrScheme","*","a:srgbClr"],us=["a:clrScheme","*","a:sysClr"];function hs(e){return null==e?null:parseInt(e,10)}function ds(e,t){return null==e?t:"true"===e||!0===e||1===e||"1"===e}function ps(e){let t=/^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return"rgba("+parseInt(t[2],16)+", "+parseInt(t[3],16)+", "+parseInt(t[4],16)+", "+parseInt(t[1],16)/255+")"}function fs(e,t){for(e=e.split(/\/+/),t=t.split(/\/+/),e.pop();t.length;){let n=t.shift();if(""===n)e=[];else{if("."===n)continue;".."===n?e.pop():e.push(n)}}return e.join("/")}function ms(e){return e/9525}const vs=["cut","copy","paste","changing","change","excelImport","excelExport","insertSheet","removeSheet","selectSheet","renameSheet","insertRow","insertColumn","deleteRow","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","changeFormat","dataBinding","dataBound","progress"];function gs(e,t){let n=new XMLHttpRequest;n.onload=function(){t(n.response,n.getResponseHeader("Content-Type"))},n.onerror=function(){t(null)},n.open("GET",e),n.responseType="arraybuffer",n.send()}class bs extends $r{constructor(e,t){super(),this.events=vs,this.options=e,this._view=t,this._sheets=[],this._images={},this._imgID=0,this._sheetsSearchCache={},this._sheet=this.insertSheet({rows:this.options.rows,columns:this.options.columns,rowHeight:this.options.rowHeight,columnWidth:this.options.columnWidth,headerHeight:this.options.headerHeight,headerWidth:this.options.headerWidth,dataSource:this.options.dataSource}),this.undoRedoStack=new Ti,this.undoRedoStack.bind(["undo","redo"],this._onUndoRedo.bind(this)),this._context=new Hn(this),this._validationContext=new Fn(this),this._names=Object.create(null),this.fromJSON(this.options)}clipboard(){return this._clipboard||(this._clipboard=new bi(this)),this._clipboard}destroy(){this.unbind(),this._clipboard&&this._clipboard.destroy()}_sheetChanging(e){this.trigger("changing",e)&&e.preventDefault()}_sheetChange(e){this.trigger("change",e)}_sheetInsertRow(e){this.trigger("insertRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetInsertColumn(e){this.trigger("insertColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetDeleteRow(e){this.trigger("deleteRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetDeleteColumn(e){this.trigger("deleteColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetHideRow(e){this.trigger("hideRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetHideColumn(e){this.trigger("hideColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetUnhideRow(e){this.trigger("unhideRow",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetUnhideColumn(e){this.trigger("unhideColumn",{sheet:e.sender,index:e.index})&&e.preventDefault()}_sheetSelect(e){this.trigger("select",e)}_sheetDataBinding(e){this.trigger("dataBinding",{sheet:e.sender})&&e.preventDefault()}_sheetDataBound(e){this.trigger("dataBound",{sheet:e.sender})}_sheetProgress(e){let t=this;setTimeout((function(){t.trigger("progress",{toggle:e.toggle})}))}_sheetCommandRequest(e){this.trigger("commandRequest",e)}_inputForRef(e){let t=this;return t._sheet.withCultureDecimals((function(){return new Dr(e,t._sheet).input()}))}_onUndoRedo(e){e.command.range().select()}execute(e){let t=Object.assign({},{workbook:this},e.options),n=new Pi[e.command](t),r=this.activeSheet();t.origin&&n.origin(t.origin),t.operatingRange?n.range(t.operatingRange):n.range(r.selection()),t.editRange&&(n._editRange=t.editRange);let o=n.exec();return o&&"error"===o.reason||n.cannotUndo||this.undoRedoStack.push(n),this.cleanupImages(),o}resetFormulas(){this._sheets.forEach((function(e){e.resetFormulas()}))}resetValidations(){this._sheets.forEach((function(e){e.resetValidations()}))}refresh(e){e.recalc&&(this.resetFormulas(),this.resetValidations(),this._sheet.recalc(this._context),this._sheet.revalidate(this._validationContext))}activeSheet(e){if(void 0===e)return this._sheet;this.sheetByName(e.name())&&(this._sheet=e,e.triggerChange(I))}moveSheetToIndex(e,t){let n=this.sheetIndex(e),r=this._sheets;-1!==n&&(this._sheetsSearchCache={},r.splice(t,0,r.splice(n,1)[0]),this.trigger("change",{sheetSelection:!0}))}insertSheet(e){let t,n=this,r="number"==typeof(e=e||{}).index?e.index:n._sheets.length,o=n._sheets;const i=this.options.messages;let a=function(e){e=e||1;let t=i.workbook.defaultSheetName+e;return n.sheetByName(t)?a(e+1):t};if(e.name&&n.sheetByName(e.name))return;this._sheetsSearchCache={},t=e.name||a();let s=new Fo(e.rows||this.options.rows,e.columns||this.options.columns,e.rowHeight||this.options.rowHeight,e.columnWidth||this.options.columnWidth,e.headerHeight||this.options.headerHeight,e.headerWidth||this.options.headerWidth,e.defaultCellStyle||this.options.defaultCellStyle);return s._workbook=this,s._name(t),this._bindSheetEvents(s),o.splice(r,0,s),e.data&&s.fromJSON(e.data),e.dataSource&&s.setDataSource(e.dataSource),this.trigger("change",{sheetSelection:!0}),s}_bindSheetEvents(e){e.bind("changing",this._sheetChanging.bind(this)),e.bind("change",this._sheetChange.bind(this)),e.bind("insertRow",this._sheetInsertRow.bind(this)),e.bind("insertColumn",this._sheetInsertColumn.bind(this)),e.bind("deleteRow",this._sheetDeleteRow.bind(this)),e.bind("deleteColumn",this._sheetDeleteColumn.bind(this)),e.bind("hideRow",this._sheetHideRow.bind(this)),e.bind("hideColumn",this._sheetHideColumn.bind(this)),e.bind("unhideRow",this._sheetUnhideRow.bind(this)),e.bind("unhideColumn",this._sheetUnhideColumn.bind(this)),e.bind("select",this._sheetSelect.bind(this)),e.bind("commandRequest",this._sheetCommandRequest.bind(this)),e.bind("dataBinding",this._sheetDataBinding.bind(this)),e.bind("dataBound",this._sheetDataBound.bind(this)),e.bind("progress",this._sheetProgress.bind(this))}sheets(){return this._sheets.slice()}sheetByName(e){return this._sheets[this.sheetIndex(e)]}sheetByIndex(e){return this._sheets[e]}sheetIndex(e){let t=this._sheets,n=("string"==typeof e?e:e.name()).toLowerCase(),r=this._sheetsSearchCache[n];if(r>=0)return r;for(r=0;r<t.length;r++){let e=t[r].name().toLowerCase();if(this._sheetsSearchCache[e]=r,e===n)return r}return-1}renameSheet(e,t){let n=e.name().toLowerCase();if(t&&n!==t.toLowerCase()&&!this.sheetByName(t)&&(e=this.sheetByName(n))&&(this._sheetsSearchCache={},!this.trigger("renameSheet",{sheet:e,newSheetName:t})))return this._sheets.forEach((function(e){e._forFormulas((function(e){e.renameSheet(n,t)}))})),this.forEachName(function(e,r){e.nameref.renameSheet(n,t)&&(this.undefineName(r),e.name=e.nameref.print(),this.nameDefinition(e.name,e)),(e.value instanceof g||e.value instanceof re.runtime.Formula)&&e.value.renameSheet(n,t)}.bind(this)),e._name(t),this.trigger("change",{sheetSelection:!0}),e}removeSheet(e){let t=this,n=t._sheets,r=e.name(),o=t.sheetIndex(e);if(1!==n.length&&!this.trigger("removeSheet",{sheet:e})&&(this._sheetsSearchCache={},o>-1))if(e.unbind(),n.splice(o,1),t.activeSheet().name()===r){let e=n[o===n.length?o-1:o];t.activeSheet(e)}else this.trigger("change",{recalc:!0,sheetSelection:!0})}_clearSheets(){for(let e=0;e<this._sheets.length;e++)this._sheets[e]._activeDrawing=[],this._sheets[e]._drawings=[],this._sheets[e].unbind();this._sheets=[],this._sheetsSearchCache={},this._names={},this._images={},this._imgID=0}_loadImages(){let e=this,t=Object.keys(e._images),n=t.length;function r(){--n<=0&&e.activeSheet().triggerChange({layout:!0})}n?t.forEach((function(t){let n=e._images[t];n.blob||gs(n.url,(function(e,t){null!=e&&(n.blob=new Blob([e],{type:t}),delete n.url),r()}))})):r()}fromJSON(e){if(e.sheets){this._clearSheets(),e.images&&(this._imgID=0,this._images={},Object.keys(e.images).forEach((function(t){if(!isNaN(t)){let e=parseFloat(t);isFinite(e)&&(this._imgID=Math.max(this._imgID,e))}this._images[t]={url:e.images[t]}}),this),this._loadImages());for(let t=0;t<e.sheets.length;t++){let n=e.sheets[t],r=ys(n,this.options),o=this.insertSheet({rows:r.rowCount,columns:r.columnCount,rowHeight:r.rowHeight,columnWidth:r.columnWidth,headerHeight:r.headerHeight,headerWidth:r.headerWidth,data:n});n.dataSource&&o.setDataSource(n.dataSource)}}e.activeSheet?this.activeSheet(this.sheetByName(e.activeSheet)):this.activeSheet(this._sheets[0]),e.names&&e.names.forEach((function(e){this.defineName(e.name,e.value,e.hidden)}),this)}toJSON(){this.resetFormulas(),this.resetValidations();let e=Object.keys(this._names).map((function(e){let t=this._names[e],n=t.value;return n=n instanceof g||n instanceof re.runtime.Formula?n.print(0,0,!0):n instanceof T?String(n):JSON.stringify(n),{value:n,hidden:t.hidden,name:t.name,sheet:t.nameref.sheet,localName:t.nameref.name}}),this);return{activeSheet:this.activeSheet().name(),sheets:this._sheets.map((function(e){return e.recalc(this._context),e.revalidate(this._validationContext),e.toJSON()}),this),names:e,images:{},columnWidth:this.options.columnWidth,rowHeight:this.options.rowHeight}}saveJSON(){let e=this,t=e.toJSON(),n=Object.keys(e._images).filter((function(t){return 1===e.usesImage(t)})),r=n.length;const o=[];return r&&n.forEach((function(n){let r=e._images[n];if(r.blob){const e=new Promise((e=>{let o=new FileReader;o.onload=function(){t.images[n]=o.result,e()},o.readAsDataURL(r.blob)}));o.push(e)}else t.images[n]=r.url})),Promise.all(o).then((()=>t))}fromFile(e){e&&!this.trigger("excelImport",{file:e})&&(this._clearSheets(),function(e,t){let n=new FileReader;n.onload=function(e){p.Z.loadAsync(e.target.result).then((e=>{!async function(e,t){fa=t.excelImportErrors=[];let n=await async function(e){let t=[],n=null;return await es(e,"xl/sharedStrings.xml",{leave:function(){this.is(Ea)&&(t.push(n),n=null)},text:function(e){this.is(_a)&&(null==n&&(n=""),n+=e)}}),t}(e),o=await ts(e,"_rels/workbook.xml"),i=await async function(e,t){let n=[],r={colorScheme:n},o=Ta(t);function i(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}return e.files[o]&&(await es(e,o,{enter:function(e,t){this.is(us)?n.push(ps("window"===t.val?"FFFFFFFF":"FF000000")):this.is(cs)&&n.push(ps("FF"+t.val))}}),n.length>3&&(i(n,0,1),i(n,2,3))),r}(e,o.byType.theme[0]),a=await async function(e,t){let n={fonts:[],numFmts:{},fills:[],borders:[],namedStyles:[],inlineStyles:[]},o=null,i=null,a=null,s=null;function l(e){let t={borderId:hs(e.borderId),fillId:hs(e.fillId),fontId:hs(e.fontId),numFmtId:hs(e.numFmtId),pivotButton:ds(e.pivotButton),quotePrefix:ds(e.quotePrefix),xfId:hs(e.xfId)};function n(n){null!=e[n]&&(t[n]=ds(e[n]))}return n("applyAlignment"),n("applyBorder"),n("applyFill"),n("applyFont"),n("applyNumberFormat"),n("applyProtection"),t}function c(e,n){if(e.rgb)return ps(e.rgb);if(e.indexed)return ls[hs(e.indexed)];if(e.theme){let o=t.colorScheme[hs(e.theme)];if(!o)return n;let i=(0,r.parseColor)(o);if(e.tint){i=i.toHSL();let t=parseFloat(e.tint);i.l=t<0?i.l*(1+t):i.l*(1-t)+(100-100*(1-t))}return i.toCssRgba()}}return await es(e,"xl/styles.xml",{enter:function(e,t,r){if(this.is(ss))n.numFmts[t.numFmtId]=t;else if(this.is(os))n.fonts.push(o={}),r&&(o=null);else if(o)"sz"===e?o.size=parseFloat(t.val):"name"===e?o.name=t.val:"b"===e?o.bold=ds(t.val,!0):"i"===e?o.italic=ds(t.val,!0):"u"===e?o.underline=null==t.val||"single"===t.val:"color"===e&&(o.color=c(t,null));else if(this.is(rs))n.fills.push(i={}),r&&(i=null);else if(i)"patternFill"===e?i.type=t.patternType:("fgColor"===e&&"solid"===i.type||"bgColor"===e&&"solid"!==i.type)&&(i.color=c(t,ls[0]));else if(this.is(ns))n.borders.push(a={diagonalUp:+ds(t.diagonalUp,0),diagonalDown:+ds(t.diagonalDown,0)}),r&&(a=null);else if(a){if(/^(?:left|top|right|bottom|diagonal)$/.test(e)&&(a[e]={style:t.style||"none"},"diagonal"===e&&(a.diagonal.up=a.diagonalUp,a.diagonal.down=a.diagonalDown)),"color"===e){let e=this.stack[this.stack.length-2].$tag;a[e].color=c(t,ls[0])}}else this.is(as)?(s=l(t),n.namedStyles.push(s),r&&(s=null)):this.is(is)?(s=l(t),n.inlineStyles.push(s),r&&(s=null)):s&&"alignment"===e&&(/^(?:left|center|right|justify)$/.test(t.horizontal)&&(s.textAlign=t.horizontal),/^(?:top|center|bottom)$/.test(t.vertical)&&(s.verticalAlign=t.vertical),null!=t.wrapText&&(s.wrapText=ds(t.wrapText)),null!=t.indent&&(s.indent=hs(t.indent)))},leave:function(e){this.is(os)?o=null:this.is(rs)?i=null:this.is(ns)?a=null:"xf"===e&&(s=null)}}),n}(e,i),s=[],l=0;await es(e,"xl/workbook.xml",{enter:function(r,i){if(this.is(Ca)){let r=i["r:id"],l=o.byId[r],c=i.name;s.push({workbook:t,zip:e,strings:n,styles:a,file:l,options:{name:c}})}else this.is(Sa)&&i.activeTab&&(l=hs(i.activeTab))},text:function(e){let n=this.is(ga);if(n&&!ds(n.function)&&!ds(n.vbProcedure)){let r=n.localSheetId,o=null;null!=r&&(o=s[r].options.name);let i=n.name;"_xlnm._FilterDatabase"!==i&&(o&&(i="'"+o.replace(/\'/g,"\\'")+"'!"+i),Za(o,null,(function(){t.defineName(i,e,ds(n.hidden))}),"reading user-defined name: "+i))}}});for(let e=0;e<s.length;e++){const t=s[e],n=await ja(t.zip,t.file),{workbook:r}=t;r.options.columnWidth=n.columnWidth||r.options.columnWidth,r.options.rowHeight=n.rowHeight||r.options.rowHeight,t.options={...t.options,rows:Math.max(r.options.rows||0,n.rows),columns:Math.max(r.options.columns||0,n.cols),columnWidth:n.columnWidth,rowHeight:n.rowHeight}}await async function(e,t){for(let n=0;n<e.length;n++){const r=e[n];let o=t.insertSheet(r.options);o.suspendChanges(!0),await Ka(r.zip,r.file,o,r.strings,r.styles)}}(s,t);let c=t.sheets();(function(e){for(let t=0;t<e.length;t++)e[t].suspendChanges(!1).triggerChange({recalc:!0})})(c),t.activeSheet(c[l])}(e,t)}))},n.readAsArrayBuffer(e)}(e,this))}saveAsExcel(e){let t=this;e=D({},t.options.excel,e);let n=t.toJSON();if(t.trigger("excelExport",{workbook:n}))return;let r=Object.keys(t._images).filter((function(e){return 1===t.usesImage(e)})),o=r.length,i=o?{}:null;function a(){if(--o<=0){n.images=i;let t=new e.Workbook(n);(e.forceProxy?t.toDataURL():t.toBlob()).then((t=>{e.saveAs(t,n.fileName||e.fileName,{proxyURL:e.proxyURL,forceProxy:e.forceProxy})}))}}o?r.forEach((function(e){let n=t._images[e];if(n.blob){let t=new FileReader;t.onload=function(){i[e]={type:n.blob.type,name:n.blob.name,data:t.result},a()},t.readAsArrayBuffer(n.blob)}else gs(n.url,(function(t,n){i[e]={type:n,data:t},a()}))})):a()}draw(e,t){"function"!=typeof e||t||(t=e,e={});let n=[],r=this._sheets;!function o(i){if(i<r.length)r[i].draw(z,e,(function(e){n.push(e),o(i+1)}));else{let e=n[0];for(i=1;i<n.length;++i)e.children=e.children.concat(n[i].children);t(e)}}(0)}nameForRef(e,t){void 0===t&&(t=e.sheet),t=t.toLowerCase();let n=String(e);for(let e in this._names){let r=this._names[e],o=r.value;if(o instanceof g&&(!o.sheet||o.sheet&&t===o.sheet.toLowerCase())&&String(o)===n)return r}return{name:n}}defineName(e,t,n){let r=re.parseNameDefinition(e,t);e=r.name.print(),this._names[e.toLowerCase()]={value:r.value,hidden:n,name:e,nameref:r.name}}undefineName(e){delete this._names[e.toLowerCase()]}nameValue(e){return(e=e.toLowerCase())in this._names?this._names[e].value:null}nameDefinition(e,t){return e=e.toLowerCase(),arguments.length>1&&(void 0===t?delete this._names[e]:this._names[e]=t),this._names[e]}forEachName(e){Object.keys(this._names).forEach((function(t){e(this._names[t],t)}),this)}adjustNames(e,t,n,r){e=e.toLowerCase(),Object.keys(this._names).forEach((function(o){let i=this._names[o],a=i.value;a instanceof g&&a.sheet.toLowerCase()===e?i.value=a.adjust(null,null,null,null,t,n,r):a instanceof re.runtime.Formula&&a.adjust(e,t?"row":"col",n,r)}),this)}addImage(e){let t=String(++this._imgID);return this._images[t]="string"==typeof e?{url:e}:{blob:e},t}imageUrl(e){let t=this._images[e],n=t.url;return n||(n=t.url=window.URL.createObjectURL(t.blob)),n}cleanupImages(){Object.keys(this._images).forEach((function(e){if(!this.usesImage(e)){let t=this._images[e].url;t&&window.URL.revokeObjectURL(t),delete this._images[e]}}),this)}usesImage(e){let t,n=this._sheets;for(t=n.length;--t>=0;)if(n[t].usesImage(e))return 1;let r=this.undoRedoStack.stack;for(t=r.length;--t>=0;)if(r[t].usesImage(e))return 2;return!1}}function ys(e,t){function n(e,t,n){return void 0!==e?e:void 0!==t?t:n}let r=n(e.rowCount,t.rows,200),o=n(e.columnCount,t.columns,50),i=n(e.rowHeight,t.rowHeight,20),a=n(e.columnWidth,t.columnWidth,64),s=n(e.headerHeight,t.headerHeight,20),l=n(e.headerWidth,t.headerWidth,32);if(void 0!==e.rows)for(let t=0;t<e.rows.length;++t){let i=e.rows[t],a=n(i.index,t);if(a>=r&&(r=a+1),i.cells)for(let e=0;e<i.cells.length;++e){let t=n(i.cells[e].index,e);t>=o&&(o=t+1)}}return{rowCount:r,columnCount:o,rowHeight:i,columnWidth:a,headerHeight:s,headerWidth:l}}const ws=["cut","copy","paste","pdfExport","excelExport","excelImport","changing","change","render","removeSheet","selectSheet","renameSheet","insertRow","insertColumn","deleteRow","insertSheet","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","changeFormat","dataBinding","dataBound"];class xs extends Yr{constructor(e,t){super(e,D({},E,t)),this.events=ws,this.bind(this.events,this.options),U({locale:this.options.locale,...this.options.intl}),W().calendar.months.format.wide.forEach((function(e,t){Eo.prototype[e.toLowerCase()]=function(e){return e instanceof Date&&e.getMonth()===t}})),this._view=new gi(this.element,{messages:this.options.messages.view,toolbar:this.options.toolbar,sheetsbar:this.options.sheetsbar,formulaBarInputRef:this.options.formulaBarInputRef,formulaCellInputRef:this.options.formulaCellInputRef,nameBoxRef:this.options.nameBoxRef}),this._workbook=new bs(this.options,this._view),this._controller=new ar(this._view,this._workbook),this._autoRefresh=!0,this._bindWorkbookEvents(),this._view.workbook(this._workbook),this._view.enableClipboard(!1),this.refresh(),this._view.enableClipboard(!0),this._resizeHandler=function(){this.resize()}.bind(this),window.addEventListener("resize",this._resizeHandler),this.element.addEventListener("keydown",this._keyDown.bind(this))}get view(){return this._view}get workbook(){return this._workbook}_keyDown(e){let t=e.keyCode;if(t===S.F11&&e.shiftKey)return this._view.sheetsbar._onAddSelect(),void e.preventDefault();if(e.altKey&&t===S.PAGEDOWN)this._view.sheetsbar.trigger("select",{name:this._view.sheetsbar._sheets[this._view.sheetsbar._selectedIndex+1].name(),isAddButton:!1});else if(e.altKey&&t===S.PAGEUP)this._view.sheetsbar.trigger("select",{name:this._view.sheetsbar._sheets[this._view.sheetsbar._selectedIndex-1].name(),isAddButton:!1});else{if(e.altKey&&t===S.DELETE){let t=function(e){e.sender.isConfirmed()&&this._view.sheetsbar.trigger("remove",{name:this.activeSheet()._name(),confirmation:!0})}.bind(this);return this._view.sheetsbar._openDialog("confirmation",{close:t}),void e.preventDefault()}if(e.altKey&&t===S.R)return this._view.sheetsbar._createEditor(),void e.preventDefault();if(e.ctrlKey&&t===S.B){const e=this.element.querySelector("[data-tool=bold]");e&&e.click()}else if(e.ctrlKey&&t===S.I){const e=this.element.querySelector("[data-tool=italic]");e&&e.click()}else if(e.ctrlKey&&t===S.U){const e=this.element.querySelector("[data-tool=underline]");e&&e.click()}else{if(e.altKey&&t===S.H)return this._view.tabstrip.select(0),void e.preventDefault();if(e.altKey&&t===S.N)return this._view.tabstrip.select(1),void e.preventDefault();if(e.altKey&&t===S.A)return this._view.tabstrip.select(2),void e.preventDefault()}}}_resize(){this.refresh({layout:!0})}_workbookChanging(e){this.trigger("changing",e)&&e.preventDefault()}_workbookChange(e){if(this._autoRefresh&&this.refresh(e),e.recalc&&e.ref){let t=e.range||new Dr(e.ref,this.activeSheet());this.trigger("change",{range:t})}}_workbookCut(e){this.trigger("cut",e)}_workbookCopy(e){this.trigger("copy",e)}_workbookPaste(e){this.trigger("paste",e)}activeSheet(e){return this._workbook.activeSheet(e)}moveSheetToIndex(e,t){return this._workbook.moveSheetToIndex(e,t)}insertSheet(e){return this._workbook.insertSheet(e)}sheets(){return this._workbook.sheets()}removeSheet(e){return this._workbook.removeSheet(e)}sheetByName(e){return this._workbook.sheetByName(e)}sheetIndex(e){return this._workbook.sheetIndex(e)}sheetByIndex(e){return this._workbook.sheetByIndex(e)}renameSheet(e,t){return this._workbook.renameSheet(e,t)}executeCommand(e){return this._controller.executeCommand(e)}refresh(e){return e||(e=I),e.editorClose||(this._view.sheet(this._workbook.activeSheet()),this._controller.sheet(this._workbook.activeSheet()),this._workbook.refresh(e)),e.editorChange||(this._view.refresh(e),this._controller.refresh(),this._view.render(e),this.trigger("render")),this}openDialog(e,t){return this._view.openDialog(e,t)}autoRefresh(e){return void 0!==e?(this._autoRefresh=e,!0===e&&this.refresh(),this):this._autoRefresh}toJSON(){return this._workbook.toJSON()}fromJSON(e){e.sheets?(this._workbook.destroy(),this._workbook=new bs(D({},this.options,e)),this._bindWorkbookEvents(),this._view.workbook(this._workbook),this._controller.workbook(this._workbook),this.activeSheet(this.activeSheet())):this.refresh()}saveJSON(){return this._workbook.saveJSON()}fromFile(e){return this._workbook.fromFile(e)}saveAsPDF(e){this._workbook.saveAsPDF(D({},this.options.pdf,e,{workbook:this._workbook}))}saveAsExcel(e){this._workbook.saveAsExcel(e)}draw(e,t){this._workbook.draw(e,t)}_workbookExcelExport(e){this.trigger("excelExport",e)&&e.preventDefault()}_workbookExcelImport(e){this.trigger("excelImport",e)&&e.preventDefault()}_workbookPdfExport(e){this.trigger("pdfExport",e)&&e.preventDefault()}_workbookInsertSheet(e){this.trigger("insertSheet",e)&&e.preventDefault()}_workbookRemoveSheet(e){this.trigger("removeSheet",e)&&e.preventDefault()}_workbookSelectSheet(e){this.trigger("selectSheet",e)&&e.preventDefault()}_workbookRenameSheet(e){this.trigger("renameSheet",e)&&e.preventDefault()}_workbookInsertRow(e){this.trigger("insertRow",e)&&e.preventDefault()}_workbookInsertColumn(e){this.trigger("insertColumn",e)&&e.preventDefault()}_workbookDeleteRow(e){this.trigger("deleteRow",e)&&e.preventDefault()}_workbookDeleteColumn(e){this.trigger("deleteColumn",e)&&e.preventDefault()}_workbookHideRow(e){this.trigger("hideRow",e)&&e.preventDefault()}_workbookHideColumn(e){this.trigger("hideColumn",e)&&e.preventDefault()}_workbookUnhideRow(e){this.trigger("unhideRow",e)&&e.preventDefault()}_workbookUnhideColumn(e){this.trigger("unhideColumn",e)&&e.preventDefault()}_workbookSelect(e){this.trigger("select",e)}_workbookChangeFormat(e){this.trigger("changeFormat",e)}_workbookDataBinding(e){this.trigger("dataBinding",e)&&e.preventDefault()}_workbookDataBound(e){this.trigger("dataBound",e)}_workbookProgress(){}_bindWorkbookEvents(){this._workbook.bind("cut",this._workbookCut.bind(this)),this._workbook.bind("copy",this._workbookCopy.bind(this)),this._workbook.bind("paste",this._workbookPaste.bind(this)),this._workbook.bind("changing",this._workbookChanging.bind(this)),this._workbook.bind("change",this._workbookChange.bind(this)),this._workbook.bind("excelExport",this._workbookExcelExport.bind(this)),this._workbook.bind("excelImport",this._workbookExcelImport.bind(this)),this._workbook.bind("pdfExport",this._workbookPdfExport.bind(this)),this._workbook.bind("insertSheet",this._workbookInsertSheet.bind(this)),this._workbook.bind("removeSheet",this._workbookRemoveSheet.bind(this)),this._workbook.bind("selectSheet",this._workbookSelectSheet.bind(this)),this._workbook.bind("renameSheet",this._workbookRenameSheet.bind(this)),this._workbook.bind("insertRow",this._workbookInsertRow.bind(this)),this._workbook.bind("insertColumn",this._workbookInsertColumn.bind(this)),this._workbook.bind("deleteRow",this._workbookDeleteRow.bind(this)),this._workbook.bind("deleteColumn",this._workbookDeleteColumn.bind(this)),this._workbook.bind("hideRow",this._workbookHideRow.bind(this)),this._workbook.bind("hideColumn",this._workbookHideColumn.bind(this)),this._workbook.bind("unhideRow",this._workbookUnhideRow.bind(this)),this._workbook.bind("unhideColumn",this._workbookUnhideColumn.bind(this)),this._workbook.bind("select",this._workbookSelect.bind(this)),this._workbook.bind("changeFormat",this._workbookChangeFormat.bind(this)),this._workbook.bind("dataBinding",this._workbookDataBinding.bind(this)),this._workbook.bind("dataBound",this._workbookDataBound.bind(this)),this._workbook.bind("progress",this._workbookProgress.bind(this))}destroy(){this.unbind(),this._workbook.destroy(),this._controller.destroy(),this._view.destroy(),this._resizeHandler&&window.removeEventListener("resize",this._resizeHandler)}defineName(e,t,n){return this._workbook.defineName(e,t,n)}undefineName(e){return this._workbook.undefineName(e)}nameValue(e){return this._workbook.nameValue(e)}forEachName(e){return this._workbook.forEachName(e)}cellContextMenu(){return this._view.cellContextMenu}rowHeaderContextMenu(){return this._view.rowHeaderContextMenu}colHeaderContextMenu(){return this._view.colHeaderContextMenu}addImage(e){return this._workbook.addImage(e)}cleanupImages(){return this._workbook.cleanupImages()}}},8696:(e,t,n)=>{n.r(t),n.d(t,{accessibilityIcon:()=>Jn,aggregateFieldsIcon:()=>kc,alignBottomIcon:()=>$i,alignCenterIcon:()=>Zi,alignItemsBaselineAltIcon:()=>ci,alignItemsBaselineIcon:()=>oi,alignItemsCenterAltIcon:()=>ai,alignItemsCenterIcon:()=>ti,alignItemsEndAltIcon:()=>si,alignItemsEndIcon:()=>ni,alignItemsStartAltIcon:()=>ii,alignItemsStartIcon:()=>ei,alignItemsStretchAltIcon:()=>li,alignItemsStretchIcon:()=>ri,alignJustifyIcon:()=>Ji,alignLeftIcon:()=>Yi,alignMiddleIcon:()=>Gi,alignRemoveIcon:()=>Qi,alignRightIcon:()=>Xi,alignSelfCenterAltIcon:()=>zo,alignSelfCenterIcon:()=>xo,alignSelfEndAltIcon:()=>_o,alignSelfEndIcon:()=>ko,alignSelfStartAltIcon:()=>Co,alignSelfStartIcon:()=>wo,alignSelfStretchAltIcon:()=>Qo,alignSelfStretchIcon:()=>Jo,alignToGridIcon:()=>Do,alignTopIcon:()=>qi,allIcon:()=>Hi,anchorIcon:()=>Ms,applyFormatIcon:()=>fs,arrowDownIcon:()=>S,arrowLeftIcon:()=>M,arrowOverflowDownIcon:()=>x,arrowRightIcon:()=>I,arrowRotateCcwIcon:()=>St,arrowRotateCcwSmallIcon:()=>Rt,arrowRotateCwIcon:()=>Mt,arrowRotateCwSmallIcon:()=>Ht,arrowUpIcon:()=>E,arrowsAxesIcon:()=>D,arrowsLeftRightIcon:()=>ne,arrowsMoveIcon:()=>Nn,arrowsNoChangeIcon:()=>w,arrowsNoRepeatIcon:()=>Ot,arrowsSwapIcon:()=>A,arrowsTopBottomIcon:()=>re,barcodeIcon:()=>er,barcodeOutlineIcon:()=>Qn,barcodeQrCodeScannerIcon:()=>ir,barcodeScannerIcon:()=>tr,behanceBoxIcon:()=>lc,behanceIcon:()=>sc,bellIcon:()=>Lr,binocularsIcon:()=>os,bloggerBoxIcon:()=>Ol,bloggerIcon:()=>Ml,blurIcon:()=>ho,boldIcon:()=>xi,bookIcon:()=>Ga,borderBottomIcon:()=>ba,borderColorIcon:()=>zt,borderLeftIcon:()=>ya,borderRadiusBottomLeftIcon:()=>oe,borderRadiusBottomRightIcon:()=>ie,borderRadiusIcon:()=>le,borderRadiusTopLeftIcon:()=>ae,borderRadiusTopRightIcon:()=>se,borderRightIcon:()=>wa,borderStyleBottomIcon:()=>ce,borderStyleIcon:()=>pe,borderStyleLeftIcon:()=>ue,borderStyleRightIcon:()=>he,borderStyleTopIcon:()=>de,borderTopIcon:()=>ga,borderTypeIcon:()=>_t,bordersAllIcon:()=>da,bordersInsideHorizontalIcon:()=>ma,bordersInsideIcon:()=>fa,bordersInsideVerticalIcon:()=>va,bordersNoneIcon:()=>xa,bordersOutsideIcon:()=>pa,bordersShowHideIcon:()=>ka,boxSizingIcon:()=>fe,brightnessContrastIcon:()=>ao,bringBackwardIcon:()=>yo,bringForwardIcon:()=>bo,bringToBackIcon:()=>go,bringToFrontIcon:()=>vo,brushIcon:()=>no,buildingBlocksIcon:()=>Cs,buttonIcon:()=>Ia,calculatorIcon:()=>Ln,calendarDateIcon:()=>Ma,calendarIcon:()=>Dt,cameraIcon:()=>Ur,cancelCircleIcon:()=>Yt,cancelIcon:()=>Gt,cancelOutlineIcon:()=>$t,caretAltDownIcon:()=>c,caretAltExpandIcon:()=>y,caretAltLeftIcon:()=>u,caretAltRightIcon:()=>l,caretAltToBottomIcon:()=>p,caretAltToLeftIcon:()=>f,caretAltToRightIcon:()=>d,caretAltToTopIcon:()=>h,caretAltUpIcon:()=>s,caretBlIcon:()=>i,caretBrIcon:()=>o,caretDoubleAltDownIcon:()=>g,caretDoubleAltLeftIcon:()=>b,caretDoubleAltRightIcon:()=>v,caretDoubleAltUpIcon:()=>m,caretTlIcon:()=>a,caretTrIcon:()=>r,cartIcon:()=>Pn,categorizeIcon:()=>B,cellSplitHorizontallyIcon:()=>qs,cellSplitVerticallyIcon:()=>Gs,cellsMergeHorizontallyIcon:()=>Ws,cellsMergeIcon:()=>Us,cellsMergeVerticallyIcon:()=>Ks,changeManuallyIcon:()=>Na,chartAreaClusteredIcon:()=>Xu,chartAreaRangeIcon:()=>eh,chartAreaStacked100Icon:()=>Qu,chartAreaStackedIcon:()=>Ju,chartBarClusteredIcon:()=>Gu,chartBarRangeIcon:()=>Zu,chartBarStacked100Icon:()=>Yu,chartBarStackedIcon:()=>$u,chartBubbleIcon:()=>fh,chartCandlestickIcon:()=>mh,chartChoroplethIcon:()=>xh,chartColumnClusteredIcon:()=>Uu,chartColumnRangeIcon:()=>qu,chartColumnStacked100Icon:()=>Ku,chartColumnStackedIcon:()=>Wu,chartDoughnutIcon:()=>lh,chartLineIcon:()=>th,chartLineMarkersIcon:()=>oh,chartLineStacked100Icon:()=>rh,chartLineStacked100MarkersIcon:()=>ah,chartLineStackedIcon:()=>nh,chartLineStackedMarkersIcon:()=>ih,chartOhlcIcon:()=>vh,chartPieIcon:()=>sh,chartRadarFilledIcon:()=>yh,chartRadarIcon:()=>gh,chartRadarMarkersIcon:()=>bh,chartRoseIcon:()=>wh,chartScatterIcon:()=>ch,chartScatterSmoothLinesIcon:()=>hh,chartScatterSmoothLinesMarkersIcon:()=>uh,chartScatterStraightLinesIcon:()=>ph,chartScatterStraightLinesMarkersIcon:()=>dh,checkCircleIcon:()=>Jt,checkIcon:()=>Zt,checkOutlineIcon:()=>Xt,checkboxCheckedIcon:()=>Fr,checkboxIcon:()=>Hr,checkboxIndeterminateIcon:()=>Dr,checkboxNullIcon:()=>Ar,chevronDoubleDownIcon:()=>me,chevronDoubleLeftIcon:()=>ve,chevronDoubleRightIcon:()=>ge,chevronDoubleUpIcon:()=>be,chevronDownIcon:()=>z,chevronLeftIcon:()=>_,chevronRightIcon:()=>C,chevronUpIcon:()=>k,circleIcon:()=>Vr,clearCssIcon:()=>ms,clipboardCodeIcon:()=>ls,clipboardHtmlIcon:()=>hs,clipboardIcon:()=>ss,clipboardMarkdownIcon:()=>ds,clipboardTextIcon:()=>ps,clipboardWordAltIcon:()=>us,clipboardWordIcon:()=>cs,clockArrowRotateIcon:()=>dr,clockIcon:()=>Ft,closedCaptionsIcon:()=>kr,cloudIcon:()=>Zc,codeIcon:()=>Tc,codeSnippetIcon:()=>_a,colResizeIcon:()=>F,columnFreezeIcon:()=>Xs,columnsIcon:()=>$,commentIcon:()=>Xa,commentRemoveIcon:()=>Ja,commentsRemoveIcon:()=>Qa,connectorIcon:()=>Tn,convertLowercaseIcon:()=>Ei,convertUppercaseIcon:()=>Ii,copyFormatIcon:()=>vs,copyIcon:()=>is,cropIcon:()=>Yr,crosstabIcon:()=>fl,crosstabWizardIcon:()=>ml,csIcon:()=>Gc,csprojIcon:()=>Kc,css3Icon:()=>Lc,cssIcon:()=>jc,customFormatIcon:()=>ll,customIconIcon:()=>qa,cutIcon:()=>as,dataCsvIcon:()=>uu,dataIcon:()=>Qc,dataJsonIcon:()=>hu,dataOdsIcon:()=>ye,dataRestIcon:()=>Fu,dataSdsIcon:()=>at,dataSqlIcon:()=>du,dataWebIcon:()=>pu,decimalDecreaseIcon:()=>ul,decimalIncreaseIcon:()=>cl,decreaseHorizontalSpacingIcon:()=>To,decreaseVerticalSpacingIcon:()=>Ko,deliciousBoxIcon:()=>Hl,deliciousIcon:()=>Rl,detailSectionIcon:()=>au,diggBoxIcon:()=>Dl,diggIcon:()=>Fl,dimensionsIcon:()=>Xo,displayBlockIcon:()=>xe,displayFlexIcon:()=>ke,displayInlineBlockIcon:()=>ct,displayInlineFlexIcon:()=>Ce,divIcon:()=>Ri,divideIcon:()=>Xn,documentManagerIcon:()=>Ka,dollarIcon:()=>al,downloadIcon:()=>Cn,downloadLightIcon:()=>st,dragAndDropIcon:()=>V,dribbbleBoxIcon:()=>uc,dribbbleIcon:()=>cc,dropletIcon:()=>oo,dropletSlashIcon:()=>Ho,dropletSliderIcon:()=>ze,editToolsIcon:()=>Va,envelopBoxIcon:()=>Vl,envelopIcon:()=>Al,envelopLinkIcon:()=>Ss,envelopeBoxIcon:()=>pt,envelopeIcon:()=>mt,envelopeLinkIcon:()=>ft,equalIcon:()=>Gn,exclamationCircleIcon:()=>jr,exeIcon:()=>Wc,exportIcon:()=>Tu,eyeIcon:()=>Dn,eyeSlashIcon:()=>lt,eyedropperIcon:()=>Go,facebookBoxIcon:()=>Nl,facebookIcon:()=>Bl,fileAddIcon:()=>zc,fileAscxIcon:()=>Ac,fileAudioIcon:()=>Cu,fileBacIcon:()=>Vc,fileConfigIcon:()=>Dc,fileCsvIcon:()=>Ec,fileDataIcon:()=>Eu,fileDiscImageIcon:()=>Iu,fileErrorIcon:()=>Ru,fileExcelIcon:()=>Ic,fileFlashIcon:()=>Fc,fileFooterIcon:()=>tu,fileHeaderIcon:()=>eu,fileHorizontalIcon:()=>Xc,fileIcon:()=>Cc,fileImageIcon:()=>zu,fileMdbIcon:()=>Mc,filePdfIcon:()=>Rc,filePptIcon:()=>Oc,filePresentationIcon:()=>_u,fileProgrammingIcon:()=>Su,filePsdIcon:()=>Hc,fileReportIcon:()=>_e,fileTxtIcon:()=>_c,fileTypescriptIcon:()=>Du,fileVideoIcon:()=>ku,fileWordIcon:()=>Sc,fileWrenchIcon:()=>wi,fileZipIcon:()=>Bc,filesErrorIcon:()=>Hu,filmIcon:()=>Nc,filterAddExpressionIcon:()=>yn,filterAddGroupIcon:()=>wn,filterClearIcon:()=>mn,filterIcon:()=>fn,filterSmallIcon:()=>vn,filterSortAscSmallIcon:()=>gn,filterSortDescSmallIcon:()=>bn,flashManagerIcon:()=>rs,flipHorizontalIcon:()=>Xr,flipVerticalIcon:()=>Jr,folderAddIcon:()=>yc,folderIcon:()=>gc,folderMoreIcon:()=>xc,folderOpenIcon:()=>bc,folderUpIcon:()=>wc,fontFamilyIcon:()=>zi,fontGrowIcon:()=>bt,fontShrinkIcon:()=>yt,fontSizeIcon:()=>hl,foregroundColorIcon:()=>_i,formElementIcon:()=>za,formIcon:()=>Ca,formatCodeBlockIcon:()=>ks,formulaFxIcon:()=>rl,forwardIcon:()=>gr,fullscreenExitIcon:()=>Ro,fullscreenIcon:()=>Oo,gapColumnIcon:()=>Ee,gapRowIcon:()=>Ie,gaugeLinearIcon:()=>ht,gaugeRadialIcon:()=>dt,gearIcon:()=>Rn,gearsIcon:()=>Hn,globeIcon:()=>xl,globeLinkIcon:()=>Es,globeOutlineIcon:()=>wl,globeUnlinkIcon:()=>Is,googleBoxIcon:()=>Pl,googleIcon:()=>Ll,googlePlusBoxIcon:()=>jl,googlePlusIcon:()=>Tl,graphIcon:()=>ju,grayscaleIcon:()=>uo,greaterOrEqualIcon:()=>Zn,gridIcon:()=>N,gridLayoutIcon:()=>L,groupBoxIcon:()=>Oa,groupCollectionIcon:()=>fu,groupFooterSectionIcon:()=>ru,groupHeaderSectionIcon:()=>nu,groupIcon:()=>P,groupSectionIcon:()=>lu,h1Icon:()=>Fi,h2Icon:()=>Di,h3Icon:()=>Ai,h4Icon:()=>Vi,h5Icon:()=>Bi,h6Icon:()=>Ni,handIcon:()=>sr,handleDragIcon:()=>j,handleResizeAltIcon:()=>Se,handleResizeIcon:()=>Me,hdIcon:()=>xr,heartIcon:()=>Mr,heartOutlineIcon:()=>Sr,homeIcon:()=>te,horizontalRuleIcon:()=>ta,html5Icon:()=>Pc,hyperlinkOpenIcon:()=>_n,hyperlinkOpenSmIcon:()=>En,imageAbsolutePositionIcon:()=>dl,imageAddIcon:()=>$a,imageEditIcon:()=>Ya,imageExportIcon:()=>Kr,imageIcon:()=>Wr,imageMapEditorIcon:()=>Za,imageResizeIcon:()=>$r,imagesIcon:()=>Oe,importIcon:()=>Pu,inboxIcon:()=>Sl,increaseHorizontalSpacingIcon:()=>Po,increaseVerticalSpacingIcon:()=>Wo,indentIcon:()=>Ti,infoCircleIcon:()=>Pr,inheritedIcon:()=>xu,insertBottomIcon:()=>Ki,insertMiddleIcon:()=>Wi,insertTopIcon:()=>Ui,invertColorsIcon:()=>lo,italicIcon:()=>ki,jsIcon:()=>Uc,justifyContentAroundAltIcon:()=>yi,justifyContentAroundIcon:()=>fi,justifyContentBetweenAltIcon:()=>bi,justifyContentBetweenIcon:()=>pi,justifyContentCenterAltIcon:()=>vi,justifyContentCenterIcon:()=>hi,justifyContentEndAltIcon:()=>gi,justifyContentEndIcon:()=>di,justifyContentStartAltIcon:()=>mi,justifyContentStartIcon:()=>ui,kpiStatusDenyIcon:()=>Wn,kpiStatusHoldIcon:()=>Kn,kpiStatusOpenIcon:()=>qn,launchIcon:()=>In,layout1By4Icon:()=>W,layout2By2Icon:()=>K,layoutIcon:()=>U,layoutSideBySideIcon:()=>q,layoutStackedIcon:()=>G,lessOrEqualIcon:()=>Yn,letterSpaceIcon:()=>Re,levelDownIcon:()=>O,levelToTopIcon:()=>H,levelUpIcon:()=>R,lineHeightIcon:()=>He,linkAddIcon:()=>_s,linkIcon:()=>Tt,linkVerticalIcon:()=>Ut,linkedinBoxIcon:()=>Wl,linkedinIcon:()=>Ul,listLatinBigIcon:()=>Fe,listLatinSmallIcon:()=>De,listOrderedIcon:()=>Li,listRomanBigIcon:()=>Ae,listRomanLowerIcon:()=>Lu,listRomanSmallIcon:()=>Ve,listRomanUpperIcon:()=>Nu,listUnorderedIcon:()=>Pi,listUnorderedOutlineIcon:()=>Be,listUnorderedSquareIcon:()=>Ne,lockIcon:()=>Kt,loginIcon:()=>xn,logoutIcon:()=>kn,makeHorizontalSpacingEqualIcon:()=>Lo,makeSameHeightIcon:()=>No,makeSameSizeIcon:()=>Vo,makeSameWidthIcon:()=>Bo,makeVerticalSpacingEqualIcon:()=>Uo,mapMarkerIcon:()=>kl,mapMarkerTargetIcon:()=>Cl,maxHeightIcon:()=>Le,maxWidthIcon:()=>Pe,mediaManagerIcon:()=>ts,menuIcon:()=>X,minHeightIcon:()=>Te,minWidthIcon:()=>je,minusCircleIcon:()=>ln,minusIcon:()=>an,minusOutlineIcon:()=>sn,minusSmIcon:()=>Un,mirrorIcon:()=>Zr,moreHorizontalIcon:()=>Q,moreVerticalIcon:()=>J,musicNotesIcon:()=>zr,myspaceBoxIcon:()=>ql,myspaceIcon:()=>Kl,nonRecurrenceIcon:()=>we,notEqualIcon:()=>$n,outdentIcon:()=>ji,outlineOffsetIcon:()=>Ue,outlineWidthIcon:()=>We,overlapIcon:()=>ee,paddingBottomIcon:()=>Ke,paddingIcon:()=>Ye,paddingLeftIcon:()=>qe,paddingRightIcon:()=>Ge,paddingTopIcon:()=>$e,pageFooterSectionIcon:()=>iu,pageHeaderSectionIcon:()=>ou,paletteIcon:()=>ro,paneFreezeIcon:()=>Ys,paperPlaneIcon:()=>ut,paperclipAltIcon:()=>Pt,paperclipIcon:()=>Lt,paragraphAddIcon:()=>Aa,parameterBooleanIcon:()=>mu,parameterDateTimeIcon:()=>vu,parameterFloatIcon:()=>gu,parameterIntegerIcon:()=>bu,parameterStringIcon:()=>yu,parametersByteArrayIcon:()=>Mu,parametersIcon:()=>cu,parametersUnknownIcon:()=>Ou,passwordIcon:()=>Da,pauseIcon:()=>fr,pauseSmIcon:()=>Er,pencilIcon:()=>Bt,percentIcon:()=>sl,photosIcon:()=>Fo,pinIcon:()=>zl,pinterestBoxIcon:()=>$l,pinterestIcon:()=>Gl,playIcon:()=>pr,playSmIcon:()=>_r,playlistIcon:()=>Cr,plusCircleIcon:()=>on,plusIcon:()=>nn,plusOutlineIcon:()=>rn,plusSmIcon:()=>jn,pointerIcon:()=>lr,positionBottomIcon:()=>Ze,positionLeftIcon:()=>Xe,positionRightIcon:()=>Je,positionTopIcon:()=>Qe,printIcon:()=>Vt,puzzlePieceIcon:()=>zs,qrCodeIcon:()=>rr,qrCodeOutlineIcon:()=>nr,qrCodeScannerIcon:()=>or,questionCircleIcon:()=>Tr,radiobuttonCheckedIcon:()=>Nr,radiobuttonIcon:()=>Br,redditBoxIcon:()=>Zl,redditIcon:()=>Yl,redoIcon:()=>It,regularExpressionIcon:()=>et,removeHorizontalSpacingIcon:()=>jo,removeVerticalSpacingIcon:()=>qo,reorderIcon:()=>Z,replaceAllIcon:()=>tt,replaceSingleIcon:()=>nt,reportElementIcon:()=>rt,rewindIcon:()=>vr,rightDoubleQuotesIcon:()=>ot,rotateIcon:()=>Qr,rotateLeftIcon:()=>to,rotateRightIcon:()=>eo,roundCornersIcon:()=>mo,rowFreezeIcon:()=>Zs,rowsIcon:()=>Y,rssBoxIcon:()=>dc,rssIcon:()=>hc,saveIcon:()=>At,searchIcon:()=>An,selectAllIcon:()=>Ea,selectBoxIcon:()=>Sa,setColumnPositionIcon:()=>hr,shapeLineIcon:()=>io,shapesIcon:()=>fo,shareIcon:()=>El,sharpenIcon:()=>po,signatureIcon:()=>ar,silverlightIcon:()=>es,sizeToGridIcon:()=>Ao,slidersIcon:()=>so,slnIcon:()=>Yc,snapGridIcon:()=>$o,snapToGridlinesIcon:()=>Yo,snapToSnaplinesIcon:()=>Zo,sortAscIcon:()=>cn,sortAscSmallIcon:()=>dn,sortClearIcon:()=>hn,sortDescIcon:()=>un,sortDescSmallIcon:()=>pn,spellCheckerIcon:()=>Qs,starIcon:()=>Rr,starOutlineIcon:()=>Or,stickIcon:()=>cr,stopIcon:()=>mr,stopSmIcon:()=>Ir,strikethroughIcon:()=>Si,stripAllFormattingIcon:()=>gs,stripCssFormatIcon:()=>bs,stripFontElementsIcon:()=>ys,stripSpanElementsIcon:()=>ws,stripWordFormattingIcon:()=>xs,stumbleUponBoxIcon:()=>Jl,stumbleUponIcon:()=>Xl,subreportIcon:()=>Jc,subscriptIcon:()=>Mi,sumIcon:()=>ol,supscriptIcon:()=>Oi,symbolIcon:()=>il,tableAddIcon:()=>Os,tableAlignBottomCenterIcon:()=>ca,tableAlignBottomLeftIcon:()=>la,tableAlignBottomRightIcon:()=>ua,tableAlignMiddleCenterIcon:()=>aa,tableAlignMiddleLeftIcon:()=>ia,tableAlignMiddleRightIcon:()=>sa,tableAlignRemoveIcon:()=>ha,tableAlignTopCenterIcon:()=>ra,tableAlignTopLeftIcon:()=>na,tableAlignTopRightIcon:()=>oa,tableBodyIcon:()=>vl,tableCellDeleteIcon:()=>Ts,tableCellIcon:()=>Fs,tableCellPropertiesIcon:()=>Ds,tableColumnDeleteIcon:()=>Ls,tableColumnGroupsIcon:()=>gl,tableColumnInsertLeftIcon:()=>As,tableColumnInsertRightIcon:()=>Vs,tableCornerIcon:()=>bl,tableDeleteIcon:()=>js,tableIcon:()=>Rs,tablePositionCenterIcon:()=>Vu,tablePositionEndIcon:()=>Bu,tablePositionStartIcon:()=>Au,tablePropertiesIcon:()=>Hs,tableRowDeleteIcon:()=>Ps,tableRowGroupsIcon:()=>yl,tableRowInsertAboveIcon:()=>Bs,tableRowInsertBelowIcon:()=>Ns,tableUnmergeIcon:()=>$s,tableWizardIcon:()=>pl,tellAFriendBoxIcon:()=>ec,tellAFriendIcon:()=>Ql,templateManagerIcon:()=>Ba,textClipIcon:()=>Ct,textOverflowIcon:()=>wt,textTruncateIcon:()=>kt,textWrapArrowIcon:()=>xt,textWrapIcon:()=>ea,textareaIcon:()=>Ra,textboxHiddenIcon:()=>Fa,textboxIcon:()=>Ha,thumbnailsDownIcon:()=>So,thumbnailsLeftIcon:()=>Mo,thumbnailsRightIcon:()=>Io,thumbnailsUpIcon:()=>Eo,tocSectionIcon:()=>su,tocSectionLevelIcon:()=>wu,toggleFullScreenModeIcon:()=>nl,toolbarFloatIcon:()=>Js,trackChangesAcceptAllIcon:()=>ja,trackChangesAcceptIcon:()=>Ta,trackChangesEnableIcon:()=>Pa,trackChangesIcon:()=>La,trackChangesRejectAllIcon:()=>Wa,trackChangesRejectIcon:()=>Ua,transparencyIcon:()=>co,trashIcon:()=>Nt,tumblrBoxIcon:()=>nc,tumblrIcon:()=>tc,twitterBoxIcon:()=>oc,twitterIcon:()=>rc,underlineIcon:()=>Ci,undoIcon:()=>Et,ungroupIcon:()=>T,unlinkIcon:()=>jt,unlinkVerticalIcon:()=>Wt,unlockIcon:()=>qt,unpinIcon:()=>_l,unstickIcon:()=>ur,uploadIcon:()=>zn,userIcon:()=>Il,validationDataIcon:()=>tl,validationXhtmlIcon:()=>el,vbIcon:()=>$c,vbprojIcon:()=>qc,videoExternalIcon:()=>ns,vimeoBoxIcon:()=>fc,vimeoIcon:()=>pc,volumeDownIcon:()=>br,volumeMuteIcon:()=>wr,volumeUpIcon:()=>yr,warningCircleIcon:()=>vt,warningTriangleIcon:()=>gt,wholeWordIcon:()=>it,windowIcon:()=>Sn,windowMinimizeIcon:()=>On,windowRestoreIcon:()=>Mn,wrenchIcon:()=>Fn,xCircleIcon:()=>tn,xIcon:()=>Qt,xOutlineIcon:()=>en,yammerBoxIcon:()=>ac,yammerIcon:()=>ic,youtubeBoxIcon:()=>vc,youtubeIcon:()=>mc,zoomActualSizeIcon:()=>qr,zoomBestFitIcon:()=>Gr,zoomInIcon:()=>Vn,zoomOutIcon:()=>Bn});const r={name:"caret-tr",content:'<path d="M352 160v192L160 160h192z" />',viewBox:"0 0 512 512"},o={name:"caret-br",content:'<path d="M352 352H160l192-192v192z" />',viewBox:"0 0 512 512"},i={name:"caret-bl",content:'<path d="M160 352V160l192 192H160z" />',viewBox:"0 0 512 512"},a={name:"caret-tl",content:'<path d="M160 160h192L160 352V160z" />',viewBox:"0 0 512 512"},s={name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},l={name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},c={name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},u={name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},h={name:"caret-alt-to-top",content:'<path d="m128 352 128-192 128 192H128zm256-224H128v32h256v-32z" />',viewBox:"0 0 512 512"},d={name:"caret-alt-to-right",content:'<path d="m128 128 192 128-192 128V128zm224 256V128h-32v256h32z" />',viewBox:"0 0 512 512"},p={name:"caret-alt-to-bottom",content:'<path d="M384 128 256 320 128 128h256zM128 352h256v-32H128v32z" />',viewBox:"0 0 512 512"},f={name:"caret-alt-to-left",content:'<path d="M352 384 160 256l192-128v256zM128 128v256h32V128h-32z" />',viewBox:"0 0 512 512"},m={name:"caret-double-alt-up",content:'<path d="m128 448 128-192 128 192H128zM256 64 128 256h256L256 64z" />',viewBox:"0 0 512 512"},v={name:"caret-double-alt-right",content:'<path d="m64 128 192 128L64 384V128zm384 128L256 128v256l192-128z" />',viewBox:"0 0 512 512"},g={name:"caret-double-alt-down",content:'<path d="M384 64 256 256 128 64h256zM256 448l128-192-128 1H128l128 191z" />',viewBox:"0 0 512 512"},b={name:"caret-double-alt-left",content:'<path d="M448 384 256 256.001l192-128V384zM64 256.001 256 384V128L64 256.001z" />',viewBox:"0 0 512 512"},y={name:"caret-alt-expand",content:'<path d="M128 288h256L256 480 128 288zM256 32 128 224h256.001L256 32z" />',viewBox:"0 0 512 512"},w={name:"arrows-no-change",content:'<path d="M256 160 128 352 0 160h256zm96 0L224 352h256.001L352 160z" />',viewBox:"0 0 512 512"},x={name:"arrow-overflow-down",content:'<path d="M384 160 256 352 128 160h256zM128 96v32h256V96H128z" />',viewBox:"0 0 512 512"},k={name:"chevron-up",content:'<path d="m129.941 353.941 126.06-126.06 126.061 126.06L416 320 256.001 160 96 320l33.941 33.941z" />',viewBox:"0 0 512 512"},C={name:"chevron-right",content:'<path d="m158.059 129.941 126.06 126.06-126.06 126.061L192 416l160-159.999L192 96l-33.941 33.941z" />',viewBox:"0 0 512 512"},z={name:"chevron-down",content:'<path d="m382.059 158.059-126.06 126.06-126.061-126.06L96 192l159.999 160L416 192l-33.941-33.941z" />',viewBox:"0 0 512 512"},_={name:"chevron-left",content:'<path d="m353.941 382.059-126.06-126.06 126.06-126.061L320 96 160 255.999 320 416l33.941-33.941z" />',viewBox:"0 0 512 512"},E={name:"arrow-up",content:'<path d="M384 288h-96v128h-64l-.001-128H128L255.999 96 384 288z" />',viewBox:"0 0 512 512"},I={name:"arrow-right",content:'<path d="M224 384v-96H96v-64h128v-96l192 128-192 128z" />',viewBox:"0 0 512 512"},S={name:"arrow-down",content:'<path d="M128 224h96V96h64l.001 128H384L256.001 416 128 224z" />',viewBox:"0 0 512 512"},M={name:"arrow-left",content:'<path d="M288 128v96h128v64l-128 .001V384L96 256.001 288 128z" />',viewBox:"0 0 512 512"},O={name:"level-down",content:'<path d="M288 192v64h64l-80 128-80-128h64v-64H128v-32h288v32H288z" />',viewBox:"0 0 512 512"},R={name:"level-up",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96h-64z" />',viewBox:"0 0 512 512"},H={name:"level-to-top",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96h-64zm288-160H96v32h320v-32z" />',viewBox:"0 0 512 512"},F={name:"col-resize",content:'<path d="M128 255h64v33h-64v64.6L0 271.9l128-80.7V255zm96 225h64V32h-64v448zm288-207.9-128-80.7V256h-64v33h64v63.9l128-80.8z" />',viewBox:"0 0 512 512"},D={name:"arrows-axes",content:'<path d="M352 480v-64H128v64H96v-64H32v-32h64V160H32l80-128 80 128h-64v224h224v-64l128 80-128 80z" />',viewBox:"0 0 512 512"},A={name:"arrows-swap",content:'<path d="M256 160h-64v224h-32V160H96l80-128 80 128zm96 192V128h-32v224h-64l80 128 80-128h-64z" />',viewBox:"0 0 512 512"},V={name:"drag-and-drop",content:'<path d="m32 128 192 112L32 352V128zm224 96v32h224v-32H256z" />',viewBox:"0 0 512 512"},B={name:"categorize",content:'<path d="M32 32v192l160-96L32 32zm0 448V288l160 96-160 96zM192 64h288v32H192V64zm0 96h288v32H192v-32zm0 160h288v32H192v-32zm0 96h288v32H192v-32z" />',viewBox:"0 0 512 512"},N={name:"grid",content:'<path d="M32 32h128v128H32V32zm160 448h128V352H192v128zm-160 0h128V352H32v128zm0-160h128V192H32v128zm160 0h128V192H192v128zM352 32v128h128V32H352zm0 288h128V192H352v128zM192 160h128V32H192v128zm160 320h128V352H352v128z" />',viewBox:"0 0 512 512"},L={name:"grid-layout",content:'<path d="M32 32h96v96H32V32zm128 0v96h320V32H160zM32 288h96v-96H32v96zm128 0h320v-96H160v96zM32 448h96v-96H32v96zm128 0h320v-96H160v96z" />',viewBox:"0 0 512 512"},P={name:"group",content:'<path d="M32 256h192v192H32V256zm0-32h192V32H32v192zm224 224h192V256H256v192zm0-416v192h192V32H256z" />',viewBox:"0 0 512 512"},T={name:"ungroup",content:'<path d="M32 256h192v192H32V256zm32-64h128V64H64v128zm224 224h128V288H288v128zM256 32v192h192V32H256z" />',viewBox:"0 0 512 512"},j={name:"handle-drag",content:'<path d="M160 64h64v384h-64V64zm96 0v384h64V64h-64z" />',viewBox:"0 0 512 512"},U={name:"layout",content:'<path d="M192 416h256v64H192v-64zm0-32h256v-64H192v64zM32 480h128V128H32v352zm160-288h256v-64H192v64zm0 96h256v-64H192v64zM32 0v96h416V0H32z" />',viewBox:"0 0 512 512"},W={name:"layout-1-by-4",content:'<path d="M32 0h192v480H32V0zm224 0v96h192V0H256zm0 224h192v-96H256v96zm0 128h192v-96H256v96zm0 128h192v-96H256v96z" />',viewBox:"0 0 512 512"},K={name:"layout-2-by-2",content:'<path d="M32 224h192V0H32v224zm224 0h192V0H256v224zM32 480h192V256H32v224zm224 0h192V256H256v224z" />',viewBox:"0 0 512 512"},q={name:"layout-side-by-side",content:'<path d="M32 384h416v96H32v-96zm0-32h416v-96H32v96zm0-128h416v-96H32v96zM32 0v96h416V0H32z" />',viewBox:"0 0 512 512"},G={name:"layout-stacked",content:'<path d="M32 256h192v96H32v-96zm0 224h192v-96H32v96zm224-128h192v-96H256v96zM32 0v224h416V0H32zm224 480h192v-96H256v96z" />',viewBox:"0 0 512 512"},$={name:"columns",content:'<path d="M64 32h96v448H64V32zm128 448h96V32h-96v448zM320 32v448h96V32h-96z" />',viewBox:"0 0 512 512"},Y={name:"rows",content:'<path d="M480 64v96H32V64h448zM32 192v96h448v-96H32zm448 128H32v96h448v-96z" />',viewBox:"0 0 512 512"},Z={name:"reorder",content:'<path d="M480 128v64H32v-64h448zM32 224v64h448v-64H32zm448 96H32v64h448v-64z" />',viewBox:"0 0 512 512"},X={name:"menu",content:'<path d="M480 32v96H32V32h448zM32 192v96h448v-96H32zm448 160H32v96h448v-96z" />',viewBox:"0 0 512 512"},J={name:"more-vertical",content:'<path d="M240 128c26.4 0 48-21.6 48-48s-21.6-48-48-48-48 21.6-48 48 21.6 48 48 48zm0 64c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48zm0 160c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48z" />',viewBox:"0 0 512 512"},Q={name:"more-horizontal",content:'<path d="M128 240c0-26.4-21.6-48-48-48s-48 21.6-48 48 21.6 48 48 48 48-21.6 48-48zm64 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48zm160 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48z" />',viewBox:"0 0 512 512"},ee={name:"overlap",content:'<path d="M320 320V64H64v256h256zM192 448h256V192h-96v160H192v96z" />',viewBox:"0 0 512 512"},te={name:"home",content:'<path d="M480 256c0 17.7-14.3 32-32 32-9.1 0-17.4-3.8-23.2-10l-8.8-8.7V416c0 17.7-14.3 32-32 32h-64c-17.7 0-32-14.3-32-32v-96h-64v96c0 17.7-14.3 32-32 32h-64c-17.7 0-32-14.3-32-32V268.6l-8.3 8.9C81.8 284 73.4 288 64 288c-17.7 0-32-14.3-32-32 0-8.5 3.3-16.1 8.6-21.9l.2-.2 1-1 191-191.3 1-1c5.8-5.5 13.6-8.9 22.2-8.9 9.1 0 17.3 3.8 23.1 9.9L470.3 233l.7.7.3.3c5.4 5.8 8.7 13.5 8.7 22z" />',viewBox:"0 0 512 512"},ne={name:"arrows-left-right",content:'<path d="m512 240-128-80v64H128v-64L0 240l128 80v-64h256v64z" />',viewBox:"0 0 512 512"},re={name:"arrows-top-bottom",content:'<path d="m240 512 80-128h-64V128h64L240 0l-80 128h64v256h-64z" />',viewBox:"0 0 512 512"},oe={name:"border-radius-bottom-left",content:'<path d="M384 368c0 8.8-7.2 16-16 16h-64c-97 0-176-79-176-176v-64c0-8.8 7.2-16 16-16s16 7.2 16 16v64c0 79.4 64.6 144 144 144h64c8.8 0 16 7.2 16 16z" />',viewBox:"0 0 512 512"},ie={name:"border-radius-bottom-right",content:'<path d="M368 128c8.8 0 16 7.2 16 16v64c0 97-79 176-176 176h-64c-8.8 0-16-7.2-16-16s7.2-16 16-16h64c79.4 0 144-64.6 144-144v-64c0-8.8 7.2-16 16-16z" />',viewBox:"0 0 512 512"},ae={name:"border-radius-top-left",content:'<path d="M144 384c-8.8 0-16-7.2-16-16v-64c0-97 79-176 176-176h64c8.8 0 16 7.2 16 16s-7.2 16-16 16h-64c-79.4 0-144 64.6-144 144v64c0 8.8-7.2 16-16 16z" />',viewBox:"0 0 512 512"},se={name:"border-radius-top-right",content:'<path d="M128 144c0-8.8 7.2-16 16-16h64c97 0 176 79 176 176v64c0 8.8-7.2 16-16 16s-16-7.2-16-16v-64c0-79.4-64.6-144-144-144h-64c-8.8 0-16-7.2-16-16z" />',viewBox:"0 0 512 512"},le={name:"border-radius",content:'<path d="M64 32h96v32H64v96H32V32h32zm384 416h-96v32h128V352h-32v96zM352 32v32h96v96h32V32H352zM64 352H32v128h128v-32H64v-96z" />',viewBox:"0 0 512 512"},ce={name:"border-style-bottom",content:'<path d="M96 480v-64h320v64H96zm1-416h320V32H97v32zM64 416V96H32v320h32zm416 0V96h-32v320h32z" />',viewBox:"0 0 512 512"},ue={name:"border-style-left",content:'<path d="M32 96h64v320H32V96zm416 1v320h32V97h-32zM96 64h320V32H96v32zm0 416h320v-32H96v32z" />',viewBox:"0 0 512 512"},he={name:"border-style-right",content:'<path d="M480 416h-64V96h64v320zm-416-1V95H32v320h32zm352 33H96v32h320v-32zm0-416H96v32h320V32z" />',viewBox:"0 0 512 512"},de={name:"border-style-top",content:'<path d="M416 32v64H96V32h320zm-1 416H95v32h320v-32zm33-352v320h32V96h-32zM32 96v320h32V96H32z" />',viewBox:"0 0 512 512"},pe={name:"border-style",content:'<path d="M32 96h32v320H32zm416 1h32v320h-32zM96 32h320v32H96zm0 416h320v32H96z" />',viewBox:"0 0 512 512"},fe={name:"box-sizing",content:'<path d="M32 0H0v480h480V0H32zm416 448H32V32h416v416zm-96-320h-32V96h32v32zM96 192H64v-32h32v32zm0-64H64V96h32v32zm64 0h-32V96h32v32zm64 0h-32V96h32v32zm64 0h-32V96h32v32zM96 256H64v-32h32v32zm320-128h-32V96h32v32zm0 128h-32v-32h32v32zm0-64h-32v-32h32v32zM96 384H64v-32h32v32zm256 0h-32v-32h32v32zm-192 0h-32v-32h32v32zm64 0h-32v-32h32v32zm64 0h-32v-32h32v32zm128 0h-32v-32h32v32zM96 320H64v-32h32v32zm320 0h-32v-32h32v32z" />',viewBox:"0 0 512 512"},me={name:"chevron-double-down",content:'<path d="M382.1 224 256 350.1 129.9 224 96 257.9l160 160 160-160-33.9-33.9zm0-128L256 222.1 129.9 96 96 129.9l160 160 160-160L382.1 96z" />',viewBox:"0 0 512 512"},ve={name:"chevron-double-left",content:'<path d="M289 383 162.9 257 289 130.9 255 97 95 257l160 160 34-34zm128 0L290.9 257 417 130.9 383 97 223 257l160 160 34-34z" />',viewBox:"0 0 512 512"},ge={name:"chevron-double-right",content:'<path d="M223 130.9 349.1 257 223 383l34 34 160-160L257 97l-34 33.9zm-128 0L221.1 257 95 383l34 34 160-160L129 97l-34 33.9z" />',viewBox:"0 0 512 512"},be={name:"chevron-double-up",content:'<path d="m129.9 289.9 126.1-126L382.1 290l33.9-34L256 96 96 256l33.9 33.9zm0 128 126.1-126L382.1 418l33.9-34-160-160L96 384l33.9 33.9z" />',viewBox:"0 0 512 512"},ye={name:"data-ods",content:'<path d="M415.94 93.61v.33c-.53 33.88-86.26 61.29-191.93 61.29S32.6 127.82 32.07 93.94v-.33C32.06 59.59 118 32 224 32s191.94 27.59 191.94 61.61Zm-.06 46.39v.32c-.53 33.88-86.26 61.29-191.93 61.29S32.54 174.2 32 140.32V140l.12 86.81v.32c.53 33.88 86.26 61.29 191.93 61.29S415.46 261 416 227.13v-.32Zm.12 180-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68Zm-256 6.11C85.73 317.69 32.43 295 32 268.32V268l.12 86.81v.32C32.55 381.8 85.8 404.47 160 412.9Zm73.5 123.55q-22.26 0-36.28-14.49t-14-37.76q0-24.57 14.24-39.74t37.72-15.18q22.18 0 35.88 14.53t13.69 38.3q0 24.42-14.2 39.38t-37.05 14.96Zm1-87.08q-12.28 0-19.51 9.22t-7.23 24.39q0 15.39 7.23 24.35a23.15 23.15 0 0 0 18.93 9q12.07 0 19.15-8.71t7.08-24.17q0-16.11-6.86-25.08t-18.78-9Zm68.9 85.28V344.23h36.71q55.22 0 55.21 50.51 0 24.21-15.06 38.66t-40.15 14.46Zm23.34-84.63v65.69h11.57q15.17 0 23.81-9.1t8.64-24.82q0-14.82-8.56-23.31t-24-8.49Zm82.49 80.65v-23.12a44.75 44.75 0 0 0 13.66 7.91 43.91 43.91 0 0 0 14.89 2.64 33.06 33.06 0 0 0 7.7-.8 18 18 0 0 0 5.49-2.2 9.67 9.67 0 0 0 3.29-3.33 8.29 8.29 0 0 0 1.08-4.15 9 9 0 0 0-1.73-5.42 18.77 18.77 0 0 0-4.74-4.41 49 49 0 0 0-7.12-3.9q-4.11-1.87-8.89-3.83-12.14-5.06-18.1-12.36a27 27 0 0 1-6-17.63 28.05 28.05 0 0 1 3.25-13.91 27.71 27.71 0 0 1 8.85-9.58 39.85 39.85 0 0 1 13-5.53 66.6 66.6 0 0 1 15.61-1.77 93.91 93.91 0 0 1 14.34 1 56.36 56.36 0 0 1 11.53 3v21.6a35.76 35.76 0 0 0-5.68-3.18 44.84 44.84 0 0 0-6.32-2.27 48.64 48.64 0 0 0-6.47-1.34 45.54 45.54 0 0 0-6.1-.43 31.65 31.65 0 0 0-7.23.76 18.18 18.18 0 0 0-5.49 2.13 10.47 10.47 0 0 0-3.47 3.29 7.77 7.77 0 0 0-1.23 4.3 8.27 8.27 0 0 0 1.37 4.66 15.88 15.88 0 0 0 3.91 3.9 40.85 40.85 0 0 0 6.14 3.61q3.61 1.77 8.16 3.65a91.56 91.56 0 0 1 11.17 5.53 39.85 39.85 0 0 1 8.49 6.61 25.82 25.82 0 0 1 5.42 8.42 29.82 29.82 0 0 1 1.88 11q0 8.67-3.29 14.56a26.68 26.68 0 0 1-8.92 9.54 38.57 38.57 0 0 1-13.12 5.24 75.82 75.82 0 0 1-15.79 1.59 88.11 88.11 0 0 1-16.22-1.44 49.18 49.18 0 0 1-13.31-4.34Z" />',viewBox:"0 0 512 512"},we={name:"non-recurrence",content:'<path d="m321 434.2 47.5 47.5C335.5 501 297 512 256 512 132.3 512 32 411.7 32 288c0-41 11-79.5 30.3-112.6l47.5 47.5c-8.9 19.9-13.8 41.9-13.8 65 0 88.2 71.8 160 160 160 23.1.1 45.2-4.8 65-13.7Zm118.3-17.5c12.9-18.3 23.1-38.7 30.1-60.4 6.9-21.5 10.6-44.5 10.6-68.3 0-40.8-10.9-79.1-30-112l-55.5 32c13.6 23.5 21.5 50.9 21.5 80 0 4.8-.2 9.5-.6 14.2-2.2 24.8-10.1 47.9-22.3 68.2L173.6 150.9c20.3-12.2 43.4-20.1 68.2-22.3 4.7-.4 9.4-.6 14.2-.6v64l160-96L256 0v64c-23.8 0-46.7 3.7-68.3 10.6-21.8 7-42.1 17.2-60.4 30.1L22.6 0 0 22.6 489.4 512l22.6-22.6-72.7-72.7Z" />',viewBox:"0 0 512 512"},xe={name:"display-block",content:'<path d="M32 32h448v32H32zm0 416h448v32H32zm0-64h448V128H32v256zm64-192h320v128H96V192z" />',viewBox:"0 0 512 512"},ke={name:"display-flex",content:'<path d="M32 32v448h448V32H32zm416 416H64V64h384v384zM128 128h96v256h-96zm160 0h96v256h-96z" />',viewBox:"0 0 512 512"},Ce={name:"display-inline-flex",content:'<path d="M96 416h320V96H96v320zm32-288h256v256H128V128zm32 32h64v192h-64zm128 0h64v192h-64zM32 32h32v448H32zm416 0h32v448h-32z" />',viewBox:"0 0 512 512"},ze={name:"droplet-slider",content:'<path d="M192 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S32 404.8 32 312C32 181.3 192 32 192 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136zm128-88h-32v256h32V224zm0-192h-32v64h32V32zm-64 96v64h96v-64h-96z" />',viewBox:"0 0 512 512"},_e={name:"file-report",content:'<path d="M416 32H96a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h320a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32Zm0 416H96V64h320Zm-96-96-160 .14V384l160-.14Zm32-64-192 .17V320l192-.17ZM223.15 127.9a64 64 0 1 0 64 64h-64Zm32-32v64h64a64 64 0 0 0-63.99-64Z" />',viewBox:"0 0 512 512"},Ee={name:"gap-column",content:'<path d="M32 32v448h448V32H32zm416 416H64V64h384v384zM96 96h96v320H96zm224 0h96v320h-96z" />',viewBox:"0 0 512 512"},Ie={name:"gap-row",content:'<path d="M480 32H32v448h448V32zM64 448V64h384v384H64zM96 96h320v96H96zm0 224h320v96H96z" />',viewBox:"0 0 512 512"},Se={name:"handle-resize-alt",content:'<path d="M480 224v256H224v-64h192V224h64z" />',viewBox:"0 0 512 512"},Me={name:"handle-resize",content:'<path d="m379.5 475.5-22.6-22.6 96-96 22.6 22.6-96 96zm79.7-208.2-22.6-22.6-191.9 191.9 22.6 22.6 191.9-191.9z" />',viewBox:"0 0 512 512"},Oe={name:"images",content:'<path d="M256 288c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm96-64v192c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32zm-31.8 0c-.1-.1-.1-.1 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40 .3-149.9zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zm64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},Re={name:"letter-space",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80h108zm-54-166.2L294.4 288h-76.8L256 169.8zM448 32h32v448h-32zM32 32h32v448H32z" />',viewBox:"0 0 512 512"},He={name:"line-height",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80h108zm-54-166.2L294.4 288h-76.8L256 169.8zM32 32h448v32H32zm0 416h448v32H32z" />',viewBox:"0 0 512 512"},Fe={name:"list-latin-big",content:'<path d="M115.1 136H72.6l-7.4 24H32.1L79.3 31.5h29.1L155.9 160h-33.3l-7.5-24zm-35-23.9h27.6L93.8 67.5l-13.7 44.6zM42.1 320V191.5h46.2c16.5 0 29.1 3 37.7 9.1 8.6 6.1 12.9 14.9 12.9 26.4 0 6.6-1.5 12.3-4.6 17-3.1 4.7-7.6 8.2-13.5 10.4 6.7 1.8 11.9 5.1 15.4 9.9 3.6 4.8 5.4 10.7 5.4 17.7 0 12.6-4 22.1-12 28.4-8 6.3-19.8 9.5-35.4 9.7H42.1zm31-74.9h16.2c6.8-.1 11.6-1.3 14.5-3.7 2.9-2.4 4.3-6 4.3-10.7 0-5.4-1.6-9.3-4.7-11.7-3.1-2.4-8.2-3.6-15.1-3.6H73.1v29.7zm0 20.3v30.8h20.3c5.6 0 9.9-1.3 12.9-3.8 3-2.6 4.5-6.2 4.5-10.8 0-10.7-5.3-16.1-16-16.2H73.1zm73 171.1c-.4 8.9-2.8 16.8-7.2 23.7-4.4 6.9-10.6 12.2-18.6 15.9-8 3.8-17.1 5.6-27.3 5.6-16.9 0-30.2-5.5-39.9-16.5s-14.6-26.5-14.6-46.6v-6.4c0-12.6 2.2-23.6 6.6-33.1 4.4-9.4 10.7-16.7 18.9-21.9 8.2-5.1 17.8-7.7 28.6-7.7 15.6 0 28.1 4.1 37.6 12.3 9.5 8.2 14.9 19.5 16.2 33.9h-30.9c-.2-7.8-2.2-13.4-5.9-16.9-3.7-3.4-9.4-5.1-16.9-5.1-7.7 0-13.4 2.9-16.9 8.6-3.6 5.8-5.5 15-5.6 27.6v9.1c0 13.7 1.7 23.5 5.2 29.4 3.4 5.9 9.4 8.8 17.8 8.8 7.1 0 12.6-1.7 16.3-5 3.8-3.4 5.8-8.7 6-16h30.6zM192 96h288v32H192V96zm0 160h288v32H192v-32zm0 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},De={name:"list-latin-small",content:'<path d="M94.5 152c-1.1-1.9-2-4.8-2.8-8.6-5.5 6.9-13.1 10.3-22.9 10.3-9 0-16.7-2.7-22.9-8.2-6.3-5.4-9.4-12.3-9.4-20.5 0-10.4 3.8-18.2 11.5-23.5 7.6-5.3 18.8-7.9 33.4-7.9h9.2v-5.1c0-8.8-3.8-13.2-11.4-13.2-7.1 0-10.6 3.5-10.6 10.5H38.7c0-9.2 3.9-16.7 11.8-22.5s17.9-8.6 30.1-8.6 21.8 3 28.9 8.9c7.1 5.9 10.7 14.1 10.9 24.4v42.3c.1 8.8 1.5 15.5 4.1 20.1v1.5l-30 .1zm-18.6-19.4c3.7 0 6.8-.8 9.2-2.4 2.4-1.6 4.2-3.4 5.3-5.4v-15.3h-8.6c-10.4 0-15.5 4.6-15.5 13.9 0 2.7.9 4.9 2.7 6.6 1.8 1.7 4.1 2.6 6.9 2.6zM129.4 280c0 15.7-3.2 27.7-9.7 36.1s-15.6 12.6-27.4 12.6c-9.7 0-17.5-3.9-23.5-11.6l-1.2 9.8H41V191.4h29.7v47.7c5.5-6.3 12.7-9.4 21.4-9.4 11.9 0 21.1 4.3 27.5 12.8 6.5 8.5 9.7 20.5 9.7 36l.1 1.5zm-29.8-1.9c0-9.2-1.2-15.7-3.7-19.6-2.4-3.9-6.2-5.9-11.3-5.9-6.7 0-11.4 2.6-13.9 7.7v37.9c2.5 5.1 7.2 7.6 14.1 7.6 7 0 11.4-3.4 13.3-10.2 1-3.4 1.5-9.2 1.5-17.5zM81.1 452.8c4.2 0 7.4-1.1 9.7-3.4s3.4-5.4 3.4-9.5h27.9c0 10.5-3.8 19.1-11.3 25.8-7.5 6.7-17.2 10.1-29 10.1-13.9 0-24.8-4.4-32.8-13.1s-12-20.8-12-36.2v-1.2c0-9.6 1.8-18.2 5.3-25.6 3.6-7.4 8.7-13.1 15.4-17 6.7-4 14.7-6 23.8-6 12.4 0 22.3 3.4 29.6 10.3 7.3 6.9 10.9 16.2 10.9 28H94.2c0-4.9-1.2-8.7-3.6-11.4-2.4-2.6-5.6-4-9.7-4-7.7 0-12.2 4.9-13.5 14.7-.4 3.1-.6 7.4-.6 12.9 0 9.6 1.1 16.2 3.4 19.9s5.9 5.7 10.9 5.7zM192 96h288v32H192V96zm0 160h288v32H192v-32zm0 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},Ae={name:"list-roman-big",content:'<path d="M32 32h32v128H32V32zm0 288h32V192H32v128zm64 0h32V192H96v128zM32 480h32V352H32v128zm64 0h32V352H96v128zm64 0h32V352h-32v128zM128 96h352v32H128V96zm64 160h288v32H192v-32zm64 160h224v32H256v-32zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z" />',viewBox:"0 0 512 512"},Ve={name:"list-roman-small",content:'<path d="M32 64h16v96H32V64zm0 256h16v-96H32v96zm32 0h16v-96H64v96zM32 480h16v-96H32v96zm32 0h16v-96H64v96zm32 0h16v-96H96v96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM128 96h352v32H128V96zm32 160h320v32H160v-32zm32 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},Be={name:"list-unordered-outline",content:'<path d="M192 80h288v32H192V80zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 192c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 192c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},Ne={name:"list-unordered-square",content:'<path d="M128 160H32V64h96v96zm0 64H32v96h96v-96zm0 160H32v96h96v-96zm64-256h288V96H192v32zm0 160h288v-32H192v32zm0 160h288v-32H192v32z" />',viewBox:"0 0 512 512"},Le={name:"max-height",content:'<path d="M384 0H96v32h288zm0 479H240.6L320 352h-64V160h64L240 32l-80 128h64v192h-64l79.4 127H96v32h288z" />',viewBox:"0 0 512 512"},Pe={name:"max-width",content:'<path d="M0 96v288h32V96zm479 0v143.4L352 160v64H160v-64L32 240l128 80v-64h192v64l127-79.4V384h32V96z" />',viewBox:"0 0 512 512"},Te={name:"min-height",content:'<path d="M240 192H96v32h288v-32zm144 96H96v32h288zM160 448h160l-80-128zm64 0h32v64h-32zm32-384V0h-32v64h-64l80 128 80-128z" />',viewBox:"0 0 512 512"},je={name:"min-width",content:'<path d="M192 240v144h32V96h-32zm96-144v288h32V96zm160 224V160l-128 80zm0-96h64v32h-64zm-384 0H0v32h64v64l128-80-128-80z" />',viewBox:"0 0 512 512"},Ue={name:"outline-offset",content:'<path d="M448 32H32v448h448V32h-32zm0 416H64V64h384v384zM160 320v32h192V160H160v160zm32-128h128v128H192V192z" />',viewBox:"0 0 512 512"},We={name:"outline-width",content:'<path d="M416 32H32v448h448V32h-64zm0 384H96V96h320v320zm-256-32h224V128H128v256h32zm0-224h192v192H160V160z" />',viewBox:"0 0 512 512"},Ke={name:"padding-bottom",content:'<path d="M288.2 352H256v64h64v64H160v-64h64v-64h-32v-64h96.2v64zM160 32h64v96h-32.2v32H288v-32h-32V32h64V0H160v32zm192 192v-32.2h-32V288h32v-32h96v64h32V160h-32v64h-96zm-224 32v32.2h32V192h-32v32H32v-64H0v160h32v-64h96z" />',viewBox:"0 0 512 512"},qe={name:"padding-left",content:'<path d="M128 288.2V256H64v64H0V160h64v64h64v-32h64v96.2h-64zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160h-32zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64v96z" />',viewBox:"0 0 512 512"},Ge={name:"padding-right",content:'<path d="M352 191.8V224h64v-64h64v160h-64v-64h-64v32h-64v-96.2h64zM32 320v-64h96v32.2h32V192h-32v32H32v-64H0v160h32zm192-192h-32.2v32H288v-32h-32V32h64V0H160v32h64v96zm32 224h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96z" />',viewBox:"0 0 512 512"},$e={name:"padding-top",content:'<path d="M191.8 128H224V64h-64V0h160v64h-64v64h32v64h-96.2v-64zM320 448h-64v-96h32.2v-32H192v32h32v96h-64v32h160v-32zM128 256v32.2h32V192h-32v32H32v-64H0v160h32v-64h96zm224-32v-32.2h-32V288h32v-32h96v64h32V160h-32v64h-96z" />',viewBox:"0 0 512 512"},Ye={name:"padding",content:'<path d="M128 288.2V256H32v64H0V160h32v64h96v-32h32v96.2h-32zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160h-32zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64v96z" />',viewBox:"0 0 512 512"},Ze={name:"position-bottom",content:'<path d="M32 64v416h448V32H32v32zm416 0v384H64V64h384zM96 320h320v96H96z" />',viewBox:"0 0 512 512"},Xe={name:"position-left",content:'<path d="M448 32H32v448h448V32h-32zm0 416H64V64h384v384zM96 96h96v320H96z" />',viewBox:"0 0 512 512"},Je={name:"position-right",content:'<path d="M64 480h416V32H32v448h32zm0-416h384v384H64V64zm256 32h96v320h-96z" />',viewBox:"0 0 512 512"},Qe={name:"position-top",content:'<path d="M480 448V32H32v448h448v-32zm-416 0V64h384v384H64zM96 96h320v96H96z" />',viewBox:"0 0 512 512"},et={name:"regular-expression",content:'<path d="M442.6 299.7 352 247.4V352h-64V247.4l-90.6 52.3-32-55.4L256 192l-90.6-52.3 32-55.4 90.6 52.3V32h64v104.6l90.6-52.3 32 55.4L384 192l90.6 52.3-32 55.4zM80 384c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},tt={name:"replace-all",content:'<path d="M288 288h192v192H288V288zm64-64H224V32h128v192zM320 64h-64v128h64V64zM160 352H96V160h96V96H96c-35.3 0-64 28.7-64 64v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64zM448 32v192h32V32h-32zm-32 0h-32v192h32V32z" />',viewBox:"0 0 512 512"},nt={name:"replace-single",content:'<path d="M288 288h192v192H288V288zM32 160v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64H96V160h160V96H96c-35.3 0-64 28.7-64 64zM480 32v192H288V32h192zm-32 32H320v128h128V64z" />',viewBox:"0 0 512 512"},rt={name:"report-element",content:'<path d="M480 320V192H160v48H96v-80h256V32H32v128h32v320h32v-48h64v48h256V352H160v48H96V272h64v48ZM64 64h256v64H64Zm128 320h192v64H192v-64Z" />',viewBox:"0 0 512 512"},ot={name:"right-double-quotes",content:'<path d="M136 100.2c-57.4 0-104 46.6-104 104s46.6 104 104 104c20.1 0 38.9-5.7 54.8-15.6-14.2 30.5-37.4 55.2-69.2 73.7-44 25.6-89.1 29.6-89.6 29.6l1.3 15.9 1.3 15.9c2.1-.2 51.8-4.4 102-33.2 47.1-27 103.3-81.3 103.3-186.1.1-1.4.1-2.8.1-4.3 0-57.3-46.6-103.9-104-103.9zm344 104c0-57.4-46.6-104-104-104s-104 46.6-104 104 46.6 104 104 104c20.1 0 38.9-5.7 54.8-15.6-14.2 30.5-37.4 55.2-69.2 73.7-44 25.6-89.1 29.6-89.6 29.6l2.6 31.9c2.1-.2 51.8-4.4 102-33.2 47.1-27 103.3-81.3 103.3-186.1.1-1.4.1-2.8.1-4.3z" />',viewBox:"0 0 512 512"},it={name:"whole-word",content:'<path d="M379 243.6c-2.7-9.3-6.5-17.2-11.7-23.8-5-6.4-11.4-11.4-18.6-15-7.4-3.5-15.9-5.2-25.3-5.2-16.3 0-30 6.9-41.4 20.5V160h-26v192h26v-14.8c10.8 9.8 24.1 14.8 39.7 14.8 8.7 0 16.9-1.8 24.3-5.4 7.5-3.8 14-8.9 19.5-15.5 5.5-6.8 9.7-14.9 12.9-24.4 3-9.6 4.6-20.3 4.6-32.1 0-11.5-1.3-21.8-4-31zm-31.8 73.7c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.3-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.1 9.2 9.3 22.9 9.3 41 0 18.9-3.3 33.3-9.7 42.7zm-139-107.8c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 44.6h26.1c.7-16.2 12.8-24.4 36-24.4 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.4 6.2 5.1 1.5 1.8 2.5 4 3.2 6.6s1.1 5.6 1.4 9.4c.1 3.6.1 8.3.1 13.5h-12.8c-59.3.1-89.1 17.3-89.1 51.5 0 6.4 1.3 12 3.8 17.2 2.4 5.3 5.9 9.6 10.4 13.4 4.4 3.8 9.8 6.7 16 8.7 6.1 2.2 12.7 3.2 20 3.2 20.9 0 51.8-18.6 51.8-18.6V351h26v-97.5c0-22-5.4-36.6-15.8-44zm-10.2 100c-2.3 3.4-5.1 6.3-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.8-8 3.3-12.2 4.3s-8.6 1.4-12.8 1.4c-9.6 0-17-2-22.5-5.9-5.5-4.1-8.3-9.8-8.3-17.2 0-20.6 18.9-30.9 56.9-30.9h18v32.5zM448 96h-32v320h32V96zm0-32H64V32h384v32zm0 415.6H64v-32h384v32z" />',viewBox:"0 0 512 512"},at={name:"data-sds",content:'<path d="M224 152.54c105.6 0 191.4-27.4 191.9-61.3v-.3c0-34-85.9-61.6-191.9-61.6S32.1 56.94 32.1 90.94v.3c.5 33.9 86.3 61.3 191.9 61.3Zm-191.9 71.9c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.5c-.5 33.9-86.3 61.3-191.9 61.3s-191.49-27.4-192-61.29l.1 86.49v.3Zm-.1 41.21.1 86.49v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8c-74.29-8.4-127.59-31.1-128-57.79Zm320 37.69 105 70-105 70v-52.5H189v-35h163v-52.5Z" />',viewBox:"0 0 512 512"},st={name:"download-light",content:'<path d="M368 256 256 384 144 256h96V32h32v224h96Zm112 192H32v32h448v-32Z" />',viewBox:"0 0 512 512"},lt={name:"eye-slash",content:'<path d="m245.43 358.68 24.92 24.92c-4.75.26-9.54.4-14.34.4-94.7 0-179.7-51.5-224-128 13.19-22.83 30.01-43.43 49.65-61.1l23.01 23.01C91.46 229.29 79.51 242.07 69.8 256c26.33 33.77 54.15 53.86 72.6 65.1 39.18 23.88 77.54 33.37 103.03 37.58m131.42-4.44L480 457.39 457.39 480 345.51 368.12s-.07.03-.1.04L232.2 254.94l.11-.03-39.21-39.21-.03.11-26.8-26.8s.04-.05.06-.08l-7.01-7.01s-.06.03-.09.04l-24.17-24.17s.06-.03.09-.05L32 54.61 54.61 32l111.87 111.87A260.193 260.193 0 0 1 256 128c94.8 0 179.8 51.5 224 128-24 41.53-60.05 75.69-103.15 98.24Zm-7.25-33.14c27.8-16.4 54.1-38.7 72.6-65.1-18.4-26.4-44.8-48.7-72.6-65.1-12.2-7.2-25.1-13.2-38.4-17.9 22.6 20.5 36.8 50.1 36.8 83 0 25.15-8.31 48.37-22.32 67.08l7.01 7.01c5.76-2.76 11.41-5.74 16.91-8.99Z" />',viewBox:"0 0 512 512"},ct={name:"display-inline-block",content:'<path d="M448 32h32v448h-32zM32 32h32v448H32zm64 352h320V128H96v256zm64-192h192v128H160V192z" />',viewBox:"0 0 512 512"},ut={name:"paper-plane",content:'<path d="M469.783 271.879 54.329 446.734c-13.149 5.534-26.266-8.042-21.225-21.967l48.3-133.404c2.16-5.966 7.298-10.169 13.326-10.901C312.467 256 239.85 263.839 312.467 256c-72.618-7.839 0 0-217.739-24.462-6.027-.732-11.165-4.935-13.325-10.901l-48.3-133.404C28.063 73.308 41.18 59.732 54.33 65.266l415.454 174.855c13.623 5.734 13.623 26.024 0 31.758Z" />',viewBox:"0 0 512 512"},ht={name:"gauge-linear",content:'<path d="M16 164h480v184H16V164ZM90 58h110l-55 74-55-74ZM16 380h36v74H16v-74Zm444 0h36v74h-36v-74Zm-222 0h36v74h-36v-74Zm-111 0h36v36h-36v-36Zm222 0h36v36h-36v-36Z" />',viewBox:"0 0 512 512"},dt={name:"gauge-radial",content:'<path d="M256 16C123.5 16 16 123.5 16 256s107.5 240 240 240 240-107.5 240-240S388.5 16 256 16Zm0 445.7c-113.4 0-205.7-92.3-205.7-205.7 0-113.4 92.3-205.7 205.7-205.7 113.4 0 205.7 92.3 205.7 205.7 0 113.4-92.3 205.7-205.7 205.7Zm0-377.1c94.7 0 171.4 76.7 171.5 171.5h-68.6c0-56.8-46.2-102.9-102.9-102.9-22.2 0-42.8 7-59.6 19l37.4 37.4c6.7-3.2 14.3-5 22.2-5 28.4 0 51.4 23 51.4 51.4s-23 51.4-51.4 51.4-51.4-23-51.4-51.4c0-8 1.8-15.5 5-22.2l-37.4-37.4c-11.9 16.9-19 37.4-19 59.6H84.6c0-41.2 14.5-78.9 38.7-108.5l-12.7-12.7 24.2-24.2 12.7 12.7c29.6-24.2 67.3-38.7 108.5-38.7Z" />',viewBox:"0 0 512 512"},pt={name:"envelope-box",content:'<path d="m377 182.4-88.8 88.8-31.2 29-33.2-29-88.8-88.8c-7.7 2-13.8 8.1-15.8 15.8l73 73-73 73c2 7.7 8.1 13.8 15.8 15.8l73-73 49 44.8 47-44.8 73 73c7.7-2 13.8-8.1 15.8-15.8l-73-73 73-73c-2-7.7-8.1-13.8-15.8-15.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-32 329.6c0 12.4-10 22.4-22.4 22.4H118.4C106 384 96 374 96 361.6V182.4c0-12.4 10-22.4 22.4-22.4h275.2c12.4 0 22.4 10 22.4 22.4v179.2z" />',viewBox:"0 0 512 512"},ft={name:"envelope-link",content:'<path d="M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16zM32 0C14.3 0 0 14.3 0 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H32zm23.7 32L224 200.3 392.3 32c11 2.9 19.7 11.6 22.6 22.6L310.6 158.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L288 181.5l-64 64-64-64L55.7 285.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L33.1 54.6C36 43.6 44.7 34.9 55.7 32z" />',viewBox:"0 0 512 512"},mt={name:"envelope",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm23.7 32L256 296.3 424.3 128c11 2.9 19.7 11.6 22.6 22.6L342.6 254.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L320 277.5l-64 64-64-64L87.7 381.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L65.1 150.6c2.9-11 11.6-19.7 22.6-22.6z" />',viewBox:"0 0 512 512"},vt={name:"warning-circle",content:'<path d="M256 480c123.7 0 224-100.3 224-224S379.7 32 256 32 32 132.3 32 256s100.3 224 224 224Zm-32-352v160h64V128h-64Zm0 256v-64h64v64h-64Z" />',viewBox:"0 0 512 512"},gt={name:"warning-triangle",content:'<path d="M256 32 0 480h512L256 32Zm-32 160h64v160h-64V192Zm0 256v-64h64v64h-64Z" />',viewBox:"0 0 512 512"},bt={name:"font-grow",content:'<path d="m384 32-96 128h192L384 32ZM222 96h-60L32 480h60l32.4-96h135.2l32.4 96h60L222 96Zm-78 230.4 48-141.7 48 141.7h-96Z" />',viewBox:"0 0 512 512"},yt={name:"font-shrink",content:'<path d="m384 160 96-128H288l96 128Zm-152 0h-48L80 480h48l25.9-80h108.2l25.9 80h48L232 160Zm-62.4 192L208 233.9 246.4 352h-76.8Z" />',viewBox:"0 0 512 512"},wt={name:"text-overflow",content:'<path d="M288 304v176h32V304h-32zm0-272v176h32V32h-32zM64 32v448h32V32H64zm288 288v-48H128v-32h224v-48l96 64-96 64z" />',viewBox:"0 0 512 512"},xt={name:"text-wrap-arrow",content:'<path d="M64 176v32h384v-32H64Zm0-64v32h384v-32H64Zm0 256v32h160v-32H64Zm0-64v32h160v-32H64Zm0 128v32h160v-32H64Zm288-32v.12c5.22.04 10.43.04 16.04-.12H352Zm94.44-64.64c-1.28 7.68-4.16 15.04-8 22.4-2.06 3.65-4.27 7.06-6.65 10.24-15.2 20.5-36.6 31.17-63.75 32H352v48l-96-64 96-64v48h14.12c18.88 0 33.28-7.68 43.2-23.68 2.24-3.84 3.84-7.68 5.12-11.52 2.24-8.32 2.24-16.96 0-24.96-2.88-10.56-9.28-20.48-18.88-26.88-8.64-6.08-18.24-8.96-28.8-8.96H64v-32h305.32c34.24.32 65.6 24.32 75.2 56.96.96 3.2 1.6 6.08 1.92 9.28 1.92 9.92 2.24 19.52 0 29.12ZM64 48v32h384V48H64Z" />',viewBox:"0 0 512 512"},kt={name:"text-truncate",content:'<path d="M448 32v384h-32V64H95.92L96 480H64V32h384Zm0 416h-32v32h32v-32Zm-64 .08h-31.92V480H384v-31.92Zm-64-.08h-32v32h32v-32Z" />',viewBox:"0 0 512 512"},Ct={name:"text-clip",content:'<path d="M64 32v448h32V32H64Zm384 448V32h-32v448h32ZM320 320v-48H128v-32h192v-48l96 64-96 64Z" />',viewBox:"0 0 512 512"},zt={name:"border-color",content:'<path d="M480 384v96H168l95.9-96H480Zm-80-182.14L121.86 480H32v-89.86L310.14 112 400 201.86Zm-65.28-24.89-22.4-22.4L82.56 384.01l-5.44 5.44 22.72 22.72L128 384.01l206.72-207.04Zm136.02-45.98L426.03 176 336 86.29l45.01-45.02c12.36-12.36 32.33-12.36 45.01 0l44.71 45.02c12.36 12.04 12.36 32.33 0 44.69l.01.01Z" />',viewBox:"0 0 512 512"},_t={name:"border-type",content:'<path d="M479 96H33v64h446V96ZM96 384c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32Zm128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32Zm128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32Zm128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32ZM224 224H32v64h192v-64Zm256 0H288v64h192v-64Z" />',viewBox:"0 0 512 512"},Et={name:"undo",content:'<path d="M479.9 416c-57.7-56.6-136.7-96-223.9-96v128L32 256 256 64v128c122.2 0 221.5 102.4 223.9 224z" />',viewBox:"0 0 512 512"},It={name:"redo",content:'<path d="M256 192V64l224 192-224 192V320c-87.2 0-166.2 39.4-223.9 96C34.5 294.4 133.9 192 256 192z" />',viewBox:"0 0 512 512"},St={name:"arrow-rotate-ccw",content:'<path d="m62 176 55.5 32C103.8 231.6 96 258.9 96 288c0 88.2 71.8 160 160 160s160-71.8 160-160-71.8-160-160-160v64L96 96 256 0v64c123.7 0 224 100.3 224 224S379.7 512 256 512 32 411.7 32 288c0-40.8 10.9-79.1 30-112z" />',viewBox:"0 0 512 512"},Mt={name:"arrow-rotate-cw",content:'<path d="M480 288c0 123.7-100.3 224-224 224S32 411.7 32 288 132.3 64 256 64V0l160 96-160 96v-64c-88.2 0-160 71.8-160 160s71.8 160 160 160 160-71.8 160-160c0-29.1-7.8-56.4-21.5-80l55.5-32c19.1 32.9 30 71.2 30 112z" />',viewBox:"0 0 512 512"},Ot={name:"arrows-no-repeat",content:'<path d="m321 434.2 47.5 47.5C335.5 501 297 512 256 512 132.3 512 32 411.7 32 288c0-41 11-79.5 30.3-112.6l47.5 47.5c-8.9 19.9-13.8 41.9-13.8 65 0 88.2 71.8 160 160 160 23.1.1 45.2-4.8 65-13.7zm118.3-17.5c12.9-18.3 23.1-38.7 30.1-60.4 6.9-21.5 10.6-44.5 10.6-68.3 0-40.8-10.9-79.1-30-112l-55.5 32c13.6 23.5 21.5 50.9 21.5 80 0 4.8-.2 9.5-.6 14.2-2.2 24.8-10.1 47.9-22.3 68.2L173.6 150.9c20.3-12.2 43.4-20.1 68.2-22.3 4.7-.4 9.4-.6 14.2-.6v64l160-96L256 0v64c-23.8 0-46.7 3.7-68.3 10.6-21.8 7-42.1 17.2-60.4 30.1L22.6 0 0 22.6 489.4 512l22.6-22.6-72.7-72.7z" />',viewBox:"0 0 512 512"},Rt={name:"arrow-rotate-ccw-small",content:'<path d="m101.4 238.6 46.4 12.4c-2.5 9.3-3.8 19-3.8 29 0 61.8 50.2 112 112 112s112-50.2 112-112-50.2-112-112-112v56l-128-80 128-80v56c88.4 0 160 71.6 160 160s-71.6 160-160 160S96 368.4 96 280c0-14.3 1.9-28.2 5.4-41.4z" />',viewBox:"0 0 512 512"},Ht={name:"arrow-rotate-cw-small",content:'<path d="M416 280c0 88.4-71.6 160-160 160S96 368.4 96 280s71.6-160 160-160V64l128 80-128 80v-56c-61.8 0-112 50.2-112 112s50.2 112 112 112 112-50.2 112-112c0-10-1.3-19.7-3.8-29l46.4-12.4c3.5 13.2 5.4 27.1 5.4 41.4z" />',viewBox:"0 0 512 512"},Ft={name:"clock",content:'<path d="M256 128h-32v160h160v-32H256V128zm0-96C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-105.9 0-192-86.1-192-192S150.1 64 256 64s192 86.1 192 192-86.1 192-192 192z" />',viewBox:"0 0 512 512"},Dt={name:"calendar",content:'<path d="M416 416H288V288h128v128zm64-352v384c0 17.6-14.4 32-32 32H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h64V0h64v32h128V0h64v32h64c17.6 0 32 14.4 32 32zm-32 128H64v255.9l.1.1 383.9-.1V192zm0-127.9c-.1-.1-.1-.1 0 0l-64-.1v32h-64V64H192v32h-64V64H64.1l-.1.1V160h384V64.1z" />',viewBox:"0 0 512 512"},At={name:"save",content:'<path d="M384 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V128l-96-96zm-64 32v128h-64V64h64zm128 384-383.9.1-.1-.1V64.1l.1-.1H96v160h256V64h18.7l77.3 77.3V448z" />',viewBox:"0 0 512 512"},Vt={name:"print",content:'<path d="M448 160h-32V96l-64-64H128c-17.7 0-32 14.3-32 32v96H64c-17.6 0-32 14.4-32 32v160c0 17.6 14.4 32 32 32h32v64c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32v-64h32c17.6 0 32-14.4 32-32V192c0-17.6-14.4-32-32-32zM128 64h192v64h64v64H128V64zm320 256h-64v127.9l-.1.1H128.1l-.1-.1V320H64v-32h384v32zm-288 0h192v32H160v-32zm0 64h160v32H160v-32z" />',viewBox:"0 0 512 512"},Bt={name:"pencil",content:'<path d="m334.9 86.6 45.3-45.3c12.4-12.4 32.8-12.4 45.3 0l45.3 45.3c12.4 12.4 12.4 32.8 0 45.3l-45.3 45.3-90.6-90.6zm-22.6 22.6L32 389.5V480h90.5l280.3-280.3-90.5-90.5zM99.9 412.1l-22.6-22.6 235-235 22.6 22.6-235 235z" />',viewBox:"0 0 512 512"},Nt={name:"trash",content:'<path d="M416 96h-96V64c0-17.6-14.4-32-32-32h-96c-17.6 0-32 14.4-32 32v32H64v64h32v288c0 17.6 14.4 32 32 32h224c17.6 0 32-14.4 32-32V160h32V96zM192 64h95.9l.1.1V96h-96c.1-.1.1-32.1 0-32zm160 384H128.1l-.1-.1V160h32v256h32V160h32v256h32V160h32v256h32V160h32v288z" />',viewBox:"0 0 512 512"},Lt={name:"paperclip",content:'<path d="M384 128v256h-32V128c0-52.9-43.1-96-96-96s-96 43.1-96 96v288c0 35.3 28.7 64 64 64s64-28.7 64-64V128c0-17.6-14.4-32-32-32s-32 14.4-32 32v256h-32V128c0-35.3 28.7-64 64-64s64 28.7 64 64v288c0 52.9-43.1 96-96 96s-96-43.1-96-96V128C128 57.4 185.4 0 256 0s128 57.4 128 128z" />',viewBox:"0 0 512 512"},Pt={name:"paperclip-alt",content:'<path d="M407 452.1c-18.6 18.6-43 27.9-67.5 27.9s-48.9-9.3-67.6-27.9L69.3 249.4c-49.7-49.7-49.7-130.5 0-180.2s130.5-49.7 180.2 0l180.2 180.2-22.7 22.5L226.9 91.8c-37.2-37.2-97.9-37.2-135.1 0-37.2 37.2-37.2 97.9 0 135.1l202.7 202.7c24.8 24.8 65.2 24.8 90.1 0 24.8-24.8 24.8-65.2 0-90.1L181.9 136.8c-12.4-12.4-32.7-12.4-45 0s-12.4 32.7 0 45L317 362l-22.5 22.5-180.2-180.1c-24.8-24.8-24.8-65.2 0-90.1s65.2-24.8 90.1 0L407 317c37.3 37.2 37.3 97.9 0 135.1z" />',viewBox:"0 0 512 512"},Tt={name:"link",content:'<path d="M384 384c-47.4 0-88.7-25.8-110.8-64H384c35.4 0 64-28.6 64-64s-28.7-64-64-64H273.2c22.1-38.2 63.5-64 110.8-64 70.7 0 128 57.3 128 128s-57.3 128-128 128zM96 256c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32zm-32 0c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.4 0-64 28.6-64 64z" />',viewBox:"0 0 512 512"},jt={name:"unlink",content:'<path d="M384 384c-47.4 0-88.7-25.8-110.8-64H384c35.4 0 64-28.6 64-64s-28.7-64-64-64H273.2c22.1-38.2 63.5-64 110.8-64 70.7 0 128 57.3 128 128s-57.3 128-128 128zM64 256c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.3 0-64 28.6-64 64zM272 97.6V0h-32v97.6c5.2-1 10.5-1.6 16-1.6s10.8.6 16 1.6zm-60.1 11.7-69-69-22.6 22.6 69 69c5.9-9 13.6-16.7 22.6-22.6zm110.8 22.6 69-69-22.6-22.6-69 69c9 5.9 16.7 13.6 22.6 22.6zM256 416c-5.5 0-10.8-.6-16-1.6V512h32v-97.6c-5.2 1-10.5 1.6-16 1.6zm-66.7-35.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6zm110.8 22.6 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6z" />',viewBox:"0 0 512 512"},Ut={name:"link-vertical",content:'<path d="M128 384c0-47.4 25.8-88.7 64-110.8V384c0 35.4 28.6 64 64 64s64-28.7 64-64V273.2c38.2 22.1 64 63.5 64 110.8 0 70.7-57.3 128-128 128s-128-57.3-128-128zM256 96c17.7 0 32 14.3 32 32v256c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zm0-32c-35.4 0-64 28.6-64 64v110.8c-38.2-22.1-64-63.5-64-110.8C128 57.3 185.3 0 256 0s128 57.3 128 128c0 47.4-25.8 88.7-64 110.8V128c0-35.4-28.6-64-64-64z" />',viewBox:"0 0 512 512"},Wt={name:"unlink-vertical",content:'<path d="M414.4 272H512v-32h-97.6c1 5.2 1.6 10.5 1.6 16s-.5 10.8-1.6 16zm-11.6-60.1 69-69-22.6-22.6-69 69c8.9 5.9 16.6 13.6 22.6 22.6zm-22.7 110.8 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6zM96 256c0-5.5.6-10.8 1.6-16H0v32h97.6c-1-5.2-1.6-10.5-1.6-16zm35.9-66.8-69-69-22.6 22.6 69 69c5.9-8.9 13.6-16.6 22.6-22.6zm-22.6 110.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6zM128 384c0-47.4 25.8-88.7 64-110.8V384c0 35.4 28.6 64 64 64s64-28.7 64-64V273.2c38.2 22.1 64 63.5 64 110.8 0 70.7-57.3 128-128 128s-128-57.3-128-128zM256 64c-35.4 0-64 28.6-64 64v110.8c-38.2-22.1-64-63.5-64-110.8C128 57.3 185.3 0 256 0s128 57.3 128 128c0 47.4-25.8 88.7-64 110.8V128c0-35.4-28.6-64-64-64z" />',viewBox:"0 0 512 512"},Kt={name:"lock",content:'<path d="M384 224h-32v-96c0-53-43-96-96-96s-96 43-96 96v96h-32c-17.6 0-32 14.4-32 32v192c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V256c0-17.6-14.4-32-32-32zm-192-96c0-35.3 28.7-64 64-64s64 28.7 64 64v96H192v-96zm64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" />',viewBox:"0 0 512 512"},qt={name:"unlock",content:'<path d="M416 224H224v-96c0-53-43-96-96-96s-96 43-96 96v128h32V128c0-35.3 28.7-64 64-64s64 28.7 64 64v96h-32c-17.6 0-32 14.4-32 32v192c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V256c0-17.6-14.4-32-32-32zM288 384c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" />',viewBox:"0 0 512 512"},Gt={name:"cancel",content:'<path d="M256 32c-50.3 0-96.8 16.6-134.1 44.6-17.2 12.8-32.4 28.1-45.3 45.3C48.6 159.2 32 205.7 32 256c0 123.7 100.3 224 224 224 50.3 0 96.8-16.6 134.1-44.6 17.2-12.8 32.4-28.1 45.3-45.3 28-37.4 44.6-83.8 44.6-134.1 0-123.7-100.3-224-224-224zm0 384c-88.2 0-160-71.8-160-160 0-32.6 9.8-62.9 26.6-88.2l221.6 221.6C318.9 406.2 288.6 416 256 416zm133.4-71.8L167.8 122.6C193.1 105.8 223.4 96 256 96c88.2 0 160 71.8 160 160 0 32.6-9.8 62.9-26.6 88.2z" />',viewBox:"0 0 512 512"},$t={name:"cancel-outline",content:'<path d="M256 32c-56.1 0-107.4 20.6-146.7 54.7-8.1 7-15.6 14.6-22.6 22.6C52.6 148.6 32 199.9 32 256c0 123.7 100.3 224 224 224 56.1 0 107.4-20.6 146.7-54.7 8.1-7 15.6-14.6 22.6-22.6C459.4 363.4 480 312.1 480 256c0-123.7-100.3-224-224-224zm0 416c-106 0-192-86-192-192 0-47.2 17.1-90.5 45.4-124L380 402.6c-33.5 28.3-76.8 45.4-124 45.4zm146.6-68L132 109.4C165.5 81.1 208.8 64 256 64c106 0 192 86 192 192 0 47.2-17.1 90.5-45.4 124z" />',viewBox:"0 0 512 512"},Yt={name:"cancel-circle",content:'<path d="m169.4 214.6 128 128c-12.5 6-26.6 9.4-41.4 9.4-52.9 0-96-43.1-96-96 0-14.8 3.4-28.8 9.4-41.4zM256 160c-14.8 0-28.8 3.4-41.4 9.4l128 128c6-12.5 9.4-26.6 9.4-41.4 0-52.9-43.1-96-96-96zm224 96c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-64 0c0-88.2-71.8-160-160-160-32.6 0-62.9 9.8-88.2 26.6-17.9 11.9-33.4 27.3-45.3 45.3C105.8 193.1 96 223.4 96 256c0 88.2 71.8 160 160 160 32.6 0 62.9-9.8 88.2-26.6 17.9-11.9 33.4-27.3 45.3-45.3 16.7-25.2 26.5-55.5 26.5-88.1z" />',viewBox:"0 0 512 512"},Zt={name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},Xt={name:"check-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm-32-154-83-83-45 45 128 128 176-176-45-45-131 131z" />',viewBox:"0 0 512 512"},Jt={name:"check-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm-32 352L96 256l45-45 83 83 147-147 45 45-192 192z" />',viewBox:"0 0 512 512"},Qt={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},en={name:"x-outline",content:'<path d="M384 338.7 338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},tn={name:"x-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm128 306.7L338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7z" />',viewBox:"0 0 512 512"},nn={name:"plus",content:'<path d="M288 224V96h-64v128H96v64h128v128h64V288h128v-64H288z" />',viewBox:"0 0 512 512"},rn={name:"plus-outline",content:'<path d="M288 288v96h-64v-96h-96v-64h96v-96h64v96h96v64h-96zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},on={name:"plus-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm32 256v96h-64v-96h-96v-64h96v-96h64v96h96v64h-96z" />',viewBox:"0 0 512 512"},an={name:"minus",content:'<path d="M96 224v64h320v-64H96z" />',viewBox:"0 0 512 512"},sn={name:"minus-outline",content:'<path d="M128 224h256v64H128v-64zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},ln={name:"minus-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zM128 288v-64h256v64H128z" />',viewBox:"0 0 512 512"},cn={name:"sort-asc",content:'<path d="M96 352h320v64H96v-64zm0-128h224v64H96v-64zm0-128h128v64H96V96z" />',viewBox:"0 0 512 512"},un={name:"sort-desc",content:'<path d="M96 96h320v64H96V96zm0 128h224v64H96v-64zm0 128h128v64H96v-64z" />',viewBox:"0 0 512 512"},hn={name:"sort-clear",content:'<path d="m110.9 224 64 64H96v-64h14.9zM96 416h128v-64H96v64zm214.6-128h9.4v-64h-73.4l-64-64H416V96H118.6l-64-64L32 54.6 457.4 480l22.6-22.6L310.6 288z" />',viewBox:"0 0 512 512"},dn={name:"sort-asc-small",content:'<path d="M256 192v224h-32V192h-96L240 64l112 128h-96z" />',viewBox:"0 0 512 512"},pn={name:"sort-desc-small",content:'<path d="M352 288 240 416 128 288h96V64h32v224h96z" />',viewBox:"0 0 512 512"},fn={name:"filter",content:'<path d="M64 64v32l160 160v224l64-64V256L448 96V64H64z" />',viewBox:"0 0 512 512"},mn={name:"filter-clear",content:'<path d="m143.5 64 168.2 168.2L288 256v160l-64 64V256L64 96V64h79.5zm236.1 100.4L448 96V64H279.3l-64-64L192 22l298 298 22-23.3-132.4-132.3z" />',viewBox:"0 0 512 512"},vn={name:"filter-small",content:'<path d="M128 128h256v32l-96 96v96l-64 64V256l-96-96v-32z" />',viewBox:"0 0 512 512"},gn={name:"filter-sort-asc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32h224zM64 224h64v160h32V224h64l-80-96-80 96z" />',viewBox:"0 0 512 512"},bn={name:"filter-sort-desc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32h224zM144 384l80-96h-64V128h-32v160H64l80 96z" />',viewBox:"0 0 512 512"},yn={name:"filter-add-expression",content:'<path d="M480 64v32H32V64h448zm-192 96h192v-32H288v32zm0 128h192v-64H288v64zm0 96h192v-32H288v32zm0 64h192v-32H288v32zM96 352h64v-64h64v-64h-64v-64H96v64H32v64h64v64z" />',viewBox:"0 0 512 512"},wn={name:"filter-add-group",content:'<path d="M352 352v32h-32v64h32v32h-64V352h64zm64 0v32h32v64h-32v32h64V352h-64zM160 160H96v64H32v64h64v64h64v-64h64v-64h-64v-64zm128 0h192v-32H288v32zM32 64v32h448V64H32zm256 224h192v-64H288v64z" />',viewBox:"0 0 512 512"},xn={name:"login",content:'<path d="M384 480h96V32h-96v448zM32 224v64h128v96l160-128-160-128v96H32z" />',viewBox:"0 0 512 512"},kn={name:"logout",content:'<path d="M128 32H32v448h96V32zm64 192v64h128v96l160-128-160-128v96H192z" />',viewBox:"0 0 512 512"},Cn={name:"download",content:'<path d="M32 384v96h448v-96H32zM288 32h-64v128h-96l128 160 128-160h-96V32z" />',viewBox:"0 0 512 512"},zn={name:"upload",content:'<path d="M32 384v96h448v-96H32zm192-64h64V192h96L256 32 128 192h96v128z" />',viewBox:"0 0 512 512"},_n={name:"hyperlink-open",content:'<path d="M32 480h448V256h-32v192H64V64h192V32H32v448zM320 32l56.9 56.9.5.5L224 242.7l45.3 45.3 153.3-153.4L480 192V32H320z" />',viewBox:"0 0 512 512"},En={name:"hyperlink-open-sm",content:'<path d="M96 416h320v-96h-32v64H128V128h64V96H96v320zM256 96h160v160l-57.4-57.4L237.3 320 192 274.7l121.4-121.4-.5-.5L256 96z" />',viewBox:"0 0 512 512"},In={name:"launch",content:'<path d="M96 96v320h96v-32h-64V128h256v64h32V96H96zm320 160v160H256l57.4-57.4L192 237.3l45.3-45.3 121.4 121.4.5-.5L416 256z" />',viewBox:"0 0 512 512"},Sn={name:"window",content:'<path d="M96 96v320h320V96H96zm288 288H128V192h256v192z" />',viewBox:"0 0 512 512"},Mn={name:"window-restore",content:'<path d="M448 32v288h-32V128H160V32h288zM64 192h288v288H64V192zm32 256h224V288H96v160z" />',viewBox:"0 0 512 512"},On={name:"window-minimize",content:'<path d="M416 288v64H96v-64h320z" />',viewBox:"0 0 512 512"},Rn={name:"gear",content:'<path d="m462.7 317.9-41.5-31.4c1.8-9.9 2.8-20.1 2.8-30.5 0-10.4-1-20.6-2.8-30.5l41.5-31.4c6.4-4.9 8.2-13.8 4.2-20.8L433 114.6c-4-7-12.6-9.9-20.1-6.7l-48 20.2c-15.4-13.2-33.3-23.6-52.8-30.5L305.8 46c-1-8-7.8-14-15.9-14h-67.8c-8.1 0-14.9 6-15.9 14l-6.5 51.6c-19.5 6.9-37.4 17.3-52.8 30.5l-48-20.2c-7.4-3.1-16-.2-20.1 6.7l-33.9 58.7c-4 7-2.2 15.9 4.2 20.8l41.5 31.4C89 235.4 88 245.6 88 256c0 10.4 1 20.6 2.8 30.5l-41.5 31.4c-6.4 4.9-8.2 13.8-4.2 20.8L79 397.4c4 7 12.6 9.9 20.1 6.7l48-20.2c15.4 13.2 33.3 23.6 52.8 30.5l6.5 51.6c1 8 7.8 14 15.9 14h67.8c8.1 0 14.9-6 15.9-14l6.5-51.6c19.5-6.9 37.4-17.3 52.8-30.5l48 20.2c7.4 3.1 16 .2 20.1-6.7l33.9-58.7c3.7-7 1.9-15.9-4.6-20.8zM256 340c-46.4 0-84-37.6-84-84s37.6-84 84-84 84 37.6 84 84-37.6 84-84 84z" />',viewBox:"0 0 512 512"},Hn={name:"gears",content:'<path d="m331.9 364.2-29.6-22.4c1.3-7.1 2-14.3 2-21.8 0-7.4-.7-14.7-2-21.8l29.6-22.4c4.6-3.5 5.9-9.8 3-14.8l-24.2-42c-2.9-5-9-7.1-14.3-4.8L262 228.7c-11-9.4-23.8-16.9-37.7-21.8l-4.6-36.9c-.7-5.7-5.6-10-11.3-10H160c-5.8 0-10.6 4.3-11.3 10l-4.6 36.9c-13.9 4.9-26.7 12.4-37.7 21.8l-34.3-14.5c-5.3-2.2-11.5-.2-14.3 4.8l-24.3 42c-2.9 5-1.6 11.3 3 14.8l29.6 22.4c-1.3 7.1-2 14.3-2 21.8 0 7.4.7 14.7 2 21.8l-29.6 22.4c-4.6 3.5-5.9 9.8-3 14.8l24.2 42c2.9 5 9 7.1 14.3 4.8l34.3-14.5c11 9.4 23.8 16.9 37.7 21.8l4.6 36.9c.7 5.7 5.6 10 11.3 10h48.4c5.8 0 10.6-4.3 11.3-10l4.6-36.9c13.9-4.9 26.7-12.4 37.7-21.8l34.3 14.5c5.3 2.2 11.5.2 14.3-4.8l24.2-41.9c3-5 1.8-11.4-2.8-14.9zM184.2 380c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm293.1-225.5L459.4 141c.8-4.2 1.2-8.6 1.2-13 0-4.5-.4-8.8-1.2-13l17.8-13.4c2.7-2.1 3.5-5.9 1.8-8.9l-14.5-25.2c-1.8-3-5.4-4.2-8.6-2.8l-20.6 8.7c-6.7-5.7-14.3-10.1-22.7-13.1L409.9 38c-.4-3.4-3.3-6-6.8-6h-29c-3.4 0-6.4 2.5-6.8 6l-2.7 22.2c-8.3 2.9-16 7.5-22.7 13.1l-20.6-8.7c-3.2-1.4-6.9-.1-8.6 2.8l-14.5 25.2c-1.8 3-1 6.9 1.8 8.9l17.8 13.4c-.8 4.2-1.2 8.6-1.2 13 0 4.5.4 8.8 1.2 13L300 154.5c-2.7 2.1-3.5 5.9-1.8 8.9l14.5 25.2c1.8 3 5.4 4.2 8.6 2.8l20.6-8.7c6.7 5.7 14.3 10.1 22.7 13.1l2.7 22.2c.4 3.4 3.3 6 6.8 6h29c3.4 0 6.4-2.5 6.8-6l2.7-22.2c8.3-2.9 16-7.5 22.7-13.1l20.6 8.7c3.2 1.4 6.9.1 8.6-2.8l14.5-25.2c1.8-3 1-6.9-1.7-8.9zm-88.7 9.5c-19.9 0-36.1-16.2-36.1-36.1s16.2-36.1 36.1-36.1c19.9 0 36.1 16.2 36.1 36.1-.1 19.9-16.1 36.1-36.1 36.1z" />',viewBox:"0 0 512 512"},Fn={name:"wrench",content:'<path d="M470.7 402.7 306 238.1c9-18.8 14-39.8 14-62.1 0-79.5-64.5-144-144-144-22.2 0-43.3 5-62.1 14l76.4 76.4c12.4 12.4 12.4 32.8 0 45.3l-22.6 22.6c-12.4 12.4-32.8 12.4-45.3 0L46 113.9c-9 18.8-14 39.9-14 62.1 0 79.5 64.5 144 144 144 22.3 0 43.4-5.1 62.2-14.1l164.7 164.7c12.3 12.5 32.7 12.5 45.1.1l22.7-22.7c12.4-12.4 12.4-32.8 0-45.3zM448 425.5 425.4 448 265.8 288.5c8.3-6.7 15.9-14.3 22.6-22.6L448 425.5z" />',viewBox:"0 0 512 512"},Dn={name:"eye",content:'<path d="M256 128c-94.8 0-179.8 51.5-224 128 44.3 76.5 129.3 128 224 128s179.8-51.5 224-128c-44.2-76.5-129.2-128-224-128zm-32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM69.8 256c18.4-26.4 44.8-48.7 72.6-65.1 12.2-7.2 25.1-13.2 38.4-17.9-22.6 20.5-36.8 50.1-36.8 83s14.2 62.5 36.8 83c-13.3-4.7-26.2-10.7-38.4-17.9-27.8-16.4-54.2-38.7-72.6-65.1zm299.8 65.1c-12.2 7.2-25.1 13.2-38.4 17.9 22.6-20.5 36.8-50.1 36.8-83s-14.2-62.5-36.8-83c13.3 4.7 26.2 10.7 38.4 17.9 27.8 16.4 54.2 38.7 72.6 65.1-18.5 26.4-44.8 48.7-72.6 65.1z" />',viewBox:"0 0 512 512"},An={name:"search",content:'<path d="M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3L365.3 320zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192z" />',viewBox:"0 0 512 512"},Vn={name:"zoom-in",content:'<path d="M288 224h-64v64h-64v-64H96v-64h64V96h64v64h64v64zm192 210.7L434.7 480 320 365.3v-22.7l-26.7-26.7C265.7 338.5 230.4 352 192 352c-88.4 0-160-71.6-160-160S103.6 32 192 32s160 71.6 160 160c0 38.4-13.5 73.7-36.1 101.3l26.7 26.7h22.7L480 434.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128z" />',viewBox:"0 0 512 512"},Bn={name:"zoom-out",content:'<path d="M288 224H96v-64h192v64zm192 210.7L434.7 480 320 365.3v-22.7l-26.7-26.7C265.7 338.5 230.4 352 192 352c-88.4 0-160-71.6-160-160S103.6 32 192 32s160 71.6 160 160c0 38.4-13.5 73.7-36.1 101.3l26.7 26.7h22.7L480 434.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128z" />',viewBox:"0 0 512 512"},Nn={name:"arrows-move",content:'<path d="M384 320v-32h-96v96h32l-64 96-64-96h32v-96h-96v32l-96-64 96-64v32h96v-96h-32l64-96 64 96h-32v96h96v-32l96 64-96 64z" />',viewBox:"0 0 512 512"},Ln={name:"calculator",content:'<path d="M64 64v384h384V64H64zm96 352H96v-64h64v64zm0-96H96v-64h64v64zm96 96h-64v-64h64v64zm0-96h-64v-64h64v64zm160 96h-96V256h96v160zm0-224H96V96h320v96z" />',viewBox:"0 0 512 512"},Pn={name:"cart",content:'<path d="M192 368c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm144-48c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM128 96V64H32v32h64v192h288v-32H128V96zm32 128h256v-32H160v32zm0-96v32h288v-32H160z" />',viewBox:"0 0 512 512"},Tn={name:"connector",content:'<path d="M416 112c0 26.51-21.49 48-48 48-20.898 0-38.667-13.359-45.258-32H256v288h-98.742c-6.591 18.641-24.36 32-45.258 32-26.51 0-48-21.49-48-48s21.49-48 48-48c20.898 0 38.667 13.359 45.258 32H224V96h98.742c6.591-18.641 24.36-32 45.258-32 26.51 0 48 21.49 48 48z" />',viewBox:"0 0 512 512"},jn={name:"plus-sm",content:'<path d="M352 224v64h-64v64h-64v-64h-64v-64h64v-64h64v64h64z" />',viewBox:"0 0 512 512"},Un={name:"minus-sm",content:'<path d="M352 224v64H160v-64h192z" />',viewBox:"0 0 512 512"},Wn={name:"kpi-status-deny",content:'<path d="M480 256 256 480 32 256 256 32l224 224z" />',viewBox:"0 0 512 512"},Kn={name:"kpi-status-hold",content:'<path d="M256 64 32 448h448L256 64z" />',viewBox:"0 0 512 512"},qn={name:"kpi-status-open",content:'<path d="M480 256c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224z" />',viewBox:"0 0 512 512"},Gn={name:"equal",content:'<path d="M96 288h320v64H96v-64zm0-128v64h320v-64H96z" />',viewBox:"0 0 512 512"},$n={name:"not-equal",content:'<path d="m290.7 224-37.3 64H416v64H216l-56 96h-48l56-96H96v-64h109.3l37.3-64H96v-64h184l56-96h48l-56 96h88v64H290.7z" />',viewBox:"0 0 512 512"},Yn={name:"less-or-equal",content:'<path d="m318.1 352-160-160 160-160L352 65.9 225.9 192 352 318.1 318.1 352zM128 416v32h256v-32H128z" />',viewBox:"0 0 512 512"},Zn={name:"greater-or-equal",content:'<path d="M160 318.1 286.1 192 160 65.9 193.9 32l160 160-160 160-33.9-33.9zM128 416v32h256v-32H128z" />',viewBox:"0 0 512 512"},Xn={name:"divide",content:'<path d="M416 64 192 448h-64L352 64h64z" />',viewBox:"0 0 512 512"},Jn={name:"accessibility",content:'<path d="M208 48c0-26.5 21.5-48 48-48s48 21.5 48 48-21.5 48-48 48-48-21.5-48-48zm240 112v-32H64v32l128 16v80l-32 224h48l32-160h32l32 160h48l-32-224v-80l128-16z" />',viewBox:"0 0 512 512"},Qn={name:"barcode-outline",content:'<path d="M96 384H64V128h32v256zm96-256h-64v224h64V128zm64 0h-32v224h32V128zm64 0h-32v224h32V128zm64 0h-32v224h32V128zm64 0h-32v256h32V128zm64-32v320c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h448c17.7 0 32 14.3 32 32zm-32 0H32v320h448V96z" />',viewBox:"0 0 512 512"},er={name:"barcode",content:'<path d="M480 64H32C14.3 64 0 78.3 0 96v320c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM96 384H64V128h32v256zm96-32h-64V128h64v224zm64 0h-32V128h32v224zm64 0h-32V128h32v224zm64 0h-32V128h32v224zm64 32h-32V128h32v256z" />',viewBox:"0 0 512 512"},tr={name:"barcode-scanner",content:'<path d="M32 96H0V0h96v32H32v64zm0 288H0v96h96v-32H32v-64zM416 0v32h64v64h32V0h-96zm64 448h-64v32h96v-96h-32v64zm-192-32h32V288h-32v128zm32-352h-32v128h32V64zm-64 0h-32v128h32V64zM128 416h64V288h-64v128zm-64 0h32V288H64v128zM192 64h-64v128h64V64zm32 352h32V288h-32v128zM64 64v128h32V64H64zm384 0h-32v128h32V64zm0 352V288h-32v128h32zm-96 0h32V288h-32v128zm32-352h-32v128h32V64zm96 160H32v32h448v-32z" />',viewBox:"0 0 512 512"},nr={name:"qr-code-outline",content:'<path d="M192 224v32h-32v-32h32zm-64 64h32v-32h-32v32zm-32-64v32h32v-32H96zm-32 64h32v-32H64v32zm128 0h32v-32h-32v32zm64-64h-32v32h32v-32zm32-32h-32v32h32v-32zm-64-32v32h32v-32h-32zm64-32h-32v32h32v-32zm-64-32v32h32V96h-32zm64-32h-32v32h32V64zm32 192v-32h-32v32h32zm-96 32v32h32v-32h-32zm64-32h-32v32h32v-32zm0 64h-32v32h32v-32zm-64 32v32h32v-32h-32zm32 32v32h32v-32h-32zm-32 64h32v-32h-32v32zm64-96v32h32v-32h-32zm32-32v-32h-32v32h32zm32-32v-32h-32v32h32zm32-64h-32v32h32v-32zm32 64v-32h-32v32h32zm32-64h-32v32h32v-32zm-64 96v-32h-32v32h32zm-32 32v-32h-32v32h32zm0 32h32v-32h-32v32zm32-32h32v-32h-32v32zm64-32v-32h-32v32h32zm-128 64v32h32v-32h-32zm-32 64h32v-32h-32v32zm64 0h32v-32h-32v32zm32-32h32v-32h-32v32zm64-32v-32h-32v32h32zm0 64v-32h-32v32h32zM512 0v512H0V0h512zm-32 32H32v448h448V32zm-32 160H320V64h128v128zm-32-32-.5-64H352v64h64zm-224 32H64V64h128v128zm-32-32-.5-64H96v64h64zm32 288H64V320h128v128zm-32-32-.5-64H96v64h64z" />',viewBox:"0 0 512 512"},rr={name:"qr-code",content:'<path d="M320 0v192h192V0H320zm160 160H352V32h128v128zm-32-32h-64V64h64v64zM0 0v192h192V0H0zm160 160H32V32h128v128zm-32-32H64V64h64v64zM0 320v192h192V320H0zm160 160H32V352h128v128zm-32-32H64v-64h64v64zm32-224h32v32h-32v-32zm0 64h-32v-32h32v32zm-64-64h32v32H96v-32zm-32 32H32v-32h32v32zm32 32H64v-32h32v32zm128 0h-32v-32h32v32zm32-32h-32v-32h32v32zm0-64h32v32h-32v-32zm0 0h-32v-32h32v32zm0-64h32v32h-32v-32zm0 0h-32V96h32v32zm0-64h32v32h-32V64zm0 0h-32V32h32v32zm64 192h-32v-32h32v32zm-96 32h32v32h-32v-32zm64 0h-32v-32h32v32zm0 64h-32v-32h32v32zm-32 32h-32v-32h32v32zm0 0h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h32v32h-32v-32zm64 0h-32v-32h32v32zm32 32h-32v-32h32v32zm32-32h-32v-32h32v32zm-96 32h32v32h-32v-32zm0 64h-32v-32h32v32zm0 0h32v32h-32v-32zm32-32h32v32h-32v-32zm32-32h32v32h-32v-32zm-96 96h32v32h-32v-32zm0 64h-32v-32h32v32zm-32 32h-32v-32h32v32zm192-192h-32v-32h32v32zM352 416h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm32-96h32v32h-32v-32zm0 64h-32v-32h32v32zm-32 32h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm0 64h-32v-32h32v32zm32-32h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zM256 512h-32v-32h32v32zm64 0h-32v-32h32v32zm32-32h32v32h-32v-32zm64 0h32v32h-32v-32zm96 32h-32v-32h32v32z" />',viewBox:"0 0 512 512"},or={name:"qr-code-scanner",content:'<path d="M512 0v96h-32V32h-64V0h96zm-32 448h-64v32h96v-96h-32v64zM64 64h128v128H64V64zm32 96h64V96H96v64zM32 32h64V0H0v96h32V32zm0 224h448v-32H32v32zm0 128H0v96h96v-32H32v-64zM288 96h-32v32h32V96zm-64-32v32h32V64h-32zm224 128H320V64h128v128zm-32-96h-64v64h64V96zm-128 96v-32h-32v32h32zm-32-64h-32v32h32v-32zM64 288h128v128H64V288zm32 96h64v-64H96v64zm192-64h-32v32h32v-32zm-64-32v32h32v-32h-32zm32 128h32v-32h-32v32zm-32-64v32h32v-32h-32zm96-64h-32v32h32v-32zm-32 64v32h32v-32h-32zm64 0v-32h-32v32h32zm-32 64h32v-32h-32v32zm64-128h-32v32h32v-32zm-32 64v32h32v-32h-32zm64 0v-32h-32v32h32zm0 64v-32h-32v32h32zm32-128h-32v32h32v-32zm0 96v-32h-32v32h32z" />',viewBox:"0 0 512 512"},ir={name:"barcode-qr-code-scanner",content:'<path d="M256 288h32v128h-32V288zm64 128h64V288h-64v128zm128 0V288h-32v128h32zM32 32h64V0H0v96h32V32zm0 352H0v96h96v-32H32v-64zM416 0v32h64v64h32V0h-96zm64 448h-64v32h96v-96h-32v64zm0-224H32v32h448v-32zM288 64h-32v128h32V64zm96 0h-64v128h64V64zm64 0h-32v128h32V64zM64 64h96v96H64V64zm32 64h32V96H96v32zm128 32h-32v32h32v-32zm0-96h-32v64h32V64zM64 320h96v96H64v-96zm32 64h32v-32H96v32zm96 0v32h32v-64h-32v32zm0-64h32v-32h-32v32z" />',viewBox:"0 0 512 512"},ar={name:"signature",content:'<path d="M32 448h448v32H32v-32zM448 32H288v64h160V32zm-96 340.9L256 224l32-96h160l32 96-96 148.9V416h-32v-43.1zm0-59.1V256h32v57.8l60.8-94.3-19.9-59.5H311.1l-19.9 59.6 60.8 94.2zM78.8 377.3c8.7-10.3 23.9-25.6 37.2-17.3 14.9 9.3 25.1 42.1 56.9 43.8 27.2-.6 18.9-34.6 36.7-33.2 16.6 0 19.5 47.8 46.5 47.9 25.7.1 37.4-14.5 37.3-28 .1-29-62.5-87.7-85.4-98-21.4-9.6-34-2.3-39.7 6-5.3 7.9 9.3 34.5-13.7 41.2-17.3 1.5-29.2-33.2-62.1-33.2S77 354.1 32 352c13.1 6 32.8 42 46.8 25.3z" />',viewBox:"0 0 512 512"},sr={name:"hand",content:'<path d="M442.5 130.7c-15.5-6.7-33.7-.2-41.4 15.1-8.2 21.3-23.3 79.9-25.8 87.6-2.1 6.5-5 12-11.3 9.7-4.7-1.7-3.5-7.2-2.4-12.6l2.7-17 18.1-112.4c2.8-17.4-9-33.8-26.5-36.6-17.4-2.8-33.8 9-36.6 26.5L304 197.9s-2.1 14.1-3 18.7c-1 5.2-1.4 12.3-7.7 11.9-5-.3-5.3-3.8-5.3-7.3V64c0-17.6-14.2-31.9-31.8-32h.1-.3c-17.7 0-32 14.3-32 32v.4c0 1.1.9 140.6.6 149.7-.2 5.4-.7 9.5-6.8 10.3-7.8 1.1-8.6-8-8.6-8l-3.1-20.9v.7L190 90.8v.1c-2.6-17.5-18.9-29.5-36.2-26.9-17.5 2.6-29.5 18.9-26.9 36.2 0 .1 0 .2.1.3l24.8 165.3 2.4 15.9c.5 3.2-.7 6.6-3.3 8.6l-.1.1c-4.1 3.1-10 2.5-13.5-1.4l-12.2-13.2-37.3-41-.1-.1c-11.9-13-32.1-14-45.3-2.1-13 11.9-14 32.1-2.1 45.2l55.7 61s34.1 49 62.5 88.4c28.3 39.3 72.3 52.4 129.5 52.4s113.9-21.8 126.9-95.4c13.7-78.5 6.5-107.9 23.7-150.4 11.6-28.9 15.1-45.8 21.1-63.2 5.4-15.6-1.9-33.3-17.2-39.9z" />',viewBox:"0 0 512 512"},lr={name:"pointer",content:'<path d="m285.5 326.1 43.9 124.4-83.5 29.5-43.8-124.2L128 416V32l256 288-98.5 6.1z" />',viewBox:"0 0 512 512"},cr={name:"stick",content:'<path d="M192 96c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v32h128V96zm128 160c0 35.3-28.7 64-64 64s-64-28.7-64-64v-96H64v96c0 106 86 192 192 192s192-86 192-192v-96H320v96zm96-192h-64c-17.7 0-32 14.3-32 32v32h128V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},ur={name:"unstick",content:'<path d="M290.6 131.4c12.4-12.4 12.4-32.6 0-45l-45-45c-12.4-12.4-32.6-12.4-45 0L178 63.8l90.1 90 22.5-22.4zM268.1 334c-24.9 24.9-65.2 24.9-90.1 0s-24.9-65.2 0-90.1l67.5-67.5-90-90.1L88 153.9C13.4 228.5 13.4 349.4 88 424s195.5 74.6 270.1 0l67.5-67.5-90-90.1-67.5 67.6zm202.6-67.5-45-45c-12.4-12.4-32.6-12.4-45 0L358.2 244l90 90 22.5-22.5c12.4-12.4 12.4-32.6 0-45z" />',viewBox:"0 0 512 512"},hr={name:"set-column-position",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM192 416H96V96h96v320zm224 0H224v-32h192v32zm0-64H224v-64h192v64zm0-96H224v-64h192v64zm0-96H224V96h192v64z" />',viewBox:"0 0 512 512"},dr={name:"clock-arrow-rotate",content:'<path d="M256 32C132.3 32 32 132.3 32 256h32c0-105.9 86.1-192 192-192s192 86.1 192 192-86.1 192-192 192c-57 0-108.3-25-143.5-64.5L176 320H32v144l57.8-57.8C130.8 451.5 190 480 256 480c123.7 0 224-100.3 224-224S379.7 32 256 32Zm-32 96v160h160v-32H256V128h-32Z" />',viewBox:"0 0 512 512"},pr={name:"play",content:'<path d="M0 512V0l512 256L0 512z" />',viewBox:"0 0 512 512"},fr={name:"pause",content:'<path d="M320 0h160v512H320V0zM32 512h160V0H32v512z" />',viewBox:"0 0 512 512"},mr={name:"stop",content:'<path d="M512 512H0V0h512v512z" />',viewBox:"0 0 512 512"},vr={name:"rewind",content:'<path d="M256 256 512 96v320L256 256zm0 160V96L0 256l256 160z" />',viewBox:"0 0 512 512"},gr={name:"forward",content:'<path d="M0 416V96l256 160L0 416zm512-160L256 96v320l256-160z" />',viewBox:"0 0 512 512"},br={name:"volume-down",content:'<path d="M0 352h96l128 128V32L96 160H0v192zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124z" />',viewBox:"0 0 512 512"},yr={name:"volume-up",content:'<path d="M0 352h96l128 128V32L96 160H0v192zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124zm0-380v44.8c45.2 0 88.3 20.8 121.2 58.4C444.6 143.6 464 197.8 464 256s-19.4 112.4-54.8 152.8c-33 37.7-76 58.4-121.2 58.4V512c123.7 0 224-114.6 224-256S411.7 0 288 0z" />',viewBox:"0 0 512 512"},wr={name:"volume-mute",content:'<path d="M96 160 224 32v448L96 352H0V160h96zm416 29.3L466.7 144 400 210.7 333.2 144 288 189.3l66.7 66.7-66.7 66.7 45.3 45.3 66.7-66.7 66.7 66.7 45.3-45.3-66.8-66.7 66.8-66.7z" />',viewBox:"0 0 512 512"},xr={name:"hd",content:'<path d="M480 64H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h448c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zM256 384h-64v-96h-64v96H64V128h64v96h64v-96h64v256zm210.3-68.9c-5.1 16.2-11.8 29.4-19.8 39.1-8.2 9.8-18.2 17.4-29.8 22.4-11.5 4.9-26.3 7.4-43.9 7.4H288V128h82.6c20.3 0 35.4 2.2 46.1 6.8 10.7 4.6 20.6 12.2 29.5 22.8 8.7 10.5 15.7 24.1 20.6 40.6 4.8 16.2 7.3 36.5 7.3 60.3-.1 21.5-2.7 40.6-7.8 56.6zm-54.2-94.2c2.6 8.5 3.9 20.5 3.9 35.6 0 14.5-1.3 26.3-3.9 35.1-2.5 8.4-5.5 14.4-8.9 18-3.3 3.5-7.5 6-12.8 7.7-3.8 1.2-11.8 2.7-28.3 2.7H336V192h12.9c21.4 0 30.6.9 34.5 1.7 6.9 1.4 12.6 4.1 17.5 8.4 4.9 4.5 8.7 10.8 11.2 18.8z" />',viewBox:"0 0 512 512"},kr={name:"closed-captions",content:'<path d="M480 64H32S0 64 0 96v320c0 32 32 32 32 32h448c32 0 32-32 32-32V96s0-32-32-32zM240 205c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5-18 0-32.2 5.8-42.6 17.4-10.4 11.6-15.6 27.4-15.6 47.3 0 19.8 5.2 35.4 15.6 46.9 10.4 11.5 24.3 17.2 41.7 17.2 16.1 0 32.3-4.6 47.6-13.8V373c-17.2 7.4-38.2 11-62.1 11-23.4 0-43.6-5-60.6-15.1s-29.9-24.4-38.9-43-13.4-40-13.4-64.3c0-26.1 5-49.4 15-69.7 10-20.4 24.2-36.1 42.5-47.2s39.4-16.7 63.2-16.7c19 0 37.4 2.6 55.3 7.8V205zm208 0c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5-18 0-32.2 5.8-42.6 17.4-10.4 11.6-15.6 27.4-15.6 47.3 0 19.8 5.2 35.4 15.6 46.9s24.3 17.2 41.7 17.2c16.1 0 32.3-4.6 47.6-13.8V373c-17.2 7.4-38.2 11-62.1 11-23.4 0-43.6-5-60.6-15.1s-29.9-24.4-38.9-43-13.4-40-13.4-64.3c0-26.1 5-49.4 15-69.7 10-20.4 24.2-36.1 42.5-47.2s39.4-16.7 63.2-16.7c19 0 37.4 2.6 55.3 7.8V205z" />',viewBox:"0 0 512 512"},Cr={name:"playlist",content:'<path d="M0 256h320v64H0v-64zM512 64H0V0h512v64zm-128 64.8V397c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V193h96v-65l-128 .8zM0 128v64h320v-64H0z" />',viewBox:"0 0 512 512"},zr={name:"music-notes",content:'<path d="M160 170v-64m0-.2v259c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V162.5l256-59.1v165.4c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V32l-320 73.8z" />',viewBox:"0 0 512 512"},_r={name:"play-sm",content:'<path d="M96 416V96l320 160L96 416z" />',viewBox:"0 0 512 512"},Er={name:"pause-sm",content:'<path d="M288 96h96v320h-96V96zM96 416h96V96H96v320z" />',viewBox:"0 0 512 512"},Ir={name:"stop-sm",content:'<path d="M416 416H96V96h320v320z" />',viewBox:"0 0 512 512"},Sr={name:"heart-outline",content:'<path d="M447.2 96.8c-43.7-43.7-114.7-43.7-158.4 0L256 129.6l-32.8-32.8c-43.7-43.7-114.7-43.7-158.4 0s-43.7 116.3 0 160l32.8 32.8L256 448l158.4-158.4 32.8-32.8c43.7-43.7 43.7-116.3 0-160zm-22.6 137.4L256 402.7 87.4 234.2C72.3 219.1 64 198.7 64 176.8s8.3-42.3 23.4-57.4C102.5 104.3 122.6 96 144 96s41.5 8.3 56.6 23.4l55.4 55.4 55.4-55.4C326.5 104.3 346.6 96 368 96s41.5 8.3 56.6 23.4c15.1 15.1 23.4 35.5 23.4 57.4s-8.3 42.3-23.4 57.4z" />',viewBox:"0 0 512 512"},Mr={name:"heart",content:'<path d="m447.2 256.8-32.8 32.8L256 448 97.6 289.6l-32.8-32.8c-43.7-43.7-43.7-116.3 0-160s114.7-43.7 158.4 0l32.8 32.8 32.8-32.8c43.7-43.7 114.7-43.7 158.4 0s43.7 116.3 0 160z" />',viewBox:"0 0 512 512"},Or={name:"star-outline",content:'<path d="M480 202.4 319.1 188 256 32l-63.1 156L32 202.4l122 111.7L117.2 480 256 391.5 394.8 480 358 314.1l122-111.7zM256 353.6l-90.8 57.9 24-108.5-82.1-75.2 108.1-9.7L256 117.3l40.8 100.8 108.1 9.7-82.1 75.2 24.1 108.5-90.9-57.9z" />',viewBox:"0 0 512 512"},Rr={name:"star",content:'<path d="M256 391.5 117.2 480 154 314.1 32 202.4 192.9 188 256 32l63.1 156L480 202.4 358 314.1 394.8 480 256 391.5z" />',viewBox:"0 0 512 512"},Hr={name:"checkbox",content:'<path d="M64 64v384h384V64H64zm352 352H96V96h320v320z" />',viewBox:"0 0 512 512"},Fr={name:"checkbox-checked",content:'<path d="M64 64v384h384V64H64zm352 352H96V96h320v320zm-77.3-269.3L384 192 224 352l-96-96 45.3-45.3 50.7 50.7 114.7-114.7z" />',viewBox:"0 0 512 512"},Dr={name:"checkbox-indeterminate",content:'<path d="M128 128h256v256H128V128zM64 64v384h384V64H64zm352 352H96V96h320v320z" />',viewBox:"0 0 512 512"},Ar={name:"checkbox-null",content:'<path d="M192 64h128v32H192V64zm224 0h-64v32h64v64h32V64h-32zm0 256h32V192h-32v128zm0 96h-64v32h96v-96h-32v64zm-224 32h128v-32H192v32zm-96-96H64v96h96v-32H96v-64zm0-160H64v128h32V192zM64 64v96h32V96h64V64H64z" />',viewBox:"0 0 512 512"},Vr={name:"circle",content:'<path d="M384 256c0 70.7-57.3 128-128 128s-128-57.3-128-128 57.3-128 128-128 128 57.3 128 128z" />',viewBox:"0 0 512 512"},Br={name:"radiobutton",content:'<path d="M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160z" />',viewBox:"0 0 512 512"},Nr={name:"radiobutton-checked",content:'<path d="M351.6 255.3c0 53.2-43.1 96.4-96.4 96.4s-96.4-43.1-96.4-96.4 43.1-96.4 96.4-96.4 96.4 43.2 96.4 96.4zM256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160z" />',viewBox:"0 0 512 512"},Lr={name:"bell",content:'<path d="M192 416h128c0 35.3-28.7 64-64 64s-64-28.7-64-64zm160-256c0-42-26.9-77.6-64.4-90.7.3-1.7.4-3.5.4-5.3 0-17.7-14.3-32-32-32s-32 14.3-32 32c0 1.8.2 3.6.4 5.3C186.9 82.4 160 118 160 160c0 88.4-43 160-96 160v64h384v-64c-53 0-96-71.6-96-160z" />',viewBox:"0 0 512 512"},Pr={name:"info-circle",content:'<path d="M288 352h32v32H192v-32h32v-96h-32v-32h96v128zm0-224h-64v64h64v-64zm192 128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},Tr={name:"question-circle",content:'<path d="M352 192c0 45.2-23.4 65.9-40.6 81-15.1 13.3-23.4 20.7-23.4 47h-64c0-55.2 27.1-79.2 45.1-95 13.8-12.1 18.9-16.7 18.9-33 0-17.6-14.4-32-32-32s-32 14.4-32 32h-64c0-53 43-96 96-96s96 43 96 96zM224 416h64v-64h-64v64zm256-160c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},jr={name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},Ur={name:"camera",content:'<path d="M448 128h-64l-64-64H192l-64 64H64c-17.6 0-32 14.4-32 32v288c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V160c0-17.6-14.4-32-32-32zM256 416c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112zm64-112c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64z" />',viewBox:"0 0 512 512"},Wr={name:"image",content:'<path d="M304 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm144-96H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zm-.1 272-64-64-80 80L176 224 64 336V96.1l.1-.1h383.8l.1.1-.1 239.9z" />',viewBox:"0 0 512 512"},Kr={name:"image-export",content:'<path d="M384 384v-79.9l-32-32-80 80-128-128-112 112v-240l.1-.1h383.8l.1.1-.1 223.9H448V96c0-17.6-14.4-32-32-32H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h256v-64h96zM272 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm48 288h96v64l96-80-96-80v64h-96v32z" />',viewBox:"0 0 512 512"},qr={name:"zoom-actual-size",content:'<path d="M0 32v128L128 32H0zm384 0 128 128V32H384zm-260.6 96c-15.1 0-27.4 12.3-27.4 27.4v201.2c0 15.1 12.3 27.4 27.4 27.4h265.2c15.1 0 27.4-12.3 27.4-27.4V155.4c0-15.1-12.3-27.4-27.4-27.4H123.4zM384 160v160l-48-64-48 64-80-96-80 96V160h256zm-96 32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM0 352v128h128L0 352zm512 0L384 480h128V352z" />',viewBox:"0 0 512 512"},Gr={name:"zoom-best-fit",content:'<path d="M388.6 128H123.4c-15.1 0-27.4 12.3-27.4 27.4v201.2c0 15.1 12.3 27.4 27.4 27.4h265.2c15.1 0 27.4-12.3 27.4-27.4V155.4c0-15.1-12.3-27.4-27.4-27.4zM384 320l-48-64-48 64-80-96-80 96V160h256v160zM0 160l96 96-96 96V160zm160 320 96-96 96 96H160zM352 32l-96 96-96-96h192zm160 128v192l-96-96 96-96zm-256 64c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32z" />',viewBox:"0 0 512 512"},$r={name:"image-resize",content:'<path d="M427.3 404.7 352 329.4V32H32v320h297.4l75.3 75.3L352 480h128V352l-52.7 52.7zM64 320V64h256v233.4L203.3 180.7 256 128H128v128l52.7-52.7L297.4 320H64z" />',viewBox:"0 0 512 512"},Yr={name:"crop",content:'<path d="M0 96h64v64H0V96zm448 256v64h64v-64h-64zm-32-224c0-17.6-14.4-32-32-32H192v64h160v320h64V128zM96 384c0 17.6 14.4 32 32 32h192v-64H160V32H96v352z" />',viewBox:"0 0 512 512"},Zr={name:"mirror",content:'<path d="M192 64H32v384h160V64zm-31 352s0 .1 0 0l-96.9.1-.1-.1V96.1l.1-.1H160v320h1zm95 64h-32V32h32v448zm32-416h160v384H288V64z" />',viewBox:"0 0 512 512"},Xr={name:"flip-horizontal",content:'<path d="M448 448H288V64l160 384zm-384 0L224 64v384H64zm128-224-80 192h80V224z" />',viewBox:"0 0 512 512"},Jr={name:"flip-vertical",content:'<path d="M64 288h384L64 448V288zm0-224v160h384L64 64zm32 128v-80l192 80H96z" />',viewBox:"0 0 512 512"},Qr={name:"rotate",content:'<path d="M256 448c8.2 0 16.2-.6 24-1.8v32.3c-7.9 1-15.9 1.5-24 1.5s-16.1-.5-24-1.5v-32.3c7.8 1.2 15.8 1.8 24 1.8zm-116-7c12.7 9.7 26.6 17.8 41.5 24l16.2-28c-15.1-5.9-29.1-14.1-41.5-24.1L140 441zm-61-78.5c6.3 14.9 14.4 28.8 24 41.5l28-16.2c-10-12.5-18.1-26.4-24.1-41.5L79 362.5zM256 128v64l128-80-128-80v64c-8.1 0-16.1.5-24 1.5-17.7 2.2-34.6 6.8-50.5 13.5-14.9 6.3-28.8 14.4-41.5 24-14 10.6-26.4 23-37 37-9.7 12.7-17.8 26.6-24 41.5-6.7 15.9-11.3 32.8-13.5 50.5-1 7.9-1.5 15.9-1.5 24s.5 16.1 1.5 24h32.3c-1.2-7.8-1.8-15.8-1.8-24s.6-16.2 1.8-24c1.8-11.9 4.9-23.4 9.2-34.3 5.9-15.1 14.1-29.1 24.1-41.5 7.4-9.3 15.8-17.7 25.1-25.1 12.5-10 26.4-18.1 41.5-24.1 10.9-4.3 22.4-7.4 34.3-9.2 7.8-1.2 15.8-1.8 24-1.8zm190.5 136h-32.3c1.2 7.8 1.8 15.8 1.8 24s-.6 16.2-1.8 24h32.3c1-7.9 1.5-15.9 1.5-24s-.5-16.1-1.5-24zm-65.6 123.8 28 16.2c9.7-12.7 17.8-26.6 24-41.5l-28-16.2c-5.8 15.1-14 29.1-24 41.5zM314.3 437l16.2 28c14.9-6.3 28.8-14.4 41.5-24l-16.2-28c-12.4 9.9-26.4 18.1-41.5 24z" />',viewBox:"0 0 512 512"},eo={name:"rotate-right",content:'<path d="M320 448V64l160 384H320zm-32 0H32l256-160v160zm-32-102.3L143.6 416H256v-70.3zM64 160v128h32v-96h96v64l96-80-96-80v64H64z" />',viewBox:"0 0 512 512"},to={name:"rotate-left",content:'<path d="M32 448 192 64v384H32zm192-160 256 160H224V288zm32 128h112.4L256 345.7V416zm64-256V96l-96 80 96 80v-64h96v96h32V160H320z" />',viewBox:"0 0 512 512"},no={name:"brush",content:'<path d="M32 480s46.4-5.6 96-16c22.3-4.7 46.9-14 70.7-37.7 56.9-56.9.2-112.9.2-112.9s-56.7-56.9-113.3-.2c-23.4 23.4-20.1 57.1-19.7 89.8.8 59.7-33.9 77-33.9 77zM470.7 64 448 41.3c-12.4-12.4-32.8-12.4-45.3 0L204.3 239.8c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l.8.8.8.8c2.1 2.1 5.6 5.9 9.7 11.1 5.4 6.8 11.8 16.2 17.6 27.6l23.5-23.5 174.9-174.9c12.5-12.3 12.5-32.7.1-45.1zM448 86.6 277.4 257.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L425.4 64h.1L448 86.6z" />',viewBox:"0 0 512 512"},ro={name:"palette",content:'<path d="m206 256.6 160-160c-2.2-5.7-4.8-11.1-7.9-16.3-24.2-40.8-60.1-66-107.8-75.9-2.3-.5-4.7-1-7.1-1.4C192-5.8 143.1 4.8 96.5 34.6 49.3 64.7 19.2 107.2 6.1 162c-13 54.8-5.2 106.4 23.4 154.6 14.2 23.8 31.3 43.2 51.4 58.4 3.8-25.2 13.4-52 36.4-75 31.3-31.4 64-41.3 88.7-43.4zM288 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-96-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm0-128c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm438.7 12.9L480 118.3c-12.4-12.4-32.8-12.4-45.3 0L281.1 271.9c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l11.3 12.7c5.4 6.8 11.8 16.2 17.6 27.6l153.5-153.5c12.6-12.4 12.6-32.8.2-45.2zM354.3 289.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L457.4 141h.1l22.5 22.5-125.7 125.8zm-78.7 169c-23.8 23.7-48.4 33-70.7 37.7-49.6 10.4-96 16-96 16s34.7-17.3 33.9-77c-.4-32.7-3.7-66.4 19.7-89.8 56.6-56.7 113.3.2 113.3.2s56.7 56-.2 112.9z" />',viewBox:"0 0 512 512"},oo={name:"droplet",content:'<path d="M256 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S96 404.8 96 312C96 181.3 256 32 256 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136z" />',viewBox:"0 0 512 512"},io={name:"shape-line",content:'<path d="M480 54.6 54.6 480 32 457.4 457.4 32 480 54.6z" />',viewBox:"0 0 512 512"},ao={name:"brightness-contrast",content:'<path d="M165.5 346.5c12.4 12.5 12.4 32.9 0 45.3l-22.6 22.6c-12.5 12.4-32.8 12.4-45.3 0-12.4-12.5-12.4-32.9 0-45.3l22.6-22.6c12.5-12.4 32.9-12.4 45.3 0zM256 128c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v32c0 17.6 14.4 32 32 32zm135.8 37.5 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6c-12.4 12.4-12.4 32.8 0 45.3 12.5 12.4 32.8 12.4 45.3 0zm-271.6 0c12.4 12.4 32.8 12.4 45.3 0 12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0-12.4 12.5-12.4 32.8 0 45.3l22.6 22.6zM128 256c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32s14.4 32 32 32h32c17.6 0 32-14.4 32-32zm263.8 90.5c-12.4-12.4-32.8-12.4-45.3 0-12.4 12.5-12.4 32.8 0 45.3l22.6 22.6c12.4 12.4 32.8 12.4 45.3 0 12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6zM448 224h-32c-17.6 0-32 14.4-32 32s14.4 32 32 32h32c17.6 0 32-14.4 32-32s-14.4-32-32-32zm-96 32c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96zm-32 0c0-35.3-28.7-64-64-64v128c35.3 0 64-28.7 64-64zm-64 128c-17.6 0-32 14.4-32 32v32c0 17.6 14.4 32 32 32s32-14.4 32-32v-32c0-17.6-14.4-32-32-32z" />',viewBox:"0 0 512 512"},so={name:"sliders",content:'<path d="M480 96v32H285.3c-6.6 18.6-24.4 32-45.3 32s-38.7-13.4-45.3-32H32V96h162.7c6.6-18.6 24.4-32 45.3-32s38.7 13.4 45.3 32H480zm-112 96c-20.9 0-38.7 13.4-45.3 32H32v32h290.7c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32H480v-32h-66.7c-6.6-18.6-24.4-32-45.3-32zM176 320c-20.9 0-38.7 13.4-45.3 32H32v32h98.7c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32H480v-32H221.3c-6.6-18.6-24.4-32-45.3-32z" />',viewBox:"0 0 512 512"},lo={name:"invert-colors",content:'<path d="m320 32-64 48 64 48V96h64v64h-32l48 64 48-64h-32V64h-96V32zM32 64v192h192V64H32zm192 192v192h192V256H224zM64 96h128v128H64V96z" />',viewBox:"0 0 512 512"},co={name:"transparency",content:'<path d="M64 64v352h352V64H64zm32 32h96v96h96V96h96v96h-96v96h96v96h-96v-96h-96v96H96v-96h96v-96H96V96z" />',viewBox:"0 0 512 512"},uo={name:"grayscale",content:'<path d="M32 64C14.3 64 0 78.3 0 96v320c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H32zm0 32h416v320H32V96zm48 32c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm0 4c6.6 0 12 5.4 12 12v224c0 6.6-5.4 12-12 12s-12-5.4-12-12V144c0-6.6 5.4-12 12-12zm-64 1c6.1 0 11 4.9 11 11v224c0 6.1-4.9 11-11 11s-11-4.9-11-11V144c0-6.1 4.9-11 11-11zm-64 2c5 0 9 4 9 9v224c0 5-4 9-9 9s-9-4-9-9V144c0-5 4-9 9-9zm-64 1c4.4 0 8 3.6 8 8v224c0 4.4-3.6 8-8 8s-8-3.6-8-8V144c0-4.4 3.6-8 8-8zm-64 4c2.2 0 4 1.8 4 4v224c0 2.2-1.8 4-4 4s-4-1.8-4-4V144c0-2.2 1.8-4 4-4z" />',viewBox:"0 0 512 512"},ho={name:"blur",content:'<path d="M384 320c0 64-32 128-128 128-64 0-128-48-128-128 0-96 128-128 128-256 0 0 128 129.1 128 256z" />',viewBox:"0 0 512 512"},po={name:"sharpen",content:'<path d="M256 32 128 480h256L256 32zm0 116.5L341.6 448H170.4L256 148.5z" />',viewBox:"0 0 512 512"},fo={name:"shapes",content:'<path d="M480 32H160v131.204C86.969 178.029 32 242.594 32 320c0 88.365 71.635 160 160 160 77.406 0 141.972-54.969 156.797-128H480V32zM192 448c-70.692 0-128-57.308-128-128 0-59.643 40.793-109.758 96-123.967 1.173-.302 2.354-.583 3.539-.852.357-.081.717-.156 1.076-.234a125.086 125.086 0 0 1 3.764-.762 126.34 126.34 0 0 1 2.557-.448c.369-.061.736-.125 1.105-.184 2.423-.379 4.869-.69 7.335-.932.379-.037.759-.067 1.139-.101a132.167 132.167 0 0 1 3.913-.29c.872-.051 1.747-.091 2.623-.125.392-.015.782-.033 1.174-.045 1.254-.036 2.512-.06 3.775-.06 70.692 0 128 57.308 128 128 0 1.264-.023 2.521-.06 3.775-.012.393-.03.782-.045 1.174a126.511 126.511 0 0 1-.207 3.922c-.06.874-.13 1.744-.207 2.613-.034.38-.064.761-.102 1.14a127.326 127.326 0 0 1-.933 7.339c-.057.365-.121.728-.181 1.092a128.132 128.132 0 0 1-.683 3.785c-.17.86-.349 1.718-.535 2.571-.075.346-.147.692-.226 1.037a135.047 135.047 0 0 1-.855 3.552c-14.208 55.207-64.323 96-123.966 96zm256-128h-96c0-88.365-71.635-160-160-160V64h256v256z" />',viewBox:"0 0 512 512"},mo={name:"round-corners",content:'<path d="M448 320c0 70.692-57.308 128-128 128H192c-70.692 0-128-57.308-128-128V192c0-70.692 57.308-128 128-128h128c70.692 0 128 57.308 128 128v128z" />',viewBox:"0 0 512 512"},vo={name:"bring-to-front",content:'<path d="M96 128V96h96V64H64v128h32v-64zm224 256h64V128H128v256h192zm96-64v96h-96v32h128V320h-32z" />',viewBox:"0 0 512 512"},go={name:"bring-to-back",content:'<path d="M128 192h64V64H64v128h64zM96 96h64v64H96V96zm192 192h96V128H224v96h-96v160h160v-96zm128 32h-96v128h128V320h-32zm0 96h-64v-64h64v64z" />',viewBox:"0 0 512 512"},bo={name:"bring-forward",content:'<path d="M448 192v256H192V320H64V64h256v128h128zm-32 32h-96v96h-96v96h192V224z" />',viewBox:"0 0 512 512"},yo={name:"bring-backward",content:'<path d="M192 192v256h256V192H192zm224 224H224V224h192v192zM320 64H64v256h96V160h160V64z" />',viewBox:"0 0 512 512"},wo={name:"align-self-start",content:'<path d="M31 32h32v448H31V32zm288 64H95v128h224V96zm128 192v128H95V288h352zm-32 32H127v64h288v-64z" />',viewBox:"0 0 512 512"},xo={name:"align-self-center",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288H255zm128 96H95v-64h288v64z" />',viewBox:"0 0 512 512"},ko={name:"align-self-end",content:'<path d="M64 416h352V288H64v128zm32-96h288v64H96v-64zm96-224h224v128H192V96zm288-64v448h-32V32h32z" />',viewBox:"0 0 512 512"},Co={name:"align-self-start-alt",content:'<path d="M95 96h128v224H95V96zm192 0h128v352H287V96zm32 320h64V128h-64v288zM31 32v32h448V32H31z" />',viewBox:"0 0 512 512"},zo={name:"align-self-center-alt",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32h-64zm-32 0v160h-64V96h64v128z" />',viewBox:"0 0 512 512"},_o={name:"align-self-end-alt",content:'<path d="M479 449v32H31v-32h448zM223 193H95v224h128V193zm192 224H287V65h128v352zM383 97h-64v288h64V97z" />',viewBox:"0 0 512 512"},Eo={name:"thumbnails-up",content:'<path d="M352 32h96v96h-96V32zm-160 0h96v96h-96V32zM32 32h96v96H32V32zm0 160h416v256H32V192z" />',viewBox:"0 0 512 512"},Io={name:"thumbnails-right",content:'<path d="M352 352h96v96h-96v-96zm0-160h96v96h-96v-96zm0-160h96v96h-96V32zM32 32h256v416H32V32z" />',viewBox:"0 0 512 512"},So={name:"thumbnails-down",content:'<path d="M352 352h96v96h-96v-96zm-160 0h96v96h-96v-96zm-160 0h96v96H32v-96zm0-320h416v256H32V32z" />',viewBox:"0 0 512 512"},Mo={name:"thumbnails-left",content:'<path d="M32 32v96h96V32H32zm160 0v416h256V32H192zM32 192v96h96v-96H32zm0 160v96h96v-96H32z" />',viewBox:"0 0 512 512"},Oo={name:"fullscreen",content:'<path d="M0 32h160v64H64v96H0V32zm64 288H0v160h160v-64H64v-96zM352 32v64h96v96h64V32H352zm96 384h-96v64h160V320h-64v96z" />',viewBox:"0 0 512 512"},Ro={name:"fullscreen-exit",content:'<path d="M160 32H96v96H0v64h160V32zM96 480h64V320H0v64h96v96zm416-288v-64h-96V32h-64v160h160zm-96 192h96v-64H352v160h64v-96z" />',viewBox:"0 0 512 512"},Ho={name:"droplet-slash",content:'<path d="m317.9 431 23.2 23.2C316.5 470.6 287.3 480 256 480c-88.4 0-160-75.2-160-168 0-27.8 7.2-56.4 18.6-84.2l24.8 24.8C131.9 274 128 293.9 128 312c0 75 57.4 136 128 136 22.4 0 43.5-6.2 61.9-17zM256 416v-32c-35.3 0-64-28.7-64-64h-32c0 53 43 96 96 96zm224 41.4L457.4 480 32 54.6 54.6 32l108.7 108.7C207 77.7 256 32 256 32s160 149.3 160 280c0 24.1-4.9 47.1-13.6 67.8l77.6 77.6zM384 312c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-1.4 1.9-2.7 3.7-4.1 5.6-.8 1.1-1.5 2.1-2.3 3.2l-1.5 2.1-3 4.2c-.2.3-.4.5-.6.8-1 1.5-2.1 3-3.1 4.5-.1.1-.1.2-.2.3l191.2 191.2c.5-1.6 1-3.3 1.4-4.9 0-.2.1-.4.1-.5.4-1.5.8-2.9 1.1-4.4.1-.3.1-.6.2-.9.3-1.4.6-2.7.9-4.1.1-.4.2-.8.2-1.2.2-1.3.5-2.6.7-3.9.1-.5.2-1 .2-1.5.2-1.2.3-2.5.5-3.7.1-.5.1-1.1.2-1.6l.3-3.6c0-.6.1-1.1.1-1.7.1-1.3.2-2.5.2-3.8 0-.5.1-1 .1-1.6.4-1.9.4-3.7.4-5.5z" />',viewBox:"0 0 512 512"},Fo={name:"photos",content:'<path d="M256 288c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm96-64v192c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32zm-31.8 0c-.1-.1-.1-.1 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40 .3-149.9zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zm64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},Do={name:"align-to-grid",content:'<path d="M320 320H128V128h192v192zM96 0H64v512h32V0zm352 0h-32v512h32V0zm64 64H0v32h512V64zm0 352H0v32h512v-32z" />',viewBox:"0 0 512 512"},Ao={name:"size-to-grid",content:'<path d="M384 384H128V128h256v256zM96 0H64v512h32V0zm352 0h-32v512h32V0zm64 64H0v32h512V64zm0 352H0v32h512v-32z" />',viewBox:"0 0 512 512"},Vo={name:"make-same-size",content:'<path d="M288 192v96h-96v-96h96zM240.1 0l-48.4 64H224v64h33V64h31.6L240.1 0zM256 416v-64h-32v64h-32l48 64 48-64h-32zm224-175.9-64-48.4V224h-64v33h64v31.6l64-48.5zM64 224v-32L0 240l64 48v-32h64v-32H64zM128 0H0v128h32V32h96V0zm320 0h-96v32h96v96h32V0h-32zM32 448v-96H0v128h128v-32H32zm416-96v96h-96v32h128V352h-32z" />',viewBox:"0 0 512 512"},Bo={name:"make-same-width",content:'<path d="M480 128H0V32h480v96zm-192 96h-96v96h96v-96zm192 48.1-64-48.4V256h-64v33h64v31.6l64-48.5zM64 256v-32L0 272l64 48v-32h64v-32H64zm384 96v96h-96v32h128V352h-32zM32 448v-96H0v128h128v-32H32z" />',viewBox:"0 0 512 512"},No={name:"make-same-height",content:'<path d="M128 0v480H32V0h96zm96 192v96h96v-96h-96zM272.1 0l-48.4 64H256v64h33V64h31.6L272.1 0zM288 416v-64h-32v64h-32l48 64 48-64h-32zM448 0h-96v32h96v96h32V0h-32zm0 352v96h-96v32h128V352h-32z" />',viewBox:"0 0 512 512"},Lo={name:"make-horizontal-spacing-equal",content:'<path d="M480 160v160h-96v-64h-96v160h-96V256H96v96H32V128h64v96h96V64h96v160h96v-64h96z" />',viewBox:"0 0 512 512"},Po={name:"increase-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zM335.7 352l-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 80-80-80-80zM64 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L144 352l-80 80z" />',viewBox:"0 0 512 512"},To={name:"decrease-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zM111.6 352 89 374.6l57.4 57.4L89 489.4l22.6 22.6 80-80-80-80zM288 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L368 352l-80 80z" />',viewBox:"0 0 512 512"},jo={name:"remove-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zm-32.5 278.2-22.6-22.6-57.4 57.4-57.4-57.4-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4zm-256 0-22.6-22.6-57.4 57.4-57.4-57.4-22.6 22.6 57.4 57.4L31.5 489l22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4z" />',viewBox:"0 0 512 512"},Uo={name:"make-vertical-spacing-equal",content:'<path d="M256 320v96h96v64H128v-64h96v-96H64v-96h160v-96h-64V32h160v96h-64v96h160v96H256z" />',viewBox:"0 0 512 512"},Wo={name:"increase-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96H192zm320 48.1-22.6-22.6-57.4 57.3-57.4-57.4-22.6 22.7 80 80 80-80zM432 96l-80 80 22.6 22.6 57.4-57.4 57.4 57.4L512 176l-80-80z" />',viewBox:"0 0 512 512"},Ko={name:"decrease-vertical-spacing",content:'<path d="M191 320v96h96v64H63v-64h96v-96H-1v-96h160v-96H95V32h160v96h-64v96h160v96H191zm160 105.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-80-80-80 80zm80-226.8 80-80L488.4 96 431 153.4 373.6 96 351 118.6l80 80z" />',viewBox:"0 0 512 512"},qo={name:"remove-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96H192zm320 22.6L489.4 320 432 377.4 374.6 320 352 342.6l57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4zm0-288L489.4 32 432 89.4 374.6 32 352 54.6l57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4L512 54.6z" />',viewBox:"0 0 512 512"},Go={name:"eyedropper",content:'<path d="m461.1 56.9-6.2-6.2c-25-25-65.5-25-90.5 0l-60.8 60.8-4.3-4.3c-6.2-6.2-16.4-6.2-22.6 0l-9.4 9.4c-6.2 6.2-6.2 16.4 0 22.6l4.3 4.3L70.8 344.4c-8.2 8.2-14 18.5-16.8 29.7l-21.5 85.7c-2.2 8.6 3.1 17.4 11.7 19.5 2.6.6 5.2.6 7.8 0l85.7-21.4c11.3-2.8 21.5-8.6 29.7-16.8l200.8-200.8 4.4 4.4c6.2 6.2 16.4 6.2 22.6 0l9.4-9.4c6.2-6.2 6.2-16.4 0-22.6l-4.4-4.4 60.8-60.8c25-25 24.9-65.5.1-90.6zM224 320h-64l144-144 32 32-112 112z" />',viewBox:"0 0 512 512"},$o={name:"snap-grid",content:'<path d="M480 128V96h-96V0h-32v96h-96V0h-32v96h-96V0H96v96H0v32h96v96H0v32h96v96H0v32h96v96h32v-96h96v96h32v-96h96v96h32v-96h96v-32h-96v-96h96v-32h-96v-96h96zm-352 0h96v96h-96v-96zm0 224v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96z" />',viewBox:"0 0 512 512"},Yo={name:"snap-to-gridlines",content:'<path d="M160 32H0v416h288V32H160zm-32 384H32v-96h96v96zm0-128H32v-96h96v96zm0-128H32V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96zm256 80c0 44.2-35.8 80-80 80h-32v-32h32c26.5 0 48-21.5 48-48s-21.5-48-48-48h-32v-32h32c44.2 0 80 35.8 80 80zm-160-48h32v-32h-32v32zm0 128h32v-32h-32v32z" />',viewBox:"0 0 512 512"},Zo={name:"snap-to-snaplines",content:'<path d="M224 128h96V96h-96V32h-32v64h-64V32H96v64H32v32h64v256H32v32h64v64h32v-64h64v64h32v-64h256v-32H224V128zm-32 256h-64V128h64v256zm208-64h-32v-32h32c26.5 0 48-21.5 48-48s-21.5-48-48-48h-32v-32h32c44.2 0 80 35.8 80 80s-35.8 80-80 80zm-48-160h-32v32h32v-32zm-32 160h32v-32h-32v32z" />',viewBox:"0 0 512 512"},Xo={name:"dimensions",content:'<path d="M320 0H0v512h128V128h384V0H320zM32 32h64v64H32V32zm64 352H64v32h32v64H32V320h64v64zm0-192H64v32h32v64H32V128h64v64zm128-96V64h-32v32h-64V32h160v64h-64zm256 0h-64V64h-32v32h-64V32h160v64z" />',viewBox:"0 0 512 512"},Jo={name:"align-self-stretch",content:'<path d="M95 96h320v128H95V96zM31 480h32V32H31v448zm64-192h320v128H95V288zm32 96h256v-64H127v64zM447 32v448h32V32h-32z" />',viewBox:"0 0 512 512"},Qo={name:"align-self-stretch-alt",content:'<path d="M223 96v320H95V96h128zM31 480h448v-32H31v32zM415 96v320H287V96h128zm-32 32h-64v256h64V128zM31 32v32h448V32H31z" />',viewBox:"0 0 512 512"},ei={name:"align-items-start",content:'<path d="M319 224H95V96h224v128zM31 480h32V32H31v448zm64-192v128h352V288H95z" />',viewBox:"0 0 512 512"},ti={name:"align-items-center",content:'<path d="M415 416H255v64h-32v-64H63V288h160v-64h-96V96h96V32h32v64h96v128h-96v64h160v128z" />',viewBox:"0 0 512 512"},ni={name:"align-items-end",content:'<path d="M192 96h224v128H192V96zm256-64v448h32V32h-32zM64 416h352V288H64v128z" />',viewBox:"0 0 512 512"},ri={name:"align-items-stretch",content:'<path d="M415 224H95V96h320v128zM31 480h32V32H31v448zM447 32v448h32V32h-32zM96 416h320V288H96v128z" />',viewBox:"0 0 512 512"},oi={name:"align-items-baseline",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32h-64zm-224 96h-64v-64h64v64zm192 64h-64V256h64v128z" />',viewBox:"0 0 512 512"},ii={name:"align-items-start-alt",content:'<path d="M96 96h128v224H96V96zM32 32v32h448V32H32zm256 416h128V96H288v352z" />',viewBox:"0 0 512 512"},ai={name:"align-items-center-alt",content:'<path d="M479 256h-64v160H287V256h-64v96H95v-96H31v-32h64v-96h128v96h64V64h128v160h64v32z" />',viewBox:"0 0 512 512"},si={name:"align-items-end-alt",content:'<path d="M223 417H95V193h128v224zM31 449v32h448v-32H31zM415 65H287v352h128V65z" />',viewBox:"0 0 512 512"},li={name:"align-items-stretch-alt",content:'<path d="M223 96v320H95V96h128zM31 480h448v-32H31v32zm0-448v32h448V32H31zm256 63v320h128V95H287z" />',viewBox:"0 0 512 512"},ci={name:"align-items-baseline-alt",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288H255zm-32 96H95v-64h128v64zm0-192h-64v-64h64v64z" />',viewBox:"0 0 512 512"},ui={name:"justify-content-start",content:'<path d="M95 96h128v320H95V96zM31 480h32V32H31v448zM255 95v320h128V95H255z" />',viewBox:"0 0 512 512"},hi={name:"justify-content-center",content:'<path d="M63 96h128v320H63V96zm160 384h32V32h-32v448zm64-385v320h128V95H287z" />',viewBox:"0 0 512 512"},di={name:"justify-content-end",content:'<path d="M128 96h128v320H128V96zm320-64v448h32V32h-32zM288 415h128V95H288v320z" />',viewBox:"0 0 512 512"},pi={name:"justify-content-between",content:'<path d="M63 96h128v320H63V96zm416-64v448h32V32h-32zM319 415h128V95H319v320zM-1 480h32V32H-1v448z" />',viewBox:"0 0 512 512"},fi={name:"justify-content-around",content:'<path d="M95 96h128v320H95V96zm384-64v448h32V32h-32zM287 415h128V95H287v320zM-1 480h32V32H-1v448z" />',viewBox:"0 0 512 512"},mi={name:"justify-content-start-alt",content:'<path d="M415 224H95V96h320v128zM31 32v32h448V32H31zm65 352h320V256H96v128z" />',viewBox:"0 0 512 512"},vi={name:"justify-content-center-alt",content:'<path d="M415 192H95V64h320v128zM31 224v32h448v-32H31zm65 192h320V288H96v128z" />',viewBox:"0 0 512 512"},gi={name:"justify-content-end-alt",content:'<path d="M415 257H95V129h320v128zM31 449v32h448v-32H31zm65-32h320V289H96v128z" />',viewBox:"0 0 512 512"},bi={name:"justify-content-between-alt",content:'<path d="M95 64h320v128H95V64zM31 512h448v-32H31v32zm65-64h320V320H96v128zM31 0v32h448V0H31z" />',viewBox:"0 0 512 512"},yi={name:"justify-content-around-alt",content:'<path d="M95 96h320v128H95V96zM31 512h448v-32H31v32zm65-96h320V288H96v128zM31 0v32h448V0H31z" />',viewBox:"0 0 512 512"},wi={name:"file-wrench",content:'<path d="M470.7 480 448 502.7c-12.4 12.4-32.8 12.4-45.1-.1l-93.1-93.1c-11.8 4.2-24.5 6.5-37.8 6.5-61.9 0-112-50.1-112-112 0-13.2 2.3-25.9 6.5-37.6l48.9 48.9c12.4 12.4 32.8 12.4 45.3 0l22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-48.9-48.9c11.8-4.2 24.4-6.5 37.6-6.5 61.9 0 112 50.1 112 112 0 13.2-2.3 25.9-6.5 37.6l93.2 93.1c12.4 12.5 12.4 32.9 0 45.3zm-22.8-23-86.3-86.3c-6.4 8.6-14 16.2-22.6 22.6l86.4 86.3 22.6-22.5v-.1h-.1zM96 64h224v96h96v128h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h160v-32H96V64z" />',viewBox:"0 0 512 512"},xi={name:"bold",content:'<path d="M128 96h115.8c25.3 0 44.2 1.1 56.6 3.2 12.4 2.1 23.6 6.5 33.4 13.2 9.8 6.7 18 15.6 24.6 26.7 6.6 11.1 9.8 23.6 9.8 37.4 0 15-4.1 28.7-12.1 41.2-8.1 12.5-19.1 21.9-32.9 28.2 19.5 5.7 34.5 15.4 45 29s15.7 29.8 15.7 48.2c0 14.6-3.4 28.7-10.2 42.4-6.7 13.8-16 24.8-27.7 33s-26.1 13.3-43.3 15.2c-10.8 1.2-36.7 1.9-78 2.2H128V96zm64 53v74h30.9c25.2 0 40.8-.4 46.9-1.1 11.1-1.3 19.7-5.2 26.1-11.5 6.3-6.3 9.5-14.7 9.5-25 0-9.9-2.7-18-8.2-24.1-5.5-6.2-13.6-10-24.4-11.2-6.4-.7-24.8-1.1-55.2-1.1H192zm0 127.1V362h48.6c23.4 0 38.1-.7 44.5-2 9.6-1.8 17.5-6 23.6-12.8 6.1-6.8 9-15.9 9-27.3 0-9.6-2.3-17.9-7-24.6-4.7-6.7-11.4-11.6-20.3-14.7-8.8-3.1-28-4.6-57.5-4.6l-40.9.1z" />',viewBox:"0 0 512 512"},ki={name:"italic",content:'<path d="m377.2 128 6.8-32H198.8l-6.8 32h59.2l-54.4 256h-62l-6.8 32h185.2l6.8-32h-59.2l54.4-256h62z" />',viewBox:"0 0 512 512"},Ci={name:"underline",content:'<path d="M128 416h256v32H128v-32zM320 64v224c0 11.6-3.5 16-10.3 20.3-11.8 7.4-31.3 11.7-53.7 11.7s-41.9-4.3-53.7-11.7c-6.8-4.3-10.3-8.7-10.3-20.3V64h-64v224c0 70.4 64.3 96 128 96s128-25.6 128-96V64h-64z" />',viewBox:"0 0 512 512"},zi={name:"font-family",content:'<path d="M224 416V160h-95l-.8-64H384v64h-96v256h-64z" />',viewBox:"0 0 512 512"},_i={name:"foreground-color",content:'<path d="M299.5 96h-87.1L96 416h64l23.3-64h145.4l23.3 64h64L299.5 96zm-92.9 192L256 152.2 305.4 288h-98.8z" />',viewBox:"0 0 512 512"},Ei={name:"convert-lowercase",content:'<path d="M480.1 416H436v-36h-.7c-13.8 24-34.1 36-60.8 36-19.7 0-35.1-5.3-46.3-16-11.1-10.7-16.7-24.9-16.7-42.5 0-37.8 21.7-59.9 65.3-66.2l59.4-8.4c0-28.6-13.5-42.8-40.7-42.8-23.8 0-45.4 8.2-64.5 24.7V225c21.1-12.5 45.5-18.8 73.1-18.8 50.6 0 75.9 25 75.9 74.8v135h.1zM436 313.1l-42 5.9c-13 1.7-22.8 4.9-29.4 9.5s-9.9 12.7-9.9 24.3c0 8.5 3 15.4 9.1 20.8s14.2 8.1 24.3 8.1c13.8 0 25.2-4.8 34.3-14.5 9-9.7 13.6-21.9 13.6-36.6v-17.5zM240 416h48L184 96h-48L32 416h48l26-80h108l26 80zM121.6 288 160 169.8 198.4 288h-76.8z" />',viewBox:"0 0 512 512"},Ii={name:"convert-uppercase",content:'<path d="M200.1 416H156v-36h-.7c-13.8 24-34.1 36-60.8 36-19.7 0-35.1-5.3-46.3-16-11.1-10.7-16.7-24.9-16.7-42.5 0-37.8 21.7-59.9 65.3-66.2l59.4-8.4c0-28.6-13.5-42.8-40.7-42.8-23.8 0-45.4 8.2-64.5 24.7V225c21.1-12.5 45.5-18.8 73.1-18.8 50.6 0 75.9 25 75.9 74.8v135h.1zM157 313.1l-42 5.9c-13 1.7-22.8 4.9-29.4 9.5s-9.9 12.7-9.9 24.3c0 8.5 3 15.4 9.1 20.8s14.2 8.1 24.3 8.1c13.8 0 25.2-4.8 34.3-14.5 9-9.7 13.6-21.9 13.6-36.6v-17.5zM432 416h48L376 96h-48L224 416h48l26-80h108l26 80zM313.6 288 352 169.8 390.4 288h-76.8z" />',viewBox:"0 0 512 512"},Si={name:"strikethrough",content:'<path d="M393.9 320c.1-23.9 4.5-41.4 13.5-52.5 9.1-11.1 20.8-16.7 35.3-16.7 9.6 0 17.7 3.1 24.5 9.3 6.8 6.2 11.4 15.4 14.1 27.7l27.9-4.7c-3.3-18.4-10.8-32.7-22.5-42.7s-26.8-15-45.2-15c-14.5 0-28.1 3.6-40.4 11.1-12.4 7.4-21.6 18.5-27.7 33.2-5.9 14.4-8.9 31.2-9.1 50.4h-25.5v-2.2c0-13.2-1.7-25.6-5.1-37.1-3.4-11.5-8.1-21.4-14.2-29.6-6-8.1-13.7-14.5-23-19s-19.2-6.8-29.6-6.8c-18.9 0-34.3 8.2-46.4 24.6v-90H192v160h-45v-25.8c0-13.7-.5-23.3-1.4-28.5-1.7-8.5-4.7-15.5-9-21.1-4.3-5.5-10.9-10.2-19.9-13.8-9-3.6-20.8-5.5-35.3-5.5-14.6 0-27.4 2.1-38.5 6.4-11.1 4.3-19.5 10.4-25.4 18.4-5.8 8-10 18.4-12.6 31.4l28.1 4.1c3.1-13 7.8-22 14.3-27.1s16.4-7.7 29.9-7.7c14.5 0 25.4 3.5 32.7 10.5 5.4 5.1 8.1 14 8.1 26.6 0 1.1 0 3.8-.2 8.1-11 4.1-28 7.7-51.2 10.7-11.4 1.5-19.9 3-25.5 4.7-6.7 2-12.9 4.9-18.5 8.6H0v32h1.2c-.8 3.8-1.2 7.7-1.2 11.8 0 15.2 5 27.8 15 37.6S39.3 416 57.9 416c11.3 0 21.8-1.9 31.6-6s20.1-10.9 30.7-20.6h.1c.8 8.6 2.7 20.3 5.7 26.7h30c-3.6-7-6-18.4-7.3-26.1-1-6-1.6-18.7-1.8-37.9h45v64h26.6V389c11.4 18 27.1 27 47.1 27 20.1 0 37.3-8.5 51.7-25.6 8.6-10.2 14.6-23 18-38.3h31.8c3.3 16 9.4 29.2 18.3 39.5 14.1 16.3 32.7 24.5 55.9 24.5 18.5 0 34.1-6 46.8-17.8 12.1-11.3 19.8-26.7 23.2-46.2h.5v-32H393.9zm-280.7 42.6c-4.1 9-10.4 16.1-19 21.4-8.6 5.2-18.4 7.8-29.5 7.8-11.2 0-19.6-2.8-25.4-8.2-5.8-5.6-8.7-12.4-8.7-20.7 0-3.9.7-7.5 2.1-10.9h83.6c-.7 4.1-1.8 7.7-3.1 10.6zm105.1-43.3c0-22.2 4.6-39.2 13.7-50.9 9.1-11.8 20-17.6 32.5-17.6s23.1 5.6 31.8 17c8.8 11.3 13.1 28.7 13.2 52.3h-91.3c.1-.3.1-.6.1-.8zm77.6 53.6c-9.1 11.8-20 17.7-32.5 17.7-15.5 0-27.7-8-36.7-23.9-2.2-3.9-4-8.8-5.3-14.7H306c-2.4 8.3-5.7 15.3-10.1 20.9zm173.5 6.6c-7.5 7.5-16.9 11.2-28.2 11.2-14 0-25.4-5.6-34.1-16.7-4.4-5.6-7.7-12.9-9.9-21.9h85.5c-2.6 11.9-7 21.1-13.3 27.4z" />',viewBox:"0 0 512 512"},Mi={name:"subscript",content:'<path d="m198.6 304 89.4 89.4-22.6 22.6-89.4-89.4L86.6 416 64 393.4l89.4-89.4L64 214.6 86.6 192l89.4 89.4 89.4-89.4 22.6 22.6-89.4 89.4zm167.7 144h81.4v32H320v-11.9c0-8 1.7-15.3 5-21.7 3.3-6.4 7.5-12.1 12.5-17.2s10.5-9.6 16.4-13.5c5.9-3.9 11.6-7.4 16.9-10.6 5.6-3.3 10.6-6.4 14.8-9.4 4.2-3 7.8-6 10.7-8.9 2.9-3 5.1-6 6.5-9 1.4-3 2.1-6.3 2.1-9.7 0-6.7-2.3-11.8-7-15.3-4.6-3.4-11.7-5.2-21.3-5.2-16.5 0-32.3 5.4-47.4 16.1v-30.5c16.7-8.9 35.5-13.3 56.5-13.3 9.7 0 18.5 1 26.2 3.1 7.7 2.1 14.3 5.1 19.6 8.9 5.4 3.9 9.4 8.6 12.3 14.1 2.8 5.5 4.2 11.7 4.2 18.5 0 7.2-1.4 13.7-4.1 19.3-2.7 5.6-6.3 10.8-10.8 15.4-4.5 4.6-9.7 8.8-15.6 12.7-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4-4 2.5-7.5 4.9-10.5 7.2-3.1 2.6-7.1 6.6-10 10.4z" />',viewBox:"0 0 512 512"},Oi={name:"supscript",content:'<path d="m198.6 304 89.4 89.4-22.6 22.6-89.4-89.4L86.6 416 64 393.4l89.4-89.4L64 214.6 86.6 192l89.4 89.4 89.4-89.4 22.6 22.6-89.4 89.4zm167.7-112h81.4v32H320v-11.9c0-8 1.7-15.3 5-21.7s7.5-12.1 12.5-17.2 10.5-9.6 16.4-13.5 11.6-7.4 16.9-10.6c5.6-3.3 10.6-6.4 14.8-9.4 4.2-3 7.8-6 10.7-8.9 2.9-3 5.1-6 6.5-9s2.1-6.3 2.1-9.7c0-6.7-2.3-11.8-7-15.3-4.6-3.4-11.7-5.2-21.3-5.2-16.5 0-32.3 5.4-47.4 16.1V77.3c16.7-8.9 35.5-13.3 56.5-13.3 9.7 0 18.5 1 26.2 3.1s14.3 5.1 19.6 8.9c5.4 3.9 9.4 8.6 12.3 14.1 2.8 5.5 4.2 11.7 4.2 18.5 0 7.2-1.4 13.7-4.1 19.3-2.7 5.6-6.3 10.8-10.8 15.4-4.5 4.6-9.7 8.8-15.6 12.7-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4-4 2.5-7.5 4.9-10.5 7.2-3.1 2.5-7.1 6.5-10 10.3z" />',viewBox:"0 0 512 512"},Ri={name:"div",content:'<path d="M0 416v-6h7.1c7.9 0 13.6-3 16.9-9.1 2-3.6 3-11.8 3-24.5V231.6c0-14-1.3-22.8-3.9-26.3-3.6-4.9-9-7.3-16.1-7.3H0v-6h77.6c28.5 0 50.2 3.8 65 11.4 14.9 7.6 26.8 20.3 35.8 38 9 17.7 13.6 38.2 13.6 61.5 0 31.2-8.1 57.2-24.2 78.1-18.1 23.3-45.6 35-82.6 35H0zm54-16.2c11.9 3.1 21.9 4.6 29.9 4.6 21.7 0 39.8-9 54.1-26.9 14.3-17.9 21.5-42.3 21.5-73 0-30.9-7.2-55.3-21.5-73.2-14.3-17.8-32.8-26.8-55.2-26.8-8.4 0-18 1.6-28.8 4.8v190.5zM298 410v6h-83v-6h6.7c7.8 0 13.5-2.7 17-8.1 2.2-3.5 3.3-12 3.3-25.5V231.6c0-11.4-.6-18.9-1.8-22.5-.9-2.8-2.8-5.1-5.7-7.1-4.1-2.6-8.4-4-12.8-4H215v-6h83v6h-7c-7.9 0-13.7 2.7-17.4 8.1-2.4 3.5-3.6 12-3.6 25.5v144.9c0 11.4.6 18.9 1.9 22.5 1 2.8 3 5.1 6 7.1 4.1 2.6 8.5 4 13.1 4h7zm214-218v6c-6.4 1.4-11.3 3.9-14.6 7.4-4.7 5.3-8.9 13.4-12.6 24.2L421.6 416h-4.9l-67.9-188.8c-3.5-9.7-5.9-15.6-7.4-17.8-2.2-3.3-5-5.9-8.2-7.8-3.3-1.9-7.6-3.1-13.2-3.6v-6h74v6c-8.4 1-13.8 2.7-16.3 5.2s-3.7 5.7-3.7 9.5c0 5.4 2 13.8 6.1 25.2l46.1 128.4L469 239.5c4.2-12.5 6.3-21.2 6.3-26 0-3.1-1.3-6.1-3.9-9-2.6-2.9-6.9-4.9-13.1-6.1-.4-.1-1.2-.3-2.3-.5v-6h56zm0-96H0v32h512V96z" />',viewBox:"0 0 512 512"},Hi={name:"all",content:'<path d="M120.1 343H52l-12 34.4c-2.9 8.5-4.4 14.8-4.4 19 0 3.3 1.3 6.2 3.8 8.8s8.1 4.2 16.5 4.9v5.9H0v-6c7.4-1.6 12.2-3.7 14.4-6.3 4.4-5.2 9.4-15.7 14.8-31.5L91.4 192H96l61.6 182.2c5 14.6 9.5 24.1 13.5 28.5 4 4.4 9.7 6.8 16.9 7.3v6h-70v-5.9c7-.4 11.7-1.9 14.2-4.3 2.5-2.5 3.7-5.5 3.7-9 0-4.7-1.7-12.2-5.2-22.3L120.1 343zm-3.5-12-30-88.5L55.8 331h60.8zm227.7 23.1 4.3 1.2-15.1 60.7H197v-6h6.5c7.4 0 12.6-3.1 15.8-9.3 1.8-3.5 2.7-11.7 2.7-24.5V222.7c0-14-1.2-13.9-3.6-17.5-3.3-4.9-8.3-7.3-14.9-7.3H196v-6h80v6.1s-15.4 1-19.2 3.3c-3.8 2.3-6.4 5.2-7.8 8.8-1.4 3.5-2.1 3.1-2 16.5v149.6c-.1 9.1.6 15.4 2 18.8 1 2.3 2.7 4 4.8 5.1 2.2 1.1 9 1.7 20.4 1.9h12.9c13.6-.2 23.1-1.5 28.6-4s10.5-7 15-13.5 9.1-16.6 13.6-30.4zm163.4 0 4.3 1.2-15.1 60.7H360v-6h6.5c7.4 0 12.6-3.1 15.8-9.3 1.8-3.5 2.7-11.7 2.7-24.5V222.7c0-14-1.2-13.9-3.6-17.5-3.3-4.9-8.3-7.3-14.9-7.3H360v-6h80v6.1s-16.1 1-19.9 3.3-6.4 5.2-7.8 8.8c-1.4 3.5-2.1 3.1-2.4 16.5v149.6c.3 9.1 1 15.4 2.4 18.8 1 2.3 2.7 4 4.8 5.1s9 1.7 20.4 1.9h12.9c13.6-.2 23.1-1.5 28.6-4s10.5-7 15-13.5 9.2-16.6 13.7-30.4zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},Fi={name:"h1",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm192-69.9 63-26.1h1v185.3c0 12.3.5 20 1.5 23s3.2 5.3 6.4 7 14.1 2.5 24.1 2.8v6h-96v-6c10.4-.2 20.9-1.1 23.9-2.7s5.1-3.7 6.3-6.3c1.2-2.6 1.8-10.5 1.8-23.7V258.8c0-16-.5-26.2-1.6-30.8-.8-3.5-2.1-6-4.1-7.6-2-1.6-4.4-2.4-7.2-2.4-4 0-9.5 1.7-16.7 5l-2.4-4.9zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},Di={name:"h2",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm336 86-15.3 42H320v-5.5c38.2-34.9 65.1-63.3 80.7-85.4 15.6-22.1 23.4-42.3 23.4-60.6 0-14-4.3-25.4-12.8-34.4-8.6-9-18.8-13.5-30.7-13.5-10.8 0-20.5 3.2-29.1 9.5-8.6 6.3-15 15.6-19.1 27.8h-6c2.7-20 9.7-35.4 20.9-46.1 11.2-10.7 25.2-16.1 42-16.1 17.9 0 32.8 5.7 44.7 17.2 12 11.5 17.9 25 17.9 40.6 0 11.1-2.6 22.3-7.8 33.4-8 17.5-21 36.1-39 55.7-27 29.4-43.8 47.2-50.5 53.3h56.9c11.8 0 20-.4 24.8-1.3 4.7-.9 9-2.6 12.8-5.3 3.8-2.7 7.1-6.5 10-11.4l4.9.1zm48-278H0v32h512V96z" />',viewBox:"0 0 512 512"},Ai={name:"h3",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm195.6-50.6c6.4-14.5 14.5-25.7 24.3-33.6 9.8-7.9 22-11.9 36.6-11.9 18 0 31.9 5.6 41.5 16.9 7.3 8.4 11 17.3 11 26.9 0 15.7-10.3 31.9-30.9 48.7 13.8 5.2 24.3 12.6 31.4 22.3 7.1 9.7 10.6 21 10.6 34 0 18.7-6.2 34.8-18.6 48.5-16.2 17.8-39.6 26.7-70.2 26.7-15.2 0-25.5-1.8-31-5.4s-8.2-7.5-8.2-11.6c0-3.1 1.3-5.8 3.9-8.1 2.6-2.3 5.7-3.5 9.4-3.5 2.8 0 5.6.4 8.5 1.3 1.9.5 6.1 2.5 12.8 5.8 6.6 3.3 11.2 5.3 13.8 6 4.1 1.2 8.5 1.8 13.1 1.8 11.3 0 21.1-4.2 29.5-12.6s12.5-18.3 12.5-29.8c0-8.4-1.9-16.5-5.8-24.5-2.9-5.9-6-10.4-9.5-13.5-4.8-4.2-11.3-8.1-19.6-11.5s-16.8-5.2-25.4-5.2H358v-4.8c8.7-1.1 17.5-4.1 26.3-9.1s15.2-11 19.2-18 6-14.7 6-23.1c0-10.9-3.6-19.8-10.7-26.5s-16-10.1-26.6-10.1c-17.2 0-31.5 8.8-43 26.4l-5.6-2.5zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},Vi={name:"h4",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm341 47v23h-29v58h-27v-58h-93v-20.7L422.1 192H440v143h29zm-56 0V226.1L336 335h77zm99-239H0v32h512V96z" />',viewBox:"0 0 512 512"},Bi={name:"h5",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm320-96-12.6 28h-66L355 249.1c28.6 4.2 51.2 14.9 68 32 14.3 14.7 21.5 32 21.5 51.9 0 11.6-2.3 22.3-7 32.1s-10.6 18.2-17.7 25.2c-7.1 6.9-15 12.5-23.8 16.7-12.4 6-25.1 8.9-38.2 8.9-13.2 0-22.7-2.2-28.7-6.7s-9-9.4-9-14.9c0-3 1.2-5.7 3.7-8s5.6-3.5 9.4-3.5c2.8 0 5.3.4 7.4 1.3 2.1.9 5.7 3.1 10.8 6.7 8.1 5.6 16.3 8.4 24.6 8.4 12.6 0 23.7-4.8 33.3-14.4s14.3-21.2 14.3-35c0-13.3-4.3-25.7-12.8-37.3-8.5-11.5-20.3-20.4-35.3-26.7-11.8-4.9-27.8-7.7-48.1-8.4l42.1-85.5H448zm64-96H0v32h512V96z" />',viewBox:"0 0 512 512"},Ni={name:"h6",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm316-96v5.9c-13.1 1.4-23.9 4.2-32.2 8.4s-16.5 10.6-24.6 19.2c-8.1 8.6-14.8 18.2-20.2 28.7-5.3 10.6-9.8 23.1-13.4 37.6 14.3-10.5 28.7-15.8 43.2-15.8 13.8 0 25.8 5.9 36 17.8S448 321 448 339.6c0 18-5.1 34.5-15.4 49.3-12.3 18-28.7 27-49 27-13.8 0-25.6-4.9-35.2-14.6-18.9-19-28.4-43.6-28.4-73.8 0-19.3 3.6-37.7 10.9-55s17.6-32.8 31.1-46.3 26.4-22.5 38.8-27.2 23.8-7 34.5-7h8.7zm-92.9 111.4c-1.8 14.3-2.7 25.9-2.7 34.7 0 10.2 1.8 21.2 5.3 33.2 3.5 11.9 8.8 21.4 15.8 28.4 5.1 5 11.3 7.5 18.5 7.5 8.7 0 16.4-4.3 23.2-13 6.8-8.7 10.2-21.1 10.2-37.2 0-18.1-3.4-33.8-10.2-47.1S394.8 290 382.4 290c-3.8 0-7.8.8-12.2 2.5-4.3 1.6-10.7 5.2-19.1 10.9zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},Li={name:"list-ordered",content:'<path d="M192 64h288v32H192V64zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM96 32v128H64V64c-1.5 1.3-14.9 7.8-22.1 10V50.8c7.2-2.1 13.9-4.8 20.3-8 6.3-3.3 12.1-6.8 17.2-10.7L96 32zM66.7 297h61.1v23H32v-9.5c0-6.4 1.2-12.2 3.7-17.3 2.5-5.1 5.6-9.7 9.3-13.8 3.7-4.1 7.8-7.7 12.3-10.8 4.5-3.1 8.7-6 12.7-8.5 4.2-2.6 7.9-5.1 11.1-7.6 3.2-2.4 5.9-4.8 8-7.2 2.2-2.4 3.8-4.8 4.9-7.2s1.6-5 1.6-7.8c0-5.4-1.7-9.5-5.2-12.2-3.5-2.8-8.8-4.1-16-4.1-12.4 0-24.2 4.3-35.5 12.9v-24.4c12.5-7.1 26.6-10.6 42.4-10.6 7.3 0 13.8.8 19.6 2.5 5.8 1.7 10.7 4.1 14.7 7.2 4 3.1 7.1 6.9 9.2 11.3 2.1 4.4 3.2 9.3 3.2 14.8 0 5.8-1 10.9-3.1 15.5-2 4.5-4.8 8.6-8.1 12.3-3.4 3.7-7.3 7.1-11.7 10.1-4.4 3.1-9 6-13.8 8.9-3.2 2-6.3 4-9.3 5.9-3 2-5.6 3.9-7.9 5.8s-4.1 3.8-5.4 5.6c-1.3 1.8-2 3.6-2 5.2zM32 473.8V450c10.1 6 21.8 9.1 35.3 9.1 8.5 0 15.1-1.5 19.8-4.5 4.7-3 7.1-7.2 7.1-12.5 0-5.5-2.9-9.8-8.8-12.8-5.8-3-13.9-4.5-24.1-4.5h-14V404h12.9c19.6 0 29.4-5.4 29.4-16.1 0-10.1-7.5-15.1-22.6-15.1-10.1 0-19.9 2.7-29.4 8v-22.3c10.6-4.4 22.9-6.6 37-6.6 15.4 0 27.4 2.8 36 8.5s12.9 13.1 12.9 22.2c0 16.2-10 26.3-29.9 30.4v.4c10.6 1.1 19 4.3 25.2 9.5 6.2 5.3 9.2 11.7 9.2 19.4 0 11.6-5.1 20.7-15.4 27.4S88.1 480 69.9 480c-15.5 0-28.2-2.1-37.9-6.2z" />',viewBox:"0 0 512 512"},Pi={name:"list-unordered",content:'<path d="M192 64h288v32H192V64zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM80 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},Ti={name:"indent",content:'<path d="M480 64H32V32h448v32zm0 32H224v32h256V96zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H32v32h448v-32zM160 240 32 128v224l128-112z" />',viewBox:"0 0 512 512"},ji={name:"outdent",content:'<path d="M480 64H32V32h448v32zm0 32H224v32h256V96zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H32v32h448v-32zm-320-64V128L32 240l128 112z" />',viewBox:"0 0 512 512"},Ui={name:"insert-top",content:'<path d="M192 320h192v32H192v-32zm0-128h288v-32H192v32zm192 64H192v32h192v-32zM32 64v224l96-112L32 64z" />',viewBox:"0 0 512 512"},Wi={name:"insert-middle",content:'<path d="M192 128h192v32H192v-32zm0 128h288v-32H192v32zm192 64H192v32h192v-32zM32 128v224l96-112-96-112z" />',viewBox:"0 0 512 512"},Ki={name:"insert-bottom",content:'<path d="M192 224h192v32H192v-32zm0 128h288v-32H192v32zm192-192H192v32h192v-32zM32 224v224l96-112-96-112z" />',viewBox:"0 0 512 512"},qi={name:"align-top",content:'<path d="M480 64H32V32h448v32zm-64 32H96v32h320V96zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},Gi={name:"align-middle",content:'<path d="M480 192H32v-32h448v32zm-64 32H96v32h320v-32zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},$i={name:"align-bottom",content:'<path d="M480 352H32v-32h448v32zm-64 32H96v32h320v-32zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},Yi={name:"align-left",content:'<path d="M448 96H64V64h384v32zm-96 32H64v32h288v-32zm96 64H64v32h384v-32zm-96 64H64v32h288v-32zm96 64H64v32h384v-32zm-96 64H64v32h288v-32z" />',viewBox:"0 0 512 512"},Zi={name:"align-center",content:'<path d="M448 96H64V64h384v32zm-64 64H128v-32h256v32zm64 64H64v-32h384v32zm-64 64H128v-32h256v32zm64 64H64v-32h384v32zm-64 64H128v-32h256v32z" />',viewBox:"0 0 512 512"},Xi={name:"align-right",content:'<path d="M64 192h384v32H64v-32zm384-96V64H64v32h384zm-288 64h288v-32H160v32zM64 320v32h384v-32H64zm96-32h288v-32H160v32zm0 96v32h288v-32H160z" />',viewBox:"0 0 512 512"},Ji={name:"align-justify",content:'<path d="M448 160H64v-32h384v32zm0-96H64v32h384V64zM64 352h384v-32H64v32zm0-64h384v-32H64v32zm0-64h384v-32H64v32zm0 192h384v-32H64v32z" />',viewBox:"0 0 512 512"},Qi={name:"align-remove",content:'<path d="m78.9 192 32 32H64v-32h14.9zM64 288h110.9l-32-32H64v32zm0 64h174.9l-32-32H64v32zm0 32v32h238.9l-32-32H64zm393.4 96 22.6-22.6-41.4-41.4h9.4v-32h-41.4l-32-32H448v-32H342.6l-32-32H448v-32H278.6l-32-32H448v-32H214.6l-32-32H448v-32H150.6l-32-32H448V64H86.6l-32-32L32 54.6" />',viewBox:"0 0 512 512"},ea={name:"text-wrap",content:'<path d="M480 96v32H96V96h384zM352 256v224H32V256h320zm-32 32H64v160h256V288zm-32 32H96v32h192v-32zm0 96v-32H96v32h192zM64 64h288V32H32v160h320v-32H64V64z" />',viewBox:"0 0 512 512"},ta={name:"horizontal-rule",content:'<path d="M320 96H32V64h288v32zm96 32H32v32h384v-32zm64 96H32v64h448v-64zM320 352H32v32h288v-32zm96 64H32v32h384v-32z" />',viewBox:"0 0 512 512"},na={name:"table-align-top-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 64h192V64H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},ra={name:"table-align-top-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 32H160v32h192V64zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},oa={name:"table-align-top-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 32H224v32h192V64zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},ia={name:"table-align-middle-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 160h192v-32H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},aa={name:"table-align-middle-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 128H160v32h192v-32zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},sa={name:"table-align-middle-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 128H224v32h192v-32zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},la={name:"table-align-bottom-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 256h192v-32H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},ca={name:"table-align-bottom-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 224H160v32h192v-32zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},ua={name:"table-align-bottom-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 224H224v32h192v-32zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},ha={name:"table-align-remove",content:'<path d="M32 0v480h448V0H32zm416 448H64V32h384v416zM131.6 224l29.9 32H128v-32h3.6zm-3.6 64h63.4l29.9 32H128v-32zm123.1 64 29.9 32H128v-32h123.1zM96 92l22.6-22.6L143.5 96H384v32H173.4l29.9 32H384v32H233.1l29.9 32h121v32h-91.2l29.9 32H384v32h-31.4l63.4 68-22.6 22.6L96 92z" />',viewBox:"0 0 512 512"},da={name:"borders-all",content:'<path d="M32 32v416h416V32H32zm32 32h160v160H64V64zm0 352V256h160v160H64zm352 0H256V256h160v160zm0-192H256V64h160v160z" />',viewBox:"0 0 512 512"},pa={name:"borders-outside",content:'<path d="M128 256H96v-32h32v32zm64-32h-32v32h32v-32zm64 0h-32v32h32v-32zm0-64h-32v32h32v-32zm0-64h-32v32h32V96zm0 256h-32v32h32v-32zm0-64h-32v32h32v-32zm64-64h-32v32h32v-32zm64 0h-32v32h32v-32zm64-192v416H32V32h416zm-32 32H64v352h352V64z" />',viewBox:"0 0 512 512"},fa={name:"borders-inside",content:'<path d="M64 64H32V32h32v32zm0 32H32v32h32V96zm0 64H32v32h32v-32zm0 128H32v32h32v-32zm0 64H32v32h32v-32zM448 96h-32v32h32V96zm0 64h-32v32h32v-32zm0 128h-32v32h32v-32zm0 64h-32v32h32v-32zM128 32H96v32h32V32zm64 0h-32v32h32V32zM64 416H32v32h32v-32zm64 0H96v32h32v-32zm64 0h-32v32h32v-32zm128 0h-32v32h32v-32zm64 0h-32v32h32v-32zm64 0h-32v32h32v-32zM320 32h-32v32h32V32zm64 0h-32v32h32V32zm64 0h-32v32h32V32zm0 192H256V32h-32v192H32v32h192v192h32V256h192v-32z" />',viewBox:"0 0 512 512"},ma={name:"borders-inside-horizontal",content:'<path d="M448 224v32H32v-32h416zM64 32H32v32h32V32zm0 96H32V96h32v32zm0 64H32v-32h32v32zm0 128H32v-32h32v32zm0 64H32v-32h32v32zm384-256h-32V96h32v32zm0 64h-32v-32h32v32zm0 128h-32v-32h32v32zm0 64h-32v-32h32v32zM128 64H96V32h32v32zm64 0h-32V32h32v32zm64 0h-32V32h32v32zm0 64h-32V96h32v32zm0 64h-32v-32h32v32zm0 128h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM64 416H32v32h32v-32zm64 32H96v-32h32v32zm64 0h-32v-32h32v32zm128-32h-32v32h32v-32zm64 32h-32v-32h32v32zm64 0h-32v-32h32v32zM320 32h-32v32h32V32zm64 32h-32V32h32v32zm64 0h-32V32h32v32z" />',viewBox:"0 0 512 512"},va={name:"borders-inside-vertical",content:'<path d="M256 448h-32V32h32v416zM448 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-128 0V32h32v32h-32zm-64 0V32h32v32H96zm256 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-128 0v-32h32v32h-32zm-64 0v-32h32v32H96zm320-320V96h32v32h-32zm0 64v-32h32v32h-32zm0 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-128 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm416-128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},ga={name:"border-top",content:'<path d="M448 32v32H32V32h416zM64 96H32v32h32V96zm0 96H32v-32h32v32zm0 64H32v-32h32v32zm0 64H32v-32h32v32zm0 64H32v-32h32v32zm384-192h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM128 256H96v-32h32v32zm64 0h-32v-32h32v32zm64-128h-32V96h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM64 416H32v32h32v-32zm64 32H96v-32h32v32zm64 0h-32v-32h32v32zm128-32h-32v32h32v-32zm64 32h-32v-32h32v32zm64 0h-32v-32h32v32zM320 224h-32v32h32v-32zm64 32h-32v-32h32v32zm64-128h-32V96h32v32z" />',viewBox:"0 0 512 512"},ba={name:"border-bottom",content:'<path d="M32 448v-32h416v32H32zm32-96H32v32h32v-32zm0-32H32v-32h32v32zm0-64H32v-32h32v32zm0-64H32v-32h32v32zm0-64H32V96h32v32zm384 192h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32V96h32v32zM128 256H96v-32h32v32zm64 0h-32v-32h32v32zm64 128h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32V96h32v32zm0-64h-32V32h32v32zM64 32H32v32h32V32zm64 32H96V32h32v32zm64 0h-32V32h32v32zm128-32h-32v32h32V32zm64 32h-32V32h32v32zm64 0h-32V32h32v32zM320 224h-32v32h32v-32zm64 32h-32v-32h32v32zm64 128h-32v-32h32v32z" />',viewBox:"0 0 512 512"},ya={name:"border-left",content:'<path d="M32 32h32v416H32V32zm96 32V32H96v32h32zm32 0V32h32v32h-32zm64 0V32h32v32h-32zm64 0V32h32v32h-32zm64 0V32h32v32h-32zM160 448v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zM224 128V96h32v32h-32zm0 64v-32h32v32h-32zM96 256v-32h32v32H96zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm32-192V32h-32v32h32zm-32 64V96h32v32h-32zm0 64v-32h32v32h-32zm32 128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32zM256 320v-32h-32v32h32zm-32 64v-32h32v32h-32zM96 448v-32h32v32H96z" />',viewBox:"0 0 512 512"},wa={name:"border-right",content:'<path d="M448 448h-32V32h32v416zM384 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32H96zm192 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm128-320V96h32v32h-32zm0 64v-32h32v32h-32zm128 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm224-128v-32h-32v32h32zm-32 64v-32h32v32h-32zm128 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},xa={name:"borders-none",content:'<path d="M384 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32H96zm192 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm128-320V96h32v32h-32zm0 64v-32h32v32h-32zm128 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm384-192v-32h32v32h-32zm32-192V32h-32v32h32zm-32 64V96h32v32h-32zm0 64v-32h32v32h-32zm32 128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32zM256 320v-32h-32v32h32zm-32 64v-32h32v32h-32zm128 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},ka={name:"borders-show-hide",content:'<path d="M64 448h128v32H32V32h448v128h-32V64H64v384zm384 0h-64v32h96v-96h-32v64zM160 288v-64H96v64h64zm64 0h64v-64h-64v64zm160-32v-32h-32v32h32zM288 96h-64v64h64V96zm0 384L160 352l45-45 83 83 147-147 45 45-192 192z" />',viewBox:"0 0 512 512"},Ca={name:"form",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 384H64V64h352v352zm32 64v-32h32v32h-32zm32-448h-32V0h32v32zM0 448h32v32H0v-32zM32 0v32H0V0h32z" />',viewBox:"0 0 512 512"},za={name:"form-element",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 384H64V64h352v352zm32 64v-32h32v32h-32zm32-448h-32V0h32v32zM0 448h32v32H0v-32zM32 0v32H0V0h32zm160 128H96v32h96v-32zm192 0H224v32h160v-32zm0 64H224v32h160v-32zm0 64H224v32h160v-32zm0 64H224v32h160v-32zm-192 0H96v32h96v-32zm0-64H96v32h96v-32zm0-64H96v32h96v-32z" />',viewBox:"0 0 512 512"},_a={name:"code-snippet",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 256v128H64V64h352v224zM32 0v32H0V0h32zM0 448h32v32H0v-32zm198.6-265.4L141.3 240l57.4 57.4L176 320l-80-80 80-80 22.6 22.6zM304 160l80 80-80 80-22.6-22.6 57.4-57.4-57.4-57.4L304 160zM480 32h-32V0h32v32zm-32 448v-32h32v32h-32z" />',viewBox:"0 0 512 512"},Ea={name:"select-all",content:'<path d="M448 448h32v32h-32v-32zm0-448h32v32h-32V0zM0 448h32v32H0v-32zM0 0h32v32H0V0zm448 384h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32V64zM0 384h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0V64zm128 384h32v32h-32v-32zm-64 0h32v32H64v-32zm128 0h32v32h-32v-32zm64 0h32v32h-32v-32zm64 0h32v32h-32v-32zm64 0h32v32h-32v-32zM64 0h32v32H64V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm-96 64 53.4 53.4L240 218.9 138.6 117.4 192 64H64v128l53.5-53.5L218.9 240 117.5 341.5 64 288v128h128l-53.4-53.4L240 261.1l101.4 101.5L288 416h128V288l-53.5 53.5L261.1 240l101.4-101.5L416 192V64H288z" />',viewBox:"0 0 512 512"},Ia={name:"button",content:'<path d="m130.1 130.1 36.1 93.9H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32v128c0 17.6-14.4 32-32 32h-73.8l-244.1-93.9zM480 299 185.8 185.8 299 480l22.6-113.1L434.7 480l45.3-45.3-113.1-113.1L480 299z" />',viewBox:"0 0 512 512"},Sa={name:"select-box",content:'<path d="M384 352H128v-32h256v32zm0 32H128v32h256v-32zm0-128H128v32h256v-32zm96-192v128c0 17.6-14.4 32-32 32v224c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V224c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32zM352 96l32 64 32-64h-64zm64 128H96v224h320V224z" />',viewBox:"0 0 512 512"},Ma={name:"calendar-date",content:'<path d="M448 32h-64V0h-64v32H192V0h-64v32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 416-383.9.1-.1-.1V192h384v256zm0-288H64V64.1l.1-.1H128v32h64V64h128v32h64V64h63.9l.1.1V160zM192 270.6S171.9 288 142 288v-32c29.9 0 58-32 58-32h24v192h-32V270.6zM384 416H256v-14.2c0-9.7 1.6-18.4 4.8-26 3.3-7.7 7.3-14.6 12.2-20.7 4.8-6.1 10.2-11.5 15.9-16.2 5.7-4.7 11.3-8.9 16.4-12.7 5.5-3.9 10.3-7.7 14.4-11.3 4.2-3.6 7.6-7.2 10.4-10.7 2.8-3.5 4.9-7.1 6.3-10.8 1.4-3.6 2.1-7.5 2.1-11.7 0-8.1-2.3-14.1-6.8-18.4-4.5-4.1-11.5-6.2-20.7-6.2-16 0-31.5 6.4-46.1 19.4v-37.1c16.5-10.6 35-16.1 55.5-16.1 9.6 0 18.2 1.3 25.7 3.8 7.6 2.5 14.1 6.1 19.3 10.7s9.3 10.3 12.1 17c2.7 6.6 4.1 14.1 4.1 22.3 0 8.7-1.4 16.6-4 23.3-2.7 6.8-6.3 12.9-10.6 18.5-4.5 5.6-9.5 10.6-15.3 15.2-5.8 4.6-11.8 9.1-18 13.4-4.2 3-8.3 5.9-12.2 8.9-3.9 2.9-7.4 5.8-10.4 8.7-3 2.9-5.3 5.7-7.1 8.4-1.9 2.7-2.7 7.8-2.7 10.3H384V416z" />',viewBox:"0 0 512 512"},Oa={name:"group-box",content:'<path d="M144 81.6c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H160v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zM316 115.7c-2.7-9.3-6.6-17.2-11.8-23.8-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V32H192v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-30.9zm-32.6 73.6c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM450 110c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6-3.3-5.8-7.6-10.5-12.7-14.2-5.2-3.9-11.2-6.8-18-8.8-6.9-2-14.2-3-22.2-3-10.3 0-19.5 1.6-28 4.9-8.5 3.3-15.7 8.1-21.8 14.4-6 6.3-10.7 14.1-14 23.3-3.3 9.2-4.9 19.7-4.9 31.5 0 11.9 1.6 22.5 4.9 31.7 3.1 9.2 7.8 17 13.9 23.2 6 6.3 13.3 11.1 21.8 14.4 8.3 3.3 17.9 5 28.2 5 8 0 15.3-1 22.2-3 6.8-2 12.8-4.9 18-8.8 5.1-3.9 9.4-8.8 12.7-14.4 3.3-5.6 5.5-12.1 6.4-19.6h-27c-.3 4.2-1.2 7.9-3 11.2-1.8 3.2-4.2 5.9-7 8.1-3 2.2-6.3 3.9-10.1 4.9-3.9 1.2-7.9 1.7-12.2 1.7-6.3 0-11.9-1.2-17-3.5-5.2-2.3-9.7-5.8-13.4-10.4-3.7-4.5-6.6-10.2-8.5-17-2.1-6.8-3.1-14.7-3.1-23.6 0-9.1 1-17.1 3.1-23.9 2.1-6.9 5.1-12.5 8.8-17.1 3.7-4.5 8-7.8 13.3-10.1 5.1-2.3 10.7-3.5 16.8-3.5 4.3 0 8.3.6 12.2 1.7 3.9 1.2 7.2 2.7 10.1 4.9 2.8 2.4 5.2 5.1 6.9 8.4zM128 256h256v32H128v-32zm0 64h256v32H128v-32zm0 64h256v32H128v-32zm256 32H128v-32h256v32zm0-128H128v-32h256v32zm0 64H128v-32h256v32zm32-96h32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V256h32v192h320V256z" />',viewBox:"0 0 512 512"},Ra={name:"textarea",content:'<path d="M448 448h-32V256h32v192zM194 334c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6-3.3-5.8-7.6-10.5-12.7-14.2-5.2-3.9-11.2-6.8-18-8.8-6.9-2-14.2-3-22.2-3-10.3 0-19.5 1.6-28 4.9-8.5 3.3-15.7 8.1-21.8 14.4-6 6.3-10.7 14.1-14 23.3-3.3 9.2-4.9 19.7-4.9 31.5 0 11.9 1.6 22.5 4.9 31.7 3.1 9.2 7.8 17 13.9 23.2 6 6.3 13.3 11.1 21.8 14.4 8.3 3.3 17.9 5 28.2 5 8 0 15.3-1 22.2-3 6.8-2 12.8-4.9 18-8.8 5.1-3.9 9.4-8.8 12.7-14.4 3.3-5.6 5.5-12.1 6.4-19.6h-27c-.3 4.2-1.2 7.9-3 11.2-1.8 3.2-4.2 5.9-7 8.1-3 2.2-6.3 3.9-10.1 4.9-3.9 1.2-7.9 1.7-12.2 1.7-6.3 0-11.9-1.2-17-3.5-5.2-2.3-9.7-5.8-13.4-10.4-3.7-4.5-6.6-10.2-8.5-17-2.1-6.8-3.1-14.7-3.1-23.6 0-9.1 1-17.1 3.1-23.9 2.1-6.9 5.1-12.5 8.8-17.1 3.7-4.5 8-7.8 13.3-10.1 5.1-2.3 10.7-3.5 16.8-3.5 4.3 0 8.3.6 12.2 1.7 3.9 1.2 7.2 2.7 10.1 4.9 2.8 2.4 5.2 5.1 6.9 8.4zm14-252.4c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H224v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zM380 115.7c-2.7-9.3-6.6-17.2-11.8-23.8-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V32H256v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-30.9zm-32.6 73.6c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM256 370.6c0 11.8 1.6 22.5 4.6 32.1 3.2 9.5 7.5 17.6 13 24.4 5.6 6.6 12.1 11.8 19.7 15.5 7.5 3.6 15.7 5.4 24.5 5.4 15.7 0 29.1-5 40-14.8V448H384V256h-26.2v60.1c-11.5-13.6-25.3-20.5-41.7-20.5-9.5 0-18 1.7-25.5 5.2-7.3 3.6-13.7 8.6-18.7 15-5.2 6.6-9.1 14.5-11.8 23.8-2.8 9.2-4.1 19.5-4.1 31zm26.8 0c0-18.1 3.2-31.8 9.3-41 6.2-9.3 14.8-13.9 26.2-13.9 14.4 0 27.5 8.3 39.4 24.9v69.1c-11.1 11.9-23.9 17.8-38.4 17.8-11.2 0-20.2-4.7-26.8-14.2-6.4-9.4-9.7-23.8-9.7-42.7z" />',viewBox:"0 0 512 512"},Ha={name:"textbox",content:'<path d="M208 209.6c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H224v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zm170.3-89.9c-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V160H256v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-31-2.8-9.3-6.7-17.1-11.8-23.7zm-20.8 97.4c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM448 64v384h-32V64h32z" />',viewBox:"0 0 512 512"},Fa={name:"textbox-hidden",content:'<path d="M0 160h32v64H0v-64zm0-32h32V64H0v64zm0 288h32v-64H0v64zm160 96h64v-32h-64v32zm-96 0h64v-32H64v32zM352 0h-64v32h64V0zm-96 0h-64v32h64V0zM0 512h32v-64H0v64zM448 0h-64v32h64V0zM160 0H96v32h64V0zM64 0H0v32h64V0zM0 320h32v-64H0v64zm480 128h32v-64h-32v64zm0-96h32v-64h-32v64zm0-96h32v-64h-32v64zm0-96h32V96h-32v64zm0-160v64h32V0h-32zm-32 512h64v-32h-64v32zm-192 0h64v-32h-64v32zm96 0h64v-32h-64v32zm-6-165.4c-7.4 3.6-15.6 5.4-24.3 5.4-15.6 0-28.9-5-39.7-14.8V352h-26V160h26v60.1c11.4-13.6 25.1-20.5 41.4-20.5 9.4 0 17.9 1.7 25.3 5.2 7.2 3.6 13.6 8.6 18.6 15 5.2 6.6 9 14.5 11.7 23.8 2.7 9.2 4 19.5 4 31 0 11.8-1.6 22.5-4.6 32.1-3.2 9.5-7.4 17.6-12.9 24.4-5.5 6.6-12 11.7-19.5 15.5zm10.9-72c0-18.1-3.2-31.8-9.3-41-6.2-9.3-14.8-13.9-26.2-13.9-14.4 0-27.5 8.3-39.4 24.9v69.1c11.1 11.9 23.9 17.8 38.4 17.8 11.2 0 20.2-4.7 26.8-14.2 6.4-9.4 9.7-23.8 9.7-42.7zM224 253.5V351h-26v-17.6S167.1 352 146.2 352c-7.3 0-13.9-1-20-3.2-6.2-2-11.6-4.9-16-8.7-4.5-3.8-8-8.1-10.4-13.4-2.5-5.2-3.8-10.8-3.8-17.2 0-34.2 29.8-51.4 89.1-51.5h12.8c0-5.2 0-9.9-.1-13.5-.3-3.8-.7-6.8-1.4-9.4-.7-2.6-1.7-4.8-3.2-6.6-1.6-1.7-3.6-3.5-6.2-5.1-5.2-3.2-13.4-4.8-24.4-4.8-23.2 0-35.3 8.2-36 24.4h-26.1c1.9-29.6 23.1-44.6 63.6-44.6 18.9 0 33.5 3.6 44.1 11.1 10.4 7.4 15.8 22 15.8 44zM198 277h-18c-38 0-56.9 10.3-56.9 30.9 0 7.4 2.8 13.1 8.3 17.2 5.5 3.9 12.9 5.9 22.5 5.9 4.2 0 8.6-.4 12.8-1.4s8.3-2.5 12.2-4.3c3.9-1.9 7.5-4.2 10.7-6.8 3.3-2.7 6.1-5.6 8.4-9V277zM448 64h-32v384h32V64z" />',viewBox:"0 0 512 512"},Da={name:"password",content:'<path d="M480 64v384h-32V64h32zM174.2 221.1l-11.3-11.3-34.9 34.9V192H96v52.7l-34.9-34.9-11.3 11.3L84.7 256H32v32h52.7l-34.9 34.9 11.3 11.3L96 299.3V352h32v-52.7l34.9 34.9 11.3-11.3-34.9-34.9H192v-32h-52.7l34.9-34.9zm224 0-11.3-11.3-34.9 34.9V192h-32v52.7l-34.9-34.9-11.3 11.3 34.9 34.9H256v32h52.7l-34.9 34.9 11.3 11.3 34.9-34.9V352h32v-52.7l34.9 34.9 11.3-11.3-34.9-34.9H416v-32h-52.7l34.9-34.9z" />',viewBox:"0 0 512 512"},Aa={name:"paragraph-add",content:'<path d="M320 96h-64v352h-32V96h-64v352h-32V256c-53 0-96-43-96-96s43-96 96-96h192v32zm96 256v-64h-32v64h-64v32h64v64h32v-64h64v-32h-64z" />',viewBox:"0 0 512 512"},Va={name:"edit-tools",content:'<path d="m260.6 288 11.5 31.5 56.2-56.6L244.2 32H139.8L0 416h76.8l28-76.8 18.6-51.2h137.2zm-17.5-48H140.9L192 99.5 243.1 240zM224 413.3V480h66.7l169.7-168.5-67.9-67.9L224 413.3zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6-135.8 135.8zm223.4-178-22.6 22.6-67.9-67.9 22.5-22.7c12.5-12.4 32.9-12.4 45.3 0l22.7 22.7c12.4 12.4 12.4 32.8 0 45.3z" />',viewBox:"0 0 512 512"},Ba={name:"template-manager",content:'<path d="M377.2 292.1c-5.5 5.3-7.2 6.4-7.4 6.6-.2.1-.4.2-.9.2-.1-.2-.3-.7-.5-1.7s-.5-4.2-.5-15.1v-31.7c0-9.9-.7-16.2-2.3-19.7-2.4-5.4-6.1-9.4-11.2-12-6.2-3.1-14-4.7-23.3-4.7-12.3 0-22.1 2.8-29 8.4-7.2 5.7-10.9 12.3-10.9 19.4 0 4.1 1.2 7.5 3.6 10 2.5 2.7 5.7 4 9.6 4 3.9 0 7.2-1.3 9.6-3.8 2.4-2.4 3.6-5.9 3.6-10.2l-.2-5.8c0-1.9.9-3.5 2.7-5.1 1.8-1.6 4.4-2.4 7.9-2.4 4.7 0 8.1 1.3 10.4 3.9 1.7 1.9 3.6 6.3 3.6 16.8v.9c-15.6 5.6-26.5 10.2-33.4 14.1-7.8 4.4-13.1 9.1-16.3 14.3-2.5 3.9-3.7 8.5-3.7 13.8 0 8.2 2.5 14.9 7.5 20 5 5.2 11.6 7.8 19.4 7.8 4.9 0 9.5-1 13.8-2.9 2.2-1 6.6-3.9 13.5-8.9.7 2.9 1.9 5.2 3.5 6.9 2.8 3.1 6.6 4.7 11.2 4.7 8.5 0 17.1-5.6 25.7-16.8l.8-1v-16.3l-6.8 6.3zm-35.2-.2c-8.9 6.7-14.1 8.1-16.9 8.1h-.1c-2.8 0-5.1-1.1-7.4-3.6-2.3-2.4-3.5-5.6-3.5-9.5 0-3 .9-5.8 2.8-8.4 2.1-2.8 5.7-5.6 10.6-8.2 2.4-1.3 7.2-3.4 14.4-6.2l.1 27.8zm-97.9 12.2c-1.3-1.4-4-5.6-7.9-17.9L195.6 160h-7.7l-41 124.9c-4.1 12.7-7 17.9-8.8 20.1-.3.4-1.8 1.8-7.4 3.1l-2.8.6V320h43v-11.7l-3.2-.3c-6.6-.6-8.3-2-8.6-2.3-.9-.9-1.3-1.9-1.3-3 0-1.6.5-4.8 2.6-11.5l5.3-16.2h42.1l4.6 14c2.6 8.1 3.1 12 3.1 13.8 0 1.3-.4 2.2-1.3 3.2-.3.4-1.9 1.6-7 1.9l-3.3.2V320h52v-11.8l-3.2-.3c-3.8-.3-6.6-1.5-8.6-3.8zM172.5 254l14.7-44.6 14.4 44.6h-29.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-224-32h-64v-64h64v64zm96 0h-64v-64h64v64zm96 0h-64v-64h64v64z" />',viewBox:"0 0 512 512"},Na={name:"change-manually",content:'<path d="m416 353 32-32v159H32V32h416v64h-32V64H64v384h352v-95zm-192-3.7V416h66.7l169.7-168.5-67.9-67.9L224 349.3zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6-135.8 135.8zM502.7 160 480 137.3c-12.4-12.4-32.8-12.4-45.3 0L412.2 160l67.9 67.9 22.6-22.6c12.4-12.5 12.4-32.9 0-45.3zM191.9 416H167v-22h-.6c-7.9 14.6-19.4 22-34.6 22-11.2 0-20-3.3-26.3-9.8S96 391 96 380.3c0-23.1 12.4-36.5 37.2-40.4l33.9-5.1c0-17.4-7.7-26.1-23.2-26.1-13.6 0-25.8 5-36.8 15v-24.2c12-7.6 25.9-11.5 41.7-11.5 28.8 0 43.3 15.2 43.3 45.6V416h-.2zM167 353.1l-23.9 3.6c-7.4 1-13 3-16.8 5.8s-5.6 7.8-5.6 14.9c0 5.2 1.7 9.4 5.2 12.7 3.5 3.3 8.1 5 13.9 5 7.9 0 14.4-3 19.5-8.9 5.2-5.9 7.7-13.4 7.7-22.4v-10.7z" />',viewBox:"0 0 512 512"},La={name:"track-changes",content:'<path d="m412.2 256 22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3L480 323.8 412.2 256zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6-67.9-67.9zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM288 160H160v32h128v-32zm64 64H160v32h192v-32zm-64 64H160v32h128v-32zm-64 64h-64v32h64v-32zm188.2-96 22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3L480 323.8 412.2 256zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6-67.9-67.9zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM96 416V64h224v96h96v32h32v-64l-96-96H96c-17.7 0-32 14.3-32 32v352c0 17.7 14.3 32 32 32h96v-32H96zM0 512h192v-32H0v32z" />',viewBox:"0 0 512 512"},Pa={name:"track-changes-enable",content:'<path d="M502.7 173.3 480 195.8 412.2 128l22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3zm-110.2-25.7 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3 135.8-135.8zM160 320h32v-32h-32v32zm0-64h96v-32h-96v32zm128-96H160v32h128v-32zM160 384h32v-32h-32v32zm256 64H96V64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32V448z" />',viewBox:"0 0 512 512"},Ta={name:"track-changes-accept",content:'<path d="M128 128H96V64c0-17.7 14.3-32 32-32h224l64 64h-96V64H128v64zm122.9 193.2L224 349.3V416h66.7l28.1-26.9 141.6-141.6-67.9-67.9-141.6 141.6zm28.4 62.1L268 372l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM416 337.155l32-32V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288V337.155zM502.7 205.3 480 227.8 412.2 160l22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3zM288 144 112 320 0 208l45-45 67 67L243 99l45 45zm-96 272h-32v-32h32v32z" />',viewBox:"0 0 512 512"},ja={name:"track-changes-accept-all",content:'<path d="M128 160H96V96c0-17.7 14.3-32 32-32h224l64 64h-96V96H128v64zm264.5 51.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3 135.8-135.8zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32V480zm86.7-288-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 192l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM160 448h32v-32h-32v32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32V32zm0 352H32v32c0 17.7 14.3 32 32 32v-64zm179-253L112 262l-67-67-45 45 112 112 176-176-45-45z" />',viewBox:"0 0 512 512"},Ua={name:"track-changes-reject",content:'<path d="M102.627 272 160 329.373 137.373 352 80 294.627 22.627 352 0 329.373 57.373 272 0 214.627 22.627 192 80 249.373 137.373 192 160 214.627 102.627 272zM192 384v-32h-32v32h32zm310.7-256-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 128l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM96 64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v96h32V64zm296.5 83.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3 135.8-135.8zM416 448H96v-64H64v64c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32V448z" />',viewBox:"0 0 512 512"},Wa={name:"track-changes-reject-all",content:'<path d="M102.627 272 160 329.373 137.373 352 80 294.627 22.627 352 0 329.373 57.373 272 0 214.627 22.627 192 80 249.373 137.373 192 160 214.627 102.627 272zM128 96h192v32h96l-64-64H128c-17.7 0-32 14.3-32 32v64h32V96zm264.5 115.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3 135.8-135.8zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32V480zm86.7-288-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 192l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM160 448h32v-32h-32v32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32V32zm0 352H32v32c0 17.7 14.3 32 32 32v-64z" />',viewBox:"0 0 512 512"},Ka={name:"document-manager",content:'<path d="M64 416h224v32H64v-32zm224-64H64v32h224v-32zM400 0C288 0 288 96 288 96v160s0 64 80 64 80-64 80-64V96s0-32-48-32-48 32-48 32v128h32V116c0-11 .6-20 16-20s16 9 16 20v140s0 32-48 32-48-32-48-32V96s0-64 80-64 80 64 80 64v128h32V96s0-96-112-96zM106.7 288 96 320H64l64-192h32l64 192h-32l-10.7-32h-74.6zm10.6-32h53.3L144 176l-26.7 80zM320 480H32V96h224V64H32C14.3 64 0 78.3 0 96v384c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V352h-32v128z" />',viewBox:"0 0 512 512"},qa={name:"custom-icon",content:'<path d="M352 249H196.6c.6 23.8 7.2 42.2 19.8 55.2s30 18.8 52 19.4c4.9.1-1.1 28.8-12.4 28.8-30.9 0-51.6-9.7-69.3-29.1-17.8-19.4-26.7-46.8-26.7-82 0-33.3 9.7-60.4 29.1-81.4s43.5-31.4 72.4-31.4c28.8 0 51.1 9.1 66.9 27.2S352 199 352 231.1V249zm-36-29.9c-.1-19.8-5.1-35.2-14.7-46.2-9.7-11-23.1-16.5-40.3-16.5-16.6 0-30.7 5.8-42.4 17.3-11.6 11.6-18.8 26.7-21.5 45.3l118.9.1zM448 384V64c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h256l96-96zm-32-32h-96v96H96V64h320v288z" />',viewBox:"0 0 512 512"},Ga={name:"book",content:'<path d="M448 480V96h-32v352H128c-17.6 0-32-14.4-32-32s14.4-32 32-32h256V32H128c-35.2 0-64 28.8-64 64v320c0 23.6 12.9 44.2 32 55.3 9.4 5.5 20.4 8.7 32 8.7h320zM128 64h224v288H128V64zm192 64H160V96h160v32zm0 128H160v-32h160v32zm-32-64H160v-32h128v32z" />',viewBox:"0 0 512 512"},$a={name:"image-add",content:'<path d="M272 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm80 112-16 16-64 64-128-128L32 336V96.1l.1-.1h383.8l.1.1-.1 191.9H448V96c0-17.6-14.4-32-32-32H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h256v-64h64V272zm128 144h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-32z" />',viewBox:"0 0 512 512"},Ya={name:"image-edit",content:'<path d="M304 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm-32.6 159.4L176 224 64 336V96.1l.1-.1h383.8l.1.1V160h32V96c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h128v-47.5l79.4-81.1zm189-7.9L290.7 480H224v-66.7l168.5-169.7 67.9 67.9zm-45.3 0-22.6-22.6-135.8 135.8 22.6 22.6 135.8-135.8zm64.9 25.6zM447.9 448c17.7 0 32.1-14.4 32.1-32v-78.9L369.1 448h78.8zm54.8-224L480 201.3c-12.4-12.4-32.8-12.4-45.3 0L412.2 224l67.9 67.9 22.6-22.6c12.4-12.5 12.4-32.9 0-45.3z" />',viewBox:"0 0 512 512"},Za={name:"image-map-editor",content:'<path d="M448 64H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zM96 384H64v-32h32v32zm96 0h-64v-32h64v32zm96 0h-64v-32h64v32zm96 0h-64v-32h64v32zm64 0h-32v-32h32v32zm-.1-48-64-64-80 80L176 224 64 336V192h32v-32H64V96.1l.1-.1H128v32h32V96h287.9l.1.1-.1 239.9zM352 208c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm-224-48h32v32h-32v-32z" />',viewBox:"0 0 512 512"},Xa={name:"comment",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v416l96-96h320c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 319.942a.53.53 0 0 1-.058.058H114.745L64 402.745V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057v287.885z" />',viewBox:"0 0 512 512"},Ja={name:"comment-remove",content:'<path d="M114.745 352 64 402.745V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057V256h32V64c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v416l96-96h128v-32H114.745zM480 342.627 457.373 320 400 377.373 342.627 320 320 342.627 377.373 400 320 457.373 342.627 480 400 422.627 457.373 480 480 457.373 422.627 400 480 342.627z" />',viewBox:"0 0 512 512"},Qa={name:"comments-remove",content:'<path d="M480 64c0-17.6-14.4-32-32-32H160c-17.6 0-32 14.4-32 32v32h32V64.1l.1-.1H448l.1.1V256l-.1.1h32V64zM377.4 400l22.6 22.6-57.4 57.4-22.6-22.6 57.4-57.4zm0 0L320 342.6l22.6-22.6 57.4 57.4-22.6 22.6zm45.2 0 57.4 57.4-22.6 22.6-57.4-57.4-22.6-22.6 22.6-22.6 57.4-57.4 22.6 22.6-57.4 57.4zm-304.3-16L64 420.2V160.1l.1-.1H352l.1.1V256h32v-96c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v320l96-64h128v-32H118.3z" />',viewBox:"0 0 512 512"},es={name:"silverlight",content:'<path d="M256 0 0 256l256 256 256-256L256 0zm-75.9 324c-21.6 0-40.5-6.3-52.1-13.7v-33.2c14.5 10.8 32.9 17.9 51.4 17.9 16.3 0 28.6-5 28.6-17.6 0-10.6-6.8-14.5-18.9-18.9l-23.6-7.9c-23.9-7.9-39.7-20.3-39.7-47 0-29.9 25.7-46.2 57.3-46.2 19.7 0 35.8 4.7 48.8 12.6v32.9c-13.9-10.2-29.1-16.8-47.8-16.8-14.5 0-25.5 4.9-25.5 16 0 9.9 6.5 13.9 17.9 17.6l25.2 8.6c27.1 9.2 39.4 23.9 39.4 47.8.2 31.9-26.8 47.9-61 47.9zm95.9-4V160h32v128h76v32H276z" />',viewBox:"0 0 512 512"},ts={name:"media-manager",content:'<path d="M192 384V128l192 128-192 128zm32-319.3V0C108.2 14.4 14.4 108.2 0 224h64.7c13.5-80.3 79-145.8 159.3-159.3zm64 382.6V512c115.8-14.4 209.6-108.2 224-224h-64.7c-13.5 80.3-79 145.8-159.3 159.3zM64.7 288H0c14.4 115.8 108.2 209.6 224 224v-64.7c-80.3-13.5-145.8-79-159.3-159.3zm382.6-64H512C497.6 108.2 403.8 14.4 288 0v64.7c80.3 13.5 145.8 79 159.3 159.3z" />',viewBox:"0 0 512 512"},ns={name:"video-external",content:'<path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm-64 384V128l192 128-192 128z" />',viewBox:"0 0 512 512"},rs={name:"flash-manager",content:'<path d="M255.9 0C114.6 0 0 114.6 0 256.1 0 397.4 114.6 512 255.9 512 397.4 512 512 397.4 512 256.1 512 114.6 397.4 0 255.9 0zM384 160c-30.1.3-48.4-4.6-81.2 64H352v64h-64s-53.5 129.4-160 128c-.8-14.2 0-43.9 0-64 70.5-10.7 93.6-88.3 109.9-126.9C286.3 74.5 384 95.1 384 95.1V160z" />',viewBox:"0 0 512 512"},os={name:"binoculars",content:'<path d="M480 288v96c0 17.7-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32v-64H192v64c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32v-96c0-17.7 14.3-32 32-32v-64c0-17.7 14.3-32 32-32v-32c0-17.7 14.3-32 32-32h64s32 0 32 32v128h64V128c0-32 32-32 32-32h64c17.7 0 32 14.3 32 32v32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32zM208 64h16V32h-96v32h80zm160 0h16V32h-96v32h80zM48 448H32v32h160v-32H48zm272 32h160v-32H320v32z" />',viewBox:"0 0 512 512"},is={name:"copy",content:'<path d="M384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zM64 384h64v32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h192l32 32H64v320z" />',viewBox:"0 0 512 512"},as={name:"cut",content:'<path d="M480 32h-45.3L256 210.7 210.7 256l-69.5 69.5c-9.1-3.6-18.9-5.5-29.2-5.5-44.2 0-80 35.8-80 80 0 10.3 2 20.2 5.5 29.2 8.1 20.7 24.6 37.1 45.3 45.3 9.1 3.6 18.9 5.5 29.2 5.5 44.2 0 80-35.8 80-80 0-10.3-2-20.2-5.5-29.2l69.5-69.5 69.5 69.5c-3.6 9.1-5.5 18.9-5.5 29.2 0 44.2 35.8 80 80 80 10.3 0 20.2-2 29.2-5.5 20.7-8.1 37.1-24.6 45.3-45.3 3.6-9.1 5.5-18.9 5.5-29.2 0-44.2-35.8-80-80-80-10.3 0-20.2 2-29.2 5.5L301.3 256 480 77.3V32zM160 400c0 26.5-21.5 48-48 48-.9 0-1.8 0-2.7-.1-24.4-1.3-43.9-20.9-45.3-45.3 0-.9-.1-1.8-.1-2.7 0-26.5 21.5-48 48-48 .9 0 1.8 0 2.7.1 24.4 1.3 43.9 20.9 45.3 45.3.1.9.1 1.8.1 2.7zm237.3-47.9c.9 0 1.8-.1 2.7-.1 26.5 0 48 21.5 48 48 0 .9 0 1.8-.1 2.7-1.3 24.4-20.9 43.9-45.3 45.3-.9 0-1.8.1-2.7.1-26.5 0-48-21.5-48-48 0-.9 0-1.8.1-2.7 1.4-24.5 20.9-44 45.3-45.3zM240 256c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16-16-7.2-16-16zm-74.5-45.3L32 77.3V32h45.3l133.5 133.5-45.3 45.2z" />',viewBox:"0 0 512 512"},ss={name:"clipboard",content:'<path d="M416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},ls={name:"clipboard-code",content:'<path d="M214.6 361.4 192 384l-80-80 80-80 22.6 22.6-57.3 57.4 57.3 57.4zM448 64v384c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h104.6C211.7 12.9 232.3 0 256 0s44.3 12.9 55.4 32H416c17.7 0 32 14.3 32 32zm-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32zm192 0h-64v64H160V64H96v384h320V64zM297.4 246.6l57.4 57.4-57.4 57.4L320 384l80-80-80-80-22.6 22.6z" />',viewBox:"0 0 512 512"},cs={name:"clipboard-word",content:'<path d="m128 160 48.5 192h46.7L256 238.4 285.3 352h43.1L384 160h-73v35h19.3l-22.2 86-28.8-121h-45.4l-33.1 119.3-25-119.3H128zM416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384zm-32-32H128v-32h256v32z" />',viewBox:"0 0 512 512"},us={name:"clipboard-word-alt",content:'<path d="m128 160 48.5 192h46.7L256 238.4 285.3 352h43.1L384 160h-73v35h19.3l-22.2 86-28.8-121h-45.4l-33.1 119.3-25-119.3H128zM416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},hs={name:"clipboard-html",content:'<path d="M214.6 361.4 192 384l-80-80 80-80 22.6 22.6-57.3 57.4 57.3 57.4zM448 64v384c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h104.6C211.7 12.9 232.3 0 256 0s44.3 12.9 55.4 32H416c17.7 0 32 14.3 32 32zm-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32zm192 0h-64v64H160V64H96v384h320V64zM271.2 183.9 209.8 416l30.9 8.3L302.2 192l-31-8.1zm26.2 62.7 57.4 57.4-57.4 57.4L320 384l80-80-80-80-22.6 22.6z" />',viewBox:"0 0 512 512"},ds={name:"clipboard-markdown",content:'<path d="M226 224h30v128h-32v-72.8l-32.2 45.6L160 279v73h-32V224h32l31.8 46.2L226 224zm126 64h32l-48 64-48-64h32l.2-64H352v64zm64-256H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},ps={name:"clipboard-text",content:'<path d="M416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384zm-32-224H128v-32h256v32zm0 64H128v-32h256v32zm0 64H128v-32h256v32zm0 64H128v-32h256v32z" />',viewBox:"0 0 512 512"},fs={name:"apply-format",content:'<path d="M380.984 313.69c12.445 12.445 12.445 32.81 0 45.255L266.529 470.658c-12.445 12.445-32.787 12.467-45.255 0L0 248.898c18.584 18.584 40.255-4.835 40.255-4.835L154.71 132.671c12.445-12.445 32.81-12.445 45.255 0L380.984 313.69zm89.682-227.101-45.255-45.255c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882-22.627-22.627c-12.445-12.445-32.81-12.445-45.255 0l-22.627 22.627 181.019 181.019 22.627-22.627c12.445-12.445 12.445-32.81 0-45.255l-22.627-22.627 67.882-67.882c12.445-12.446 12.445-32.81 0-45.255z" />',viewBox:"0 0 512 512"},ms={name:"clear-css",content:'<path d="M402.784 290.235 221.765 109.216l22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627 67.882-67.882c12.445-12.445 32.81-12.445 45.255 0l45.255 45.255c12.445 12.445 12.445 32.81 0 45.255l-67.882 67.882 22.627 22.627c12.445 12.445 12.445 32.81 0 45.255l-22.627 22.627zm-21.8 23.455-181.02-181.019c-12.346-12.346-32.483-12.437-44.953-.287L54.627 32 32 54.627l100.074 100.074-91.819 89.362S18.585 267.482 0 248.898l221.274 221.76c12.467 12.467 32.81 12.445 45.255 0l91.851-89.651L457.373 480 480 457.373l-98.73-98.73c12.151-12.47 12.06-32.607-.286-44.953z" />',viewBox:"0 0 512 512"},vs={name:"copy-format",content:'<path d="M96 480h160v32H64v-64H0V288h32v128h32v-64h32v128zm32-32h96v-32h-96v32zm0-96v32h32v-32h-32zm284.2-92.6L253.8 101c-12.4-12.4-32.9-12.4-45.3.1l-69.8 69.8-.2.2c-11.6 11.6-30 12.7-42.5 2.7l200.9 200.9c12.5 12.5 32.8 12.4 45.3 0l69.9-69.9c12.5-12.5 12.5-33 .1-45.4zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2z" />',viewBox:"0 0 512 512"},gs={name:"strip-all-formatting",content:'<path d="M32 480h224v32H0v.1V256h32v224zm32-32h159v-32H64v32zm97-96H63v32h98v-32zm-65-64H64v32h32v-32zm316.2-28.6L253.8 101c-12.4-12.4-32.9-12.4-45.3.1l-69.8 69.8-.2.2c-11.6 11.6-30 12.7-42.5 2.7l200.9 200.9c12.5 12.5 32.8 12.4 45.3 0l69.9-69.9c12.5-12.5 12.5-33 .1-45.4zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2z" />',viewBox:"0 0 512 512"},bs={name:"strip-css-format",content:'<path d="M0 288v224h416V288H0zm145 65.9c-10-6.2-21-9.3-33.4-9.3-13.6 0-24.5 4.6-32.9 13.7-8.3 9.1-12.5 21.5-12.5 37.1 0 15 3.9 26.9 11.8 35.8s18.4 13.3 31.7 13.3c12.7 0 24.3-3.3 34.3-9.9v31.8c-9.9 5.5-23.7 8.2-40.7 8.2-22.2 0-39.6-7-52.3-20.9-12.7-14-19-32.5-19-55.8 0-24.7 7.1-44.8 21.4-60.2 14.3-15.4 32.8-23.1 55.6-23.1 14.1 0 26 1.9 36 5.7v33.6zM260.6 450c-3.1 5.9-7.2 10.6-12.4 14.2-5.2 3.6-11.3 6.2-18.2 7.8-7 1.6-14.3 2.4-21.9 2.4-7.9 0-15.4-.7-22.5-2.2-7.2-1.4-13.4-3.6-18.5-6.5v-34.4c5.8 5.3 12.2 9.2 18.9 11.8 6.9 2.6 13.8 3.9 20.7 3.9 4.1 0 7.7-.4 10.7-1.2 3.1-.8 5.6-1.9 7.7-3.3 2-1.4 3.6-3.1 4.6-5 1-1.9 1.5-4 1.5-6.2 0-3-.8-5.7-2.4-8.1-1.6-2.4-3.8-4.6-6.6-6.6s-6.1-4-9.9-5.8c-3.8-1.9-8-3.8-12.4-5.7-11.3-5-19.6-11.2-25.1-18.4-5.5-7.3-8.3-15.9-8.3-26.2 0-8.1 1.5-15 4.5-20.7s7.1-10.6 12.3-14.3c5.2-3.7 11.2-6.5 18-8.3 6.9-1.8 14.1-2.6 21.7-2.6 7.5 0 14.2.5 19.9 1.5 5.8 1 11.2 2.5 16 4.5v32.2c-2.4-1.8-5.1-3.4-7.9-4.7-2.9-1.4-5.8-2.5-8.8-3.4s-6-1.6-9-2c-3-.4-5.8-.6-8.5-.6-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2-2.1 1.4-3.7 3-4.8 4.9-1.1 1.9-1.7 4-1.7 6.4 0 2.6.6 4.9 1.9 7 1.3 2.1 3.1 4 5.4 5.8 2.3 1.8 5.2 3.6 8.6 5.4s7.2 3.6 11.4 5.5c5.8 2.6 11 5.3 15.5 8.3 4.6 2.9 8.6 6.2 11.8 9.9 3.3 3.7 5.8 7.9 7.6 12.6 1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.6 15.7-4.6 21.5zm119 0c-3.1 5.9-7.2 10.6-12.4 14.2-5.2 3.6-11.3 6.2-18.2 7.8-7 1.6-14.3 2.4-21.9 2.4-7.9 0-15.4-.7-22.5-2.2-7.2-1.4-13.4-3.6-18.5-6.5v-34.4c5.8 5.3 12.2 9.2 18.9 11.8 6.9 2.6 13.8 3.9 20.7 3.9 4.1 0 7.7-.4 10.7-1.2 3.1-.8 5.6-1.9 7.7-3.3 2-1.4 3.6-3.1 4.6-5 1-1.9 1.5-4 1.5-6.2 0-3-.8-5.7-2.4-8.1-1.6-2.4-3.8-4.6-6.6-6.6s-6.1-4-9.9-5.8c-3.8-1.9-8-3.8-12.4-5.7-11.3-5-19.6-11.2-25.1-18.4-5.5-7.3-8.3-15.9-8.3-26.2 0-8.1 1.5-15 4.5-20.7 3-5.8 7.1-10.6 12.3-14.3 5.2-3.7 11.2-6.5 18-8.3 6.9-1.8 14.1-2.6 21.7-2.6 7.5 0 14.2.5 19.9 1.5 5.8 1 11.2 2.5 16 4.5v32.2c-2.4-1.8-5.1-3.4-7.9-4.7-2.9-1.4-5.8-2.5-8.8-3.4-3-.9-6-1.6-9-2-3-.4-5.8-.6-8.5-.6-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2-2.1 1.4-3.7 3-4.8 4.9-1.1 1.9-1.7 4-1.7 6.4 0 2.6.6 4.9 1.9 7 1.3 2.1 3.1 4 5.4 5.8 2.4 1.8 5.2 3.6 8.6 5.4 3.4 1.8 7.2 3.6 11.4 5.5 5.8 2.6 11 5.3 15.5 8.3 4.6 2.9 8.5 6.2 11.8 9.9 3.3 3.7 5.8 7.9 7.6 12.6 1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.5 15.7-4.6 21.5zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2zm-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9L255.8 101.9z" />',viewBox:"0 0 512 512"},ys={name:"strip-font-elements",content:'<path d="M502.666 31.961 480.039 9.334c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882-22.627-22.627c-12.445-12.445-32.81-12.445-45.255 0l-22.627 22.627 158.392 158.392 22.627-22.627c12.445-12.445 12.445-32.81 0-45.255l-22.627-22.627 67.882-67.882c12.444-12.446 12.444-32.811-.001-45.256zm-246.848 69.936c-12.445-12.445-32.81-12.445-45.255 0l-79.706 79.706c-12.445 12.445-32.81 12.445-45.255 0L160 256h249.921L255.818 101.897zM176 348.121 200.706 416h-49.412L176 348.121zM0 288v224h352V288H0zm224 192-11.647-32h-72.706L128 480H96l58.235-160h43.53L256 480h-32z" />',viewBox:"0 0 512 512"},ws={name:"strip-span-elements",content:'<path d="M96 288 0 400l96 112h256V288H96zm170.3 167.5c-3.9 5.9-9.3 10.6-16.1 14.2-6.8 3.6-14.6 6.2-23.6 7.8-9 1.6-18.4 2.4-28.4 2.4-10.2 0-20-.7-29.2-2.2-9.2-1.4-17.2-3.6-24-6.5v-34.5c7.5 5.2 15.7 9.2 24.6 11.8 8.8 2.6 17.8 3.9 26.8 3.9 5.3 0 9.9-.4 13.9-1.2 3.9-.8 7.2-1.9 9.9-3.3 2.6-1.4 4.6-3.1 5.9-5 1.3-1.9 2-4 2-6.2 0-3-1-5.7-3.1-8.1-2.1-2.4-4.9-4.6-8.5-6.6-3.6-2-7.9-4-12.8-5.8-4.9-1.9-10.3-3.8-16-5.7-14.6-5-25.4-11.2-32.6-18.4-7.2-7.3-10.7-16-10.7-26.3 0-8.1 2-15 5.9-20.8 3.9-5.8 9.2-10.5 15.9-14.3 6.7-3.7 14.5-6.5 23.3-8.3 8.8-1.8 18.2-2.6 28.1-2.6 9.7 0 18.3.5 25.8 1.5s14.4 2.5 20.7 4.5v32.3c-3.1-1.8-6.5-3.4-10.2-4.7-3.7-1.4-7.5-2.5-11.4-3.4-3.9-.9-7.8-1.6-11.6-2-3.9-.4-7.5-.6-11-.6-4.8 0-9.1.4-13 1.1-3.9.8-7.2 1.8-9.9 3.2-2.7 1.4-4.8 3-6.2 4.9-1.5 1.9-2.2 4-2.2 6.4 0 2.6.8 4.9 2.5 7 1.6 2.1 4 4 7 5.8 3 1.8 6.7 3.6 11.1 5.4 4.3 1.8 9.2 3.6 14.7 5.4 7.5 2.6 14.2 5.3 20.1 8.3 5.9 2.9 11 6.2 15.3 9.9 4.2 3.7 7.5 7.9 9.8 12.6 2.3 4.7 3.4 10.2 3.4 16.4-.3 8.6-2.3 15.9-6.2 21.7zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2zm-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9L255.8 101.9z" />',viewBox:"0 0 512 512"},xs={name:"strip-word-formatting",content:'<path d="M0 288v224h352V288H0zm239.3 192h-37.7L176 385.4 147.4 480h-40.9L64 320h40.6l21.9 100.4L155.8 320h40.4l25.2 100.4 19.4-71.4H224v-29h64l-48.7 160zM502.7 77.2l-67.9 67.9 22.6 22.6c12.4 12.4 12.4 32.8 0 45.3l-22.6 22.6L276.4 77.2 299 54.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6 67.9-67.9c12.4-12.4 32.8-12.4 45.3 0L502.7 32c12.4 12.4 12.4 32.8 0 45.2zM409.9 256H160l-74.4-74.4c12.4 12.4 32.8 12.4 45.3 0l79.7-79.7c12.4-12.4 32.8-12.4 45.3 0l154 154.1z" />',viewBox:"0 0 512 512"},ks={name:"format-code-block",content:'<path d="M224 352v160h288V352H224zm102.6 105.4L304 480l-48-48 22.6-22.6L304 384l22.6 22.6-25.3 25.4 25.3 25.4zM432 480l-22.6-22.6 25.4-25.4-25.4-25.4L432 384l25.4 25.4L480 432l-48 48zM192 160V32c0-17.6-14.4-32-32-32h-32c-17.6 0-32 14.4-32 32v128L0 256h288l-96-96zm96 128H0v192h64V320h32v160h32V320h32v160h32V320h96v-32z" />',viewBox:"0 0 512 512"},Cs={name:"building-blocks",content:'<path d="M127.9 289V128H160V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h64V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h32v160l-256.1 1zM96 320v-48c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v48H0v128h224V320H96zm384 0v-48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H288v128h224V320h-32z" />',viewBox:"0 0 512 512"},zs={name:"puzzle-piece",content:'<path d="M480 352c0 1 0 2-.1 2.9v.8c0 .8-.1 1.7-.2 2.5v.5c-.1 1-.2 1.9-.4 2.8-.1.4-.1.9-.2 1.3s-.1.8-.2 1.2c-.1.4-.2.7-.2 1.1l-.6 2.7c-.1.4-.2.7-.3 1.1 0 .2-.1.5-.2.7-.2.5-.4 1.1-.5 1.7-.3.9-.6 1.8-.9 2.6 0 .1-.1.2-.1.3-.3.8-.6 1.6-.9 2.3-.1.2-.2.5-.3.7-.3.8-.7 1.5-1 2.3 0 .1-.1.2-.1.2-.4.8-.8 1.6-1.3 2.4l-.6 1.2c-.2.4-.4.7-.6 1.1-.2.3-.3.6-.5.8-.5.8-1 1.5-1.5 2.3l-.6.9c-.2.4-.5.7-.7 1-.2.3-.5.6-.7.9-.5.7-1.1 1.4-1.7 2.1l-.3.3-1.5 1.8c-.2.2-.3.4-.5.5-.6.7-1.2 1.3-1.9 2-.6.6-1.3 1.3-2 1.9-.4.3-.7.7-1.1 1-.3.3-.7.6-1 .9-.2.1-.3.3-.5.4-.7.6-1.4 1.1-2.1 1.7-.3.3-.7.5-1 .8-.3.2-.6.5-1 .7l-.9.6c-.8.5-1.5 1-2.3 1.5-.2.1-.5.3-.7.4-.4.2-.7.4-1.1.6-.4.2-.8.5-1.3.7-.8.4-1.6.9-2.4 1.3-.1.1-.2.1-.3.2-.3.2-.7.4-1 .5-.6.2-1.2.5-1.9.8-.8.3-1.6.6-2.3.9-.1 0-.2.1-.3.1-.9.3-1.7.6-2.6.9-.6.2-1.2.3-1.7.6-.2.1-.5.1-.7.2-.4.1-.7.2-1.1.3l-2.7.6c-.3.1-.5.1-.8.2-.5.1-1.1.2-1.7.3-.4.1-.8.1-1.2.2-.9.1-1.9.3-2.8.4-.2 0-.5 0-.7.1-.4.1-.9.1-1.3.1-.6 0-1.1.1-1.7.1-1 0-2 .1-2.9.1-1.2 0-2.3 0-3.5-.1-.4 0-.7-.1-1.1-.1-.8-.1-1.6-.1-2.3-.2-.4 0-.9-.1-1.3-.2l-2.1-.3c-.4-.1-.9-.2-1.3-.2-.7-.1-1.4-.3-2-.4-.4-.1-.9-.2-1.3-.3-.7-.2-1.4-.3-2-.5l-1.2-.3c-.7-.2-1.4-.4-2.1-.7-.4-.1-.7-.2-1.1-.4-.8-.3-1.5-.6-2.3-.9-.3-.1-.5-.2-.8-.3-1-.4-1.9-.8-2.8-1.2-.1 0-.1-.1-.2-.1-3.1-1.5-6-3.2-8.8-5.1-.1 0-.1-.1-.2-.2-.8-.6-1.7-1.2-2.5-1.8-.1-.1-.2-.2-.3-.2-.8-.6-1.6-1.2-2.3-1.9-.3-.2-.6-.5-.8-.7-.5-.4-1-.8-1.4-1.3l-.5-.5c-.8-.8-1.6-1.5-2.3-2.3l-1.5-1.5c-.3-.3-.5-.6-.7-.9-.1-.2-.2-.3-.4-.5-4.9-5.7-12-8.9-19.5-8.9h-1.4c-14.3 0-25.9 11.6-25.9 25.9v70H217.9c-14.3 0-25.9-11.6-25.9-25.9v-1.4c0-7.5 3.3-14.6 8.9-19.5 15-12.5 24.2-31.6 23-52.9-1.8-32.5-28.3-58.7-60.9-60.2-36.7-1.7-67 27.6-67 63.9 0 19.6 8.8 37.1 22.6 48.8 5.9 5 9.4 12.2 9.4 19.9v1.4c0 14.3-11.6 25.9-25.9 25.9H32V192h70.1c14.3 0 25.9-11.6 25.9-25.9v-1.4c0-7.5-3.3-14.6-8.9-19.5l-.3-.3c-.7-.5-1.4-1.1-2-1.7l-.6-.6c-.8-.8-1.6-1.5-2.3-2.3l-.2-.2c-.7-.7-1.4-1.5-2.1-2.3-.1-.1-.2-.2-.2-.3-.7-.8-1.3-1.5-1.9-2.3-.1-.1-.2-.2-.2-.3-.6-.8-1.2-1.6-1.8-2.5l-.2-.2c-1.9-2.8-3.6-5.7-5.1-8.8 0-.1-.1-.1-.1-.2-.4-.9-.9-1.9-1.2-2.8-.1-.3-.2-.5-.3-.8-.3-.8-.6-1.5-.9-2.3-.1-.3-.2-.7-.4-1.1-.2-.7-.5-1.4-.7-2.1l-.3-1.2c-.2-.7-.4-1.4-.5-2-.1-.4-.2-.9-.3-1.3-.1-.7-.3-1.4-.4-2-.1-.4-.2-.9-.2-1.3l-.3-2.1c-.1-.4-.1-.9-.2-1.3-.1-.8-.1-1.6-.2-2.3 0-.4-.1-.7-.1-1.1-.1-1.2-.1-2.3-.1-3.5 0-1 0-2 .1-2.9 0-.4 0-.9.1-1.3 0-.7.1-1.4.2-2v-.4c.1-.9.2-1.9.4-2.8 0-.2.1-.4.1-.7.1-.8.3-1.6.4-2.4 0-.2.1-.4.1-.5l.6-2.7c0-.1.1-.3.1-.4.2-.7.4-1.4.6-2.2l.3-.9c.3-.9.6-1.8.9-2.6 0-.1.1-.2.1-.3.3-.8.6-1.6.9-2.3.1-.2.2-.5.3-.7.3-.8.7-1.5 1-2.3 0-.1.1-.2.1-.3.4-.8.8-1.6 1.3-2.4l.3-.6c.4-.7.7-1.3 1.1-1.9.1-.2.2-.3.3-.5.5-.8 1-1.5 1.5-2.3.1-.1.2-.3.3-.4.4-.6.9-1.2 1.3-1.8.1-.2.3-.4.4-.6.5-.7 1.1-1.4 1.7-2.1l.3-.3 1.5-1.8c.2-.2.3-.4.5-.5.6-.7 1.2-1.3 1.9-2 .6-.6 1.3-1.3 2-1.9.2-.2.4-.3.5-.5l1.8-1.5.3-.3c.7-.6 1.4-1.1 2.1-1.7.2-.1.3-.3.5-.4.6-.5 1.3-.9 1.9-1.3.2-.1.3-.2.5-.3.8-.5 1.5-1 2.3-1.5.1-.1.3-.2.4-.2.6-.4 1.3-.8 1.9-1.1.2-.1.5-.3.7-.4.8-.4 1.6-.9 2.4-1.3.1 0 .2-.1.2-.1.8-.4 1.5-.7 2.3-1 .2-.1.5-.2.7-.3.8-.3 1.5-.6 2.3-.9.1 0 .2-.1.3-.1.9-.3 1.7-.6 2.6-.9.3-.1.6-.2.8-.3.7-.2 1.4-.4 2.2-.6.2 0 .3-.1.5-.1l2.7-.6c.2 0 .4-.1.6-.1.8-.2 1.6-.3 2.3-.4.2 0 .5-.1.7-.1.9-.1 1.9-.3 2.8-.4.2 0 .4 0 .5-.1.8-.1 1.6-.1 2.5-.2h.7c1 0 1.9-.1 2.9-.1s2 0 3 .1h.7c.9.1 1.8.1 2.7.2h.2c30 3.1 53.9 26.9 57.1 57 0 .3.1.7.1 1 .1.7.1 1.4.2 2.1 0 .5 0 .9.1 1.4v5c0 .5-.1 1-.1 1.4 0 .6-.1 1.2-.1 1.7s-.1 1-.2 1.5c-.1.6-.1 1.1-.2 1.7-.1.5-.1 1-.2 1.5s-.2 1.1-.3 1.6l-.3 1.5c-.1.5-.2 1-.4 1.5-.1.5-.2 1-.4 1.5-.1.5-.3.9-.4 1.4-.2.5-.3 1-.5 1.5-.1.4-.3.9-.4 1.3-.2.5-.4 1.1-.6 1.6-.1.4-.3.8-.5 1.2-.2.6-.4 1.1-.7 1.7-.1.3-.3.7-.4 1-.3.6-.5 1.2-.8 1.8-.1.2-.2.5-.4.7-.3.7-.7 1.3-1 2 0 .1-.1.2-.1.2-3.8 6.7-8.7 12.7-14.5 17.7h-.1c-5.8 5-9.4 12.2-9.4 19.9v1.4c0 14.3 11.6 25.9 25.9 25.9H320v116.7c0 6.3 5.1 11.3 11.3 11.3H357c5.2 0 9.1-4.1 10-9.2 0-.1.1-.1.1-.2 5-5.8 10.9-10.8 17.7-14.5.1 0 .2-.1.2-.1.7-.4 1.3-.7 2-1 .2-.1.5-.2.7-.4.6-.3 1.2-.6 1.8-.8.3-.1.7-.3 1-.4.6-.2 1.1-.5 1.7-.7.4-.2.8-.3 1.2-.5.5-.2 1.1-.4 1.6-.6.4-.2.9-.3 1.3-.4.5-.2 1-.3 1.5-.5.5-.1.9-.3 1.4-.4.5-.1 1-.3 1.5-.4.5-.1 1-.2 1.5-.4l1.5-.3c.5-.1 1.1-.2 1.6-.3.5-.1 1-.2 1.5-.2.6-.1 1.1-.1 1.7-.2.5-.1 1-.1 1.5-.2.6-.1 1.1-.1 1.7-.1.5 0 1-.1 1.4-.1h5c.5 0 .9 0 1.4.1.7 0 1.4.1 2.1.2.3 0 .7.1 1 .1 30 3.1 53.9 27 57 57.1v.2c.1.9.2 1.8.2 2.7v.7c.2.4.2 1.4.2 2.4z" />',viewBox:"0 0 512 512"},_s={name:"link-add",content:'<path d="M384 384zm64 32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-64zM96 256c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32zm-32 0c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.4 0-64 28.6-64 64zm416 84.7c19.9-22.6 32-52.2 32-84.7 0-70.7-57.3-128-128-128-47.3 0-88.7 25.8-110.8 64H384c35.3 0 64 28.6 64 64s-28.6 64-64 64h96v20.7zM384 320H273.2c22.1 38.2 63.4 64 110.8 64v-64z" />',viewBox:"0 0 512 512"},Es={name:"globe-link",content:'<path d="M161.7 412.6C69.1 391.2 0 308.1 0 209 0 93.6 93.6 0 209 0s209 93.6 209 209c0 58.2-23.8 110.8-62.2 148.7-20.5-23.1-50.4-37.7-83.8-37.7-3.9 0-7.8.2-11.6.6 12-15.9 26.4-28.8 41.3-33 22.6-18.6 21.6-35.2 18.6-50.2-7-12.6-38.7-23.6-68.8-49.7-18.1-4-40.2 7.5-48.7-3.5-8.5-11.1-48.7-27.1-31.1-44.7s44.2.5 54.8-35.7C236.9 67.6 259 82.6 270 82.6c11.1 0 13.1-26.1-7.5-35.7-20.6-9.5-49.7-19.6-100.5-14.6-50.7 5-86.4 27.6-75.4 47.7 11.1 20.1 44.2 83.9 81.4 94.5 37.2 10.6 35.7 20.2 41.7 27.1 6 7-11.3 22.2 5.1 50.8 8.9 12 17 5 21 25.1 1.9 9.4-2.7 30.3-6.4 50.8-34.9 14.4-61 46-67.7 84.3zM224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16z" />',viewBox:"0 0 512 512"},Is={name:"globe-unlink",content:'<path d="M161.7 412.6C69.1 391.2 0 308.1 0 209 0 93.6 93.6 0 209 0s209 93.6 209 209c0 58.2-23.8 110.8-62.2 148.7-20.5-23.1-50.4-37.7-83.8-37.7-3.9 0-7.8.2-11.6.6 12-15.9 26.4-28.8 41.3-33 22.6-18.6 21.6-35.2 18.6-50.2-7-12.6-38.7-23.6-68.8-49.7-18.1-4-40.2 7.5-48.7-3.5-8.5-11.1-48.7-27.1-31.1-44.7s44.2.5 54.8-35.7C236.9 67.6 259 82.6 270 82.6s13.1-26.1-7.5-35.7c-20.6-9.5-49.7-19.6-100.5-14.6-50.7 5-86.4 27.6-75.4 47.7 11.1 20.1 44.2 83.9 81.4 94.5 37.2 10.6 35.7 20.2 41.7 27.1 6 7-11.3 22.2 5.1 50.8 8.9 12 17 5 21 25.1 1.9 9.4-2.7 30.3-6.4 50.8-34.9 14.4-61 46-67.7 84.3M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48m208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80" />',viewBox:"0 0 512 512"},Ss={name:"envelop-link",content:'<path d="M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16zM32 0C14.3 0 0 14.3 0 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H32zm23.7 32L224 200.3 392.3 32c11 2.9 19.7 11.6 22.6 22.6L310.6 158.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L288 181.5l-64 64-64-64L55.7 285.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L33.1 54.6C36 43.6 44.7 34.9 55.7 32z" />',viewBox:"0 0 512 512"},Ms={name:"anchor",content:'<path d="m352 288 44.5 44.5c-22.3 40.7-61.7 70.7-108.5 80.3V151.4c19.1-11.1 32-31.8 32-55.4 0-35.3-28.7-64-64-64s-64 28.7-64 64c0 23.6 12.9 44.3 32 55.4v261.4c-46.8-9.5-86.2-39.6-108.5-80.3L160 288H32v128l36.9-36.9C108.9 439.9 177.8 480 256 480s147.1-40.1 187.1-100.9L480 416V288H352zM256 64c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32z" />',viewBox:"0 0 512 512"},Os={name:"table-add",content:'<path d="M448 320V32H32v416h288V320h128zm-288 96H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96zm32-96h96v96h-96V64zm0 224v-96h96v96h-96zm192 128v32h-64v64h-32v-64h-64v-32h64v-64h32v64h64z" />',viewBox:"0 0 512 512"},Rs={name:"table",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm0 128v96h-96v-96h96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Hs={name:"table-properties",content:'<path d="m502.666 77.216-22.627 22.627-67.882-67.882 22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627c12.445 12.445 12.445 32.81 0 45.255zM392.483 51.635l67.882 67.882L290.66 288H224v-66.66L392.483 51.635zm22.627 67.882L392.483 96.89 256.719 232.654l22.627 22.627L415.11 119.517zM384 256l32-32v288H0V96h288l-32 32h-96v224h224v-96zM128 384H32v96h96v-96zm0-128H32v96h96v-96zm0-128H32v96h96v-96zm128 256h-96v96h96v-96zm128 0h-96v96h96v-96z" />',viewBox:"0 0 512 512"},Fs={name:"table-cell",content:'<path d="M32 32v416h416V32H32zm128 384H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm128 256h-96v-96h96v96zm0-256h-96V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Ds={name:"table-cell-properties",content:'<path d="m502.666 77.216-22.627 22.627-67.882-67.882 22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627c12.445 12.445 12.445 32.81 0 45.255zM384 256l32-32v288H0V96h288l-32 32h-96v96h32v96h96v32h96v-96zM128 384H32v96h96v-96zm0-128H32v96h96v-96zm0-128H32v96h96v-96zm128 256h-96v96h96v-96zm128 0h-96v96h96v-96zm8.483-332.365 67.882 67.882-141.588 141.588L290.66 288H224v-66.66l26.895-28.118L392.483 51.635zm22.627 67.882L392.483 96.89 256.719 232.654l11.314 11.314 11.314 11.314L415.11 119.517z" />',viewBox:"0 0 512 512"},As={name:"table-column-insert-left",content:'<path d="M32 480V0h128v480H32zM480 32v416H192V32h288zM224 160h96V64h-96v96zm0 128h96v-96h-96v96zm0 128h96v-96h-96v96zm224-96h-96v96h96v-96zm0-32v-96h-96v96h96zm0-224h-96v96h96V64z" />',viewBox:"0 0 512 512"},Vs={name:"table-column-insert-right",content:'<path d="M352 480V0h128v480H352zM320 32v416H32V32h288zm-32 32h-96v96h96V64zm0 128h-96v96h96v-96zm0 128h-96v96h96v-96zM64 416h96v-96H64v96zm96-128v-96H64v96h96zM64 160h96V64H64v96z" />',viewBox:"0 0 512 512"},Bs={name:"table-row-insert-above",content:'<path d="M480 160H0V32h480v128zM32 192h416v288H32V192zm32 32v96h96v-96H64zm128 0v96h96v-96h-96zm128 0v96h96v-96h-96zm96 224v-96h-96v96h96zm-128-96h-96v96h96v-96zm-128 96v-96H64v96h96z" />',viewBox:"0 0 512 512"},Ns={name:"table-row-insert-below",content:'<path d="M480 480H0V352h480v128zM32 32h416v288H32V32zm128 256v-96H64v96h96zm128 0v-96h-96v96h96zm128 0v-96h-96v96h96zM320 64v96h96V64h-96zm-32 0h-96v96h96V64zM64 64v96h96V64H64z" />',viewBox:"0 0 512 512"},Ls={name:"table-column-delete",content:'<path d="M192 288v224h128V288H192zm0-288v64h128V0H192zm160 32h128v416H352V32zm96 288h-64v96h64v-96zm0-128h-64v96h64v-96zm0-128h-64v96h64V64zM32 32h128v416H32V32zm96 288H64v96h64v-96zm0-128H64v96h64v-96zm0-128H64v96h64V64zm128 89.373L313.373 96 336 118.627 278.627 176 336 233.373 313.373 256 256 198.627 198.627 256 176 233.373 233.373 176 176 118.627 198.627 96 256 153.373z" />',viewBox:"0 0 512 512"},Ps={name:"table-row-delete",content:'<path d="M224 192H0v128h224V192zm288 0h-64v128h64V192zm-32 160v128H64V352h416zm-288 96v-64H96v64h96zm128 0v-64h-96v64h96zm128 0v-64h-96v64h96zm32-416v128H64V32h416zm-288 96V64H96v64h96zm128 0V64h-96v64h96zm128 0V64h-96v64h96zm-89.373 128L416 313.373 393.373 336 336 278.627 278.627 336 256 313.373 313.373 256 256 198.627 278.627 176 336 233.373 393.373 176 416 198.627 358.627 256z" />',viewBox:"0 0 512 512"},Ts={name:"table-cell-delete",content:'<path d="M96 192h160v128H96V192zM32 352h160v128H32V352zm32 32v64h96v-64H64zm128-224H32V32h160v128zm-32-96H64v64h96V64zm262.627 192L480 313.373 457.373 336 400 278.627 342.627 336 320 313.373 377.373 256 320 198.627 342.627 176 400 233.373 457.373 176 480 198.627 422.627 256z" />',viewBox:"0 0 512 512"},js={name:"table-delete",content:'<path d="M32 32v416h416V32H32zm384 128h-64v32h64v96h-64v32h64v96h-96v-64h-32v64h-96v-64h-32v64H64v-96h64v-32H64v-96h64v-32H64V64h96v64h32V64h96v64h32V64h96v96zm-153.4 80 57.4 57.4-22.6 22.6-57.4-57.4-57.4 57.4-22.6-22.6 57.4-57.4-57.4-57.4 22.6-22.6 57.4 57.4 57.4-57.4 22.6 22.6-57.4 57.4z" />',viewBox:"0 0 512 512"},Us={name:"cells-merge",content:'<path d="M32 32v448h416V32H32zm160 32h96v64h-96V64zM64 64h96v64H64V64zm96 384H64v-64h96v64zm128 0h-96v-64h96v64zm128 0h-96v-64h96v64zm0-96H64V160h352v192zm0-224h-96V64h96v64z" />',viewBox:"0 0 512 512"},Ws={name:"cells-merge-horizontally",content:'<path d="M32 32v416h416V32H32zm160 32h96v96h-96V64zM64 64h96v96H64V64zm96 352H64v-96h96v96zm128 0h-96v-96h96v96zm128 0h-96v-96h96v96zm0-128H64v-96h352v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Ks={name:"cells-merge-vertically",content:'<path d="M32 448h416V32H32v416zm32-160v-96h96v96H64zm0 128v-96h96v96H64zm352-96v96h-96v-96h96zm0-128v96h-96v-96h96zm0-128v96h-96V64h96zm-128 0v352h-96V64h96zm-128 0v96H64V64h96z" />',viewBox:"0 0 512 512"},qs={name:"cell-split-horizontally",content:'<path d="M32 32v416h416V32H32zm32 32h160v64H64V64zm160 160h-64v-64h64v64zM64 160h64v64H64v-64zm0 96h160v64H64v-64zm0 160v-64h160v64H64zm192-256h64v64h-64v-64zm160 256H256v-64h160v64zm0-96H256v-64h160v64zm0-96h-64v-64h64v64zm0-96H256V64h160v64z" />',viewBox:"0 0 512 512"},Gs={name:"cell-split-vertically",content:'<path d="M32 448h416V32H32v416zm32-32V256h64v160H64zm160-160v64h-64v-64h64zm-64 160v-64h64v64h-64zm96 0V256h64v160h-64zm160 0h-64V256h64v160zM160 224v-64h64v64h-64zM416 64v160h-64V64h64zm-96 0v160h-64V64h64zm-96 0v64h-64V64h64zm-96 0v160H64V64h64z" />',viewBox:"0 0 512 512"},$s={name:"table-unmerge",content:'<path d="M32 32v416h416V32H32zm160 32h96v96h-96V64zm96 128v96h-96v-96h96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm96 224H64v-96h96v96zm128 0h-96v-96h96v96zm128 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Ys={name:"pane-freeze",content:'<path d="M32 32v416h416V32H32zm256 32 96 96h-64l-96-96h64zm-128 0 96 96h-64L96 64h64zM64 96l96 96v64l-96-96V96zm0 128 96 96v64l-96-96v-64zm0 192v-64l64 64H64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm128 128h-96v-96h96v96zm0-128h-96v-96h96v96zM352 64h64v64l-64-64z" />',viewBox:"0 0 512 512"},Zs={name:"row-freeze",content:'<path d="M32 448h416V32H32v416zM64 96l64 64H64V96zm96-32 96 96h-64L96 64h64zm128 0 96 96h-64l-96-96h64zm128 64-64-64h64v64zm-96 160v-96h96v96h-96zm-128 0v-96h96v96h-96zm-32 0H64v-96h96v96zm160 128v-96h96v96h-96zm-128 0v-96h96v96h-96zm-128 0v-96h96v96H64z" />',viewBox:"0 0 512 512"},Xs={name:"column-freeze",content:'<path d="M32 32v416h416V32H32zm128 32v64L96 64h64zM64 96l96 96v64l-96-96V96zm0 128 96 96v64l-96-96v-64zm0 192v-64l64 64H64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm-96-128V64h96v96h-96zm224 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},Js={name:"toolbar-float",content:'<path d="M64 352h416v128H64V352zm96 32H96v64h96v-64h-32zm160 0h-96v64h96v-64zm32 0v64h96v-64h-96zM63.961 131.844l90.51 90.51 45.255-45.255-90.51-90.51-45.255 45.255zm0 0 90.51 90.51 45.255-45.255-90.51-90.51-45.255 45.255zm158.392 67.882 67.882-67.882-22.627-22.627-22.627 22.627-90.51-90.51c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882c-12.445 12.445-12.445 32.81 0 45.255l90.51 90.51-22.627 22.627 22.627 22.627 67.882-67.882L297.373 320 320 297.373l-97.647-97.647zm-67.882 22.627-90.51-90.51 45.255-45.255 90.51 90.51-45.255 45.255zM480 256h-64v64h64v-64z" />',viewBox:"0 0 512 512"},Qs={name:"spell-checker",content:'<path d="M113.2 206.2c-7.4 6.2-15.6 10.7-24.6 13.5s-19.3 4.2-31 4.2c-8.4 0-16.1-1-23.1-2.9s-13.1-4.9-18.2-8.8c-5.1-3.9-9.1-8.8-12-14.6C1.4 192 0 185.2 0 177.5c0-18.9 8.1-32.9 24.4-41.9s40.9-13.5 74-13.5h13.7c0-2.6 0-5.3-.1-8.2-.1-2.9-.3-5.4-.7-7.6-.8-7.6-3.5-13.2-8-17-4.5-3.7-11.8-5.6-21.7-5.6-10.4 0-18.1 1.9-23.3 5.8s-7.8 9.5-7.8 16.8H7c2.4-32.7 27.8-49 76.3-49 6.6 0 12.6.2 17.9.6 5.3.4 10.2 1.1 14.6 2 4.4 1 8.6 2.2 12.5 3.7 3.9 1.5 7.6 3.4 11.4 5.7 3.5 2.2 6.4 4.7 9 7.4 2.5 2.8 4.6 6.1 6.4 9.9 1.7 3.9 3 8.3 3.8 13.3s1.2 10.8 1.2 17.4V224h-46.8l-.1-17.8zm-1-58H96.8c-16.2 0-28.4 2-36.5 5.9s-12.2 10.6-12.2 20.2c0 7.3 2.5 12.7 7.5 16.2s11.5 5.2 19.4 5.2c7.6 0 14.6-1.5 21.2-4.5s11.9-6.9 15.8-11.7v-31.3h.2zm125.2-61.6c5.5-7.2 12.3-12.8 20.2-16.7C265.5 66 274 64 283.1 64c10.2 0 19.2 1.9 26.8 5.7 7.7 3.8 14.1 9.2 19.3 16.3 5.2 7.1 9.1 15.7 11.7 25.9s4 21.6 4 34.3-1.2 19-4.3 29.4c-3 10.4-7.6 17.9-13.3 25.2-5.7 7.3-12.6 13-20.7 17.1s-17.3 6.1-27.5 6.1c-17.5 0-31.9-5.2-43.3-15.6V224H192V0h45.4v86.6zm0 91.7c4.4 4.1 9.1 7.2 14.1 9.4 5 2.1 10.5 3.2 16.5 3.2 9.8 0 17.4-4.3 22.7-12.8 5.3-8.6 7.9-14.7 7.9-31.8 0-32.7-9.6-49-28.7-49-6.2 0-12 1.9-17.4 5.6s-10.5 9-15.1 15.8v59.6zM442.2 224c-12.4 0-23.4-1.8-33.3-5.4-9.8-3.6-18.1-8.8-25-15.6-6.8-6.8-12-15.2-15.7-25.1-3.7-9.9-5.5-21.3-5.5-34s1.8-24 5.5-33.9 8.9-18.2 15.9-25.1c6.9-6.9 15.3-12.1 25.2-15.6 9.9-3.6 21.1-5.4 33.6-5.4 20 0 36 4.7 48 14.1s19 23 21 40.9h-41c-1-7-3.9-12.7-8.8-16.9-4.9-4.2-11.2-6.3-19.2-6.3-10.2 0-18.4 3.9-24.5 11.6s-9.2 19.9-9.2 36.6c0 16.5 3.1 28.7 9.2 36.5s14.3 11.7 24.5 11.7c7.9 0 14.4-2.1 19.3-6.3s7.8-9.8 8.7-16.9h41c-2.5 17.7-9.7 31.2-21.5 40.7-11.6 9.6-27.7 14.4-48.2 14.4zm69.8 0L224 512 64 352l64-64 96 96 288-160" />',viewBox:"0 0 512 512"},el={name:"validation-xhtml",content:'<path d="M192 224h-54l-26.2-96L86 224H32L0 64h42l22 96 22-96h52l22 96 22-96h42l-32 160zm272.5-121.8c4.7 4.2 7.4 9.8 8.5 16.8h38.9c-2-17.9-8.6-31.3-19.9-40.8-11.5-9.3-26.5-14-45.6-14-11.9 0-22.5 1.7-32 5.3-9.4 3.6-17.4 8.9-23.9 15.7-6.7 6.9-11.6 15.2-15.1 25-3.5 10-5.3 21.2-5.3 33.8 0 12.8 1.8 24 5.3 33.8 3.5 10 8.3 18.4 14.8 25.1 6.5 6.7 14.5 11.8 23.8 15.4 9.4 3.6 20 5.4 31.6 5.4 19.4 0 34.7-4.8 45.9-14.3 11.2-9.5 18-23 20.4-40.5H473c-.9 7-3.7 12.6-8.3 16.8-4.7 4.3-10.7 6.3-18.3 6.3-9.8 0-17.5-3.9-23.5-11.7-5.8-7.8-8.6-19.9-8.6-36.3 0-16.7 2.8-28.7 8.6-36.5 5.9-7.8 13.6-11.5 23.5-11.5 7.5 0 13.6 2 18.1 6.2zM316.7 219.8c7.3-2.3 13.6-5.8 18.9-10.2l.1-.1c5.2-4.6 9.1-9.9 11.8-16.1 2.8-6 4.2-12.7 4.2-20.7 0-10-2.7-18.4-8-25.3-3.5-4.4-7.9-7.9-13.2-10.5.3-.3.7-.5 1-.8 3.1-2.4 5.5-5 7.6-8.1 2-3 3.5-6.2 4.5-9.4 1-3.5 1.5-6.9 1.5-10.4 0-6.6-1.3-12.6-3.9-18.1-2.6-5.4-6.4-10.3-11.4-14.2-4.8-4.2-10.5-7.2-17-9.1-6.3-1.8-13.7-2.8-22.1-2.8-7.4 0-14.3 1-20.8 3.1-6.3 2.1-11.7 5.2-16.9 9.3-5 4.1-9 9.2-11.9 15.1-3 5.9-4.9 12.7-5.6 20.3l-.5 5.1h38.2l.5-4.4c1.6-14.6 9.9-16.5 16.9-16.5 4.8 0 8.3 1.1 10.7 3.3l.1.1c2.7 2.5 3.3 7.1 3.3 10.4 0 5.6-1.2 9.4-3.8 11.4l-.1.1c-2.8 2.4-7.2 3.5-13.4 3.5H276v31h13.7c7.4 0 12.8 1.4 16.3 4 3.3 2.7 4.9 6.5 4.9 12.2 0 2.9-.5 5.6-1.4 8-.9 2.3-2.1 4.1-3.9 5.9-1.4 1.5-3.4 2.7-5.9 3.6-2.4.9-5.2 1.4-8.4 1.4-3.4 0-6.3-.4-9-1.3-2.2-.8-4.1-2-5.7-3.5-1.6-1.6-2.8-3.3-3.7-5.2-.8-1.9-1.2-4.1-1.5-6.7l-.4-4.2h-39.1l.3 5c.5 7.4 2.3 14.5 5.3 21 3.1 6.1 7.8 11.8 14.2 16.6 4.9 3.8 10.8 6.6 17.8 8.4h.4c6.4 1.5 13.8 2.3 22.1 2.3 9.5 0 17.5-1.2 24.7-3.5zM64 352l64-64 96 96 288-160-288 288L64 352z" />',viewBox:"0 0 512 512"},tl={name:"validation-data",content:'<path d="m64 352 64-64 96 96 288-160-288 288L64 352zm48.6-193.6c0 13-2.5 24.4-7.6 34.4s-12.3 17.7-21.8 23.1c-9.4 5.4-20.3 8.1-32.7 8.1H0V96h49.5c42.1 0 63.1 20.8 63.1 62.4zm-38 .3c0-6.3-1.2-12-3.5-17-2.4-5-5.7-8.9-10.1-11.7-4.4-2.7-9.6-4.1-15.6-4.1H36v68h10.1c8.6 0 15.6-3.2 20.7-9.5 5.2-6.4 7.8-14.9 7.8-25.7zM216.2 224l-5.5-24h-37.2l-5.9 24H128l42.3-128h45.9L256 224h-39.8zm-23.6-100h-.9c-.1 1.4-.5 3.8-1.2 7.1s-4.1 17.2-10.4 41.9h23.4l-8.6-34.7c-1.1-5-1.9-9.8-2.3-14.3zm127.4 4v96h-32v-96h-32V96h98v32h-34zm120.2 96-5.5-24h-37.2l-5.9 24H352l42.3-128h45.9L480 224h-39.8zm-23.6-100h-.9c-.1 1.4-.5 3.8-1.2 7.1s-4.1 17.2-10.4 41.9h23.4l-8.6-34.7c-1.1-5-1.9-9.8-2.3-14.3z" />',viewBox:"0 0 512 512"},nl={name:"toggle-full-screen-mode",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v288c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 319.942a.53.53 0 0 1-.058.058H64.058a.454.454 0 0 1-.058-.058V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057v287.885zM384 480H128c35.346 0 64-28.654 64-64h128c0 35.346 28.654 64 64 64zm32-160H96c58.263-113.973 183.21-192 320-192v192z" />',viewBox:"0 0 512 512"},rl={name:"formula-fx",content:'<path d="m214 183.4-24.7 110c-11.5 53.4-22.7 92.1-33.7 116.1-11 24-23.8 41.8-38.4 53.2-14.7 11.6-31.5 17.3-50.5 17.3-12 0-20.7-2.7-26.3-8-5.6-5.3-8.4-11.5-8.4-18.7 0-6.7 2.3-12.5 7-17.4 4.7-4.9 10.8-7.3 18.3-7.3 6.3 0 11.2 1.9 14.5 5.6 3.4 3.7 5.1 8.5 5.1 14.2 0 5.2-1 9.1-3.2 11.6-2.1 2.5-3.2 4.2-3.2 5l1 1.7c.8.8 1.8 1.2 3 1.2 4.2 0 7.8-1.5 10.8-4.7 7.4-7.7 13-17 16.6-27.9 2.5-7.5 7.4-27.4 14.5-59.5l43-192.6h-29.3l7-28.7c10.5.2 18.2-1.4 23-4.7 4.8-3.3 9.8-10.6 15.2-22 15.4-33.1 31.7-60.1 48.9-74.4S260.4 32 281.5 32c13.5 0 23.3 3 29.4 9.1 6.1 6.1 9.2 13.9 9.2 23.5 0 8.5-2 15.2-6.1 20.2-4.1 5.1-9.2 7.5-15.2 7.5-5.6 0-10.3-2-13.9-6.1-3.6-4.1-5.5-9-5.5-14.7 0-4.1 1.1-8.4 3.5-13 2.3-4.6 3.5-7.7 3.5-9.3 0-1.8-.5-3.3-1.6-4.4-1-1.1-2.4-1.7-4.1-1.7-8.3 0-16.8 5.9-25.5 17.9-14.3 19.1-25.9 52.5-34.5 93.8h30.5l-7.4 28.7-29.8-.1zm78.7 22.7 68.9-14.1c12.5 23.3 21.3 48.9 26.5 76.9 12.9-22.7 22.7-38.6 29.3-47.6 8.8-12.2 16.1-20.1 21.8-23.8 5.8-3.7 11.9-5.5 18.3-5.5 7.2 0 12.8 2.4 16.7 7 3.9 4.7 5.8 11 5.8 19 0 7.5-2 13.6-5.8 18.4-3.9 4.7-8.7 7.1-14.5 7.1-4.2 0-9-.9-14.5-2.7-5.4-1.8-9.3-2.7-11.3-2.7-5.6 0-10.8 2.4-15.8 7-6.8 6.4-15.2 20.1-25.3 41 11.2 46.9 20.1 75.5 26.9 85.8 3.9 6.1 7.9 9.2 12.1 9.2 3.4 0 6.4-1 8.9-3 3.8-3.3 9.7-11.5 17.6-24.6l7.1 4.9c-11.6 22.2-22.9 37.9-34 46.9-8.4 7-16.7 10.6-24.9 10.6-8.4 0-15.4-2.3-21-6.7-5.6-4.5-10.6-11.7-14.9-21.8-4.4-10-9.5-26.2-15.4-48.4-15.4 23.3-27.5 40.3-36.3 51-8.7 10.7-16 17.7-21.8 21-5.8 3.3-12 4.9-18.6 4.9-6.8 0-12.3-2.4-16.3-7-4-4.7-6-10.8-6-18.3 0-7.9 2.2-14.5 6.5-19.6 4.3-5.2 9.9-7.7 16.6-7.7 3.6 0 7.6 1.3 12.1 3.7 6.6 3.8 11.3 5.7 14.2 5.7 3.8 0 7.2-.9 10.3-2.8 3.9-2.4 9-7.4 15-15.3 3.7-4.8 10.5-15.1 20.4-31-12.6-55.8-22.5-89.1-29.6-100-4.5-7-10.2-10.6-17-10.6-3.6 0-7.9.6-13 1.9l1-8.8z" />',viewBox:"0 0 512 512"},ol={name:"sum",content:'<path d="M416 64v128l-64-64H160l128 128-128 128h192l64-64v128H96v-64l128-128L96 128V64h320z" />',viewBox:"0 0 512 512"},il={name:"symbol",content:'<path d="m448 416 32-32v96H320V375.8c11.4-5.1 22.2-11.5 32-19 38.9-29.7 64-76.9 64-130.1C416 136.8 344.4 64 256 64S96 136.8 96 226.7c0 53.2 25.1 100.5 64 130.1 9.8 7.5 20.6 13.9 32 19V480H32v-96l32 32h96v-18.5C84.3 366.7 32 300.6 32 224 32 118 132.3 32 256 32s224 86 224 192c0 76.6-52.3 142.7-128 173.5V416h96z" />',viewBox:"0 0 512 512"},al={name:"dollar",content:'<path d="M326.6 273c-8.3-7.3-18.4-13.6-30.4-19.1-11.8-5.4-25.2-10.2-40.2-14.5V131.3c6.5.8 13 2.2 17.7 4.2 7.5 3.3 13.7 7.8 18.8 13.7 5.1 5.8 8.9 12.7 11.4 20.7 2.6 8 3.8 16.7 3.8 26.2H352c0-29.2-7.5-52-22.5-68.8s-36-26.8-62.9-30.1c0 0-5-.4-10.6-.8V32h-32v66.2c-11.9 1.5-22.6 4.3-32.2 8.4-10.6 4.5-19.6 10.3-27.1 17.5-7.5 7.2-13.2 15.6-17.2 25.4-4 9.7-6 20.5-6 32.2 0 12.7 2.2 23.8 6.7 33.4s11 18.2 19.5 25.6 18.8 13.8 30.9 19.3c7.8 3.5 16.3 6.8 25.4 9.7v110.7c-2.7-.4-5.4-.9-8.1-1.5-7.9-1.8-15.2-5.1-21.7-9.8-6.5-4.7-11.8-11-15.8-19s-6-18-6-30H128c0 16.2 2.6 30 7.9 41.6 5.3 11.6 12.4 21.2 21.3 28.6 8.9 7.5 19.1 13.3 30.6 17.3s23.4 6.5 35.7 7.5c0 0 .2 0 .5.1V480h32v-64.7c1.9-.2 3.1-.3 3.1-.3 14.1-1.3 26.9-4.1 38.4-8.3 11.5-4.3 21.3-10 29.4-17.1 8.1-7.1 14.3-15.6 18.6-25.4 4.3-9.8 6.5-20.9 6.5-33.2 0-12.5-2.2-23.5-6.5-33-4.3-9.4-10.6-17.8-18.9-25zm-104.7-46.2c-8.8-4.1-15.9-8.4-21.2-12.9s-9.1-9.6-11.3-15c-2.2-5.5-3.4-11.6-3.4-18.5 0-7.4 1.2-14.1 3.6-20.3 2.4-6.1 6-11.3 10.8-15.7 4.8-4.3 10.9-7.7 18.3-10.1 1.7-.6 3.5-1 5.3-1.5v94.9c-.6-.2-1.4-.5-2.1-.9zm81 125.2c-3 6.2-7.5 11.4-13.2 15.8-5.8 4.3-12.8 7.7-21.2 10-3.9 1.1-8.1 1.9-12.5 2.5V279.2c5.6 2 10.7 4.1 15.3 6.2 8.6 4 15.6 8.3 20.9 13 5.4 4.7 9.3 9.7 11.7 15.1 2.4 5.4 3.6 11.3 3.6 17.7 0 7.7-1.5 14.7-4.6 20.8z" />',viewBox:"0 0 512 512"},sl={name:"percent",content:'<path d="M352 64h32L160 448h-32L352 64zm16 160c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112zm0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80zM144 64c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112zm0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80z" />',viewBox:"0 0 512 512"},ll={name:"custom-format",content:'<path d="M128 128v224H80V182.4s-13.1 19.1-48 19.1v-40.6c34.9 0 61.7-32.9 61.7-32.9H128zm94.4 184H320v40H169v-16.6c.3-11.3 2.2-21.4 6-30.3 3.8-9 8.6-17 14.3-24.1s12-13.4 18.8-18.9 13.3-10.4 19.4-14.8c6.5-4.6 12.1-9 17-13.2s9-8.4 12.3-12.5 5.8-8.3 7.5-12.6c1.6-4.2 2.5-8.8 2.5-13.6 0-9.4-2.7-16.5-8-21.4-5.3-4.8-13.5-7.2-24.4-7.2-18.9 0-37.1 7.5-54.4 22.6v-42.7c19.2-12.4 40.8-18.6 64.8-18.6 11.2 0 21.2 1.5 30 4.4 8.9 2.9 16.4 7.1 22.5 12.5s10.8 12 14.1 19.7c3.2 7.7 4.8 16.4 4.8 25.9 0 10.1-1.6 19.2-4.7 27-3.1 7.9-7.3 15.1-12.4 21.5-5.2 6.5-11.1 12.4-17.9 17.7-6.8 5.4-13.8 10.6-21 15.6-4.9 3.5-9.7 6.9-14.2 10.4-4.6 3.4-8.6 6.8-12.1 10.1s-6.2 6.6-8.3 9.8c-2.2 3.1-3.2 9.3-3.2 9.3zM341 341.2v-41.7s32.1 15.8 51.5 15.8c12.2 0 21.8-2.6 28.6-7.9 6.8-5.3 10.2-12.5 10.2-21.9 0-9.7-4.2-17.1-12.7-22.3-8.4-5.3-20-7.9-34.8-7.2H364v-37h17.7c28.4 0 42.6-9.4 42.6-28.1 0-17.6-10.9-26.4-32.7-26.4-14.7 0-28.8 4.7-42.6 14v-38.9c15.4-7.7 33.1-11.5 53.6-11.5 22.3 0 39.6 5 52.1 14.9 12.4 10 18.7 22.9 18.7 38.8 0 28.3-14.5 46-43.4 53.2v.3c15.5 1.9 27.6 7.5 36.5 16.8 8.9 9.2 13.3 20.6 13.3 34 0 20.3-7.4 36.4-22.4 48.2-15 11.8-35.5 17.7-61.7 17.7-22.3.1-40.6-3.5-54.7-10.8z" />',viewBox:"0 0 512 512"},cl={name:"decimal-increase",content:'<path d="M384 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7v-42.7c0-23.5 14.4-42.6 32-42.6 17.7 0 32 19.1 32 42.6V374zM384 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7v-42.7c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7V150zM224 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64s64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7s-32-19.1-32-42.7v-42.7c0-23.5 14.3-42.6 32-42.6s32 19.1 32 42.6V374zM96 416h32v32H96v-32zm160-224h32v32h-32v-32zM192 32v192L64 128l128-96z" />',viewBox:"0 0 512 512"},ul={name:"decimal-decrease",content:'<path d="M384 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.6-64-64-64zm32 116.7c0 23.5-14.3 42.6-32 42.6-17.6 0-32-19.1-32-42.6V106c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7v42.7zM384 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 116.7c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7V330c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7v42.7zM224 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm32 116.7c0 23.5-14.3 42.6-32 42.6s-32-19.1-32-42.6V106c0-23.6 14.3-42.7 32-42.7s32 19.1 32 42.7v42.7zM128 224H96v-32h32v32zm128 192h32v32h-32v-32zM64 256l128 96-128 96V256z" />',viewBox:"0 0 512 512"},hl={name:"font-size",content:'<path d="M97 224 32 416h29l16.9-50H146l16.9 50h29l-65-192H97zm-8.9 112 23.9-70.6 23.9 70.6H88.1zM376 96h-48L224 416h48l26-80h108l26 80h48L376 96zm-62.4 192L352 169.8 390.4 288h-76.8z" />',viewBox:"0 0 512 512"},dl={name:"image-absolute-position",content:'<path d="M416 240c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm96-80v320c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32zm-32 26.7c0-14.7-11.9-26.7-26.7-26.7H186.7c-14.7 0-26.7 11.9-26.7 26.7V384l96-96 96 96 64-64 64 64V186.7zM32 0H0v512h32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32V32h96v32h32V32h64v32h32V32h64v32h32V32h64v32h32V32h64V0H32z" />',viewBox:"0 0 512 512"},pl={name:"table-wizard",content:'<path d="M160 384V160h224v96l32 32V0H0v416h288l-32-32h-96zM288 32h96v96h-96V32zm-128 0h96v96h-96V32zm-32 352H32v-96h96v96zm0-128H32v-96h96v96zm0-128H32V32h96v96zm376.6 362.1-15.5 15.5c-8.6 8.6-22.4 8.6-31 0l-124-124c-8.6-8.6-8.6-22.4 0-31l15.5-15.5c8.6-8.6 22.4-8.6 31 0l124 124c8.6 8.5 8.6 22.4 0 31zm-158.5-209-21-14.8c-3.2-2.3-5.1-6-5.1-10l.3-25.7c.1-6.6-5.2-12.1-11.8-12.2-2.6 0-5.2.8-7.3 2.4l-20.6 15.4c-3.2 2.4-7.3 3-11 1.8l-24.3-8.3c-6.8-2.3-14.3 1.9-15.7 9.3-.4 2.1-.1 4.2.5 6.2l8.2 24.1c1.3 3.7.6 7.8-1.8 11l-15.4 20.6c-4.3 5.8-2.6 14.2 4 17.8 1.9 1 4 1.4 6.1 1.4l25.4-.3c3.9-.1 7.7 1.8 10 5.1l14.8 21c4.2 5.9 12.7 6.9 18.1 1.7 1.5-1.5 2.6-3.3 3.2-5.3l7.5-24.3c1.2-3.8 4.1-6.7 7.9-7.9l24.5-7.6c6.3-2 9.8-8.7 7.9-15-.7-2.7-2.3-4.9-4.4-6.4z" />',viewBox:"0 0 512 512"},fl={name:"crosstab",content:'<path d="M192.3 32H32v160h1v288h447V32H192.3zm-.3 416H96v-96h96v96zm0-128H96v-96h96v96zm0-128H96V96h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V96h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V96h96v96z" />',viewBox:"0 0 512 512"},ml={name:"crosstab-wizard",content:'<path d="M192 416V192h224v96l32 32V0H0v160h1v288h318.7l-31.9-32H192zM320 64h96v96h-96V64zm-128 0h96v96h-96V64zm-32 352H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm344.6 330.1-15.5 15.5c-8.6 8.6-22.4 8.6-31 0l-124-124c-8.6-8.6-8.6-22.4 0-31l15.5-15.5c8.6-8.6 22.4-8.6 31 0l124 124c8.6 8.5 8.6 22.4 0 31zM221.2 300.8c-4.3 5.8-2.6 14.2 4 17.8 1.9 1 4 1.4 6.1 1.4l25.4-.3c3.9-.1 7.7 1.8 10 5.1l14.8 21c4.2 5.9 12.7 6.9 18.1 1.7 1.5-1.5 2.6-3.3 3.2-5.3l7.5-24.3c1.2-3.8 4.1-6.7 7.9-7.9l24.5-7.6c6.3-2 9.9-8.7 7.9-15-.8-2.5-2.4-4.7-4.5-6.2l-21-14.8c-3.2-2.3-5.1-6-5.1-10l.3-25.7c.1-6.6-5.2-12.1-11.8-12.2-2.6 0-5.2.8-7.3 2.4l-20.6 15.4c-3.2 2.4-7.3 3-11 1.8l-24.3-8.3c-6.8-2.3-14.3 1.9-15.7 9.3-.4 2.1-.1 4.2.5 6.2l8.2 24.1c1.3 3.7.6 7.8-1.8 11l-15.3 20.4z" />',viewBox:"0 0 512 512"},vl={name:"table-body",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm128 256v64L224 192h64l128 128zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-64l64 64h-64zm128 0L192 288v-64l192 192h-64zm96-160-64-64h64v64zm0-96h-96V64h96v96z" />',viewBox:"0 0 512 512"},gl={name:"table-column-groups",content:'<path d="M32 32v416h416V32H32zm256 32v64l-64-64h64zm0 320-96-96v-64l96 96v64zM192 96l96 96v64l-96-96V96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-64l64 64h-64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},bl={name:"table-corner",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm0 128v96h-96v-96h96zM160 64v64L96 64h64zM64 96l64 64H64V96zm0 96h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},yl={name:"table-row-groups",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm-64 128h64l96 96h-64l-96-96zm32 96h-64l-96-96h64l96 96zM64 64h96v96H64V64zm0 160 64 64H64v-64zm0 192v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-160-64-64h64v64zm0-96h-96V64h96v96z" />',viewBox:"0 0 512 512"},wl={name:"globe-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zM64 256c0-57 24.8-108.2 64.3-143.3.3 1.8 1 3.6 1.9 5.4 11.9 22.1 47.7 92.5 87.8 104.1 40.1 11.6 38.6 22.2 45 29.9 6.5 7.7-12.2 24.4 5.6 55.9 9.6 13.2 18.3 5.5 22.6 27.6 4.1 21-20.6 95-7.8 110.4-9 1.3-18.1 2-27.4 2-106 0-192-86-192-192zm222.4 189.6c10.5-37 41.8-89.2 75.8-98.9 24.4-20.5 23.3-38.8 20.1-55.4-7.6-13.9-41.7-26-74.3-54.8-19.5-4.4-43.4 8.3-52.6-3.9-9.2-12.2-52.6-29.9-33.6-49.3s47.7.6 59.1-39.3 35.2-23.2 47.2-23.2S342.2 92 320 81.5c-16.7-7.9-38.6-16.1-71.7-17.4 2.6-.1 5.2-.2 7.8-.2 106 0 192 86 192 192C448 351.7 378 431 286.4 445.6z" />',viewBox:"0 0 512 512"},xl={name:"globe",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm106.2 314.7c-34.7 10-66.7 64.2-76.4 101.3-17.9-9.4 9.8-90.2 5.4-112.4-4.3-22.1-13-14.4-22.6-27.6-17.8-31.5.9-48.3-5.6-55.9-6.5-7.7-4.9-18.3-45-29.9-40.1-11.6-75.9-81.9-87.8-104.1-11.9-22.1 26.6-47 81.3-52.6 10.3-1 19.7-1.5 28.4-1.5 37.8.1 61.9 9 80 17.5 22.2 10.5 20.1 39.3 8.1 39.3s-35.8-16.6-47.2 23.2-40.1 19.9-59.1 39.3 24.4 37.1 33.6 49.3c9.2 12.2 33.1-.6 52.6 3.9 32.6 28.8 66.7 41 74.3 54.8 3.3 16.6 4.4 34.9-20 55.4z" />',viewBox:"0 0 512 512"},kl={name:"map-marker",content:'<path d="M256 0C158.8 0 80 78.8 80 176s176 336 176 336 176-238.8 176-336S353.2 0 256 0zm0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112z" />',viewBox:"0 0 512 512"},Cl={name:"map-marker-target",content:'<path d="M256 0C158.8 0 80 78.8 80 176s176 336 176 336 176-238.8 176-336S353.2 0 256 0zm0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112zm48-112c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48z" />',viewBox:"0 0 512 512"},zl={name:"pin",content:'<path d="M320 256V96c0-17.6-14.4-32-32-32h-96c-17.6 0-32 14.4-32 32v160H96v32h128v160h32V288h128v-32h-64zm-128 0V96h64v160h-64z" />',viewBox:"0 0 512 512"},_l={name:"unpin",content:'<path d="M256 320h160c17.6 0 32-14.4 32-32v-96c0-17.6-14.4-32-32-32H256V96h-32v128H64v32h160v128h32v-64zm0-128h160v64H256v-64z" />',viewBox:"0 0 512 512"},El={name:"share",content:'<path d="M480 432c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-10.6 2.1-20.7 5.8-30l-158.6-88.1C152.9 327.6 133.4 336 112 336c-44.2 0-80-35.8-80-80s35.8-80 80-80c21.4 0 40.9 8.4 55.2 22.1L325.8 110c-3.8-9.3-5.8-19.4-5.8-30 0-44.2 35.8-80 80-80s80 35.8 80 80-35.8 80-80 80c-22 0-41.9-8.9-56.4-23.3l-158 87.8c4.1 9.7 6.4 20.3 6.4 31.5s-2.3 21.8-6.4 31.5l158 87.8C358.1 360.9 378 352 400 352c44.2 0 80 35.8 80 80z" />',viewBox:"0 0 512 512"},Il={name:"user",content:'<path d="M352 128c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96zm-96 128c-106 0-192 86-192 192 0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32 0-106-86-192-192-192z" />',viewBox:"0 0 512 512"},Sl={name:"inbox",content:'<path d="M384 32H128L32 288v160c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V288L384 32zM150.2 64h211.6l84 224H352l-32 64H192l-32-64H66.2l84-224z" />',viewBox:"0 0 512 512"},Ml={name:"blogger",content:'<path d="M188.9 64C119.9 64 64 119.5 64 188v136.1C64 392.5 119.9 448 188.9 448h134.4c69 0 124.7-55.5 124.7-123.9v-87.9c0-13.7-11-28.2-24.8-28.2h-21.5c-13.2 0-24.7-11.2-25.6-24 0-68.5-55.2-120-124.2-120h-63zm-4.9 96h72c13.2 0 24 10.8 24 24s-10.8 24-24 24h-72c-13.2 0-24-10.8-24-24s10.8-24 24-24zm0 144h144c13.2 0 24 10.8 24 24s-10.8 24-24 24H184c-13.2 0-24-10.8-24-24s10.8-24 24-24z" />',viewBox:"0 0 512 512"},Ol={name:"blogger-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-31 280.7c0 57.1-46.6 103.3-104.2 103.3H200.4C142.7 416 96 369.8 96 312.7V199.3C96 142.2 142.7 96 200.4 96h52.1C310 96 356 138.9 356 196c.7 10.7 10.4 20 21.4 20h18c11.5 0 20.7 12.1 20.6 23.5l1 73.2zM196 216h60c11 0 20-9 20-20s-9-20-20-20h-60c-11 0-20 9-20 20s9 20 20 20zm120 80H196c-11 0-20 9-20 20s9 20 20 20h120c11 0 20-9 20-20s-9-20-20-20z" />',viewBox:"0 0 512 512"},Rl={name:"delicious",content:'<path d="M256 32h224v224H256V32zM32 256h224v224H32V256z" />',viewBox:"0 0 512 512"},Hl={name:"delicious-box",content:'<path d="M480 448V64c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32zm-224-32V256H96V96h160v160h160v160H256z" />',viewBox:"0 0 512 512"},Fl={name:"digg",content:'<path d="M96 96v64H32v160h96V96H96zm64 0v32h32V96h-32zm0 64v160h32V160h-32zm64 0v160h64v32h-64v32h96V160h-96zm128 0v160h64v32h-64v32h96V160h-96zM64 192h32v96H64v-96zm192 0h32v96h-32v-96zm128 0h32v96h-32v-96z" />',viewBox:"0 0 512 512"},Dl={name:"digg-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM160 203.5V352H64V192h64v-64h32v75.5zM212 352h-32V192h32v160zm0-192h-32v-32h32v32zm119 153.7V416h-96v-32h64v-32h-64V192h96v121.7zm117 0V416h-96v-32h64v-32h-64V192h96v121.7zM96 224h32v96H96v-96zm171 0h32v96h-32v-96zm117 0h32v96h-32v-96z" />',viewBox:"0 0 512 512"},Al={name:"envelop",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm23.7 32L256 296.3 424.3 128c11 2.9 19.7 11.6 22.6 22.6L342.6 254.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L320 277.5l-64 64-64-64L87.7 381.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L65.1 150.6c2.9-11 11.6-19.7 22.6-22.6z" />',viewBox:"0 0 512 512"},Vl={name:"envelop-box",content:'<path d="m377 182.4-88.8 88.8-31.2 29-33.2-29-88.8-88.8c-7.7 2-13.8 8.1-15.8 15.8l73 73-73 73c2 7.7 8.1 13.8 15.8 15.8l73-73 49 44.8 47-44.8 73 73c7.7-2 13.8-8.1 15.8-15.8l-73-73 73-73c-2-7.7-8.1-13.8-15.8-15.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-32 329.6c0 12.4-10 22.4-22.4 22.4H118.4C106 384 96 374 96 361.6V182.4c0-12.4 10-22.4 22.4-22.4h275.2c12.4 0 22.4 10 22.4 22.4v179.2z" />',viewBox:"0 0 512 512"},Bl={name:"facebook",content:'<path d="M290 32c-59.8 0-96 32-96 96v64h-66v96h66v192h96V288h80l14-96h-94v-32c0-32 32-32 32-32h62V34.9c-7.2-.9-65.4-2.9-94-2.9z" />',viewBox:"0 0 512 512"},Nl={name:"facebook-box",content:'<path d="M57.6 32C43.6 32 32 43.5 32 57.6v396.8c0 14 11.5 25.6 25.6 25.6h396.8c14 0 25.6-11.5 25.6-25.6V57.6c0-14-11.5-25.6-25.6-25.6H57.6zm315.8 65.5c24.1 0 42 2.3 42 2.3L414 155s-18.2-.2-38.1-.2c-21.5 0-24.9 9.9-24.9 26.1V224h64.1l-2.8 59H351v165h-63V283h-44v-59h44v-50.5c0-39.6 25.8-76 85.4-76z" />',viewBox:"0 0 512 512"},Ll={name:"google",content:'<path d="M268.3 33c-16.1-1-33.4 1-52 4.9s-36.4 12.8-53.2 26.5c-12.6 11-21.9 23.4-28.3 37.3-6.3 13.9-9.4 27.7-9.4 41.5 0 11.4 2.1 22.7 6.5 33.8 4.3 11.1 10.6 21.1 18.8 29.7 8.2 8.6 18.4 15.6 30.6 20.9 12.2 5.3 26.1 7.9 41.8 7.9 3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3-1.2 3.3-1.8 7.6-1.8 12.6 0 9 1.9 16.5 5.6 22.6s7.7 11.9 12 17.4c-6.7.4-14.5 1-23.5 1.8s-18.6 2.1-28.8 4.1-20.5 4.6-30.9 7.9-20.1 7.7-29.1 13.2c-17.2 10.2-29.1 22-35.6 35.6-6.5 13.6-9.7 25.6-9.7 36.2 0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7c10.6 7.9 23.8 14.1 39.7 18.8 15.9 4.7 34.4 7 55.5 7 25.1 0 47.3-3.2 66.7-9.7s35.6-14.9 48.5-25.3 22.7-22.3 29.4-35.6c6.7-13.3 10-26.9 10-40.6 0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2-4.5-6.3-9.8-12.2-15.9-17.7s-12.3-11-18.5-16.5l-21.1-16.5c-3.2-2.8-6.5-6-10-9.7s-5.3-8.9-5.3-15.6c0-6.7 1.8-12.2 5.3-16.5s7.2-8.4 11.2-12.4c6.2-4.7 12.4-9.7 18.2-15 5.9-5.3 11.2-11.2 15.9-17.6 4.7-6.5 8.4-13.8 11.2-22.1 2.7-8.2 4.1-17.9 4.1-28.8s-1.5-20.8-4.7-29.5c-3.1-8.6-6.8-16.2-11.2-22.7-4.3-6.5-8.8-12-13.5-16.5S315.3 52 315.3 52H352l31.7-20-115.4 1zm-37.1 17.8c12.2 0 22.8 3.6 32 10.9s17 16.4 23.2 27.5c6.2 11 11 22.8 14.1 35.4s4.7 24.2 4.7 34.8c0 5.5-.8 12.4-2.3 20.7s-5.7 15.7-12.4 22.4c-4.7 4.7-10.7 8.7-18 11.8-7.3 3.2-14.6 4.7-22 4.7-12.5 0-23.4-3.6-32.6-10.9-9.2-7.3-16.9-16.3-22.9-26.8-6.1-10.6-10.6-22-13.5-34.2s-4.4-23.2-4.4-33.1c0-7.9.9-15.5 2.7-23S185 76.6 190 70.3c4.7-5.9 10.8-10.6 18.2-14.1 7.5-3.6 15.1-5.4 23-5.4zM260 314h7.3c1.8 0 3.8.2 6.2.6 11 7.8 20.6 14.9 28.8 21.2 8.2 6.2 14.9 12.4 20 18.2 5.1 5.9 8.9 11.8 11.5 18 2.5 6 3.8 12.8 3.8 20.3 0 18.4-7.3 33.6-22 45.6-14.7 11.9-36.2 17.9-64.4 17.9-31.8 0-57-6.7-75.6-20s-27.9-30.6-27.9-51.7c0-10.6 2.1-19.4 6.2-26.5 4.1-7 8.9-12.9 14.4-17.6s11.1-8.3 16.8-10.8c5.7-2.6 10.1-4.4 13.2-5.6 6.3-2 12.7-3.6 19.4-5s12.9-2.4 18.8-3c5.9-.6 11-1 15.3-1.2 4.2-.2 7-.3 8.2-.4z" />',viewBox:"0 0 512 512"},Pl={name:"google-box",content:'<path d="M212.6 236.1c5.1-5.1 8.2-10.8 9.4-17.1s1.8-11.6 1.8-15.8c0-8.1-1.2-17-3.6-26.6s-6-18.6-10.8-27-10.7-15.4-17.7-21-15.2-8.4-24.4-8.4c-6 0-11.8 1.3-17.5 4.1s-10.3 6.3-13.9 10.8c-3.9 4.8-6.5 10-7.8 15.7s-2 11.6-2 17.6c0 7.5 1.1 15.9 3.4 25.2 2.3 9.3 5.7 18 10.3 26.1s10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3 5.7 0 11.3-1.2 16.8-3.6s10-5.2 13.6-8.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM270.9 394.1c-5.1 10.2-12.6 19.3-22.4 27.2s-22.2 14.4-37 19.4c-14.8 4.9-31.8 7.4-50.9 7.4-16.2 0-30.3-1.8-42.4-5.4s-22.2-8.4-30.3-14.4-14.1-12.8-18-20.4-5.9-15.6-5.9-24c0-8.1 2.5-17.2 7.4-27.6s14-19.4 27.2-27.2c6.8-4.2 14.3-7.6 22.2-10.1s15.8-4.6 23.6-6c7.8-1.5 15.1-2.5 22-3.1s12.9-1.1 18-1.3c-3.3-4.2-6.4-8.6-9.2-13.3s-4.3-10.4-4.3-17.3c0-3.9.4-7.1 1.3-9.7s1.9-5.2 3.1-7.9c-2.4.3-4.8.5-7.2.7s-4.8.2-7.2.2c-12 0-22.6-2-31.9-6-9.3-4-17.1-9.3-23.4-15.9-6.3-6.6-11.1-14.1-14.3-22.7s-4.9-17.2-4.9-25.8c0-10.5 2.4-21 7.2-31.6s12-20.1 21.6-28.5c12.8-10.5 26.4-17.2 40.6-20.2s27.5-4.5 39.7-4.6H288l-28.7 16h-27.8c2.7 1.9 5.8 4.7 9.4 8.1 3.6 3.5 7 7.6 10.3 12.6s6.1 10.7 8.5 17.3 3.6 14.1 3.6 22.5-1.1 15.7-3.1 22c-2.1 6.3-4.9 11.9-8.5 16.9s-7.6 9.4-12.1 13.5-9.2 7.9-13.9 11.5c-3 3-5.9 6.1-8.5 9.4s-4 7.5-4 12.6 1.3 9.1 4 11.9 5.2 5.3 7.6 7.4l16.2 12.6c4.8 4.2 9.5 8.4 14.1 12.6 4.6 4.2 8.7 8.7 12.1 13.5 3.5 4.8 6.2 10.1 8.3 16.2s3.2 12.9 3.2 20.7c-.1 10.2-2.6 20.5-7.8 30.8zm-34.1-42.6c-3.9-4.5-9-9.1-15.3-13.9s-13.6-10.2-22-16.2c-1.8-.3-3.4-.4-4.7-.4h-5.6c-.9 0-3 .1-6.3.2s-7.2.4-11.7.9-9.3 1.2-14.3 2.3-10 2.3-14.8 3.8c-2.4.9-5.8 2.3-10.1 4.3s-8.6 4.7-12.8 8.3-7.8 8.1-11 13.5c-3.1 5.4-4.7 12.1-4.7 20.2 0 16.2 7.1 29.3 21.3 39.5s33.4 15.3 57.7 15.3c21.5 0 37.9-4.5 49.2-13.7s16.8-20.7 16.8-34.8c0-5.7-1-10.8-2.9-15.5s-4.9-9.3-8.8-13.8z" />',viewBox:"0 0 512 512"},Tl={name:"google-plus",content:'<path d="M204.3 33c-16.1-1-33.4 1-52 4.9s-36.4 12.8-53.2 26.5c-12.6 11-22 23.4-28.3 37.3s-9.4 27.7-9.4 41.5c0 11.4 2.1 22.7 6.5 33.8 4.3 11.1 10.6 21.1 18.8 29.7 8.2 8.6 18.4 15.6 30.6 20.9 12.2 5.3 26.1 7.9 41.8 7.9 3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3-1.2 3.3-1.8 7.6-1.8 12.6 0 9 1.9 16.5 5.6 22.6s7.7 11.9 12 17.4c-6.7.4-14.5 1-23.5 1.8s-18.6 2.1-28.8 4.1-20.5 4.6-30.9 7.9-20.1 7.7-29.1 13.2c-17.2 10.2-29.1 22-35.6 35.6-6.5 13.6-9.7 25.6-9.7 36.2 0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7C73.8 462 87 468.3 102.9 473s34.4 7 55.6 7c25.1 0 47.3-3.2 66.7-9.7s35.6-14.9 48.5-25.3 22.7-22.3 29.4-35.6c6.7-13.3 10-26.9 10-40.6 0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2-4.5-6.3-9.8-12.2-15.9-17.7s-12.3-11-18.5-16.5l-21.2-16.5c-3.2-2.8-6.5-6-10-9.7s-5.3-8.9-5.3-15.6c0-6.7 1.8-12.2 5.3-16.5s7.2-8.4 11.2-12.4c6.2-4.7 12.4-9.7 18.2-15 5.9-5.3 11.2-11.2 15.9-17.6 4.7-6.5 8.4-13.8 11.2-22.1 2.7-8.2 4.1-17.9 4.1-28.8s-1.5-20.8-4.7-29.5c-3.1-8.6-6.8-16.2-11.2-22.7-4.3-6.5-8.8-12-13.5-16.5S251.3 52 251.3 52H288l31.7-20-115.4 1zm-37 17.8c12.2 0 22.8 3.6 32 10.9s17 16.4 23.2 27.5c6.2 11 11 22.8 14.1 35.4s4.7 24.2 4.7 34.8c0 5.5-.8 12.4-2.3 20.7-1.6 8.3-5.7 15.7-12.4 22.4-4.7 4.7-10.7 8.7-18 11.8-7.3 3.2-14.6 4.7-22 4.7-12.5 0-23.4-3.6-32.6-10.9-9.2-7.3-16.9-16.3-22.9-26.8-6.1-10.6-10.6-22-13.5-34.2s-4.4-23.2-4.4-33.1c0-7.9.9-15.5 2.7-23S121 76.6 126 70.3c4.7-5.9 10.8-10.6 18.2-14.1 7.5-3.6 15.2-5.4 23.1-5.4zM196.1 314h7.3c1.8 0 3.8.2 6.2.6 11 7.8 20.6 14.9 28.8 21.2 8.2 6.2 14.9 12.4 20 18.2 5.1 5.9 8.9 11.8 11.5 18 2.5 6 3.8 12.8 3.8 20.3 0 18.4-7.3 33.6-22 45.6-14.7 11.9-36.2 17.9-64.4 17.9-31.8 0-57-6.7-75.6-20s-27.9-30.6-27.9-51.7c0-10.6 2.1-19.4 6.2-26.5s8.9-12.9 14.4-17.6 11.1-8.3 16.8-10.8c5.7-2.6 10.1-4.4 13.2-5.6 6.3-2 12.7-3.6 19.4-5s12.9-2.4 18.8-3c5.9-.6 11-1 15.3-1.2 4.2-.2 6.9-.3 8.2-.4zM384 32v64h-64v32h64v64h32v-64h64V96h-64V32h-32z" />',viewBox:"0 0 512 512"},jl={name:"google-plus-box",content:'<path d="M212.6 236.1c5.1-5.1 8.2-10.8 9.4-17.1s1.8-11.6 1.8-15.8c0-8.1-1.2-17-3.6-26.6s-6-18.6-10.8-27-10.7-15.4-17.7-21-15.2-8.4-24.4-8.4c-6 0-11.8 1.3-17.5 4.1s-10.3 6.3-13.9 10.8c-3.9 4.8-6.5 10-7.8 15.7s-2 11.6-2 17.6c0 7.5 1.1 15.9 3.4 25.2 2.3 9.3 5.7 18 10.3 26.1s10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3 5.7 0 11.3-1.2 16.8-3.6s10-5.2 13.6-8.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM270.9 394.1c-5.1 10.2-12.6 19.3-22.4 27.2s-22.2 14.4-37 19.4c-14.8 4.9-31.8 7.4-50.9 7.4-16.2 0-30.3-1.8-42.4-5.4s-22.2-8.4-30.3-14.4-14.1-12.8-18-20.4-5.9-15.6-5.9-24c0-8.1 2.5-17.2 7.4-27.6s14-19.4 27.2-27.2c6.8-4.2 14.3-7.6 22.2-10.1s15.8-4.6 23.6-6c7.8-1.5 15.1-2.5 22-3.1s12.9-1.1 18-1.3c-3.3-4.2-6.4-8.6-9.2-13.3s-4.3-10.4-4.3-17.3c0-3.9.4-7.1 1.3-9.7s1.9-5.2 3.1-7.9c-2.4.3-4.8.5-7.2.7s-4.8.2-7.2.2c-12 0-22.6-2-31.9-6-9.3-4-17.1-9.3-23.4-15.9-6.3-6.6-11.1-14.1-14.3-22.7s-4.9-17.2-4.9-25.8c0-10.5 2.4-21 7.2-31.6s12-20.1 21.6-28.5c12.8-10.5 26.4-17.2 40.6-20.2s27.5-4.5 39.7-4.6H288l-28.7 16h-27.8c2.7 1.9 5.8 4.7 9.4 8.1 3.6 3.5 7 7.6 10.3 12.6s6.1 10.7 8.5 17.3 3.6 14.1 3.6 22.5-1.1 15.7-3.1 22c-2.1 6.3-4.9 11.9-8.5 16.9s-7.6 9.4-12.1 13.5-9.2 7.9-13.9 11.5c-3 3-5.9 6.1-8.5 9.4s-4 7.5-4 12.6 1.3 9.1 4 11.9 5.2 5.3 7.6 7.4l16.2 12.6c4.8 4.2 9.5 8.4 14.1 12.6 4.6 4.2 8.7 8.7 12.1 13.5 3.5 4.8 6.2 10.1 8.3 16.2s3.2 12.9 3.2 20.7c-.1 10.2-2.6 20.5-7.8 30.8zM448 192h-64v64h-32v-64h-64v-32h64V96h32v64h64v32zM236.8 351.5c-3.9-4.5-9-9.1-15.3-13.9s-13.6-10.2-22-16.2c-1.8-.3-3.4-.4-4.7-.4h-5.6c-.9 0-3 .1-6.3.2s-7.2.4-11.7.9-9.3 1.2-14.3 2.3-10 2.3-14.8 3.8c-2.4.9-5.8 2.3-10.1 4.3s-8.6 4.7-12.8 8.3-7.8 8.1-11 13.5c-3.1 5.4-4.7 12.1-4.7 20.2 0 16.2 7.1 29.3 21.3 39.5s33.4 15.3 57.7 15.3c21.5 0 37.9-4.5 49.2-13.7s16.8-20.7 16.8-34.8c0-5.7-1-10.8-2.9-15.5s-4.9-9.3-8.8-13.8z" />',viewBox:"0 0 512 512"},Ul={name:"linkedin",content:'<path d="M112 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zM64 160v288h96V160H64zm128 0v288h96V288c0-32 32-32 32-32s32 0 32 32v160h96V290.9c0-66.5-13.6-130.9-96-130.9-36.2 0-62.9 32-64 44.9V160h-96z" />',viewBox:"0 0 512 512"},Wl={name:"linkedin-box",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zM160 416H96V192h64v224zm-32-256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm288 256h-64V288c0-17.7-14.3-32-32-32s-32 14.3-32 32v128h-64V192h64v39.7c13.2-18.1 33.4-39.7 56-39.7 39.8 0 72 35.8 72 80v144z" />',viewBox:"0 0 512 512"},Kl={name:"myspace",content:'<path d="M400 64c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm-176 64c-35.4 0-64 28.6-64 64s28.6 64 64 64 64-28.6 64-64-28.6-64-64-64zM80 192c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm320 64c-44.2 0-80 36.1-80 80.5V448h160V336.5c0-44.5-35.8-80.5-80-80.5zm-176 32c-35.4 0-64 31.5-64 70.3V448h128v-89.7c0-38.8-28.6-70.3-64-70.3zM80 320c-26.5 0-48 21.8-48 48.7V448h96v-79.3c0-26.9-21.5-48.7-48-48.7z" />',viewBox:"0 0 512 512"},ql={name:"myspace-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 416H64v-63.5c0-17.9 14.3-32.5 32-32.5s32 14.5 32 32.5V416zM96 288c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm160 128h-96v-75.3c0-29.1 21.5-52.7 48-52.7s48 23.6 48 52.7V416zm-48-160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm208 160H288v-92.9c0-37.1 27.2-67.1 64-67.1s64 30 64 67.1V416zm-64-192c-35.4 0-64-28.6-64-64s28.6-64 64-64 64 28.6 64 64-28.6 64-64 64z" />',viewBox:"0 0 512 512"},Gl={name:"pinterest",content:'<path d="M250.7 32C126.6 32 64 119.7 64 192.7c0 44.3 17 83.6 53.5 98.3 6 2.4 11.4.1 13.1-6.4 1.2-4.5 4.1-15.9 5.3-20.7 1.8-6.5 1.1-8.7-3.7-14.3-10.5-12.2-17.2-28.1-17.2-50.5 0-65.1 49.4-123.3 128.6-123.3 70.2 0 108.7 42.2 108.7 98.6 0 74.2-33.3 136.8-82.8 136.8-27.3 0-47.8-22.2-41.2-49.6 7.9-32.6 23.1-67.8 23.1-91.3 0-21.1-11.5-38.7-35.2-38.7-27.9 0-50.4 28.5-50.4 66.6 0 24.3 8.3 40.7 8.3 40.7s-28.6 119.3-33.6 140.2c-10 41.6-1.5 92.7-.8 97.8.5 3 4.4 3.7 6.2 1.5 2.6-3.3 35.9-43.8 47.2-84.2 3.2-11.4 18.4-70.8 18.4-70.8 9.1 17.1 35.6 32.1 63.8 32.1 84 0 141-75.4 141-176.4C416 103 350.3 32 250.7 32z" />',viewBox:"0 0 512 512"},$l={name:"pinterest-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM276.6 327.3c-19.8 0-38.5-10.8-44.9-22.9 0 0-10.7 42.4-12.9 50.5-8 28.9-31.4 57.8-33.2 60.2-1.3 1.6-4.1 1.1-4.4-1.1-.5-3.7-6.5-40.1.5-69.9 3.5-14.9 23.6-100.2 23.6-100.2s-5.9-11.7-5.9-29.1c0-27.2 15.8-47.6 35.5-47.6 16.7 0 24.8 12.5 24.8 27.6 0 16.8-10.7 41.9-16.2 65.2-4.6 19.5 9.8 35.4 29 35.4 34.8 0 58.3-44.7 58.3-97.7 0-40.3-27.1-70.4-76.5-70.4-55.7 0-90.5 41.6-90.5 88 0 16 4.7 27.3 12.1 36.1 3.4 4 3.9 5.6 2.6 10.2-.9 3.4-2.9 11.5-3.7 14.8-1.2 4.6-5 6.3-9.2 4.6-25.6-10.4-37.6-38.5-37.6-70.2C128 158.6 172 96 259.4 96c70.2 0 116.4 50.8 116.4 105.3-.1 72.1-40.2 126-99.2 126z" />',viewBox:"0 0 512 512"},Yl={name:"reddit",content:'<path d="M420.3 33c-7 0-14.5 1-22.4 3h-1.7c-12.4 4.8-21.9 12.3-28.8 22.5-17-7-34-10.4-50.7-10.4-6.3 0-12.6.6-19.1 1.9H296c-8.8 2.1-16.5 5.8-23.3 11s-12.4 11.6-16.6 19.1c-5.3 8.7-8.9 31.3-10.5 41.1-1.7 9.8-2.6 25-2.6 34.7-20.9 1.5-41.8 4.5-62.8 9.1s-40.6 11.9-59 21.9c-1.3.4-2.5.9-3.5 1.3s-2 .9-2.9 1.3c-6.2-4.5-13-8-20.5-10.6-7.8-2.6-16.1-3.9-24.9-3.9h-5.8c-8.7 0-16.7 1.6-24.1 4.8s-14.1 7.7-20.3 13.4c-5.8 5.8-10.3 12.2-13.9 19.4-3.6 7.3-5.3 14.8-5.3 22.7.4 10.8 4.4 21.3 11.8 31.4 5.7 8.3 13.8 15.4 24.3 21.1-.5 2.1-.7 4.4-1 6.8-.2 2.5-.3 4.8-.3 6.9 0 10 1.5 20 4.5 30.1 3 10.1 7.4 19.4 13.1 28.1 10.9 16.6 24.5 30.5 40.9 41.6 16.4 11 33.8 20.2 52.1 27.2 17.5 6.6 35.5 11.6 54 14.8 18.6 3.3 37.4 5 56.6 5 12.5 0 25.1-.8 37.5-2.4 12.5-1.6 25-3.7 37.6-6.3 23.2-5.5 45.5-13.9 66.8-25.1s39.4-26 54.3-44.3c17.1-20.5 25.6-43.4 25.6-68.8 0-2.6-.1-5.1-.4-7.5-.3-2.4-.5-4.7-.9-6.8 10-4.9 18.3-11.9 24.9-21.1 7.1-9.6 10.6-20.3 10.6-32v-3c-1.2-13.4-6.8-25.1-16.3-34.9-9.8-10-21.2-16.7-34.2-20.1h-.6c-6-1.3-11.6-1.9-16.9-1.9-14.1-.2-26.6 3.2-37.4 10.2-2.3 1.1-5.2 2.8-8.6 5.4-.8-.9-1.8-1.3-2.6-1.3l-.7-.6c-18.2-9.6-37.5-16.9-57.7-21.8-20.1-4.9-40.6-8-61.6-9.3 0-7.7.7-34.2 1.8-41.9s3.7-14.8 7.5-21.4c4.9-9.6 13.4-15.1 25.6-16.4h5.8c7.4 0 14.7 1.1 21.7 3 7.1 2 14.1 4.3 21.2 6.9v1.9c0 7.5 1.5 14.2 4.5 20.3 2.9 6 6.9 11.6 11.8 16.5 10.3 10.4 22.8 16.3 37.7 17.5h7.3c14.9 0 28.1-4.8 39.8-14.4 5.3-4.4 9.7-9.6 13.1-15.5s5.5-12.5 6.4-20c.4-1.3.6-3.2.6-5.8.2-11-3.3-21.4-10.3-30.9-7.1-9.2-15.8-15.7-26.2-19.5h-.5c-6.5-2.7-14.1-4.1-22.9-4zm1.2 27.4c7.2.1 13.2 2.7 18.3 7.7C446 73 449 79.2 449 86.7V88c-.8 6.8-3.9 12.7-9.3 17.6-5.5 4.9-11.9 7.4-19.1 7.4h-1.9c-7.1 0-13.4-2.5-19.4-7.4-5.5-4.7-8.3-10.6-8.3-17.6v-1.3c0-6.6 2.1-12.1 6.5-16.6 3.8-4.7 8.9-7.7 15.1-8.9 2-.4 4.4-.6 7.5-.6.4-.2.9-.2 1.4-.2zm-165 125.7c10 0 20.3.5 30.8 1.6 10.6 1.1 20.9 2.7 30.8 4.8l9.9 2.6 10.2 2.6c17.5 4.9 34.1 11.9 49.9 21.1 15.8 9.2 29 20.8 40 34.9 5.1 7.3 9.2 14.9 12.3 23 3.1 8.1 4.6 16.5 4.6 25.3v7.6c0 2.3-.4 4.6-1.3 6.7-2.8 12.4-8.5 24-17.3 34.9-7.4 10-17 19.2-28.8 27.5-17.5 11.7-36.4 20.7-56.9 26.9-20.4 6.2-41.3 10.1-62.7 11.8-3.6.5-7.3.6-10.8.6h-10.8c-21.3 0-42.4-2.2-63.1-6.6-20.8-4.4-40.3-11.4-58.6-21l-4.5-2.6-4.8-2.2c-13-8.3-24.4-17.5-34.5-27.5-10.2-11.5-17.2-24-21.1-37.4-1.7-5.2-2.6-11.2-2.6-18.2 0-18.1 5.6-34.2 16.9-48.3 11-14.1 24.4-25.8 40.1-35.2s32.2-16.5 49.7-21.4c26.2-7.7 53.7-11.6 82.6-11.5zM65.7 204h3.2c3.2 0 6.1.4 8.8 1.3 2.6.9 5.4 1.7 8.4 2.6-8.7 7-16.5 14.6-23.5 22.7-6.9 8.1-12.8 17-17.7 26.6-2.8-2-5.2-4.8-7.4-8.6-3-3.5-4.5-7.8-4.5-13.1v-2.1c.7-7.7 4-14.4 10.3-20.2 7.1-5.3 14.6-8.3 22.4-9.2zm377.6-.4c6.4 0 12.7 1.5 18.9 4.4 6.1 3.5 10.8 7.8 13.7 13.2 2.1 4.5 3.2 8.6 3.2 12.5 0 5.3-1.2 10.1-3.8 14.4-2.4 3.6-5 6.7-8 9.2-4.7-10-10.6-19.1-17.6-27.2-7-8.1-14.9-15.6-23.6-22.7 5.3-2.6 11-3.8 17.2-3.8zm-107.6 43.2c-3.6 0-7.4.7-11.2 1.9-6.2 2.2-11.2 5.9-15 11.2-4 4.7-6.1 10.3-6.1 16.9 0 2.4.2 4.2.6 5.5v.6c1.3 7.5 5.1 13.1 11.2 17 6.2 4.7 13.2 7 21.1 7 2.5 0 5.5-.6 9-1.9h.9c5.6-1.1 11-4.5 16.3-10.2 3.8-5.3 5.8-11.4 5.8-18 0-3-.6-6.2-2-9.6-1.6-6.2-5.6-11.3-11.8-15.3-5.9-3.3-12.2-5.1-18.8-5.1zm-158.8-.1c-2.6 0-4.7.2-6.3.7-5.8.9-10.8 3.1-15.2 6.9-4.4 3.7-7.4 8.3-9.1 13.6-.9 1.2-1.3 2.7-1.3 4.1v4.2c0 7 1.9 13.2 5.8 18.6 4.2 5.1 9.6 8.5 16.3 10.2 3 1.2 6.3 1.9 9.9 1.9 8.3 0 15.8-2.8 22.4-8.3 7.1-5.7 10.6-12.8 10.6-21.1v-2c0-7.9-3.3-14.6-9.9-20.1-7.2-5.8-14.9-8.7-23.2-8.7zm-1.6 94c-1.2 0-3.2.5-5.7 1.3h-.8c-2.6.8-5 2.7-7.3 5.7-1.2 2.1-1.9 4.8-1.9 8 0 2.6.6 5.2 1.9 8 1.3 2.2 3.2 3.9 5.8 5.1 24.5 15.4 51.4 23.1 80.7 23.1h4.8c14.1 0 27.8-1.3 41-4s26.1-6.9 38.5-12.6c1.7-.9 3.5-1.7 5.4-2.6 1.9-.8 3.9-1.9 6-3.2 2.2-.9 4-2.1 5.5-3.8 2.1-2.1 3.3-4.4 3.8-6.8.4-.8.7-1.9.7-3.2 0-1.3-.4-3.2-1.3-5.8-1.3-3.2-3.5-5.4-6.4-6.7-3.3-1.7-6.2-2.6-8.6-2.6-2.5 0-5.3.6-8 2-23.2 13-48.6 19.6-76 19.8-20.4 0-39.5-3.9-57-11.8-2.5-.9-5.7-2.9-9.2-6.1-.9-.4-1.8-.8-2.8-1.3-1-.5-2.2-.9-3.3-1.3-2.7-.8-4.6-1.3-5.8-1.2z" />',viewBox:"0 0 512 512"},Zl={name:"reddit-box",content:'<path d="M111.1 244.9c-5.2 6.1-9.6 12.7-13.2 19.9-2.1-1.5-3.9-3.6-5.5-6.5-2.3-2.6-3.4-5.9-3.4-9.8v-1.4c.5-5.8 3-10.8 7.7-15.1 5.3-4 10.9-6.3 16.8-7h2.4c2.4 0 4.6.3 6.6 1 2 .6 4.1 1.3 6.3 1.9a124.3 124.3 0 0 0-17.7 17zm252.1-94.3c4.4 3.7 9.1 5.4 14.4 5.4h1.4c5.3 0 10-1.8 14.2-5.4 4-3.7 6.3-8 6.9-13.1v-1c0-5.5-2.3-10.1-6.9-13.8-3.8-3.8-8.3-5.6-13.6-5.7h-1.1c-2.2 0-4.1.1-5.5.5-4.6.9-8.4 3.2-11.2 6.6-3.3 3.4-4.8 7.4-4.8 12.4v1c0 5.1 2 9.5 6.2 13.1zM394.5 279c2.3 6.1 3.5 12.4 3.5 19v5.7c0 1.8-.3 3.4-1 5-2.1 9.3-6.4 18-13 26.2-5.6 7.5-12.8 14.4-21.6 20.6-13.1 8.8-27.3 15.5-42.7 20.2-15.4 4.7-31 7.6-47 8.9-2.7.4-5.5.5-8.1.5h-8.1c-16 0-31.8-1.6-47.4-4.9s-30.2-8.5-44-15.7l-3.4-1.9-3.6-1.7c-9.8-6.2-18.3-13.1-25.8-20.6-7.7-8.6-12.9-18-15.8-28.1-1.3-3.9-1.9-8.4-1.9-13.7 0-13.6 4.2-25.7 12.7-36.3 8.3-10.6 18.3-19.3 30.1-26.4 11.8-7 24.2-12.4 37.3-16.1 19.6-5.7 40.2-8.7 61.8-8.7h.1c7.5 0 15.2.4 23.1 1.2s15.6 2 23.1 3.6l7.4 1.9 7.7 1.9c13.1 3.7 25.6 9 37.4 15.8 11.9 6.9 21.8 15.6 30 26.2 3.8 5.6 6.9 11.4 9.2 17.4zm-205.9 21.9c2.3.9 4.7 1.4 7.5 1.4 6.3 0 12-2.1 16.9-6.3 5.3-4.3 8-9.7 8-15.9v-1.5c0-5.9-2.5-11-7.5-15.2-5.3-4.3-11.2-6.6-17.4-6.6-1.9 0-3.5.1-4.7.5-4.3.6-8.2 2.3-11.5 5.2-3.3 2.8-5.5 6.3-6.9 10.3-.7.9-1 2-1 3.1v3.1c0 5.3 1.4 10 4.3 14 3.3 4 7.3 6.7 12.3 7.9zm139.5 38.2c0-1-.3-2.4-1-4.3-1-2.4-2.6-4.1-4.7-4.9-2.5-1.3-4.6-1.9-6.4-1.9-1.9 0-4 .5-5.9 1.5-17.2 9.6-36 14.5-56.2 14.7-15.1 0-29.3-3-42.2-8.8-1.9-.6-4.2-2.2-6.8-4.6-.6-.3-1.3-.6-2.1-1s-1.6-.6-2.4-1c-1.9-.6-3.4-1-4.3-1v.1c-.9 0-2.4.4-4.3 1h-.5c-1.9.6-3.7 2-5.4 4.3-.9 1.6-1.4 3.6-1.4 5.9 0 1.9.5 3.9 1.4 5.9 1 1.6 2.4 2.9 4.3 3.8 18.2 11.4 38.1 17.1 59.8 17.1h3.6c10.5 0 20.6-1 30.4-3 9.8-2 19.3-5.1 28.5-9.4 1.2-.6 2.6-1.3 4.1-1.9 1.4-.6 3-1.4 4.5-2.4 1.6-.7 3-1.6 4.1-2.9 1.6-1.6 2.5-3.3 2.9-5-.2-.4 0-1.2 0-2.2zm12.2-59.2c0-2.2-.5-4.6-1.5-7.2-1.2-4.6-4.2-8.4-8.8-11.5-4.5-2.6-9.2-3.9-14.1-3.9-2.7 0-5.5.5-8.4 1.4-4.6 1.6-8.4 4.4-11.3 8.4-3 3.5-4.6 7.8-4.6 12.7 0 1.8.2 3.1.4 4.1v.5c1 5.6 3.8 9.8 8.4 12.7 4.6 3.5 9.9 5.3 15.8 5.3 1.9 0 4.1-.5 6.7-1.4h.7c4.2-.8 8.2-3.4 12.2-7.7 3-3.9 4.5-8.4 4.5-13.4zM480 64v384c0 17.6-14.4 32-32 32H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32zm-32.3 181c-.9-10.3-5.2-19.1-12.4-26.6-7.4-7.6-16.2-12.7-26-15.4h-.1c-4.5-1-8.7-1.4-12.7-1.4-10.6-.2-19.8 2.4-28 7.7-1.7.8-3.9 2.1-6.5 4.1-.6-.6-1.3-1-1.9-1l-.5-.5c-13.7-7.2-28-12.7-43.1-16.3-15.1-3.7-30.4-6-46.1-7 0-5.8.5-25.5 1.4-31.3.9-5.8 2.8-11.1 5.6-16.1 3.6-7.2 10.1-11.3 19.1-12.3h4.3c5.6 0 11 .8 16.3 2.3s10.6 3.2 15.9 5.2v1.5c0 5.6 1.1 10.8 3.4 15.3 2.2 4.5 5.2 8.7 8.8 12.5 7.7 7.8 17.1 12.3 28.4 13.3h5.5c11.2 0 21.1-3.6 30.1-10.9 4-3.3 7.3-7.2 9.8-11.7 2.6-4.4 4.2-9.4 4.8-15.1.3-1 .5-2.4.5-4.3.2-8.3-2.4-16.2-7.7-23.4-5.3-6.9-11.9-11.9-19.7-14.7h-.5c-4.9-2.3-10.7-3.4-17.3-3.4-5.4 0-11.1.8-17.1 2.4h-.4c-9.7 3.8-17.1 9.7-22.5 17.6-13.3-5.4-26.5-8-39.5-8-4.9 0-9.9.5-14.9 1.4h.9c-6.6 1.6-12.4 4.4-17.5 8.3-5.1 3.9-9.3 8.7-12.5 14.3-4 6.5-6.6 23.5-7.9 30.9-1.3 7.3-1.9 18.7-1.9 26-15.7 1.1-31.3 3.4-47.2 6.8-15.7 3.5-30.4 8.9-44.2 16.4-1 .3-1.8.7-2.6 1s-1.5.6-2.2 1c-4.7-3.4-9.7-6-15.4-7.9-5.9-1.9-12.1-2.9-18.6-2.9h-4.3c-6.5 0-12.6 1.2-18.1 3.6s-10.6 5.8-15.2 10.1c-4.3 4.3-7.8 9.2-10.4 14.5-2.7 5.4-3.9 11-3.9 16.9.3 8.1 3.3 16 8.9 23.5 4.3 6.2 10.4 11.5 18.2 15.8-.4 1.6-.6 3.3-.7 5.1-.1 1.8-.2 3.6-.2 5.2 0 7.5 1.1 15 3.4 22.6 2.3 7.5 5.5 14.6 9.8 21.1 8.1 12.5 18.4 22.9 30.7 31.2s25.3 15.1 39.1 20.4c13.1 5 26.6 8.7 40.5 11.1 13.9 2.5 28.1 3.7 42.4 3.7 9.4 0 18.8-.6 28.1-1.8 9.4-1.2 18.8-2.8 28.2-4.7 17.4-4.1 34.1-10.4 50.2-18.8s29.5-19.5 40.8-33.2c12.8-15.4 19.2-32.6 19.2-51.7 0-1.9-.1-3.8-.3-5.6-.2-1.8-.4-3.6-.7-5.1 7.5-3.7 13.7-8.9 18.7-15.8 5.3-7.2 7.9-15.2 7.9-24V245h-.2zm-37.1-17c-4.7-2.2-9.4-3.3-14.1-3.3-4.6 0-8.9.9-12.9 2.9 6.5 5.3 12.5 10.9 17.7 17 5.3 6.1 9.7 12.9 13.2 20.4 2.2-1.9 4.2-4.2 6-6.9 1.9-3.2 2.9-6.8 2.9-10.8 0-2.9-.9-6-2.4-9.4-2.3-4-5.8-7.3-10.4-9.9z" />',viewBox:"0 0 512 512"},Xl={name:"stumble-upon",content:'<path d="m288.1 256 26.8 8.4L352 256v64c1.1 18.9 12.8 32 32 32s30.9-13.1 32-32v-64h64v64s0 96-96 96-96-96-96-96l.1-64zm26.8-23.2L288 224v-32s0-32-32-32-32 32-32 32v128s0 96-96 96-96-96-96-96v-64h64v64c1.1 18.9 12.8 32 32 32 19.1 0 30.9-13.2 32.1-32h-.1V192s0-96 96-96 96 96 96 96v32l-37.1 8.8z" />',viewBox:"0 0 512 512"},Jl={name:"stumble-upon-box",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm191.5 96.3c82.5 0 82.5 87.3 82.5 87.3v8.4l-31.9 8-23.1-8v-8.6s0-29.2-27.5-29.2-27.5 29.2-27.5 29.2v81.5s0 87-82 87-82-87-82-87V256h55v41h-.9c.9 17.2 11 29.1 27.5 29.1s26.6-12 27.6-29.1h-.2v-81.4s0-87.3 82.5-87.3zM283.1 256l23 7.6L338 256v40.7c.9 17.2 11 29.1 27.5 29.1s26.6-11.9 27.5-29.1V256h55v40.7s0 87.3-82.5 87.3-82.5-87.3-82.5-87.3l.1-40.7z" />',viewBox:"0 0 512 512"},Ql={name:"tell-a-friend",content:'<path d="M383.5 64c-31.7 0-57.5 24-57.5 53.5v2.1c0 14.9-12.2 30.3-28.5 33.3-5.5.5-9.9 4.8-9.9 10.1 0 2.6 1.1 5 2.9 6.8 13.3 10.5 28.3 22.2 92.5 22.2s80.1-11.7 93.3-22.2c1.8-1.8 2.9-4.1 2.9-6.8 0-5.3-4.3-9.6-9.9-10.1-16.3-3-28.5-18.4-28.5-33.3v-2.1c0-29-25-52.7-55.9-53.5h-.5.2-1.1c.2 0 0 0 0 0zm.6 0h.9-.9zM128 224c-64.9 0-96 70-96 128v96h192v-96c0-52.7-34-128-96-128zm256 0c-96 0-96 224-96 224h192s0-224-96-224zm-192-96c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64z" />',viewBox:"0 0 512 512"},ec={name:"tell-a-friend-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM144 96c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm80 320H64v-96c0-48.3 26-96 80.2-96 51.7 0 79.8 52.1 79.8 96v96zm223.6 0H288s0-192 80-192 79.6 192 79.6 192zm-2-240.7c-11.1 7.9-24.3 16.7-78 16.7s-66.3-8.8-77.3-16.7c-1.5-1.3-2.4-3.1-2.4-5.1 0-4 3.6-7.2 8.2-7.5 13.6-2.3 23.8-13.8 23.8-25v-1.6c0-22.1 21.4-40.1 48-40.1h.9c26.1.4 47.1 18.2 47.1 40.1v1.6c0 11.2 10.2 22.7 23.8 25 4.6.4 8.2 3.6 8.2 7.5.1 2-.8 3.8-2.3 5.1z" />',viewBox:"0 0 512 512"},tc={name:"tumblr",content:'<path d="M192.6 32c-2.8 23.1-8.1 42.1-15.7 57.1s-17.7 27.8-30.3 38.5-33 18.9-50.6 24.6V224h61v148.7c0 20.5 2.1 36.1 6.4 46.9s12 21 23.1 30.6c11.1 9.5 25 16.9 40.7 22.1s27.8 7.7 48.3 7.7c18 0 34.8-1.8 50.4-5.4 15.5-3.6 39.1-10.9 58.2-19.9V384c-22.3 14.8-51 22.9-73.7 22.9-12.8 0-24-3-33.9-8.9-7.5-4.4-14.3-12-17-19.2-2.8-7.4-2.4-22.3-2.4-48.2V224h96v-96h-96V32h-64.5z" />',viewBox:"0 0 512 512"},nc={name:"tumblr-box",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm-96.1 366c-12.7 6.4-28.5 11.6-38.9 14.2-10.4 2.6-21.6 3.9-33.7 3.9-13.7 0-21.8-1.9-32.3-5.5-10.5-3.7-19.9-9-27.3-15.8-7.4-6.9-12.6-14.1-15.4-21.8-2.9-7.7-4.3-18.9-4.3-33.5V224h-40v-42.2c11.7-4.1 25.3-9.9 33.6-17.6 8.4-7.6 15.1-16.8 20.2-27.5s8.6-24.3 10.5-40.8H267v64h53v64h-53v85.2c0 18.6-.2 29.3 1.6 34.5 1.8 5.2 6.4 10.7 11.4 13.8 6.6 4.2 14.2 6.4 22.7 6.4 15.1 0 34.3-5.9 49.3-16.5V398h-.1z" />',viewBox:"0 0 512 512"},rc={name:"twitter",content:'<path d="M342 64c-50.8 0-91.9 41.2-91.9 91.9 0 7.2.8 14.2 2.4 21-76.4-3.8-144.1-40.4-189.4-96-7.9 13.6-12.4 29.3-12.4 46.2 0 31.9 16.2 60 40.9 76.5-15.1-.5-29.2-4.6-41.6-11.5v1.2c0 44.5 31.7 81.7 73.7 90.1-7.7 2.1-15.8 3.3-24.2 3.3-5.9 0-11.7-.6-17.3-1.6 11.7 36.5 45.6 63.1 85.9 63.8-31.7 24.5-71.3 39.2-114.3 39.2-7.4 0-14.8-.4-22-1.3 40.7 26 89 41.3 140.9 41.3 169.1 0 261.5-140.1 261.5-261.5 0-4-.1-8-.2-11.9 18-12.9 33.5-29.1 45.9-47.6-16.5 7.3-34.2 12.3-52.8 14.5 19-11.4 33.6-29.4 40.4-50.8-17.8 10.5-37.4 18.2-58.4 22.3C392.3 75.1 368.4 64 342 64z" />',viewBox:"0 0 512 512"},oc={name:"twitter-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-64.7 159.7c.1 2.8.2 5.6.2 8.4 0 85.4-66 183.9-186.8 183.9-37.1 0-71.6-10.7-100.6-29.1 5.1.6 10.4.9 15.7.9 30.8 0 59.1-10.4 81.5-27.7-28.7-.5-53-19.2-61.3-44.9 4 .7 8.1 1.2 12.4 1.2 6 0 11.8-.8 17.3-2.3-30-5.9-52.7-32-52.7-63.3v-.8c8.9 4.8 19 7.7 29.7 8.1-17.6-11.6-29.2-31.4-29.2-53.8 0-11.8 3.2-22.9 8.9-32.5 32.4 39.1 80.8 64.8 135.3 67.5-1.1-4.7-1.7-9.7-1.7-14.7 0-35.7 29.4-64.6 65.6-64.6 18.9 0 36 7.8 47.9 20.4 14.9-2.9 29-8.3 41.7-15.7-4.9 15.1-15.3 27.7-28.9 35.7 13.3-1.6 26-5.1 37.7-10.2-8.9 13.1-19.9 24.5-32.7 33.5z" />',viewBox:"0 0 512 512"},ic={name:"yammer",content:'<path d="M263.9 32.1c-10.1-.2-19.6 6.8-23.2 18-.1.4-.3 1-.5 1.9 0 .1-.1.3-.1.4-8 25.9-73.6 235.6-73.6 235.6h-1.2l-84-239.2C75.6 35.3 61.6 28.7 48.9 34c-13 5.5-19.7 21.5-15.4 36.2 10.1 29 105.8 290.4 105.8 290.4l-6.3 15.6c-10.6 32.1-31.6 53.8-63.2 53.8-3.1 0-13.7-.7-14.4-.8-10.2-.6-19.7 6.9-22.5 18.4-3.1 13.1 3.7 26.6 15.3 30.4 8.4 1.6 17 2.2 24.7 2.2 58.3 0 86.8-37.7 106-92.8 0 0 101-300.5 105.8-312.9.8-2 1.4-3.7 2-5.4l-.1-.1c.1-.4.3-.7.4-1.1 4.1-14.5-3-29.9-15.8-34.5-2.5-.8-4.9-1.3-7.3-1.3zM383.5 96c-6.3.1-13.3 2.5-20.4 9.6-21.5 21.6-43 86.4-43 86.4s64.6-21.6 86.4-43.5-.4-42.8-.4-42.8-9.7-9.8-22.6-9.7zm64.6 128c-32 0-96 32-96 32s64 32 96.4 32 31.5-32 31.5-32 .1-32-31.9-32zm-128 96s21.5 64.8 43 86.4 43-.1 43-.1 22.1-21 .4-42.8c-21.8-21.9-86.4-43.5-86.4-43.5z" />',viewBox:"0 0 512 512"},ac={name:"yammer-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM332.5 148.6c15.4-15.4 30.7 0 30.7 0s15.8 15 .3 30.6-61.7 31.1-61.7 31.1 15.4-46.3 30.7-61.7zm-54.7-26.4c-.1.3-.2.5-.3.8h.1c-.4 1.2-.9 2.4-1.4 3.8-3.5 8.8-75.5 223.1-75.5 223.1-13.7 39.3-34 66.2-75.6 66.2-5.5 0-11.6-.4-17.6-1.6-8.3-2.7-13.2-12.3-10.9-21.7 2-8.2 8.8-13.6 16.1-13.2.5.1 8.1.6 10.3.6 22.6 0 37.5-15.5 45.1-38.3l4.5-11.1s-68.2-186.3-75.5-207c-3-10.5 1.7-22 11-25.9 9.1-3.8 19.1.9 23.2 10.6l.8 2.4L191.3 279h.9s46.7-149.5 52.5-168c0-.1 0-.2.1-.3.2-.6.3-1.1.4-1.3 3.2-9.8 12.7-15.1 21.6-11.9 8.9 3.4 14 14.4 11 24.7zm85.4 241.2s-15.3 15.5-30.7 0-30.8-61.7-30.8-61.7 46.1 15.4 61.7 31.1-.2 30.6-.2 30.6zm30.3-84.6c-23.2 0-68.9-22.8-68.9-22.8s45.7-22.8 68.6-22.8S416 256 416 256s.7 22.8-22.5 22.8z" />',viewBox:"0 0 512 512"},sc={name:"behance",content:'<path d="M448 128H304V96h144v32zM245.335 254.873c7.09 11.573 10.665 25.65 10.665 42.197 0 17.067-4.069 32.379-12.176 45.903-5.178 9.005-11.62 16.58-19.358 22.691-8.723 7.022-18.988 11.833-30.855 14.467C181.744 382.732 168.89 384 155.02 384H32V96h131.927c33.321.504 56.901 10.744 70.803 30.705 8.323 12.24 12.515 26.869 12.515 43.936 0 17.588-4.192 31.729-12.607 42.425-4.716 5.982-11.683 11.443-20.868 16.385 13.963 5.364 24.474 13.817 31.565 25.422zm-158.9-45.318H152.8c11.867 0 21.484-2.406 28.913-7.152 7.367-4.763 11.097-13.215 11.097-25.292 0-13.426-4.901-22.285-14.672-26.609-8.446-2.991-19.204-4.486-32.273-4.486h-59.43v63.539zm111.923 83.452c0-15.019-5.795-25.292-17.385-30.917-6.504-3.121-15.597-4.746-27.31-4.876H86.435v76.787h66.303c11.836 0 21.084-1.69 27.68-5.071 11.96-6.275 17.94-18.238 17.94-35.923zM479.932 288H330.824c.813 21.182 7.938 34.778 21.409 43.322 8.157 5.287 18.002 7.931 29.503 7.931 12.189 0 22.096-3.224 29.722-9.704 4.157-3.482 7.813-8.318 11.001-14.541h54.693c-1.438 12.541-8.095 25.276-19.846 38.204C438.959 373.748 413.269 384 380.266 384c-27.253 0-51.286-8.64-72.132-25.985-20.846-17.28-31.222-45.522-31.222-84.532 0-36.624 9.376-64.672 28.19-84.21C323.917 169.785 348.294 160 378.328 160c17.814 0 33.847 3.288 48.129 9.898 14.282 6.593 26.096 17.023 35.378 31.24 8.407 12.573 13.876 27.114 16.346 43.685 1.438 9.704 2.033 24.929 1.751 43.177zm-55.567-37.696c-.969-14.669-5.72-25.759-14.283-33.4-8.532-7.576-19.095-11.348-31.753-11.348-13.72 0-24.377 3.998-31.94 12.058-7.563 8.028-12.314 18.957-14.282 32.691h92.258z" />',viewBox:"0 0 512 512"},lc={name:"behance-box",content:'<path d="M167.543 228.938h-56.884v-56.479h50.939c11.202 0 20.423 1.329 27.663 3.988 8.376 3.844 12.576 11.718 12.576 23.652 0 10.735-3.197 18.249-9.511 22.482-6.368 4.219-14.612 6.357-24.783 6.357zm220.527 11.836c-7.313-6.494-16.367-9.727-27.217-9.727-11.76 0-20.895 3.427-27.378 10.335-6.483 6.881-10.555 16.249-12.242 28.021h79.079c-.83-12.573-4.902-22.079-12.242-28.629zm-196.379 34.862c-5.575-2.774-13.369-4.219-23.409-4.335h-57.624v68.255h56.831c10.146 0 18.072-1.503 23.726-4.508 10.251-5.577 15.377-16.211 15.377-31.931 0-13.35-4.967-22.482-14.901-27.481zM480 64v384c0 17.664-14.336 32-32 32H64c-17.664 0-32-14.336-32-32V64c0-17.664 14.336-32 32-32h384c17.664 0 32 14.336 32 32zm-176 96h112v-32H304v32zm-48 146.729c0-14.709-3.065-27.221-9.142-37.509-6.078-10.316-15.087-17.829-27.056-22.597 7.873-4.392 13.845-9.247 17.887-14.564 7.213-9.507 10.806-22.077 10.806-37.711 0-15.171-3.593-28.175-10.727-39.055-11.916-17.743-32.128-26.846-60.689-27.293H64v256h105.445c11.889 0 22.907-1.127 33.079-3.439 10.172-2.341 18.97-6.618 26.447-12.859 6.632-5.433 12.154-12.166 16.592-20.17C252.512 335.51 256 321.899 256 306.729zm190.442-42.024c-2.117-14.204-6.804-26.667-14.01-37.444-7.956-12.187-18.082-21.126-30.324-26.777-12.242-5.665-25.985-8.484-41.254-8.484-25.744 0-46.638 8.387-62.765 25.091-16.127 16.746-24.163 40.788-24.163 72.18 0 33.437 8.894 57.644 26.762 72.456C318.555 376.594 339.155 384 362.514 384c28.288 0 50.308-8.788 66.033-26.391 10.072-11.081 15.778-26.86 17.011-37.609h-46.879c-1.178 6-2.512 10.667-9.429 17.327-6.536 5.555-15.028 8.318-25.476 8.318-9.858 0-18.297-2.266-25.288-6.798-11.546-7.323-17.654-18.977-18.35-37.133h127.807c.24-15.641-.269-28.691-1.501-37.009z" />',viewBox:"0 0 512 512"},cc={name:"dribbble",content:'<path d="M256 32C132.469 32 32 132.469 32 256c0 123.5 100.469 224 224 224 123.5 0 224-100.5 224-224 0-123.531-100.5-224-224-224zm148.094 103.281c26.625 32.562 42.781 74.031 43.188 119.188-6.312-1.312-69.562-14.156-133.219-6.156a850.738 850.738 0 0 0-4.125-9.875c-3.969-9.312-8.25-18.594-12.688-27.719 70.75-28.875 102.812-69.969 106.844-75.438zM256 64.969c48.594 0 93.031 18.219 126.812 48.188-3.438 4.906-32.25 43.625-100.281 69.125-31.344-57.594-66.094-104.938-71.375-112A190.999 190.999 0 0 1 256 64.969zm-81.344 18.156c5.031 6.938 39.219 54.312 70.938 110.656-89.5 23.781-168.344 23.438-176.906 23.312 12.406-59.374 52.437-108.718 105.968-133.968zm-110 173.156c0-1.969.031-3.906.094-5.844 8.375.156 101.094 1.375 196.657-27.219 5.469 10.719 10.688 21.594 15.5 32.469a192.95 192.95 0 0 0-7.531 2.281c-98.688 31.875-151.188 118.812-155.531 126.25-30.564-33.937-49.189-78.812-49.189-127.937zM256 447.594c-44.25 0-85-15.094-117.438-40.375 3.438-7.031 42.156-81.875 150.094-119.5.406-.125.812-.281 1.25-.406 26.875 69.812 37.969 128.312 40.812 145.094-22.968 9.781-48.218 15.187-74.718 15.187zm106.875-32.719c-1.938-11.625-12.125-67.625-37.156-136.406 59.969-9.594 112.625 6.125 119.188 8.188-8.532 53.218-39.095 99.218-82.032 128.218z" />',viewBox:"0 0 512 512"},uc={name:"dribbble-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM256 448c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm28-164.8c-82.9 28.9-118.1 83.4-126.7 98.7 27.2 21.3 61.5 34.1 98.7 34.1 22.5 0 43.9-4.6 63.3-13-3.3-18.4-13.1-65.2-34.2-120.1-.4 0-.8.2-1.1.3zm-95.5-172.3c-44.9 20.9-78.5 62.1-89 111.8 17.1-.1 78.6-1.7 147.6-20-24.3-43.2-50.3-80.1-58.6-91.8zm79 146.8c2.1-.7 4.3-1.3 6.5-2-4.1-9.3-8.6-18.6-13.3-27.8-74.1 22.2-146.1 23.4-164.6 23.4 0 1.6-.1 3.1-.1 4.7 0 40.8 15.3 78 40.4 106.3 10.5-16.7 54.6-79.9 131.1-104.6zm94.9-121.1C334.2 111.3 296.9 96 256 96c-12.4 0-24.5 1.4-36 4.1 8.7 11.9 34.9 48.8 58.8 92.7 50.7-19 76-46.7 83.6-56.2zm-46.6 138.7C335 328 344 371.9 346.9 387.8c35.2-24.3 60.2-62.5 67.2-106.6-13.2-3.7-53.4-13.1-98.3-5.9zm-24.4-58.1c3.8 7.8 7.5 15.8 10.9 23.8 1.2 2.8 2.4 5.7 3.5 8.5 48-6 95.7 1.8 110.2 4.5-.5-37.2-13.7-71.4-35.4-98.3-8.4 10-36.1 39.8-89.2 61.5z" />',viewBox:"0 0 512 512"},hc={name:"rss",content:'<path d="M151.4 420c0 32.9-26.7 59.5-59.7 59.5S32 452.9 32 420s26.7-59.5 59.7-59.5 59.7 26.7 59.7 59.5zM32 184.3v85.9c56 0 108.5 21.8 148.1 61.3 39.6 39.6 61.4 92.3 61.4 148.5h86.2C327.6 317 195 184.3 32 184.3zM32 32v85.9c199.4 0 361.6 162.5 361.6 362.1h86.2C479.8 233 278.9 32 32 32z" />',viewBox:"0 0 512 512"},dc={name:"rss-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM115.2 447.6c-28.3 0-51.2-22.8-51.2-51s22.9-51 51.2-51c28.3 0 51.2 22.8 51.2 51s-23 51-51.2 51zm128.8.4c0-48.1-18.7-93.3-52.8-127.3-34-33.9-79.2-52.6-127.2-52.6v-73.6c140.1 0 254.1 113.7 254.1 253.5H244zm129.9 0c0-171.2-139-310.4-309.9-310.4V64c211.6 0 383.8 172.3 383.8 384h-73.9z" />',viewBox:"0 0 512 512"},pc={name:"vimeo",content:'<path d="M479.783 152.805c-2 43.26-32.469 102.444-91.344 177.477C327.532 408.792 275.969 448 233.782 448c-26.094 0-48.188-23.873-66.25-71.742-12.063-43.896-24.094-87.854-36.157-131.657-13.407-47.901-27.782-71.835-43.188-71.835-3.344 0-15.032 6.985-35.125 20.955L32 166.744c22.094-19.201 43.844-38.526 65.282-57.773 29.407-25.316 51.5-38.556 66.25-39.938 34.782-3.353 56.219 20.287 64.282 70.78 8.625 54.559 14.719 88.475 18.032 101.777 10.031 45.2 21.093 67.769 33.156 67.769 9.344 0 23.375-14.591 42.157-43.818 18.75-29.29 28.782-51.548 30.125-66.868 2.656-25.27-7.375-37.827-30.125-37.827-10.719 0-21.782 2.251-33.157 6.969C310.126 96.647 352.283 62.08 414.533 64.082c46.156 1.289 67.906 30.935 65.25 88.723z" />',viewBox:"0 0 512 512"},fc={name:"vimeo-box",content:'<path d="M448 32H64c-17.664 0-32 14.336-32 32v384c0 17.664 14.336 32 32 32h384c17.664 0 32-14.336 32-32V64c0-17.664-14.336-32-32-32zm-.186 140.119c-1.714 37.08-27.831 87.809-78.295 152.123-52.206 67.294-96.402 100.901-132.563 100.901-22.366 0-41.304-20.462-56.786-61.493-10.339-37.625-20.652-75.303-30.991-112.849-11.491-41.058-23.813-61.573-37.018-61.573-2.866 0-12.884 5.987-30.107 17.961L64 184.066c18.938-16.458 37.581-33.022 55.956-49.519 25.206-21.7 44.143-33.048 56.786-34.232 29.813-2.874 48.188 17.389 55.099 60.668 7.393 46.765 12.616 75.835 15.456 87.237 8.598 38.743 18.08 58.087 28.419 58.087 8.009 0 20.036-12.506 36.134-37.559 16.071-25.106 24.67-44.184 25.822-57.315 2.277-21.66-6.321-32.423-25.822-32.423-9.188 0-18.67 1.929-28.42 5.974 18.964-61.001 55.099-90.63 108.456-88.914 39.562 1.105 58.205 26.516 55.928 76.049z" />',viewBox:"0 0 512 512"},mc={name:"youtube",content:'<path d="M475.5 165s-4.4-31.4-17.8-45.2c-17-18.1-36.1-18.2-44.9-19.3C350.1 96 256.1 96 256.1 96h-.2s-94 0-156.7 4.6c-8.8 1.1-27.8 1.2-44.9 19.3C40.9 133.7 36.5 165 36.5 165S32 201.9 32 238.7v34.5c0 36.8 4.5 73.6 4.5 73.6s4.4 31.4 17.8 45.2c17 18.1 39.4 17.5 49.4 19.4C139.5 414.9 256 416 256 416s94.1-.1 156.8-4.7c8.8-1.1 27.9-1.2 44.9-19.3 13.4-13.8 17.8-45.2 17.8-45.2s4.5-36.8 4.5-73.6v-34.5c0-36.8-4.5-73.7-4.5-73.7zM192 336V176l144 80-144 80z" />',viewBox:"0 0 512 512"},vc={name:"youtube-box",content:'<path d="M448 32H64c-17.664 0-32 14.336-32 32v384c0 17.664 14.336 32 32 32h384c17.664 0 32-14.336 32-32V64c0-17.664-14.336-32-32-32zm0 237.749c0 29.454-3.835 58.909-3.835 58.909s-3.752 25.082-15.265 36.128c-14.602 14.497-30.97 14.569-38.476 15.417C336.689 383.885 256 384 256 384s-99.838-.864-130.559-3.656c-8.546-1.519-27.734-1.061-42.341-15.558-11.513-11.045-15.26-36.128-15.26-36.128S64 299.203 64 269.749v-27.614c0-29.454 3.84-58.909 3.84-58.909s3.747-25.082 15.26-36.128c14.607-14.497 30.969-14.569 38.476-15.417C175.313 128 255.917 128 255.917 128h.167s80.606 0 134.341 3.682c7.506.849 23.873.92 38.476 15.417 11.513 11.045 15.265 36.128 15.265 36.128S448 212.681 448 242.136v27.613zM192 176l144 80-144 80V176z" />',viewBox:"0 0 512 512"},gc={name:"folder",content:'<path d="m242.8 128-32-32H96v288h320V192H128v-32h288c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h128l64 64" />',viewBox:"0 0 512 512"},bc={name:"folder-open",content:'<path d="M425.6 160h-246c-17.6 0-37.2 14.4-43.6 32L64 384V96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h268.4c17.6 0 37.2-14.4 43.6-32l70-192c6.4-17.6-2.8-32-20.4-32zM346 373.1c-2 5.5-10.1 10.9-13.6 10.9H98.1L166 202.9c2-5.5 10.1-10.9 13.6-10.9h232.3L346 373.1z" />',viewBox:"0 0 512 512"},yc={name:"folder-add",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64h-32v-64H96v-32zm352 224h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192v-32H64V96z" />',viewBox:"0 0 512 512"},wc={name:"folder-up",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64l-32 32v-96H96v-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192l32-32H64V96zm336 240-80 80h64v64h32v-64h64l-80-80z" />',viewBox:"0 0 512 512"},xc={name:"folder-more",content:'<path d="M64 384h96v32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h128l64 64h-45.2l-32-32H64v288zm192-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160-64v-96c0-17.7-14.3-32-32-32H96v32h288v96h32zm32 64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z" />',viewBox:"0 0 512 512"},kc={name:"aggregate-fields",content:'<path d="M128 128c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H128V128zm-64 64c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H64V192zM448 64H192c-17.6 0-32 14.4-32 32v160c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zm1 192s0 .1 0 0l-256.9.1-.1-.1V96.1l.1-.1H448v160h1z" />',viewBox:"0 0 512 512"},Cc={name:"file",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},zc={name:"file-add",content:'<path d="M512 416h-64v64h-32v-64h-64v-32h64v-64h32v64h64v32zM96 448V64h224v96h96v96h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h224v-32" />',viewBox:"0 0 512 512"},_c={name:"file-txt",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-96v32H128v-32h256zM256 160v32H128v-32m256 64v32H128v-32h256zm-256 96v-32h224v32H128z" />',viewBox:"0 0 512 512"},Ec={name:"file-csv",content:'<path d="M178.6 224c-10 0-18.9 2.1-26.7 6.2-7.7 4.2-13.7 10.1-17.9 17.7-4.2 7.6-6.3 16.3-6.3 26.1 0 9.1 1.9 17.1 5.7 24.1s9.2 12.3 16.4 16.1c7.2 3.8 15.7 5.7 25.6 5.7 10 0 18.9-1.4 26.6-4.1v-24.9c-6.9 3.5-13.8 5.2-20.5 5.2-7.3 0-13.2-2.1-17.6-6.4-4.4-4.3-6.6-10.1-6.6-17.6s2.2-13.4 6.6-17.7 10.4-6.5 18-6.5c3.7 0 7.3.4 10.9 1.3s6.7 2.1 9.2 3.6V227c-7.6-2-15.3-2.9-23.4-3zm73.8.1c-11.5 0-20.6 2.7-27.5 8.1-6.8 5.4-10.2 12.5-10.2 21.5 0 12.8 7.5 22.1 22.4 27.8 4.6 1.7 7.8 3.1 9.5 4.1 1.7 1 3 2 3.8 3.2.8 1.2 1.2 2.5 1.2 4 0 2.1-.8 3.7-2.5 4.8-1.7 1.1-4.1 1.7-7.1 1.7-4.1 0-8.4-.9-13.2-2.6-4.7-1.8-9-4-12.9-6.9V315c8.1 3.3 17 4.9 26.7 4.9 8.4 0 15.5-1.1 21.5-3.4 6-2.2 10.6-5.7 13.9-10.2 3.3-4.6 5-9.9 5-16.1 0-6.3-2-11.8-6-16.4-4-4.6-10.8-8.9-20.4-12.8-4.9-2-8.1-3.7-9.6-5-1.5-1.3-2.3-2.9-2.3-4.8 0-2 1-3.6 2.8-4.8 1.9-1.2 4.4-1.8 7.5-1.8 7.6 0 15.2 2.1 23 6.4v-23.6c-4-1.1-7.1-1.8-9.3-2.2-2.2-.4-4.7-.7-7.4-1-2.7-.1-5.8-.1-8.9-.1zm39.8-.1 30 96h31.4l30.4-96h-29.1l-13.8 58.9c-1.1 4.4-1.8 8.1-2 11.1h-.6c-.1-2.4-.8-5.9-1.9-10.7L322.4 224h-30.2zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Ic={name:"file-excel",content:'<path d="m288 304 64 112h-48l-48-84.5-31.5 52.5H256v32h-96l64-112-64-112h48l48 84 48-84h48l-64 112zm64-272H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Sc={name:"file-word",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32.4-256-6.9 32-41.6 192h-46.7l-32.8-132.5L222.9 416h-46.7l-48.6-224h47.8l24.8 139.2L233.3 192h44.5l33.1 139.2L330.1 224H311v-32h72.6z" />',viewBox:"0 0 512 512"},Mc={name:"file-mdb",content:'<path d="M231.1 192 144 416h80v-32h-25.5l14.8-38h85.6l27.2 70h42L281 192h-49.9zm-1.5 112 26.5-68 26.4 68h-52.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Oc={name:"file-ppt",content:'<path d="m192 192-32 32h32v192h49v-80h25.6c16.4 0 29.1-1.5 38.2-4.4 14.4-4.5 25.9-12.9 34.4-25.4s12.8-26.6 12.8-42.6c0-15.8-4-29.5-12-41.1s-18.8-20.1-32.4-25.4c-10.3-3.7-24.4-5.5-42-5.5M241 225h20.1c11.2.3 20.2 2.1 26.9 5.6 12.1 6.4 23.3 17.6 23.3 33.5 0 17.3-11.9 29-25.2 35-6.7 2.9-15.1 4.4-25.2 3.9H241v-78zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Rc={name:"file-pdf",content:'<path d="M240.9 160c-7.6 0-13.8 4-15.4 9.9-4.9 18.6.2 46.3 9.4 82.3l-2.4 5.9c-6.6 16.4-14.8 33-22.1 47.6l-1 1.9c-7.7 15.3-14.6 28.4-21 39.4l-6.5 3.5c-.5.3-11.6 6.3-14.3 7.9-22.2 13.6-36.9 28.9-39.4 41.2-.8 3.9-.2 8.9 3.7 11.2l6.3 3.2c2.7 1.4 5.6 2.1 8.6 2.1 15.8 0 34.2-20.2 59.5-65.3 29.2-9.7 62.5-17.8 91.6-22.3 22.2 12.8 49.5 21.7 66.8 21.7 3.1 0 5.7-.3 7.8-.9 3.3-.9 6.1-2.8 7.8-5.4 3.4-5.2 4-12.2 3.1-19.5-.3-2.1-2-4.8-3.8-6.6-5.1-5.2-16.5-7.9-33.7-8.1-11.7-.1-25.8.9-40.6 3-6.6-3.9-13.5-8.2-18.8-13.3-14.4-13.8-26.5-32.9-34-53.9.5-2 .9-3.7 1.3-5.4 0 0 8.1-47.1 6-63.1-.3-2.2-.5-2.8-1.1-4.5l-.7-1.9c-2.2-5.2-6.5-10.7-13.3-10.4l-3.8-.2zm2.7 8.4c5.1 0 8 13.1 8.2 25.4.3 12.3-2.6 20.9-6 27.3-2.9-9.4-4.3-24.3-4.3-34-.1-.1-.3-18.7 2.1-18.7zm.4 104.1c8.6 16 19.3 29.5 31.9 40.4 1.6 1.3 3.2 2.7 5 4.1-25.6 5.2-47.7 11.5-67.1 19.1 3.6-6.5 7.2-13.3 11-20.6 9.1-17.7 14.9-31.6 19.2-43zm102.2 51.6c9.3 0 12 0 21.1 2.3 9.1 2.4 9.2 7.2 7.6 8.2-1.6 1-6 1.6-8.9 1.6-9.2 0-20.7-4.3-36.8-11.4 6.3-.4 11.9-.7 17-.7zm-165.4 35.8c-17.7 28.8-29.5 40.3-37.3 43.8 2.9-8.1 14.3-24 31.2-38.1 1.1-.9 3.7-3.4 6.1-5.7zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Hc={name:"file-psd",content:'<path d="M128 160v256h45v-91h21.4c24.2 0 43.5-7.8 57.9-23.4 14.4-15.6 21.6-36.1 21.6-61.3 0-53.4-25.2-80.2-75.5-80.2H128zm45 44h17.5c23.7 0 35.5 12.8 35.5 38.6 0 26.3-11.8 39.4-35.5 39.4H173v-78zm164.6 51.7c-8.1 0-15.9.9-23.4 2.8-7.5 1.9-14.2 4.7-20 8.6-5.8 3.9-10.4 9-14 15.2-3.5 6.2-5.2 13.6-5.2 22.1 0 6.2.8 11.7 2.3 16.3 1.5 4.5 3.7 8.6 6.7 12.1 2.9 3.5 6.5 6.5 10.8 9.2 4.3 2.7 9.3 5.1 15 7.4 3.5 1.5 7.2 2.8 11 4 3.8 1.2 7.3 2.5 10.5 4s5.8 3.2 7.8 5.2 3 4.5 3 7.5c0 4.7-2.2 8.2-6.7 10.4-4.5 2.3-10.6 3.4-18.5 3.4-6.4 0-13.3-1.2-20.5-3.4s-14.5-5.8-21.7-10.4v38.3c13.4 5.2 27.9 7.7 43.7 7.7 8.5 0 16.8-.9 24.7-2.8 7.9-1.8 15-4.8 21.1-8.8s10.9-9.2 14.7-15.7 5.5-14.2 5.5-23.3c0-6.5-.9-12-2.7-16.8-1.8-4.7-4.4-8.7-7.8-12.2-3.4-3.5-7.4-6.5-12.2-9.1-4.7-2.6-10-5-15.9-7.1-3.2-1.2-6.5-2.4-9.8-3.5s-6.3-2.4-9-3.9-4.9-3.1-6.5-5.2c-1.6-2.1-2.5-4.4-2.5-7.1 0-2.1.5-3.9 1.7-5.6 1.1-1.7 2.6-3 4.6-4 2-1 4.2-1.8 6.7-2.4s5.2-.8 8.1-.8c6.1 0 12.3.9 18.8 2.6 6.4 1.7 12.3 4.4 18 7.8v-36.4c-6.3-2-12.8-3.5-19.3-4.5s-13-1.6-19.3-1.6h.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Fc={name:"file-flash",content:'<path d="M352 191.3V237c-21 .2-46.6-3.2-69.6 45H320v45h-47.9s-37.4 91.1-111.9 90.1c-.6-10 0-30.8 0-45 49.3-7.6 65.4-62.1 76.8-89.4 26.5-82.8 73.9-92 93.4-92.1 5.6 0 21.6.7 21.6.7zm96-63.3v320c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h256l96 96zm-32 32h-96V64H96v384h320V160z" />',viewBox:"0 0 512 512"},Dc={name:"file-config",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-41.8-124.6-23.7-17.9c1-5.7 1.6-11.5 1.6-17.4 0-6-.5-11.8-1.6-17.4l23.7-17.9c3.7-2.8 4.7-7.9 2.4-11.9l-19.4-33.5c-2.3-4-7.2-5.6-11.5-3.9L318.4 215c-8.8-7.5-19-13.5-30.2-17.4l-3.7-29.5c-.6-4.6-4.5-8-9.1-8h-38.7c-4.6 0-8.5 3.4-9.1 8l-3.7 29.5c-11.1 4-21.3 9.9-30.2 17.4l-27.4-11.6c-4.2-1.8-9.2-.1-11.5 3.9l-19.4 33.5c-2.3 4-1.3 9.1 2.4 11.9l23.7 17.9c-1 5.7-1.6 11.5-1.6 17.4 0 6 .5 11.8 1.6 17.4l-23.7 17.9c-3.7 2.8-4.7 7.9-2.4 11.9l19.4 33.5c2.3 4 7.2 5.6 11.5 3.9l27.4-11.6c8.8 7.5 19 13.5 30.2 17.4l3.7 29.5c.6 4.6 4.5 8 9.1 8h38.7c4.6 0 8.5-3.4 9.1-8l3.7-29.5c11.1-4 21.3-9.9 30.2-17.4l27.4 11.6c4.2 1.8 9.2.1 11.5-3.9l19.4-33.5c2.2-4 1.2-9-2.5-11.8zM256 336c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" />',viewBox:"0 0 512 512"},Ac={name:"file-ascx",content:'<path d="M384 224h-96v-32h96v32zm0 160h-96v-32h96v32zM256 256H128v-96h128v96zm0 160H128v-96h128v96zm96-384H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Vc={name:"file-bac",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H289v-96h64l-96.5-96-95.5 96h64v96H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Bc={name:"file-zip",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h64v32h32v32h-32v32h32v32h-32v32h32v32h-32v32h32v34.7c-18.6 6.6-32 24.4-32 45.3 0 26.5 21.5 48 48 48s48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V256h32v-32h-32v-32h32v-32h-32v-32h32V96h-32V64h96v96h96v288zm-192-80c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16z" />',viewBox:"0 0 512 512"},Nc={name:"film",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 448H96v-32h32v32zm0-96H96v-64h32v64zm0-128H96v-64h32v64zm0-128H96V64h32v32zm224 352H160v-96h192v96zm0-128H160V192h192v128zm0-160H160V64h192v96zm64 288h-32v-32h32v32zm0-96h-32v-64h32v64zm0-128h-32v-64h32v64zm0-128h-32V64h32v32z" />',viewBox:"0 0 512 512"},Lc={name:"css3",content:'<path d="m64 32 30.2 384L256 480l161.8-64L448 32H64zm65.6 82h250.3l-4.9 48.9L255.4 214h115.9L358 366.1l-102.1 29.7-102.4-30.2-6.6-76.6h50.9l3.3 39.7 54.4 13.8.5-.1v-.1l56.3-15.8 3.9-64.4H143.7l-3.8-47.8 123-51.2H135.7l-6.1-49.1z" />',viewBox:"0 0 512 512"},Pc={name:"html5",content:'<path d="m64 32 30.4 384 161.3 64 161.7-64L448 32H64zm68 83h247.7l-1.2 13.2-2.2 24.8-1 11H186.1l4.5 51h180.1l-1.2 13.3-11.7 129.9-.7 8.4-101.3 37-101.2-37-6.9-77.6h49l3.5 39.7 55.5 24 55.6-24.1 5.8-64.6h-172L133 128.2l-1-13.2z" />',viewBox:"0 0 512 512"},Tc={name:"code",content:'<path d="M512 256 384 384l-22.6-22.6L466.7 256 361.4 150.6 384 128l128 128zM150.6 361.4 45.3 256l105.4-105.4L128 128 0 256l128 128 22.6-22.6zM321.1 72.3 290.2 64l-99.4 375.7 30.9 8.3 99.4-375.7z" />',viewBox:"0 0 512 512"},jc={name:"css",content:'<path d="m192 96-32 .1S96 96 96 160v48c0 27.8-21.8 31.4-32 32H48c-2.2 0-4.3.4-6.2 1.2-.5.2-1 .4-1.4.7s-.9.5-1.3.8c-1.3.9-2.4 1.9-3.4 3.1-.2.2-.3.4-.5.6-.9 1.2-1.7 2.6-2.2 4.1-.2.5-.3 1-.5 1.5-.3 1-.4 2.1-.5 3.2v1.6c.1 1.1.2 2.1.5 3.2.1.5.3 1 .5 1.5.5 1.5 1.3 2.8 2.2 4.1.2.2.3.4.5.6 1 1.2 2.1 2.2 3.4 3.1.4.3.9.5 1.3.8s.9.5 1.4.7c1.9.8 4 1.2 6.2 1.2h16c10.2.6 32 4.2 32 32v48c0 64 64 63.9 64 63.9l32 .1v-32l-31.8-.1s-32.2.1-32.2-32v-48.5s0-29-19.6-47.9c19.6-18.8 19.6-47.9 19.6-47.9v-47.9c0-31.9 32.2-31.8 32.2-31.8l31.8-.1V96zm128-.1V128l31.7.1S384 128 384 160v48s0 29.1 19.5 48C384 274.9 384 304 384 304v48c0 32-32.1 31.9-32.1 31.9l-31.9.1v32l32.1-.1s63.9.1 63.9-63.7V304c0-27.8 21.8-31.4 32-32h16c2.2 0 4.3-.4 6.2-1.2.5-.2 1-.4 1.4-.7s.9-.5 1.3-.8c1.3-.9 2.4-1.9 3.4-3.1.2-.2.3-.4.5-.6.9-1.2 1.7-2.6 2.2-4.1.2-.5.3-1 .5-1.5.3-1 .4-2.1.5-3.2v-1.6c-.1-1.1-.2-2.1-.5-3.2-.1-.5-.3-1-.5-1.5-.5-1.5-1.3-2.8-2.2-4.1-.2-.2-.3-.4-.5-.6-1-1.2-2.1-2.2-3.4-3.1-.4-.3-.9-.5-1.3-.8s-.9-.5-1.4-.7c-1.9-.8-4-1.2-6.2-1.2h-16.1c-10.2-.6-31.9-4.2-31.9-32v-48c0-64-64.1-63.9-64.1-63.9l-31.9-.2z" />',viewBox:"0 0 512 512"},Uc={name:"js",content:'<path d="M478.4 96C471 59.5 438.7 32 400 32H208c-38.7 0-71 27.5-78.4 64-1.1 5.2-1.6 10.5-1.6 16v272H32v16c0 5.5.5 10.8 1.6 16 7.4 36.5 39.7 64 78.4 64h192c38.7 0 71-27.5 78.4-64 1.1-5.2 1.6-10.5 1.6-16V128h96v-16c0-5.5-.5-10.8-1.6-16zm-124.8 0c-1.1 5.2-1.6 10.5-1.6 16v288c0 5.6-1 11-2.8 16-6.6 18.6-24.4 32-45.2 32-20.9 0-38.7-13.4-45.2-32-1.8-5-2.8-10.4-2.8-16v-16h-96V112c0-5.6 1-11 2.8-16 6.6-18.6 24.4-32 45.2-32h160c-7 9.3-12 20.2-14.4 32zM320 192H192v-32h128v32zm0 64H192v-32h128v32zm0 64H192v-32h128v32z" />',viewBox:"0 0 512 512"},Wc={name:"exe",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 160h384v288H64V160z" />',viewBox:"0 0 512 512"},Kc={name:"csproj",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm157.9 32.1c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zm96 0c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zm96 0c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zM64 160h384v288H64V160zm119.7 64c-17.3 0-32.7 3.5-46 10.4s-23.6 16.8-30.9 29.5c-7.3 12.8-10.9 27.3-10.9 43.6 0 15.2 3.3 28.6 9.8 40.2s15.9 20.6 28.3 26.8c12.4 6.3 27 9.4 44.1 9.4 17.3 0 32.6-2.3 45.9-6.9v-41.5c-11.9 5.8-23.7 8.6-35.4 8.6-12.6 0-22.8-3.6-30.3-10.7s-11.4-16.9-11.4-29.2c0-12.4 3.8-22.3 11.3-29.6s17.9-10.9 31-10.9c6.3 0 12.6.7 18.8 2.1s11.5 3.5 16 6v-43c-13.1-3.2-26.4-4.8-40.3-4.8zm114.2 0-8.3 39h-17.4l-5.7 29H284l-6.1 26H262l-6.1 29h15.4l-7.7 37h30.9l7.9-37h26.8l-7.7 37h30.4l8.2-37h16.3l7.2-29h-17.2l6.1-26h15l6.3-29h-14.7l8.3-39H356l-8.3 39h-26.4l8.3-39h-31.7zm16.8 68h26.8l-6.3 27h-26.7l6.2-27z" />',viewBox:"0 0 512 512"},qc={name:"vbproj",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 160h384v288H64V160zm32 64 51.6 160h54.1L254 224h-50.2L180 321.9c-1.9 7.4-3 13.5-3.5 18.5h-1.1c-.2-3.9-1.3-9.9-3.2-17.9L147.8 224H96zm183.3 0v160h73c20.4 0 36.2-4.3 47.2-12.8s16.5-20.6 16.5-36.3c0-5.8-1.6-11.4-4.9-16.8s-7.9-9.9-14-13.5-12.8-5.9-20.4-6.8v-.4c6.5-1.3 12.5-3.6 18-7.1s9.5-7.6 12.2-12.2c2.7-4.6 4-9.8 4-15.3 0-25.8-21.2-38.7-63.7-38.7h-67.9v-.1zm48.2 32.3h8.9c15.6 0 23.3 5 23.3 14.8 0 4.5-1.7 8.3-5.1 11.1s-7.8 4.3-13.2 4.3h-14l.1-30.2zm0 62.5h19c5.5 0 9.9 1.5 13.3 4.4s5 6.8 5 11.4c0 5.2-1.9 9.3-5.7 12.3s-9 4.5-15.5 4.5h-16.1v-32.6z" />',viewBox:"0 0 512 512"},Gc={name:"cs",content:'<path d="M165.9 128c-26.4 0-49.8 5.6-70.1 16.7s-36 26.8-47.1 47.2S32 235.5 32 261.6c0 24.3 5 45.7 14.9 64.3s24.3 32.9 43.1 43 41.2 15.1 67.2 15.1c26.4 0 46.6-3.7 65.8-11v-66.5c-17.1 9.2-32 13.8-49.8 13.8-19.3 0-34.7-5.7-46.2-17.2s-17.3-27.1-17.3-46.9c0-19.9 5.8-35.7 17.3-47.3s27.3-17.4 47.2-17.4c9.6 0 16 1.2 25.4 3.5s17.5 5.5 24.4 9.7v-68.9c-19.7-5.2-37-7.8-58.1-7.8zm158.8 0-13.3 62h-29l-9.3 46h28.6l-10.3 43h-25.6l-9.8 46h25.2l-12.5 59h50l12.9-59h43.5l-12.5 59h49.2l13.3-59h26.8l11.5-46h-28.2l10.3-43h24.2l10.3-46h-23.7l13.5-63h-51.7l-13.5 63h-43.5l13.5-63h-50l.1 1zm26.9 108H395l-10.3 43h-43.3l10.2-43z" />',viewBox:"0 0 512 512"},$c={name:"vb",content:'<path d="m32 160 73.2 224h76.7L256 160h-71.1l-33.7 137c-2.6 10.3-4.3 19-4.9 25.9h-1.6c-.3-5.5-1.8-13.9-4.6-25L105.5 160H32zm252 0v224h104.6c29.3 0 51.9-6 67.7-17.9 15.8-11.9 23.7-28.9 23.7-50.8 0-8.1-2.4-16-7-23.5-4.7-7.6-11.4-13.9-20-18.9-8.7-5-18.4-8.2-29.3-9.5v-.6c9.4-1.8 18-5.1 25.8-10 7.8-4.9 13.7-10.6 17.5-17.1 3.8-6.5 5.8-13.7 5.8-21.5 0-36.1-30.5-54.2-91.4-54.2H284zm69.1 45.2h12.8c22.3 0 33.4 6.9 33.4 20.8 0 6.4-2.5 11.5-7.4 15.5s-11.2 6-18.9 6h-20l.1-42.3zm0 87.6h27.2c7.9 0 14.3 2.1 19 6.2s7.2 9.5 7.2 15.9c0 7.3-2.7 13-8.1 17.2-5.4 4.2-12.9 6.3-22.2 6.3h-23v-45.6h-.1z" />',viewBox:"0 0 512 512"},Yc={name:"sln",content:'<path d="M352 32 172.5 211.5 64 128l-32 32v192l32 32 108.5-83.5L352 480l128-32V64L352 32zM64 320V192l64 64-64 64zm166.4-64L352 162.5v187.1L230.4 256z" />',viewBox:"0 0 512 512"},Zc={name:"cloud",content:'<path d="M442.2 243.6c3.7-11.2 5.8-23.2 5.8-35.6 0-61.9-50.1-112-112-112-37.8 0-71.3 18.8-91.6 47.5-15-9.8-33-15.5-52.3-15.5-52.9 0-95.8 42.9-95.8 95.8 0 1.8.1 3.6.2 5.5C58.9 242.3 32 278 32 320c0 53 43 96 96 96h256c53 0 96-43 96-96 0-31.1-14.8-58.8-37.8-76.4z" />',viewBox:"0 0 512 512"},Xc={name:"file-horizontal",content:'<path d="M384 64H64c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160l-96-96zm64 352H64V96h288v96h96v224z" />',viewBox:"0 0 512 512"},Jc={name:"subreport",content:'<path d="M448 480c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288V96H128v64H96V96c0-17.7 14.3-32 32-32h288c17.7 0 32 14.3 32 32v384zM63.9 32l254.3-.2L286.4 0 63.8.2C46.2.2 32 14.4 32 32l.1 128H64l-.1-128zm.1 351H32v32c0 17.7 14.3 32 32 32v-64zm-32-62.9S64 288 95 288v32l65-48.1L96 224v32c-32.1 0-64 32.1-64 64.1zM352 384l-160 .1V416l160-.1V384zm-96-192c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64h-64v-64zm32-32v64h64c0-35.3-28.7-64-64-64z" />',viewBox:"0 0 512 512"},Qc={name:"data",content:'<path d="M448 125.6v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 159.8 64 125.9v-.3c0-34 86-61.6 192-61.6s192 27.6 192 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 206.2 64 172.3v-.3l1 86.8v.5c.5 33.7 85.8 61 191 61s190.5-27.3 191-61v-.5l1-86.8zm0 128v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 334.2 64 300.3v-.3l1 86.8v.5c.5 33.7 85.8 61 191 61s190.5-27.3 191-61v-.5l1-86.8z" />',viewBox:"0 0 512 512"},eu={name:"file-header",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm0 416H96V64h320v384zm-32-64H128v-32h256v32zm0-96H128v32h256v-32zm0-160H128v96h256v-96z" />',viewBox:"0 0 512 512"},tu={name:"file-footer",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm0 416H96V64h320v384zm-32-224H128v-32h256v32zm0-96H128v32h256v-32zm0 160H128v96h256v-96z" />',viewBox:"0 0 512 512"},nu={name:"group-header-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384h64zm320-320H128v96h320v-96zm0 160H128v32h320v-32zm0 64H128v32h320v-32z" />',viewBox:"0 0 512 512"},ru={name:"group-footer-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384h64zm320-160H128v96h320v-96zm0-160H128v32h320v-32zm0 64H128v32h320v-32z" />',viewBox:"0 0 512 512"},ou={name:"page-header-section",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-160H128v-96h256v96zm0 96H128v32h256v-32zm0-64H128v32h256v-32z" />',viewBox:"0 0 512 512"},iu={name:"page-footer-section",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-31-32H129v-96h256v96zm0-160H129v32h256v-32zm0-64H129v32h256v-32z" />',viewBox:"0 0 512 512"},au={name:"detail-section",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-33-224h-63v-32h63v32zm-96-32h-63v32h63v-32zm-96 0h-63v32h63v-32zm192 96h-63v32h63v-32zm-96 0h-63v32h63v-32zm-96 0h-63v32h63v-32z" />',viewBox:"0 0 512 512"},su={name:"toc-section",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-32-288H224v-32h160v32zm-64 64h-96v-32h96v32zm0 64h-96v-32h96v32zm64 64H224v-32h160v32z" />',viewBox:"0 0 512 512"},lu={name:"group-section",content:'<path d="m128 416 32 32H32V32h128l-32 32H64v352h64zm320-288H128v32h320v-32zm0 192H128v32h320v-32zm0-96H128v32h320v-32z" />',viewBox:"0 0 512 512"},cu={name:"parameters",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zM285.3 160c-8.9-25-36.3-38.1-61.4-29.2-13.7 4.8-24.4 15.6-29.2 29.2H128v32h66.7c8.9 25 36.3 38.1 61.4 29.2 13.7-4.8 24.4-15.6 29.2-29.2H384v-32h-98.7zM240 192c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm109.3 96c-8.9-25-36.3-38.1-61.4-29.2-13.7 4.8-24.4 15.6-29.2 29.2H128v32h130.7c8.9 25 36.3 38.1 61.4 29.2 13.7-4.8 24.4-15.6 29.2-29.2H384v-32h-34.7zM304 320c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z" />',viewBox:"0 0 512 512"},uu={name:"data-csv",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zM271 420.8c-7.7 4.5-16.4 6.8-25.4 6.7-9.7 0-17.4-3-23.1-9s-8.6-14.1-8.6-24.3c0-10.6 3-19 9.1-25.2 6.1-6.2 14-9.3 23.9-9.3 8.4-.1 16.7 2 24 6.3v-22.8c-7-2.6-15.7-3.9-25.9-3.9-16.6 0-30 5.2-40.4 15.7-10.4 10.5-15.6 24.1-15.6 40.9 0 15.8 4.6 28.4 13.8 37.9 9.2 9.5 21.9 14.2 38 14.2 12.3 0 22.3-1.9 30-5.6l.2-21.6zm36.6 25.7c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.6-2.6-5.5-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.5-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.2-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.3-.8 2.1 0 4.1.2 6.2.4 2.2.3 4.4.8 6.5 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 2 12.8 6 17.9 4 4.9 10.1 9.1 18.3 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.5 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.2-.9-15.1-2.7-5.1-1.8-9.8-4.5-13.9-8V442c4.5 2.3 9 3.8 13.8 4.5zm147.7-105.4-21.8 72.8c-1.1 3.5-1.8 7.1-2.3 10.8h-.4c-.3-3.6-1.1-7.1-2.1-10.5l-21.9-73.1h-25.5l35.7 105h26.8l36.2-105h-24.7zm-295.3-15C85.7 317.7 32.4 295 32 268.3v-.3l.1 86.8v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8z" />',viewBox:"0 0 512 512"},hu={name:"data-json",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zm-251.3 21.1h-23.6v62.4c0 16-5.4 24-16.2 24-4.9.1-9.7-1.5-13.6-4.5v22.2c4.9 1.9 10.1 2.9 15.3 2.8 12.4 0 21.8-3.7 28.3-11.2s9.8-18.2 9.8-32.3v-63.4zm31.7 105.4c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.6-2.6-5.4-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.6-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.2-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.4-.7 2.1 0 4.1.1 6.2.4 2.2.3 4.4.8 6.6 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 1.9 12.8 6 17.9 4 4.9 10.1 9.1 18.4 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.5 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.3-.9-15.1-2.7-5.1-1.8-9.7-4.5-13.8-8v23.4c4.1 2.2 8.7 3.7 13.4 4.4zm157.3-13.7c9.6-10.1 14.4-23.4 14.4-39.9 0-16.1-4.6-29-13.9-38.8-9.3-9.8-21.4-14.7-36.4-14.7-15.9 0-28.6 5.1-38.2 15.4-9.6 10.3-14.4 23.7-14.4 40.3 0 15.7 4.7 28.5 14.2 38.3s21.7 14.7 36.8 14.7c15.4-.1 27.9-5.2 37.5-15.3zm-17.5-64c4.6 6 6.9 14.5 7 25.4 0 10.4-2.4 18.6-7.2 24.5s-11.3 8.8-19.4 8.8c-7.5.2-14.6-3.2-19.2-9.1-4.9-6.1-7.3-14.3-7.3-24.7 0-10.2 2.4-18.5 7.3-24.7s11.5-9.3 19.8-9.3c8 0 14.4 3.1 19 9.1zM480 341.1h-22.3v58.1c-.1 4.8.1 9.6.6 14.4h-.3c-1.6-2.8-3.4-5.7-5.3-8.6L411 341.1h-25.5v105h22.3v-57.7c0-7.6-.2-13.3-.6-17h.3c1.6 3 3.4 5.9 5.3 8.7l43.3 66H480v-105zM96 313.9c-39-11.2-63.7-27.5-64-45.6v-.3l.1 86.8v.3c.3 18.1 24.9 34.3 63.9 45.6v-86.8z" />',viewBox:"0 0 512 512"},du={name:"data-sql",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zM209.1 448.6c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.5-2.6-5.4-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.6-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.3-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.3-.8 2.1 0 4.1.2 6.2.4 2.2.3 4.4.8 6.6 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 1.9 12.8 6 17.9 4 4.9 10.1 9.1 18.4 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.4 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.3-.9-15.1-2.7-5.1-1.8-9.7-4.5-13.8-8v23.4c4 2.3 8.6 3.8 13.4 4.5zm172.8-21.2c5.7-9 8.5-19.8 8.5-32.4 0-16.1-4.6-29-13.9-38.8s-21.3-14.7-36.2-14.8c-16 0-28.8 5.1-38.5 15.4s-14.4 23.7-14.4 40.3c-.1 7 1.1 13.9 3.4 20.4 2.1 6.1 5.4 11.7 9.6 16.6 4.2 4.7 9.3 8.6 15 11.2 6.1 2.8 12.8 4.4 19.5 4.5 3.8 4.2 7.4 8.1 10.9 11.8 3.3 3.5 6.9 6.7 10.8 9.6 3.6 2.6 7.4 4.8 11.6 6.4 4.2 1.6 8.7 2.4 13.2 2.3 3.4 0 6.7-.2 10.1-.7 2.2-.3 4.3-.8 6.5-1.3V458c-.8.3-1.6.6-2.4.8l-2.7.6c-.9.2-1.9.3-2.8.4s-1.8.1-2.6.1c-2.7 0-5.4-.2-8-.6-2.5-.4-4.9-1.1-7.1-2.1-2.5-1.1-4.8-2.5-6.9-4.2-2.6-2-5-4.3-7.3-6.7 9.9-3.4 18.2-10.1 23.7-18.9zm-23.3-56.3c4.6 6 6.9 14.5 6.9 25.3 0 10.4-2.4 18.6-7.2 24.5-4.8 6-11.3 8.9-19.4 8.8-7.5.2-14.7-3.2-19.3-9.1-4.8-6.1-7.3-14.3-7.3-24.7 0-10.4 2.4-18.6 7.3-24.7 4.9-6.2 11.5-9.4 19.8-9.4 8.3.1 14.6 3.1 19.2 9.3zm121.4 58h-38.9v-85.8h-23.7v105H480v-19.2zm-320-103C85.7 317.7 32.4 295 32 268.3v-.3l.1 86.8v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8z" />',viewBox:"0 0 512 512"},pu={name:"data-web",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zm-151.1 23-14.5 70.1c-.8 3.9-1.3 7.8-1.5 11.7h-.3c-.3-3.8-.9-7.6-1.7-11.3L229.6 343h-25.3l-19.1 69.6c-1.1 4-1.9 8.1-2.1 12.3h-.4c-.2-4-.6-8-1.4-12l-14.8-70h-25.8l27.6 105h27.3l17.9-67.4c1-3.9 1.6-7.8 1.9-11.8h.3c.1 4 .7 7.9 1.7 11.8l17.4 67.4H261l27.8-105h-23.9zm109.8 85.8h-39.3v-24h34.4v-19.2h-34.4v-23.4h36.9V343h-60.6v105h63v-19.2zm66.8 19.2c11.9 0 21.3-2.8 28.2-8.5 6.9-5.6 10.3-13.3 10.3-22.9.1-6.3-2.3-12.3-6.7-16.8-4.5-4.6-10.4-7.3-17.9-8.3v-.3c5.6-1.5 10.8-4.5 14.7-8.9 3.8-4 5.8-9.4 5.8-14.9 0-7.8-3.2-13.9-9.5-18.2-6.3-4.3-15.3-6.5-27-6.5h-38.3v105h40.4zm-7.9-87.6c11.5 0 17.3 3.9 17.3 11.6.2 3.7-1.4 7.3-4.2 9.8-2.8 2.4-6.6 3.6-11.5 3.5h-10.4v-24.9h8.8zm4.1 42.5c5.5 0 9.7 1.2 12.8 3.6 3 2.4 4.7 6 4.6 9.9.2 4-1.5 7.9-4.6 10.4-3.1 2.5-7.4 3.8-12.9 3.8h-12.8v-27.7h12.9zM96 313.9c-39-11.2-63.7-27.5-64-45.6v-.3l.1 86.8v.3c.3 18.1 24.9 34.3 63.9 45.6v-86.8z" />',viewBox:"0 0 512 512"},fu={name:"group-collection",content:'<path d="M448 352H160v-32h288v32zm0 32H160v32h288v-32zm0-288H160v32h288V96zm0 64H160v32h288v-32zM64 192V96h64l32-32H32v160h128l-32-32H64zm0 224v-96h64l32-32H32v160h128l-32-32H64z" />',viewBox:"0 0 512 512"},mu={name:"parameter-boolean",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zM207 212h-39v114h-32V212H96v-26h111v26zm96.8-37-68.1 163h-27.5l67.9-163h27.7zM416 212h-49v34h45v26h-45v54h-32V186h81v26z" />',viewBox:"0 0 512 512"},vu={name:"parameter-date-time",content:'<path d="M416 202.8V128c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h304c61.9 0 112-50.1 112.1-111.9 0-43.3-25-82.8-64.1-101.3zM64.1 384 64 192h304c-61.9 0-112 50.2-112 112 0 30.1 12.1 58.9 33.6 80H64.1zm303.9 0c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80zm48-96v32h-64v-64h32v32h32zm-224 32H96v-96h96v96z" />',viewBox:"0 0 512 512"},gu={name:"parameter-float",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-276-55.6c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.9 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.1-16.3 19.1-48.8s-6.2-48.9-18.7-48.9zm83.8 121.3c-4.7.1-9.2-1.5-12.7-4.7-3.3-2.9-5.2-7.1-5.1-11.5-.1-4.4 1.8-8.7 5.2-11.5 3.6-3 8.3-4.6 13-4.5 5.3 0 9.6 1.5 12.9 4.5 6.4 5.9 6.7 15.9.8 22.2l-.9.9c-3.3 3.1-7.8 4.6-13.2 4.6zM390 326h-88v-24h29v-87.2l-30 6.4v-25.5l60-12.1V302h29v24z" />',viewBox:"0 0 512 512"},bu={name:"parameter-integer",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-262.6-58H96.8v-24.4h29v-87.2L96 220.8v-25l60.6-12.2v118h28.8V326zm59.2-26.2v.6h56.8V326h-92.2v-24l40.1-38.4c8.1-7.7 13.7-14.2 17-19.5 3.2-4.9 4.9-10.7 4.9-16.6 0-12.9-6.9-19.3-20.8-19.3-12 0-23.6 4.8-34.6 14.4v-27.2c12.2-7.9 25.9-11.8 41.2-11.8 14.3 0 25.5 3.6 33.5 10.8 8 7.2 12.1 16.9 12.1 29.1 0 16.3-9.8 33.2-29.4 50.7l-28.6 25.6zm82.1 21.6v-26.9c9.4 6.8 20.3 10.3 32.8 10.3 7.9 0 14-1.7 18.4-5.1 4.4-3.4 6.6-8.1 6.6-14.2 0-6.2-2.7-11.1-8.1-14.5-5.4-3.4-12.9-5.1-22.4-5.1h-12.6v-23.6H353c18.2 0 27.4-6.1 27.4-18.2 0-11.4-7-17.1-21-17.1-9.4 0-18.5 3-27.3 9.1V191c9.8-4.9 21.3-7.4 34.4-7.4 14.3 0 25.5 3.2 33.5 9.7 7.8 6 12.2 15.3 12 25.1 0 18.3-9.3 29.8-27.8 34.4v.5c9.9 1.2 17.7 4.8 23.4 10.8 5.7 5.9 8.8 13.8 8.6 21.9 0 13.1-4.8 23.4-14.4 31.1s-22.8 11.4-39.6 11.4c-14.7-.1-26.4-2.4-35.5-7.1z" />',viewBox:"0 0 512 512"},yu={name:"parameter-string",content:'<path d="M127.3 328.9c13.2 0 23.1-5.6 29.8-16.8h.4v14.4h29.2v-59.8c0-28.5-14.3-42.7-42.8-42.7-6.9.1-13.7.9-20.4 2.5-7.4 1.7-13.3 3.6-17.6 5.9v23.2c10.8-7.1 22.1-10.6 34-10.6s17.8 5.5 17.8 16.4l-27.2 3.6c-23 3-34.5 14.2-34.5 33.6 0 9.2 2.8 16.5 8.3 22s13.2 8.3 23 8.3zm12.2-47.5 18.2-2.3v6.7c0 6.1-1.8 11.2-5.5 15.2-3.6 4-8.8 6.2-14.2 6-4.2 0-7.5-1.1-9.9-3.4-2.4-2.2-3.8-5.4-3.7-8.6 0-7.7 5-12.3 15.1-13.6zm209 33.5c-9.5-9.3-14.3-21.3-14.3-36 0-17 5.1-30.4 15.3-40.2 10.2-9.8 23.8-14.7 40.9-14.7 11.8 0 20.3 1.6 25.6 4.7v26.2c-6.2-4.7-13.8-7.3-21.6-7.2-8.9 0-15.9 2.6-21 7.8-5.2 5.2-7.8 12.3-7.8 21.4 0 8.9 2.5 15.8 7.4 20.9 4.9 5 11.8 7.6 20.4 7.6 7.7 0 15.2-2.4 22.6-7.3v24.8c-7 4-17 6-30.2 6-15.3 0-27.8-4.7-37.3-14zm-104 .5h.4c6.3 9.4 15.6 14.1 27.9 14.1 13.6 0 24.5-5 32.6-15.1 8.1-10.1 12.2-23.5 12.2-40.1 0-15.3-3.5-27.4-10.5-36.3s-16.9-13.3-29.8-13.3c-14.1 0-24.9 5.8-32.5 17.5h-.4V179h-30.9v148h30.9l.1-11.6zm-.5-42.2c0-7.4 2-13.4 6.1-18.1 3.8-4.5 9.5-7.1 15.4-6.9 6.6 0 11.6 2.3 15.2 7 3.5 4.7 5.3 11.1 5.3 19.4 0 10-1.9 17.7-5.8 23.1-3.9 5.4-9.3 8.2-16.4 8.2-5.5.1-10.7-2.2-14.3-6.4-3.7-4.2-5.6-9.6-5.6-16l.1-10.3zM448 96H64c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32zm0 288H64V128h384v256z" />',viewBox:"0 0 512 512"},wu={name:"toc-section-level",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-32-288H192v-32h192v32zm0 64h-96v-32h96v32zm0 64h-96v-32h96v32zm0 64h-96v-32h96v32zm-192-32v-96l64 48-64 48z" />',viewBox:"0 0 512 512"},xu={name:"inherited",content:'<path d="M448 320v128H320V320h30.4L256 244.5 161.6 320H192v128H64V320h46.4l120-96H176V64h160v160h-54.4l120 96H448z" />',viewBox:"0 0 512 512"},ku={name:"file-video",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM304 304.8v-.8c0-8.8-7.2-16-16-16h-10.1c24.2-3.1 42.8-24.3 41.8-49.6-1-24.8-21.2-45-46-46-27.4-1.1-49.9 20.8-49.9 48 0 24.4 18.2 44.6 41.8 47.6h-70.4c17.2-1.7 30.3-16.9 28.7-34.8-1.4-15.5-14.1-27.9-29.6-28.9-18.7-1.3-34.2 13.5-34.2 31.9 0 16.6 12.7 30.2 28.8 31.8H176c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h111.7c8.4 0 15.6-6.3 16.3-14.6.2-3.1-.3-6.1-1.7-8.7l1.8 1.1 44.9 27.1c1.3.8 2.7 1.2 4.1 1.2 1.3 0 2.7-.3 3.9-1 2.5-1.4 4.1-4.1 4.1-7v-95.8c0-2.9-1.5-5.5-4-6.9s-5.5-1.5-8 0L304 304.8zM193.5 272c-.5.1-1 .1-1.5.1s-1 0-1.5-.1h-.2c-8.6-.8-15.1-8.5-14.3-17.2.6-7.9 7.2-14.2 15.1-14.6 9.2-.5 16.8 6.9 16.8 16 .1 8.1-6.1 15-14.4 15.8zm82.3-.3c-.3 0-.6.1-.9.1-1 .1-2.1.2-3.1.2s-2.1 0-3.1-.2c-.3 0-.6-.1-.9-.1-15.9-2-27.9-15.7-27.9-31.7 0-17.6 14.4-32 32-32s32 14.4 32 32c-.1 16.1-12.1 29.7-28.1 31.7z" />',viewBox:"0 0 512 512"},Cu={name:"file-audio",content:'<path d="M218 353.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V256.6l96-22.6v87.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V192.2l-134 31.5v130.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},zu={name:"file-image",content:'<path d="M298.7 385.2S272.2 288 213.1 288s-85 128-85 128h256s-11.9-78.7-42.7-78.7-42.7 47.9-42.7 47.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM288 256c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32z" />',viewBox:"0 0 512 512"},_u={name:"file-presentation",content:'<path d="M127.5 214.4c0 9.9 6.1 18.2 14.5 21.2v113.1c0 12.4 9.6 22.4 21.3 22.4H246v11.8l-13.6 14.6c-1.9 2-3 4.8-3 8 0 6.3 4.7 11.3 10.5 11.3 2.8 0 5.5-1.3 7.4-3.3.1-.1.2-.3.4-.4l8.9-9.6 8.9 9.6c.1.1.2.3.4.4 1.9 2 4.5 3.3 7.4 3.3 5.8 0 10.5-5 10.5-11.3 0-3.1-1.2-6-3-8L267 382.8V371h78.8c11.1 0 20.1-9.3 20.9-21h1.3V235.9c9-2.6 15.7-11.3 15.7-21.6 0-12.4-9.5-22.4-21.3-22.4H148.8c-11.8.1-21.3 10.1-21.3 22.5zM299 237h43v89h-43v-89zm-64 26h43v63h-43v-63zm-64 18h43v45h-43v-45zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Eu={name:"file-data",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM128 229.3v149.4c0 20.6 19.1 37.3 42.7 37.3h170.6c23.6 0 42.7-16.7 42.7-37.3V229.3c0-20.6-19.1-37.3-42.7-37.3H170.7c-23.6 0-42.7 16.7-42.7 37.3zM247 379h-76v-47h76v47zm18-112h76v47h-76v-47zm0 65h76v47h-76v-47zm-18-19h-76v-47h76v47z" />',viewBox:"0 0 512 512"},Iu={name:"file-disc-image",content:'<path d="M256.1 322.7c3.7 0 7.2-1.1 10.1-3s5.2-4.5 6.7-7.6c1.2-2.5 1.9-5.2 1.9-8.1 0-10.3-8.4-18.7-18.7-18.7-2.8 0-5.4.6-7.7 1.7-3.4 1.6-6.3 4.1-8.3 7.3-1.7 2.8-2.7 6.1-2.7 9.7 0 10.4 8.3 18.7 18.7 18.7zm-52.5-117.8c-19.1 10.1-34.9 25.5-45.4 44.4-9 16.1-14.1 34.7-14.1 54.4 0 61.7 50 111.7 111.7 111.7 20 0 38.8-5.3 55.1-14.5 18.6-10.6 33.9-26.4 43.9-45.4 8.1-15.5 12.7-33.1 12.7-51.8 0-61.7-50-111.7-111.7-111.7-18.9 0-36.7 4.7-52.2 12.9zm89.8 99.2c0 6.1-1.4 11.8-4 16.9l48.7 25.8c-8.3 15.8-20.9 28.9-36.3 37.7l-26.6-48.3c-5.6 3.3-12.1 5.3-19.1 5.3-20.6 0-37.4-16.7-37.4-37.4 0-6.8 1.8-13.2 5-18.7l-49.2-27.1c8.8-15.7 22-28.6 38-37l26.8 49.3c5-2.5 10.7-3.9 16.7-3.9 20.7 0 37.4 16.7 37.4 37.4zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Su={name:"file-programming",content:'<path d="m236 256-52.6-.2-48.6 48.6.1.1c-4.1 3.9-6.7 9.4-6.7 15.5 0 5.8 2.3 11 6 14.8l49.1 49.1 46.8-.2-59.7-59.7c.2-.9.3-1.8.3-2.8L236 256zm105.2 65.5c.1.9.2 1.9.3 2.8L281.9 384l46.8.2 49.1-49.1c3.7-3.8 6-9.1 6-14.8 0-6.1-2.6-11.6-6.7-15.5l.1-.1-48.6-48.7-52.6.2 65.2 65.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Mu={name:"parameters-byte-array",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-306.2-55.6c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.9 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.1-16.3 19.1-48.8s-6.2-48.9-18.7-48.9zm113.6 121.3c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.8 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.2-16.3 19.2-48.8s-6.3-48.8-18.8-48.9zM420 326h-88v-24h29v-87.2l-30 6.4v-25.4l61-12.3V302h28v24z" />',viewBox:"0 0 512 512"},Ou={name:"parameters-unknown",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-64-64h-64v-32h64v32zm-96 0h-64v-32h64v32zm-96 0h-64v-32h64v32z" />',viewBox:"0 0 512 512"},Ru={name:"file-error",content:'<path d="M160 320h32V160h-32v160zm16 32c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Hu={name:"files-error",content:'<path d="M64 64h224l-32-32H64c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h64v-32H64V64zm208 320c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zm-192-96h32V192h-32v160z" />',viewBox:"0 0 512 512"},Fu={name:"data-rest",content:'<path d="M32 268v.33-.33zm0 .33.12 86.48v.32c.29 18.1 24.9 34.34 63.87 45.56l.01-86.77c-38.99-11.22-63.7-27.48-64-45.59zm192.01-113.1c105.67 0 191.4-27.41 191.93-61.29v-.33C415.94 59.59 330 32 224 32S32.06 59.59 32.07 93.61v.33c.53 33.88 86.27 61.29 191.94 61.29zM32 140.32s0 .01 0 0V140v.32zm384 86.81v-.32l-.12-86.81v.32c-.53 33.88-86.26 61.29-191.93 61.29-105.66 0-191.4-27.41-191.95-61.28l.12 86.48v.32c.53 33.88 86.26 61.29 191.93 61.29S415.46 261 416 227.13zM327 320h89l-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68zm-130.74 96.93 19.85 31.05h-27.17l-16.33-27.03c-1.22-2.05-2.39-3.88-3.52-5.49-1.12-1.61-2.26-2.99-3.41-4.14-1.15-1.15-2.34-2.03-3.59-2.64-1.25-.61-2.6-.92-4.06-.92h-6.37v40.21H128V342.95h37.5c25.49 0 38.23 9.52 38.23 28.56 0 3.66-.56 7.04-1.68 10.14-1.12 3.1-2.71 5.9-4.76 8.39s-4.53 4.64-7.43 6.45c-2.91 1.81-6.14 3.22-9.7 4.25v.29c1.56.49 3.08 1.28 4.54 2.38 1.46 1.1 2.88 2.38 4.25 3.85 1.37 1.46 2.67 3.04 3.92 4.72 1.23 1.69 2.37 3.34 3.39 4.95zm-17.43-42.48c0-9.18-5.49-13.77-16.48-13.77h-10.69v29.22h10.25c5.08 0 9.16-1.46 12.23-4.39 3.13-2.98 4.69-6.67 4.69-11.06zm70.75 30.32h34.35v-19.19h-34.35v-23.36h36.91v-19.26h-60.57v105.03h62.99V428.8h-39.33v-24.03zm115.58-6.01c-2.39-2.49-5.26-4.72-8.61-6.7-3.34-1.98-7.12-3.85-11.32-5.6-3.08-1.27-5.84-2.5-8.28-3.7-2.44-1.2-4.52-2.42-6.23-3.66-1.71-1.24-3.03-2.56-3.96-3.96-.93-1.39-1.39-2.97-1.39-4.72 0-1.61.41-3.06 1.25-4.36.83-1.29 2-2.4 3.52-3.33 1.51-.93 3.37-1.65 5.57-2.16 2.2-.51 4.64-.77 7.32-.77 1.95 0 4.02.15 6.19.44s4.36.75 6.56 1.36 4.33 1.38 6.41 2.31c2.07.93 3.99 2 5.75 3.22v-21.9c-3.56-1.37-7.46-2.38-11.68-3.04-4.22-.66-9.07-.99-14.54-.99-5.57 0-10.84.6-15.82 1.79s-9.36 3.06-13.15 5.6c-3.78 2.54-6.77 5.77-8.97 9.7-2.2 3.93-3.3 8.63-3.3 14.1 0 6.98 2.01 12.94 6.04 17.87 4.03 4.93 10.14 9.11 18.35 12.52 3.22 1.32 6.23 2.61 9.01 3.88 2.78 1.27 5.19 2.59 7.21 3.96 2.03 1.37 3.63 2.86 4.8 4.47s1.76 3.44 1.76 5.49c0 1.51-.37 2.92-1.1 4.21-.73 1.29-1.84 2.42-3.33 3.37-1.49.95-3.34 1.7-5.57 2.23-2.22.54-4.82.81-7.8.81-5.08 0-10.11-.89-15.09-2.67s-9.59-4.46-13.84-8.02v23.44c3.81 1.95 8.31 3.42 13.51 4.39s10.68 1.46 16.44 1.46c5.61 0 10.95-.54 16-1.61 5.05-1.07 9.49-2.84 13.29-5.31s6.82-5.69 9.05-9.67c2.22-3.98 3.33-8.9 3.33-14.76 0-4.25-.63-7.97-1.9-11.17a26.091 26.091 0 0 0-5.48-8.52zm14.94-55.81v19.26h29.81v85.77h23.73v-85.77h29.96v-19.26h-83.5z" />',viewBox:"0 0 512 512"},Du={name:"file-typescript",content:'<path d="M64 128h192v48h-72v208h-48V176H64v-48zm316.6 107.6c-35-12.6-50.1-21.6-50.1-40.6 0-14.6 12.9-29.9 43.3-29.9 24.6 0 42.9 7.1 52.3 11.8l11.5-36.6c-13.6-6.5-34.4-12.3-62.8-12.3-56.8 0-92.7 30.6-92.7 71.3 0 35.6 27.6 57.6 70.9 72.1 33.1 11.4 46.4 22.4 46.4 41.2 0 20.3-17.1 33.9-47.6 33.9-24.4 0-47.9-7.4-63.3-15.8l-10.6 37.6c14.3 8.3 43.1 15.8 70.8 15.8 67.6 0 99.3-34.6 99.3-74.6 0-35.8-21.9-57.4-67.4-73.9z" />',viewBox:"0 0 512 512"},Au={name:"table-position-start",content:'<path d="M480 320v32H32v-32h448zM32 416h448v-32H32v32zm192-160H32V32h224v224h-32zm-64-128h64V64h-64v64zm-32 32H64v64h64v-64zm0-96H64v64h64V64zm32 160h64v-64h-64v64zM32 480h320v-32H32v32z" />',viewBox:"0 0 512 512"},Vu={name:"table-position-center",content:'<path d="M352 256V32H128v224h224zM256 64h64v64h-64V64zm-32 160h-64v-64h64v64zm0-96h-64V64h64v64zm32 32h64v64h-64v-64zM32 448h320v32H32v-32zm448-128v32H32v-32h448zM32 384h448v32H32v-32z" />',viewBox:"0 0 512 512"},Bu={name:"table-position-end",content:'<path d="M32 384h448v32H32v-32zm0 96h320v-32H32v32zM480 32v224H256V32h224zM352 160h-64v64h64v-64zm0-96h-64v64h64V64zm96 96h-64v64h64v-64zm0-96h-64v64h64V64zM32 352h448v-32H32v32z" />',viewBox:"0 0 512 512"},Nu={name:"list-roman-upper",content:'<path d="M32 32h32v128H32V32zm0 288h32V192H32v128zm64 0h32V192H96v128zM32 480h32V352H32v128zm64 0h32V352H96v128zm64 0h32V352h-32v128zM128 96h352v32H128V96zm64 160h288v32H192v-32zm64 160h224v32H256v-32zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z" />',viewBox:"0 0 512 512"},Lu={name:"list-roman-lower",content:'<path d="M32 64h16v96H32V64zm0 256h16v-96H32v96zm32 0h16v-96H64v96zM32 480h16v-96H32v96zm32 0h16v-96H64v96zm32 0h16v-96H96v96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM128 96h352v32H128V96zm32 160h320v32H160v-32zm32 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},Pu={name:"import",content:'<path d="M96 480c-17.7 0-32-14.3-32-31.9V192c0-17.7 14.3-32 32-32h96.3v30.9H96.4V448h319.1V190.9h-95.9V160H416c17.7 0 32 14.3 32 31.9V448c0 17.7-14.3 32-31.9 32H96zm159.5-162 96.5-94h-64.5V32h-64v192H159l96.5 94z" />',viewBox:"0 0 512 512"},Tu={name:"export",content:'<path d="M96 480c-4.3 0-8.5-.8-12.5-2.5-3.8-1.6-7.3-3.9-10.2-6.9-2.9-2.9-5.3-6.4-6.9-10.2-1.7-3.9-2.5-8.2-2.5-12.5V192c0-4.3.8-8.5 2.5-12.5 1.6-3.8 3.9-7.3 6.9-10.2 2.9-2.9 6.4-5.3 10.2-6.9 3.9-1.7 8.2-2.5 12.5-2.5h96.3v31.9H96.4v256.3h319.1V191.9h-95.9V160H416c17.7 0 32 14.3 32 31.9V448c0 17.7-14.3 32-31.9 32H96zm192-160V126h64.5L256 32l-96.5 94H224v194h64z" />',viewBox:"0 0 512 512"},ju={name:"graph",content:'<path d="M64 448h416v32H32V32h32v416zm128-192-96 96v64h384V160L288 320l-96-64zM416 64l14.2 14.2L288 192l-96-64-96 96v64l96-96 96 64 174.5-145.4L480 128V64h-64z" />',viewBox:"0 0 512 512"},Uu={name:"chart-column-clustered",content:'<path d="M320 96v352h-32V288H128v160H64V32H32v448h448V96H320zm-64 352h-96V320h96v128z" />',viewBox:"0 0 512 512"},Wu={name:"chart-column-stacked",content:'<path d="M320 192v256h-32V96H128v352H64V32H32v448h448V192H320zM160 448V256h96v192h-96zm192 0v-96h96v96h-96z" />',viewBox:"0 0 512 512"},Ku={name:"chart-column-stacked100",content:'<path d="M320 32v416h-32V32H128v416H64V32H32v448h448V32H320zM160 448V192h96v256h-96zm192 0V288h96v160h-96z" />',viewBox:"0 0 512 512"},qu={name:"chart-column-range",content:'<path d="M480 448v32H32V32h32v416h416zM256 128h-96v224h96V128m32-32v288H128V96h160zm192-64H320v224h160V32z" />',viewBox:"0 0 512 512"},Gu={name:"chart-bar-clustered",content:'<path d="M64 448v-64h160V224H64v-32h352V32H32v448h448v-32H64zm128-192v96H64v-96h128z" />',viewBox:"0 0 512 512"},$u={name:"chart-bar-stacked",content:'<path d="M64 448v-64h352V224H64v-32h256V32H32v448h448v-32H64zm0-384h96v96H64V64zm192 192v96H64v-96h192z" />',viewBox:"0 0 512 512"},Yu={name:"chart-bar-stacked100",content:'<path d="M480 192V32H32v448h448v-32H64v-64h416V224H64v-32h416zm-160 64v96H64v-96h256zM64 64h160v96H64V64z" />',viewBox:"0 0 512 512"},Zu={name:"chart-bar-range",content:'<path d="M480 448v32H32V32h32v416h416zm-96-192H160v96h224v-96m32-32v160H128V224h288zm64-192H256v160h224V32z" />',viewBox:"0 0 512 512"},Xu={name:"chart-area-clustered",content:'<path d="m405.5 200.3-88.2-88.2-91.2 114L192 192l-37.6 45.1L64 146.8V32H32v448h448V96l-74.5 104.3zM320 160l66.7 66.7L320 320l-71.1-71.1L320 160zM64 192l69.8 69.8L64 345.6V192z" />',viewBox:"0 0 512 512"},Ju={name:"chart-area-stacked",content:'<path d="m320 165.3-128-64-128 128V32H32v448h448V32L320 165.3zm128 7.5L320 352 192 224 64 377.6v-103l134.3-134.3 126.1 63 123.6-103v72.5z" />',viewBox:"0 0 512 512"},Qu={name:"chart-area-stacked100",content:'<path d="M32 32v448h448V32H32zm416 108.8L320 320 192 192 64 345.6V64h384v76.8z" />',viewBox:"0 0 512 512"},eh={name:"chart-area-range",content:'<path d="M64 416v32h416v32H32V32h32v224l128-128 128 64L480 32v192L320 384l-127-64-129 96z" />',viewBox:"0 0 512 512"},th={name:"chart-line",content:'<path d="M64 448h416v32H32V32h32v416zm152.4-190.4L96 416v-51.2l97.2-129.6 41.2-33-27.3-34.1L96 224v-38l119.9-58.1 43.5 54.3 109-87.2 55.9 85.7L480 114v47l-38 46.7 38 58.3.5 53.3-58.5-87-82.5 101.3-85.1-106.4-38 30.4zm63-50.4 60.1 75.2 64.3-77.1-42.7-63.5-81.7 65.4z" />',viewBox:"0 0 512 512"},nh={name:"chart-line-stacked",content:'<path d="M480 448v32H32V32h32v416h416zM224 292l128 64 128-96v-36l-128 96-128-64-128 96v36l128-96zm0-160 128 92 128-60v-36l-128 60-128-92-128 64v36l128-64z" />',viewBox:"0 0 512 512"},rh={name:"chart-line-stacked100",content:'<path d="M480 448v32H32V32h32v416h416zM224 228l128 64 128-96v-36l-128 96-128-64-128 96v36l128-96zM480 32H96v32h384V32z" />',viewBox:"0 0 512 512"},oh={name:"chart-line-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-96c.1 17.7-14.2 32-31.9 32.1-17.7.1-32-14.2-32.1-31.9 0-1.3.1-2.7.2-4l-83.7-62.8c-8 3.4-17.1 3.4-25.2 0l-83.7 62.8c2.1 17.5-10.4 33.5-27.9 35.6s-33.5-10.4-35.6-27.9c-.7-6.2.3-12.4 3.1-18l-49-73.6-22.7 39.6c8.9 15.3 3.7 34.9-11.5 43.8s-34.9 3.7-43.8-11.5-3.7-34.9 11.5-43.8c4.9-2.8 10.4-4.3 16-4.4l30.6-53.5-28.4-42.6c-.7 0-1.4.1-2.1.1-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32c0 4.9-1.1 9.8-3.3 14.2l19.5 29.3 52.2-91.3c-8.9-15.3-3.8-34.9 11.5-43.8s34.9-3.8 43.8 11.5c2.5 4.4 4 9.2 4.3 14.3l78.4 39.2c14.7-9.7 34.6-5.7 44.3 9 .3.5.7 1.1 1 1.6h72.6c8.8-15.3 28.4-20.5 43.7-11.7 15.3 8.8 20.5 28.4 11.7 43.7s-28.4 20.5-43.7 11.7c-4.9-2.8-8.9-6.8-11.7-11.7h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-9.3-5.4-15.3-15.1-15.9-25.8l-78.4-39.2c-5.2 3.4-11.3 5.3-17.5 5.3l-60 105.2 57.9 86.9c.7 0 1.4-.1 2.1-.1 4.3 0 8.6.9 12.6 2.6l83.7-62.8c-2.2-17.5 10.3-33.5 27.8-35.7 17.5-2.2 33.5 10.3 35.7 27.8.3 2.6.3 5.2 0 7.8l83.7 62.8c16.2-7 35.1.6 42 16.8 1.6 4.1 2.5 8.4 2.5 12.7zm-48-192c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zm-128 0c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM176 96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zm-96 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm0 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 32c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},ih={name:"chart-line-stacked-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-320c0 17.7-14.3 32-32 32-6.9 0-13.7-2.2-19.2-6.4L352 192c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.5.3-5 .9-7.4l-81.1-60.8c-11.1 6.3-24.8 5.4-35-2.2L96 160c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32c6.9 0 13.7 2.2 19.2 6.4L160 96c0-17.7 14.3-32 32-32s32 14.3 32 32c0 2.5-.3 5-.9 7.4l81.1 60.8c11.1-6.3 24.8-5.4 35 2.2L416 128c0-17.7 14.3-32 32-32s32 14.3 32 32zM80 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm16 128c0 17.7-14.3 32-32 32-5.5 0-11-1.4-15.8-4.2l-81.1 60.8c4.1 17.2-6.6 34.4-23.8 38.5-17.2 4.1-34.4-6.6-38.5-23.8-.6-2.4-.9-4.9-.9-7.4l-76.8-38.4c-10.2 7.6-23.9 8.5-35 2.2L95 376.5c4.1 17.2-6.6 34.4-23.8 38.5s-34.4-6.6-38.5-23.8 6.6-34.4 23.8-38.5c7.9-1.9 16.1-.7 23.1 3.3l81.1-60.8c-4.1-17.2 6.6-34.4 23.8-38.5 17.2-4.1 34.4 6.6 38.5 23.8.6 2.4.9 4.9.9 7.4l76.8 38.4c10.2-7.6 23.9-8.5 35-2.2l81.1-60.8c-4.1-17.2 6.5-34.5 23.7-38.6 17.2-4.1 34.5 6.5 38.6 23.7.6 2.5.9 5.1.9 7.6zM80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},ah={name:"chart-line-stacked100-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-192c0 17.7-14.3 32-32 32-5.5 0-11-1.4-15.8-4.2l-81.1 60.8c4.1 17.2-6.6 34.4-23.8 38.5-17.2 4.1-34.4-6.6-38.5-23.8-.6-2.4-.9-4.9-.9-7.4l-76.8-38.4c-10.2 7.6-23.9 8.5-35 2.2L95 376.5c4.1 17.2-6.6 34.4-23.8 38.5s-34.4-6.6-38.5-23.8 6.6-34.4 23.8-38.5c7.9-1.9 16.1-.7 23.1 3.3l81.1-60.8c-4.1-17.2 6.6-34.4 23.8-38.5 17.2-4.1 34.4 6.6 38.5 23.8.6 2.4.9 4.9.9 7.4l76.8 38.4c10.2-7.6 23.9-8.5 35-2.2l81.1-60.8c-4.1-17.2 6.5-34.5 23.7-38.6 17.2-4.1 34.5 6.5 38.6 23.7.6 2.5.9 5.1.9 7.6zM80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm16-192c0 17.7-14.3 32-32 32-11.4 0-22-6.1-27.7-16h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-4.9-2.8-8.9-6.8-11.7-11.7h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-4.9-2.8-8.9-6.8-11.7-11.7H91.7C82.9 95.3 63.3 100.5 48 91.7S27.4 63.3 36.3 48 64.7 27.5 80 36.3c4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 9.9 5.7 16 16.3 16 27.7zM80 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},sh={name:"chart-pie",content:'<path d="M473 310.3c.9-2.1 1.4-4.2 1.8-6.3l.1-.5c.5-2.1.9-4.1 1.3-6.2v-.2c.8-4.4 1.5-8.8 1.8-13.3v-.4c.5-2 .7-3.9.9-5.9l.1-1.7c.1-1.6.3-3.1.4-4.7 0-.7.1-1.4.1-2 .1-1.5.2-3.1.2-4.6 0-.6 0-1.3.1-1.9.1-2.2.1-4.3.1-6.5 0-31.8-6.7-63.2-19.8-92.2-1.5-3.3-3.1-6.6-4.7-9.8-4.1-8-8.7-15.8-13.8-23.3-5-7.4-10.5-14.6-16.4-21.3-1.2-1.3-2.4-2.7-3.6-4-2.4-2.7-4.9-5.3-7.4-7.8s-5.1-5-7.8-7.4c-2.7-2.4-5.4-4.7-8.1-7-4.1-3.4-8.4-6.7-12.8-9.8-20.7-14.8-43.8-25.9-68.3-32.9-5.3-1.5-10.7-2.8-16.2-4-3.6-.7-7.3-1.4-11-2s-7.4-1-11.2-1.3c-5.6-.6-11.3-.9-17.1-1.1-1.9 0-3.9-.1-5.8-.1C132.3 32 32 132.3 32 256s100.3 224 224 224c105 0 193.1-72.2 217-169.7zm-81.2 81.5c-74.4 75.6-195.9 76.6-271.5 2.2S43.7 198 118 122.5l2.2-2.2c36-36.2 84.9-56.4 135.8-56.3v192l186.3 46.6c-8.4 33.8-25.9 64.6-50.5 89.2z" />',viewBox:"0 0 512 512"},lh={name:"chart-doughnut",content:'<path d="M473 310.3c.9-2.1 1.4-4.2 1.8-6.3l.1-.5c.5-2.1.9-4.1 1.3-6.2v-.3c.8-4.4 1.5-8.8 1.8-13.3v-.4c.5-2 .7-3.9.9-5.9l.1-1.7c.1-1.6.3-3.1.4-4.7 0-.7.1-1.4.1-2 .1-1.5.2-3.1.2-4.6 0-.6 0-1.3.1-1.9.1-2.2.1-4.3.1-6.5 0-31.8-6.7-63.2-19.8-92.2-1.5-3.3-3.1-6.6-4.7-9.8-4.1-8-8.7-15.8-13.8-23.3-5-7.4-10.5-14.6-16.4-21.3-1.2-1.3-2.4-2.7-3.6-4-2.4-2.7-4.9-5.3-7.4-7.8s-5.1-5-7.8-7.4c-2.7-2.4-5.4-4.7-8.1-7-4.1-3.4-8.4-6.7-12.8-9.8-20.7-14.8-43.8-25.9-68.3-32.9-5.3-1.5-10.7-2.8-16.2-4-3.6-.7-7.3-1.4-11-2s-7.4-1-11.2-1.3c-5.6-.6-11.3-.9-17.1-1.1-1.9 0-3.9-.1-5.8-.1C132.3 32 32 132.3 32 256s100.3 224 224 224c105 0 193.1-72.2 217-169.7zM320 256c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64zm71.8 135.8c-74.4 75.6-195.9 76.6-271.5 2.2S43.7 198 118 122.4l2.2-2.2c36-36.1 84.9-56.3 135.8-56.2v96c-53 0-96 43-96 96s43 96 96 96c44 0 82.4-30 93.1-72.7l93.2 23.3c-8.4 33.8-25.9 64.6-50.5 89.2zm-39.8-133v.8-.8zm0 2.8v.9-.9zm-.4 2.9-.1.7.1-.7zm-.6 3.2v.2-.2zm-1 5.9v.1-.1zm0 2.8v.2-.2z" />',viewBox:"0 0 512 512"},ch={name:"chart-scatter",content:'<path d="M480 448v32H32V32h32v416h416zM160 96c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112-128c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},uh={name:"chart-scatter-smooth-lines-markers",content:'<path d="M480 448v32H32V32h32v416h416zm0-384c0 17.7-14.3 32-32 32-15.6 0-28.9-11.2-31.5-26.5-9.2-1.3-22-1.8-39-.8C342.5 71 305.1 79.4 275 92c-19.1 7.9-47.9 23-60.7 45.1 12.7 12.3 13 32.6.6 45.3l-1.1 1.1c9.1 13.1 28.9 18.6 61.1 25.1 21 4.2 42.8 8.5 60.2 18.9 12.7 7.6 21.7 17.8 27 30.3 16.8 5.6 25.8 23.7 20.2 40.5-3.2 9.5-10.6 17-20.1 20.2-11.2 29.5-39.2 54.6-81.6 72.2-29.7 12.1-61.2 19.2-93.2 21.1-4 .2-7.8.3-11.4.3-9.6.1-19.3-.7-28.8-2.5-14.1 10.6-34.2 7.7-44.8-6.4-10.6-14.1-7.7-34.2 6.4-44.8s34.2-7.7 44.8 6.4c3.2 4.2 5.2 9.1 6 14.3 8.7 1 17.5 1.2 26.2.7 28.3-1.6 56.2-7.9 82.5-18.6 19.7-8.2 49.8-24.3 62-49.6-13-12-13.8-32.2-1.8-45.2.4-.5.8-.9 1.3-1.3-9.1-13.2-28.8-18.7-61.1-25.2-21-4.2-42.8-8.5-60.2-18.9-12.8-7.7-21.9-18-27.2-30.7-16.7-5.9-25.4-24.2-19.5-40.9 3.3-9.4 10.9-16.7 20.4-19.8 5-11 12-21 20.6-29.5 14.6-14.5 34.7-27.2 59.8-37.6C296 48.6 337 39.2 375.4 36.8c22.9-1.5 40-.4 52.8 2.1 13.9-11 34-8.6 44.9 5.3 4.5 5.6 6.9 12.6 6.9 19.8zm-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},hh={name:"chart-scatter-smooth-lines",content:'<path d="M480 448v32H32V32h32v416h416zm-144-87.8c21.1-19.9 31.8-44.5 31.8-73.1 0-27.3-11-47.6-32.6-60.6-17.3-10.3-38.8-14.5-59.6-18.6-46.2-9-66.5-16.3-66.8-47.9-.4-41.2 71.8-65.5 114.8-76.4C385.4 68.1 448.4 64 449 64l-2-32c-2.7.2-66.2 4.3-130.8 20.5-38.7 9.7-69.8 21.8-92.4 36-31.4 19.8-47.3 43.9-47 71.7.2 27.2 11.3 47.6 32.9 60.5 17.3 10.3 38.9 14.5 59.7 18.6 19 3.7 36.9 7.2 49.3 14.6 11.9 7.1 17 17.1 17 33.2 0 19.7-7.1 36-21.7 49.7-24.1 22.8-68.9 38.2-129.3 44.6-29.2 3-58.5 3.9-87.8 2.6l-2 32c1.7.1 12.1.7 28 .7 51.4 0 159.8-6.4 213.1-56.5z" />',viewBox:"0 0 512 512"},dh={name:"chart-scatter-straight-lines-markers",content:'<path d="M480 448v32H32V32h32v416h416zm0-384c0 17.7-14.3 32-32 32-7.4 0-14.6-2.6-20.3-7.3L224 165.1l116.4 93.1c16.5-6.4 35 1.7 41.4 18.2s-1.7 35-18.2 41.4c-10.3 4-22 2.4-30.8-4.2l-173.1 74.2c-2.1 17.5-18 30.1-35.6 28s-30.1-18-28-35.6c2.1-17.5 18-30.1 35.6-28 5.6.7 10.9 2.8 15.4 6.2l173.1-74.2c0-.4.1-.7.1-1l-116.7-93.4c-16.5 6.4-35-1.7-41.4-18.2s1.7-35 18.2-41.4c10.8-4.2 23-2.3 32 5.1l204.1-76.5c2.9-17.4 19.4-29.2 36.8-26.3C468.7 35.1 480 48.4 480 64zm-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},ph={name:"chart-scatter-straight-lines",content:'<path d="M480 448v32H32V32h32v416h416zm-98.5-156.9-158.8-127L448 64V32L161.3 156l161.2 128.9L128 384v32l253.5-124.9z" />',viewBox:"0 0 512 512"},fh={name:"chart-bubble",content:'<path d="M480 448v32H32V32h32v416h416zM192 256c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64m0-32c53 0 96 43 96 96s-43 96-96 96-96-43-96-96 43-96 96-96zm224 96c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32m0-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zM368 96c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zM176 64c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},mh={name:"chart-candlestick",content:'<path d="M480 448v32H32V32h32v416h416zm-192-96h-64v64h-32v-64h-64V96h64V32h32v64h64v256zm-32-224h-96v192h96V128zm224 64h-64V64h-32v128h-64v128h64v64h32v-64h64V192z" />',viewBox:"0 0 512 512"},vh={name:"chart-ohlc",content:'<path d="M480 448v32H32V32h32v416h416zM224 320V96h-32v32h-64v32h64v256h32v-64h64v-32h-64zM416 96V32h-32v160h-64v32h64v96h32V128h64V96h-64z" />',viewBox:"0 0 512 512"},gh={name:"chart-radar",content:'<path d="M272 32h-32v44L80.7 195.5l-41.1-10-7.6 31.1 42.3 10.3 81 148.5-62.7 86.3 25.9 18.8 67.2-92.5L344 412.3l49.5 68.2 25.9-18.8-46.8-64.4 40.8-163.1 65.8-15.3-7.3-31.2-74.9 17.4L272 80V32zm-32 202.2-119-28.9L240 116v118.2zm32 0v-109l88.4 88.4-88.4 20.6zm-95.9 112.5-59.8-109.6 118.5 28.8-58.7 80.8zm172 17.3-71-97.7 101.3-23.6L348.1 364zm-30.6 12-110.6-17 49.1-67.6 61.5 84.6z" />',viewBox:"0 0 512 512"},bh={name:"chart-radar-markers",content:'<path d="m472 187.7-51.2 11.9c-9.4-8-22.5-9.9-33.8-4.8L288.1 96c0-11.5-6.2-22.1-16.1-27.8V32h-32v36.4c-7.1 4.1-12.3 10.8-14.6 18.6L96.1 184c-8.6 0-16.7 3.4-22.8 9.5l-32.8-8-7.5 31.1 32.3 7.8c2.7 9.9 10 17.8 19.6 21.5l61 111.8c-3 8.9-2 18.7 2.9 26.7l-56.1 77.3 25.9 18.8L177 400c8.5-.2 16.5-3.8 22.3-10l122 18.8c3.9 13.8 16.5 23.2 30.8 23.2 1.9 0 3.9-.2 5.8-.5l35.6 49 25.9-18.8-37.1-51.1c3.7-10.4 1.7-22-5.2-30.6l31.4-125.2c11.8-3.2 20.8-12.9 23.1-24.9l47.7-11.1-7.3-31.1zm-111.4 25.9L272 234.2V125.1l88.6 88.5zM256 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm-21.1 39.9c1.6 1.4 3.3 2.6 5.1 3.7V234l-113.3-27.6c-.4-1.4-1-2.8-1.6-4.1l109.8-82.4zM96 232c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm80 152c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm7.2-47.2c-2.4-.5-4.8-.8-7.2-.8-1.8 0-3.7.2-5.5.5l-52.9-96.9c.7-.6 1.3-1.2 1.9-1.9l115.3 28-51.6 71.1zm23.6 22 49.1-67.6 61.5 84.6-110.6-17zM352 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm-3.9-52.3L277 265.9l97.4-22.6c.9 1.2 1.9 2.4 3 3.5l-29.3 116.9zM400 240c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z" />',viewBox:"0 0 512 512"},yh={name:"chart-radar-filled",content:'<path d="m354.4 372.1 65.1 89.6-25.9 18.8-75-103.2-109.2-21.8-90.8 125-25.9-18.8 90-123.8-67.3-101L32 216.6l7.5-31.1 65.8 16L240 107.2V32h32v80l99.2 99.2L472 187.7l7.3 31.2-98.8 23-26.1 130.2z" />',viewBox:"0 0 512 512"},wh={name:"chart-rose",content:'<path d="M226 251.4 44.3 329.3c-23.8-68.9-12.6-145.1 30-204.3L226 251.4zm-82.1-109.5L240 222V96.8c-36.2 3.6-70.1 19.6-96.1 45.1zm231.5 160.2L279 278l27.3 95.7c31.8-13.6 56.7-39.4 69.1-71.6zM96 353.4c37.3 69.1 115 106.1 192.2 91.4L244 290 96 353.4zM272 32v211.4l204.6 51.1c2.3-12.9 3.4-26 3.4-39.1C480 137.1 388.2 40.2 272 32z" />',viewBox:"0 0 512 512"},xh={name:"chart-choropleth",content:'<path d="M448 64v384H64V64h384m32-32H32v448h448V32zm-96 256v13.3l-64 64v37.5l13.3 13.3H416V264.6L384 288zm-50.7-160 64 64-32 32 18.8 23.4 32-21.3V96H288v18.8l13.3 13.3h32zM224 192l32 32-23.7 23.7L352 276v-20l-32-32 32-32-32-32h-32l-32-32V96h-32l-64 64 32 32h32zm0 86-32 10-32 32 32 32v32l-32 32h128v-64l50.4-50.4L224 278zm-29.4-37.8 16.2-16.2h-32l-64-64 64-64H96v167.5l98.6-23.3zM114.8 320l37.6-37.6L96 296.5V416h32v-13.3l32-32v-5.5L114.8 320z" />',viewBox:"0 0 512 512"}},3746:(e,t,n)=>{n.r(t),n.d(t,{ExternalDropZone:()=>or,Upload:()=>rr,UploadActionButtons:()=>Re,UploadAddButton:()=>Me,UploadDropZone:()=>Ve,UploadFileStatus:()=>r,UploadInput:()=>_e,UploadList:()=>xe,UploadListActionButton:()=>ce,UploadListGroup:()=>be,UploadListMultiItem:()=>me,UploadListSingleItem:()=>de,UploadStatus:()=>De,UploadUI:()=>Ne,headerStatusUploaded:()=>f,headerStatusUploading:()=>m,invalidMaxFileSize:()=>v,uploadMessages:()=>O,uploadSelect:()=>y,uploadUtils:()=>T});var r,o=n(3899),i=n(8047),a=n(3769);!function(e){e[e.UploadFailed=0]="UploadFailed",e[e.Initial=1]="Initial",e[e.Selected=2]="Selected",e[e.Uploading=3]="Uploading",e[e.Uploaded=4]="Uploaded",e[e.RemoveFailed=5]="RemoveFailed",e[e.Removing=6]="Removing"}(r||(r={}));var s,l=n(8130),c=n(2013),u=n(499),h="upload.cancel",d="upload.clearSelectedFiles",p="upload.dropFilesHere",f="upload.headerStatusUploaded",m="upload.headerStatusUploading",v="upload.invalidMaxFileSize",g="upload.remove",b="upload.retry",y="upload.select",w="upload.selectTitle",x="upload.selectNoFilesTitle",k="upload.uploadSelectedFiles",C="upload.total",z="upload.files",_="upload.statusUploaded",E="upload.statusUploadFailed",I="upload.dropZoneHint",S="upload.defaultDropZoneNote",M="upload.dropZoneNote",O=((s={})[h]="Cancel",s[d]="Clear",s[p]="Drop files here to upload",s[f]="Done",s[m]="Uploading...",s["upload.invalidFileExtension"]="File type not allowed.",s["upload.invalidFiles"]="Invalid file(s). Please check file upload requirements.",s[v]="File size too large.",s["upload.invalidMinFileSize"]="File size too small.",s[g]="Remove",s[b]="Retry",s[y]="Select files...",s[w]="Press to select more files",s[x]="No files selected",s[k]="Upload",s[C]="Total",s[z]="files",s[_]="File(s) successfully uploaded.",s[E]="File(s) failed to upload.",s[I]="Drag and drop files here to upload.",s[S]="",s[M]="Only {0} files are allowed.",s),R=n(3198),H=/&/g,F=/</g,D=/"/g,A=/'/g,V=/>/g,B=function(e){return(""+e).replace(H,"&amp;").replace(F,"&lt;").replace(V,"&gt;").replace(D,"&quot;").replace(A,"&#39;")},N=function(e){var t=e.match(/\.([^\.]+)$/);return t?t[0]:""},L=function(e){var t=e.name,n=e.size;return{extension:N(t),name:B(t),getRawFile:function(){return e},size:n,status:r.Selected,progress:0,uid:""}},P=function(e){return!!(e.validationErrors&&e.validationErrors.length>0)};const T={fileHasValidationErrors:P,filesHaveValidationErrors:function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if(P(r))return!0}return!1},getTotalFilesSizeMessage:function(e){var t,n=0;if("number"!=typeof e[0].size)return"";for(t=0;t<e.length;t++)e[t].size&&(n+=e[t].size||0);return(n/=1024)<1024?n.toFixed(2)+" KB":(n/1024).toFixed(2)+" MB"},getAllFileInfo:function(e){var t,n=new Array;for(t=0;t<e.length;t++)n.push(L(e[t]));return n},getFileInfo:L,getFileExtension:N,htmlEncode:B,assignGuidToFiles:function(e,t){var n=(0,R.M)();return e.map((function(e){return e.uid=t?n:(0,R.M)(),e}))},getFileStatus:function(e){var t=!1,n=!1,o=!1,i=!1,a=function(e){e.forEach((function(e){e.status===r.Uploading&&(t=!0),e.status===r.Uploaded&&(n=!0),e.status===r.UploadFailed&&(o=!0),P(e)&&(i=!0)}))};return Array.isArray(e)?a(e):Object.keys(e).forEach((function(t){a(e[t])})),[t,n,o,i]}};var j=n(7037);const U={name:"arrow-rotate-cw-small",content:'<path d="M416 280c0 88.4-71.6 160-160 160S96 368.4 96 280s71.6-160 160-160V64l128 80-128 80v-56c-61.8 0-112 50.2-112 112s50.2 112 112 112 112-50.2 112-112c0-10-1.3-19.7-3.8-29l46.4-12.4c3.5 13.2 5.4 27.1 5.4 41.4z" />',viewBox:"0 0 512 512"},W={name:"cancel",content:'<path d="M256 32c-50.3 0-96.8 16.6-134.1 44.6-17.2 12.8-32.4 28.1-45.3 45.3C48.6 159.2 32 205.7 32 256c0 123.7 100.3 224 224 224 50.3 0 96.8-16.6 134.1-44.6 17.2-12.8 32.4-28.1 45.3-45.3 28-37.4 44.6-83.8 44.6-134.1 0-123.7-100.3-224-224-224zm0 384c-88.2 0-160-71.8-160-160 0-32.6 9.8-62.9 26.6-88.2l221.6 221.6C318.9 406.2 288.6 416 256 416zm133.4-71.8L167.8 122.6C193.1 105.8 223.4 96 256 96c88.2 0 160 71.8 160 160 0 32.6-9.8 62.9-26.6 88.2z" />',viewBox:"0 0 512 512"},K={name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},q={name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},G={name:"upload",content:'<path d="M32 384v96h448v-96H32zm192-64h64V192h96L256 32 128 192h96v128z" />',viewBox:"0 0 512 512"},$={name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},Y={name:"copy",content:'<path d="M384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zM64 384h64v32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h192l32 32H64v320z" />',viewBox:"0 0 512 512"},Z={name:"file",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},X={name:"file-txt",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-96v32H128v-32h256zM256 160v32H128v-32m256 64v32H128v-32h256zm-256 96v-32h224v32H128z" />',viewBox:"0 0 512 512"},J={name:"file-pdf",content:'<path d="M240.9 160c-7.6 0-13.8 4-15.4 9.9-4.9 18.6.2 46.3 9.4 82.3l-2.4 5.9c-6.6 16.4-14.8 33-22.1 47.6l-1 1.9c-7.7 15.3-14.6 28.4-21 39.4l-6.5 3.5c-.5.3-11.6 6.3-14.3 7.9-22.2 13.6-36.9 28.9-39.4 41.2-.8 3.9-.2 8.9 3.7 11.2l6.3 3.2c2.7 1.4 5.6 2.1 8.6 2.1 15.8 0 34.2-20.2 59.5-65.3 29.2-9.7 62.5-17.8 91.6-22.3 22.2 12.8 49.5 21.7 66.8 21.7 3.1 0 5.7-.3 7.8-.9 3.3-.9 6.1-2.8 7.8-5.4 3.4-5.2 4-12.2 3.1-19.5-.3-2.1-2-4.8-3.8-6.6-5.1-5.2-16.5-7.9-33.7-8.1-11.7-.1-25.8.9-40.6 3-6.6-3.9-13.5-8.2-18.8-13.3-14.4-13.8-26.5-32.9-34-53.9.5-2 .9-3.7 1.3-5.4 0 0 8.1-47.1 6-63.1-.3-2.2-.5-2.8-1.1-4.5l-.7-1.9c-2.2-5.2-6.5-10.7-13.3-10.4l-3.8-.2zm2.7 8.4c5.1 0 8 13.1 8.2 25.4.3 12.3-2.6 20.9-6 27.3-2.9-9.4-4.3-24.3-4.3-34-.1-.1-.3-18.7 2.1-18.7zm.4 104.1c8.6 16 19.3 29.5 31.9 40.4 1.6 1.3 3.2 2.7 5 4.1-25.6 5.2-47.7 11.5-67.1 19.1 3.6-6.5 7.2-13.3 11-20.6 9.1-17.7 14.9-31.6 19.2-43zm102.2 51.6c9.3 0 12 0 21.1 2.3 9.1 2.4 9.2 7.2 7.6 8.2-1.6 1-6 1.6-8.9 1.6-9.2 0-20.7-4.3-36.8-11.4 6.3-.4 11.9-.7 17-.7zm-165.4 35.8c-17.7 28.8-29.5 40.3-37.3 43.8 2.9-8.1 14.3-24 31.2-38.1 1.1-.9 3.7-3.4 6.1-5.7zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},Q={name:"file-config",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-41.8-124.6-23.7-17.9c1-5.7 1.6-11.5 1.6-17.4 0-6-.5-11.8-1.6-17.4l23.7-17.9c3.7-2.8 4.7-7.9 2.4-11.9l-19.4-33.5c-2.3-4-7.2-5.6-11.5-3.9L318.4 215c-8.8-7.5-19-13.5-30.2-17.4l-3.7-29.5c-.6-4.6-4.5-8-9.1-8h-38.7c-4.6 0-8.5 3.4-9.1 8l-3.7 29.5c-11.1 4-21.3 9.9-30.2 17.4l-27.4-11.6c-4.2-1.8-9.2-.1-11.5 3.9l-19.4 33.5c-2.3 4-1.3 9.1 2.4 11.9l23.7 17.9c-1 5.7-1.6 11.5-1.6 17.4 0 6 .5 11.8 1.6 17.4l-23.7 17.9c-3.7 2.8-4.7 7.9-2.4 11.9l19.4 33.5c2.3 4 7.2 5.6 11.5 3.9l27.4-11.6c8.8 7.5 19 13.5 30.2 17.4l3.7 29.5c.6 4.6 4.5 8 9.1 8h38.7c4.6 0 8.5-3.4 9.1-8l3.7-29.5c11.1-4 21.3-9.9 30.2-17.4l27.4 11.6c4.2 1.8 9.2.1 11.5-3.9l19.4-33.5c2.2-4 1.2-9-2.5-11.8zM256 336c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" />',viewBox:"0 0 512 512"},ee={name:"file-zip",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h64v32h32v32h-32v32h32v32h-32v32h32v32h-32v32h32v34.7c-18.6 6.6-32 24.4-32 45.3 0 26.5 21.5 48 48 48s48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V256h32v-32h-32v-32h32v-32h-32v-32h32V96h-32V64h96v96h96v288zm-192-80c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16z" />',viewBox:"0 0 512 512"},te={name:"file-video",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM304 304.8v-.8c0-8.8-7.2-16-16-16h-10.1c24.2-3.1 42.8-24.3 41.8-49.6-1-24.8-21.2-45-46-46-27.4-1.1-49.9 20.8-49.9 48 0 24.4 18.2 44.6 41.8 47.6h-70.4c17.2-1.7 30.3-16.9 28.7-34.8-1.4-15.5-14.1-27.9-29.6-28.9-18.7-1.3-34.2 13.5-34.2 31.9 0 16.6 12.7 30.2 28.8 31.8H176c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h111.7c8.4 0 15.6-6.3 16.3-14.6.2-3.1-.3-6.1-1.7-8.7l1.8 1.1 44.9 27.1c1.3.8 2.7 1.2 4.1 1.2 1.3 0 2.7-.3 3.9-1 2.5-1.4 4.1-4.1 4.1-7v-95.8c0-2.9-1.5-5.5-4-6.9s-5.5-1.5-8 0L304 304.8zM193.5 272c-.5.1-1 .1-1.5.1s-1 0-1.5-.1h-.2c-8.6-.8-15.1-8.5-14.3-17.2.6-7.9 7.2-14.2 15.1-14.6 9.2-.5 16.8 6.9 16.8 16 .1 8.1-6.1 15-14.4 15.8zm82.3-.3c-.3 0-.6.1-.9.1-1 .1-2.1.2-3.1.2s-2.1 0-3.1-.2c-.3 0-.6-.1-.9-.1-15.9-2-27.9-15.7-27.9-31.7 0-17.6 14.4-32 32-32s32 14.4 32 32c-.1 16.1-12.1 29.7-28.1 31.7z" />',viewBox:"0 0 512 512"},ne={name:"file-audio",content:'<path d="M218 353.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V256.6l96-22.6v87.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V192.2l-134 31.5v130.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},re={name:"file-image",content:'<path d="M298.7 385.2S272.2 288 213.1 288s-85 128-85 128h256s-11.9-78.7-42.7-78.7-42.7 47.9-42.7 47.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM288 256c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32z" />',viewBox:"0 0 512 512"},oe={name:"file-presentation",content:'<path d="M127.5 214.4c0 9.9 6.1 18.2 14.5 21.2v113.1c0 12.4 9.6 22.4 21.3 22.4H246v11.8l-13.6 14.6c-1.9 2-3 4.8-3 8 0 6.3 4.7 11.3 10.5 11.3 2.8 0 5.5-1.3 7.4-3.3.1-.1.2-.3.4-.4l8.9-9.6 8.9 9.6c.1.1.2.3.4.4 1.9 2 4.5 3.3 7.4 3.3 5.8 0 10.5-5 10.5-11.3 0-3.1-1.2-6-3-8L267 382.8V371h78.8c11.1 0 20.1-9.3 20.9-21h1.3V235.9c9-2.6 15.7-11.3 15.7-21.6 0-12.4-9.5-22.4-21.3-22.4H148.8c-11.8.1-21.3 10.1-21.3 22.5zM299 237h43v89h-43v-89zm-64 26h43v63h-43v-63zm-64 18h43v45h-43v-45zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},ie={name:"file-data",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM128 229.3v149.4c0 20.6 19.1 37.3 42.7 37.3h170.6c23.6 0 42.7-16.7 42.7-37.3V229.3c0-20.6-19.1-37.3-42.7-37.3H170.7c-23.6 0-42.7 16.7-42.7 37.3zM247 379h-76v-47h76v47zm18-112h76v47h-76v-47zm0 65h76v47h-76v-47zm-18-19h-76v-47h76v47z" />',viewBox:"0 0 512 512"},ae={name:"file-programming",content:'<path d="m236 256-52.6-.2-48.6 48.6.1.1c-4.1 3.9-6.7 9.4-6.7 15.5 0 5.8 2.3 11 6 14.8l49.1 49.1 46.8-.2-59.7-59.7c.2-.9.3-1.8.3-2.8L236 256zm105.2 65.5c.1.9.2 1.9.3 2.8L281.9 384l46.8.2 49.1-49.1c3.7-3.8 6-9.1 6-14.8 0-6.1-2.6-11.6-6.7-15.5l.1-.1-48.6-48.7-52.6.2 65.2 65.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"};var se,le=(se=function(e,t){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},se(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}se(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ce=function(e){function t(t){var n=e.call(this,t)||this;return n.buttonClassNames=function(e){var t=n.state,r=t.actionFocused,o=t.retryFocused;return(0,i.A)("k-icon-button k-upload-action",n.props.disabled?"k-disabled":"",r&&"action"===e||o&&"retry"===e?"k-focus":"")},n.onRetryFocus=function(){n.setState({retryFocused:!0})},n.onRetryBlur=function(){n.setState({retryFocused:!1})},n.onActionFocus=function(){n.setState({actionFocused:!0})},n.onActionBlur=function(){n.setState({actionFocused:!1})},n.onActionClick=function(){var e=n.props,t=e.status,o=e.uid,i=e.disabled,a=e.onCancel,s=e.onRemove;i||t===r.Removing||(t===r.Uploading?a.call(void 0,o):s.call(void 0,o))},n.onRetryClick=function(){var e=n.props,t=e.uid,r=e.disabled,o=e.onRetry;r||o.call(void 0,t)},n.state={retryFocused:!1,actionFocused:!1},n}return le(t,e),t.prototype.actionButtonTitle=function(e,t){return e===r.Uploading?t.toLanguageString(h,O[h]):t.toLanguageString(g,O[g])},t.prototype.retryButtonTitle=function(e){return e.toLanguageString(b,O[b])},t.prototype.render=function(){var e=this.props,t=e.status,n=e.progress,i=t===r.UploadFailed,a=t===r.Uploading,s=(t===r.Uploaded||t===r.Initial)&&!this.props.async.removeUrl,l=(0,u.provideLocalizationService)(this);return o.createElement("span",{className:"k-upload-actions"},a?o.createElement("span",{className:"k-upload-pct"},n,"%"):void 0,i?o.createElement(j.z,{type:"button",themeColor:"base",fillMode:"flat",tabIndex:-1,className:this.buttonClassNames("retry"),onFocus:this.onRetryFocus,onBlur:this.onRetryBlur,onClick:this.onRetryClick,"aria-label":this.retryButtonTitle(l),title:this.retryButtonTitle(l),icon:"arrow-rotate-cw-small",svgIcon:U}):void 0,s?void 0:o.createElement(j.z,{type:"button",themeColor:"base",fillMode:"flat",tabIndex:-1,className:this.buttonClassNames("action"),onFocus:this.onActionFocus,onBlur:this.onActionBlur,onClick:this.onActionClick,"aria-label":this.actionButtonTitle(t,l),title:this.actionButtonTitle(t,l),icon:t===r.Uploading?"cancel":"x",svgIcon:t===r.Uploading?W:q}))},t}(o.Component);(0,u.registerForLocalization)(ce);var ue=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),he=function(){return he=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},he.apply(this,arguments)},de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ue(t,e),t.prototype.getFileExtension=function(e){return e.extension?e.extension.substring(1):""},t.prototype.getFileValidationMessage=function(e,t){var n=(0,u.provideLocalizationService)(this),r="";if(t)r=n.toLanguageString(E,O[E]);else if(e.validationErrors&&e.validationErrors.length>0){var o="upload.".concat(e.validationErrors[0]);r=n.toLanguageString(o,O[o])}return r},t.prototype.getFileExtensionIcon=function(e){switch(e.extension){case".png":case".jpg":case".jpeg":case".tiff":case".bmp":case".gif":return{name:"file-image",icon:re};case".mp3":case".mp4":case".wav":return{name:"file-audio",icon:ne};case".mkv":case".webm":case".flv":case".gifv":case".avi":case".wmv":return{name:"file-video",icon:te};case".txt":return{name:"file-txt",icon:X};case".pdf":return{name:"file-pdf",icon:J};case".ppt":case".pptx":return{name:"file-presentation",icon:oe};case".csv":case".xls":case".xlsx":return{name:"file-data",icon:ie};case".html":case".css":case".js":case".ts":return{name:"file-programming",icon:ae};case".exe":return{name:"file-config",icon:Q};case".zip":case".rar":return{name:"file-zip",icon:ee};default:return{name:"file",icon:Z}}},t.prototype.renderValidationError=function(e,t){return o.createElement("span",{className:"k-file-info",key:"2"},o.createElement("span",{className:"k-file-name",title:e.name},e.name),o.createElement("span",{className:"k-file-validation-message"},this.getFileValidationMessage(e,t)))},t.prototype.renderFileDetails=function(e){var t=(0,u.provideLocalizationService)(this).toLanguageString(_,O[_]);return o.createElement("span",{className:"k-file-info",key:"2"},o.createElement("span",{className:"k-file-name",title:e.name},e.name),100!==e.progress?o.createElement("span",{className:"k-file-size"},T.getTotalFilesSizeMessage([e])):o.createElement("span",{className:"k-file-validation-message"},t))},t.prototype.render=function(){var e=this.props,t=e.files,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["files"]),r=t[0],a=T.getFileStatus([r]),s=a[1],u=a[2],h=a[3],d=!h&&!s&&!u;return o.createElement("div",{className:(0,i.A)("k-file-single")},d&&o.createElement(c.k,{value:r.progress||0}),o.createElement("span",{className:"k-file-icon-wrapper",key:"1"},o.createElement(l.a,he({className:"k-file-icon"},this.getFileExtensionIcon(r),{size:"xxlarge"})),o.createElement("span",{className:"k-file-state"})),h||u?this.renderValidationError(r,u):this.renderFileDetails(r),o.createElement(ce,he({uid:r.uid,status:r.status,progress:r.progress},n)))},t}(o.Component);(0,u.registerForLocalization)(de);var pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fe=function(){return fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},fe.apply(this,arguments)},me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mapFiles=function(){return t.props.files.map((function(e){return o.createElement("span",{key:e.name,className:"k-file-info"},o.createElement("span",{className:"k-file-name",title:e.name},e.name),T.fileHasValidationErrors(e)?o.createElement("span",{className:"k-file-validation-message"},t.getFileValidationMessage(e)):o.createElement("span",{key:"".concat(e.name,"-size"),className:"k-file-size"},T.getTotalFilesSizeMessage([e])))}))},t.progress=function(){var e=t.props.files,n=0;return e.forEach((function(e){n+=e.progress||0})),n/e.length},t}return pe(t,e),t.prototype.getFileValidationMessage=function(e){var t=(0,u.provideLocalizationService)(this),n="";if(e.validationErrors&&e.validationErrors.length>0){var r="upload.".concat(e.validationErrors[0]);n=t.toLanguageString(r,O[r])}return n},t.prototype.render=function(){var e=this.props,t=e.files,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["files"]),r=T.getFileStatus(t),a=r[1],s=r[2],h=r[3],d=(0,u.provideLocalizationService)(this),p=d.toLanguageString(C,O[C]),f=d.toLanguageString(z,O[z]),m=d.toLanguageString(E,O[E]),v=d.toLanguageString(_,O[_]),g=this.progress();return o.createElement("div",{className:(0,i.A)("k-file-multiple")},!h&&!a&&!s&&o.createElement(c.k,{value:g||0}),o.createElement("span",{className:"k-file-icon-wrapper"},o.createElement(l.a,{className:"k-file-icon",name:"copy",icon:Y,size:"xxlarge"})),o.createElement("span",{className:"k-multiple-files-wrapper"},this.mapFiles(),s?o.createElement("span",{className:"k-file-validation-message"},"".concat(t.length," ").concat(m)):100!==g?o.createElement("span",{className:"k-file-summary"},"".concat(p,": ").concat(t.length," ").concat(f,", ").concat(T.getTotalFilesSizeMessage(t))):o.createElement("span",{className:"k-file-summary k-text-success"},"".concat(t.length," ").concat(v))),o.createElement(ce,fe({uid:t[0].uid,status:t[0].status,progress:g},n)))},t}(o.Component);(0,u.registerForLocalization)(me);var ve=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ge.apply(this,arguments)},be=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t.onClick=function(){t.props.onClick.call(void 0,t.props.index)},t}return ve(t,e),t.prototype.componentDidUpdate=function(){var e=this.props,t=e.navigationIndex,n=e.index,r=(0,a.v)(document);t===n&&this._element&&r!==this._element&&this._element.focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.files,a=t.async,s=t.disabled,l=t.navigationIndex,c=t.index,u=t.listItemUI,h=t.onCancel,d=t.onRemove,p=t.onRetry,f=n[0],m=f.status===r.Uploaded||f.status===r.Initial,v=(0,i.A)("k-file",T.filesHaveValidationErrors(n)?"k-file-error k-file-invalid":"",f.status===r.UploadFailed||f.status===r.RemoveFailed?"k-file-error":"",f.status===r.Uploading?"k-file-progress":"",m?"k-file-success":"",l===c?"k-focus":""),g={async:a,disabled:s,onCancel:h,onRemove:d,onRetry:p},b=u||(1===n.length?de:me);return o.createElement("li",{ref:function(t){return e._element=t},className:v,"data-uid":f.uid,tabIndex:-1,onClick:this.onClick},o.createElement(b,ge({files:n},g)))},t}(o.Component),ye=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),we=function(){return we=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},we.apply(this,arguments)},xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ye(t,e),t.prototype.mapListGroups=function(){var e=this.props,t=e.groupedFiles,n=e.navigationIndex,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["groupedFiles","navigationIndex"]);return Object.keys(t).map((function(e,i){var a=t[e];return o.createElement(be,we({key:e,files:a,index:i,navigationIndex:n},r))}))},t.prototype.render=function(){var e=(0,i.A)("k-upload-files","k-reset");return o.createElement("ul",{className:e},this.mapListGroups())},t}(o.Component),ke=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=/(chrome)[ \/]([\w.]+)/i,ze=/(webkit)[ \/]([\w.]+)/i,_e=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._input=null,t.onMouseDown=function(e){t.props.onMouseDown&&t.props.onMouseDown(e)},t.onAdd=function(){var e=navigator.userAgent,n=t._input;n&&(t.props.onAdd&&n.files&&t.props.onAdd.call(void 0,n.files),!e.match(Ce)&&e.match(ze)||(n.type="",n.type="file"))},t}return ke(t,e),Object.defineProperty(t.prototype,"actionElement",{get:function(){return this._input},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.multiple,r=t.async,i=t.disabled,a=t.accept,s=t.hasFiles,l=t.ariaLabelledBy,c=t.ariaDescribedBy,h=t.id,d=(0,u.provideLocalizationService)(this),p=s?w:x,f=d.toLanguageString(p,O[p]),m=d.toLanguageString(y,O[y]);return o.createElement("input",{id:h,ref:function(t){return e._input=t},className:"k-hidden",autoComplete:"off",name:r.saveField,accept:a,type:"file",multiple:n,disabled:i,onChange:this.onAdd,onMouseDown:this.onMouseDown,title:f,"aria-label":void 0!==l?void 0:m,"aria-labelledby":l,"aria-describedby":c})},t}(o.Component);(0,u.registerForLocalization)(_e);var Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ie=function(){return Ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ie.apply(this,arguments)},Se=function(e){return o.createElement("span",{"aria-hidden":!0},e.message)},Me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t._uploadInput=null,t.focus=function(){t._element&&t._element.focus()},t.onClick=function(){t.actionElement&&t.actionElement.click(),t.props.onClick.call(void 0,t.props.addButtonIndex)},t.onInputMouseDown=function(e){t._element&&(e.preventDefault(),t._element.focus())},t}return Ee(t,e),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadInput)return this._uploadInput.actionElement},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.navigationIndex,r=t.addButtonIndex,o=t.notFocusedIndex;n!==e.navigationIndex&&e.navigationIndex!==o&&n===r&&this._element&&this._element.focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.navigationIndex,r=t.addButtonIndex,a=t.tabIndex,s=t.id,l=t.selectMessageUI,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["navigationIndex","addButtonIndex","tabIndex","id","selectMessageUI"]),h=(0,u.provideLocalizationService)(this).toLanguageString(y,O[y]),d=l||Se;return o.createElement("div",{className:"k-upload-button-wrap"},o.createElement(j.z,{type:"button",id:s,className:(0,i.A)("k-upload-button",n===r?"k-focus":""),themeColor:"base",tabIndex:a,onClick:this.onClick,"aria-label":h},o.createElement(d,{message:h})),o.createElement(_e,Ie({id:s},c,{onMouseDown:this.onInputMouseDown,ref:function(t){return e._uploadInput=t}})))},t}(o.Component);(0,u.registerForLocalization)(Me);var Oe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._uploadElement=null,t._clearElement=null,t.onClearClick=function(){t.props.disabled||t.props.onClear&&t.props.onClear.call(void 0)},t.onUploadClick=function(){t.props.disabled||(t.props.onClick.call(void 0,t.props.uploadButtonIndex),t.props.onUpload&&t.props.onUpload.call(void 0))},t}return Oe(t,e),t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.navigationIndex,r=t.clearButtonIndex,o=t.uploadButtonIndex;n!==e.navigationIndex&&(n===r&&this._clearElement&&this._clearElement.focus(),n===o&&this._uploadElement&&this._uploadElement.focus())},t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,r=t.navigationIndex,a=t.clearButtonIndex,s=t.uploadButtonIndex,l=t.actionsLayout,c=(0,u.provideLocalizationService)(this),h=(0,i.A)("k-actions","k-hstack",{"k-justify-content-start":"start"===l,"k-justify-content-center":"center"===l,"k-justify-content-end":"end"===l,"k-justify-content-stretch":"stretched"===l}),p=(0,i.A)("k-button k-button-md k-rounded-md k-button-solid k-button-solid-base","k-clear-selected",n?"k-disabled":"",r===a?"k-focus":""),f=(0,i.A)("k-button k-button-md k-rounded-md k-button-solid k-button-solid-primary","k-primary","k-upload-selected",n?"k-disabled":"",r===s?"k-focus":"");return o.createElement("div",{className:h},o.createElement("button",{ref:function(t){return e._clearElement=t},type:"button",className:p,tabIndex:-1,onClick:this.onClearClick},c.toLanguageString(d,O[d])),o.createElement("button",{ref:function(t){return e._uploadElement=t},type:"button",className:f,tabIndex:-1,onClick:this.onUploadClick},c.toLanguageString(k,O[k])))},t}(o.Component);(0,u.registerForLocalization)(Re);var He=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fe=function(){return Fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fe.apply(this,arguments)},De=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return He(t,e),t.prototype.render=function(){var e=this.props,t=e.isUploading,n=e.isUploaded,r=e.isUploadFailed,a=(0,i.A)("k-upload-status"),s=t||r||!n?!t&&r?"exclamation-circle":t?"upload":"":"check",c=t||r||!n?!t&&r?{icon:$}:t?{icon:G}:{}:{icon:K},h="",d=(0,u.provideLocalizationService)(this);return t?h=d.toLanguageString(m,O[m]):(n||r)&&(h=d.toLanguageString(f,O[f])),o.createElement("div",{className:a},o.createElement(l.a,Fe({name:s},c)),h)},t}(o.Component);(0,u.registerForLocalization)(De);var Ae=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastDocumentDragOver=null,t._lastElementDragOver=null,t._documentActive=!1,t._elementActive=!1,t.onDocumentDragEnter=function(){t.documentActive||(t.documentActive=!0,t._documentInterval=setInterval((function(){t.isDragOver(t._lastDocumentDragOver)&&(t.documentActive=!1,clearInterval(t._documentInterval),t._documentInterval=null,t._lastDocumentDragOver=null)}),100))},t.onDocumentDragOver=function(){t._lastDocumentDragOver=new Date},t.onElementDragEnter=function(){t.elementActive||(t.elementActive=!0,t._elementInterval=setInterval((function(){t.isDragOver(t._lastElementDragOver)&&(t.elementActive=!1,clearInterval(t._elementInterval),t._elementInterval=null,t._lastElementDragOver=null)}),100))},t.onElementDragOver=function(e){e.preventDefault(),t._lastElementDragOver=new Date},t.onDrop=function(e){e.preventDefault();var n=e.dataTransfer.files;n.length>0&&!t.props.disabled&&t.props.onAdd&&(t.props.multiple||n.length<=1)&&t.props.onAdd.call(void 0,n)},t.isDragOver=function(e){return(new Date).getTime()-(e||new Date).getTime()>100},t}return Ae(t,e),Object.defineProperty(t.prototype,"documentActive",{get:function(){return this._documentActive},set:function(e){var t=this.documentActive;this._documentActive=e,e!==t&&this.forceUpdate()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementActive",{get:function(){return this._elementActive},set:function(e){var t=this._elementActive;this._elementActive=e,e!==t&&this.setState({})},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){document.addEventListener("dragenter",this.onDocumentDragEnter),document.addEventListener("dragover",this.onDocumentDragOver)},t.prototype.componentWillUnmount=function(){document.removeEventListener("dragenter",this.onDocumentDragEnter),document.removeEventListener("dragover",this.onDocumentDragOver)},t.prototype.render=function(){var e=this.props,t=e.addButtonComponent,n=e.fileGroup,r=(0,u.provideLocalizationService)(this).toLanguageString(p,O[p]),a=(0,i.A)("k-dropzone k-upload-dropzone",this.documentActive?"k-dropzone-active":"",this.elementActive?"k-dropzone-hovered":""),s=T.getFileStatus(n),l=s[0],c=s[1],h=s[2],d=s[3],f=(0,i.A)("k-dropzone-hint",{});return o.createElement("div",{className:a,onDrop:this.onDrop,onDragEnter:this.onElementDragEnter,onDragOver:this.onElementDragOver},t,l||c||h||d?o.createElement(De,{isUploading:l,isUploaded:c,isUploadFailed:h}):o.createElement("div",{className:f},r))},t}(o.Component);(0,u.registerForLocalization)(Ve);var Be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._container=null,t._uploadAddButton=null,t.focus=function(){if(t._uploadAddButton)return t._uploadAddButton.focus()},t.onAdd=function(e){t.props.onAdd&&t.props.onAdd.call(void 0,e)},t.onRetry=function(e){t.props.onRetry&&t.props.onRetry.call(void 0,e)},t.onCancel=function(e){t.props.onCancel&&t.props.onCancel.call(void 0,e)},t.onClear=function(){t.props.onClear&&t.props.onClear.call(void 0)},t.onUpload=function(){t.props.onUpload&&t.props.onUpload.call(void 0)},t.onRemove=function(e){t.props.onRemove&&t.props.onRemove.call(void 0,e)},t.onKeyDown=function(e){t.props.onKeyDown&&t.props.onKeyDown.call(void 0,e,t.isRtl)},t.onFocus=function(e){t.props.onFocus&&t.props.onFocus.call(void 0,e)},t.onBlur=function(e){t.props.onBlur&&t.props.onBlur.call(void 0,e)},t.onClick=function(e){t.props.onClick&&t.props.onClick.call(void 0,e)},t}return Be(t,e),Object.defineProperty(t.prototype,"async",{get:function(){var e=this.props;return{autoUpload:e.autoUpload,batch:e.batch,withCredentials:e.withCredentials,saveField:e.saveField,saveHeaders:e.saveHeaders,saveMethod:e.saveMethod,saveUrl:e.saveUrl,responseType:e.responseType,removeField:e.removeField,removeHeaders:e.removeHeaders,removeMethod:e.removeMethod,removeUrl:e.removeUrl}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupsCount",{get:function(){return Object.keys(this.props.groupedFiles).length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastGroupIndex",{get:function(){return this.groupsCount-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addButtonIndex",{get:function(){return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearButtonIndex",{get:function(){return this.lastGroupIndex+1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uploadButtonIndex",{get:function(){return this.lastGroupIndex+2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRtl",{get:function(){return this._container&&"rtl"===getComputedStyle(this._container).direction||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadAddButton)return this._uploadAddButton.actionElement},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.multiple,r=t.disabled,a=t.tabIndex,s=t.accept,l=t.showFileList,c=t.groupedFiles,u=t.navigationIndex,h=t.showActionButtons,d=t.actionsLayout,p=t.notFocusedIndex,f=t.listItemUI,m=t.id,v=t.ariaLabelledBy,g=t.ariaDescribedBy,b=t.selectMessageUI,y=(0,i.A)("k-upload",this.props.className,r?"k-disabled":""),w=o.createElement(Me,{id:m,ariaLabelledBy:v,ariaDescribedBy:g,ref:function(t){return e._uploadAddButton=t},accept:s,async:this.async,addButtonIndex:this.addButtonIndex,navigationIndex:u,notFocusedIndex:p,tabIndex:a,multiple:n,disabled:r,hasFiles:!!c&&Object.keys(c).length>0,selectMessageUI:b,onAdd:this.onAdd,onClick:this.onClick});return o.createElement("div",{ref:function(t){return e._container=t},className:y,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur},o.createElement(Ve,{addButtonComponent:w,fileGroup:c,disabled:r,multiple:n,onAdd:this.onAdd}),l?o.createElement(xe,{groupedFiles:c,disabled:r,async:this.async,navigationIndex:u,listItemUI:f,onCancel:this.onCancel,onRemove:this.onRemove,onRetry:this.onRetry,onClick:this.onClick}):void 0,h?o.createElement(Re,{disabled:r,navigationIndex:u,clearButtonIndex:this.clearButtonIndex,uploadButtonIndex:this.uploadButtonIndex,actionsLayout:d,onUpload:this.onUpload,onClear:this.onClear,onClick:this.onClick}):void 0)},t.defaultProps={disabled:!1,groupedFiles:{},multiple:!0,actionsLayout:"end"},t}(o.Component),Le=n(189),Pe=n(4703),Te=n(3493),je=n(7827),Ue=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),We=function(){return We=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},We.apply(this,arguments)},Ke=-2,qe=-1,Ge=function(e){function t(t){var n=e.call(this,t)||this;return n._uploadUI=null,n.focus=function(){n._uploadUI&&n._uploadUI.focus()},n.onKeyDown=function(e,t){var r=n.navIndex,o=Object.keys(n.props.groupedFiles),i=o.length-1,s=n.props.autoUpload||0===o.length?i:i+1,l=i+1,c=l+1,u=r===Ke?qe:r,h=r;switch(e.keyCode){case Te.R.up:r>-1&&(h=u-1);break;case Te.R.down:r<s&&(h=u+1);break;case Te.R.left:t?r===l&&(h=u+1):r===c&&(h=u-1);break;case Te.R.right:t?r===c&&(h=u-1):r===l&&(h=u+1);break;case Te.R.enter:if(r===qe||r===Ke){var d=(0,a.v)(document);n.actionElement&&je.N&&-1===(null==d?void 0:d.className.indexOf("k-upload-button"))&&n.actionElement.click()}r>=0&&r<=i&&n.onRetry(o[r]);break;case Te.R.space:r!==qe&&r!==Ke||n.actionElement&&n.actionElement.click(),e.preventDefault();break;case Te.R.tab:h=Ke;break;case Te.R.delete:r>=0&&r<=i&&(h=u-1,n.onRemove(o[r]));break;case Te.R.esc:r>=0&&r<=i&&(h=u-1,n.onCancel(o[r]))}n.navIndex=h},n.onCancel=function(e){n.props.onCancel&&n.props.onCancel.call(void 0,e)},n.onClear=function(){n.navIndex=qe,n.props.onClear&&n.props.onClear.call(void 0)},n.onUpload=function(){n.navIndex=qe,n.props.onUpload&&n.props.onUpload.call(void 0)},n.onRetry=function(e){n.props.onRetry&&n.props.onRetry.call(void 0,e)},n.onRemove=function(e){n.navIndex=n.navIndex>qe?n.navIndex-1:qe,n.props.onRemove&&n.props.onRemove.call(void 0,e)},n.onAdd=function(e){n.navIndex=qe,n.props.onAdd&&n.props.onAdd.call(void 0,e)},n.onClick=function(e){n.navIndex=e},n.onFocus=function(){n._blurTimeout&&(clearTimeout(n._blurTimeout),n._blurTimeout=void 0)},n.onBlurTimeout=function(){n.navIndex=Ke,n._blurTimeout=void 0},n.onBlur=function(){clearTimeout(n._blurTimeout),n._blurTimeout=window.setTimeout(n.onBlurTimeout)},n._navIndex=Ke,n}return Ue(t,e),Object.defineProperty(t.prototype,"navIndex",{get:function(){return this._navIndex},set:function(e){var t=this.navIndex;this._navIndex=e,e!==t&&this.forceUpdate()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadUI)return this._uploadUI.actionElement},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=Object.keys(e.groupedFiles).length,n=Object.keys(this.props.groupedFiles).length;t>n&&this.navIndex>qe&&(this.navIndex=this.navIndex-(t-n))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onClear,t.onRemove,t.onRetry,t.onCancel,t.onUpload,t.onAdd,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["onClear","onRemove","onRetry","onCancel","onUpload","onAdd"]));return o.createElement(Ne,We({ref:function(t){return e._uploadUI=t},className:this.props.className,onKeyDown:this.onKeyDown,navigationIndex:this.navIndex,notFocusedIndex:Ke,onAdd:this.onAdd,onClear:this.onClear,onUpload:this.onUpload,onRemove:this.onRemove,onRetry:this.onRetry,onCancel:this.onCancel,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},n))},t}(o.Component);function $e(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ye}=Object.prototype,{getPrototypeOf:Ze}=Object,Xe=(Je=Object.create(null),e=>{const t=Ye.call(e);return Je[t]||(Je[t]=t.slice(8,-1).toLowerCase())});var Je;const Qe=e=>(e=e.toLowerCase(),t=>Xe(t)===e),et=e=>t=>typeof t===e,{isArray:tt}=Array,nt=et("undefined"),rt=Qe("ArrayBuffer"),ot=et("string"),it=et("function"),at=et("number"),st=e=>null!==e&&"object"==typeof e,lt=e=>{if("object"!==Xe(e))return!1;const t=Ze(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},ct=Qe("Date"),ut=Qe("File"),ht=Qe("Blob"),dt=Qe("FileList"),pt=Qe("URLSearchParams");function ft(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),tt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function mt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const vt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,gt=e=>!nt(e)&&e!==vt,bt=(yt="undefined"!=typeof Uint8Array&&Ze(Uint8Array),e=>yt&&e instanceof yt);var yt;const wt=Qe("HTMLFormElement"),xt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),kt=Qe("RegExp"),Ct=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ft(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},zt="abcdefghijklmnopqrstuvwxyz",_t="0123456789",Et={DIGIT:_t,ALPHA:zt,ALPHA_DIGIT:zt+zt.toUpperCase()+_t},It=Qe("AsyncFunction"),St={isArray:tt,isArrayBuffer:rt,isBuffer:function(e){return null!==e&&!nt(e)&&null!==e.constructor&&!nt(e.constructor)&&it(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||it(e.append)&&("formdata"===(t=Xe(e))||"object"===t&&it(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&rt(e.buffer),t},isString:ot,isNumber:at,isBoolean:e=>!0===e||!1===e,isObject:st,isPlainObject:lt,isUndefined:nt,isDate:ct,isFile:ut,isBlob:ht,isRegExp:kt,isFunction:it,isStream:e=>st(e)&&it(e.pipe),isURLSearchParams:pt,isTypedArray:bt,isFileList:dt,forEach:ft,merge:function e(){const{caseless:t}=gt(this)&&this||{},n={},r=(r,o)=>{const i=t&&mt(n,o)||o;lt(n[i])&&lt(r)?n[i]=e(n[i],r):lt(r)?n[i]=e({},r):tt(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ft(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(ft(t,((t,r)=>{n&&it(t)?e[r]=$e(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Ze(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Xe,kindOfTest:Qe,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(tt(e))return e;let t=e.length;if(!at(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:wt,hasOwnProperty:xt,hasOwnProp:xt,reduceDescriptors:Ct,freezeMethods:e=>{Ct(e,((t,n)=>{if(it(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];it(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return tt(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:mt,global:vt,isContextDefined:gt,ALPHABET:Et,generateString:(e=16,t=Et.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&it(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(st(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=tt(e)?[]:{};return ft(e,((e,t)=>{const i=n(e,r+1);!nt(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:It,isThenable:e=>e&&(st(e)||it(e))&&it(e.then)&&it(e.catch)};function Mt(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}St.inherits(Mt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:St.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ot=Mt.prototype,Rt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Rt[e]={value:e}})),Object.defineProperties(Mt,Rt),Object.defineProperty(Ot,"isAxiosError",{value:!0}),Mt.from=(e,t,n,r,o,i)=>{const a=Object.create(Ot);return St.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Mt.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Ht=Mt;function Ft(e){return St.isPlainObject(e)||St.isArray(e)}function Dt(e){return St.endsWith(e,"[]")?e.slice(0,-2):e}function At(e,t,n){return e?e.concat(t).map((function(e,t){return e=Dt(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Vt=St.toFlatObject(St,{},null,(function(e){return/^is[A-Z]/.test(e)})),Bt=function(e,t,n){if(!St.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=St.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!St.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&St.isSpecCompliantForm(t);if(!St.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(St.isDate(e))return e.toISOString();if(!s&&St.isBlob(e))throw new Ht("Blob is not supported. Use a Buffer instead.");return St.isArrayBuffer(e)||St.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(St.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(St.isArray(e)&&function(e){return St.isArray(e)&&!e.some(Ft)}(e)||(St.isFileList(e)||St.endsWith(n,"[]"))&&(s=St.toArray(e)))return n=Dt(n),s.forEach((function(e,r){!St.isUndefined(e)&&null!==e&&t.append(!0===a?At([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Ft(e)||(t.append(At(o,n,i),l(e)),!1)}const u=[],h=Object.assign(Vt,{defaultVisitor:c,convertValue:l,isVisitable:Ft});if(!St.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!St.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),St.forEach(n,(function(n,i){!0===(!(St.isUndefined(n)||null===n)&&o.call(t,n,St.isString(i)?i.trim():i,r,h))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function Nt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Lt(e,t){this._pairs=[],e&&Bt(e,this,t)}const Pt=Lt.prototype;Pt.append=function(e,t){this._pairs.push([e,t])},Pt.toString=function(e){const t=e?function(t){return e.call(this,t,Nt)}:Nt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Tt=Lt;function jt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ut(e,t,n){if(!t)return e;const r=n&&n.encode||jt,o=n&&n.serialize;let i;if(i=o?o(t,n):St.isURLSearchParams(t)?t.toString():new Tt(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const Wt=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){St.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Kt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Tt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},Gt=function(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&St.isArray(r)?r.length:i,s?(St.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&St.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&St.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(St.isFormData(e)&&St.isFunction(e.entries)){const n={};return St.forEachEntry(e,((e,r)=>{t(function(e){return St.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},$t={transitional:Kt,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=St.isObject(e);if(o&&St.isHTMLForm(e)&&(e=new FormData(e)),St.isFormData(e))return r&&r?JSON.stringify(Gt(e)):e;if(St.isArrayBuffer(e)||St.isBuffer(e)||St.isStream(e)||St.isFile(e)||St.isBlob(e))return e;if(St.isArrayBufferView(e))return e.buffer;if(St.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Bt(e,new qt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return qt.isNode&&St.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=St.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Bt(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(St.isString(e))try{return(0,JSON.parse)(e),St.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||$t.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&St.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Ht.from(e,Ht.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qt.classes.FormData,Blob:qt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};St.forEach(["delete","get","head","post","put","patch"],(e=>{$t.headers[e]={}}));const Yt=$t,Zt=St.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xt=Symbol("internals");function Jt(e){return e&&String(e).trim().toLowerCase()}function Qt(e){return!1===e||null==e?e:St.isArray(e)?e.map(Qt):String(e)}function en(e,t,n,r,o){return St.isFunction(r)?r.call(this,t,n):(o&&(t=n),St.isString(t)?St.isString(r)?-1!==t.indexOf(r):St.isRegExp(r)?r.test(t):void 0:void 0)}class tn{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Jt(t);if(!o)throw new Error("header name must be a non-empty string");const i=St.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Qt(e))}const i=(e,t)=>St.forEach(e,((e,n)=>o(e,n,t)));return St.isPlainObject(e)||e instanceof this.constructor?i(e,t):St.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Zt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=Jt(e)){const n=St.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(St.isFunction(t))return t.call(this,e,n);if(St.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jt(e)){const n=St.findKey(this,e);return!(!n||void 0===this[n]||t&&!en(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Jt(e)){const o=St.findKey(n,e);!o||t&&!en(0,n[o],o,t)||(delete n[o],r=!0)}}return St.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!en(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return St.forEach(this,((r,o)=>{const i=St.findKey(n,o);if(i)return t[i]=Qt(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Qt(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return St.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&St.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Xt]=this[Xt]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Jt(e);t[r]||(function(e,t){const n=St.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return St.isArray(e)?e.forEach(r):r(e),this}}tn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),St.reduceDescriptors(tn.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),St.freezeMethods(tn);const nn=tn;function rn(e,t){const n=this||Yt,r=t||n,o=nn.from(r.headers);let i=r.data;return St.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function on(e){return!(!e||!e.__CANCEL__)}function an(e,t,n){Ht.call(this,null==e?"canceled":e,Ht.ERR_CANCELED,t,n),this.name="CanceledError"}St.inherits(an,Ht,{__CANCEL__:!0});const sn=an,ln=qt.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),St.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),St.isString(r)&&a.push("path="+r),St.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function cn(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const un=qt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=St.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function hn(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,h=0;for(;u!==i;)h+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const d=c&&l-c;return d?Math.round(1e3*h/d):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const dn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=nn.from(e.headers).normalize(),i=e.responseType;let a,s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}St.isFormData(r)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?St.isString(s=o.getContentType())&&o.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const u=cn(e.baseURL,e.url);function h(){if(!c)return;const r=nn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ht("Request failed with status code "+n.status,[Ht.ERR_BAD_REQUEST,Ht.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:i&&"text"!==i&&"json"!==i?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),Ut(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(h)},c.onabort=function(){c&&(n(new Ht("Request aborted",Ht.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new Ht("Network Error",Ht.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Kt;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new Ht(t,r.clarifyTimeoutError?Ht.ETIMEDOUT:Ht.ECONNABORTED,e,c)),c=null},qt.isStandardBrowserEnv){const t=un(u)&&e.xsrfCookieName&&ln.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&St.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),St.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&"json"!==i&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",hn(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",hn(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new sn(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u);d&&-1===qt.protocols.indexOf(d)?n(new Ht("Unsupported protocol "+d+":",Ht.ERR_BAD_REQUEST,e)):c.send(r||null)}))},pn={http:null,xhr:dn};St.forEach(pn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const fn=e=>`- ${e}`,mn=e=>St.isFunction(e)||null===e||!1===e,vn=e=>{e=St.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!mn(n)&&(r=pn[(t=String(n)).toLowerCase()],void 0===r))throw new Ht(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(fn).join("\n"):" "+fn(e[0]):"as no adapter specified";throw new Ht("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function gn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sn(null,e)}function bn(e){return gn(e),e.headers=nn.from(e.headers),e.data=rn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vn(e.adapter||Yt.adapter)(e).then((function(t){return gn(e),t.data=rn.call(e,e.transformResponse,t),t.headers=nn.from(t.headers),t}),(function(t){return on(t)||(gn(e),t&&t.response&&(t.response.data=rn.call(e,e.transformResponse,t.response),t.response.headers=nn.from(t.response.headers))),Promise.reject(t)}))}const yn=e=>e instanceof nn?e.toJSON():e;function wn(e,t){t=t||{};const n={};function r(e,t,n){return St.isPlainObject(e)&&St.isPlainObject(t)?St.merge.call({caseless:n},e,t):St.isPlainObject(t)?St.merge({},t):St.isArray(t)?t.slice():t}function o(e,t,n){return St.isUndefined(t)?St.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!St.isUndefined(t))return r(void 0,t)}function a(e,t){return St.isUndefined(t)?St.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(yn(e),yn(t),!0)};return St.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);St.isUndefined(a)&&i!==s||(n[r]=a)})),n}const xn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{xn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const kn={};xn.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Ht(r(o," has been removed"+(t?" in "+t:"")),Ht.ERR_DEPRECATED);return t&&!kn[o]&&(kn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Cn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ht("options must be an object",Ht.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Ht("option "+i+" must be "+n,Ht.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ht("Unknown option "+i,Ht.ERR_BAD_OPTION)}},validators:xn},zn=Cn.validators;class _n{constructor(e){this.defaults=e,this.interceptors={request:new Wt,response:new Wt}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=wn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Cn.assertOptions(n,{silentJSONParsing:zn.transitional(zn.boolean),forcedJSONParsing:zn.transitional(zn.boolean),clarifyTimeoutError:zn.transitional(zn.boolean)},!1),null!=r&&(St.isFunction(r)?t.paramsSerializer={serialize:r}:Cn.assertOptions(r,{encode:zn.function,serialize:zn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&St.merge(o.common,o[t.method]);o&&St.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=nn.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,h=0;if(!s){const e=[bn.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);h<u;)c=c.then(e[h++],e[h++]);return c}u=a.length;let d=t;for(h=0;h<u;){const e=a[h++],t=a[h++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=bn.call(this,d)}catch(e){return Promise.reject(e)}for(h=0,u=l.length;h<u;)c=c.then(l[h++],l[h++]);return c}getUri(e){return Ut(cn((e=wn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}St.forEach(["delete","get","head","options"],(function(e){_n.prototype[e]=function(t,n){return this.request(wn(n||{},{method:e,url:t,data:(n||{}).data}))}})),St.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(wn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_n.prototype[e]=t(),_n.prototype[e+"Form"]=t(!0)}));const En=_n;class In{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new sn(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new In((function(t){e=t})),cancel:e}}}const Sn=In,Mn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mn).forEach((([e,t])=>{Mn[t]=e}));const On=Mn,Rn=function e(t){const n=new En(t),r=$e(En.prototype.request,n);return St.extend(r,En.prototype,n,{allOwnKeys:!0}),St.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(wn(t,n))},r}(Yt);Rn.Axios=En,Rn.CanceledError=sn,Rn.CancelToken=Sn,Rn.isCancel=on,Rn.VERSION="1.6.0",Rn.toFormData=Bt,Rn.AxiosError=Ht,Rn.Cancel=Rn.CanceledError,Rn.all=function(e){return Promise.all(e)},Rn.spread=function(e){return function(t){return e.apply(null,t)}},Rn.isAxiosError=function(e){return St.isObject(e)&&!0===e.isAxiosError},Rn.mergeConfig=wn,Rn.AxiosHeaders=nn,Rn.formToJSON=e=>Gt(St.isHTMLForm(e)?new FormData(e):e),Rn.getAdapter=vn,Rn.HttpStatusCode=On,Rn.default=Rn;const Hn=Rn;var Fn=function(){return Fn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fn.apply(this,arguments)},Dn=function(e,t){t.push(e)},An=function(e,t){Object.keys(e).forEach((function(n){t(e[n],n)}))};const Vn=function(e){return(e||[]).map((function(e){return Fn({},e)}))},Bn=function(e,t){e.forEach((function(e){return Dn(e,t)}))},Nn=function(e){var t={};return e.forEach((function(e){t[e.uid]?t[e.uid].push(e):t[e.uid]=[e]})),t},Ln=function(e){var t={};return An(e,(function(e,n){var o=!0;e.forEach((function(e){(e.status!==r.Selected||e.validationErrors&&e.validationErrors.length>0)&&(o=!1)})),o&&(t[n]=e)})),t},Pn=function(e,t){An(e,(function(e){e.forEach((function(e){e.status=t}))}))},Tn=function(e){var t=[];return An(e,(function(e){t.push.apply(t,e)})),t},jn=An;var Un=function(){return Un=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Un.apply(this,arguments)},Wn=function(e,t){Object.keys(t).forEach((function(n){e.append(n,t[n])}))};const Kn=function(e,t){return{headers:e,responseType:t.responseType,withCredentials:t.withCredentials}},qn=function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t},Gn=function(e){var t=e.data,n=(e.config,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["data","config"]));return Un({response:t},n)};var $n="invalidMaxFileSize",Yn="invalidMinFileSize",Zn="invalidFileExtension",Xn=function(e,t){t.length>0&&t.indexOf((e.extension||"").toLowerCase())<0&&(e.validationErrors=e.validationErrors||[],e.validationErrors.indexOf(Zn)<0&&e.validationErrors.push(Zn))},Jn=function(e,t,n){0!==t&&(e.size||0)<t&&(e.validationErrors=e.validationErrors||[],e.validationErrors.indexOf(Yn)<0&&e.validationErrors.push(Yn)),0!==n&&(e.size||0)>n&&(e.validationErrors=e.validationErrors||[],e.validationErrors.indexOf($n)<0&&e.validationErrors.push($n))};var Qn=n(4006),er={name:"@progress/kendo-react-upload",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700065336,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},tr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nr=function(){return nr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nr.apply(this,arguments)},rr=function(e){function t(t){var n=e.call(this,t)||this;return n._httpSubscriptions={},n._uploadNavigation=null,n.focus=function(){n._uploadNavigation&&n._uploadNavigation.focus()},n.triggerUpload=function(){n.onUpload()},n.uploadFiles=function(e){var t=n.async;Pn(e,r.Uploading),jn(e,(function(e,r){var o=qn(t.saveHeaders||{}),i={target:n,files:e,headers:o,additionalData:{}};n.props.onBeforeUpload&&n.props.onBeforeUpload.call(void 0,i);var a,s,l,c,u=Kn(i.headers,n.async),h=(a=e,s=t.saveField,l=i.additionalData,c=new FormData,Wn(c,l),a.forEach((function(e){var t=e.getRawFile?e.getRawFile():"";t?c.append(s,t,e.name):c.append(s,t)})),c);if(n.isCustomSave)n.props.saveUrl(e,{formData:h,requestOptions:u},n.onUploadProgress).then((function(e){return n.onUploadSuccess(e.uid)})).catch((function(e){return n.onUploadError(e.uid)}));else{var d=Hn.CancelToken.source();n._httpSubscriptions[r]=d,Hn(nr(nr({method:t.saveMethod,url:t.saveUrl,data:h,cancelToken:d.token},u),{onUploadProgress:function(e){return n.onUploadProgress(r,e)}})).then((function(e){return n.onUploadSuccess(r,e)})).catch((function(e){return n.onUploadError(r,e)}))}}))},n.removeFiles=function(e){var t=n.async;jn(e,(function(e,r){var o=qn(t.removeHeaders||{}),i={target:n,files:e,headers:o,additionalData:{}};n.props.onBeforeRemove&&n.props.onBeforeRemove.call(void 0,i);var a=e.map((function(e){return e.name})),s=Kn(i.headers,n.async),l=function(e,t,n){var r=new FormData;return Wn(r,n),e.forEach((function(e){r.append(t,e)})),r}(a,t.removeField,i.additionalData);n.isCustomRemove?n.props.removeUrl(e,{formData:l,requestOptions:s}).then((function(e){return n.onRemoveSuccess(e.uid)})).catch((function(e){return n.onRemoveError(e.uid)})):Hn(nr({method:t.removeMethod,url:t.removeUrl,data:l},s)).then((function(e){return n.onRemoveSuccess(r,e)})).catch((function(e){return n.onRemoveError(r,e)}))}))},n.onUpload=function(){var e=n.fileStateCopy,t=Nn(e),r=Ln(t);n.uploadFiles(r);var o=function(){if(n.props.onStatusChange){var t={target:n,newState:e,affectedFiles:Tn(r)};n.props.onStatusChange.call(void 0,t)}};n.isControlled?o():n.setState({files:e},o)},n.onAdd=function(e){var t,r=T.getAllFileInfo(e);if(function(e,t){var n,r=(t.allowedExtensions||[]).map((function(e){return("."===e.substring(0,1)?e:"."+e).toLowerCase()})),o=t.maxFileSize||0,i=t.minFileSize||0;for(n=0;n<e.length;n++)Xn(e[n],r),Jn(e[n],i,o)}(r=T.assignGuidToFiles(r,n.async.batch),n.props.restrictions),t=n.props.multiple?n.fileStateCopy:[],Bn(r,t),n.async.autoUpload){var o=Nn(t);n.uploadFiles(Ln(o))}var i=function(){if(n.props.onAdd){var e={target:n,newState:t,affectedFiles:r};n.props.onAdd.call(void 0,e)}};n.isControlled?i():n.setState({files:t},i)},n.onUploadProgress=function(e,t){var r=Math.round(100*t.loaded/(t.total||0))||0,o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));if(i.length){i.forEach((function(e){e.progress=r}));var a=function(){if(n.props.onProgress){var e={target:n,newState:o,affectedFiles:i};n.props.onProgress.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)}},n.onUploadSuccess=function(e,t){var o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));i.forEach((function(e){e.status=r.Uploaded})),delete n._httpSubscriptions[e];var a=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i,response:t?Gn(t):void 0};n.props.onStatusChange.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)},n.onUploadError=function(e,t){var o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));if(i.forEach((function(e){e.status=r.UploadFailed})),delete n._httpSubscriptions[e],i.length){var a=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i,response:t?Gn(t):void 0};n.props.onStatusChange.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)}},n.onRemove=function(e){var t,o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e})),a=o.filter((function(t){return t.uid!==e}));if([r.Uploaded,r.Initial,r.RemoveFailed].indexOf(i[0].status)>-1){var s=((t={})[e]=i,t);Pn(s,r.Removing),n.removeFiles(s);var l=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i};n.props.onStatusChange.call(void 0,e)}};n.isControlled?l():n.setState({files:o},l)}else{var c=function(){if(n.props.onRemove){var e={target:n,newState:a,affectedFiles:i};n.props.onRemove.call(void 0,e)}};n.isControlled?c():n.setState({files:a},c)}},n.onRemoveSuccess=function(e,t){var r=n.fileStateCopy,o=r.filter((function(t){return t.uid===e})),i=r.filter((function(t){return t.uid!==e})),a=function(){if(n.props.onRemove){var e={target:n,newState:i,affectedFiles:o,response:t?Gn(t):void 0};n.props.onRemove.call(void 0,e)}};n.isControlled?a():n.setState({files:i},a)},n.onRemoveError=function(e,t){var o=n.fileStateCopy,i=o.filter((function(t){return t.uid===e}));i.forEach((function(e){e.status=r.RemoveFailed}));var a=function(){if(n.props.onStatusChange){var e={target:n,newState:o,affectedFiles:i,response:t?Gn(t):void 0};n.props.onStatusChange.call(void 0,e)}};n.isControlled?a():n.setState({files:o},a)},n.onRetry=function(e){var t=n.fileStateCopy,o=Nn(t.filter((function(t){return t.uid===e})));Pn(o,r.Uploading),n.uploadFiles(o);var i=function(){if(n.props.onStatusChange){var e={target:n,newState:t,affectedFiles:Tn(o)};n.props.onStatusChange.call(void 0,e)}};n.isControlled?i():n.setState({files:t},i)},n.onCancel=function(e){var t=n.fileStateCopy,r=t.filter((function(t){return t.uid!==e})),o=t.filter((function(t){return t.uid===e}));if(n._httpSubscriptions[e]&&(n._httpSubscriptions[e].cancel(),delete n._httpSubscriptions[e]),n.props.onCancel){var i={target:n,uid:e};n.props.onCancel.call(void 0,i)}var a=function(){if(n.props.onRemove){var e={target:n,newState:r,affectedFiles:o};n.props.onRemove.call(void 0,e)}};n.isControlled?a():n.setState({files:r},a)},n.onClear=function(){if(n.files.length){Object.keys(n._httpSubscriptions).forEach((function(e){n._httpSubscriptions[e].cancel()})),n._httpSubscriptions={};var e=function(){if(n.props.onRemove){var e={target:n,newState:[],affectedFiles:n.fileStateCopy};n.props.onRemove.call(void 0,e)}};n.isControlled?e():n.setState({files:[]},e)}},(0,Qn.s)(er),n.state={files:t.defaultFiles||[]},n}return tr(t,e),Object.defineProperty(t.prototype,"async",{get:function(){var e=this.props;return{autoUpload:e.autoUpload,batch:e.batch,removeField:e.removeField,removeHeaders:e.removeHeaders,removeMethod:e.removeMethod,removeUrl:e.removeUrl,responseType:e.responseType,saveField:e.saveField,saveHeaders:e.saveHeaders,saveMethod:e.saveMethod,saveUrl:e.saveUrl,withCredentials:e.withCredentials}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"files",{get:function(){return(this.isControlled?this.props.files:this.state.files)||[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isControlled",{get:function(){return!this.props.defaultFiles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCustomSave",{get:function(){return this.props.saveUrl&&"function"==typeof this.props.saveUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCustomRemove",{get:function(){return this.props.removeUrl&&"function"==typeof this.props.removeUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fileStateCopy",{get:function(){return this.isControlled?Vn(this.props.files):Vn(this.state.files)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){if(this._uploadNavigation)return this._uploadNavigation.actionElement},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.showFileList,r=(t.onAdd,t.onRemove,t.onCancel,t.autoUpload),i=t.showActionButtons,a=t.actionsLayout,s=t.tabIndex,l=t.disabled,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["showFileList","onAdd","onRemove","onCancel","autoUpload","showActionButtons","actionsLayout","tabIndex","disabled"]),u=Nn(this.files),h=Ln(u);return o.createElement(Ge,nr({groupedFiles:u,className:this.props.className,showFileList:n&&!!Object.keys(u).length,showActionButtons:i&&!r&&!!Object.keys(h).length,actionsLayout:a,autoUpload:r,disabled:l,onAdd:this.onAdd,onRemove:this.onRemove,onClear:this.onClear,onUpload:this.onUpload,onRetry:this.onRetry,onCancel:this.onCancel,tabIndex:(0,Pe.p)(s,l),ref:function(t){return e._uploadNavigation=t}},c))},t.defaultProps={autoUpload:!0,batch:!1,removeField:"fileNames",removeHeaders:{},removeMethod:"POST",removeUrl:"",responseType:"json",saveField:"files",saveHeaders:{},saveMethod:"POST",saveUrl:"",withCredentials:!0,restrictions:{allowedExtensions:[],maxFileSize:0,minFileSize:0},multiple:!0,showFileList:!0,showActionButtons:!0,actionsLayout:"end",disabled:!1},t.propTypes={autoUpload:Le.bool,batch:Le.bool,withCredentials:Le.bool,saveField:Le.string,saveHeaders:Le.object,saveMethod:Le.string,saveUrl:Le.oneOfType([Le.string,Le.func]),responseType:Le.oneOf(["arraybuffer","blob","json","text"]),removeField:Le.string,removeHeaders:Le.object,removeMethod:Le.string,removeUrl:Le.oneOfType([Le.string,Le.func]),multiple:Le.bool,disabled:Le.bool,showFileList:Le.bool,showActionButtons:Le.bool,actionsLayout:Le.oneOf(["start","center","end","stretched"]),tabIndex:Le.number,accept:Le.string,listItemUI:Le.oneOfType([Le.func,Le.string,Le.shape({render:Le.func.isRequired})]),restrictions:Le.shape({allowedExtensions:Le.arrayOf(Le.string),maxFileSize:Le.number,minFileSize:Le.number}),files:Le.arrayOf(Le.shape({uid:Le.string,name:Le.string,extension:Le.string,size:Le.number,validationErrors:Le.arrayOf(Le.string),status:Le.oneOf([r.Initial,r.RemoveFailed,r.Removing,r.Selected,r.UploadFailed,r.Uploaded,r.Uploading]),progress:Le.number,getRawFile:Le.func})),defaultFiles:Le.arrayOf(Le.shape({uid:Le.string,name:Le.string,extension:Le.string,size:Le.number,validationErrors:Le.arrayOf(Le.string),status:Le.oneOf([r.Initial,r.RemoveFailed,r.Removing,r.Selected,r.UploadFailed,r.Uploaded,r.Uploading]),progress:Le.number,getRawFile:Le.func}))},t}(o.Component),or=o.forwardRef((function(e,t){(0,Qn.s)(er);var n=o.useRef(null),r=o.useRef(null),a=o.useRef(null),s=o.useRef(!1),c=o.useRef(null),h=e.uploadRef,d=h.current,p=o.useState(!1),f=p[0],m=p[1],v=o.useMemo((function(){return new u.IntlService("en")}),[]),g=(0,u.useLocalization)(),b=g.toLanguageString(I,O[I]),y=o.useState(g.toLanguageString(S,O[S])),w=y[0],x=y[1],k=e.customHint||o.createElement("span",null,b),C=e.customNote||o.createElement("span",null,w),z=o.useCallback((function(){r.current&&r.current.focus()}),[r]);o.useImperativeHandle(n,(function(){return{element:r.current,focus:z,props:e}})),o.useImperativeHandle(t,(function(){return n.current})),o.useEffect((function(){if(d){var e=d.props.restrictions.allowedExtensions;if(e&&e.length){var t=v.format(g.toLanguageString(M,O[M]),[e]);x(t)}}}),[d,g,v]);var _=o.useCallback((function(e){return(new Date).getTime()-(e||new Date).getTime()>100}),[]),E=o.useCallback((function(t){t.preventDefault();var n=t.dataTransfer.files;n.length>0&&!e.disabled&&h&&h.current&&(h.current.onAdd&&(t.preventDefault(),h.current.onAdd(n)),e.onDrop&&e.onDrop.call(void 0,t))}),[e.disabled,h,e.onDrop]),R=o.useCallback((function(t){s&&(s.current=!0,a.current=setInterval((function(){_(c.current)&&(m(!1),s.current=!1,clearInterval(a.current),a.current=null,c.current=null)}),100)),e.onElementDragEnter&&e.onElementDragEnter.call(void 0,t)}),[s,a,c,_,e.onElementDragEnter]),H=o.useCallback((function(t){t.preventDefault(),c.current=new Date,m(!0),e.onElementDragOver&&e.onElementDragOver.call(void 0,t)}),[c,e.onElementDragOver]);return o.createElement("div",{ref:r,id:e.id,className:(0,i.A)("k-external-dropzone",{"k-external-dropzone-hover":f,"k-disabled":e.disabled},e.className),tabIndex:(0,Pe.p)(e.tabIndex,e.disabled,void 0),onDrop:E,onDragEnter:R,onDragOver:H},o.createElement("div",{style:e.style,className:"k-dropzone-inner"},o.createElement(l.a,{name:"upload",icon:G,className:"k-dropzone-icon",size:"xxxlarge"}),o.createElement("span",{className:"k-dropzone-hint"},k),o.createElement("span",{className:"k-dropzone-note"},C)))})),ir={id:Le.string,tabIndex:Le.number,editorRef:Le.oneOfType([Le.func,Le.shape({current:Le.any})]),disabled:Le.bool,onDrop:Le.func,onElementDragEnter:Le.func,onElementDragOver:Le.func};or.displayName="KendoReactExternalDropZone",or.propTypes=ir},1779:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(3899),o=n(9844),i=r.forwardRef((function(e,t){var n=r.useRef(null),i=r.useRef(null),a=r.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);r.useImperativeHandle(i,(function(){return{element:a()||null}})),r.useImperativeHandle(t,(function(){return i.current})),r.useImperativeHandle(e.childRef,(function(){return n.current}));var s=r.useCallback((function(t){e.onPress&&e.onPress({element:a(),target:i.current,event:t})}),[a,e.onPress]),l=r.useCallback((function(t){e.onRelease&&e.onRelease({element:a(),target:i.current,event:t})}),[a,e.onRelease]),c=r.useCallback((function(t){e.onDragStart&&e.onDragStart({element:a(),target:i.current,event:t})}),[e,a]),u=r.useCallback((function(t){e.onDrag&&e.onDrag({element:a(),target:i.current,event:t})}),[a,e.onDrag]),h=r.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:a(),target:i.current,event:t})}),[a,e.onDragEnd]);return(0,o.O)(n,{onPress:s,onRelease:l,onDragStart:c,onDrag:u,onDragEnd:h},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));i.displayName="KendoReactDraggable"},3503:(e,t,n)=>{n.d(t,{O:()=>o});var r=function(){return"undefined"!=typeof document?document:{}},o=function(){function e(){this.scrollbar=0}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=r();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!1,configurable:!0}),e}()},7827:(e,t,n)=>{n.d(t,{N:()=>r});var r=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},8047:(e,t,n)=>{n.d(t,{A:()=>r});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={},r=function(e){return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r(e):function(e){return"object"==typeof e?Object.keys(e).forEach((function(t){n[t]=e[t]})):n[e]=!0}(e)}))};return r(e),Object.keys(n).map((function(e){return n[e]&&e||null})).filter((function(e){return null!==e})).join(" ")}},8259:(e,t,n)=>{n.d(t,{$:()=>o,u:()=>i});var r=n(3899),o=r.createContext(0),i=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext"},2333:(e,t,n)=>{n.d(t,{Dg:()=>i,Gc:()=>a,Fg:()=>s,tk:()=>l});var r=n(3899),o=n(3228),i=r.createContext([void 0,o.Z]),a=r.createContext([void 0,o.Z]),s=r.createContext([[],o.Z,o.Z]),l=r.createContext([[],o.Z,o.Z])},5407:(e,t,n)=>{function r(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}n.d(t,{N:()=>r})},4100:(e,t,n)=>{n.d(t,{E:()=>o});var r=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function o(e){var t=[];return e.replace(r,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}},9124:(e,t,n)=>{n.d(t,{n:()=>r});var r=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}}},3769:(e,t,n)=>{n.d(t,{T:()=>r,v:()=>o});var r=function(e){var t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?r(t.activeElement):n&&n.activeElement?r(n.activeElement):e},o=function(e){if(e&&e.activeElement)return r(e.activeElement)}},4703:(e,t,n)=>{n.d(t,{p:()=>r});var r=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0}},9659:(e,t,n)=>{n.d(t,{Y:()=>i});var r=n(4100),o={};function i(e){if(o[e])return o[e];var t=(0,r.E)(e);return o[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},o[e]}o.undefined=function(){}},3198:(e,t,n)=>{n.d(t,{M:()=>r});var r=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n}},7191:(e,t,n)=>{n.d(t,{V:()=>o});var r=n(7827),o=function(e){if(!r.N)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)";var o=t.createElement("div");o.appendChild(t.createTextNode("child")),o.style.position="fixed",o.style.top="10px",n.appendChild(o),t.body.appendChild(n);var i=10!==o.getBoundingClientRect().top;return t.body.removeChild(n),i}},848:(e,t,n)=>{n.d(t,{Y:()=>a,u:()=>s});var r=n(3899),o=n(9656),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=function(){return r.createContext((function(e){return e}))},s=function(e,t){return r.forwardRef((function(n,a){var s=(0,o.Y)(e,n);return r.createElement(t,i({},s,{ref:a}))}))}},6059:(e,t,n)=>{n.d(t,{U:()=>i});var r=n(3899),o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function i(e){var t=e.onFocus,n=e.onBlur,i=e.onSyncFocus,a=e.onSyncBlur,s=r.useRef(!1),l=r.useRef(0),c=r.useCallback((function(e){clearTimeout(l.current),l.current=window.setTimeout((function(){return e()}))}),[l]),u=r.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(l.current),i&&i.call(void 0,e[0]),s.current||(s.current=!0,t&&t.call.apply(t,o([void 0],e,!1)))}),[s,t,i]),h=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a&&a.call(void 0,e[0]),c((function(){s.current&&n&&(s.current=!1,n.call.apply(n,o([void 0],e,!1)))}))}),[s,c,n,a]);return r.useEffect((function(){return function(){clearTimeout(l.current)}}),[]),{onFocus:u,onBlur:h}}},9447:(e,t,n)=>{n.d(t,{A:()=>r});var r=function(e){return[e,{}]}},8199:(e,t,n)=>{n.d(t,{n:()=>o});var r=n(3899);function o(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}},9844:(e,t,n)=>{n.d(t,{O:()=>g});var r,o=n(3899),i=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t},a=function(e){return e&&e.ownerDocument||window.document},s=function(e){var t=i(),n=a(e);return t.edge||t.safari?n.body:n.documentElement},l=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},c=function(e){var t=s(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&n.nodeType!==Node.DOCUMENT_NODE&&!l(n);)n=n.parentNode;return!n||n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?n:t};!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(r||(r={}));var u=function(){},h=function(e,t,n){void 0===n&&(n={});var o,i,l,h,d,p=n.onIsPressedChange,f=void 0===p?u:p,m=n.onIsScrollingChange,v=void 0===m?u:m,g=n.onVelocityChange,b=void 0===g?u:g,y=n.onOffsetChange,w=void 0===y?u:y,x=n.onPageOffsetChange,k=void 0===x?u:x,C=n.onClientOffsetChange,z=void 0===C?u:C,_=n.onScrollOffsetChange,E=void 0===_?u:_,I=n.onInitialScrollOffsetChange,S=void 0===I?u:I,M=t.payload,O=M.element,R=M.hint,H=e.autoScrollDirection,F=e.scrollableParent,D=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(t.event,e);switch(D.type){case r.POINTER_DOWN:if(D.type===r.POINTER_DOWN&&(!D.originalEvent.isPrimary||0!==D.originalEvent.button))break;case r.MOUSE_DOWN:if(D.type===r.MOUSE_DOWN&&D.originalEvent.which&&D.originalEvent.which>1||e.ignoreMouse)break;case r.TOUCH_START:if(D.type===r.TOUCH_START&&1!==D.originalEvent.touches.length)break;case r.START:var A=F||c(t.payload.element);S(A instanceof Window?{x:A.scrollX,y:A.scrollY}:{x:A.scrollLeft,y:A.scrollTop}),z({x:D.clientX,y:D.clientY}),k({x:D.pageX,y:D.pageY}),w({x:D.offsetX,y:D.offsetY}),f(!0),M.onPress&&M.onPress(D);break;case r.SCROLL:if(D.type===r.SCROLL&&!e.pressed)break;var V=F||c(O),B=V instanceof Window?{x:V.scrollX,y:V.scrollY}:{x:V.scrollLeft,y:V.scrollTop};D.scrollX=B.x-e.initialScrollOffset.x,D.scrollY=B.y-e.initialScrollOffset.y,E({x:D.scrollX,y:D.scrollY});case r.POINTER_MOVE:if(D.type===r.POINTER_MOVE&&!D.originalEvent.isPrimary)break;case r.MOUSE_MOVE:case r.TOUCH_MOVE:if(D.type===r.TOUCH_MOVE&&1!==D.originalEvent.touches.length)break;case r.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==D.originalEvent.type&&O){var N=a(O),L=F||c(N.elementFromPoint(D.clientX,D.clientY)),P=(o=D.clientX,i=D.clientY,l=function(e,t){var n=s(e);if(e===n)return{top:n.scrollTop,left:n.scrollLeft,bottom:n.scrollTop+t.innerHeight,right:n.scrollLeft+t.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(L,function(e){var t=a(e);return t&&t.defaultView||window}(O)),h={x:0,y:0},d=50,o-l.left<d?h.x=-(d-(o-l.left)):l.right-o<d&&(h.x=d-(l.right-o)),i-l.top<d?h.y=-(d-(i-l.top)):l.bottom-i<d&&(h.y=d-(l.bottom-i)),h);b({x:H&&!1===H.horizontal?0:P.x,y:H&&!1===H.vertical?0:P.y}),v(0!==P.y||0!==P.x)}!e.drag&&M.onDragStart&&M.onDragStart(D),M.onDrag&&M.onDrag(D);var T=function(e,t){var n=0,r=null;return t.forEach((function(t){if(t&&e){var o=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=Math.max(r.top,n.top),i=Math.max(r.left,n.left),a=Math.min(r.left+r.width,n.left+n.width),s=Math.min(r.top+r.height,n.top+n.height),l=a-i,c=s-o;if(i<a&&o<s){var u=r.width*r.height,h=n.width*n.height,d=l*c;return Number((d/(u+h-d)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r}(R||O,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(R||O)}))),j=e.drops.find((function(e){return e.element===T}));j&&T&&function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}(D.clientX,D.clientY,F||c(T))&&T!==O?(e.drop&&e.drop.element)!==T?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(D),j.onDragEnter&&j.onDragEnter(D)):j.onDragOver&&j.onDragOver(D):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(D)}z({x:D.clientX,y:D.clientY}),k({x:D.pageX,y:D.pageY});break;case r.POINTER_UP:if(D.type===r.POINTER_UP&&!D.originalEvent.isPrimary)break;case r.MOUSE_UP:case r.TOUCH_END:if(D.type===r.TOUCH_END&&1!==D.originalEvent.touches.length)break;case r.END:f(!1),v(!1),E({x:0,y:0}),M.onRelease&&M.onRelease(D),e.drop&&e.drop.onDrop&&e.drop.onDrop(D),e.drag&&M.onDragEnd&&M.onDragEnd(D);break;case r.POINTER_CANCEL:case r.CONTEXT_MENU:case r.TOUCH_CANCEL:case r.CANCEL:f(!1),v(!1),E({x:0,y:0}),M.onDragEnd&&M.onDragEnd(D),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(D)}},d=function(e,t){if(e){var n,r;e===s(e)?(n=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(n=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+t.y,i=n&&o>0&&o<e.scrollHeight,a=e.scrollLeft+t.x,l=r&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),l?e.scrollLeft+=t.x:r&&a<0&&(e.scrollLeft=0)}},p=n(3228),f=n(4912),m=n(2333),v=2e3;function g(e,t,n){void 0===n&&(n={});var r=t.onPress,i=void 0===r?p.Z:r,a=t.onRelease,s=void 0===a?p.Z:a,l=t.onDragStart,u=void 0===l?p.Z:l,g=t.onDrag,b=void 0===g?p.Z:g,y=t.onDragEnd,w=void 0===y?p.Z:y,x=n.hint,k=void 0===x?null:x,C=n.mouseOnly,z=void 0!==C&&C,_=n.autoScroll,E=void 0===_||_,I=n.scrollContainer,S=void 0===I?null:I,M=o.useState(!1),O=M[0],R=M[1],H=o.useState(!1),F=H[0],D=H[1],A=(0,f.W)(m.Gc)[0],V=(0,f.W)(m.Dg),B=V[0],N=V[1],L=o.useContext(m.tk)[0],P=o.useContext(m.Fg),T=P[0],j=P[1],U=P[2],W=o.useRef({x:0,y:0}),K=o.useRef(),q=o.useRef(!1),G=o.useRef(),$=o.useRef(null),Y=o.useRef(!1),Z=o.useRef({x:0,y:0}),X=o.useRef({x:0,y:0}),J=o.useRef({x:0,y:0}),Q=o.useRef({x:0,y:0}),ee=o.useRef({x:0,y:0}),te=o.useRef({x:0,y:0}),ne=Boolean("undefined"!=typeof window&&window.PointerEvent),re=!z&&ne,oe=o.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),ie=o.useCallback((function(){return k&&k.current&&k.current.element?k.current.element:k?k.current:null}),[k]),ae=o.useCallback((function(){return S&&S.current&&S.current.element?S.current.element:S?S.current:null}),[S]),se=o.useCallback((function(){return"object"==typeof E&&E.boundaryElementRef&&E.boundaryElementRef.current&&E.boundaryElementRef.current.element?E.boundaryElementRef.current.element:"object"==typeof E&&E.boundaryElementRef&&E.boundaryElementRef.current?E.boundaryElementRef.current:null}),[E]),le=o.useRef(null);o.useImperativeHandle(le,(function(){return{element:oe(),hint:ie(),onPress:xe,onDragStart:Ce,onDrag:ze,onDragEnd:_e,onRelease:ke,data:e.current}}));var ce=o.useCallback((function(){var e=oe();return e&&e.ownerDocument||document}),[oe]),ue=o.useCallback((function(){var e=ce();return e&&e.defaultView||window}),[ce]),he=o.useCallback((function(){return{drag:B?B.current:null,drop:A?A.current:null,drags:T.map((function(e){return e.current})),drops:L.map((function(e){return e.current})),pressed:O,ignoreMouse:q.current,scrollOffset:ee.current,offset:Z.current,pageOffset:X.current,initialScrollOffset:te.current,clientOffset:J.current,initialClientOffset:Q.current,velocity:W.current,autoScroll:Boolean("object"==typeof E?!1!==E.enabled:E),scrollableParent:se(),autoScrollDirection:"object"==typeof E?E.direction:{horizontal:!0,vertical:!0},isScrolling:F}}),[B,A,T,L,O,E,se,F]),de=o.useCallback((function(e){R(e)}),[]),pe=o.useCallback((function(e){D(e)}),[]),fe=o.useCallback((function(e){W.current=e}),[]),me=o.useCallback((function(e){Z.current=e}),[]),ve=o.useCallback((function(e){J.current=e}),[]),ge=o.useCallback((function(e){X.current=e}),[]),be=o.useCallback((function(e){Q.current=e}),[]),ye=o.useCallback((function(e){ee.current=e}),[]),we=o.useCallback((function(e){te.current=e}),[]),xe=o.useCallback((function(e){i(e)}),[i]),ke=o.useCallback((function(e){s(e)}),[s]),Ce=o.useCallback((function(t){N(le,{target:e.current,event:t}),u(t)}),[N,e,u]),ze=o.useCallback((function(e){b(e)}),[b]),_e=o.useCallback((function(t){Y.current||(N(null,{target:e.current,event:t}),w(t))}),[w,N,e]),Ee=o.useCallback((function(e){h(he(),{event:e,payload:le.current},{onVelocityChange:fe,onOffsetChange:me,onClientOffsetChange:ve,onPageOffsetChange:ge,onInitialClientOffsetChange:be,onScrollOffsetChange:ye,onInitialScrollOffsetChange:we,onIsPressedChange:de,onIsScrollingChange:pe})}),[he,fe,me,ge,ve,be,we,de,ye,pe]),Ie=o.useCallback((function(e){Ee(e)}),[Ee]),Se=o.useCallback((function(e){Ee(e)}),[Ee]),Me=o.useCallback((function(e){Ee(e)}),[Ee]),Oe=o.useCallback((function(e){Ee(e)}),[Ee]),Re=o.useCallback((function(e){Ee(e)}),[Ee]),He=o.useCallback((function(e){Ee(e)}),[Ee]),Fe=o.useCallback((function(e){Ee(e)}),[Ee]),De=o.useCallback((function(e){e.preventDefault(),Ee(e)}),[Ee]),Ae=o.useCallback((function(e){e.preventDefault(),Ee(e)}),[Ee]),Ve=o.useCallback((function(e){e.preventDefault(),Ee(e)}),[Ee]),Be=o.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=ue();q.current=!0,G.current=t.setTimeout((function(){q.current=!1}),v)}Ee(e)}),[Ee,ue]),Ne=o.useCallback((function(e){Ee(e)}),[Ee]),Le=o.useCallback((function(){var e=oe();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[oe]),Pe=o.useCallback((function(){return j(le),function(){U(le)}}),[U,j]);o.useEffect((function(){var e=ue();if(F){var t=ae()||c(document.elementFromPoint(J.current.x,J.current.y));e.clearInterval(K.current),K.current=e.setInterval((function(){d(t,{x:W.current.x,y:W.current.y})}),50)}return function(){e.clearInterval(K.current)}}),[oe,ae,ue,F]),o.useEffect(Le,[Le]),o.useEffect((function(){var e=ue(),t=oe(),n=ce();return re?(t&&($.current=c(t),$.current&&$.current.addEventListener("scroll",Ne,{passive:!0}),t.addEventListener("pointerdown",Ie,{passive:!0})),O&&(n.addEventListener("pointermove",Se),n.addEventListener("pointerup",Oe,!0),n.addEventListener("contextmenu",De),n.addEventListener("pointercancel",Me,{passive:!0}))):(e.addEventListener("touchmove",p.Z,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",Re,{passive:!0}),z||(t.addEventListener("touchstart",Ae,{passive:!0}),O&&(t.addEventListener("touchmove",Ve,{passive:!0}),t.addEventListener("touchend",Be,{passive:!0})))),O&&(n.addEventListener("mousemove",He,{passive:!0}),n.addEventListener("mouseup",Fe,{passive:!0}))),function(){$.current&&$.current.removeEventListener("scroll",Ne),t&&(t.removeEventListener("pointerdown",Ie),t.removeEventListener("mousedown",Re),t.removeEventListener("touchstart",Ae),t.removeEventListener("touchmove",Ve),t.removeEventListener("touchend",Be)),n.removeEventListener("pointermove",Se),n.removeEventListener("pointerup",Oe,!0),n.removeEventListener("contextmenu",De),n.removeEventListener("pointercancel",Me),n.removeEventListener("mousemove",He),n.removeEventListener("mouseup",Fe),e.removeEventListener("touchmove",p.Z),e.clearTimeout(G.current)}}),[O,ue,oe,ce,z,re,De,Re,He,Fe,Me,Ie,Se,Oe,Be,Ve,Ae,Ne]),o.useEffect((function(){return Y.current=!1,function(){Y.current=!0}}),[]),o.useLayoutEffect(Pe,[Pe])}},4912:(e,t,n)=>{n.d(t,{W:()=>o});var r=n(3899),o=function(e,t){var n=r.useContext(e),o=n[0],i=n[1],a=r.useState(t),s=a[0],l=a[1];return[void 0!==o?o:s,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==o?i.apply(void 0,e):l(e[0])}]}},3322:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(3899),o=function(e,t,n){void 0===n&&(n={});var o=r.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),i=r.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:r.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:i,onMouseDown:o,onDoubleClick:r.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:r.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:r.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:r.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:r.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:r.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}}},9656:(e,t,n)=>{n.d(t,{Y:()=>o});var r=n(3899),o=function(e,t){return r.useContext(e)(t)}},1573:(e,t,n)=>{n.d(t,{V:()=>o});var r=n(3899);function o(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}},7681:(e,t,n)=>{n.d(t,{J:()=>u});var r=n(3899),o=n(189),i=n(8047),a=n(698),s=n(3218),l=n(3322),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},u=r.forwardRef((function(e,t){var n=e.className,o=e.name,u=e.themeColor,d=e.size,p=e.flip,f=e.style,m=e.id,v=e.tabIndex,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","name","themeColor","size","flip","style","id","tabIndex"]),b=r.useRef(null),y=r.useRef(null);r.useImperativeHandle(b,(function(){return{element:y.current}})),r.useImperativeHandle(t,(function(){return b.current}));var w=r.useMemo((function(){return d||h.size}),[d]),x=r.useMemo((function(){return p||h.flip}),[p]),k=r.useMemo((function(){var e;return(0,i.A)("k-icon","k-font-icon",o&&(0,s._z)(o),((e={})["k-color-".concat(u)]=u,e["k-flip-h"]="horizontal"===x||"both"===x,e["k-flip-v"]="vertical"===x||"both"===x,e),a.w[w],n)}),[o,u,w,x,n]),C=(0,l.i)(e,b);return r.createElement("span",c({ref:y},g,C,{className:k,id:m,tabIndex:v,style:f,role:"presentation"}))}));u.propTypes={style:o.object,classNames:o.string,name:o.string,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};var h={size:"default",flip:"default"};u.displayName="KendoIcon"},8130:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(3899),o=n(7681),i=n(6584),a=n(8300),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},l=r.forwardRef((function(e,t){var n,l,c=r.useContext(a.r),u=c.type,h=c.icons,d=e.icon,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["icon"]),f="svg"===u?(null===(n=e.icon)||void 0===n?void 0:n.name)||e.name:e.name||(null===(l=e.icon)||void 0===l?void 0:l.name),m=(f=f&&h&&h[f]&&"string"==typeof h[f]?h[f]:f)&&h&&h[f]&&"string"!=typeof h[f]?h[f]:d;return"svg"===u&&m?r.createElement(i.l,s({},e,{icon:m,ref:t})):r.createElement(o.J,s({},p,{name:f,ref:t}))}));l.displayName="KendoIconWrap"},8300:(e,t,n)=>{n.d(t,{r:()=>r});var r=n(3899).createContext({type:"svg"});r.displayName="KendoReactIconsContext"},6584:(e,t,n)=>{n.d(t,{l:()=>l});var r=n(3899),o=n(189),i=n(8047),a=n(698),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},l=r.forwardRef((function(e,t){var n=e.children,o=e.className,l=e.svgClassName,u=e.icon,h=e.flip,d=e.id,p=e.tabIndex,f=e.size,m=e.style,v=e.svgStyle,g=e.themeColor,b=e.viewBox,y=(e.name,e.onClick),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","className","svgClassName","icon","flip","id","tabIndex","size","style","svgStyle","themeColor","viewBox","name","onClick"]),x=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:x.current}}));var k=r.useMemo((function(){return u?u.name:c.icon}),[u]),C=r.useMemo((function(){return f||c.size}),[f]),z=r.useMemo((function(){return h||c.flip}),[h]),_=r.useMemo((function(){return b||c.viewBox}),[b]),E=r.useMemo((function(){var e;return(0,i.A)("k-icon","k-svg-icon","k-svg-i-"+k,((e={})["k-color-".concat(g)]=g,e["k-flip-h"]="horizontal"===z||"both"===z,e["k-flip-v"]="vertical"===z||"both"===z,e),a.w[C],o)}),[k,g,C,z,o]),I=r.useMemo((function(){return e.width&&e.height?s({width:e.width,height:e.height},m):e.width?s({width:e.width,height:e.width},m):e.height?s({width:e.height,height:e.height},m):s({},m)}),[e.width,e.height,m]);return r.createElement("span",{className:E,style:I,ref:x,onClick:y},r.createElement("svg",s({id:d,className:l,style:v,"aria-hidden":!0,tabIndex:p,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:u?u.viewBox:_,dangerouslySetInnerHTML:u?{__html:u.content}:void 0},w),u?void 0:n))}));l.propTypes={style:o.object,classNames:o.string,children:o.any,icon:o.object,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};var c={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};l.displayName="KendoSvgIcon"},698:(e,t,n)=>{n.d(t,{w:()=>r});var r={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"}},3218:(e,t,n)=>{n.d(t,{iJ:()=>o,_z:()=>i,wi:()=>a});var r=n(189),o=function(e){return e.replace(/^k-i-/,"")},i=function(e){return"k-i-"+e},a=r.shape({name:r.string.isRequired,content:r.string.isRequired,viewBox:r.string.isRequired})},3493:(e,t,n)=>{n.d(t,{R:()=>r});var r={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46}},6039:(e,t,n)=>{n.r(t),n.d(t,{AsyncFocusBlur:()=>D,BrowserSupportService:()=>o.O,COLLECTION_ACTION:()=>E,DragAndDrop:()=>ue,Draggable:()=>he._,Droppable:()=>fe,FOCUSABLE_ELEMENTS:()=>ye.x,FormComponent:()=>m,Icon:()=>W.J,IconWrap:()=>q.a,IconsContext:()=>G.r,Keys:()=>y.R,Navigation:()=>ye.W,SortedPublicItemIds:()=>ke.N,SvgIcon:()=>K.l,TreeFieldsService:()=>xe.U,Typography:()=>ae,WatermarkOverlay:()=>O.t,ZIndexContext:()=>r.$,addItem:()=>ze.jX,areAllDirectChildrenChecked:()=>ze.YC,canUseDOM:()=>i.N,canUseRef:()=>a,classNames:()=>s.A,clone:()=>u,cloneArray:()=>p,cloneDate:()=>c,cloneObject:()=>h,cloneValue:()=>d,createPropsContext:()=>A.Y,dispatchEvent:()=>R.N,extendDataItem:()=>I.u5,focusFirstFocusableChild:()=>f.n,getActiveElement:()=>we.v,getAllDirectIndirectChildrenIds:()=>ze.QG,getAllParents:()=>ze.z0,getInnerActiveElement:()=>we.T,getItemPath:()=>I.ym,getNestedValue:()=>_e.q,getScrollbarWidth:()=>x.n,getTabIndex:()=>v.p,getter:()=>g.Y,guid:()=>b.M,hasChildren:()=>ze.g8,hasRelativeStackingContext:()=>M.V,isArray:()=>_e.k,isEnabledAndAllParentsEnabled:()=>ze.hc,isItemExpandedAndWithChildren:()=>ze.Cb,kendoThemeMaps:()=>ve.G,mapTree:()=>I.Gy,mapTreeItem:()=>I.eY,memoizeOne:()=>be,noop:()=>w.Z,removeItem:()=>ze.cl,resolveItemId:()=>ze.kO,resolveItemsIds:()=>ze.Bx,setScrollbarWidth:()=>x.p,setter:()=>_,shouldShowValidationUI:()=>S.G,svgIconPropType:()=>$.wi,toIconClass:()=>$._z,toIconName:()=>$.iJ,treeIdUtils:()=>Ce,updateItem:()=>ze.$G,useAsyncFocusBlur:()=>H.U,useCollection:()=>T,useCustomComponent:()=>L.A,useDir:()=>V.n,useDocument:()=>j,useDraggable:()=>me.O,useDroppable:()=>pe,useMouse:()=>N.i,usePropsContext:()=>P.Y,useRtl:()=>B.V,useWindow:()=>U,useZIndexContext:()=>r.u,validatePackage:()=>S.s,withPropsContext:()=>A.u});var r=n(8259),o=n(3503),i=n(7827),a=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},s=n(8047),l=n(3899),c=function(e){return e?new Date(e.getTime()):null};function u(e){var t={};return h(e,t),t}function h(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=d(r,t[n])}}function d(e,t){if(Array.isArray(e))return p(e);if(e instanceof Date)return c(e);if(l.isValidElement(e))return l.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return h(e,n),n}return e}function p(e){return e.map((function(e){return d(e,void 0)}))}var f=n(9124),m=function(){},v=n(4703),g=n(9659),b=n(3198),y=n(3493),w=n(3228),x=n(2665),k=n(4100),C={undefined:function(e){return e}},z=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function _(e){if(C[e])return C[e];var t=(0,k.E)(e);return C[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||z(t[a+1],r);o[t[i]]=n},C[e]}var E,I=n(8006),S=n(4006),M=n(7191),O=n(2080),R=n(5407),H=n(6059),F=function(){return F=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},F.apply(this,arguments)},D=function(e){var t=e.children,n=e.onFocus,r=e.onBlur,o=e.onSyncFocus,i=e.onSyncBlur,a=(0,H.U)({onFocus:n,onBlur:r,onSyncFocus:o,onSyncBlur:i});return l.createElement(l.Fragment,null,t.call(void 0,F({},a)))},A=n(848),V=n(8199),B=n(1573),N=n(3322),L=n(9447),P=n(9656);!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(E||(E={}));var T=function(e){void 0===e&&(e=[]);var t=l.useRef(e),n=l.useCallback((function(e){switch(e.type){case E.add:t.current.push(e.item);break;case E.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},j=function(e){var t=l.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]);return l.useCallback((function(){var e=t();return e&&e.ownerDocument||document}),[t])},U=function(e){var t=j(e);return l.useCallback((function(){var e=t();return e&&e.defaultView||window}),[t])},W=n(7681),K=n(6584),q=n(8130),G=n(8300),$=n(3218),Y=n(189),Z={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},X={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},J={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},Q={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},ee={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},te={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ne={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},re={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},oe=function(){return oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oe.apply(this,arguments)},ie=function(e){var t=l.forwardRef((function(t,n){var r=t.id,o=t.style,i=t.className,a=t.fontSize,s=t.fontWeight,c=t.textAlign,u=t.textTransform,h=t.themeColor,d=t.margin,p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),f=l.useRef(null),m=l.useRef(null);l.useImperativeHandle(f,(function(){return{element:m.current,props:t}})),l.useImperativeHandle(n,(function(){return f.current}));var v=e;return l.createElement(v,oe({id:r,ref:m,className:["k-".concat("p"===e?"paragraph":e),Z[a],X[s],te[c],ne[u],re[h],function(){if(void 0!==d){if("string"==typeof d)return[J[d]];if("number"==typeof d&&d>=0&&d<=24)return["k-m-".concat(d)];if("object"==typeof d){var e=[];return Object.keys(d).forEach((function(t){var n,r,o;null!==d[t]&&void 0!==d[t]&&e.push((n=t,o="string"==typeof(r=d[t])?Q[r]:r,"".concat(ee[n]).concat(o)))})),e.join(" ")}}}(),i].filter((function(e){return void 0!==e})).join(" "),style:o},p),t.children)}));return t.propTypes={style:Y.object,className:Y.string,fontSize:Y.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:Y.oneOf(["light","normal","bold"]),margin:Y.oneOfType([Y.number,Y.object,Y.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:Y.oneOf(["left","right","center","justify"]),textTransform:Y.oneOf(["lowercase","uppercase","capitalize"]),themeColor:Y.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography".concat(e.toUpperCase()),t},ae={h1:ie("h1"),h2:ie("h2"),h3:ie("h3"),h4:ie("h4"),h5:ie("h5"),h6:ie("h6"),p:ie("p"),code:ie("code"),pre:ie("pre")},se=function(){return se=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},se.apply(this,arguments)},le=function(e,t,n){var r=l.useState(t||e),o=r[0],i=r[1];return[void 0!==t?t:o,l.useCallback((function(e,t){i(e),n&&n.call(void 0,se(se({},t),{value:e}))}),[n,i])]},ce=n(2333),ue=function(e){var t=le(null,void 0),n=t[0],r=t[1],o=le(null,void 0),i=o[0],a=o[1],s=T([]),c=s[0],u=s[1],h=T([]),d=h[0],p=h[1];return l.createElement(ce.Dg.Provider,{value:[n,r]},l.createElement(ce.Gc.Provider,{value:[i,a]},l.createElement(ce.Fg.Provider,{value:[c,function(e){u({type:E.add,item:e})},function(e){u({type:E.remove,item:e})}]},l.createElement(ce.tk.Provider,{value:[d,function(e){p({type:E.add,item:e})},function(e){p({type:E.remove,item:e})}]},e.children))))};ue.displayName="KendoReactDragAndDrop";var he=n(1779),de=n(4912);function pe(e,t){void 0===t&&(t={onDragEnter:w.Z,onDragOver:w.Z,onDragLeave:w.Z,onDrop:w.Z});var n=t.onDragEnter,r=void 0===n?w.Z:n,o=t.onDragOver,i=void 0===o?w.Z:o,a=t.onDragLeave,s=void 0===a?w.Z:a,c=t.onDrop,u=void 0===c?w.Z:c,h=(0,de.W)(ce.Gc)[1],d=l.useContext(ce.tk),p=d[1],f=d[2],m=l.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),v=l.useRef(null);l.useImperativeHandle(v,(function(){return{element:m(),onDragEnter:g,onDragOver:b,onDragLeave:y,onDrop:x,data:e.current}}));var g=l.useCallback((function(t){h(v,{target:e.current,event:t}),r(t)}),[h,e,r]),b=l.useCallback((function(e){i(e)}),[i]),y=l.useCallback((function(t){h(null,{target:e.current,event:t}),s(t)}),[h,e,s]),x=l.useCallback((function(t){h(null,{target:e.current,event:t}),u(t)}),[h,e,u]),k=l.useCallback((function(){return p(v),function(){f(v)}}),[f,p]);l.useLayoutEffect(k,[k])}var fe=l.forwardRef((function(e,t){var n=l.useRef(null),r=l.useRef(null),o=l.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);l.useImperativeHandle(r,(function(){return{element:o()||void 0}})),l.useImperativeHandle(t,(function(){return r.current})),l.useImperativeHandle(e.childRef,(function(){return n.current}));var i=l.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:o(),target:r.current,event:t})}),[e.onDragEnter,o]),a=l.useCallback((function(t){e.onDragOver&&e.onDragOver({element:o(),target:r.current,event:t})}),[o,e.onDragOver]),s=l.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:o(),target:r.current,event:t})}),[e.onDragLeave,o]),c=l.useCallback((function(t){e.onDrop&&e.onDrop({element:o(),target:r.current,event:t})}),[e.onDrop,o]);return pe(n,{onDragEnter:i,onDragOver:a,onDragLeave:s,onDrop:c}),e.children?l.cloneElement(l.Children.only(e.children),{ref:n}):null}));fe.displayName="KendoReactDroppable";var me=n(9844),ve=n(2697);function ge(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Number.isNaN(r)&&Number.isNaN(o)))return!1;var r,o;return!0}function be(e,t){void 0===t&&(t=ge);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}var ye=n(6604),we=n(3769),xe=n(4824),ke=n(7013),Ce=n(5098),ze=n(9519),_e=n(5473)},6604:(e,t,n)=>{n.d(t,{x:()=>r,W:()=>o});var r=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],o=function(){function e(e){var t=this;this.rovingTabIndex=!0,this.update=function(){},this.focusNextIndex=function(e,n){var r=t.elements,o=r.indexOf(e)+n,i=r[(o=o<0?r.length-1:o)%r.length];return t.focusElement(i,e),i},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.focusOptions=e.focusOptions||{preventScroll:!0},this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{}}return Object.defineProperty(e.prototype,"elements",{get:function(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this.elements;return e[e.length-1]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.elements.find((function(e){return e.matches(":focus")}))||null},enumerable:!1,configurable:!0}),e.prototype.focusNext=function(e){return this.focusNextIndex(e,1)},e.prototype.focusPrevious=function(e){return this.focusNextIndex(e,-1)},e.prototype.triggerKeyboardEvent=function(e,t){var n=e.target instanceof Element&&e.target.closest(this.selectors.join(",")),r=" "===e.key?"Space":e.key,o=e.nativeEvent.type;n&&this.keyboardEvents[o][r]&&this.keyboardEvents[o][r].call(void 0,n,this,e,t)},e.prototype.triggerMouseEvent=function(e){var t=e.target instanceof Element&&e.target.closest(this.selectors.join(",")),n=e.nativeEvent.type;t&&this.mouseEvents[n].call(void 0,t,this,e)},e.prototype.focusElement=function(e,t){e&&(t&&(this.rovingTabIndex&&t.removeAttribute("tabindex"),t.classList.remove("k-focus")),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),e.focus(this.focusOptions))},e}()},3228:(e,t,n)=>{n.d(t,{Z:()=>r});var r=function(){}},2665:(e,t,n)=>{n.d(t,{n:()=>i,p:()=>a});var r=n(3503),o=n(7827),i=function(){return!(!o.N||!document.body)&&(new r.O).scrollbarWidth},a=function(){if(!o.N||!document.body)return!1;var e=(new r.O).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))}},2697:(e,t,n)=>{n.d(t,{G:()=>r});var r={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}}},4824:(e,t,n)=>{n.d(t,{U:()=>o});var r=n(5473),o=function(){function e(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return(0,r.q)(this.expandField,e)},e.prototype.selected=function(e){return(0,r.q)(this.selectField,e)},e.prototype.text=function(e){return(0,r.q)(this.textField,e)},e.prototype.disabled=function(e){return(0,r.q)(this.disableField,e)},e.prototype.hasChildren=function(e){return(0,r.q)(this.hasChildrenField,e)},e.prototype.children=function(e){return(0,r.q)(this.childrenField,e)||[]},e.prototype.checked=function(e){return(0,r.q)(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return(0,r.q)(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&(0,r.q)(this.focusIdField,e)},e.prototype.getChildrenField=function(){return this.childrenField},e}()},7013:(e,t,n)=>{n.d(t,{N:()=>r});var r=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}()},5098:(e,t,n)=>{n.r(t),n.d(t,{EMPTY_ID:()=>r,ZERO_LEVEL_ZERO_NODE_ID:()=>o,SEPARATOR:()=>i,getItemById:()=>a,getRootParentId:()=>s,getIdWithoutRootParentId:()=>l,getFirstChildId:()=>c,createId:()=>u,getDirectParentId:()=>h,isIdEmptyOrZeroLevel:()=>d,isIdZeroLevel:()=>p,getAllShortIds:()=>f,getShortId:()=>m,isItemFirstFromSiblings:()=>v,getDecrementedItemIdAfterRemoval:()=>g});var r="",o="0",i="_";function a(e,t,n){if(p(e))return t[Number(e)];var r=t[Number(s(e))],o=r&&r[n]||[];return o.length?a(l(e),o,n):void 0}function s(e){return d(e)?e:e.split(i)[0]}function l(e){if(d(e))return e;var t=e.indexOf(i);return e.substring(t+1)}function c(e){return u("0",e)}function u(e,t){return e=e.toString(),t?t+i+e:e}function h(e){var t=e.lastIndexOf(i);return t<0?r:e.substring(0,t)}function d(e){return e===r||e.indexOf(i)<0}function p(e){return e!==r&&e.indexOf(i)<0}function f(e){return e.split(i)}function m(e){var t=e.lastIndexOf(i);return t<0?e:e.substring(t+1)}function v(e){return m(e)===o}function g(e,t){var n=t;t="r"+i+t;var r=h(e="r"+i+e)+i;if(t.startsWith(r)){var o=t.substring(r.length);if(o){var a=s(o);if(Number(m(e))<Number(a))return l(r+(Number(a)-1).toString()+o.substring(a.length))}}return n}},9519:(e,t,n)=>{n.d(t,{g8:()=>s,Cb:()=>l,kO:()=>c,Bx:()=>u,$G:()=>h,hc:()=>d,QG:()=>p,YC:()=>f,z0:()=>m,cl:()=>v,jX:()=>g});var r=n(5098),o=n(7013),i=n(5473),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function s(e,t){var n=(0,i.q)(t,e);return Boolean(n&&n.length)}function l(e,t){return t.expanded(e)&&s(e,t.getChildrenField())}function c(e,t,n,r){var o=u([e],t,n,r);return o.length?o[0]:void 0}function u(e,t,n,i){var a=[],s=new o.N;return s.init(e),b(s,t,n,r.EMPTY_ID,a,i),a}function h(e,t,n,o,i){var a,s=Number((0,r.getRootParentId)(t));if(s>=e.length)return e;var l=e,c=e[s];return c[o]||(c=(l=e.slice())[s]=Object.assign({},c,((a={})[o]=!0,a))),(0,r.isIdZeroLevel)(t)?n(c):c[i]&&(c[i]=h(c[i],(0,r.getIdWithoutRootParentId)(t),n,o,i)),l}function d(e,t,n){for(var o=(0,r.getAllShortIds)(e),i=t,a=0;a<o.length;a++){var s=i[Number(o[a])];if(n.disabled(s))return!1;i=s[n.getChildrenField()]}return!0}function p(e,t,n,o){return o?function e(t){for(var r=[],a=t[n]||[],s=0;s<a.length;s++)r.push((0,i.q)(o,a[s])),r=r.concat(e(a[s]));return r}(e):function e(t,o){for(var i=[],a=t[n]||[],s=0;s<a.length;s++){var l=(0,r.createId)(s,o);i.push(l),i=i.concat(e(a[s],l))}return i}(e,t)}function f(e,t,n,o,a){return(e[o]||[]).every((function(e,o){return a.indexOf(n?(0,i.q)(n,e):(0,r.createId)(o,t))>-1}))}function m(e,t,n){for(var o=[],i=(0,r.getAllShortIds)(e),a=n,s=0;s<i.length-1&&a;s++){var l=a[Number(i[s])];o.push(l),a=l[t]}return o}function v(e,t,n){var o=n.slice();if((0,r.isIdZeroLevel)(e))o.splice(Number(e),1);else{var i=Number((0,r.getRootParentId)(e)),s=o[i]=a({},o[i]);s[t]=v((0,r.getIdWithoutRootParentId)(e),t,s[t])}return o}function g(e,t,n,o,i){var s=i.slice();if((0,r.isIdZeroLevel)(o))if("child"===t){var l=s[Number(o)]=a({},s[Number(o)]);l[n]?(l[n]=l[n].slice(),l[n].push(e)):l[n]=[e]}else s.splice(Number(o)+("after"===t?1:0),0,e);else{var c=Number((0,r.getRootParentId)(o)),u=s[c]=a({},s[c]);u[n]=g(e,t,n,(0,r.getIdWithoutRootParentId)(o),u[n])}return s}function b(e,t,n,o,a,l){for(var c=0;c<n.length;c++){var u=n[c],h=(0,r.createId)(c,o);e.hasId((0,i.q)(t,u))&&a.push(h),s(u,l)&&b(e,t,(0,i.q)(l,u),h,a,l)}}},5473:(e,t,n)=>{function r(e,t){var n=(e||"").split("."),r=t;return n.forEach((function(e){r=r?r[e]:void 0})),r}function o(e){return void 0!==e.length}n.d(t,{q:()=>r,k:()=>o})},8006:(e,t,n)=>{n.d(t,{Gy:()=>s,eY:()=>l,u5:()=>c,ym:()=>u});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function i(e,t,n){var i;return n?r(r({},e),((i={})[t]=n.length?o([],n,!0):void 0,i)):e&&e[t]?o([],e[t],!0):[]}function a(e,t,n){if(e[t]){var r=i(e,t).map((function(e){return a(e,t,n)}));return n(i(e,t,r))}return n(e)}var s=function(e,t,n){return o([],e.map((function(e){return a(e,t,n)})),!0)},l=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var s=i.length>1?i[i.length-2]:e,l=t[t.length-1],c=r(s[l]);s.splice(l,1,c)},c=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},u=function(e,t,n){var r=[],i=o([],t,!0);if(i.length){var a=e[i.shift()||0];for(r.push(a);i.length&&n;)a=a[n][i.shift()||0],r.push(a)}return r}},4006:(e,t,n)=>{n.d(t,{s:()=>i,G:()=>a});var r=n(9302),o=["telerik.com","progress.com","stackblitz.io","csb.app"];function i(e){if(void 0!==r)r.validatePackage(e);else{var t="License activation failed for ".concat(e.name,"\n");t+="The @progress/kendo-licensing script is not loaded.\n",t+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(t)}}function a(e){return!o.some((function(e){var t;return null===(t=globalThis.document)||void 0===t?void 0:t.location.hostname.endsWith(e)}))&&!(null==r?void 0:r.validatePackage(e))}},2080:(e,t,n)=>{n.d(t,{t:()=>a});var r=n(3899),o=n(994),i=!1,a=function(){var e=r.useState(!0),t=e[0],n=e[1],a=r.useState(!1),s=a[0],l=a[1];r.useEffect((function(){i||(l(!0),i=!0)}),[]);var c=r.createElement(r.Fragment,null,t&&r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:999}},r.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),r.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),r.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},r.createElement("a",{href:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner",style:{marginRight:"8px",display:"flex"}},r.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),r.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:function(){n(!1)}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return r.createElement(r.Fragment,null,r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.2,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVxSURBVHgB7Z3tVRtJE4WL9zgANgLLGRCCnAGOADmCxRGgDFAGYiOADKQMIAGO9J8ji42g37mjqlUjBgOanpn+uM85sjC2sKzbVd1dVV0tQgghhBBCCCGEEEIIKRPn3Gn1GAlJmmN1pP558J6OX9540ejh4WGlX09OTk7+EZIclXYXlY43+vVflY7PH3wd9c+AY/Wvvcb9/b0bjUYOz/hBQpICmh1oOPrEa6l/4rTR337AhIMgTSqtzg+0m8gnof7p0mD8EzmGhkFwJiR6np6e7luLL9Q/RTDTBzF+7wfWg2CxWOCHjYVET6XTdLPZrFuLL9Q/NeCkoVUQ4/d+6Ijev1yof1rAUVMvQgjJHebrSRu+CEmWo/O8hISgCjStKpgiGoDWed4AUP/hwGf++Pi4hQYyFHgDzBP3T7A8b0uo/zD4+sMBy1CwWKR/YjF+fS/Uv2di0t/eEAdBT0QnvlD/PolR/xoOgu4JUd7bFdS/e6I1foODoFuqz3M2mUziFF+of5dEb/xGwyAYCwmCVuPNYv5MqX94Yl75NWKD4PLyEm92KqQoqH9Y8Bnis0zC+A14LbxxVqiVCfUPh678plxNFYQe5pjRgAgpDAv4IOAHJyCEkDJoiPaeCyG5UA1oRIYWHNivSSbV0wLq/zbQXz+bS8kV/AeZJ35NCcYPqH8zvv4VS8kVFou8phTjB9T/NcVt+zgI9rjQDRwTgPrvKcn5v4CDYIfT/vtFiS/UHxRr/AYHwQ4t9DiVwihZ/+KN36ATKJsS9U+utr9r/EGQdQSUNFKa/geZkImQ/2rHlznnQDG7oX9b9Xwl5AUl6G9oLcSSxl8Q/p4P13YJIaQMisvzEkJ2lJjnJyQY3lnoJGfNUvP8oUhZf7c70s2eCG1wL7uhRJ0iQnCveiDIhzf7t/f9IvP8IUhJfx/b9rErUkvgRVPIE1fv6xrvbzweu7OzM3d7e4v3OhfSilT092HMJzCxF4u43eWctfFvt1uHu9nxXvF1CWmtroldfx9W+HVErINAjX+M65ngAPxnOAJ1AiMhrUjBCdD4Oya2QYBlPwx8vV47WwFg+a+XZbrz83NzANz/ByBmJ0Dj74lYBgECfrbnt6U/DB/vC7388L2rqyu8vzshwYjRCdD4e8YfBLidVgYA0X7M9jB8PGazmbu5ualnfiz9dSAsufwPTwz6+5jjp/H3CD5ofPB9343u9v3u6+U+0jyY7eEA8Hx3d4c/QjvvMyGdMZT+TeA9wBHR+DPHUn3T6bRe7uMxn89tn18v/TH7O17gQEheYM9vEX7M9hbsg/FbHED3/IPPSISQgNhyE0au+7x7PPtOQFcB3PMTMjTYf4cyRN3zL2DgMHgs/7XU99acgDIWEgUh9W/4uWMh8QKBvCh8qxSR7fmxt0eEv8kJ6MzP8/2REFL/g59bp/o0xsMAb6xAnBB5Yr+6D3X9KOpBxP/ACWA0jFnoEw+h9D/4mYd5/pGQeAlRLFK95tJy+35578PDQ+0E9LAPi3wixAUsFmKRT6I0DIIPzdJuf6R3i+UeZnsz/nqjPx47/fMpZ/54OVb/g5/BZi4pY4Pgo8s2d3CkF0Z/cXFRL/+Xy2W9BdBUH4/5JsBn9W94PZu5pI77QzMOjepiNp/j71hO//fv31sr7qmtfT73i3xWjnvAZHhH/4nquXrLwB2bueSJ27Vmvodhq4df4BmzvQb3IPxWl/zgRl/DwZA4GrhdYFUHfbHE1y0enXsJ2FLfCnggvjqBejDoTI8o38ocgJAscNq8BY4fv/Uf+J46gjkdQcbA+19fXzs7zQfR8TWcgH+kFw/u+fMDKz/o3OQETk9PLcWLPSBbeeWELd91eb+CcTc5gXr6r9J8PNKbF/7S3z+6DYcvDasBOv6M0GUduNDfv+cEYPhjIVmA+I3Vc4gaOQzfHAECvb4joAPICCzlrIJP93h/dAIYDBQ/L8wBNC37rXUblv5CB5AfGvi5h6F7Ed9GJ2CZP0b780O1vreVnnhOAFsBOoCMscg/HMBbTsCO+grJFkvvHmYCSnYA/5MMcbsiH6TykNgfr9fry58/f0oltFxcXMj379+l+h42gBcnJyfr6iXfq1nhJ56FZIeuAq+fn59Xv379Oq0CgVJNBEIydAAavLv98ePHeSX4bfX1OQSv9noQ/a7y9A8HTuAcTqB63FSPZyE5Mq3GwOW3b99kNpu9+5e/fv2Kp3+FpAW8vB3cwbLOOvZYfl9LfGdW9KOn+mZCskZXhCuL9vtLfjvshd97hWArpn8TxGn5rhZzOL/gB19DYBzzxcEeTQEtGfArB7c7xbmyVu4YExoTuNcYEL6eCkkTxHYOmna4wzQfvq8z/+o949e940hIkjTp5/ZXjm/1+VQfr856UP/EcLtqr9s/OQENDl5+wPhH3nHQZK6mJjucNvNo2w+A+icC0jaY4a2LT5MT+Mye3+l58JSupiY7XIA2XtQ/IZw2f7D9v+X6D53AZ/f8LqGrqckOF7CNF/VPAF3Or6xvv53r951Amx5+DYOAXWEjxXXQxov6R4zTSzusht8OfABE+r3U39y1iPbbIODVX3ED4/Tagk8kENQ/QiyaC1Fg7PX6frm0Mk6/wUOQ8l799+j9I0cDwcF1ov4R4Xbde2vjxi92ogsPzPrY92szD7buJiQn3K6+v17q2yxvlV1u3+TRAn4jIYTkAfbymOWx1AcwfHMEXp5/JISQ9PEDd867ohvGbvt+cwRe6+5ee7ltNpuVf7yYdA8+68fHxy0+exkY6t8RGnSxJX19yAd7fWvhjEs7NOCHb2D9/+AGqO3HQGSeuD/8PD/GggwM9e8IBPCwr7ciHnzA6NrqtW5+4QRkIByLRXrDRXhXH/XvCKRccEuPX8mHD9jr7Vc7AV32D9rJh4Oge2I0foP6d8QHnADO9kdxYw8HQXfEbPwG9e+It5yAlvdG1beNgyA8KRi/Qf07oskJIEYQw8x/SMMgGAs5CmR0UjF+g/oHwh00YzAn0OZgT1/YINBU5VTIUeCzw2eYivEb1L8l7o1mDm7X220a48x/iNtVLE4dC5OOxu2794wlMaj/kbgAzRwIIQmS4p6PEBKIp6enexo/IYWCPdNms1nnbPxat7BwvH/+P7Dt08/kUjKH+hcOxGeeeI8f86lYSuZQ/8JhsciehoBv9rMi9VdcwZcucBCkVeEXmuL1dy0vbciBkgdBycZvFKs/8/x7ShwENP49xelP8V9T0iBgncdritGfxv82/iDIORJ+EAGfCKnJXn8a//to7fgy51y45sCX1P812erPZR8hBVMZ/Ax9+2j8hBSIHumcpXikkxBCBsXtz8QnUyXndvfz8Sx8AFLUnwTEveyKE32KyAK+7IYThqT0V88/o+cPBz7TVPLEJdb2d00y+pv4elHHTEgwUigWYaq3O6LXn56/e2IeBDT+7olWf4rfHzEOAurfH9HpT/H7J6ZBQP37Jxr9Kf5w+IMAt9PKQOB6NurfP4Prjyg/jX9Y8JnDAHE/vQwE/m0MQOrfP4PqX/3jp15Dj4kQQspCK5SK7OZDCCGEEBIfbneH4kgCoT9vLCQJguqPaD8CDdXzlZDogaEuFotgKSLL9uBnYmAJiZqg+vupPlzbJSR6YKSh8sSODVyTI5j+LO9NlxDFIqzzSJfW+jPPnz4Ng+DDGRvqnz5t9GeePxNsEHx2+U798+BY/e3FzPNnwLE6Uv88oI6EEEIIIYQQQgghhBBCCCGEEEIIIYQQQkiRoHyQxz/T51gdqX8evKfjlzdeNHp4eFjp15OTk5N/hCQHjoFWOt7o139VOj5/8HXUPwOO1f+/02ApXEhJmmnTzIP6p49r28wlRFMJMgwhmnlQ/3RB854g/RwaBgF7wkVOyGYe1D9N0L4vWDMXGwTaFHIsJGpgpF5TyIm0hPqnR6XTdLPZrF2oZi7aVIDePxFgqCH1ov6EEEIIITHRtl7jixBCkuToPH8ocGMQrihmiqh/8Jnjau6hrwen/sPQOs8fAgxA5on7xxcfBigDQf2HIUSdR6g3wmKRnolGfKH+QxCT/vaGOAh6Ijrxhfr3SYz613AQdE+04gv174Ng5b1dwUHQHTEbv0H9u6X6PGeTySTu69oaBsFYSCui9/we1L87tBpzFv1naoPg8vISA2AqpBX4DPFZxm78BvUn9awF8R07yrRGPf80pdmU+hNCyJHoYa4ZHSghhWEBXwT84ASEEFIGDdmec8mJ6j+EyNAiu/9YACC+fjaXkinU/21SSPW2BuIzT/waX/yKpWQK9W+mCOMHLBZ5TfbLPg/q/5pijN/gINhTnPhC/X1cwAauScFBUKbxG9R/h9P7F0rTv6bkQVCy8Rt0Aju00OtUSqTEQZBSbX/X0AmQF4Mg5wi4cRAJn0jhlKY/aUBrx5c558ANzYUvafx7StAfqxv0UKyer4QQUg5+zAfXdgkhpAxKqvMghHgUm+cPhdufhU/Oa+qRTp6Jb0HK+oOi8/whcC+74SSTIrJlH7vitCMl/RHcqx4I8uHN/u19v9w8f1swi6aWJ+aeLxyp6F+9r2u8v/F47M7Oztzt7S3e61xIe1IqFmGFX3hi19/tLuesjX+73brFYlG/V3xdQlq7F1JwAjT+7ohVfzX+Ma5ngwPwn+EI1AmMhLQnZidA4++e2PTHsh8Gvl6vna0AsPzXy1Ld+fm5OQDu/0MRoxOg8fdHLPoj4Gd7flv6w/DxvtDLD9+7urrC+7sTEhZ/EOB2WhkYE57G3w8x6I9oP2Z7GD4es9nM3dzc1DM/lv46FpZc/ncEBgEMD7XVMjB4DxiINP7+GEp/t7/voF7uI0WJ2R4OAM93d3f4I7TzPhNCSD5Yqm86ndbLfTzm87nt8+ulP2Z/x+vQCMkL7Pktwo/Z3oJ9MH6LA+ief/AVKSEkILbdgJHr3v4ez74T0FUA9/wxgP1XF0Lozx0LiZqQ+uuefwEDh8Fj+a+lvrfmBJSxkOGBEF4UNliKyFJ9usdjgCdSQupve37s7RHhb3ICOvPzfH8swDhD54kb8vwjIVESSn+/ug91/SjqQcT/wAlgNhiz0CcyQhaLsMgnPULoX73m0nL7fnnvw8ND7QT0sA+LfGKlYRB82ks7NnNIlmP1d/sjvVtsJTDbm/HXG/3x2OmfTznzR44NgmOX7Y7NHJLms/q7gyO9MPqLi4t6+b9cLustgKb6eMw3FdwfmjFggKg3X71l4I7NHJLmHf3PVPs5/o7l9H///r214p7a2udzv8hn5RgDShsN3Czg1SE4lom6xKO4heB2rdnvYdi6QljgGbO9BvfgOLa65Ac3+hpOBinjtHkDhMdv/Qe+p45gTkeQL7bUtwIeaK5OoJ4MdKZHlG9lDkBIPsDzQ/QmJ3B6emopHqwB2corQzDDX19fOzvNh7GAr+EE/CO9eHDPnxH+0t8/ugnBpWE1QOHzwpbvurxfwbibnEA9/VdpPh7pzQjs3yyfK2rkMHxzBAj0+I6ADiAvdFsHLvT37zkBGP5YSB6YA2ha9lvrJiz9hQ4gO7CVswo+jfH80QlgMqD2GaKC35unF88JYCtAB5AnGvi9h6F7GZ9GJ2CZP0b7M8XSO4eZADqAvLHIPxzAW07AjvpKYfxPCkBngevn5+fVr1+/TqtAoFQDQUieuF2RD1J5SOyP1+v15c+fP6Vy9HJxcSHfv3+X6nsIAF2cnJysq5d8r1YAP/EshVGEA6iYVkZ/+e3bN5nNZu/+5a9fv+LpXyHJocG72x8/fpxXDv+2+vocDr+K9cDp31UrvYcDJ3AOJ1A9bqrHs5D80BlhZdF+f8lvhz3we68QZMX0T3pglWcHd6Cjdeyx/L6W+M6s6EdP9c2ElIHbneJaWStnFIRoTOBe94D4eiokSZyW72oxl/MLfvA1jB6642CPpoCXDPhljO79RwffG6kj2OrzqT5e1Xo3vZ7EC2K7B0073GGaD9/XmX/1nvFT/4Rx2syjbT+AIW+gIZ/D7ao9b//kBDQ4ePkB46f+qeICtPFy2g8gpavJSwZpW8zw1sWnyQl8Zs9P/RPFBWzj5RK6mrxkTCfb/1uu/9AJfHbPT/0Tw3XQxqthELArcETocn5lffvtXL/vBNr08KP+CQFxvLbQEwmEDQJe/RQXTi/tsBp+O/AFEOn3Un9z1yLaT/0TQgNBwb20Zg/o/SPBsjkwShh7vb5fLq2M22/wEqS8V/+9sRBChsXtuvfWxo1f7EQnHpj1se/XZh5s3U1ITrhdfX+91LdZ3io73b7JqwX8RkIIyQPs5THLY6kPYPjmCLw8/0hI3iAd8/j4uN1sNisZGLwH/3gpCYcfuHPeFd0wdtv3myPwWnf32suR+veMn+fHBy8DA0fEPHF4NOhmS/r6kA/2+tbCHZd2aMAP38D6/8ENUNtP/XvERXhXn2OxSCcggId9vRXx4LNF12avdfsLJyADQf17IkbjNzgIwoOUK27p8Sv58Nl6vf1qJ6DL/kE7+VD/jonZ+A0OgvB8wAngbH8UN/ZQ/45IwfgNDoLwvOUEtLw3qr6N1D8wiOimYvxGwyAYC2lFkxNAjCCGmf8Q6h8QRHeR7knF+A0bBJqqmgr5NO6gGYc5gTYHe/qC+gfC7bv3jCUx3K5ibepYmPJp3BvNXNyut+M0xpn/EOpPyBG4AM1cCCEJkmLMhxASiKenp3saf4Fg2Vc9FsjpSuZo3hr/115r1lMAe+bNZrPO2fip/wH+nq9iKZkD8ZknLhfq79EQ8MneK7JYpGyov5JShV9oOAjKvnSjeP1LNn6j5EHgWl7akgPF6k/j31PiIGCef09x+jPP+5qSBgGd/2uKcgIHEdCJkBp/EOSaCaHxv00J+tdoDnRJ8V+jtePLHGshaPzvk7P+pGC47SOkYCqDn6FvH42fkAJxuyPdaN01FlIGbnc/37TkFE8o3L4nAmvHCyQ5/S3gw24oYXAvuyKxbLgwktK/xNr+rsFqKpU8sa78Zlz5hSMZ/Znq6Y4UikVMf72oYyYkGNHrT+PvnpgHAVd+3ROt/jT+/ohxEFD//ohOf4rfPzENAurfP1E5AVzPRPH7xx8EuJ1WBoDGPxyH+ruhjlTjbnR9AxMhvYLPHA4YGkjPIMpP4x+WIfUnhYMZx2voMRFCSFlohVqR3XwIIaQc3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),s&&o.createPortal(c,document.body))}},619:e=>{e.exports=s},4407:e=>{e.exports=a},9302:e=>{e.exports=n},499:e=>{e.exports=i},189:e=>{e.exports=t},3899:t=>{t.exports=e},994:e=>{e.exports=r},6144:e=>{e.exports=o}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return l[e].call(n.exports,n,n.exports,u),n.exports}return u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u(468)})()}));
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ (function(r,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("react"),require("prop-types"),require("@progress/kendo-react-buttons"),require("@progress/kendo-react-layout"),require("@progress/kendo-react-dialogs"),require("@progress/kendo-react-popup"),require("@progress/kendo-react-common"),require("@progress/kendo-svg-icons"),require("@progress/kendo-react-dropdowns"),require("@progress/kendo-react-intl"),require("@progress/kendo-react-sortable"),require("@progress/kendo-spreadsheet-common"),require("@progress/kendo-file-saver"),require("@progress/kendo-ooxml"),require("@progress/kendo-react-upload"),require("@progress/kendo-react-inputs")):typeof define=="function"&&define.amd?define(["exports","react","prop-types","@progress/kendo-react-buttons","@progress/kendo-react-layout","@progress/kendo-react-dialogs","@progress/kendo-react-popup","@progress/kendo-react-common","@progress/kendo-svg-icons","@progress/kendo-react-dropdowns","@progress/kendo-react-intl","@progress/kendo-react-sortable","@progress/kendo-spreadsheet-common","@progress/kendo-file-saver","@progress/kendo-ooxml","@progress/kendo-react-upload","@progress/kendo-react-inputs"],_):(r=typeof globalThis<"u"?globalThis:r||self,_(r.KendoReactSpreadsheet={},r.React,r.PropTypes,r.KendoReactButtons,r.KendoReactLayout,r.KendoReactDialogs,r.KendoReactPopup,r.KendoReactCommon,r.KendoSvgIcons,r.KendoReactDropdowns,r.KendoReactIntl,r.KendoReactSortable,r.KendoSpreadsheetCommon,r.KendoFileSaver,r.KendoOoxml,r.KendoReactUpload,r.KendoReactInputs))})(this,function(r,_,Vt,N,we,ke,qt,K,f,$,L,Jt,I,Ne,Se,$t,Gt){"use strict";function Ie(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const e=Ie(_),z=Ie(Vt),G=e.forwardRef((t,n)=>{const o=e.useRef(null),s=e.useRef(null);return e.useImperativeHandle(o,()=>({element:s.current,props:t})),e.useImperativeHandle(n,()=>o.current),e.createElement("div",{className:"k-list k-list-md"},e.createElement("div",{className:"k-list-content"},e.createElement("ul",{ref:s,className:"k-spreadsheet-formula-list k-list-ul",onMouseDown:a=>a.preventDefault(),style:{maxHeight:280}},t.data.map(a=>e.createElement("li",{key:a.text,className:"k-list-item",onClick:()=>t.onItemClick(a.value)},e.createElement(K.IconWrap,{name:"formula-fx",icon:f.formulaFxIcon}),e.createElement("span",{className:"k-list-item-text"},a.text))))))});G.displayName="List",G.propTypes={};const J=e.forwardRef((t,n)=>{const[o,s]=e.useState(!1),[a,l]=e.useState(0),[m,d]=e.useState([]),i=e.useMemo(()=>({}),[]);i.showPopup=o,i.popupContentKey=a,i.data=m;const v=e.useRef(null),E=e.useRef(null),C=e.useRef(null),h=e.useCallback(()=>{if(C.current&&C.current.element)return C.current.element.querySelector(".k-focus")},[]),A=e.useCallback(()=>{const b=h();b&&b.classList.remove("k-focus")},[]),g=e.useCallback(b=>{const T=Array.from(C.current&&C.current.element.children||[]),P=h();let p;if(P){const k=T.indexOf(P);P.classList.remove("k-focus"),p=T[k+b]?T[k+b]:b===1?T[0]:T[T.length-1]}else p=b===1?T[0]:T[T.length-1];p&&p.classList.add("k-focus")},[]);e.useImperativeHandle(v,()=>({element:E.current,props:t,popup:{open:()=>{s(!0)},close:()=>{s(!1)},position:()=>{l(i.popupContentKey+1)},visible:()=>i.showPopup},list:{get element(){return C.current&&C.current.element},data:b=>{if(b)d(b);else return i.data},value:()=>({}),focus:()=>Array.from(C.current&&C.current.element&&C.current.element.children||[]).indexOf(h()),focusNext:()=>{g(1)},focusPrev:()=>{g(-1)},focusFirst:()=>{const b=C.current&&C.current.element;b&&b.children.item(0)&&(A(),b.children.item(0).classList.add("k-focus"))},focusLast:()=>{const b=C.current&&C.current.element;b&&b.children.length&&(A(),b.children.item(b.children.length-1).classList.add("k-focus"))},itemClick:b=>{i.itemClick=b}}}),[]),e.useImperativeHandle(n,()=>v.current,[]);const x=e.useCallback(b=>{i.itemClick&&i.itemClick(b)},[]);return e.createElement(e.Fragment,null,e.createElement("div",{className:K.classNames("k-spreadsheet-formula-input",t.className),contentEditable:"true",spellCheck:"false",style:{whiteSpace:"pre"},ref:E}),e.createElement(qt.Popup,{show:o,anchor:E.current,animate:{openDuration:100,closeDuration:100},contentKey:a,popupClass:"k-list-container"},e.createElement(G,{data:m,ref:C,onItemClick:x})))});J.displayName="FormulaInput",J.propTypes={};const Ae="spreadsheet.bold",De="spreadsheet.italic",Le="spreadsheet.underline",Re="spreadsheet.openFile",Te="spreadsheet.textColor",Fe="spreadsheet.background",Ke="spreadsheet.addRowAbove",ze="spreadsheet.addRowBelow",Pe="spreadsheet.addColumnLeft",Oe="spreadsheet.addColumnRight",Me="spreadsheet.deleteRow",Be="spreadsheet.deleteColumn",je="spreadsheet.undo",He="spreadsheet.redo",Ue="spreadsheet.fontSize",We="spreadsheet.fontSizeIncrease",_e="spreadsheet.fontSizeDecrease",Ve="spreadsheet.fontName",qe="spreadsheet.cleanFormatting",Je="spreadsheet.format",$e="spreadsheet.alignHorizontally",Ge="spreadsheet.alignVertically",Xe="spreadsheet.align",Ze="spreadsheet.alignLeft",Ye="spreadsheet.alignRight",Qe="spreadsheet.alignCenter",et="spreadsheet.center",tt="spreadsheet.alignJustify",nt="spreadsheet.justify",at="spreadsheet.alignTop",ot="spreadsheet.alignMiddle",rt="spreadsheet.alignBottom",lt="spreadsheet.increaseDecimal",st="spreadsheet.decreaseDecimal",ct="spreadsheet.textWrap",it="spreadsheet.gridLines",ut="spreadsheet.exportToExcel",dt="spreadsheet.nameBox",mt="spreadsheet.defaultSheetName",pt="spreadsheet.home",ft="spreadsheet.file",gt="spreadsheet.insert",bt="spreadsheet.formatTab",ht="spreadsheet.addNewSheet",yt="spreadsheet.error",Ct="spreadsheet.ok",vt="spreadsheet.modifyMerged",Et="spreadsheet.cannotModifyDisabled",xt="spreadsheet.openUnsupported",wt="spreadsheet.duplicateSheetName",S={[Ae]:"Bold",[De]:"Italic",[Le]:"Underline",[je]:"Undo",[He]:"Redo",[Ue]:"Font size",[We]:"Increase Font size",[_e]:"Decrease Font size",[Ve]:"Font",[qe]:"Clean formatting",[Je]:"Custom format...",[$e]:"Align horizontally",[Ge]:"Align vertically",[Xe]:"Align",[Ze]:"Align left",[Ye]:"Align right",[Qe]:"Align center",[tt]:"Align justify",[et]:"Center",[nt]:"Justify",[at]:"Align top",[ot]:"Align middle",[rt]:"Align bottom",[lt]:"Increase decimal",[st]:"Decrease decimal",[Te]:"Text Color",[Fe]:"Background color",[Ke]:"Add row above",[ze]:"Add row below",[Pe]:"Add column left",[Oe]:"Add column right",[Me]:"Delete row",[Be]:"Delete column",[Re]:"Open...",[ut]:"Export to Excel",[ct]:"Text Wrap",[it]:"Toggle gridlines",[dt]:"Name Box",[mt]:"Sheet",[pt]:"Home",[ft]:"File",[gt]:"Insert",[ht]:"Add new sheet",[bt]:"Format",[vt]:"Cannot change part of a merged cell.",[Et]:"Cannot modify disabled cells.",[xt]:"Unsupported format. Please select an .xlsx file.",[wt]:"There is an existing sheet with this name. Please enter another name.",[yt]:"Error",[Ct]:"OK"},c={bold:Ae,italic:De,underline:Le,undo:je,redo:He,fontSize:Ue,fontSizeIncrease:We,fontSizeDecrease:_e,fontName:Ve,cleanFormatting:qe,format:Je,alignHorizontally:$e,alignVertically:Ge,align:Xe,alignLeft:Ze,alignRight:Ye,alignCenter:Qe,center:et,alignJustify:tt,justify:nt,alignTop:at,alignMiddle:ot,alignBottom:rt,increaseDecimal:lt,decreaseDecimal:st,textColor:Te,background:Fe,addRowAbove:Ke,addRowBelow:ze,addColumnLeft:Pe,addColumnRight:Oe,deleteRow:Me,deleteColumn:Be,open:Re,exportToExcel:ut,textWrap:ct,gridLines:it,nameBox:dt,defaultSheetName:mt,file:ft,home:pt,insert:gt,addNewSheet:ht,error:yt,ok:Ct,modifyMerged:vt,cannotModifyDisabled:Et,openUnsupported:xt,duplicateSheetName:wt,formatTab:bt},X=e.forwardRef((t,n)=>{const o=e.useRef(null),s=e.useRef(null),[a,l]=e.useState([]),[m,d]=e.useState(!1),[i,v]=e.useState(""),E=e.useMemo(()=>({}),[]);E.data=a,e.useImperativeHandle(o,()=>({value:p=>{if(p===void 0){const k=s.current&&s.current.value;return k&&(k.name||k)}else v(p||"")}}),[]),e.useImperativeHandle(n,()=>o.current,[]);const C=e.useCallback(p=>{const k=t.nameEditor();k&&k.trigger("delete",{name:p})},[]),h=e.useCallback((p,k)=>{const O=e.createElement(e.Fragment,null,p.props.children,e.createElement("span",{role:"button",className:"k-button-delete",onClick:()=>C(k.dataItem[k.textField]),onMouseDown:w=>w.preventDefault(),onPointerDown:w=>w.preventDefault(),"data-role":"delete"},e.createElement(K.IconWrap,{name:"x",icon:f.xIcon})));return e.cloneElement(p,p.props,O)},[]),A=e.useCallback(p=>e.cloneElement(p,{...p.props},e.createElement("div",null)),[]),g=e.useCallback(p=>{if(p.syntheticEvent&&p.syntheticEvent.type==="change")return;const k=t.nameEditor();k&&(l(k.readData()),d(!0))},[]),x=e.useCallback(()=>{d(!1)},[]),b=e.useCallback(p=>{if(p.syntheticEvent.target.closest("[data-role]"))return;const k=t.nameEditor();if(k&&p.value){const O=p.value.name;O!==i&&(k.trigger("select",{name:O}),v(O))}},[i]),T=e.useCallback(p=>{const k=t.nameEditor();if(k)if(p.key==="Enter"){const O=p.target.value;k.trigger("enter",{value:O}),v(O)}else p.key==="Escape"&&(k.trigger("cancel"),v(E.prevValue))},[]),P=e.useCallback(p=>{E.prevValue=p.value.name},[]);return e.createElement("div",{className:"k-spreadsheet-name-editor",onKeyDown:T},e.createElement($.ComboBox,{ref:s,title:L.useLocalization().toLanguageString(c.nameBox,S[c.nameBox]),popupSettings:{className:"k-spreadsheet-names-popup"},fillMode:"flat",clearButton:!1,dataItemKey:"name",textField:"name",itemRender:h,data:a,value:i?a.find(p=>p.name===i)||{name:i}:null,onChange:b,opened:m,onOpen:g,onClose:x,onFocus:P,listNoDataRender:A,allowCustom:!0}))});X.displayName="NameBox",X.propTypes={};const Xt={onSelect:()=>{},onDelete:()=>{},onEnterEdit:()=>{},onCancelEdit:()=>{},onExitEdit:()=>{},onEdit:()=>{}},kt=e.createContext(Xt),Zt=t=>{const n=t.dataItem,{onSelect:o,onDelete:s,onEnterEdit:a,onExitEdit:l,onCancelEdit:m,onEdit:d}=e.useContext(kt),i=e.useCallback(g=>{g.target instanceof HTMLElement&&g.target.nodeName==="INPUT"||o.call(void 0,n,g)},[n,o]),v=e.useCallback(g=>{s.call(void 0,n,g)},[n,s]),E=e.useCallback(g=>{g.target instanceof HTMLElement&&g.target.nodeName==="INPUT"||a.call(void 0,n,g)},[n,a]),C=e.useCallback(g=>{l.call(void 0,n,g)},[n,l]),h=e.useCallback(g=>{g.key==="Enter"?l.call(void 0,n,g):g.key==="Escape"&&m.call(void 0,n,g)},[n,l,m]),A=e.useCallback(g=>{d.call(void 0,{...n,text:g.target.value},g)},[n,d]);return e.createElement("li",{style:t.style,...t.attributes,ref:t.forwardRef,role:"tab",className:K.classNames("k-item k-tabstrip-item",{"k-disabled":t.isDisabled,"k-active k-state-tab-on-top k-spreadsheet-sheets-bar-active":n.active,"k-spreadsheet-sheets-bar-inactive":!n.active,"k-first":n.first,"k-last":n.last}),onClick:i,onDoubleClick:E},n.inEdit?e.createElement("input",{type:"text",className:"k-textbox k-spreadsheet-sheets-editor",value:n.text,onChange:A,maxLength:50,autoFocus:!0,onBlur:C,onKeyDown:h}):e.createElement(e.Fragment,null,e.createElement("span",{className:"k-link"},n.text),n.first&&n.last?null:e.createElement("span",{className:"k-link k-spreadsheet-sheets-remove",onClick:v},e.createElement(K.IconWrap,{name:"x",icon:f.xIcon}))))},Nt=e.forwardRef((t,n)=>{const{children:o,className:s,...a}=t;return e.createElement("ul",{className:K.classNames("k-tabstrip-items k-reset",s),role:"tablist",...a,ref:n},o)});Nt.displayName="TabsList";const Yt=t=>{const{sheets:n,setSheets:o,onSheetSelect:s,onSheetDelete:a,onSheetEdit:l,onSheetReorderEnd:m}=t,[d,i]=e.useState(null),v=e.useRef(!1),E=e.useRef(-1),C=e.useCallback(w=>{o(w.map((R,M,F)=>({...R,first:M===0,last:M===F.length-1})))},[]),h=e.useCallback(w=>{C(w.newState)},[C,m]),A=e.useCallback(w=>{m.call(void 0,w)},[m]),g=e.useCallback(w=>{v.current=!0,E.current=w.prevIndex},[]),x=e.useCallback(w=>{setTimeout(()=>{v.current=!1},50),m.call(void 0,{...w,prevIndex:E.current})},[]),b=e.useCallback((w,R)=>{v.current||s.call(void 0,w,R)},[s]),T=e.useCallback((w,R)=>{R.stopPropagation(),a.call(void 0,w)},[n,a]),P=e.useCallback((w,R)=>{R.stopPropagation(),R.preventDefault();const M=n.map(F=>({...F,active:F.id===w.id,inEdit:F.id===w.id}));o(M),i({...w})},[n]),p=e.useCallback((w,R)=>{R.stopPropagation(),R.preventDefault();const M=n.map(F=>({...F,inEdit:!1,text:F.inEdit&&d?d.text:F.text}));o(M),i(null)},[n,d]),k=e.useCallback((w,R)=>{R.stopPropagation(),R.preventDefault();const M=n.map(W=>({...W,inEdit:!1})),F=n.findIndex(W=>W.id===w.id);o(M),i(null),l.call(void 0,w,F)},[n,l]),O=e.useCallback((w,R)=>{R.stopPropagation(),R.preventDefault();const M=n.map(F=>({...F,text:w.id===F.id?w.text:F.text}));o(M)},[n]);return e.createElement("div",{className:"k-spreadsheet-sheets-items k-tabstrip k-floatwrap k-tabstrip-bottom"},e.createElement("div",{className:"k-tabstrip-items-wrapper k-hstack"},e.createElement(kt.Provider,{value:{onSelect:b,onDelete:T,onEnterEdit:P,onCancelEdit:p,onExitEdit:k,onEdit:O}},e.createElement(Jt.Sortable,{idField:"id",data:n,itemUI:Zt,itemsWrapUI:Nt,onDragOver:h,onNavigate:A,onDragStart:g,onDragEnd:x}))))},Qt=(t,n)=>t.map((o,s,a)=>({text:o.name(),id:K.guid(),first:s===0,last:s===a.length-1,active:o.name()===n})),en=t=>{const{spreadsheetRef:n}=t,[o,s]=e.useState([]),a=e.useRef((o.find(h=>h.active)||{}).text),l=e.useCallback(()=>{n.current&&(n.current.view.sheetsbar.onSheetSelect(a.current),s(Qt(n.current.sheets(),a.current)))},[]),m=e.useCallback(()=>{if(n.current){const h=n.current.sheets();h.find(A=>A.name()===a.current)||(a.current=h[h.length-1].name()),l()}},[]);e.useEffect(()=>(n.current&&(n.current.sheets().length&&(a.current=n.current.sheets()[0].name(),l()),n.current.view.bind("update",m)),()=>{n.current&&n.current.view.unbind("update",m)}),[n.current]);const d=e.useCallback(h=>{a.current!==h.text&&(a.current=h.text,l())},[]),i=e.useCallback(()=>{if(n.current){n.current.view.sheetsbar.onAddSelect();const h=n.current.sheets();a.current=h[h.length-1].name(),l()}},[]),v=e.useCallback(h=>{if(n.current){if(a.current===h.text){const A=n.current.sheets(),g=A.findIndex(b=>b.name()===h.text),x=A[g+1]||A[g-1];a.current=x?x.name():""}n.current.view.sheetsbar.onSheetRemove(h.text),l()}},[]),E=e.useCallback((h,A)=>{if(n.current){let g=h.text;const x=n.current.sheets(),b=x[A];if(!g){a.current=b.name(),l();return}if(b&&b.name()===g)return;x.find(T=>T.name()===g)&&(g=b.name()),n.current.view.sheetsbar.onSheetRename(g,A),a.current=g,l()}},[]),C=e.useCallback(h=>{if(n.current){const{prevIndex:A,nextIndex:g}=h;a.current=n.current.sheets()[A].name(),n.current.view.sheetsbar.onSheetReorderEnd({oldIndex:A,newIndex:g}),l()}},[]);return e.createElement("div",{className:"k-spreadsheet-sheets-bar k-header"},e.createElement(N.Button,{fillMode:"flat",icon:"plus",className:"k-spreadsheet-sheets-bar-add",title:L.useLocalization().toLanguageString(c.addNewSheet,S[c.addNewSheet]),svgIcon:f.plusIcon,onClick:i}),e.createElement(Yt,{sheets:o,setSheets:s,onSheetSelect:d,onSheetDelete:v,onSheetEdit:E,onSheetReorderEnd:C}))},Z=t=>{const{spreadsheetRef:n}=t,o=e.useCallback(()=>{n.current&&n.current.saveAsExcel({...n.current.options.excel,saveAs:Ne.saveAs,Workbook:Se.Workbook})},[]);return e.createElement(N.Button,{className:"k-toolbar-button",title:"Export...",icon:"download",fillMode:"flat",svgIcon:f.downloadIcon,onClick:o})};Z.displayName="ExcelExport";const Y=t=>{const{spreadsheetRef:n}=t,o=e.useCallback(a=>{const l=a.target;if(l instanceof Element&&l.parentNode){const m=l.closest(".k-toolbar"),d=m&&m.querySelector(".k-upload input");d&&d.click()}},[]),s=e.useCallback(a=>{const l=a.newState;if(l[0]&&l[0].getRawFile){const m=l[0].getRawFile();n.current&&n.current.executeCommand({command:"OpenCommand",options:{file:m}})}},[]);return e.createElement(e.Fragment,null,e.createElement(N.Button,{className:"k-toolbar-button",title:L.useLocalization().toLanguageString(c.open,S[c.open]),icon:"folder-open",svgIcon:f.folderOpenIcon,fillMode:"flat",onClick:o}),e.createElement("div",{style:{display:"none"}},e.createElement($t.Upload,{restrictions:{allowedExtensions:[".xlsx"]},onAdd:s,autoUpload:!1,defaultFiles:[],multiple:!1,accept:".xlsx,.XLSX",withCredentials:!1})))};Y.displayName="Open";const tn=["Arial","Courier New","Georgia","Times New Roman","Trebuchet MS","Verdana"],nn="Arial",an=[8,9,10,11,12,13,14,16,18,20,22,24,26,28,36,48,72],on=12,rn=[{text:"Automatic",value:null},{text:"Text",value:"@"},{text:"Number",value:"#,0.00"},{text:"Percent",value:"0.00%"},{text:"Financial",value:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)'},{text:"Currency",value:"$#,##0.00;[Red]$#,##0.00"},{text:"Date",value:"m/d/yyyy"},{text:"Time",value:"h:mm:ss AM/PM"},{text:"Date time",value:"m/d/yyyy h:mm"},{text:"Duration",value:"[h]:mm:ss"}],Q=t=>o=>{const{property:s,icon:a,svgIcon:l,titleKey:m}=t,{spreadsheetRef:d,value:i}=o,v=e.useCallback(()=>{if(d.current){const C={command:"PropertyChangeCommand",options:{property:s,value:!i}};d.current.executeCommand(C)}},[i]);return e.createElement(N.Button,{type:"button",icon:a,svgIcon:l,fillMode:"flat",togglable:!0,onClick:v,selected:i,title:L.useLocalization().toLanguageString(m,S[m])})},St=t=>o=>{const{property:s,titleKey:a,...l}=t,{spreadsheetRef:m,value:d}=o,i=e.useCallback(v=>{if(m.current){const E={command:"PropertyChangeCommand",options:{property:s,value:v.value||null}};m.current.executeCommand(E)}},[s]);return e.createElement(Gt.ColorPicker,{onChange:i,onActiveColorClick:i,fillMode:"flat",...l,title:L.useLocalization().toLanguageString(a,S[a]),value:d})},It=t=>o=>{const{spreadsheetRef:s}=o,a=e.useCallback(()=>{s.current&&s.current.workbook.undoRedoStack[t.action]()},[]);return e.createElement(N.Button,{type:"button",icon:t.icon,svgIcon:t.svgIcon,fillMode:"flat",title:L.useLocalization().toLanguageString(t.titleKey,S[t.titleKey]),onClick:a})},ln={property:"bold",icon:"bold",svgIcon:f.boldIcon,titleKey:c.bold},ee=Q(ln);ee.displayName="Bold";const sn={property:"italic",icon:"italic",svgIcon:f.italicIcon,titleKey:c.italic},te=Q(sn);te.displayName="Italic";const cn={property:"underline",icon:"underline",svgIcon:f.underlineIcon,titleKey:c.underline},ne=Q(cn);ne.displayName="Underline";const ae=t=>{const{spreadsheetRef:n,value:o}=t,s=e.useCallback(a=>{if(n.current){const l={command:"PropertyChangeCommand",options:{property:"fontFamily",value:a.value||null}};n.current.executeCommand(l)}},[]);return e.createElement($.DropDownList,{onChange:s,value:o,data:tn,defaultValue:nn,fillMode:"flat",title:L.useLocalization().toLanguageString(c.fontName,S[c.fontName]),leftRightKeysNavigation:!1})};ae.displayName="FontFamily";const oe=1,re=409,le=t=>typeof t=="string"?parseFloat(t):t,se=t=>{const{spreadsheetRef:n}=t,o=le(t.value),s=e.useCallback(a=>{var d;let l=a.value?le(a.value):o;l=isNaN(l)?o:l,l=Math.min(re,Math.max(oe,l));const m={command:"PropertyChangeCommand",options:{property:"fontSize",value:l}};a.nativeEvent.type==="keydown"||a.nativeEvent.type==="focusout"?(d=n.current)==null||d.executeCommand(m):setTimeout(()=>{var i;(i=n.current)==null||i.executeCommand(m)},0)},[o]);return e.createElement($.ComboBox,{onChange:s,value:o,data:an,defaultValue:on,allowCustom:!0,fillMode:"flat",title:L.useLocalization().toLanguageString(c.fontSize,S[c.fontSize]),tabIndex:-1,clearButton:!1})};se.displayName="FontSize";const At=t=>{const n=o=>{const{property:s,icon:a,svgIcon:l,titleKey:m,step:d}=t,{spreadsheetRef:i}=o,v=le(o.value),E=e.useCallback(()=>{var h;const C={command:"PropertyChangeCommand",options:{property:s,value:Math.min(re,Math.max(oe,v+d))}};(h=i.current)==null||h.executeCommand(C)},[v]);return e.createElement(N.Button,{type:"button",icon:a,svgIcon:l,fillMode:"flat",onClick:E,disabled:v+d<oe||v+d>re,title:L.useLocalization().toLanguageString(m,S[m])})};return n.displayName=t.displayName,n},Dt=At({property:"fontSize",icon:"font-grow",svgIcon:f.fontGrowIcon,titleKey:c.fontSizeIncrease,displayName:"IncreaseFontSize",step:1}),Lt=At({property:"fontSize",icon:"font-shrink",svgIcon:f.fontShrinkIcon,titleKey:c.fontSizeDecrease,displayName:"DecreaseFontSize",step:-1}),ce=St({icon:"foreground-color",svgIcon:f.foregroundColorIcon,view:"palette",property:"color",titleKey:c.textColor,ariaLabel:"Text Color"});ce.displayName="TextColor";const ie=St({icon:"droplet",svgIcon:f.dropletIcon,view:"palette",property:"background",titleKey:c.background,ariaLabel:"Background"});ie.displayName="BackgroundColor";const H=[{icon:"align-left",svgIcon:f.alignLeftIcon,textKey:c.alignLeft,commandName:"textAlign",value:"left",selected:!1},{icon:"align-center",svgIcon:f.alignCenterIcon,textKey:c.alignCenter,commandName:"textAlign",value:"center",selected:!1},{icon:"align-right",svgIcon:f.alignRightIcon,textKey:c.alignRight,commandName:"textAlign",value:"right",selected:!1},{icon:"align-justify",svgIcon:f.alignJustifyIcon,textKey:c.alignJustify,commandName:"textAlign",value:"justify",selected:!1},{icon:"align-top",svgIcon:f.alignTopIcon,textKey:c.alignTop,commandName:"verticalAlign",value:"top",selected:!1},{icon:"align-middle",svgIcon:f.alignMiddleIcon,textKey:c.alignMiddle,commandName:"verticalAlign",value:"center",selected:!1},{icon:"align-bottom",svgIcon:f.alignBottomIcon,textKey:c.alignBottom,commandName:"verticalAlign",value:"bottom",selected:!1}],un=[H[0],{...H[1],textKey:c.center},H[2],{...H[3],textKey:c.justify}],dn=H.filter(t=>t.commandName==="verticalAlign"),Rt=t=>{const{value:n,spreadsheetRef:o}=t,{textAlign:s,verticalAlign:a}=n||{},l=L.useLocalization(),m=e.useCallback(i=>{if(o.current){const v=i.item,E={command:"PropertyChangeCommand",options:{property:v.commandName,value:v.value||null}};o.current.executeCommand(E)}},[]);let d=H.slice();return d=d.map(i=>({...i,text:l.toLanguageString(i.textKey,S[i.textKey])})),s&&(d=d.map(i=>i.commandName==="textAlign"?{...i,selected:i.value===s}:i)),a&&(d=d.map(i=>i.commandName==="verticalAlign"?{...i,selected:i.value===a}:i)),e.createElement(N.DropDownButton,{icon:"align-left",svgIcon:f.alignLeftIcon,items:d,fillMode:"flat",onItemClick:m,title:l.toLanguageString(c.align,S[c.align]),text:e.createElement(K.IconWrap,{name:"caret-alt-down",icon:f.caretAltDownIcon})})};Rt.displayName="Alignment";const mn={items:un,icon:{icon:"align-left",svgIcon:f.alignLeftIcon},displayName:"AlignHorizontally",titleKey:c.alignHorizontally},pn={items:dn,icon:{icon:"align-bottom",svgIcon:f.alignBottomIcon},displayName:"AlignVertically",titleKey:c.alignVertically},Tt=t=>{const n=o=>{const{value:s,spreadsheetRef:a}=o,l=L.useLocalization(),m=e.useCallback(E=>{if(a.current){const C=E.item,h={command:"PropertyChangeCommand",options:{property:C.commandName,value:C.value||null}};a.current.executeCommand(h)}},[]);let d=t.items.slice();d=d.map(E=>({...E,text:l.toLanguageString(E.textKey,S[E.textKey])})),d=d.map(E=>({...E,selected:E.value===s}));const i={...t.icon},v=d.find(E=>E.selected);return v&&(i.icon=v.icon,i.svgIcon=v.svgIcon),e.createElement(N.DropDownButton,{...i,items:d,fillMode:"flat",onItemClick:m,title:l.toLanguageString(t.titleKey,S[t.titleKey]),text:e.createElement(K.IconWrap,{name:"caret-alt-down",icon:f.caretAltDownIcon})})};return n.displayName=t.displayName,n},Ft=Tt(mn),Kt=Tt(pn),ue=t=>{const{value:n,spreadsheetRef:o}=t,s=e.useCallback(()=>{if(o.current){const a=o.current.activeSheet();if(a){const d={command:"TextWrapCommand",options:{property:"wrap",value:!a.range(a.activeCell()).wrap()}};o.current.executeCommand(d)}}},[]);return e.createElement(N.Button,{type:"button",togglable:!0,icon:"text-wrap",svgIcon:f.textWrapIcon,fillMode:"flat",title:L.useLocalization().toLanguageString(c.textWrap,S[c.textWrap]),onClick:s,selected:n})};ue.displayName="TextWrap";const de=t=>{const{value:n,spreadsheetRef:o}=t,s=e.useCallback(()=>{if(o.current){const a=o.current.activeSheet();if(a){const m={command:"GridLinesChangeCommand",options:{property:"gridLines",value:!a.showGridLines()}};o.current.executeCommand(m)}}},[]);return e.createElement(N.Button,{type:"button",togglable:!0,icon:"borders-none",svgIcon:f.bordersNoneIcon,fillMode:"flat",title:L.useLocalization().toLanguageString(c.gridLines,S[c.gridLines]),onClick:s,selected:n})};de.displayName="GridLines";const me=t=>{const{spreadsheetRef:n}=t,o=e.useCallback(s=>{const a=s.item.value||null;setTimeout(()=>{if(n.current){const l={command:"PropertyChangeCommand",options:{property:"format",value:a}};n.current.executeCommand(l)}},0)},[]);return e.createElement(N.DropDownButton,{icon:"custom-format",svgIcon:f.customFormatIcon,fillMode:"flat",onItemClick:o,items:rn,title:L.useLocalization().toLanguageString(c.format,S[c.format]),text:e.createElement(K.IconWrap,{name:"caret-alt-down"})})};me.displayName="Format";const U=t=>o=>{const{spreadsheetRef:s,value:a}=o,l=e.useCallback(()=>{if(s.current){const m={command:t.command,options:{value:t.value}};s.current.executeCommand(m)}},[]);return e.createElement(N.Button,{type:"button",icon:t.icon,svgIcon:t.svgIcon,fillMode:"flat",title:L.useLocalization().toLanguageString(t.titleKey,S[t.titleKey]),onClick:l,disabled:a&&t.disabled(a)})},fn={command:"AddColumnCommand",value:"left",icon:"table-column-insert-left",svgIcon:f.tableColumnInsertLeftIcon,titleKey:c.addColumnLeft,disabled:t=>t.allCols,displayName:"AddColumnLeft"},gn={command:"AddColumnCommand",value:"right",icon:"table-column-insert-right",svgIcon:f.tableColumnInsertRightIcon,titleKey:c.addColumnRight,disabled:t=>t.allCols,displayName:"AddColumnRight"},bn={command:"AddRowCommand",value:"below",icon:"table-row-insert-below",svgIcon:f.tableRowInsertBelowIcon,titleKey:c.addRowBelow,disabled:t=>t.allRows,displayName:"AddRowBelow"},hn={command:"AddRowCommand",value:"above",icon:"table-row-insert-above",svgIcon:f.tableRowInsertAboveIcon,titleKey:c.addRowAbove,disabled:t=>t.allRows,displayName:"AddRowAbove"},yn={command:"DeleteColumnCommand",icon:"table-column-delete",svgIcon:f.tableColumnDeleteIcon,titleKey:c.deleteColumn,disabled:t=>t.allCols,displayName:"DeleteColumn"},Cn={command:"DeleteRowCommand",icon:"table-row-delete",svgIcon:f.tableRowDeleteIcon,titleKey:c.deleteRow,disabled:t=>t.allRows,displayName:"DeleteRow"},pe=U(fn),fe=U(gn),ge=U(bn),be=U(hn),he=U(yn),ye=U(Cn);pe.displayName="AddColumnLeft",fe.displayName="AddColumnRight",ge.displayName="AddRowBelow",be.displayName="AddRowAbove",he.displayName="DeleteColumn",ye.displayName="DeleteRow";const vn={action:"undo",icon:"reset",svgIcon:f.arrowRotateCcwIcon,titleKey:c.undo},Ce=It(vn);Ce.displayName="Undo";const En={action:"redo",icon:"reload",svgIcon:f.arrowRotateCwIcon,titleKey:c.redo},ve=It(En);ve.displayName="Redo";const zt=t=>o=>{const{icon:s,svgIcon:a,titleKey:l,value:m}=t,{spreadsheetRef:d}=o,i=e.useCallback(()=>{if(d.current){const v={command:"AdjustDecimalsCommand",options:{value:m}};d.current.executeCommand(v)}},[]);return e.createElement(N.Button,{type:"button",icon:s,svgIcon:a,fillMode:"flat",onClick:i,title:L.useLocalization().toLanguageString(l,S[l])})},xn=zt({icon:f.decimalIncreaseIcon.name,svgIcon:f.decimalIncreaseIcon,value:1,titleKey:c.increaseDecimal}),wn=zt({icon:f.decimalDecreaseIcon.name,svgIcon:f.decimalDecreaseIcon,value:-1,titleKey:c.decreaseDecimal}),Ee=[{textKey:c.file,tools:[Y,Z]},{textKey:c.home,selected:!0,tools:[[Ce,ve],N.ToolbarSeparator,ae,se,Dt,Lt,N.ToolbarSeparator,[ee,te,ne],ce,N.ToolbarSeparator,ie,N.ToolbarSeparator,Ft,Kt,ue,N.ToolbarSeparator,de]},{textKey:c.insert,tools:[[pe,fe,ge,be],N.ToolbarSeparator,[he,ye]]},{textKey:c.formatTab,tools:[me,[wn,xn]]}],Pt={name:"@progress/kendo-react-spreadsheet",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1683639393,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},Ot=["bold","italic","underline","fontFamily","fontSize","color","background","textAlign","verticalAlign","wrap","gridLines"],Mt={Bold:t=>t.bold,Italic:t=>t.italic,Underline:t=>t.underline,FontFamily:t=>t.fontFamily,FontSize:t=>t.fontSize,IncreaseFontSize:t=>t.fontSize,DecreaseFontSize:t=>t.fontSize,TextColor:t=>t.color,BackgroundColor:t=>t.background,Alignment:t=>({textAlign:t.textAlign,verticalAlign:t.verticalAlign}),AlignHorizontally:t=>t.textAlign,AlignVertically:t=>t.verticalAlign,TextWrap:t=>t.wrap,GridLines:t=>t.gridLines,AddColumnLeft:t=>t.selectedHeaders,AddColumnRight:t=>t.selectedHeaders,AddRowBelow:t=>t.selectedHeaders,AddRowAbove:t=>t.selectedHeaders,DeleteColumn:t=>t.selectedHeaders,DeleteRow:t=>t.selectedHeaders},Bt=":not(.k-dropdownlist button):not(.k-combobox button):not(.k-upload-button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",kn=["button"+Bt,".k-button-group > button"+Bt,".k-dropdownlist",".k-combobox",".k-colorpicker"],xe=e.forwardRef((t,n)=>{K.validatePackage(Pt);const o=K.shouldShowValidationUI(Pt),{toolbar:s=Ee}=t,a=[];typeof s=="boolean"?a.push(...s?Ee:[]):a.push(...s);const[l,m]=e.useState(null),[d,i]=e.useState(a.findIndex(u=>u.selected)||0),[v,E]=e.useState(!1),C=e.useRef(null),h=e.useRef(null),A=e.useRef(null),g=e.useRef(null),x=e.useRef(null),[b,T]=e.useState({}),P=e.useRef({});P.current=b;const p=e.useRef({});p.current=t;const k=L.useLocalization(),O=e.useCallback(u=>{p.current.onSelect&&p.current.onSelect.call(void 0,u)},[]),w=e.useCallback(u=>{p.current.onChange&&p.current.onChange.call(void 0,u)},[]),R=e.useCallback(u=>{p.current.onChangeFormat&&p.current.onChangeFormat.call(void 0,u)},[]),M=e.useCallback(u=>{p.current.onExcelImport&&p.current.onExcelImport.call(void 0,u)},[]),F=e.useCallback(u=>{p.current.onExcelExport&&p.current.onExcelExport.call(void 0,u)},[]),W=e.useRef(null);e.useImperativeHandle(W,()=>({element:C.current,get instance(){return x.current},props:t,get view(){return x.current.view},get workbook(){return x.current.workbook},executeCommand(u){var y;(y=x.current)==null||y.executeCommand(u)},fromJSON(u){var y;return(y=x.current)==null?void 0:y.fromJSON(u)},toJSON(){return x.current.toJSON()},saveJSON(){return x.current.saveJSON()},fromFile(u){return x.current.fromFile(u)},saveAsExcel(u){var y;(y=x.current)==null||y.saveAsExcel({...x.current.options.excel,saveAs:Ne.saveAs,Workbook:Se.Workbook,...u})},activeSheet(u){var y;return(y=x.current)==null?void 0:y.activeSheet(u)},sheets(){return x.current.sheets()},refresh(){var u;return(u=x.current)==null?void 0:u.refresh()}}),[t]),e.useImperativeHandle(n,()=>W.current);const Sn=e.useCallback(()=>x.current&&x.current.view.nameEditor,[]),jt=e.useCallback(u=>{const y={};Ot.forEach(D=>{typeof u.range[D]=="function"?y[D]=u.range[D]():D==="gridLines"&&(y[D]=u.range.sheet().showGridLines())}),y.selectedHeaders=u.range.sheet().selectedHeaders(),(Ot.some(D=>y[D]!==P.current[D])||y.selectedHeaders.allCols!==P.current.selectedHeaders.allCols||y.selectedHeaders.allRows!==P.current.selectedHeaders.allRows)&&T(y)},[]),In=e.useCallback(u=>{const y=u.name,D=c[y];m({title:u.title==="Error"?k.toLanguageString(c.error,S[c.error]||u.title):u.title,message:D?k.toLanguageString(D,S[D]||u.text):u.text,close:u.close})},[]),Ht=e.useCallback(()=>{m(null),l==null||l.close()},[l]),V=L.useInternationalization(),Ut=L.useLocalization();e.useEffect(()=>{var q;const u={...t.defaultProps,sheets:structuredClone((q=t.defaultProps)==null?void 0:q.sheets),messages:{workbook:{defaultSheetName:Ut.toLanguageString(c.defaultSheetName,S[c.defaultSheetName])}},intl:{localeInfo:()=>V.localeInfo(),localeCurrency:()=>V.localeCurrency(),parseDate:(B,j)=>V.parseDate(B,j),toString:(B,j)=>V.toString(B,j),format:(B,...j)=>V.format(B,...j)},formulaBarInputRef:h,formulaCellInputRef:A,nameBoxRef:g},y=new I.SpreadsheetWidget(C.current,u);x.current=y,y.bind("select",O),y.bind("change",w),y.bind("changeFormat",R),y.bind("excelImport",M),y.bind("excelExport",F),y.view.bind("update",jt),y.view.bind("message",In);const D=y.activeSheet();return D&&jt({range:D.range(D.activeCell())}),E(!0),()=>{y.destroy()}},[]);const Wt=e.useCallback((u,y)=>{const D=e.createElement(u,{spreadsheetRef:x,value:Mt[u.displayName]?Mt[u.displayName](b):void 0,key:y});return D.type===N.ToolbarSeparator?e.createElement(u,{key:y}):D},[b]);let _t=null;return a.length&&(_t=e.createElement(we.TabStrip,{selected:d,animation:!1,className:"k-floatwrap k-spreadsheet-tabstrip",style:{minHeight:"auto"},onSelect:u=>i(u.selected)},a.map(u=>{const y=u.textKey?Ut.toLanguageString(u.textKey,S[u.textKey]):u.text;return e.createElement(we.TabStripTab,{key:u.textKey||u.text,title:y},e.createElement(N.Toolbar,{buttons:kn,className:"k-spreadsheet-toolbar"},u.tools.map((D,q)=>Array.isArray(D)?e.createElement(N.ButtonGroup,{key:q},D.map((B,j)=>Wt(B,j))):Wt(D,q))))}))),e.createElement("div",{ref:C,style:t.style,className:K.classNames("k-widget k-spreadsheet",t.className),role:"application"},_t,e.createElement("div",{className:"k-spreadsheet-action-bar"},e.createElement(X,{ref:g,nameEditor:Sn}),e.createElement("div",{className:"k-spreadsheet-formula-bar"},e.createElement(K.IconWrap,{name:"formula-fx",icon:f.formulaFxIcon}),e.createElement(J,{ref:h}))),e.createElement("div",{className:"k-spreadsheet-view"},e.createElement("div",{className:"k-spreadsheet-fixed-container"}),e.createElement("div",{className:"k-spreadsheet-scroller"},e.createElement("div",{className:"k-spreadsheet-view-size"})),e.createElement("div",{tabIndex:0,className:"k-spreadsheet-clipboard",contentEditable:"true"}),e.createElement(J,{ref:A,className:"k-spreadsheet-cell-editor"})),e.createElement(en,{spreadsheetRef:x}),l&&e.createElement(ke.Dialog,{title:l.title,onClose:Ht},e.createElement("div",null,l.message),e.createElement(ke.DialogActionsBar,{layout:"start"},e.createElement(N.Button,{themeColor:"primary",onClick:Ht,autoFocus:!0},k.toLanguageString(c.ok,S[c.ok])))),o&&e.createElement(K.WatermarkOverlay,null))});xe.displayName="KendoReactSpreadsheet",xe.propTypes={className:z.string,defaultProps:z.any,toolbar:z.oneOfType([z.bool,z.arrayOf(z.any)]),style:z.object,onSelect:z.func,onChange:z.func,onChangeFormat:z.func,onExcelImport:z.func,onExcelExport:z.func};const Nn=t=>{const{spreadsheetRef:n}=t,o=e.useCallback(()=>{n.current&&n.current.executeCommand({command:"PropertyCleanCommand"})},[]);return e.createElement(N.Button,{type:"button",icon:"clean-css",svgIcon:f.clearCssIcon,fillMode:"flat",onClick:o,title:L.useLocalization().toLanguageString(c.cleanFormatting,S[c.cleanFormatting])})};Object.defineProperty(r,"CalcError",{enumerable:!0,get:()=>I.CalcError}),Object.defineProperty(r,"CellRef",{enumerable:!0,get:()=>I.CellRef}),Object.defineProperty(r,"Context",{enumerable:!0,get:()=>I.Context}),Object.defineProperty(r,"Matrix",{enumerable:!0,get:()=>I.Matrix}),Object.defineProperty(r,"NULLREF",{enumerable:!0,get:()=>I.NULLREF}),Object.defineProperty(r,"NameRef",{enumerable:!0,get:()=>I.NameRef}),Object.defineProperty(r,"Range",{enumerable:!0,get:()=>I.Range}),Object.defineProperty(r,"RangeRef",{enumerable:!0,get:()=>I.RangeRef}),Object.defineProperty(r,"Ref",{enumerable:!0,get:()=>I.Ref}),Object.defineProperty(r,"Sheet",{enumerable:!0,get:()=>I.Sheet}),Object.defineProperty(r,"SpreadsheetWidget",{enumerable:!0,get:()=>I.SpreadsheetWidget}),Object.defineProperty(r,"UnionRef",{enumerable:!0,get:()=>I.UnionRef}),Object.defineProperty(r,"View",{enumerable:!0,get:()=>I.View}),Object.defineProperty(r,"Workbook",{enumerable:!0,get:()=>I.Workbook}),Object.defineProperty(r,"dateToSerial",{enumerable:!0,get:()=>I.dateToSerial}),Object.defineProperty(r,"defineAlias",{enumerable:!0,get:()=>I.defineAlias}),Object.defineProperty(r,"defineFunction",{enumerable:!0,get:()=>I.defineFunction}),Object.defineProperty(r,"packDate",{enumerable:!0,get:()=>I.packDate}),Object.defineProperty(r,"packTime",{enumerable:!0,get:()=>I.packTime}),Object.defineProperty(r,"serialToDate",{enumerable:!0,get:()=>I.serialToDate}),Object.defineProperty(r,"unpackDate",{enumerable:!0,get:()=>I.unpackDate}),Object.defineProperty(r,"unpackTime",{enumerable:!0,get:()=>I.unpackTime}),r.AddColumnLeft=pe,r.AddColumnRight=fe,r.AddRowAbove=be,r.AddRowBelow=ge,r.AlignHorizontally=Ft,r.AlignVertically=Kt,r.Alignment=Rt,r.BackgroundColor=ie,r.Bold=ee,r.CleanFormatting=Nn,r.DecreaseFontSize=Lt,r.DeleteColumn=he,r.DeleteRow=ye,r.ExcelExport=Z,r.FontFamily=ae,r.FontSize=se,r.Format=me,r.GridLines=de,r.IncreaseFontSize=Dt,r.Italic=te,r.Open=Y,r.Redo=ve,r.Spreadsheet=xe,r.TextColor=ce,r.TextWrap=ue,r.Underline=ne,r.Undo=Ce,r.defaultTabs=Ee,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});