survey-js-ui 1.12.7 → 1.12.9

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-js-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.7
2
+ * surveyjs - Survey JavaScript library v1.12.9
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -103,9 +103,9 @@ return /******/ (function(modules) { // webpackBootstrap
103
103
 
104
104
  /***/ "./src/entries/js-ui.ts":
105
105
  /*!********************************************!*\
106
- !*** ./src/entries/js-ui.ts + 102 modules ***!
106
+ !*** ./src/entries/js-ui.ts + 103 modules ***!
107
107
  \********************************************/
108
- /*! exports provided: useState, useId, useReducer, useEffect, useLayoutEffect, useInsertionEffect, useTransition, useDeferredValue, useSyncExternalStore, startTransition, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue, version, Children, render, hydrate, unmountComponentAtNode, createPortal, createElement, createContext, createFactory, cloneElement, createRef, Fragment, isValidElement, isFragment, isMemo, findDOMNode, Component, PureComponent, memo, forwardRef, flushSync, unstable_batchedUpdates, StrictMode, Suspense, SuspenseList, lazy, renderSurvey, renderPopupSurvey, preact, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, ListItemContent, ListItemGroup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model */
108
+ /*! exports provided: useState, useId, useReducer, useEffect, useLayoutEffect, useInsertionEffect, useTransition, useDeferredValue, useSyncExternalStore, startTransition, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue, version, Children, render, hydrate, unmountComponentAtNode, createPortal, createElement, createContext, createFactory, cloneElement, createRef, Fragment, isValidElement, isFragment, isMemo, findDOMNode, Component, PureComponent, memo, forwardRef, flushSync, unstable_batchedUpdates, StrictMode, Suspense, SuspenseList, lazy, renderSurvey, renderPopupSurvey, preact, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, ListItemContent, ListItemGroup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, PopupModal, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model */
109
109
  /*! ModuleConcatenation bailout: Cannot concat with external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"} (<- Module is not an ECMAScript module) */
110
110
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
111
111
 
@@ -136,7 +136,7 @@ __webpack_require__.d(__webpack_exports__, "render", function() { return /* reex
136
136
  __webpack_require__.d(__webpack_exports__, "hydrate", function() { return /* reexport */ compat_module_q; });
137
137
  __webpack_require__.d(__webpack_exports__, "unmountComponentAtNode", function() { return /* reexport */ hn; });
138
138
  __webpack_require__.d(__webpack_exports__, "createPortal", function() { return /* reexport */ compat_module_P; });
139
- __webpack_require__.d(__webpack_exports__, "createElement", function() { return /* reexport */ preact_module_; });
139
+ __webpack_require__.d(__webpack_exports__, "createElement", function() { return /* reexport */ _; });
140
140
  __webpack_require__.d(__webpack_exports__, "createContext", function() { return /* reexport */ G; });
141
141
  __webpack_require__.d(__webpack_exports__, "createFactory", function() { return /* reexport */ cn; });
142
142
  __webpack_require__.d(__webpack_exports__, "cloneElement", function() { return /* reexport */ sn; });
@@ -261,6 +261,7 @@ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() {
261
261
  __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return /* reexport */ string_editor_SurveyLocStringEditor; });
262
262
  __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return /* reexport */ loading_indicator_LoadingIndicatorComponent; });
263
263
  __webpack_require__.d(__webpack_exports__, "SvgBundleComponent", function() { return /* reexport */ svgbundle_SvgBundleComponent; });
264
+ __webpack_require__.d(__webpack_exports__, "PopupModal", function() { return /* reexport */ popup_modal_PopupModal; });
264
265
  __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return /* reexport */ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SurveyModel"]; });
265
266
  __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return /* reexport */ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SurveyWindowModel"]; });
266
267
  __webpack_require__.d(__webpack_exports__, "settings", function() { return /* reexport */ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"]; });
@@ -274,7 +275,7 @@ __webpack_require__.r(compat_module_namespaceObject);
274
275
  __webpack_require__.d(compat_module_namespaceObject, "Component", function() { return k; });
275
276
  __webpack_require__.d(compat_module_namespaceObject, "Fragment", function() { return b; });
276
277
  __webpack_require__.d(compat_module_namespaceObject, "createContext", function() { return G; });
277
- __webpack_require__.d(compat_module_namespaceObject, "createElement", function() { return preact_module_; });
278
+ __webpack_require__.d(compat_module_namespaceObject, "createElement", function() { return _; });
278
279
  __webpack_require__.d(compat_module_namespaceObject, "createRef", function() { return m; });
279
280
  __webpack_require__.d(compat_module_namespaceObject, "useCallback", function() { return hooks_module_q; });
280
281
  __webpack_require__.d(compat_module_namespaceObject, "useContext", function() { return hooks_module_x; });
@@ -319,7 +320,7 @@ __webpack_require__.d(compat_module_namespaceObject, "useTransition", function()
319
320
  __webpack_require__.d(compat_module_namespaceObject, "version", function() { return on; });
320
321
 
321
322
  // CONCATENATED MODULE: ./node_modules/preact/dist/preact.module.js
322
- var preact_module_n,l,preact_module_u,preact_module_t,preact_module_i,preact_module_o,preact_module_r,preact_module_f,preact_module_e,preact_module_c,s,a,h={},v=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function w(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function preact_module_(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?preact_module_n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++preact_module_u:r,__i:-1,__u:0};return null==r&&null!=l.vnode&&l.vnode(f),f}function m(){return{current:null}}function b(n){return n.children}function k(n,l){this.props=n,this.context=l}function x(n,l){if(null==l)return n.__?x(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?x(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function S(n){(!n.__d&&(n.__d=!0)&&preact_module_i.push(n)&&!M.__r++||preact_module_o!==l.debounceRendering)&&((preact_module_o=l.debounceRendering)||preact_module_r)(M)}function M(){var n,u,t,o,r,e,c,s;for(preact_module_i.sort(preact_module_f);n=preact_module_i.shift();)n.__d&&(u=preact_module_i.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j(c,o,s),o.__e!=e&&C(o)),preact_module_i.length>u&&preact_module_i.sort(preact_module_f));M.__r=0}function P(n,l,u,t,i,o,r,f,e,c,s){var a,p,y,d,w,_=t&&t.__k||v,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&(p=-1===y.__i?h:_[y.__i]||h,y.__i=a,O(n,y,p,i,o,r,f,e,c,s),d=y.__e,y.ref&&p.ref!=y.ref&&(p.ref&&N(p.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||p.__k===y.__k?e=I(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)null!=(i=l[t])&&"boolean"!=typeof i&&"function"!=typeof i?(r=t+a,(i=n.__k[t]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y(i)?g(b,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=n,i.__b=n.__b+1,o=null,-1!==(f=i.__i=L(i,u,r,s))&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a--:f==r+1?a++:(f>r?a--:a++,i.__u|=65536))):i=n.__k[t]=null;if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o))}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=x(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++}}return-1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||p.test(l)?u:u+"px"}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=preact_module_e,n.addEventListener(l,o?s:preact_module_c,o)):n.removeEventListener(l,o?s:preact_module_c,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=preact_module_e++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,v,p,w,_,g,m,x,C,S,M,$,I,H,L,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof T)try{if(m=u.props,x="prototype"in T&&T.prototype.render,C=(a=T.contextType)&&i[a.__c],S=a?C?C.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(m,S):(u.__c=h=new k(m,S),h.constructor=T,h.render=q),C&&C.sub(h),h.props=m,h.state||(h.state={}),h.context=S,h.__n=i,v=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,T.getDerivedStateFromProps(m,h.__s))),p=h.props,w=h.state,h.__v=u,v)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(x&&null==T.getDerivedStateFromProps&&m!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,S),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,S)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),M=0;M<h._sb.length;M++)h.__h.push(h._sb[M]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,S),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,w,_)})}if(h.context=S,h.props=m,h.__P=n,h.__e=!1,$=l.__r,I=0,x){for(h.state=h.__s,h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++I<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),x&&!v&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(p,w)),P(n,y(L=null!=a&&a.type===b&&null==a.key?a.props.children:a)?L:[L],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=r){for(u.__u|=c?160:128;e&&8===e.nodeType&&e.nextSibling;)e=e.nextSibling;r[r.indexOf(e)]=null,u.__e=e}else u.__e=t.__e,u.__k=t.__k;l.__e(n,u,t)}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z(t.__e,u,t,i,o,r,f,c,s);(a=l.diffed)&&a(u)}function j(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function z(u,t,i,o,r,f,e,c,s){var a,v,p,d,_,g,m,b=i.props,k=t.props,C=t.type;if("svg"===C?r="http://www.w3.org/2000/svg":"math"===C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=f)for(a=0;a<f.length;a++)if((_=f[a])&&"setAttribute"in _==!!C&&(C?_.localName===C:3===_.nodeType)){u=_,f[a]=null;break}if(null==u){if(null===C)return document.createTextNode(k);u=document.createElementNS(r,C,k.is&&k),c&&(l.__m&&l.__m(t,f),c=!1),f=null}if(null===C)b===k||c&&u.data===k||(u.data=k);else{if(f=f&&preact_module_n.call(u.childNodes),b=i.props||h,!c&&null!=f)for(b={},a=0;a<u.attributes.length;a++)b[(_=u.attributes[a]).name]=_.value;for(a in b)if(_=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)p=_;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;A(u,a,null,_,r)}for(a in k)_=k[a],"children"==a?d=_:"dangerouslySetInnerHTML"==a?v=_:"value"==a?g=_:"checked"==a?m=_:c&&"function"!=typeof _||b[a]===_||A(u,a,_,b[a],r);if(v)c||p&&(v.__html===p.__html||v.__html===u.innerHTML)||(u.innerHTML=v.__html),t.__k=[];else if(p&&(u.innerHTML=""),P(u,y(d)?d:[d],t,i,o,"foreignObject"===C?"http://www.w3.org/1999/xhtml":r,f,e,f?f[0]:i.__k&&x(i,0),c,s),null!=f)for(a=f.length;a--;)w(f[a]);c||(a="value","progress"===C&&null==g?u.removeAttribute("value"):void 0!==g&&(g!==u[a]||"progress"===C&&!g||"option"===C&&g!==b[a])&&A(u,a,g,b[a],r),a="checked",void 0!==m&&m!==u[a]&&A(u,a,m,b[a],r))}return u}function N(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function V(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||w(n.__e),n.__c=n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,t,i){var o,r,f,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=preact_module_(b,null,[u]),r||h,h,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?preact_module_n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j(f,u,e)}function D(n,l){B(n,l,D)}function E(l,u,t){var i,o,r,f,e=d({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?preact_module_n.call(arguments,2):t),g(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+a++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.forEach(function(n){n.__e=!0,S(n)})},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}preact_module_n=v.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},preact_module_u=0,preact_module_t=function(n){return null!=n&&null==n.constructor},k.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),S(this))},k.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),S(this))},k.prototype.render=b,preact_module_i=[],preact_module_r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,preact_module_f=function(n,l){return n.__v.__b-l.__v.__b},M.__r=0,preact_module_e=0,preact_module_c=F(!1),s=F(!0),a=0;
323
+ var preact_module_n,l,preact_module_u,preact_module_t,preact_module_i,preact_module_o,preact_module_r,preact_module_f,preact_module_e,preact_module_c,s,a,h={},v=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function w(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function _(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?preact_module_n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++preact_module_u:r,__i:-1,__u:0};return null==r&&null!=l.vnode&&l.vnode(f),f}function m(){return{current:null}}function b(n){return n.children}function k(n,l){this.props=n,this.context=l}function x(n,l){if(null==l)return n.__?x(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?x(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function S(n){(!n.__d&&(n.__d=!0)&&preact_module_i.push(n)&&!M.__r++||preact_module_o!==l.debounceRendering)&&((preact_module_o=l.debounceRendering)||preact_module_r)(M)}function M(){var n,u,t,o,r,e,c,s;for(preact_module_i.sort(preact_module_f);n=preact_module_i.shift();)n.__d&&(u=preact_module_i.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j(c,o,s),o.__e!=e&&C(o)),preact_module_i.length>u&&preact_module_i.sort(preact_module_f));M.__r=0}function P(n,l,u,t,i,o,r,f,e,c,s){var a,p,y,d,w,_=t&&t.__k||v,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&(p=-1===y.__i?h:_[y.__i]||h,y.__i=a,O(n,y,p,i,o,r,f,e,c,s),d=y.__e,y.ref&&p.ref!=y.ref&&(p.ref&&N(p.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||p.__k===y.__k?e=I(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)null!=(i=l[t])&&"boolean"!=typeof i&&"function"!=typeof i?(r=t+a,(i=n.__k[t]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y(i)?g(b,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=n,i.__b=n.__b+1,o=null,-1!==(f=i.__i=L(i,u,r,s))&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a--:f==r+1?a++:(f>r?a--:a++,i.__u|=65536))):i=n.__k[t]=null;if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o))}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=x(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++}}return-1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||p.test(l)?u:u+"px"}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=preact_module_e,n.addEventListener(l,o?s:preact_module_c,o)):n.removeEventListener(l,o?s:preact_module_c,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=preact_module_e++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,v,p,w,_,g,m,x,C,S,M,$,I,H,L,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof T)try{if(m=u.props,x="prototype"in T&&T.prototype.render,C=(a=T.contextType)&&i[a.__c],S=a?C?C.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(m,S):(u.__c=h=new k(m,S),h.constructor=T,h.render=q),C&&C.sub(h),h.props=m,h.state||(h.state={}),h.context=S,h.__n=i,v=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,T.getDerivedStateFromProps(m,h.__s))),p=h.props,w=h.state,h.__v=u,v)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(x&&null==T.getDerivedStateFromProps&&m!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,S),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,S)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),M=0;M<h._sb.length;M++)h.__h.push(h._sb[M]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,S),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,w,_)})}if(h.context=S,h.props=m,h.__P=n,h.__e=!1,$=l.__r,I=0,x){for(h.state=h.__s,h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++I<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),x&&!v&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(p,w)),P(n,y(L=null!=a&&a.type===b&&null==a.key?a.props.children:a)?L:[L],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=r){for(u.__u|=c?160:128;e&&8===e.nodeType&&e.nextSibling;)e=e.nextSibling;r[r.indexOf(e)]=null,u.__e=e}else u.__e=t.__e,u.__k=t.__k;l.__e(n,u,t)}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z(t.__e,u,t,i,o,r,f,c,s);(a=l.diffed)&&a(u)}function j(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function z(u,t,i,o,r,f,e,c,s){var a,v,p,d,_,g,m,b=i.props,k=t.props,C=t.type;if("svg"===C?r="http://www.w3.org/2000/svg":"math"===C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=f)for(a=0;a<f.length;a++)if((_=f[a])&&"setAttribute"in _==!!C&&(C?_.localName===C:3===_.nodeType)){u=_,f[a]=null;break}if(null==u){if(null===C)return document.createTextNode(k);u=document.createElementNS(r,C,k.is&&k),c&&(l.__m&&l.__m(t,f),c=!1),f=null}if(null===C)b===k||c&&u.data===k||(u.data=k);else{if(f=f&&preact_module_n.call(u.childNodes),b=i.props||h,!c&&null!=f)for(b={},a=0;a<u.attributes.length;a++)b[(_=u.attributes[a]).name]=_.value;for(a in b)if(_=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)p=_;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;A(u,a,null,_,r)}for(a in k)_=k[a],"children"==a?d=_:"dangerouslySetInnerHTML"==a?v=_:"value"==a?g=_:"checked"==a?m=_:c&&"function"!=typeof _||b[a]===_||A(u,a,_,b[a],r);if(v)c||p&&(v.__html===p.__html||v.__html===u.innerHTML)||(u.innerHTML=v.__html),t.__k=[];else if(p&&(u.innerHTML=""),P(u,y(d)?d:[d],t,i,o,"foreignObject"===C?"http://www.w3.org/1999/xhtml":r,f,e,f?f[0]:i.__k&&x(i,0),c,s),null!=f)for(a=f.length;a--;)w(f[a]);c||(a="value","progress"===C&&null==g?u.removeAttribute("value"):void 0!==g&&(g!==u[a]||"progress"===C&&!g||"option"===C&&g!==b[a])&&A(u,a,g,b[a],r),a="checked",void 0!==m&&m!==u[a]&&A(u,a,m,b[a],r))}return u}function N(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function V(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||w(n.__e),n.__c=n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,t,i){var o,r,f,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=_(b,null,[u]),r||h,h,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?preact_module_n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j(f,u,e)}function D(n,l){B(n,l,D)}function E(l,u,t){var i,o,r,f,e=d({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?preact_module_n.call(arguments,2):t),g(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+a++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.forEach(function(n){n.__e=!0,S(n)})},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}preact_module_n=v.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},preact_module_u=0,preact_module_t=function(n){return null!=n&&null==n.constructor},k.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),S(this))},k.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),S(this))},k.prototype.render=b,preact_module_i=[],preact_module_r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,preact_module_f=function(n,l){return n.__v.__b-l.__v.__b},M.__r=0,preact_module_e=0,preact_module_c=F(!1),s=F(!0),a=0;
323
324
  //# sourceMappingURL=preact.module.js.map
324
325
 
325
326
  // CONCATENATED MODULE: ./node_modules/preact/hooks/dist/hooks.module.js
@@ -327,7 +328,7 @@ var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0
327
328
  //# sourceMappingURL=hooks.module.js.map
328
329
 
329
330
  // CONCATENATED MODULE: ./node_modules/preact/compat/dist/compat.module.js
