survey-react-ui 2.5.12 → 2.5.13
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.
package/survey-react-ui.min.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* For license information please see survey-react-ui.min.js.LICENSE.txt
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
(function(u,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("survey-core"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","survey-core","react","react-dom"],p):(u=typeof globalThis<"u"?globalThis:u||self,p(u.SurveyReact={},u.Survey,u.React,u.ReactDOM))})(this,(function(u,p,Kt,pe){"use strict";function fe(i){var t=Object.create(null);return i&&Object.keys(i).forEach(function(e){if(e!=="default"){var n=Object.getOwnPropertyDescriptor(i,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return i[e]}})}}),t.default=i,Object.freeze(t)}var r=fe(Kt),ve=fe(pe),K=function(i,t){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])},K(i,t)};function l(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");K(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var G=function(){return G=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++){e=arguments[n];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},G.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var d=(function(){function i(){this.creatorHash={}}return i.prototype.registerElement=function(t,e){this.creatorHash[t]=e},i.prototype.getAllTypes=function(){var t=new Array;for(var e in this.creatorHash)t.push(e);return t.sort()},i.prototype.isElementRegistered=function(t){return!!this.creatorHash[t]},i.prototype.createElement=function(t,e){var n=this.creatorHash[t];return n==null?null:n(e)},i.Instance=new i,i})(),x=(function(){function i(){}return i.wrapRow=function(t,e,n){var o=t.getRowWrapperComponentName(n),s=t.getRowWrapperComponentData(n);return d.Instance.createElement(o,{element:e,row:n,componentData:s})},i.wrapElement=function(t,e,n){var o=t.getElementWrapperComponentName(n),s=t.getElementWrapperComponentData(n);return d.Instance.createElement(o,{element:e,question:n,componentData:s})},i.wrapQuestionContent=function(t,e,n){var o=t.getQuestionContentWrapperComponentName(n),s=t.getElementWrapperComponentData(n);return d.Instance.createElement(o,{element:e,question:n,componentData:s})},i.wrapItemValue=function(t,e,n,o){var s=t.getItemValueWrapperComponentName(o,n),a=t.getItemValueWrapperComponentData(o,n);return d.Instance.createElement(s,{key:e?.key,element:e,question:n,item:o,componentData:a})},i.wrapMatrixCell=function(t,e,n,o){o===void 0&&(o="cell");var s=t.getElementWrapperComponentName(n,o),a=t.getElementWrapperComponentData(n,o);return d.Instance.createElement(s,{element:e,cell:n,componentData:a})},i})();p.SurveyModel.platform="react";var v=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n._allowComponentUpdate=!0,n.prevStateElements=[],n.propertyValueChangedHandler=function(o,s){var a=s.name;!n.canUsePropInState(a)||n.isRendering||(n.changedStatePropNameValue=a,n.setState(function(c){var h={};return h[a]=s.newValue,h}))},n.onArrayChangedCallback=function(o,s){n.isRendering||(n.changedStatePropNameValue=s.name,n.setState(function(a){var c={};return c[s.name]=s.newValue,c}))},n}return t.renderLocString=function(e,n,o){return n===void 0&&(n=null),d.Instance.createElement(e.renderAs,{model:e.renderAsData,style:n,key:o})},t.renderQuestionDescription=function(e){var n=t.renderLocString(e.locDescription);return r.createElement("div",{style:e.hasDescription?void 0:{display:"none"},id:e.ariaDescriptionId,className:e.cssDescription},n)},t.prototype.componentDidMount=function(){this.makeBaseElementsReact()},t.prototype.componentWillUnmount=function(){this.unMakeBaseElementsReact(),this.disableStateElementsRerenderEvent(this.getStateElements())},t.prototype.componentDidUpdate=function(e,n){var o;this.makeBaseElementsReact();var s=this.getStateElements();this.disableStateElementsRerenderEvent(((o=this.prevStateElements)!==null&&o!==void 0?o:[]).filter(function(a){return!s.find(function(c){return c==a})})),this.prevStateElements=[],this.getStateElements().forEach(function(a){a.afterRerender()})},t.prototype.allowComponentUpdate=function(){this._allowComponentUpdate=!0,this.forceUpdate()},t.prototype.denyComponentUpdate=function(){this._allowComponentUpdate=!1},t.prototype.shouldComponentUpdate=function(e,n){return this._allowComponentUpdate&&(this.unMakeBaseElementsReact(),this.prevStateElements=this.getStateElements()),this._allowComponentUpdate},t.prototype.render=function(){if(!this.canRender())return null;this.startEndRendering(1);var e=this.renderElement();return this.startEndRendering(-1),e&&(e=this.wrapElement(e)),this.changedStatePropNameValue=void 0,e},t.prototype.wrapElement=function(e){return e},Object.defineProperty(t.prototype,"isRendering",{get:function(){for(var e=this.getRenderedElements(),n=0,o=e;n<o.length;n++){var s=o[n];if(s.reactRendering>0)return!0}return!1},enumerable:!1,configurable:!0}),t.prototype.getRenderedElements=function(){return this.getStateElements()},t.prototype.startEndRendering=function(e){for(var n=this.getRenderedElements(),o=0,s=n;o<s.length;o++){var a=s[o];a.reactRendering||(a.reactRendering=0),a.reactRendering+=e}},t.prototype.canRender=function(){return!0},t.prototype.renderElement=function(){return null},Object.defineProperty(t.prototype,"changedStatePropName",{get:function(){return this.changedStatePropNameValue},enumerable:!1,configurable:!0}),t.prototype.makeBaseElementsReact=function(){for(var e=this.getStateElements(),n=0;n<e.length;n++)e[n].enableOnElementRerenderedEvent(),this.makeBaseElementReact(e[n])},t.prototype.unMakeBaseElementsReact=function(){var e=this.getStateElements();this.unMakeBaseElementsReactive(e)},t.prototype.unMakeBaseElementsReactive=function(e){for(var n=0;n<e.length;n++)this.unMakeBaseElementReact(e[n])},t.prototype.disableStateElementsRerenderEvent=function(e){e.forEach(function(n){n.disableOnElementRerenderedEvent()})},t.prototype.getStateElements=function(){var e=this.getStateElement();return e?[e]:[]},t.prototype.getStateElement=function(){return null},Object.defineProperty(t.prototype,"isDisplayMode",{get:function(){var e=this.props;return e.isDisplayMode||!1},enumerable:!1,configurable:!0}),t.prototype.renderLocString=function(e,n,o){return n===void 0&&(n=null),t.renderLocString(e,n,o)},t.prototype.canMakeReact=function(e){return!!e&&!!e.iteratePropertiesHash},t.prototype.makeBaseElementReact=function(e){this.canMakeReact(e)&&(e.addOnArrayChangedCallback(this.onArrayChangedCallback),e.addOnPropertyValueChangedCallback(this.propertyValueChangedHandler))},t.prototype.canUsePropInState=function(e){return!0},t.prototype.unMakeBaseElementReact=function(e){this.canMakeReact(e)&&(e.removeOnPropertyValueChangedCallback(this.propertyValueChangedHandler),e.removeOnArrayChangedCallback(this.onArrayChangedCallback))},t})(r.Component),E=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),t})(v),q=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateDomElement()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.updateDomElement()},t.prototype.componentWillUnmount=function(){if(i.prototype.componentWillUnmount.call(this),this.questionBase){var e=this.content||this.control;this.questionBase.beforeDestroyQuestionElement(e),e&&e.removeAttribute("data-rendered")}},t.prototype.updateDomElement=function(){var e=this.content||this.control;e&&e.getAttribute("data-rendered")!=="r"&&(e.setAttribute("data-rendered","r"),this.questionBase.afterRenderQuestionElement(e))},Object.defineProperty(t.prototype,"questionBase",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.getRenderedElements=function(){return[this.questionBase]},Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.questionBase&&!!this.creator},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?!this.questionBase.customWidget||!!this.questionBase.customWidgetData.isNeedRender||!!this.questionBase.customWidget.widgetJson.isDefaultRender||!!this.questionBase.customWidget.widgetJson.render:!1},Object.defineProperty(t.prototype,"isDisplayMode",{get:function(){var e=this.props;return e.isDisplayMode||!!this.questionBase&&this.questionBase.isInputReadOnly||!1},enumerable:!1,configurable:!0}),t.prototype.wrapCell=function(e,n,o){if(!o)return n;var s=this.questionBase.survey,a=null;return s&&(a=x.wrapMatrixCell(s,n,e,o)),a??n},t.prototype.setControl=function(e){e&&(this.control=e)},t.prototype.setContent=function(e){e&&(this.content=e)},t})(v),P=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.updateValueOnEvent=function(o){p.Helpers.isTwoValueEquals(n.questionBase.value,o.target.value,!1,!0,!1)||n.setValueCore(o.target.value)},n.updateValueOnEvent=n.updateValueOnEvent.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.setValueCore=function(e){this.questionBase.value=e},t.prototype.getValueCore=function(){return this.questionBase.value},t.prototype.updateDomElement=function(){if(this.control){var e=this.control,n=this.getValueCore();p.Helpers.isTwoValueEquals(n,e.value,!1,!0,!1)||(e.value=this.getValue(n))}i.prototype.updateDomElement.call(this)},t.prototype.getValue=function(e){return p.Helpers.isValueEmpty(e)?"":e},t})(q),C=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.svgIconRef=r.createRef(),n}return t.prototype.updateSvg=function(){this.props.iconName&&p.createSvg(this.props.size,this.props.width,this.props.height,this.props.iconName,this.svgIconRef.current,this.props.title)},t.prototype.componentDidUpdate=function(){this.updateSvg()},t.prototype.render=function(){var e="sv-svg-icon";return this.props.className&&(e+=" "+this.props.className),this.props.css&&(e=this.props.css),this.props.iconName?r.createElement("svg",{className:e,style:this.props.style,onClick:this.props.onClick,ref:this.svgIconRef,role:"presentation"},r.createElement("use",null)):null},t.prototype.componentDidMount=function(){this.updateSvg()},t})(r.Component);d.Instance.registerElement("sv-svg-icon",function(i){return r.createElement(C,i)});var ge=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.render=function(){var e="sv-action-bar-separator ".concat(this.props.cssClasses);return r.createElement("div",{className:e})},t})(r.Component);d.Instance.registerElement("sv-action-bar-separator",function(i){return r.createElement(ge,i)});var _=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.onChangedHandler=function(o,s){n.isRendering||n.setState({changed:n.state&&n.state.changed?n.state.changed+1:1})},n.rootRef=r.createRef(),n}return Object.defineProperty(t.prototype,"locStr",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textClass",{get:function(){return this.props.textClass},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.reactOnStrChanged()},t.prototype.componentWillUnmount=function(){this.locStr&&this.locStr.onStringChanged.remove(this.onChangedHandler)},t.prototype.componentDidUpdate=function(e,n){e.locStr&&e.locStr.onStringChanged.remove(this.onChangedHandler),this.reactOnStrChanged()},t.prototype.reactOnStrChanged=function(){this.locStr&&this.locStr.onStringChanged.add(this.onChangedHandler)},t.prototype.render=function(){if(!this.locStr)return null;this.isRendering=!0;var e=this.renderString();return this.isRendering=!1,e},t.prototype.renderString=function(){var e=this.locStr.getStringViewerClassName(this.textClass);if(this.locStr.hasHtml){var n={__html:this.locStr.renderedHtml};return r.createElement("span",{ref:this.rootRef,className:e,style:this.style,dangerouslySetInnerHTML:n})}return r.createElement("span",{ref:this.rootRef,className:e,style:this.style},this.locStr.renderedHtml)},t})(r.Component);d.Instance.registerElement(p.LocalizableString.defaultRenderer,function(i){return r.createElement(_,i)});var V=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.ref=r.createRef(),n}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){var e=this.item.getActionRootCss(),n=this.item.needSeparator?r.createElement(ge,null):null,o=d.Instance.createElement(this.item.component||"sv-action-bar-item",{item:this.item});return r.createElement("div",{className:e,id:""+this.item.uniqueId,ref:this.ref},r.createElement("div",{className:"sv-action__content"},n,o))},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.item.updateModeCallback=void 0},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),this.item.updateModeCallback=function(n,o){queueMicrotask(function(){ve.flushSync?ve.flushSync(function(){e.item.mode=n}):e.item.mode=n,queueMicrotask(function(){o(n,e.ref.current)})})},this.item.afterRender()},t})(v),Ce=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){return r.createElement(r.Fragment,null,this.renderInnerButton())},t.prototype.renderText=function(){return this.item.hasTitle?r.createElement(_,{model:this.item.locTitle,textClass:this.item.getActionBarItemTitleCss()}):null},t.prototype.renderButtonContent=function(){var e=this.renderText(),n=this.item.iconName?r.createElement(C,{className:this.item.cssClasses.itemIcon,size:this.item.iconSize,iconName:this.item.iconName,title:this.item.tooltip||this.item.title}):null;return r.createElement(r.Fragment,null,n,e)},t.prototype.renderInnerButton=function(){var e=this,n=this.item.getActionBarItemCss(),o=this.item.tooltip||this.item.title,s=this.renderButtonContent(),a=this.item.disableTabStop?-1:void 0,c=W(r.createElement("button",{className:n,type:"button",disabled:this.item.disabled,onMouseDown:function(h){return e.item.doMouseDown(h)},onFocus:function(h){return e.item.doFocus(h)},onClick:function(h){return e.item.doAction(h)},title:o,tabIndex:a,"aria-checked":this.item.ariaChecked,"aria-expanded":this.item.ariaExpanded,"aria-labelledby":this.item.ariaLabelledBy,role:this.item.ariaRole},s),this.item,{processEsc:!1});return c},t})(v);d.Instance.registerElement("sv-action-bar-item",function(i){return r.createElement(Ce,i)});var H=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.containerRef=r.createRef(),n.createModel(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.createModel=function(){this.popup=p.createPopupViewModel(this.props.model)},t.prototype.setTargetElement=function(){var e=this.containerRef.current;this.popup.setComponentElement(e)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.setTargetElement()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.setTargetElement()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.popup.resetComponentElement()},t.prototype.shouldComponentUpdate=function(e,n){var o;if(!i.prototype.shouldComponentUpdate.call(this,e,n))return!1;var s=e.model!==this.popup.model;return s&&((o=this.popup)===null||o===void 0||o.dispose(),this.createModel()),s},t.prototype.render=function(){this.popup.model=this.model;var e;return this.model.isModal?e=r.createElement(J,{model:this.popup}):e=r.createElement(Gt,{model:this.popup}),r.createElement("div",{ref:this.containerRef},e)},t})(v);d.Instance.registerElement("sv-popup",function(i){return r.createElement(H,i)});var J=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleKeydown=function(o){n.model.onKeyDown(o)},n.clickInside=function(o){o.stopPropagation()},n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),!this.model.isPositionSet&&this.model.isVisible&&this.model.updateOnShowing()},t.prototype.renderContainer=function(e){var n=this,o=e.showHeader?this.renderHeaderPopup(e):null,s=e.title?this.renderHeaderContent():null,a=this.renderContent(),c=e.showFooter?this.renderFooter(this.model):null;return r.createElement("div",{className:"sv-popup__container",style:{left:e.left,top:e.top,height:e.height,width:e.width,minWidth:e.minWidth},onClick:function(h){n.clickInside(h)}},o,r.createElement("div",{className:"sv-popup__body-content"},s,r.createElement("div",{className:"sv-popup__scrolling-content"},a),c))},t.prototype.renderHeaderContent=function(){return r.createElement("div",{className:"sv-popup__body-header"},this.model.title)},t.prototype.renderContent=function(){var e=d.Instance.createElement(this.model.contentComponentName,this.model.contentComponentData);return r.createElement("div",{className:"sv-popup__content"},e)},t.prototype.renderHeaderPopup=function(e){var n=this;return e.showCloseButton?r.createElement("button",{tabIndex:-1,className:"sv-popup__close-button sd-action sd-action--icon",onClick:function(){return n.model.clickClose()}},r.createElement(C,{className:"sv-popup__close-button-icon",iconName:"icon-close-24x24",size:"auto"})):null},t.prototype.renderFooter=function(e){return r.createElement("div",{className:"sv-popup__body-footer"},r.createElement(L,{model:e.footerToolbar}))},t.prototype.render=function(){var e=this,n=this.renderContainer(this.model),o=new p.CssClassBuilder().append("sv-popup").append(this.model.styleClass).toString(),s={display:this.model.isVisible?"":"none"};return r.createElement("div",{tabIndex:-1,className:o,style:s,onClick:function(a){e.model.clickOutside(a)},onBlur:function(a){e.model.blur(a)},onKeyDown:this.handleKeydown},n)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.model.isVisible&&this.model.updateOnShowing()},t})(v),Gt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.renderHeaderPopup=function(e){var n=e;return n?r.createElement("span",{style:{left:n.pointerTarget.left,top:n.pointerTarget.top},className:"sv-popup__pointer"}):null},t})(J),Jt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderInnerButton=function(){var e=i.prototype.renderInnerButton.call(this);return r.createElement(r.Fragment,null,e,r.createElement(H,{model:this.item.popupModel}))},t.prototype.componentDidMount=function(){this.viewModel=new p.ActionDropdownViewModel(this.item)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.viewModel.dispose()},t})(Ce);d.Instance.registerElement("sv-action-bar-item-dropdown",function(i){return r.createElement(Jt,i)});var L=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n}return Object.defineProperty(t.prototype,"handleClick",{get:function(){return this.props.handleClick!==void 0?this.props.handleClick:!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(i.prototype.componentDidMount.call(this),!!this.model.hasVisibleActions){var e=this.rootRef.current;e&&this.model.initResponsivityManager(e,function(n){setTimeout(n,100)})}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.model.resetResponsivityManager()},t.prototype.componentDidUpdate=function(e,n){if(i.prototype.componentDidUpdate.call(this,e,n),e.model!=this.props.model&&e.model.resetResponsivityManager(),this.model.hasVisibleActions){var o=this.rootRef.current;o&&this.model.initResponsivityManager(o,function(s){setTimeout(s,100)})}},t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){if(!this.model.hasActions)return null;var e=this.renderItems();return r.createElement("div",{ref:this.rootRef,style:this.model.getRootStyle(),className:this.model.getRootCss(),onClick:this.handleClick?function(n){n.stopPropagation()}:void 0},e)},t.prototype.renderItems=function(){return this.model.renderedActions.concat([]).map(function(e,n){return r.createElement(V,{item:e,key:e.renderedId})})},t})(v);d.Instance.registerElement("sv-action-bar",function(i){return r.createElement(L,i)});var ye=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(this.element.isTitleRenderedAsString)return v.renderLocString(this.element.locRenderedTitle);var e=this.renderTitleSpans(this.element.getTitleOwner(),this.cssClasses);return r.createElement(r.Fragment,null,e)},t.prototype.renderTitleSpans=function(e,n){var o=function(c){return r.createElement("span",{"data-key":c,key:c},"\xA0")},s=[];e.isRequireTextOnStart&&(s.push(this.renderRequireText(e)),s.push(o("req-sp")));var a=e.no;return a&&(s.push(r.createElement("span",{"data-key":"q_num",key:"q_num",className:e.cssTitleNumber,style:{position:"static"},"aria-hidden":!0},a)),s.push(o("num-sp"))),e.isRequireTextBeforeTitle&&(s.push(this.renderRequireText(e)),s.push(o("req-sp"))),s.push(v.renderLocString(e.locRenderedTitle,null,"q_title")),e.isRequireTextAfterTitle&&(s.push(o("req-sp")),s.push(this.renderRequireText(e))),s},t.prototype.renderRequireText=function(e){return r.createElement("span",{"data-key":"req-text",key:"req-text",className:e.cssRequiredMark,"aria-hidden":!0},e.requiredMark)},t})(r.Component),A=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderActions",{get:function(){return this.props.renderActions===void 0?!0:this.props.renderActions},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=r.createElement(ye,{element:this.element,cssClasses:this.cssClasses});return this.element.hasTitleActions?r.createElement("div",{className:"sv-title-actions"},r.createElement("span",{className:"sv-title-actions__title"},e),this.renderActions?r.createElement(L,{model:this.element.getTitleToolbar()}):null):e},t})(r.Component);p.RendererFactory.Instance.registerRenderer("element","title-actions","sv-title-actions"),d.Instance.registerElement("sv-title-actions",function(i){return r.createElement(A,i)});var R=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),t.prototype.renderTitleExpandableSvg=function(){if(!this.element.getCssTitleExpandableSvg())return null;var e=this.element.isExpanded?"icon-collapse-16x16":"icon-expand-16x16";return r.createElement(C,{className:this.element.getCssTitleExpandableSvg(),iconName:e,size:"auto"})},t.prototype.render=function(){var e=this.element;if(!e||!e.hasTitle)return null;var n=e.titleAriaLabel||void 0,o=this.renderTitleExpandableSvg(),s=r.createElement(A,{element:e,cssClasses:e.cssClasses,renderActions:this.props.renderActions}),a=void 0,c=void 0;e.hasTitleEvents&&(c=function(m){p.doKey2ClickUp(m.nativeEvent)});var h=e.titleTagName;return r.createElement(h,{className:e.cssTitle,id:e.ariaTitleId,"aria-label":n,tabIndex:e.titleTabIndex,"aria-expanded":e.titleAriaExpanded,role:e.titleAriaRole,onClick:a,onKeyUp:c},o,s)},t})(r.Component),X=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={changed:0},n.rootRef=r.createRef(),n}return Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this;this.survey.afterRenderHeader(this.rootRef.current),this.survey.locLogo.onChanged=function(){e.setState({changed:e.state.changed+1})}},t.prototype.componentWillUnmount=function(){this.survey.locLogo.onChanged=function(){}},t.prototype.renderTitle=function(){if(!this.survey.renderedHasTitle)return null;var e=v.renderLocString(this.survey.locDescription);return r.createElement("div",{className:this.css.headerText,style:{maxWidth:this.survey.titleMaxWidth}},r.createElement(R,{element:this.survey}),this.survey.renderedHasDescription?r.createElement("div",{className:this.css.description},e):null)},t.prototype.renderLogoImage=function(e){if(!e)return null;var n=this.survey.getElementWrapperComponentName(this.survey,"logo-image"),o=this.survey.getElementWrapperComponentData(this.survey,"logo-image");return d.Instance.createElement(n,{data:o})},t.prototype.render=function(){return this.survey.renderedHasHeader?r.createElement("div",{className:this.css.header,ref:this.rootRef},this.renderLogoImage(this.survey.isLogoBefore),this.renderTitle(),this.renderLogoImage(this.survey.isLogoAfter),r.createElement("div",{className:this.css.headerClose})):null},t})(r.Component);d.Instance.registerElement("survey-header",function(i){return r.createElement(X,i)});var b=(function(){function i(){this.creatorHash={}}return i.prototype.registerQuestion=function(t,e){this.creatorHash[t]=e},i.prototype.getAllTypes=function(){var t=new Array;for(var e in this.creatorHash)t.push(e);return t.sort()},i.prototype.createQuestion=function(t,e){var n=this.creatorHash[t];return n==null?null:n(e)},i.Instance=new i,i})(),Xt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){return r.createElement("div",{className:"sv-brand-info"},r.createElement("a",{className:"sv-brand-info__logo",href:"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"},r.createElement("img",{src:"https://surveyjs.io/Content/Images/poweredby.svg"})),r.createElement("div",{className:"sv-brand-info__text"},"Try and see how easy it is to ",r.createElement("a",{href:"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey"},"create a survey")),r.createElement("div",{className:"sv-brand-info__terms"},r.createElement("a",{href:"https://surveyjs.io/TermsOfUse"},"Terms of Use & Privacy Statement")))},t})(r.Component),Y=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.notifier},t.prototype.renderElement=function(){if(!this.notifier.isDisplayed)return null;var e={visibility:this.notifier.active?"visible":"hidden"};return r.createElement("div",{className:this.notifier.css,style:e,role:"alert","aria-live":"polite"},r.createElement("span",null,this.notifier.message),r.createElement(L,{model:this.notifier.actionBar}))},t})(v);d.Instance.registerElement("sv-notifier",function(i){return r.createElement(Y,i)});var I=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this,n=this.props.survey.getContainerContent(this.props.container),o=this.props.needRenderWrapper!==!1;return n.length==0?null:o?r.createElement("div",{className:"sv-components-column sv-components-container-"+this.props.container},n.map(function(s){return d.Instance.createElement(s.component,{survey:e.props.survey,model:s.data,container:e.props.container,key:s.id})})):r.createElement(r.Fragment,null,n.map(function(s){return d.Instance.createElement(s.component,{survey:e.props.survey,model:s.data,container:e.props.container,key:s.id})}))},t})(r.Component);d.Instance.registerElement("sv-components-container",function(i){return r.createElement(I,i)});var be=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.onIconsChanged=function(){n.containerRef.current&&(n.containerRef.current.innerHTML=p.SvgRegistry.iconsRenderedHtml())},n.containerRef=r.createRef(),n}return t.prototype.componentDidMount=function(){this.onIconsChanged(),p.SvgRegistry.onIconsChanged.add(this.onIconsChanged)},t.prototype.componentWillUnmount=function(){p.SvgRegistry.onIconsChanged.remove(this.onIconsChanged)},t.prototype.render=function(){var e={display:"none"};return r.createElement("svg",{style:e,id:"sv-icon-holder-global-container",ref:this.containerRef})},t})(r.Component),Ee=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.modalManager=n.createPopupModalManager(),n.isInitialized=!1,n.init=function(){n.isInitialized||(p.settings.showDialog=function(o,s){return n.modalManager.addDialog(o,s)},n.isInitialized=!0)},n.clean=function(){n.isInitialized&&(p.settings.showDialog=void 0,n.isInitialized=!1)},n.state={changed:0},n.descriptor={init:n.init,clean:n.clean},n}return t.prototype.createPopupModalManager=function(){var e=this,n=new p.PopupModalManager;return n.onModalsChangedCallback=function(){e.setState({changed:e.state.changed+1})},n},t.addModalDescriptor=function(e){p.settings.showDialog||e.init(),this.modalDescriptors.push(e)},t.removeModalDescriptor=function(e){e.clean(),this.modalDescriptors.splice(this.modalDescriptors.indexOf(e),1),!p.settings.showDialog&&this.modalDescriptors[0]&&this.modalDescriptors[0].init()},t.prototype.renderElement=function(){return r.createElement(r.Fragment,null,this.modalManager.getModals().map(function(e){return pe.createPortal(r.createElement(J,{model:e}),e.container,e.uniqueId.toString())}))},t.prototype.componentDidMount=function(){t.addModalDescriptor(this.descriptor)},t.prototype.componentWillUnmount=function(){this.modalManager.clear(),t.removeModalDescriptor(this.descriptor)},t.modalDescriptors=[],t})(v),Yt='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "/></svg>',en='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"/></svg>',tn='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"/></svg>',nn='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"/></svg>',rn='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"/></svg>',on='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "/></svg>',sn='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"/></svg>',an='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke:var(--sd-timer-stroke-background-color);stroke-width:var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"/><circle cx="80" cy="80" r="70"/></svg>',ln='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 11H17V13H13V17H11V13H7V11H11V7H13V11ZM23 12C23 18.1 18.1 23 12 23C5.9 23 1 18.1 1 12C1 5.9 5.9 1 12 1C18.1 1 23 5.9 23 12ZM21 12C21 7 17 3 12 3C7 3 3 7 3 12C3 17 7 21 12 21C17 21 21 17 21 12Z"/></svg>',un='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 8.99999H4.4L8.7 13.3L7.3 14.7L0.599998 7.99999L7.3 1.29999L8.7 2.69999L4.4 6.99999H15V8.99999Z"/></svg>',cn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.99999H11.6L7.3 2.69999L8.7 1.29999L15.4 7.99999L8.7 14.7L7.3 13.3L11.6 8.99999H1V6.99999Z"/></svg>',dn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.01 4H18.4C18.2 4 18.01 3.9 17.9 3.73L16.97 2.34C16.41 1.5 15.48 1 14.47 1H9.54C8.53 1 7.6 1.5 7.04 2.34L6.11 3.73C6 3.9 5.81 4 5.61 4H4C2.35 4 1 5.35 1 7V19C1 20.65 2.35 22 4 22H20C21.65 22 23 20.65 23 19V7C23 5.35 21.65 4 20 4H20.01ZM21.01 19C21.01 19.55 20.56 20 20.01 20H4.01C3.46 20 3.01 19.55 3.01 19V7C3.01 6.45 3.46 6 4.01 6H5.62C6.49 6 7.3 5.56 7.79 4.84L8.72 3.45C8.91 3.17 9.22 3 9.55 3H14.48C14.81 3 15.13 3.17 15.31 3.45L16.24 4.84C16.72 5.56 17.54 6 18.41 6H20.02C20.57 6 21.02 6.45 21.02 7V19H21.01ZM12.01 6C8.7 6 6.01 8.69 6.01 12C6.01 15.31 8.7 18 12.01 18C15.32 18 18.01 15.31 18.01 12C18.01 8.69 15.32 6 12.01 6ZM12.01 16C9.8 16 8.01 14.21 8.01 12C8.01 9.79 9.8 8 12.01 8C14.22 8 16.01 9.79 16.01 12C16.01 14.21 14.22 16 12.01 16ZM13.01 10C13.01 10.55 12.56 11 12.01 11C11.46 11 11.01 11.45 11.01 12C11.01 12.55 10.56 13 10.01 13C9.46 13 9.01 12.55 9.01 12C9.01 10.35 10.36 9 12.01 9C12.56 9 13.01 9.45 13.01 10Z"/></svg>',hn='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M27 6H23.8C23.34 6 22.92 5.77 22.66 5.39L22.25 4.78C21.51 3.66 20.26 3 18.92 3H13.06C11.72 3 10.48 3.67 9.73 4.78L9.32 5.39C9.07 5.77 8.64 6 8.18 6H4.98C2.79 6 1 7.79 1 10V24C1 26.21 2.79 28 5 28H27C29.21 28 31 26.21 31 24V10C31 7.79 29.21 6 27 6ZM29 24C29 25.1 28.1 26 27 26H5C3.9 26 3 25.1 3 24V10C3 8.9 3.9 8 5 8H8.2C9.33 8 10.38 7.44 11 6.5L11.41 5.89C11.78 5.33 12.41 5 13.07 5H18.93C19.6 5 20.22 5.33 20.59 5.89L21 6.5C21.62 7.44 22.68 8 23.8 8H27C28.1 8 29 8.9 29 10V24ZM16 9C12.13 9 9 12.13 9 16C9 19.87 12.13 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9ZM16 21C13.24 21 11 18.76 11 16C11 13.24 13.24 11 16 11C18.76 11 21 13.24 21 16C21 18.76 18.76 21 16 21ZM17 13C17 13.55 16.55 14 16 14C14.9 14 14 14.9 14 16C14 16.55 13.55 17 13 17C12.45 17 12 16.55 12 16C12 13.79 13.79 12 16 12C16.55 12 17 12.45 17 13Z"/></svg>',mn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"/></svg>',pn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.003 14.413L0.292999 9.70303L1.703 8.29303L5.003 11.583L14.293 2.29303L15.703 3.70303L5.003 14.413Z"/></svg>',fn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 20.1L1 12L3.1 9.9L9 15.9L20.9 4L23 6.1L9 20.1Z"/></svg>',vn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 15L17 10H7L12 15Z"/></svg>',gn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.64648 12.6465L6.34648 13.3465L11.7465 8.04648L6.34648 2.64648L5.64648 3.34648L10.2465 8.04648L5.64648 12.6465Z"/></svg>',Cn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.35 3.34999L12.65 2.64999L8.05002 7.24999L3.35002 2.64999L2.65002 3.34999L7.25002 8.04999L2.65002 12.65L3.35002 13.35L8.05002 8.74999L12.65 13.35L13.35 12.65L8.75002 8.04999L13.35 3.34999Z"/></svg>',yn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"/></svg>',bn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.43 8.0025L13.7 3.7225C14.09 3.3325 14.09 2.6925 13.7 2.2925C13.31 1.9025 12.67 1.9025 12.27 2.2925L7.99 6.5725L3.72 2.3025C3.33 1.9025 2.69 1.9025 2.3 2.3025C1.9 2.6925 1.9 3.3325 2.3 3.7225L6.58 8.0025L2.3 12.2825C1.91 12.6725 1.91 13.3125 2.3 13.7125C2.69 14.1025 3.33 14.1025 3.73 13.7125L8.01 9.4325L12.29 13.7125C12.68 14.1025 13.32 14.1025 13.72 13.7125C14.11 13.3225 14.11 12.6825 13.72 12.2825L9.44 8.0025H9.43Z"/></svg>',En='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.4101 12L20.7001 4.71C21.0901 4.32 21.0901 3.69 20.7001 3.3C20.3101 2.91 19.6801 2.91 19.2901 3.3L12.0001 10.59L4.71006 3.29C4.32006 2.9 3.68006 2.9 3.29006 3.29C2.90006 3.68 2.90006 4.32 3.29006 4.71L10.5801 12L3.29006 19.29C2.90006 19.68 2.90006 20.31 3.29006 20.7C3.49006 20.9 3.74006 20.99 4.00006 20.99C4.26006 20.99 4.51006 20.89 4.71006 20.7L12.0001 13.41L19.2901 20.7C19.4901 20.9 19.7401 20.99 20.0001 20.99C20.2601 20.99 20.5101 20.89 20.7101 20.7C21.1001 20.31 21.1001 19.68 20.7101 19.29L13.4201 12H13.4101Z"/></svg>',wn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M2 6L3 5L8 10L13 5L14 6L8 12L2 6Z"/></svg>',qn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"/></svg>',Ln='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H14H11V1C11 0.4 10.6 0 10 0H7C6.4 0 6 0.4 6 1V2H3H2V4H3V14C3 15.1 3.9 16 5 16H12C13.1 16 14 15.1 14 14V4H15V2ZM7 1H10V2H7V1ZM12 14H5V4H12V14ZM7 13H6V5H7V13ZM9 13H8V5H9V13ZM11 13H10V5H11V13Z"/></svg>',xn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22 4H20H16V2C16 0.9 15.1 0 14 0H10C8.9 0 8 0.9 8 2V4H4H2V6H4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V6H22V4ZM10 2H14V4H10V2ZM18 20H6V6H8H16H18V20ZM14 8H16V18H14V8ZM11 8H13V18H11V8ZM8 8H10V18H8V8Z"/></svg>',Sn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 6C13 4.9 13.9 4 15 4C16.1 4 17 4.9 17 6C17 7.1 16.1 8 15 8C13.9 8 13 7.1 13 6ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16ZM9 16C7.9 16 7 16.9 7 18C7 19.1 7.9 20 9 20C10.1 20 11 19.1 11 18C11 16.9 10.1 16 9 16Z"/></svg>',In='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M18 9C19.1 9 20 9.9 20 11C20 12.1 19.1 13 18 13C16.9 13 16 12.1 16 11C16 9.9 16.9 9 18 9ZM20 5C20 3.9 19.1 3 18 3C16.9 3 16 3.9 16 5C16 6.1 16.9 7 18 7C19.1 7 20 6.1 20 5ZM14 11C14 9.9 13.1 9 12 9C10.9 9 10 9.9 10 11C10 12.1 10.9 13 12 13C13.1 13 14 12.1 14 11ZM14 5C14 3.9 13.1 3 12 3C10.9 3 10 3.9 10 5C10 6.1 10.9 7 12 7C13.1 7 14 6.1 14 5ZM8 11C8 9.9 7.1 9 6 9C4.9 9 4 9.9 4 11C4 12.1 4.9 13 6 13C7.1 13 8 12.1 8 11ZM8 5C8 3.9 7.1 3 6 3C4.9 3 4 3.9 4 5C4 6.1 4.9 7 6 7C7.1 7 8 6.1 8 5Z"/></svg>',Mn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.59 4.5884L11.42 2.4184C11.03 2.0284 10.52 1.8284 10.01 1.8284C9.5 1.8284 8.99 2.0284 8.6 2.4184L3.76 7.2384C2.63 8.3684 2 9.8884 2 11.4784V12.9884C2 13.5384 2.45 13.9884 3 13.9884H4.51C6.1 13.9884 7.63 13.3584 8.75 12.2284L13.58 7.3984C14.36 6.6184 14.36 5.3484 13.58 4.5684L13.59 4.5884ZM7.35 10.8284C6.59 11.5884 5.59 11.9984 4.52 11.9984H4.01V11.4884C4.01 10.4184 4.43 9.4184 5.18 8.6584L7.72 6.1184L9.89 8.2884L7.35 10.8284ZM11.3 6.8784L9.13 4.7084L10.01 3.8284L12.18 5.9984L11.3 6.8784Z"/></svg>',Rn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6 14L5 13L10 8L5 3L6 2L12 8L6 14Z"/></svg>',Nn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H9V3H7V7H3V9H7V13H9V9H13V7Z"/></svg>',Hn='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"/></svg>',kn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M23 12.0037C23 14.2445 21.7794 16.3052 19.5684 17.8257C19.3984 17.9458 19.1983 18.0058 19.0082 18.0058C18.688 18.0058 18.3779 17.8557 18.1778 17.5756C17.8677 17.1155 17.9777 16.4953 18.4379 16.1852C20.0887 15.0448 21.0091 13.5643 21.0091 12.0138C21.0091 8.70262 16.9673 6.01171 12.005 6.01171C11.4948 6.01171 10.9945 6.04172 10.5043 6.09173L11.7149 7.30215C12.105 7.69228 12.105 8.32249 11.7149 8.71263C11.5148 8.9127 11.2647 9.00273 11.0045 9.00273C10.7444 9.00273 10.4943 8.90269 10.2942 8.71263L6.58254 5.00136L10.2842 1.2901C10.6744 0.899964 11.3047 0.899964 11.6949 1.2901C12.085 1.68023 12.085 2.31045 11.6949 2.70058L10.3042 4.09105C10.8545 4.03103 11.4147 4.00102 11.985 4.00102C18.0578 4.00102 22.99 7.59225 22.99 12.0037H23ZM12.2851 15.2949C11.895 15.685 11.895 16.3152 12.2851 16.7054L13.4957 17.9158C13.0055 17.9758 12.4952 17.9958 11.995 17.9958C7.03274 17.9958 2.99091 15.3049 2.99091 11.9937C2.99091 10.4332 3.90132 8.95271 5.56207 7.82232C6.02228 7.51222 6.13233 6.89201 5.82219 6.43185C5.51205 5.97169 4.89177 5.86166 4.43156 6.17176C2.22055 7.69228 1 9.76299 1 11.9937C1 16.4052 5.93224 19.9965 12.005 19.9965C12.5753 19.9965 13.1355 19.9665 13.6858 19.9064L12.2951 21.2969C11.905 21.6871 11.905 22.3173 12.2951 22.7074C12.4952 22.9075 12.7453 22.9975 13.0055 22.9975C13.2656 22.9975 13.5157 22.8975 13.7158 22.7074L17.4275 18.9961L13.7158 15.2849C13.3256 14.8947 12.6953 14.8947 12.3051 15.2849L12.2851 15.2949Z"/></svg>',Bn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.93 9H21V7C21 6.46957 20.7893 5.96086 20.4142 5.58579C20.0391 5.21071 19.5304 5 19 5H10L8 3H4C3.46957 3 2.96086 3.21071 2.58579 3.58579C2.21071 3.96086 2 4.46957 2 5L2 21H21L23.89 11.63C23.9916 11.3244 24.0179 10.9988 23.9667 10.6809C23.9155 10.363 23.7882 10.0621 23.5958 9.80392C23.4034 9.54571 23.1514 9.33779 22.8614 9.19782C22.5714 9.05786 22.2519 8.99 21.93 9ZM4 5H7.17L8.59 6.41L9.17 7H19V9H6L4 15V5ZM22 11L19.54 19H4.77L7.44 11H22Z"/></svg>',Dn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 13H4C2.9 13 2 12.1 2 11V5C2 3.9 2.9 3 4 3H12C13.1 3 14 3.9 14 5V11C14 12.1 13.1 13 12 13ZM4 5V11H12V5H4Z"/></svg>',Pn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M36 8H12C9.79 8 8 9.79 8 12V36C8 38.21 9.79 40 12 40H36C38.21 40 40 38.21 40 36V12C40 9.79 38.21 8 36 8ZM38 36C38 37.1 37.1 38 36 38H12C10.9 38 10 37.1 10 36V12C10 10.9 10.9 10 12 10H36C37.1 10 38 10.9 38 12V36ZM14 17C14 15.34 15.34 14 17 14C18.66 14 20 15.34 20 17C20 18.66 18.66 20 17 20C15.34 20 14 18.66 14 17ZM27 24L36 36H12L19 27L23 29L27 24Z"/></svg>',Vn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"/><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z"/></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"/></clipPath></defs></svg>',On='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.71 10.71L4.42 13H6.01C6.56 13 7.01 13.45 7.01 14C7.01 14.55 6.56 15 6.01 15H2C1.45 15 1 14.55 1 14V10C1 9.45 1.45 9 2 9C2.55 9 3 9.45 3 10V11.59L5.29 9.3C5.68 8.91 6.31 8.91 6.7 9.3C7.09 9.69 7.09 10.32 6.7 10.71H6.71ZM14 1H10C9.45 1 9 1.45 9 2C9 2.55 9.45 3 10 3H11.59L9.3 5.29C8.91 5.68 8.91 6.31 9.3 6.7C9.5 6.9 9.75 6.99 10.01 6.99C10.27 6.99 10.52 6.89 10.72 6.7L13.01 4.41V6C13.01 6.55 13.46 7 14.01 7C14.56 7 15.01 6.55 15.01 6V2C15.01 1.45 14.56 1 14.01 1H14Z"/></svg>',Tn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 9H3C2.45 9 2 8.55 2 8C2 7.45 2.45 7 3 7H13C13.55 7 14 7.45 14 8C14 8.55 13.55 9 13 9Z"/></svg>',Qn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 12C6 13.1 5.1 14 4 14C2.9 14 2 13.1 2 12C2 10.9 2.9 10 4 10C5.1 10 6 10.9 6 12ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM20 10C18.9 10 18 10.9 18 12C18 13.1 18.9 14 20 14C21.1 14 22 13.1 22 12C22 10.9 21.1 10 20 10Z"/></svg>',Zn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16 7H2V5H16V7ZM2 11V13H22V11H2ZM2 19H10V17H2V19Z"/></svg>',_n='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M14 17.01C14 16.4167 14.1759 15.8366 14.5056 15.3433C14.8352 14.8499 15.3038 14.4654 15.8519 14.2384C16.4001 14.0113 17.0033 13.9519 17.5853 14.0676C18.1672 14.1834 18.7018 14.4691 19.1213 14.8887C19.5409 15.3082 19.8266 15.8428 19.9424 16.4247C20.0581 17.0067 19.9987 17.6099 19.7716 18.1581C19.5446 18.7062 19.1601 19.1748 18.6667 19.5044C18.1734 19.8341 17.5933 20.01 17 20.01C16.2044 20.01 15.4413 19.6939 14.8787 19.1313C14.3161 18.5687 14 17.8056 14 17.01ZM27.09 24.14L20 36.01H36L27.09 24.14ZM36.72 8.14L35.57 10.01H36C36.5304 10.01 37.0391 10.2207 37.4142 10.5958C37.7893 10.9709 38 11.4796 38 12.01V36.01C38 36.5404 37.7893 37.0491 37.4142 37.4242C37.0391 37.7993 36.5304 38.01 36 38.01H18.77L17.57 40.01H36C37.0609 40.01 38.0783 39.5886 38.8284 38.8384C39.5786 38.0883 40 37.0709 40 36.01V12.01C39.9966 11.0765 39.6668 10.1737 39.0678 9.45778C38.4688 8.74188 37.6382 8.25802 36.72 8.09V8.14ZM36.86 4.5L12.86 44.5L11.14 43.5L13.23 40.01H12C10.9391 40.01 9.92172 39.5886 9.17157 38.8384C8.42143 38.0883 8 37.0709 8 36.01V12.01C8 10.9491 8.42143 9.93172 9.17157 9.18157C9.92172 8.43143 10.9391 8.01 12 8.01H32.43L35.14 3.5L36.86 4.5ZM14.43 38.01L15.63 36.01H12L19 27.01L20.56 27.8L31.23 10.01H12C11.4696 10.01 10.9609 10.2207 10.5858 10.5958C10.2107 10.9709 10 11.4796 10 12.01V36.01C10 36.5404 10.2107 37.0491 10.5858 37.4242C10.9609 37.7993 11.4696 38.01 12 38.01H14.43Z"/></svg>',An='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"/><path d="M6 19V15H4V19H0L5 24L10 19H6Z"/></svg>',jn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"/></svg>',Wn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"/><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"/></svg>',Un='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"/><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"/></svg>',Fn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"/></g></svg>',zn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"/></g></svg>',$n='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M17 5L12 0L7 5H11V9H13V5H17Z"/><path d="M13 19V15H11V19H7L12 24L17 19H13Z"/></svg>',Kn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 6C15 6.55 14.55 7 14 7H10C9.45 7 9 6.55 9 6V2C9 1.45 9.45 1 10 1C10.55 1 11 1.45 11 2V3.59L13.29 1.29C13.49 1.09 13.74 1 14 1C14.26 1 14.51 1.1 14.71 1.29C15.1 1.68 15.1 2.31 14.71 2.7L12.42 4.99H14.01C14.56 4.99 15.01 5.44 15.01 5.99L15 6ZM6 9H2C1.45 9 0.999998 9.45 0.999998 10C0.999998 10.55 1.45 11 2 11H3.59L1.29 13.29C0.899998 13.68 0.899998 14.31 1.29 14.7C1.68 15.09 2.31 15.09 2.7 14.7L4.99 12.41V14C4.99 14.55 5.44 15 5.99 15C6.54 15 6.99 14.55 6.99 14V10C6.99 9.45 6.54 9 5.99 9H6Z"/></svg>',Gn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14 2C9.6 2 6 5.6 6 10C6 11.8 6.6 13.5 7.7 14.9L2.3 20.3C1.9 20.7 1.9 21.3 2.3 21.7C2.5 21.9 2.7 22 3 22C3.3 22 3.5 21.9 3.7 21.7L9.1 16.3C10.5 17.4 12.2 18 14 18C18.4 18 22 14.4 22 10C22 5.6 18.4 2 14 2ZM14 16C10.7 16 8 13.3 8 10C8 6.7 10.7 4 14 4C17.3 4 20 6.7 20 10C20 13.3 17.3 16 14 16Z"/></svg>',Jn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"/></svg>',Xn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"/></svg>',Yn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"/></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',er='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"/></svg>',tr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"/></svg>',nr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"/></svg>',rr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"/></svg>',ir='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"/></svg>',or='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"/></svg>',sr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"/></svg>';const ar={modernbooleancheckchecked:Yt,modernbooleancheckind:en,modernbooleancheckunchecked:tn,moderncheck:nn,modernradio:rn,progressbutton:on,removefile:sn,timercircle:an,"add-24x24":ln,"arrowleft-16x16":un,"arrowright-16x16":cn,"camera-24x24":dn,"camera-32x32":hn,"cancel-24x24":mn,"check-16x16":pn,"check-24x24":fn,"chevrondown-24x24":vn,"chevronright-16x16":gn,"clear-16x16":Cn,"clear-24x24":yn,"close-16x16":bn,"close-24x24":En,"collapse-16x16":wn,"collapsedetails-16x16":qn,"delete-16x16":Ln,"delete-24x24":xn,"drag-24x24":Sn,"draghorizontal-24x16":In,"editsmall-16x16":Mn,"expand-16x16":Rn,"expanddetails-16x16":Nn,"file-72x72":Hn,"flip-24x24":kn,"folder-24x24":Bn,"fullsize-16x16":Dn,"image-48x48":Pn,"loading-48x48":Vn,"maximize-16x16":On,"minimize-16x16":Tn,"more-24x24":Qn,"navmenu-24x24":Zn,"noimage-48x48":_n,"ranking-arrows":An,"rankingundefined-16x16":jn,"rating-star-2":Wn,"rating-star-small-2":Un,"rating-star-small":Fn,"rating-star":zn,"reorder-24x24":$n,"restoredown-16x16":Kn,"search-24x24":Gn,"smiley-rate1-24x24":Jn,"smiley-rate10-24x24":Xn,"smiley-rate2-24x24":Yn,"smiley-rate3-24x24":er,"smiley-rate4-24x24":tr,"smiley-rate5-24x24":nr,"smiley-rate6-24x24":rr,"smiley-rate7-24x24":ir,"smiley-rate8-24x24":or,"smiley-rate9-24x24":sr};var lr='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "/></svg>',ur='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"/></svg>',cr='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"/></svg>',dr='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"/></svg>',hr='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"/></svg>',mr='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "/></svg>',pr='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"/></svg>',fr='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke:var(--sd-timer-stroke-background-color);stroke-width:var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"/><circle cx="80" cy="80" r="70"/></svg>',vr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 12C15.75 12.41 15.41 12.75 15 12.75H12.75V15C12.75 15.41 12.41 15.75 12 15.75C11.59 15.75 11.25 15.41 11.25 15V12.75H9C8.59 12.75 8.25 12.41 8.25 12C8.25 11.59 8.59 11.25 9 11.25H11.25V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9V11.25H15C15.41 11.25 15.75 11.59 15.75 12ZM21.75 12C21.75 17.38 17.38 21.75 12 21.75C6.62 21.75 2.25 17.38 2.25 12C2.25 6.62 6.62 2.25 12 2.25C17.38 2.25 21.75 6.62 21.75 12ZM20.25 12C20.25 7.45 16.55 3.75 12 3.75C7.45 3.75 3.75 7.45 3.75 12C3.75 16.55 7.45 20.25 12 20.25C16.55 20.25 20.25 16.55 20.25 12Z"/></svg>',gr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.7475 7.9975C14.7475 8.4075 14.4075 8.7475 13.9975 8.7475H3.8075L7.5275 12.4675C7.8175 12.7575 7.8175 13.2375 7.5275 13.5275C7.3775 13.6775 7.1875 13.7475 6.9975 13.7475C6.8075 13.7475 6.6175 13.6775 6.4675 13.5275L1.4675 8.5275C1.1775 8.2375 1.1775 7.7575 1.4675 7.4675L6.4675 2.4675C6.7575 2.1775 7.2375 2.1775 7.5275 2.4675C7.8175 2.7575 7.8175 3.2375 7.5275 3.5275L3.8075 7.2475H13.9975C14.4075 7.2475 14.7475 7.5875 14.7475 7.9975Z"/></svg>',Cr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 8.5275L9.53 13.5275C9.38 13.6775 9.19 13.7475 9 13.7475C8.81 13.7475 8.62 13.6775 8.47 13.5275C8.18 13.2375 8.18 12.7575 8.47 12.4675L12.19 8.7475H2C1.59 8.7475 1.25 8.4075 1.25 7.9975C1.25 7.5875 1.59 7.2475 2 7.2475H12.19L8.47 3.5275C8.18 3.2375 8.18 2.7575 8.47 2.4675C8.76 2.1775 9.24 2.1775 9.53 2.4675L14.53 7.4675C14.82 7.7575 14.82 8.2375 14.53 8.5275Z"/></svg>',yr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.19 4.25H17.12C16.72 4.25 16.35 4.03 16.17 3.67C15.73 2.8 14.86 2.25 13.88 2.25H10.12C9.14 2.25 8.27 2.79 7.83 3.67C7.65 4.03 7.29 4.25 6.88 4.25H4.81C3.4 4.25 2.25 5.4 2.25 6.81V18.19C2.25 19.6 3.4 20.75 4.81 20.75H19.19C20.6 20.75 21.75 19.6 21.75 18.19V6.81C21.75 5.4 20.6 4.25 19.19 4.25ZM20.25 18.19C20.25 18.77 19.78 19.25 19.19 19.25H4.81C4.23 19.25 3.75 18.78 3.75 18.19V6.81C3.75 6.23 4.22 5.75 4.81 5.75H6.88C7.86 5.75 8.73 5.21 9.17 4.33C9.35 3.97 9.71 3.75 10.12 3.75H13.88C14.28 3.75 14.65 3.97 14.83 4.33C15.27 5.2 16.14 5.75 17.12 5.75H19.19C19.77 5.75 20.25 6.22 20.25 6.81V18.19ZM12 6.25C8.83 6.25 6.25 8.83 6.25 12C6.25 15.17 8.83 17.75 12 17.75C15.17 17.75 17.75 15.17 17.75 12C17.75 8.83 15.17 6.25 12 6.25ZM12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM14.75 12C14.75 13.52 13.52 14.75 12 14.75C11.59 14.75 11.25 14.41 11.25 14C11.25 13.59 11.59 13.25 12 13.25C12.69 13.25 13.25 12.69 13.25 12C13.25 11.59 13.59 11.25 14 11.25C14.41 11.25 14.75 11.59 14.75 12Z"/></svg>',br='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M25 7.25H22.19C21.73 7.25 21.31 7 21.09 6.59L20.89 6.22C20.23 5.01 18.97 4.25 17.59 4.25H14.41C13.03 4.25 11.77 5 11.11 6.22L10.91 6.6C10.69 7 10.27 7.26 9.81 7.26H7C4.93 7.26 3.25 8.94 3.25 11.01V24.01C3.25 26.08 4.93 27.76 7 27.76H25C27.07 27.76 28.75 26.08 28.75 24.01V11C28.75 8.93 27.07 7.25 25 7.25ZM27.25 24C27.25 25.24 26.24 26.25 25 26.25H7C5.76 26.25 4.75 25.24 4.75 24V11C4.75 9.76 5.76 8.75 7 8.75H9.81C10.82 8.75 11.75 8.2 12.23 7.31L12.43 6.94C12.82 6.21 13.58 5.76 14.41 5.76H17.59C18.42 5.76 19.18 6.21 19.57 6.94L19.77 7.31C20.25 8.2 21.18 8.76 22.19 8.76H25C26.24 8.76 27.25 9.77 27.25 11.01V24.01V24ZM16 10.25C12.28 10.25 9.25 13.28 9.25 17C9.25 20.72 12.28 23.75 16 23.75C19.72 23.75 22.75 20.72 22.75 17C22.75 13.28 19.72 10.25 16 10.25ZM16 22.25C13.11 22.25 10.75 19.89 10.75 17C10.75 14.11 13.11 11.75 16 11.75C18.89 11.75 21.25 14.11 21.25 17C21.25 19.89 18.89 22.25 16 22.25ZM19.75 17C19.75 19.07 18.07 20.75 16 20.75C15.59 20.75 15.25 20.41 15.25 20C15.25 19.59 15.59 19.25 16 19.25C17.24 19.25 18.25 18.24 18.25 17C18.25 16.59 18.59 16.25 19 16.25C19.41 16.25 19.75 16.59 19.75 17Z"/></svg>',Er='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.8099 11.75L15.2799 9.28C15.5699 8.99 15.5699 8.51 15.2799 8.22C14.9899 7.93 14.5099 7.93 14.2199 8.22L11.7499 10.69L9.27994 8.22C8.98994 7.93 8.50994 7.93 8.21994 8.22C7.92994 8.51 7.92994 8.99 8.21994 9.28L10.6899 11.75L8.21994 14.22C7.92994 14.51 7.92994 14.99 8.21994 15.28C8.36994 15.43 8.55994 15.5 8.74994 15.5C8.93994 15.5 9.12994 15.43 9.27994 15.28L11.7499 12.81L14.2199 15.28C14.3699 15.43 14.5599 15.5 14.7499 15.5C14.9399 15.5 15.1299 15.43 15.2799 15.28C15.5699 14.99 15.5699 14.51 15.2799 14.22L12.8099 11.75Z"/></svg>',wr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.0275 5.0275L6.5275 12.5275C6.3775 12.6775 6.1875 12.7475 5.9975 12.7475C5.8075 12.7475 5.6175 12.6775 5.4675 12.5275L2.4675 9.5275C2.1775 9.2375 2.1775 8.7575 2.4675 8.4675C2.7575 8.1775 3.2375 8.1775 3.5275 8.4675L5.9975 10.9375L12.9675 3.9675C13.2575 3.6775 13.7375 3.6775 14.0275 3.9675C14.3175 4.2575 14.3175 4.7375 14.0275 5.0275Z"/></svg>',qr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z"/></svg>',Lr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z"/></svg>',xr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.35 8.34627L7.35 12.3463C7.25 12.4463 7.12 12.4963 7 12.4963C6.88 12.4963 6.74 12.4463 6.65 12.3463C6.45 12.1463 6.45 11.8363 6.65 11.6363L10.3 7.98627L6.65 4.34627C6.45 4.15627 6.45 3.83627 6.65 3.64627C6.85 3.45627 7.16 3.44627 7.35 3.64627L11.35 7.64627C11.55 7.84627 11.55 8.15627 11.35 8.35627V8.34627Z"/></svg>',Sr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.35 11.65C12.55 11.85 12.55 12.16 12.35 12.36C12.25 12.46 12.12 12.51 12 12.51C11.88 12.51 11.74 12.46 11.65 12.36L8 8.71L4.35 12.36C4.25 12.46 4.12 12.51 4 12.51C3.88 12.51 3.74 12.46 3.65 12.36C3.45 12.16 3.45 11.85 3.65 11.65L7.3 8L3.65 4.35C3.45 4.16 3.45 3.84 3.65 3.65C3.85 3.46 4.16 3.45 4.35 3.65L8 7.3L11.65 3.65C11.85 3.45 12.16 3.45 12.36 3.65C12.56 3.85 12.56 4.16 12.36 4.36L8.71 8.01L12.36 11.66L12.35 11.65Z"/></svg>',Ir='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.12 10.9325C20.64 10.4125 20.93 9.7225 20.93 8.9925C20.93 8.2625 20.64 7.5725 20.12 7.0525L16.95 3.8825C15.88 2.8125 14.13 2.8125 13.06 3.8825L3.88 13.0525C3.36 13.5725 3.07 14.2625 3.07 14.9925C3.07 15.7225 3.36 16.4125 3.88 16.9325L5.64 18.6925C6.57 19.6225 7.78 20.0825 9 20.0825C10.22 20.0825 11.43 19.6225 12.36 18.6925L20.12 10.9325ZM14.12 4.9325C14.36 4.6925 14.67 4.5625 15 4.5625C15.33 4.5625 15.65 4.6925 15.88 4.9325L19.05 8.1025C19.54 8.5925 19.54 9.3825 19.05 9.8725L12.99 15.9325L8.05 10.9925L14.12 4.9325ZM6.7 17.6325L4.94 15.8725C4.45 15.3825 4.45 14.5925 4.94 14.1025L7 12.0425L11.94 16.9825L11.3 17.6225C10.07 18.8525 7.93 18.8525 6.7 17.6225V17.6325ZM22.75 20.9925C22.75 21.4025 22.41 21.7425 22 21.7425H14C13.59 21.7425 13.25 21.4025 13.25 20.9925C13.25 20.5825 13.59 20.2425 14 20.2425H22C22.41 20.2425 22.75 20.5825 22.75 20.9925ZM4.75 20.9925C4.75 21.4025 4.41 21.7425 4 21.7425H2C1.59 21.7425 1.25 21.4025 1.25 20.9925C1.25 20.5825 1.59 20.2425 2 20.2425H4C4.41 20.2425 4.75 20.5825 4.75 20.9925Z"/></svg>',Mr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5275 12.4675C13.8175 12.7575 13.8175 13.2375 13.5275 13.5275C13.3775 13.6775 13.1875 13.7475 12.9975 13.7475C12.8075 13.7475 12.6175 13.6775 12.4675 13.5275L7.9975 9.0575L3.5275 13.5275C3.3775 13.6775 3.1875 13.7475 2.9975 13.7475C2.8075 13.7475 2.6175 13.6775 2.4675 13.5275C2.1775 13.2375 2.1775 12.7575 2.4675 12.4675L6.9375 7.9975L2.4675 3.5275C2.1775 3.2375 2.1775 2.7575 2.4675 2.4675C2.7575 2.1775 3.2375 2.1775 3.5275 2.4675L7.9975 6.9375L12.4675 2.4675C12.7575 2.1775 13.2375 2.1775 13.5275 2.4675C13.8175 2.7575 13.8175 3.2375 13.5275 3.5275L9.0575 7.9975L13.5275 12.4675Z"/></svg>',Rr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 18.4675C19.8175 18.7575 19.8175 19.2375 19.5275 19.5275C19.3775 19.6775 19.1875 19.7475 18.9975 19.7475C18.8075 19.7475 18.6175 19.6775 18.4675 19.5275L11.9975 13.0575L5.5275 19.5275C5.3775 19.6775 5.1875 19.7475 4.9975 19.7475C4.8075 19.7475 4.6175 19.6775 4.4675 19.5275C4.1775 19.2375 4.1775 18.7575 4.4675 18.4675L10.9375 11.9975L4.4675 5.5275C4.1775 5.2375 4.1775 4.7575 4.4675 4.4675C4.7575 4.1775 5.2375 4.1775 5.5275 4.4675L11.9975 10.9375L18.4675 4.4675C18.7575 4.1775 19.2375 4.1775 19.5275 4.4675C19.8175 4.7575 19.8175 5.2375 19.5275 5.5275L13.0575 11.9975L19.5275 18.4675Z"/></svg>',Nr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Hr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',kr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3.25H10.75V3C10.75 2.04 9.96 1.25 9 1.25H7C6.04 1.25 5.25 2.04 5.25 3V3.25H3C2.59 3.25 2.25 3.59 2.25 4C2.25 4.41 2.59 4.75 3 4.75H3.25V13C3.25 13.96 4.04 14.75 5 14.75H11C11.96 14.75 12.75 13.96 12.75 13V4.75H13C13.41 4.75 13.75 4.41 13.75 4C13.75 3.59 13.41 3.25 13 3.25ZM6.75 3C6.75 2.86 6.86 2.75 7 2.75H9C9.14 2.75 9.25 2.86 9.25 3V3.25H6.75V3ZM11.25 13C11.25 13.14 11.14 13.25 11 13.25H5C4.86 13.25 4.75 13.14 4.75 13V4.75H11.25V13ZM9.25 6.25C9.66 6.25 10 6.59 10 7V11C10 11.41 9.66 11.75 9.25 11.75C8.84 11.75 8.5 11.41 8.5 11V7C8.5 6.59 8.84 6.25 9.25 6.25ZM7.5 7V11C7.5 11.41 7.16 11.75 6.75 11.75C6.34 11.75 6 11.41 6 11V7C6 6.59 6.34 6.25 6.75 6.25C7.16 6.25 7.5 6.59 7.5 7Z"/></svg>',Br='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.75 9V17C12.75 17.41 12.41 17.75 12 17.75C11.59 17.75 11.25 17.41 11.25 17V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9ZM14.25 9V17C14.25 17.41 14.59 17.75 15 17.75C15.41 17.75 15.75 17.41 15.75 17V9C15.75 8.59 15.41 8.25 15 8.25C14.59 8.25 14.25 8.59 14.25 9ZM9 8.25C8.59 8.25 8.25 8.59 8.25 9V17C8.25 17.41 8.59 17.75 9 17.75C9.41 17.75 9.75 17.41 9.75 17V9C9.75 8.59 9.41 8.25 9 8.25ZM20.75 6C20.75 6.41 20.41 6.75 20 6.75H18.75V18C18.75 19.52 17.52 20.75 16 20.75H8C6.48 20.75 5.25 19.52 5.25 18V6.75H4C3.59 6.75 3.25 6.41 3.25 6C3.25 5.59 3.59 5.25 4 5.25H8.25V4C8.25 3.04 9.04 2.25 10 2.25H14C14.96 2.25 15.75 3.04 15.75 4V5.25H20C20.41 5.25 20.75 5.59 20.75 6ZM9.75 5.25H14.25V4C14.25 3.86 14.14 3.75 14 3.75H10C9.86 3.75 9.75 3.86 9.75 4V5.25ZM17.25 6.75H6.75V18C6.75 18.69 7.31 19.25 8 19.25H16C16.69 19.25 17.25 18.69 17.25 18V6.75Z"/></svg>',Dr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 8.75C15.19 8.75 15.75 8.19 15.75 7.5C15.75 6.81 15.19 6.25 14.5 6.25C13.81 6.25 13.25 6.81 13.25 7.5C13.25 8.19 13.81 8.75 14.5 8.75ZM14.5 7.25C14.64 7.25 14.75 7.36 14.75 7.5C14.75 7.78 14.25 7.78 14.25 7.5C14.25 7.36 14.36 7.25 14.5 7.25ZM9.5 6.25C8.81 6.25 8.25 6.81 8.25 7.5C8.25 8.19 8.81 8.75 9.5 8.75C10.19 8.75 10.75 8.19 10.75 7.5C10.75 6.81 10.19 6.25 9.5 6.25ZM9.25 7.5C9.25 7.36 9.36 7.25 9.5 7.25C9.64 7.25 9.75 7.36 9.75 7.5C9.75 7.78 9.25 7.78 9.25 7.5ZM14.5 11.25C13.81 11.25 13.25 11.81 13.25 12.5C13.25 13.19 13.81 13.75 14.5 13.75C15.19 13.75 15.75 13.19 15.75 12.5C15.75 11.81 15.19 11.25 14.5 11.25ZM14.25 12.5C14.25 12.36 14.36 12.25 14.5 12.25C14.64 12.25 14.75 12.36 14.75 12.5C14.75 12.78 14.25 12.78 14.25 12.5ZM9.5 11.25C8.81 11.25 8.25 11.81 8.25 12.5C8.25 13.19 8.81 13.75 9.5 13.75C10.19 13.75 10.75 13.19 10.75 12.5C10.75 11.81 10.19 11.25 9.5 11.25ZM9.25 12.5C9.25 12.36 9.36 12.25 9.5 12.25C9.64 12.25 9.75 12.36 9.75 12.5C9.75 12.78 9.25 12.78 9.25 12.5ZM14.5 16.25C13.81 16.25 13.25 16.81 13.25 17.5C13.25 18.19 13.81 18.75 14.5 18.75C15.19 18.75 15.75 18.19 15.75 17.5C15.75 16.81 15.19 16.25 14.5 16.25ZM14.25 17.5C14.25 17.36 14.36 17.25 14.5 17.25C14.64 17.25 14.75 17.36 14.75 17.5C14.75 17.78 14.25 17.78 14.25 17.5ZM9.5 16.25C8.81 16.25 8.25 16.81 8.25 17.5C8.25 18.19 8.81 18.75 9.5 18.75C10.19 18.75 10.75 18.19 10.75 17.5C10.75 16.81 10.19 16.25 9.5 16.25ZM9.25 17.5C9.25 17.36 9.36 17.25 9.5 17.25C9.64 17.25 9.75 17.36 9.75 17.5C9.75 17.78 9.25 17.78 9.25 17.5Z"/></svg>',Pr='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 9.25C16.81 9.25 16.25 9.81 16.25 10.5C16.25 11.19 16.81 11.75 17.5 11.75C18.19 11.75 18.75 11.19 18.75 10.5C18.75 9.81 18.19 9.25 17.5 9.25ZM17.25 10.5C17.25 10.36 17.36 10.25 17.5 10.25C17.64 10.25 17.75 10.36 17.75 10.5C17.75 10.78 17.25 10.78 17.25 10.5ZM17.5 6.75C18.19 6.75 18.75 6.19 18.75 5.5C18.75 4.81 18.19 4.25 17.5 4.25C16.81 4.25 16.25 4.81 16.25 5.5C16.25 6.19 16.81 6.75 17.5 6.75ZM17.5 5.25C17.64 5.25 17.75 5.36 17.75 5.5C17.75 5.78 17.25 5.78 17.25 5.5C17.25 5.36 17.36 5.25 17.5 5.25ZM12.5 9.25C11.81 9.25 11.25 9.81 11.25 10.5C11.25 11.19 11.81 11.75 12.5 11.75C13.19 11.75 13.75 11.19 13.75 10.5C13.75 9.81 13.19 9.25 12.5 9.25ZM12.25 10.5C12.25 10.36 12.36 10.25 12.5 10.25C12.64 10.25 12.75 10.36 12.75 10.5C12.75 10.78 12.25 10.78 12.25 10.5ZM12.5 4.25C11.81 4.25 11.25 4.81 11.25 5.5C11.25 6.19 11.81 6.75 12.5 6.75C13.19 6.75 13.75 6.19 13.75 5.5C13.75 4.81 13.19 4.25 12.5 4.25ZM12.25 5.5C12.25 5.36 12.36 5.25 12.5 5.25C12.64 5.25 12.75 5.36 12.75 5.5C12.75 5.78 12.25 5.78 12.25 5.5ZM7.5 9.25C6.81 9.25 6.25 9.81 6.25 10.5C6.25 11.19 6.81 11.75 7.5 11.75C8.19 11.75 8.75 11.19 8.75 10.5C8.75 9.81 8.19 9.25 7.5 9.25ZM7.25 10.5C7.25 10.36 7.36 10.25 7.5 10.25C7.64 10.25 7.75 10.36 7.75 10.5C7.75 10.78 7.25 10.78 7.25 10.5ZM7.5 4.25C6.81 4.25 6.25 4.81 6.25 5.5C6.25 6.19 6.81 6.75 7.5 6.75C8.19 6.75 8.75 6.19 8.75 5.5C8.75 4.81 8.19 4.25 7.5 4.25ZM7.25 5.5C7.25 5.36 7.36 5.25 7.5 5.25C7.64 5.25 7.75 5.36 7.75 5.5C7.75 5.78 7.25 5.78 7.25 5.5Z"/></svg>',Vr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.1209 3.05249L12.9509 2.88249C11.8809 1.81249 10.1309 1.81249 9.06089 2.88249L3.47089 8.46249C3.37089 8.56249 3.31089 8.68249 3.27089 8.81249L2.27089 12.8125C2.21089 13.0625 2.28089 13.3425 2.47089 13.5225C2.61089 13.6625 2.80089 13.7425 3.00089 13.7425C3.06089 13.7425 3.12089 13.7425 3.18089 13.7225L7.18089 12.7225C7.31089 12.6925 7.43089 12.6225 7.53089 12.5225L13.1209 6.93249C14.1909 5.86249 14.1909 4.11249 13.1209 3.04249V3.05249ZM6.62089 11.3125L4.04089 11.9625L4.69089 9.38249L8.01089 6.06249L9.95089 8.00249L6.63089 11.3225L6.62089 11.3125ZM12.0609 5.87249L11.0009 6.93249L9.06089 4.99249L10.1209 3.93249C10.6109 3.44249 11.4009 3.44249 11.8909 3.93249L12.0609 4.10249C12.5509 4.59249 12.5509 5.38249 12.0609 5.87249Z"/></svg>',Or='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Tr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Qr='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"/></svg>',Zr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 17.4775C14.82 17.7675 14.82 18.2475 14.53 18.5375L11.53 21.5375C11.38 21.6875 11.19 21.7575 11 21.7575C10.81 21.7575 10.62 21.6875 10.47 21.5375C10.18 21.2475 10.18 20.7675 10.47 20.4775L12.2 18.7475C12.13 18.7475 12.07 18.7475 12 18.7475C6.62 18.7475 2.25 15.7475 2.25 12.0575C2.25 10.2975 3.22 8.6375 4.99 7.3875C5.33 7.1475 5.8 7.2275 6.03 7.5675C6.27 7.9075 6.19 8.3775 5.85 8.6075C4.49 9.5675 3.74 10.7875 3.74 12.0575C3.74 14.9175 7.44 17.2475 11.99 17.2475C12.05 17.2475 12.11 17.2475 12.17 17.2475L10.46 15.5375C10.17 15.2475 10.17 14.7675 10.46 14.4775C10.75 14.1875 11.23 14.1875 11.52 14.4775L14.52 17.4775H14.53ZM12 5.2575C11.93 5.2575 11.87 5.2575 11.8 5.2575L13.53 3.5275C13.82 3.2375 13.82 2.7575 13.53 2.4675C13.24 2.1775 12.76 2.1775 12.47 2.4675L9.47 5.4675C9.18 5.7575 9.18 6.2375 9.47 6.5275L12.47 9.5275C12.62 9.6775 12.81 9.7475 13 9.7475C13.19 9.7475 13.38 9.6775 13.53 9.5275C13.82 9.2375 13.82 8.7575 13.53 8.4675L11.82 6.7575C11.88 6.7575 11.94 6.7575 12 6.7575C16.55 6.7575 20.25 9.0875 20.25 11.9475C20.25 13.2075 19.5 14.4375 18.14 15.3975C17.8 15.6375 17.72 16.1075 17.96 16.4475C18.11 16.6575 18.34 16.7675 18.57 16.7675C18.72 16.7675 18.87 16.7275 19 16.6275C20.77 15.3775 21.75 13.7175 21.75 11.9575C21.75 8.2675 17.38 5.2675 12 5.2675V5.2575Z"/></svg>',_r='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.72 9.24C21.45 8.92 21.12 8.67 20.75 8.5V8C20.75 6.48 19.52 5.25 18 5.25H10.65C10.32 4.1 9.26 3.25 8 3.25H6C4.48 3.25 3.25 4.48 3.25 6V18C3.25 19.52 4.48 20.75 6 20.75H18.33C19.66 20.75 20.8 19.8 21.04 18.49L22.31 11.49C22.46 10.69 22.24 9.86 21.72 9.24ZM4.75 18V6C4.75 5.31 5.31 4.75 6 4.75H8C8.69 4.75 9.25 5.31 9.25 6C9.25 6.41 9.59 6.75 10 6.75H18C18.69 6.75 19.25 7.31 19.25 8V8.25H9.27C7.94 8.25 6.8 9.2 6.56 10.51L5.29 17.51C5.19 18.07 5.27 18.64 5.51 19.15C5.06 18.96 4.75 18.52 4.75 18ZM20.83 11.22L19.56 18.22C19.45 18.81 18.94 19.25 18.33 19.25H8C7.63 19.25 7.28 19.09 7.04 18.8C6.8 18.51 6.7 18.14 6.77 17.78L8.04 10.78C8.15 10.19 8.66 9.75 9.27 9.75H19.6C19.97 9.75 20.32 9.91 20.56 10.2C20.8 10.49 20.9 10.86 20.83 11.22Z"/></svg>',Ar='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.25H4C3.04 3.25 2.25 4.04 2.25 5V11C2.25 11.96 3.04 12.75 4 12.75H12C12.96 12.75 13.75 11.96 13.75 11V5C13.75 4.04 12.96 3.25 12 3.25ZM12.25 11C12.25 11.14 12.14 11.25 12 11.25H4C3.86 11.25 3.75 11.14 3.75 11V5C3.75 4.86 3.86 4.75 4 4.75H12C12.14 4.75 12.25 4.86 12.25 5V11Z"/></svg>',jr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M33 10.25H15C12.38 10.25 10.25 12.38 10.25 15V33C10.25 35.62 12.38 37.75 15 37.75H33C35.62 37.75 37.75 35.62 37.75 33V15C37.75 12.38 35.62 10.25 33 10.25ZM36.25 33C36.25 34.79 34.79 36.25 33 36.25H15C13.21 36.25 11.75 34.79 11.75 33V15C11.75 13.21 13.21 11.75 15 11.75H33C34.79 11.75 36.25 13.21 36.25 15V33ZM30.5 14.25C28.71 14.25 27.25 15.71 27.25 17.5C27.25 19.29 28.71 20.75 30.5 20.75C32.29 20.75 33.75 19.29 33.75 17.5C33.75 15.71 32.29 14.25 30.5 14.25ZM30.5 19.25C29.54 19.25 28.75 18.46 28.75 17.5C28.75 16.54 29.54 15.75 30.5 15.75C31.46 15.75 32.25 16.54 32.25 17.5C32.25 18.46 31.46 19.25 30.5 19.25ZM29.26 26.28C28.94 25.92 28.49 25.71 28.01 25.7C27.54 25.68 27.07 25.87 26.73 26.2L24.95 27.94L22.28 25.23C21.94 24.89 21.5 24.71 21 24.71C20.52 24.71 20.06 24.93 19.74 25.28L14.74 30.78C14.25 31.3 14.12 32.06 14.41 32.72C14.69 33.36 15.28 33.75 15.95 33.75H32.07C32.74 33.75 33.33 33.35 33.61 32.72C33.89 32.06 33.77 31.31 33.29 30.79L29.27 26.29L29.26 26.28ZM32.22 32.12C32.18 32.2 32.13 32.25 32.06 32.25H15.94C15.87 32.25 15.81 32.21 15.78 32.12C15.77 32.09 15.71 31.93 15.83 31.8L20.84 26.29C20.9 26.22 20.99 26.21 21.02 26.21C21.06 26.21 21.14 26.22 21.2 26.29L24.4 29.54C24.69 29.83 25.16 29.84 25.46 29.54L27.77 27.27C27.83 27.21 27.9 27.2 27.94 27.2C28.01 27.2 28.06 27.21 28.13 27.28L32.16 31.79C32.16 31.79 32.16 31.79 32.17 31.8C32.29 31.93 32.23 32.09 32.22 32.12Z"/></svg>',Wr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"/><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z"/></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"/></clipPath></defs></svg>',Ur='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 3V7C13.75 7.41 13.41 7.75 13 7.75C12.59 7.75 12.25 7.41 12.25 7V4.81L9.53 7.53C9.38 7.68 9.19 7.75 9 7.75C8.81 7.75 8.62 7.68 8.47 7.53C8.18 7.24 8.18 6.76 8.47 6.47L11.19 3.75H9C8.59 3.75 8.25 3.41 8.25 3C8.25 2.59 8.59 2.25 9 2.25H13C13.1 2.25 13.19 2.27 13.29 2.31C13.47 2.39 13.62 2.53 13.7 2.72C13.74 2.81 13.76 2.91 13.76 3.01L13.75 3ZM7.53 8.47C7.24 8.18 6.76 8.18 6.47 8.47L3.75 11.19V9C3.75 8.59 3.41 8.25 3 8.25C2.59 8.25 2.25 8.59 2.25 9V13C2.25 13.1 2.27 13.19 2.31 13.29C2.39 13.47 2.53 13.62 2.72 13.7C2.81 13.74 2.91 13.76 3.01 13.76H7.01C7.42 13.76 7.76 13.42 7.76 13.01C7.76 12.6 7.42 12.26 7.01 12.26H4.82L7.54 9.54C7.83 9.25 7.83 8.77 7.54 8.48L7.53 8.47Z"/></svg>',Fr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 8C13.75 8.41 13.41 8.75 13 8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H13C13.41 7.25 13.75 7.59 13.75 8Z"/></svg>',zr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.25C11.04 10.25 10.25 11.04 10.25 12C10.25 12.96 11.04 13.75 12 13.75C12.96 13.75 13.75 12.96 13.75 12C13.75 11.04 12.96 10.25 12 10.25ZM11.75 12C11.75 11.86 11.86 11.75 12 11.75C12.14 11.75 12.25 11.86 12.25 12C12.25 12.28 11.75 12.28 11.75 12ZM19 10.25C18.04 10.25 17.25 11.04 17.25 12C17.25 12.96 18.04 13.75 19 13.75C19.96 13.75 20.75 12.96 20.75 12C20.75 11.04 19.96 10.25 19 10.25ZM18.75 12C18.75 11.86 18.86 11.75 19 11.75C19.14 11.75 19.25 11.86 19.25 12C19.25 12.28 18.75 12.28 18.75 12ZM5 10.25C4.04 10.25 3.25 11.04 3.25 12C3.25 12.96 4.04 13.75 5 13.75C5.96 13.75 6.75 12.96 6.75 12C6.75 11.04 5.96 10.25 5 10.25ZM4.75 12C4.75 11.86 4.86 11.75 5 11.75C5.14 11.75 5.25 11.86 5.25 12C5.25 12.28 4.75 12.28 4.75 12Z"/></svg>',$r='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.25 7C3.25 6.59 3.59 6.25 4 6.25H15C15.41 6.25 15.75 6.59 15.75 7C15.75 7.41 15.41 7.75 15 7.75H4C3.59 7.75 3.25 7.41 3.25 7ZM20 11.25H4C3.59 11.25 3.25 11.59 3.25 12C3.25 12.41 3.59 12.75 4 12.75H20C20.41 12.75 20.75 12.41 20.75 12C20.75 11.59 20.41 11.25 20 11.25ZM9 16.25H4C3.59 16.25 3.25 16.59 3.25 17C3.25 17.41 3.59 17.75 4 17.75H9C9.41 17.75 9.75 17.41 9.75 17C9.75 16.59 9.41 16.25 9 16.25Z"/></svg>',Kr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M30.4975 14.2475C28.7075 14.2475 27.2475 15.7075 27.2475 17.4975C27.2475 19.2875 28.7075 20.7475 30.4975 20.7475C32.2875 20.7475 33.7475 19.2875 33.7475 17.4975C33.7475 15.7075 32.2875 14.2475 30.4975 14.2475ZM30.4975 19.2475C29.5375 19.2475 28.7475 18.4575 28.7475 17.4975C28.7475 16.5375 29.5375 15.7475 30.4975 15.7475C31.4575 15.7475 32.2475 16.5375 32.2475 17.4975C32.2475 18.4575 31.4575 19.2475 30.4975 19.2475ZM13.5175 11.2175C13.4375 10.8075 13.7075 10.4175 14.1175 10.3375C14.4275 10.2775 14.7175 10.2475 14.9975 10.2475H32.9975C35.6175 10.2475 37.7475 12.3775 37.7475 14.9975V32.9975C37.7475 33.2775 37.7175 33.5675 37.6575 33.8775C37.5875 34.2375 37.2775 34.4875 36.9175 34.4875C36.8675 34.4875 36.8275 34.4875 36.7775 34.4775C36.3675 34.3975 36.1075 34.0075 36.1775 33.5975C36.2175 33.3775 36.2375 33.1775 36.2375 32.9975V14.9975C36.2375 13.2075 34.7775 11.7475 32.9875 11.7475H14.9975C14.8075 11.7475 14.6175 11.7675 14.3975 11.8075C13.9875 11.8875 13.5975 11.6175 13.5175 11.2075V11.2175ZM34.4775 36.7775C34.5575 37.1875 34.2875 37.5775 33.8775 37.6575C33.5675 37.7175 33.2775 37.7475 32.9975 37.7475H14.9975C12.3775 37.7475 10.2475 35.6175 10.2475 32.9975V14.9975C10.2475 14.7175 10.2775 14.4275 10.3375 14.1175C10.4175 13.7075 10.8075 13.4375 11.2175 13.5175C11.6275 13.5975 11.8875 13.9875 11.8175 14.3975C11.7775 14.6175 11.7575 14.8175 11.7575 14.9975V32.9975C11.7575 34.7875 13.2175 36.2475 15.0075 36.2475H33.0075C33.1975 36.2475 33.3875 36.2275 33.6075 36.1875C34.0075 36.1075 34.4075 36.3775 34.4875 36.7875L34.4775 36.7775ZM15.8275 31.7975C15.6975 31.9375 15.7575 32.0875 15.7775 32.1175C15.8175 32.1975 15.8675 32.2475 15.9375 32.2475H29.8175C30.2275 32.2475 30.5675 32.5875 30.5675 32.9975C30.5675 33.4075 30.2275 33.7475 29.8175 33.7475H15.9375C15.2675 33.7475 14.6775 33.3475 14.3975 32.7175C14.1075 32.0575 14.2375 31.2975 14.7275 30.7775L19.7275 25.2775C20.0475 24.9275 20.5075 24.7175 20.9875 24.7075C21.4875 24.7275 21.9375 24.8875 22.2675 25.2275L25.4675 28.4775C25.7575 28.7675 25.7575 29.2475 25.4675 29.5375C25.1675 29.8275 24.6975 29.8275 24.4075 29.5375L21.2075 26.2875C21.1475 26.2175 21.0675 26.1875 21.0275 26.2075C20.9875 26.2075 20.9075 26.2175 20.8475 26.2875L15.8375 31.7975H15.8275ZM38.5275 38.5275C38.3775 38.6775 38.1875 38.7475 37.9975 38.7475C37.8075 38.7475 37.6175 38.6775 37.4675 38.5275L9.4675 10.5275C9.1775 10.2375 9.1775 9.7575 9.4675 9.4675C9.7575 9.1775 10.2375 9.1775 10.5275 9.4675L38.5275 37.4675C38.8175 37.7575 38.8175 38.2375 38.5275 38.5275Z"/></svg>',Gr='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"/><path d="M6 19V15H4V19H0L5 24L10 19H6Z"/></svg>',Jr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Xr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"/><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"/></svg>',Yr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"/><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"/></svg>',ei='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"/></g></svg>',ti='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"/></g></svg>',ni='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.9444 10.75H15.0544C15.7144 10.75 16.3144 10.39 16.6144 9.80002C16.9144 9.22002 16.8644 8.52002 16.4844 7.98002L13.4244 3.71002C12.7644 2.79002 11.2344 2.79002 10.5744 3.71002L7.5244 7.99002C7.1444 8.53002 7.0944 9.22002 7.3944 9.81002C7.6944 10.4 8.2944 10.76 8.9544 10.76L8.9444 10.75ZM8.7444 8.86002L11.7944 4.58002C11.8644 4.49002 11.9544 4.48002 11.9944 4.48002C12.0344 4.48002 12.1344 4.49002 12.1944 4.58002L15.2544 8.86002C15.3344 8.97002 15.3044 9.07002 15.2744 9.12002C15.2444 9.17002 15.1844 9.26002 15.0544 9.26002H8.9444C8.8144 9.26002 8.7444 9.18002 8.7244 9.12002C8.7044 9.06002 8.6644 8.97002 8.7444 8.86002ZM15.0544 13.25H8.9444C8.2844 13.25 7.6844 13.61 7.3844 14.2C7.0844 14.78 7.1344 15.48 7.5144 16.02L10.5744 20.3C10.9044 20.76 11.4344 21.03 11.9944 21.03C12.5544 21.03 13.0944 20.76 13.4144 20.3L16.4744 16.02C16.8544 15.48 16.9044 14.79 16.6044 14.2C16.3044 13.61 15.7044 13.25 15.0444 13.25H15.0544ZM15.2644 15.15L12.2044 19.43C12.0744 19.61 11.9244 19.61 11.7944 19.43L8.7344 15.15C8.6544 15.04 8.6844 14.94 8.7144 14.89C8.7444 14.84 8.8044 14.75 8.9344 14.75H15.0444C15.1744 14.75 15.2444 14.83 15.2644 14.89C15.2844 14.95 15.3244 15.04 15.2444 15.15H15.2644Z"/></svg>',ri='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 8.71C7.73 8.8 7.75 8.9 7.75 9V13C7.75 13.41 7.41 13.75 7 13.75C6.59 13.75 6.25 13.41 6.25 13V10.81L3.53 13.53C3.38 13.68 3.19 13.75 3 13.75C2.81 13.75 2.62 13.68 2.47 13.53C2.18 13.24 2.18 12.76 2.47 12.47L5.19 9.75H3C2.59 9.75 2.25 9.41 2.25 9C2.25 8.59 2.59 8.25 3 8.25H7C7.1 8.25 7.19 8.27 7.29 8.31C7.47 8.39 7.62 8.53 7.7 8.72L7.69 8.71ZM13 6.25H10.81L13.53 3.53C13.82 3.24 13.82 2.76 13.53 2.47C13.24 2.18 12.76 2.18 12.47 2.47L9.75 5.19V3C9.75 2.59 9.41 2.25 9 2.25C8.59 2.25 8.25 2.59 8.25 3V7C8.25 7.1 8.27 7.19 8.31 7.29C8.39 7.47 8.53 7.62 8.72 7.7C8.81 7.74 8.91 7.76 9.01 7.76H13.01C13.42 7.76 13.76 7.42 13.76 7.01C13.76 6.6 13.42 6.26 13.01 6.26L13 6.25Z"/></svg>',ii='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.9975 2.25C9.7275 2.25 6.2475 5.73 6.2475 10C6.2475 11.87 6.9075 13.58 8.0175 14.92L2.4675 20.47C2.1775 20.76 2.1775 21.24 2.4675 21.53C2.6175 21.68 2.8075 21.75 2.9975 21.75C3.1875 21.75 3.3775 21.68 3.5275 21.53L9.0775 15.98C10.4175 17.08 12.1275 17.75 13.9975 17.75C18.2675 17.75 21.7475 14.27 21.7475 10C21.7475 5.73 18.2675 2.25 13.9975 2.25ZM13.9975 16.25C10.5475 16.25 7.7475 13.45 7.7475 10C7.7475 6.55 10.5475 3.75 13.9975 3.75C17.4475 3.75 20.2475 6.55 20.2475 10C20.2475 13.45 17.4475 16.25 13.9975 16.25Z"/></svg>',oi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"/></svg>',si='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"/></svg>',ai='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"/></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',li='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"/></svg>',ui='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"/></svg>',ci='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"/></svg>',di='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"/></svg>',hi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"/></svg>',mi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"/></svg>',pi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"/></svg>';const we={modernbooleancheckchecked:lr,modernbooleancheckind:ur,modernbooleancheckunchecked:cr,moderncheck:dr,modernradio:hr,progressbutton:mr,removefile:pr,timercircle:fr,"add-24x24":vr,"arrowleft-16x16":gr,"arrowright-16x16":Cr,"camera-24x24":yr,"camera-32x32":br,"cancel-24x24":Er,"check-16x16":wr,"check-24x24":qr,"chevrondown-24x24":Lr,"chevronright-16x16":xr,"clear-16x16":Sr,"clear-24x24":Ir,"close-16x16":Mr,"close-24x24":Rr,"collapse-16x16":Nr,"collapsedetails-16x16":Hr,"delete-16x16":kr,"delete-24x24":Br,"drag-24x24":Dr,"draghorizontal-24x16":Pr,"editsmall-16x16":Vr,"expand-16x16":Or,"expanddetails-16x16":Tr,"file-72x72":Qr,"flip-24x24":Zr,"folder-24x24":_r,"fullsize-16x16":Ar,"image-48x48":jr,"loading-48x48":Wr,"maximize-16x16":Ur,"minimize-16x16":Fr,"more-24x24":zr,"navmenu-24x24":$r,"noimage-48x48":Kr,"ranking-arrows":Gr,"rankingundefined-16x16":Jr,"rating-star-2":Xr,"rating-star-small-2":Yr,"rating-star-small":ei,"rating-star":ti,"reorder-24x24":ni,"restoredown-16x16":ri,"search-24x24":ii,"smiley-rate1-24x24":oi,"smiley-rate10-24x24":si,"smiley-rate2-24x24":ai,"smiley-rate3-24x24":li,"smiley-rate4-24x24":ui,"smiley-rate5-24x24":ci,"smiley-rate6-24x24":di,"smiley-rate7-24x24":hi,"smiley-rate8-24x24":mi,"smiley-rate9-24x24":pi};var j=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n.model=new p.ScrollViewModel,n.model.onInnerHeightChanged=function(o){n.props.onInnerHeightChanged&&n.props.onInnerHeightChanged(o)},n}return t.prototype.componentDidMount=function(){var e=this.rootRef.current;e&&this.model.setRootElement(e)},t.prototype.componentWillUnmount=function(){this.model.unsubscribeRootElement(),this.model.setRootElement(void 0)},t.prototype.render=function(){var e=this;return this.props.disabled?r.createElement(r.Fragment,null,this.props.children):r.createElement("div",{ref:this.rootRef,className:"sv-scroll__wrapper"},r.createElement("div",{className:"sv-scroll__scroller sv-drag-target-skipped",onScroll:function(){return e.model.onScrollContainer()}},r.createElement("div",{className:"sv-scroll__container"},this.props.children)),r.createElement("div",{className:"sv-scroll__scrollbar",onScroll:function(){return e.model.onScrollScrollbar()}},r.createElement("div",{className:"sv-scroll__scrollbar-sizer"})))},t})(r.Component);d.Instance.registerElement("svc-scroll",function(i){return r.createElement(j,i)}),p.addIconsToThemeSet("v1",ar),p.addIconsToThemeSet("v2",we),p.SvgRegistry.registerIcons(we);var ee=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.previousJSON={},n.isSurveyUpdated=!1,n.createSurvey(e),n.updateSurvey(e,{}),n.rootRef=r.createRef(),n.rootNodeId=e.id||null,n.rootNodeClassName=e.className||"",n}return t.prototype.getStateElement=function(){return this.survey},t.prototype.onSurveyUpdated=function(){if(this.survey){var e=this.rootRef.current;e&&this.survey.afterRenderSurvey(e),this.survey.startTimerFromUI(),this.setSurveyEvents()}},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(this.isModelJSONChanged(e)&&(this.destroySurvey(),this.createSurvey(e),this.updateSurvey(e,{}),this.isSurveyUpdated=!0),!0):!1},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateSurvey(this.props,e),this.isSurveyUpdated&&(this.onSurveyUpdated(),this.isSurveyUpdated=!1)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.onSurveyUpdated()},t.prototype.destroySurvey=function(){this.survey&&(this.survey.renderCallback=void 0,this.survey.onPartialSend.clear(),this.survey.stopTimer(),this.survey.destroyResizeObserver())},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.destroySurvey()},t.prototype.doRender=function(){var e;this.survey.state=="completed"?e=this.renderCompleted():this.survey.state=="completedbefore"?e=this.renderCompletedBefore():this.survey.state=="loading"?e=this.renderLoading():this.survey.state=="empty"?e=this.renderEmptySurvey():e=this.renderSurvey();var n=this.survey.backgroundImage?r.createElement("div",{className:this.css.rootBackgroundImage,style:this.survey.backgroundImageStyle}):null,o=this.survey.headerView==="basic"?r.createElement(X,{survey:this.survey}):null,s=function(m){m.preventDefault()},a=r.createElement("div",{className:"sv_custom_header"});this.survey.hasLogo&&(a=null);var c=this.survey.getRootCss(),h=this.rootNodeClassName?this.rootNodeClassName+" "+c:c;return r.createElement("div",{id:this.rootNodeId,ref:this.rootRef,className:h,style:this.survey.themeVariables,lang:this.survey.locale||"en",dir:this.survey.localeDir},r.createElement(j,{disabled:this.survey.rootScrollDisabled},this.survey.needRenderIcons?r.createElement(be,null):null,r.createElement(Ee,null),r.createElement("div",{className:this.survey.wrapperFormCss},n,r.createElement("form",{onSubmit:s},r.createElement(j,{disabled:this.survey.formScrollDisabled},a,r.createElement("div",{className:this.css.container},o,r.createElement(I,{survey:this.survey,container:"header",needRenderWrapper:!1}),e,r.createElement(I,{survey:this.survey,container:"footer",needRenderWrapper:!1})))),r.createElement(Y,{notifier:this.survey.notifier}))))},t.prototype.renderElement=function(){return this.doRender()},Object.defineProperty(t.prototype,"css",{get:function(){return this.survey.css},set:function(e){this.survey.css=e},enumerable:!1,configurable:!0}),t.prototype.renderCompleted=function(){if(!this.survey.showCompletedPage)return null;var e={__html:this.survey.processedCompletedHtml};return r.createElement(r.Fragment,null,r.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.completedCss}),r.createElement(I,{survey:this.survey,container:"completePage",needRenderWrapper:!1}))},t.prototype.renderCompletedBefore=function(){var e={__html:this.survey.processedCompletedBeforeHtml};return r.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.completedBeforeCss})},t.prototype.renderLoading=function(){var e={__html:this.survey.processedLoadingHtml};return r.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.loadingBodyCss})},t.prototype.renderSurvey=function(){var e=this.survey.activePage?this.renderPage(this.survey.activePage):null;this.survey.isShowStartingPage;var n=this.survey.activePage?this.survey.activePage.id:"",o=this.survey.bodyCss,s={};return this.survey.renderedWidth&&(s.maxWidth=this.survey.renderedWidth),r.createElement("div",{className:this.survey.bodyContainerCss},r.createElement(I,{survey:this.survey,container:"left"}),r.createElement("div",{className:"sv-components-column sv-components-column--expandable"},r.createElement(I,{survey:this.survey,container:"center"}),r.createElement("div",{id:n,className:o,style:s},r.createElement(I,{survey:this.survey,container:"contentTop"}),e,r.createElement(I,{survey:this.survey,container:"contentBottom"}),this.survey.showBrandInfo?r.createElement(Xt,null):null)),r.createElement(I,{survey:this.survey,container:"right"}))},t.prototype.renderPage=function(e){return d.Instance.createElement(this.survey.pageComponent||"sv-page",{survey:this.survey,page:e,css:this.css,creator:this})},t.prototype.renderEmptySurvey=function(){return r.createElement("div",{className:this.css.bodyEmpty},this.survey.emptySurveyText)},t.prototype.createSurvey=function(e){e||(e={}),this.previousJSON={},e?e.model?this.survey=e.model:e.json&&(this.previousJSON=e.json,this.survey=new p.SurveyModel(e.json)):this.survey=new p.SurveyModel,e.css&&(this.survey.css=this.css)},t.prototype.isModelJSONChanged=function(e){return e.model?this.survey!==e.model:e.json?!p.Helpers.isTwoValueEquals(e.json,this.previousJSON):!1},t.prototype.updateSurvey=function(e,n){if(e){n=n||{};for(var o in e)if(!(o=="model"||o=="children"||o=="json")){if(o=="css"){this.survey.mergeValues(e.css,this.survey.getCss()),this.survey.updateNavigationCss(),this.survey.updateElementCss();continue}e[o]!==n[o]&&(o.indexOf("on")==0&&this.survey[o]&&this.survey[o].add?(n[o]&&this.survey[o].remove(n[o]),this.survey[o].add(e[o])):this.survey[o]=e[o])}}},t.prototype.setSurveyEvents=function(){var e=this;this.survey.renderCallback=function(){var n=e.state&&e.state.modelChanged?e.state.modelChanged:0;e.setState({modelChanged:n+1})},this.survey.onPartialSend.add(function(n){e.state&&e.setState(e.state)})},t.prototype.createQuestionElement=function(e){return b.Instance.createQuestion(e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isInputReadOnly,creator:this})},t.prototype.renderError=function(e,n,o,s){return d.Instance.createElement(this.survey.questionErrorComponent,{key:e,error:n,cssClasses:o,element:s})},t.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},t.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},t})(v);d.Instance.registerElement("survey",function(i){return r.createElement(ee,i)});function W(i,t,e){e===void 0&&(e={processEsc:!0,disableTabStop:!1});var n={};return t&&t.disableTabStop||e&&e.disableTabStop?n={tabIndex:-1}:(e=G({},e),n={tabIndex:0,onKeyUp:function(o){o.preventDefault(),o.stopPropagation(),p.doKey2ClickUp(o,e)},onKeyDown:function(o){return p.doKey2ClickDown(o,e)},onBlur:function(o){return p.doKey2ClickBlur(o)}}),n.onPointerUp=function(o){if(o.pointerType==="pen"){o.preventDefault(),o.stopPropagation();var s=o.target;s?.click&&s.click()}},r.cloneElement(i,n)}var U=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.updateStateFunction=null,n.state={update:0},n}return Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css||this.survey.css},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(this.survey){var e=this;this.updateStateFunction=function(){e.setState({update:e.state.update+1})},this.survey.onPageVisibleChanged.add(this.updateStateFunction)}},t.prototype.componentWillUnmount=function(){this.survey&&this.updateStateFunction&&(this.survey.onPageVisibleChanged.remove(this.updateStateFunction),this.updateStateFunction=null)},t})(r.Component),qe=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.circleLength=440,n}return t.prototype.getStateElement=function(){return this.timerModel},Object.defineProperty(t.prototype,"timerModel",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{get:function(){return-this.timerModel.progress*this.circleLength},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(!this.timerModel.isRunning)return null;var e=r.createElement("div",{className:this.timerModel.survey.getCss().timerRoot},this.timerModel.text);if(this.timerModel.showTimerAsClock){var n={strokeDasharray:this.circleLength,strokeDashoffset:this.progress},o=this.timerModel.showProgress?r.createElement(C,{className:this.timerModel.getProgressCss(),style:n,iconName:"icon-timercircle",size:"auto"}):null;e=r.createElement("div",{className:this.timerModel.rootCss},o,r.createElement("div",{className:this.timerModel.textContainerCss},r.createElement("span",{className:this.timerModel.majorTextCss},this.timerModel.clockMajorText),this.timerModel.clockMinorText?r.createElement("span",{className:this.timerModel.minorTextCss},this.timerModel.clockMinorText):null))}return e},t})(E);d.Instance.registerElement("sv-timerpanel",function(i){return r.createElement(qe,i)});var fi=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.element.cssClasses,n.rootRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.element},Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.rootRef.current&&this.element.setWrapperElement(this.rootRef.current)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.element.setWrapperElement(void 0)},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(e.element!==this.element&&(e.element&&e.element.setWrapperElement(this.rootRef.current),this.element&&this.element.setWrapperElement(void 0)),this.element.cssClasses,!0):!1},t.prototype.renderElement=function(){var e=this.element,n=this.createElement(e,this.index),o=e.cssClassesValue,s=function(){var a=e;a&&a.isQuestion&&a.focusIn()};return r.createElement("div",{className:o.questionWrapper,style:e.rootStyle,"data-key":e.name+this.index,onFocus:s,ref:this.rootRef},n)},t.prototype.createElement=function(e,n){if(!this.row.isNeedRender)return d.Instance.createElement(e.skeletonComponentName,{element:e,css:this.css});var o=e.getTemplate();return d.Instance.isElementRegistered(o)||(o="question"),d.Instance.createElement(o,{element:e,creator:this.creator,survey:this.survey,css:this.css})},t})(v),Le=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n.recalculateCss(),n}return t.prototype.recalculateCss=function(){this.row.visibleElements.map(function(e){return e.cssClasses})},t.prototype.getStateElement=function(){return this.row},Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.row&&!!this.survey&&!!this.creator},t.prototype.renderElementContent=function(){var e=this,n=this.row.visibleElements.map(function(o,s){return r.createElement(fi,{element:o,index:s,row:e.row,survey:e.survey,creator:e.creator,css:e.css,key:o.id})});return r.createElement("div",{ref:this.rootRef,className:this.row.getRowCss()},n)},t.prototype.renderElement=function(){var e=this.survey,n=this.renderElementContent(),o=x.wrapRow(e,n,this.row);return o||n},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this);var n=this.rootRef.current;if(this.rootRef.current&&this.row.setRootElement(this.rootRef.current),n&&!this.row.isNeedRender){var o=n;this.lazyRenderingTimeout=setTimeout(function(){e.row.startLazyRendering(o)},10)}},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(e.row!==this.row&&(e.row.isNeedRender=this.row.isNeedRender,e.row.setRootElement(this.rootRef.current),this.row.setRootElement(void 0),this.stopLazyRendering()),this.recalculateCss(),!0):!1},t.prototype.stopLazyRendering=function(){clearTimeout(this.lazyRenderingTimeout),this.row.stopLazyRendering(),this.row.isNeedRender=!this.row.isLazyRendering()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.row&&(this.row.hasActiveUISubscribers||(this.row.setRootElement(void 0),this.stopLazyRendering()))},t.prototype.createElement=function(e,n){var o=n?"-"+n:0,s=e.getType();return d.Instance.isElementRegistered(s)||(s="question"),d.Instance.createElement(s,{key:e.name+o,element:e,creator:this.creator,survey:this.survey,css:this.css})},t})(v),xe=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.panelBase},t.prototype.canUsePropInState=function(e){return e!=="elements"&&i.prototype.canUsePropInState.call(this,e)},Object.defineProperty(t.prototype,"survey",{get:function(){return this.getSurvey()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.getCss()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelBase",{get:function(){return this.getPanelBase()},enumerable:!1,configurable:!0}),t.prototype.getPanelBase=function(){return this.props.element||this.props.question},t.prototype.getSurvey=function(){return this.props.survey||(this.panelBase?this.panelBase.survey:null)},t.prototype.getCss=function(){return this.props.css},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.doAfterRender()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this);var e=this.rootRef.current;e&&e.removeAttribute("data-rendered")},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),!(e.page&&this.survey&&this.survey.activePage&&e.page.id===this.survey.activePage.id)&&this.doAfterRender()},t.prototype.doAfterRender=function(){var e=this.rootRef.current;e&&this.survey&&(this.panelBase.isPanel?this.panelBase.afterRender(e):this.survey.afterRenderPage(e))},t.prototype.getIsVisible=function(){return this.panelBase.isVisible},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&!!this.survey&&!!this.panelBase&&!!this.panelBase.survey&&this.getIsVisible()},t.prototype.renderRows=function(e){var n=this;return this.panelBase.visibleRows.map(function(o){return n.createRow(o,e)})},t.prototype.createRow=function(e,n){return r.createElement(Le,{key:e.id,row:e,survey:this.survey,creator:this.creator,css:n})},t})(v),F=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getStateElement=function(){return this.props.counter},t.prototype.renderElement=function(){return r.createElement("div",{className:this.props.remainingCharacterCounter},this.props.counter.remainingCharacterCounter)},t})(v);d.Instance.registerElement("sv-character-counter",function(i){return r.createElement(F,i)});var te=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.initialValue=n.viewModel.getTextValue()||"",n.textareaRef=r.createRef(),n}return Object.defineProperty(t.prototype,"viewModel",{get:function(){return this.props.viewModel},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.viewModel.question},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this);var e=this.textareaRef.current;e&&this.viewModel.setElement(e)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.viewModel.resetElement()},t.prototype.renderElement=function(){var e=this;return r.createElement("textarea",{id:this.viewModel.id,className:this.viewModel.className,ref:this.textareaRef,disabled:this.viewModel.isDisabledAttr,readOnly:this.viewModel.isReadOnlyAttr,rows:this.viewModel.rows,cols:this.viewModel.cols,placeholder:this.viewModel.placeholder,maxLength:this.viewModel.maxLength,defaultValue:this.initialValue,onChange:function(n){e.viewModel.onTextAreaInput(n)},onFocus:function(n){e.viewModel.onTextAreaFocus(n)},onBlur:function(n){e.viewModel.onTextAreaBlur(n)},onKeyDown:function(n){e.viewModel.onTextAreaKeyDown(n)},"aria-required":this.viewModel.ariaRequired,"aria-label":this.viewModel.ariaLabel,"aria-labelledby":this.viewModel.ariaLabelledBy,"aria-describedby":this.viewModel.ariaDescribedBy,"aria-invalid":this.viewModel.ariaInvalid,"aria-errormessage":this.viewModel.ariaErrormessage,style:{resize:this.viewModel.question.resizeStyle}})},t})(v);d.Instance.registerElement("sv-text-area",function(i){return r.createElement(te,i)});var Se=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderCharacterCounter=function(){var e=null;return this.question.getMaxLength()&&(e=r.createElement(F,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter})),e},t.prototype.renderElement=function(){if(this.question.isReadOnlyRenderDiv())return r.createElement("div",null,this.question.value);var e=this.renderCharacterCounter(),n=this.props.question.textAreaModel;return r.createElement(r.Fragment,null,r.createElement(te,{viewModel:n}),e)},t})(P),ne=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.textAreaModel=n.getTextAreaModel(),n}return t.prototype.canRender=function(){return!!this.props.question},t.prototype.getTextAreaModel=function(){return this.props.question.commentTextAreaModel},t.prototype.renderElement=function(){var e=this.props.question;if(e.isReadOnlyRenderDiv()){var n=this.textAreaModel.getTextValue()||"";return r.createElement("div",null,n)}return r.createElement(te,{key:this.getKey(),viewModel:this.textAreaModel})},t.prototype.getKey=function(){},t})(E),re=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getTextAreaModel=function(){return this.props.question.getCommentTextAreaModel(this.props.item)},t.prototype.getKey=function(){return this.props.item.uniqueId},t})(ne);b.Instance.registerQuestion("comment",function(i){return r.createElement(Se,i)});var vi=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.widgetRef=r.createRef(),n}return t.prototype._afterRender=function(){if(this.questionBase.customWidget){var e=this.widgetRef.current;e&&(this.questionBase.customWidget.afterRender(this.questionBase,e),this.questionBase.customWidgetData.isNeedRender=!1)}},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.questionBase&&this._afterRender()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n);var o=!!this.questionBase.customWidget&&this.questionBase.customWidget.isDefaultRender;this.questionBase&&!o&&this._afterRender()},t.prototype.componentWillUnmount=function(){if(i.prototype.componentWillUnmount.call(this),this.questionBase.customWidget){var e=this.widgetRef.current;e&&this.questionBase.customWidget.willUnmount(this.questionBase,e)}},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&this.questionBase.visible},t.prototype.renderElement=function(){var e=this.questionBase.customWidget;if(e.isDefaultRender)return r.createElement("div",{ref:this.widgetRef},this.creator.createQuestionElement(this.questionBase));var n=null;if(e.widgetJson.render)n=e.widgetJson.render(this.questionBase);else if(e.htmlTemplate){var o={__html:e.htmlTemplate};return r.createElement("div",{ref:this.widgetRef,dangerouslySetInnerHTML:o})}return r.createElement("div",{ref:this.widgetRef},n)},t})(q),Ie=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),t.prototype.getRenderedElements=function(){return[this.element]},t.prototype.renderElement=function(){var e=this.element,n=e.hasTitle?r.createElement(R,{element:e}):null,o=e.hasDescriptionUnderTitle?v.renderQuestionDescription(this.element):null,s=e.hasAdditionalTitleToolbar?r.createElement(L,{model:e.additionalTitleToolbar}):null,a={width:void 0};return e instanceof p.Question&&(a.width=e.titleWidth),r.createElement("div",{className:e.cssHeader,onClick:function(c){return e.clickTitleFunction&&e.clickTitleFunction(c.nativeEvent)},style:a},n,o,s)},t})(v),Me=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"summary",{get:function(){return this.props.summary},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return this.summary?this.summary.isEmpty()?this.renderNoItems():this.renderItems():null},t.prototype.renderItems=function(){var e=this;return r.createElement("div",{className:this.css.summary},this.summary.items.map(function(n,o){return e.renderItem(n,o)}))},t.prototype.renderNoItems=function(){var e=this.summary.question,n=d.Instance.createElement("sv-placeholder-"+e.getTemplate(),{cssClasses:this.css,question:e});return n||r.createElement("div",null,this.renderLocString(this.summary.noEntry))},t.prototype.renderItem=function(e,n){var o=e.btnEdit?r.createElement("button",{className:this.css.summaryRowActionEdit,onClick:function(){return e.btnEdit.action()},title:e.btnEdit.title},r.createElement(C,{iconName:"icon-editsmall-16x16",iconSize:"auto"})):null,s=e.showRemove&&e.btnRemove?r.createElement("button",{className:this.css.summaryRowActionDelete,onClick:function(){return e.btnRemove.action()},title:e.btnRemove.title},r.createElement(C,{iconName:"icon-delete-16x16",iconSize:"auto"})):null;return r.createElement("div",{className:this.css.summaryRow,key:n},r.createElement("div",{className:this.css.summaryRowContent},this.renderLocString(e.locText)),r.createElement("div",{className:this.css.summaryRowActions},o,s))},t})(E);d.Instance.registerElement("sv-singleinput-summary",function(i){return r.createElement(Me,i)});var Re=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElement=function(){return this.props.model},Object.defineProperty(t.prototype,"items",{get:function(){return this.props.model.actions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){if(!this.items||!this.items.length)return null;var e=this.renderItems();return r.createElement("div",{className:this.css.breadcrumbsRoot},e)},t.prototype.renderItems=function(){var e=this,n=[];return this.items.concat([]).forEach(function(o,s){s&&n.push(r.createElement(C,{key:o.renderedId+"_separator",className:e.css.breadcrumbsSeparator,iconName:"arrowright-16x16",size:"auto"})),n.push(r.createElement(V,{key:o.renderedId,item:o}))}),n},t})(v);d.Instance.registerElement("sv-breadcrumbs",function(i){return r.createElement(Re,i)});var k=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.isNeedFocus=!1,n.rootRef=r.createRef(),n}return t.renderQuestionBody=function(e,n){var o=n.customWidget;return o?r.createElement(vi,{creator:e,question:n}):e.createQuestionElement(n)},t.prototype.getStateElement=function(){return this.question},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.question&&(this.question.react=this),this.doAfterRender()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question&&(this.question.react=null);var e=this.rootRef.current;e&&e.removeAttribute("data-rendered")},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.doAfterRender()},t.prototype.doAfterRender=function(){if(this.isNeedFocus&&(this.question.isCollapsed||this.question.clickTitleFunction(),this.isNeedFocus=!1),this.question){var e=this.rootRef.current;e&&e.getAttribute("data-rendered")!=="r"&&(e.setAttribute("data-rendered","r"),this.question.afterRender&&this.question.afterRender(e))}},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&!!this.question&&!!this.creator},t.prototype.renderQuestionContent=function(){var e=this.question,n={display:this.question.renderedIsExpanded?"":"none"},o=e.cssClasses,s=this.renderQuestion(),a=e&&e.hasComment?this.renderComment(o):null,c=e.hasDescriptionUnderInput?this.renderDescription():null;return r.createElement("div",{className:e.cssContent||void 0,style:n,"aria-hidden":e.contentAriaHidden,role:"presentation","data-sv-drop-target-matrix":this.question.dragDropMatrixAttribute,"data-sv-drop-target-matrix-row":this.question.dragDropMatrixAttribute},s,a,c)},t.prototype.renderElement=function(){var e=this.question,n=e.cssClasses,o=this.renderHeader(e),s=e.hasTitleOnLeftTop?o:null,a=e.hasTitleOnBottom?o:null,c=this.question.showErrorsAboveQuestion?this.renderErrors(n,""):null,h=this.question.showErrorsBelowQuestion?this.renderErrors(n,""):null,m=e.getRootStyle(),f=e.singleInputHasActions?this.renderSingleInputBreadcrumbs(e,n):void 0,g=e.singleInputSummary?this.renderSingleInputSummary(e,n):void 0,y=g||(e.singleInputQuestion?this.renderSingleInputQuestion(e,n):void 0),w=y||this.wrapQuestionContent(this.renderQuestionContent());return r.createElement(r.Fragment,null,r.createElement("div",{ref:this.rootRef,id:e.id,className:e.getRootCss(),style:m,"data-name":e.name,role:e.ariaRole,"aria-required":this.question.ariaRequired,"aria-invalid":this.question.ariaInvalid,"aria-label":this.question.ariaLabel,"aria-labelledby":e.ariaLabelledBy,"aria-describedby":e.ariaDescribedBy,"aria-expanded":e.ariaExpanded},f,c,s,w,a,h))},t.prototype.renderSingleInputQuestion=function(e,n){var o=e.singleInputQuestion,s=o.id;return r.createElement(t,{key:s,element:o,creator:this.creator,css:n})},t.prototype.renderSingleInputBreadcrumbs=function(e,n){return r.createElement(Re,{model:e.singleInputActions,css:n})},t.prototype.renderSingleInputSummary=function(e,n){return r.createElement(Me,{summary:e.singleInputSummary,creator:this.creator,css:n})},t.prototype.wrapElement=function(e){var n=this.question.survey,o=null;return n&&(o=x.wrapElement(n,e,this.question)),o??e},t.prototype.wrapQuestionContent=function(e){var n=this.question.survey,o=null;return n&&(o=x.wrapQuestionContent(n,e,this.question)),o??e},t.prototype.renderQuestion=function(){return t.renderQuestionBody(this.creator,this.question)},t.prototype.renderDescription=function(){return v.renderQuestionDescription(this.question)},t.prototype.renderComment=function(e){var n=v.renderLocString(this.question.locCommentText);return r.createElement("div",{className:this.question.getCommentAreaCss()},r.createElement("div",null,n),r.createElement(ne,{question:this.question,cssClasses:e,isDisplayMode:this.question.isInputReadOnly}))},t.prototype.renderHeader=function(e){return r.createElement(Ie,{element:e})},t.prototype.renderErrors=function(e,n){return r.createElement(O,{element:this.question,cssClasses:e,creator:this.creator,location:n,id:this.question.id+"_errors"})},t})(v);d.Instance.registerElement("question",function(i){return r.createElement(k,i)});var O=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state=n.getState(),n}return Object.defineProperty(t.prototype,"id",{get:function(){return this.props.element.id+"_errors"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getState=function(e){return e===void 0&&(e=null),e?{error:e.error+1}:{error:0}},t.prototype.canRender=function(){return!!this.element&&this.element.hasVisibleErrors},t.prototype.componentWillUnmount=function(){},t.prototype.renderElement=function(){for(var e=[],n=0;n<this.element.renderedErrors.length;n++){var o="error"+n;e.push(this.creator.renderError(o,this.element.renderedErrors[n],this.cssClasses,this.element))}return r.createElement("div",{className:this.element.cssError,id:this.id},e)},t})(E),Ne=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElement=function(){return this.question},Object.defineProperty(t.prototype,"question",{get:function(){return this.getQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getQuestion=function(){return this.props.question},Object.defineProperty(t.prototype,"itemCss",{get:function(){return this.props.itemCss},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.doAfterRender()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.doAfterRender()},t.prototype.doAfterRender=function(){},t.prototype.canRender=function(){return!!this.question},t.prototype.renderContent=function(){var e=this.renderQuestion();return r.createElement(r.Fragment,null,e)},t.prototype.getShowErrors=function(){return this.question.isVisible},t.prototype.renderQuestion=function(){return k.renderQuestionBody(this.creator,this.question)},t})(E),He=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.cellRef=r.createRef(),n}return t.prototype.componentWillUnmount=function(){if(i.prototype.componentWillUnmount.call(this),this.question){var e=this.cellRef.current;e&&e.removeAttribute("data-rendered")}},t.prototype.renderCellContent=function(){return r.createElement("div",{className:this.props.cell.cellQuestionWrapperClassName},this.renderQuestion())},t.prototype.renderElement=function(){var e=this.getCellStyle(),n=this.props.cell,o=function(){n.focusIn()};return r.createElement("td",{ref:this.cellRef,className:this.itemCss,colSpan:n.colSpans,title:n.getTitle(),style:e,onFocus:o},this.wrapCell(this.props.cell,this.renderCellContent()))},t.prototype.getCellStyle=function(){return null},t.prototype.getHeaderText=function(){return""},t.prototype.wrapCell=function(e,n){if(!e)return n;var o=this.question.survey,s=null;return o&&(s=x.wrapMatrixCell(o,n,e,this.props.reason)),s??n},t})(Ne),ke=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={changed:0},n.question&&n.registerCallback(n.question),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.update=function(){this.setState({changed:this.state.changed+1})},t.prototype.getQuestionPropertiesToTrack=function(){return["errors"]},t.prototype.registerCallback=function(e){var n=this;e.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),function(){n.update()},"__reactSubscription")},t.prototype.unRegisterCallback=function(e){e.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),"__reactSubscription")},t.prototype.componentDidUpdate=function(e){e.question&&e.question!==this.question&&this.unRegisterCallback(e.cell),this.question&&this.registerCallback(this.question)},t.prototype.componentWillUnmount=function(){this.question&&this.unRegisterCallback(this.question)},t.prototype.render=function(){return r.createElement(O,{element:this.question,creator:this.props.creator,cssClasses:this.question.cssClasses})},t})(r.Component),Be=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getPanelBase=function(){return this.props.page},Object.defineProperty(t.prototype,"page",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this.renderTitle(),n=this.renderDescription(),o=this.renderRows(this.panelBase.cssClasses),s=r.createElement(O,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator});return r.createElement("div",{ref:this.rootRef,className:this.page.cssRoot},e,n,s,o)},t.prototype.renderTitle=function(){return r.createElement(R,{element:this.page})},t.prototype.renderDescription=function(){if(!this.page._showDescription)return null;var e=v.renderLocString(this.page.locDescription);return r.createElement("div",{className:this.panelBase.cssClasses.page.description},e)},t})(xe);d.Instance.registerElement("sv-page",function(i){return r.createElement(Be,i)});var N=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.hasBeenExpanded=!1,n}return Object.defineProperty(t.prototype,"panel",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.renderHeader(),o=r.createElement(O,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator}),s={paddingLeft:this.panel.innerPaddingLeft,display:this.panel.renderedIsExpanded?void 0:"none"},a=null;if(this.panel.renderedIsExpanded){var c=this.renderRows(this.panelBase.cssClasses),h=this.panelBase.cssClasses.panel.content;a=this.renderContent(s,c,h)}var m=function(){e.panelBase&&e.panelBase.focusIn()};return r.createElement("div",{ref:this.rootRef,className:this.panelBase.getContainerCss(),onFocus:m,id:this.panelBase.id},this.panel.showErrorsAbovePanel?o:null,n,this.panel.showErrorsAbovePanel?null:o,a)},t.prototype.renderHeader=function(){return!this.panel.hasTitle&&!this.panel.hasDescription?null:r.createElement(Ie,{element:this.panel})},t.prototype.wrapElement=function(e){var n=this.panel.survey,o=null;return n&&(o=x.wrapElement(n,e,this.panel)),o??e},t.prototype.renderContent=function(e,n,o){var s=this.renderBottom();return r.createElement("div",{style:e,className:o,id:this.panel.contentId,role:this.panel.ariaRole,"aria-labelledby":this.panel.ariaLabelledBy,"aria-label":this.panel.ariaLabel},n,s)},t.prototype.renderTitle=function(){return this.panelBase.title?r.createElement(R,{element:this.panelBase}):null},t.prototype.renderDescription=function(){if(!this.panelBase.description)return null;var e=v.renderLocString(this.panelBase.locDescription);return r.createElement("div",{className:this.panel.cssClasses.panel.description},e)},t.prototype.renderBottom=function(){var e=this.panel.getFooterToolbar();return e.hasActions?r.createElement(L,{model:e}):null},t.prototype.getIsVisible=function(){return this.panelBase.getIsContentVisible()},t})(xe);d.Instance.registerElement("panel",function(i){return r.createElement(N,i)});var De=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"flowPanel",{get:function(){return this.panel},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=function(){return""},this.flowPanel.onGetHtmlForQuestion=this.renderQuestion)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=null,this.flowPanel.onGetHtmlForQuestion=null)},t.prototype.getQuestion=function(e){return this.flowPanel.getQuestionByName(e)},t.prototype.renderQuestion=function(e){return"<question>"+e.name+"</question>"},t.prototype.renderRows=function(){var e=this.renderHtml();return e?[e]:[]},t.prototype.getNodeIndex=function(){return this.renderedIndex++},t.prototype.renderHtml=function(){if(!this.flowPanel)return null;var e="<span>"+this.flowPanel.produceHtml()+"</span>";if(!DOMParser){var n={__html:e};return r.createElement("div",{dangerouslySetInnerHTML:n})}var o=new DOMParser().parseFromString(e,"text/xml");return this.renderedIndex=0,this.renderParentNode(o)},t.prototype.renderNodes=function(e){for(var n=[],o=0;o<e.length;o++){var s=this.renderNode(e[o]);s&&n.push(s)}return n},t.prototype.getStyle=function(e){var n={};return e.toLowerCase()==="b"&&(n.fontWeight="bold"),e.toLowerCase()==="i"&&(n.fontStyle="italic"),e.toLowerCase()==="u"&&(n.textDecoration="underline"),n},t.prototype.renderParentNode=function(e){var n=e.nodeName.toLowerCase(),o=this.renderNodes(this.getChildDomNodes(e));return n==="div"?r.createElement("div",{key:this.getNodeIndex()},o):r.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(n)},o)},t.prototype.renderNode=function(e){if(!this.hasTextChildNodesOnly(e))return this.renderParentNode(e);var n=e.nodeName.toLowerCase();if(n==="question"){var o=this.flowPanel.getQuestionByName(e.textContent);if(!o)return null;var s=r.createElement(k,{key:o.name,element:o,creator:this.creator,css:this.css});return r.createElement("span",{key:this.getNodeIndex()},s)}return n==="div"?r.createElement("div",{key:this.getNodeIndex()},e.textContent):r.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(n)},e.textContent)},t.prototype.getChildDomNodes=function(e){for(var n=[],o=0;o<e.childNodes.length;o++)n.push(e.childNodes[o]);return n},t.prototype.hasTextChildNodesOnly=function(e){for(var n=e.childNodes,o=0;o<n.length;o++)if(n[o].nodeName.toLowerCase()!=="#text")return!1;return!0},t.prototype.renderContent=function(e,n){return r.createElement("f-panel",{style:e},n)},t})(N);d.Instance.registerElement("flowpanel",function(i){return r.createElement(De,i)});var Pe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses;return r.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(o){return e.setControl(o)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},this.renderHeader(),this.question.hasColumns?this.getColumnedBody(n):this.getBody(n),this.getFooter())},t.prototype.renderHeader=function(){return null},t.prototype.getFooter=function(){var e=this;if(this.question.hasFootItems){var n=this.question.footItems.map(function(o,s){return e.renderItem(o,!1,e.question.cssClasses)});return r.createElement(r.Fragment,null,n)}return null},t.prototype.getStateValue=function(){},t.prototype.isItemChecked=function(e,n){return!1},t.prototype.getColumnedBody=function(e){return r.createElement("div",{className:e.rootMultiColumn},this.getColumns(e))},t.prototype.getColumns=function(e){var n=this,o=this.getStateValue();return this.question.columns.map(function(s,a){var c=s.map(function(h,m){return n.renderItem(h,a===0&&m===0,e,""+a+m,n.isItemChecked(h,o))});return r.createElement("div",{key:"column"+a+n.question.getItemsColumnKey(s),className:n.question.getColumnClass(),role:"presentation"},c)})},t.prototype.getBody=function(e){return this.question.blockedRow?r.createElement("div",{className:e.rootRow},this.getItems(e,this.question.dataChoices)):r.createElement(r.Fragment,null,this.getItems(e,this.question.bodyItems))},t.prototype.getItems=function(e,n){for(var o=[],s=this.getStateValue(),a=0;a<n.length;a++){var c=n[a],h=this.renderItem(c,a==0,e,""+a,this.isItemChecked(c,s));h&&o.push(h)}return o},Object.defineProperty(t.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.renderItem=function(e,n,o,s,a){var c=d.Instance.createElement(this.question.itemComponent,{key:e.uniqueId,question:this.question,cssClasses:o,isDisplayMode:this.isDisplayMode,item:e,textStyle:this.textStyle,index:s,isFirst:n,isChecked:a,creator:this.props.creator}),h=this.question.survey,m=null;return h&&c&&(m=x.wrapItemValue(h,c,this.question,e)),m??c},t})(q),Ve=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnChange=function(o){n.doOnItemChange(o)},n.rootRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirst",{get:function(){return this.props.isFirst},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideCaption",{get:function(){return this.props.hideCaption===!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaLabel",{get:function(){return this.props.ariaLabel||null},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),e.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),e.item&&e.item.setRootElement(void 0))},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render:!1},t.prototype.doOnItemChange=function(e){},t.prototype.canRender=function(){return!!this.item&&!!this.question},t.prototype.renderElement=function(){return r.createElement(r.Fragment,null,this.renderElementContent(),this.renderPanel(),this.renderComment())},t.prototype.renderElementContent=function(){return null},Object.defineProperty(t.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.renderComment=function(){return this.item.isCommentShowing?r.createElement("div",{className:this.question.getCommentAreaCss(!0)},r.createElement(re,{question:this.question,item:this.item,cssClasses:this.question.cssClasses})):null},t.prototype.renderPanel=function(){if(this.item.isPanelShowing){var e=this.item.panel;return r.createElement(N,{key:e.id,element:e,survey:this.question.survey,cssClasses:this.props.cssClasses,isDisplayMode:this.isDisplayMode,creator:this.props.creator})}return null},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},t})(E),Oe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderHeader=function(){return r.createElement(r.Fragment,null,r.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.getHeader())},t.prototype.getHeader=function(){var e=this;return this.question.hasHeadItems?this.question.headItems.map(function(n,o){return e.renderItem(n,!1,e.question.cssClasses)}):null},t})(Pe),ie=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.doOnItemChange=function(e){this.question.clickItemHandler(this.item,e.target.checked)},t.prototype.renderElementContent=function(){var e=this.question.isItemSelected(this.item);return this.renderCheckbox(e)},Object.defineProperty(t.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.renderCheckbox=function(e){var n=this.question.getItemId(this.item),o=this.question.getItemClass(this.item),s=this.question.getLabelClass(this.item),a=this.hideCaption?null:r.createElement("span",{className:this.cssClasses.controlLabel},this.renderLocString(this.item.locText,this.textStyle));return r.createElement("div",{className:o,role:"presentation",ref:this.rootRef},r.createElement("label",{className:s},r.createElement("input",{className:this.cssClasses.itemControl,type:"checkbox",name:this.question.name+this.item.id,value:this.item.value,id:n,style:this.inputStyle,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,checked:e,onChange:this.handleOnChange,required:this.question.hasRequiredError(),"aria-label":this.ariaLabel}),this.cssClasses.materialDecorator?r.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?r.createElement("svg",{className:this.cssClasses.itemDecorator},r.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,a))},t})(Ve);d.Instance.registerElement("survey-checkbox-item",function(i){return r.createElement(ie,i)}),b.Instance.registerQuestion("checkbox",function(i){return r.createElement(Oe,i)});var Te=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this;if(this.question.selectToRankEnabled){var n=!0;return r.createElement("div",{className:this.question.rootClass,ref:function(o){return e.setControl(o)}},r.createElement("div",{className:this.question.getContainerClasses("from"),"data-ranking":"from-container"},this.getItems(this.question.renderedUnRankingChoices,n),this.question.renderedUnRankingChoices.length===0?r.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)," "):null),r.createElement("div",{className:this.question.cssClasses.containersDivider}),r.createElement("div",{className:this.question.getContainerClasses("to"),"data-ranking":"to-container"},this.getItems(),this.question.renderedRankingChoices.length===0?r.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)," "):null))}else return r.createElement("div",{className:this.question.rootClass,ref:function(o){return e.setControl(o)}},this.getItems())},t.prototype.getItems=function(e,n){var o=this;e===void 0&&(e=this.question.renderedRankingChoices);for(var s=[],a=function(m){var f=e[m];s.push(c.renderItem(f,m,function(g){o.question.handleKeydown.call(o.question,g,f)},function(g){g.persist(),o.question.handlePointerDown.call(o.question,g,f,g.currentTarget)},function(g){g.persist(),o.question.handlePointerUp.call(o.question,g,f,g.currentTarget)},c.question.cssClasses,c.question.getItemClass(f),c.question,n))},c=this,h=0;h<e.length;h++)a(h);return s},t.prototype.renderItem=function(e,n,o,s,a,c,h,m,f){""+e.renderedId;var g=this.renderLocString(e.locText),y=n,w=this.question.getNumberByIndex(y),S=this.question.getItemTabIndex(e),B=r.createElement(Qe,{key:e.uniqueId,text:g,index:y,indexText:w,itemTabIndex:S,handleKeydown:o,handlePointerDown:s,handlePointerUp:a,cssClasses:c,itemClass:h,question:m,unrankedItem:f,item:e}),$=this.question.survey,D=null;return $&&(D=x.wrapItemValue($,B,this.question,e)),D??B},t})(q),Qe=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"text",{get:function(){return this.props.text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indexText",{get:function(){return this.props.indexText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handleKeydown",{get:function(){return this.props.handleKeydown},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handlePointerDown",{get:function(){return this.props.handlePointerDown},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handlePointerUp",{get:function(){return this.props.handlePointerUp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemClass",{get:function(){return this.props.itemClass},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemTabIndex",{get:function(){return this.props.itemTabIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unrankedItem",{get:function(){return this.props.unrankedItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.renderEmptyIcon=function(){return r.createElement("svg",null,r.createElement("use",{xlinkHref:this.question.dashSvgIcon}))},t.prototype.renderElement=function(){var e=d.Instance.createElement(this.question.itemComponent,{item:this.item,cssClasses:this.cssClasses});return r.createElement("div",{id:this.question.getItemId(this.item),tabIndex:this.itemTabIndex,className:this.itemClass,onKeyDown:this.handleKeydown,onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,"data-sv-drop-target-ranking-item":this.index},r.createElement("div",{tabIndex:-1,style:{outline:"none"}},r.createElement("div",{className:this.cssClasses.itemGhostNode}),r.createElement("div",{className:this.cssClasses.itemContent},r.createElement("div",{className:this.cssClasses.itemIconContainer},r.createElement("svg",{className:this.question.getIconHoverCss()},r.createElement("use",{xlinkHref:this.question.dragDropSvgIcon})),r.createElement("svg",{className:this.question.getIconFocusCss()},r.createElement("use",{xlinkHref:this.question.arrowsSvgIcon}))),r.createElement("div",{className:this.question.getItemIndexClasses(this.item)},!this.unrankedItem&&this.indexText?this.indexText:this.renderEmptyIcon()),e)))},t})(E),Ze=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return r.createElement("div",{className:this.cssClasses.controlLabel},v.renderLocString(this.item.locText))},t})(E);d.Instance.registerElement("sv-ranking-item",function(i){return r.createElement(Ze,i)}),b.Instance.registerQuestion("ranking",function(i){return r.createElement(Te,i)});var oe=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnMouseDown=n.handleOnMouseDown.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},t})(v),_e=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this.renderLocString(this.item.locText);return r.createElement("label",{className:this.item.className,onMouseDown:this.handleOnMouseDown},r.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-label":this.question.ariaLabel}),r.createElement("span",{className:this.question.cssClasses.itemText,"data-text":this.item.text},e))},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this)},t})(oe);d.Instance.registerElement("sv-rating-item",function(i){return r.createElement(_e,i)});var Ae=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this;return r.createElement("label",{className:this.item.className,onMouseDown:this.handleOnMouseDown,onMouseOver:function(n){return e.question.onItemMouseIn(e.item)},onMouseOut:function(n){return e.question.onItemMouseOut(e.item)},title:this.item.text},r.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-label":this.question.ariaLabel}),r.createElement(C,{className:"sv-star",size:"auto",iconName:this.question.itemStarIcon}),r.createElement(C,{className:"sv-star-2",size:"auto",iconName:this.question.itemStarIconAlt}))},t})(oe);d.Instance.registerElement("sv-rating-item-star",function(i){return r.createElement(Ae,i)});var je=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this;return r.createElement("label",{style:this.item.style,className:this.item.className,onMouseDown:this.handleOnMouseDown,onMouseOver:function(n){return e.question.onItemMouseIn(e.item)},onMouseOut:function(n){return e.question.onItemMouseOut(e.item)},title:this.item.text},r.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-label":this.question.ariaLabel}),r.createElement(C,{size:"auto",iconName:this.question.getItemSmileyIconName(this.item)}))},t})(oe);d.Instance.registerElement("sv-rating-item-smiley",function(i){return r.createElement(je,i)});var We=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){if(!this.item)return null;var e=this.props.item,n=this.renderDescription(e);return r.createElement("div",{className:"sd-rating-dropdown-item"},r.createElement("span",{className:"sd-rating-dropdown-item_text"},e.title),n)},t.prototype.renderDescription=function(e){return e.description?r.createElement("div",{className:"sd-rating-dropdown-item_description"},this.renderLocString(e.description,void 0,"locString")):null},t})(v);d.Instance.registerElement("sv-rating-dropdown-item",function(i){return r.createElement(We,i)});var se=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateDomElement()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.updateDomElement()},t.prototype.updateDomElement=function(){if(this.inputElement){var e=this.inputElement,n=this.model.inputStringRendered;p.Helpers.isTwoValueEquals(n,e.value,!1,!0,!1)||(e.value=this.model.inputStringRendered)}},t.prototype.onChange=function(e){var n,o=(n=e.target.getRootNode())===null||n===void 0?void 0:n.activeElement;e.target===o&&(this.model.inputStringRendered=e.target.value)},t.prototype.keyhandler=function(e){this.model.inputKeyHandler(e)},t.prototype.onBlur=function(e){this.question.onBlur(e)},t.prototype.onFocus=function(e){this.question.onFocus(e)},t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;return r.createElement("div",{className:this.question.cssClasses.hint},this.model.showHintPrefix?r.createElement("div",{className:this.question.cssClasses.hintPrefix},r.createElement("span",null,this.model.hintStringPrefix)):null,r.createElement("div",{className:this.question.cssClasses.hintSuffixWrapper},this.model.showHintString?r.createElement("div",{className:this.question.cssClasses.hintSuffix},r.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},this.model.inputStringRendered),r.createElement("span",null,this.model.hintStringSuffix)):null,r.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),inputMode:this.model.inputMode,ref:function(n){return e.inputElement=n},className:this.question.cssClasses.filterStringInput,disabled:this.question.isInputReadOnly,readOnly:this.model.filterReadOnly?!0:void 0,size:this.model.inputStringRendered?void 0:1,role:this.model.ariaInputRole,"aria-required":this.model.ariaInputRequired,"aria-invalid":this.model.ariaInputInvalid,"aria-errormessage":this.model.ariaInputErrorMessage,"aria-expanded":this.model.ariaInputExpanded,"aria-label":this.model.ariaInputLabel,"aria-labelledby":this.model.ariaInputLabelledby,"aria-describedby":this.model.ariaInputDescribedby,"aria-controls":this.model.ariaInputControls,"aria-activedescendant":this.model.ariaInputActivedescendant,placeholder:this.model.filterStringPlaceholder,onKeyDown:function(n){e.keyhandler(n)},onChange:function(n){e.onChange(n)},onBlur:function(n){e.onBlur(n)},onFocus:function(n){e.onFocus(n)}})))},t})(v);b.Instance.registerQuestion("sv-tagbox-filter",function(i){return r.createElement(se,i)});var Ue=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={changed:0},n.setupModel(),n}return t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.setupModel()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.setupModel()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.item&&(this.item.locText.onChanged=function(){})},t.prototype.setupModel=function(){if(this.item.locText){var e=this;this.item.locText.onChanged=function(){e.setState({changed:e.state.changed+1})}}},t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.item},t.prototype.renderElement=function(){return r.createElement("option",{value:this.item.value,disabled:!this.item.isEnabled},this.item.text)},t})(E),T=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.click=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.onClick(n)},e.chevronPointerDown=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.chevronPointerDown(n)},e.clear=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.onClear(n)},e.keyhandler=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.keyHandler(n)},e.blur=function(n){e.updateInputDomElement(),e.question.onBlur(n)},e.focus=function(n){e.question.onFocus(n)},e}return Object.defineProperty(t.prototype,"dropdownListModel",{get:function(){return this.question.dropdownListModel},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.question.dropdownListModel},t.prototype.setValueCore=function(e){this.questionBase.renderedValue=e},t.prototype.getValueCore=function(){return this.questionBase.renderedValue},t.prototype.renderReadOnlyElement=function(){return this.question.readOnlyText?r.createElement("div",{className:this.question.cssClasses.controlValue},this.renderLocString(this.question.locReadOnlyText)):null},t.prototype.renderSelect=function(e){var n=this,o=null,s=this.dropdownListModel;return this.question.isReadOnly?o=r.createElement("div",{id:this.question.inputId,role:s?.ariaQuestionRole,"aria-label":s?.ariaQuestionLabel,"aria-labelledby":s?.ariaQuestionLabelledby,"aria-describedby":s?.ariaQuestionDescribedby,"aria-expanded":"false","aria-readonly":"true","aria-disabled":"true",tabIndex:this.question.isDisabledAttr?void 0:0,className:this.question.getControlClass(),ref:function(a){return n.setControl(a)}},this.renderReadOnlyElement(),this.renderEditorButtons()):o=r.createElement(r.Fragment,null,this.renderInput(),this.question.isInputReadOnly?null:r.createElement(H,{model:s.popupModel})),r.createElement("div",{className:e.selectWrapper,onClick:this.click},o)},t.prototype.renderValueElement=function(){return this.question.showInputFieldComponent?d.Instance.createElement(this.question.inputFieldComponentName,{item:this.dropdownListModel.getSelectedAction(),question:this.question}):this.question.showSelectedItemLocText?this.renderLocString(this.question.selectedItemLocText):null},t.prototype.renderInput=function(){var e=this,n=this.dropdownListModel,o=this.renderValueElement();return r.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:n.noTabIndex?void 0:0,disabled:this.question.isDisabledAttr,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,onFocus:this.focus,role:n.ariaQuestionRole,"aria-required":n.ariaQuestionRequired,"aria-invalid":n.ariaQuestionInvalid,"aria-errormessage":n.ariaQuestionErrorMessage,"aria-expanded":n.ariaQuestionExpanded,"aria-label":n.ariaQuestionLabel,"aria-labelledby":n.ariaQuestionLabelledby,"aria-describedby":n.ariaQuestionDescribedby,"aria-controls":n.ariaQuestionControls,"aria-activedescendant":n.ariaQuestionActivedescendant,ref:function(s){return e.setControl(s)}},n.showHintPrefix?r.createElement("div",{className:this.question.cssClasses.hintPrefix},r.createElement("span",null,n.hintStringPrefix)):null,r.createElement("div",{className:this.question.cssClasses.controlValue},n.showHintString?r.createElement("div",{className:this.question.cssClasses.hintSuffix},r.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},n.inputStringRendered),r.createElement("span",null,n.hintStringSuffix)):null,o,n.needRenderInput?this.renderFilterInput():null),this.renderEditorButtons())},t.prototype.renderFilterInput=function(){var e=this;p.settings.environment.root;var n=this.dropdownListModel,o=function(s){var a,c=(a=s.target.getRootNode())===null||a===void 0?void 0:a.activeElement;s.target===c&&(n.inputStringRendered=s.target.value)};return r.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),ref:function(s){return e.inputElement=s},className:this.question.cssClasses.filterStringInput,role:n.ariaInputRole,"aria-required":n.ariaInputRequired,"aria-invalid":n.ariaInputInvalid,"aria-errormessage":n.ariaInputErrorMessage,"aria-expanded":n.ariaInputExpanded,"aria-label":n.ariaInputLabel,"aria-labelledby":n.ariaInputLabelledby,"aria-describedby":n.ariaInputDescribedby,"aria-controls":n.ariaInputControls,"aria-activedescendant":n.ariaInputActivedescendant,placeholder:n.placeholderRendered,readOnly:n.filterReadOnly?!0:void 0,tabIndex:n.noTabIndex?void 0:-1,disabled:this.question.isDisabledAttr,inputMode:n.inputMode,onChange:function(s){o(s)},onBlur:this.blur,onFocus:this.focus})},t.prototype.renderOther=function(e,n){return!e||!e.isCommentShowing?null:r.createElement("div",{key:e.uniqueId,className:this.question.getCommentAreaCss(!0)},r.createElement(re,{question:this.question,item:e,cssClasses:this.question.cssClasses}))},t.prototype.renderEditorButtons=function(){return r.createElement(L,{model:this.dropdownListModel.editorButtons})},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateInputDomElement()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.updateInputDomElement()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.dropdownListModel&&(this.question.dropdownListModel.focused=!1)},t.prototype.updateInputDomElement=function(){if(this.inputElement){var e=this.inputElement,n=this.question.dropdownListModel.inputStringRendered;p.Helpers.isTwoValueEquals(n,e.value,!1,!0,!1)||(e.value=this.question.dropdownListModel.inputStringRendered)}},t})(P),ae=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderOther(this.question.selectedItem,e),o=this.renderSelect(e);return r.createElement("div",{className:this.question.renderCssRoot},o,n)},t})(T);b.Instance.registerQuestion("dropdown",function(i){return r.createElement(ae,i)});var Fe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.item&&!!this.question},t.prototype.renderElement=function(){var e=this,n=this.renderLocString(this.item.locText),o=function(s){e.question.dropdownListModel.deselectItem(e.item.value),s.stopPropagation()};return r.createElement("div",{className:"sv-tagbox__item"},r.createElement("div",{className:"sv-tagbox__item-text"},n),r.createElement("div",{className:this.question.cssClasses.cleanItemButton,onClick:o},r.createElement(C,{className:this.question.cssClasses.cleanItemButtonSvg,iconName:this.question.cssClasses.cleanItemButtonIconId,size:"auto"})))},t})(E),ze=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderItem=function(e,n){var o=r.createElement(Fe,{key:e,question:this.question,item:n});return o},t.prototype.renderInput=function(){var e=this,n=this.dropdownListModel,o=this.question.selectedChoices.map(function(s,a){return e.renderItem("item"+a,s)});return r.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:n.noTabIndex?void 0:0,disabled:this.question.isInputReadOnly,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,role:n.ariaQuestionRole,"aria-required":n.ariaQuestionRequired,"aria-invalid":n.ariaQuestionInvalid,"aria-errormessage":n.ariaQuestionErrorMessage,"aria-label":n.ariaQuestionLabel,"aria-labelledby":n.ariaQuestionLabelledby,"aria-describedby":n.ariaQuestionDescribedby,"aria-expanded":n.ariaQuestionExpanded,"aria-controls":n.ariaQuestionControls,"aria-activedescendant":n.ariaQuestionActivedescendant,ref:function(s){return e.setControl(s)}},r.createElement("div",{className:this.question.cssClasses.controlValue},o,n.needRenderInput?r.createElement(se,{model:n,question:this.question}):null),this.renderEditorButtons())},t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderOther(this.question.otherItem,e),o=this.renderSelect(e);return r.createElement("div",{className:this.question.renderCssRoot},o,n)},t})(T);b.Instance.registerQuestion("tagbox",function(i){return r.createElement(ze,i)});var $e=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderSelect=function(e){var n=this,o=function(c){n.question.onClick(c)},s=function(c){n.question.onKeyUp(c)},a=this.isDisplayMode?r.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),disabled:!0},this.question.readOnlyText):r.createElement("select",{id:this.question.inputId,className:this.question.getControlClass(),ref:function(c){return n.setControl(c)},autoComplete:this.question.autocomplete,onChange:this.updateValueOnEvent,onInput:this.updateValueOnEvent,onClick:o,onKeyUp:s,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage,required:this.question.isRequired},this.question.allowClear?r.createElement("option",{value:""},this.question.placeholder):null,this.question.visibleChoices.map(function(c){return r.createElement(Ue,{key:c.uniqueId,item:c})}));return r.createElement("div",{className:e.selectWrapper},a,this.createChevronButton())},t.prototype.createChevronButton=function(){return this.question.cssClasses.chevronButtonIconId?r.createElement("div",{className:this.question.cssClasses.chevronButton,"aria-hidden":"true",onPointerDown:this.chevronPointerDown},r.createElement(C,{className:this.question.cssClasses.chevronButtonSvg,iconName:this.question.cssClasses.chevronButtonIconId,size:"auto"})):null},t})(ae);b.Instance.registerQuestion("sv-dropdown-select",function(i){return r.createElement($e,i)}),p.RendererFactory.Instance.registerRenderer("dropdown","select","sv-dropdown-select");var Ke=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={rowsChanged:0},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(i.prototype.componentDidMount.call(this),this.question){var e=this;this.question.visibleRowsChangedCallback=function(){e.setState({rowsChanged:e.state.rowsChanged+1})}}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question&&(this.question.visibleRowsChangedCallback=null)},t.prototype.renderElement=function(){for(var e=this,n=this.question.cssClasses,o=this.question.hasRows?r.createElement("td",null):null,s=[],a=0;a<this.question.visibleColumns.length;a++){var c=this.question.visibleColumns[a],h=this.renderLocString(c.locText),m={};this.question.columnMinWidth&&(m.minWidth=this.question.columnMinWidth,m.width=this.question.columnMinWidth),s.push(r.createElement("th",{className:this.question.cssClasses.headerCell,style:m,key:c.uniqueId},this.wrapCell({column:c},h,"column-header")))}for(var f=[],g=this.question.visibleRows,a=0;a<g.length;a++){var y=g[a];f.push(r.createElement(Ge,{key:y.uniqueId,question:this.question,cssClasses:n,row:y,isFirst:a==0}))}var w=this.question.showHeader?r.createElement("thead",{role:"presentation"},r.createElement("tr",null,o,s)):null;return r.createElement("div",{className:this.question.getTableWrapperCss(),ref:function(S){return e.setControl(S)}},r.createElement("fieldset",{role:"radiogroup"},r.createElement("legend",{className:"sv-visuallyhidden"},this.question.locTitle.renderedHtml),r.createElement("table",{className:this.question.getTableCss(),role:"presentation"},w,r.createElement("tbody",null,f))))},t})(q),Ge=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElement=function(){return this.row?this.row.item:i.prototype.getStateElement.call(this)},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),t.prototype.wrapCell=function(e,n,o){if(!o)return n;var s=this.question.survey,a=null;return s&&(a=x.wrapMatrixCell(s,n,e,o)),a??n},t.prototype.canRender=function(){return!!this.row},t.prototype.renderElement=function(){var e=null;if(this.question.hasRows){var n=this.renderLocString(this.row.locText),o={};this.question.rowTitleWidth&&(o.minWidth=this.question.rowTitleWidth,o.width=this.question.rowTitleWidth),e=r.createElement("td",{style:o,className:this.row.rowTextClasses},this.wrapCell({row:this.row},n,"row-header"))}var s=this.generateTds();return r.createElement("tr",{className:this.row.rowClasses||void 0},e,s)},t.prototype.generateTds=function(){for(var e=this,n=[],o=this.row,s=this.question.cellComponent,a=function(){var m=null,f=c.question.visibleColumns[h],g=f.uniqueId,y=c.question.getItemClass(o,f);if(c.question.hasCellText){var w=function(B){return function(){return e.cellClick(o,B)}};m=r.createElement("td",{key:g,className:y,onClick:w?w(f):function(){}},c.renderLocString(c.question.getCellDisplayLocText(o.name,f)))}else{var S=d.Instance.createElement(s,{question:c.question,row:c.row,column:f,columnIndex:h,cssClasses:c.cssClasses,cellChanged:function(){e.cellClick(e.row,f)}});m=r.createElement("td",{key:g,"data-responsive-title":f.locText.renderedHtml,className:c.question.cssClasses.cell},S)}n.push(m)},c=this,h=0;h<this.question.visibleColumns.length;h++)a();return n},t.prototype.cellClick=function(e,n){e.cellClick(n),this.setState({value:e.value})},t})(E),Je=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnMouseDown=n.handleOnMouseDown.bind(n),n.handleOnChange=n.handleOnChange.bind(n),n}return t.prototype.handleOnChange=function(e){this.props.cellChanged&&this.props.cellChanged(),this.setState({value:this.row.isChecked(this.column)})},t.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnIndex",{get:function(){return this.props.columnIndex},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.question&&!!this.row},t.prototype.renderElement=function(){var e=this.row.isChecked(this.column),n=this.question.inputId+"_"+this.row.name+"_"+this.columnIndex,o=this.question.getItemClass(this.row,this.column),s=this.question.getItemSvgIcon(this.row,this.column),a=this.question.isMobile?r.createElement("span",{className:this.question.cssClasses.cellResponsiveTitle},this.renderLocString(this.column.locText)):void 0;return r.createElement("label",{onMouseDown:this.handleOnMouseDown,className:o},this.renderInput(n,e),r.createElement("span",{className:this.question.cssMaterialDecorator},s?r.createElement("svg",{className:this.question.cssItemDecorator},r.createElement("use",{xlinkHref:s})):null),a)},t.prototype.renderInput=function(e,n){return r.createElement("input",{id:e,type:this.question.checkType,className:this.question.cssItemValue,name:this.row.fullName,value:this.column.value,disabled:this.row.isDisabledAttr,readOnly:this.row.isReadOnlyAttr,checked:n,onChange:this.handleOnChange,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.getCellAriaLabel(this.row,this.column),"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage})},t})(E);d.Instance.registerElement("survey-matrix-cell",function(i){return r.createElement(Je,i)}),b.Instance.registerQuestion("matrix",function(i){return r.createElement(Ke,i)});var Xe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.reactOnStrChanged()},t.prototype.componentWillUnmount=function(){this.question.locHtml.onChanged=function(){}},t.prototype.componentDidUpdate=function(e,n){this.reactOnStrChanged()},t.prototype.reactOnStrChanged=function(){var e=this;this.question.locHtml.onChanged=function(){e.setState({changed:e.state&&e.state.changed?e.state.changed+1:1})}},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&!!this.question.html},t.prototype.renderElement=function(){var e={__html:this.question.locHtml.renderedHtml};return r.createElement("div",{className:this.question.renderCssRoot,dangerouslySetInnerHTML:e})},t})(q);b.Instance.registerQuestion("html",function(i){return r.createElement(Xe,i)});var le=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){return r.createElement("div",{className:"sd-loading-indicator"},r.createElement(C,{iconName:"icon-loading",size:"auto"}))},t})(r.Component),Ye=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.allowShowPreview?this.renderPreview():null,o=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,s=this.question.isPlayingVideo?this.renderVideo():null,a=this.question.showFileDecorator?this.renderFileDecorator():null,c=this.question.fileNavigatorVisible?r.createElement(L,{model:this.question.fileNavigator}):null,h=this.question.renderedAcceptedTypes,m=this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,f=this.isDisplayMode?{color:"transparent"}:{},g;return this.question.isReadOnlyAttr?g=r.createElement("input",{readOnly:!0,type:"file",className:m,id:this.question.inputId,ref:function(y){return e.setControl(y)},style:f,multiple:this.question.allowMultiple,placeholder:this.question.title,accept:h}):this.question.isDisabledAttr?g=r.createElement("input",{disabled:!0,type:"file",className:m,id:this.question.inputId,ref:function(y){return e.setControl(y)},style:f,multiple:this.question.allowMultiple,placeholder:this.question.title,accept:h}):this.question.hasFileUI?g=r.createElement("input",{type:"file",disabled:this.isDisplayMode,tabIndex:-1,className:m,id:this.question.inputId,ref:function(y){return e.setControl(y)},style:f,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,multiple:this.question.allowMultiple,title:this.question.inputTitle,accept:h,capture:this.question.renderCapture}):g=null,r.createElement("div",{className:this.question.fileRootCss,ref:function(y){return e.setContent(y)}},g,r.createElement("div",{className:this.question.cssClasses.dragArea,onDrop:this.question.onDrop,onDragOver:this.question.onDragOver,onDragLeave:this.question.onDragLeave,onDragEnter:this.question.onDragEnter},a,o,s,n,c))},t.prototype.renderFileDecorator=function(){var e=this.question.actionsContainerVisible?r.createElement(L,{model:this.question.actionsContainer}):null;return r.createElement("div",{className:this.question.getFileDecoratorCss()},this.question.showDragAreaPlaceholder?r.createElement("span",{className:this.question.cssClasses.dragAreaPlaceholder},this.renderLocString(this.question.locRenderedPlaceholder)):!1,r.createElement("div",{className:this.question.cssClasses.wrapper},e))},t.prototype.renderPreview=function(){return d.Instance.createElement("sv-file-preview",{question:this.question})},t.prototype.renderLoadingIndicator=function(){return r.createElement("div",{className:this.question.cssClasses.loadingIndicator},r.createElement(le,null))},t.prototype.renderVideo=function(){return r.createElement("div",{className:this.question.cssClasses.videoContainer},r.createElement(V,{item:this.question.changeCameraAction}),r.createElement(V,{item:this.question.closeCameraAction}),r.createElement("video",{autoPlay:!0,playsInline:!0,id:this.question.videoId,className:this.question.cssClasses.video}),r.createElement(V,{item:this.question.takePictureAction}))},t})(q);b.Instance.registerQuestion("file",function(i){return r.createElement(Ye,i)});var et=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return W(r.createElement("label",{tabIndex:0,className:this.question.getChooseFileCss(),htmlFor:this.question.inputId,"aria-label":this.question.chooseButtonText,onClick:function(n){return e.question.chooseFile(n.nativeEvent)}},this.question.cssClasses.chooseFileIconId?r.createElement(C,{title:this.question.chooseButtonText,iconName:this.question.cssClasses.chooseFileIconId,size:"auto"}):null,r.createElement("span",null,this.question.chooseButtonText)))},t})(E);d.Instance.registerElement("sv-file-choose-btn",function(i){return r.createElement(et,i)});var gi=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this.props.page},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.page.items.map(function(o,s){return d.Instance.createElement("sv-file-item",{item:o,question:e.question,key:s})});return r.createElement("div",{className:this.page.css,id:this.page.id},n)},t})(v),tt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.renderFileSign=function(e,n){var o=this;return!e||!n.name?null:r.createElement("div",{className:e},r.createElement("a",{href:n.content,onClick:function(s){o.question.doDownloadFile(s,n)},title:n.name,download:n.name,style:{width:this.question.imageWidth}},n.name))},t.prototype.renderElement=function(){var e=this,n=this.question.renderedPages.map(function(o,s){return r.createElement(gi,{page:o,question:e.question,key:o.id})});return r.createElement("div",{className:this.question.cssClasses.fileList||void 0},n)},t.prototype.canRender=function(){return this.question.showPreviewContainer},t})(v);d.Instance.registerElement("sv-file-preview",function(i){return r.createElement(tt,i)});var nt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.renderFileSign=function(e,n){var o=this;return!e||!n.name?null:r.createElement("div",{className:e},r.createElement("a",{href:n.content,onClick:function(s){o.question.doDownloadFile(s,n)},title:n.name,download:n.name,target:"_blank",rel:"noreferrer",style:{width:this.question.imageWidth}},n.name))},t.prototype.renderElement=function(){var e=this,n=this.item;return r.createElement("span",{className:this.question.cssClasses.previewItem,onClick:function(o){return e.question.doDownloadFileFromContainer(o)}},this.renderFileSign(this.question.cssClasses.fileSign,n),r.createElement("div",{className:this.question.getImageWrapperCss(n)},this.question.canPreviewImage(n)?r.createElement("img",{src:n.content,style:{height:this.question.imageHeight,width:this.question.imageWidth},alt:"File preview"}):this.question.cssClasses.defaultImage?r.createElement(C,{iconName:this.question.cssClasses.defaultImageIconId,size:"auto",className:this.question.cssClasses.defaultImage}):null,n.name&&!this.question.isReadOnly?r.createElement("div",{className:this.question.getRemoveButtonCss(),onClick:function(o){return e.question.doRemoveFile(n,o)}},r.createElement("span",{className:this.question.cssClasses.removeFile},this.question.removeFileCaption),this.question.cssClasses.removeFileSvgIconId?r.createElement(C,{title:this.question.removeFileCaption,iconName:this.question.cssClasses.removeFileSvgIconId,size:"auto",className:this.question.cssClasses.removeFileSvg}):null):null),this.renderFileSign(this.question.cssClasses.fileSignBottom,n))},t.prototype.canRender=function(){return this.question.showPreviewContainer},t})(v);d.Instance.registerElement("sv-file-item",function(i){return r.createElement(nt,i)});var rt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){for(var e=this.question.cssClasses,n=this.question.getRows(),o=[],s=0;s<n.length;s++)n[s].isVisible&&o.push(this.renderRow(s,n[s].cells,e));return r.createElement("table",{className:this.question.getQuestionRootCss()},r.createElement("tbody",null,o))},t.prototype.renderCell=function(e,n,o){var s,a=function(){e.item.focusIn()};return e.isErrorsCell?s=r.createElement(ke,{question:e.item.editor,creator:this.creator}):s=r.createElement(Ci,{question:this.question,item:e.item,creator:this.creator,cssClasses:n}),r.createElement("td",{key:e.item.id,className:e.className,onFocus:a},s)},t.prototype.renderRow=function(e,n,o){for(var s="item"+e,a=[],c=0;c<n.length;c++){var h=n[c];a.push(this.renderCell(h,o,c))}return r.createElement("tr",{key:s,className:o.row},a)},t})(q),Ci=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElements=function(){return[this.item,this.item.editor]},Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this.item,n=this.cssClasses,o={};return this.question.itemTitleWidth&&(o.minWidth=this.question.itemTitleWidth,o.width=this.question.itemTitleWidth),r.createElement("label",{className:this.question.getItemLabelCss(e)},r.createElement("span",{className:n.itemTitle,style:o},r.createElement(ye,{element:e.editor,cssClasses:e.editor.cssClasses})),r.createElement(yi,{cssClasses:n,itemCss:this.question.getItemCss(),question:e.editor,creator:this.creator}))},t})(E),yi=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.renderElement=function(){return r.createElement("div",{className:this.itemCss},this.renderContent())},t})(Ne);b.Instance.registerQuestion("multipletext",function(i){return r.createElement(rt,i)});var it=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getFooter=function(){return r.createElement(r.Fragment,null,i.prototype.getFooter.call(this),this.renderClearButton())},t.prototype.renderClearButton=function(){var e=this;return this.question.showClearButtonInContent?r.createElement("div",null,r.createElement("input",{type:"button",className:this.question.cssClasses.clearButton,onClick:function(){return e.question.clearValueFromUI()},value:this.question.clearButtonCaption})):null},t.prototype.getStateValue=function(){return this.question.isEmpty()?"":this.question.renderedValue},t.prototype.isItemChecked=function(e,n){return e.value===n},t})(Pe),ue=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnMouseDown=n.handleOnMouseDown.bind(n),n}return t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isChecked",{get:function(){return this.props.isChecked},enumerable:!1,configurable:!0}),t.prototype.doOnItemChange=function(e){this.question.clickItemHandler(this.item)},t.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},t.prototype.renderElementContent=function(){return this.renderRadioButton()},t.prototype.renderRadioButton=function(){var e=this.question.getItemClass(this.item),n=this.question.getLabelClass(this.item),o=this.question.getControlLabelClass(this.item),s=this.hideCaption?null:r.createElement("span",{className:o},this.renderLocString(this.item.locText,this.textStyle));return r.createElement("div",{className:e,role:"presentation",ref:this.rootRef},r.createElement("label",{onMouseDown:this.handleOnMouseDown,className:n},r.createElement("input",{"aria-errormessage":this.question.ariaErrormessage,className:this.cssClasses.itemControl,id:this.question.getItemId(this.item),type:"radio",name:this.question.questionName,checked:this.isChecked,value:this.item.value,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,"aria-label":this.ariaLabel}),this.cssClasses.materialDecorator?r.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?r.createElement("svg",{className:this.cssClasses.itemDecorator},r.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,s))},t})(Ve);d.Instance.registerElement("survey-radiogroup-item",function(i){return r.createElement(ue,i)}),b.Instance.registerQuestion("radiogroup",function(i){return r.createElement(it,i)});var ot=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderInput=function(){var e=this,n=this.question.getControlClass(),o=this.question.renderedPlaceholder;if(this.question.isReadOnlyRenderDiv())return r.createElement("div",null,this.question.inputValue);var s=this.question.getMaxLength()?r.createElement(F,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter}):null;return r.createElement(r.Fragment,null,r.createElement("input",{id:this.question.inputId,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:n,type:this.question.inputType,ref:function(a){return e.setControl(a)},style:this.question.inputStyle,maxLength:this.question.getMaxLength(),min:this.question.renderedMin,max:this.question.renderedMax,step:this.question.renderedStep,size:this.question.inputSize,placeholder:o,list:this.question.dataListId,autoComplete:this.question.autocomplete,onBlur:function(a){e.question.onBlur(a)},onFocus:function(a){e.question.onFocus(a)},onChange:this.question.onChange,onClick:this.question.readOnlyBlocker,onPointerDown:this.question.readOnlyBlocker,onKeyUp:this.question.onKeyUp,onKeyDown:this.question.onKeyDown,onCompositionUpdate:function(a){return e.question.onCompositionUpdate(a.nativeEvent)},"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),s)},t.prototype.renderElement=function(){return this.question.dataListId?r.createElement("div",null,this.renderInput(),this.renderDataList()):this.renderInput()},t.prototype.setValueCore=function(e){this.question.inputValue=e},t.prototype.getValueCore=function(){return this.question.inputValue},t.prototype.renderDataList=function(){if(!this.question.dataListId)return null;var e=this.question.dataList;if(e.length==0)return null;for(var n=[],o=0;o<e.length;o++)n.push(r.createElement("option",{key:"item"+o,value:e[o]}));return r.createElement("datalist",{id:this.question.dataListId},n)},t})(P);b.Instance.registerQuestion("text",function(i){return r.createElement(ot,i)});var z=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnChange=n.handleOnChange.bind(n),n.handleOnClick=n.handleOnClick.bind(n),n.handleOnLabelClick=n.handleOnLabelClick.bind(n),n.handleOnSwitchClick=n.handleOnSwitchClick.bind(n),n.handleOnKeyDown=n.handleOnKeyDown.bind(n),n.checkRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.question},Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.doCheck=function(e){this.question.booleanValue=e},t.prototype.handleOnChange=function(e){this.doCheck(e.target.checked)},t.prototype.handleOnClick=function(e){this.question.onLabelClick(e,!0)},t.prototype.handleOnSwitchClick=function(e){this.question.onSwitchClickModel(e.nativeEvent)},t.prototype.handleOnLabelClick=function(e,n){this.question.onLabelClick(e,n)},t.prototype.handleOnKeyDown=function(e){this.question.onKeyDownCore(e)},t.prototype.updateDomElement=function(){if(this.question){var e=this.checkRef.current;e&&(e.indeterminate=this.question.isIndeterminate),this.setControl(e),i.prototype.updateDomElement.call(this)}},t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses,o=this.question.getItemCss();return r.createElement("div",{className:n.root,onKeyDown:this.handleOnKeyDown},r.createElement("label",{className:o},r.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:n.control,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),r.createElement("div",{className:n.sliderGhost,onClick:function(s){return e.handleOnLabelClick(s,e.question.swapOrder)}},r.createElement("span",{className:this.question.getLabelCss(this.question.swapOrder)},this.renderLocString(this.question.locLabelLeft))),r.createElement("div",{className:n.switch,onClick:this.handleOnSwitchClick},r.createElement("span",{className:n.slider},this.question.isDeterminated&&n.sliderText?r.createElement("span",{className:n.sliderText},this.renderLocString(this.question.getCheckedLabel())):null)),r.createElement("div",{className:n.sliderGhost,onClick:function(s){return e.handleOnLabelClick(s,!e.question.swapOrder)}},r.createElement("span",{className:this.question.getLabelCss(!this.question.swapOrder)},this.renderLocString(this.question.locLabelRight)))))},t})(q);b.Instance.registerQuestion("boolean",function(i){return r.createElement(z,i)});var st=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.question.getCheckboxItemCss(),o=this.question.canRenderLabelDescription?v.renderQuestionDescription(this.question):null;return r.createElement("div",{className:e.rootCheckbox},r.createElement("div",{className:n},r.createElement("label",{className:e.checkboxLabel},r.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:e.controlCheckbox,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),r.createElement("span",{className:e.checkboxMaterialDecorator},this.question.svgIcon?r.createElement("svg",{className:e.checkboxItemDecorator},r.createElement("use",{xlinkHref:this.question.svgIcon})):null,r.createElement("span",{className:"check"})),this.question.isLabelRendered&&r.createElement("span",{className:e.checkboxControlLabel,id:this.question.labelRenderedAriaID},r.createElement(A,{element:this.question,cssClasses:this.question.cssClasses}))),o))},t})(z);b.Instance.registerQuestion("sv-boolean-checkbox",function(i){return r.createElement(st,i)}),p.RendererFactory.Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox");var at=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderRadioItem=function(e,n){var o=this,s=this.question.cssClasses,a=function(){o.question.value=e};return r.createElement("div",{role:"presentation",className:this.question.getRadioItemClass(s,e)},r.createElement("label",{className:s.radioLabel},r.createElement("input",{type:"radio",name:this.question.name,value:e,"aria-errormessage":this.question.ariaErrormessage,checked:e===this.question.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:s.itemRadioControl,onChange:a}),this.question.cssClasses.materialRadioDecorator?r.createElement("span",{className:s.materialRadioDecorator},this.question.itemSvgIcon?r.createElement("svg",{className:s.itemRadioDecorator},r.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,r.createElement("span",{className:s.radioControlLabel},this.renderLocString(n))))},t.prototype.renderElement=function(){var e=this.question.cssClasses;return r.createElement("div",{className:e.rootRadio},r.createElement("fieldset",{role:"presentation",className:e.radioFieldset},this.question.swapOrder?r.createElement(r.Fragment,null,this.renderRadioItem(this.question.getValueTrue(),this.question.locLabelTrue),this.renderRadioItem(this.question.getValueFalse(),this.question.locLabelFalse)):r.createElement(r.Fragment,null,this.renderRadioItem(this.question.getValueFalse(),this.question.locLabelFalse),this.renderRadioItem(this.question.getValueTrue(),this.question.locLabelTrue))))},t})(z);b.Instance.registerQuestion("sv-boolean-radio",function(i){return r.createElement(at,i)}),p.RendererFactory.Instance.registerRenderer("boolean","radio","sv-boolean-radio");var lt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={value:n.question.value},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return r.createElement("div",null)},t})(q);b.Instance.registerQuestion("empty",function(i){return r.createElement(lt,i)});var ce=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.root=r.createRef(),n.onPointerDownHandler=function(o){n.parentMatrix.onPointerDown(o.nativeEvent,n.model.row)},n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentMatrix",{get:function(){return this.props.parentMatrix},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.root.current&&this.model.setRootElement(this.root.current)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.model.setRootElement(void 0)},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(e.model!==this.model&&(e.element&&e.element.setRootElement(this.root.current),this.model&&this.model.setRootElement(void 0)),!0):!1},t.prototype.render=function(){var e=this.model;return e.visible?r.createElement("tr",{ref:this.root,className:e.className,"data-sv-drop-target-matrix-row":e.dropTargetId},this.props.children):null},t})(v);d.Instance.registerElement("sv-matrix-row",function(i){return r.createElement(ce,i)});var de=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this;return r.createElement("div",{onPointerDown:function(n){e.question.onPointerDown(n.nativeEvent,e.row)}},this.renderIcon())},t.prototype.renderIcon=function(){return this.question.iconDragElement?r.createElement("svg",{className:this.question.cssClasses.dragElementDecorator},r.createElement("use",{xlinkHref:this.question.iconDragElement})):r.createElement("span",{className:this.question.cssClasses.iconDrag})},t})(E);d.Instance.registerElement("sv-matrix-drag-drop-icon",function(i){return r.createElement(de,i)});var bi=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"table",{get:function(){return this.question.renderedTable},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.table},t.prototype.wrapCell=function(e,n,o){return this.props.wrapCell(e,n,o)},t.prototype.renderHeader=function(){var e=this.question.renderedTable;if(!e.showHeader)return null;for(var n=[],o=e.headerRow.cells,s=0;s<o.length;s++){var a=o[s],c="column"+s,h={};a.width&&(h.width=a.width),a.minWidth&&(h.minWidth=a.minWidth);var m=this.renderCellContent(a,"column-header",{}),f=a.hasTitle?r.createElement("th",{className:a.className,key:c,style:h}," ",m," "):r.createElement("td",{className:a.className,key:c,style:h});n.push(f)}return r.createElement("thead",null,r.createElement("tr",null,n))},t.prototype.renderFooter=function(){var e=this.question.renderedTable;if(!e.showFooter)return null;var n=this.renderRow("footer",e.footerRow,this.question.cssClasses,"row-footer");return r.createElement("tfoot",null,n)},t.prototype.renderRows=function(){for(var e=this.question.cssClasses,n=[],o=this.question.renderedTable.renderedRows,s=0;s<o.length;s++)n.push(this.renderRow(o[s].id,o[s],e));return r.createElement("tbody",null,n)},t.prototype.renderRow=function(e,n,o,s){for(var a=[],c=n.cells,h=0;h<c.length;h++)a.push(this.renderCell(c[h],o,s));var m="row"+e;return r.createElement(r.Fragment,{key:m},s=="row-footer"?r.createElement("tr",null,a):r.createElement(ce,{model:n,parentMatrix:this.question},a))},t.prototype.renderCell=function(e,n,o){var s="cell"+e.id;if(e.hasQuestion)return r.createElement(ct,{key:s,cssClasses:n,cell:e,creator:this.creator,reason:o});if(e.isErrorsCell&&e.isErrorsCell)return r.createElement(wi,{cell:e,key:s,keyValue:s,question:e.question,creator:this.creator});var a=o;a||(a=e.hasTitle?"row-header":"");var c=this.renderCellContent(e,a,n),h=null;return(e.width||e.minWidth)&&(h={},e.width&&(h.width=e.width),e.minWidth&&(h.minWidth=e.minWidth)),r.createElement("td",{className:e.className,key:s,style:h,colSpan:e.colSpans,title:e.getTitle()},c)},t.prototype.renderCellContent=function(e,n,o){var s=null,a=null;if((e.width||e.minWidth)&&(a={},e.width&&(a.width=e.width),e.minWidth&&(a.minWidth=e.minWidth)),e.hasTitle){n="row-header";var c=this.renderLocString(e.locTitle),h=e.column?r.createElement(ut,{column:e.column,question:this.question}):null;s=r.createElement(r.Fragment,null,c,h)}if(e.isDragHandlerCell&&(s=r.createElement(r.Fragment,null,r.createElement(de,{item:{data:{row:e.row,question:this.question}}}))),e.isActionsCell&&(s=d.Instance.createElement("sv-matrixdynamic-actions-cell",{question:this.question,cssClasses:o,cell:e,model:e.item.getData()})),e.hasPanel&&(s=r.createElement(N,{key:e.panel.id,element:e.panel,survey:this.question.survey,cssClasses:o,isDisplayMode:this.isDisplayMode,creator:this.creator})),!s)return null;var m=r.createElement(r.Fragment,null,s);return this.wrapCell(e,m,n)},t.prototype.renderElement=function(){var e=this.renderHeader(),n=this.renderFooter(),o=this.renderRows();return r.createElement("table",{className:this.question.getTableCss()},e,o,n)},t})(v),he=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.question.renderedTable,n.state=n.getState(),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getState=function(e){return e===void 0&&(e=null),{rowCounter:e?e.rowCounter+1:0}},t.prototype.updateStateOnCallback=function(){this.isRendering||this.setState(this.getState(this.state))},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),this.question.onRenderedTableResetCallback=function(){e.updateStateOnCallback()}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.onRenderedTableResetCallback=function(){}},t.prototype.renderElement=function(){return this.renderTableDiv()},t.prototype.renderTableDiv=function(){var e=this;return r.createElement("div",{className:this.question.getTableWrapperCss(),ref:function(n){return e.setControl(n)}},r.createElement(bi,{question:this.question,creator:this.creator,wrapCell:function(n,o,s){return e.wrapCell(n,o,s)}}))},t})(q),Ei=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return r.createElement(L,{model:this.model,handleClick:!1})},t})(E),wi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"key",{get:function(){return this.props.keyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),t.prototype.render=function(){return this.cell.isVisible?r.createElement("td",{className:this.cell.className,key:this.key,colSpan:this.cell.colSpans,title:this.cell.getTitle()},i.prototype.render.call(this)):null},t.prototype.getQuestionPropertiesToTrack=function(){return i.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"])},t})(ke);d.Instance.registerElement("sv-matrixdynamic-actions-cell",function(i){return r.createElement(Ei,i)});var ut=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.column},t.prototype.renderElement=function(){return this.column.isRenderedRequired?r.createElement(r.Fragment,null,r.createElement("span",null,"\xA0"),r.createElement("span",{className:this.question.cssClasses.cellRequiredMark},this.column.requiredMark)):null},t})(E),ct=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemCss",{get:function(){return this.cell?this.cell.className:""},enumerable:!1,configurable:!0}),t.prototype.getQuestion=function(){var e=i.prototype.getQuestion.call(this);return e||(this.cell?this.cell.question:null)},t.prototype.doAfterRender=function(){var e=this.cellRef.current;if(e&&this.cell&&this.question&&this.question.survey&&e.getAttribute("data-rendered")!=="r"){e.setAttribute("data-rendered","r");var n={cell:this.cell,cellQuestion:this.question,htmlElement:e,row:this.cell.row,column:this.cell.cell.column};this.question.survey.matrixAfterCellRender(n),this.question.afterRenderCore(e)}},t.prototype.getShowErrors=function(){return this.question.isVisible&&(!this.cell.isChoice||this.cell.isFirstChoice)},t.prototype.getCellStyle=function(){var e=i.prototype.getCellStyle.call(this);return(this.cell.width||this.cell.minWidth)&&(e||(e={}),this.cell.width&&(e.width=this.cell.width),this.cell.minWidth&&(e.minWidth=this.cell.minWidth)),e},t.prototype.getHeaderText=function(){return this.cell.headers},t.prototype.renderElement=function(){return this.cell.isVisible?i.prototype.renderElement.call(this):null},t.prototype.renderCellContent=function(){var e=i.prototype.renderCellContent.call(this),n=this.cell.showResponsiveTitle?r.createElement("span",{className:this.cell.responsiveTitleCss},this.renderLocString(this.cell.responsiveLocTitle),r.createElement(ut,{column:this.cell.column,question:this.cell.matrix})):null;return r.createElement(r.Fragment,null,n,e)},t.prototype.renderQuestion=function(){return this.question.isVisible?this.cell.isChoice?this.cell.isOtherChoice?this.renderOtherComment():this.cell.isCheckbox?this.renderCellCheckboxButton():this.renderCellRadiogroupButton():k.renderQuestionBody(this.creator,this.question):r.createElement(r.Fragment,null)},t.prototype.renderOtherComment=function(){var e=this.cell.question,n=e.cssClasses||{};return r.createElement(re,{question:e,item:e.otherItem,cssClasses:n})},t.prototype.renderCellCheckboxButton=function(){var e=this.cell.question.id+"item"+this.cell.choiceIndex;return r.createElement(ie,{key:e,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,isFirst:this.cell.isFirstChoice,index:this.cell.choiceIndex.toString(),hideCaption:!0,ariaLabel:this.getCellAriaLabel()})},t.prototype.renderCellRadiogroupButton=function(){var e=this.cell.question.id+"item"+this.cell.choiceIndex;return r.createElement(ue,{key:e,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,index:this.cell.choiceIndex.toString(),isChecked:this.cell.question.value===this.cell.item.value,isDisabled:this.cell.question.isReadOnly||!this.cell.item.isEnabled,hideCaption:!0,ariaLabel:this.getCellAriaLabel()})},t.prototype.getCellAriaLabel=function(){return this.question.parentQuestion.getCellAriaLabel(this.cell.row,this.cell.column)},t})(He),dt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t})(he);b.Instance.registerQuestion("matrixdropdown",function(i){return r.createElement(dt,i)});var ht=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnRowAddClick=n.handleOnRowAddClick.bind(n),n}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.handleOnRowAddClick=function(e){this.matrix.addRowUI()},t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.question.renderedTable.showTable,o=n?this.renderTableDiv():this.renderNoRowsContent(e);return r.createElement("div",null,this.renderAddRowButtonOnTop(e),o,this.renderAddRowButtonOnBottom(e))},t.prototype.renderAddRowButtonOnTop=function(e){return this.matrix.renderedTable.showAddRowOnTop?this.renderAddRowButton(e):null},t.prototype.renderAddRowButtonOnBottom=function(e){return this.matrix.renderedTable.showAddRowOnBottom?this.renderAddRowButton(e):null},t.prototype.renderNoRowsContent=function(e){return d.Instance.createElement("sv-placeholder-matrixdynamic",{cssClasses:e,question:this.matrix})},t.prototype.renderAddRowButton=function(e,n){return n===void 0&&(n=!1),d.Instance.createElement("sv-matrixdynamic-add-btn",{question:this.question,cssClasses:e,isEmptySection:n})},t})(he);b.Instance.registerQuestion("matrixdynamic",function(i){return r.createElement(ht,i)});var mt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnRowAddClick=n.handleOnRowAddClick.bind(n),n}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.handleOnRowAddClick=function(e){this.matrix.addRowUI()},t.prototype.renderElement=function(){var e=this.renderLocString(this.matrix.locAddRowText),n=r.createElement("button",{className:this.matrix.getAddRowButtonCss(this.props.isEmptySection),type:"button",disabled:this.matrix.isInputReadOnly,onClick:this.matrix.isDesignMode?void 0:this.handleOnRowAddClick},e,r.createElement("span",{className:this.props.cssClasses.iconAdd},this.cssClasses.iconAddId&&r.createElement("svg",null,r.createElement("use",{xlinkHref:this.cssClasses.iconAddId}))));return this.props.isEmptySection?n:r.createElement("div",{className:this.props.cssClasses.footer},n)},t})(E),qi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.props.cssClasses,n=this.props.question,o=n.renderedTable.showAddRow,s=this.renderLocString(n.locNoRowsText),a=r.createElement("div",{className:e.noRowsText},s),c=o?this.renderAddRowButton(e,n):void 0;return r.createElement("div",{className:e.noRowsSection},a,c)},t.prototype.renderAddRowButton=function(e,n){return d.Instance.createElement("sv-matrixdynamic-add-btn",{question:n,cssClasses:e,isEmptySection:!0})},t})(E);d.Instance.registerElement("sv-matrixdynamic-add-btn",function(i){return r.createElement(mt,i)}),d.Instance.registerElement("sv-placeholder-matrixdynamic",function(i){return r.createElement(qi,i)});var pt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.setState({panelCounter:0});var e=this;this.question.panelCountChangedCallback=function(){e.updateQuestionRendering()},this.question.currentIndexChangedCallback=function(){e.updateQuestionRendering()},this.question.renderModeChangedCallback=function(){e.updateQuestionRendering()}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.panelCountChangedCallback=function(){},this.question.currentIndexChangedCallback=function(){},this.question.renderModeChangedCallback=function(){}},t.prototype.updateQuestionRendering=function(){this.setState({panelCounter:this.state?this.state.panelCounter+1:1})},t.prototype.renderElement=function(){var e=this,n=[],o=this.question.cssClasses;this.question.renderedPanels.forEach(function(h,m){n.push(r.createElement(Li,{key:h.id,element:h,question:e.question,index:m,cssClasses:o,isDisplayMode:e.isDisplayMode,creator:e.creator}))});var s=this.question.isRangeShowing&&this.question.isProgressTopShowing?this.renderRange():null,a=this.renderNavigatorV2(),c=this.renderPlaceholder(o);return r.createElement("div",{className:o.root},this.question.hasTabbedMenu?r.createElement("div",{className:this.question.getTabsContainerCss()},r.createElement(L,{model:this.question.tabbedMenu})):null,c,s,r.createElement("div",{className:this.question.cssClasses.panelsContainer},n),a)},t.prototype.renderRange=function(){return r.createElement("div",{className:this.question.cssClasses.progress},r.createElement("div",{className:this.question.cssClasses.progressBar,style:{width:this.question.progress},role:"progressbar","aria-label":this.question.progressBarAriaLabel}))},t.prototype.renderAddRowButton=function(){return d.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:this.question}})},t.prototype.renderNavigatorV2=function(){if(!this.question.showNavigation)return null;var e=this.question.isRangeShowing&&this.question.isProgressBottomShowing?this.renderRange():null;return r.createElement("div",{className:this.question.cssClasses.footer},r.createElement("hr",{className:this.question.cssClasses.separator}),e,this.question.showFooterToolbar?r.createElement("div",{className:this.question.cssClasses.footerButtonsContainer},r.createElement(L,{model:this.question.footerToolbar})):null)},t.prototype.renderPlaceholder=function(e){return this.question.getShowNoEntriesPlaceholder()?d.Instance.createElement("sv-placeholder-paneldynamic",{cssClasses:e,question:this.question}):null},t})(q),Li=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),t.prototype.getSurvey=function(){return this.question?this.question.survey:null},t.prototype.getCss=function(){var e=this.getSurvey();return e?e.getCss():{}},t.prototype.render=function(){var e=i.prototype.render.call(this),n=this.renderButton(),o=this.question.showSeparator(this.index)?r.createElement("hr",{className:this.question.cssClasses.separator}):null;return r.createElement(r.Fragment,null,r.createElement("div",{className:this.question.getPanelWrapperCss(this.panel)},e,n),o)},t.prototype.renderButton=function(){return this.question.canRenderRemovePanelOnRight(this.panel)?d.Instance.createElement("sv-paneldynamic-remove-btn",{data:{question:this.question,panel:this.panel}}):null},t})(N);b.Instance.registerQuestion("paneldynamic",function(i){return r.createElement(pt,i)});var xi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.props.cssClasses,n=this.props.question;return r.createElement("div",{className:e.noEntriesPlaceholder},r.createElement("span",null,this.renderLocString(n.locNoEntriesText)),this.renderAddRowButton(n))},t.prototype.renderAddRowButton=function(e){return d.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:e}})},t})(E);d.Instance.registerElement("sv-placeholder-paneldynamic",function(i){return r.createElement(xi,i)});var Q=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"isTop",{get:function(){return this.props.isTop},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{get:function(){return this.survey.progressValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressBarAriaLabel",{get:function(){return this.survey.progressBarAriaLabel},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e={width:this.progress+"%"};return r.createElement("div",{className:this.survey.getProgressCssClasses(this.props.container)},r.createElement("div",{style:e,className:this.css.progressBar,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":this.progressBarAriaLabel},r.createElement("span",{className:p.SurveyProgressModel.getProgressTextInBarCss(this.css)},this.progressText)),r.createElement("span",{className:p.SurveyProgressModel.getProgressTextUnderBarCss(this.css)},this.progressText))},t})(U);d.Instance.registerElement("sv-progress-pages",function(i){return r.createElement(Q,i)}),d.Instance.registerElement("sv-progress-questions",function(i){return r.createElement(Q,i)}),d.Instance.registerElement("sv-progress-correctquestions",function(i){return r.createElement(Q,i)}),d.Instance.registerElement("sv-progress-requiredquestions",function(i){return r.createElement(Q,i)});var ft=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.listContainerRef=r.createRef(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.props.container},enumerable:!1,configurable:!0}),t.prototype.onResize=function(e){this.setState({canShowItemTitles:e}),this.setState({canShowHeader:!e})},t.prototype.onUpdateScroller=function(e){this.setState({hasScroller:e})},t.prototype.onUpdateSettings=function(){this.setState({canShowItemTitles:this.model.showItemTitles}),this.setState({canShowFooter:!this.model.showItemTitles})},t.prototype.render=function(){var e,n=this;return r.createElement("div",{className:this.model.getRootCss(this.props.container),style:(e={maxWidth:this.model.progressWidth},e["--sd-progress-buttons-pages-count"]=this.survey.visiblePages.length,e),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":this.model.progressBarAriaLabel},this.state.canShowHeader?r.createElement("div",{className:this.css.progressButtonsHeader},r.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.headerText},this.model.headerText)):null,r.createElement("div",{className:this.css.progressButtonsContainer},r.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!0),role:"button",onClick:function(){return n.clickScrollButton(n.listContainerRef.current,!0)}}),r.createElement("div",{className:this.css.progressButtonsListContainer,ref:this.listContainerRef},r.createElement("ul",{className:this.css.progressButtonsList},this.getListElements())),r.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!1),role:"button",onClick:function(){return n.clickScrollButton(n.listContainerRef.current,!1)}})),this.state.canShowFooter?r.createElement("div",{className:this.css.progressButtonsFooter},r.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.footerText},this.model.footerText)):null)},t.prototype.getListElements=function(){var e=this,n=[];return this.survey.visiblePages.forEach(function(o,s){n.push(e.renderListElement(o,s))}),n},t.prototype.renderListElement=function(e,n){var o=this,s=v.renderLocString(e.locNavigationTitle);return r.createElement("li",{key:"listelement"+n,className:this.model.getListElementCss(n),onClick:this.model.isListElementClickable(n)?function(){return o.model.clickListElement(e)}:void 0,"data-page-number":this.model.getItemNumber(e)},r.createElement("div",{className:this.css.progressButtonsConnector}),this.state.canShowItemTitles?r.createElement(r.Fragment,null,r.createElement("div",{className:this.css.progressButtonsPageTitle,title:e.renderedNavigationTitle},s),r.createElement("div",{className:this.css.progressButtonsPageDescription,title:e.navigationDescription},e.navigationDescription)):null,r.createElement("div",{className:this.css.progressButtonsButton},r.createElement("div",{className:this.css.progressButtonsButtonBackground}),r.createElement("div",{className:this.css.progressButtonsButtonContent}),r.createElement("span",null,this.model.getItemNumber(e))))},t.prototype.clickScrollButton=function(e,n){e&&(e.scrollLeft+=(n?-1:1)*70)},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),setTimeout(function(){e.respManager=new p.ProgressButtonsResponsivityManager(e.model,e.listContainerRef.current,e)},10)},t.prototype.componentWillUnmount=function(){this.respManager&&this.respManager.dispose(),i.prototype.componentWillUnmount.call(this)},t})(U);d.Instance.registerElement("sv-progress-buttons",function(i){return r.createElement(ft,i)});var vt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleKeydown=function(o){n.model.onKeyDown(o)},n.elementRef=r.createRef(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e=this;if(!this.item)return null;var n=this.model.getItemClass(this.item),o=this.item.component||this.model.itemComponent,s=d.Instance.createElement(o,{item:this.item,key:this.item.id,model:this.model}),a=r.createElement("div",{ref:this.elementRef,style:this.model.getItemStyle(this.item),className:this.model.cssClasses.itemBody,title:this.item.getTooltip(),onMouseOver:function(f){e.model.onItemHover(e.item)},onMouseLeave:function(f){e.model.onItemLeave(e.item)}},s),c=this.item.needSeparator?r.createElement("div",{className:this.model.cssClasses.itemSeparator}):null,h=this.model.isItemVisible(this.item),m={display:h?null:"none"};return W(r.createElement("li",{className:n,role:this.model.listItemRole,style:m,id:this.item.elementId,"aria-selected":this.model.getA11yItemAriaSelected(this.item),"aria-checked":this.model.getA11yItemAriaChecked(this.item),onClick:function(f){e.model.onItemClick(e.item),f.stopPropagation()},onPointerDown:function(f){return e.model.onPointerDown(f,e.item)}},c,a),this.item)},t.prototype.componentDidMount=function(){var e;i.prototype.componentDidMount.call(this),this.model.onItemRended(this.item,(e=this.elementRef)===null||e===void 0?void 0:e.current)},t})(v);d.Instance.registerElement("sv-list-item",function(i){return r.createElement(vt,i)});var me=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleKeydown=function(o){n.model.onKeyDown(o)},n.handleMouseMove=function(o){n.model.onMouseMove(o)},n.state={filterString:n.model.filterString||""},n.listContainerRef=r.createRef(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.listContainerRef&&this.listContainerRef.current&&this.model.initListContainerHtmlElement(this.listContainerRef.current)},t.prototype.componentDidUpdate=function(e,n){var o;i.prototype.componentDidUpdate.call(this,e,n),this.model!==e.model&&(this.model&&(!((o=this.listContainerRef)===null||o===void 0)&&o.current)&&this.model.initListContainerHtmlElement(this.listContainerRef.current),e.model&&e.model.initListContainerHtmlElement(void 0))},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.model&&this.model.initListContainerHtmlElement(void 0)},t.prototype.renderElement=function(){return r.createElement("div",{className:this.model.cssClasses.root,ref:this.listContainerRef},this.searchElementContent(),this.emptyContent(),this.renderList())},t.prototype.renderList=function(){if(!this.model.renderElements)return null;var e=this.renderItems(),n={display:this.model.isEmpty?"none":null};return r.createElement("ul",{className:this.model.getListClass(),style:n,role:this.model.listRole,"aria-label":this.model.a11ya11y_input_ariaLabel,id:this.model.elementId,onMouseDown:function(o){o.preventDefault()},onKeyDown:this.handleKeydown,onMouseMove:this.handleMouseMove},e)},t.prototype.renderItems=function(){var e=this;if(!this.model)return null;var n=this.model.renderedActions;return n?n.map(function(o,s){return r.createElement(vt,{model:e.model,item:o,key:"item"+s})}):null},t.prototype.searchElementContent=function(){var e=this;if(this.model.showFilter){var n=function(a){var c,h=(c=a.target.getRootNode())===null||c===void 0?void 0:c.activeElement;a.target===h&&(e.model.filterString=a.target.value)},o=function(a){e.model.goToItems(a)},s=this.model.showSearchClearButton&&this.model.filterString?r.createElement("button",{className:this.model.cssClasses.searchClearButtonIcon,onClick:function(a){e.model.onClickSearchClearButton(a)}},r.createElement(C,{iconName:"icon-searchclear",size:"auto"})):null;return r.createElement("div",{className:this.model.cssClasses.filter},r.createElement("div",{className:this.model.cssClasses.filterIcon},r.createElement(C,{iconName:"icon-search",size:"auto"})),r.createElement("input",{type:"text",className:this.model.cssClasses.filterInput,"aria-label":this.model.filterStringPlaceholder,placeholder:this.model.filterStringPlaceholder,value:this.state.filterString,onKeyUp:o,onChange:n}),s)}else return null},t.prototype.emptyContent=function(){var e={display:this.model.isEmpty?null:"none"};return r.createElement("div",{className:this.model.cssClasses.emptyContainer,style:e},r.createElement("div",{className:this.model.cssClasses.emptyText,"aria-label":this.model.emptyMessage},this.model.emptyMessage))},t})(v);d.Instance.registerElement("sv-list",function(i){return r.createElement(me,i)});var gt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this);var e=this.props.model;e.updateStickyTOCSize(this.survey.rootElement)},t.prototype.render=function(){var e=this.props.model,n;return e.isMobile?n=r.createElement("div",{onClick:e.togglePopup},r.createElement(C,{iconName:e.icon,size:24}),r.createElement(H,{model:e.popupModel})):n=r.createElement(me,{model:e.listModel}),r.createElement("div",{className:e.containerCss},n)},t})(U);d.Instance.registerElement("sv-navigation-toc",function(i){return r.createElement(gt,i)});var Ct=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnClick=n.handleOnClick.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.handleOnClick=function(e){this.question.setValueFromClick(e.target.value),this.setState({value:this.question.value})},t.prototype.renderItem=function(e,n){var o=d.Instance.createElement(this.question.itemComponent,{question:this.question,item:e,index:n,key:"value"+n,handleOnClick:this.handleOnClick,isDisplayMode:this.isDisplayMode});return o},t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses,o=this.question.minRateDescription?this.renderLocString(this.question.locMinRateDescription):null,s=this.question.maxRateDescription?this.renderLocString(this.question.locMaxRateDescription):null;return r.createElement("div",{className:this.question.ratingRootCss,ref:function(a){return e.setControl(a)}},r.createElement("fieldset",{role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},r.createElement("legend",{role:"presentation",className:"sv-hidden"}),this.question.hasMinLabel?r.createElement("span",{className:n.minText},o):null,this.question.renderedRateItems.map(function(a,c){return e.renderItem(a,c)}),this.question.hasMaxLabel?r.createElement("span",{className:n.maxText},s):null))},t})(q);b.Instance.registerQuestion("rating",function(i){return r.createElement(Ct,i)});var yt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderSelect(e);return r.createElement("div",{className:this.question.cssClasses.rootDropdown},n)},t})(T);b.Instance.registerQuestion("sv-rating-dropdown",function(i){return r.createElement(yt,i)}),p.RendererFactory.Instance.registerRenderer("rating","dropdown","sv-rating-dropdown");var bt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rangeInputRef=r.createRef(),n}return t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.question.refreshInputRange(this.rangeInputRef.current)},Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.question},t.prototype.renderElement=function(){var e=this,n=this.question,o=n.cssClasses,s=n.showLabels,a=n.sliderType,c=n.getTrackPercentLeft,h=n.getTrackPercentRight,m=n.allowDragRange,f=n.setValueByClickOnPath,g=a==="single"&&m?null:this.getRangeInput(),y=this.getInputsAndThumbs(),w=s?this.getLabels():null;return r.createElement("div",{className:this.question.rootCss,ref:function(S){return e.setControl(S)}},g,r.createElement("div",{className:o.visualContainer,onPointerUp:function(S){f(S.nativeEvent,e.control)}},r.createElement("div",{className:o.visualContainerSlider},r.createElement("div",{className:o.inverseTrackLeft,style:{width:c()+"%"}}),r.createElement("div",{className:o.inverseTrackRight,style:{width:h()+"%"}}),r.createElement("div",{className:o.rangeTrack,style:{left:c()+"%",right:h()+"%"}}),y)),w)},t.prototype.getInputsAndThumbs=function(){for(var e=[],n=this.question.renderedValue,o=0;o<n.length;o++){var s=r.createElement(r.Fragment,{key:o},this.getInput(o),this.getThumb(o));e.push(s)}return e},t.prototype.getThumb=function(e){var n=this.question,o=n.cssClasses,s=n.getThumbContainerCss,a=n.tooltipVisibility,c=n.tooltipCss,h=n.getPercent,m=n.renderedValue,f=n.getTooltipValue,g=m[e],y=null;a!=="never"&&(y=r.createElement("div",{className:c},r.createElement("div",{className:o.tooltipPanel},r.createElement("div",{className:o.tooltipValue},f(e)))));var w=r.createElement("div",{className:s(e),style:{left:h(g)+"%"}},y,r.createElement("div",{className:o.thumb},r.createElement("div",{className:o.thumbDot})));return w},t.prototype.getInput=function(e){var n=this.question,o=n.renderedMax,s=n.renderedMin,a=n.step,c=n.cssClasses,h=n.isDisabledAttr,m=n.renderedValue,f=n.handleOnChange,g=n.handlePointerDown,y=n.handlePointerUp,w=n.handleKeyDown,S=n.handleKeyUp,B=n.handleOnFocus,$=n.handleOnBlur,D=n.id,Ri=m[e],Ni=r.createElement("input",{className:c.input,id:D+"-sjs-slider-input-"+e,type:"range",min:s,max:o,step:a,value:Ri,onChange:function(M){f(M.nativeEvent,e)},onPointerDown:function(M){g(M.nativeEvent)},onPointerUp:function(M){M.stopPropagation(),y(M.nativeEvent)},onKeyDown:function(M){w(M.nativeEvent)},onKeyUp:function(M){S(M.nativeEvent)},onFocus:function(){B(e)},onBlur:function(){$()},disabled:h,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage});return Ni},t.prototype.getRangeInput=function(){var e=this,n=this.question,o=n.renderedMax,s=n.renderedMin,a=n.step,c=n.cssClasses,h=n.handleRangeOnChange,m=n.handleRangePointerDown,f=n.handleRangePointerUp,g=n.id;return r.createElement("input",{name:"range-input",id:g+"-sjs-slider-input-range-input",ref:this.rangeInputRef,className:c.input,type:"range","aria-hidden":"true",min:s,max:o,step:a,tabIndex:-1,onChange:function(y){h(y.nativeEvent)},onPointerDown:function(y){y.persist(),m(y.nativeEvent,e.control)},onPointerUp:function(y){f(y.nativeEvent,e.control)}})},t.prototype.getLabels=function(){for(var e=[],n=this.question,o=n.renderedLabels,s=n.cssClasses,a=0;a<o.length;a++){var c=d.Instance.createElement("sv-slider-label-item",{item:o[a],question:this.question,key:o[a].id});e.push(c)}return r.createElement("div",{className:s.labelsContainer},r.createElement("div",null,e))},t})(q);b.Instance.registerQuestion("slider",function(i){return r.createElement(bt,i)});var Et=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses;return r.createElement("div",{id:this.question.inputId,className:n.root,ref:function(o){return e.setControl(o)},"aria-live":"polite","aria-label":this.question.formatedValue},this.question.formatedValue)},t})(q);b.Instance.registerQuestion("expression",function(i){return r.createElement(Et,i)});var wt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnExpanded=n.handleOnExpanded.bind(n),n}return t.prototype.getStateElements=function(){return[this.popup,this.popup.survey]},t.prototype.handleOnExpanded=function(e){this.popup.changeExpandCollapse()},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&this.popup.isShowing},t.prototype.renderElement=function(){var e=this,n=this.renderWindowHeader(),o=this.renderBody(),s={};return this.popup.renderedWidth&&(s.width=this.popup.renderedWidth,s.maxWidth=this.popup.renderedWidth),r.createElement("div",{className:this.popup.cssRoot,style:s,onScroll:function(){return e.popup.onScroll()}},r.createElement("div",{className:this.popup.cssRootContent},n,o))},t.prototype.renderWindowHeader=function(){var e=this.popup,n=e.cssHeaderRoot,o=null,s,a=null,c=null;return e.isCollapsed?(n+=" "+e.cssRootCollapsedMod,o=this.renderTitleCollapsed(e),s=this.renderExpandIcon()):s=this.renderCollapseIcon(),e.allowClose&&(a=this.renderCloseButton(this.popup)),e.allowFullScreen&&(c=this.renderAllowFullScreenButon(this.popup)),r.createElement("div",{className:e.cssHeaderRoot},o,r.createElement("div",{className:e.cssHeaderButtonsContainer},c,r.createElement("div",{className:e.cssHeaderCollapseButton,onClick:this.handleOnExpanded},s),a))},t.prototype.renderTitleCollapsed=function(e){return e.locTitle?r.createElement("div",{className:e.cssHeaderTitleCollapsed},e.locTitle.renderedHtml):null},t.prototype.renderExpandIcon=function(){return r.createElement(C,{iconName:"icon-restore_16x16",size:16})},t.prototype.renderCollapseIcon=function(){return r.createElement(C,{iconName:"icon-minimize_16x16",size:16})},t.prototype.renderCloseButton=function(e){var n=this;return r.createElement("div",{className:e.cssHeaderCloseButton,onClick:function(){e.hide(),typeof n.props.onClose=="function"&&n.props.onClose()}},r.createElement(C,{iconName:"icon-close_16x16",size:16}))},t.prototype.renderAllowFullScreenButon=function(e){var n;return e.isFullScreen?n=r.createElement(C,{iconName:"icon-back-to-panel_16x16",size:16}):n=r.createElement(C,{iconName:"icon-full-screen_16x16",size:16}),r.createElement("div",{className:e.cssHeaderFullScreenButton,onClick:function(){e.toggleFullScreen()}},n)},t.prototype.renderBody=function(){return r.createElement("div",{className:this.popup.cssBody},this.doRender())},t.prototype.createSurvey=function(e){e||(e={}),i.prototype.createSurvey.call(this,e),this.popup=new p.PopupSurveyModel(null,this.survey),e.closeOnCompleteTimeout&&(this.popup.closeOnCompleteTimeout=e.closeOnCompleteTimeout),this.popup.allowClose=e.allowClose,this.popup.allowFullScreen=e.allowFullScreen,this.popup.isShowing=!0,!this.popup.isExpanded&&(e.expanded||e.isExpanded)&&this.popup.expand()},t})(ee),Si=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t})(wt),qt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this.question.cssClasses;return r.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),style:this.question.getContainerStyle()},r.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.question.hasColumns?this.getColumns(e):this.getItems(e))},t.prototype.getColumns=function(e){var n=this;return this.question.columns.map(function(o,s){var a=o.map(function(c,h){return n.renderItem(c,e)});return r.createElement("div",{key:"column"+s+n.question.getItemsColumnKey(o),className:n.question.getColumnClass(),role:"presentation"},a)})},t.prototype.getItems=function(e){for(var n=[],o=0;o<this.question.visibleChoices.length;o++){var s=this.question.visibleChoices[o];n.push(this.renderItem(s,e))}return n},Object.defineProperty(t.prototype,"textStyle",{get:function(){return{marginLeft:"3px",display:"inline",position:"static"}},enumerable:!1,configurable:!0}),t.prototype.renderItem=function(e,n){var o=r.createElement(Ii,{key:e.uniqueId,question:this.question,item:e,cssClasses:n}),s=this.question.survey,a=null;return s&&(a=x.wrapItemValue(s,o,this.question,e)),a??o},t})(q),Ii=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnChange=n.handleOnChange.bind(n),n}return t.prototype.getStateElement=function(){return this.item},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.reactOnStrChanged()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.item.locImageLink.onChanged=function(){}},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.reactOnStrChanged()},t.prototype.reactOnStrChanged=function(){var e=this;this.item.locImageLink.onChanged=function(){e.setState({locImageLinkchanged:e.state&&e.state.locImageLink?e.state.locImageLink+1:1})}},Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.handleOnChange=function(e){if(!this.question.isReadOnlyAttr){if(this.question.multiSelect)if(e.target.checked)this.question.value=this.question.value.concat(e.target.value);else{var n=this.question.value;n.splice(this.question.value.indexOf(e.target.value),1),this.question.value=n}else this.question.value=e.target.value;this.setState({value:this.question.value})}},t.prototype.renderElement=function(){var e=this,n=this.item,o=this.question,s=this.cssClasses,a=o.isItemSelected(n),c=o.getItemClass(n),h=null;o.showLabel&&(h=r.createElement("span",{className:o.cssClasses.itemText},n.text?v.renderLocString(n.locText):n.value));var m={objectFit:this.question.imageFit},f=null;if(n.locImageLink.renderedHtml&&this.question.contentMode==="image"&&(f=r.createElement("img",{className:s.image,src:n.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,alt:n.locText.renderedHtml,style:m,onLoad:function(w){e.question.onContentLoaded(n,w.nativeEvent)},onError:function(w){n.onErrorHandler(n,w.nativeEvent)}})),n.locImageLink.renderedHtml&&this.question.contentMode==="video"&&(f=r.createElement("video",{controls:!0,className:s.image,src:n.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,style:m,onLoadedMetadata:function(w){e.question.onContentLoaded(n,w.nativeEvent)},onError:function(w){n.onErrorHandler(n,w.nativeEvent)}})),!n.locImageLink.renderedHtml||n.contentNotLoaded){var g={width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,objectFit:this.question.imageFit};f=r.createElement("div",{className:s.itemNoImage,style:g},s.itemNoImageSvgIcon?r.createElement(C,{className:s.itemNoImageSvgIcon,iconName:this.question.cssClasses.itemNoImageSvgIconId,size:48}):null)}var y=r.createElement("div",{className:c},r.createElement("label",{className:s.label},r.createElement("input",{className:s.itemControl,id:this.question.getItemId(n),type:this.question.inputType,name:this.question.questionName,checked:a,value:n.value,disabled:!this.question.getItemEnabled(n),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,required:this.question.inputRequiredAttribute,"aria-label":n.locText.renderedHtml,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),r.createElement("div",{className:this.question.cssClasses.itemDecorator},r.createElement("div",{className:this.question.cssClasses.imageContainer},this.question.cssClasses.checkedItemDecorator?r.createElement("span",{className:this.question.cssClasses.checkedItemDecorator,"aria-hidden":"true"},this.question.cssClasses.checkedItemSvgIconId?r.createElement(C,{size:"auto",className:this.question.cssClasses.checkedItemSvgIcon,iconName:this.question.cssClasses.checkedItemSvgIconId}):null):null,f),h)));return y},t})(E);b.Instance.registerQuestion("imagepicker",function(i){return r.createElement(qt,i)});var Lt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={width:void 0,height:void 0,scale:void 0},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this)},t.prototype.renderElement=function(){var e=this;return r.createElement("div",{className:this.question.cssClasses.root,ref:function(n){return e.setControl(n)}},r.createElement("img",{className:this.question.cssClasses.bg,id:"".concat(this.question.id,"-bg"),src:this.question.imageLink,role:"presentation"}),r.createElement("svg",{className:this.question.cssClasses.svg,id:"".concat(this.question.id,"-svg")}))},t})(q);b.Instance.registerQuestion("imagemap",function(i){return r.createElement(Lt,i)});var xt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),this.question.locImageLink.onChanged=function(){e.forceUpdate()}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.locImageLink.onChanged=function(){}},Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.getImageCss(),o={objectFit:this.question.imageFit,width:this.question.renderedStyleWidth,height:this.question.renderedStyleHeight};(!this.question.imageLink||this.question.contentNotLoaded)&&(o.display="none");var s=null;this.question.renderedMode==="image"&&(s=r.createElement("img",{className:n,src:this.question.locImageLink.renderedHtml||null,alt:this.question.renderedAltText,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,onLoad:function(c){e.question.onLoadHandler()},onError:function(c){e.question.onErrorHandler()}})),this.question.renderedMode==="video"&&(s=r.createElement("video",{controls:!0,className:n,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,onLoadedMetadata:function(c){e.question.onLoadHandler()},onError:function(c){e.question.onErrorHandler()}})),this.question.renderedMode==="youtube"&&(s=r.createElement("iframe",{className:n,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,title:this.question.renderedAltText}));var a=null;return(!this.question.imageLink||this.question.contentNotLoaded)&&(a=r.createElement("div",{className:this.question.cssClasses.noImage},r.createElement(C,{iconName:this.question.cssClasses.noImageSvgIconId,size:48}))),r.createElement("div",{className:this.question.cssClasses.root},s,a)},t})(q);b.Instance.registerQuestion("image",function(i){return r.createElement(xt,i)});var St=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={value:n.question.value},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses,o=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,s=this.renderCleanButton();return r.createElement("div",{className:n.root,ref:function(a){return e.setControl(a)},style:{width:this.question.renderedCanvasWidth}},r.createElement("div",{className:n.placeholder,style:{display:this.question.needShowPlaceholder()?"":"none"}},this.renderLocString(this.question.locRenderedPlaceholder)),r.createElement("div",null,this.renderBackgroundImage(),r.createElement("canvas",{tabIndex:-1,className:this.question.cssClasses.canvas,onBlur:function(a){e.question.onBlur(a)}})),s,o)},t.prototype.renderBackgroundImage=function(){return this.question.backgroundImage?r.createElement("img",{className:this.question.cssClasses.backgroundImage,src:this.question.backgroundImage,style:{width:this.question.renderedCanvasWidth},role:"presentation"}):null},t.prototype.renderLoadingIndicator=function(){return r.createElement("div",{className:this.question.cssClasses.loadingIndicator},r.createElement(le,null))},t.prototype.renderCleanButton=function(){var e=this;if(!this.question.canShowClearButton)return null;var n=this.question.cssClasses;return r.createElement("div",{className:n.controls},r.createElement("button",{type:"button",className:n.clearButton,title:this.question.clearButtonCaption,onClick:function(){return e.question.clearValueFromUI()}},this.question.cssClasses.clearButtonIconId?r.createElement(C,{iconName:this.question.cssClasses.clearButtonIconId,size:"auto"}):r.createElement("span",null,"\u2716")," "))},t})(q);b.Instance.registerQuestion("signaturepad",function(i){return r.createElement(St,i)});var It=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.question},t.prototype.renderElement=function(){var e=this.renderItems();return r.createElement("div",{className:this.question.cssClasses.root},e)},t.prototype.renderItems=function(){var e=this;return this.question.visibleChoices.map(function(n,o){return r.createElement(Mi,{key:e.question.inputId+"_"+o,item:n,question:e.question,index:o})})},t})(q);b.Instance.registerQuestion("buttongroup",function(i){return r.createElement(It,i)});var Mi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){this.model=new p.ButtonGroupItemModel(this.question,this.item,this.index);var e=this.renderIcon(),n=this.renderInput(),o=this.renderCaption();return r.createElement("label",{className:this.model.css.label,title:this.model.caption.renderedHtml},n,r.createElement("div",{className:this.model.css.decorator},e,o))},t.prototype.renderIcon=function(){return this.model.iconName?r.createElement(C,{className:this.model.css.icon,iconName:this.model.iconName,size:this.model.iconSize||24}):null},t.prototype.renderInput=function(){var e=this;return r.createElement("input",{className:this.model.css.control,id:this.model.id,type:"radio",name:this.model.name,checked:this.model.selected,value:this.model.value,disabled:this.model.readOnly,onChange:function(){e.model.onChange()},"aria-required":this.model.isRequired,"aria-label":this.model.caption.renderedHtml,"aria-invalid":this.model.hasErrors,"aria-errormessage":this.model.describedBy})},t.prototype.renderCaption=function(){if(!this.model.showCaption)return null;var e=this.renderLocString(this.model.caption);return r.createElement("span",{className:this.model.css.caption,title:this.model.caption.renderedHtml},e)},t})(v),Mt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderSelect(e);return r.createElement("div",{className:this.question.cssClasses.rootDropdown},n)},t})(T);b.Instance.registerQuestion("sv-buttongroup-dropdown",function(i){return r.createElement(Mt,i)}),p.RendererFactory.Instance.registerRenderer("buttongroup","dropdown","sv-buttongroup-dropdown");var Rt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElements=function(){var e=i.prototype.getStateElements.call(this);return this.question.contentQuestion&&e.push(this.question.contentQuestion),e},t.prototype.renderElement=function(){return k.renderQuestionBody(this.creator,this.question.contentQuestion)},t})(P),Nt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.canRender=function(){return!!this.question.contentPanel},t.prototype.renderElement=function(){return r.createElement(N,{element:this.question.contentPanel,creator:this.creator,survey:this.question.survey})},t})(P);b.Instance.registerQuestion("custom",function(i){return r.createElement(Rt,i)}),b.Instance.registerQuestion("composite",function(i){return r.createElement(Nt,i)});var Ht=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){if(!this.item)return null;var e=this.renderLocString(this.item.locTitle,void 0,"locString"),n=this.item.iconName?r.createElement(C,{className:this.model.cssClasses.itemIcon,iconName:this.item.iconName,size:this.item.iconSize,"aria-label":this.item.title}):null,o=this.item.markerIconName?r.createElement(C,{className:this.item.cssClasses.itemMarkerIcon,iconName:this.item.markerIconName,size:"auto"}):null;return r.createElement(r.Fragment,null,n,e,o)},t})(v);d.Instance.registerElement("sv-list-item-content",function(i){return r.createElement(Ht,i)});var kt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e;if(!this.item)return null;var n=d.Instance.createElement("sv-list-item-content",{item:this.item,key:"content"+this.item.id,model:this.model});return r.createElement(r.Fragment,null,n,r.createElement(H,{model:(e=this.item)===null||e===void 0?void 0:e.popupModel}))},t})(v);d.Instance.registerElement("sv-list-item-group",function(i){return r.createElement(kt,i)});var Bt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=[];return e.push(r.createElement("div",{key:"logo-image",className:this.survey.logoClassNames},r.createElement("img",{className:this.survey.css.logoImage,src:this.survey.locLogo.renderedHtml||null,alt:this.survey.locTitle.renderedHtml,width:this.survey.renderedLogoWidth,height:this.survey.renderedLogoHeight,style:{objectFit:this.survey.logoFit,width:this.survey.renderedStyleLogoWidth,height:this.survey.renderedStyleLogoHeight}}))),r.createElement(r.Fragment,null,e)},t})(r.Component);d.Instance.registerElement("sv-logo-image",function(i){return r.createElement(Bt,i)});var Dt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnRowRemoveClick=n.handleOnRowRemoveClick.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),t.prototype.handleOnRowRemoveClick=function(e){this.question.removeRowUI(this.row)},t.prototype.renderElement=function(){var e=this.renderLocString(this.question.locRemoveRowText);return r.createElement("button",{className:this.question.getRemoveRowButtonCss(),type:"button",onClick:this.handleOnRowRemoveClick,disabled:this.question.isInputReadOnly},e,r.createElement("span",{className:this.question.cssClasses.iconRemove}))},t})(E);d.Instance.registerElement("sv-matrix-remove-button",function(i){return r.createElement(Dt,i)});var Pt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnShowHideClick=n.handleOnShowHideClick.bind(n),n}return t.prototype.getStateElement=function(){return this.props.item},Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),t.prototype.handleOnShowHideClick=function(e){this.row.showHideDetailPanelClick()},t.prototype.renderElement=function(){var e=this.row.isDetailPanelShowing,n=e,o=e?this.row.detailPanelId:void 0;return r.createElement("button",{type:"button",title:this.props.item.title,onClick:this.handleOnShowHideClick,className:this.question.getDetailPanelButtonCss(this.row),"aria-expanded":n,"aria-controls":o},r.createElement(C,{className:this.question.getDetailPanelIconCss(this.row),iconName:this.question.getDetailPanelIconId(this.row),size:"auto"}))},t})(E);d.Instance.registerElement("sv-matrix-detail-button",function(i){return r.createElement(Pt,i)});var Z=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"data",{get:function(){return this.props.item&&this.props.item.data||this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),t})(E),Vt=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.addPanelUI()},e}return t.prototype.renderElement=function(){if(!this.question.canAddPanel)return null;var e=this.renderLocString(this.question.locAddPanelText);return r.createElement("button",{type:"button",id:this.question.addButtonId,className:this.question.getAddButtonCss(),onClick:this.handleClick},r.createElement("span",{className:this.question.cssClasses.buttonAddText},e))},t})(Z);d.Instance.registerElement("sv-paneldynamic-add-btn",function(i){return r.createElement(Vt,i)});var Ot=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.removePanelUI(e.data.panel)},e}return t.prototype.renderElement=function(){var e=this.renderLocString(this.question.locRemovePanelText),n=this.question.getPanelRemoveButtonId(this.data.panel);return r.createElement("button",{id:n,className:this.question.getPanelRemoveButtonCss(),onClick:this.handleClick,type:"button"},r.createElement("span",{className:this.question.cssClasses.buttonRemoveText},e),r.createElement("span",{className:this.question.cssClasses.iconRemove}))},t})(Z);d.Instance.registerElement("sv-paneldynamic-remove-btn",function(i){return r.createElement(Ot,i)});var Tt=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.goToPrevPanel()},e}return t.prototype.renderElement=function(){return r.createElement("div",{title:this.question.panelPrevText,onClick:this.handleClick,className:this.question.getPrevButtonCss()},r.createElement(C,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},t})(Z);d.Instance.registerElement("sv-paneldynamic-prev-btn",function(i){return r.createElement(Tt,i)});var Qt=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.goToNextPanel()},e}return t.prototype.renderElement=function(){return r.createElement("div",{title:this.question.panelNextText,onClick:this.handleClick,className:this.question.getNextButtonCss()},r.createElement(C,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},t})(Z);d.Instance.registerElement("sv-paneldynamic-next-btn",function(i){return r.createElement(Qt,i)});var Zt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.renderElement=function(){return r.createElement("div",{className:this.question.cssClasses.progressText},this.question.progressText)},t})(Z);d.Instance.registerElement("sv-paneldynamic-progress-text",function(i){return r.createElement(Zt,i)});var _t=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return this.item.isVisible},t.prototype.renderElement=function(){return r.createElement("input",{className:this.item.innerCss,type:"button",disabled:this.item.disabled,onMouseDown:this.item.data&&this.item.data.mouseDown,onClick:this.item.action,title:this.item.getTooltip(),value:this.item.title})},t})(E);d.Instance.registerElement("sv-nav-btn",function(i){return r.createElement(_t,i)});var At=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this.props.error,n=this.props.cssClasses;return r.createElement("div",null,r.createElement("span",{className:e.getCssIcon(n),"aria-hidden":"true"}),r.createElement("span",{className:this.props.cssClasses.error.item||void 0},r.createElement(_,{model:e.locText})))},t})(r.Component);d.Instance.registerElement("sv-question-error",function(i){return r.createElement(At,i)});var jt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n)},t.prototype.renderElement=function(){var e=this.question,n=e.cssClasses,o=e.handleLabelPointerUp,s=e.getLabelCss,a=e.getPercent,c=this.item,h=c.value,m=c.locText,f=null,g=null;return this.item.showValue?(f=r.createElement("div",{className:n.labelText},this.item.value),g=r.createElement("div",{className:n.labelTextSecondaryMode},this.renderLocString(m))):f=r.createElement("div",{className:n.labelText},this.renderLocString(m)),r.createElement("div",{key:this.item.uniqueId,className:s(m),style:{left:a(h)+"%"},onPointerUp:function(y){o(y.nativeEvent,h)}},r.createElement("div",{className:n.labelTick}),r.createElement("div",{className:n.labelTextContainer},f,g))},t})(v);d.Instance.registerElement("sv-slider-label-item",function(i){return r.createElement(jt,i)});var Wt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e,n;return r.createElement("div",{className:"sv-skeleton-element",id:(e=this.props.element)===null||e===void 0?void 0:e.id,style:{height:(n=this.props.element)===null||n===void 0?void 0:n.skeletonHeight}})},t})(r.Component);d.Instance.registerElement("sv-skeleton",function(i){return r.createElement(Wt,i)});var Ut=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.renderLogoImage=function(){var e=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),n=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return d.Instance.createElement(e,{data:n})},t.prototype.render=function(){return r.createElement("div",{className:"sv-header--mobile"},this.model.survey.hasLogo?r.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.survey.hasTitle?r.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.renderedTextAreaWidth}},r.createElement(R,{element:this.model.survey})):null,this.model.survey.renderedHasDescription?r.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.renderedTextAreaWidth}},r.createElement("div",{className:this.model.survey.css.description},v.renderLocString(this.model.survey.locDescription))):null)},t})(r.Component),Ft=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.renderLogoImage=function(){var e=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),n=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return d.Instance.createElement(e,{data:n})},t.prototype.render=function(){return r.createElement("div",{className:this.model.css,style:this.model.style},r.createElement("div",{className:"sv-header__cell-content",style:this.model.contentStyle},this.model.showLogo?r.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.showTitle?r.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},r.createElement(R,{element:this.model.survey})):null,this.model.showDescription?r.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},r.createElement("div",{className:this.model.survey.css.description},v.renderLocString(this.model.survey.locDescription))):null))},t})(r.Component),zt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){if(this.model.survey=this.props.survey,this.props.survey.headerView!=="advanced"||this.model.isEmpty)return null;var e=null;return this.props.survey.isMobile?e=r.createElement(Ut,{model:this.model}):e=r.createElement("div",{className:this.model.contentClasses,style:{maxWidth:this.model.maxWidth}},this.model.cells.map(function(n,o){return r.createElement(Ft,{key:o,model:n})})),r.createElement("div",{className:this.model.headerClasses,style:{height:this.model.renderedHeight}},this.model.backgroundImage?r.createElement("div",{style:this.model.backgroundImageStyle,className:this.model.backgroundImageClasses}):null,e)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.model.processResponsiveness()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.model.processResponsiveness()},t})(v);d.Instance.registerElement("sv-header",function(i){return r.createElement(zt,i)});var $t=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.onInput=function(o){n.locStr.text=o.target.innerText},n.onClick=function(o){o.preventDefault(),o.stopPropagation()},n.state={changed:0},n}return Object.defineProperty(t.prototype,"locStr",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(this.locStr){var e=this;this.locStr.onChanged=function(){e.setState({changed:e.state.changed+1})}}},t.prototype.componentWillUnmount=function(){this.locStr&&(this.locStr.onChanged=function(){})},t.prototype.render=function(){if(!this.locStr)return null;if(this.locStr.hasHtml){var e={__html:this.locStr.renderedHtml};return r.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,dangerouslySetInnerHTML:e,onBlur:this.onInput,onClick:this.onClick})}return r.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,onBlur:this.onInput,onClick:this.onClick},this.locStr.renderedHtml)},t})(r.Component);d.Instance.registerElement(p.LocalizableString.editableRenderer,function(i){return r.createElement($t,i)}),p.checkLibraryVersion("".concat("2.5.12"),"survey-react-ui"),Object.defineProperty(u,"Model",{enumerable:!0,get:function(){return p.SurveyModel}}),Object.defineProperty(u,"SurveyModel",{enumerable:!0,get:function(){return p.SurveyModel}}),Object.defineProperty(u,"SurveyWindowModel",{enumerable:!0,get:function(){return p.SurveyWindowModel}}),Object.defineProperty(u,"settings",{enumerable:!0,get:function(){return p.settings}}),Object.defineProperty(u,"surveyLocalization",{enumerable:!0,get:function(){return p.surveyLocalization}}),Object.defineProperty(u,"surveyStrings",{enumerable:!0,get:function(){return p.surveyStrings}}),u.CharacterCounterComponent=F,u.ComponentsContainer=I,u.Header=zt,u.HeaderCell=Ft,u.HeaderMobile=Ut,u.List=me,u.ListItemContent=Ht,u.ListItemGroup=kt,u.LoadingIndicatorComponent=le,u.LogoImage=Bt,u.MatrixRow=ce,u.NotifierComponent=Y,u.Popup=H,u.PopupModal=Ee,u.PopupSurvey=wt,u.QuestionErrorComponent=At,u.RatingDropdownItem=We,u.RatingItem=_e,u.RatingItemSmiley=je,u.RatingItemStar=Ae,u.ReactElementFactory=d,u.ReactQuestionFactory=b,u.ReactSurveyElement=E,u.ReactSurveyElementsWrapper=x,u.Scroll=j,u.Skeleton=Wt,u.SliderLabelItem=jt,u.Survey=ee,u.SurveyActionBar=L,u.SurveyElementBase=v,u.SurveyElementErrors=O,u.SurveyFileChooseButton=et,u.SurveyFileItem=nt,u.SurveyFilePreview=tt,u.SurveyFlowPanel=De,u.SurveyHeader=X,u.SurveyLocStringEditor=$t,u.SurveyLocStringViewer=_,u.SurveyNavigationBase=U,u.SurveyNavigationButton=_t,u.SurveyPage=Be,u.SurveyPanel=N,u.SurveyProgress=Q,u.SurveyProgressButtons=ft,u.SurveyProgressToc=gt,u.SurveyQuestion=k,u.SurveyQuestionAndErrorsCell=He,u.SurveyQuestionBoolean=z,u.SurveyQuestionBooleanCheckbox=st,u.SurveyQuestionBooleanRadio=at,u.SurveyQuestionButtonGroup=It,u.SurveyQuestionButtonGroupDropdown=Mt,u.SurveyQuestionCheckbox=Oe,u.SurveyQuestionCheckboxItem=ie,u.SurveyQuestionComment=Se,u.SurveyQuestionCommentItem=ne,u.SurveyQuestionComposite=Nt,u.SurveyQuestionCustom=Rt,u.SurveyQuestionDropdown=ae,u.SurveyQuestionDropdownBase=T,u.SurveyQuestionDropdownSelect=$e,u.SurveyQuestionElementBase=q,u.SurveyQuestionEmpty=lt,u.SurveyQuestionExpression=Et,u.SurveyQuestionFile=Ye,u.SurveyQuestionHtml=Xe,u.SurveyQuestionImage=xt,u.SurveyQuestionImageMap=Lt,u.SurveyQuestionImagePicker=qt,u.SurveyQuestionMatrix=Ke,u.SurveyQuestionMatrixCell=Je,u.SurveyQuestionMatrixDetailButton=Pt,u.SurveyQuestionMatrixDropdown=dt,u.SurveyQuestionMatrixDropdownBase=he,u.SurveyQuestionMatrixDropdownCell=ct,u.SurveyQuestionMatrixDynamic=ht,u.SurveyQuestionMatrixDynamicAddButton=mt,u.SurveyQuestionMatrixDynamicDragDropIcon=de,u.SurveyQuestionMatrixDynamicRemoveButton=Dt,u.SurveyQuestionMatrixRow=Ge,u.SurveyQuestionMultipleText=rt,u.SurveyQuestionOptionItem=Ue,u.SurveyQuestionPanelDynamic=pt,u.SurveyQuestionPanelDynamicAddButton=Vt,u.SurveyQuestionPanelDynamicNextButton=Qt,u.SurveyQuestionPanelDynamicPrevButton=Tt,u.SurveyQuestionPanelDynamicProgressText=Zt,u.SurveyQuestionPanelDynamicRemoveButton=Ot,u.SurveyQuestionRadioItem=ue,u.SurveyQuestionRadiogroup=it,u.SurveyQuestionRanking=Te,u.SurveyQuestionRankingItem=Qe,u.SurveyQuestionRankingItemContent=Ze,u.SurveyQuestionRating=Ct,u.SurveyQuestionRatingDropdown=yt,u.SurveyQuestionSignaturePad=St,u.SurveyQuestionSlider=bt,u.SurveyQuestionTagbox=ze,u.SurveyQuestionTagboxItem=Fe,u.SurveyQuestionText=ot,u.SurveyRow=Le,u.SurveyTimerPanel=qe,u.SurveyWindow=Si,u.SvgBundleComponent=be,u.SvgIcon=C,u.TagboxFilterString=se,u.TitleActions=A,u.TitleElement=R,u.attachKey2click=W}));
|
|
5
|
+
(function(u,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("survey-core"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","survey-core","react","react-dom"],p):(u=typeof globalThis<"u"?globalThis:u||self,p(u.SurveyReact={},u.Survey,u.React,u.ReactDOM))})(this,(function(u,p,Kt,pe){"use strict";function fe(i){var t=Object.create(null);return i&&Object.keys(i).forEach(function(e){if(e!=="default"){var n=Object.getOwnPropertyDescriptor(i,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return i[e]}})}}),t.default=i,Object.freeze(t)}var r=fe(Kt),ve=fe(pe),K=function(i,t){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])},K(i,t)};function l(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");K(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var G=function(){return G=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++){e=arguments[n];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},G.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var d=(function(){function i(){this.creatorHash={}}return i.prototype.registerElement=function(t,e){this.creatorHash[t]=e},i.prototype.getAllTypes=function(){var t=new Array;for(var e in this.creatorHash)t.push(e);return t.sort()},i.prototype.isElementRegistered=function(t){return!!this.creatorHash[t]},i.prototype.createElement=function(t,e){var n=this.creatorHash[t];return n==null?null:n(e)},i.Instance=new i,i})(),x=(function(){function i(){}return i.wrapRow=function(t,e,n){var o=t.getRowWrapperComponentName(n),s=t.getRowWrapperComponentData(n);return d.Instance.createElement(o,{element:e,row:n,componentData:s})},i.wrapElement=function(t,e,n){var o=t.getElementWrapperComponentName(n),s=t.getElementWrapperComponentData(n);return d.Instance.createElement(o,{element:e,question:n,componentData:s})},i.wrapQuestionContent=function(t,e,n){var o=t.getQuestionContentWrapperComponentName(n),s=t.getElementWrapperComponentData(n);return d.Instance.createElement(o,{element:e,question:n,componentData:s})},i.wrapItemValue=function(t,e,n,o){var s=t.getItemValueWrapperComponentName(o,n),a=t.getItemValueWrapperComponentData(o,n);return d.Instance.createElement(s,{key:e?.key,element:e,question:n,item:o,componentData:a})},i.wrapMatrixCell=function(t,e,n,o){o===void 0&&(o="cell");var s=t.getElementWrapperComponentName(n,o),a=t.getElementWrapperComponentData(n,o);return d.Instance.createElement(s,{element:e,cell:n,componentData:a})},i})();p.SurveyModel.platform="react";var v=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n._allowComponentUpdate=!0,n.prevStateElements=[],n.propertyValueChangedHandler=function(o,s){var a=s.name;!n.canUsePropInState(a)||n.isRendering||(n.changedStatePropNameValue=a,n.setState(function(c){var h={};return h[a]=s.newValue,h}))},n.onArrayChangedCallback=function(o,s){n.isRendering||(n.changedStatePropNameValue=s.name,n.setState(function(a){var c={};return c[s.name]=s.newValue,c}))},n}return t.renderLocString=function(e,n,o){return n===void 0&&(n=null),d.Instance.createElement(e.renderAs,{model:e.renderAsData,style:n,key:o})},t.renderQuestionDescription=function(e){var n=t.renderLocString(e.locDescription);return r.createElement("div",{style:e.hasDescription?void 0:{display:"none"},id:e.ariaDescriptionId,className:e.cssDescription},n)},t.prototype.componentDidMount=function(){this.makeBaseElementsReact()},t.prototype.componentWillUnmount=function(){this.unMakeBaseElementsReact(),this.disableStateElementsRerenderEvent(this.getStateElements())},t.prototype.componentDidUpdate=function(e,n){var o;this.makeBaseElementsReact();var s=this.getStateElements();this.disableStateElementsRerenderEvent(((o=this.prevStateElements)!==null&&o!==void 0?o:[]).filter(function(a){return!s.find(function(c){return c==a})})),this.prevStateElements=[],this.getStateElements().forEach(function(a){a.afterRerender()})},t.prototype.allowComponentUpdate=function(){this._allowComponentUpdate=!0,this.forceUpdate()},t.prototype.denyComponentUpdate=function(){this._allowComponentUpdate=!1},t.prototype.shouldComponentUpdate=function(e,n){return this._allowComponentUpdate&&(this.unMakeBaseElementsReact(),this.prevStateElements=this.getStateElements()),this._allowComponentUpdate},t.prototype.render=function(){if(!this.canRender())return null;this.startEndRendering(1);var e=this.renderElement();return this.startEndRendering(-1),e&&(e=this.wrapElement(e)),this.changedStatePropNameValue=void 0,e},t.prototype.wrapElement=function(e){return e},Object.defineProperty(t.prototype,"isRendering",{get:function(){for(var e=this.getRenderedElements(),n=0,o=e;n<o.length;n++){var s=o[n];if(s.reactRendering>0)return!0}return!1},enumerable:!1,configurable:!0}),t.prototype.getRenderedElements=function(){return this.getStateElements()},t.prototype.startEndRendering=function(e){for(var n=this.getRenderedElements(),o=0,s=n;o<s.length;o++){var a=s[o];a.reactRendering||(a.reactRendering=0),a.reactRendering+=e}},t.prototype.canRender=function(){return!0},t.prototype.renderElement=function(){return null},Object.defineProperty(t.prototype,"changedStatePropName",{get:function(){return this.changedStatePropNameValue},enumerable:!1,configurable:!0}),t.prototype.makeBaseElementsReact=function(){for(var e=this.getStateElements(),n=0;n<e.length;n++)e[n].enableOnElementRerenderedEvent(),this.makeBaseElementReact(e[n])},t.prototype.unMakeBaseElementsReact=function(){var e=this.getStateElements();this.unMakeBaseElementsReactive(e)},t.prototype.unMakeBaseElementsReactive=function(e){for(var n=0;n<e.length;n++)this.unMakeBaseElementReact(e[n])},t.prototype.disableStateElementsRerenderEvent=function(e){e.forEach(function(n){n.disableOnElementRerenderedEvent()})},t.prototype.getStateElements=function(){var e=this.getStateElement();return e?[e]:[]},t.prototype.getStateElement=function(){return null},Object.defineProperty(t.prototype,"isDisplayMode",{get:function(){var e=this.props;return e.isDisplayMode||!1},enumerable:!1,configurable:!0}),t.prototype.renderLocString=function(e,n,o){return n===void 0&&(n=null),t.renderLocString(e,n,o)},t.prototype.canMakeReact=function(e){return!!e&&!!e.iteratePropertiesHash},t.prototype.makeBaseElementReact=function(e){this.canMakeReact(e)&&(e.addOnArrayChangedCallback(this.onArrayChangedCallback),e.addOnPropertyValueChangedCallback(this.propertyValueChangedHandler))},t.prototype.canUsePropInState=function(e){return!0},t.prototype.unMakeBaseElementReact=function(e){this.canMakeReact(e)&&(e.removeOnPropertyValueChangedCallback(this.propertyValueChangedHandler),e.removeOnArrayChangedCallback(this.onArrayChangedCallback))},t})(r.Component),E=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),t})(v),q=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateDomElement()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.updateDomElement()},t.prototype.componentWillUnmount=function(){if(i.prototype.componentWillUnmount.call(this),this.questionBase){var e=this.content||this.control;this.questionBase.beforeDestroyQuestionElement(e),e&&e.removeAttribute("data-rendered")}},t.prototype.updateDomElement=function(){var e=this.content||this.control;e&&e.getAttribute("data-rendered")!=="r"&&(e.setAttribute("data-rendered","r"),this.questionBase.afterRenderQuestionElement(e))},Object.defineProperty(t.prototype,"questionBase",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.getRenderedElements=function(){return[this.questionBase]},Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.questionBase&&!!this.creator},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?!this.questionBase.customWidget||!!this.questionBase.customWidgetData.isNeedRender||!!this.questionBase.customWidget.widgetJson.isDefaultRender||!!this.questionBase.customWidget.widgetJson.render:!1},Object.defineProperty(t.prototype,"isDisplayMode",{get:function(){var e=this.props;return e.isDisplayMode||!!this.questionBase&&this.questionBase.isInputReadOnly||!1},enumerable:!1,configurable:!0}),t.prototype.wrapCell=function(e,n,o){if(!o)return n;var s=this.questionBase.survey,a=null;return s&&(a=x.wrapMatrixCell(s,n,e,o)),a??n},t.prototype.setControl=function(e){e&&(this.control=e)},t.prototype.setContent=function(e){e&&(this.content=e)},t})(v),P=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.updateValueOnEvent=function(o){p.Helpers.isTwoValueEquals(n.questionBase.value,o.target.value,!1,!0,!1)||n.setValueCore(o.target.value)},n.updateValueOnEvent=n.updateValueOnEvent.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.setValueCore=function(e){this.questionBase.value=e},t.prototype.getValueCore=function(){return this.questionBase.value},t.prototype.updateDomElement=function(){if(this.control){var e=this.control,n=this.getValueCore();p.Helpers.isTwoValueEquals(n,e.value,!1,!0,!1)||(e.value=this.getValue(n))}i.prototype.updateDomElement.call(this)},t.prototype.getValue=function(e){return p.Helpers.isValueEmpty(e)?"":e},t})(q),C=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.svgIconRef=r.createRef(),n}return t.prototype.updateSvg=function(){this.props.iconName&&p.createSvg(this.props.size,this.props.width,this.props.height,this.props.iconName,this.svgIconRef.current,this.props.title)},t.prototype.componentDidUpdate=function(){this.updateSvg()},t.prototype.render=function(){var e="sv-svg-icon";return this.props.className&&(e+=" "+this.props.className),this.props.css&&(e=this.props.css),this.props.iconName?r.createElement("svg",{className:e,style:this.props.style,onClick:this.props.onClick,ref:this.svgIconRef,role:"presentation"},r.createElement("use",null)):null},t.prototype.componentDidMount=function(){this.updateSvg()},t})(r.Component);d.Instance.registerElement("sv-svg-icon",function(i){return r.createElement(C,i)});var ge=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.render=function(){var e="sv-action-bar-separator ".concat(this.props.cssClasses);return r.createElement("div",{className:e})},t})(r.Component);d.Instance.registerElement("sv-action-bar-separator",function(i){return r.createElement(ge,i)});var _=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.onChangedHandler=function(o,s){n.isRendering||n.setState({changed:n.state&&n.state.changed?n.state.changed+1:1})},n.rootRef=r.createRef(),n}return Object.defineProperty(t.prototype,"locStr",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textClass",{get:function(){return this.props.textClass},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.reactOnStrChanged()},t.prototype.componentWillUnmount=function(){this.locStr&&this.locStr.onStringChanged.remove(this.onChangedHandler)},t.prototype.componentDidUpdate=function(e,n){e.locStr&&e.locStr.onStringChanged.remove(this.onChangedHandler),this.reactOnStrChanged()},t.prototype.reactOnStrChanged=function(){this.locStr&&this.locStr.onStringChanged.add(this.onChangedHandler)},t.prototype.render=function(){if(!this.locStr)return null;this.isRendering=!0;var e=this.renderString();return this.isRendering=!1,e},t.prototype.renderString=function(){var e=this.locStr.getStringViewerClassName(this.textClass);if(this.locStr.hasHtml){var n={__html:this.locStr.renderedHtml};return r.createElement("span",{ref:this.rootRef,className:e,style:this.style,dangerouslySetInnerHTML:n})}return r.createElement("span",{ref:this.rootRef,className:e,style:this.style},this.locStr.renderedHtml)},t})(r.Component);d.Instance.registerElement(p.LocalizableString.defaultRenderer,function(i){return r.createElement(_,i)});var V=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.ref=r.createRef(),n}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){var e=this.item.getActionRootCss(),n=this.item.needSeparator?r.createElement(ge,null):null,o=d.Instance.createElement(this.item.component||"sv-action-bar-item",{item:this.item});return r.createElement("div",{className:e,id:""+this.item.uniqueId,ref:this.ref},r.createElement("div",{className:"sv-action__content"},n,o))},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.item.updateModeCallback=void 0},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),this.item.updateModeCallback=function(n,o){queueMicrotask(function(){ve.flushSync?ve.flushSync(function(){e.item.mode=n}):e.item.mode=n,queueMicrotask(function(){o(n,e.ref.current)})})},this.item.afterRender()},t})(v),Ce=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){return r.createElement(r.Fragment,null,this.renderInnerButton())},t.prototype.renderText=function(){return this.item.hasTitle?r.createElement(_,{model:this.item.locTitle,textClass:this.item.getActionBarItemTitleCss()}):null},t.prototype.renderButtonContent=function(){var e=this.renderText(),n=this.item.iconName?r.createElement(C,{className:this.item.cssClasses.itemIcon,size:this.item.iconSize,iconName:this.item.iconName,title:this.item.tooltip||this.item.title}):null;return r.createElement(r.Fragment,null,n,e)},t.prototype.renderInnerButton=function(){var e=this,n=this.item.getActionBarItemCss(),o=this.item.tooltip||this.item.title,s=this.renderButtonContent(),a=this.item.disableTabStop?-1:void 0,c=W(r.createElement("button",{className:n,type:"button",disabled:this.item.disabled,onMouseDown:function(h){return e.item.doMouseDown(h)},onFocus:function(h){return e.item.doFocus(h)},onClick:function(h){return e.item.doAction(h)},title:o,tabIndex:a,"aria-checked":this.item.ariaChecked,"aria-expanded":this.item.ariaExpanded,"aria-labelledby":this.item.ariaLabelledBy,role:this.item.ariaRole},s),this.item,{processEsc:!1});return c},t})(v);d.Instance.registerElement("sv-action-bar-item",function(i){return r.createElement(Ce,i)});var H=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.containerRef=r.createRef(),n.createModel(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.createModel=function(){this.popup=p.createPopupViewModel(this.props.model)},t.prototype.setTargetElement=function(){var e=this.containerRef.current;this.popup.setComponentElement(e)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.setTargetElement()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.setTargetElement()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.popup.resetComponentElement()},t.prototype.shouldComponentUpdate=function(e,n){var o;if(!i.prototype.shouldComponentUpdate.call(this,e,n))return!1;var s=e.model!==this.popup.model;return s&&((o=this.popup)===null||o===void 0||o.dispose(),this.createModel()),s},t.prototype.render=function(){this.popup.model=this.model;var e;return this.model.isModal?e=r.createElement(J,{model:this.popup}):e=r.createElement(Gt,{model:this.popup}),r.createElement("div",{ref:this.containerRef},e)},t})(v);d.Instance.registerElement("sv-popup",function(i){return r.createElement(H,i)});var J=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleKeydown=function(o){n.model.onKeyDown(o)},n.clickInside=function(o){o.stopPropagation()},n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),!this.model.isPositionSet&&this.model.isVisible&&this.model.updateOnShowing()},t.prototype.renderContainer=function(e){var n=this,o=e.showHeader?this.renderHeaderPopup(e):null,s=e.title?this.renderHeaderContent():null,a=this.renderContent(),c=e.showFooter?this.renderFooter(this.model):null;return r.createElement("div",{className:"sv-popup__container",style:{left:e.left,top:e.top,height:e.height,width:e.width,minWidth:e.minWidth},onClick:function(h){n.clickInside(h)}},o,r.createElement("div",{className:"sv-popup__body-content"},s,r.createElement("div",{className:"sv-popup__scrolling-content"},a),c))},t.prototype.renderHeaderContent=function(){return r.createElement("div",{className:"sv-popup__body-header"},this.model.title)},t.prototype.renderContent=function(){var e=d.Instance.createElement(this.model.contentComponentName,this.model.contentComponentData);return r.createElement("div",{className:"sv-popup__content"},e)},t.prototype.renderHeaderPopup=function(e){var n=this;return e.showCloseButton?r.createElement("button",{tabIndex:-1,className:"sv-popup__close-button sd-action sd-action--icon",onClick:function(){return n.model.clickClose()}},r.createElement(C,{className:"sv-popup__close-button-icon",iconName:"icon-close-24x24",size:"auto"})):null},t.prototype.renderFooter=function(e){return r.createElement("div",{className:"sv-popup__body-footer"},r.createElement(L,{model:e.footerToolbar}))},t.prototype.render=function(){var e=this,n=this.renderContainer(this.model),o=new p.CssClassBuilder().append("sv-popup").append(this.model.styleClass).toString(),s={display:this.model.isVisible?"":"none"};return r.createElement("div",{tabIndex:-1,className:o,style:s,onClick:function(a){e.model.clickOutside(a)},onBlur:function(a){e.model.blur(a)},onKeyDown:this.handleKeydown},n)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.model.isVisible&&this.model.updateOnShowing()},t})(v),Gt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.renderHeaderPopup=function(e){var n=e;return n?r.createElement("span",{style:{left:n.pointerTarget.left,top:n.pointerTarget.top},className:"sv-popup__pointer"}):null},t})(J),Jt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderInnerButton=function(){var e=i.prototype.renderInnerButton.call(this);return r.createElement(r.Fragment,null,e,r.createElement(H,{model:this.item.popupModel}))},t.prototype.componentDidMount=function(){this.viewModel=new p.ActionDropdownViewModel(this.item)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.viewModel.dispose()},t})(Ce);d.Instance.registerElement("sv-action-bar-item-dropdown",function(i){return r.createElement(Jt,i)});var L=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n}return Object.defineProperty(t.prototype,"handleClick",{get:function(){return this.props.handleClick!==void 0?this.props.handleClick:!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(i.prototype.componentDidMount.call(this),!!this.model.hasVisibleActions){var e=this.rootRef.current;e&&this.model.initResponsivityManager(e,function(n){setTimeout(n,100)})}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.model.resetResponsivityManager()},t.prototype.componentDidUpdate=function(e,n){if(i.prototype.componentDidUpdate.call(this,e,n),e.model!=this.props.model&&e.model.resetResponsivityManager(),this.model.hasVisibleActions){var o=this.rootRef.current;o&&this.model.initResponsivityManager(o,function(s){setTimeout(s,100)})}},t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){if(!this.model.hasActions)return null;var e=this.renderItems();return r.createElement("div",{ref:this.rootRef,style:this.model.getRootStyle(),className:this.model.getRootCss(),onClick:this.handleClick?function(n){n.stopPropagation()}:void 0},e)},t.prototype.renderItems=function(){return this.model.renderedActions.concat([]).map(function(e,n){return r.createElement(V,{item:e,key:e.renderedId})})},t})(v);d.Instance.registerElement("sv-action-bar",function(i){return r.createElement(L,i)});var ye=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(this.element.isTitleRenderedAsString)return v.renderLocString(this.element.locRenderedTitle);var e=this.renderTitleSpans(this.element.getTitleOwner(),this.cssClasses);return r.createElement(r.Fragment,null,e)},t.prototype.renderTitleSpans=function(e,n){var o=function(c){return r.createElement("span",{"data-key":c,key:c},"\xA0")},s=[];e.isRequireTextOnStart&&(s.push(this.renderRequireText(e)),s.push(o("req-sp")));var a=e.no;return a&&(s.push(r.createElement("span",{"data-key":"q_num",key:"q_num",className:e.cssTitleNumber,style:{position:"static"},"aria-hidden":!0},a)),s.push(o("num-sp"))),e.isRequireTextBeforeTitle&&(s.push(this.renderRequireText(e)),s.push(o("req-sp"))),s.push(v.renderLocString(e.locRenderedTitle,null,"q_title")),e.isRequireTextAfterTitle&&(s.push(o("req-sp")),s.push(this.renderRequireText(e))),s},t.prototype.renderRequireText=function(e){return r.createElement("span",{"data-key":"req-text",key:"req-text",className:e.cssRequiredMark,"aria-hidden":!0},e.requiredMark)},t})(r.Component),A=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderActions",{get:function(){return this.props.renderActions===void 0?!0:this.props.renderActions},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=r.createElement(ye,{element:this.element,cssClasses:this.cssClasses});return this.element.hasTitleActions?r.createElement("div",{className:"sv-title-actions"},r.createElement("span",{className:"sv-title-actions__title"},e),this.renderActions?r.createElement(L,{model:this.element.getTitleToolbar()}):null):e},t})(r.Component);p.RendererFactory.Instance.registerRenderer("element","title-actions","sv-title-actions"),d.Instance.registerElement("sv-title-actions",function(i){return r.createElement(A,i)});var R=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),t.prototype.renderTitleExpandableSvg=function(){if(!this.element.getCssTitleExpandableSvg())return null;var e=this.element.isExpanded?"icon-collapse-16x16":"icon-expand-16x16";return r.createElement(C,{className:this.element.getCssTitleExpandableSvg(),iconName:e,size:"auto"})},t.prototype.render=function(){var e=this.element;if(!e||!e.hasTitle)return null;var n=e.titleAriaLabel||void 0,o=this.renderTitleExpandableSvg(),s=r.createElement(A,{element:e,cssClasses:e.cssClasses,renderActions:this.props.renderActions}),a=void 0,c=void 0;e.hasTitleEvents&&(c=function(m){p.doKey2ClickUp(m.nativeEvent)});var h=e.titleTagName;return r.createElement(h,{className:e.cssTitle,id:e.ariaTitleId,"aria-label":n,tabIndex:e.titleTabIndex,"aria-expanded":e.titleAriaExpanded,role:e.titleAriaRole,onClick:a,onKeyUp:c},o,s)},t})(r.Component),X=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={changed:0},n.rootRef=r.createRef(),n}return Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this;this.survey.afterRenderHeader(this.rootRef.current),this.survey.locLogo.onChanged=function(){e.setState({changed:e.state.changed+1})}},t.prototype.componentWillUnmount=function(){this.survey.locLogo.onChanged=function(){}},t.prototype.renderTitle=function(){if(!this.survey.renderedHasTitle)return null;var e=v.renderLocString(this.survey.locDescription);return r.createElement("div",{className:this.css.headerText,style:{maxWidth:this.survey.titleMaxWidth}},r.createElement(R,{element:this.survey}),this.survey.renderedHasDescription?r.createElement("div",{className:this.css.description},e):null)},t.prototype.renderLogoImage=function(e){if(!e)return null;var n=this.survey.getElementWrapperComponentName(this.survey,"logo-image"),o=this.survey.getElementWrapperComponentData(this.survey,"logo-image");return d.Instance.createElement(n,{data:o})},t.prototype.render=function(){return this.survey.renderedHasHeader?r.createElement("div",{className:this.css.header,ref:this.rootRef},this.renderLogoImage(this.survey.isLogoBefore),this.renderTitle(),this.renderLogoImage(this.survey.isLogoAfter),r.createElement("div",{className:this.css.headerClose})):null},t})(r.Component);d.Instance.registerElement("survey-header",function(i){return r.createElement(X,i)});var b=(function(){function i(){this.creatorHash={}}return i.prototype.registerQuestion=function(t,e){this.creatorHash[t]=e},i.prototype.getAllTypes=function(){var t=new Array;for(var e in this.creatorHash)t.push(e);return t.sort()},i.prototype.createQuestion=function(t,e){var n=this.creatorHash[t];return n==null?null:n(e)},i.Instance=new i,i})(),Xt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){return r.createElement("div",{className:"sv-brand-info"},r.createElement("a",{className:"sv-brand-info__logo",href:"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"},r.createElement("img",{src:"https://surveyjs.io/Content/Images/poweredby.svg"})),r.createElement("div",{className:"sv-brand-info__text"},"Try and see how easy it is to ",r.createElement("a",{href:"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey"},"create a survey")),r.createElement("div",{className:"sv-brand-info__terms"},r.createElement("a",{href:"https://surveyjs.io/TermsOfUse"},"Terms of Use & Privacy Statement")))},t})(r.Component),Y=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.notifier},t.prototype.renderElement=function(){if(!this.notifier.isDisplayed)return null;var e={visibility:this.notifier.active?"visible":"hidden"};return r.createElement("div",{className:this.notifier.css,style:e,role:"alert","aria-live":"polite"},r.createElement("span",null,this.notifier.message),r.createElement(L,{model:this.notifier.actionBar}))},t})(v);d.Instance.registerElement("sv-notifier",function(i){return r.createElement(Y,i)});var I=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this,n=this.props.survey.getContainerContent(this.props.container),o=this.props.needRenderWrapper!==!1;return n.length==0?null:o?r.createElement("div",{className:"sv-components-column sv-components-container-"+this.props.container},n.map(function(s){return d.Instance.createElement(s.component,{survey:e.props.survey,model:s.data,container:e.props.container,key:s.id})})):r.createElement(r.Fragment,null,n.map(function(s){return d.Instance.createElement(s.component,{survey:e.props.survey,model:s.data,container:e.props.container,key:s.id})}))},t})(r.Component);d.Instance.registerElement("sv-components-container",function(i){return r.createElement(I,i)});var be=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.onIconsChanged=function(){n.containerRef.current&&(n.containerRef.current.innerHTML=p.SvgRegistry.iconsRenderedHtml())},n.containerRef=r.createRef(),n}return t.prototype.componentDidMount=function(){this.onIconsChanged(),p.SvgRegistry.onIconsChanged.add(this.onIconsChanged)},t.prototype.componentWillUnmount=function(){p.SvgRegistry.onIconsChanged.remove(this.onIconsChanged)},t.prototype.render=function(){var e={display:"none"};return r.createElement("svg",{style:e,id:"sv-icon-holder-global-container",ref:this.containerRef})},t})(r.Component),Ee=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.modalManager=n.createPopupModalManager(),n.isInitialized=!1,n.init=function(){n.isInitialized||(p.settings.showDialog=function(o,s){return n.modalManager.addDialog(o,s)},n.isInitialized=!0)},n.clean=function(){n.isInitialized&&(p.settings.showDialog=void 0,n.isInitialized=!1)},n.state={changed:0},n.descriptor={init:n.init,clean:n.clean},n}return t.prototype.createPopupModalManager=function(){var e=this,n=new p.PopupModalManager;return n.onModalsChangedCallback=function(){e.setState({changed:e.state.changed+1})},n},t.addModalDescriptor=function(e){p.settings.showDialog||e.init(),this.modalDescriptors.push(e)},t.removeModalDescriptor=function(e){e.clean(),this.modalDescriptors.splice(this.modalDescriptors.indexOf(e),1),!p.settings.showDialog&&this.modalDescriptors[0]&&this.modalDescriptors[0].init()},t.prototype.renderElement=function(){return r.createElement(r.Fragment,null,this.modalManager.getModals().map(function(e){return pe.createPortal(r.createElement(J,{model:e}),e.container,e.uniqueId.toString())}))},t.prototype.componentDidMount=function(){t.addModalDescriptor(this.descriptor)},t.prototype.componentWillUnmount=function(){this.modalManager.clear(),t.removeModalDescriptor(this.descriptor)},t.modalDescriptors=[],t})(v),Yt='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "/></svg>',en='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"/></svg>',tn='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"/></svg>',nn='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"/></svg>',rn='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"/></svg>',on='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "/></svg>',sn='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"/></svg>',an='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke:var(--sd-timer-stroke-background-color);stroke-width:var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"/><circle cx="80" cy="80" r="70"/></svg>',ln='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 11H17V13H13V17H11V13H7V11H11V7H13V11ZM23 12C23 18.1 18.1 23 12 23C5.9 23 1 18.1 1 12C1 5.9 5.9 1 12 1C18.1 1 23 5.9 23 12ZM21 12C21 7 17 3 12 3C7 3 3 7 3 12C3 17 7 21 12 21C17 21 21 17 21 12Z"/></svg>',un='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 8.99999H4.4L8.7 13.3L7.3 14.7L0.599998 7.99999L7.3 1.29999L8.7 2.69999L4.4 6.99999H15V8.99999Z"/></svg>',cn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.99999H11.6L7.3 2.69999L8.7 1.29999L15.4 7.99999L8.7 14.7L7.3 13.3L11.6 8.99999H1V6.99999Z"/></svg>',dn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.01 4H18.4C18.2 4 18.01 3.9 17.9 3.73L16.97 2.34C16.41 1.5 15.48 1 14.47 1H9.54C8.53 1 7.6 1.5 7.04 2.34L6.11 3.73C6 3.9 5.81 4 5.61 4H4C2.35 4 1 5.35 1 7V19C1 20.65 2.35 22 4 22H20C21.65 22 23 20.65 23 19V7C23 5.35 21.65 4 20 4H20.01ZM21.01 19C21.01 19.55 20.56 20 20.01 20H4.01C3.46 20 3.01 19.55 3.01 19V7C3.01 6.45 3.46 6 4.01 6H5.62C6.49 6 7.3 5.56 7.79 4.84L8.72 3.45C8.91 3.17 9.22 3 9.55 3H14.48C14.81 3 15.13 3.17 15.31 3.45L16.24 4.84C16.72 5.56 17.54 6 18.41 6H20.02C20.57 6 21.02 6.45 21.02 7V19H21.01ZM12.01 6C8.7 6 6.01 8.69 6.01 12C6.01 15.31 8.7 18 12.01 18C15.32 18 18.01 15.31 18.01 12C18.01 8.69 15.32 6 12.01 6ZM12.01 16C9.8 16 8.01 14.21 8.01 12C8.01 9.79 9.8 8 12.01 8C14.22 8 16.01 9.79 16.01 12C16.01 14.21 14.22 16 12.01 16ZM13.01 10C13.01 10.55 12.56 11 12.01 11C11.46 11 11.01 11.45 11.01 12C11.01 12.55 10.56 13 10.01 13C9.46 13 9.01 12.55 9.01 12C9.01 10.35 10.36 9 12.01 9C12.56 9 13.01 9.45 13.01 10Z"/></svg>',hn='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M27 6H23.8C23.34 6 22.92 5.77 22.66 5.39L22.25 4.78C21.51 3.66 20.26 3 18.92 3H13.06C11.72 3 10.48 3.67 9.73 4.78L9.32 5.39C9.07 5.77 8.64 6 8.18 6H4.98C2.79 6 1 7.79 1 10V24C1 26.21 2.79 28 5 28H27C29.21 28 31 26.21 31 24V10C31 7.79 29.21 6 27 6ZM29 24C29 25.1 28.1 26 27 26H5C3.9 26 3 25.1 3 24V10C3 8.9 3.9 8 5 8H8.2C9.33 8 10.38 7.44 11 6.5L11.41 5.89C11.78 5.33 12.41 5 13.07 5H18.93C19.6 5 20.22 5.33 20.59 5.89L21 6.5C21.62 7.44 22.68 8 23.8 8H27C28.1 8 29 8.9 29 10V24ZM16 9C12.13 9 9 12.13 9 16C9 19.87 12.13 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9ZM16 21C13.24 21 11 18.76 11 16C11 13.24 13.24 11 16 11C18.76 11 21 13.24 21 16C21 18.76 18.76 21 16 21ZM17 13C17 13.55 16.55 14 16 14C14.9 14 14 14.9 14 16C14 16.55 13.55 17 13 17C12.45 17 12 16.55 12 16C12 13.79 13.79 12 16 12C16.55 12 17 12.45 17 13Z"/></svg>',mn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"/></svg>',pn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.003 14.413L0.292999 9.70303L1.703 8.29303L5.003 11.583L14.293 2.29303L15.703 3.70303L5.003 14.413Z"/></svg>',fn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 20.1L1 12L3.1 9.9L9 15.9L20.9 4L23 6.1L9 20.1Z"/></svg>',vn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 15L17 10H7L12 15Z"/></svg>',gn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.64648 12.6465L6.34648 13.3465L11.7465 8.04648L6.34648 2.64648L5.64648 3.34648L10.2465 8.04648L5.64648 12.6465Z"/></svg>',Cn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.35 3.34999L12.65 2.64999L8.05002 7.24999L3.35002 2.64999L2.65002 3.34999L7.25002 8.04999L2.65002 12.65L3.35002 13.35L8.05002 8.74999L12.65 13.35L13.35 12.65L8.75002 8.04999L13.35 3.34999Z"/></svg>',yn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"/></svg>',bn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.43 8.0025L13.7 3.7225C14.09 3.3325 14.09 2.6925 13.7 2.2925C13.31 1.9025 12.67 1.9025 12.27 2.2925L7.99 6.5725L3.72 2.3025C3.33 1.9025 2.69 1.9025 2.3 2.3025C1.9 2.6925 1.9 3.3325 2.3 3.7225L6.58 8.0025L2.3 12.2825C1.91 12.6725 1.91 13.3125 2.3 13.7125C2.69 14.1025 3.33 14.1025 3.73 13.7125L8.01 9.4325L12.29 13.7125C12.68 14.1025 13.32 14.1025 13.72 13.7125C14.11 13.3225 14.11 12.6825 13.72 12.2825L9.44 8.0025H9.43Z"/></svg>',En='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.4101 12L20.7001 4.71C21.0901 4.32 21.0901 3.69 20.7001 3.3C20.3101 2.91 19.6801 2.91 19.2901 3.3L12.0001 10.59L4.71006 3.29C4.32006 2.9 3.68006 2.9 3.29006 3.29C2.90006 3.68 2.90006 4.32 3.29006 4.71L10.5801 12L3.29006 19.29C2.90006 19.68 2.90006 20.31 3.29006 20.7C3.49006 20.9 3.74006 20.99 4.00006 20.99C4.26006 20.99 4.51006 20.89 4.71006 20.7L12.0001 13.41L19.2901 20.7C19.4901 20.9 19.7401 20.99 20.0001 20.99C20.2601 20.99 20.5101 20.89 20.7101 20.7C21.1001 20.31 21.1001 19.68 20.7101 19.29L13.4201 12H13.4101Z"/></svg>',wn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M2 6L3 5L8 10L13 5L14 6L8 12L2 6Z"/></svg>',qn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"/></svg>',Ln='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H14H11V1C11 0.4 10.6 0 10 0H7C6.4 0 6 0.4 6 1V2H3H2V4H3V14C3 15.1 3.9 16 5 16H12C13.1 16 14 15.1 14 14V4H15V2ZM7 1H10V2H7V1ZM12 14H5V4H12V14ZM7 13H6V5H7V13ZM9 13H8V5H9V13ZM11 13H10V5H11V13Z"/></svg>',xn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22 4H20H16V2C16 0.9 15.1 0 14 0H10C8.9 0 8 0.9 8 2V4H4H2V6H4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V6H22V4ZM10 2H14V4H10V2ZM18 20H6V6H8H16H18V20ZM14 8H16V18H14V8ZM11 8H13V18H11V8ZM8 8H10V18H8V8Z"/></svg>',Sn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 6C13 4.9 13.9 4 15 4C16.1 4 17 4.9 17 6C17 7.1 16.1 8 15 8C13.9 8 13 7.1 13 6ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16ZM9 16C7.9 16 7 16.9 7 18C7 19.1 7.9 20 9 20C10.1 20 11 19.1 11 18C11 16.9 10.1 16 9 16Z"/></svg>',In='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M18 9C19.1 9 20 9.9 20 11C20 12.1 19.1 13 18 13C16.9 13 16 12.1 16 11C16 9.9 16.9 9 18 9ZM20 5C20 3.9 19.1 3 18 3C16.9 3 16 3.9 16 5C16 6.1 16.9 7 18 7C19.1 7 20 6.1 20 5ZM14 11C14 9.9 13.1 9 12 9C10.9 9 10 9.9 10 11C10 12.1 10.9 13 12 13C13.1 13 14 12.1 14 11ZM14 5C14 3.9 13.1 3 12 3C10.9 3 10 3.9 10 5C10 6.1 10.9 7 12 7C13.1 7 14 6.1 14 5ZM8 11C8 9.9 7.1 9 6 9C4.9 9 4 9.9 4 11C4 12.1 4.9 13 6 13C7.1 13 8 12.1 8 11ZM8 5C8 3.9 7.1 3 6 3C4.9 3 4 3.9 4 5C4 6.1 4.9 7 6 7C7.1 7 8 6.1 8 5Z"/></svg>',Mn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.59 4.5884L11.42 2.4184C11.03 2.0284 10.52 1.8284 10.01 1.8284C9.5 1.8284 8.99 2.0284 8.6 2.4184L3.76 7.2384C2.63 8.3684 2 9.8884 2 11.4784V12.9884C2 13.5384 2.45 13.9884 3 13.9884H4.51C6.1 13.9884 7.63 13.3584 8.75 12.2284L13.58 7.3984C14.36 6.6184 14.36 5.3484 13.58 4.5684L13.59 4.5884ZM7.35 10.8284C6.59 11.5884 5.59 11.9984 4.52 11.9984H4.01V11.4884C4.01 10.4184 4.43 9.4184 5.18 8.6584L7.72 6.1184L9.89 8.2884L7.35 10.8284ZM11.3 6.8784L9.13 4.7084L10.01 3.8284L12.18 5.9984L11.3 6.8784Z"/></svg>',Rn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6 14L5 13L10 8L5 3L6 2L12 8L6 14Z"/></svg>',Nn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H9V3H7V7H3V9H7V13H9V9H13V7Z"/></svg>',Hn='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"/></svg>',kn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M23 12.0037C23 14.2445 21.7794 16.3052 19.5684 17.8257C19.3984 17.9458 19.1983 18.0058 19.0082 18.0058C18.688 18.0058 18.3779 17.8557 18.1778 17.5756C17.8677 17.1155 17.9777 16.4953 18.4379 16.1852C20.0887 15.0448 21.0091 13.5643 21.0091 12.0138C21.0091 8.70262 16.9673 6.01171 12.005 6.01171C11.4948 6.01171 10.9945 6.04172 10.5043 6.09173L11.7149 7.30215C12.105 7.69228 12.105 8.32249 11.7149 8.71263C11.5148 8.9127 11.2647 9.00273 11.0045 9.00273C10.7444 9.00273 10.4943 8.90269 10.2942 8.71263L6.58254 5.00136L10.2842 1.2901C10.6744 0.899964 11.3047 0.899964 11.6949 1.2901C12.085 1.68023 12.085 2.31045 11.6949 2.70058L10.3042 4.09105C10.8545 4.03103 11.4147 4.00102 11.985 4.00102C18.0578 4.00102 22.99 7.59225 22.99 12.0037H23ZM12.2851 15.2949C11.895 15.685 11.895 16.3152 12.2851 16.7054L13.4957 17.9158C13.0055 17.9758 12.4952 17.9958 11.995 17.9958C7.03274 17.9958 2.99091 15.3049 2.99091 11.9937C2.99091 10.4332 3.90132 8.95271 5.56207 7.82232C6.02228 7.51222 6.13233 6.89201 5.82219 6.43185C5.51205 5.97169 4.89177 5.86166 4.43156 6.17176C2.22055 7.69228 1 9.76299 1 11.9937C1 16.4052 5.93224 19.9965 12.005 19.9965C12.5753 19.9965 13.1355 19.9665 13.6858 19.9064L12.2951 21.2969C11.905 21.6871 11.905 22.3173 12.2951 22.7074C12.4952 22.9075 12.7453 22.9975 13.0055 22.9975C13.2656 22.9975 13.5157 22.8975 13.7158 22.7074L17.4275 18.9961L13.7158 15.2849C13.3256 14.8947 12.6953 14.8947 12.3051 15.2849L12.2851 15.2949Z"/></svg>',Bn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.93 9H21V7C21 6.46957 20.7893 5.96086 20.4142 5.58579C20.0391 5.21071 19.5304 5 19 5H10L8 3H4C3.46957 3 2.96086 3.21071 2.58579 3.58579C2.21071 3.96086 2 4.46957 2 5L2 21H21L23.89 11.63C23.9916 11.3244 24.0179 10.9988 23.9667 10.6809C23.9155 10.363 23.7882 10.0621 23.5958 9.80392C23.4034 9.54571 23.1514 9.33779 22.8614 9.19782C22.5714 9.05786 22.2519 8.99 21.93 9ZM4 5H7.17L8.59 6.41L9.17 7H19V9H6L4 15V5ZM22 11L19.54 19H4.77L7.44 11H22Z"/></svg>',Dn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 13H4C2.9 13 2 12.1 2 11V5C2 3.9 2.9 3 4 3H12C13.1 3 14 3.9 14 5V11C14 12.1 13.1 13 12 13ZM4 5V11H12V5H4Z"/></svg>',Pn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M36 8H12C9.79 8 8 9.79 8 12V36C8 38.21 9.79 40 12 40H36C38.21 40 40 38.21 40 36V12C40 9.79 38.21 8 36 8ZM38 36C38 37.1 37.1 38 36 38H12C10.9 38 10 37.1 10 36V12C10 10.9 10.9 10 12 10H36C37.1 10 38 10.9 38 12V36ZM14 17C14 15.34 15.34 14 17 14C18.66 14 20 15.34 20 17C20 18.66 18.66 20 17 20C15.34 20 14 18.66 14 17ZM27 24L36 36H12L19 27L23 29L27 24Z"/></svg>',Vn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"/><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z"/></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"/></clipPath></defs></svg>',On='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.71 10.71L4.42 13H6.01C6.56 13 7.01 13.45 7.01 14C7.01 14.55 6.56 15 6.01 15H2C1.45 15 1 14.55 1 14V10C1 9.45 1.45 9 2 9C2.55 9 3 9.45 3 10V11.59L5.29 9.3C5.68 8.91 6.31 8.91 6.7 9.3C7.09 9.69 7.09 10.32 6.7 10.71H6.71ZM14 1H10C9.45 1 9 1.45 9 2C9 2.55 9.45 3 10 3H11.59L9.3 5.29C8.91 5.68 8.91 6.31 9.3 6.7C9.5 6.9 9.75 6.99 10.01 6.99C10.27 6.99 10.52 6.89 10.72 6.7L13.01 4.41V6C13.01 6.55 13.46 7 14.01 7C14.56 7 15.01 6.55 15.01 6V2C15.01 1.45 14.56 1 14.01 1H14Z"/></svg>',Tn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 9H3C2.45 9 2 8.55 2 8C2 7.45 2.45 7 3 7H13C13.55 7 14 7.45 14 8C14 8.55 13.55 9 13 9Z"/></svg>',Qn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 12C6 13.1 5.1 14 4 14C2.9 14 2 13.1 2 12C2 10.9 2.9 10 4 10C5.1 10 6 10.9 6 12ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM20 10C18.9 10 18 10.9 18 12C18 13.1 18.9 14 20 14C21.1 14 22 13.1 22 12C22 10.9 21.1 10 20 10Z"/></svg>',Zn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16 7H2V5H16V7ZM2 11V13H22V11H2ZM2 19H10V17H2V19Z"/></svg>',_n='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M14 17.01C14 16.4167 14.1759 15.8366 14.5056 15.3433C14.8352 14.8499 15.3038 14.4654 15.8519 14.2384C16.4001 14.0113 17.0033 13.9519 17.5853 14.0676C18.1672 14.1834 18.7018 14.4691 19.1213 14.8887C19.5409 15.3082 19.8266 15.8428 19.9424 16.4247C20.0581 17.0067 19.9987 17.6099 19.7716 18.1581C19.5446 18.7062 19.1601 19.1748 18.6667 19.5044C18.1734 19.8341 17.5933 20.01 17 20.01C16.2044 20.01 15.4413 19.6939 14.8787 19.1313C14.3161 18.5687 14 17.8056 14 17.01ZM27.09 24.14L20 36.01H36L27.09 24.14ZM36.72 8.14L35.57 10.01H36C36.5304 10.01 37.0391 10.2207 37.4142 10.5958C37.7893 10.9709 38 11.4796 38 12.01V36.01C38 36.5404 37.7893 37.0491 37.4142 37.4242C37.0391 37.7993 36.5304 38.01 36 38.01H18.77L17.57 40.01H36C37.0609 40.01 38.0783 39.5886 38.8284 38.8384C39.5786 38.0883 40 37.0709 40 36.01V12.01C39.9966 11.0765 39.6668 10.1737 39.0678 9.45778C38.4688 8.74188 37.6382 8.25802 36.72 8.09V8.14ZM36.86 4.5L12.86 44.5L11.14 43.5L13.23 40.01H12C10.9391 40.01 9.92172 39.5886 9.17157 38.8384C8.42143 38.0883 8 37.0709 8 36.01V12.01C8 10.9491 8.42143 9.93172 9.17157 9.18157C9.92172 8.43143 10.9391 8.01 12 8.01H32.43L35.14 3.5L36.86 4.5ZM14.43 38.01L15.63 36.01H12L19 27.01L20.56 27.8L31.23 10.01H12C11.4696 10.01 10.9609 10.2207 10.5858 10.5958C10.2107 10.9709 10 11.4796 10 12.01V36.01C10 36.5404 10.2107 37.0491 10.5858 37.4242C10.9609 37.7993 11.4696 38.01 12 38.01H14.43Z"/></svg>',An='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"/><path d="M6 19V15H4V19H0L5 24L10 19H6Z"/></svg>',jn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"/></svg>',Wn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"/><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"/></svg>',Un='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"/><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"/></svg>',Fn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"/></g></svg>',zn='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"/></g></svg>',$n='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M17 5L12 0L7 5H11V9H13V5H17Z"/><path d="M13 19V15H11V19H7L12 24L17 19H13Z"/></svg>',Kn='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 6C15 6.55 14.55 7 14 7H10C9.45 7 9 6.55 9 6V2C9 1.45 9.45 1 10 1C10.55 1 11 1.45 11 2V3.59L13.29 1.29C13.49 1.09 13.74 1 14 1C14.26 1 14.51 1.1 14.71 1.29C15.1 1.68 15.1 2.31 14.71 2.7L12.42 4.99H14.01C14.56 4.99 15.01 5.44 15.01 5.99L15 6ZM6 9H2C1.45 9 0.999998 9.45 0.999998 10C0.999998 10.55 1.45 11 2 11H3.59L1.29 13.29C0.899998 13.68 0.899998 14.31 1.29 14.7C1.68 15.09 2.31 15.09 2.7 14.7L4.99 12.41V14C4.99 14.55 5.44 15 5.99 15C6.54 15 6.99 14.55 6.99 14V10C6.99 9.45 6.54 9 5.99 9H6Z"/></svg>',Gn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14 2C9.6 2 6 5.6 6 10C6 11.8 6.6 13.5 7.7 14.9L2.3 20.3C1.9 20.7 1.9 21.3 2.3 21.7C2.5 21.9 2.7 22 3 22C3.3 22 3.5 21.9 3.7 21.7L9.1 16.3C10.5 17.4 12.2 18 14 18C18.4 18 22 14.4 22 10C22 5.6 18.4 2 14 2ZM14 16C10.7 16 8 13.3 8 10C8 6.7 10.7 4 14 4C17.3 4 20 6.7 20 10C20 13.3 17.3 16 14 16Z"/></svg>',Jn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"/></svg>',Xn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"/></svg>',Yn='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"/></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',er='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"/></svg>',tr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"/></svg>',nr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"/></svg>',rr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"/></svg>',ir='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"/></svg>',or='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"/></svg>',sr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"/></svg>';const ar={modernbooleancheckchecked:Yt,modernbooleancheckind:en,modernbooleancheckunchecked:tn,moderncheck:nn,modernradio:rn,progressbutton:on,removefile:sn,timercircle:an,"add-24x24":ln,"arrowleft-16x16":un,"arrowright-16x16":cn,"camera-24x24":dn,"camera-32x32":hn,"cancel-24x24":mn,"check-16x16":pn,"check-24x24":fn,"chevrondown-24x24":vn,"chevronright-16x16":gn,"clear-16x16":Cn,"clear-24x24":yn,"close-16x16":bn,"close-24x24":En,"collapse-16x16":wn,"collapsedetails-16x16":qn,"delete-16x16":Ln,"delete-24x24":xn,"drag-24x24":Sn,"draghorizontal-24x16":In,"editsmall-16x16":Mn,"expand-16x16":Rn,"expanddetails-16x16":Nn,"file-72x72":Hn,"flip-24x24":kn,"folder-24x24":Bn,"fullsize-16x16":Dn,"image-48x48":Pn,"loading-48x48":Vn,"maximize-16x16":On,"minimize-16x16":Tn,"more-24x24":Qn,"navmenu-24x24":Zn,"noimage-48x48":_n,"ranking-arrows":An,"rankingundefined-16x16":jn,"rating-star-2":Wn,"rating-star-small-2":Un,"rating-star-small":Fn,"rating-star":zn,"reorder-24x24":$n,"restoredown-16x16":Kn,"search-24x24":Gn,"smiley-rate1-24x24":Jn,"smiley-rate10-24x24":Xn,"smiley-rate2-24x24":Yn,"smiley-rate3-24x24":er,"smiley-rate4-24x24":tr,"smiley-rate5-24x24":nr,"smiley-rate6-24x24":rr,"smiley-rate7-24x24":ir,"smiley-rate8-24x24":or,"smiley-rate9-24x24":sr};var lr='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "/></svg>',ur='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"/></svg>',cr='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"/></svg>',dr='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"/></svg>',hr='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"/></svg>',mr='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "/></svg>',pr='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"/></svg>',fr='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke:var(--sd-timer-stroke-background-color);stroke-width:var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"/><circle cx="80" cy="80" r="70"/></svg>',vr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 12C15.75 12.41 15.41 12.75 15 12.75H12.75V15C12.75 15.41 12.41 15.75 12 15.75C11.59 15.75 11.25 15.41 11.25 15V12.75H9C8.59 12.75 8.25 12.41 8.25 12C8.25 11.59 8.59 11.25 9 11.25H11.25V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9V11.25H15C15.41 11.25 15.75 11.59 15.75 12ZM21.75 12C21.75 17.38 17.38 21.75 12 21.75C6.62 21.75 2.25 17.38 2.25 12C2.25 6.62 6.62 2.25 12 2.25C17.38 2.25 21.75 6.62 21.75 12ZM20.25 12C20.25 7.45 16.55 3.75 12 3.75C7.45 3.75 3.75 7.45 3.75 12C3.75 16.55 7.45 20.25 12 20.25C16.55 20.25 20.25 16.55 20.25 12Z"/></svg>',gr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.7475 7.9975C14.7475 8.4075 14.4075 8.7475 13.9975 8.7475H3.8075L7.5275 12.4675C7.8175 12.7575 7.8175 13.2375 7.5275 13.5275C7.3775 13.6775 7.1875 13.7475 6.9975 13.7475C6.8075 13.7475 6.6175 13.6775 6.4675 13.5275L1.4675 8.5275C1.1775 8.2375 1.1775 7.7575 1.4675 7.4675L6.4675 2.4675C6.7575 2.1775 7.2375 2.1775 7.5275 2.4675C7.8175 2.7575 7.8175 3.2375 7.5275 3.5275L3.8075 7.2475H13.9975C14.4075 7.2475 14.7475 7.5875 14.7475 7.9975Z"/></svg>',Cr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 8.5275L9.53 13.5275C9.38 13.6775 9.19 13.7475 9 13.7475C8.81 13.7475 8.62 13.6775 8.47 13.5275C8.18 13.2375 8.18 12.7575 8.47 12.4675L12.19 8.7475H2C1.59 8.7475 1.25 8.4075 1.25 7.9975C1.25 7.5875 1.59 7.2475 2 7.2475H12.19L8.47 3.5275C8.18 3.2375 8.18 2.7575 8.47 2.4675C8.76 2.1775 9.24 2.1775 9.53 2.4675L14.53 7.4675C14.82 7.7575 14.82 8.2375 14.53 8.5275Z"/></svg>',yr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.19 4.25H17.12C16.72 4.25 16.35 4.03 16.17 3.67C15.73 2.8 14.86 2.25 13.88 2.25H10.12C9.14 2.25 8.27 2.79 7.83 3.67C7.65 4.03 7.29 4.25 6.88 4.25H4.81C3.4 4.25 2.25 5.4 2.25 6.81V18.19C2.25 19.6 3.4 20.75 4.81 20.75H19.19C20.6 20.75 21.75 19.6 21.75 18.19V6.81C21.75 5.4 20.6 4.25 19.19 4.25ZM20.25 18.19C20.25 18.77 19.78 19.25 19.19 19.25H4.81C4.23 19.25 3.75 18.78 3.75 18.19V6.81C3.75 6.23 4.22 5.75 4.81 5.75H6.88C7.86 5.75 8.73 5.21 9.17 4.33C9.35 3.97 9.71 3.75 10.12 3.75H13.88C14.28 3.75 14.65 3.97 14.83 4.33C15.27 5.2 16.14 5.75 17.12 5.75H19.19C19.77 5.75 20.25 6.22 20.25 6.81V18.19ZM12 6.25C8.83 6.25 6.25 8.83 6.25 12C6.25 15.17 8.83 17.75 12 17.75C15.17 17.75 17.75 15.17 17.75 12C17.75 8.83 15.17 6.25 12 6.25ZM12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM14.75 12C14.75 13.52 13.52 14.75 12 14.75C11.59 14.75 11.25 14.41 11.25 14C11.25 13.59 11.59 13.25 12 13.25C12.69 13.25 13.25 12.69 13.25 12C13.25 11.59 13.59 11.25 14 11.25C14.41 11.25 14.75 11.59 14.75 12Z"/></svg>',br='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M25 7.25H22.19C21.73 7.25 21.31 7 21.09 6.59L20.89 6.22C20.23 5.01 18.97 4.25 17.59 4.25H14.41C13.03 4.25 11.77 5 11.11 6.22L10.91 6.6C10.69 7 10.27 7.26 9.81 7.26H7C4.93 7.26 3.25 8.94 3.25 11.01V24.01C3.25 26.08 4.93 27.76 7 27.76H25C27.07 27.76 28.75 26.08 28.75 24.01V11C28.75 8.93 27.07 7.25 25 7.25ZM27.25 24C27.25 25.24 26.24 26.25 25 26.25H7C5.76 26.25 4.75 25.24 4.75 24V11C4.75 9.76 5.76 8.75 7 8.75H9.81C10.82 8.75 11.75 8.2 12.23 7.31L12.43 6.94C12.82 6.21 13.58 5.76 14.41 5.76H17.59C18.42 5.76 19.18 6.21 19.57 6.94L19.77 7.31C20.25 8.2 21.18 8.76 22.19 8.76H25C26.24 8.76 27.25 9.77 27.25 11.01V24.01V24ZM16 10.25C12.28 10.25 9.25 13.28 9.25 17C9.25 20.72 12.28 23.75 16 23.75C19.72 23.75 22.75 20.72 22.75 17C22.75 13.28 19.72 10.25 16 10.25ZM16 22.25C13.11 22.25 10.75 19.89 10.75 17C10.75 14.11 13.11 11.75 16 11.75C18.89 11.75 21.25 14.11 21.25 17C21.25 19.89 18.89 22.25 16 22.25ZM19.75 17C19.75 19.07 18.07 20.75 16 20.75C15.59 20.75 15.25 20.41 15.25 20C15.25 19.59 15.59 19.25 16 19.25C17.24 19.25 18.25 18.24 18.25 17C18.25 16.59 18.59 16.25 19 16.25C19.41 16.25 19.75 16.59 19.75 17Z"/></svg>',Er='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.8099 11.75L15.2799 9.28C15.5699 8.99 15.5699 8.51 15.2799 8.22C14.9899 7.93 14.5099 7.93 14.2199 8.22L11.7499 10.69L9.27994 8.22C8.98994 7.93 8.50994 7.93 8.21994 8.22C7.92994 8.51 7.92994 8.99 8.21994 9.28L10.6899 11.75L8.21994 14.22C7.92994 14.51 7.92994 14.99 8.21994 15.28C8.36994 15.43 8.55994 15.5 8.74994 15.5C8.93994 15.5 9.12994 15.43 9.27994 15.28L11.7499 12.81L14.2199 15.28C14.3699 15.43 14.5599 15.5 14.7499 15.5C14.9399 15.5 15.1299 15.43 15.2799 15.28C15.5699 14.99 15.5699 14.51 15.2799 14.22L12.8099 11.75Z"/></svg>',wr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.0275 5.0275L6.5275 12.5275C6.3775 12.6775 6.1875 12.7475 5.9975 12.7475C5.8075 12.7475 5.6175 12.6775 5.4675 12.5275L2.4675 9.5275C2.1775 9.2375 2.1775 8.7575 2.4675 8.4675C2.7575 8.1775 3.2375 8.1775 3.5275 8.4675L5.9975 10.9375L12.9675 3.9675C13.2575 3.6775 13.7375 3.6775 14.0275 3.9675C14.3175 4.2575 14.3175 4.7375 14.0275 5.0275Z"/></svg>',qr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z"/></svg>',Lr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z"/></svg>',xr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.35 8.34627L7.35 12.3463C7.25 12.4463 7.12 12.4963 7 12.4963C6.88 12.4963 6.74 12.4463 6.65 12.3463C6.45 12.1463 6.45 11.8363 6.65 11.6363L10.3 7.98627L6.65 4.34627C6.45 4.15627 6.45 3.83627 6.65 3.64627C6.85 3.45627 7.16 3.44627 7.35 3.64627L11.35 7.64627C11.55 7.84627 11.55 8.15627 11.35 8.35627V8.34627Z"/></svg>',Sr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.35 11.65C12.55 11.85 12.55 12.16 12.35 12.36C12.25 12.46 12.12 12.51 12 12.51C11.88 12.51 11.74 12.46 11.65 12.36L8 8.71L4.35 12.36C4.25 12.46 4.12 12.51 4 12.51C3.88 12.51 3.74 12.46 3.65 12.36C3.45 12.16 3.45 11.85 3.65 11.65L7.3 8L3.65 4.35C3.45 4.16 3.45 3.84 3.65 3.65C3.85 3.46 4.16 3.45 4.35 3.65L8 7.3L11.65 3.65C11.85 3.45 12.16 3.45 12.36 3.65C12.56 3.85 12.56 4.16 12.36 4.36L8.71 8.01L12.36 11.66L12.35 11.65Z"/></svg>',Ir='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.12 10.9325C20.64 10.4125 20.93 9.7225 20.93 8.9925C20.93 8.2625 20.64 7.5725 20.12 7.0525L16.95 3.8825C15.88 2.8125 14.13 2.8125 13.06 3.8825L3.88 13.0525C3.36 13.5725 3.07 14.2625 3.07 14.9925C3.07 15.7225 3.36 16.4125 3.88 16.9325L5.64 18.6925C6.57 19.6225 7.78 20.0825 9 20.0825C10.22 20.0825 11.43 19.6225 12.36 18.6925L20.12 10.9325ZM14.12 4.9325C14.36 4.6925 14.67 4.5625 15 4.5625C15.33 4.5625 15.65 4.6925 15.88 4.9325L19.05 8.1025C19.54 8.5925 19.54 9.3825 19.05 9.8725L12.99 15.9325L8.05 10.9925L14.12 4.9325ZM6.7 17.6325L4.94 15.8725C4.45 15.3825 4.45 14.5925 4.94 14.1025L7 12.0425L11.94 16.9825L11.3 17.6225C10.07 18.8525 7.93 18.8525 6.7 17.6225V17.6325ZM22.75 20.9925C22.75 21.4025 22.41 21.7425 22 21.7425H14C13.59 21.7425 13.25 21.4025 13.25 20.9925C13.25 20.5825 13.59 20.2425 14 20.2425H22C22.41 20.2425 22.75 20.5825 22.75 20.9925ZM4.75 20.9925C4.75 21.4025 4.41 21.7425 4 21.7425H2C1.59 21.7425 1.25 21.4025 1.25 20.9925C1.25 20.5825 1.59 20.2425 2 20.2425H4C4.41 20.2425 4.75 20.5825 4.75 20.9925Z"/></svg>',Mr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5275 12.4675C13.8175 12.7575 13.8175 13.2375 13.5275 13.5275C13.3775 13.6775 13.1875 13.7475 12.9975 13.7475C12.8075 13.7475 12.6175 13.6775 12.4675 13.5275L7.9975 9.0575L3.5275 13.5275C3.3775 13.6775 3.1875 13.7475 2.9975 13.7475C2.8075 13.7475 2.6175 13.6775 2.4675 13.5275C2.1775 13.2375 2.1775 12.7575 2.4675 12.4675L6.9375 7.9975L2.4675 3.5275C2.1775 3.2375 2.1775 2.7575 2.4675 2.4675C2.7575 2.1775 3.2375 2.1775 3.5275 2.4675L7.9975 6.9375L12.4675 2.4675C12.7575 2.1775 13.2375 2.1775 13.5275 2.4675C13.8175 2.7575 13.8175 3.2375 13.5275 3.5275L9.0575 7.9975L13.5275 12.4675Z"/></svg>',Rr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 18.4675C19.8175 18.7575 19.8175 19.2375 19.5275 19.5275C19.3775 19.6775 19.1875 19.7475 18.9975 19.7475C18.8075 19.7475 18.6175 19.6775 18.4675 19.5275L11.9975 13.0575L5.5275 19.5275C5.3775 19.6775 5.1875 19.7475 4.9975 19.7475C4.8075 19.7475 4.6175 19.6775 4.4675 19.5275C4.1775 19.2375 4.1775 18.7575 4.4675 18.4675L10.9375 11.9975L4.4675 5.5275C4.1775 5.2375 4.1775 4.7575 4.4675 4.4675C4.7575 4.1775 5.2375 4.1775 5.5275 4.4675L11.9975 10.9375L18.4675 4.4675C18.7575 4.1775 19.2375 4.1775 19.5275 4.4675C19.8175 4.7575 19.8175 5.2375 19.5275 5.5275L13.0575 11.9975L19.5275 18.4675Z"/></svg>',Nr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Hr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',kr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3.25H10.75V3C10.75 2.04 9.96 1.25 9 1.25H7C6.04 1.25 5.25 2.04 5.25 3V3.25H3C2.59 3.25 2.25 3.59 2.25 4C2.25 4.41 2.59 4.75 3 4.75H3.25V13C3.25 13.96 4.04 14.75 5 14.75H11C11.96 14.75 12.75 13.96 12.75 13V4.75H13C13.41 4.75 13.75 4.41 13.75 4C13.75 3.59 13.41 3.25 13 3.25ZM6.75 3C6.75 2.86 6.86 2.75 7 2.75H9C9.14 2.75 9.25 2.86 9.25 3V3.25H6.75V3ZM11.25 13C11.25 13.14 11.14 13.25 11 13.25H5C4.86 13.25 4.75 13.14 4.75 13V4.75H11.25V13ZM9.25 6.25C9.66 6.25 10 6.59 10 7V11C10 11.41 9.66 11.75 9.25 11.75C8.84 11.75 8.5 11.41 8.5 11V7C8.5 6.59 8.84 6.25 9.25 6.25ZM7.5 7V11C7.5 11.41 7.16 11.75 6.75 11.75C6.34 11.75 6 11.41 6 11V7C6 6.59 6.34 6.25 6.75 6.25C7.16 6.25 7.5 6.59 7.5 7Z"/></svg>',Br='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.75 9V17C12.75 17.41 12.41 17.75 12 17.75C11.59 17.75 11.25 17.41 11.25 17V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9ZM14.25 9V17C14.25 17.41 14.59 17.75 15 17.75C15.41 17.75 15.75 17.41 15.75 17V9C15.75 8.59 15.41 8.25 15 8.25C14.59 8.25 14.25 8.59 14.25 9ZM9 8.25C8.59 8.25 8.25 8.59 8.25 9V17C8.25 17.41 8.59 17.75 9 17.75C9.41 17.75 9.75 17.41 9.75 17V9C9.75 8.59 9.41 8.25 9 8.25ZM20.75 6C20.75 6.41 20.41 6.75 20 6.75H18.75V18C18.75 19.52 17.52 20.75 16 20.75H8C6.48 20.75 5.25 19.52 5.25 18V6.75H4C3.59 6.75 3.25 6.41 3.25 6C3.25 5.59 3.59 5.25 4 5.25H8.25V4C8.25 3.04 9.04 2.25 10 2.25H14C14.96 2.25 15.75 3.04 15.75 4V5.25H20C20.41 5.25 20.75 5.59 20.75 6ZM9.75 5.25H14.25V4C14.25 3.86 14.14 3.75 14 3.75H10C9.86 3.75 9.75 3.86 9.75 4V5.25ZM17.25 6.75H6.75V18C6.75 18.69 7.31 19.25 8 19.25H16C16.69 19.25 17.25 18.69 17.25 18V6.75Z"/></svg>',Dr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 8.75C15.19 8.75 15.75 8.19 15.75 7.5C15.75 6.81 15.19 6.25 14.5 6.25C13.81 6.25 13.25 6.81 13.25 7.5C13.25 8.19 13.81 8.75 14.5 8.75ZM14.5 7.25C14.64 7.25 14.75 7.36 14.75 7.5C14.75 7.78 14.25 7.78 14.25 7.5C14.25 7.36 14.36 7.25 14.5 7.25ZM9.5 6.25C8.81 6.25 8.25 6.81 8.25 7.5C8.25 8.19 8.81 8.75 9.5 8.75C10.19 8.75 10.75 8.19 10.75 7.5C10.75 6.81 10.19 6.25 9.5 6.25ZM9.25 7.5C9.25 7.36 9.36 7.25 9.5 7.25C9.64 7.25 9.75 7.36 9.75 7.5C9.75 7.78 9.25 7.78 9.25 7.5ZM14.5 11.25C13.81 11.25 13.25 11.81 13.25 12.5C13.25 13.19 13.81 13.75 14.5 13.75C15.19 13.75 15.75 13.19 15.75 12.5C15.75 11.81 15.19 11.25 14.5 11.25ZM14.25 12.5C14.25 12.36 14.36 12.25 14.5 12.25C14.64 12.25 14.75 12.36 14.75 12.5C14.75 12.78 14.25 12.78 14.25 12.5ZM9.5 11.25C8.81 11.25 8.25 11.81 8.25 12.5C8.25 13.19 8.81 13.75 9.5 13.75C10.19 13.75 10.75 13.19 10.75 12.5C10.75 11.81 10.19 11.25 9.5 11.25ZM9.25 12.5C9.25 12.36 9.36 12.25 9.5 12.25C9.64 12.25 9.75 12.36 9.75 12.5C9.75 12.78 9.25 12.78 9.25 12.5ZM14.5 16.25C13.81 16.25 13.25 16.81 13.25 17.5C13.25 18.19 13.81 18.75 14.5 18.75C15.19 18.75 15.75 18.19 15.75 17.5C15.75 16.81 15.19 16.25 14.5 16.25ZM14.25 17.5C14.25 17.36 14.36 17.25 14.5 17.25C14.64 17.25 14.75 17.36 14.75 17.5C14.75 17.78 14.25 17.78 14.25 17.5ZM9.5 16.25C8.81 16.25 8.25 16.81 8.25 17.5C8.25 18.19 8.81 18.75 9.5 18.75C10.19 18.75 10.75 18.19 10.75 17.5C10.75 16.81 10.19 16.25 9.5 16.25ZM9.25 17.5C9.25 17.36 9.36 17.25 9.5 17.25C9.64 17.25 9.75 17.36 9.75 17.5C9.75 17.78 9.25 17.78 9.25 17.5Z"/></svg>',Pr='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 9.25C16.81 9.25 16.25 9.81 16.25 10.5C16.25 11.19 16.81 11.75 17.5 11.75C18.19 11.75 18.75 11.19 18.75 10.5C18.75 9.81 18.19 9.25 17.5 9.25ZM17.25 10.5C17.25 10.36 17.36 10.25 17.5 10.25C17.64 10.25 17.75 10.36 17.75 10.5C17.75 10.78 17.25 10.78 17.25 10.5ZM17.5 6.75C18.19 6.75 18.75 6.19 18.75 5.5C18.75 4.81 18.19 4.25 17.5 4.25C16.81 4.25 16.25 4.81 16.25 5.5C16.25 6.19 16.81 6.75 17.5 6.75ZM17.5 5.25C17.64 5.25 17.75 5.36 17.75 5.5C17.75 5.78 17.25 5.78 17.25 5.5C17.25 5.36 17.36 5.25 17.5 5.25ZM12.5 9.25C11.81 9.25 11.25 9.81 11.25 10.5C11.25 11.19 11.81 11.75 12.5 11.75C13.19 11.75 13.75 11.19 13.75 10.5C13.75 9.81 13.19 9.25 12.5 9.25ZM12.25 10.5C12.25 10.36 12.36 10.25 12.5 10.25C12.64 10.25 12.75 10.36 12.75 10.5C12.75 10.78 12.25 10.78 12.25 10.5ZM12.5 4.25C11.81 4.25 11.25 4.81 11.25 5.5C11.25 6.19 11.81 6.75 12.5 6.75C13.19 6.75 13.75 6.19 13.75 5.5C13.75 4.81 13.19 4.25 12.5 4.25ZM12.25 5.5C12.25 5.36 12.36 5.25 12.5 5.25C12.64 5.25 12.75 5.36 12.75 5.5C12.75 5.78 12.25 5.78 12.25 5.5ZM7.5 9.25C6.81 9.25 6.25 9.81 6.25 10.5C6.25 11.19 6.81 11.75 7.5 11.75C8.19 11.75 8.75 11.19 8.75 10.5C8.75 9.81 8.19 9.25 7.5 9.25ZM7.25 10.5C7.25 10.36 7.36 10.25 7.5 10.25C7.64 10.25 7.75 10.36 7.75 10.5C7.75 10.78 7.25 10.78 7.25 10.5ZM7.5 4.25C6.81 4.25 6.25 4.81 6.25 5.5C6.25 6.19 6.81 6.75 7.5 6.75C8.19 6.75 8.75 6.19 8.75 5.5C8.75 4.81 8.19 4.25 7.5 4.25ZM7.25 5.5C7.25 5.36 7.36 5.25 7.5 5.25C7.64 5.25 7.75 5.36 7.75 5.5C7.75 5.78 7.25 5.78 7.25 5.5Z"/></svg>',Vr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.1209 3.05249L12.9509 2.88249C11.8809 1.81249 10.1309 1.81249 9.06089 2.88249L3.47089 8.46249C3.37089 8.56249 3.31089 8.68249 3.27089 8.81249L2.27089 12.8125C2.21089 13.0625 2.28089 13.3425 2.47089 13.5225C2.61089 13.6625 2.80089 13.7425 3.00089 13.7425C3.06089 13.7425 3.12089 13.7425 3.18089 13.7225L7.18089 12.7225C7.31089 12.6925 7.43089 12.6225 7.53089 12.5225L13.1209 6.93249C14.1909 5.86249 14.1909 4.11249 13.1209 3.04249V3.05249ZM6.62089 11.3125L4.04089 11.9625L4.69089 9.38249L8.01089 6.06249L9.95089 8.00249L6.63089 11.3225L6.62089 11.3125ZM12.0609 5.87249L11.0009 6.93249L9.06089 4.99249L10.1209 3.93249C10.6109 3.44249 11.4009 3.44249 11.8909 3.93249L12.0609 4.10249C12.5509 4.59249 12.5509 5.38249 12.0609 5.87249Z"/></svg>',Or='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Tr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Qr='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"/></svg>',Zr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 17.4775C14.82 17.7675 14.82 18.2475 14.53 18.5375L11.53 21.5375C11.38 21.6875 11.19 21.7575 11 21.7575C10.81 21.7575 10.62 21.6875 10.47 21.5375C10.18 21.2475 10.18 20.7675 10.47 20.4775L12.2 18.7475C12.13 18.7475 12.07 18.7475 12 18.7475C6.62 18.7475 2.25 15.7475 2.25 12.0575C2.25 10.2975 3.22 8.6375 4.99 7.3875C5.33 7.1475 5.8 7.2275 6.03 7.5675C6.27 7.9075 6.19 8.3775 5.85 8.6075C4.49 9.5675 3.74 10.7875 3.74 12.0575C3.74 14.9175 7.44 17.2475 11.99 17.2475C12.05 17.2475 12.11 17.2475 12.17 17.2475L10.46 15.5375C10.17 15.2475 10.17 14.7675 10.46 14.4775C10.75 14.1875 11.23 14.1875 11.52 14.4775L14.52 17.4775H14.53ZM12 5.2575C11.93 5.2575 11.87 5.2575 11.8 5.2575L13.53 3.5275C13.82 3.2375 13.82 2.7575 13.53 2.4675C13.24 2.1775 12.76 2.1775 12.47 2.4675L9.47 5.4675C9.18 5.7575 9.18 6.2375 9.47 6.5275L12.47 9.5275C12.62 9.6775 12.81 9.7475 13 9.7475C13.19 9.7475 13.38 9.6775 13.53 9.5275C13.82 9.2375 13.82 8.7575 13.53 8.4675L11.82 6.7575C11.88 6.7575 11.94 6.7575 12 6.7575C16.55 6.7575 20.25 9.0875 20.25 11.9475C20.25 13.2075 19.5 14.4375 18.14 15.3975C17.8 15.6375 17.72 16.1075 17.96 16.4475C18.11 16.6575 18.34 16.7675 18.57 16.7675C18.72 16.7675 18.87 16.7275 19 16.6275C20.77 15.3775 21.75 13.7175 21.75 11.9575C21.75 8.2675 17.38 5.2675 12 5.2675V5.2575Z"/></svg>',_r='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.72 9.24C21.45 8.92 21.12 8.67 20.75 8.5V8C20.75 6.48 19.52 5.25 18 5.25H10.65C10.32 4.1 9.26 3.25 8 3.25H6C4.48 3.25 3.25 4.48 3.25 6V18C3.25 19.52 4.48 20.75 6 20.75H18.33C19.66 20.75 20.8 19.8 21.04 18.49L22.31 11.49C22.46 10.69 22.24 9.86 21.72 9.24ZM4.75 18V6C4.75 5.31 5.31 4.75 6 4.75H8C8.69 4.75 9.25 5.31 9.25 6C9.25 6.41 9.59 6.75 10 6.75H18C18.69 6.75 19.25 7.31 19.25 8V8.25H9.27C7.94 8.25 6.8 9.2 6.56 10.51L5.29 17.51C5.19 18.07 5.27 18.64 5.51 19.15C5.06 18.96 4.75 18.52 4.75 18ZM20.83 11.22L19.56 18.22C19.45 18.81 18.94 19.25 18.33 19.25H8C7.63 19.25 7.28 19.09 7.04 18.8C6.8 18.51 6.7 18.14 6.77 17.78L8.04 10.78C8.15 10.19 8.66 9.75 9.27 9.75H19.6C19.97 9.75 20.32 9.91 20.56 10.2C20.8 10.49 20.9 10.86 20.83 11.22Z"/></svg>',Ar='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.25H4C3.04 3.25 2.25 4.04 2.25 5V11C2.25 11.96 3.04 12.75 4 12.75H12C12.96 12.75 13.75 11.96 13.75 11V5C13.75 4.04 12.96 3.25 12 3.25ZM12.25 11C12.25 11.14 12.14 11.25 12 11.25H4C3.86 11.25 3.75 11.14 3.75 11V5C3.75 4.86 3.86 4.75 4 4.75H12C12.14 4.75 12.25 4.86 12.25 5V11Z"/></svg>',jr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M33 10.25H15C12.38 10.25 10.25 12.38 10.25 15V33C10.25 35.62 12.38 37.75 15 37.75H33C35.62 37.75 37.75 35.62 37.75 33V15C37.75 12.38 35.62 10.25 33 10.25ZM36.25 33C36.25 34.79 34.79 36.25 33 36.25H15C13.21 36.25 11.75 34.79 11.75 33V15C11.75 13.21 13.21 11.75 15 11.75H33C34.79 11.75 36.25 13.21 36.25 15V33ZM30.5 14.25C28.71 14.25 27.25 15.71 27.25 17.5C27.25 19.29 28.71 20.75 30.5 20.75C32.29 20.75 33.75 19.29 33.75 17.5C33.75 15.71 32.29 14.25 30.5 14.25ZM30.5 19.25C29.54 19.25 28.75 18.46 28.75 17.5C28.75 16.54 29.54 15.75 30.5 15.75C31.46 15.75 32.25 16.54 32.25 17.5C32.25 18.46 31.46 19.25 30.5 19.25ZM29.26 26.28C28.94 25.92 28.49 25.71 28.01 25.7C27.54 25.68 27.07 25.87 26.73 26.2L24.95 27.94L22.28 25.23C21.94 24.89 21.5 24.71 21 24.71C20.52 24.71 20.06 24.93 19.74 25.28L14.74 30.78C14.25 31.3 14.12 32.06 14.41 32.72C14.69 33.36 15.28 33.75 15.95 33.75H32.07C32.74 33.75 33.33 33.35 33.61 32.72C33.89 32.06 33.77 31.31 33.29 30.79L29.27 26.29L29.26 26.28ZM32.22 32.12C32.18 32.2 32.13 32.25 32.06 32.25H15.94C15.87 32.25 15.81 32.21 15.78 32.12C15.77 32.09 15.71 31.93 15.83 31.8L20.84 26.29C20.9 26.22 20.99 26.21 21.02 26.21C21.06 26.21 21.14 26.22 21.2 26.29L24.4 29.54C24.69 29.83 25.16 29.84 25.46 29.54L27.77 27.27C27.83 27.21 27.9 27.2 27.94 27.2C28.01 27.2 28.06 27.21 28.13 27.28L32.16 31.79C32.16 31.79 32.16 31.79 32.17 31.8C32.29 31.93 32.23 32.09 32.22 32.12Z"/></svg>',Wr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"/><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z"/></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"/></clipPath></defs></svg>',Ur='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 3V7C13.75 7.41 13.41 7.75 13 7.75C12.59 7.75 12.25 7.41 12.25 7V4.81L9.53 7.53C9.38 7.68 9.19 7.75 9 7.75C8.81 7.75 8.62 7.68 8.47 7.53C8.18 7.24 8.18 6.76 8.47 6.47L11.19 3.75H9C8.59 3.75 8.25 3.41 8.25 3C8.25 2.59 8.59 2.25 9 2.25H13C13.1 2.25 13.19 2.27 13.29 2.31C13.47 2.39 13.62 2.53 13.7 2.72C13.74 2.81 13.76 2.91 13.76 3.01L13.75 3ZM7.53 8.47C7.24 8.18 6.76 8.18 6.47 8.47L3.75 11.19V9C3.75 8.59 3.41 8.25 3 8.25C2.59 8.25 2.25 8.59 2.25 9V13C2.25 13.1 2.27 13.19 2.31 13.29C2.39 13.47 2.53 13.62 2.72 13.7C2.81 13.74 2.91 13.76 3.01 13.76H7.01C7.42 13.76 7.76 13.42 7.76 13.01C7.76 12.6 7.42 12.26 7.01 12.26H4.82L7.54 9.54C7.83 9.25 7.83 8.77 7.54 8.48L7.53 8.47Z"/></svg>',Fr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 8C13.75 8.41 13.41 8.75 13 8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H13C13.41 7.25 13.75 7.59 13.75 8Z"/></svg>',zr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.25C11.04 10.25 10.25 11.04 10.25 12C10.25 12.96 11.04 13.75 12 13.75C12.96 13.75 13.75 12.96 13.75 12C13.75 11.04 12.96 10.25 12 10.25ZM11.75 12C11.75 11.86 11.86 11.75 12 11.75C12.14 11.75 12.25 11.86 12.25 12C12.25 12.28 11.75 12.28 11.75 12ZM19 10.25C18.04 10.25 17.25 11.04 17.25 12C17.25 12.96 18.04 13.75 19 13.75C19.96 13.75 20.75 12.96 20.75 12C20.75 11.04 19.96 10.25 19 10.25ZM18.75 12C18.75 11.86 18.86 11.75 19 11.75C19.14 11.75 19.25 11.86 19.25 12C19.25 12.28 18.75 12.28 18.75 12ZM5 10.25C4.04 10.25 3.25 11.04 3.25 12C3.25 12.96 4.04 13.75 5 13.75C5.96 13.75 6.75 12.96 6.75 12C6.75 11.04 5.96 10.25 5 10.25ZM4.75 12C4.75 11.86 4.86 11.75 5 11.75C5.14 11.75 5.25 11.86 5.25 12C5.25 12.28 4.75 12.28 4.75 12Z"/></svg>',$r='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.25 7C3.25 6.59 3.59 6.25 4 6.25H15C15.41 6.25 15.75 6.59 15.75 7C15.75 7.41 15.41 7.75 15 7.75H4C3.59 7.75 3.25 7.41 3.25 7ZM20 11.25H4C3.59 11.25 3.25 11.59 3.25 12C3.25 12.41 3.59 12.75 4 12.75H20C20.41 12.75 20.75 12.41 20.75 12C20.75 11.59 20.41 11.25 20 11.25ZM9 16.25H4C3.59 16.25 3.25 16.59 3.25 17C3.25 17.41 3.59 17.75 4 17.75H9C9.41 17.75 9.75 17.41 9.75 17C9.75 16.59 9.41 16.25 9 16.25Z"/></svg>',Kr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M30.4975 14.2475C28.7075 14.2475 27.2475 15.7075 27.2475 17.4975C27.2475 19.2875 28.7075 20.7475 30.4975 20.7475C32.2875 20.7475 33.7475 19.2875 33.7475 17.4975C33.7475 15.7075 32.2875 14.2475 30.4975 14.2475ZM30.4975 19.2475C29.5375 19.2475 28.7475 18.4575 28.7475 17.4975C28.7475 16.5375 29.5375 15.7475 30.4975 15.7475C31.4575 15.7475 32.2475 16.5375 32.2475 17.4975C32.2475 18.4575 31.4575 19.2475 30.4975 19.2475ZM13.5175 11.2175C13.4375 10.8075 13.7075 10.4175 14.1175 10.3375C14.4275 10.2775 14.7175 10.2475 14.9975 10.2475H32.9975C35.6175 10.2475 37.7475 12.3775 37.7475 14.9975V32.9975C37.7475 33.2775 37.7175 33.5675 37.6575 33.8775C37.5875 34.2375 37.2775 34.4875 36.9175 34.4875C36.8675 34.4875 36.8275 34.4875 36.7775 34.4775C36.3675 34.3975 36.1075 34.0075 36.1775 33.5975C36.2175 33.3775 36.2375 33.1775 36.2375 32.9975V14.9975C36.2375 13.2075 34.7775 11.7475 32.9875 11.7475H14.9975C14.8075 11.7475 14.6175 11.7675 14.3975 11.8075C13.9875 11.8875 13.5975 11.6175 13.5175 11.2075V11.2175ZM34.4775 36.7775C34.5575 37.1875 34.2875 37.5775 33.8775 37.6575C33.5675 37.7175 33.2775 37.7475 32.9975 37.7475H14.9975C12.3775 37.7475 10.2475 35.6175 10.2475 32.9975V14.9975C10.2475 14.7175 10.2775 14.4275 10.3375 14.1175C10.4175 13.7075 10.8075 13.4375 11.2175 13.5175C11.6275 13.5975 11.8875 13.9875 11.8175 14.3975C11.7775 14.6175 11.7575 14.8175 11.7575 14.9975V32.9975C11.7575 34.7875 13.2175 36.2475 15.0075 36.2475H33.0075C33.1975 36.2475 33.3875 36.2275 33.6075 36.1875C34.0075 36.1075 34.4075 36.3775 34.4875 36.7875L34.4775 36.7775ZM15.8275 31.7975C15.6975 31.9375 15.7575 32.0875 15.7775 32.1175C15.8175 32.1975 15.8675 32.2475 15.9375 32.2475H29.8175C30.2275 32.2475 30.5675 32.5875 30.5675 32.9975C30.5675 33.4075 30.2275 33.7475 29.8175 33.7475H15.9375C15.2675 33.7475 14.6775 33.3475 14.3975 32.7175C14.1075 32.0575 14.2375 31.2975 14.7275 30.7775L19.7275 25.2775C20.0475 24.9275 20.5075 24.7175 20.9875 24.7075C21.4875 24.7275 21.9375 24.8875 22.2675 25.2275L25.4675 28.4775C25.7575 28.7675 25.7575 29.2475 25.4675 29.5375C25.1675 29.8275 24.6975 29.8275 24.4075 29.5375L21.2075 26.2875C21.1475 26.2175 21.0675 26.1875 21.0275 26.2075C20.9875 26.2075 20.9075 26.2175 20.8475 26.2875L15.8375 31.7975H15.8275ZM38.5275 38.5275C38.3775 38.6775 38.1875 38.7475 37.9975 38.7475C37.8075 38.7475 37.6175 38.6775 37.4675 38.5275L9.4675 10.5275C9.1775 10.2375 9.1775 9.7575 9.4675 9.4675C9.7575 9.1775 10.2375 9.1775 10.5275 9.4675L38.5275 37.4675C38.8175 37.7575 38.8175 38.2375 38.5275 38.5275Z"/></svg>',Gr='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"/><path d="M6 19V15H4V19H0L5 24L10 19H6Z"/></svg>',Jr='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"/></svg>',Xr='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"/><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"/></svg>',Yr='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"/><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"/></svg>',ei='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"/></g></svg>',ti='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"/></g></svg>',ni='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.9444 10.75H15.0544C15.7144 10.75 16.3144 10.39 16.6144 9.80002C16.9144 9.22002 16.8644 8.52002 16.4844 7.98002L13.4244 3.71002C12.7644 2.79002 11.2344 2.79002 10.5744 3.71002L7.5244 7.99002C7.1444 8.53002 7.0944 9.22002 7.3944 9.81002C7.6944 10.4 8.2944 10.76 8.9544 10.76L8.9444 10.75ZM8.7444 8.86002L11.7944 4.58002C11.8644 4.49002 11.9544 4.48002 11.9944 4.48002C12.0344 4.48002 12.1344 4.49002 12.1944 4.58002L15.2544 8.86002C15.3344 8.97002 15.3044 9.07002 15.2744 9.12002C15.2444 9.17002 15.1844 9.26002 15.0544 9.26002H8.9444C8.8144 9.26002 8.7444 9.18002 8.7244 9.12002C8.7044 9.06002 8.6644 8.97002 8.7444 8.86002ZM15.0544 13.25H8.9444C8.2844 13.25 7.6844 13.61 7.3844 14.2C7.0844 14.78 7.1344 15.48 7.5144 16.02L10.5744 20.3C10.9044 20.76 11.4344 21.03 11.9944 21.03C12.5544 21.03 13.0944 20.76 13.4144 20.3L16.4744 16.02C16.8544 15.48 16.9044 14.79 16.6044 14.2C16.3044 13.61 15.7044 13.25 15.0444 13.25H15.0544ZM15.2644 15.15L12.2044 19.43C12.0744 19.61 11.9244 19.61 11.7944 19.43L8.7344 15.15C8.6544 15.04 8.6844 14.94 8.7144 14.89C8.7444 14.84 8.8044 14.75 8.9344 14.75H15.0444C15.1744 14.75 15.2444 14.83 15.2644 14.89C15.2844 14.95 15.3244 15.04 15.2444 15.15H15.2644Z"/></svg>',ri='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 8.71C7.73 8.8 7.75 8.9 7.75 9V13C7.75 13.41 7.41 13.75 7 13.75C6.59 13.75 6.25 13.41 6.25 13V10.81L3.53 13.53C3.38 13.68 3.19 13.75 3 13.75C2.81 13.75 2.62 13.68 2.47 13.53C2.18 13.24 2.18 12.76 2.47 12.47L5.19 9.75H3C2.59 9.75 2.25 9.41 2.25 9C2.25 8.59 2.59 8.25 3 8.25H7C7.1 8.25 7.19 8.27 7.29 8.31C7.47 8.39 7.62 8.53 7.7 8.72L7.69 8.71ZM13 6.25H10.81L13.53 3.53C13.82 3.24 13.82 2.76 13.53 2.47C13.24 2.18 12.76 2.18 12.47 2.47L9.75 5.19V3C9.75 2.59 9.41 2.25 9 2.25C8.59 2.25 8.25 2.59 8.25 3V7C8.25 7.1 8.27 7.19 8.31 7.29C8.39 7.47 8.53 7.62 8.72 7.7C8.81 7.74 8.91 7.76 9.01 7.76H13.01C13.42 7.76 13.76 7.42 13.76 7.01C13.76 6.6 13.42 6.26 13.01 6.26L13 6.25Z"/></svg>',ii='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.9975 2.25C9.7275 2.25 6.2475 5.73 6.2475 10C6.2475 11.87 6.9075 13.58 8.0175 14.92L2.4675 20.47C2.1775 20.76 2.1775 21.24 2.4675 21.53C2.6175 21.68 2.8075 21.75 2.9975 21.75C3.1875 21.75 3.3775 21.68 3.5275 21.53L9.0775 15.98C10.4175 17.08 12.1275 17.75 13.9975 17.75C18.2675 17.75 21.7475 14.27 21.7475 10C21.7475 5.73 18.2675 2.25 13.9975 2.25ZM13.9975 16.25C10.5475 16.25 7.7475 13.45 7.7475 10C7.7475 6.55 10.5475 3.75 13.9975 3.75C17.4475 3.75 20.2475 6.55 20.2475 10C20.2475 13.45 17.4475 16.25 13.9975 16.25Z"/></svg>',oi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"/></svg>',si='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"/></svg>',ai='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"/></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>',li='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"/></svg>',ui='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"/></svg>',ci='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"/></svg>',di='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"/></svg>',hi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"/></svg>',mi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"/></svg>',pi='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"/></svg>';const we={modernbooleancheckchecked:lr,modernbooleancheckind:ur,modernbooleancheckunchecked:cr,moderncheck:dr,modernradio:hr,progressbutton:mr,removefile:pr,timercircle:fr,"add-24x24":vr,"arrowleft-16x16":gr,"arrowright-16x16":Cr,"camera-24x24":yr,"camera-32x32":br,"cancel-24x24":Er,"check-16x16":wr,"check-24x24":qr,"chevrondown-24x24":Lr,"chevronright-16x16":xr,"clear-16x16":Sr,"clear-24x24":Ir,"close-16x16":Mr,"close-24x24":Rr,"collapse-16x16":Nr,"collapsedetails-16x16":Hr,"delete-16x16":kr,"delete-24x24":Br,"drag-24x24":Dr,"draghorizontal-24x16":Pr,"editsmall-16x16":Vr,"expand-16x16":Or,"expanddetails-16x16":Tr,"file-72x72":Qr,"flip-24x24":Zr,"folder-24x24":_r,"fullsize-16x16":Ar,"image-48x48":jr,"loading-48x48":Wr,"maximize-16x16":Ur,"minimize-16x16":Fr,"more-24x24":zr,"navmenu-24x24":$r,"noimage-48x48":Kr,"ranking-arrows":Gr,"rankingundefined-16x16":Jr,"rating-star-2":Xr,"rating-star-small-2":Yr,"rating-star-small":ei,"rating-star":ti,"reorder-24x24":ni,"restoredown-16x16":ri,"search-24x24":ii,"smiley-rate1-24x24":oi,"smiley-rate10-24x24":si,"smiley-rate2-24x24":ai,"smiley-rate3-24x24":li,"smiley-rate4-24x24":ui,"smiley-rate5-24x24":ci,"smiley-rate6-24x24":di,"smiley-rate7-24x24":hi,"smiley-rate8-24x24":mi,"smiley-rate9-24x24":pi};var j=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n.model=new p.ScrollViewModel,n.model.onInnerHeightChanged=function(o){n.props.onInnerHeightChanged&&n.props.onInnerHeightChanged(o)},n}return t.prototype.componentDidMount=function(){var e=this.rootRef.current;e&&this.model.setRootElement(e)},t.prototype.componentWillUnmount=function(){this.model.unsubscribeRootElement(),this.model.setRootElement(void 0)},t.prototype.render=function(){var e=this;return this.props.disabled?r.createElement(r.Fragment,null,this.props.children):r.createElement("div",{ref:this.rootRef,className:"sv-scroll__wrapper"},r.createElement("div",{className:"sv-scroll__scroller sv-drag-target-skipped",onScroll:function(){return e.model.onScrollContainer()}},r.createElement("div",{className:"sv-scroll__container"},this.props.children)),r.createElement("div",{className:"sv-scroll__scrollbar",onScroll:function(){return e.model.onScrollScrollbar()}},r.createElement("div",{className:"sv-scroll__scrollbar-sizer"})))},t})(r.Component);d.Instance.registerElement("svc-scroll",function(i){return r.createElement(j,i)}),p.addIconsToThemeSet("v1",ar),p.addIconsToThemeSet("v2",we),p.SvgRegistry.registerIcons(we);var ee=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.previousJSON={},n.isSurveyUpdated=!1,n.createSurvey(e),n.updateSurvey(e,{}),n.rootRef=r.createRef(),n.rootNodeId=e.id||null,n.rootNodeClassName=e.className||"",n}return t.prototype.getStateElement=function(){return this.survey},t.prototype.onSurveyUpdated=function(){if(this.survey){var e=this.rootRef.current;e&&this.survey.afterRenderSurvey(e),this.survey.startTimerFromUI(),this.setSurveyEvents()}},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(this.isModelJSONChanged(e)&&(this.destroySurvey(),this.createSurvey(e),this.updateSurvey(e,{}),this.isSurveyUpdated=!0),!0):!1},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateSurvey(this.props,e),this.isSurveyUpdated&&(this.onSurveyUpdated(),this.isSurveyUpdated=!1)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.onSurveyUpdated()},t.prototype.destroySurvey=function(){this.survey&&(this.survey.renderCallback=void 0,this.survey.onPartialSend.clear(),this.survey.stopTimer(),this.survey.destroyResizeObserver())},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.destroySurvey()},t.prototype.doRender=function(){var e;this.survey.state=="completed"?e=this.renderCompleted():this.survey.state=="completedbefore"?e=this.renderCompletedBefore():this.survey.state=="loading"?e=this.renderLoading():this.survey.state=="empty"?e=this.renderEmptySurvey():e=this.renderSurvey();var n=this.survey.backgroundImage?r.createElement("div",{className:this.css.rootBackgroundImage,style:this.survey.backgroundImageStyle}):null,o=this.survey.headerView==="basic"?r.createElement(X,{survey:this.survey}):null,s=function(m){m.preventDefault()},a=r.createElement("div",{className:"sv_custom_header"});this.survey.hasLogo&&(a=null);var c=this.survey.getRootCss(),h=this.rootNodeClassName?this.rootNodeClassName+" "+c:c;return r.createElement("div",{id:this.rootNodeId,ref:this.rootRef,className:h,style:this.survey.themeVariables,lang:this.survey.locale||"en",dir:this.survey.localeDir},r.createElement(j,{disabled:this.survey.rootScrollDisabled},this.survey.needRenderIcons?r.createElement(be,null):null,r.createElement(Ee,null),r.createElement("div",{className:this.survey.wrapperFormCss},n,r.createElement("form",{onSubmit:s},r.createElement(j,{disabled:this.survey.formScrollDisabled},a,r.createElement("div",{className:this.css.container},o,r.createElement(I,{survey:this.survey,container:"header",needRenderWrapper:!1}),e,r.createElement(I,{survey:this.survey,container:"footer",needRenderWrapper:!1})))),r.createElement(Y,{notifier:this.survey.notifier}))))},t.prototype.renderElement=function(){return this.doRender()},Object.defineProperty(t.prototype,"css",{get:function(){return this.survey.css},set:function(e){this.survey.css=e},enumerable:!1,configurable:!0}),t.prototype.renderCompleted=function(){if(!this.survey.showCompletedPage)return null;var e={__html:this.survey.processedCompletedHtml};return r.createElement(r.Fragment,null,r.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.completedCss}),r.createElement(I,{survey:this.survey,container:"completePage",needRenderWrapper:!1}))},t.prototype.renderCompletedBefore=function(){var e={__html:this.survey.processedCompletedBeforeHtml};return r.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.completedBeforeCss})},t.prototype.renderLoading=function(){var e={__html:this.survey.processedLoadingHtml};return r.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.loadingBodyCss})},t.prototype.renderSurvey=function(){var e=this.survey.activePage?this.renderPage(this.survey.activePage):null;this.survey.isShowStartingPage;var n=this.survey.activePage?this.survey.activePage.id:"",o=this.survey.bodyCss,s={};return this.survey.renderedWidth&&(s.maxWidth=this.survey.renderedWidth),r.createElement("div",{className:this.survey.bodyContainerCss},r.createElement(I,{survey:this.survey,container:"left"}),r.createElement("div",{className:"sv-components-column sv-components-column--expandable"},r.createElement(I,{survey:this.survey,container:"center"}),r.createElement("div",{id:n,className:o,style:s},r.createElement(I,{survey:this.survey,container:"contentTop"}),e,r.createElement(I,{survey:this.survey,container:"contentBottom"}),this.survey.showBrandInfo?r.createElement(Xt,null):null)),r.createElement(I,{survey:this.survey,container:"right"}))},t.prototype.renderPage=function(e){return d.Instance.createElement(this.survey.pageComponent||"sv-page",{survey:this.survey,page:e,css:this.css,creator:this})},t.prototype.renderEmptySurvey=function(){return r.createElement("div",{className:this.css.bodyEmpty},this.survey.emptySurveyText)},t.prototype.createSurvey=function(e){e||(e={}),this.previousJSON={},e?e.model?this.survey=e.model:e.json&&(this.previousJSON=e.json,this.survey=new p.SurveyModel(e.json)):this.survey=new p.SurveyModel,e.css&&(this.survey.css=this.css)},t.prototype.isModelJSONChanged=function(e){return e.model?this.survey!==e.model:e.json?!p.Helpers.isTwoValueEquals(e.json,this.previousJSON):!1},t.prototype.updateSurvey=function(e,n){if(e){n=n||{};for(var o in e)if(!(o=="model"||o=="children"||o=="json")){if(o=="css"){this.survey.mergeValues(e.css,this.survey.getCss()),this.survey.updateNavigationCss(),this.survey.updateElementCss();continue}e[o]!==n[o]&&(o.indexOf("on")==0&&this.survey[o]&&this.survey[o].add?(n[o]&&this.survey[o].remove(n[o]),this.survey[o].add(e[o])):this.survey[o]=e[o])}}},t.prototype.setSurveyEvents=function(){var e=this;this.survey.renderCallback=function(){var n=e.state&&e.state.modelChanged?e.state.modelChanged:0;e.setState({modelChanged:n+1})},this.survey.onPartialSend.add(function(n){e.state&&e.setState(e.state)})},t.prototype.createQuestionElement=function(e){return b.Instance.createQuestion(e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isInputReadOnly,creator:this})},t.prototype.renderError=function(e,n,o,s){return d.Instance.createElement(this.survey.questionErrorComponent,{key:e,error:n,cssClasses:o,element:s})},t.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},t.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},t})(v);d.Instance.registerElement("survey",function(i){return r.createElement(ee,i)});function W(i,t,e){e===void 0&&(e={processEsc:!0,disableTabStop:!1});var n={};return t&&t.disableTabStop||e&&e.disableTabStop?n={tabIndex:-1}:(e=G({},e),n={tabIndex:0,onKeyUp:function(o){o.preventDefault(),o.stopPropagation(),p.doKey2ClickUp(o,e)},onKeyDown:function(o){return p.doKey2ClickDown(o,e)},onBlur:function(o){return p.doKey2ClickBlur(o)}}),n.onPointerUp=function(o){if(o.pointerType==="pen"){o.preventDefault(),o.stopPropagation();var s=o.target;s?.click&&s.click()}},r.cloneElement(i,n)}var U=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.updateStateFunction=null,n.state={update:0},n}return Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css||this.survey.css},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(this.survey){var e=this;this.updateStateFunction=function(){e.setState({update:e.state.update+1})},this.survey.onPageVisibleChanged.add(this.updateStateFunction)}},t.prototype.componentWillUnmount=function(){this.survey&&this.updateStateFunction&&(this.survey.onPageVisibleChanged.remove(this.updateStateFunction),this.updateStateFunction=null)},t})(r.Component),qe=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.circleLength=440,n}return t.prototype.getStateElement=function(){return this.timerModel},Object.defineProperty(t.prototype,"timerModel",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{get:function(){return-this.timerModel.progress*this.circleLength},enumerable:!1,configurable:!0}),t.prototype.render=function(){if(!this.timerModel.isRunning)return null;var e=r.createElement("div",{className:this.timerModel.survey.getCss().timerRoot},this.timerModel.text);if(this.timerModel.showTimerAsClock){var n={strokeDasharray:this.circleLength,strokeDashoffset:this.progress},o=this.timerModel.showProgress?r.createElement(C,{className:this.timerModel.getProgressCss(),style:n,iconName:"icon-timercircle",size:"auto"}):null;e=r.createElement("div",{className:this.timerModel.rootCss},o,r.createElement("div",{className:this.timerModel.textContainerCss},r.createElement("span",{className:this.timerModel.majorTextCss},this.timerModel.clockMajorText),this.timerModel.clockMinorText?r.createElement("span",{className:this.timerModel.minorTextCss},this.timerModel.clockMinorText):null))}return e},t})(E);d.Instance.registerElement("sv-timerpanel",function(i){return r.createElement(qe,i)});var fi=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.element.cssClasses,n.rootRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.element},Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.rootRef.current&&this.element.setWrapperElement(this.rootRef.current)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.element.setWrapperElement(void 0)},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(e.element!==this.element&&(e.element&&e.element.setWrapperElement(this.rootRef.current),this.element&&this.element.setWrapperElement(void 0)),this.element.cssClasses,!0):!1},t.prototype.renderElement=function(){var e=this.element,n=this.createElement(e,this.index),o=e.cssClassesValue,s=function(){var a=e;a&&a.isQuestion&&a.focusIn()};return r.createElement("div",{className:o.questionWrapper,style:e.rootStyle,"data-key":e.name+this.index,onFocus:s,ref:this.rootRef},n)},t.prototype.createElement=function(e,n){if(!this.row.isNeedRender)return d.Instance.createElement(e.skeletonComponentName,{element:e,css:this.css});var o=e.getTemplate();return d.Instance.isElementRegistered(o)||(o="question"),d.Instance.createElement(o,{element:e,creator:this.creator,survey:this.survey,css:this.css})},t})(v),Le=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n.recalculateCss(),n}return t.prototype.recalculateCss=function(){this.row.visibleElements.map(function(e){return e.cssClasses})},t.prototype.getStateElement=function(){return this.row},Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.row&&!!this.survey&&!!this.creator},t.prototype.renderElementContent=function(){var e=this,n=this.row.visibleElements.map(function(o,s){return r.createElement(fi,{element:o,index:s,row:e.row,survey:e.survey,creator:e.creator,css:e.css,key:o.id})});return r.createElement("div",{ref:this.rootRef,className:this.row.getRowCss()},n)},t.prototype.renderElement=function(){var e=this.survey,n=this.renderElementContent(),o=x.wrapRow(e,n,this.row);return o||n},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this);var n=this.rootRef.current;if(this.rootRef.current&&this.row.setRootElement(this.rootRef.current),n&&!this.row.isNeedRender){var o=n;this.lazyRenderingTimeout=setTimeout(function(){e.row.startLazyRendering(o)},10)}},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(e.row!==this.row&&(e.row.isNeedRender=this.row.isNeedRender,e.row.setRootElement(this.rootRef.current),this.row.setRootElement(void 0),this.stopLazyRendering()),this.recalculateCss(),!0):!1},t.prototype.stopLazyRendering=function(){clearTimeout(this.lazyRenderingTimeout),this.row.stopLazyRendering(),this.row.isNeedRender=!this.row.isLazyRendering()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.row&&(this.row.hasActiveUISubscribers||(this.row.setRootElement(void 0),this.stopLazyRendering()))},t.prototype.createElement=function(e,n){var o=n?"-"+n:0,s=e.getType();return d.Instance.isElementRegistered(s)||(s="question"),d.Instance.createElement(s,{key:e.name+o,element:e,creator:this.creator,survey:this.survey,css:this.css})},t})(v),xe=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rootRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.panelBase},t.prototype.canUsePropInState=function(e){return e!=="elements"&&i.prototype.canUsePropInState.call(this,e)},Object.defineProperty(t.prototype,"survey",{get:function(){return this.getSurvey()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.getCss()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelBase",{get:function(){return this.getPanelBase()},enumerable:!1,configurable:!0}),t.prototype.getPanelBase=function(){return this.props.element||this.props.question},t.prototype.getSurvey=function(){return this.props.survey||(this.panelBase?this.panelBase.survey:null)},t.prototype.getCss=function(){return this.props.css},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.doAfterRender()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this);var e=this.rootRef.current;e&&e.removeAttribute("data-rendered")},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),!(e.page&&this.survey&&this.survey.activePage&&e.page.id===this.survey.activePage.id)&&this.doAfterRender()},t.prototype.doAfterRender=function(){var e=this.rootRef.current;e&&this.survey&&(this.panelBase.isPanel?this.panelBase.afterRender(e):this.survey.afterRenderPage(e))},t.prototype.getIsVisible=function(){return this.panelBase.isVisible},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&!!this.survey&&!!this.panelBase&&!!this.panelBase.survey&&this.getIsVisible()},t.prototype.renderRows=function(e){var n=this;return this.panelBase.visibleRows.map(function(o){return n.createRow(o,e)})},t.prototype.createRow=function(e,n){return r.createElement(Le,{key:e.id,row:e,survey:this.survey,creator:this.creator,css:n})},t})(v),F=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getStateElement=function(){return this.props.counter},t.prototype.renderElement=function(){return r.createElement("div",{className:this.props.remainingCharacterCounter},this.props.counter.remainingCharacterCounter)},t})(v);d.Instance.registerElement("sv-character-counter",function(i){return r.createElement(F,i)});var te=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.initialValue=n.viewModel.getTextValue()||"",n.textareaRef=r.createRef(),n}return Object.defineProperty(t.prototype,"viewModel",{get:function(){return this.props.viewModel},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.viewModel.question},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this);var e=this.textareaRef.current;e&&this.viewModel.setElement(e)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.viewModel.resetElement()},t.prototype.renderElement=function(){var e=this;return r.createElement("textarea",{id:this.viewModel.id,className:this.viewModel.className,ref:this.textareaRef,disabled:this.viewModel.isDisabledAttr,readOnly:this.viewModel.isReadOnlyAttr,rows:this.viewModel.rows,cols:this.viewModel.cols,placeholder:this.viewModel.placeholder,maxLength:this.viewModel.maxLength,defaultValue:this.initialValue,onChange:function(n){e.viewModel.onTextAreaInput(n)},onFocus:function(n){e.viewModel.onTextAreaFocus(n)},onBlur:function(n){e.viewModel.onTextAreaBlur(n)},onKeyDown:function(n){e.viewModel.onTextAreaKeyDown(n)},"aria-required":this.viewModel.ariaRequired,"aria-label":this.viewModel.ariaLabel,"aria-labelledby":this.viewModel.ariaLabelledBy,"aria-describedby":this.viewModel.ariaDescribedBy,"aria-invalid":this.viewModel.ariaInvalid,"aria-errormessage":this.viewModel.ariaErrormessage,style:{resize:this.viewModel.question.resizeStyle}})},t})(v);d.Instance.registerElement("sv-text-area",function(i){return r.createElement(te,i)});var Se=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderCharacterCounter=function(){var e=null;return this.question.getMaxLength()&&(e=r.createElement(F,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter})),e},t.prototype.renderElement=function(){if(this.question.isReadOnlyRenderDiv())return r.createElement("div",null,this.question.value);var e=this.renderCharacterCounter(),n=this.props.question.textAreaModel;return r.createElement(r.Fragment,null,r.createElement(te,{viewModel:n}),e)},t})(P),ne=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.textAreaModel=n.getTextAreaModel(),n}return t.prototype.canRender=function(){return!!this.props.question},t.prototype.getTextAreaModel=function(){return this.props.question.commentTextAreaModel},t.prototype.renderElement=function(){var e=this.props.question;if(e.isReadOnlyRenderDiv()){var n=this.textAreaModel.getTextValue()||"";return r.createElement("div",null,n)}return r.createElement(te,{key:this.getKey(),viewModel:this.textAreaModel})},t.prototype.getKey=function(){},t})(E),re=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getTextAreaModel=function(){return this.props.question.getCommentTextAreaModel(this.props.item)},t.prototype.getKey=function(){return this.props.item.uniqueId},t})(ne);b.Instance.registerQuestion("comment",function(i){return r.createElement(Se,i)});var vi=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.widgetRef=r.createRef(),n}return t.prototype._afterRender=function(){if(this.questionBase.customWidget){var e=this.widgetRef.current;e&&(this.questionBase.customWidget.afterRender(this.questionBase,e),this.questionBase.customWidgetData.isNeedRender=!1)}},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.questionBase&&this._afterRender()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n);var o=!!this.questionBase.customWidget&&this.questionBase.customWidget.isDefaultRender;this.questionBase&&!o&&this._afterRender()},t.prototype.componentWillUnmount=function(){if(i.prototype.componentWillUnmount.call(this),this.questionBase.customWidget){var e=this.widgetRef.current;e&&this.questionBase.customWidget.willUnmount(this.questionBase,e)}},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&this.questionBase.visible},t.prototype.renderElement=function(){var e=this.questionBase.customWidget;if(e.isDefaultRender)return r.createElement("div",{ref:this.widgetRef},this.creator.createQuestionElement(this.questionBase));var n=null;if(e.widgetJson.render)n=e.widgetJson.render(this.questionBase);else if(e.htmlTemplate){var o={__html:e.htmlTemplate};return r.createElement("div",{ref:this.widgetRef,dangerouslySetInnerHTML:o})}return r.createElement("div",{ref:this.widgetRef},n)},t})(q),Ie=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),t.prototype.getRenderedElements=function(){return[this.element]},t.prototype.renderElement=function(){var e=this.element,n=e.hasTitle?r.createElement(R,{element:e}):null,o=e.hasDescriptionUnderTitle?v.renderQuestionDescription(this.element):null,s=e.hasAdditionalTitleToolbar?r.createElement(L,{model:e.additionalTitleToolbar}):null,a={width:void 0};return e instanceof p.Question&&(a.width=e.titleWidth),r.createElement("div",{className:e.cssHeader,onClick:function(c){return e.clickTitleFunction&&e.clickTitleFunction(c.nativeEvent)},style:a},n,o,s)},t})(v),Me=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"summary",{get:function(){return this.props.summary},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return this.summary?this.summary.isEmpty()?this.renderNoItems():this.renderItems():null},t.prototype.renderItems=function(){var e=this;return r.createElement("div",{className:this.css.summary},this.summary.items.map(function(n,o){return e.renderItem(n,o)}))},t.prototype.renderNoItems=function(){var e=this.summary.question,n=d.Instance.createElement("sv-placeholder-"+e.getTemplate(),{cssClasses:this.css,question:e});return n||r.createElement("div",null,this.renderLocString(this.summary.noEntry))},t.prototype.renderItem=function(e,n){var o=e.btnEdit?r.createElement("button",{className:this.css.summaryRowActionEdit,onClick:function(){return e.btnEdit.action()},title:e.btnEdit.title},r.createElement(C,{iconName:"icon-editsmall-16x16",iconSize:"auto"})):null,s=e.showRemove&&e.btnRemove?r.createElement("button",{className:this.css.summaryRowActionDelete,onClick:function(){return e.btnRemove.action()},title:e.btnRemove.title},r.createElement(C,{iconName:"icon-delete-16x16",iconSize:"auto"})):null;return r.createElement("div",{className:this.css.summaryRow,key:n},r.createElement("div",{className:this.css.summaryRowContent},this.renderLocString(e.locText)),r.createElement("div",{className:this.css.summaryRowActions},o,s))},t})(E);d.Instance.registerElement("sv-singleinput-summary",function(i){return r.createElement(Me,i)});var Re=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElement=function(){return this.props.model},Object.defineProperty(t.prototype,"items",{get:function(){return this.props.model.actions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){if(!this.items||!this.items.length)return null;var e=this.renderItems();return r.createElement("div",{className:this.css.breadcrumbsRoot},e)},t.prototype.renderItems=function(){var e=this,n=[];return this.items.concat([]).forEach(function(o,s){s&&n.push(r.createElement(C,{key:o.renderedId+"_separator",className:e.css.breadcrumbsSeparator,iconName:"arrowright-16x16",size:"auto"})),n.push(r.createElement(V,{key:o.renderedId,item:o}))}),n},t})(v);d.Instance.registerElement("sv-breadcrumbs",function(i){return r.createElement(Re,i)});var k=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.isNeedFocus=!1,n.rootRef=r.createRef(),n}return t.renderQuestionBody=function(e,n){var o=n.customWidget;return o?r.createElement(vi,{creator:e,question:n}):e.createQuestionElement(n)},t.prototype.getStateElement=function(){return this.question},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.question&&(this.question.react=this),this.doAfterRender()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question&&(this.question.react=null);var e=this.rootRef.current;e&&e.removeAttribute("data-rendered")},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.doAfterRender()},t.prototype.doAfterRender=function(){if(this.isNeedFocus&&(this.question.isCollapsed||this.question.clickTitleFunction(),this.isNeedFocus=!1),this.question){var e=this.rootRef.current;e&&e.getAttribute("data-rendered")!=="r"&&(e.setAttribute("data-rendered","r"),this.question.afterRender&&this.question.afterRender(e))}},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&!!this.question&&!!this.creator},t.prototype.renderQuestionContent=function(){var e=this.question,n={display:this.question.renderedIsExpanded?"":"none"},o=e.cssClasses,s=this.renderQuestion(),a=e&&e.hasComment?this.renderComment(o):null,c=e.hasDescriptionUnderInput?this.renderDescription():null;return r.createElement("div",{className:e.cssContent||void 0,style:n,"aria-hidden":e.contentAriaHidden,role:"presentation","data-sv-drop-target-matrix":this.question.dragDropMatrixAttribute,"data-sv-drop-target-matrix-row":this.question.dragDropMatrixAttribute},s,a,c)},t.prototype.renderElement=function(){var e=this.question,n=e.cssClasses,o=this.renderHeader(e),s=e.hasTitleOnLeftTop?o:null,a=e.hasTitleOnBottom?o:null,c=this.question.showErrorsAboveQuestion?this.renderErrors(n,""):null,h=this.question.showErrorsBelowQuestion?this.renderErrors(n,""):null,m=e.getRootStyle(),f=e.singleInputHasActions?this.renderSingleInputBreadcrumbs(e,n):void 0,g=e.singleInputSummary?this.renderSingleInputSummary(e,n):void 0,y=g||(e.singleInputQuestion?this.renderSingleInputQuestion(e,n):void 0),w=y||this.wrapQuestionContent(this.renderQuestionContent());return r.createElement(r.Fragment,null,r.createElement("div",{ref:this.rootRef,id:e.id,className:e.getRootCss(),style:m,"data-name":e.name,role:e.ariaRole,"aria-required":this.question.ariaRequired,"aria-invalid":this.question.ariaInvalid,"aria-label":this.question.ariaLabel,"aria-labelledby":e.ariaLabelledBy,"aria-describedby":e.ariaDescribedBy,"aria-expanded":e.ariaExpanded},f,c,s,w,a,h))},t.prototype.renderSingleInputQuestion=function(e,n){var o=e.singleInputQuestion,s=o.id;return r.createElement(t,{key:s,element:o,creator:this.creator,css:n})},t.prototype.renderSingleInputBreadcrumbs=function(e,n){return r.createElement(Re,{model:e.singleInputActions,css:n})},t.prototype.renderSingleInputSummary=function(e,n){return r.createElement(Me,{summary:e.singleInputSummary,creator:this.creator,css:n})},t.prototype.wrapElement=function(e){var n=this.question.survey,o=null;return n&&(o=x.wrapElement(n,e,this.question)),o??e},t.prototype.wrapQuestionContent=function(e){var n=this.question.survey,o=null;return n&&(o=x.wrapQuestionContent(n,e,this.question)),o??e},t.prototype.renderQuestion=function(){return t.renderQuestionBody(this.creator,this.question)},t.prototype.renderDescription=function(){return v.renderQuestionDescription(this.question)},t.prototype.renderComment=function(e){var n=v.renderLocString(this.question.locCommentText);return r.createElement("div",{className:this.question.getCommentAreaCss()},r.createElement("div",null,n),r.createElement(ne,{question:this.question,cssClasses:e,isDisplayMode:this.question.isInputReadOnly}))},t.prototype.renderHeader=function(e){return r.createElement(Ie,{element:e})},t.prototype.renderErrors=function(e,n){return r.createElement(O,{element:this.question,cssClasses:e,creator:this.creator,location:n,id:this.question.id+"_errors"})},t})(v);d.Instance.registerElement("question",function(i){return r.createElement(k,i)});var O=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state=n.getState(),n}return Object.defineProperty(t.prototype,"id",{get:function(){return this.props.element.id+"_errors"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getState=function(e){return e===void 0&&(e=null),e?{error:e.error+1}:{error:0}},t.prototype.canRender=function(){return!!this.element&&this.element.hasVisibleErrors},t.prototype.componentWillUnmount=function(){},t.prototype.renderElement=function(){for(var e=[],n=0;n<this.element.renderedErrors.length;n++){var o="error"+n;e.push(this.creator.renderError(o,this.element.renderedErrors[n],this.cssClasses,this.element))}return r.createElement("div",{className:this.element.cssError,id:this.id},e)},t})(E),Ne=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElement=function(){return this.question},Object.defineProperty(t.prototype,"question",{get:function(){return this.getQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.getQuestion=function(){return this.props.question},Object.defineProperty(t.prototype,"itemCss",{get:function(){return this.props.itemCss},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.doAfterRender()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.doAfterRender()},t.prototype.doAfterRender=function(){},t.prototype.canRender=function(){return!!this.question},t.prototype.renderContent=function(){var e=this.renderQuestion();return r.createElement(r.Fragment,null,e)},t.prototype.getShowErrors=function(){return this.question.isVisible},t.prototype.renderQuestion=function(){return k.renderQuestionBody(this.creator,this.question)},t})(E),He=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.cellRef=r.createRef(),n}return t.prototype.componentWillUnmount=function(){if(i.prototype.componentWillUnmount.call(this),this.question){var e=this.cellRef.current;e&&e.removeAttribute("data-rendered")}},t.prototype.renderCellContent=function(){return r.createElement("div",{className:this.props.cell.cellQuestionWrapperClassName},this.renderQuestion())},t.prototype.renderElement=function(){var e=this.getCellStyle(),n=this.props.cell,o=function(){n.focusIn()};return r.createElement("td",{ref:this.cellRef,className:this.itemCss,colSpan:n.colSpans,title:n.getTitle(),style:e,onFocus:o},this.wrapCell(this.props.cell,this.renderCellContent()))},t.prototype.getCellStyle=function(){return null},t.prototype.getHeaderText=function(){return""},t.prototype.wrapCell=function(e,n){if(!e)return n;var o=this.question.survey,s=null;return o&&(s=x.wrapMatrixCell(o,n,e,this.props.reason)),s??n},t})(Ne),ke=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={changed:0},n.question&&n.registerCallback(n.question),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.update=function(){this.setState({changed:this.state.changed+1})},t.prototype.getQuestionPropertiesToTrack=function(){return["errors"]},t.prototype.registerCallback=function(e){var n=this;e.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),function(){n.update()},"__reactSubscription")},t.prototype.unRegisterCallback=function(e){e.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),"__reactSubscription")},t.prototype.componentDidUpdate=function(e){e.question&&e.question!==this.question&&this.unRegisterCallback(e.cell),this.question&&this.registerCallback(this.question)},t.prototype.componentWillUnmount=function(){this.question&&this.unRegisterCallback(this.question)},t.prototype.render=function(){return r.createElement(O,{element:this.question,creator:this.props.creator,cssClasses:this.question.cssClasses})},t})(r.Component),Be=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getPanelBase=function(){return this.props.page},Object.defineProperty(t.prototype,"page",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this.renderTitle(),n=this.renderDescription(),o=this.renderRows(this.panelBase.cssClasses),s=r.createElement(O,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator});return r.createElement("div",{ref:this.rootRef,className:this.page.cssRoot},e,n,s,o)},t.prototype.renderTitle=function(){return r.createElement(R,{element:this.page})},t.prototype.renderDescription=function(){if(!this.page._showDescription)return null;var e=v.renderLocString(this.page.locDescription);return r.createElement("div",{className:this.panelBase.cssClasses.page.description},e)},t})(xe);d.Instance.registerElement("sv-page",function(i){return r.createElement(Be,i)});var N=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.hasBeenExpanded=!1,n}return Object.defineProperty(t.prototype,"panel",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.renderHeader(),o=r.createElement(O,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator}),s={paddingLeft:this.panel.innerPaddingLeft,display:this.panel.renderedIsExpanded?void 0:"none"},a=null;if(this.panel.renderedIsExpanded){var c=this.renderRows(this.panelBase.cssClasses),h=this.panelBase.cssClasses.panel.content;a=this.renderContent(s,c,h)}var m=function(){e.panelBase&&e.panelBase.focusIn()};return r.createElement("div",{ref:this.rootRef,className:this.panelBase.getContainerCss(),onFocus:m,id:this.panelBase.id},this.panel.showErrorsAbovePanel?o:null,n,this.panel.showErrorsAbovePanel?null:o,a)},t.prototype.renderHeader=function(){return!this.panel.hasTitle&&!this.panel.hasDescription?null:r.createElement(Ie,{element:this.panel})},t.prototype.wrapElement=function(e){var n=this.panel.survey,o=null;return n&&(o=x.wrapElement(n,e,this.panel)),o??e},t.prototype.renderContent=function(e,n,o){var s=this.renderBottom();return r.createElement("div",{style:e,className:o,id:this.panel.contentId,role:this.panel.ariaRole,"aria-labelledby":this.panel.ariaLabelledBy,"aria-label":this.panel.ariaLabel},n,s)},t.prototype.renderTitle=function(){return this.panelBase.title?r.createElement(R,{element:this.panelBase}):null},t.prototype.renderDescription=function(){if(!this.panelBase.description)return null;var e=v.renderLocString(this.panelBase.locDescription);return r.createElement("div",{className:this.panel.cssClasses.panel.description},e)},t.prototype.renderBottom=function(){var e=this.panel.getFooterToolbar();return e.hasActions?r.createElement(L,{model:e}):null},t.prototype.getIsVisible=function(){return this.panelBase.getIsContentVisible()},t})(xe);d.Instance.registerElement("panel",function(i){return r.createElement(N,i)});var De=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"flowPanel",{get:function(){return this.panel},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=function(){return""},this.flowPanel.onGetHtmlForQuestion=this.renderQuestion)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=null,this.flowPanel.onGetHtmlForQuestion=null)},t.prototype.getQuestion=function(e){return this.flowPanel.getQuestionByName(e)},t.prototype.renderQuestion=function(e){return"<question>"+e.name+"</question>"},t.prototype.renderRows=function(){var e=this.renderHtml();return e?[e]:[]},t.prototype.getNodeIndex=function(){return this.renderedIndex++},t.prototype.renderHtml=function(){if(!this.flowPanel)return null;var e="<span>"+this.flowPanel.produceHtml()+"</span>";if(!DOMParser){var n={__html:e};return r.createElement("div",{dangerouslySetInnerHTML:n})}var o=new DOMParser().parseFromString(e,"text/xml");return this.renderedIndex=0,this.renderParentNode(o)},t.prototype.renderNodes=function(e){for(var n=[],o=0;o<e.length;o++){var s=this.renderNode(e[o]);s&&n.push(s)}return n},t.prototype.getStyle=function(e){var n={};return e.toLowerCase()==="b"&&(n.fontWeight="bold"),e.toLowerCase()==="i"&&(n.fontStyle="italic"),e.toLowerCase()==="u"&&(n.textDecoration="underline"),n},t.prototype.renderParentNode=function(e){var n=e.nodeName.toLowerCase(),o=this.renderNodes(this.getChildDomNodes(e));return n==="div"?r.createElement("div",{key:this.getNodeIndex()},o):r.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(n)},o)},t.prototype.renderNode=function(e){if(!this.hasTextChildNodesOnly(e))return this.renderParentNode(e);var n=e.nodeName.toLowerCase();if(n==="question"){var o=this.flowPanel.getQuestionByName(e.textContent);if(!o)return null;var s=r.createElement(k,{key:o.name,element:o,creator:this.creator,css:this.css});return r.createElement("span",{key:this.getNodeIndex()},s)}return n==="div"?r.createElement("div",{key:this.getNodeIndex()},e.textContent):r.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(n)},e.textContent)},t.prototype.getChildDomNodes=function(e){for(var n=[],o=0;o<e.childNodes.length;o++)n.push(e.childNodes[o]);return n},t.prototype.hasTextChildNodesOnly=function(e){for(var n=e.childNodes,o=0;o<n.length;o++)if(n[o].nodeName.toLowerCase()!=="#text")return!1;return!0},t.prototype.renderContent=function(e,n){return r.createElement("f-panel",{style:e},n)},t})(N);d.Instance.registerElement("flowpanel",function(i){return r.createElement(De,i)});var Pe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses;return r.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(o){return e.setControl(o)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},this.renderHeader(),this.question.hasColumns?this.getColumnedBody(n):this.getBody(n),this.getFooter())},t.prototype.renderHeader=function(){return null},t.prototype.getFooter=function(){var e=this;if(this.question.hasFootItems){var n=this.question.footItems.map(function(o,s){return e.renderItem(o,!1,e.question.cssClasses)});return r.createElement(r.Fragment,null,n)}return null},t.prototype.getStateValue=function(){},t.prototype.isItemChecked=function(e,n){return!1},t.prototype.getColumnedBody=function(e){return r.createElement("div",{className:e.rootMultiColumn},this.getColumns(e))},t.prototype.getColumns=function(e){var n=this,o=this.getStateValue();return this.question.columns.map(function(s,a){var c=s.map(function(h,m){return n.renderItem(h,a===0&&m===0,e,""+a+m,n.isItemChecked(h,o))});return r.createElement("div",{key:"column"+a+n.question.getItemsColumnKey(s),className:n.question.getColumnClass(),role:"presentation"},c)})},t.prototype.getBody=function(e){return this.question.blockedRow?r.createElement("div",{className:e.rootRow},this.getItems(e,this.question.dataChoices)):r.createElement(r.Fragment,null,this.getItems(e,this.question.bodyItems))},t.prototype.getItems=function(e,n){for(var o=[],s=this.getStateValue(),a=0;a<n.length;a++){var c=n[a],h=this.renderItem(c,a==0,e,""+a,this.isItemChecked(c,s));h&&o.push(h)}return o},Object.defineProperty(t.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.renderItem=function(e,n,o,s,a){var c=d.Instance.createElement(this.question.itemComponent,{key:e.uniqueId,question:this.question,cssClasses:o,isDisplayMode:this.isDisplayMode,item:e,textStyle:this.textStyle,index:s,isFirst:n,isChecked:a,creator:this.props.creator}),h=this.question.survey,m=null;return h&&c&&(m=x.wrapItemValue(h,c,this.question,e)),m??c},t})(q),Ve=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnChange=function(o){n.doOnItemChange(o)},n.rootRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirst",{get:function(){return this.props.isFirst},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideCaption",{get:function(){return this.props.hideCaption===!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ariaLabel",{get:function(){return this.props.ariaLabel||null},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),e.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),e.item&&e.item.setRootElement(void 0))},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render:!1},t.prototype.doOnItemChange=function(e){},t.prototype.canRender=function(){return!!this.item&&!!this.question},t.prototype.renderElement=function(){return r.createElement(r.Fragment,null,this.renderElementContent(),this.renderPanel(),this.renderComment())},t.prototype.renderElementContent=function(){return null},Object.defineProperty(t.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.renderComment=function(){return this.item.isCommentShowing?r.createElement("div",{className:this.question.getCommentAreaCss(!0)},r.createElement(re,{question:this.question,item:this.item,cssClasses:this.question.cssClasses})):null},t.prototype.renderPanel=function(){if(this.item.isPanelShowing){var e=this.item.panel;return r.createElement(N,{key:e.id,element:e,survey:this.question.survey,cssClasses:this.props.cssClasses,isDisplayMode:this.isDisplayMode,creator:this.props.creator})}return null},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},t})(E),Oe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderHeader=function(){return r.createElement(r.Fragment,null,r.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.getHeader())},t.prototype.getHeader=function(){var e=this;return this.question.hasHeadItems?this.question.headItems.map(function(n,o){return e.renderItem(n,!1,e.question.cssClasses)}):null},t})(Pe),ie=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.doOnItemChange=function(e){this.question.clickItemHandler(this.item,e.target.checked)},t.prototype.renderElementContent=function(){var e=this.question.isItemSelected(this.item);return this.renderCheckbox(e)},Object.defineProperty(t.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),t.prototype.renderCheckbox=function(e){var n=this.question.getItemId(this.item),o=this.question.getItemClass(this.item),s=this.question.getLabelClass(this.item),a=this.hideCaption?null:r.createElement("span",{className:this.cssClasses.controlLabel},this.renderLocString(this.item.locText,this.textStyle));return r.createElement("div",{className:o,role:"presentation",ref:this.rootRef},r.createElement("label",{className:s},r.createElement("input",{className:this.cssClasses.itemControl,type:"checkbox",name:this.question.name+this.item.id,value:this.item.value,id:n,style:this.inputStyle,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,checked:e,onChange:this.handleOnChange,required:this.question.hasRequiredError(),"aria-label":this.ariaLabel}),this.cssClasses.materialDecorator?r.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?r.createElement("svg",{className:this.cssClasses.itemDecorator},r.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,a))},t})(Ve);d.Instance.registerElement("survey-checkbox-item",function(i){return r.createElement(ie,i)}),b.Instance.registerQuestion("checkbox",function(i){return r.createElement(Oe,i)});var Te=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this;if(this.question.selectToRankEnabled){var n=!0;return r.createElement("div",{className:this.question.rootClass,ref:function(o){return e.setControl(o)}},r.createElement("div",{className:this.question.getContainerClasses("from"),"data-ranking":"from-container"},this.getItems(this.question.renderedUnRankingChoices,n),this.question.renderedUnRankingChoices.length===0?r.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)," "):null),r.createElement("div",{className:this.question.cssClasses.containersDivider}),r.createElement("div",{className:this.question.getContainerClasses("to"),"data-ranking":"to-container"},this.getItems(),this.question.renderedRankingChoices.length===0?r.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)," "):null))}else return r.createElement("div",{className:this.question.rootClass,ref:function(o){return e.setControl(o)}},this.getItems())},t.prototype.getItems=function(e,n){var o=this;e===void 0&&(e=this.question.renderedRankingChoices);for(var s=[],a=function(m){var f=e[m];s.push(c.renderItem(f,m,function(g){o.question.handleKeydown.call(o.question,g,f)},function(g){g.persist(),o.question.handlePointerDown.call(o.question,g,f,g.currentTarget)},function(g){g.persist(),o.question.handlePointerUp.call(o.question,g,f,g.currentTarget)},c.question.cssClasses,c.question.getItemClass(f),c.question,n))},c=this,h=0;h<e.length;h++)a(h);return s},t.prototype.renderItem=function(e,n,o,s,a,c,h,m,f){""+e.renderedId;var g=this.renderLocString(e.locText),y=n,w=this.question.getNumberByIndex(y),S=this.question.getItemTabIndex(e),B=r.createElement(Qe,{key:e.uniqueId,text:g,index:y,indexText:w,itemTabIndex:S,handleKeydown:o,handlePointerDown:s,handlePointerUp:a,cssClasses:c,itemClass:h,question:m,unrankedItem:f,item:e}),$=this.question.survey,D=null;return $&&(D=x.wrapItemValue($,B,this.question,e)),D??B},t})(q),Qe=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"text",{get:function(){return this.props.text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"indexText",{get:function(){return this.props.indexText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handleKeydown",{get:function(){return this.props.handleKeydown},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handlePointerDown",{get:function(){return this.props.handlePointerDown},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handlePointerUp",{get:function(){return this.props.handlePointerUp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemClass",{get:function(){return this.props.itemClass},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemTabIndex",{get:function(){return this.props.itemTabIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unrankedItem",{get:function(){return this.props.unrankedItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.renderEmptyIcon=function(){return r.createElement("svg",null,r.createElement("use",{xlinkHref:this.question.dashSvgIcon}))},t.prototype.renderElement=function(){var e=d.Instance.createElement(this.question.itemComponent,{item:this.item,cssClasses:this.cssClasses});return r.createElement("div",{id:this.question.getItemId(this.item),tabIndex:this.itemTabIndex,className:this.itemClass,onKeyDown:this.handleKeydown,onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,"data-sv-drop-target-ranking-item":this.index},r.createElement("div",{tabIndex:-1,style:{outline:"none"}},r.createElement("div",{className:this.cssClasses.itemGhostNode}),r.createElement("div",{className:this.cssClasses.itemContent},r.createElement("div",{className:this.cssClasses.itemIconContainer},r.createElement("svg",{className:this.question.getIconHoverCss()},r.createElement("use",{xlinkHref:this.question.dragDropSvgIcon})),r.createElement("svg",{className:this.question.getIconFocusCss()},r.createElement("use",{xlinkHref:this.question.arrowsSvgIcon}))),r.createElement("div",{className:this.question.getItemIndexClasses(this.item)},!this.unrankedItem&&this.indexText?this.indexText:this.renderEmptyIcon()),e)))},t})(E),Ze=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return r.createElement("div",{className:this.cssClasses.controlLabel},v.renderLocString(this.item.locText))},t})(E);d.Instance.registerElement("sv-ranking-item",function(i){return r.createElement(Ze,i)}),b.Instance.registerQuestion("ranking",function(i){return r.createElement(Te,i)});var oe=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnMouseDown=n.handleOnMouseDown.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},t})(v),_e=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this.renderLocString(this.item.locText);return r.createElement("label",{className:this.item.className,onMouseDown:this.handleOnMouseDown},r.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-label":this.question.ariaLabel}),r.createElement("span",{className:this.question.cssClasses.itemText,"data-text":this.item.text},e))},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this)},t})(oe);d.Instance.registerElement("sv-rating-item",function(i){return r.createElement(_e,i)});var Ae=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this;return r.createElement("label",{className:this.item.className,onMouseDown:this.handleOnMouseDown,onMouseOver:function(n){return e.question.onItemMouseIn(e.item)},onMouseOut:function(n){return e.question.onItemMouseOut(e.item)},title:this.item.text},r.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-label":this.question.ariaLabel}),r.createElement(C,{className:"sv-star",size:"auto",iconName:this.question.itemStarIcon}),r.createElement(C,{className:"sv-star-2",size:"auto",iconName:this.question.itemStarIconAlt}))},t})(oe);d.Instance.registerElement("sv-rating-item-star",function(i){return r.createElement(Ae,i)});var je=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this;return r.createElement("label",{style:this.item.style,className:this.item.className,onMouseDown:this.handleOnMouseDown,onMouseOver:function(n){return e.question.onItemMouseIn(e.item)},onMouseOut:function(n){return e.question.onItemMouseOut(e.item)},title:this.item.text},r.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-label":this.question.ariaLabel}),r.createElement(C,{size:"auto",iconName:this.question.getItemSmileyIconName(this.item)}))},t})(oe);d.Instance.registerElement("sv-rating-item-smiley",function(i){return r.createElement(je,i)});var We=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){if(!this.item)return null;var e=this.props.item,n=this.renderDescription(e);return r.createElement("div",{className:"sd-rating-dropdown-item"},r.createElement("span",{className:"sd-rating-dropdown-item_text"},e.title),n)},t.prototype.renderDescription=function(e){return e.description?r.createElement("div",{className:"sd-rating-dropdown-item_description"},this.renderLocString(e.description,void 0,"locString")):null},t})(v);d.Instance.registerElement("sv-rating-dropdown-item",function(i){return r.createElement(We,i)});var se=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateDomElement()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.updateDomElement()},t.prototype.updateDomElement=function(){if(this.inputElement){var e=this.inputElement,n=this.model.inputStringRendered;p.Helpers.isTwoValueEquals(n,e.value,!1,!0,!1)||(e.value=this.model.inputStringRendered)}},t.prototype.onChange=function(e){var n,o=(n=e.target.getRootNode())===null||n===void 0?void 0:n.activeElement;e.target===o&&(this.model.inputStringRendered=e.target.value)},t.prototype.keyhandler=function(e){this.model.inputKeyHandler(e)},t.prototype.onBlur=function(e){this.question.onBlur(e)},t.prototype.onFocus=function(e){this.question.onFocus(e)},t.prototype.getStateElement=function(){return this.model},t.prototype.render=function(){var e=this;return r.createElement("div",{className:this.question.cssClasses.hint},this.model.showHintPrefix?r.createElement("div",{className:this.question.cssClasses.hintPrefix},r.createElement("span",null,this.model.hintStringPrefix)):null,r.createElement("div",{className:this.question.cssClasses.hintSuffixWrapper},this.model.showHintString?r.createElement("div",{className:this.question.cssClasses.hintSuffix},r.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},this.model.inputStringRendered),r.createElement("span",null,this.model.hintStringSuffix)):null,r.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),inputMode:this.model.inputMode,ref:function(n){return e.inputElement=n},className:this.question.cssClasses.filterStringInput,disabled:this.question.isInputReadOnly,readOnly:this.model.filterReadOnly?!0:void 0,size:this.model.inputStringRendered?void 0:1,role:this.model.ariaInputRole,"aria-required":this.model.ariaInputRequired,"aria-invalid":this.model.ariaInputInvalid,"aria-errormessage":this.model.ariaInputErrorMessage,"aria-expanded":this.model.ariaInputExpanded,"aria-label":this.model.ariaInputLabel,"aria-labelledby":this.model.ariaInputLabelledby,"aria-describedby":this.model.ariaInputDescribedby,"aria-controls":this.model.ariaInputControls,"aria-activedescendant":this.model.ariaInputActivedescendant,placeholder:this.model.filterStringPlaceholder,onKeyDown:function(n){e.keyhandler(n)},onChange:function(n){e.onChange(n)},onBlur:function(n){e.onBlur(n)},onFocus:function(n){e.onFocus(n)}})))},t})(v);b.Instance.registerQuestion("sv-tagbox-filter",function(i){return r.createElement(se,i)});var Ue=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={changed:0},n.setupModel(),n}return t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.setupModel()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.setupModel()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.item&&(this.item.locText.onChanged=function(){})},t.prototype.setupModel=function(){if(this.item.locText){var e=this;this.item.locText.onChanged=function(){e.setState({changed:e.state.changed+1})}}},t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.item},t.prototype.renderElement=function(){return r.createElement("option",{value:this.item.value,disabled:!this.item.isEnabled},this.item.text)},t})(E),T=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.click=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.onClick(n)},e.chevronPointerDown=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.chevronPointerDown(n)},e.clear=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.onClear(n)},e.keyhandler=function(n){var o;(o=e.question.dropdownListModel)===null||o===void 0||o.keyHandler(n)},e.blur=function(n){e.updateInputDomElement(),e.question.onBlur(n)},e.focus=function(n){e.question.onFocus(n)},e}return Object.defineProperty(t.prototype,"dropdownListModel",{get:function(){return this.question.dropdownListModel},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.question.dropdownListModel},t.prototype.setValueCore=function(e){this.questionBase.renderedValue=e},t.prototype.getValueCore=function(){return this.questionBase.renderedValue},t.prototype.renderReadOnlyElement=function(){return this.question.readOnlyText?r.createElement("div",{className:this.question.cssClasses.controlValue},this.renderLocString(this.question.locReadOnlyText)):null},t.prototype.renderSelect=function(e){var n=this,o=null,s=this.dropdownListModel;return this.question.isReadOnly?o=r.createElement("div",{id:this.question.inputId,role:s?.ariaQuestionRole,"aria-label":s?.ariaQuestionLabel,"aria-labelledby":s?.ariaQuestionLabelledby,"aria-describedby":s?.ariaQuestionDescribedby,"aria-expanded":"false","aria-readonly":"true","aria-disabled":"true",tabIndex:this.question.isDisabledAttr?void 0:0,className:this.question.getControlClass(),ref:function(a){return n.setControl(a)}},this.renderReadOnlyElement(),this.renderEditorButtons()):o=r.createElement(r.Fragment,null,this.renderInput(),this.question.isInputReadOnly?null:r.createElement(H,{model:s.popupModel})),r.createElement("div",{className:e.selectWrapper,onClick:this.click},o)},t.prototype.renderValueElement=function(){return this.question.showInputFieldComponent?d.Instance.createElement(this.question.inputFieldComponentName,{item:this.dropdownListModel.getSelectedAction(),question:this.question}):this.question.showSelectedItemLocText?this.renderLocString(this.question.selectedItemLocText):null},t.prototype.renderInput=function(){var e=this,n=this.dropdownListModel,o=this.renderValueElement();return r.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:n.noTabIndex?void 0:0,disabled:this.question.isDisabledAttr,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,onFocus:this.focus,role:n.ariaQuestionRole,"aria-required":n.ariaQuestionRequired,"aria-invalid":n.ariaQuestionInvalid,"aria-errormessage":n.ariaQuestionErrorMessage,"aria-expanded":n.ariaQuestionExpanded,"aria-label":n.ariaQuestionLabel,"aria-labelledby":n.ariaQuestionLabelledby,"aria-describedby":n.ariaQuestionDescribedby,"aria-controls":n.ariaQuestionControls,"aria-activedescendant":n.ariaQuestionActivedescendant,ref:function(s){return e.setControl(s)}},n.showHintPrefix?r.createElement("div",{className:this.question.cssClasses.hintPrefix},r.createElement("span",null,n.hintStringPrefix)):null,r.createElement("div",{className:this.question.cssClasses.controlValue},n.showHintString?r.createElement("div",{className:this.question.cssClasses.hintSuffix},r.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},n.inputStringRendered),r.createElement("span",null,n.hintStringSuffix)):null,o,n.needRenderInput?this.renderFilterInput():null),this.renderEditorButtons())},t.prototype.renderFilterInput=function(){var e=this;p.settings.environment.root;var n=this.dropdownListModel,o=function(s){var a,c=(a=s.target.getRootNode())===null||a===void 0?void 0:a.activeElement;s.target===c&&(n.inputStringRendered=s.target.value)};return r.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),ref:function(s){return e.inputElement=s},className:this.question.cssClasses.filterStringInput,role:n.ariaInputRole,"aria-required":n.ariaInputRequired,"aria-invalid":n.ariaInputInvalid,"aria-errormessage":n.ariaInputErrorMessage,"aria-expanded":n.ariaInputExpanded,"aria-label":n.ariaInputLabel,"aria-labelledby":n.ariaInputLabelledby,"aria-describedby":n.ariaInputDescribedby,"aria-controls":n.ariaInputControls,"aria-activedescendant":n.ariaInputActivedescendant,placeholder:n.placeholderRendered,readOnly:n.filterReadOnly?!0:void 0,tabIndex:n.noTabIndex?void 0:-1,disabled:this.question.isDisabledAttr,inputMode:n.inputMode,onChange:function(s){o(s)},onBlur:this.blur,onFocus:this.focus})},t.prototype.renderOther=function(e,n){return!e||!e.isCommentShowing?null:r.createElement("div",{key:e.uniqueId,className:this.question.getCommentAreaCss(!0)},r.createElement(re,{question:this.question,item:e,cssClasses:this.question.cssClasses}))},t.prototype.renderEditorButtons=function(){return r.createElement(L,{model:this.dropdownListModel.editorButtons})},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.updateInputDomElement()},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.updateInputDomElement()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.dropdownListModel&&(this.question.dropdownListModel.focused=!1)},t.prototype.updateInputDomElement=function(){if(this.inputElement){var e=this.inputElement,n=this.question.dropdownListModel.inputStringRendered;p.Helpers.isTwoValueEquals(n,e.value,!1,!0,!1)||(e.value=this.question.dropdownListModel.inputStringRendered)}},t})(P),ae=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderOther(this.question.selectedItem,e),o=this.renderSelect(e);return r.createElement("div",{className:this.question.renderCssRoot},o,n)},t})(T);b.Instance.registerQuestion("dropdown",function(i){return r.createElement(ae,i)});var Fe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.item&&!!this.question},t.prototype.renderElement=function(){var e=this,n=this.renderLocString(this.item.locText),o=function(s){e.question.dropdownListModel.deselectItem(e.item.value),s.stopPropagation()};return r.createElement("div",{className:"sv-tagbox__item"},r.createElement("div",{className:"sv-tagbox__item-text"},n),r.createElement("div",{className:this.question.cssClasses.cleanItemButton,onClick:o},r.createElement(C,{className:this.question.cssClasses.cleanItemButtonSvg,iconName:this.question.cssClasses.cleanItemButtonIconId,size:"auto"})))},t})(E),ze=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderItem=function(e,n){var o=r.createElement(Fe,{key:e,question:this.question,item:n});return o},t.prototype.renderInput=function(){var e=this,n=this.dropdownListModel,o=this.question.selectedChoices.map(function(s,a){return e.renderItem("item"+a,s)});return r.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:n.noTabIndex?void 0:0,disabled:this.question.isInputReadOnly,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,role:n.ariaQuestionRole,"aria-required":n.ariaQuestionRequired,"aria-invalid":n.ariaQuestionInvalid,"aria-errormessage":n.ariaQuestionErrorMessage,"aria-label":n.ariaQuestionLabel,"aria-labelledby":n.ariaQuestionLabelledby,"aria-describedby":n.ariaQuestionDescribedby,"aria-expanded":n.ariaQuestionExpanded,"aria-controls":n.ariaQuestionControls,"aria-activedescendant":n.ariaQuestionActivedescendant,ref:function(s){return e.setControl(s)}},r.createElement("div",{className:this.question.cssClasses.controlValue},o,n.needRenderInput?r.createElement(se,{model:n,question:this.question}):null),this.renderEditorButtons())},t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderOther(this.question.otherItem,e),o=this.renderSelect(e);return r.createElement("div",{className:this.question.renderCssRoot},o,n)},t})(T);b.Instance.registerQuestion("tagbox",function(i){return r.createElement(ze,i)});var $e=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderSelect=function(e){var n=this,o=function(c){n.question.onClick(c)},s=function(c){n.question.onKeyUp(c)},a=this.isDisplayMode?r.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),disabled:!0},this.question.readOnlyText):r.createElement("select",{id:this.question.inputId,className:this.question.getControlClass(),ref:function(c){return n.setControl(c)},autoComplete:this.question.autocomplete,onChange:this.updateValueOnEvent,onInput:this.updateValueOnEvent,onClick:o,onKeyUp:s,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage,required:this.question.isRequired},this.question.allowClear?r.createElement("option",{value:""},this.question.placeholder):null,this.question.visibleChoices.map(function(c){return r.createElement(Ue,{key:c.uniqueId,item:c})}));return r.createElement("div",{className:e.selectWrapper},a,this.createChevronButton())},t.prototype.createChevronButton=function(){return this.question.cssClasses.chevronButtonIconId?r.createElement("div",{className:this.question.cssClasses.chevronButton,"aria-hidden":"true",onPointerDown:this.chevronPointerDown},r.createElement(C,{className:this.question.cssClasses.chevronButtonSvg,iconName:this.question.cssClasses.chevronButtonIconId,size:"auto"})):null},t})(ae);b.Instance.registerQuestion("sv-dropdown-select",function(i){return r.createElement($e,i)}),p.RendererFactory.Instance.registerRenderer("dropdown","select","sv-dropdown-select");var Ke=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={rowsChanged:0},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(i.prototype.componentDidMount.call(this),this.question){var e=this;this.question.visibleRowsChangedCallback=function(){e.setState({rowsChanged:e.state.rowsChanged+1})}}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question&&(this.question.visibleRowsChangedCallback=null)},t.prototype.renderElement=function(){for(var e=this,n=this.question.cssClasses,o=this.question.hasRows?r.createElement("td",null):null,s=[],a=0;a<this.question.visibleColumns.length;a++){var c=this.question.visibleColumns[a],h=this.renderLocString(c.locText),m={};this.question.columnMinWidth&&(m.minWidth=this.question.columnMinWidth,m.width=this.question.columnMinWidth),s.push(r.createElement("th",{className:this.question.cssClasses.headerCell,style:m,key:c.uniqueId},this.wrapCell({column:c},h,"column-header")))}for(var f=[],g=this.question.visibleRows,a=0;a<g.length;a++){var y=g[a];f.push(r.createElement(Ge,{key:y.uniqueId,question:this.question,cssClasses:n,row:y,isFirst:a==0}))}var w=this.question.showHeader?r.createElement("thead",{role:"presentation"},r.createElement("tr",null,o,s)):null;return r.createElement("div",{className:this.question.getTableWrapperCss(),ref:function(S){return e.setControl(S)}},r.createElement("fieldset",{role:"radiogroup"},r.createElement("legend",{className:"sv-visuallyhidden"},this.question.locTitle.renderedHtml),r.createElement("table",{className:this.question.getTableCss(),role:"presentation"},w,r.createElement("tbody",null,f))))},t})(q),Ge=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElement=function(){return this.row?this.row.item:i.prototype.getStateElement.call(this)},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),t.prototype.wrapCell=function(e,n,o){if(!o)return n;var s=this.question.survey,a=null;return s&&(a=x.wrapMatrixCell(s,n,e,o)),a??n},t.prototype.canRender=function(){return!!this.row},t.prototype.renderElement=function(){var e=null;if(this.question.hasRows){var n=this.renderLocString(this.row.locText),o={};this.question.rowTitleWidth&&(o.minWidth=this.question.rowTitleWidth,o.width=this.question.rowTitleWidth),e=r.createElement("td",{style:o,className:this.row.rowTextClasses},this.wrapCell({row:this.row},n,"row-header"))}var s=this.generateTds();return r.createElement("tr",{className:this.row.rowClasses||void 0},e,s)},t.prototype.generateTds=function(){for(var e=this,n=[],o=this.row,s=this.question.cellComponent,a=function(){var m=null,f=c.question.visibleColumns[h],g=f.uniqueId,y=c.question.getItemClass(o,f);if(c.question.hasCellText){var w=function(B){return function(){return e.cellClick(o,B)}};m=r.createElement("td",{key:g,className:y,onClick:w?w(f):function(){}},c.renderLocString(c.question.getCellDisplayLocText(o.name,f)))}else{var S=d.Instance.createElement(s,{question:c.question,row:c.row,column:f,columnIndex:h,cssClasses:c.cssClasses,cellChanged:function(){e.cellClick(e.row,f)}});m=r.createElement("td",{key:g,"data-responsive-title":f.locText.renderedHtml,className:c.question.cssClasses.cell},S)}n.push(m)},c=this,h=0;h<this.question.visibleColumns.length;h++)a();return n},t.prototype.cellClick=function(e,n){e.cellClick(n),this.setState({value:e.value})},t})(E),Je=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnMouseDown=n.handleOnMouseDown.bind(n),n.handleOnChange=n.handleOnChange.bind(n),n}return t.prototype.handleOnChange=function(e){this.props.cellChanged&&this.props.cellChanged(),this.setState({value:this.row.isChecked(this.column)})},t.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnIndex",{get:function(){return this.props.columnIndex},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return!!this.question&&!!this.row},t.prototype.renderElement=function(){var e=this.row.isChecked(this.column),n=this.question.inputId+"_"+this.row.name+"_"+this.columnIndex,o=this.question.getItemClass(this.row,this.column),s=this.question.getItemSvgIcon(this.row,this.column),a=this.question.isMobile?r.createElement("span",{className:this.question.cssClasses.cellResponsiveTitle},this.renderLocString(this.column.locText)):void 0;return r.createElement("label",{onMouseDown:this.handleOnMouseDown,className:o},this.renderInput(n,e),r.createElement("span",{className:this.question.cssMaterialDecorator},s?r.createElement("svg",{className:this.question.cssItemDecorator},r.createElement("use",{xlinkHref:s})):null),a)},t.prototype.renderInput=function(e,n){return r.createElement("input",{id:e,type:this.question.checkType,className:this.question.cssItemValue,name:this.row.fullName,value:this.column.value,disabled:this.row.isDisabledAttr,readOnly:this.row.isReadOnlyAttr,checked:n,onChange:this.handleOnChange,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.getCellAriaLabel(this.row,this.column),"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage})},t})(E);d.Instance.registerElement("survey-matrix-cell",function(i){return r.createElement(Je,i)}),b.Instance.registerQuestion("matrix",function(i){return r.createElement(Ke,i)});var Xe=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.reactOnStrChanged()},t.prototype.componentWillUnmount=function(){this.question.locHtml.onChanged=function(){}},t.prototype.componentDidUpdate=function(e,n){this.reactOnStrChanged()},t.prototype.reactOnStrChanged=function(){var e=this;this.question.locHtml.onChanged=function(){e.setState({changed:e.state&&e.state.changed?e.state.changed+1:1})}},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&!!this.question.html},t.prototype.renderElement=function(){var e={__html:this.question.locHtml.renderedHtml};return r.createElement("div",{className:this.question.renderCssRoot,dangerouslySetInnerHTML:e})},t})(q);b.Instance.registerQuestion("html",function(i){return r.createElement(Xe,i)});var le=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){return r.createElement("div",{className:"sd-loading-indicator"},r.createElement(C,{iconName:"icon-loading",size:"auto"}))},t})(r.Component),Ye=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.allowShowPreview?this.renderPreview():null,o=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,s=this.question.isPlayingVideo?this.renderVideo():null,a=this.question.showFileDecorator?this.renderFileDecorator():null,c=this.question.fileNavigatorVisible?r.createElement(L,{model:this.question.fileNavigator}):null,h=this.question.renderedAcceptedTypes,m=this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,f=this.isDisplayMode?{color:"transparent"}:{},g;return this.question.isReadOnlyAttr?g=r.createElement("input",{readOnly:!0,type:"file",className:m,id:this.question.inputId,ref:function(y){return e.setControl(y)},style:f,multiple:this.question.allowMultiple,placeholder:this.question.title,accept:h}):this.question.isDisabledAttr?g=r.createElement("input",{disabled:!0,type:"file",className:m,id:this.question.inputId,ref:function(y){return e.setControl(y)},style:f,multiple:this.question.allowMultiple,placeholder:this.question.title,accept:h}):this.question.hasFileUI?g=r.createElement("input",{type:"file",disabled:this.isDisplayMode,tabIndex:-1,className:m,id:this.question.inputId,ref:function(y){return e.setControl(y)},style:f,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,multiple:this.question.allowMultiple,title:this.question.inputTitle,accept:h,capture:this.question.renderCapture}):g=null,r.createElement("div",{className:this.question.fileRootCss,ref:function(y){return e.setContent(y)}},g,r.createElement("div",{className:this.question.cssClasses.dragArea,onDrop:this.question.onDrop,onDragOver:this.question.onDragOver,onDragLeave:this.question.onDragLeave,onDragEnter:this.question.onDragEnter},a,o,s,n,c))},t.prototype.renderFileDecorator=function(){var e=this.question.actionsContainerVisible?r.createElement(L,{model:this.question.actionsContainer}):null;return r.createElement("div",{className:this.question.getFileDecoratorCss()},this.question.showDragAreaPlaceholder?r.createElement("span",{className:this.question.cssClasses.dragAreaPlaceholder},this.renderLocString(this.question.locRenderedPlaceholder)):!1,r.createElement("div",{className:this.question.cssClasses.wrapper},e))},t.prototype.renderPreview=function(){return d.Instance.createElement("sv-file-preview",{question:this.question})},t.prototype.renderLoadingIndicator=function(){return r.createElement("div",{className:this.question.cssClasses.loadingIndicator},r.createElement(le,null))},t.prototype.renderVideo=function(){return r.createElement("div",{className:this.question.cssClasses.videoContainer},r.createElement(V,{item:this.question.changeCameraAction}),r.createElement(V,{item:this.question.closeCameraAction}),r.createElement("video",{autoPlay:!0,playsInline:!0,id:this.question.videoId,className:this.question.cssClasses.video}),r.createElement(V,{item:this.question.takePictureAction}))},t})(q);b.Instance.registerQuestion("file",function(i){return r.createElement(Ye,i)});var et=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return W(r.createElement("label",{tabIndex:0,className:this.question.getChooseFileCss(),htmlFor:this.question.inputId,"aria-label":this.question.chooseButtonText,onClick:function(n){return e.question.chooseFile(n.nativeEvent)}},this.question.cssClasses.chooseFileIconId?r.createElement(C,{title:this.question.chooseButtonText,iconName:this.question.cssClasses.chooseFileIconId,size:"auto"}):null,r.createElement("span",null,this.question.chooseButtonText)))},t})(E);d.Instance.registerElement("sv-file-choose-btn",function(i){return r.createElement(et,i)});var gi=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this.props.page},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.page.items.map(function(o,s){return d.Instance.createElement("sv-file-item",{item:o,question:e.question,key:s})});return r.createElement("div",{className:this.page.css,id:this.page.id},n)},t})(v),tt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.renderFileSign=function(e,n){var o=this;return!e||!n.name?null:r.createElement("div",{className:e},r.createElement("a",{href:n.content,onClick:function(s){o.question.doDownloadFile(s,n)},title:n.name,download:n.name,style:{width:this.question.imageWidth}},n.name))},t.prototype.renderElement=function(){var e=this,n=this.question.renderedPages.map(function(o,s){return r.createElement(gi,{page:o,question:e.question,key:o.id})});return r.createElement("div",{className:this.question.cssClasses.fileList||void 0},n)},t.prototype.canRender=function(){return this.question.showPreviewContainer},t})(v);d.Instance.registerElement("sv-file-preview",function(i){return r.createElement(tt,i)});var nt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.renderFileSign=function(e,n){var o=this;return!e||!n.name?null:r.createElement("div",{className:e},r.createElement("a",{href:n.content,onClick:function(s){o.question.doDownloadFile(s,n)},title:n.name,download:n.name,target:"_blank",rel:"noreferrer",style:{width:this.question.imageWidth}},n.name))},t.prototype.renderElement=function(){var e=this,n=this.item;return r.createElement("span",{className:this.question.cssClasses.previewItem,onClick:function(o){return e.question.doDownloadFileFromContainer(o)}},this.renderFileSign(this.question.cssClasses.fileSign,n),r.createElement("div",{className:this.question.getImageWrapperCss(n)},this.question.canPreviewImage(n)?r.createElement("img",{src:n.content,style:{height:this.question.imageHeight,width:this.question.imageWidth},alt:"File preview"}):this.question.cssClasses.defaultImage?r.createElement(C,{iconName:this.question.cssClasses.defaultImageIconId,size:"auto",className:this.question.cssClasses.defaultImage}):null,n.name&&!this.question.isReadOnly?r.createElement("div",{className:this.question.getRemoveButtonCss(),onClick:function(o){return e.question.doRemoveFile(n,o)}},r.createElement("span",{className:this.question.cssClasses.removeFile},this.question.removeFileCaption),this.question.cssClasses.removeFileSvgIconId?r.createElement(C,{title:this.question.removeFileCaption,iconName:this.question.cssClasses.removeFileSvgIconId,size:"auto",className:this.question.cssClasses.removeFileSvg}):null):null),this.renderFileSign(this.question.cssClasses.fileSignBottom,n))},t.prototype.canRender=function(){return this.question.showPreviewContainer},t})(v);d.Instance.registerElement("sv-file-item",function(i){return r.createElement(nt,i)});var rt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){for(var e=this.question.cssClasses,n=this.question.getRows(),o=[],s=0;s<n.length;s++)n[s].isVisible&&o.push(this.renderRow(s,n[s].cells,e));return r.createElement("table",{className:this.question.getQuestionRootCss()},r.createElement("tbody",null,o))},t.prototype.renderCell=function(e,n,o){var s,a=function(){e.item.focusIn()};return e.isErrorsCell?s=r.createElement(ke,{question:e.item.editor,creator:this.creator}):s=r.createElement(Ci,{question:this.question,item:e.item,creator:this.creator,cssClasses:n}),r.createElement("td",{key:e.item.id,className:e.className,onFocus:a},s)},t.prototype.renderRow=function(e,n,o){for(var s="item"+e,a=[],c=0;c<n.length;c++){var h=n[c];a.push(this.renderCell(h,o,c))}return r.createElement("tr",{key:s,className:o.row},a)},t})(q),Ci=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElements=function(){return[this.item,this.item.editor]},Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this.item,n=this.cssClasses,o={};return this.question.itemTitleWidth&&(o.minWidth=this.question.itemTitleWidth,o.width=this.question.itemTitleWidth),r.createElement("label",{className:this.question.getItemLabelCss(e)},r.createElement("span",{className:n.itemTitle,style:o},r.createElement(ye,{element:e.editor,cssClasses:e.editor.cssClasses})),r.createElement(yi,{cssClasses:n,itemCss:this.question.getItemCss(),question:e.editor,creator:this.creator}))},t})(E),yi=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.renderElement=function(){return r.createElement("div",{className:this.itemCss},this.renderContent())},t})(Ne);b.Instance.registerQuestion("multipletext",function(i){return r.createElement(rt,i)});var it=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getFooter=function(){return r.createElement(r.Fragment,null,i.prototype.getFooter.call(this),this.renderClearButton())},t.prototype.renderClearButton=function(){var e=this;return this.question.showClearButtonInContent?r.createElement("div",null,r.createElement("input",{type:"button",className:this.question.cssClasses.clearButton,onClick:function(){return e.question.clearValueFromUI()},value:this.question.clearButtonCaption})):null},t.prototype.getStateValue=function(){return this.question.isEmpty()?"":this.question.renderedValue},t.prototype.isItemChecked=function(e,n){return e.value===n},t})(Pe),ue=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnMouseDown=n.handleOnMouseDown.bind(n),n}return t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isChecked",{get:function(){return this.props.isChecked},enumerable:!1,configurable:!0}),t.prototype.doOnItemChange=function(e){this.question.clickItemHandler(this.item)},t.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},t.prototype.renderElementContent=function(){return this.renderRadioButton()},t.prototype.renderRadioButton=function(){var e=this.question.getItemClass(this.item),n=this.question.getLabelClass(this.item),o=this.question.getControlLabelClass(this.item),s=this.hideCaption?null:r.createElement("span",{className:o},this.renderLocString(this.item.locText,this.textStyle));return r.createElement("div",{className:e,role:"presentation",ref:this.rootRef},r.createElement("label",{onMouseDown:this.handleOnMouseDown,className:n},r.createElement("input",{"aria-errormessage":this.question.ariaErrormessage,className:this.cssClasses.itemControl,id:this.question.getItemId(this.item),type:"radio",name:this.question.questionName,checked:this.isChecked,value:this.item.value,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,"aria-label":this.ariaLabel}),this.cssClasses.materialDecorator?r.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?r.createElement("svg",{className:this.cssClasses.itemDecorator},r.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,s))},t})(Ve);d.Instance.registerElement("survey-radiogroup-item",function(i){return r.createElement(ue,i)}),b.Instance.registerQuestion("radiogroup",function(i){return r.createElement(it,i)});var ot=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderInput=function(){var e=this,n=this.question.getControlClass(),o=this.question.renderedPlaceholder;if(this.question.isReadOnlyRenderDiv())return r.createElement("div",null,this.question.inputValue);var s=this.question.getMaxLength()?r.createElement(F,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter}):null;return r.createElement(r.Fragment,null,r.createElement("input",{id:this.question.inputId,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:n,type:this.question.inputType,ref:function(a){return e.setControl(a)},style:this.question.inputStyle,maxLength:this.question.getMaxLength(),min:this.question.renderedMin,max:this.question.renderedMax,step:this.question.renderedStep,size:this.question.inputSize,placeholder:o,list:this.question.dataListId,autoComplete:this.question.autocomplete,onBlur:function(a){e.question.onBlur(a)},onFocus:function(a){e.question.onFocus(a)},onChange:this.question.onChange,onClick:this.question.readOnlyBlocker,onPointerDown:this.question.readOnlyBlocker,onKeyUp:this.question.onKeyUp,onKeyDown:this.question.onKeyDown,onCompositionUpdate:function(a){return e.question.onCompositionUpdate(a.nativeEvent)},"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),s)},t.prototype.renderElement=function(){return this.question.dataListId?r.createElement("div",null,this.renderInput(),this.renderDataList()):this.renderInput()},t.prototype.setValueCore=function(e){this.question.inputValue=e},t.prototype.getValueCore=function(){return this.question.inputValue},t.prototype.renderDataList=function(){if(!this.question.dataListId)return null;var e=this.question.dataList;if(e.length==0)return null;for(var n=[],o=0;o<e.length;o++)n.push(r.createElement("option",{key:"item"+o,value:e[o]}));return r.createElement("datalist",{id:this.question.dataListId},n)},t})(P);b.Instance.registerQuestion("text",function(i){return r.createElement(ot,i)});var z=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnChange=n.handleOnChange.bind(n),n.handleOnClick=n.handleOnClick.bind(n),n.handleOnLabelClick=n.handleOnLabelClick.bind(n),n.handleOnSwitchClick=n.handleOnSwitchClick.bind(n),n.handleOnKeyDown=n.handleOnKeyDown.bind(n),n.checkRef=r.createRef(),n}return t.prototype.getStateElement=function(){return this.question},Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.doCheck=function(e){this.question.booleanValue=e},t.prototype.handleOnChange=function(e){this.doCheck(e.target.checked)},t.prototype.handleOnClick=function(e){this.question.onLabelClick(e,!0)},t.prototype.handleOnSwitchClick=function(e){this.question.onSwitchClickModel(e.nativeEvent)},t.prototype.handleOnLabelClick=function(e,n){this.question.onLabelClick(e,n)},t.prototype.handleOnKeyDown=function(e){this.question.onKeyDownCore(e)},t.prototype.updateDomElement=function(){if(this.question){var e=this.checkRef.current;e&&(e.indeterminate=this.question.isIndeterminate),this.setControl(e),i.prototype.updateDomElement.call(this)}},t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses,o=this.question.getItemCss();return r.createElement("div",{className:n.root,onKeyDown:this.handleOnKeyDown},r.createElement("label",{className:o},r.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:n.control,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),r.createElement("div",{className:n.sliderGhost,onClick:function(s){return e.handleOnLabelClick(s,e.question.swapOrder)}},r.createElement("span",{className:this.question.getLabelCss(this.question.swapOrder)},this.renderLocString(this.question.locLabelLeft))),r.createElement("div",{className:n.switch,onClick:this.handleOnSwitchClick},r.createElement("span",{className:n.slider},this.question.isDeterminated&&n.sliderText?r.createElement("span",{className:n.sliderText},this.renderLocString(this.question.getCheckedLabel())):null)),r.createElement("div",{className:n.sliderGhost,onClick:function(s){return e.handleOnLabelClick(s,!e.question.swapOrder)}},r.createElement("span",{className:this.question.getLabelCss(!this.question.swapOrder)},this.renderLocString(this.question.locLabelRight)))))},t})(q);b.Instance.registerQuestion("boolean",function(i){return r.createElement(z,i)});var st=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.question.getCheckboxItemCss(),o=this.question.canRenderLabelDescription?v.renderQuestionDescription(this.question):null;return r.createElement("div",{className:e.rootCheckbox},r.createElement("div",{className:n},r.createElement("label",{className:e.checkboxLabel},r.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:e.controlCheckbox,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),r.createElement("span",{className:e.checkboxMaterialDecorator},this.question.svgIcon?r.createElement("svg",{className:e.checkboxItemDecorator},r.createElement("use",{xlinkHref:this.question.svgIcon})):null,r.createElement("span",{className:"check"})),this.question.isLabelRendered&&r.createElement("span",{className:e.checkboxControlLabel,id:this.question.labelRenderedAriaID},r.createElement(A,{element:this.question,cssClasses:this.question.cssClasses}))),o))},t})(z);b.Instance.registerQuestion("sv-boolean-checkbox",function(i){return r.createElement(st,i)}),p.RendererFactory.Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox");var at=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderRadioItem=function(e,n){var o=this,s=this.question.cssClasses,a=function(){o.question.value=e};return r.createElement("div",{role:"presentation",className:this.question.getRadioItemClass(s,e)},r.createElement("label",{className:s.radioLabel},r.createElement("input",{type:"radio",name:this.question.name,value:e,"aria-errormessage":this.question.ariaErrormessage,checked:e===this.question.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:s.itemRadioControl,onChange:a}),this.question.cssClasses.materialRadioDecorator?r.createElement("span",{className:s.materialRadioDecorator},this.question.itemSvgIcon?r.createElement("svg",{className:s.itemRadioDecorator},r.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,r.createElement("span",{className:s.radioControlLabel},this.renderLocString(n))))},t.prototype.renderElement=function(){var e=this.question.cssClasses;return r.createElement("div",{className:e.rootRadio},r.createElement("fieldset",{role:"presentation",className:e.radioFieldset},this.question.swapOrder?r.createElement(r.Fragment,null,this.renderRadioItem(this.question.getValueTrue(),this.question.locLabelTrue),this.renderRadioItem(this.question.getValueFalse(),this.question.locLabelFalse)):r.createElement(r.Fragment,null,this.renderRadioItem(this.question.getValueFalse(),this.question.locLabelFalse),this.renderRadioItem(this.question.getValueTrue(),this.question.locLabelTrue))))},t})(z);b.Instance.registerQuestion("sv-boolean-radio",function(i){return r.createElement(at,i)}),p.RendererFactory.Instance.registerRenderer("boolean","radio","sv-boolean-radio");var lt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={value:n.question.value},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return r.createElement("div",null)},t})(q);b.Instance.registerQuestion("empty",function(i){return r.createElement(lt,i)});var ce=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.root=r.createRef(),n.onPointerDownHandler=function(o){n.parentMatrix.onPointerDown(o.nativeEvent,n.model.row)},n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentMatrix",{get:function(){return this.props.parentMatrix},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.root.current&&this.model.setRootElement(this.root.current)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.model.setRootElement(void 0)},t.prototype.shouldComponentUpdate=function(e,n){return i.prototype.shouldComponentUpdate.call(this,e,n)?(e.model!==this.model&&(e.element&&e.element.setRootElement(this.root.current),this.model&&this.model.setRootElement(void 0)),!0):!1},t.prototype.render=function(){var e=this.model;return e.visible?r.createElement("tr",{ref:this.root,className:e.className,"data-sv-drop-target-matrix-row":e.dropTargetId},this.props.children):null},t})(v);d.Instance.registerElement("sv-matrix-row",function(i){return r.createElement(ce,i)});var de=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this;return r.createElement("div",{onPointerDown:function(n){e.question.onPointerDown(n.nativeEvent,e.row)}},this.renderIcon())},t.prototype.renderIcon=function(){return this.question.iconDragElement?r.createElement("svg",{className:this.question.cssClasses.dragElementDecorator},r.createElement("use",{xlinkHref:this.question.iconDragElement})):r.createElement("span",{className:this.question.cssClasses.iconDrag})},t})(E);d.Instance.registerElement("sv-matrix-drag-drop-icon",function(i){return r.createElement(de,i)});var bi=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"table",{get:function(){return this.question.renderedTable},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.table},t.prototype.wrapCell=function(e,n,o){return this.props.wrapCell(e,n,o)},t.prototype.renderHeader=function(){var e=this.question.renderedTable;if(!e.showHeader)return null;for(var n=[],o=e.headerRow.cells,s=0;s<o.length;s++){var a=o[s],c="column"+s,h={};a.width&&(h.width=a.width),a.minWidth&&(h.minWidth=a.minWidth);var m=this.renderCellContent(a,"column-header",{}),f=a.hasTitle?r.createElement("th",{className:a.className,key:c,style:h}," ",m," "):r.createElement("td",{className:a.className,key:c,style:h});n.push(f)}return r.createElement("thead",null,r.createElement("tr",null,n))},t.prototype.renderFooter=function(){var e=this.question.renderedTable;if(!e.showFooter)return null;var n=this.renderRow("footer",e.footerRow,this.question.cssClasses,"row-footer");return r.createElement("tfoot",null,n)},t.prototype.renderRows=function(){for(var e=this.question.cssClasses,n=[],o=this.question.renderedTable.renderedRows,s=0;s<o.length;s++)n.push(this.renderRow(o[s].id,o[s],e));return r.createElement("tbody",null,n)},t.prototype.renderRow=function(e,n,o,s){for(var a=[],c=n.cells,h=0;h<c.length;h++)a.push(this.renderCell(c[h],o,s));var m="row"+e;return r.createElement(r.Fragment,{key:m},s=="row-footer"?r.createElement("tr",null,a):r.createElement(ce,{model:n,parentMatrix:this.question},a))},t.prototype.renderCell=function(e,n,o){var s="cell"+e.id;if(e.hasQuestion)return r.createElement(ct,{key:s,cssClasses:n,cell:e,creator:this.creator,reason:o});if(e.isErrorsCell&&e.isErrorsCell)return r.createElement(wi,{cell:e,key:s,keyValue:s,question:e.question,creator:this.creator});var a=o;a||(a=e.hasTitle?"row-header":"");var c=this.renderCellContent(e,a,n),h=null;return(e.width||e.minWidth)&&(h={},e.width&&(h.width=e.width),e.minWidth&&(h.minWidth=e.minWidth)),r.createElement("td",{className:e.className,key:s,style:h,colSpan:e.colSpans,title:e.getTitle()},c)},t.prototype.renderCellContent=function(e,n,o){var s=null,a=null;if((e.width||e.minWidth)&&(a={},e.width&&(a.width=e.width),e.minWidth&&(a.minWidth=e.minWidth)),e.hasTitle){n="row-header";var c=this.renderLocString(e.locTitle),h=e.column?r.createElement(ut,{column:e.column,question:this.question}):null;s=r.createElement(r.Fragment,null,c,h)}if(e.isDragHandlerCell&&(s=r.createElement(r.Fragment,null,r.createElement(de,{item:{data:{row:e.row,question:this.question}}}))),e.isActionsCell&&(s=d.Instance.createElement("sv-matrixdynamic-actions-cell",{question:this.question,cssClasses:o,cell:e,model:e.item.getData()})),e.hasPanel&&(s=r.createElement(N,{key:e.panel.id,element:e.panel,survey:this.question.survey,cssClasses:o,isDisplayMode:this.isDisplayMode,creator:this.creator})),!s)return null;var m=r.createElement(r.Fragment,null,s);return this.wrapCell(e,m,n)},t.prototype.renderElement=function(){var e=this.renderHeader(),n=this.renderFooter(),o=this.renderRows();return r.createElement("table",{className:this.question.getTableCss()},e,o,n)},t})(v),he=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.question.renderedTable,n.state=n.getState(),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getState=function(e){return e===void 0&&(e=null),{rowCounter:e?e.rowCounter+1:0}},t.prototype.updateStateOnCallback=function(){this.isRendering||this.setState(this.getState(this.state))},t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),this.question.onRenderedTableResetCallback=function(){e.updateStateOnCallback()}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.onRenderedTableResetCallback=function(){}},t.prototype.renderElement=function(){return this.renderTableDiv()},t.prototype.renderTableDiv=function(){var e=this;return r.createElement("div",{className:this.question.getTableWrapperCss(),ref:function(n){return e.setControl(n)}},r.createElement(bi,{question:this.question,creator:this.creator,wrapCell:function(n,o,s){return e.wrapCell(n,o,s)}}))},t})(q),Ei=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){return r.createElement(L,{model:this.model,handleClick:!1})},t})(E),wi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"key",{get:function(){return this.props.keyValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),t.prototype.render=function(){return this.cell.isVisible?r.createElement("td",{className:this.cell.className,key:this.key,colSpan:this.cell.colSpans,title:this.cell.getTitle()},i.prototype.render.call(this)):null},t.prototype.getQuestionPropertiesToTrack=function(){return i.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"])},t})(ke);d.Instance.registerElement("sv-matrixdynamic-actions-cell",function(i){return r.createElement(Ei,i)});var ut=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.column},t.prototype.renderElement=function(){return this.column.isRenderedRequired?r.createElement(r.Fragment,null,r.createElement("span",null,"\xA0"),r.createElement("span",{className:this.question.cssClasses.cellRequiredMark},this.column.requiredMark)):null},t})(E),ct=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"itemCss",{get:function(){return this.cell?this.cell.className:""},enumerable:!1,configurable:!0}),t.prototype.getQuestion=function(){var e=i.prototype.getQuestion.call(this);return e||(this.cell?this.cell.question:null)},t.prototype.doAfterRender=function(){var e=this.cellRef.current;if(e&&this.cell&&this.question&&this.question.survey&&e.getAttribute("data-rendered")!=="r"){e.setAttribute("data-rendered","r");var n={cell:this.cell,cellQuestion:this.question,htmlElement:e,row:this.cell.row,column:this.cell.cell.column};this.question.survey.matrixAfterCellRender(n),this.question.afterRenderCore(e)}},t.prototype.getShowErrors=function(){return this.question.isVisible&&(!this.cell.isChoice||this.cell.isFirstChoice)},t.prototype.getCellStyle=function(){var e=i.prototype.getCellStyle.call(this);return(this.cell.width||this.cell.minWidth)&&(e||(e={}),this.cell.width&&(e.width=this.cell.width),this.cell.minWidth&&(e.minWidth=this.cell.minWidth)),e},t.prototype.getHeaderText=function(){return this.cell.headers},t.prototype.renderElement=function(){return this.cell.isVisible?i.prototype.renderElement.call(this):null},t.prototype.renderCellContent=function(){var e=i.prototype.renderCellContent.call(this),n=this.cell.showResponsiveTitle?r.createElement("span",{className:this.cell.responsiveTitleCss},this.renderLocString(this.cell.responsiveLocTitle),r.createElement(ut,{column:this.cell.column,question:this.cell.matrix})):null;return r.createElement(r.Fragment,null,n,e)},t.prototype.renderQuestion=function(){return this.question.isVisible?this.cell.isChoice?this.cell.isOtherChoice?this.renderOtherComment():this.cell.isCheckbox?this.renderCellCheckboxButton():this.renderCellRadiogroupButton():k.renderQuestionBody(this.creator,this.question):r.createElement(r.Fragment,null)},t.prototype.renderOtherComment=function(){var e=this.cell.question,n=e.cssClasses||{};return r.createElement(re,{question:e,item:e.otherItem,cssClasses:n})},t.prototype.renderCellCheckboxButton=function(){var e=this.cell.question.id+"item"+this.cell.choiceIndex;return r.createElement(ie,{key:e,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,isFirst:this.cell.isFirstChoice,index:this.cell.choiceIndex.toString(),hideCaption:!0,ariaLabel:this.getCellAriaLabel()})},t.prototype.renderCellRadiogroupButton=function(){var e=this.cell.question.id+"item"+this.cell.choiceIndex;return r.createElement(ue,{key:e,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,index:this.cell.choiceIndex.toString(),isChecked:this.cell.question.value===this.cell.item.value,isDisabled:this.cell.question.isReadOnly||!this.cell.item.isEnabled,hideCaption:!0,ariaLabel:this.getCellAriaLabel()})},t.prototype.getCellAriaLabel=function(){return this.question.parentQuestion.getCellAriaLabel(this.cell.row,this.cell.column)},t})(He),dt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t})(he);b.Instance.registerQuestion("matrixdropdown",function(i){return r.createElement(dt,i)});var ht=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnRowAddClick=n.handleOnRowAddClick.bind(n),n}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.handleOnRowAddClick=function(e){this.matrix.addRowUI()},t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.question.renderedTable.showTable,o=n?this.renderTableDiv():this.renderNoRowsContent(e);return r.createElement("div",null,this.renderAddRowButtonOnTop(e),o,this.renderAddRowButtonOnBottom(e))},t.prototype.renderAddRowButtonOnTop=function(e){return this.matrix.renderedTable.showAddRowOnTop?this.renderAddRowButton(e):null},t.prototype.renderAddRowButtonOnBottom=function(e){return this.matrix.renderedTable.showAddRowOnBottom?this.renderAddRowButton(e):null},t.prototype.renderNoRowsContent=function(e){return d.Instance.createElement("sv-placeholder-matrixdynamic",{cssClasses:e,question:this.matrix})},t.prototype.renderAddRowButton=function(e,n){return n===void 0&&(n=!1),d.Instance.createElement("sv-matrixdynamic-add-btn",{question:this.question,cssClasses:e,isEmptySection:n})},t})(he);b.Instance.registerQuestion("matrixdynamic",function(i){return r.createElement(ht,i)});var mt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnRowAddClick=n.handleOnRowAddClick.bind(n),n}return Object.defineProperty(t.prototype,"matrix",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.handleOnRowAddClick=function(e){this.matrix.addRowUI()},t.prototype.renderElement=function(){var e=this.renderLocString(this.matrix.locAddRowText),n=r.createElement("button",{className:this.matrix.getAddRowButtonCss(this.props.isEmptySection),type:"button",disabled:this.matrix.isInputReadOnly,onClick:this.matrix.isDesignMode?void 0:this.handleOnRowAddClick},e,r.createElement("span",{className:this.props.cssClasses.iconAdd},this.cssClasses.iconAddId&&r.createElement("svg",null,r.createElement("use",{xlinkHref:this.cssClasses.iconAddId}))));return this.props.isEmptySection?n:r.createElement("div",{className:this.props.cssClasses.footer},n)},t})(E),qi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.props.cssClasses,n=this.props.question,o=n.renderedTable.showAddRow,s=this.renderLocString(n.locNoRowsText),a=r.createElement("div",{className:e.noRowsText},s),c=o?this.renderAddRowButton(e,n):void 0;return r.createElement("div",{className:e.noRowsSection},a,c)},t.prototype.renderAddRowButton=function(e,n){return d.Instance.createElement("sv-matrixdynamic-add-btn",{question:n,cssClasses:e,isEmptySection:!0})},t})(E);d.Instance.registerElement("sv-matrixdynamic-add-btn",function(i){return r.createElement(mt,i)}),d.Instance.registerElement("sv-placeholder-matrixdynamic",function(i){return r.createElement(qi,i)});var pt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.setState({panelCounter:0});var e=this;this.question.panelCountChangedCallback=function(){e.updateQuestionRendering()},this.question.currentIndexChangedCallback=function(){e.updateQuestionRendering()},this.question.renderModeChangedCallback=function(){e.updateQuestionRendering()}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.panelCountChangedCallback=function(){},this.question.currentIndexChangedCallback=function(){},this.question.renderModeChangedCallback=function(){}},t.prototype.updateQuestionRendering=function(){this.setState({panelCounter:this.state?this.state.panelCounter+1:1})},t.prototype.renderElement=function(){var e=this,n=[],o=this.question.cssClasses;this.question.renderedPanels.forEach(function(h,m){n.push(r.createElement(Li,{key:h.id,element:h,question:e.question,index:m,cssClasses:o,isDisplayMode:e.isDisplayMode,creator:e.creator}))});var s=this.question.isRangeShowing&&this.question.isProgressTopShowing?this.renderRange():null,a=this.renderNavigatorV2(),c=this.renderPlaceholder(o);return r.createElement("div",{className:o.root},this.question.hasTabbedMenu?r.createElement("div",{className:this.question.getTabsContainerCss()},r.createElement(L,{model:this.question.tabbedMenu})):null,c,s,r.createElement("div",{className:this.question.cssClasses.panelsContainer},n),a)},t.prototype.renderRange=function(){return r.createElement("div",{className:this.question.cssClasses.progress},r.createElement("div",{className:this.question.cssClasses.progressBar,style:{width:this.question.progress},role:"progressbar","aria-label":this.question.progressBarAriaLabel}))},t.prototype.renderAddRowButton=function(){return d.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:this.question}})},t.prototype.renderNavigatorV2=function(){if(!this.question.showNavigation)return null;var e=this.question.isRangeShowing&&this.question.isProgressBottomShowing?this.renderRange():null;return r.createElement("div",{className:this.question.cssClasses.footer},r.createElement("hr",{className:this.question.cssClasses.separator}),e,this.question.showFooterToolbar?r.createElement("div",{className:this.question.cssClasses.footerButtonsContainer},r.createElement(L,{model:this.question.footerToolbar})):null)},t.prototype.renderPlaceholder=function(e){return this.question.getShowNoEntriesPlaceholder()?d.Instance.createElement("sv-placeholder-paneldynamic",{cssClasses:e,question:this.question}):null},t})(q),Li=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),t.prototype.getSurvey=function(){return this.question?this.question.survey:null},t.prototype.getCss=function(){var e=this.getSurvey();return e?e.getCss():{}},t.prototype.render=function(){var e=i.prototype.render.call(this),n=this.renderButton(),o=this.question.showSeparator(this.index)?r.createElement("hr",{className:this.question.cssClasses.separator}):null;return r.createElement(r.Fragment,null,r.createElement("div",{className:this.question.getPanelWrapperCss(this.panel)},e,n),o)},t.prototype.renderButton=function(){return this.question.canRenderRemovePanelOnRight(this.panel)?d.Instance.createElement("sv-paneldynamic-remove-btn",{data:{question:this.question,panel:this.panel}}):null},t})(N);b.Instance.registerQuestion("paneldynamic",function(i){return r.createElement(pt,i)});var xi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.props.cssClasses,n=this.props.question;return r.createElement("div",{className:e.noEntriesPlaceholder},r.createElement("span",null,this.renderLocString(n.locNoEntriesText)),this.renderAddRowButton(n))},t.prototype.renderAddRowButton=function(e){return d.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:e}})},t})(E);d.Instance.registerElement("sv-placeholder-paneldynamic",function(i){return r.createElement(xi,i)});var Q=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"isTop",{get:function(){return this.props.isTop},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{get:function(){return this.survey.progressValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progressBarAriaLabel",{get:function(){return this.survey.progressBarAriaLabel},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e={width:this.progress+"%"};return r.createElement("div",{className:this.survey.getProgressCssClasses(this.props.container)},r.createElement("div",{style:e,className:this.css.progressBar,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":this.progressBarAriaLabel},r.createElement("span",{className:p.SurveyProgressModel.getProgressTextInBarCss(this.css)},this.progressText)),r.createElement("span",{className:p.SurveyProgressModel.getProgressTextUnderBarCss(this.css)},this.progressText))},t})(U);d.Instance.registerElement("sv-progress-pages",function(i){return r.createElement(Q,i)}),d.Instance.registerElement("sv-progress-questions",function(i){return r.createElement(Q,i)}),d.Instance.registerElement("sv-progress-correctquestions",function(i){return r.createElement(Q,i)}),d.Instance.registerElement("sv-progress-requiredquestions",function(i){return r.createElement(Q,i)});var ft=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.listContainerRef=r.createRef(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.props.container},enumerable:!1,configurable:!0}),t.prototype.onResize=function(e){this.setState({canShowItemTitles:e}),this.setState({canShowHeader:!e})},t.prototype.onUpdateScroller=function(e){this.setState({hasScroller:e})},t.prototype.onUpdateSettings=function(){this.setState({canShowItemTitles:this.model.showItemTitles}),this.setState({canShowFooter:!this.model.showItemTitles})},t.prototype.render=function(){var e,n=this;return r.createElement("div",{className:this.model.getRootCss(this.props.container),style:(e={maxWidth:this.model.progressWidth},e["--sd-progress-buttons-pages-count"]=this.survey.visiblePages.length,e),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":this.model.progressBarAriaLabel},this.state.canShowHeader?r.createElement("div",{className:this.css.progressButtonsHeader},r.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.headerText},this.model.headerText)):null,r.createElement("div",{className:this.css.progressButtonsContainer},r.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!0),role:"button",onClick:function(){return n.clickScrollButton(n.listContainerRef.current,!0)}}),r.createElement("div",{className:this.css.progressButtonsListContainer,ref:this.listContainerRef},r.createElement("ul",{className:this.css.progressButtonsList},this.getListElements())),r.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!1),role:"button",onClick:function(){return n.clickScrollButton(n.listContainerRef.current,!1)}})),this.state.canShowFooter?r.createElement("div",{className:this.css.progressButtonsFooter},r.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.footerText},this.model.footerText)):null)},t.prototype.getListElements=function(){var e=this,n=[];return this.survey.visiblePages.forEach(function(o,s){n.push(e.renderListElement(o,s))}),n},t.prototype.renderListElement=function(e,n){var o=this,s=v.renderLocString(e.locNavigationTitle);return r.createElement("li",{key:"listelement"+n,className:this.model.getListElementCss(n),onClick:this.model.isListElementClickable(n)?function(){return o.model.clickListElement(e)}:void 0,"data-page-number":this.model.getItemNumber(e)},r.createElement("div",{className:this.css.progressButtonsConnector}),this.state.canShowItemTitles?r.createElement(r.Fragment,null,r.createElement("div",{className:this.css.progressButtonsPageTitle,title:e.renderedNavigationTitle},s),r.createElement("div",{className:this.css.progressButtonsPageDescription,title:e.navigationDescription},e.navigationDescription)):null,r.createElement("div",{className:this.css.progressButtonsButton},r.createElement("div",{className:this.css.progressButtonsButtonBackground}),r.createElement("div",{className:this.css.progressButtonsButtonContent}),r.createElement("span",null,this.model.getItemNumber(e))))},t.prototype.clickScrollButton=function(e,n){e&&(e.scrollLeft+=(n?-1:1)*70)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.respManager=new p.ProgressButtonsResponsivityManager(this.model,this.listContainerRef.current,this)},t.prototype.componentWillUnmount=function(){this.respManager&&this.respManager.dispose(),i.prototype.componentWillUnmount.call(this)},t})(U);d.Instance.registerElement("sv-progress-buttons",function(i){return r.createElement(ft,i)});var vt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleKeydown=function(o){n.model.onKeyDown(o)},n.elementRef=r.createRef(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e=this;if(!this.item)return null;var n=this.model.getItemClass(this.item),o=this.item.component||this.model.itemComponent,s=d.Instance.createElement(o,{item:this.item,key:this.item.id,model:this.model}),a=r.createElement("div",{ref:this.elementRef,style:this.model.getItemStyle(this.item),className:this.model.cssClasses.itemBody,title:this.item.getTooltip(),onMouseOver:function(f){e.model.onItemHover(e.item)},onMouseLeave:function(f){e.model.onItemLeave(e.item)}},s),c=this.item.needSeparator?r.createElement("div",{className:this.model.cssClasses.itemSeparator}):null,h=this.model.isItemVisible(this.item),m={display:h?null:"none"};return W(r.createElement("li",{className:n,role:this.model.listItemRole,style:m,id:this.item.elementId,"aria-selected":this.model.getA11yItemAriaSelected(this.item),"aria-checked":this.model.getA11yItemAriaChecked(this.item),onClick:function(f){e.model.onItemClick(e.item),f.stopPropagation()},onPointerDown:function(f){return e.model.onPointerDown(f,e.item)}},c,a),this.item)},t.prototype.componentDidMount=function(){var e;i.prototype.componentDidMount.call(this),this.model.onItemRended(this.item,(e=this.elementRef)===null||e===void 0?void 0:e.current)},t})(v);d.Instance.registerElement("sv-list-item",function(i){return r.createElement(vt,i)});var me=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleKeydown=function(o){n.model.onKeyDown(o)},n.handleMouseMove=function(o){n.model.onMouseMove(o)},n.state={filterString:n.model.filterString||""},n.listContainerRef=r.createRef(),n}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.listContainerRef&&this.listContainerRef.current&&this.model.initListContainerHtmlElement(this.listContainerRef.current)},t.prototype.componentDidUpdate=function(e,n){var o;i.prototype.componentDidUpdate.call(this,e,n),this.model!==e.model&&(this.model&&(!((o=this.listContainerRef)===null||o===void 0)&&o.current)&&this.model.initListContainerHtmlElement(this.listContainerRef.current),e.model&&e.model.initListContainerHtmlElement(void 0))},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.model&&this.model.initListContainerHtmlElement(void 0)},t.prototype.renderElement=function(){return r.createElement("div",{className:this.model.cssClasses.root,ref:this.listContainerRef},this.searchElementContent(),this.emptyContent(),this.renderList())},t.prototype.renderList=function(){if(!this.model.renderElements)return null;var e=this.renderItems(),n={display:this.model.isEmpty?"none":null};return r.createElement("ul",{className:this.model.getListClass(),style:n,role:this.model.listRole,"aria-label":this.model.a11ya11y_input_ariaLabel,id:this.model.elementId,onMouseDown:function(o){o.preventDefault()},onKeyDown:this.handleKeydown,onMouseMove:this.handleMouseMove},e)},t.prototype.renderItems=function(){var e=this;if(!this.model)return null;var n=this.model.renderedActions;return n?n.map(function(o,s){return r.createElement(vt,{model:e.model,item:o,key:"item"+s})}):null},t.prototype.searchElementContent=function(){var e=this;if(this.model.showFilter){var n=function(a){var c,h=(c=a.target.getRootNode())===null||c===void 0?void 0:c.activeElement;a.target===h&&(e.model.filterString=a.target.value)},o=function(a){e.model.goToItems(a)},s=this.model.showSearchClearButton&&this.model.filterString?r.createElement("button",{className:this.model.cssClasses.searchClearButtonIcon,onClick:function(a){e.model.onClickSearchClearButton(a)}},r.createElement(C,{iconName:"icon-searchclear",size:"auto"})):null;return r.createElement("div",{className:this.model.cssClasses.filter},r.createElement("div",{className:this.model.cssClasses.filterIcon},r.createElement(C,{iconName:"icon-search",size:"auto"})),r.createElement("input",{type:"text",className:this.model.cssClasses.filterInput,"aria-label":this.model.filterStringPlaceholder,placeholder:this.model.filterStringPlaceholder,value:this.state.filterString,onKeyUp:o,onChange:n}),s)}else return null},t.prototype.emptyContent=function(){var e={display:this.model.isEmpty?null:"none"};return r.createElement("div",{className:this.model.cssClasses.emptyContainer,style:e},r.createElement("div",{className:this.model.cssClasses.emptyText,"aria-label":this.model.emptyMessage},this.model.emptyMessage))},t})(v);d.Instance.registerElement("sv-list",function(i){return r.createElement(me,i)});var gt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this);var e=this.props.model;e.updateStickyTOCSize(this.survey.rootElement)},t.prototype.render=function(){var e=this.props.model,n;return e.isMobile?n=r.createElement("div",{onClick:e.togglePopup},r.createElement(C,{iconName:e.icon,size:24}),r.createElement(H,{model:e.popupModel})):n=r.createElement(me,{model:e.listModel}),r.createElement("div",{className:e.containerCss},n)},t})(U);d.Instance.registerElement("sv-navigation-toc",function(i){return r.createElement(gt,i)});var Ct=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnClick=n.handleOnClick.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.handleOnClick=function(e){this.question.setValueFromClick(e.target.value),this.setState({value:this.question.value})},t.prototype.renderItem=function(e,n){var o=d.Instance.createElement(this.question.itemComponent,{question:this.question,item:e,index:n,key:"value"+n,handleOnClick:this.handleOnClick,isDisplayMode:this.isDisplayMode});return o},t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses,o=this.question.minRateDescription?this.renderLocString(this.question.locMinRateDescription):null,s=this.question.maxRateDescription?this.renderLocString(this.question.locMaxRateDescription):null;return r.createElement("div",{className:this.question.ratingRootCss,ref:function(a){return e.setControl(a)}},r.createElement("fieldset",{role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},r.createElement("legend",{role:"presentation",className:"sv-hidden"}),this.question.hasMinLabel?r.createElement("span",{className:n.minText},o):null,this.question.renderedRateItems.map(function(a,c){return e.renderItem(a,c)}),this.question.hasMaxLabel?r.createElement("span",{className:n.maxText},s):null))},t})(q);b.Instance.registerQuestion("rating",function(i){return r.createElement(Ct,i)});var yt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderSelect(e);return r.createElement("div",{className:this.question.cssClasses.rootDropdown},n)},t})(T);b.Instance.registerQuestion("sv-rating-dropdown",function(i){return r.createElement(yt,i)}),p.RendererFactory.Instance.registerRenderer("rating","dropdown","sv-rating-dropdown");var bt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.rangeInputRef=r.createRef(),n}return t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.question.refreshInputRange(this.rangeInputRef.current)},Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.question},t.prototype.renderElement=function(){var e=this,n=this.question,o=n.cssClasses,s=n.showLabels,a=n.sliderType,c=n.getTrackPercentLeft,h=n.getTrackPercentRight,m=n.allowDragRange,f=n.setValueByClickOnPath,g=a==="single"&&m?null:this.getRangeInput(),y=this.getInputsAndThumbs(),w=s?this.getLabels():null;return r.createElement("div",{className:this.question.rootCss,ref:function(S){return e.setControl(S)}},g,r.createElement("div",{className:o.visualContainer,onPointerUp:function(S){f(S.nativeEvent,e.control)}},r.createElement("div",{className:o.visualContainerSlider},r.createElement("div",{className:o.inverseTrackLeft,style:{width:c()+"%"}}),r.createElement("div",{className:o.inverseTrackRight,style:{width:h()+"%"}}),r.createElement("div",{className:o.rangeTrack,style:{left:c()+"%",right:h()+"%"}}),y)),w)},t.prototype.getInputsAndThumbs=function(){for(var e=[],n=this.question.renderedValue,o=0;o<n.length;o++){var s=r.createElement(r.Fragment,{key:o},this.getInput(o),this.getThumb(o));e.push(s)}return e},t.prototype.getThumb=function(e){var n=this.question,o=n.cssClasses,s=n.getThumbContainerCss,a=n.tooltipVisibility,c=n.tooltipCss,h=n.getPercent,m=n.renderedValue,f=n.getTooltipValue,g=m[e],y=null;a!=="never"&&(y=r.createElement("div",{className:c},r.createElement("div",{className:o.tooltipPanel},r.createElement("div",{className:o.tooltipValue},f(e)))));var w=r.createElement("div",{className:s(e),style:{left:h(g)+"%"}},y,r.createElement("div",{className:o.thumb},r.createElement("div",{className:o.thumbDot})));return w},t.prototype.getInput=function(e){var n=this.question,o=n.renderedMax,s=n.renderedMin,a=n.step,c=n.cssClasses,h=n.isDisabledAttr,m=n.renderedValue,f=n.handleOnChange,g=n.handlePointerDown,y=n.handlePointerUp,w=n.handleKeyDown,S=n.handleKeyUp,B=n.handleOnFocus,$=n.handleOnBlur,D=n.id,Ri=m[e],Ni=r.createElement("input",{className:c.input,id:D+"-sjs-slider-input-"+e,type:"range",min:s,max:o,step:a,value:Ri,onChange:function(M){f(M.nativeEvent,e)},onPointerDown:function(M){g(M.nativeEvent)},onPointerUp:function(M){M.stopPropagation(),y(M.nativeEvent)},onKeyDown:function(M){w(M.nativeEvent)},onKeyUp:function(M){S(M.nativeEvent)},onFocus:function(){B(e)},onBlur:function(){$()},disabled:h,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage});return Ni},t.prototype.getRangeInput=function(){var e=this,n=this.question,o=n.renderedMax,s=n.renderedMin,a=n.step,c=n.cssClasses,h=n.handleRangeOnChange,m=n.handleRangePointerDown,f=n.handleRangePointerUp,g=n.id;return r.createElement("input",{name:"range-input",id:g+"-sjs-slider-input-range-input",ref:this.rangeInputRef,className:c.input,type:"range","aria-hidden":"true",min:s,max:o,step:a,tabIndex:-1,onChange:function(y){h(y.nativeEvent)},onPointerDown:function(y){y.persist(),m(y.nativeEvent,e.control)},onPointerUp:function(y){f(y.nativeEvent,e.control)}})},t.prototype.getLabels=function(){for(var e=[],n=this.question,o=n.renderedLabels,s=n.cssClasses,a=0;a<o.length;a++){var c=d.Instance.createElement("sv-slider-label-item",{item:o[a],question:this.question,key:o[a].id});e.push(c)}return r.createElement("div",{className:s.labelsContainer},r.createElement("div",null,e))},t})(q);b.Instance.registerQuestion("slider",function(i){return r.createElement(bt,i)});var Et=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses;return r.createElement("div",{id:this.question.inputId,className:n.root,ref:function(o){return e.setControl(o)},"aria-live":"polite","aria-label":this.question.formatedValue},this.question.formatedValue)},t})(q);b.Instance.registerQuestion("expression",function(i){return r.createElement(Et,i)});var wt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnExpanded=n.handleOnExpanded.bind(n),n}return t.prototype.getStateElements=function(){return[this.popup,this.popup.survey]},t.prototype.handleOnExpanded=function(e){this.popup.changeExpandCollapse()},t.prototype.canRender=function(){return i.prototype.canRender.call(this)&&this.popup.isShowing},t.prototype.renderElement=function(){var e=this,n=this.renderWindowHeader(),o=this.renderBody(),s={};return this.popup.renderedWidth&&(s.width=this.popup.renderedWidth,s.maxWidth=this.popup.renderedWidth),r.createElement("div",{className:this.popup.cssRoot,style:s,onScroll:function(){return e.popup.onScroll()}},r.createElement("div",{className:this.popup.cssRootContent},n,o))},t.prototype.renderWindowHeader=function(){var e=this.popup,n=e.cssHeaderRoot,o=null,s,a=null,c=null;return e.isCollapsed?(n+=" "+e.cssRootCollapsedMod,o=this.renderTitleCollapsed(e),s=this.renderExpandIcon()):s=this.renderCollapseIcon(),e.allowClose&&(a=this.renderCloseButton(this.popup)),e.allowFullScreen&&(c=this.renderAllowFullScreenButon(this.popup)),r.createElement("div",{className:e.cssHeaderRoot},o,r.createElement("div",{className:e.cssHeaderButtonsContainer},c,r.createElement("div",{className:e.cssHeaderCollapseButton,onClick:this.handleOnExpanded},s),a))},t.prototype.renderTitleCollapsed=function(e){return e.locTitle?r.createElement("div",{className:e.cssHeaderTitleCollapsed},e.locTitle.renderedHtml):null},t.prototype.renderExpandIcon=function(){return r.createElement(C,{iconName:"icon-restore_16x16",size:16})},t.prototype.renderCollapseIcon=function(){return r.createElement(C,{iconName:"icon-minimize_16x16",size:16})},t.prototype.renderCloseButton=function(e){var n=this;return r.createElement("div",{className:e.cssHeaderCloseButton,onClick:function(){e.hide(),typeof n.props.onClose=="function"&&n.props.onClose()}},r.createElement(C,{iconName:"icon-close_16x16",size:16}))},t.prototype.renderAllowFullScreenButon=function(e){var n;return e.isFullScreen?n=r.createElement(C,{iconName:"icon-back-to-panel_16x16",size:16}):n=r.createElement(C,{iconName:"icon-full-screen_16x16",size:16}),r.createElement("div",{className:e.cssHeaderFullScreenButton,onClick:function(){e.toggleFullScreen()}},n)},t.prototype.renderBody=function(){return r.createElement("div",{className:this.popup.cssBody},this.doRender())},t.prototype.createSurvey=function(e){e||(e={}),i.prototype.createSurvey.call(this,e),this.popup=new p.PopupSurveyModel(null,this.survey),e.closeOnCompleteTimeout&&(this.popup.closeOnCompleteTimeout=e.closeOnCompleteTimeout),this.popup.allowClose=e.allowClose,this.popup.allowFullScreen=e.allowFullScreen,this.popup.isShowing=!0,!this.popup.isExpanded&&(e.expanded||e.isExpanded)&&this.popup.expand()},t})(ee),Si=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t})(wt),qt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this.question.cssClasses;return r.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),style:this.question.getContainerStyle()},r.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.question.hasColumns?this.getColumns(e):this.getItems(e))},t.prototype.getColumns=function(e){var n=this;return this.question.columns.map(function(o,s){var a=o.map(function(c,h){return n.renderItem(c,e)});return r.createElement("div",{key:"column"+s+n.question.getItemsColumnKey(o),className:n.question.getColumnClass(),role:"presentation"},a)})},t.prototype.getItems=function(e){for(var n=[],o=0;o<this.question.visibleChoices.length;o++){var s=this.question.visibleChoices[o];n.push(this.renderItem(s,e))}return n},Object.defineProperty(t.prototype,"textStyle",{get:function(){return{marginLeft:"3px",display:"inline",position:"static"}},enumerable:!1,configurable:!0}),t.prototype.renderItem=function(e,n){var o=r.createElement(Ii,{key:e.uniqueId,question:this.question,item:e,cssClasses:n}),s=this.question.survey,a=null;return s&&(a=x.wrapItemValue(s,o,this.question,e)),a??o},t})(q),Ii=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnChange=n.handleOnChange.bind(n),n}return t.prototype.getStateElement=function(){return this.item},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.reactOnStrChanged()},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.item.locImageLink.onChanged=function(){}},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.reactOnStrChanged()},t.prototype.reactOnStrChanged=function(){var e=this;this.item.locImageLink.onChanged=function(){e.setState({locImageLinkchanged:e.state&&e.state.locImageLink?e.state.locImageLink+1:1})}},Object.defineProperty(t.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.handleOnChange=function(e){if(!this.question.isReadOnlyAttr){if(this.question.multiSelect)if(e.target.checked)this.question.value=this.question.value.concat(e.target.value);else{var n=this.question.value;n.splice(this.question.value.indexOf(e.target.value),1),this.question.value=n}else this.question.value=e.target.value;this.setState({value:this.question.value})}},t.prototype.renderElement=function(){var e=this,n=this.item,o=this.question,s=this.cssClasses,a=o.isItemSelected(n),c=o.getItemClass(n),h=null;o.showLabel&&(h=r.createElement("span",{className:o.cssClasses.itemText},n.text?v.renderLocString(n.locText):n.value));var m={objectFit:this.question.imageFit},f=null;if(n.locImageLink.renderedHtml&&this.question.contentMode==="image"&&(f=r.createElement("img",{className:s.image,src:n.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,alt:n.locText.renderedHtml,style:m,onLoad:function(w){e.question.onContentLoaded(n,w.nativeEvent)},onError:function(w){n.onErrorHandler(n,w.nativeEvent)}})),n.locImageLink.renderedHtml&&this.question.contentMode==="video"&&(f=r.createElement("video",{controls:!0,className:s.image,src:n.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,style:m,onLoadedMetadata:function(w){e.question.onContentLoaded(n,w.nativeEvent)},onError:function(w){n.onErrorHandler(n,w.nativeEvent)}})),!n.locImageLink.renderedHtml||n.contentNotLoaded){var g={width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,objectFit:this.question.imageFit};f=r.createElement("div",{className:s.itemNoImage,style:g},s.itemNoImageSvgIcon?r.createElement(C,{className:s.itemNoImageSvgIcon,iconName:this.question.cssClasses.itemNoImageSvgIconId,size:48}):null)}var y=r.createElement("div",{className:c},r.createElement("label",{className:s.label},r.createElement("input",{className:s.itemControl,id:this.question.getItemId(n),type:this.question.inputType,name:this.question.questionName,checked:a,value:n.value,disabled:!this.question.getItemEnabled(n),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,required:this.question.inputRequiredAttribute,"aria-label":n.locText.renderedHtml,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),r.createElement("div",{className:this.question.cssClasses.itemDecorator},r.createElement("div",{className:this.question.cssClasses.imageContainer},this.question.cssClasses.checkedItemDecorator?r.createElement("span",{className:this.question.cssClasses.checkedItemDecorator,"aria-hidden":"true"},this.question.cssClasses.checkedItemSvgIconId?r.createElement(C,{size:"auto",className:this.question.cssClasses.checkedItemSvgIcon,iconName:this.question.cssClasses.checkedItemSvgIconId}):null):null,f),h)));return y},t})(E);b.Instance.registerQuestion("imagepicker",function(i){return r.createElement(qt,i)});var Lt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={width:void 0,height:void 0,scale:void 0},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this)},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this)},t.prototype.renderElement=function(){var e=this;return r.createElement("div",{className:this.question.cssClasses.root,ref:function(n){return e.setControl(n)}},r.createElement("img",{className:this.question.cssClasses.bg,id:"".concat(this.question.id,"-bg"),src:this.question.imageLink,role:"presentation"}),r.createElement("svg",{className:this.question.cssClasses.svg,id:"".concat(this.question.id,"-svg")}))},t})(q);b.Instance.registerQuestion("imagemap",function(i){return r.createElement(Lt,i)});var xt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.componentDidMount=function(){var e=this;i.prototype.componentDidMount.call(this),this.question.locImageLink.onChanged=function(){e.forceUpdate()}},t.prototype.componentWillUnmount=function(){i.prototype.componentWillUnmount.call(this),this.question.locImageLink.onChanged=function(){}},Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.getImageCss(),o={objectFit:this.question.imageFit,width:this.question.renderedStyleWidth,height:this.question.renderedStyleHeight};(!this.question.imageLink||this.question.contentNotLoaded)&&(o.display="none");var s=null;this.question.renderedMode==="image"&&(s=r.createElement("img",{className:n,src:this.question.locImageLink.renderedHtml||null,alt:this.question.renderedAltText,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,onLoad:function(c){e.question.onLoadHandler()},onError:function(c){e.question.onErrorHandler()}})),this.question.renderedMode==="video"&&(s=r.createElement("video",{controls:!0,className:n,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,onLoadedMetadata:function(c){e.question.onLoadHandler()},onError:function(c){e.question.onErrorHandler()}})),this.question.renderedMode==="youtube"&&(s=r.createElement("iframe",{className:n,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,title:this.question.renderedAltText}));var a=null;return(!this.question.imageLink||this.question.contentNotLoaded)&&(a=r.createElement("div",{className:this.question.cssClasses.noImage},r.createElement(C,{iconName:this.question.cssClasses.noImageSvgIconId,size:48}))),r.createElement("div",{className:this.question.cssClasses.root},s,a)},t})(q);b.Instance.registerQuestion("image",function(i){return r.createElement(xt,i)});var St=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.state={value:n.question.value},n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.renderElement=function(){var e=this,n=this.question.cssClasses,o=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,s=this.renderCleanButton();return r.createElement("div",{className:n.root,ref:function(a){return e.setControl(a)},style:{width:this.question.renderedCanvasWidth}},r.createElement("div",{className:n.placeholder,style:{display:this.question.needShowPlaceholder()?"":"none"}},this.renderLocString(this.question.locRenderedPlaceholder)),r.createElement("div",null,this.renderBackgroundImage(),r.createElement("canvas",{tabIndex:-1,className:this.question.cssClasses.canvas,onBlur:function(a){e.question.onBlur(a)}})),s,o)},t.prototype.renderBackgroundImage=function(){return this.question.backgroundImage?r.createElement("img",{className:this.question.cssClasses.backgroundImage,src:this.question.backgroundImage,style:{width:this.question.renderedCanvasWidth},role:"presentation"}):null},t.prototype.renderLoadingIndicator=function(){return r.createElement("div",{className:this.question.cssClasses.loadingIndicator},r.createElement(le,null))},t.prototype.renderCleanButton=function(){var e=this;if(!this.question.canShowClearButton)return null;var n=this.question.cssClasses;return r.createElement("div",{className:n.controls},r.createElement("button",{type:"button",className:n.clearButton,title:this.question.clearButtonCaption,onClick:function(){return e.question.clearValueFromUI()}},this.question.cssClasses.clearButtonIconId?r.createElement(C,{iconName:this.question.cssClasses.clearButtonIconId,size:"auto"}):r.createElement("span",null,"\u2716")," "))},t})(q);b.Instance.registerQuestion("signaturepad",function(i){return r.createElement(St,i)});var It=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.question},t.prototype.renderElement=function(){var e=this.renderItems();return r.createElement("div",{className:this.question.cssClasses.root},e)},t.prototype.renderItems=function(){var e=this;return this.question.visibleChoices.map(function(n,o){return r.createElement(Mi,{key:e.question.inputId+"_"+o,item:n,question:e.question,index:o})})},t})(q);b.Instance.registerQuestion("buttongroup",function(i){return r.createElement(It,i)});var Mi=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.renderElement=function(){this.model=new p.ButtonGroupItemModel(this.question,this.item,this.index);var e=this.renderIcon(),n=this.renderInput(),o=this.renderCaption();return r.createElement("label",{className:this.model.css.label,title:this.model.caption.renderedHtml},n,r.createElement("div",{className:this.model.css.decorator},e,o))},t.prototype.renderIcon=function(){return this.model.iconName?r.createElement(C,{className:this.model.css.icon,iconName:this.model.iconName,size:this.model.iconSize||24}):null},t.prototype.renderInput=function(){var e=this;return r.createElement("input",{className:this.model.css.control,id:this.model.id,type:"radio",name:this.model.name,checked:this.model.selected,value:this.model.value,disabled:this.model.readOnly,onChange:function(){e.model.onChange()},"aria-required":this.model.isRequired,"aria-label":this.model.caption.renderedHtml,"aria-invalid":this.model.hasErrors,"aria-errormessage":this.model.describedBy})},t.prototype.renderCaption=function(){if(!this.model.showCaption)return null;var e=this.renderLocString(this.model.caption);return r.createElement("span",{className:this.model.css.caption,title:this.model.caption.renderedHtml},e)},t})(v),Mt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.renderElement=function(){var e=this.question.cssClasses,n=this.renderSelect(e);return r.createElement("div",{className:this.question.cssClasses.rootDropdown},n)},t})(T);b.Instance.registerQuestion("sv-buttongroup-dropdown",function(i){return r.createElement(Mt,i)}),p.RendererFactory.Instance.registerRenderer("buttongroup","dropdown","sv-buttongroup-dropdown");var Rt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.getStateElements=function(){var e=i.prototype.getStateElements.call(this);return this.question.contentQuestion&&e.push(this.question.contentQuestion),e},t.prototype.renderElement=function(){return k.renderQuestionBody(this.creator,this.question.contentQuestion)},t})(P),Nt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return t.prototype.canRender=function(){return!!this.question.contentPanel},t.prototype.renderElement=function(){return r.createElement(N,{element:this.question.contentPanel,creator:this.creator,survey:this.question.survey})},t})(P);b.Instance.registerQuestion("custom",function(i){return r.createElement(Rt,i)}),b.Instance.registerQuestion("composite",function(i){return r.createElement(Nt,i)});var Ht=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){if(!this.item)return null;var e=this.renderLocString(this.item.locTitle,void 0,"locString"),n=this.item.iconName?r.createElement(C,{className:this.model.cssClasses.itemIcon,iconName:this.item.iconName,size:this.item.iconSize,"aria-label":this.item.title}):null,o=this.item.markerIconName?r.createElement(C,{className:this.item.cssClasses.itemMarkerIcon,iconName:this.item.markerIconName,size:"auto"}):null;return r.createElement(r.Fragment,null,n,e,o)},t})(v);d.Instance.registerElement("sv-list-item-content",function(i){return r.createElement(Ht,i)});var kt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.item},t.prototype.render=function(){var e;if(!this.item)return null;var n=d.Instance.createElement("sv-list-item-content",{item:this.item,key:"content"+this.item.id,model:this.model});return r.createElement(r.Fragment,null,n,r.createElement(H,{model:(e=this.item)===null||e===void 0?void 0:e.popupModel}))},t})(v);d.Instance.registerElement("sv-list-item-group",function(i){return r.createElement(kt,i)});var Bt=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"survey",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=[];return e.push(r.createElement("div",{key:"logo-image",className:this.survey.logoClassNames},r.createElement("img",{className:this.survey.css.logoImage,src:this.survey.locLogo.renderedHtml||null,alt:this.survey.locTitle.renderedHtml,width:this.survey.renderedLogoWidth,height:this.survey.renderedLogoHeight,style:{objectFit:this.survey.logoFit,width:this.survey.renderedStyleLogoWidth,height:this.survey.renderedStyleLogoHeight}}))),r.createElement(r.Fragment,null,e)},t})(r.Component);d.Instance.registerElement("sv-logo-image",function(i){return r.createElement(Bt,i)});var Dt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnRowRemoveClick=n.handleOnRowRemoveClick.bind(n),n}return Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),t.prototype.handleOnRowRemoveClick=function(e){this.question.removeRowUI(this.row)},t.prototype.renderElement=function(){var e=this.renderLocString(this.question.locRemoveRowText);return r.createElement("button",{className:this.question.getRemoveRowButtonCss(),type:"button",onClick:this.handleOnRowRemoveClick,disabled:this.question.isInputReadOnly},e,r.createElement("span",{className:this.question.cssClasses.iconRemove}))},t})(E);d.Instance.registerElement("sv-matrix-remove-button",function(i){return r.createElement(Dt,i)});var Pt=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.handleOnShowHideClick=n.handleOnShowHideClick.bind(n),n}return t.prototype.getStateElement=function(){return this.props.item},Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),t.prototype.handleOnShowHideClick=function(e){this.row.showHideDetailPanelClick()},t.prototype.renderElement=function(){var e=this.row.isDetailPanelShowing,n=e,o=e?this.row.detailPanelId:void 0;return r.createElement("button",{type:"button",title:this.props.item.title,onClick:this.handleOnShowHideClick,className:this.question.getDetailPanelButtonCss(this.row),"aria-expanded":n,"aria-controls":o},r.createElement(C,{className:this.question.getDetailPanelIconCss(this.row),iconName:this.question.getDetailPanelIconId(this.row),size:"auto"}))},t})(E);d.Instance.registerElement("sv-matrix-detail-button",function(i){return r.createElement(Pt,i)});var Z=(function(i){l(t,i);function t(e){return i.call(this,e)||this}return Object.defineProperty(t.prototype,"data",{get:function(){return this.props.item&&this.props.item.data||this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),t})(E),Vt=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.addPanelUI()},e}return t.prototype.renderElement=function(){if(!this.question.canAddPanel)return null;var e=this.renderLocString(this.question.locAddPanelText);return r.createElement("button",{type:"button",id:this.question.addButtonId,className:this.question.getAddButtonCss(),onClick:this.handleClick},r.createElement("span",{className:this.question.cssClasses.buttonAddText},e))},t})(Z);d.Instance.registerElement("sv-paneldynamic-add-btn",function(i){return r.createElement(Vt,i)});var Ot=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.removePanelUI(e.data.panel)},e}return t.prototype.renderElement=function(){var e=this.renderLocString(this.question.locRemovePanelText),n=this.question.getPanelRemoveButtonId(this.data.panel);return r.createElement("button",{id:n,className:this.question.getPanelRemoveButtonCss(),onClick:this.handleClick,type:"button"},r.createElement("span",{className:this.question.cssClasses.buttonRemoveText},e),r.createElement("span",{className:this.question.cssClasses.iconRemove}))},t})(Z);d.Instance.registerElement("sv-paneldynamic-remove-btn",function(i){return r.createElement(Ot,i)});var Tt=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.goToPrevPanel()},e}return t.prototype.renderElement=function(){return r.createElement("div",{title:this.question.panelPrevText,onClick:this.handleClick,className:this.question.getPrevButtonCss()},r.createElement(C,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},t})(Z);d.Instance.registerElement("sv-paneldynamic-prev-btn",function(i){return r.createElement(Tt,i)});var Qt=(function(i){l(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.handleClick=function(n){e.question.goToNextPanel()},e}return t.prototype.renderElement=function(){return r.createElement("div",{title:this.question.panelNextText,onClick:this.handleClick,className:this.question.getNextButtonCss()},r.createElement(C,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},t})(Z);d.Instance.registerElement("sv-paneldynamic-next-btn",function(i){return r.createElement(Qt,i)});var Zt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.renderElement=function(){return r.createElement("div",{className:this.question.cssClasses.progressText},this.question.progressText)},t})(Z);d.Instance.registerElement("sv-paneldynamic-progress-text",function(i){return r.createElement(Zt,i)});var _t=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),t.prototype.canRender=function(){return this.item.isVisible},t.prototype.renderElement=function(){return r.createElement("input",{className:this.item.innerCss,type:"button",disabled:this.item.disabled,onMouseDown:this.item.data&&this.item.data.mouseDown,onClick:this.item.action,title:this.item.getTooltip(),value:this.item.title})},t})(E);d.Instance.registerElement("sv-nav-btn",function(i){return r.createElement(_t,i)});var At=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e=this.props.error,n=this.props.cssClasses;return r.createElement("div",null,r.createElement("span",{className:e.getCssIcon(n),"aria-hidden":"true"}),r.createElement("span",{className:this.props.cssClasses.error.item||void 0},r.createElement(_,{model:e.locText})))},t})(r.Component);d.Instance.registerElement("sv-question-error",function(i){return r.createElement(At,i)});var jt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getStateElement=function(){return this.item},Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n)},t.prototype.renderElement=function(){var e=this.question,n=e.cssClasses,o=e.handleLabelPointerUp,s=e.getLabelCss,a=e.getPercent,c=this.item,h=c.value,m=c.locText,f=null,g=null;return this.item.showValue?(f=r.createElement("div",{className:n.labelText},this.item.value),g=r.createElement("div",{className:n.labelTextSecondaryMode},this.renderLocString(m))):f=r.createElement("div",{className:n.labelText},this.renderLocString(m)),r.createElement("div",{key:this.item.uniqueId,className:s(m),style:{left:a(h)+"%"},onPointerUp:function(y){o(y.nativeEvent,h)}},r.createElement("div",{className:n.labelTick}),r.createElement("div",{className:n.labelTextContainer},f,g))},t})(v);d.Instance.registerElement("sv-slider-label-item",function(i){return r.createElement(jt,i)});var Wt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.render=function(){var e,n;return r.createElement("div",{className:"sv-skeleton-element",id:(e=this.props.element)===null||e===void 0?void 0:e.id,style:{height:(n=this.props.element)===null||n===void 0?void 0:n.skeletonHeight}})},t})(r.Component);d.Instance.registerElement("sv-skeleton",function(i){return r.createElement(Wt,i)});var Ut=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.renderLogoImage=function(){var e=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),n=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return d.Instance.createElement(e,{data:n})},t.prototype.render=function(){return r.createElement("div",{className:"sv-header--mobile"},this.model.survey.hasLogo?r.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.survey.hasTitle?r.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.renderedTextAreaWidth}},r.createElement(R,{element:this.model.survey})):null,this.model.survey.renderedHasDescription?r.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.renderedTextAreaWidth}},r.createElement("div",{className:this.model.survey.css.description},v.renderLocString(this.model.survey.locDescription))):null)},t})(r.Component),Ft=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.renderLogoImage=function(){var e=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),n=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return d.Instance.createElement(e,{data:n})},t.prototype.render=function(){return r.createElement("div",{className:this.model.css,style:this.model.style},r.createElement("div",{className:"sv-header__cell-content",style:this.model.contentStyle},this.model.showLogo?r.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.showTitle?r.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},r.createElement(R,{element:this.model.survey})):null,this.model.showDescription?r.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},r.createElement("div",{className:this.model.survey.css.description},v.renderLocString(this.model.survey.locDescription))):null))},t})(r.Component),zt=(function(i){l(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),t.prototype.getStateElement=function(){return this.model},t.prototype.renderElement=function(){if(this.model.survey=this.props.survey,this.props.survey.headerView!=="advanced"||this.model.isEmpty)return null;var e=null;return this.props.survey.isMobile?e=r.createElement(Ut,{model:this.model}):e=r.createElement("div",{className:this.model.contentClasses,style:{maxWidth:this.model.maxWidth}},this.model.cells.map(function(n,o){return r.createElement(Ft,{key:o,model:n})})),r.createElement("div",{className:this.model.headerClasses,style:{height:this.model.renderedHeight}},this.model.backgroundImage?r.createElement("div",{style:this.model.backgroundImageStyle,className:this.model.backgroundImageClasses}):null,e)},t.prototype.componentDidMount=function(){i.prototype.componentDidMount.call(this),this.model.processResponsiveness()},t.prototype.componentDidUpdate=function(e,n){i.prototype.componentDidUpdate.call(this,e,n),this.model.processResponsiveness()},t})(v);d.Instance.registerElement("sv-header",function(i){return r.createElement(zt,i)});var $t=(function(i){l(t,i);function t(e){var n=i.call(this,e)||this;return n.onInput=function(o){n.locStr.text=o.target.innerText},n.onClick=function(o){o.preventDefault(),o.stopPropagation()},n.state={changed:0},n}return Object.defineProperty(t.prototype,"locStr",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){if(this.locStr){var e=this;this.locStr.onChanged=function(){e.setState({changed:e.state.changed+1})}}},t.prototype.componentWillUnmount=function(){this.locStr&&(this.locStr.onChanged=function(){})},t.prototype.render=function(){if(!this.locStr)return null;if(this.locStr.hasHtml){var e={__html:this.locStr.renderedHtml};return r.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,dangerouslySetInnerHTML:e,onBlur:this.onInput,onClick:this.onClick})}return r.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,onBlur:this.onInput,onClick:this.onClick},this.locStr.renderedHtml)},t})(r.Component);d.Instance.registerElement(p.LocalizableString.editableRenderer,function(i){return r.createElement($t,i)}),p.checkLibraryVersion("".concat("2.5.13"),"survey-react-ui"),Object.defineProperty(u,"Model",{enumerable:!0,get:function(){return p.SurveyModel}}),Object.defineProperty(u,"SurveyModel",{enumerable:!0,get:function(){return p.SurveyModel}}),Object.defineProperty(u,"SurveyWindowModel",{enumerable:!0,get:function(){return p.SurveyWindowModel}}),Object.defineProperty(u,"settings",{enumerable:!0,get:function(){return p.settings}}),Object.defineProperty(u,"surveyLocalization",{enumerable:!0,get:function(){return p.surveyLocalization}}),Object.defineProperty(u,"surveyStrings",{enumerable:!0,get:function(){return p.surveyStrings}}),u.CharacterCounterComponent=F,u.ComponentsContainer=I,u.Header=zt,u.HeaderCell=Ft,u.HeaderMobile=Ut,u.List=me,u.ListItemContent=Ht,u.ListItemGroup=kt,u.LoadingIndicatorComponent=le,u.LogoImage=Bt,u.MatrixRow=ce,u.NotifierComponent=Y,u.Popup=H,u.PopupModal=Ee,u.PopupSurvey=wt,u.QuestionErrorComponent=At,u.RatingDropdownItem=We,u.RatingItem=_e,u.RatingItemSmiley=je,u.RatingItemStar=Ae,u.ReactElementFactory=d,u.ReactQuestionFactory=b,u.ReactSurveyElement=E,u.ReactSurveyElementsWrapper=x,u.Scroll=j,u.Skeleton=Wt,u.SliderLabelItem=jt,u.Survey=ee,u.SurveyActionBar=L,u.SurveyElementBase=v,u.SurveyElementErrors=O,u.SurveyFileChooseButton=et,u.SurveyFileItem=nt,u.SurveyFilePreview=tt,u.SurveyFlowPanel=De,u.SurveyHeader=X,u.SurveyLocStringEditor=$t,u.SurveyLocStringViewer=_,u.SurveyNavigationBase=U,u.SurveyNavigationButton=_t,u.SurveyPage=Be,u.SurveyPanel=N,u.SurveyProgress=Q,u.SurveyProgressButtons=ft,u.SurveyProgressToc=gt,u.SurveyQuestion=k,u.SurveyQuestionAndErrorsCell=He,u.SurveyQuestionBoolean=z,u.SurveyQuestionBooleanCheckbox=st,u.SurveyQuestionBooleanRadio=at,u.SurveyQuestionButtonGroup=It,u.SurveyQuestionButtonGroupDropdown=Mt,u.SurveyQuestionCheckbox=Oe,u.SurveyQuestionCheckboxItem=ie,u.SurveyQuestionComment=Se,u.SurveyQuestionCommentItem=ne,u.SurveyQuestionComposite=Nt,u.SurveyQuestionCustom=Rt,u.SurveyQuestionDropdown=ae,u.SurveyQuestionDropdownBase=T,u.SurveyQuestionDropdownSelect=$e,u.SurveyQuestionElementBase=q,u.SurveyQuestionEmpty=lt,u.SurveyQuestionExpression=Et,u.SurveyQuestionFile=Ye,u.SurveyQuestionHtml=Xe,u.SurveyQuestionImage=xt,u.SurveyQuestionImageMap=Lt,u.SurveyQuestionImagePicker=qt,u.SurveyQuestionMatrix=Ke,u.SurveyQuestionMatrixCell=Je,u.SurveyQuestionMatrixDetailButton=Pt,u.SurveyQuestionMatrixDropdown=dt,u.SurveyQuestionMatrixDropdownBase=he,u.SurveyQuestionMatrixDropdownCell=ct,u.SurveyQuestionMatrixDynamic=ht,u.SurveyQuestionMatrixDynamicAddButton=mt,u.SurveyQuestionMatrixDynamicDragDropIcon=de,u.SurveyQuestionMatrixDynamicRemoveButton=Dt,u.SurveyQuestionMatrixRow=Ge,u.SurveyQuestionMultipleText=rt,u.SurveyQuestionOptionItem=Ue,u.SurveyQuestionPanelDynamic=pt,u.SurveyQuestionPanelDynamicAddButton=Vt,u.SurveyQuestionPanelDynamicNextButton=Qt,u.SurveyQuestionPanelDynamicPrevButton=Tt,u.SurveyQuestionPanelDynamicProgressText=Zt,u.SurveyQuestionPanelDynamicRemoveButton=Ot,u.SurveyQuestionRadioItem=ue,u.SurveyQuestionRadiogroup=it,u.SurveyQuestionRanking=Te,u.SurveyQuestionRankingItem=Qe,u.SurveyQuestionRankingItemContent=Ze,u.SurveyQuestionRating=Ct,u.SurveyQuestionRatingDropdown=yt,u.SurveyQuestionSignaturePad=St,u.SurveyQuestionSlider=bt,u.SurveyQuestionTagbox=ze,u.SurveyQuestionTagboxItem=Fe,u.SurveyQuestionText=ot,u.SurveyRow=Le,u.SurveyTimerPanel=qe,u.SurveyWindow=Si,u.SvgBundleComponent=be,u.SvgIcon=C,u.TagboxFilterString=se,u.TitleActions=A,u.TitleElement=R,u.attachKey2click=W}));
|