330
- function compat_module_g(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function compat_module_E(n,t){this.props=n,this.context=t}function compat_module_C(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:compat_module_g(this.props,n)}function u(e){return this.shouldComponentUpdate=r,preact_module_(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(compat_module_E.prototype=new k).isPureReactComponent=!0,compat_module_E.prototype.shouldComponentUpdate=function(n,t){return compat_module_g(this.props,n)||compat_module_g(this.state,t)};var compat_module_x=l.__b;l.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),compat_module_x&&compat_module_x(n)};var R="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function compat_module_w(n){function t(t){if(!("ref"in t))return n(t,null);var e=t.ref;delete t.ref;var r=n(t,e);return t.ref=e,r}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var compat_module_k=function(n,t){return null==n?null:H(H(n).map(t))},compat_module_I={map:compat_module_k,forEach:compat_module_k,count:function(n){return n?H(n).length:0},only:function(n){var t=H(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:H},compat_module_N=l.__e;l.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);compat_module_N(n,t,e,r)};var compat_module_M=l.unmount;function compat_module_T(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=function(n,t){for(var e in t)n[e]=t[e];return n}({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return compat_module_T(n,t,e)})),n}function compat_module_A(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return compat_module_A(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function compat_module_D(){this.__u=0,this.t=null,this.__b=null}function compat_module_L(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function compat_module_O(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return preact_module_(r,o)}return o.displayName="Lazy",o.__f=!0,o}function compat_module_F(){this.u=null,this.o=null}l.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),compat_module_M&&compat_module_M(n)},(compat_module_D.prototype=new k).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=compat_module_L(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c())};e.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=compat_module_A(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},compat_module_D.prototype.componentWillUnmount=function(){this.t=[]},compat_module_D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=compat_module_T(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&preact_module_(b,null,n.fallback);return i&&(i.__u&=-33),[preact_module_(b,null,e.__a?null:n.children),i]};var U=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function compat_module_V(n){return this.getChildContext=function(){return n.context},n.children}function W(n){var e=this,r=n.i;e.componentWillUnmount=function(){B(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),B(preact_module_(compat_module_V,{context:e.context},n.__v),e.l)}function compat_module_P(n,e){var r=preact_module_(W,{__v:n,i:e});return r.containerInfo=e,r}(compat_module_F.prototype=new k).__a=function(n){var t=this,e=compat_module_L(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),U(t,n,r)):u()};e?e(o):o()}},compat_module_F.prototype.render=function(n){this.u=null,this.o=new Map;var t=H(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},compat_module_F.prototype.componentDidUpdate=compat_module_F.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){U(n,e,t)})};var compat_module_j="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,compat_module_z=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,compat_module_B=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,compat_module_H=/[A-Z0-9]/g,Z="undefined"!=typeof document,Y=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function compat_module_$(n,t,e){return null==t.__k&&(t.textContent=""),B(n,t),"function"==typeof e&&e(),n?n.__c:null}function compat_module_q(n,t,e){return D(n,t),"function"==typeof e&&e(),n?n.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(k.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var compat_module_G=l.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l.event=function(n){return compat_module_G&&(n=compat_module_G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var X,nn={enumerable:!1,configurable:!0,get:function(){return this.class}},tn=l.vnode;l.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||Z&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var f=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===f&&"no"===c?c=!1:"o"===f[0]&&"n"===f[1]?"ondoubleclick"===f?i="ondblclick":"onchange"!==f||"input"!==e&&"textarea"!==e||Y(t.type)?"onfocus"===f?i="onfocusin":"onblur"===f?i="onfocusout":compat_module_B.test(i)&&(i=f):f=i="oninput":o&&compat_module_z.test(i)?i=i.replace(compat_module_H,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===f&&u[i=f]&&(i="oninputCapture"),u[i]=c}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=H(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=H(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",nn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=compat_module_j,tn&&tn(n)};var en=l.__r;l.__r=function(n){en&&en(n),X=n.__c};var rn=l.diffed;l.diffed=function(n){rn&&rn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),X=null};var un={ReactCurrentDispatcher:{current:{readContext:function(n){return X.__n[n.__c].props.value},useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,useDeferredValue:_n,useEffect:hooks_module_y,useId:hooks_module_g,useImperativeHandle:hooks_module_F,useInsertionEffect:Sn,useLayoutEffect:hooks_module_,useMemo:hooks_module_T,useReducer:hooks_module_p,useRef:hooks_module_A,useState:hooks_module_h,useSyncExternalStore:En,useTransition:bn}}},on="18.3.1";function cn(n){return preact_module_.bind(null,n)}function fn(n){return!!n&&n.$$typeof===compat_module_j}function ln(n){return fn(n)&&n.type===b}function an(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function sn(n){return fn(n)?E.apply(null,arguments):n}function hn(n){return!!n.__k&&(B(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=b;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var Sn=hooks_module_,gn=fn;function En(n,t){var e=t(),r=hooks_module_h({h:{__:e,v:t}}),u=r[0].h,o=r[1];return hooks_module_(function(){u.__=e,u.v=t,Cn(u)&&o({h:u})},[n,e,t]),hooks_module_y(function(){return Cn(u)&&o({h:u}),n(function(){Cn(u)&&o({h:u})})},[n]),e}function Cn(n){var t,e,r=n.v,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}var xn={useState:hooks_module_h,useId:hooks_module_g,useReducer:hooks_module_p,useEffect:hooks_module_y,useLayoutEffect:hooks_module_,useInsertionEffect:Sn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:En,startTransition:yn,useRef:hooks_module_A,useImperativeHandle:hooks_module_F,useMemo:hooks_module_T,useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,version:"18.3.1",Children:compat_module_I,render:compat_module_$,hydrate:compat_module_q,unmountComponentAtNode:hn,createPortal:compat_module_P,createElement:preact_module_,createContext:G,createFactory:cn,cloneElement:sn,createRef:m,Fragment:b,isValidElement:fn,isElement:gn,isFragment:ln,isMemo:an,findDOMNode:vn,Component:k,PureComponent:compat_module_E,memo:compat_module_C,forwardRef:compat_module_w,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:compat_module_D,SuspenseList:compat_module_F,lazy:compat_module_O,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:un};
331
+ function compat_module_g(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function compat_module_E(n,t){this.props=n,this.context=t}function compat_module_C(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:compat_module_g(this.props,n)}function u(e){return this.shouldComponentUpdate=r,_(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(compat_module_E.prototype=new k).isPureReactComponent=!0,compat_module_E.prototype.shouldComponentUpdate=function(n,t){return compat_module_g(this.props,n)||compat_module_g(this.state,t)};var compat_module_x=l.__b;l.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),compat_module_x&&compat_module_x(n)};var R="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function compat_module_w(n){function t(t){if(!("ref"in t))return n(t,null);var e=t.ref;delete t.ref;var r=n(t,e);return t.ref=e,r}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var compat_module_k=function(n,t){return null==n?null:H(H(n).map(t))},compat_module_I={map:compat_module_k,forEach:compat_module_k,count:function(n){return n?H(n).length:0},only:function(n){var t=H(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:H},compat_module_N=l.__e;l.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);compat_module_N(n,t,e,r)};var compat_module_M=l.unmount;function compat_module_T(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=function(n,t){for(var e in t)n[e]=t[e];return n}({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return compat_module_T(n,t,e)})),n}function compat_module_A(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return compat_module_A(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function compat_module_D(){this.__u=0,this.t=null,this.__b=null}function compat_module_L(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function compat_module_O(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return _(r,o)}return o.displayName="Lazy",o.__f=!0,o}function compat_module_F(){this.u=null,this.o=null}l.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),compat_module_M&&compat_module_M(n)},(compat_module_D.prototype=new k).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=compat_module_L(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c())};e.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=compat_module_A(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},compat_module_D.prototype.componentWillUnmount=function(){this.t=[]},compat_module_D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=compat_module_T(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&_(b,null,n.fallback);return i&&(i.__u&=-33),[_(b,null,e.__a?null:n.children),i]};var U=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function compat_module_V(n){return this.getChildContext=function(){return n.context},n.children}function W(n){var e=this,r=n.i;e.componentWillUnmount=function(){B(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),B(_(compat_module_V,{context:e.context},n.__v),e.l)}function compat_module_P(n,e){var r=_(W,{__v:n,i:e});return r.containerInfo=e,r}(compat_module_F.prototype=new k).__a=function(n){var t=this,e=compat_module_L(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),U(t,n,r)):u()};e?e(o):o()}},compat_module_F.prototype.render=function(n){this.u=null,this.o=new Map;var t=H(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},compat_module_F.prototype.componentDidUpdate=compat_module_F.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){U(n,e,t)})};var compat_module_j="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,compat_module_z=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,compat_module_B=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,compat_module_H=/[A-Z0-9]/g,Z="undefined"!=typeof document,Y=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function compat_module_$(n,t,e){return null==t.__k&&(t.textContent=""),B(n,t),"function"==typeof e&&e(),n?n.__c:null}function compat_module_q(n,t,e){return D(n,t),"function"==typeof e&&e(),n?n.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(k.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var compat_module_G=l.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l.event=function(n){return compat_module_G&&(n=compat_module_G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var X,nn={enumerable:!1,configurable:!0,get:function(){return this.class}},tn=l.vnode;l.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||Z&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var f=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===f&&"no"===c?c=!1:"o"===f[0]&&"n"===f[1]?"ondoubleclick"===f?i="ondblclick":"onchange"!==f||"input"!==e&&"textarea"!==e||Y(t.type)?"onfocus"===f?i="onfocusin":"onblur"===f?i="onfocusout":compat_module_B.test(i)&&(i=f):f=i="oninput":o&&compat_module_z.test(i)?i=i.replace(compat_module_H,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===f&&u[i=f]&&(i="oninputCapture"),u[i]=c}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=H(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=H(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",nn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=compat_module_j,tn&&tn(n)};var en=l.__r;l.__r=function(n){en&&en(n),X=n.__c};var rn=l.diffed;l.diffed=function(n){rn&&rn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),X=null};var un={ReactCurrentDispatcher:{current:{readContext:function(n){return X.__n[n.__c].props.value},useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,useDeferredValue:_n,useEffect:hooks_module_y,useId:hooks_module_g,useImperativeHandle:hooks_module_F,useInsertionEffect:Sn,useLayoutEffect:hooks_module_,useMemo:hooks_module_T,useReducer:hooks_module_p,useRef:hooks_module_A,useState:hooks_module_h,useSyncExternalStore:En,useTransition:bn}}},on="18.3.1";function cn(n){return _.bind(null,n)}function fn(n){return!!n&&n.$$typeof===compat_module_j}function ln(n){return fn(n)&&n.type===b}function an(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function sn(n){return fn(n)?E.apply(null,arguments):n}function hn(n){return!!n.__k&&(B(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=b;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var Sn=hooks_module_,gn=fn;function En(n,t){var e=t(),r=hooks_module_h({h:{__:e,v:t}}),u=r[0].h,o=r[1];return hooks_module_(function(){u.__=e,u.v=t,Cn(u)&&o({h:u})},[n,e,t]),hooks_module_y(function(){return Cn(u)&&o({h:u}),n(function(){Cn(u)&&o({h:u})})},[n]),e}function Cn(n){var t,e,r=n.v,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}var xn={useState:hooks_module_h,useId:hooks_module_g,useReducer:hooks_module_p,useEffect:hooks_module_y,useLayoutEffect:hooks_module_,useInsertionEffect:Sn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:En,startTransition:yn,useRef:hooks_module_A,useImperativeHandle:hooks_module_F,useMemo:hooks_module_T,useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,version:"18.3.1",Children:compat_module_I,render:compat_module_$,hydrate:compat_module_q,unmountComponentAtNode:hn,createPortal:compat_module_P,createElement:_,createContext:G,createFactory:cn,cloneElement:sn,createRef:m,Fragment:b,isValidElement:fn,isElement:gn,isFragment:ln,isMemo:an,findDOMNode:vn,Component:k,PureComponent:compat_module_E,memo:compat_module_C,forwardRef:compat_module_w,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:compat_module_D,SuspenseList:compat_module_F,lazy:compat_module_O,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:un};
331
332
  //# sourceMappingURL=compat.module.js.map
332
333
 
333
334
  // EXTERNAL MODULE: external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"}
@@ -459,7 +460,7 @@ var reactquestion_element_SurveyElementBase = /** @class */ (function (_super) {
459
460
  };
460
461
  SurveyElementBase.renderQuestionDescription = function (question) {
461
462
  var descriptionText = SurveyElementBase.renderLocString(question.locDescription);
462
- return preact_module_("div", { style: question.hasDescription ? undefined : { display: "none" }, id: question.ariaDescriptionId, className: question.cssDescription }, descriptionText);
463
+ return _("div", { style: question.hasDescription ? undefined : { display: "none" }, id: question.ariaDescriptionId, className: question.cssDescription }, descriptionText);
463
464
  };
464
465
  SurveyElementBase.prototype.componentDidMount = function () {
465
466
  this.makeBaseElementsReact();
@@ -901,10 +902,13 @@ var element_SurveyRowElement = /** @class */ (function (_super) {
901
902
  el.focusIn();
902
903
  }
903
904
  };
904
- return (preact_module_("div", { className: css.questionWrapper, style: element.rootStyle, "data-key": innerElement.key, key: innerElement.key, onFocus: focusIn, ref: this.rootRef }, this.row.isNeedRender ? innerElement : ReactElementFactory.Instance.createElement(element.skeletonComponentName, { element: element, css: this.css, })));
905
+ return (_("div", { className: css.questionWrapper, style: element.rootStyle, "data-key": innerElement.key, key: innerElement.key, onFocus: focusIn, ref: this.rootRef }, innerElement));
905
906
  };
906
907
  SurveyRowElement.prototype.createElement = function (element, elementIndex) {
907
908
  var index = elementIndex ? "-" + elementIndex : 0;
909
+ if (!this.row.isNeedRender) {
910
+ return ReactElementFactory.Instance.createElement(element.skeletonComponentName, { key: element.name + index, element: element, css: this.css, });
911
+ }
908
912
  var elementType = element.getType();
909
913
  if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {
910
914
  elementType = "question";
@@ -992,9 +996,9 @@ var row_SurveyRow = /** @class */ (function (_super) {
992
996
  var elements = this.row.visibleElements.map(function (element, elementIndex) {
993
997
  var index = elementIndex ? "-" + elementIndex : 0;
994
998
  var key = element.name + index;
995
- return (preact_module_(element_SurveyRowElement, { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: key }));
999
+ return (_(element_SurveyRowElement, { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: key }));
996
1000
  });
997
- return (preact_module_("div", { ref: this.rootRef, className: this.row.getRowCss() }, elements));
1001
+ return (_("div", { ref: this.rootRef, className: this.row.getRowCss() }, elements));
998
1002
  };
999
1003
  SurveyRow.prototype.renderElement = function () {
1000
1004
  var survey = this.survey;
@@ -1166,7 +1170,7 @@ var panel_base_SurveyPanelBase = /** @class */ (function (_super) {
1166
1170
  return this.panelBase.visibleRows.map(function (row) { return _this.createRow(row, css); });
1167
1171
  };
1168
1172
  SurveyPanelBase.prototype.createRow = function (row, css) {
1169
- return (preact_module_(row_SurveyRow, { key: row.id, row: row, survey: this.survey, creator: this.creator, css: css }));
1173
+ return (_(row_SurveyRow, { key: row.id, row: row, survey: this.survey, creator: this.creator, css: css }));
1170
1174
  };
1171
1175
  return SurveyPanelBase;
1172
1176
  }(reactquestion_element_SurveyElementBase));
@@ -1379,7 +1383,6 @@ var popup_extends = (undefined && undefined.__extends) || (function () {
1379
1383
 
1380
1384
 
1381
1385
 
1382
-
1383
1386
  var popup_Popup = /** @class */ (function (_super) {
1384
1387
  popup_extends(Popup, _super);
1385
1388
  function Popup(props) {
@@ -1546,41 +1549,6 @@ var popup_PopupDropdownContainer = /** @class */ (function (_super) {
1546
1549
  return PopupDropdownContainer;
1547
1550
  }(popup_PopupContainer));
1548
1551
 
1549
- // replace to showDialog then delete
1550
- function showModal(componentName, data, onApply, onCancel, cssClass, title, displayMode) {
1551
- if (displayMode === void 0) { displayMode = "popup"; }
1552
- var options = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createDialogOptions"])(componentName, data, onApply, onCancel, undefined, undefined, cssClass, title, displayMode);
1553
- return showDialog(options);
1554
- }
1555
- function showDialog(dialogOptions, rootElement) {
1556
- var popupViewModel = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createPopupModalViewModel"])(dialogOptions, rootElement);
1557
- var onVisibilityChangedCallback = function (_, options) {
1558
- if (!options.isVisible) {
1559
- if (typeof xn.createRoot == "function") {
1560
- if (!!root) {
1561
- root.unmount();
1562
- }
1563
- }
1564
- else {
1565
- xn.unmountComponentAtNode(popupViewModel.container);
1566
- }
1567
- popupViewModel.dispose();
1568
- }
1569
- };
1570
- popupViewModel.onVisibilityChanged.add(onVisibilityChangedCallback);
1571
- var root;
1572
- if (typeof xn.createRoot == "function") {
1573
- root = xn.createRoot(popupViewModel.container);
1574
- root.render(xn.createElement(popup_PopupContainer, { model: popupViewModel }));
1575
- }
1576
- else {
1577
- xn.render(xn.createElement(popup_PopupContainer, { model: popupViewModel }), popupViewModel.container);
1578
- }
1579
- popupViewModel.model.isVisible = true;
1580
- return popupViewModel;
1581
- }
1582
- external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showModal = showModal;
1583
- external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showDialog = showDialog;
1584
1552
 
1585
1553
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.tsx
1586
1554
  var action_bar_item_dropdown_extends = (undefined && undefined.__extends) || (function () {
@@ -1872,6 +1840,7 @@ var title_element_extends = (undefined && undefined.__extends) || (function () {
1872
1840
 
1873
1841
 
1874
1842
 
1843
+
1875
1844
  var title_element_TitleElement = /** @class */ (function (_super) {
1876
1845
  title_element_extends(TitleElement, _super);
1877
1846
  function TitleElement(props) {
@@ -1884,11 +1853,18 @@ var title_element_TitleElement = /** @class */ (function (_super) {
1884
1853
  enumerable: false,
1885
1854
  configurable: true
1886
1855
  });
1856
+ TitleElement.prototype.renderTitleExpandableSvg = function () {
1857
+ if (!this.element.getCssTitleExpandableSvg())
1858
+ return null;
1859
+ var iconName = this.element.isExpanded ? "icon-collapse-16x16" : "icon-expand-16x16";
1860
+ return xn.createElement(svg_icon_SvgIcon, { className: this.element.getCssTitleExpandableSvg(), iconName: iconName, size: 16 });
1861
+ };
1887
1862
  TitleElement.prototype.render = function () {
1888
1863
  var element = this.element;
1889
1864
  if (!element || !element.hasTitle)
1890
1865
  return null;
1891
1866
  var ariaLabel = element.titleAriaLabel || undefined;
1867
+ var titleExpandableSvg = this.renderTitleExpandableSvg();
1892
1868
  var titleContent = (xn.createElement(title_actions_TitleActions, { element: element, cssClasses: element.cssClasses }));
1893
1869
  var onClick = undefined;
1894
1870
  var onKeyUp = undefined;
@@ -1898,7 +1874,9 @@ var title_element_TitleElement = /** @class */ (function (_super) {
1898
1874
  };
1899
1875
  }
1900
1876
  var CustomTag = element.titleTagName;
1901
- return (xn.createElement(CustomTag, { className: element.cssTitle, id: element.ariaTitleId, "aria-label": ariaLabel, tabIndex: element.titleTabIndex, "aria-expanded": element.titleAriaExpanded, role: element.titleAriaRole, onClick: onClick, onKeyUp: onKeyUp }, titleContent));
1877
+ return (xn.createElement(CustomTag, { className: element.cssTitle, id: element.ariaTitleId, "aria-label": ariaLabel, tabIndex: element.titleTabIndex, "aria-expanded": element.titleAriaExpanded, role: element.titleAriaRole, onClick: onClick, onKeyUp: onKeyUp },
1878
+ titleExpandableSvg,
1879
+ titleContent));
1902
1880
  };
1903
1881
  return TitleElement;
1904
1882
  }(xn.Component));
@@ -2043,18 +2021,18 @@ var reactquestion_comment_SurveyQuestionComment = /** @class */ (function (_supe
2043
2021
  SurveyQuestionComment.prototype.renderCharacterCounter = function () {
2044
2022
  var counter = null;
2045
2023
  if (!!this.question.getMaxLength()) {
2046
- counter = preact_module_(character_counter_CharacterCounterComponent, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter });
2024
+ counter = _(character_counter_CharacterCounterComponent, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter });
2047
2025
  }
2048
2026
  return counter;
2049
2027
  };
2050
2028
  SurveyQuestionComment.prototype.renderElement = function () {
2051
2029
  if (this.question.isReadOnlyRenderDiv()) {
2052
- return preact_module_("div", null, this.question.value);
2030
+ return _("div", null, this.question.value);
2053
2031
  }
2054
2032
  var counter = this.renderCharacterCounter();
2055
2033
  var textAreaModel = this.props.question.textAreaModel;
2056
- return (preact_module_(b, null,
2057
- preact_module_(text_area_TextAreaComponent, { viewModel: textAreaModel }),
2034
+ return (_(b, null,
2035
+ _(text_area_TextAreaComponent, { viewModel: textAreaModel }),
2058
2036
  counter));
2059
2037
  };
2060
2038
  return SurveyQuestionComment;
@@ -2077,9 +2055,9 @@ var reactquestion_comment_SurveyQuestionCommentItem = /** @class */ (function (_
2077
2055
  var question = this.props.question;
2078
2056
  if (question.isReadOnlyRenderDiv()) {
2079
2057
  var comment = this.textAreaModel.getTextValue() || "";
2080
- return preact_module_("div", null, comment);
2058
+ return _("div", null, comment);
2081
2059
  }
2082
- return (preact_module_(text_area_TextAreaComponent, { viewModel: this.textAreaModel }));
2060
+ return (_(text_area_TextAreaComponent, { viewModel: this.textAreaModel }));
2083
2061
  };
2084
2062
  return SurveyQuestionCommentItem;
2085
2063
  }(ReactSurveyElement));
@@ -2096,7 +2074,7 @@ var SurveyQuestionOtherValueItem = /** @class */ (function (_super) {
2096
2074
  }(reactquestion_comment_SurveyQuestionCommentItem));
2097
2075
 
2098
2076
  ReactQuestionFactory.Instance.registerQuestion("comment", function (props) {
2099
- return preact_module_(reactquestion_comment_SurveyQuestionComment, props);
2077
+ return _(reactquestion_comment_SurveyQuestionComment, props);
2100
2078
  });
2101
2079
 
2102
2080
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/custom-widget.tsx
@@ -2162,7 +2140,7 @@ var custom_widget_SurveyCustomWidget = /** @class */ (function (_super) {
2162
2140
  SurveyCustomWidget.prototype.renderElement = function () {
2163
2141
  var customWidget = this.questionBase.customWidget;
2164
2142
  if (customWidget.isDefaultRender) {
2165
- return (preact_module_("div", { ref: this.widgetRef }, this.creator.createQuestionElement(this.questionBase)));
2143
+ return (_("div", { ref: this.widgetRef }, this.creator.createQuestionElement(this.questionBase)));
2166
2144
  }
2167
2145
  var widget = null;
2168
2146
  if (customWidget.widgetJson.render) {
@@ -2171,10 +2149,10 @@ var custom_widget_SurveyCustomWidget = /** @class */ (function (_super) {
2171
2149
  else {
2172
2150
  if (customWidget.htmlTemplate) {
2173
2151
  var htmlValue = { __html: customWidget.htmlTemplate };
2174
- return preact_module_("div", { ref: this.widgetRef, dangerouslySetInnerHTML: htmlValue });
2152
+ return _("div", { ref: this.widgetRef, dangerouslySetInnerHTML: htmlValue });
2175
2153
  }
2176
2154
  }
2177
- return preact_module_("div", { ref: this.widgetRef }, widget);
2155
+ return _("div", { ref: this.widgetRef }, widget);
2178
2156
  };
2179
2157
  return SurveyCustomWidget;
2180
2158
  }(reactquestion_element_SurveyQuestionElementBase));
@@ -2270,7 +2248,7 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
2270
2248
  if (!customWidget) {
2271
2249
  return creator.createQuestionElement(question);
2272
2250
  }
2273
- return preact_module_(custom_widget_SurveyCustomWidget, { creator: creator, question: question });
2251
+ return _(custom_widget_SurveyCustomWidget, { creator: creator, question: question });
2274
2252
  };
2275
2253
  SurveyQuestion.prototype.getStateElement = function () {
2276
2254
  return this.question;
@@ -2350,7 +2328,7 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
2350
2328
  var descriptionUnderInput = question.hasDescriptionUnderInput
2351
2329
  ? this.renderDescription()
2352
2330
  : null;
2353
- return (preact_module_("div", { className: question.cssContent || undefined, style: contentStyle, role: "presentation" },
2331
+ return (_("div", { className: question.cssContent || undefined, style: contentStyle, role: "presentation" },
2354
2332
  errorsTop,
2355
2333
  questionRender,
2356
2334
  comment,
@@ -2371,8 +2349,8 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
2371
2349
  : null;
2372
2350
  var rootStyle = question.getRootStyle();
2373
2351
  var questionContent = this.wrapQuestionContent(this.renderQuestionContent());
2374
- return (preact_module_(b, null,
2375
- preact_module_("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
2352
+ return (_(b, null,
2353
+ _("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
2376
2354
  errorsAboveQuestion,
2377
2355
  headerTop,
2378
2356
  questionContent,
@@ -2403,21 +2381,21 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
2403
2381
  };
2404
2382
  SurveyQuestion.prototype.renderComment = function (cssClasses) {
2405
2383
  var commentText = reactquestion_element_SurveyElementBase.renderLocString(this.question.locCommentText);
2406
- return (preact_module_("div", { className: this.question.getCommentAreaCss() },
2407
- preact_module_("div", null, commentText),
2408
- preact_module_(reactquestion_comment_SurveyQuestionCommentItem, { question: this.question, cssClasses: cssClasses, otherCss: cssClasses.other, isDisplayMode: this.question.isInputReadOnly })));
2384
+ return (_("div", { className: this.question.getCommentAreaCss() },
2385
+ _("div", null, commentText),
2386
+ _(reactquestion_comment_SurveyQuestionCommentItem, { question: this.question, cssClasses: cssClasses, otherCss: cssClasses.other, isDisplayMode: this.question.isInputReadOnly })));
2409
2387
  };
2410
2388
  SurveyQuestion.prototype.renderHeader = function (question) {
2411
- return preact_module_(element_header_SurveyElementHeader, { element: question });
2389
+ return _(element_header_SurveyElementHeader, { element: question });
2412
2390
  };
2413
2391
  SurveyQuestion.prototype.renderErrors = function (cssClasses, location) {
2414
- return (preact_module_(reactquestion_SurveyElementErrors, { element: this.question, cssClasses: cssClasses, creator: this.creator, location: location, id: this.question.id + "_errors" }));
2392
+ return (_(reactquestion_SurveyElementErrors, { element: this.question, cssClasses: cssClasses, creator: this.creator, location: location, id: this.question.id + "_errors" }));
2415
2393
  };
2416
2394
  return SurveyQuestion;
2417
2395
  }(reactquestion_element_SurveyElementBase));
2418
2396
 
2419
2397
  ReactElementFactory.Instance.registerElement("question", function (props) {
2420
- return preact_module_(reactquestion_SurveyQuestion, props);
2398
+ return _(reactquestion_SurveyQuestion, props);
2421
2399
  });
2422
2400
  var reactquestion_SurveyElementErrors = /** @class */ (function (_super) {
2423
2401
  reactquestion_extends(SurveyElementErrors, _super);
@@ -2469,7 +2447,7 @@ var reactquestion_SurveyElementErrors = /** @class */ (function (_super) {
2469
2447
  var key = "error" + i;
2470
2448
  errors.push(this.creator.renderError(key, this.element.errors[i], this.cssClasses, this.element));
2471
2449
  }
2472
- return (preact_module_("div", { role: "alert", "aria-live": "polite", className: this.element.cssError, id: this.id }, errors));
2450
+ return (_("div", { role: "alert", "aria-live": "polite", className: this.element.cssError, id: this.id }, errors));
2473
2451
  };
2474
2452
  return SurveyElementErrors;
2475
2453
  }(ReactSurveyElement));
@@ -2520,7 +2498,7 @@ var reactquestion_SurveyQuestionAndErrorsWrapped = /** @class */ (function (_sup
2520
2498
  };
2521
2499
  SurveyQuestionAndErrorsWrapped.prototype.renderContent = function () {
2522
2500
  var renderedQuestion = this.renderQuestion();
2523
- return (preact_module_(b, null, renderedQuestion));
2501
+ return (_(b, null, renderedQuestion));
2524
2502
  };
2525
2503
  SurveyQuestionAndErrorsWrapped.prototype.getShowErrors = function () {
2526
2504
  return this.question.isVisible;
@@ -2548,13 +2526,13 @@ var reactquestion_SurveyQuestionAndErrorsCell = /** @class */ (function (_super)
2548
2526
  }
2549
2527
  };
2550
2528
  SurveyQuestionAndErrorsCell.prototype.renderCellContent = function () {
2551
- return (preact_module_("div", { className: this.props.cell.cellQuestionWrapperClassName }, this.renderQuestion()));
2529
+ return (_("div", { className: this.props.cell.cellQuestionWrapperClassName }, this.renderQuestion()));
2552
2530
  };
2553
2531
  SurveyQuestionAndErrorsCell.prototype.renderElement = function () {
2554
2532
  var style = this.getCellStyle();
2555
2533
  var cell = this.props.cell;
2556
2534
  var focusIn = function () { cell.focusIn(); };
2557
- return (preact_module_("td", { ref: this.cellRef, className: this.itemCss, colSpan: cell.colSpans, title: cell.getTitle(), style: style, onFocus: focusIn }, this.wrapCell(this.props.cell, this.renderCellContent())));
2535
+ return (_("td", { ref: this.cellRef, className: this.itemCss, colSpan: cell.colSpans, title: cell.getTitle(), style: style, onFocus: focusIn }, this.wrapCell(this.props.cell, this.renderCellContent())));
2558
2536
  };
2559
2537
  SurveyQuestionAndErrorsCell.prototype.getCellStyle = function () {
2560
2538
  return null;
@@ -2624,7 +2602,7 @@ var reactquestion_SurveyQuestionErrorCell = /** @class */ (function (_super) {
2624
2602
  }
2625
2603
  };
2626
2604
  SurveyQuestionErrorCell.prototype.render = function () {
2627
- return preact_module_(reactquestion_SurveyElementErrors, { element: this.question, creator: this.props.creator, cssClasses: this.question.cssClasses });
2605
+ return _(reactquestion_SurveyElementErrors, { element: this.question, creator: this.props.creator, cssClasses: this.question.cssClasses });
2628
2606
  };
2629
2607
  return SurveyQuestionErrorCell;
2630
2608
  }(k));
@@ -2674,21 +2652,21 @@ var page_SurveyPage = /** @class */ (function (_super) {
2674
2652
  var title = this.renderTitle();
2675
2653
  var description = this.renderDescription();
2676
2654
  var rows = this.renderRows(this.panelBase.cssClasses);
2677
- var errors = (preact_module_(reactquestion_SurveyElementErrors, { element: this.panelBase, cssClasses: this.panelBase.cssClasses, creator: this.creator }));
2678
- return (preact_module_("div", { ref: this.rootRef, className: this.page.cssRoot },
2655
+ var errors = (_(reactquestion_SurveyElementErrors, { element: this.panelBase, cssClasses: this.panelBase.cssClasses, creator: this.creator }));
2656
+ return (_("div", { ref: this.rootRef, className: this.page.cssRoot },
2679
2657
  title,
2680
2658
  description,
2681
2659
  errors,
2682
2660
  rows));
2683
2661
  };
2684
2662
  SurveyPage.prototype.renderTitle = function () {
2685
- return preact_module_(title_element_TitleElement, { element: this.page });
2663
+ return _(title_element_TitleElement, { element: this.page });
2686
2664
  };
2687
2665
  SurveyPage.prototype.renderDescription = function () {
2688
2666
  if (!this.page._showDescription)
2689
2667
  return null;
2690
2668
  var text = reactquestion_element_SurveyElementBase.renderLocString(this.page.locDescription);
2691
- return (preact_module_("div", { className: this.panelBase.cssClasses.page.description }, text));
2669
+ return (_("div", { className: this.panelBase.cssClasses.page.description }, text));
2692
2670
  };
2693
2671
  return SurveyPage;
2694
2672
  }(panel_base_SurveyPanelBase));
@@ -2951,6 +2929,107 @@ var svgbundle_SvgBundleComponent = /** @class */ (function (_super) {
2951
2929
  }(xn.Component));
2952
2930
 
2953
2931
 
2932
+ // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/popup/popup-modal.tsx
2933
+ var popup_modal_extends = (undefined && undefined.__extends) || (function () {
2934
+ var extendStatics = function (d, b) {
2935
+ extendStatics = Object.setPrototypeOf ||
2936
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2937
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
2938
+ return extendStatics(d, b);
2939
+ };
2940
+ return function (d, b) {
2941
+ if (typeof b !== "function" && b !== null)
2942
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2943
+ extendStatics(d, b);
2944
+ function __() { this.constructor = d; }
2945
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2946
+ };
2947
+ })();
2948
+
2949
+
2950
+
2951
+
2952
+
2953
+ var popup_modal_PopupModal = /** @class */ (function (_super) {
2954
+ popup_modal_extends(PopupModal, _super);
2955
+ function PopupModal(props) {
2956
+ var _this = _super.call(this, props) || this;
2957
+ _this.isInitialized = false;
2958
+ _this.init = function () {
2959
+ if (!_this.isInitialized) {
2960
+ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showModal = function (componentName, data, onApply, onCancel, cssClass, title, displayMode) {
2961
+ if (displayMode === void 0) { displayMode = "popup"; }
2962
+ var options = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createDialogOptions"])(componentName, data, onApply, onCancel, undefined, undefined, cssClass, title, displayMode);
2963
+ return _this.showDialog(options);
2964
+ };
2965
+ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showDialog = function (dialogOptions, rootElement) {
2966
+ return _this.showDialog(dialogOptions, rootElement);
2967
+ };
2968
+ _this.isInitialized = true;
2969
+ }
2970
+ };
2971
+ _this.clean = function () {
2972
+ if (_this.isInitialized) {
2973
+ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showModal = undefined;
2974
+ external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showDialog = undefined;
2975
+ _this.isInitialized = false;
2976
+ }
2977
+ };
2978
+ _this.state = { changed: 0 };
2979
+ _this.descriptor = {
2980
+ init: _this.init,
2981
+ clean: _this.clean
2982
+ };
2983
+ return _this;
2984
+ }
2985
+ PopupModal.addModalDescriptor = function (descriptor) {
2986
+ if (!external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showModal) {
2987
+ descriptor.init();
2988
+ }
2989
+ this.modalDescriptors.push(descriptor);
2990
+ };
2991
+ PopupModal.removeModalDescriptor = function (descriptor) {
2992
+ descriptor.clean();
2993
+ this.modalDescriptors.splice(this.modalDescriptors.indexOf(descriptor), 1);
2994
+ if (!external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["settings"].showModal && this.modalDescriptors[0]) {
2995
+ this.modalDescriptors[0].init();
2996
+ }
2997
+ };
2998
+ PopupModal.prototype.renderElement = function () {
2999
+ if (!this.model)
3000
+ return null;
3001
+ return compat_module_P(xn.createElement(popup_PopupContainer, { model: this.model }), this.model.container);
3002
+ };
3003
+ PopupModal.prototype.showDialog = function (dialogOptions, rootElement) {
3004
+ var _this = this;
3005
+ this.model = Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["createPopupModalViewModel"])(dialogOptions, rootElement);
3006
+ var onVisibilityChangedCallback = function (_, options) {
3007
+ if (!options.isVisible) {
3008
+ _this.model.dispose();
3009
+ _this.model = undefined;
3010
+ _this.setState({ changed: _this.state.changed + 1 });
3011
+ }
3012
+ };
3013
+ this.model.onVisibilityChanged.add(onVisibilityChangedCallback);
3014
+ this.model.model.isVisible = true;
3015
+ this.setState({ changed: this.state.changed + 1 });
3016
+ return this.model;
3017
+ };
3018
+ PopupModal.prototype.componentDidMount = function () {
3019
+ PopupModal.addModalDescriptor(this.descriptor);
3020
+ };
3021
+ PopupModal.prototype.componentWillUnmount = function () {
3022
+ if (this.model) {
3023
+ this.model.dispose();
3024
+ this.model = undefined;
3025
+ }
3026
+ PopupModal.removeModalDescriptor(this.descriptor);
3027
+ };
3028
+ PopupModal.modalDescriptors = [];
3029
+ return PopupModal;
3030
+ }(reactquestion_element_SurveyElementBase));
3031
+
3032
+
2954
3033
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactSurvey.tsx
2955
3034
  var reactSurvey_extends = (undefined && undefined.__extends) || (function () {
2956
3035
  var extendStatics = function (d, b) {
@@ -2989,6 +3068,7 @@ var __assign = (undefined && undefined.__assign) || function () {
2989
3068
 
2990
3069
 
2991
3070
 
3071
+
2992
3072
  var reactSurvey_Survey = /** @class */ (function (_super) {
2993
3073
  reactSurvey_extends(Survey, _super);
2994
3074
  function Survey(props) {
@@ -3076,29 +3156,30 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
3076
3156
  else {
3077
3157
  renderResult = this.renderSurvey();
3078
3158
  }
3079
- var backgroundImage = !!this.survey.backgroundImage ? preact_module_("div", { className: this.css.rootBackgroundImage, style: this.survey.backgroundImageStyle }) : null;
3080
- var header = this.survey.headerView === "basic" ? preact_module_(survey_header_SurveyHeader, { survey: this.survey }) : null;
3159
+ var backgroundImage = !!this.survey.backgroundImage ? _("div", { className: this.css.rootBackgroundImage, style: this.survey.backgroundImageStyle }) : null;
3160
+ var header = this.survey.headerView === "basic" ? _(survey_header_SurveyHeader, { survey: this.survey }) : null;
3081
3161
  var onSubmit = function (event) {
3082
3162
  event.preventDefault();
3083
3163
  };
3084
- var customHeader = preact_module_("div", { className: "sv_custom_header" });
3164
+ var customHeader = _("div", { className: "sv_custom_header" });
3085
3165
  if (this.survey.hasLogo) {
3086
3166
  customHeader = null;
3087
3167
  }
3088
3168
  var rootCss = this.survey.getRootCss();
3089
3169
  var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
3090
- return (preact_module_("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables, lang: this.survey.locale || "en", dir: this.survey.localeDir },
3091
- this.survey.needRenderIcons ? preact_module_(svgbundle_SvgBundleComponent, null) : null,
3092
- preact_module_("div", { className: this.survey.wrapperFormCss },
3170
+ return (_("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables, lang: this.survey.locale || "en", dir: this.survey.localeDir },
3171
+ this.survey.needRenderIcons ? _(svgbundle_SvgBundleComponent, null) : null,
3172
+ _(popup_modal_PopupModal, null),
3173
+ _("div", { className: this.survey.wrapperFormCss },
3093
3174
  backgroundImage,
3094
- preact_module_("form", { onSubmit: onSubmit },
3175
+ _("form", { onSubmit: onSubmit },
3095
3176
  customHeader,
3096
- preact_module_("div", { className: this.css.container },
3177
+ _("div", { className: this.css.container },
3097
3178
  header,
3098
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "header", needRenderWrapper: false }),
3179
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "header", needRenderWrapper: false }),
3099
3180
  renderResult,
3100
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "footer", needRenderWrapper: false }))),
3101
- preact_module_(notifier_NotifierComponent, { notifier: this.survey.notifier }))));
3181
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "footer", needRenderWrapper: false }))),
3182
+ _(notifier_NotifierComponent, { notifier: this.survey.notifier }))));
3102
3183
  };
3103
3184
  Survey.prototype.renderElement = function () {
3104
3185
  return this.doRender();
@@ -3117,17 +3198,17 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
3117
3198
  if (!this.survey.showCompletedPage)
3118
3199
  return null;
3119
3200
  var htmlValue = { __html: this.survey.processedCompletedHtml };
3120
- return (preact_module_(b, null,
3121
- preact_module_("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss }),
3122
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "completePage", needRenderWrapper: false })));
3201
+ return (_(b, null,
3202
+ _("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss }),
3203
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "completePage", needRenderWrapper: false })));
3123
3204
  };
3124
3205
  Survey.prototype.renderCompletedBefore = function () {
3125
3206
  var htmlValue = { __html: this.survey.processedCompletedBeforeHtml };
3126
- return (preact_module_("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedBeforeCss }));
3207
+ return (_("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedBeforeCss }));
3127
3208
  };
3128
3209
  Survey.prototype.renderLoading = function () {
3129
3210
  var htmlValue = { __html: this.survey.processedLoadingHtml };
3130
- return (preact_module_("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.loadingBodyCss }));
3211
+ return (_("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.loadingBodyCss }));
3131
3212
  };
3132
3213
  Survey.prototype.renderSurvey = function () {
3133
3214
  var activePage = this.survey.activePage
@@ -3140,22 +3221,22 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
3140
3221
  if (!!this.survey.renderedWidth) {
3141
3222
  style.maxWidth = this.survey.renderedWidth;
3142
3223
  }
3143
- return (preact_module_("div", { className: this.survey.bodyContainerCss },
3144
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "left" }),
3145
- preact_module_("div", { className: "sv-components-column sv-components-column--expandable" },
3146
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "center" }),
3147
- preact_module_("div", { id: pageId, className: className, style: style },
3148
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "contentTop" }),
3224
+ return (_("div", { className: this.survey.bodyContainerCss },
3225
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "left" }),
3226
+ _("div", { className: "sv-components-column sv-components-column--expandable" },
3227
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "center" }),
3228
+ _("div", { id: pageId, className: className, style: style },
3229
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "contentTop" }),
3149
3230
  activePage,
3150
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "contentBottom" }),
3151
- this.survey.showBrandInfo ? preact_module_(brand_info_BrandInfo, null) : null)),
3152
- preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "right" })));
3231
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "contentBottom" }),
3232
+ this.survey.showBrandInfo ? _(brand_info_BrandInfo, null) : null)),
3233
+ _(components_container_ComponentsContainer, { survey: this.survey, container: "right" })));
3153
3234
  };
3154
3235
  Survey.prototype.renderPage = function (page) {
3155
- return (preact_module_(page_SurveyPage, { survey: this.survey, page: page, css: this.css, creator: this }));
3236
+ return (_(page_SurveyPage, { survey: this.survey, page: page, css: this.css, creator: this }));
3156
3237
  };
3157
3238
  Survey.prototype.renderEmptySurvey = function () {
3158
- return preact_module_("div", { className: this.css.bodyEmpty }, this.survey.emptySurveyText);
3239
+ return _("div", { className: this.css.bodyEmpty }, this.survey.emptySurveyText);
3159
3240
  };
3160
3241
  Survey.prototype.createSurvey = function (newProps) {
3161
3242
  if (!newProps)
@@ -3248,7 +3329,7 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
3248
3329
  }(reactquestion_element_SurveyElementBase));
3249
3330
 
3250
3331
  ReactElementFactory.Instance.registerElement("survey", function (props) {
3251
- return preact_module_(reactSurvey_Survey, props);
3332
+ return _(reactSurvey_Survey, props);
3252
3333
  });
3253
3334
  function attachKey2click(element, viewModel, options) {
3254
3335
  if (options === void 0) { options = { processEsc: true, disableTabStop: false }; }
@@ -3375,16 +3456,16 @@ var reacttimerpanel_SurveyTimerPanel = /** @class */ (function (_super) {
3375
3456
  if (!this.timerModel.isRunning) {
3376
3457
  return null;
3377
3458
  }
3378
- var result = preact_module_("div", { className: this.timerModel.survey.getCss().timerRoot }, this.timerModel.text);
3459
+ var result = _("div", { className: this.timerModel.survey.getCss().timerRoot }, this.timerModel.text);
3379
3460
  if (this.timerModel.showTimerAsClock) {
3380
3461
  var style = { strokeDasharray: this.circleLength, strokeDashoffset: this.progress };
3381
- var progress = (this.timerModel.showProgress ? preact_module_(svg_icon_SvgIcon, { className: this.timerModel.getProgressCss(), style: style, iconName: "icon-timercircle", size: "auto" }) : null);
3462
+ var progress = (this.timerModel.showProgress ? _(svg_icon_SvgIcon, { className: this.timerModel.getProgressCss(), style: style, iconName: "icon-timercircle", size: "auto" }) : null);
3382
3463
  result =
3383
- (preact_module_("div", { className: this.timerModel.rootCss },
3464
+ (_("div", { className: this.timerModel.rootCss },
3384
3465
  progress,
3385
- preact_module_("div", { className: this.timerModel.textContainerCss },
3386
- preact_module_("span", { className: this.timerModel.majorTextCss }, this.timerModel.clockMajorText),
3387
- (this.timerModel.clockMinorText ? preact_module_("span", { className: this.timerModel.minorTextCss }, this.timerModel.clockMinorText) : null))));
3466
+ _("div", { className: this.timerModel.textContainerCss },
3467
+ _("span", { className: this.timerModel.majorTextCss }, this.timerModel.clockMajorText),
3468
+ (this.timerModel.clockMinorText ? _("span", { className: this.timerModel.minorTextCss }, this.timerModel.clockMinorText) : null))));
3388
3469
  }
3389
3470
  return result;
3390
3471
  };
@@ -3392,7 +3473,7 @@ var reacttimerpanel_SurveyTimerPanel = /** @class */ (function (_super) {
3392
3473
  }(ReactSurveyElement));
3393
3474
 
3394
3475
  ReactElementFactory.Instance.registerElement("sv-timerpanel", function (props) {
3395
- return preact_module_(reacttimerpanel_SurveyTimerPanel, props);
3476
+ return _(reacttimerpanel_SurveyTimerPanel, props);
3396
3477
  });
3397
3478
 
3398
3479
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/panel.tsx
@@ -3437,7 +3518,7 @@ var panel_SurveyPanel = /** @class */ (function (_super) {
3437
3518
  SurveyPanel.prototype.renderElement = function () {
3438
3519
  var _this = this;
3439
3520
  var header = this.renderHeader();
3440
- var errors = (preact_module_(reactquestion_SurveyElementErrors, { element: this.panelBase, cssClasses: this.panelBase.cssClasses, creator: this.creator }));
3521
+ var errors = (_(reactquestion_SurveyElementErrors, { element: this.panelBase, cssClasses: this.panelBase.cssClasses, creator: this.creator }));
3441
3522
  var style = {
3442
3523
  paddingLeft: this.panel.innerPaddingLeft,
3443
3524
  display: this.panel.renderedIsExpanded ? undefined : "none",
@@ -3453,7 +3534,7 @@ var panel_SurveyPanel = /** @class */ (function (_super) {
3453
3534
  if (_this.panelBase)
3454
3535
  _this.panelBase.focusIn();
3455
3536
  };
3456
- return (preact_module_("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id },
3537
+ return (_("div", { ref: this.rootRef, className: this.panelBase.getContainerCss(), onFocus: focusIn, id: this.panelBase.id },
3457
3538
  this.panel.showErrorsAbovePanel ? errors : null,
3458
3539
  header,
3459
3540
  this.panel.showErrorsAbovePanel ? null : errors,
@@ -3463,7 +3544,7 @@ var panel_SurveyPanel = /** @class */ (function (_super) {
3463
3544
  if (!this.panel.hasTitle && !this.panel.hasDescription) {
3464
3545
  return null;
3465
3546
  }
3466
- return preact_module_(element_header_SurveyElementHeader, { element: this.panel });
3547
+ return _(element_header_SurveyElementHeader, { element: this.panel });
3467
3548
  };
3468
3549
  SurveyPanel.prototype.wrapElement = function (element) {
3469
3550
  var survey = this.panel.survey;
@@ -3475,26 +3556,26 @@ var panel_SurveyPanel = /** @class */ (function (_super) {
3475
3556
  };
3476
3557
  SurveyPanel.prototype.renderContent = function (style, rows, className) {
3477
3558
  var bottom = this.renderBottom();
3478
- return (preact_module_("div", { style: style, className: className, id: this.panel.contentId },
3559
+ return (_("div", { style: style, className: className, id: this.panel.contentId },
3479
3560
  rows,
3480
3561
  bottom));
3481
3562
  };
3482
3563
  SurveyPanel.prototype.renderTitle = function () {
3483
3564
  if (!this.panelBase.title)
3484
3565
  return null;
3485
- return preact_module_(title_element_TitleElement, { element: this.panelBase });
3566
+ return _(title_element_TitleElement, { element: this.panelBase });
3486
3567
  };
3487
3568
  SurveyPanel.prototype.renderDescription = function () {
3488
3569
  if (!this.panelBase.description)
3489
3570
  return null;
3490
3571
  var text = reactquestion_element_SurveyElementBase.renderLocString(this.panelBase.locDescription);
3491
- return (preact_module_("div", { className: this.panel.cssClasses.panel.description }, text));
3572
+ return (_("div", { className: this.panel.cssClasses.panel.description }, text));
3492
3573
  };
3493
3574
  SurveyPanel.prototype.renderBottom = function () {
3494
3575
  var footerToolbar = this.panel.getFooterToolbar();
3495
3576
  if (!footerToolbar.hasActions)
3496
3577
  return null;
3497
- return preact_module_(action_bar_SurveyActionBar, { model: footerToolbar });
3578
+ return _(action_bar_SurveyActionBar, { model: footerToolbar });
3498
3579
  };
3499
3580
  SurveyPanel.prototype.getIsVisible = function () {
3500
3581
  return this.panelBase.getIsContentVisible();
@@ -3503,7 +3584,7 @@ var panel_SurveyPanel = /** @class */ (function (_super) {
3503
3584
  }(panel_base_SurveyPanelBase));
3504
3585
 
3505
3586
  ReactElementFactory.Instance.registerElement("panel", function (props) {
3506
- return preact_module_(panel_SurveyPanel, props);
3587
+ return _(panel_SurveyPanel, props);
3507
3588
  });
3508
3589
 
3509
3590
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/flow-panel.tsx
@@ -3578,7 +3659,7 @@ var flow_panel_SurveyFlowPanel = /** @class */ (function (_super) {
3578
3659
  var html = "<span>" + this.flowPanel.produceHtml() + "</span>";
3579
3660
  if (!DOMParser) {
3580
3661
  var htmlValue = { __html: html };
3581
- return preact_module_("div", { dangerouslySetInnerHTML: htmlValue });
3662
+ return _("div", { dangerouslySetInnerHTML: htmlValue });
3582
3663
  }
3583
3664
  var doc = new DOMParser().parseFromString(html, "text/xml");
3584
3665
  this.renderedIndex = 0;
@@ -3611,8 +3692,8 @@ var flow_panel_SurveyFlowPanel = /** @class */ (function (_super) {
3611
3692
  var nodeType = node.nodeName.toLowerCase();
3612
3693
  var children = this.renderNodes(this.getChildDomNodes(node));
3613
3694
  if (nodeType === "div")
3614
- return preact_module_("div", { key: this.getNodeIndex() }, children);
3615
- return (preact_module_("span", { key: this.getNodeIndex(), style: this.getStyle(nodeType) }, children));
3695
+ return _("div", { key: this.getNodeIndex() }, children);
3696
+ return (_("span", { key: this.getNodeIndex(), style: this.getStyle(nodeType) }, children));
3616
3697
  };
3617
3698
  SurveyFlowPanel.prototype.renderNode = function (node) {
3618
3699
  if (!this.hasTextChildNodesOnly(node)) {
@@ -3623,13 +3704,13 @@ var flow_panel_SurveyFlowPanel = /** @class */ (function (_super) {
3623
3704
  var question = this.flowPanel.getQuestionByName(node.textContent);
3624
3705
  if (!question)
3625
3706
  return null;
3626
- var questionBody = (preact_module_(reactquestion_SurveyQuestion, { key: question.name, element: question, creator: this.creator, css: this.css }));
3627
- return preact_module_("span", { key: this.getNodeIndex() }, questionBody);
3707
+ var questionBody = (_(reactquestion_SurveyQuestion, { key: question.name, element: question, creator: this.creator, css: this.css }));
3708
+ return _("span", { key: this.getNodeIndex() }, questionBody);
3628
3709
  }
3629
3710
  if (nodeType === "div") {
3630
- return preact_module_("div", { key: this.getNodeIndex() }, node.textContent);
3711
+ return _("div", { key: this.getNodeIndex() }, node.textContent);
3631
3712
  }
3632
- return (preact_module_("span", { key: this.getNodeIndex(), style: this.getStyle(nodeType) }, node.textContent));
3713
+ return (_("span", { key: this.getNodeIndex(), style: this.getStyle(nodeType) }, node.textContent));
3633
3714
  };
3634
3715
  SurveyFlowPanel.prototype.getChildDomNodes = function (node) {
3635
3716
  var domNodes = [];
@@ -3647,13 +3728,13 @@ var flow_panel_SurveyFlowPanel = /** @class */ (function (_super) {
3647
3728
  return true;
3648
3729
  };
3649
3730
  SurveyFlowPanel.prototype.renderContent = function (style, rows) {
3650
- return preact_module_("f-panel", { style: style }, rows);
3731
+ return _("f-panel", { style: style }, rows);
3651
3732
  };
3652
3733
  return SurveyFlowPanel;
3653
3734
  }(panel_SurveyPanel));
3654
3735
 
3655
3736
  ReactElementFactory.Instance.registerElement("flowpanel", function (props) {
3656
- return preact_module_(flow_panel_SurveyFlowPanel, props);
3737
+ return _(flow_panel_SurveyFlowPanel, props);
3657
3738
  });
3658
3739
 
3659
3740
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_checkbox.tsx
@@ -3693,8 +3774,8 @@ var reactquestion_checkbox_SurveyQuestionCheckbox = /** @class */ (function (_su
3693
3774
  SurveyQuestionCheckbox.prototype.renderElement = function () {
3694
3775
  var _this = this;
3695
3776
  var cssClasses = this.question.cssClasses;
3696
- return (preact_module_("fieldset", { className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(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 },
3697
- preact_module_("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
3777
+ return (_("fieldset", { className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(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 },
3778
+ _("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
3698
3779
  this.getHeader(),
3699
3780
  this.question.hasColumns
3700
3781
  ? this.getColumnedBody(cssClasses)
@@ -3719,7 +3800,7 @@ var reactquestion_checkbox_SurveyQuestionCheckbox = /** @class */ (function (_su
3719
3800
  }
3720
3801
  };
3721
3802
  SurveyQuestionCheckbox.prototype.getColumnedBody = function (cssClasses) {
3722
- return (preact_module_("div", { className: cssClasses.rootMultiColumn }, this.getColumns(cssClasses)));
3803
+ return (_("div", { className: cssClasses.rootMultiColumn }, this.getColumns(cssClasses)));
3723
3804
  };
3724
3805
  SurveyQuestionCheckbox.prototype.getColumns = function (cssClasses) {
3725
3806
  var _this = this;
@@ -3727,15 +3808,15 @@ var reactquestion_checkbox_SurveyQuestionCheckbox = /** @class */ (function (_su
3727
3808
  var items = column.map(function (item, ii) {
3728
3809
  return _this.renderItem(item, ci === 0 && ii === 0, cssClasses, "" + ci + ii);
3729
3810
  });
3730
- return (preact_module_("div", { key: "column" + ci + _this.question.getItemsColumnKey(column), className: _this.question.getColumnClass(), role: "presentation" }, items));
3811
+ return (_("div", { key: "column" + ci + _this.question.getItemsColumnKey(column), className: _this.question.getColumnClass(), role: "presentation" }, items));
3731
3812
  });
3732
3813
  };
3733
3814
  SurveyQuestionCheckbox.prototype.getBody = function (cssClasses) {
3734
3815
  if (this.question.blockedRow) {
3735
- return preact_module_("div", { className: cssClasses.rootRow }, this.getItems(cssClasses, this.question.dataChoices));
3816
+ return _("div", { className: cssClasses.rootRow }, this.getItems(cssClasses, this.question.dataChoices));
3736
3817
  }
3737
3818
  else
3738
- return preact_module_(b, null, this.getItems(cssClasses, this.question.bodyItems));
3819
+ return _(b, null, this.getItems(cssClasses, this.question.bodyItems));
3739
3820
  };
3740
3821
  SurveyQuestionCheckbox.prototype.getItems = function (cssClasses, choices) {
3741
3822
  var renderedItems = [];
@@ -3758,8 +3839,8 @@ var reactquestion_checkbox_SurveyQuestionCheckbox = /** @class */ (function (_su
3758
3839
  });
3759
3840
  SurveyQuestionCheckbox.prototype.renderOther = function () {
3760
3841
  var cssClasses = this.question.cssClasses;
3761
- return (preact_module_("div", { className: this.question.getCommentAreaCss(true) },
3762
- preact_module_(SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode })));
3842
+ return (_("div", { className: this.question.getCommentAreaCss(true) },
3843
+ _(SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode })));
3763
3844
  };
3764
3845
  SurveyQuestionCheckbox.prototype.renderItem = function (item, isFirst, cssClasses, index) {
3765
3846
  var renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {
@@ -3874,14 +3955,14 @@ var reactquestion_checkbox_SurveyQuestionCheckboxItem = /** @class */ (function
3874
3955
  var id = this.question.getItemId(this.item);
3875
3956
  var itemClass = this.question.getItemClass(this.item);
3876
3957
  var labelClass = this.question.getLabelClass(this.item);
3877
- var itemLabel = !this.hideCaption ? preact_module_("span", { className: this.cssClasses.controlLabel }, this.renderLocString(this.item.locText, this.textStyle)) : null;
3878
- return (preact_module_("div", { className: itemClass, role: "presentation", ref: this.rootRef },
3879
- preact_module_("label", { className: labelClass },
3880
- preact_module_("input", { className: this.cssClasses.itemControl, type: "checkbox", name: this.question.name + this.item.id, value: this.item.value, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, required: this.question.hasRequiredError() }),
3958
+ var itemLabel = !this.hideCaption ? _("span", { className: this.cssClasses.controlLabel }, this.renderLocString(this.item.locText, this.textStyle)) : null;
3959
+ return (_("div", { className: itemClass, role: "presentation", ref: this.rootRef },
3960
+ _("label", { className: labelClass },
3961
+ _("input", { className: this.cssClasses.itemControl, type: "checkbox", name: this.question.name + this.item.id, value: this.item.value, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, required: this.question.hasRequiredError() }),
3881
3962
  this.cssClasses.materialDecorator ?
3882
- preact_module_("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
3883
- preact_module_("svg", { className: this.cssClasses.itemDecorator },
3884
- preact_module_("use", { xlinkHref: this.question.itemSvgIcon })) :
3963
+ _("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
3964
+ _("svg", { className: this.cssClasses.itemDecorator },
3965
+ _("use", { xlinkHref: this.question.itemSvgIcon })) :
3885
3966
  null) :
3886
3967
  null,
3887
3968
  itemLabel),
@@ -3903,10 +3984,10 @@ var reactquestion_checkbox_SurveyQuestionCheckboxItem = /** @class */ (function
3903
3984
  }(ReactSurveyElement));
3904
3985
 
3905
3986
  ReactElementFactory.Instance.registerElement("survey-checkbox-item", function (props) {
3906
- return preact_module_(reactquestion_checkbox_SurveyQuestionCheckboxItem, props);
3987
+ return _(reactquestion_checkbox_SurveyQuestionCheckboxItem, props);
3907
3988
  });
3908
3989
  ReactQuestionFactory.Instance.registerQuestion("checkbox", function (props) {
3909
- return preact_module_(reactquestion_checkbox_SurveyQuestionCheckbox, props);
3990
+ return _(reactquestion_checkbox_SurveyQuestionCheckbox, props);
3910
3991
  });
3911
3992
 
3912
3993
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_ranking.tsx
@@ -3945,21 +4026,21 @@ var reactquestion_ranking_SurveyQuestionRanking = /** @class */ (function (_supe
3945
4026
  SurveyQuestionRanking.prototype.renderElement = function () {
3946
4027
  var _this = this;
3947
4028
  if (!this.question.selectToRankEnabled) {
3948
- return (preact_module_("div", { className: this.question.rootClass, ref: function (root) { return (_this.setControl(root)); } }, this.getItems()));
4029
+ return (_("div", { className: this.question.rootClass, ref: function (root) { return (_this.setControl(root)); } }, this.getItems()));
3949
4030
  }
3950
4031
  else {
3951
4032
  var unrankedItem = true;
3952
- return (preact_module_("div", { className: this.question.rootClass, ref: function (root) { return (_this.setControl(root)); } },
3953
- preact_module_("div", { className: this.question.getContainerClasses("from"), "data-ranking": "from-container" },
4033
+ return (_("div", { className: this.question.rootClass, ref: function (root) { return (_this.setControl(root)); } },
4034
+ _("div", { className: this.question.getContainerClasses("from"), "data-ranking": "from-container" },
3954
4035
  this.getItems(this.question.renderedUnRankingChoices, unrankedItem),
3955
- this.question.renderedUnRankingChoices.length === 0 ? preact_module_("div", { className: this.question.cssClasses.containerPlaceholder },
4036
+ this.question.renderedUnRankingChoices.length === 0 ? _("div", { className: this.question.cssClasses.containerPlaceholder },
3956
4037
  " ",
3957
4038
  this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText),
3958
4039
  " ") : null),
3959
- preact_module_("div", { className: this.question.cssClasses.containersDivider }),
3960
- preact_module_("div", { className: this.question.getContainerClasses("to"), "data-ranking": "to-container" },
4040
+ _("div", { className: this.question.cssClasses.containersDivider }),
4041
+ _("div", { className: this.question.getContainerClasses("to"), "data-ranking": "to-container" },
3961
4042
  this.getItems(),
3962
- this.question.renderedRankingChoices.length === 0 ? preact_module_("div", { className: this.question.cssClasses.containerPlaceholder },
4043
+ this.question.renderedRankingChoices.length === 0 ? _("div", { className: this.question.cssClasses.containerPlaceholder },
3963
4044
  " ",
3964
4045
  this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText),
3965
4046
  " ") : null)));
@@ -3995,7 +4076,7 @@ var reactquestion_ranking_SurveyQuestionRanking = /** @class */ (function (_supe
3995
4076
  var index = i;
3996
4077
  var indexText = this.question.getNumberByIndex(index);
3997
4078
  var tabIndex = this.question.getItemTabIndex(item);
3998
- var renderedItem = (preact_module_(reactquestion_ranking_SurveyQuestionRankingItem, { key: item.value, text: text, index: index, indexText: indexText, itemTabIndex: tabIndex, handleKeydown: handleKeydown, handlePointerDown: handlePointerDown, handlePointerUp: handlePointerUp, cssClasses: cssClasses, itemClass: itemClass, question: question, unrankedItem: unrankedItem, item: item }));
4079
+ var renderedItem = (_(reactquestion_ranking_SurveyQuestionRankingItem, { key: item.value, text: text, index: index, indexText: indexText, itemTabIndex: tabIndex, handleKeydown: handleKeydown, handlePointerDown: handlePointerDown, handlePointerUp: handlePointerUp, cssClasses: cssClasses, itemClass: itemClass, question: question, unrankedItem: unrankedItem, item: item }));
3999
4080
  var survey = this.question.survey;
4000
4081
  var wrappedItem = null;
4001
4082
  if (!!survey) {
@@ -4096,21 +4177,21 @@ var reactquestion_ranking_SurveyQuestionRankingItem = /** @class */ (function (_
4096
4177
  configurable: true
4097
4178
  });
4098
4179
  SurveyQuestionRankingItem.prototype.renderEmptyIcon = function () {
4099
- return (preact_module_("svg", null,
4100
- preact_module_("use", { xlinkHref: this.question.dashSvgIcon })));
4180
+ return (_("svg", null,
4181
+ _("use", { xlinkHref: this.question.dashSvgIcon })));
4101
4182
  };
4102
4183
  SurveyQuestionRankingItem.prototype.renderElement = function () {
4103
4184
  var itemContent = ReactElementFactory.Instance.createElement(this.question.itemComponent, { item: this.item, cssClasses: this.cssClasses });
4104
- return (preact_module_("div", { tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, "data-sv-drop-target-ranking-item": this.index },
4105
- preact_module_("div", { tabIndex: -1, style: { outline: "none" } },
4106
- preact_module_("div", { className: this.cssClasses.itemGhostNode }),
4107
- preact_module_("div", { className: this.cssClasses.itemContent },
4108
- preact_module_("div", { className: this.cssClasses.itemIconContainer },
4109
- preact_module_("svg", { className: this.question.getIconHoverCss() },
4110
- preact_module_("use", { xlinkHref: this.question.dragDropSvgIcon })),
4111
- preact_module_("svg", { className: this.question.getIconFocusCss() },
4112
- preact_module_("use", { xlinkHref: this.question.arrowsSvgIcon }))),
4113
- preact_module_("div", { className: this.question.getItemIndexClasses(this.item) }, (!this.unrankedItem && this.indexText) ? this.indexText : this.renderEmptyIcon()),
4185
+ return (_("div", { tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, "data-sv-drop-target-ranking-item": this.index },
4186
+ _("div", { tabIndex: -1, style: { outline: "none" } },
4187
+ _("div", { className: this.cssClasses.itemGhostNode }),
4188
+ _("div", { className: this.cssClasses.itemContent },
4189
+ _("div", { className: this.cssClasses.itemIconContainer },
4190
+ _("svg", { className: this.question.getIconHoverCss() },
4191
+ _("use", { xlinkHref: this.question.dragDropSvgIcon })),
4192
+ _("svg", { className: this.question.getIconFocusCss() },
4193
+ _("use", { xlinkHref: this.question.arrowsSvgIcon }))),
4194
+ _("div", { className: this.question.getItemIndexClasses(this.item) }, (!this.unrankedItem && this.indexText) ? this.indexText : this.renderEmptyIcon()),
4114
4195
  itemContent))));
4115
4196
  };
4116
4197
  return SurveyQuestionRankingItem;
@@ -4136,16 +4217,16 @@ var reactquestion_ranking_SurveyQuestionRankingItemContent = /** @class */ (func
4136
4217
  configurable: true
4137
4218
  });
4138
4219
  SurveyQuestionRankingItemContent.prototype.renderElement = function () {
4139
- return preact_module_("div", { className: this.cssClasses.controlLabel }, reactquestion_element_SurveyElementBase.renderLocString(this.item.locText));
4220
+ return _("div", { className: this.cssClasses.controlLabel }, reactquestion_element_SurveyElementBase.renderLocString(this.item.locText));
4140
4221
  };
4141
4222
  return SurveyQuestionRankingItemContent;
4142
4223
  }(ReactSurveyElement));
4143
4224
 
4144
4225
  ReactElementFactory.Instance.registerElement("sv-ranking-item", function (props) {
4145
- return preact_module_(reactquestion_ranking_SurveyQuestionRankingItemContent, props);
4226
+ return _(reactquestion_ranking_SurveyQuestionRankingItemContent, props);
4146
4227
  });
4147
4228
  ReactQuestionFactory.Instance.registerQuestion("ranking", function (props) {
4148
- return preact_module_(reactquestion_ranking_SurveyQuestionRanking, props);
4229
+ return _(reactquestion_ranking_SurveyQuestionRanking, props);
4149
4230
  });
4150
4231
 
4151
4232
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/rating/rating-item.tsx
@@ -4433,22 +4514,22 @@ var tagbox_filter_TagboxFilterString = /** @class */ (function (_super) {
4433
4514
  };
4434
4515
  TagboxFilterString.prototype.render = function () {
4435
4516
  var _this = this;
4436
- return (preact_module_("div", { className: this.question.cssClasses.hint },
4517
+ return (_("div", { className: this.question.cssClasses.hint },
4437
4518
  this.model.showHintPrefix ?
4438
- (preact_module_("div", { className: this.question.cssClasses.hintPrefix },
4439
- preact_module_("span", null, this.model.hintStringPrefix))) : null,
4440
- preact_module_("div", { className: this.question.cssClasses.hintSuffixWrapper },
4519
+ (_("div", { className: this.question.cssClasses.hintPrefix },
4520
+ _("span", null, this.model.hintStringPrefix))) : null,
4521
+ _("div", { className: this.question.cssClasses.hintSuffixWrapper },
4441
4522
  this.model.showHintString ?
4442
- (preact_module_("div", { className: this.question.cssClasses.hintSuffix },
4443
- preact_module_("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.model.inputStringRendered),
4444
- preact_module_("span", null, this.model.hintStringSuffix))) : null,
4445
- preact_module_("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.model.filterReadOnly ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.filterStringEnabled ? this.question.ariaRole : undefined, "aria-expanded": this.question.ariaExpanded, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-controls": this.model.listElementId, "aria-activedescendant": this.model.ariaActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }))));
4523
+ (_("div", { className: this.question.cssClasses.hintSuffix },
4524
+ _("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.model.inputStringRendered),
4525
+ _("span", null, this.model.hintStringSuffix))) : null,
4526
+ _("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.model.filterReadOnly ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.filterStringEnabled ? this.question.ariaRole : undefined, "aria-expanded": this.question.ariaExpanded, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-controls": this.model.listElementId, "aria-activedescendant": this.model.ariaActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }))));
4446
4527
  };
4447
4528
  return TagboxFilterString;
4448
4529
  }(reactquestion_element_SurveyElementBase));
4449
4530
 
4450
4531
  ReactQuestionFactory.Instance.registerQuestion("sv-tagbox-filter", function (props) {
4451
- return preact_module_(tagbox_filter_TagboxFilterString, props);
4532
+ return _(tagbox_filter_TagboxFilterString, props);
4452
4533
  });
4453
4534
 
4454
4535
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/dropdown-item.tsx
@@ -4513,7 +4594,7 @@ var dropdown_item_SurveyQuestionOptionItem = /** @class */ (function (_super) {
4513
4594
  return !!this.item;
4514
4595
  };
4515
4596
  SurveyQuestionOptionItem.prototype.renderElement = function () {
4516
- return (preact_module_("option", { value: this.item.value, disabled: !this.item.isEnabled }, this.item.text));
4597
+ return (_("option", { value: this.item.value, disabled: !this.item.isEnabled }, this.item.text));
4517
4598
  };
4518
4599
  return SurveyQuestionOptionItem;
4519
4600
  }(ReactSurveyElement));
@@ -4581,7 +4662,7 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
4581
4662
  return this.questionBase.renderedValue;
4582
4663
  };
4583
4664
  SurveyQuestionDropdownBase.prototype.renderReadOnlyElement = function () {
4584
- return preact_module_("div", null, this.question.readOnlyText);
4665
+ return _("div", null, this.question.readOnlyText);
4585
4666
  };
4586
4667
  SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
4587
4668
  var _a, _b;
@@ -4590,16 +4671,16 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
4590
4671
  var text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : "";
4591
4672
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4592
4673
  // @ts-ignore
4593
- selectElement = preact_module_("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass() },
4674
+ selectElement = _("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass() },
4594
4675
  text,
4595
4676
  this.renderReadOnlyElement());
4596
4677
  }
4597
4678
  else {
4598
- selectElement = preact_module_(b, null,
4679
+ selectElement = _(b, null,
4599
4680
  this.renderInput(this.question["dropdownListModel"]),
4600
- preact_module_(popup_Popup, { model: (_b = (_a = this.question) === null || _a === void 0 ? void 0 : _a.dropdownListModel) === null || _b === void 0 ? void 0 : _b.popupModel }));
4681
+ _(popup_Popup, { model: (_b = (_a = this.question) === null || _a === void 0 ? void 0 : _a.dropdownListModel) === null || _b === void 0 ? void 0 : _b.popupModel }));
4601
4682
  }
4602
- return (preact_module_("div", { className: cssClasses.selectWrapper, onClick: this.click },
4683
+ return (_("div", { className: cssClasses.selectWrapper, onClick: this.click },
4603
4684
  selectElement,
4604
4685
  this.createChevronButton()));
4605
4686
  };
@@ -4621,38 +4702,38 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
4621
4702
  dropdownListModel.inputStringRendered = e.target.value;
4622
4703
  }
4623
4704
  };
4624
- return (preact_module_("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
4705
+ return (_("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
4625
4706
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4626
4707
  // @ts-ignore
4627
4708
  disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
4628
4709
  dropdownListModel.showHintPrefix ?
4629
- (preact_module_("div", { className: this.question.cssClasses.hintPrefix },
4630
- preact_module_("span", null, dropdownListModel.hintStringPrefix))) : null,
4631
- preact_module_("div", { className: this.question.cssClasses.controlValue },
4710
+ (_("div", { className: this.question.cssClasses.hintPrefix },
4711
+ _("span", null, dropdownListModel.hintStringPrefix))) : null,
4712
+ _("div", { className: this.question.cssClasses.controlValue },
4632
4713
  dropdownListModel.showHintString ?
4633
- (preact_module_("div", { className: this.question.cssClasses.hintSuffix },
4634
- preact_module_("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, dropdownListModel.inputStringRendered),
4635
- preact_module_("span", null, dropdownListModel.hintStringSuffix))) : null,
4714
+ (_("div", { className: this.question.cssClasses.hintSuffix },
4715
+ _("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, dropdownListModel.inputStringRendered),
4716
+ _("span", null, dropdownListModel.hintStringSuffix))) : null,
4636
4717
  valueElement,
4637
- preact_module_("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined, "aria-expanded": this.question.ariaExpanded, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: dropdownListModel.filterReadOnly ? true : undefined, tabIndex: dropdownListModel.noTabIndex ? undefined : -1, disabled: this.question.isDisabledAttr, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
4718
+ _("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined, "aria-expanded": this.question.ariaExpanded, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: dropdownListModel.filterReadOnly ? true : undefined, tabIndex: dropdownListModel.noTabIndex ? undefined : -1, disabled: this.question.isDisabledAttr, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
4638
4719
  this.createClearButton()));
4639
4720
  };
4640
4721
  SurveyQuestionDropdownBase.prototype.createClearButton = function () {
4641
4722
  if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId)
4642
4723
  return null;
4643
4724
  var style = { display: !this.question.showClearButton ? "none" : "" };
4644
- return (preact_module_("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear, "aria-hidden": "true" },
4645
- preact_module_(svg_icon_SvgIcon, { className: this.question.cssClasses.cleanButtonSvg, iconName: this.question.cssClasses.cleanButtonIconId, title: this.question.clearCaption, size: "auto" })));
4725
+ return (_("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear, "aria-hidden": "true" },
4726
+ _(svg_icon_SvgIcon, { className: this.question.cssClasses.cleanButtonSvg, iconName: this.question.cssClasses.cleanButtonIconId, title: this.question.clearCaption, size: "auto" })));
4646
4727
  };
4647
4728
  SurveyQuestionDropdownBase.prototype.createChevronButton = function () {
4648
4729
  if (!this.question.cssClasses.chevronButtonIconId)
4649
4730
  return null;
4650
- return (preact_module_("div", { className: this.question.cssClasses.chevronButton, "aria-hidden": "true", onPointerDown: this.chevronPointerDown },
4651
- preact_module_(svg_icon_SvgIcon, { className: this.question.cssClasses.chevronButtonSvg, iconName: this.question.cssClasses.chevronButtonIconId, size: "auto" })));
4731
+ return (_("div", { className: this.question.cssClasses.chevronButton, "aria-hidden": "true", onPointerDown: this.chevronPointerDown },
4732
+ _(svg_icon_SvgIcon, { className: this.question.cssClasses.chevronButtonSvg, iconName: this.question.cssClasses.chevronButtonIconId, size: "auto" })));
4652
4733
  };
4653
4734
  SurveyQuestionDropdownBase.prototype.renderOther = function (cssClasses) {
4654
- return (preact_module_("div", { className: this.question.getCommentAreaCss(true) },
4655
- preact_module_(SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, isOther: true })));
4735
+ return (_("div", { className: this.question.getCommentAreaCss(true) },
4736
+ _(SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, isOther: true })));
4656
4737
  };
4657
4738
  SurveyQuestionDropdownBase.prototype.componentDidUpdate = function (prevProps, prevState) {
4658
4739
  _super.prototype.componentDidUpdate.call(this, prevProps, prevState);
@@ -4662,6 +4743,11 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
4662
4743
  _super.prototype.componentDidMount.call(this);
4663
4744
  this.updateInputDomElement();
4664
4745
  };
4746
+ SurveyQuestionDropdownBase.prototype.componentWillUnmount = function () {
4747
+ _super.prototype.componentWillUnmount.call(this);
4748
+ if (this.question.dropdownListModel)
4749
+ this.question.dropdownListModel.focused = false;
4750
+ };
4665
4751
  SurveyQuestionDropdownBase.prototype.updateInputDomElement = function () {
4666
4752
  if (!!this.inputElement) {
4667
4753
  var control = this.inputElement;
@@ -4703,7 +4789,7 @@ var reactquestion_dropdown_SurveyQuestionDropdown = /** @class */ (function (_su
4703
4789
  var cssClasses = this.question.cssClasses;
4704
4790
  var comment = this.question.isOtherSelected ? this.renderOther(cssClasses) : null;
4705
4791
  var select = this.renderSelect(cssClasses);
4706
- return (preact_module_("div", { className: this.question.renderCssRoot },
4792
+ return (_("div", { className: this.question.renderCssRoot },
4707
4793
  select,
4708
4794
  comment));
4709
4795
  };
@@ -4711,7 +4797,7 @@ var reactquestion_dropdown_SurveyQuestionDropdown = /** @class */ (function (_su
4711
4797
  }(dropdown_base_SurveyQuestionDropdownBase));
4712
4798
 
4713
4799
  ReactQuestionFactory.Instance.registerQuestion("dropdown", function (props) {
4714
- return preact_module_(reactquestion_dropdown_SurveyQuestionDropdown, props);
4800
+ return _(reactquestion_dropdown_SurveyQuestionDropdown, props);
4715
4801
  });
4716
4802
 
4717
4803
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/tagbox-item.tsx
@@ -4762,10 +4848,10 @@ var tagbox_item_SurveyQuestionTagboxItem = /** @class */ (function (_super) {
4762
4848
  _this.question.dropdownListModel.deselectItem(_this.item.value);
4763
4849
  event.stopPropagation();
4764
4850
  };
4765
- return (preact_module_("div", { className: "sv-tagbox__item" },
4766
- preact_module_("div", { className: "sv-tagbox__item-text" }, text),
4767
- preact_module_("div", { className: this.question.cssClasses.cleanItemButton, onClick: removeItem },
4768
- preact_module_(svg_icon_SvgIcon, { className: this.question.cssClasses.cleanItemButtonSvg, iconName: this.question.cssClasses.cleanItemButtonIconId, size: "auto" }))));
4851
+ return (_("div", { className: "sv-tagbox__item" },
4852
+ _("div", { className: "sv-tagbox__item-text" }, text),
4853
+ _("div", { className: this.question.cssClasses.cleanItemButton, onClick: removeItem },
4854
+ _(svg_icon_SvgIcon, { className: this.question.cssClasses.cleanItemButtonSvg, iconName: this.question.cssClasses.cleanItemButtonIconId, size: "auto" }))));
4769
4855
  };
4770
4856
  return SurveyQuestionTagboxItem;
4771
4857
  }(ReactSurveyElement));
@@ -4798,27 +4884,27 @@ var reactquestion_tagbox_SurveyQuestionTagbox = /** @class */ (function (_super)
4798
4884
  return _super.call(this, props) || this;
4799
4885
  }
4800
4886
  SurveyQuestionTagbox.prototype.renderItem = function (key, item) {
4801
- var renderedItem = (preact_module_(tagbox_item_SurveyQuestionTagboxItem, { key: key, question: this.question, item: item }));
4887
+ var renderedItem = (_(tagbox_item_SurveyQuestionTagboxItem, { key: key, question: this.question, item: item }));
4802
4888
  return renderedItem;
4803
4889
  };
4804
4890
  SurveyQuestionTagbox.prototype.renderInput = function (dropdownListModel) {
4805
4891
  var _this = this;
4806
4892
  var dropdownMultiSelectListModel = dropdownListModel;
4807
4893
  var items = this.question.selectedChoices.map(function (choice, index) { return _this.renderItem("item" + index, choice); });
4808
- return (preact_module_("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
4894
+ return (_("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
4809
4895
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4810
4896
  // @ts-ignore
4811
4897
  disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
4812
- preact_module_("div", { className: this.question.cssClasses.controlValue },
4898
+ _("div", { className: this.question.cssClasses.controlValue },
4813
4899
  items,
4814
- preact_module_(tagbox_filter_TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
4900
+ _(tagbox_filter_TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
4815
4901
  this.createClearButton()));
4816
4902
  };
4817
4903
  SurveyQuestionTagbox.prototype.renderElement = function () {
4818
4904
  var cssClasses = this.question.cssClasses;
4819
4905
  var comment = this.question.isOtherSelected ? this.renderOther(cssClasses) : null;
4820
4906
  var select = this.renderSelect(cssClasses);
4821
- return (preact_module_("div", { className: this.question.renderCssRoot },
4907
+ return (_("div", { className: this.question.renderCssRoot },
4822
4908
  select,
4823
4909
  comment));
4824
4910
  };
@@ -4834,7 +4920,7 @@ var reactquestion_tagbox_SurveyQuestionTagbox = /** @class */ (function (_super)
4834
4920
  }(dropdown_base_SurveyQuestionDropdownBase));
4835
4921
 
4836
4922
  ReactQuestionFactory.Instance.registerQuestion("tagbox", function (props) {
4837
- return preact_module_(reactquestion_tagbox_SurveyQuestionTagbox, props);
4923
+ return _(reactquestion_tagbox_SurveyQuestionTagbox, props);
4838
4924
  });
4839
4925
 
4840
4926
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/dropdown-select.tsx
@@ -4874,11 +4960,11 @@ var dropdown_select_SurveyQuestionDropdownSelect = /** @class */ (function (_sup
4874
4960
  var selectElement = this.isDisplayMode ? (
4875
4961
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4876
4962
  // @ts-ignore
4877
- preact_module_("div", { id: this.question.inputId, className: this.question.getControlClass(), disabled: true }, this.question.readOnlyText)) :
4878
- (preact_module_("select", { id: this.question.inputId, className: this.question.getControlClass(), ref: function (select) { return (_this.setControl(select)); }, autoComplete: this.question.autocomplete, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onClick: click, onKeyUp: keyup, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, required: this.question.isRequired },
4879
- this.question.allowClear ? (preact_module_("option", { value: "" }, this.question.placeholder)) : null,
4880
- this.question.visibleChoices.map(function (item, i) { return preact_module_(dropdown_item_SurveyQuestionOptionItem, { key: "item" + i, item: item }); })));
4881
- return (preact_module_("div", { className: cssClasses.selectWrapper },
4963
+ _("div", { id: this.question.inputId, className: this.question.getControlClass(), disabled: true }, this.question.readOnlyText)) :
4964
+ (_("select", { id: this.question.inputId, className: this.question.getControlClass(), ref: function (select) { return (_this.setControl(select)); }, autoComplete: this.question.autocomplete, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onClick: click, onKeyUp: keyup, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, required: this.question.isRequired },
4965
+ this.question.allowClear ? (_("option", { value: "" }, this.question.placeholder)) : null,
4966
+ this.question.visibleChoices.map(function (item, i) { return _(dropdown_item_SurveyQuestionOptionItem, { key: "item" + i, item: item }); })));
4967
+ return (_("div", { className: cssClasses.selectWrapper },
4882
4968
  selectElement,
4883
4969
  this.createChevronButton()));
4884
4970
  };
@@ -4886,7 +4972,7 @@ var dropdown_select_SurveyQuestionDropdownSelect = /** @class */ (function (_sup
4886
4972
  }(reactquestion_dropdown_SurveyQuestionDropdown));
4887
4973
 
4888
4974
  ReactQuestionFactory.Instance.registerQuestion("sv-dropdown-select", function (props) {
4889
- return preact_module_(dropdown_select_SurveyQuestionDropdownSelect, props);
4975
+ return _(dropdown_select_SurveyQuestionDropdownSelect, props);
4890
4976
  });
4891
4977
  external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["RendererFactory"].Instance.registerRenderer("dropdown", "select", "sv-dropdown-select");
4892
4978
 
@@ -4943,7 +5029,7 @@ var reactquestion_matrix_SurveyQuestionMatrix = /** @class */ (function (_super)
4943
5029
  SurveyQuestionMatrix.prototype.renderElement = function () {
4944
5030
  var _this = this;
4945
5031
  var cssClasses = this.question.cssClasses;
4946
- var rowsTH = this.question.hasRows ? preact_module_("td", null) : null;
5032
+ var rowsTH = this.question.hasRows ? _("td", null) : null;
4947
5033
  var headers = [];
4948
5034
  for (var i = 0; i < this.question.visibleColumns.length; i++) {
4949
5035
  var column = this.question.visibleColumns[i];
@@ -4954,25 +5040,25 @@ var reactquestion_matrix_SurveyQuestionMatrix = /** @class */ (function (_super)
4954
5040
  style.minWidth = this.question.columnMinWidth;
4955
5041
  style.width = this.question.columnMinWidth;
4956
5042
  }
4957
- headers.push(preact_module_("th", { className: this.question.cssClasses.headerCell, style: style, key: key }, this.wrapCell({ column: column }, columText, "column-header")));
5043
+ headers.push(_("th", { className: this.question.cssClasses.headerCell, style: style, key: key }, this.wrapCell({ column: column }, columText, "column-header")));
4958
5044
  }
4959
5045
  var rows = [];
4960
5046
  var visibleRows = this.question.visibleRows;
4961
5047
  for (var i = 0; i < visibleRows.length; i++) {
4962
5048
  var row = visibleRows[i];
4963
5049
  var key = "row-" + row.name + "-" + i;
4964
- rows.push(preact_module_(reactquestion_matrix_SurveyQuestionMatrixRow, { key: key, question: this.question, cssClasses: cssClasses, row: row, isFirst: i == 0 }));
5050
+ rows.push(_(reactquestion_matrix_SurveyQuestionMatrixRow, { key: key, question: this.question, cssClasses: cssClasses, row: row, isFirst: i == 0 }));
4965
5051
  }
4966
- var header = !this.question.showHeader ? null : (preact_module_("thead", null,
4967
- preact_module_("tr", null,
5052
+ var header = !this.question.showHeader ? null : (_("thead", null,
5053
+ _("tr", null,
4968
5054
  rowsTH,
4969
5055
  headers)));
4970
- return (preact_module_("div", { className: cssClasses.tableWrapper, ref: function (root) { return (_this.setControl(root)); } },
4971
- preact_module_("fieldset", null,
4972
- preact_module_("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
4973
- preact_module_("table", { className: this.question.getTableCss() },
5056
+ return (_("div", { className: cssClasses.tableWrapper, ref: function (root) { return (_this.setControl(root)); } },
5057
+ _("fieldset", null,
5058
+ _("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
5059
+ _("table", { className: this.question.getTableCss() },
4974
5060
  header,
4975
- preact_module_("tbody", null, rows)))));
5061
+ _("tbody", null, rows)))));
4976
5062
  };
4977
5063
  return SurveyQuestionMatrix;
4978
5064
  }(reactquestion_element_SurveyQuestionElementBase));
@@ -5024,10 +5110,10 @@ var reactquestion_matrix_SurveyQuestionMatrixRow = /** @class */ (function (_sup
5024
5110
  style.minWidth = this.question.rowTitleWidth;
5025
5111
  style.width = this.question.rowTitleWidth;
5026
5112
  }
5027
- rowsTD = preact_module_("td", { style: style, className: this.row.rowTextClasses }, this.wrapCell({ row: this.row }, rowText, "row-header"));
5113
+ rowsTD = _("td", { style: style, className: this.row.rowTextClasses }, this.wrapCell({ row: this.row }, rowText, "row-header"));
5028
5114
  }
5029
5115
  var tds = this.generateTds();
5030
- return (preact_module_("tr", { className: this.row.rowClasses || undefined },
5116
+ return (_("tr", { className: this.row.rowClasses || undefined },
5031
5117
  rowsTD,
5032
5118
  tds));
5033
5119
  };
@@ -5043,7 +5129,7 @@ var reactquestion_matrix_SurveyQuestionMatrixRow = /** @class */ (function (_sup
5043
5129
  var itemClass = this_1.question.getItemClass(row, column);
5044
5130
  if (this_1.question.hasCellText) {
5045
5131
  var getHandler = function (column) { return function () { return _this.cellClick(row, column); }; };
5046
- td = (preact_module_("td", { key: key, className: itemClass, onClick: getHandler ? getHandler(column) : function () { } }, this_1.renderLocString(this_1.question.getCellDisplayLocText(row.name, column))));
5132
+ td = (_("td", { key: key, className: itemClass, onClick: getHandler ? getHandler(column) : function () { } }, this_1.renderLocString(this_1.question.getCellDisplayLocText(row.name, column))));
5047
5133
  }
5048
5134
  else {
5049
5135
  var renderedCell = ReactElementFactory.Instance.createElement(cellComponent, {
@@ -5054,7 +5140,7 @@ var reactquestion_matrix_SurveyQuestionMatrixRow = /** @class */ (function (_sup
5054
5140
  cssClasses: this_1.cssClasses,
5055
5141
  cellChanged: function () { _this.cellClick(_this.row, column); }
5056
5142
  });
5057
- td = (preact_module_("td", { key: key, "data-responsive-title": column.locText.renderedHtml, className: this_1.question.cssClasses.cell }, renderedCell));
5143
+ td = (_("td", { key: key, "data-responsive-title": column.locText.renderedHtml, className: this_1.question.cssClasses.cell }, renderedCell));
5058
5144
  }
5059
5145
  tds.push(td);
5060
5146
  };
@@ -5123,27 +5209,27 @@ var reactquestion_matrix_SurveyQuestionMatrixCell = /** @class */ (function (_su
5123
5209
  var inputId = this.question.inputId + "_" + this.row.name + "_" + this.columnIndex;
5124
5210
  var itemClass = this.question.getItemClass(this.row, this.column);
5125
5211
  var mobileSpan = this.question.isMobile ?
5126
- (preact_module_("span", { className: this.question.cssClasses.cellResponsiveTitle }, this.renderLocString(this.column.locText)))
5212
+ (_("span", { className: this.question.cssClasses.cellResponsiveTitle }, this.renderLocString(this.column.locText)))
5127
5213
  : undefined;
5128
- return (preact_module_("label", { onMouseDown: this.handleOnMouseDown, className: itemClass },
5214
+ return (_("label", { onMouseDown: this.handleOnMouseDown, className: itemClass },
5129
5215
  this.renderInput(inputId, isChecked),
5130
- preact_module_("span", { className: this.question.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
5131
- preact_module_("svg", { className: this.cssClasses.itemDecorator },
5132
- preact_module_("use", { xlinkHref: this.question.itemSvgIcon })) :
5216
+ _("span", { className: this.question.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
5217
+ _("svg", { className: this.cssClasses.itemDecorator },
5218
+ _("use", { xlinkHref: this.question.itemSvgIcon })) :
5133
5219
  null),
5134
5220
  mobileSpan));
5135
5221
  };
5136
5222
  SurveyQuestionMatrixCell.prototype.renderInput = function (inputId, isChecked) {
5137
- return (preact_module_("input", { id: inputId, type: "radio", className: this.cssClasses.itemValue, name: this.row.fullName, value: this.column.value, disabled: this.row.isDisabledAttr, readOnly: this.row.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.getCellAriaLabel(this.row.locText.renderedHtml, this.column.locText.renderedHtml), "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage }));
5223
+ return (_("input", { id: inputId, type: "radio", className: this.cssClasses.itemValue, name: this.row.fullName, value: this.column.value, disabled: this.row.isDisabledAttr, readOnly: this.row.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.getCellAriaLabel(this.row.locText.renderedHtml, this.column.locText.renderedHtml), "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage }));
5138
5224
  };
5139
5225
  return SurveyQuestionMatrixCell;
5140
5226
  }(ReactSurveyElement));
5141
5227
 
5142
5228
  ReactElementFactory.Instance.registerElement("survey-matrix-cell", function (props) {
5143
- return preact_module_(reactquestion_matrix_SurveyQuestionMatrixCell, props);
5229
+ return _(reactquestion_matrix_SurveyQuestionMatrixCell, props);
5144
5230
  });
5145
5231
  ReactQuestionFactory.Instance.registerQuestion("matrix", function (props) {
5146
- return preact_module_(reactquestion_matrix_SurveyQuestionMatrix, props);
5232
+ return _(reactquestion_matrix_SurveyQuestionMatrix, props);
5147
5233
  });
5148
5234
 
5149
5235
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_html.tsx
@@ -5197,13 +5283,13 @@ var reactquestion_html_SurveyQuestionHtml = /** @class */ (function (_super) {
5197
5283
  };
5198
5284
  SurveyQuestionHtml.prototype.renderElement = function () {
5199
5285
  var htmlValue = { __html: this.question.locHtml.renderedHtml };
5200
- return (preact_module_("div", { className: this.question.renderCssRoot, dangerouslySetInnerHTML: htmlValue }));
5286
+ return (_("div", { className: this.question.renderCssRoot, dangerouslySetInnerHTML: htmlValue }));
5201
5287
  };
5202
5288
  return SurveyQuestionHtml;
5203
5289
  }(reactquestion_element_SurveyQuestionElementBase));
5204
5290
 
5205
5291
  ReactQuestionFactory.Instance.registerQuestion("html", function (props) {
5206
- return preact_module_(reactquestion_html_SurveyQuestionHtml, props);
5292
+ return _(reactquestion_html_SurveyQuestionHtml, props);
5207
5293
  });
5208
5294
 
5209
5295
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/loading-indicator.tsx
@@ -5230,8 +5316,8 @@ var loading_indicator_LoadingIndicatorComponent = /** @class */ (function (_supe
5230
5316
  return _super !== null && _super.apply(this, arguments) || this;
5231
5317
  }
5232
5318
  LoadingIndicatorComponent.prototype.render = function () {
5233
- return (preact_module_("div", { className: "sd-loading-indicator" },
5234
- preact_module_(svg_icon_SvgIcon, { iconName: "icon-loading", size: "auto" })));
5319
+ return (_("div", { className: "sd-loading-indicator" },
5320
+ _(svg_icon_SvgIcon, { iconName: "icon-loading", size: "auto" })));
5235
5321
  };
5236
5322
  return LoadingIndicatorComponent;
5237
5323
  }(k));
@@ -5329,23 +5415,23 @@ var reactquestion_file_SurveyQuestionFile = /** @class */ (function (_super) {
5329
5415
  var fileDecorator = this.question.showFileDecorator ? this.renderFileDecorator() : null;
5330
5416
  var clearButton = this.question.showRemoveButton ? this.renderClearButton(this.question.cssClasses.removeButton) : null;
5331
5417
  var clearButtonBottom = this.question.showRemoveButtonBottom ? this.renderClearButton(this.question.cssClasses.removeButtonBottom) : null;
5332
- var fileNavigator = this.question.fileNavigatorVisible ? (preact_module_(action_bar_SurveyActionBar, { model: this.question.fileNavigator })) : null;
5418
+ var fileNavigator = this.question.fileNavigatorVisible ? (_(action_bar_SurveyActionBar, { model: this.question.fileNavigator })) : null;
5333
5419
  var fileInput;
5334
5420
  if (this.question.isReadOnlyAttr) {
5335
- fileInput = preact_module_("input", { readOnly: true, type: "file", className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes });
5421
+ fileInput = _("input", { readOnly: true, type: "file", className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes });
5336
5422
  }
5337
5423
  else if (this.question.isDisabledAttr) {
5338
- fileInput = preact_module_("input", { disabled: true, type: "file", className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes });
5424
+ fileInput = _("input", { disabled: true, type: "file", className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes });
5339
5425
  }
5340
5426
  else if (this.question.hasFileUI) {
5341
- fileInput = preact_module_("input", { type: "file", disabled: this.isDisplayMode, tabIndex: -1, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, "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: this.question.acceptedTypes, capture: this.question.renderCapture });
5427
+ fileInput = _("input", { type: "file", disabled: this.isDisplayMode, tabIndex: -1, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, "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: this.question.acceptedTypes, capture: this.question.renderCapture });
5342
5428
  }
5343
5429
  else {
5344
5430
  fileInput = null;
5345
5431
  }
5346
- return (preact_module_("div", { className: this.question.fileRootCss, ref: function (el) { return (_this.setContent(el)); } },
5432
+ return (_("div", { className: this.question.fileRootCss, ref: function (el) { return (_this.setContent(el)); } },
5347
5433
  fileInput,
5348
- preact_module_("div", { className: this.question.cssClasses.dragArea, onDrop: this.question.onDrop, onDragOver: this.question.onDragOver, onDragLeave: this.question.onDragLeave, onDragEnter: this.question.onDragEnter },
5434
+ _("div", { className: this.question.cssClasses.dragArea, onDrop: this.question.onDrop, onDragOver: this.question.onDragOver, onDragLeave: this.question.onDragLeave, onDragEnter: this.question.onDragEnter },
5349
5435
  fileDecorator,
5350
5436
  loadingIndicator,
5351
5437
  video,
@@ -5356,42 +5442,42 @@ var reactquestion_file_SurveyQuestionFile = /** @class */ (function (_super) {
5356
5442
  };
5357
5443
  SurveyQuestionFile.prototype.renderFileDecorator = function () {
5358
5444
  var chooseButton = this.question.showChooseButton ? this.renderChooseButton() : null;
5359
- var actionsContainer = this.question.actionsContainerVisible ? preact_module_(action_bar_SurveyActionBar, { model: this.question.actionsContainer }) : null;
5360
- var noFileChosen = this.question.isEmpty() ? (preact_module_("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption)) : null;
5361
- return (preact_module_("div", { className: this.question.getFileDecoratorCss() },
5362
- preact_module_("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)),
5363
- preact_module_("div", { className: this.question.cssClasses.wrapper },
5445
+ var actionsContainer = this.question.actionsContainerVisible ? _(action_bar_SurveyActionBar, { model: this.question.actionsContainer }) : null;
5446
+ var noFileChosen = this.question.isEmpty() ? (_("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption)) : null;
5447
+ return (_("div", { className: this.question.getFileDecoratorCss() },
5448
+ _("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)),
5449
+ _("div", { className: this.question.cssClasses.wrapper },
5364
5450
  chooseButton,
5365
5451
  actionsContainer,
5366
5452
  noFileChosen)));
5367
5453
  };
5368
5454
  SurveyQuestionFile.prototype.renderChooseButton = function () {
5369
- return preact_module_(file_choose_button_SurveyFileChooseButton, { data: { question: this.question } });
5455
+ return _(file_choose_button_SurveyFileChooseButton, { data: { question: this.question } });
5370
5456
  };
5371
5457
  SurveyQuestionFile.prototype.renderClearButton = function (className) {
5372
- return !this.question.isUploading ? (preact_module_("button", { type: "button", onClick: this.question.doClean, className: className },
5373
- preact_module_("span", null, this.question.clearButtonCaption),
5374
- (!!this.question.cssClasses.removeButtonIconId) ? preact_module_(svg_icon_SvgIcon, { iconName: this.question.cssClasses.removeButtonIconId, size: "auto", title: this.question.clearButtonCaption }) : null)) : null;
5458
+ return !this.question.isUploading ? (_("button", { type: "button", onClick: this.question.doClean, className: className },
5459
+ _("span", null, this.question.clearButtonCaption),
5460
+ (!!this.question.cssClasses.removeButtonIconId) ? _(svg_icon_SvgIcon, { iconName: this.question.cssClasses.removeButtonIconId, size: "auto", title: this.question.clearButtonCaption }) : null)) : null;
5375
5461
  };
5376
5462
  SurveyQuestionFile.prototype.renderPreview = function () {
5377
5463
  return ReactElementFactory.Instance.createElement("sv-file-preview", { question: this.question });
5378
5464
  };
5379
5465
  SurveyQuestionFile.prototype.renderLoadingIndicator = function () {
5380
- return preact_module_("div", { className: this.question.cssClasses.loadingIndicator },
5381
- preact_module_(loading_indicator_LoadingIndicatorComponent, null));
5466
+ return _("div", { className: this.question.cssClasses.loadingIndicator },
5467
+ _(loading_indicator_LoadingIndicatorComponent, null));
5382
5468
  };
5383
5469
  SurveyQuestionFile.prototype.renderVideo = function () {
5384
- return (preact_module_("div", { className: this.question.cssClasses.videoContainer },
5385
- preact_module_(action_bar_item_SurveyAction, { item: this.question.changeCameraAction }),
5386
- preact_module_(action_bar_item_SurveyAction, { item: this.question.closeCameraAction }),
5387
- preact_module_("video", { autoPlay: true, playsInline: true, id: this.question.videoId, className: this.question.cssClasses.video }),
5388
- preact_module_(action_bar_item_SurveyAction, { item: this.question.takePictureAction })));
5470
+ return (_("div", { className: this.question.cssClasses.videoContainer },
5471
+ _(action_bar_item_SurveyAction, { item: this.question.changeCameraAction }),
5472
+ _(action_bar_item_SurveyAction, { item: this.question.closeCameraAction }),
5473
+ _("video", { autoPlay: true, playsInline: true, id: this.question.videoId, className: this.question.cssClasses.video }),
5474
+ _(action_bar_item_SurveyAction, { item: this.question.takePictureAction })));
5389
5475
  };
5390
5476
  return SurveyQuestionFile;
5391
5477
  }(reactquestion_element_SurveyQuestionElementBase));
5392
5478
 
5393
5479
  ReactQuestionFactory.Instance.registerQuestion("file", function (props) {
5394
- return preact_module_(reactquestion_file_SurveyQuestionFile, props);
5480
+ return _(reactquestion_file_SurveyQuestionFile, props);
5395
5481
  });
5396
5482
 
5397
5483
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/file/file-item.tsx
@@ -5609,19 +5695,19 @@ var reactquestion_multipletext_SurveyQuestionMultipleText = /** @class */ (funct
5609
5695
  rows.push(this.renderRow(i, tableRows[i].cells, cssClasses));
5610
5696
  }
5611
5697
  }
5612
- return (preact_module_("table", { className: this.question.getQuestionRootCss() },
5613
- preact_module_("tbody", null, rows)));
5698
+ return (_("table", { className: this.question.getQuestionRootCss() },
5699
+ _("tbody", null, rows)));
5614
5700
  };
5615
5701
  SurveyQuestionMultipleText.prototype.renderCell = function (cell, cssClasses, index) {
5616
5702
  var cellContent;
5617
5703
  var focusIn = function () { cell.item.focusIn(); };
5618
5704
  if (cell.isErrorsCell) {
5619
- cellContent = preact_module_(reactquestion_SurveyQuestionErrorCell, { question: cell.item.editor, creator: this.creator });
5705
+ cellContent = _(reactquestion_SurveyQuestionErrorCell, { question: cell.item.editor, creator: this.creator });
5620
5706
  }
5621
5707
  else {
5622
- cellContent = preact_module_(reactquestion_multipletext_SurveyMultipleTextItem, { question: this.question, item: cell.item, creator: this.creator, cssClasses: cssClasses });
5708
+ cellContent = _(reactquestion_multipletext_SurveyMultipleTextItem, { question: this.question, item: cell.item, creator: this.creator, cssClasses: cssClasses });
5623
5709
  }
5624
- return (preact_module_("td", { key: "item" + index, className: cell.className, onFocus: focusIn }, cellContent));
5710
+ return (_("td", { key: "item" + index, className: cell.className, onFocus: focusIn }, cellContent));
5625
5711
  };
5626
5712
  SurveyQuestionMultipleText.prototype.renderRow = function (rowIndex, cells, cssClasses) {
5627
5713
  var key = "item" + rowIndex;
@@ -5630,7 +5716,7 @@ var reactquestion_multipletext_SurveyQuestionMultipleText = /** @class */ (funct
5630
5716
  var cell = cells[i];
5631
5717
  tds.push(this.renderCell(cell, cssClasses, i));
5632
5718
  }
5633
- return (preact_module_("tr", { key: key, className: cssClasses.row }, tds));
5719
+ return (_("tr", { key: key, className: cssClasses.row }, tds));
5634
5720
  };
5635
5721
  return SurveyQuestionMultipleText;
5636
5722
  }(reactquestion_element_SurveyQuestionElementBase));
@@ -5672,10 +5758,10 @@ var reactquestion_multipletext_SurveyMultipleTextItem = /** @class */ (function
5672
5758
  titleStyle.minWidth = this.question.itemTitleWidth;
5673
5759
  titleStyle.width = this.question.itemTitleWidth;
5674
5760
  }
5675
- return (preact_module_("label", { className: this.question.getItemLabelCss(item) },
5676
- preact_module_("span", { className: cssClasses.itemTitle, style: titleStyle },
5677
- preact_module_(title_content_TitleContent, { element: item.editor, cssClasses: item.editor.cssClasses })),
5678
- preact_module_(reactquestion_multipletext_SurveyMultipleTextItemEditor, { cssClasses: cssClasses, itemCss: this.question.getItemCss(), question: item.editor, creator: this.creator })));
5761
+ return (_("label", { className: this.question.getItemLabelCss(item) },
5762
+ _("span", { className: cssClasses.itemTitle, style: titleStyle },
5763
+ _(title_content_TitleContent, { element: item.editor, cssClasses: item.editor.cssClasses })),
5764
+ _(reactquestion_multipletext_SurveyMultipleTextItemEditor, { cssClasses: cssClasses, itemCss: this.question.getItemCss(), question: item.editor, creator: this.creator })));
5679
5765
  };
5680
5766
  return SurveyMultipleTextItem;
5681
5767
  }(ReactSurveyElement));
@@ -5686,13 +5772,13 @@ var reactquestion_multipletext_SurveyMultipleTextItemEditor = /** @class */ (fun
5686
5772
  return _super !== null && _super.apply(this, arguments) || this;
5687
5773
  }
5688
5774
  SurveyMultipleTextItemEditor.prototype.renderElement = function () {
5689
- return preact_module_("div", { className: this.itemCss }, this.renderContent());
5775
+ return _("div", { className: this.itemCss }, this.renderContent());
5690
5776
  };
5691
5777
  return SurveyMultipleTextItemEditor;
5692
5778
  }(reactquestion_SurveyQuestionAndErrorsWrapped));
5693
5779
 
5694
5780
  ReactQuestionFactory.Instance.registerQuestion("multipletext", function (props) {
5695
- return preact_module_(reactquestion_multipletext_SurveyQuestionMultipleText, props);
5781
+ return _(reactquestion_multipletext_SurveyQuestionMultipleText, props);
5696
5782
  });
5697
5783
 
5698
5784
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_radiogroup.tsx
@@ -5734,10 +5820,10 @@ var reactquestion_radiogroup_SurveyQuestionRadiogroup = /** @class */ (function
5734
5820
  var cssClasses = this.question.cssClasses;
5735
5821
  var clearButton = null;
5736
5822
  if (this.question.showClearButtonInContent) {
5737
- clearButton = (preact_module_("div", null,
5738
- preact_module_("input", { type: "button", className: this.question.cssClasses.clearButton, onClick: function () { return _this.question.clearValue(true); }, value: this.question.clearButtonCaption })));
5823
+ clearButton = (_("div", null,
5824
+ _("input", { type: "button", className: this.question.cssClasses.clearButton, onClick: function () { return _this.question.clearValue(true); }, value: this.question.clearButtonCaption })));
5739
5825
  }
5740
- return (preact_module_("fieldset", { className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(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 },
5826
+ return (_("fieldset", { className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(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 },
5741
5827
  this.question.hasColumns
5742
5828
  ? this.getColumnedBody(cssClasses)
5743
5829
  : this.getBody(cssClasses),
@@ -5754,7 +5840,7 @@ var reactquestion_radiogroup_SurveyQuestionRadiogroup = /** @class */ (function
5754
5840
  }
5755
5841
  };
5756
5842
  SurveyQuestionRadiogroup.prototype.getColumnedBody = function (cssClasses) {
5757
- return (preact_module_("div", { className: cssClasses.rootMultiColumn }, this.getColumns(cssClasses)));
5843
+ return (_("div", { className: cssClasses.rootMultiColumn }, this.getColumns(cssClasses)));
5758
5844
  };
5759
5845
  SurveyQuestionRadiogroup.prototype.getColumns = function (cssClasses) {
5760
5846
  var _this = this;
@@ -5763,15 +5849,15 @@ var reactquestion_radiogroup_SurveyQuestionRadiogroup = /** @class */ (function
5763
5849
  var items = column.map(function (item, ii) {
5764
5850
  return _this.renderItem(item, value, cssClasses, "" + ci + ii);
5765
5851
  });
5766
- return (preact_module_("div", { key: "column" + ci + _this.question.getItemsColumnKey(column), className: _this.question.getColumnClass(), role: "presentation" }, items));
5852
+ return (_("div", { key: "column" + ci + _this.question.getItemsColumnKey(column), className: _this.question.getColumnClass(), role: "presentation" }, items));
5767
5853
  });
5768
5854
  };
5769
5855
  SurveyQuestionRadiogroup.prototype.getBody = function (cssClasses) {
5770
5856
  if (this.question.blockedRow) {
5771
- return preact_module_("div", { className: cssClasses.rootRow }, this.getItems(cssClasses, this.question.dataChoices));
5857
+ return _("div", { className: cssClasses.rootRow }, this.getItems(cssClasses, this.question.dataChoices));
5772
5858
  }
5773
5859
  else
5774
- return preact_module_(b, null, this.getItems(cssClasses, this.question.bodyItems));
5860
+ return _(b, null, this.getItems(cssClasses, this.question.bodyItems));
5775
5861
  };
5776
5862
  SurveyQuestionRadiogroup.prototype.getItems = function (cssClasses, choices) {
5777
5863
  var items = [];
@@ -5791,8 +5877,8 @@ var reactquestion_radiogroup_SurveyQuestionRadiogroup = /** @class */ (function
5791
5877
  configurable: true
5792
5878
  });
5793
5879
  SurveyQuestionRadiogroup.prototype.renderOther = function (cssClasses) {
5794
- return (preact_module_("div", { className: this.question.getCommentAreaCss(true) },
5795
- preact_module_(SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode })));
5880
+ return (_("div", { className: this.question.getCommentAreaCss(true) },
5881
+ _(SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode })));
5796
5882
  };
5797
5883
  SurveyQuestionRadiogroup.prototype.renderItem = function (item, value, cssClasses, index) {
5798
5884
  var renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {
@@ -5906,14 +5992,14 @@ var reactquestion_radiogroup_SurveyQuestionRadioItem = /** @class */ (function (
5906
5992
  var itemClass = this.question.getItemClass(this.item);
5907
5993
  var labelClass = this.question.getLabelClass(this.item);
5908
5994
  var controlLabelClass = this.question.getControlLabelClass(this.item);
5909
- var itemLabel = !this.hideCaption ? preact_module_("span", { className: controlLabelClass }, this.renderLocString(this.item.locText, this.textStyle)) : null;
5910
- return (preact_module_("div", { className: itemClass, role: "presentation", ref: this.rootRef },
5911
- preact_module_("label", { onMouseDown: this.handleOnMouseDown, className: labelClass },
5912
- preact_module_("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 }),
5995
+ var itemLabel = !this.hideCaption ? _("span", { className: controlLabelClass }, this.renderLocString(this.item.locText, this.textStyle)) : null;
5996
+ return (_("div", { className: itemClass, role: "presentation", ref: this.rootRef },
5997
+ _("label", { onMouseDown: this.handleOnMouseDown, className: labelClass },
5998
+ _("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 }),
5913
5999
  this.cssClasses.materialDecorator ?
5914
- preact_module_("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
5915
- preact_module_("svg", { className: this.cssClasses.itemDecorator },
5916
- preact_module_("use", { xlinkHref: this.question.itemSvgIcon })) :
6000
+ _("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
6001
+ _("svg", { className: this.cssClasses.itemDecorator },
6002
+ _("use", { xlinkHref: this.question.itemSvgIcon })) :
5917
6003
  null) :
5918
6004
  null,
5919
6005
  itemLabel)));
@@ -5934,10 +6020,10 @@ var reactquestion_radiogroup_SurveyQuestionRadioItem = /** @class */ (function (
5934
6020
  }(ReactSurveyElement));
5935
6021
 
5936
6022
  ReactElementFactory.Instance.registerElement("survey-radiogroup-item", function (props) {
5937
- return preact_module_(reactquestion_radiogroup_SurveyQuestionRadioItem, props);
6023
+ return _(reactquestion_radiogroup_SurveyQuestionRadioItem, props);
5938
6024
  });
5939
6025
  ReactQuestionFactory.Instance.registerQuestion("radiogroup", function (props) {
5940
- return preact_module_(reactquestion_radiogroup_SurveyQuestionRadiogroup, props);
6026
+ return _(reactquestion_radiogroup_SurveyQuestionRadiogroup, props);
5941
6027
  });
5942
6028
 
5943
6029
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_text.tsx
@@ -5972,11 +6058,11 @@ var reactquestion_text_SurveyQuestionText = /** @class */ (function (_super) {
5972
6058
  var inputClass = this.question.getControlClass();
5973
6059
  var placeholder = this.question.renderedPlaceholder;
5974
6060
  if (this.question.isReadOnlyRenderDiv()) {
5975
- return preact_module_("div", null, this.question.inputValue);
6061
+ return _("div", null, this.question.inputValue);
5976
6062
  }
5977
- var counter = !!this.question.getMaxLength() ? (preact_module_(character_counter_CharacterCounterComponent, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter })) : null;
5978
- return (preact_module_(b, null,
5979
- preact_module_("input", { id: this.question.inputId,
6063
+ var counter = !!this.question.getMaxLength() ? (_(character_counter_CharacterCounterComponent, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter })) : null;
6064
+ return (_(b, null,
6065
+ _("input", { id: this.question.inputId,
5980
6066
  // disabled={this.isDisplayMode}
5981
6067
  disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: inputClass, type: this.question.inputType,
5982
6068
  //ref={this.controlRef}
@@ -5985,7 +6071,7 @@ var reactquestion_text_SurveyQuestionText = /** @class */ (function (_super) {
5985
6071
  };
5986
6072
  SurveyQuestionText.prototype.renderElement = function () {
5987
6073
  return (this.question.dataListId ?
5988
- preact_module_("div", null,
6074
+ _("div", null,
5989
6075
  this.renderInput(),
5990
6076
  this.renderDataList()) :
5991
6077
  this.renderInput());
@@ -6004,15 +6090,15 @@ var reactquestion_text_SurveyQuestionText = /** @class */ (function (_super) {
6004
6090
  return null;
6005
6091
  var options = [];
6006
6092
  for (var i = 0; i < items.length; i++) {
6007
- options.push(preact_module_("option", { key: "item" + i, value: items[i] }));
6093
+ options.push(_("option", { key: "item" + i, value: items[i] }));
6008
6094
  }
6009
- return preact_module_("datalist", { id: this.question.dataListId }, options);
6095
+ return _("datalist", { id: this.question.dataListId }, options);
6010
6096
  };
6011
6097
  return SurveyQuestionText;
6012
6098
  }(reactquestion_element_SurveyQuestionUncontrolledElement));
6013
6099
 
6014
6100
  ReactQuestionFactory.Instance.registerQuestion("text", function (props) {
6015
- return preact_module_(reactquestion_text_SurveyQuestionText, props);
6101
+ return _(reactquestion_text_SurveyQuestionText, props);
6016
6102
  });
6017
6103
 
6018
6104
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/boolean.tsx
@@ -6093,25 +6179,25 @@ var boolean_SurveyQuestionBoolean = /** @class */ (function (_super) {
6093
6179
  var _this = this;
6094
6180
  var cssClasses = this.question.cssClasses;
6095
6181
  var itemClass = this.question.getItemCss();
6096
- return (preact_module_("div", { className: cssClasses.root, onKeyDown: this.handleOnKeyDown },
6097
- preact_module_("label", { className: itemClass, onClick: this.handleOnClick },
6098
- preact_module_("input", { ref: this.checkRef, type: "checkbox", name: this.question.name, value: this.question.booleanValue === null
6182
+ return (_("div", { className: cssClasses.root, onKeyDown: this.handleOnKeyDown },
6183
+ _("label", { className: itemClass, onClick: this.handleOnClick },
6184
+ _("input", { ref: this.checkRef, type: "checkbox", name: this.question.name, value: this.question.booleanValue === null
6099
6185
  ? ""
6100
6186
  : this.question.booleanValue, id: this.question.inputId, className: cssClasses.control, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.booleanValue || false, 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 }),
6101
- preact_module_("div", { className: cssClasses.sliderGhost, onClick: function (event) { return _this.handleOnLabelClick(event, _this.question.swapOrder); } },
6102
- preact_module_("span", { className: this.question.getLabelCss(this.question.swapOrder) }, this.renderLocString(this.question.locLabelLeft))),
6103
- preact_module_("div", { className: cssClasses.switch, onClick: this.handleOnSwitchClick },
6104
- preact_module_("span", { className: cssClasses.slider }, this.question.isDeterminated && cssClasses.sliderText ?
6105
- preact_module_("span", { className: cssClasses.sliderText }, this.renderLocString(this.question.getCheckedLabel()))
6187
+ _("div", { className: cssClasses.sliderGhost, onClick: function (event) { return _this.handleOnLabelClick(event, _this.question.swapOrder); } },
6188
+ _("span", { className: this.question.getLabelCss(this.question.swapOrder) }, this.renderLocString(this.question.locLabelLeft))),
6189
+ _("div", { className: cssClasses.switch, onClick: this.handleOnSwitchClick },
6190
+ _("span", { className: cssClasses.slider }, this.question.isDeterminated && cssClasses.sliderText ?
6191
+ _("span", { className: cssClasses.sliderText }, this.renderLocString(this.question.getCheckedLabel()))
6106
6192
  : null)),
6107
- preact_module_("div", { className: cssClasses.sliderGhost, onClick: function (event) { return _this.handleOnLabelClick(event, !_this.question.swapOrder); } },
6108
- preact_module_("span", { className: this.question.getLabelCss(!this.question.swapOrder) }, this.renderLocString(this.question.locLabelRight))))));
6193
+ _("div", { className: cssClasses.sliderGhost, onClick: function (event) { return _this.handleOnLabelClick(event, !_this.question.swapOrder); } },
6194
+ _("span", { className: this.question.getLabelCss(!this.question.swapOrder) }, this.renderLocString(this.question.locLabelRight))))));
6109
6195
  };
6110
6196
  return SurveyQuestionBoolean;
6111
6197
  }(reactquestion_element_SurveyQuestionElementBase));
6112
6198
 
6113
6199
  ReactQuestionFactory.Instance.registerQuestion("boolean", function (props) {
6114
- return preact_module_(boolean_SurveyQuestionBoolean, props);
6200
+ return _(boolean_SurveyQuestionBoolean, props);
6115
6201
  });
6116
6202
 
6117
6203
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/boolean-checkbox.tsx
@@ -6146,26 +6232,26 @@ var boolean_checkbox_SurveyQuestionBooleanCheckbox = /** @class */ (function (_s
6146
6232
  var itemClass = this.question.getCheckboxItemCss();
6147
6233
  var description = this.question.canRenderLabelDescription ?
6148
6234
  reactquestion_element_SurveyElementBase.renderQuestionDescription(this.question) : null;
6149
- return (preact_module_("div", { className: cssClasses.rootCheckbox },
6150
- preact_module_("div", { className: itemClass },
6151
- preact_module_("label", { className: cssClasses.checkboxLabel },
6152
- preact_module_("input", { ref: this.checkRef, type: "checkbox", name: this.question.name, value: this.question.booleanValue === null
6235
+ return (_("div", { className: cssClasses.rootCheckbox },
6236
+ _("div", { className: itemClass },
6237
+ _("label", { className: cssClasses.checkboxLabel },
6238
+ _("input", { ref: this.checkRef, type: "checkbox", name: this.question.name, value: this.question.booleanValue === null
6153
6239
  ? ""
6154
6240
  : this.question.booleanValue, id: this.question.inputId, className: cssClasses.controlCheckbox, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.booleanValue || false, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
6155
- preact_module_("span", { className: cssClasses.checkboxMaterialDecorator },
6241
+ _("span", { className: cssClasses.checkboxMaterialDecorator },
6156
6242
  this.question.svgIcon ?
6157
- preact_module_("svg", { className: cssClasses.checkboxItemDecorator },
6158
- preact_module_("use", { xlinkHref: this.question.svgIcon })) : null,
6159
- preact_module_("span", { className: "check" })),
6160
- this.question.isLabelRendered && (preact_module_("span", { className: cssClasses.checkboxControlLabel, id: this.question.labelRenderedAriaID },
6161
- preact_module_(title_actions_TitleActions, { element: this.question, cssClasses: this.question.cssClasses })))),
6243
+ _("svg", { className: cssClasses.checkboxItemDecorator },
6244
+ _("use", { xlinkHref: this.question.svgIcon })) : null,
6245
+ _("span", { className: "check" })),
6246
+ this.question.isLabelRendered && (_("span", { className: cssClasses.checkboxControlLabel, id: this.question.labelRenderedAriaID },
6247
+ _(title_actions_TitleActions, { element: this.question, cssClasses: this.question.cssClasses })))),
6162
6248
  description)));
6163
6249
  };
6164
6250
  return SurveyQuestionBooleanCheckbox;
6165
6251
  }(boolean_SurveyQuestionBoolean));
6166
6252
 
6167
6253
  ReactQuestionFactory.Instance.registerQuestion("sv-boolean-checkbox", function (props) {
6168
- return preact_module_(boolean_checkbox_SurveyQuestionBooleanCheckbox, props);
6254
+ return _(boolean_checkbox_SurveyQuestionBooleanCheckbox, props);
6169
6255
  });
6170
6256
  external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["RendererFactory"].Instance.registerRenderer("boolean", "checkbox", "sv-boolean-checkbox");
6171
6257
 
@@ -6200,24 +6286,24 @@ var boolean_radio_SurveyQuestionBooleanRadio = /** @class */ (function (_super)
6200
6286
  }
6201
6287
  SurveyQuestionBooleanRadio.prototype.renderRadioItem = function (value, locText) {
6202
6288
  var cssClasses = this.question.cssClasses;
6203
- return (preact_module_("div", { role: "presentation", className: this.question.getRadioItemClass(cssClasses, value) },
6204
- preact_module_("label", { className: cssClasses.radioLabel },
6205
- preact_module_("input", { type: "radio", name: this.question.name, value: value, "aria-errormessage": this.question.ariaErrormessage, checked: value === this.question.booleanValueRendered, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: cssClasses.itemRadioControl, onChange: this.handleOnChange }),
6289
+ return (_("div", { role: "presentation", className: this.question.getRadioItemClass(cssClasses, value) },
6290
+ _("label", { className: cssClasses.radioLabel },
6291
+ _("input", { type: "radio", name: this.question.name, value: value, "aria-errormessage": this.question.ariaErrormessage, checked: value === this.question.booleanValueRendered, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: cssClasses.itemRadioControl, onChange: this.handleOnChange }),
6206
6292
  this.question.cssClasses.materialRadioDecorator ?
6207
- (preact_module_("span", { className: cssClasses.materialRadioDecorator }, this.question.itemSvgIcon ?
6208
- (preact_module_("svg", { className: cssClasses.itemRadioDecorator },
6209
- preact_module_("use", { xlinkHref: this.question.itemSvgIcon }))) : null)) : null,
6210
- preact_module_("span", { className: cssClasses.radioControlLabel }, this.renderLocString(locText)))));
6293
+ (_("span", { className: cssClasses.materialRadioDecorator }, this.question.itemSvgIcon ?
6294
+ (_("svg", { className: cssClasses.itemRadioDecorator },
6295
+ _("use", { xlinkHref: this.question.itemSvgIcon }))) : null)) : null,
6296
+ _("span", { className: cssClasses.radioControlLabel }, this.renderLocString(locText)))));
6211
6297
  };
6212
6298
  SurveyQuestionBooleanRadio.prototype.renderElement = function () {
6213
6299
  var cssClasses = this.question.cssClasses;
6214
- return (preact_module_("div", { className: cssClasses.rootRadio },
6215
- preact_module_("fieldset", { role: "presentation", className: cssClasses.radioFieldset }, !this.question.swapOrder ?
6216
- (preact_module_(b, null,
6300
+ return (_("div", { className: cssClasses.rootRadio },
6301
+ _("fieldset", { role: "presentation", className: cssClasses.radioFieldset }, !this.question.swapOrder ?
6302
+ (_(b, null,
6217
6303
  this.renderRadioItem(false, this.question.locLabelFalse),
6218
6304
  this.renderRadioItem(true, this.question.locLabelTrue)))
6219
6305
  :
6220
- (preact_module_(b, null,
6306
+ (_(b, null,
6221
6307
  this.renderRadioItem(true, this.question.locLabelTrue),
6222
6308
  this.renderRadioItem(false, this.question.locLabelFalse))))));
6223
6309
  };
@@ -6225,7 +6311,7 @@ var boolean_radio_SurveyQuestionBooleanRadio = /** @class */ (function (_super)
6225
6311
  }(boolean_SurveyQuestionBoolean));
6226
6312
 
6227
6313
  ReactQuestionFactory.Instance.registerQuestion("sv-boolean-radio", function (props) {
6228
- return preact_module_(boolean_radio_SurveyQuestionBooleanRadio, props);
6314
+ return _(boolean_radio_SurveyQuestionBooleanRadio, props);
6229
6315
  });
6230
6316
  external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["RendererFactory"].Instance.registerRenderer("boolean", "radio", "sv-boolean-radio");
6231
6317
 
@@ -6263,13 +6349,13 @@ var reactquestion_empty_SurveyQuestionEmpty = /** @class */ (function (_super) {
6263
6349
  configurable: true
6264
6350
  });
6265
6351
  SurveyQuestionEmpty.prototype.renderElement = function () {
6266
- return preact_module_("div", null);
6352
+ return _("div", null);
6267
6353
  };
6268
6354
  return SurveyQuestionEmpty;
6269
6355
  }(reactquestion_element_SurveyQuestionElementBase));
6270
6356
 
6271
6357
  ReactQuestionFactory.Instance.registerQuestion("empty", function (props) {
6272
- return preact_module_(reactquestion_empty_SurveyQuestionEmpty, props);
6358
+ return _(reactquestion_empty_SurveyQuestionEmpty, props);
6273
6359
  });
6274
6360
 
6275
6361
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/matrix/row.tsx
@@ -6482,22 +6568,22 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6482
6568
  }
6483
6569
  var cellContent = this.renderCellContent(cell, "column-header", {});
6484
6570
  var header = cell.hasTitle ?
6485
- preact_module_("th", { className: cell.className, key: key, style: columnStyle },
6571
+ _("th", { className: cell.className, key: key, style: columnStyle },
6486
6572
  " ",
6487
6573
  cellContent,
6488
6574
  " ")
6489
- : preact_module_("td", { className: cell.className, key: key, style: columnStyle });
6575
+ : _("td", { className: cell.className, key: key, style: columnStyle });
6490
6576
  headers.push(header);
6491
6577
  }
6492
- return (preact_module_("thead", null,
6493
- preact_module_("tr", null, headers)));
6578
+ return (_("thead", null,
6579
+ _("tr", null, headers)));
6494
6580
  };
6495
6581
  SurveyQuestionMatrixTable.prototype.renderFooter = function () {
6496
6582
  var table = this.question.renderedTable;
6497
6583
  if (!table.showFooter)
6498
6584
  return null;
6499
6585
  var row = this.renderRow("footer", table.footerRow, this.question.cssClasses, "row-footer");
6500
- return preact_module_("tfoot", null, row);
6586
+ return _("tfoot", null, row);
6501
6587
  };
6502
6588
  SurveyQuestionMatrixTable.prototype.renderRows = function () {
6503
6589
  var cssClasses = this.question.cssClasses;
@@ -6506,7 +6592,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6506
6592
  for (var i = 0; i < renderedRows.length; i++) {
6507
6593
  rows.push(this.renderRow(renderedRows[i].id, renderedRows[i], cssClasses));
6508
6594
  }
6509
- return preact_module_("tbody", null, rows);
6595
+ return _("tbody", null, rows);
6510
6596
  };
6511
6597
  SurveyQuestionMatrixTable.prototype.renderRow = function (keyValue, row, cssClasses, reason) {
6512
6598
  var matrixrow = [];
@@ -6515,16 +6601,16 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6515
6601
  matrixrow.push(this.renderCell(cells[i], i, cssClasses, reason));
6516
6602
  }
6517
6603
  var key = "row" + keyValue;
6518
- return (preact_module_(b, { key: key }, (reason == "row-footer") ? preact_module_("tr", null, matrixrow) : preact_module_(row_MatrixRow, { model: row, parentMatrix: this.question }, matrixrow)));
6604
+ return (_(b, { key: key }, (reason == "row-footer") ? _("tr", null, matrixrow) : _(row_MatrixRow, { model: row, parentMatrix: this.question }, matrixrow)));
6519
6605
  };
6520
6606
  SurveyQuestionMatrixTable.prototype.renderCell = function (cell, index, cssClasses, reason) {
6521
6607
  var key = "cell" + index;
6522
6608
  if (cell.hasQuestion) {
6523
- return (preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell, { key: key, cssClasses: cssClasses, cell: cell, creator: this.creator, reason: reason }));
6609
+ return (_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell, { key: key, cssClasses: cssClasses, cell: cell, creator: this.creator, reason: reason }));
6524
6610
  }
6525
6611
  if (cell.isErrorsCell) {
6526
6612
  if (cell.isErrorsCell) {
6527
- return (preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownErrorsCell, { cell: cell, key: key, keyValue: key, question: cell.question, creator: this.creator }));
6613
+ return (_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownErrorsCell, { cell: cell, key: key, keyValue: key, question: cell.question, creator: this.creator }));
6528
6614
  }
6529
6615
  }
6530
6616
  var calcReason = reason;
@@ -6540,7 +6626,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6540
6626
  if (!!cell.minWidth)
6541
6627
  cellStyle.minWidth = cell.minWidth;
6542
6628
  }
6543
- return (preact_module_("td", { className: cell.className, key: key, style: cellStyle, colSpan: cell.colSpans, title: cell.getTitle() }, cellContent));
6629
+ return (_("td", { className: cell.className, key: key, style: cellStyle, colSpan: cell.colSpans, title: cell.getTitle() }, cellContent));
6544
6630
  };
6545
6631
  SurveyQuestionMatrixTable.prototype.renderCellContent = function (cell, reason, cssClasses) {
6546
6632
  var cellContent = null;
@@ -6555,14 +6641,14 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6555
6641
  if (cell.hasTitle) {
6556
6642
  reason = "row-header";
6557
6643
  var str = this.renderLocString(cell.locTitle);
6558
- var require_1 = !!cell.column ? preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired, { column: cell.column, question: this.question }) : null;
6559
- cellContent = (preact_module_(b, null,
6644
+ var require_1 = !!cell.column ? _(reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired, { column: cell.column, question: this.question }) : null;
6645
+ cellContent = (_(b, null,
6560
6646
  str,
6561
6647
  require_1));
6562
6648
  }
6563
6649
  if (cell.isDragHandlerCell) {
6564
- cellContent = (preact_module_(b, null,
6565
- preact_module_(drag_drop_icon_SurveyQuestionMatrixDynamicDragDropIcon, { item: { data: { row: cell.row, question: this.question } } })));
6650
+ cellContent = (_(b, null,
6651
+ _(drag_drop_icon_SurveyQuestionMatrixDynamicDragDropIcon, { item: { data: { row: cell.row, question: this.question } } })));
6566
6652
  }
6567
6653
  if (cell.isActionsCell) {
6568
6654
  cellContent = (ReactElementFactory.Instance.createElement("sv-matrixdynamic-actions-cell", {
@@ -6572,18 +6658,18 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6572
6658
  }));
6573
6659
  }
6574
6660
  if (cell.hasPanel) {
6575
- cellContent = (preact_module_(panel_SurveyPanel, { key: cell.panel.id, element: cell.panel, survey: this.question.survey, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, creator: this.creator }));
6661
+ cellContent = (_(panel_SurveyPanel, { key: cell.panel.id, element: cell.panel, survey: this.question.survey, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, creator: this.creator }));
6576
6662
  }
6577
6663
  if (!cellContent)
6578
6664
  return null;
6579
- var readyCell = (preact_module_(b, null, cellContent));
6665
+ var readyCell = (_(b, null, cellContent));
6580
6666
  return this.wrapCell(cell, readyCell, reason);
6581
6667
  };
6582
6668
  SurveyQuestionMatrixTable.prototype.renderElement = function () {
6583
6669
  var header = this.renderHeader();
6584
6670
  var footers = this.renderFooter();
6585
6671
  var rows = this.renderRows();
6586
- return (preact_module_("table", { className: this.question.getTableCss() },
6672
+ return (_("table", { className: this.question.getTableCss() },
6587
6673
  header,
6588
6674
  rows,
6589
6675
  footers));
@@ -6634,8 +6720,8 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownBase = /** @cla
6634
6720
  var divStyle = this.question.showHorizontalScroll
6635
6721
  ? { overflowX: "scroll" }
6636
6722
  : {};
6637
- return (preact_module_("div", { style: divStyle, className: this.question.cssClasses.tableWrapper, ref: function (root) { return (_this.setControl(root)); } },
6638
- preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable, { question: this.question, creator: this.creator, wrapCell: function (cell, element, reason) { return _this.wrapCell(cell, element, reason); } })));
6723
+ return (_("div", { style: divStyle, className: this.question.cssClasses.tableWrapper, ref: function (root) { return (_this.setControl(root)); } },
6724
+ _(reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable, { question: this.question, creator: this.creator, wrapCell: function (cell, element, reason) { return _this.wrapCell(cell, element, reason); } })));
6639
6725
  };
6640
6726
  return SurveyQuestionMatrixDropdownBase;
6641
6727
  }(reactquestion_element_SurveyQuestionElementBase));
@@ -6653,7 +6739,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixActionsCell = /** @clas
6653
6739
  configurable: true
6654
6740
  });
6655
6741
  SurveyQuestionMatrixActionsCell.prototype.renderElement = function () {
6656
- return (preact_module_(action_bar_SurveyActionBar, { model: this.model, handleClick: false }));
6742
+ return (_(action_bar_SurveyActionBar, { model: this.model, handleClick: false }));
6657
6743
  };
6658
6744
  return SurveyQuestionMatrixActionsCell;
6659
6745
  }(ReactSurveyElement));
@@ -6679,7 +6765,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownErrorsCell = /*
6679
6765
  SurveyQuestionMatrixDropdownErrorsCell.prototype.render = function () {
6680
6766
  if (!this.cell.isVisible)
6681
6767
  return null;
6682
- return preact_module_("td", { className: this.cell.className, key: this.key, colSpan: this.cell.colSpans, title: this.cell.getTitle() }, _super.prototype.render.call(this));
6768
+ return _("td", { className: this.cell.className, key: this.key, colSpan: this.cell.colSpans, title: this.cell.getTitle() }, _super.prototype.render.call(this));
6683
6769
  };
6684
6770
  SurveyQuestionMatrixDropdownErrorsCell.prototype.getQuestionPropertiesToTrack = function () {
6685
6771
  return _super.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"]);
@@ -6687,7 +6773,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownErrorsCell = /*
6687
6773
  return SurveyQuestionMatrixDropdownErrorsCell;
6688
6774
  }(reactquestion_SurveyQuestionErrorCell));
6689
6775
  ReactElementFactory.Instance.registerElement("sv-matrixdynamic-actions-cell", function (props) {
6690
- return preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixActionsCell, props);
6776
+ return _(reactquestion_matrixdropdownbase_SurveyQuestionMatrixActionsCell, props);
6691
6777
  });
6692
6778
  var reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired = /** @class */ (function (_super) {
6693
6779
  reactquestion_matrixdropdownbase_extends(SurveyQuestionMatrixHeaderRequired, _super);
@@ -6714,9 +6800,9 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired = /** @c
6714
6800
  SurveyQuestionMatrixHeaderRequired.prototype.renderElement = function () {
6715
6801
  if (!this.column.isRenderedRequired)
6716
6802
  return null;
6717
- return (preact_module_(b, null,
6718
- preact_module_("span", null, "\u00A0"),
6719
- preact_module_("span", { className: this.question.cssClasses.cellRequiredText }, this.column.requiredText)));
6803
+ return (_(b, null,
6804
+ _("span", null, "\u00A0"),
6805
+ _("span", { className: this.question.cssClasses.cellRequiredText }, this.column.requiredText)));
6720
6806
  };
6721
6807
  return SurveyQuestionMatrixHeaderRequired;
6722
6808
  }(ReactSurveyElement));
@@ -6791,14 +6877,14 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell = /** @cla
6791
6877
  };
6792
6878
  SurveyQuestionMatrixDropdownCell.prototype.renderCellContent = function () {
6793
6879
  var content = _super.prototype.renderCellContent.call(this);
6794
- var responsiveTitle = this.cell.showResponsiveTitle ? (preact_module_("span", { className: this.cell.responsiveTitleCss }, this.renderLocString(this.cell.responsiveLocTitle))) : null;
6795
- return preact_module_(b, null,
6880
+ var responsiveTitle = this.cell.showResponsiveTitle ? (_("span", { className: this.cell.responsiveTitleCss }, this.renderLocString(this.cell.responsiveLocTitle))) : null;
6881
+ return _(b, null,
6796
6882
  responsiveTitle,
6797
6883
  content);
6798
6884
  };
6799
6885
  SurveyQuestionMatrixDropdownCell.prototype.renderQuestion = function () {
6800
6886
  if (!this.question.isVisible)
6801
- return preact_module_(b, null);
6887
+ return _(b, null);
6802
6888
  if (!this.cell.isChoice)
6803
6889
  return reactquestion_SurveyQuestion.renderQuestionBody(this.creator, this.question);
6804
6890
  if (this.cell.isOtherChoice)
@@ -6810,15 +6896,15 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell = /** @cla
6810
6896
  SurveyQuestionMatrixDropdownCell.prototype.renderOtherComment = function () {
6811
6897
  var question = this.cell.question;
6812
6898
  var cssClasses = question.cssClasses || {};
6813
- return preact_module_(SurveyQuestionOtherValueItem, { question: question, cssClasses: cssClasses, otherCss: cssClasses.other, isDisplayMode: question.isInputReadOnly });
6899
+ return _(SurveyQuestionOtherValueItem, { question: question, cssClasses: cssClasses, otherCss: cssClasses.other, isDisplayMode: question.isInputReadOnly });
6814
6900
  };
6815
6901
  SurveyQuestionMatrixDropdownCell.prototype.renderCellCheckboxButton = function () {
6816
6902
  var key = this.cell.question.id + "item" + this.cell.choiceIndex;
6817
- return (preact_module_(reactquestion_checkbox_SurveyQuestionCheckboxItem, { key: key, 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: true }));
6903
+ return (_(reactquestion_checkbox_SurveyQuestionCheckboxItem, { key: key, 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: true }));
6818
6904
  };
6819
6905
  SurveyQuestionMatrixDropdownCell.prototype.renderCellRadiogroupButton = function () {
6820
6906
  var key = this.cell.question.id + "item" + this.cell.choiceIndex;
6821
- return (preact_module_(reactquestion_radiogroup_SurveyQuestionRadioItem, { key: key, 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: true }));
6907
+ return (_(reactquestion_radiogroup_SurveyQuestionRadioItem, { key: key, 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: true }));
6822
6908
  };
6823
6909
  return SurveyQuestionMatrixDropdownCell;
6824
6910
  }(reactquestion_SurveyQuestionAndErrorsCell));
@@ -6852,7 +6938,7 @@ var SurveyQuestionMatrixDropdown = /** @class */ (function (_super) {
6852
6938
  }(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownBase));
6853
6939
 
6854
6940
  ReactQuestionFactory.Instance.registerQuestion("matrixdropdown", function (props) {
6855
- return preact_module_(SurveyQuestionMatrixDropdown, props);
6941
+ return _(SurveyQuestionMatrixDropdown, props);
6856
6942
  });
6857
6943
 
6858
6944
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_matrixdynamic.tsx
@@ -6899,7 +6985,7 @@ var reactquestion_matrixdynamic_SurveyQuestionMatrixDynamic = /** @class */ (fun
6899
6985
  var mainDiv = showTable
6900
6986
  ? this.renderTableDiv()
6901
6987
  : this.renderNoRowsContent(cssClasses);
6902
- return (preact_module_("div", null,
6988
+ return (_("div", null,
6903
6989
  this.renderAddRowButtonOnTop(cssClasses),
6904
6990
  mainDiv,
6905
6991
  this.renderAddRowButtonOnBottom(cssClasses)));
@@ -6916,9 +7002,9 @@ var reactquestion_matrixdynamic_SurveyQuestionMatrixDynamic = /** @class */ (fun
6916
7002
  };
6917
7003
  SurveyQuestionMatrixDynamic.prototype.renderNoRowsContent = function (cssClasses) {
6918
7004
  var text = this.renderLocString(this.matrix.locEmptyRowsText);
6919
- var textDiv = preact_module_("div", { className: cssClasses.emptyRowsText }, text);
7005
+ var textDiv = _("div", { className: cssClasses.emptyRowsText }, text);
6920
7006
  var btn = this.matrix.renderedTable.showAddRow ? this.renderAddRowButton(cssClasses, true) : undefined;
6921
- return (preact_module_("div", { className: cssClasses.emptyRowsSection },
7007
+ return (_("div", { className: cssClasses.emptyRowsSection },
6922
7008
  textDiv,
6923
7009
  btn));
6924
7010
  };
@@ -6933,7 +7019,7 @@ var reactquestion_matrixdynamic_SurveyQuestionMatrixDynamic = /** @class */ (fun
6933
7019
  }(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownBase));
6934
7020
 
6935
7021
  ReactQuestionFactory.Instance.registerQuestion("matrixdynamic", function (props) {
6936
- return preact_module_(reactquestion_matrixdynamic_SurveyQuestionMatrixDynamic, props);
7022
+ return _(reactquestion_matrixdynamic_SurveyQuestionMatrixDynamic, props);
6937
7023
  });
6938
7024
  var reactquestion_matrixdynamic_SurveyQuestionMatrixDynamicAddButton = /** @class */ (function (_super) {
6939
7025
  reactquestion_matrixdynamic_extends(SurveyQuestionMatrixDynamicAddButton, _super);
@@ -6954,16 +7040,16 @@ var reactquestion_matrixdynamic_SurveyQuestionMatrixDynamicAddButton = /** @clas
6954
7040
  };
6955
7041
  SurveyQuestionMatrixDynamicAddButton.prototype.renderElement = function () {
6956
7042
  var addRowText = this.renderLocString(this.matrix.locAddRowText);
6957
- var addButton = (preact_module_("button", { className: this.matrix.getAddRowButtonCss(this.props.isEmptySection), type: "button", disabled: this.matrix.isInputReadOnly, onClick: this.matrix.isDesignMode ? undefined : this.handleOnRowAddClick },
7043
+ var addButton = (_("button", { className: this.matrix.getAddRowButtonCss(this.props.isEmptySection), type: "button", disabled: this.matrix.isInputReadOnly, onClick: this.matrix.isDesignMode ? undefined : this.handleOnRowAddClick },
6958
7044
  addRowText,
6959
- preact_module_("span", { className: this.props.cssClasses.iconAdd })));
6960
- return (this.props.isEmptySection ? addButton : preact_module_("div", { className: this.props.cssClasses.footer }, addButton));
7045
+ _("span", { className: this.props.cssClasses.iconAdd })));
7046
+ return (this.props.isEmptySection ? addButton : _("div", { className: this.props.cssClasses.footer }, addButton));
6961
7047
  };
6962
7048
  return SurveyQuestionMatrixDynamicAddButton;
6963
7049
  }(ReactSurveyElement));
6964
7050
 
6965
7051
  ReactElementFactory.Instance.registerElement("sv-matrixdynamic-add-btn", function (props) {
6966
- return preact_module_(reactquestion_matrixdynamic_SurveyQuestionMatrixDynamicAddButton, props);
7052
+ return _(reactquestion_matrixdynamic_SurveyQuestionMatrixDynamicAddButton, props);
6967
7053
  });
6968
7054
 
6969
7055
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.tsx
@@ -7210,7 +7296,7 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamic = /** @class */ (funct
7210
7296
  var _this = this;
7211
7297
  var panels = [];
7212
7298
  this.question.renderedPanels.forEach(function (panel, index) {
7213
- panels.push(preact_module_(reactquestion_paneldynamic_SurveyQuestionPanelDynamicItem, { key: panel.id, element: panel, question: _this.question, index: index, cssClasses: _this.question.cssClasses, isDisplayMode: _this.isDisplayMode, creator: _this.creator }));
7299
+ panels.push(_(reactquestion_paneldynamic_SurveyQuestionPanelDynamicItem, { key: panel.id, element: panel, question: _this.question, index: index, cssClasses: _this.question.cssClasses, isDisplayMode: _this.isDisplayMode, creator: _this.creator }));
7214
7300
  });
7215
7301
  var btnAdd = this.question.isRenderModeList && this.question["showLegacyNavigation"]
7216
7302
  ? this.renderAddRowButton()
@@ -7223,10 +7309,10 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamic = /** @class */ (funct
7223
7309
  : null;
7224
7310
  var navV2 = this.renderNavigatorV2();
7225
7311
  var noEntriesPlaceholder = this.renderPlaceholder();
7226
- return (preact_module_("div", { className: this.question.cssClasses.root },
7312
+ return (_("div", { className: this.question.cssClasses.root },
7227
7313
  noEntriesPlaceholder,
7228
7314
  navTop,
7229
- preact_module_("div", { className: this.question.cssClasses.panelsContainer }, panels),
7315
+ _("div", { className: this.question.cssClasses.panelsContainer }, panels),
7230
7316
  navBottom,
7231
7317
  btnAdd,
7232
7318
  navV2));
@@ -7247,9 +7333,9 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamic = /** @class */ (funct
7247
7333
  var progressClass = this.question.isProgressTopShowing
7248
7334
  ? this.question.cssClasses.progressTop
7249
7335
  : this.question.cssClasses.progressBottom;
7250
- return (preact_module_("div", { className: progressClass },
7251
- preact_module_("div", { style: { clear: "both" } },
7252
- preact_module_("div", { className: this.question.cssClasses.progressContainer },
7336
+ return (_("div", { className: progressClass },
7337
+ _("div", { style: { clear: "both" } },
7338
+ _("div", { className: this.question.cssClasses.progressContainer },
7253
7339
  btnPrev,
7254
7340
  range,
7255
7341
  btnNext),
@@ -7257,17 +7343,17 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamic = /** @class */ (funct
7257
7343
  this.renderProgressText())));
7258
7344
  };
7259
7345
  SurveyQuestionPanelDynamic.prototype.renderProgressText = function () {
7260
- return (preact_module_(paneldynamic_progress_text_SurveyQuestionPanelDynamicProgressText, { data: { question: this.question } }));
7346
+ return (_(paneldynamic_progress_text_SurveyQuestionPanelDynamicProgressText, { data: { question: this.question } }));
7261
7347
  };
7262
7348
  SurveyQuestionPanelDynamic.prototype.rendrerPrevButton = function () {
7263
- return (preact_module_(paneldynamic_prev_btn_SurveyQuestionPanelDynamicPrevButton, { data: { question: this.question } }));
7349
+ return (_(paneldynamic_prev_btn_SurveyQuestionPanelDynamicPrevButton, { data: { question: this.question } }));
7264
7350
  };
7265
7351
  SurveyQuestionPanelDynamic.prototype.rendrerNextButton = function () {
7266
- return (preact_module_(paneldynamic_next_btn_SurveyQuestionPanelDynamicNextButton, { data: { question: this.question } }));
7352
+ return (_(paneldynamic_next_btn_SurveyQuestionPanelDynamicNextButton, { data: { question: this.question } }));
7267
7353
  };
7268
7354
  SurveyQuestionPanelDynamic.prototype.renderRange = function () {
7269
- return (preact_module_("div", { className: this.question.cssClasses.progress },
7270
- preact_module_("div", { className: this.question.cssClasses.progressBar, style: { width: this.question.progress }, role: "progressbar" })));
7355
+ return (_("div", { className: this.question.cssClasses.progress },
7356
+ _("div", { className: this.question.cssClasses.progressBar, style: { width: this.question.progress }, role: "progressbar" })));
7271
7357
  };
7272
7358
  SurveyQuestionPanelDynamic.prototype.renderAddRowButton = function () {
7273
7359
  return ReactElementFactory.Instance.createElement("sv-paneldynamic-add-btn", {
@@ -7278,16 +7364,16 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamic = /** @class */ (funct
7278
7364
  if (!this.question.showNavigation)
7279
7365
  return null;
7280
7366
  var range = this.question.isRangeShowing && this.question.isProgressBottomShowing ? this.renderRange() : null;
7281
- return (preact_module_("div", { className: this.question.cssClasses.footer },
7282
- preact_module_("hr", { className: this.question.cssClasses.separator }),
7367
+ return (_("div", { className: this.question.cssClasses.footer },
7368
+ _("hr", { className: this.question.cssClasses.separator }),
7283
7369
  range,
7284
- this.question.footerToolbar.visibleActions.length ? (preact_module_("div", { className: this.question.cssClasses.footerButtonsContainer },
7285
- preact_module_(action_bar_SurveyActionBar, { model: this.question.footerToolbar }))) : null));
7370
+ this.question.footerToolbar.visibleActions.length ? (_("div", { className: this.question.cssClasses.footerButtonsContainer },
7371
+ _(action_bar_SurveyActionBar, { model: this.question.footerToolbar }))) : null));
7286
7372
  };
7287
7373
  SurveyQuestionPanelDynamic.prototype.renderPlaceholder = function () {
7288
7374
  if (this.question.getShowNoEntriesPlaceholder()) {
7289
- return (preact_module_("div", { className: this.question.cssClasses.noEntriesPlaceholder },
7290
- preact_module_("span", null, this.renderLocString(this.question.locNoEntriesText)),
7375
+ return (_("div", { className: this.question.cssClasses.noEntriesPlaceholder },
7376
+ _("span", null, this.renderLocString(this.question.locNoEntriesText)),
7291
7377
  this.renderAddRowButton()));
7292
7378
  }
7293
7379
  return null;
@@ -7325,9 +7411,9 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamicItem = /** @class */ (f
7325
7411
  var panel = _super.prototype.render.call(this);
7326
7412
  var removeButton = this.renderButton();
7327
7413
  var separator = this.question.showSeparator(this.index) ?
7328
- (preact_module_("hr", { className: this.question.cssClasses.separator })) : null;
7329
- return (preact_module_(b, null,
7330
- preact_module_("div", { className: this.question.getPanelWrapperCss(this.panel) },
7414
+ (_("hr", { className: this.question.cssClasses.separator })) : null;
7415
+ return (_(b, null,
7416
+ _("div", { className: this.question.getPanelWrapperCss(this.panel) },
7331
7417
  panel,
7332
7418
  removeButton),
7333
7419
  separator));
@@ -7346,7 +7432,7 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamicItem = /** @class */ (f
7346
7432
  }(panel_SurveyPanel));
7347
7433
 
7348
7434
  ReactQuestionFactory.Instance.registerQuestion("paneldynamic", function (props) {
7349
- return preact_module_(reactquestion_paneldynamic_SurveyQuestionPanelDynamic, props);
7435
+ return _(reactquestion_paneldynamic_SurveyQuestionPanelDynamic, props);
7350
7436
  });
7351
7437
 
7352
7438
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/progress.tsx
@@ -7399,25 +7485,25 @@ var progress_SurveyProgress = /** @class */ (function (_super) {
7399
7485
  var progressStyle = {
7400
7486
  width: this.progress + "%",
7401
7487
  };
7402
- return (preact_module_("div", { className: this.survey.getProgressCssClasses(this.props.container) },
7403
- preact_module_("div", { style: progressStyle, className: this.css.progressBar, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
7404
- preact_module_("span", { className: external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SurveyProgressModel"].getProgressTextInBarCss(this.css) }, this.progressText)),
7405
- preact_module_("span", { className: external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SurveyProgressModel"].getProgressTextUnderBarCss(this.css) }, this.progressText)));
7488
+ return (_("div", { className: this.survey.getProgressCssClasses(this.props.container) },
7489
+ _("div", { style: progressStyle, className: this.css.progressBar, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
7490
+ _("span", { className: external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SurveyProgressModel"].getProgressTextInBarCss(this.css) }, this.progressText)),
7491
+ _("span", { className: external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SurveyProgressModel"].getProgressTextUnderBarCss(this.css) }, this.progressText)));
7406
7492
  };
7407
7493
  return SurveyProgress;
7408
7494
  }(SurveyNavigationBase));
7409
7495
 
7410
7496
  ReactElementFactory.Instance.registerElement("sv-progress-pages", function (props) {
7411
- return preact_module_(progress_SurveyProgress, props);
7497
+ return _(progress_SurveyProgress, props);
7412
7498
  });
7413
7499
  ReactElementFactory.Instance.registerElement("sv-progress-questions", function (props) {
7414
- return preact_module_(progress_SurveyProgress, props);
7500
+ return _(progress_SurveyProgress, props);
7415
7501
  });
7416
7502
  ReactElementFactory.Instance.registerElement("sv-progress-correctquestions", function (props) {
7417
- return preact_module_(progress_SurveyProgress, props);
7503
+ return _(progress_SurveyProgress, props);
7418
7504
  });
7419
7505
  ReactElementFactory.Instance.registerElement("sv-progress-requiredquestions", function (props) {
7420
- return preact_module_(progress_SurveyProgress, props);
7506
+ return _(progress_SurveyProgress, props);
7421
7507
  });
7422
7508
 
7423
7509
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/progressButtons.tsx
@@ -7475,20 +7561,20 @@ var progressButtons_SurveyProgressButtons = /** @class */ (function (_super) {
7475
7561
  };
7476
7562
  SurveyProgressButtons.prototype.render = function () {
7477
7563
  var _this = this;
7478
- return (preact_module_("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth }, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
7479
- this.state.canShowHeader ? preact_module_("div", { className: this.css.progressButtonsHeader },
7480
- preact_module_("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
7481
- preact_module_("div", { className: this.css.progressButtonsContainer },
7482
- preact_module_("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, true), role: "button", onClick: function () {
7564
+ return (_("div", { className: this.model.getRootCss(this.props.container), style: { "maxWidth": this.model.progressWidth }, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
7565
+ this.state.canShowHeader ? _("div", { className: this.css.progressButtonsHeader },
7566
+ _("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
7567
+ _("div", { className: this.css.progressButtonsContainer },
7568
+ _("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, true), role: "button", onClick: function () {
7483
7569
  return _this.clickScrollButton(_this.listContainerRef.current, true);
7484
7570
  } }),
7485
- preact_module_("div", { className: this.css.progressButtonsListContainer, ref: this.listContainerRef },
7486
- preact_module_("ul", { className: this.css.progressButtonsList }, this.getListElements())),
7487
- preact_module_("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, false), role: "button", onClick: function () {
7571
+ _("div", { className: this.css.progressButtonsListContainer, ref: this.listContainerRef },
7572
+ _("ul", { className: this.css.progressButtonsList }, this.getListElements())),
7573
+ _("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, false), role: "button", onClick: function () {
7488
7574
  return _this.clickScrollButton(_this.listContainerRef.current, false);
7489
7575
  } })),
7490
- this.state.canShowFooter ? preact_module_("div", { className: this.css.progressButtonsFooter },
7491
- preact_module_("div", { className: this.css.progressButtonsPageTitle, title: this.model.footerText }, this.model.footerText)) : null));
7576
+ this.state.canShowFooter ? _("div", { className: this.css.progressButtonsFooter },
7577
+ _("div", { className: this.css.progressButtonsPageTitle, title: this.model.footerText }, this.model.footerText)) : null));
7492
7578
  };
7493
7579
  SurveyProgressButtons.prototype.getListElements = function () {
7494
7580
  var _this = this;
@@ -7501,17 +7587,17 @@ var progressButtons_SurveyProgressButtons = /** @class */ (function (_super) {
7501
7587
  SurveyProgressButtons.prototype.renderListElement = function (page, index) {
7502
7588
  var _this = this;
7503
7589
  var text = reactquestion_element_SurveyElementBase.renderLocString(page.locNavigationTitle);
7504
- return (preact_module_("li", { key: "listelement" + index, className: this.model.getListElementCss(index), onClick: this.model.isListElementClickable(index)
7590
+ return (_("li", { key: "listelement" + index, className: this.model.getListElementCss(index), onClick: this.model.isListElementClickable(index)
7505
7591
  ? function () { return _this.model.clickListElement(page); }
7506
7592
  : undefined, "data-page-number": this.model.getItemNumber(page) },
7507
- preact_module_("div", { className: this.css.progressButtonsConnector }),
7508
- this.state.canShowItemTitles ? preact_module_(b, null,
7509
- preact_module_("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, text),
7510
- preact_module_("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null,
7511
- preact_module_("div", { className: this.css.progressButtonsButton },
7512
- preact_module_("div", { className: this.css.progressButtonsButtonBackground }),
7513
- preact_module_("div", { className: this.css.progressButtonsButtonContent }),
7514
- preact_module_("span", null, this.model.getItemNumber(page)))));
7593
+ _("div", { className: this.css.progressButtonsConnector }),
7594
+ this.state.canShowItemTitles ? _(b, null,
7595
+ _("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, text),
7596
+ _("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null,
7597
+ _("div", { className: this.css.progressButtonsButton },
7598
+ _("div", { className: this.css.progressButtonsButtonBackground }),
7599
+ _("div", { className: this.css.progressButtonsButtonContent }),
7600
+ _("span", null, this.model.getItemNumber(page)))));
7515
7601
  };
7516
7602
  SurveyProgressButtons.prototype.clickScrollButton = function (listContainerElement, isLeftScroll) {
7517
7603
  if (!!listContainerElement) {
@@ -7535,7 +7621,7 @@ var progressButtons_SurveyProgressButtons = /** @class */ (function (_super) {
7535
7621
  }(SurveyNavigationBase));
7536
7622
 
7537
7623
  ReactElementFactory.Instance.registerElement("sv-progress-buttons", function (props) {
7538
- return preact_module_(progressButtons_SurveyProgressButtons, props);
7624
+ return _(progressButtons_SurveyProgressButtons, props);
7539
7625
  });
7540
7626
 
7541
7627
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/list/list-item.tsx
@@ -7785,20 +7871,20 @@ var progressToc_SurveyProgressToc = /** @class */ (function (_super) {
7785
7871
  var tocModel = this.props.model;
7786
7872
  var content;
7787
7873
  if (tocModel.isMobile) {
7788
- content = preact_module_("div", { onClick: tocModel.togglePopup },
7789
- preact_module_(svg_icon_SvgIcon, { iconName: tocModel.icon, size: 24 }),
7790
- preact_module_(popup_Popup, { model: tocModel.popupModel }));
7874
+ content = _("div", { onClick: tocModel.togglePopup },
7875
+ _(svg_icon_SvgIcon, { iconName: tocModel.icon, size: 24 }),
7876
+ _(popup_Popup, { model: tocModel.popupModel }));
7791
7877
  }
7792
7878
  else {
7793
- content = preact_module_(list_List, { model: tocModel.listModel });
7879
+ content = _(list_List, { model: tocModel.listModel });
7794
7880
  }
7795
- return (preact_module_("div", { className: tocModel.containerCss }, content));
7881
+ return (_("div", { className: tocModel.containerCss }, content));
7796
7882
  };
7797
7883
  return SurveyProgressToc;
7798
7884
  }(SurveyNavigationBase));
7799
7885
 
7800
7886
  ReactElementFactory.Instance.registerElement("sv-navigation-toc", function (props) {
7801
- return preact_module_(progressToc_SurveyProgressToc, props);
7887
+ return _(progressToc_SurveyProgressToc, props);
7802
7888
  });
7803
7889
 
7804
7890
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_rating.tsx
@@ -7859,18 +7945,18 @@ var reactquestion_rating_SurveyQuestionRating = /** @class */ (function (_super)
7859
7945
  var maxText = this.question.maxRateDescription
7860
7946
  ? this.renderLocString(this.question.locMaxRateDescription)
7861
7947
  : null;
7862
- return (preact_module_("div", { className: this.question.ratingRootCss, ref: function (div) { return (_this.setControl(div)); } },
7863
- preact_module_("fieldset", { role: "radiogroup" },
7864
- preact_module_("legend", { role: "presentation", className: "sv-hidden" }),
7865
- !!this.question.hasMinLabel ? preact_module_("span", { className: cssClasses.minText }, minText) : null,
7948
+ return (_("div", { className: this.question.ratingRootCss, ref: function (div) { return (_this.setControl(div)); } },
7949
+ _("fieldset", { role: "radiogroup" },
7950
+ _("legend", { role: "presentation", className: "sv-hidden" }),
7951
+ !!this.question.hasMinLabel ? _("span", { className: cssClasses.minText }, minText) : null,
7866
7952
  this.question.renderedRateItems.map(function (item, index) { return _this.renderItem(item, index); }),
7867
- !!this.question.hasMaxLabel ? preact_module_("span", { className: cssClasses.maxText }, maxText) : null)));
7953
+ !!this.question.hasMaxLabel ? _("span", { className: cssClasses.maxText }, maxText) : null)));
7868
7954
  };
7869
7955
  return SurveyQuestionRating;
7870
7956
  }(reactquestion_element_SurveyQuestionElementBase));
7871
7957
 
7872
7958
  ReactQuestionFactory.Instance.registerQuestion("rating", function (props) {
7873
- return preact_module_(reactquestion_rating_SurveyQuestionRating, props);
7959
+ return _(reactquestion_rating_SurveyQuestionRating, props);
7874
7960
  });
7875
7961
 
7876
7962
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/rating-dropdown.tsx
@@ -7902,13 +7988,13 @@ var rating_dropdown_SurveyQuestionRatingDropdown = /** @class */ (function (_sup
7902
7988
  SurveyQuestionRatingDropdown.prototype.renderElement = function () {
7903
7989
  var cssClasses = this.question.cssClasses;
7904
7990
  var select = this.renderSelect(cssClasses);
7905
- return (preact_module_("div", { className: this.question.cssClasses.rootDropdown }, select));
7991
+ return (_("div", { className: this.question.cssClasses.rootDropdown }, select));
7906
7992
  };
7907
7993
  return SurveyQuestionRatingDropdown;
7908
7994
  }(dropdown_base_SurveyQuestionDropdownBase));
7909
7995
 
7910
7996
  ReactQuestionFactory.Instance.registerQuestion("sv-rating-dropdown", function (props) {
7911
- return preact_module_(rating_dropdown_SurveyQuestionRatingDropdown, props);
7997
+ return _(rating_dropdown_SurveyQuestionRatingDropdown, props);
7912
7998
  });
7913
7999
  external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["RendererFactory"].Instance.registerRenderer("rating", "dropdown", "sv-rating-dropdown");
7914
8000
 
@@ -7946,13 +8032,13 @@ var reactquestion_expression_SurveyQuestionExpression = /** @class */ (function
7946
8032
  SurveyQuestionExpression.prototype.renderElement = function () {
7947
8033
  var _this = this;
7948
8034
  var cssClasses = this.question.cssClasses;
7949
- return (preact_module_("div", { id: this.question.inputId, className: cssClasses.root, ref: function (div) { return (_this.setControl(div)); } }, this.question.formatedValue));
8035
+ return (_("div", { id: this.question.inputId, className: cssClasses.root, ref: function (div) { return (_this.setControl(div)); } }, this.question.formatedValue));
7950
8036
  };
7951
8037
  return SurveyQuestionExpression;
7952
8038
  }(reactquestion_element_SurveyQuestionElementBase));
7953
8039
 
7954
8040
  ReactQuestionFactory.Instance.registerQuestion("expression", function (props) {
7955
- return preact_module_(reactquestion_expression_SurveyQuestionExpression, props);
8041
+ return _(reactquestion_expression_SurveyQuestionExpression, props);
7956
8042
  });
7957
8043
 
7958
8044
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/react-popup-survey.tsx
@@ -8000,8 +8086,8 @@ var react_popup_survey_PopupSurvey = /** @class */ (function (_super) {
8000
8086
  style.width = this.popup.renderedWidth;
8001
8087
  style.maxWidth = this.popup.renderedWidth;
8002
8088
  }
8003
- return (preact_module_("div", { className: this.popup.cssRoot, style: style, onScroll: function () { return _this.popup.onScroll(); } },
8004
- preact_module_("div", { className: this.popup.cssRootContent },
8089
+ return (_("div", { className: this.popup.cssRoot, style: style, onScroll: function () { return _this.popup.onScroll(); } },
8090
+ _("div", { className: this.popup.cssRootContent },
8005
8091
  header,
8006
8092
  body)));
8007
8093
  };
@@ -8026,46 +8112,46 @@ var react_popup_survey_PopupSurvey = /** @class */ (function (_super) {
8026
8112
  if (popup.allowFullScreen) {
8027
8113
  allowFullScreenButon = this.renderAllowFullScreenButon(this.popup);
8028
8114
  }
8029
- return (preact_module_("div", { className: popup.cssHeaderRoot },
8115
+ return (_("div", { className: popup.cssHeaderRoot },
8030
8116
  titleCollapsed,
8031
- preact_module_("div", { className: popup.cssHeaderButtonsContainer },
8117
+ _("div", { className: popup.cssHeaderButtonsContainer },
8032
8118
  allowFullScreenButon,
8033
- preact_module_("div", { className: popup.cssHeaderCollapseButton, onClick: this.handleOnExpanded }, expandCollapseIcon),
8119
+ _("div", { className: popup.cssHeaderCollapseButton, onClick: this.handleOnExpanded }, expandCollapseIcon),
8034
8120
  closeButton)));
8035
8121
  };
8036
8122
  PopupSurvey.prototype.renderTitleCollapsed = function (popup) {
8037
8123
  if (!popup.locTitle)
8038
8124
  return null;
8039
- return preact_module_("div", { className: popup.cssHeaderTitleCollapsed }, popup.locTitle.renderedHtml);
8125
+ return _("div", { className: popup.cssHeaderTitleCollapsed }, popup.locTitle.renderedHtml);
8040
8126
  };
8041
8127
  PopupSurvey.prototype.renderExpandIcon = function () {
8042
- return preact_module_(svg_icon_SvgIcon, { iconName: "icon-restore_16x16", size: 16 });
8128
+ return _(svg_icon_SvgIcon, { iconName: "icon-restore_16x16", size: 16 });
8043
8129
  };
8044
8130
  PopupSurvey.prototype.renderCollapseIcon = function () {
8045
- return preact_module_(svg_icon_SvgIcon, { iconName: "icon-minimize_16x16", size: 16 });
8131
+ return _(svg_icon_SvgIcon, { iconName: "icon-minimize_16x16", size: 16 });
8046
8132
  };
8047
8133
  PopupSurvey.prototype.renderCloseButton = function (popup) {
8048
8134
  var _this = this;
8049
- return (preact_module_("div", { className: popup.cssHeaderCloseButton, onClick: function () {
8135
+ return (_("div", { className: popup.cssHeaderCloseButton, onClick: function () {
8050
8136
  popup.hide();
8051
8137
  if (typeof _this.props.onClose == "function") {
8052
8138
  _this.props.onClose();
8053
8139
  }
8054
8140
  } },
8055
- preact_module_(svg_icon_SvgIcon, { iconName: "icon-close_16x16", size: 16 })));
8141
+ _(svg_icon_SvgIcon, { iconName: "icon-close_16x16", size: 16 })));
8056
8142
  };
8057
8143
  PopupSurvey.prototype.renderAllowFullScreenButon = function (popup) {
8058
8144
  var Icon;
8059
8145
  if (popup.isFullScreen) {
8060
- Icon = preact_module_(svg_icon_SvgIcon, { iconName: "icon-back-to-panel_16x16", size: 16 });
8146
+ Icon = _(svg_icon_SvgIcon, { iconName: "icon-back-to-panel_16x16", size: 16 });
8061
8147
  }
8062
8148
  else {
8063
- Icon = preact_module_(svg_icon_SvgIcon, { iconName: "icon-full-screen_16x16", size: 16 });
8149
+ Icon = _(svg_icon_SvgIcon, { iconName: "icon-full-screen_16x16", size: 16 });
8064
8150
  }
8065
- return (preact_module_("div", { className: popup.cssHeaderFullScreenButton, onClick: function () { popup.toggleFullScreen(); } }, Icon));
8151
+ return (_("div", { className: popup.cssHeaderFullScreenButton, onClick: function () { popup.toggleFullScreen(); } }, Icon));
8066
8152
  };
8067
8153
  PopupSurvey.prototype.renderBody = function () {
8068
- return preact_module_("div", { className: this.popup.cssBody }, this.doRender());
8154
+ return _("div", { className: this.popup.cssBody }, this.doRender());
8069
8155
  };
8070
8156
  PopupSurvey.prototype.createSurvey = function (newProps) {
8071
8157
  if (!newProps)
@@ -8131,8 +8217,8 @@ var imagepicker_SurveyQuestionImagePicker = /** @class */ (function (_super) {
8131
8217
  });
8132
8218
  SurveyQuestionImagePicker.prototype.renderElement = function () {
8133
8219
  var cssClasses = this.question.cssClasses;
8134
- return (preact_module_("fieldset", { className: this.question.getSelectBaseRootCss() },
8135
- preact_module_("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
8220
+ return (_("fieldset", { className: this.question.getSelectBaseRootCss() },
8221
+ _("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
8136
8222
  this.question.hasColumns ? this.getColumns(cssClasses) : this.getItems(cssClasses)));
8137
8223
  };
8138
8224
  SurveyQuestionImagePicker.prototype.getColumns = function (cssClasses) {
@@ -8141,7 +8227,7 @@ var imagepicker_SurveyQuestionImagePicker = /** @class */ (function (_super) {
8141
8227
  var items = column.map(function (item, ii) {
8142
8228
  return _this.renderItem("item" + ii, item, cssClasses);
8143
8229
  });
8144
- return (preact_module_("div", { key: "column" + ci + _this.question.getItemsColumnKey(column), className: _this.question.getColumnClass(), role: "presentation" }, items));
8230
+ return (_("div", { key: "column" + ci + _this.question.getItemsColumnKey(column), className: _this.question.getColumnClass(), role: "presentation" }, items));
8145
8231
  });
8146
8232
  };
8147
8233
  SurveyQuestionImagePicker.prototype.getItems = function (cssClasses) {
@@ -8161,7 +8247,7 @@ var imagepicker_SurveyQuestionImagePicker = /** @class */ (function (_super) {
8161
8247
  configurable: true
8162
8248
  });
8163
8249
  SurveyQuestionImagePicker.prototype.renderItem = function (key, item, cssClasses) {
8164
- var renderedItem = preact_module_(imagepicker_SurveyQuestionImagePickerItem, { key: key, question: this.question, item: item, cssClasses: cssClasses });
8250
+ var renderedItem = _(imagepicker_SurveyQuestionImagePickerItem, { key: key, question: this.question, item: item, cssClasses: cssClasses });
8165
8251
  var survey = this.question.survey;
8166
8252
  var wrappedItem = null;
8167
8253
  if (!!survey) {
@@ -8248,15 +8334,15 @@ var imagepicker_SurveyQuestionImagePickerItem = /** @class */ (function (_super)
8248
8334
  var itemClass = question.getItemClass(item);
8249
8335
  var text = null;
8250
8336
  if (question.showLabel) {
8251
- text = (preact_module_("span", { className: question.cssClasses.itemText }, item.text ? reactquestion_element_SurveyElementBase.renderLocString(item.locText) : item.value));
8337
+ text = (_("span", { className: question.cssClasses.itemText }, item.text ? reactquestion_element_SurveyElementBase.renderLocString(item.locText) : item.value));
8252
8338
  }
8253
8339
  var style = { objectFit: this.question.imageFit };
8254
8340
  var control = null;
8255
8341
  if (item.locImageLink.renderedHtml && this.question.contentMode === "image") {
8256
- control = (preact_module_("img", { className: cssClasses.image, src: item.locImageLink.renderedHtml, width: this.question.renderedImageWidth, height: this.question.renderedImageHeight, alt: item.locText.renderedHtml, style: style, onLoad: function (event) { _this.question["onContentLoaded"](item, event.nativeEvent); }, onError: function (event) { item.onErrorHandler(item, event.nativeEvent); } }));
8342
+ control = (_("img", { className: cssClasses.image, src: item.locImageLink.renderedHtml, width: this.question.renderedImageWidth, height: this.question.renderedImageHeight, alt: item.locText.renderedHtml, style: style, onLoad: function (event) { _this.question["onContentLoaded"](item, event.nativeEvent); }, onError: function (event) { item.onErrorHandler(item, event.nativeEvent); } }));
8257
8343
  }
8258
8344
  if (item.locImageLink.renderedHtml && this.question.contentMode === "video") {
8259
- control = (preact_module_("video", { controls: true, className: cssClasses.image, src: item.locImageLink.renderedHtml, width: this.question.renderedImageWidth, height: this.question.renderedImageHeight, style: style, onLoadedMetadata: function (event) { _this.question["onContentLoaded"](item, event.nativeEvent); }, onError: function (event) { item.onErrorHandler(item, event.nativeEvent); } }));
8345
+ control = (_("video", { controls: true, className: cssClasses.image, src: item.locImageLink.renderedHtml, width: this.question.renderedImageWidth, height: this.question.renderedImageHeight, style: style, onLoadedMetadata: function (event) { _this.question["onContentLoaded"](item, event.nativeEvent); }, onError: function (event) { item.onErrorHandler(item, event.nativeEvent); } }));
8260
8346
  }
8261
8347
  if (!item.locImageLink.renderedHtml || item.contentNotLoaded) {
8262
8348
  var style_1 = {
@@ -8264,17 +8350,17 @@ var imagepicker_SurveyQuestionImagePickerItem = /** @class */ (function (_super)
8264
8350
  height: this.question.renderedImageHeight,
8265
8351
  objectFit: this.question.imageFit
8266
8352
  };
8267
- control = (preact_module_("div", { className: cssClasses.itemNoImage, style: style_1 }, cssClasses.itemNoImageSvgIcon ?
8268
- preact_module_(svg_icon_SvgIcon, { className: cssClasses.itemNoImageSvgIcon, iconName: this.question.cssClasses.itemNoImageSvgIconId, size: 48 }) :
8353
+ control = (_("div", { className: cssClasses.itemNoImage, style: style_1 }, cssClasses.itemNoImageSvgIcon ?
8354
+ _(svg_icon_SvgIcon, { className: cssClasses.itemNoImageSvgIcon, iconName: this.question.cssClasses.itemNoImageSvgIconId, size: 48 }) :
8269
8355
  null));
8270
8356
  }
8271
- var renderedItem = (preact_module_("div", { className: itemClass },
8272
- preact_module_("label", { className: cssClasses.label },
8273
- preact_module_("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
8274
- preact_module_("div", { className: this.question.cssClasses.itemDecorator },
8275
- preact_module_("div", { className: this.question.cssClasses.imageContainer },
8357
+ var renderedItem = (_("div", { className: itemClass },
8358
+ _("label", { className: cssClasses.label },
8359
+ _("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
8360
+ _("div", { className: this.question.cssClasses.itemDecorator },
8361
+ _("div", { className: this.question.cssClasses.imageContainer },
8276
8362
  !!this.question.cssClasses.checkedItemDecorator ?
8277
- preact_module_("span", { className: this.question.cssClasses.checkedItemDecorator }, !!this.question.cssClasses.checkedItemSvgIconId ? preact_module_(svg_icon_SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
8363
+ _("span", { className: this.question.cssClasses.checkedItemDecorator }, !!this.question.cssClasses.checkedItemSvgIconId ? _(svg_icon_SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
8278
8364
  control),
8279
8365
  text))));
8280
8366
  return renderedItem;
@@ -8283,7 +8369,7 @@ var imagepicker_SurveyQuestionImagePickerItem = /** @class */ (function (_super)
8283
8369
  }(ReactSurveyElement));
8284
8370
 
8285
8371
  ReactQuestionFactory.Instance.registerQuestion("imagepicker", function (props) {
8286
- return preact_module_(imagepicker_SurveyQuestionImagePicker, props);
8372
+ return _(imagepicker_SurveyQuestionImagePicker, props);
8287
8373
  });
8288
8374
 
8289
8375
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/image.tsx
@@ -8338,22 +8424,22 @@ var image_SurveyQuestionImage = /** @class */ (function (_super) {
8338
8424
  }
8339
8425
  var control = null;
8340
8426
  if (this.question.renderedMode === "image") {
8341
- control = (preact_module_("img", { className: cssClasses, src: this.question.locImageLink.renderedHtml, alt: this.question.altText || this.question.title, width: this.question.renderedWidth, height: this.question.renderedHeight,
8427
+ control = (_("img", { className: cssClasses, src: this.question.locImageLink.renderedHtml, alt: this.question.altText || this.question.title, width: this.question.renderedWidth, height: this.question.renderedHeight,
8342
8428
  //alt={item.text || item.value}
8343
8429
  style: style, onLoad: function (event) { _this.question.onLoadHandler(); }, onError: function (event) { _this.question.onErrorHandler(); } }));
8344
8430
  }
8345
8431
  if (this.question.renderedMode === "video") {
8346
- control = (preact_module_("video", { controls: true, className: cssClasses, src: this.question.locImageLink.renderedHtml, width: this.question.renderedWidth, height: this.question.renderedHeight, style: style, onLoadedMetadata: function (event) { _this.question.onLoadHandler(); }, onError: function (event) { _this.question.onErrorHandler(); } }));
8432
+ control = (_("video", { controls: true, className: cssClasses, src: this.question.locImageLink.renderedHtml, width: this.question.renderedWidth, height: this.question.renderedHeight, style: style, onLoadedMetadata: function (event) { _this.question.onLoadHandler(); }, onError: function (event) { _this.question.onErrorHandler(); } }));
8347
8433
  }
8348
8434
  if (this.question.renderedMode === "youtube") {
8349
- control = (preact_module_("iframe", { className: cssClasses, src: this.question.locImageLink.renderedHtml, width: this.question.renderedWidth, height: this.question.renderedHeight, style: style }));
8435
+ control = (_("iframe", { className: cssClasses, src: this.question.locImageLink.renderedHtml, width: this.question.renderedWidth, height: this.question.renderedHeight, style: style }));
8350
8436
  }
8351
8437
  var noImage = null;
8352
8438
  if (!this.question.imageLink || this.question.contentNotLoaded) {
8353
- noImage = (preact_module_("div", { className: this.question.cssClasses.noImage },
8354
- preact_module_(svg_icon_SvgIcon, { iconName: this.question.cssClasses.noImageSvgIconId, size: 48 })));
8439
+ noImage = (_("div", { className: this.question.cssClasses.noImage },
8440
+ _(svg_icon_SvgIcon, { iconName: this.question.cssClasses.noImageSvgIconId, size: 48 })));
8355
8441
  }
8356
- return preact_module_("div", { className: this.question.cssClasses.root },
8442
+ return _("div", { className: this.question.cssClasses.root },
8357
8443
  control,
8358
8444
  noImage);
8359
8445
  };
@@ -8361,7 +8447,7 @@ var image_SurveyQuestionImage = /** @class */ (function (_super) {
8361
8447
  }(reactquestion_element_SurveyQuestionElementBase));
8362
8448
 
8363
8449
  ReactQuestionFactory.Instance.registerQuestion("image", function (props) {
8364
- return preact_module_(image_SurveyQuestionImage, props);
8450
+ return _(image_SurveyQuestionImage, props);
8365
8451
  });
8366
8452
 
8367
8453
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/signaturepad.tsx
@@ -8404,36 +8490,36 @@ var signaturepad_SurveyQuestionSignaturePad = /** @class */ (function (_super) {
8404
8490
  var cssClasses = this.question.cssClasses;
8405
8491
  var loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;
8406
8492
  var clearButton = this.renderCleanButton();
8407
- return (preact_module_("div", { className: cssClasses.root, ref: function (root) { return (_this.setControl(root)); }, style: { width: this.question.renderedCanvasWidth } },
8408
- preact_module_("div", { className: cssClasses.placeholder, style: { display: this.question.needShowPlaceholder() ? "" : "none" } }, this.renderLocString(this.question.locRenderedPlaceholder)),
8409
- preact_module_("div", null,
8493
+ return (_("div", { className: cssClasses.root, ref: function (root) { return (_this.setControl(root)); }, style: { width: this.question.renderedCanvasWidth } },
8494
+ _("div", { className: cssClasses.placeholder, style: { display: this.question.needShowPlaceholder() ? "" : "none" } }, this.renderLocString(this.question.locRenderedPlaceholder)),
8495
+ _("div", null,
8410
8496
  this.renderBackgroundImage(),
8411
- preact_module_("canvas", { tabIndex: -1, className: this.question.cssClasses.canvas, onBlur: function (event) { _this.question.onBlur(event); } })),
8497
+ _("canvas", { tabIndex: -1, className: this.question.cssClasses.canvas, onBlur: function (event) { _this.question.onBlur(event); } })),
8412
8498
  clearButton,
8413
8499
  loadingIndicator));
8414
8500
  };
8415
8501
  SurveyQuestionSignaturePad.prototype.renderBackgroundImage = function () {
8416
8502
  if (!this.question.backgroundImage)
8417
8503
  return null;
8418
- return preact_module_("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage, style: { width: this.question.renderedCanvasWidth } });
8504
+ return _("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage, style: { width: this.question.renderedCanvasWidth } });
8419
8505
  };
8420
8506
  SurveyQuestionSignaturePad.prototype.renderLoadingIndicator = function () {
8421
- return preact_module_("div", { className: this.question.cssClasses.loadingIndicator },
8422
- preact_module_(loading_indicator_LoadingIndicatorComponent, null));
8507
+ return _("div", { className: this.question.cssClasses.loadingIndicator },
8508
+ _(loading_indicator_LoadingIndicatorComponent, null));
8423
8509
  };
8424
8510
  SurveyQuestionSignaturePad.prototype.renderCleanButton = function () {
8425
8511
  var _this = this;
8426
8512
  if (!this.question.canShowClearButton)
8427
8513
  return null;
8428
8514
  var cssClasses = this.question.cssClasses;
8429
- return preact_module_("div", { className: cssClasses.controls },
8430
- preact_module_("button", { type: "button", className: cssClasses.clearButton, title: this.question.clearButtonCaption, onClick: function () { return _this.question.clearValue(true); } }, this.question.cssClasses.clearButtonIconId ? preact_module_(svg_icon_SvgIcon, { iconName: this.question.cssClasses.clearButtonIconId, size: "auto" }) : preact_module_("span", null, "\u2716")));
8515
+ return _("div", { className: cssClasses.controls },
8516
+ _("button", { type: "button", className: cssClasses.clearButton, title: this.question.clearButtonCaption, onClick: function () { return _this.question.clearValue(true); } }, this.question.cssClasses.clearButtonIconId ? _(svg_icon_SvgIcon, { iconName: this.question.cssClasses.clearButtonIconId, size: "auto" }) : _("span", null, "\u2716")));
8431
8517
  };
8432
8518
  return SurveyQuestionSignaturePad;
8433
8519
  }(reactquestion_element_SurveyQuestionElementBase));
8434
8520
 
8435
8521
  ReactQuestionFactory.Instance.registerQuestion("signaturepad", function (props) {
8436
- return preact_module_(signaturepad_SurveyQuestionSignaturePad, props);
8522
+ return _(signaturepad_SurveyQuestionSignaturePad, props);
8437
8523
  });
8438
8524
 
8439
8525
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_buttongroup.tsx
@@ -8598,16 +8684,16 @@ var reactquestion_custom_SurveyQuestionComposite = /** @class */ (function (_sup
8598
8684
  return !!this.question.contentPanel;
8599
8685
  };
8600
8686
  SurveyQuestionComposite.prototype.renderElement = function () {
8601
- return (preact_module_(panel_SurveyPanel, { element: this.question.contentPanel, creator: this.creator, survey: this.question.survey }));
8687
+ return (_(panel_SurveyPanel, { element: this.question.contentPanel, creator: this.creator, survey: this.question.survey }));
8602
8688
  };
8603
8689
  return SurveyQuestionComposite;
8604
8690
  }(reactquestion_element_SurveyQuestionUncontrolledElement));
8605
8691
 
8606
8692
  ReactQuestionFactory.Instance.registerQuestion("custom", function (props) {
8607
- return preact_module_(reactquestion_custom_SurveyQuestionCustom, props);
8693
+ return _(reactquestion_custom_SurveyQuestionCustom, props);
8608
8694
  });
8609
8695
  ReactQuestionFactory.Instance.registerQuestion("composite", function (props) {
8610
- return preact_module_(reactquestion_custom_SurveyQuestionComposite, props);
8696
+ return _(reactquestion_custom_SurveyQuestionComposite, props);
8611
8697
  });
8612
8698
 
8613
8699
  // CONCATENATED MODULE: ./packages/survey-react-ui/src/components/list/list-item-content.tsx
@@ -9427,6 +9513,7 @@ ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_surv
9427
9513
 
9428
9514
 
9429
9515
 
9516
+
9430
9517
 
9431
9518
 
9432
9519
  //Uncomment to include the "date" question type.
@@ -9457,12 +9544,12 @@ var js_ui_assign = (undefined && undefined.__assign) || function () {
9457
9544
 
9458
9545
  function renderSurvey(model, element, props) {
9459
9546
  if (props === void 0) { props = {}; }
9460
- var survey = preact_module_(reactSurvey_Survey, js_ui_assign({ model: model }, props));
9547
+ var survey = _(reactSurvey_Survey, js_ui_assign({ model: model }, props));
9461
9548
  compat_module_$(survey, element);
9462
9549
  }
9463
9550
  function renderPopupSurvey(model, element, props) {
9464
9551
  if (props === void 0) { props = {}; }
9465
- var survey = preact_module_(react_popup_survey_PopupSurvey, js_ui_assign({ model: model }, props));
9552
+ var survey = _(react_popup_survey_PopupSurvey, js_ui_assign({ model: model }, props));
9466
9553
  compat_module_$(survey, element);
9467
9554
  }
9468
9555
  function doPopupSurvey(props) {
@@ -9511,7 +9598,7 @@ var preact = compat_module_namespaceObject;
9511
9598
 
9512
9599
 
9513
9600
 
9514
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.7", "survey-js-ui");
9601
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.9", "survey-js-ui");
9515
9602
 
9516
9603
 
9517
9604
  /***/ }),