1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1932],{39562:function(e,t,o){var n,r;/*! 2 * surveyjs - Survey JavaScript library v1.12.62 3 * Copyright (c) 2015-2026 Devsoft Baltic OÃ - http://surveyjs.io/ 4 * License: MIT (http://www.opensource.org/licenses/mit-license.php) 5 */e.exports=(n=o(50959),r=o(10422),function(e){var t={};function __nested_webpack_require_950__(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,__nested_webpack_require_950__),n.l=!0,n.exports}return __nested_webpack_require_950__.m=e,__nested_webpack_require_950__.c=t,__nested_webpack_require_950__.d=function(e,t,o){__nested_webpack_require_950__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},__nested_webpack_require_950__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_950__.t=function(e,t){if(1&t&&(e=__nested_webpack_require_950__(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(__nested_webpack_require_950__.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)__nested_webpack_require_950__.d(o,n,(function(t){return e[t]}).bind(null,n));return o},__nested_webpack_require_950__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_950__.d(t,"a",t),t},__nested_webpack_require_950__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_950__.p="",__nested_webpack_require_950__(__nested_webpack_require_950__.s="./src/entries/react.ts")}({"./packages/survey-core/src/images-v1 sync recursive \\.svg$":function(e,t,o){var n={"./ModernBooleanCheckChecked.svg":"./packages/survey-core/src/images-v1/ModernBooleanCheckChecked.svg","./ModernBooleanCheckInd.svg":"./packages/survey-core/src/images-v1/ModernBooleanCheckInd.svg","./ModernBooleanCheckUnchecked.svg":"./packages/survey-core/src/images-v1/ModernBooleanCheckUnchecked.svg","./ModernCheck.svg":"./packages/survey-core/src/images-v1/ModernCheck.svg","./ModernRadio.svg":"./packages/survey-core/src/images-v1/ModernRadio.svg","./ProgressButton.svg":"./packages/survey-core/src/images-v1/ProgressButton.svg","./RemoveFile.svg":"./packages/survey-core/src/images-v1/RemoveFile.svg","./TimerCircle.svg":"./packages/survey-core/src/images-v1/TimerCircle.svg","./add-24x24.svg":"./packages/survey-core/src/images-v1/add-24x24.svg","./arrowleft-16x16.svg":"./
5packages/survey-core/src/images-v1/arrowleft-16x16.svg","./arrowright-16x16.svg":"./packages/survey-core/src/images-v1/arrowright-16x16.svg","./camera-24x24.svg":"./packages/survey-core/src/images-v1/camera-24x24.svg","./camera-32x32.svg":"./packages/survey-core/src/images-v1/camera-32x32.svg","./cancel-24x24.svg":"./packages/survey-core/src/images-v1/cancel-24x24.svg","./check-16x16.svg":"./packages/survey-core/src/images-v1/check-16x16.svg","./check-24x24.svg":"./packages/survey-core/src/images-v1/check-24x24.svg","./chevrondown-24x24.svg":"./packages/survey-core/src/images-v1/chevrondown-24x24.svg","./chevronright-16x16.svg":"./packages/survey-core/src/images-v1/chevronright-16x16.svg","./clear-16x16.svg":"./packages/survey-core/src/images-v1/clear-16x16.svg","./clear-24x24.svg":"./packages/survey-core/src/images-v1/clear-24x24.svg","./close-16x16.svg":"./packages/survey-core/src/images-v1/close-16x16.svg","./close-24x24.svg":"./packages/survey-core/src/images-v1/close-24x24.svg","./collapse-16x16.svg":"./packages/survey-core/src/images-v1/collapse-16x16.svg","./collapsedetails-16x16.svg":"./
5packages/survey-core/src/images-v1/collapsedetails-16x16.svg","./delete-24x24.svg":"./packages/survey-core/src/images-v1/delete-24x24.svg","./drag-24x24.svg":"./packages/survey-core/src/images-v1/drag-24x24.svg","./draghorizontal-24x16.svg":"./packages/survey-core/src/images-v1/draghorizontal-24x16.svg","./expand-16x16.svg":"./packages/survey-core/src/images-v1/expand-16x16.svg","./expanddetails-16x16.svg":"./packages/survey-core/src/images-v1/expanddetails-16x16.svg","./file-72x72.svg":"./packages/survey-core/src/images-v1/file-72x72.svg","./flip-24x24.svg":"./packages/survey-core/src/images-v1/flip-24x24.svg","./folder-24x24.svg":"./packages/survey-core/src/images-v1/folder-24x24.svg","./fullsize-16x16.svg":"./packages/survey-core/src/images-v1/fullsize-16x16.svg","./image-48x48.svg":"./packages/survey-core/src/images-v1/image-48x48.svg","./loading-48x48.svg":"./packages/survey-core/src/images-v1/loading-48x48.svg","./maximize-16x16.svg":"./packages/survey-core/src/images-v1/maximize-16x16.svg","./minimize-16x16.svg":"./
5packages/survey-core/src/images-v1/minimize-16x16.svg","./more-24x24.svg":"./packages/survey-core/src/images-v1/more-24x24.svg","./navmenu-24x24.svg":"./packages/survey-core/src/images-v1/navmenu-24x24.svg","./noimage-48x48.svg":"./packages/survey-core/src/images-v1/noimage-48x48.svg","./ranking-arrows.svg":"./packages/survey-core/src/images-v1/ranking-arrows.svg","./rankingundefined-16x16.svg":"./packages/survey-core/src/images-v1/rankingundefined-16x16.svg","./rating-star-2.svg":"./packages/survey-core/src/images-v1/rating-star-2.svg","./rating-star-small-2.svg":"./packages/survey-core/src/images-v1/rating-star-small-2.svg","./rating-star-small.svg":"./packages/survey-core/src/images-v1/rating-star-small.svg","./rating-star.svg":"./packages/survey-core/src/images-v1/rating-star.svg","./reorder-24x24.svg":"./packages/survey-core/src/images-v1/reorder-24x24.svg","./restoredown-16x16.svg":"./packages/survey-core/src/images-v1/restoredown-16x16.svg","./search-24x24.svg":"./packages/survey-core/src/images-v1/search-24x24.svg","./smiley-rate1-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate1-24x24.svg","./smiley-rate10-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate10-24x24.svg","./smiley-rate2-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate2-24x24.svg","./smiley-rate3-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate3-24x24.svg","./smiley-rate4-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate4-24x24.svg","./smiley-rate5-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate5-24x24.svg","./smiley-rate6-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate6-24x24.svg","./smiley-rate7-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate7-24x24.svg","./smiley-rate8-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate8-24x24.svg","./smiley-rate9-24x24.svg":"./packages/survey-core/src/images-v1/smiley-rate9-24x24.svg"};function webpackContext(e){return o(webpackContextResolve(e))}function webpackContextResolve(e){if(!o.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}webpackContext.keys=function(){return Object.keys(n)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id="./packages/survey-core/src/images-v1 sync recursive \\.svg$"},
5"./packages/survey-core/src/images-v1/ModernBooleanCheckChecked.svg":function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>'},
5"./packages/survey-core/src/images-v1/ModernBooleanCheckInd.svg":function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>'},
5"./packages/survey-core/src/images-v1/ModernBooleanCheckUnchecked.svg":function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>'},
5"./packages/survey-core/src/images-v1/ModernCheck.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"></path></svg>'},
5"./packages/survey-core/src/images-v1/ModernRadio.svg":function(e,t){e.exports='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"></circle></svg>'},
5"./packages/survey-core/src/images-v1/ProgressButton.svg":function(e,t){e.exports='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "></polygon></svg>'},
5"./packages/survey-core/src/images-v1/RemoveFile.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"></path></svg>'},
5"./packages/survey-core/src/images-v1/TimerCircle.svg":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke: var(--sd-timer-stroke-background-color); stroke-width: var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"></circle><circle cx="80" cy="80" r="70"></circle></svg>'},
5"./packages/survey-core/src/images-v1/add-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 11H17V13H13V17H11V13H7V11H11V7H13V11ZM23 12C23 18.1 18.1 23 12 23C5.9 23 1 18.1 1 12C1 5.9 5.9 1 12 1C18.1 1 23 5.9 23 12ZM21 12C21 7 17 3 12 3C7 3 3 7 3 12C3 17 7 21 12 21C17 21 21 17 21 12Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/arrowleft-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 8.99999H4.4L8.7 13.3L7.3 14.7L0.599998 7.99999L7.3 1.29999L8.7 2.69999L4.4 6.99999H15V8.99999Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/arrowright-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.99999H11.6L7.3 2.69999L8.7 1.29999L15.4 7.99999L8.7 14.7L7.3 13.3L11.6 8.99999H1V6.99999Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/camera-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.01 4H18.4C18.2 4 18.01 3.9 17.9 3.73L16.97 2.34C16.41 1.5 15.48 1 14.47 1H9.54C8.53 1 7.6 1.5 7.04 2.34L6.11 3.73C6 3.9 5.81 4 5.61 4H4C2.35 4 1 5.35 1 7V19C1 20.65 2.35 22 4 22H20C21.65 22 23 20.65 23 19V7C23 5.35 21.65 4 20 4H20.01ZM21.01 19C21.01 19.55 20.56 20 20.01 20H4.01C3.46 20 3.01 19.55 3.01 19V7C3.01 6.45 3.46 6 4.01 6H5.62C6.49 6 7.3 5.56 7.79 4.84L8.72 3.45C8.91 3.17 9.22 3 9.55 3H14.48C14.81 3 15.13 3.17 15.31 3.45L16.24 4.84C16.72 5.56 17.54 6 18.41 6H20.02C20.57 6 21.02 6.45 21.02 7V19H21.01ZM12.01 6C8.7 6 6.01 8.69 6.01 12C6.01 15.31 8.7 18 12.01 18C15.32 18 18.01 15.31 18.01 12C18.01 8.69 15.32 6 12.01 6ZM12.01 16C9.8 16 8.01 14.21 8.01 12C8.01 9.79 9.8 8 12.01 8C14.22 8 16.01 9.79 16.01 12C16.01 14.21 14.22 16 12.01 16ZM13.01 10C13.01 10.55 12.56 11 12.01 11C11.46 11 11.01 11.45 11.01 12C11.01 12.55 10.56 13 10.01 13C9.46 13 9.01 12.55 9.01 12C9.01 10.35 10.36 9 12.01 9C12.56 9 13.01 9.45 13.01 10Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/camera-32x32.svg":function(e,t){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M27 6H23.8C23.34 6 22.92 5.77 22.66 5.39L22.25 4.78C21.51 3.66 20.26 3 18.92 3H13.06C11.72 3 10.48 3.67 9.73 4.78L9.32 5.39C9.07 5.77 8.64 6 8.18 6H4.98C2.79 6 1 7.79 1 10V24C1 26.21 2.79 28 5 28H27C29.21 28 31 26.21 31 24V10C31 7.79 29.21 6 27 6ZM29 24C29 25.1 28.1 26 27 26H5C3.9 26 3 25.1 3 24V10C3 8.9 3.9 8 5 8H8.2C9.33 8 10.38 7.44 11 6.5L11.41 5.89C11.78 5.33 12.41 5 13.07 5H18.93C19.6 5 20.22 5.33 20.59 5.89L21 6.5C21.62 7.44 22.68 8 23.8 8H27C28.1 8 29 8.9 29 10V24ZM16 9C12.13 9 9 12.13 9 16C9 19.87 12.13 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9ZM16 21C13.24 21 11 18.76 11 16C11 13.24 13.24 11 16 11C18.76 11 21 13.24 21 16C21 18.76 18.76 21 16 21ZM17 13C17 13.55 16.55 14 16 14C14.9 14 14 14.9 14 16C14 16.55 13.55 17 13 17C12.45 17 12 16.55 12 16C12 13.79 13.79 12 16 12C16.55 12 17 12.45 17 13Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/cancel-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/check-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.003 14.413L0.292999 9.70303L1.703 8.29303L5.003 11.583L14.293 2.29303L15.703 3.70303L5.003 14.413Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/check-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 20.1L1 12L3.1 9.9L9 15.9L20.9 4L23 6.1L9 20.1Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/chevrondown-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 15L17 10H7L12 15Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/chevronright-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.64648 12.6465L6.34648 13.3465L11.7465 8.04648L6.34648 2.64648L5.64648 3.34648L10.2465 8.04648L5.64648 12.6465Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/clear-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.35 3.34999L12.65 2.64999L8.05002 7.24999L3.35002 2.64999L2.65002 3.34999L7.25002 8.04999L2.65002 12.65L3.35002 13.35L8.05002 8.74999L12.65 13.35L13.35 12.65L8.75002 8.04999L13.35 3.34999Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/clear-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.6 8.6L16.4 2.4C16 2 15.5 1.8 15 1.8C14.5 1.8 14 2 13.6 2.4L1.40005 14.6C0.600049 15.4 0.600049 16.6 1.40005 17.4L6.00005 22H12L22.6 11.4C23.3 10.6 23.3 9.3 22.6 8.6ZM11.1 20H6.80005L2.80005 16L6.20005 12.6L12.4 18.8L11.1 20ZM13.8 17.4L7.60005 11.2L15 3.8L21.2 10L13.8 17.4ZM16 20H23V22H14L16 20Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/close-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M9.43 8.0025L13.7 3.7225C14.09 3.3325 14.09 2.6925 13.7 2.2925C13.31 1.9025 12.67 1.9025 12.27 2.2925L7.99 6.5725L3.72 2.3025C3.33 1.9025 2.69 1.9025 2.3 2.3025C1.9 2.6925 1.9 3.3325 2.3 3.7225L6.58 8.0025L2.3 12.2825C1.91 12.6725 1.91 13.3125 2.3 13.7125C2.69 14.1025 3.33 14.1025 3.73 13.7125L8.01 9.4325L12.29 13.7125C12.68 14.1025 13.32 14.1025 13.72 13.7125C14.11 13.3225 14.11 12.6825 13.72 12.2825L9.44 8.0025H9.43Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/close-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.4101 12L20.7001 4.71C21.0901 4.32 21.0901 3.69 20.7001 3.3C20.3101 2.91 19.6801 2.91 19.2901 3.3L12.0001 10.59L4.71006 3.29C4.32006 2.9 3.68006 2.9 3.29006 3.29C2.90006 3.68 2.90006 4.32 3.29006 4.71L10.5801 12L3.29006 19.29C2.90006 19.68 2.90006 20.31 3.29006 20.7C3.49006 20.9 3.74006 20.99 4.00006 20.99C4.26006 20.99 4.51006 20.89 4.71006 20.7L12.0001 13.41L19.2901 20.7C19.4901 20.9 19.7401 20.99 20.0001 20.99C20.2601 20.99 20.5101 20.89 20.7101 20.7C21.1001 20.31 21.1001 19.68 20.7101 19.29L13.4201 12H13.4101Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/collapse-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M2 6L3 5L8 10L13 5L14 6L8 12L2 6Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/collapsedetails-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/delete-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22 4H20H16V2C16 0.9 15.1 0 14 0H10C8.9 0 8 0.9 8 2V4H4H2V6H4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V6H22V4ZM10 2H14V4H10V2ZM18 20H6V6H8H16H18V20ZM14 8H16V18H14V8ZM11 8H13V18H11V8ZM8 8H10V18H8V8Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/drag-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 6C13 4.9 13.9 4 15 4C16.1 4 17 4.9 17 6C17 7.1 16.1 8 15 8C13.9 8 13 7.1 13 6ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16ZM9 16C7.9 16 7 16.9 7 18C7 19.1 7.9 20 9 20C10.1 20 11 19.1 11 18C11 16.9 10.1 16 9 16Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/draghorizontal-24x16.svg":function(e,t){e.exports='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M18 9C19.1 9 20 9.9 20 11C20 12.1 19.1 13 18 13C16.9 13 16 12.1 16 11C16 9.9 16.9 9 18 9ZM20 5C20 3.9 19.1 3 18 3C16.9 3 16 3.9 16 5C16 6.1 16.9 7 18 7C19.1 7 20 6.1 20 5ZM14 11C14 9.9 13.1 9 12 9C10.9 9 10 9.9 10 11C10 12.1 10.9 13 12 13C13.1 13 14 12.1 14 11ZM14 5C14 3.9 13.1 3 12 3C10.9 3 10 3.9 10 5C10 6.1 10.9 7 12 7C13.1 7 14 6.1 14 5ZM8 11C8 9.9 7.1 9 6 9C4.9 9 4 9.9 4 11C4 12.1 4.9 13 6 13C7.1 13 8 12.1 8 11ZM8 5C8 3.9 7.1 3 6 3C4.9 3 4 3.9 4 5C4 6.1 4.9 7 6 7C7.1 7 8 6.1 8 5Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/expand-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6 14L5 13L10 8L5 3L6 2L12 8L6 14Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/expanddetails-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H9V3H7V7H3V9H7V13H9V9H13V7Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/file-72x72.svg":function(e,t){e.exports='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/flip-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M23 12.0037C23 14.2445 21.7794 16.3052 19.5684 17.8257C19.3984 17.9458 19.1983 18.0058 19.0082 18.0058C18.688 18.0058 18.3779 17.8557 18.1778 17.5756C17.8677 17.1155 17.9777 16.4953 18.4379 16.1852C20.0887 15.0448 21.0091 13.5643 21.0091 12.0138C21.0091 8.70262 16.9673 6.01171 12.005 6.01171C11.4948 6.01171 10.9945 6.04172 10.5043 6.09173L11.7149 7.30215C12.105 7.69228 12.105 8.32249 11.7149 8.71263C11.5148 8.9127 11.2647 9.00273 11.0045 9.00273C10.7444 9.00273 10.4943 8.90269 10.2942 8.71263L6.58254 5.00136L10.2842 1.2901C10.6744 0.899964 11.3047 0.899964 11.6949 1.2901C12.085 1.68023 12.085 2.31045 11.6949 2.70058L10.3042 4.09105C10.8545 4.03103 11.4147 4.00102 11.985 4.00102C18.0578 4.00102 22.99 7.59225 22.99 12.0037H23ZM12.2851 15.2949C11.895 15.685 11.895 16.3152 12.2851 16.7054L13.4957 17.9158C13.0055 17.9758 12.4952 17.9958 11.995 17.9958C7.03274 17.9958 2.99091 15.3049 2.99091 11.9937C2.99091 10.4332 3.90132 8.95271 5.56207 7.82232C6.02228 7.51222 6.13233 6.89201 5.82219 6.43185C5.51205 5.97169 4.89177 5.86166 4.43156 6.17176C2.22055 7.69228 1 9.76299 1 11.9937C1 16.4052 5.93224 19.9965 12.005 19.9965C12.5753 19.9965 13.1355 19.9665 13.6858 19.9064L12.2951 21.2969C11.905 21.6871 11.905 22.3173 12.2951 22.7074C12.4952 22.9075 12.7453 22.9975 13.0055 22.9975C13.2656 22.9975 13.5157 22.8975 13.7158 22.7074L17.4275 18.9961L13.7158 15.2849C13.3256 14.8947 12.6953 14.8947 12.3051 15.2849L12.2851 15.2949Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/folder-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.93 9H21V7C21 6.46957 20.7893 5.96086 20.4142 5.58579C20.0391 5.21071 19.5304 5 19 5H10L8 3H4C3.46957 3 2.96086 3.21071 2.58579 3.58579C2.21071 3.96086 2 4.46957 2 5L2 21H21L23.89 11.63C23.9916 11.3244 24.0179 10.9988 23.9667 10.6809C23.9155 10.363 23.7882 10.0621 23.5958 9.80392C23.4034 9.54571 23.1514 9.33779 22.8614 9.19782C22.5714 9.05786 22.2519 8.99 21.93 9ZM4 5H7.17L8.59 6.41L9.17 7H19V9H6L4 15V5ZM22 11L19.54 19H4.77L7.44 11H22Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/fullsize-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 13H4C2.9 13 2 12.1 2 11V5C2 3.9 2.9 3 4 3H12C13.1 3 14 3.9 14 5V11C14 12.1 13.1 13 12 13ZM4 5V11H12V5H4Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/image-48x48.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M36 8H12C9.79 8 8 9.79 8 12V36C8 38.21 9.79 40 12 40H36C38.21 40 40 38.21 40 36V12C40 9.79 38.21 8 36 8ZM38 36C38 37.1 37.1 38 36 38H12C10.9 38 10 37.1 10 36V12C10 10.9 10.9 10 12 10H36C37.1 10 38 10.9 38 12V36ZM14 17C14 15.34 15.34 14 17 14C18.66 14 20 15.34 20 17C20 18.66 18.66 20 17 20C15.34 20 14 18.66 14 17ZM27 24L36 36H12L19 27L23 29L27 24Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/loading-48x48.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"></path><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z" fill="#19B394"></path></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"></rect></clipPath></defs></svg>'},
5"./packages/survey-core/src/images-v1/maximize-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.71 10.71L4.42 13H6.01C6.56 13 7.01 13.45 7.01 14C7.01 14.55 6.56 15 6.01 15H2C1.45 15 1 14.55 1 14V10C1 9.45 1.45 9 2 9C2.55 9 3 9.45 3 10V11.59L5.29 9.3C5.68 8.91 6.31 8.91 6.7 9.3C7.09 9.69 7.09 10.32 6.7 10.71H6.71ZM14 1H10C9.45 1 9 1.45 9 2C9 2.55 9.45 3 10 3H11.59L9.3 5.29C8.91 5.68 8.91 6.31 9.3 6.7C9.5 6.9 9.75 6.99 10.01 6.99C10.27 6.99 10.52 6.89 10.72 6.7L13.01 4.41V6C13.01 6.55 13.46 7 14.01 7C14.56 7 15.01 6.55 15.01 6V2C15.01 1.45 14.56 1 14.01 1H14Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/minimize-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 9H3C2.45 9 2 8.55 2 8C2 7.45 2.45 7 3 7H13C13.55 7 14 7.45 14 8C14 8.55 13.55 9 13 9Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/more-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 12C6 13.1 5.1 14 4 14C2.9 14 2 13.1 2 12C2 10.9 2.9 10 4 10C5.1 10 6 10.9 6 12ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM20 10C18.9 10 18 10.9 18 12C18 13.1 18.9 14 20 14C21.1 14 22 13.1 22 12C22 10.9 21.1 10 20 10Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/navmenu-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16 7H2V5H16V7ZM2 11V13H22V11H2ZM2 19H10V17H2V19Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/noimage-48x48.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M14 17.01C14 16.4167 14.1759 15.8366 14.5056 15.3433C14.8352 14.8499 15.3038 14.4654 15.8519 14.2384C16.4001 14.0113 17.0033 13.9519 17.5853 14.0676C18.1672 14.1834 18.7018 14.4691 19.1213 14.8887C19.5409 15.3082 19.8266 15.8428 19.9424 16.4247C20.0581 17.0067 19.9987 17.6099 19.7716 18.1581C19.5446 18.7062 19.1601 19.1748 18.6667 19.5044C18.1734 19.8341 17.5933 20.01 17 20.01C16.2044 20.01 15.4413 19.6939 14.8787 19.1313C14.3161 18.5687 14 17.8056 14 17.01ZM27.09 24.14L20 36.01H36L27.09 24.14ZM36.72 8.14L35.57 10.01H36C36.5304 10.01 37.0391 10.2207 37.4142 10.5958C37.7893 10.9709 38 11.4796 38 12.01V36.01C38 36.5404 37.7893 37.0491 37.4142 37.4242C37.0391 37.7993 36.5304 38.01 36 38.01H18.77L17.57 40.01H36C37.0609 40.01 38.0783 39.5886 38.8284 38.8384C39.5786 38.0883 40 37.0709 40 36.01V12.01C39.9966 11.0765 39.6668 10.1737 39.0678 9.45778C38.4688 8.74188 37.6382 8.25802 36.72 8.09V8.14ZM36.86 4.5L12.86 44.5L11.14 43.5L13.23 40.01H12C10.9391 40.01 9.92172 39.5886 9.17157 38.8384C8.42143 38.0883 8 37.0709 8 36.01V12.01C8 10.9491 8.42143 9.93172 9.17157 9.18157C9.92172 8.43143 10.9391 8.01 12 8.01H32.43L35.14 3.5L36.86 4.5ZM14.43 38.01L15.63 36.01H12L19 27.01L20.56 27.8L31.23 10.01H12C11.4696 10.01 10.9609 10.2207 10.5858 10.5958C10.2107 10.9709 10 11.4796 10 12.01V36.01C10 36.5404 10.2107 37.0491 10.5858 37.4242C10.9609 37.7993 11.4696 38.01 12 38.01H14.43Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/ranking-arrows.svg":function(e,t){e.exports='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"></path><path d="M6 19V15H4V19H0L5 24L10 19H6Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/rankingundefined-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13 7H3V9H13V7Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/rating-star-2.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"></path><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"></path></svg>'},
5"./packages/survey-core/src/images-v1/rating-star-small-2.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"></path><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/rating-star-small.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"></path></g></svg>'},
5"./packages/survey-core/src/images-v1/rating-star.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"></path></g></svg>'},
5"./packages/survey-core/src/images-v1/reorder-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M17 5L12 0L7 5H11V9H13V5H17Z"></path><path d="M13 19V15H11V19H7L12 24L17 19H13Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/restoredown-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15 6C15 6.55 14.55 7 14 7H10C9.45 7 9 6.55 9 6V2C9 1.45 9.45 1 10 1C10.55 1 11 1.45 11 2V3.59L13.29 1.29C13.49 1.09 13.74 1 14 1C14.26 1 14.51 1.1 14.71 1.29C15.1 1.68 15.1 2.31 14.71 2.7L12.42 4.99H14.01C14.56 4.99 15.01 5.44 15.01 5.99L15 6ZM6 9H2C1.45 9 0.999998 9.45 0.999998 10C0.999998 10.55 1.45 11 2 11H3.59L1.29 13.29C0.899998 13.68 0.899998 14.31 1.29 14.7C1.68 15.09 2.31 15.09 2.7 14.7L4.99 12.41V14C4.99 14.55 5.44 15 5.99 15C6.54 15 6.99 14.55 6.99 14V10C6.99 9.45 6.54 9 5.99 9H6Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/search-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14 2C9.6 2 6 5.6 6 10C6 11.8 6.6 13.5 7.7 14.9L2.3 20.3C1.9 20.7 1.9 21.3 2.3 21.7C2.5 21.9 2.7 22 3 22C3.3 22 3.5 21.9 3.7 21.7L9.1 16.3C10.5 17.4 12.2 18 14 18C18.4 18 22 14.4 22 10C22 5.6 18.4 2 14 2ZM14 16C10.7 16 8 13.3 8 10C8 6.7 10.7 4 14 4C17.3 4 20 6.7 20 10C20 13.3 17.3 16 14 16Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate1-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate10-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate2-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"></path></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate3-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate4-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate5-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate6-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate7-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate8-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>'},
5"./packages/survey-core/src/images-v1/smiley-rate9-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'},"./packages/survey-core/src/images-v2 sync recursive \\.svg$":function(e,t,o){var n={"./ModernBooleanCheckChecked.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckChecked.svg","./ModernBooleanCheckInd.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckInd.svg","./ModernBooleanCheckUnchecked.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckUnchecked.svg","./ModernCheck.svg":"./packages/survey-core/src/images-v2/ModernCheck.svg","./ModernRadio.svg":"./packages/survey-core/src/images-v2/ModernRadio.svg","./ProgressButton.svg":"./packages/survey-core/src/images-v2/ProgressButton.svg","./RemoveFile.svg":"./packages/survey-core/src/images-v2/RemoveFile.svg","./TimerCircle.svg":"./packages/survey-core/src/images-v2/TimerCircle.svg","./add-24x24.svg":"./packages/survey-core/src/images-v2/add-24x24.svg","./arrowleft-16x16.svg":"./
5packages/survey-core/src/images-v2/arrowleft-16x16.svg","./arrowright-16x16.svg":"./packages/survey-core/src/images-v2/arrowright-16x16.svg","./camera-24x24.svg":"./packages/survey-core/src/images-v2/camera-24x24.svg","./camera-32x32.svg":"./packages/survey-core/src/images-v2/camera-32x32.svg","./cancel-24x24.svg":"./packages/survey-core/src/images-v2/cancel-24x24.svg","./check-16x16.svg":"./packages/survey-core/src/images-v2/check-16x16.svg","./check-24x24.svg":"./packages/survey-core/src/images-v2/check-24x24.svg","./chevrondown-24x24.svg":"./packages/survey-core/src/images-v2/chevrondown-24x24.svg","./chevronright-16x16.svg":"./packages/survey-core/src/images-v2/chevronright-16x16.svg","./clear-16x16.svg":"./packages/survey-core/src/images-v2/clear-16x16.svg","./clear-24x24.svg":"./packages/survey-core/src/images-v2/clear-24x24.svg","./close-16x16.svg":"./packages/survey-core/src/images-v2/close-16x16.svg","./close-24x24.svg":"./packages/survey-core/src/images-v2/close-24x24.svg","./collapse-16x16.svg":"./packages/survey-core/src/images-v2/collapse-16x16.svg","./collapsedetails-16x16.svg":"./
5packages/survey-core/src/images-v2/collapsedetails-16x16.svg","./delete-24x24.svg":"./packages/survey-core/src/images-v2/delete-24x24.svg","./drag-24x24.svg":"./packages/survey-core/src/images-v2/drag-24x24.svg","./draghorizontal-24x16.svg":"./packages/survey-core/src/images-v2/draghorizontal-24x16.svg","./expand-16x16.svg":"./packages/survey-core/src/images-v2/expand-16x16.svg","./expanddetails-16x16.svg":"./packages/survey-core/src/images-v2/expanddetails-16x16.svg","./file-72x72.svg":"./packages/survey-core/src/images-v2/file-72x72.svg","./flip-24x24.svg":"./packages/survey-core/src/images-v2/flip-24x24.svg","./folder-24x24.svg":"./packages/survey-core/src/images-v2/folder-24x24.svg","./fullsize-16x16.svg":"./packages/survey-core/src/images-v2/fullsize-16x16.svg","./image-48x48.svg":"./packages/survey-core/src/images-v2/image-48x48.svg","./loading-48x48.svg":"./packages/survey-core/src/images-v2/loading-48x48.svg","./maximize-16x16.svg":"./packages/survey-core/src/images-v2/maximize-16x16.svg","./minimize-16x16.svg":"./
5packages/survey-core/src/images-v2/minimize-16x16.svg","./more-24x24.svg":"./packages/survey-core/src/images-v2/more-24x24.svg","./navmenu-24x24.svg":"./packages/survey-core/src/images-v2/navmenu-24x24.svg","./noimage-48x48.svg":"./packages/survey-core/src/images-v2/noimage-48x48.svg","./ranking-arrows.svg":"./packages/survey-core/src/images-v2/ranking-arrows.svg","./rankingundefined-16x16.svg":"./packages/survey-core/src/images-v2/rankingundefined-16x16.svg","./rating-star-2.svg":"./packages/survey-core/src/images-v2/rating-star-2.svg","./rating-star-small-2.svg":"./packages/survey-core/src/images-v2/rating-star-small-2.svg","./rating-star-small.svg":"./packages/survey-core/src/images-v2/rating-star-small.svg","./rating-star.svg":"./packages/survey-core/src/images-v2/rating-star.svg","./reorder-24x24.svg":"./packages/survey-core/src/images-v2/reorder-24x24.svg","./restoredown-16x16.svg":"./packages/survey-core/src/images-v2/restoredown-16x16.svg","./search-24x24.svg":"./packages/survey-core/src/images-v2/search-24x24.svg","./smiley-rate1-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate1-24x24.svg","./smiley-rate10-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate10-24x24.svg","./smiley-rate2-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate2-24x24.svg","./smiley-rate3-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate3-24x24.svg","./smiley-rate4-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate4-24x24.svg","./smiley-rate5-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate5-24x24.svg","./smiley-rate6-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate6-24x24.svg","./smiley-rate7-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate7-24x24.svg","./smiley-rate8-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg","./smiley-rate9-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg"};function webpackContext(e){return o(webpackContextResolve(e))}function webpackContextResolve(e){if(!o.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}webpackContext.keys=function(){return Object.keys(n)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id="./packages/survey-core/src/images-v2 sync recursive \\.svg$"},
5"./packages/survey-core/src/images-v2/ModernBooleanCheckChecked.svg":function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>'},
5"./packages/survey-core/src/images-v2/ModernBooleanCheckInd.svg":function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>'},
5"./packages/survey-core/src/images-v2/ModernBooleanCheckUnchecked.svg":function(e,t){e.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>'},
5"./packages/survey-core/src/images-v2/ModernCheck.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"></path></svg>'},
5"./packages/survey-core/src/images-v2/ModernRadio.svg":function(e,t){e.exports='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"></circle></svg>'},
5"./packages/survey-core/src/images-v2/ProgressButton.svg":function(e,t){e.exports='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "></polygon></svg>'},
5"./packages/survey-core/src/images-v2/RemoveFile.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"></path></svg>'},
5"./packages/survey-core/src/images-v2/TimerCircle.svg":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke: var(--sd-timer-stroke-background-color); stroke-width: var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"></circle><circle cx="80" cy="80" r="70"></circle></svg>'},
5"./packages/survey-core/src/images-v2/add-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 12C15.75 12.41 15.41 12.75 15 12.75H12.75V15C12.75 15.41 12.41 15.75 12 15.75C11.59 15.75 11.25 15.41 11.25 15V12.75H9C8.59 12.75 8.25 12.41 8.25 12C8.25 11.59 8.59 11.25 9 11.25H11.25V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9V11.25H15C15.41 11.25 15.75 11.59 15.75 12ZM21.75 12C21.75 17.38 17.38 21.75 12 21.75C6.62 21.75 2.25 17.38 2.25 12C2.25 6.62 6.62 2.25 12 2.25C17.38 2.25 21.75 6.62 21.75 12ZM20.25 12C20.25 7.45 16.55 3.75 12 3.75C7.45 3.75 3.75 7.45 3.75 12C3.75 16.55 7.45 20.25 12 20.25C16.55 20.25 20.25 16.55 20.25 12Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/arrowleft-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.7475 7.9975C14.7475 8.4075 14.4075 8.7475 13.9975 8.7475H3.8075L7.5275 12.4675C7.8175 12.7575 7.8175 13.2375 7.5275 13.5275C7.3775 13.6775 7.1875 13.7475 6.9975 13.7475C6.8075 13.7475 6.6175 13.6775 6.4675 13.5275L1.4675 8.5275C1.1775 8.2375 1.1775 7.7575 1.4675 7.4675L6.4675 2.4675C6.7575 2.1775 7.2375 2.1775 7.5275 2.4675C7.8175 2.7575 7.8175 3.2375 7.5275 3.5275L3.8075 7.2475H13.9975C14.4075 7.2475 14.7475 7.5875 14.7475 7.9975Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/arrowright-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 8.5275L9.53 13.5275C9.38 13.6775 9.19 13.7475 9 13.7475C8.81 13.7475 8.62 13.6775 8.47 13.5275C8.18 13.2375 8.18 12.7575 8.47 12.4675L12.19 8.7475H2C1.59 8.7475 1.25 8.4075 1.25 7.9975C1.25 7.5875 1.59 7.2475 2 7.2475H12.19L8.47 3.5275C8.18 3.2375 8.18 2.7575 8.47 2.4675C8.76 2.1775 9.24 2.1775 9.53 2.4675L14.53 7.4675C14.82 7.7575 14.82 8.2375 14.53 8.5275Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/camera-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.19 4.25H17.12C16.72 4.25 16.35 4.03 16.17 3.67C15.73 2.8 14.86 2.25 13.88 2.25H10.12C9.14 2.25 8.27 2.79 7.83 3.67C7.65 4.03 7.29 4.25 6.88 4.25H4.81C3.4 4.25 2.25 5.4 2.25 6.81V18.19C2.25 19.6 3.4 20.75 4.81 20.75H19.19C20.6 20.75 21.75 19.6 21.75 18.19V6.81C21.75 5.4 20.6 4.25 19.19 4.25ZM20.25 18.19C20.25 18.77 19.78 19.25 19.19 19.25H4.81C4.23 19.25 3.75 18.78 3.75 18.19V6.81C3.75 6.23 4.22 5.75 4.81 5.75H6.88C7.86 5.75 8.73 5.21 9.17 4.33C9.35 3.97 9.71 3.75 10.12 3.75H13.88C14.28 3.75 14.65 3.97 14.83 4.33C15.27 5.2 16.14 5.75 17.12 5.75H19.19C19.77 5.75 20.25 6.22 20.25 6.81V18.19ZM12 6.25C8.83 6.25 6.25 8.83 6.25 12C6.25 15.17 8.83 17.75 12 17.75C15.17 17.75 17.75 15.17 17.75 12C17.75 8.83 15.17 6.25 12 6.25ZM12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM14.75 12C14.75 13.52 13.52 14.75 12 14.75C11.59 14.75 11.25 14.41 11.25 14C11.25 13.59 11.59 13.25 12 13.25C12.69 13.25 13.25 12.69 13.25 12C13.25 11.59 13.59 11.25 14 11.25C14.41 11.25 14.75 11.59 14.75 12Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/camera-32x32.svg":function(e,t){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M25 7.25H22.19C21.73 7.25 21.31 7 21.09 6.59L20.89 6.22C20.23 5.01 18.97 4.25 17.59 4.25H14.41C13.03 4.25 11.77 5 11.11 6.22L10.91 6.6C10.69 7 10.27 7.26 9.81 7.26H7C4.93 7.26 3.25 8.94 3.25 11.01V24.01C3.25 26.08 4.93 27.76 7 27.76H25C27.07 27.76 28.75 26.08 28.75 24.01V11C28.75 8.93 27.07 7.25 25 7.25ZM27.25 24C27.25 25.24 26.24 26.25 25 26.25H7C5.76 26.25 4.75 25.24 4.75 24V11C4.75 9.76 5.76 8.75 7 8.75H9.81C10.82 8.75 11.75 8.2 12.23 7.31L12.43 6.94C12.82 6.21 13.58 5.76 14.41 5.76H17.59C18.42 5.76 19.18 6.21 19.57 6.94L19.77 7.31C20.25 8.2 21.18 8.76 22.19 8.76H25C26.24 8.76 27.25 9.77 27.25 11.01V24.01V24ZM16 10.25C12.28 10.25 9.25 13.28 9.25 17C9.25 20.72 12.28 23.75 16 23.75C19.72 23.75 22.75 20.72 22.75 17C22.75 13.28 19.72 10.25 16 10.25ZM16 22.25C13.11 22.25 10.75 19.89 10.75 17C10.75 14.11 13.11 11.75 16 11.75C18.89 11.75 21.25 14.11 21.25 17C21.25 19.89 18.89 22.25 16 22.25ZM19.75 17C19.75 19.07 18.07 20.75 16 20.75C15.59 20.75 15.25 20.41 15.25 20C15.25 19.59 15.59 19.25 16 19.25C17.24 19.25 18.25 18.24 18.25 17C18.25 16.59 18.59 16.25 19 16.25C19.41 16.25 19.75 16.59 19.75 17Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/cancel-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.8099 11.75L15.2799 9.28C15.5699 8.99 15.5699 8.51 15.2799 8.22C14.9899 7.93 14.5099 7.93 14.2199 8.22L11.7499 10.69L9.27994 8.22C8.98994 7.93 8.50994 7.93 8.21994 8.22C7.92994 8.51 7.92994 8.99 8.21994 9.28L10.6899 11.75L8.21994 14.22C7.92994 14.51 7.92994 14.99 8.21994 15.28C8.36994 15.43 8.55994 15.5 8.74994 15.5C8.93994 15.5 9.12994 15.43 9.27994 15.28L11.7499 12.81L14.2199 15.28C14.3699 15.43 14.5599 15.5 14.7499 15.5C14.9399 15.5 15.1299 15.43 15.2799 15.28C15.5699 14.99 15.5699 14.51 15.2799 14.22L12.8099 11.75Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/check-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.0275 5.0275L6.5275 12.5275C6.3775 12.6775 6.1875 12.7475 5.9975 12.7475C5.8075 12.7475 5.6175 12.6775 5.4675 12.5275L2.4675 9.5275C2.1775 9.2375 2.1775 8.7575 2.4675 8.4675C2.7575 8.1775 3.2375 8.1775 3.5275 8.4675L5.9975 10.9375L12.9675 3.9675C13.2575 3.6775 13.7375 3.6775 14.0275 3.9675C14.3175 4.2575 14.3175 4.7375 14.0275 5.0275Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/check-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/chevrondown-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/chevronright-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.35 8.34627L7.35 12.3463C7.25 12.4463 7.12 12.4963 7 12.4963C6.88 12.4963 6.74 12.4463 6.65 12.3463C6.45 12.1463 6.45 11.8363 6.65 11.6363L10.3 7.98627L6.65 4.34627C6.45 4.15627 6.45 3.83627 6.65 3.64627C6.85 3.45627 7.16 3.44627 7.35 3.64627L11.35 7.64627C11.55 7.84627 11.55 8.15627 11.35 8.35627V8.34627Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/clear-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.35 11.65C12.55 11.85 12.55 12.16 12.35 12.36C12.25 12.46 12.12 12.51 12 12.51C11.88 12.51 11.74 12.46 11.65 12.36L8 8.71L4.35 12.36C4.25 12.46 4.12 12.51 4 12.51C3.88 12.51 3.74 12.46 3.65 12.36C3.45 12.16 3.45 11.85 3.65 11.65L7.3 8L3.65 4.35C3.45 4.16 3.45 3.84 3.65 3.65C3.85 3.46 4.16 3.45 4.35 3.65L8 7.3L11.65 3.65C11.85 3.45 12.16 3.45 12.36 3.65C12.56 3.85 12.56 4.16 12.36 4.36L8.71 8.01L12.36 11.66L12.35 11.65Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/clear-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.12 10.9325C20.64 10.4125 20.93 9.7225 20.93 8.9925C20.93 8.2625 20.64 7.5725 20.12 7.0525L16.95 3.8825C15.88 2.8125 14.13 2.8125 13.06 3.8825L3.88 13.0525C3.36 13.5725 3.07 14.2625 3.07 14.9925C3.07 15.7225 3.36 16.4125 3.88 16.9325L5.64 18.6925C6.57 19.6225 7.78 20.0825 9 20.0825C10.22 20.0825 11.43 19.6225 12.36 18.6925L20.12 10.9325ZM14.12 4.9325C14.36 4.6925 14.67 4.5625 15 4.5625C15.33 4.5625 15.65 4.6925 15.88 4.9325L19.05 8.1025C19.54 8.5925 19.54 9.3825 19.05 9.8725L12.99 15.9325L8.05 10.9925L14.12 4.9325ZM6.7 17.6325L4.94 15.8725C4.45 15.3825 4.45 14.5925 4.94 14.1025L7 12.0425L11.94 16.9825L11.3 17.6225C10.07 18.8525 7.93 18.8525 6.7 17.6225V17.6325ZM22.75 20.9925C22.75 21.4025 22.41 21.7425 22 21.7425H14C13.59 21.7425 13.25 21.4025 13.25 20.9925C13.25 20.5825 13.59 20.2425 14 20.2425H22C22.41 20.2425 22.75 20.5825 22.75 20.9925ZM4.75 20.9925C4.75 21.4025 4.41 21.7425 4 21.7425H2C1.59 21.7425 1.25 21.4025 1.25 20.9925C1.25 20.5825 1.59 20.2425 2 20.2425H4C4.41 20.2425 4.75 20.5825 4.75 20.9925Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/close-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5275 12.4675C13.8175 12.7575 13.8175 13.2375 13.5275 13.5275C13.3775 13.6775 13.1875 13.7475 12.9975 13.7475C12.8075 13.7475 12.6175 13.6775 12.4675 13.5275L7.9975 9.0575L3.5275 13.5275C3.3775 13.6775 3.1875 13.7475 2.9975 13.7475C2.8075 13.7475 2.6175 13.6775 2.4675 13.5275C2.1775 13.2375 2.1775 12.7575 2.4675 12.4675L6.9375 7.9975L2.4675 3.5275C2.1775 3.2375 2.1775 2.7575 2.4675 2.4675C2.7575 2.1775 3.2375 2.1775 3.5275 2.4675L7.9975 6.9375L12.4675 2.4675C12.7575 2.1775 13.2375 2.1775 13.5275 2.4675C13.8175 2.7575 13.8175 3.2375 13.5275 3.5275L9.0575 7.9975L13.5275 12.4675Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/close-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 18.4675C19.8175 18.7575 19.8175 19.2375 19.5275 19.5275C19.3775 19.6775 19.1875 19.7475 18.9975 19.7475C18.8075 19.7475 18.6175 19.6775 18.4675 19.5275L11.9975 13.0575L5.5275 19.5275C5.3775 19.6775 5.1875 19.7475 4.9975 19.7475C4.8075 19.7475 4.6175 19.6775 4.4675 19.5275C4.1775 19.2375 4.1775 18.7575 4.4675 18.4675L10.9375 11.9975L4.4675 5.5275C4.1775 5.2375 4.1775 4.7575 4.4675 4.4675C4.7575 4.1775 5.2375 4.1775 5.5275 4.4675L11.9975 10.9375L18.4675 4.4675C18.7575 4.1775 19.2375 4.1775 19.5275 4.4675C19.8175 4.7575 19.8175 5.2375 19.5275 5.5275L13.0575 11.9975L19.5275 18.4675Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/collapse-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/collapsedetails-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/delete-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.75 9V17C12.75 17.41 12.41 17.75 12 17.75C11.59 17.75 11.25 17.41 11.25 17V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9ZM14.25 9V17C14.25 17.41 14.59 17.75 15 17.75C15.41 17.75 15.75 17.41 15.75 17V9C15.75 8.59 15.41 8.25 15 8.25C14.59 8.25 14.25 8.59 14.25 9ZM9 8.25C8.59 8.25 8.25 8.59 8.25 9V17C8.25 17.41 8.59 17.75 9 17.75C9.41 17.75 9.75 17.41 9.75 17V9C9.75 8.59 9.41 8.25 9 8.25ZM20.75 6C20.75 6.41 20.41 6.75 20 6.75H18.75V18C18.75 19.52 17.52 20.75 16 20.75H8C6.48 20.75 5.25 19.52 5.25 18V6.75H4C3.59 6.75 3.25 6.41 3.25 6C3.25 5.59 3.59 5.25 4 5.25H8.25V4C8.25 3.04 9.04 2.25 10 2.25H14C14.96 2.25 15.75 3.04 15.75 4V5.25H20C20.41 5.25 20.75 5.59 20.75 6ZM9.75 5.25H14.25V4C14.25 3.86 14.14 3.75 14 3.75H10C9.86 3.75 9.75 3.86 9.75 4V5.25ZM17.25 6.75H6.75V18C6.75 18.69 7.31 19.25 8 19.25H16C16.69 19.25 17.25 18.69 17.25 18V6.75Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/drag-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 8.75C15.19 8.75 15.75 8.19 15.75 7.5C15.75 6.81 15.19 6.25 14.5 6.25C13.81 6.25 13.25 6.81 13.25 7.5C13.25 8.19 13.81 8.75 14.5 8.75ZM14.5 7.25C14.64 7.25 14.75 7.36 14.75 7.5C14.75 7.78 14.25 7.78 14.25 7.5C14.25 7.36 14.36 7.25 14.5 7.25ZM9.5 6.25C8.81 6.25 8.25 6.81 8.25 7.5C8.25 8.19 8.81 8.75 9.5 8.75C10.19 8.75 10.75 8.19 10.75 7.5C10.75 6.81 10.19 6.25 9.5 6.25ZM9.25 7.5C9.25 7.36 9.36 7.25 9.5 7.25C9.64 7.25 9.75 7.36 9.75 7.5C9.75 7.78 9.25 7.78 9.25 7.5ZM14.5 11.25C13.81 11.25 13.25 11.81 13.25 12.5C13.25 13.19 13.81 13.75 14.5 13.75C15.19 13.75 15.75 13.19 15.75 12.5C15.75 11.81 15.19 11.25 14.5 11.25ZM14.25 12.5C14.25 12.36 14.36 12.25 14.5 12.25C14.64 12.25 14.75 12.36 14.75 12.5C14.75 12.78 14.25 12.78 14.25 12.5ZM9.5 11.25C8.81 11.25 8.25 11.81 8.25 12.5C8.25 13.19 8.81 13.75 9.5 13.75C10.19 13.75 10.75 13.19 10.75 12.5C10.75 11.81 10.19 11.25 9.5 11.25ZM9.25 12.5C9.25 12.36 9.36 12.25 9.5 12.25C9.64 12.25 9.75 12.36 9.75 12.5C9.75 12.78 9.25 12.78 9.25 12.5ZM14.5 16.25C13.81 16.25 13.25 16.81 13.25 17.5C13.25 18.19 13.81 18.75 14.5 18.75C15.19 18.75 15.75 18.19 15.75 17.5C15.75 16.81 15.19 16.25 14.5 16.25ZM14.25 17.5C14.25 17.36 14.36 17.25 14.5 17.25C14.64 17.25 14.75 17.36 14.75 17.5C14.75 17.78 14.25 17.78 14.25 17.5ZM9.5 16.25C8.81 16.25 8.25 16.81 8.25 17.5C8.25 18.19 8.81 18.75 9.5 18.75C10.19 18.75 10.75 18.19 10.75 17.5C10.75 16.81 10.19 16.25 9.5 16.25ZM9.25 17.5C9.25 17.36 9.36 17.25 9.5 17.25C9.64 17.25 9.75 17.36 9.75 17.5C9.75 17.78 9.25 17.78 9.25 17.5Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/draghorizontal-24x16.svg":function(e,t){e.exports='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 9.25C16.81 9.25 16.25 9.81 16.25 10.5C16.25 11.19 16.81 11.75 17.5 11.75C18.19 11.75 18.75 11.19 18.75 10.5C18.75 9.81 18.19 9.25 17.5 9.25ZM17.25 10.5C17.25 10.36 17.36 10.25 17.5 10.25C17.64 10.25 17.75 10.36 17.75 10.5C17.75 10.78 17.25 10.78 17.25 10.5ZM17.5 6.75C18.19 6.75 18.75 6.19 18.75 5.5C18.75 4.81 18.19 4.25 17.5 4.25C16.81 4.25 16.25 4.81 16.25 5.5C16.25 6.19 16.81 6.75 17.5 6.75ZM17.5 5.25C17.64 5.25 17.75 5.36 17.75 5.5C17.75 5.78 17.25 5.78 17.25 5.5C17.25 5.36 17.36 5.25 17.5 5.25ZM12.5 9.25C11.81 9.25 11.25 9.81 11.25 10.5C11.25 11.19 11.81 11.75 12.5 11.75C13.19 11.75 13.75 11.19 13.75 10.5C13.75 9.81 13.19 9.25 12.5 9.25ZM12.25 10.5C12.25 10.36 12.36 10.25 12.5 10.25C12.64 10.25 12.75 10.36 12.75 10.5C12.75 10.78 12.25 10.78 12.25 10.5ZM12.5 4.25C11.81 4.25 11.25 4.81 11.25 5.5C11.25 6.19 11.81 6.75 12.5 6.75C13.19 6.75 13.75 6.19 13.75 5.5C13.75 4.81 13.19 4.25 12.5 4.25ZM12.25 5.5C12.25 5.36 12.36 5.25 12.5 5.25C12.64 5.25 12.75 5.36 12.75 5.5C12.75 5.78 12.25 5.78 12.25 5.5ZM7.5 9.25C6.81 9.25 6.25 9.81 6.25 10.5C6.25 11.19 6.81 11.75 7.5 11.75C8.19 11.75 8.75 11.19 8.75 10.5C8.75 9.81 8.19 9.25 7.5 9.25ZM7.25 10.5C7.25 10.36 7.36 10.25 7.5 10.25C7.64 10.25 7.75 10.36 7.75 10.5C7.75 10.78 7.25 10.78 7.25 10.5ZM7.5 4.25C6.81 4.25 6.25 4.81 6.25 5.5C6.25 6.19 6.81 6.75 7.5 6.75C8.19 6.75 8.75 6.19 8.75 5.5C8.75 4.81 8.19 4.25 7.5 4.25ZM7.25 5.5C7.25 5.36 7.36 5.25 7.5 5.25C7.64 5.25 7.75 5.36 7.75 5.5C7.75 5.78 7.25 5.78 7.25 5.5Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/expand-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/expanddetails-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/file-72x72.svg":function(e,t){e.exports='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/flip-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 17.4775C14.82 17.7675 14.82 18.2475 14.53 18.5375L11.53 21.5375C11.38 21.6875 11.19 21.7575 11 21.7575C10.81 21.7575 10.62 21.6875 10.47 21.5375C10.18 21.2475 10.18 20.7675 10.47 20.4775L12.2 18.7475C12.13 18.7475 12.07 18.7475 12 18.7475C6.62 18.7475 2.25 15.7475 2.25 12.0575C2.25 10.2975 3.22 8.6375 4.99 7.3875C5.33 7.1475 5.8 7.2275 6.03 7.5675C6.27 7.9075 6.19 8.3775 5.85 8.6075C4.49 9.5675 3.74 10.7875 3.74 12.0575C3.74 14.9175 7.44 17.2475 11.99 17.2475C12.05 17.2475 12.11 17.2475 12.17 17.2475L10.46 15.5375C10.17 15.2475 10.17 14.7675 10.46 14.4775C10.75 14.1875 11.23 14.1875 11.52 14.4775L14.52 17.4775H14.53ZM12 5.2575C11.93 5.2575 11.87 5.2575 11.8 5.2575L13.53 3.5275C13.82 3.2375 13.82 2.7575 13.53 2.4675C13.24 2.1775 12.76 2.1775 12.47 2.4675L9.47 5.4675C9.18 5.7575 9.18 6.2375 9.47 6.5275L12.47 9.5275C12.62 9.6775 12.81 9.7475 13 9.7475C13.19 9.7475 13.38 9.6775 13.53 9.5275C13.82 9.2375 13.82 8.7575 13.53 8.4675L11.82 6.7575C11.88 6.7575 11.94 6.7575 12 6.7575C16.55 6.7575 20.25 9.0875 20.25 11.9475C20.25 13.2075 19.5 14.4375 18.14 15.3975C17.8 15.6375 17.72 16.1075 17.96 16.4475C18.11 16.6575 18.34 16.7675 18.57 16.7675C18.72 16.7675 18.87 16.7275 19 16.6275C20.77 15.3775 21.75 13.7175 21.75 11.9575C21.75 8.2675 17.38 5.2675 12 5.2675V5.2575Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/folder-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.72 9.24C21.45 8.92 21.12 8.67 20.75 8.5V8C20.75 6.48 19.52 5.25 18 5.25H10.65C10.32 4.1 9.26 3.25 8 3.25H6C4.48 3.25 3.25 4.48 3.25 6V18C3.25 19.52 4.48 20.75 6 20.75H18.33C19.66 20.75 20.8 19.8 21.04 18.49L22.31 11.49C22.46 10.69 22.24 9.86 21.72 9.24ZM4.75 18V6C4.75 5.31 5.31 4.75 6 4.75H8C8.69 4.75 9.25 5.31 9.25 6C9.25 6.41 9.59 6.75 10 6.75H18C18.69 6.75 19.25 7.31 19.25 8V8.25H9.27C7.94 8.25 6.8 9.2 6.56 10.51L5.29 17.51C5.19 18.07 5.27 18.64 5.51 19.15C5.06 18.96 4.75 18.52 4.75 18ZM20.83 11.22L19.56 18.22C19.45 18.81 18.94 19.25 18.33 19.25H8C7.63 19.25 7.28 19.09 7.04 18.8C6.8 18.51 6.7 18.14 6.77 17.78L8.04 10.78C8.15 10.19 8.66 9.75 9.27 9.75H19.6C19.97 9.75 20.32 9.91 20.56 10.2C20.8 10.49 20.9 10.86 20.83 11.22Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/fullsize-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.25H4C3.04 3.25 2.25 4.04 2.25 5V11C2.25 11.96 3.04 12.75 4 12.75H12C12.96 12.75 13.75 11.96 13.75 11V5C13.75 4.04 12.96 3.25 12 3.25ZM12.25 11C12.25 11.14 12.14 11.25 12 11.25H4C3.86 11.25 3.75 11.14 3.75 11V5C3.75 4.86 3.86 4.75 4 4.75H12C12.14 4.75 12.25 4.86 12.25 5V11Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/image-48x48.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M33 10.25H15C12.38 10.25 10.25 12.38 10.25 15V33C10.25 35.62 12.38 37.75 15 37.75H33C35.62 37.75 37.75 35.62 37.75 33V15C37.75 12.38 35.62 10.25 33 10.25ZM36.25 33C36.25 34.79 34.79 36.25 33 36.25H15C13.21 36.25 11.75 34.79 11.75 33V15C11.75 13.21 13.21 11.75 15 11.75H33C34.79 11.75 36.25 13.21 36.25 15V33ZM30.5 14.25C28.71 14.25 27.25 15.71 27.25 17.5C27.25 19.29 28.71 20.75 30.5 20.75C32.29 20.75 33.75 19.29 33.75 17.5C33.75 15.71 32.29 14.25 30.5 14.25ZM30.5 19.25C29.54 19.25 28.75 18.46 28.75 17.5C28.75 16.54 29.54 15.75 30.5 15.75C31.46 15.75 32.25 16.54 32.25 17.5C32.25 18.46 31.46 19.25 30.5 19.25ZM29.26 26.28C28.94 25.92 28.49 25.71 28.01 25.7C27.54 25.68 27.07 25.87 26.73 26.2L24.95 27.94L22.28 25.23C21.94 24.89 21.5 24.71 21 24.71C20.52 24.71 20.06 24.93 19.74 25.28L14.74 30.78C14.25 31.3 14.12 32.06 14.41 32.72C14.69 33.36 15.28 33.75 15.95 33.75H32.07C32.74 33.75 33.33 33.35 33.61 32.72C33.89 32.06 33.77 31.31 33.29 30.79L29.27 26.29L29.26 26.28ZM32.22 32.12C32.18 32.2 32.13 32.25 32.06 32.25H15.94C15.87 32.25 15.81 32.21 15.78 32.12C15.77 32.09 15.71 31.93 15.83 31.8L20.84 26.29C20.9 26.22 20.99 26.21 21.02 26.21C21.06 26.21 21.14 26.22 21.2 26.29L24.4 29.54C24.69 29.83 25.16 29.84 25.46 29.54L27.77 27.27C27.83 27.21 27.9 27.2 27.94 27.2C28.01 27.2 28.06 27.21 28.13 27.28L32.16 31.79C32.16 31.79 32.16 31.79 32.17 31.8C32.29 31.93 32.23 32.09 32.22 32.12Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/loading-48x48.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"></path><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z" fill="#19B394"></path></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"></rect></clipPath></defs></svg>'},
5"./packages/survey-core/src/images-v2/maximize-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 3V7C13.75 7.41 13.41 7.75 13 7.75C12.59 7.75 12.25 7.41 12.25 7V4.81L9.53 7.53C9.38 7.68 9.19 7.75 9 7.75C8.81 7.75 8.62 7.68 8.47 7.53C8.18 7.24 8.18 6.76 8.47 6.47L11.19 3.75H9C8.59 3.75 8.25 3.41 8.25 3C8.25 2.59 8.59 2.25 9 2.25H13C13.1 2.25 13.19 2.27 13.29 2.31C13.47 2.39 13.62 2.53 13.7 2.72C13.74 2.81 13.76 2.91 13.76 3.01L13.75 3ZM7.53 8.47C7.24 8.18 6.76 8.18 6.47 8.47L3.75 11.19V9C3.75 8.59 3.41 8.25 3 8.25C2.59 8.25 2.25 8.59 2.25 9V13C2.25 13.1 2.27 13.19 2.31 13.29C2.39 13.47 2.53 13.62 2.72 13.7C2.81 13.74 2.91 13.76 3.01 13.76H7.01C7.42 13.76 7.76 13.42 7.76 13.01C7.76 12.6 7.42 12.26 7.01 12.26H4.82L7.54 9.54C7.83 9.25 7.83 8.77 7.54 8.48L7.53 8.47Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/minimize-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 8C13.75 8.41 13.41 8.75 13 8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H13C13.41 7.25 13.75 7.59 13.75 8Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/more-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.25C11.04 10.25 10.25 11.04 10.25 12C10.25 12.96 11.04 13.75 12 13.75C12.96 13.75 13.75 12.96 13.75 12C13.75 11.04 12.96 10.25 12 10.25ZM11.75 12C11.75 11.86 11.86 11.75 12 11.75C12.14 11.75 12.25 11.86 12.25 12C12.25 12.28 11.75 12.28 11.75 12ZM19 10.25C18.04 10.25 17.25 11.04 17.25 12C17.25 12.96 18.04 13.75 19 13.75C19.96 13.75 20.75 12.96 20.75 12C20.75 11.04 19.96 10.25 19 10.25ZM18.75 12C18.75 11.86 18.86 11.75 19 11.75C19.14 11.75 19.25 11.86 19.25 12C19.25 12.28 18.75 12.28 18.75 12ZM5 10.25C4.04 10.25 3.25 11.04 3.25 12C3.25 12.96 4.04 13.75 5 13.75C5.96 13.75 6.75 12.96 6.75 12C6.75 11.04 5.96 10.25 5 10.25ZM4.75 12C4.75 11.86 4.86 11.75 5 11.75C5.14 11.75 5.25 11.86 5.25 12C5.25 12.28 4.75 12.28 4.75 12Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/navmenu-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.25 7C3.25 6.59 3.59 6.25 4 6.25H15C15.41 6.25 15.75 6.59 15.75 7C15.75 7.41 15.41 7.75 15 7.75H4C3.59 7.75 3.25 7.41 3.25 7ZM20 11.25H4C3.59 11.25 3.25 11.59 3.25 12C3.25 12.41 3.59 12.75 4 12.75H20C20.41 12.75 20.75 12.41 20.75 12C20.75 11.59 20.41 11.25 20 11.25ZM9 16.25H4C3.59 16.25 3.25 16.59 3.25 17C3.25 17.41 3.59 17.75 4 17.75H9C9.41 17.75 9.75 17.41 9.75 17C9.75 16.59 9.41 16.25 9 16.25Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/noimage-48x48.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M30.4975 14.2475C28.7075 14.2475 27.2475 15.7075 27.2475 17.4975C27.2475 19.2875 28.7075 20.7475 30.4975 20.7475C32.2875 20.7475 33.7475 19.2875 33.7475 17.4975C33.7475 15.7075 32.2875 14.2475 30.4975 14.2475ZM30.4975 19.2475C29.5375 19.2475 28.7475 18.4575 28.7475 17.4975C28.7475 16.5375 29.5375 15.7475 30.4975 15.7475C31.4575 15.7475 32.2475 16.5375 32.2475 17.4975C32.2475 18.4575 31.4575 19.2475 30.4975 19.2475ZM13.5175 11.2175C13.4375 10.8075 13.7075 10.4175 14.1175 10.3375C14.4275 10.2775 14.7175 10.2475 14.9975 10.2475H32.9975C35.6175 10.2475 37.7475 12.3775 37.7475 14.9975V32.9975C37.7475 33.2775 37.7175 33.5675 37.6575 33.8775C37.5875 34.2375 37.2775 34.4875 36.9175 34.4875C36.8675 34.4875 36.8275 34.4875 36.7775 34.4775C36.3675 34.3975 36.1075 34.0075 36.1775 33.5975C36.2175 33.3775 36.2375 33.1775 36.2375 32.9975V14.9975C36.2375 13.2075 34.7775 11.7475 32.9875 11.7475H14.9975C14.8075 11.7475 14.6175 11.7675 14.3975 11.8075C13.9875 11.8875 13.5975 11.6175 13.5175 11.2075V11.2175ZM34.4775 36.7775C34.5575 37.1875 34.2875 37.5775 33.8775 37.6575C33.5675 37.7175 33.2775 37.7475 32.9975 37.7475H14.9975C12.3775 37.7475 10.2475 35.6175 10.2475 32.9975V14.9975C10.2475 14.7175 10.2775 14.4275 10.3375 14.1175C10.4175 13.7075 10.8075 13.4375 11.2175 13.5175C11.6275 13.5975 11.8875 13.9875 11.8175 14.3975C11.7775 14.6175 11.7575 14.8175 11.7575 14.9975V32.9975C11.7575 34.7875 13.2175 36.2475 15.0075 36.2475H33.0075C33.1975 36.2475 33.3875 36.2275 33.6075 36.1875C34.0075 36.1075 34.4075 36.3775 34.4875 36.7875L34.4775 36.7775ZM15.8275 31.7975C15.6975 31.9375 15.7575 32.0875 15.7775 32.1175C15.8175 32.1975 15.8675 32.2475 15.9375 32.2475H29.8175C30.2275 32.2475 30.5675 32.5875 30.5675 32.9975C30.5675 33.4075 30.2275 33.7475 29.8175 33.7475H15.9375C15.2675 33.7475 14.6775 33.3475 14.3975 32.7175C14.1075 32.0575 14.2375 31.2975 14.7275 30.7775L19.7275 25.2775C20.0475 24.9275 20.5075 24.7175 20.9875 24.7075C21.4875 24.7275 21.9375 24.8875 22.2675 25.2275L25.4675 28.4775C25.7575 28.7675 25.7575 29.2475 25.4675 29.5375C25.1675 29.8275 24.6975 29.8275 24.4075 29.5375L21.2075 26.2875C21.1475 26.2175 21.0675 26.1875 21.0275 26.2075C20.9875 26.2075 20.9075 26.2175 20.8475 26.2875L15.8375 31.7975H15.8275ZM38.5275 38.5275C38.3775 38.6775 38.1875 38.7475 37.9975 38.7475C37.8075 38.7475 37.6175 38.6775 37.4675 38.5275L9.4675 10.5275C9.1775 10.2375 9.1775 9.7575 9.4675 9.4675C9.7575 9.1775 10.2375 9.1775 10.5275 9.4675L38.5275 37.4675C38.8175 37.7575 38.8175 38.2375 38.5275 38.5275Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/ranking-arrows.svg":function(e,t){e.exports='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"></path><path d="M6 19V15H4V19H0L5 24L10 19H6Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/rankingundefined-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/rating-star-2.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"></path><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"></path></svg>'},
5"./packages/survey-core/src/images-v2/rating-star-small-2.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"></path><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/rating-star-small.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"></path></g></svg>'},
5"./packages/survey-core/src/images-v2/rating-star.svg":function(e,t){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"></path></g></svg>'},
5"./packages/survey-core/src/images-v2/reorder-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.9444 10.75H15.0544C15.7144 10.75 16.3144 10.39 16.6144 9.80002C16.9144 9.22002 16.8644 8.52002 16.4844 7.98002L13.4244 3.71002C12.7644 2.79002 11.2344 2.79002 10.5744 3.71002L7.5244 7.99002C7.1444 8.53002 7.0944 9.22002 7.3944 9.81002C7.6944 10.4 8.2944 10.76 8.9544 10.76L8.9444 10.75ZM8.7444 8.86002L11.7944 4.58002C11.8644 4.49002 11.9544 4.48002 11.9944 4.48002C12.0344 4.48002 12.1344 4.49002 12.1944 4.58002L15.2544 8.86002C15.3344 8.97002 15.3044 9.07002 15.2744 9.12002C15.2444 9.17002 15.1844 9.26002 15.0544 9.26002H8.9444C8.8144 9.26002 8.7444 9.18002 8.7244 9.12002C8.7044 9.06002 8.6644 8.97002 8.7444 8.86002ZM15.0544 13.25H8.9444C8.2844 13.25 7.6844 13.61 7.3844 14.2C7.0844 14.78 7.1344 15.48 7.5144 16.02L10.5744 20.3C10.9044 20.76 11.4344 21.03 11.9944 21.03C12.5544 21.03 13.0944 20.76 13.4144 20.3L16.4744 16.02C16.8544 15.48 16.9044 14.79 16.6044 14.2C16.3044 13.61 15.7044 13.25 15.0444 13.25H15.0544ZM15.2644 15.15L12.2044 19.43C12.0744 19.61 11.9244 19.61 11.7944 19.43L8.7344 15.15C8.6544 15.04 8.6844 14.94 8.7144 14.89C8.7444 14.84 8.8044 14.75 8.9344 14.75H15.0444C15.1744 14.75 15.2444 14.83 15.2644 14.89C15.2844 14.95 15.3244 15.04 15.2444 15.15H15.2644Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/restoredown-16x16.svg":function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 8.71C7.73 8.8 7.75 8.9 7.75 9V13C7.75 13.41 7.41 13.75 7 13.75C6.59 13.75 6.25 13.41 6.25 13V10.81L3.53 13.53C3.38 13.68 3.19 13.75 3 13.75C2.81 13.75 2.62 13.68 2.47 13.53C2.18 13.24 2.18 12.76 2.47 12.47L5.19 9.75H3C2.59 9.75 2.25 9.41 2.25 9C2.25 8.59 2.59 8.25 3 8.25H7C7.1 8.25 7.19 8.27 7.29 8.31C7.47 8.39 7.62 8.53 7.7 8.72L7.69 8.71ZM13 6.25H10.81L13.53 3.53C13.82 3.24 13.82 2.76 13.53 2.47C13.24 2.18 12.76 2.18 12.47 2.47L9.75 5.19V3C9.75 2.59 9.41 2.25 9 2.25C8.59 2.25 8.25 2.59 8.25 3V7C8.25 7.1 8.27 7.19 8.31 7.29C8.39 7.47 8.53 7.62 8.72 7.7C8.81 7.74 8.91 7.76 9.01 7.76H13.01C13.42 7.76 13.76 7.42 13.76 7.01C13.76 6.6 13.42 6.26 13.01 6.26L13 6.25Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/search-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.9975 2.25C9.7275 2.25 6.2475 5.73 6.2475 10C6.2475 11.87 6.9075 13.58 8.0175 14.92L2.4675 20.47C2.1775 20.76 2.1775 21.24 2.4675 21.53C2.6175 21.68 2.8075 21.75 2.9975 21.75C3.1875 21.75 3.3775 21.68 3.5275 21.53L9.0775 15.98C10.4175 17.08 12.1275 17.75 13.9975 17.75C18.2675 17.75 21.7475 14.27 21.7475 10C21.7475 5.73 18.2675 2.25 13.9975 2.25ZM13.9975 16.25C10.5475 16.25 7.7475 13.45 7.7475 10C7.7475 6.55 10.5475 3.75 13.9975 3.75C17.4475 3.75 20.2475 6.55 20.2475 10C20.2475 13.45 17.4475 16.25 13.9975 16.25Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate1-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate10-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate2-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"></path></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate3-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate4-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate5-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate6-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate7-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>'},
5"./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg":function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'},
5"./src/entries/react.ts":function(e,t,o){"use strict";o.r(t),o.d(t,"Version",function(){return t3}),o.d(t,"ReleaseDate",function(){return t9}),o.d(t,"checkLibraryVersion",function(){return checkLibraryVersion}),o.d(t,"setLicenseKey",function(){return setLicenseKey}),o.d(t,"slk",function(){return slk}),o.d(t,"hasLicense",function(){return hasLicense}),o.d(t,"glc",function(){return glc}),o.d(t,"settings",function(){return nC}),o.d(t,"Helpers",function(){return oe}),o.d(t,"AnswerCountValidator",function(){return nH}),o.d(t,"EmailValidator",function(){return nW}),o.d(t,"NumericValidator",function(){return nF}),o.d(t,"RegexValidator",function(){return nU}),o.d(t,"SurveyValidator",function(){return nq}),o.d(t,"TextValidator",function(){return nz}),o.d(t,"ValidatorResult",function(){return ValidatorResult}),o.d(t,"ExpressionValidator",function(){return n$}),o.d(t,"ValidatorRunner",function(){return nN}),o.d(t,"ItemValue",function(){return n0}),o.d(t,"Base",function(){return oW}),o.d(t,"Event",function(){return o$}),o.d(t,"EventBase",function(){return oJ}),o.d(t,"ArrayChanges",function(){return ArrayChanges}),o.d(t,"ComputedUpdater",function(){return oU}),o.d(t,"SurveyError",function(){return n_}),o.d(t,"SurveyElementCore",function(){return nh}),o.d(t,"SurveyElement",function(){return nm}),o.d(t,"DragTypeOverMeEnum",function(){return t4}),o.d(t,"CalculatedValue",function(){return n5}),o.d(t,"CustomError",function(){return nL}),o.d(t,"AnswerRequiredError",function(){return nM}),o.d(t,"OneAnswerRequiredError",function(){return nE}),o.d(t,"RequreNumericError",function(){return nT}),o.d(t,"ExceedSizeError",function(){return nV}),o.d(t,"LocalizableString",function(){return nf}),o.d(t,"LocalizableStrings",function(){return ny}),o.d(t,"HtmlConditionItem",function(){return n3}),o.d(t,"UrlConditionItem",function(){return n9}),o.d(t,"ChoicesRestful",function(){return re}),o.d(t,"ChoicesRestfull",function(){return rt}),o.d(t,"FunctionFactory",function(){return ow}),o.d(t,"registerFunction",function(){return oP}),o.d(t,"ConditionRunner",function(){return oq}),o.d(t,"ExpressionRunner",function(){return oN}),o.d(t,"ExpressionExecutor",function(){return oL}),o.d(t,"Operand",function(){return oS}),o.d(t,"Const",function(){return oV}),o.d(t,"BinaryOperand",function(){return oM}),o.d(t,"Variable",function(){return oR}),o.d(t,"FunctionOperand",function(){return ok}),o.d(t,"ArrayOperand",function(){return oT}),o.d(t,"UnaryOperand",function(){return oE}),o.d(t,"ConditionsParser",function(){return oA}),o.d(t,"ProcessValue",function(){return ox}),o.d(t,"JsonError",function(){return ou}),o.d(t,"JsonIncorrectTypeError",function(){return oh}),o.d(t,"JsonMetadata",function(){return ol}),o.d(t,"JsonMetadataClass",function(){return oa}),o.d(t,"JsonMissingTypeError",function(){return od}),o.d(t,"JsonMissingTypeErrorBase",function(){return op}),o.d(t,"JsonObject",function(){return oy}),o.d(t,"JsonObjectProperty",function(){return oi}),o.d(t,"JsonRequiredPropertyError",function(){return om}),o.d(t,"JsonUnknownPropertyError",function(){return oc}),o.d(t,"Serializer",function(){return ov}),o.d(t,"property",function(){return jsonobject_property}),o.d(t,"propertyArray",function(){return propertyArray}),o.d(t,"MatrixDropdownCell",function(){return rM}),o.d(t,"MatrixDropdownRowModelBase",function(){return rV}),o.d(t,"QuestionMatrixDropdownModelBase",function(){return rk}),o.d(t,"MatrixDropdownColumn",function(){return rb}),o.d(t,"matrixDropdownColumnTypes",function(){return rv}),o.d(t,"QuestionMatrixDropdownRenderedCell",function(){return rC}),o.d(t,"QuestionMatrixDropdownRenderedRow",function(){return rw}),o.d(t,"QuestionMatrixDropdownRenderedErrorRow",function(){return rP}),o.d(t,"QuestionMatrixDropdownRenderedTable",function(){return r_}),o.d(t,"MatrixDropdownRowModel",function(){return rO}),o.d(t,"QuestionMatrixDropdownModel",function(){return rD}),o.d(t,"MatrixDynamicRowModel",function(){return r$}),o.d(t,"QuestionMatrixDynamicModel",function(){return rJ}),o.d(t,"MatrixRowModel",function(){return iD}),o.d(t,"MatrixCells",function(){return iA}),o.d(t,"QuestionMatrixModel",function(){return iQ}),o.d(t,"QuestionMatrixBaseModel",function(){return rn}),o.d(t,"MultipleTextItemModel",function(){return i$}),o.d(t,"MultipleTextCell",function(){return iZ}),o.d(t,"MultipleTextErrorCell",function(){return iY}),o.d(t,"MutlipleTextErrorRow",function(){return iK}),o.d(t,"MutlipleTextRow",function(){return iG}),o.d(t,"QuestionMultipleTextModel",function(){return iJ}),o.d(t,"MultipleTextEditorModel",function(){return iW}),o.d(t,"PanelModel",function(){return il}),o.d(t,"PanelModelBase",function(){return ia}),o.d(t,"QuestionRowModel",function(){return is}),o.d(t,"FlowPanelModel",function(){return i1}),o.d(t,"PageModel",function(){return ip}),o.d(t,"DefaultTitleModel",function(){return i0}),o.d(t,"Question",function(){return nX}),o.d(t,"QuestionNonValue",function(){return i5}),o.d(t,"QuestionEmptyModel",function(){return i4}),o.d(t,"QuestionCheckboxBase",function(){return iC}),o.d(t,"QuestionSelectBase",function(){return ix}
5),o.d(t,"QuestionCheckboxModel",function(){return i9}),o.d(t,"QuestionTagboxModel",function(){return sn}),o.d(t,"QuestionRankingModel",function(){return sp}),o.d(t,"QuestionCommentModel",function(){return sh}),o.d(t,"QuestionDropdownModel",function(){return iI}),o.d(t,"QuestionFactory",function(){return rh}),o.d(t,"ElementFactory",function(){return rm}),o.d(t,"QuestionFileModel",function(){return sx}),o.d(t,"QuestionFilePage",function(){return sb}),o.d(t,"QuestionHtmlModel",function(){return sP}),o.d(t,"QuestionRadiogroupModel",function(){return sS}),o.d(t,"QuestionRatingModel",function(){return sV}),o.d(t,"RenderedRatingItem",function(){return sE}),o.d(t,"QuestionExpressionModel",function(){return rf}),o.d(t,"QuestionTextBase",function(){return iB}),o.d(t,"CharacterCounter",function(){return iL}),o.d(t,"QuestionTextModel",function(){return iz}),o.d(t,"QuestionBooleanModel",function(){return sk}),o.d(t,"QuestionImagePickerModel",function(){return sD}),o.d(t,"ImageItemValue",function(){return sO}),o.d(t,"QuestionImageModel",function(){return sL}),o.d(t,"QuestionSignaturePadModel",function(){return sq}),o.d(t,"QuestionPanelDynamicModel",function(){return sW}),o.d(t,"QuestionPanelDynamicItem",function(){return sH}),o.d(t,"SurveyTimer",function(){return r0}),o.d(t,"SurveyTimerModel",function(){return r5}),o.d(t,"tryFocusPage",function(){return tryFocusPage}),o.d(t,"createTOCListModel",function(){return createTOCListModel}),o.d(t,"getTocRootCss",function(){return getTocRootCss}),o.d(t,"TOCModel",function(){return ig}),o.d(t,"SurveyProgressModel",function(){return s$}),o.d(t,"ProgressButtons",function(){return ih}),o.d(t,"ProgressButtonsResponsivityManager",function(){return im}),o.d(t,"SurveyModel",function(){return iv}),o.d(t,"SurveyTrigger",function(){return sK}),o.d(t,"SurveyTriggerComplete",function(){return sY}),o.d(t,"SurveyTriggerSetValue",function(){return sX}),o.d(t,"SurveyTriggerVisible",function(){return sZ}),o.d(t,"SurveyTriggerCopyValue",function(){return s2}),o.d(t,"SurveyTriggerRunExpression",function(){return s0}),o.d(t,"SurveyTriggerSkip",function(){return s1}),o.d(t,"Trigger",function(){return sG}),o.d(t,"PopupSurveyModel",function(){return s7}),o.d(t,"SurveyWindowModel",function(){return s4}),o.d(t,"TextPreProcessor",function(){return rr}),o.d(t,"Notifier",function(){return r4}),o.d(t,"Cover",function(){return r6}),o.d(t,"CoverCell",function(){return r9}),o.d(t,"dxSurveyService",function(){return rX}),o.d(t,"englishStrings",function(){return ot}),o.d(t,"surveyLocalization",function(){return oo}),o.d(t,"surveyStrings",function(){return on}),o.d(t,"getLocaleString",function(){return getLocaleString}),o.d(t,"getLocaleStrings",function(){return getLocaleStrings}),o.d(t,"setupLocale",function(){return setupLocale}),o.d(t,"QuestionCustomWidget",function(){return nJ}),o.d(t,"CustomWidgetCollection",function(){return nG}),o.d(t,"QuestionCustomModel",function(){return rc}),o.d(t,"QuestionCompositeModel",function(){return rd}),o.d(t,"ComponentQuestionJSON",function(){return ra}),o.d(t,"ComponentCollection",function(){return rl}),o.d(t,"ListModel",function(){return o4}),o.d(t,"MultiSelectListModel",function(){return i8}),o.d(t,"PopupModel",function(){return o9}),o.d(t,"createDialogOptions",function(){return createDialogOptions}),o.d(t,"PopupBaseViewModel",function(){return iM}),o.d(t,"PopupDropdownViewModel",function(){return iT}),o.d(t,"PopupModalViewModel",function(){return s9}),o.d(t,"createPopupViewModel",function(){return createPopupViewModel}),o.d(t,"createPopupModalViewModel",function(){return createPopupModalViewModel}),o.d(t,"DropdownListModel",function(){return iR}),o.d(t,"DropdownMultiSelectListModel",function(){return st}),o.d(t,"QuestionButtonGroupModel",function(){return ae}),o.d(t,"ButtonGroupItemModel",function(){return at}),o.d(t,"ButtonGroupItemValue",function(){return s8}),o.d(t,"IsMobile",function(){return rj}),o.d(t,"IsTouch",function(){return rq}),o.d(t,"_setIsTouch",function(){return _setIsTouch}),o.d(t,"confirmAction",function(){return confirmAction}),o.d(t,"confirmActionAsync",function(){return confirmActionAsync}),o.d(t,"detectIEOrEdge",function(){return detectIEOrEdge}),o.d(t,"doKey2ClickUp",function(){return doKey2ClickUp}),o.d(t,"doKey2ClickDown",function(){return doKey2ClickDown}),o.d(t,"doKey2ClickBlur",function(){return doKey2ClickBlur}),o.d(t,"loadFileFromBase64",function(){return loadFileFromBase64}),o.d(t,"increaseHeightByContent",function(){return increaseHeightByContent}),o.d(t,"createSvg",function(){return createSvg}),o.d(t,"chooseFiles",function(){return chooseFiles}),o.d(t,"sanitizeEditableContent",function(){return sanitizeEditableContent}),o.d(t,"prepareElementForVerticalAnimation",function(){return prepareElementForVerticalAnimation}),o.d(t,"cleanHtmlElementAfterAnimation",function(){return cleanHtmlElementAfterAnimation}),o.d(t,"classesToSelector",function(){return classesToSelector}),o.d(t,"renamedIcons",function(){return nv}),o.d(t,"getIconNameFromProxy",function(){return getIconNameFromProxy}),o.d(t,"InputMaskBase",function(){return an}),o.d(t,"InputMaskPattern",function(){return ai}),o.d(t,"InputMaskNumeric",function(){return aa}),o.d(t,"InputMaskDateTime",function(){return au}),o.d(t,"InputMaskCurrency",function(){return ap}),o.d(t,"CssClassBuilder",function(){return oY}),o.d(t,"TextAreaModel",function(){return nZ}),o.d(t,"surveyCss",function(){return rK}),o.d(t,"defaultV2Css",function(){return rZ}),o.d(t,"defaultV2ThemeName",function(){return rY}),o.d(t,"DragDropCore",function(){return rF}),o.d(t,"DragDropChoices",function(){return si}
5),o.d(t,"DragDropRankingSelectToRank",function(){return su}),o.d(t,"StylesManager",function(){return aC}),o.d(t,"defaultStandardCss",function(){return aw}),o.d(t,"modernCss",function(){return aP}),o.d(t,"SvgIconRegistry",function(){return a_}),o.d(t,"SvgRegistry",function(){return aS}),o.d(t,"SvgThemeSets",function(){return aM}),o.d(t,"addIconsToThemeSet",function(){return addIconsToThemeSet}),o.d(t,"RendererFactory",function(){return nK}),o.d(t,"ResponsivityManager",function(){return oK}),o.d(t,"VerticalResponsivityManager",function(){return oZ}),o.d(t,"unwrap",function(){return unwrap}),o.d(t,"getOriginalEvent",function(){return getOriginalEvent}),o.d(t,"getElement",function(){return getElement}),o.d(t,"activateLazyRenderingChecks",function(){return activateLazyRenderingChecks}),o.d(t,"createDropdownActionModel",function(){return createDropdownActionModel}),o.d(t,"createDropdownActionModelAdvanced",function(){return createDropdownActionModelAdvanced}),o.d(t,"createPopupModelWithListModel",function(){return createPopupModelWithListModel}),o.d(t,"getActionDropdownButtonTarget",function(){return getActionDropdownButtonTarget}),o.d(t,"BaseAction",function(){return o8}),o.d(t,"Action",function(){return ne}),o.d(t,"ActionDropdownViewModel",function(){return nt}),o.d(t,"AnimationUtils",function(){return ni}),o.d(t,"AnimationPropertyUtils",function(){return ns}),o.d(t,"AnimationGroupUtils",function(){return na}),o.d(t,"AnimationProperty",function(){return nl}),o.d(t,"AnimationBoolean",function(){return nu}),o.d(t,"AnimationGroup",function(){return nc}),o.d(t,"AnimationTab",function(){return np}),o.d(t,"AdaptiveActionContainer",function(){return nn}),o.d(t,"defaultActionBarCss",function(){return o1}),o.d(t,"ActionContainer",function(){return o0}),o.d(t,"DragOrClickHelper",function(){return rU}),o.d(t,"Model",function(){return iv}),o.d(t,"bootstrapThemeName",function(){return aV}),o.d(t,"bootstrapThemeColors",function(){return aR}),o.d(t,"bootstrapThemeCssRules",function(){return ak}),o.d(t,"bootstrapMaterialThemeName",function(){return aI}),o.d(t,"bootstrapMaterialThemeColors",function(){return aO}),o.d(t,"bootstrapMaterialThemeCssRules",function(){return aD}),o.d(t,"defaultBootstrapCss",function(){return aA}),o.d(t,"defaultBootstrapMaterialCss",function(){return aQ}),o.d(t,"Survey",function(){return lG}),o.d(t,"attachKey2click",function(){return attachKey2click}),o.d(t,"ReactSurveyElementsWrapper",function(){return aN}),o.d(t,"SurveyNavigationBase",function(){return lZ}
5),o.d(t,"SurveyTimerPanel",function(){return lX}),o.d(t,"SurveyPage",function(){return lR}),o.d(t,"SurveyRow",function(){return aK}),o.d(t,"SurveyPanel",function(){return l0}),o.d(t,"SurveyFlowPanel",function(){return l5}),o.d(t,"SurveyQuestion",function(){return l_}),o.d(t,"SurveyElementErrors",function(){return lS}),o.d(t,"SurveyQuestionAndErrorsCell",function(){return lE}),o.d(t,"ReactSurveyElement",function(){return aH}),o.d(t,"SurveyElementBase",function(){return az}),o.d(t,"SurveyQuestionElementBase",function(){return aU}),o.d(t,"SurveyQuestionCommentItem",function(){return ly}),o.d(t,"SurveyQuestionComment",function(){return lf}),o.d(t,"SurveyQuestionCheckbox",function(){return l4}),o.d(t,"SurveyQuestionCheckboxItem",function(){return l3}),o.d(t,"SurveyQuestionRanking",function(){return l6}),o.d(t,"SurveyQuestionRankingItem",function(){return l8}),o.d(t,"SurveyQuestionRankingItemContent",function(){return ue}),o.d(t,"RatingItem",function(){return un}),o.d(t,"RatingItemStar",function(){return ui}),o.d(t,"RatingItemSmiley",function(){return ua}),o.d(t,"RatingDropdownItem",function(){return uu}),o.d(t,"TagboxFilterString",function(){return up}),o.d(t,"SurveyQuestionOptionItem",function(){return uh}),o.d(t,"SurveyQuestionDropdownBase",function(){return ug}),o.d(t,"SurveyQuestionDropdown",function(){return uy}),o.d(t,"SurveyQuestionTagboxItem",function(){return ub}),o.d(t,"SurveyQuestionTagbox",function(){return uC}),o.d(t,"SurveyQuestionDropdownSelect",function(){return uP}),o.d(t,"SurveyQuestionMatrix",function(){return uS}),o.d(t,"SurveyQuestionMatrixRow",function(){return uM}),o.d(t,"SurveyQuestionMatrixCell",function(){return uE}),o.d(t,"SurveyQuestionHtml",function(){return uV}),o.d(t,"SurveyQuestionFile",function(){return uA}),o.d(t,"SurveyFileChooseButton",function(){return uO}),o.d(t,"SurveyFilePreview",function(){return uN}),o.d(t,"SurveyQuestionMultipleText",function(){return uz}),o.d(t,"SurveyQuestionRadiogroup",function(){return u$}),o.d(t,"SurveyQuestionRadioItem",function(){return uJ}),o.d(t,"SurveyQuestionText",function(){return uK}),o.d(t,"SurveyQuestionBoolean",function(){return uY}),o.d(t,"SurveyQuestionBooleanCheckbox",function(){return u1}),o.d(t,"SurveyQuestionBooleanRadio",function(){return u2}),o.d(t,"SurveyQuestionEmpty",function(){return u7}),o.d(t,"SurveyQuestionMatrixDropdownCell",function(){return ci}),o.d(t,"SurveyQuestionMatrixDropdownBase",function(){return ct}),o.d(t,"SurveyQuestionMatrixDropdown",function(){return ca}),o.d(t,"SurveyQuestionMatrixDynamic",function(){return cu}),o.d(t,"SurveyQuestionMatrixDynamicAddButton",function(){return cc}),o.d(t,"SurveyQuestionPanelDynamic",function(){return cC}),o.d(t,"SurveyProgress",function(){return c_}),o.d(t,"SurveyProgressButtons",function(){return cM}),o.d(t,"SurveyProgressToc",function(){return cI}),o.d(t,"SurveyQuestionRating",function(){return cD}),o.d(t,"SurveyQuestionRatingDropdown",function(){return cQ}),o.d(t,"SurveyQuestionExpression",function(){return cL}),o.d(t,"PopupSurvey",function(){return cq}),o.d(t,"SurveyWindow",function(){return cN}),o.d(t,"ReactQuestionFactory",function(){return lc}),o.d(t,"ReactElementFactory",function(){return aq}),o.d(t,"SurveyQuestionImagePicker",function(){return cz}),o.d(t,"SurveyQuestionImage",function(){return cW}),o.d(t,"SurveyQuestionSignaturePad",function(){return cJ}),o.d(t,"SurveyQuestionButtonGroup",function(){return cK}),o.d(t,"SurveyQuestionCustom",function(){return cX}),o.d(t,"SurveyQuestionComposite",function(){return c1}),o.d(t,"Popup",function(){return a9}),o.d(t,"ListItemContent",function(){return c2}),o.d(t,"ListItemGroup",function(){return c7}),o.d(t,"List",function(){return cR}),o.d(t,"TitleActions",function(){return la}),o.d(t,"TitleElement",function(){return lu}),o.d(t,"SurveyActionBar",function(){return ln}),o.d(t,"LogoImage",function(){return c3}),o.d(t,"SurveyHeader",function(){return lI}),o.d(t,"SvgIcon",function(){return a1}),o.d(t,"SurveyQuestionMatrixDynamicRemoveButton",function(){return c6}),o.d(t,"SurveyQuestionMatrixDetailButton",function(){return pe}),o.d(t,"SurveyQuestionMatrixDynamicDragDropIcon",function(){return u6}),o.d(t,"SurveyQuestionPanelDynamicAddButton",function(){return ch}),o.d(t,"SurveyQuestionPanelDynamicRemoveButton",function(){return po}),o.d(t,"SurveyQuestionPanelDynamicPrevButton",function(){return cy}),o.d(t,"SurveyQuestionPanelDynamicNextButton",function(){return cg}),o.d(t,"SurveyQuestionPanelDynamicProgressText",function(){return cb}),o.d(t,"SurveyNavigationButton",function(){return pr}),o.d(t,"QuestionErrorComponent",function(){return pl}),o.d(t,"MatrixRow",function(){return u3}),o.d(t,"Skeleton",function(){return pc}),o.d(t,"NotifierComponent",function(){return lQ}),o.d(t,"ComponentsContainer",function(){return lL}),o.d(t,"CharacterCounterComponent",function(){return ld}),o.d(t,"HeaderMobile",function(){return pd}),o.d(t,"HeaderCell",function(){return ph}),o.d(t,"Header",function(){return pm}),o.d(t,"SurveyLocStringViewer",function(){return ps}),o.d(t,"SurveyLocStringEditor",function(){return pf}),o.d(t,"LoadingIndicatorComponent",function(){return uk}),o.d(t,"SvgBundleComponent",function(){return lq}),o.d(t,"PopupModal",function(){return lz});var n,r,i,s,a,l,u,c,p,d,h,m,g,f,y,v,b,x,C,w,P,_,S,M,E,T,V,R,k,I,O,D,A,Q,j,L,B,q,N,F,z,H,U,W,$,J,G,K,Z,Y,X,ee,et,eo,en,er,ei,es,ea,el,eu,ec,ep,ed,eh,em,eg,ef,ey,ev,eb,ex,eC,ew,eP,e_,eS,eM,eE,eT,eV,eR,ek,eI,eO,eD,eA,eQ,ej,eL,eB,eq,eN,eF,ez,eH,eU,eW,e$,eJ,eG,eK,eZ,eY,eX,e1,e0,e2,e5,e7,e4,e3,e9,e6,e8,te,tt,to,tn,tr,ti,ts,ta,tl,tu,tc,tp,td,th,tm,tg,tf,ty,tv,tb,tx,tC,tw,tP,t_,tS,tM,tE,tT,tV,tR,tk,tI,tO,tD,tA,tQ,tj,tL,tB,tq,tN,tF,tz,tH,tU,tW,t$,tJ,tG,tK,tZ,tY,tX,t1,t0,t2,t5,t7,t4,t3,t9,t6=function(){function DomWindowHelper(){}return DomWindowHelper.isAvailable=function(){return"undefined"!=typeof window},DomWindowHelper.isFileReaderAvailable=function(){return!!DomWindowHelper.isAvailable()&&!!window.FileReader},DomWindowHelper.getLocation=function(){if(DomWindowHelper.isAvailable())return window.location},DomWindowHelper.getVisualViewport=function(){return DomWindowHelper.isAvailable()?window.visualVie
vendor: 4,899 bytes, line 5
5wport:null},DomWindowHelper.getInnerWidth=function(){if(DomWindowHelper.isAvailable())return window.innerWidth},DomWindowHelper.getInnerHeight=function(){return DomWindowHelper.isAvailable()?window.innerHeight:null},DomWindowHelper.getDevicePixelRatio=function(){return DomWindowHelper.isAvailable()?window.devicePixelRatio:null},DomWindowHelper.getWindow=function(){if(DomWindowHelper.isAvailable())return window},DomWindowHelper.hasOwn=function(e){if(DomWindowHelper.isAvailable())return e in window},DomWindowHelper.getSelection=function(){if(DomWindowHelper.isAvailable()&&window.getSelection)return window.getSelection()},DomWindowHelper.requestAnimationFrame=function(e){if(DomWindowHelper.isAvailable())return window.requestAnimationFrame(e)},DomWindowHelper.addEventListener=function(e,t){DomWindowHelper.isAvailable()&&window.addEventListener(e,t)},DomWindowHelper.removeEventListener=function(e,t){DomWindowHelper.isAvailable()&&window.removeEventListener(e,t)},DomWindowHelper.matchMedia=function(e){return DomWindowHelper.isAvailable()&&void 0!==window.matchMedia?window.matchMedia(e):null},DomWindowHelper}(),t8=function(){function DomDocumentHelper(){}return DomDocumentHelper.isAvailable=function(){return"undefined"!=typeof document},DomDocumentHelper.getBody=function(){if(DomDocumentHelper.isAvailable())return document.body},DomDocumentHelper.getDocumentElement=function(){if(DomDocumentHelper.isAvailable())return document.documentElement},DomDocumentHelper.getDocument=function(){if(DomDocumentHelper.isAvailable())return document},DomDocumentHelper.getCookie=function(){if(DomDocumentHelper.isAvailable())return document.cookie},DomDocumentHelper.setCookie=function(e){DomDocumentHelper.isAvailable()&&(document.cookie=e)},DomDocumentHelper.activeElementBlur=function(){if(DomDocumentHelper.isAvailable()){var e=document.activeElement;e&&e.blur&&e.blur()}},DomDocumentHelper.createElement=function(e){if(DomDocumentHelper.isAvailable())return document.createElement(e)},DomDocumentHelper.getComputedStyle=function(e){return DomDocumentHelper.isAvailable()?document.defaultView.getComputedStyle(e):new CSSStyleDeclaration},DomDocumentHelper.addEventListener=function(e,t){DomDocumentHelper.isAvailable()&&document.addEventListener(e,t)},DomDocumentHelper.removeEventListener=function(e,t){DomDocumentHelper.isAvailable()&&document.removeEventListener(e,t)},DomDocumentHelper}();function createDate(e,t){if(!t)return new Date;nC.storeUtcDates||"string"!=typeof t||(o=t).indexOf("T")>0||!/\d{4}-\d{2}-\d{2}/.test(o)||isNaN(new Date(o).getTime())||(t+="T00:00:00");var o,n=new Date(t);return nC.onDateCreated(n,e,t)}var oe=function(){function Helpers(){}return Helpers.isValueEmpty=function(e){if(Array.isArray(e)&&0===e.length)return!0;if(e&&Helpers.isValueObject(e)&&e.constructor===Object){for(var t in e)if(!Helpers.isValueEmpty(e[t]))return!1;return!0}return!e&&0!==e&&!1!==e},Helpers.isValueUndefined=function(e){return null==e||"number"==typeof e&&isNaN(e)},Helpers.isArrayContainsEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(var o=0;o<e.length;o++){for(var n=0;n<t.length&&!Helpers.isTwoValueEquals(e[o],t[n]);n++);if(n===t.length)return!1}return!0},Helpers.checkIfArraysEqual=function(e,t,o){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;if(void 0!==o.ignoreOrder&&o.ignoreOrder){for(var n=[],r=[],i=0;i<e.length;i++)n.push(e[i]),r.push(t[i]);n.sort(),r.sort(),e=n,t=r}for(var i=0;i<e.length;i++)if(!Helpers.checkIfValuesEqual(e[i],t[i],o))return!1;return!0},Helpers.isArraysEqual=function(e,t,o,n,r){return void 0===o&&(o=!1),Helpers.checkIfArraysEqual(e,t,{ignoreOrder:o,caseSensitive:n,trimStrings:r})},Helpers.compareStrings=function(e,t){var o=nC.comparator.normalizeTextCallback;if(e&&(e=o(e,"compare").trim()),t&&(t=o(t,"compare").trim()),!e&&!t)return 0;if(!e)return -1;if(!t)return 1;if(e===t)return 0;for(var n=-1,r=0;r<e.length&&r<t.length;r++){if(this.isCharDigit(e[r])&&this.isCharDigit(t[r])){n=r;break}if(e[r]!==t[r])break}if(n>-1){var i=this.getNumberFromStr(e,n),s=this.getNumberFromStr(t,n);if(!Number.isNaN(i)&&!Number.isNaN(s)&&i!==s)return i>s?1:-1}return e>t?1:-1},Helpers.checkIfValuesEqual=function(e,t,o){if(e===t||Array.isArray(e)&&0===e.length&&void 0===t||Array.isArray(t)&&0===t.length&&void 0===e||null==e&&""===t||null==t&&""===e)return!0;var n=void 0!==o.caseSensitive?o.caseSensitive:nC.comparator.caseSensitive,r=void 0!==o.trimStrings?o.trimStrings:nC.comparator.trimStrings;if("string"==typeof e&&"string"==typeof t){var i=nC.comparator.normalizeTextCallback;return e=i(e,"compare"),t=i(t,"compare"),r&&(e=e.trim(),t=t.trim()),n||(e=e.toLowerCase(),t=t.toLowerCase()),e===t}if(e instanceof Date&&t instanceof Date)return e.getTime()==t.getTime();var s=!o.doNotConvertNumbers;if(s&&Helpers.isConvertibleToNumber(e)&&Helpers.isConvertibleToNumber(t)&&parseInt(e)===
5parseInt(t)&&parseFloat(e)===parseFloat(t))return!0;if(!Helpers.isValueEmpty(e)&&Helpers.isValueEmpty(t)||Helpers.isValueEmpty(e)&&!Helpers.isValueEmpty(t))return!1;if((!0===e||!1===e)&&"string"==typeof t)return e.toString()===t.toLocaleLowerCase();if((!0===t||!1===t)&&"string"==typeof e)return t.toString()===e.toLocaleLowerCase();var a=Helpers.isValueObject(e),l=Helpers.isValueObject(t);if(!a&&!l&&(s||"number"!=typeof e&&"number"!=typeof t))return e==t;if(!a||!l)return!1;if(e.equals&&t.equals)return e.equals(t);if(Array.isArray(e)&&Array.isArray(t))return Helpers.checkIfArraysEqual(e,t,o);for(var u in e)if(e.hasOwnProperty(u)&&(!t.hasOwnProperty(u)||!this.checkIfValuesEqual(e[u],t[u],o)))return!1;for(u in t)if(t.hasOwnProperty(u)&&!e.hasOwnProperty(u))return!1;return!0},Helpers.isTwoValueEquals=function(e,t,o,n,r){return void 0===o&&(o=!1),this.checkIfValuesEqual(e,t,{ignoreOrder:o,caseSensitive:n,trimStrings:r})},Helpers.randomizeArray=function(e){for(var t=e.length-1;t>0;t--){var o=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[o],e[o]=n}return e},Helpers.getUnbindValue=function(e){if(Array.isArray(e)){for(var t=[],o=0;o<e.length;o++)t.push(Helpers.getUnbindValue(e[o]));return t}return e&&Helpers.isValueObject(e)&&!(e instanceof Date)?JSON.parse(JSON.stringify(e)):e},Helpers.createCopy=function(e){return this.createCopyWithPrefix(e,void 0)},Helpers.createCopyWithPrefix=function(e,t){var o={};if(!e)return o;for(var n in e)o[t?t+n:n]=e[n];return o},Helpers.isConvertibleToNumber=function(e){return null!=e&&!Array.isArray(e)&&!isNaN(e)},Helpers.isValueObject=function(e,t){return e instanceof Object&&(!t||!Array.isArray(e))},Helpers.isNumber=function(e){return!isNaN(this.getNumber(e))},Helpers.getNumber=function(e){var t=Helpers.getNumberCore(e);return nC.parseNumber(e,t)},Helpers.getNumberCore=function(e){if("string"==typeof e){if(!(e=e.trim()))return NaN;if(0==e.indexOf("0x"))return e.length>32?NaN:parseInt(e);if(e.length>15&&Helpers.isDigitsOnly(e)||Helpers.isStringHasOperator(e))return NaN}var t=parseFloat(e=this.prepareStringToNumber(e));return isNaN(t)||!isFinite(e)?NaN:t},Helpers.isStringHasOperator=function(e){if(e.lastIndexOf("-")>0||e.lastIndexOf("+")>0)return!1;for(var t="*^/%",o=0;o<t.length;o++)if(e.indexOf(t[o])>-1)return!0;return!1},Helpers.prepareStringToNumber=function(e){if("string"!=typeof e||!e)return e;var t=e.indexOf(",");return t>-1&&0>e.indexOf(",",t+1)?e.replace(",","."):e},Helpers.getMaxLength=function(e,t){return e<0&&(e=t),e>0?e:null},Helpers.getRemainingCharacterCounterText=function(e,t){return t&&!(t<=0)&&nC.showMaxLengthIndicator?[e?e.length:"0",t].join("/"):""},Helpers.getNumberByIndex=function(e,t,o){if(e<0)return"";var n=1,r="",i=".",s=!0,a="A",l="",hasDigitFunc=function(e){if(!e)return!1;for(var t=0;t<e.length;t++)if(Helpers.isCharDigit(e[t]))return!0;return!1};if(t){for(var u=(l=t).length-1,c=hasDigitFunc(l),checkLetter=function(){return c&&!Helpers.isCharDigit(l[u])||Helpers.isCharNotLetterAndDigit(l[u])};u>=0&&checkLetter();)u--;var p="";for(u<l.length-1&&(p=l.substring(u+1),l=l.substring(0,u+1)),u=l.length-1;u>=0&&!checkLetter()&&(u--,c););a=l.substring(u+1),r=l.substring(0,u+1),parseInt(a)?n=parseInt(a):1==a.length&&(s=!1),(p||r)&&(i=p)}if(o>-1&&hasDigitFunc(r)&&(r=this.getNumberByIndex(o,r)),s){for(var d=(e+n).toString();d.length<a.length;)d="0"+d;return r+d+i}return r+String.fromCharCode(a.charCodeAt(0)+e)+i},Helpers.isCharNotLetterAndDigit=function(e){return e.toUpperCase()==e.toLowerCase()&&!Helpers.isCharDigit(e)},Helpers.isCharDigit=function(e){return e>="0"&&e<="9"},Helpers.isDigitsOnly=function(e){if(!e)return!1;for(var t=0;t<e.length;t++)if(!Helpers.isCharDigit(e[t]))return!1;return!0},Helpers.getNumberFromStr=function(e,t){if(!this.isCharDigit(e[t]))return NaN;for(var o="";t<e.length&&this.isCharDigit(e[t]);)o+=e[t],t++;return o?this.getNumber(o):NaN},Helpers.countDecimals=function(e){if(Helpers.isNumber(e)&&Math.floor(e)!==e){var t=e.toString().split(".");return t.length>1&&t[1].length||0}return 0},Helpers.correctAfterPlusMinis=function(e,t,o){var n=Helpers.countDecimals(e),r=Helpers.countDecimals(t);if(n>0||r>0){var i=Math.max(n,r);o=parseFloat(o.toFixed(i))}return o},Helpers.sumAnyValues=function(e,t){if(!Helpers.isNumber(e)||!Helpers.isNumber(t)){if(Array.isArray(e)&&Array.isArray(t))return[].concat(e).concat(t);if(Array.isArray(e)||Array.isArray(t)){var o=Array.isArray(e)?e:t,n=o===e?t:e;if("string"==typeof n){var r=o.join(", ");return o===e?r+n:n+r}if("number"==typeof n){for(var i=0,s=0;s<o.length;s++)"number"==typeof o[s]&&(i=Helpers.correctAfterPlusMinis(i,o[s],i+o[s])
vendor: 13,014 bytes, line 5
5);return Helpers.correctAfterPlusMinis(i,n,i+n)}}return e+t}return"string"==typeof e||"string"==typeof t?e+t:Helpers.correctAfterPlusMinis(e,t,e+t)},Helpers.correctAfterMultiple=function(e,t,o){var n=Helpers.countDecimals(e)+Helpers.countDecimals(t);return n>0&&(o=parseFloat(o.toFixed(n))),o},Helpers.convertArrayValueToObject=function(e,t,o){void 0===o&&(o=void 0);var n=[];if(!e||!Array.isArray(e))return n;for(var r=0;r<e.length;r++){var i=void 0;Array.isArray(o)&&(i=Helpers.findObjByPropValue(o,t,e[r])),i||((i={})[t]=e[r]),n.push(i)}return n},Helpers.findObjByPropValue=function(e,t,o){for(var n=0;n<e.length;n++)if(Helpers.isTwoValueEquals(e[n][t],o))return e[n]},Helpers.convertArrayObjectToValue=function(e,t){var o=[];if(!e||!Array.isArray(e))return o;for(var n=0;n<e.length;n++){var r=e[n]?e[n][t]:void 0;Helpers.isValueEmpty(r)||o.push(r)}return o},Helpers.convertDateToString=function(e){var toStr=function(e){return e<10?"0"+e.toString():e.toString()};return e.getFullYear()+"-"+toStr(e.getMonth()+1)+"-"+toStr(e.getDate())},Helpers.convertDateTimeToString=function(e){var toStr=function(e){return e<10?"0"+e.toString():e.toString()};return this.convertDateToString(e)+" "+toStr(e.getHours())+":"+toStr(e.getMinutes())},Helpers.convertValToQuestionVal=function(e,t){return e instanceof Date?"datetime-local"===t?Helpers.convertDateTimeToString(e):Helpers.convertDateToString(e):this.getUnbindValue(e)},Helpers.compareVerions=function(e,t){if(!e&&!t)return 0;for(var o=e.split("."),n=t.split("."),r=o.length,i=n.length,s=0;s<r&&s<i;s++){var a=o[s],l=n[s];if(a.length!==l.length)return a.length<l.length?-1:1;if(a!==l)return a<l?-1:1}return r===i?0:r<i?-1:1},Helpers.isUrlYoutubeVideo=function(e){if(!e)return!1;var t=["www.youtube.com","m.youtube.com","youtube.com","youtu.be"];e=(e=e.toLowerCase()).replace(/^https?:\/\//,"");for(var o=0;o<t.length;o++)if(0===e.indexOf(t[o]+"/"))return!0;return!1},Helpers}();String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,function(t,o){return void 0!==e[o]?e[o]:t})});var ot={pagePrevText:"Previous",pageNextText:"Next",completeText:"Complete",previewText:"Preview",editText:"Edit",startSurveyText:"Start",otherItemText:"Other (describe)",noneItemText:"None",refuseItemText:"Refuse to answer",dontKnowItemText:"Don't know",selectAllItemText:"Select All",deselectAllItemText:"Deselect all",progressText:"Page {0} of {1}",indexText:"{0} of {1}",panelDynamicProgressText:"{0} of {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Answered {0}/{1} questions",emptySurvey:"The survey doesn't contain any visible elements.",completingSurvey:"Thank you for completing the survey",completingSurveyBefore:"You have already completed this survey.",loadingSurvey:"Loading Survey...",placeholder:"Select...",ratingOptionsCaption:"Select...",value:"value",requiredError:"Response required.",requiredErrorInPanel:"Response required: answer at least one question.",requiredInAllRowsError:"Response required: answer questions in all rows.",eachRowUniqueError:"Each row must have a unique value.",numericError:"The value should be numeric.",minError:"The value should not be less than {0}",maxError:"The value should not be greater than {0}",textNoDigitsAllow:"Numbers are not allowed.",textMinLength:"Please enter at least {0} character(s).",textMaxLength:"Please enter no more than {0} character(s).",textMinMaxLength:"Please enter at least {0} and no more than {1} characters.",minRowCountError:"Please fill in at least {0} row(s).",minSelectError:"Please select at least {0} option(s).",maxSelectError:"Please select no more than {0} option(s).",numericMinMax:"The '{0}' should be at least {1} and at most {2}",numericMin:"The '{0}' should be at least {1}",numericMax:"The '{0}' should be at most {1}",invalidEmail:"Please enter a valid e-mail address.",invalidExpression:"The expression: {0} should return 'true'.",urlRequestError:"The request returned error '{0}'. {1}",urlGetChoicesError:"The request returned empty data or the 'path' property is incorrect",exceedMaxSize:"The file size should not exceed {0}.",noUploadFilesHandler:"Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event.",otherRequiredError:"Response required: enter another value.",uploadingFile:"Your file is uploading. Please wait several seconds and try again.",loadingFile:"Loading...",chooseFile:"Choose file(s)...",noFileChosen:"No file selected",filePlaceholder:"Drag and drop a file here or click the button below to select a file to upload.",confirmDelete:"Are you sure you want to delete this record?",keyDuplicationError:"This value should be unique.",addColumn:"Add Column",addRow:"Add Row",removeRow:"Remove",emptyRowsText:"There are no rows.",addPanel:"Add new",removePanel:"Remove",showDetails:"Show Details",hideDetails:"Hide Details",choices_Item:"item",matrix_column:"Column",matrix_row:"Row",multipletext_itemname:"text",savingData:"The results are being saved on the server...",savingDataError:"An error occurred and we could not save the results.",savingDataSuccess:"The results were saved successfully!",savingExceedSize:"Your response exceeds 64KB. Please reduce the size of your file(s) and try again or contact the survey owner.",saveAgainButton:"Try again",timerMin:"min",timerSec:"sec",timerSpentAll:"You have spent {0} on this page and {1} in total.",timerSpentPage:"You have spent {0} on this page.",timerSpentSurvey:"You have spent {0} in total.",timerLimitAll:"You have spent {0} of {1} on this page and {2} of {3} in total.",timerLimitPage:"You have spent {0} of {1} on this page.",timerLimitSurvey:"You have spent {0} of {1} in total.",clearCaption:"Clear",signaturePlaceHolder:"Sign here",signaturePlaceHolderReadOnly:"No signature",chooseFileCaption:"Select File",takePhotoCaption:"Take Photo",photoPlaceholder:"Click the button below to take a photo using the camera.",fileOrPhotoPlaceholder:"Drag and drop or select a file to upload or take a photo using the camera.",replaceFileCaption:"Replace file",removeFileCaption:"Remove this file",booleanCheckedLabel:"Yes",booleanUncheckedLabel:"No",confirmRemoveFile:"Are you sure that you want to remove this file: {0}?",confirmRemoveAllFiles:"Are you sure that you want to remove all files?",questionTitlePatternText:"Question Title",modalCancelButtonText:"Cancel",modalApplyButtonText:"Apply",filterStringPlaceholder:"Type to search...",emptyMessage:"No data to display",noEntriesText:"No entries yet.\nClick the button below to add a new entry.",noEntriesReadonlyText:"No entries",tabTitlePlaceholder:"New Panel",more:"More",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"All choices are selected for ranking",selectToRankEmptyUnrankedAreaText:"Drag choices here to rank them",ok:"OK",cancel:"Cancel"},oo={currentLocaleValue:"",defaultLocaleValue:"en",locales:{},localeNames:{},localeNamesInEnglish:{},localeDirections:{},supportedLocales:[],useEnglishNames:!1,get showNamesInEnglish(){return this.useEnglishNames},set showNamesInEnglish(val){this.useEnglishNames=val},setupLocale:function(e){var t=e.localeCode;this.locales[t]=e.strings,this.localeNames[t]=e.nativeName,this.localeNamesInEnglish[t]=e.englishName,void 0!==e.rtl&&(this.localeDirections[t]=e.rtl?"rtl":"ltr")},get currentLocale(){return this.currentLocaleValue===this.defaultLocaleValue?"":this.currentLocaleValue},set currentLocale(val){this.currentLocaleValue=this.getCorrectLocaleName(val)},get defaultLocale(){return this.defaultLocaleValue},set defaultLocale(val){this.defaultLocaleValue=this.getCorrectLocaleName(val)},getCorrectLocaleName:function(e){return"cz"===e&&(e="cs"),"gr"===e&&(e="el"),"rs"===e&&(e="sr"),"ua"===e&&(e="uk"),e},getLocaleStrings:function(e){return this.locales[e]},getString:function(e,t){var o=this;void 0===t&&(t=null);var n=[],addLocaleCore=function(e){var t=o.locales[e];t&&n.push(t)},addLocale=function(e){if(e){addLocaleCore(e);var t=e.indexOf("-");t<1||addLocaleCore(e=e.substring(0,t))}};addLocale(t),addLocale(this.currentLocale),addLocale(this.defaultLocale),"en"!==this.defaultLocale&&addLocaleCore("en");for(var r=0;r<n.length;r++){var i=n[r][e];if(void 0!==i)return i}return this.onGetExternalString(e,t)},getLocaleName:function(e,t){if(!e)return"";void 0===t&&(t=this.showNamesInEnglish);var o=t?this.localeNamesInEnglish:this.localeNames,n=t?this.localeNames:this.localeNamesInEnglish;return o[e]||n[e]||e},getLocales:function(e){var t=this;void 0===e&&(e=!1);var o=[];o.push("");var n=this.locales;if(this.supportedLocales&&this.supportedLocales.length>0){n={};for(var r=0;r<this.supportedLocales.length;r++)n[this.supportedLocales[r]]=!0}for(var i in n)e&&i==this.defaultLocale||o.push(i);var locName=function(e){return t.getLocaleName(e).toLowerCase()};return o.sort(function(e,t){var o=locName(e),n=locName(t);return o===n?0:o<n?-1:1}),o},onGetExternalString:function(e,t){}};function getLocaleString(e,t){return void 0===t&&(t=null),oo.getString(e,t)}function getLocaleStrings(e){return oo.getLocaleStrings(e)}function setupLocale(e){oo.setupLocale(e)}var on=ot;oo.locales.en=ot,oo.localeNames.en="english";var or=(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),__spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e};function ensureLocString(e,t,o){var n=e.getLocalizableString(o);if(!n){var r=void 0;"object"==typeof t.localizable&&t.localizable.defaultStr&&(r=t.localizable.defaultStr),n=e.createLocalizableString(o,e,!0,r),"object"==typeof t.localizable&&"function"==typeof t.localizable.onGetTextCallback&&(n.onGetTextCallback=t.localizable.onGetTextCallback)}}function jsonobject_property(e){return void 0===e&&(e={}),function(t,o){var processComputedUpdater=function(e,t){if(t&&"object"==typeof t&&t.type===oU.ComputedUpdaterType){oW.startCollectDependencies(function(){return e[o]=t.updater()},e,o);var n=t.updater(),r=oW.finishCollectDependencies();return t.setDependencies(r),e.dependencies[o]&&e.dependencies[o].dispose(),e.dependencies[o]=t,n}return t};e&&e.localizable?(Object.defineProperty(t,o,{get:function(){return function(e,t,o){ensureLocString(e,t,o);var n=e.getLocalizableStringText(o);if(n)return n;if("object"==typeof t.localizable&&t.localizable.defaultStr){var r=e.getLocale?e.getLocale():"";return getLocaleString(t.localizable.defaultStr,r)}return""}(this,e,o)},set:function(t){ensureLocString(this,e,o);var n=processComputedUpdater(this,t);this.setLocalizableStringText(o,n),e&&e.onSet&&e.onSet(n,this)}}),Object.defineProperty(t,"object"==typeof e.localizable&&e.localizable.name?e.localizable.name:"loc"+o.charAt(0).toUpperCase()+o.slice(1),{get:function(){return ensureLocString(this,e,o),this.getLocalizableString(o)}})):Object.defineProperty(t,o,{get:function(){var t=null;return e&&("function"==typeof e.getDefaultValue&&(t=e.getDefaultValue(this)),void 0!==e.defaultValue&&(t=e.defaultValue)),this.getPropertyValue(o,t)},set:function(t){var n=processComputedUpdater(this,t),r=this.getPropertyValue(o);n!==r&&(this.setPropertyValue(o,n),e&&e.onSet&&e.onSet(n,this,r))}})}}function ensureArray(e,t,o){e.ensureArray(o,function(o,n){var r=t?t.onPush:null;r&&r(o,n,e)},function(o,n){var r=t?t.onRemove:null;r&&r(o,n,e)})}function propertyArray(e){return function(t,o){Object.defineProperty(t,o,{get:function(){return ensureArray(this,e,o),this.getPropertyValue(o)},set:function(t){ensureArray(this,e,o);var n=this.getPropertyValue(o);t!==n&&(n?n.splice.apply(n,__spreadArray([0,n.length],t||[])):this.setPropertyValue(o,t),e&&e.onSet&&e.onSet(t,this))}})}}var oi=function(){function JsonObjectProperty(e,t,o){void 0===o&&(o=!1),this.name=t,this.isRequiredValue=!1,this.isUniqueValue=!1,this.isSerializable=!0,this.isLightSerializable=!0,this.isCustom=!1,this.isDynamicChoices=!1,this.isBindable=!1,this.category="",this.categoryIndex=-1,this.visibleIndex=-1,this.maxLength=-1,this.isArray=!1,this.classInfoValue=e,this.isRequiredValue=o,this.idValue=JsonObjectProperty.Index++}return Object.defineProperty(JsonObjectProperty.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"classInfo",{get:function(){return this.classInfoValue},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"type",{get:function(){return this.typeValue?this.typeValue:"string"},set:function(e){"itemvalues"===e&&(e="itemvalue[]"),"textitems"===e&&(e="textitem[]"),this.typeValue=e,this.typeValue.indexOf("[]")===this.typeValue.length-2&&(this.isArray=!0,this.className=this.typeValue.substring(0,this.typeValue.length-2))}
5,enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"isRequired",{get:function(){return this.isRequiredValue},set:function(e){e!==this.isRequired&&(this.isRequiredValue=e,this.classInfo&&this.classInfo.resetAllProperties())},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"isUnique",{get:function(){return this.isUniqueValue},set:function(e){this.isUniqueValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"uniquePropertyName",{get:function(){return this.uniquePropertyValue},set:function(e){this.uniquePropertyValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"hasToUseGetValue",{get:function(){return this.onGetValue||this.serializationProperty},enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.getDefaultValue=function(e){var t=this.defaultValueFunc?this.defaultValueFunc(e):this.defaultValueValue;return JsonObjectProperty.getItemValuesDefaultValue&&ov.isDescendantOf(this.className,"itemvalue")&&(t=JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue||[],this.className)),t},Object.defineProperty(JsonObjectProperty.prototype,"defaultValue",{get:function(){return this.getDefaultValue(void 0)},set:function(e){this.defaultValueValue=e,void 0!==e&&(this.defaultValueFunc=void 0)},enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.isDefaultValue=function(e){return this.isDefaultValueByObj(void 0,e)},JsonObjectProperty.prototype.isDefaultValueByObj=function(e,t){if(this.isLocalizable)return null==t;var o=this.getDefaultValue(e);return oe.isValueEmpty(o)?!1===t&&("boolean"==this.type||"switch"==this.type)&&!this.defaultValueFunc||""===t||oe.isValueEmpty(t):oe.isTwoValueEquals(t,o,!1,!0,!1)},JsonObjectProperty.prototype.getSerializableValue=function(e,t){if(this.onSerializeValue)return this.onSerializeValue(e);var o=this.getValue(e);if(null!=o&&!(!t&&this.isDefaultValueByObj(e,o)))return o},JsonObjectProperty.prototype.getValue=function(e){return this.onGetValue?(e=this.getOriginalObj(e),this.onGetValue(e)):this.serializationProperty&&e[this.serializationProperty]?e[this.serializationProperty].getJson():e[this.name]},JsonObjectProperty.prototype.getPropertyValue=function(e){return this.isLocalizable?e[this.serializationProperty]?e[this.serializationProperty].text:null:this.getValue(e)},Object.defineProperty(JsonObjectProperty.prototype,"hasToUseSetValue",{get:function(){return this.onSetValue||this.serializationProperty},enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.settingValue=function(e,t){return!this.onSettingValue||e.isLoadingFromJson?t:this.onSettingValue(e,t)},JsonObjectProperty.prototype.setValue=function(e,t,o){this.onSetValue?(e=this.getOriginalObj(e),this.onSetValue(e,t,o)):this.serializationProperty&&e[this.serializationProperty]?e[this.serializationProperty].setJson(t,!0):(t&&"string"==typeof t&&("number"==this.type&&(t=parseInt(t)),("boolean"==this.type||"switch"==this.type)&&(t="true"===t.toLowerCase())),e[this.name]=t)},JsonObjectProperty.prototype.validateValue=function(e){var t=this.choices;return!Array.isArray(t)||0===t.length||t.indexOf(e)>-1},JsonObjectProperty.prototype.getObjType=function(e){return this.classNamePart?e.replace(this.classNamePart,""):e},Object.defineProperty(JsonObjectProperty.prototype,"choices",{get:function(){return this.getChoices(null)},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"hasChoices",{get:function(){return!!this.choicesValue||!!this.choicesfunc},enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.getChoices=function(e,t){return(void 0===t&&(t=null),null!=this.choicesValue)?this.choicesValue:null!=this.choicesfunc?this.choicesfunc(e,t):null},JsonObjectProperty.prototype.setChoices=function(e,t){void 0===t&&(t=null),this.choicesValue=e,this.choicesfunc=t},JsonObjectProperty.prototype.getBaseValue=function(){return this.baseValue?"function"==typeof this.baseValue?this.baseValue():this.baseValue:""},JsonObjectProperty.prototype.setBaseValue=function(e){this.baseValue=e},Object.defineProperty(JsonObjectProperty.prototype,"readOnly",{get:function(){return null!=this.readOnlyValue&&this.readOnlyValue},set:function(e){this.readOnlyValue=e}
5,enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.isEnable=function(e){return!this.readOnly&&(!e||!this.enableIf||this.enableIf(this.getOriginalObj(e)))},JsonObjectProperty.prototype.isVisible=function(e,t){void 0===t&&(t=null);var o=!this.layout||!e||this.layout===e;return!!this.visible&&!!o&&(!this.visibleIf||!t||this.visibleIf(this.getOriginalObj(t)))},JsonObjectProperty.prototype.getOriginalObj=function(e){if(e&&e.getOriginalObj){var t=e.getOriginalObj();if(t&&ov.findProperty(t.getType(),this.name))return t}return e},Object.defineProperty(JsonObjectProperty.prototype,"visible",{get:function(){return null==this.visibleValue||this.visibleValue},set:function(e){this.visibleValue=e},enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.isAvailableInVersion=function(e){return!!this.alternativeName||!!this.oldName||this.isAvailableInVersionCore(e)},JsonObjectProperty.prototype.getSerializedName=function(e){return this.alternativeName?this.isAvailableInVersionCore(e)?this.name:this.alternativeName||this.oldName:this.name},JsonObjectProperty.prototype.getSerializedProperty=function(e,t){return!this.oldName||this.isAvailableInVersionCore(t)?this:e&&e.getType?ov.findProperty(e.getType(),this.oldName):null},JsonObjectProperty.prototype.isAvailableInVersionCore=function(e){return!e||!this.version||0>=oe.compareVerions(this.version,e)},Object.defineProperty(JsonObjectProperty.prototype,"isLocalizable",{get:function(){return null!=this.isLocalizableValue&&this.isLocalizableValue},set:function(e){this.isLocalizableValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(JsonObjectProperty.prototype,"dataList",{get:function(){return Array.isArray(this.dataListValue)?this.dataListValue:[]},set:function(e){this.dataListValue=e},enumerable:!1,configurable:!0}),JsonObjectProperty.prototype.mergeWith=function(e){for(var t=JsonObjectProperty.mergableValues,o=0;o<t.length;o++)this.mergeValue(e,t[o])},JsonObjectProperty.prototype.addDependedProperty=function(e){this.dependedProperties||(this.dependedProperties=[]),0>this.dependedProperties.indexOf(e)&&this.dependedProperties.push(e)},JsonObjectProperty.prototype.getDependedProperties=function(){return this.dependedProperties?this.dependedProperties:[]},JsonObjectProperty.prototype.schemaType=function(){if("choicesByUrl"!==this.className)return"string"===this.className?this.className:this.className||this.baseClassName?"array":"switch"==this.type?"boolean":"boolean"==this.type||"number"==this.type?this.type:"string"},JsonObjectProperty.prototype.schemaRef=function(){if(this.className)return this.className},JsonObjectProperty.prototype.mergeValue=function(e,t){null==this[t]&&null!=e[t]&&(this[t]=e[t])},JsonObjectProperty.Index=1,JsonObjectProperty.mergableValues=["typeValue","choicesValue","baseValue","readOnlyValue","visibleValue","isSerializable","isLightSerializable","isCustom","isBindable","isUnique","uniquePropertyName","isDynamicChoices","isLocalizableValue","className","alternativeName","oldName","layout","version","classNamePart","baseClassName","defaultValue","defaultValueFunc","serializationProperty","onGetValue","onSetValue","onSettingValue","displayName","category","categoryIndex","visibleIndex","nextToProperty","overridingProperty","showMode","dependedProperties","visibleIf","enableIf","onExecuteExpression","onPropertyEditorUpdate","maxLength","maxValue","minValue","dataListValue"],JsonObjectProperty}(),os=function(){function CustomPropertiesCollection(){}return CustomPropertiesCollection.addProperty=function(e,t){e=e.toLowerCase();var o=CustomPropertiesCollection.properties;o[e]||(o[e]=[]),o[e].push(t)},CustomPropertiesCollection.removeProperty=function(e,t){e=e.toLowerCase();var o=CustomPropertiesCollection.properties;if(o[e]){for(var n=o[e],r=0;r<n.length;r++)if(n[r].name==t){o[e].splice(r,1);break}}},CustomPropertiesCollection.removeAllProperties=function(e){e=e.toLowerCase(),delete CustomPropertiesCollection.properties[e]},CustomPropertiesCollection.addClass=function(e,t){e=e.toLowerCase(),t&&(t=t.toLowerCase()),CustomPropertiesCollection.parentClasses[e]=t},CustomPropertiesCollection.getProperties=function(e){e=e.toLowerCase();for(var t=[],o=CustomPropertiesCollection.properties;e;){var n=o[e];if(n)for(var r=0;r<n.length;r++)t.push(n[r]);e=CustomPropertiesCollection.parentClasses[e]}return t},CustomPropertiesCollection.createProperties=function(e){e&&e.getType&&CustomPropertiesCollection.createPropertiesCore(e,e.getType())},CustomPropertiesCollection.createPropertiesCore=function(e,t){var o=CustomPropertiesCollection.properties;o[t]&&CustomPropertiesCollection.createPropertiesInObj(e,o[t]);var n=CustomPropertiesCollection.parentClasses[t];n&&CustomPropertiesCollection.createPropertiesCore(e,n)},CustomPropertiesCollection.createPropertiesInObj=function(e,t){for(var o=0;o<t.length;o++)CustomPropertiesCollection.createPropertyInObj(e,t[o])},CustomPropertiesCollection.createPropertyInObj=function(e,t){if(!CustomPropertiesCollection.checkIsPropertyExists(e,t.name)&&!(t.serializationProperty&&CustomPropertiesCollection.checkIsPropertyExists(e,t.serializationProperty))){if(t.isLocalizable&&t.serializationProperty&&e.createCustomLocalizableObj){e.createCustomLocalizableObj(t.name).defaultValue=t.getDefaultValue(e),Object.defineProperty(e,t.serializationProperty,{get:function(){return e.getLocalizableString(t.name)}});var o={get:function(){return e.getLocalizableStringText(t.name)},set:function(o){e.setLocalizableStringText(t.name,o)}};Object.defineProperty(e,t.name,o)}else{var n=t.isArray||"multiplevalues"===t.type;if("function"==typeof e.createNewArray&&(ov.isDescendantOf(t.className,"itemvalue")?(e.createNewArray(t.name,function(o){o.locOwner=e,o.ownerPropertyName=t.name}),n=!0):n&&e.createNewArray(t.name),n)){var r=t.getDefaultValue(e);Array.isArray(r)&&e.setPropertyValue(t.name,r)}if(e.getPropertyValue&&e.setPropertyValue){var o={get:function(){return t.onGetValue?t.onGetValue(e):e.getPropertyValue(t.name,void 0)},set:function(o){t.onSetValue?t.onSetValue(e,o,null):e.setPropertyValue(t.name,o)}};Object.defineProperty(e,t.name,o)}}("condition"===t.type||"expression"===t.type)&&t.onExecuteExpression&&e.addExpressionProperty(t.name,t.onExecuteExpression)}},CustomPropertiesCollection.checkIsPropertyExists=function(e,t){return e.hasOwnProperty(t)||e[t]},CustomPropertiesCollection.properties={},CustomPropertiesCollection.parentClasses={},CustomPropertiesCollection}(),oa=function(){function JsonMetadataClass(e,t,o,n){void 0===o&&(o=null),void 0===n&&(n=null),this.name=e,this.creator=o,this.parentName=n,e=e.toLowerCase(),this.isCu
5stomValue=!o&&"survey"!==e,this.parentName&&(this.parentName=this.parentName.toLowerCase(),os.addClass(e,this.parentName),o&&this.makeParentRegularClass()),this.properties=[];for(var r=0;r<t.length;r++)this.createProperty(t[r],this.isCustom)}return JsonMetadataClass.prototype.find=function(e){for(var t=0;t<this.properties.length;t++)if(this.properties[t].name==e)return this.properties[t];return null},JsonMetadataClass.prototype.findProperty=function(e){return this.fillAllProperties(),this.hashProperties[e]},JsonMetadataClass.prototype.getAllProperties=function(){return this.fillAllProperties(),this.allProperties},JsonMetadataClass.prototype.getRequiredProperties=function(){if(this.requiredProperties)return this.requiredProperties;this.requiredProperties=[];for(var e=this.getAllProperties(),t=0;t<e.length;t++)e[t].isRequired&&this.requiredProperties.push(e[t]);return this.requiredProperties},JsonMetadataClass.prototype.resetAllProperties=function(){this.allProperties=void 0,this.requiredProperties=void 0,this.hashProperties=void 0;for(var e=ov.getChildrenClasses(this.name),t=0;t<e.length;t++)e[t].resetAllProperties()},Object.defineProperty(JsonMetadataClass.prototype,"isCustom",{get:function(){return this.isCustomValue},enumerable:!1,configurable:!0}),JsonMetadataClass.prototype.fillAllProperties=function(){var e=this;if(!this.allProperties){this.allProperties=[],this.hashProperties={};var t={};this.properties.forEach(function(e){return t[e.name]=e});var o=this.parentName?ov.findClass(this.parentName):null;o&&o.getAllProperties().forEach(function(o){var n=t[o.name];n?(n.mergeWith(o),e.addPropCore(n)):e.addPropCore(o)}),this.properties.forEach(function(t){e.hashProperties[t.name]||e.addPropCore(t)})}},JsonMetadataClass.prototype.addPropCore=function(e){this.allProperties.push(e),this.hashProperties[e.name]=e,e.alternativeName&&(this.hashProperties[e.alternativeName]=e)},JsonMetadataClass.prototype.isOverridedProp=function(e){return!!this.parentName&&!!ov.findProperty(this.parentName,e)},JsonMetadataClass.prototype.hasRegularChildClass=function(){if(this.isCustom){this.isCustomValue=!1;for(var e=0;e<this.properties.length;e++)this.properties[e].isCustom=!1;os.removeAllProperties(this.name),this.makeParentRegularClass()}},JsonMetadataClass.prototype.makeParentRegularClass=function(){if(this.parentName){var e=ov.findClass(this.parentName);e&&e.hasRegularChildClass()}},JsonMetadataClass.prototype.createProperty=function(e,t){void 0===t&&(t=!1);var o="string"==typeof e?e:e.name;if(o){var n=null,r=o.indexOf(JsonMetadataClass.typeSymbol);r>-1&&(n=o.substring(r+1),o=o.substring(0,r));var i=this.getIsPropertyNameRequired(o)||!!e.isRequired;o=this.getPropertyName(o);var s=new oi(this,o,i);if(n&&(s.type=n),"object"==typeof e){if(e.type&&(s.type=e.type),void 0!==e.default&&(s.defaultValue=e.default),void 0!==e.defaultFunc&&(s.defaultValueFunc=e.defaultFunc),oe.isValueEmpty(e.isSerializable)||(s.isSerializable=e.isSerializable),oe.isValueEmpty(e.isLightSerializable)||(s.isLightSerializable=e.isLightSerializable),oe.isValueEmpty(e.maxLength)||(s.maxLength=e.maxLength),void 0!==e.displayName&&(s.displayName=e.displayName),oe.isValueEmpty(e.category)||(s.category=e.category),oe.isValueEmpty(e.categoryIndex)||(s.categoryIndex=e.categoryIndex),oe.isValueEmpty(e.nextToProperty)||(s.nextToProperty=e.nextToProperty),oe.isValueEmpty(e.overridingProperty)||(s.overridingProperty=e.overridingProperty),oe.isValueEmpty(e.visibleIndex)||(s.visibleIndex=e.visibleIndex),oe.isValueEmpty(e.showMode)||(s.showMode=e.showMode),oe.isValueEmpty(e.maxValue)||(s.maxValue=e.maxValue),oe.isValueEmpty(e.minValue)||(s.minValue=e.minValue),oe.isValueEmpty(e.dataList)||(s.dataList=e.dataList),oe.isValueEmpty(e.isDynamicChoices)||(s.isDynamicChoices=e.isDynamicChoices),oe.isValueEmpty(e.isBindable)||(s.isBindable=e.isBindable),oe.isValueEmpty(e.isUnique)||(s.isUnique=e.isUnique),oe.isValueEmpty(e.uniqueProperty)||(s.uniquePropertyName=e.uniqueProperty),oe.isValueEmpty(e.isArray)||(s.isArray=e.isArray),(!0===e.visible||!1===e.visible)&&(s.visible=e.visible),e.visibleIf&&(s.visibleIf=e.visibleIf),e.enableIf&&(s.enableIf=e.enableIf),e.onExecuteExpression&&(s.onExecuteExpression=e.onExecuteExpression),e.onPropertyEditorUpdate&&(s.onPropertyEditorUpdate=e.onPropertyEditorUpdate),!0===e.readOnly&&(s.readOnly=!0),!0===e.availableInMatrixColumn&&(s.availableInMatrixColumn=!0),e.choices){var a="function"==typeof e.choices?e.choices:null,l="function"!=typeof e.choices?e.choices:null;s.setChoices(l,a)}e.baseValue&&s.setBaseValue(e.baseValue),e.onSerializeValue&&(s.onSerializeValue=e.onSerializeValue),e.onGetValue&&(s.onGetValue=e.onGetValue),e.onSetValue&&(s.onSetValue=e.onSetValue),e.onSettingValue&&(s.onSettingValue=e.onSettingValue),e.isLocalizable&&(e.serializationProperty="loc"+s.name),e.serializationProperty&&(s.seri
vendor: 4,942 bytes, line 5
5alizationProperty=e.serializationProperty,s.serializationProperty&&0==s.serializationProperty.indexOf("loc")&&(s.isLocalizable=!0)),e.isLocalizable&&(s.isLocalizable=e.isLocalizable),e.className&&(s.className=e.className),e.baseClassName&&(s.baseClassName=e.baseClassName,s.isArray=!0),!0===s.isArray&&(s.isArray=!0),e.classNamePart&&(s.classNamePart=e.classNamePart),e.alternativeName&&(s.alternativeName=e.alternativeName),e.oldName&&(s.oldName=e.oldName),e.layout&&(s.layout=e.layout),e.version&&(s.version=e.version),e.dependsOn&&this.addDependsOnProperties(s,e.dependsOn)}return this.properties.push(s),t&&!this.isOverridedProp(s.name)&&(s.isCustom=!0,os.addProperty(this.name,s)),s}},JsonMetadataClass.prototype.addDependsOnProperties=function(e,t){var o=Array.isArray(t)?t:[t];e.dependsOn=o;for(var n=0;n<o.length;n++)this.addDependsOnProperty(e,o[n])},JsonMetadataClass.prototype.addDependsOnProperty=function(e,t){var o=this.find(t);o||(o=ov.findProperty(this.parentName,t)),o&&o.addDependedProperty(e.name)},JsonMetadataClass.prototype.getIsPropertyNameRequired=function(e){return e.length>0&&e[0]==JsonMetadataClass.requiredSymbol},JsonMetadataClass.prototype.getPropertyName=function(e){return this.getIsPropertyNameRequired(e)?e=e.slice(1):e},JsonMetadataClass.requiredSymbol="!",JsonMetadataClass.typeSymbol=":",JsonMetadataClass}(),ol=function(){function JsonMetadata(){this.classes={},this.alternativeNames={},this.childrenClasses={},this.dynamicPropsCache={}}return JsonMetadata.prototype.getObjPropertyValue=function(e,t){if(this.isObjWrapper(e)&&this.isNeedUseObjWrapper(e,t)){var o=e.getOriginalObj(),n=ov.findProperty(o.getType(),t);if(n)return this.getObjPropertyValueCore(o,n)}var r=ov.findProperty(e.getType(),t);return r?this.getObjPropertyValueCore(e,r):e[t]},JsonMetadata.prototype.setObjPropertyValue=function(e,t,o){if(e[t]!==o){if(e[t]&&e[t].setJson)e[t].setJson(o,!0);else{if(Array.isArray(o)){for(var n=[],r=0;r<o.length;r++)n.push(o[r]);o=n}e[t]=o}}},JsonMetadata.prototype.getObjPropertyValueCore=function(e,t){if(!t.isSerializable)return e[t.name];if(t.isLocalizable){if(t.isArray)return e[t.name];if(t.serializationProperty)return e[t.serializationProperty].text}return e.getPropertyValue(t.name)},JsonMetadata.prototype.isObjWrapper=function(e){return!!e.getOriginalObj&&!!e.getOriginalObj()},JsonMetadata.prototype.isNeedUseObjWrapper=function(e,t){if(!e.getDynamicProperties)return!0;var o=e.getDynamicProperties();if(!Array.isArray(o))return!1;for(var n=0;n<o.length;n++)if(o[n].name===t)return!0;return!1},JsonMetadata.prototype.addClass=function(e,t,o,n){void 0===o&&(o=null),void 0===n&&(n=null),e=e.toLowerCase();var r=new oa(e,t,o,n);return this.classes[e]=r,n&&(n=n.toLowerCase(),this.childrenClasses[n]||(this.childrenClasses[n]=[]),this.childrenClasses[n].push(r)),r},JsonMetadata.prototype.removeClass=function(e){var t=this.findClass(e);if(t&&(delete this.classes[t.name],t.parentName)){var o=this.childrenClasses[t.parentName].indexOf(t);o>-1&&this.childrenClasses[t.parentName].splice(o,1)}},JsonMetadata.prototype.overrideClassCreatore=function(e,t){this.overrideClassCreator(e,t)},JsonMetadata.prototype.overrideClassCreator=function(e,t){e=e.toLowerCase();var o=this.findClass(e);o&&(o.creator=t)},JsonMetadata.prototype.getProperties=function(e){var t=this.findClass(e);return t?t.getAllProperties():[]},JsonMetadata.prototype.getPropertiesByObj=function(e){var t=e&&e.getType?e.getType():void 0;if(!t)return[];for(var o=this.getProperties(t),n=this.getDynamicPropertiesByObj(e),r=n.length-1;r>=0;r--)this.findProperty(t,n[r].name)&&n.splice(r,1);return 0===n.length?o:[].concat(o).concat(n)},JsonMetadata.prototype.addDynamicPropertiesIntoObj=function(e,t,o){var n=this;o.forEach(function(o){n.addDynamicPropertyIntoObj(e,t,o.name,!1),o.serializationProperty&&n.addDynamicPropertyIntoObj(e,t,o.serializationProperty,!0),o.alternativeName&&n.addDynamicPropertyIntoObj(e,t,o.alternativeName,!1)})},JsonMetadata.prototype.addDynamicPropertyIntoObj=function(e,t,o,n){var r={configurable:!0,get:function(){return t[o]}};n||(r.set=function(e){t[o]=e}),Object.defineProperty(e,o,r)},JsonMetadata.prototype.getDynamicPropertiesByObj=function(e,t){if(void 0===t&&(t=null),!e||!e.getType)return[];if(e.getDynamicProperties)return e.getDynamicProperties();if(!e.getDynamicType&&!t)return[];var o=t||e.getDynamicType();return this.getDynamicPropertiesByTypes(e.getType(),o)},JsonMetadata.prototype.getDynamicPropertiesByTypes=function(e,t,o){if(!t)return[];var n=t+"-"+e;if(this.dynamicPropsCache[n])return this.dynamicPropsCache[n];var r=this.getProperties(t);if(!r||0==r.length)return[];for(var i={},s=this.getProperties(e),a=0;a<s.length;a++)i[s[a].name]=s[a];var l=[];o||(o=[]);for(var u=0;u<r.length;u++){var c=r[u];0>o.indexOf(c.name)&&this.canAddDybamicProp(c,i[c.name])&&l.push(c)}return this.dynamicPropsCache[n]=l,l},JsonMetadata.prototype.canAddDybamicProp=function(e,t){if(!t)return!0;
5if(e===t)return!1;for(var o=e.classInfo;o&&o.parentName;){if((e=this.findProperty(o.parentName,e.name))&&e===t)return!0;o=e?e.classInfo:void 0}return!1},JsonMetadata.prototype.hasOriginalProperty=function(e,t){return!!this.getOriginalProperty(e,t)},JsonMetadata.prototype.getOriginalProperty=function(e,t){return this.findProperty(e.getType(),t)||(this.isObjWrapper(e)?this.findProperty(e.getOriginalObj().getType(),t):null)},JsonMetadata.prototype.getProperty=function(e,t){var o=this.findProperty(e,t);if(!o)return o;var n=this.findClass(e);if(o.classInfo===n)return o;var r=new oi(n,o.name,o.isRequired);return r.mergeWith(o),r.isArray=o.isArray,n.properties.push(r),n.resetAllProperties(),r},JsonMetadata.prototype.findProperty=function(e,t){var o=this.findClass(e);return o?o.findProperty(t):null},JsonMetadata.prototype.findProperties=function(e,t){var o=[],n=this.findClass(e);if(!n)return o;for(var r=0;r<t.length;r++){var i=n.findProperty(t[r]);i&&o.push(i)}return o},JsonMetadata.prototype.getAllPropertiesByName=function(e){for(var t=[],o=this.getAllClasses(),n=0;n<o.length;n++)for(var r=this.findClass(o[n]),i=0;i<r.properties.length;i++)if(r.properties[i].name==e){t.push(r.properties[i]);break}return t},JsonMetadata.prototype.getAllClasses=function(){var e=[];for(var t in this.classes)e.push(t);return e},JsonMetadata.prototype.createClass=function(e,t){void 0===t&&(t=void 0),e=e.toLowerCase();var o=this.findClass(e);if(!o)return null;if(o.creator)return o.creator(t);for(var n=o.parentName;n&&(o=this.findClass(n));)if(n=o.parentName,o.creator)return this.createCustomType(e,o.creator,t);return null},JsonMetadata.prototype.createCustomType=function(e,t,o){void 0===o&&(o=void 0),e=e.toLowerCase();var n=t(o),r=e,i=n.getTemplate?n.getTemplate():n.getType();return n.getType=function(){return r},n.getTemplate=function(){return i},os.createProperties(n),n},JsonMetadata.prototype.getChildrenClasses=function(e,t){void 0===t&&(t=!1),e=e.toLowerCase();var o=[];return this.fillChildrenClasses(e,t,o),o},JsonMetadata.prototype.getRequiredProperties=function(e){var t=this.findClass(e);if(!t)return[];for(var o=t.getRequiredProperties(),n=[],r=0;r<o.length;r++)n.push(o[r].name);return n},JsonMetadata.prototype.addProperties=function(e,t){e=e.toLowerCase();for(var o=this.findClass(e),n=0;n<t.length;n++)this.addCustomPropertyCore(o,t[n])},JsonMetadata.prototype.addProperty=function(e,t){return this.addCustomPropertyCore(this.findClass(e),t)},JsonMetadata.prototype.addCustomPropertyCore=function(e,t){if(!e)return null;var o=e.createProperty(t,!0);return o&&(this.clearDynamicPropsCache(e),e.resetAllProperties()),o},JsonMetadata.prototype.removeProperty=function(e,t){var o=this.findClass(e);if(!o)return!1;var n=o.find(t);n&&(this.clearDynamicPropsCache(o),this.removePropertyFromClass(o,n),o.resetAllProperties(),os.removeProperty(o.name,t))},JsonMetadata.prototype.clearDynamicPropsCache=function(e){this.dynamicPropsCache={}},JsonMetadata.prototype.removePropertyFromClass=function(e,t){var o=e.properties.indexOf(t);o<0||e.properties.splice(o,1)},JsonMetadata.prototype.fillChildrenClasses=function(e,t,o){var n=this.childrenClasses[e];if(n)for(var r=0;r<n.length;r++)(!t||n[r].creator)&&o.push(n[r]),this.fillChildrenClasses(n[r].name,t,o)},JsonMetadata.prototype.findClass=function(e){e=e.toLowerCase();var t=this.classes[e];if(!t){var o=this.alternativeNames[e];if(o&&o!=e)return this.findClass(o)}return t},JsonMetadata.prototype.isDescendantOf=function(e,t){if(!e||!t)return!1;e=e.toLowerCase(),t=t.toLowerCase();var o=this.findClass(e);if(!o)return!1;var n=o;do{if(n.name===t)return!0;n=this.classes[n.parentName]}while(!!n);return!1},JsonMetadata.prototype.addAlterNativeClassName=function(e,t){this.alternativeNames[t.toLowerCase()]=e.toLowerCase()},JsonMetadata.prototype.generateSchema=function(e){void 0===e&&(e=void 0),e||(e="survey");var t=this.findClass(e);if(!t)return null;var o={$schema:"http://json-schema.org/draft-07/schema#",title:"SurveyJS Library json schema",type:"object",properties:{},definitions:{locstring:this.generateLocStrClass()}};return this.generateSchemaProperties(t,o,o.definitions,!0),o},JsonMetadata.prototype.generateLocStrClass=function(){var e={}
5,t=ov.findProperty("survey","locale");if(t){var o=t.getChoices(null);Array.isArray(o)&&(0>o.indexOf("en")&&o.splice(0,0,"en"),o.splice(0,0,"default"),o.forEach(function(t){t&&(e[t]={type:"string"})}))}return{$id:"locstring",type:"object",properties:e}},JsonMetadata.prototype.generateSchemaProperties=function(e,t,o,n){if(e){var r=t.properties,i=[];"question"===e.name&&(r.type={type:"string"},i.push("type"));for(var s=0;s<e.properties.length;s++){var a=e.properties[s];!1!==a.isSerializable&&!(e.parentName&&ov.findProperty(e.parentName,a.name))&&(r[a.name]=this.generateSchemaProperty(a,o,n),a.isRequired&&i.push(a.name))}i.length>0&&(t.required=i)}},JsonMetadata.prototype.generateSchemaProperty=function(e,t,o){if(e.isLocalizable)return{oneOf:[{type:"string"},{$ref:this.getChemeRefName("locstring",o)}]};var n=e.schemaType(),r=e.schemaRef(),i={};if(n&&(i.type=n),e.hasChoices){var s=e.getChoices(null);Array.isArray(s)&&s.length>0&&(i.enum=this.getChoicesValues(s))}if(r&&("array"===n?"string"===e.className?i.items={type:e.className}:i.items={$ref:this.getChemeRefName(e.className,o)}:i.$ref=this.getChemeRefName(r,o),this.generateChemaClass(e.className,t,!1)),e.baseClassName){var a=this.getChildrenClasses(e.baseClassName,!0);"question"==e.baseClassName&&a.push(this.findClass("panel")),i.items={anyOf:[]};for(var l=0;l<a.length;l++){var u=a[l].name;i.items.anyOf.push({$ref:this.getChemeRefName(u,o)}),this.generateChemaClass(u,t,!1)}}return i},JsonMetadata.prototype.getChemeRefName=function(e,t){return t?"#/definitions/"+e:e},JsonMetadata.prototype.generateChemaClass=function(e,t,o){if(!t[e]){var n=this.findClass(e);if(n){var r=!!n.parentName&&"base"!=n.parentName;r&&this.generateChemaClass(n.parentName,t,o);var i={type:"object",$id:e};t[e]=i;var s={properties:{}};this.generateSchemaProperties(n,s,t,o),r?i.allOf=[{$ref:this.getChemeRefName(n.parentName,o)},{properties:s.properties}]:i.properties=s.properties,Array.isArray(s.required)&&(i.required=s.required)}}},JsonMetadata.prototype.getChoicesValues=function(e){var t=[];return e.forEach(function(e){"object"==typeof e&&void 0!==e.value?t.push(e.value):t.push(e)}),t},JsonMetadata}(),ou=function(){function JsonError(e,t){this.type=e,this.message=t,this.description="",this.at=-1,this.end=-1}return JsonError.prototype.getFullDescription=function(){return this.message+(this.description?"\n"+this.description:"")},JsonError}(),oc=function(e){function JsonUnknownPropertyError(t,o){var n=e.call(this,"unknownproperty","Unknown property in class '"+o+"': '"+t+"'.")||this;return n.propertyName=t,n.className=o,n}return or(JsonUnknownPropertyError,e),JsonUnknownPropertyError}(ou),op=function(e){function JsonMissingTypeErrorBase(t,o,n){var r=e.call(this,o,n)||this;return r.baseClassName=t,r.type=o,r.message=n,r}return or(JsonMissingTypeErrorBase,e),JsonMissingTypeErrorBase}(ou),od=function(e){function JsonMissingTypeError(t,o){var n=e.call(this,o,"missingtypeproperty","The property type is missing in the object. Please take a look at property: '"+t+"'.")||this;return n.propertyName=t,n.baseClassName=o,n}return or(JsonMissingTypeError,e),JsonMissingTypeError}(op),oh=function(e){function JsonIncorrectTypeError(t,o){var n=e.call(this,o,"incorrecttypeproperty","The property type is incorrect in the object. Please take a look at property: '"+t+"'.")||this;return n.propertyName=t,n.baseClassName=o,n}return or(JsonIncorrectTypeError,e),JsonIncorrectTypeError}(op),om=function(e){function JsonRequiredPropertyError(t,o){var n=e.call(this,"requiredproperty","The property '"+t+"' is required in class '"+o+"'.")||this;return n.propertyName=t,n.className=o,n}return or(JsonRequiredPropertyError,e),JsonRequiredPropertyError}(ou),og=function(e){function JsonRequiredArrayPropertyError(t,o){var n=e.call(this,"arrayproperty","The property '"+t+"' should be an array in '"+o+"'.")||this;return n.propertyName=t,n.className=o,n}return or(JsonRequiredArrayPropertyError,e),JsonRequiredArrayPropertyError}(ou),of=function(e){function JsonIncorrectPropertyValueError(t,o){var n=e.call(this,"incorrectvalue","The property value: '"+o+"' is incorrect for property '"+t.name+"'.")||this;return n.property=t,n.value=o,n}
5return or(JsonIncorrectPropertyValueError,e),JsonIncorrectPropertyValueError}(ou),oy=function(){function JsonObject(){this.errors=[],this.lightSerializing=!1}return Object.defineProperty(JsonObject,"metaData",{get:function(){return JsonObject.metaDataValue},enumerable:!1,configurable:!0}),JsonObject.prototype.toJsonObject=function(e,t){return this.toJsonObjectCore(e,null,t)},JsonObject.prototype.toObject=function(e,t,o){this.toObjectCore(e,t,o);var n=this.getRequiredError(t,e);n&&this.addNewError(n,e,t)},JsonObject.prototype.toObjectCore=function(e,t,o){if(e){var n=null,r=void 0,i=!0;if(t.getType&&(r=t.getType(),n=ov.getProperties(r),i=!!r&&!ov.isDescendantOf(r,"itemvalue")),n){t.startLoadingFromJson&&t.startLoadingFromJson(e),n=this.addDynamicProperties(t,e,n),this.options=o;var s={};s[JsonObject.typePropertyName]=!0;var a={};for(var l in e)this.setPropertyValueToObj(e,t,l,n,s,a,r,i,o);this.options=void 0,t.endLoadingFromJson&&t.endLoadingFromJson()}}},JsonObject.prototype.setPropertyValueToObj=function(e,t,o,n,r,i,s,a,l){var u=this;if(!r[o]){if(o===JsonObject.positionPropertyName){t[o]=e[o];return}var c=this.findProperty(n,o);if(!c&&a&&this.addNewError(new oc(o.toString(),s),e,t),c){var p=c.dependsOn;Array.isArray(p)&&(i[o]=!0,p.forEach(function(o){i[o]||u.setPropertyValueToObj(e,t,o,n,r,i,s,!1,l)})),this.valueToObj(e[o],t,c,e,l),r[o]=!0}}},JsonObject.prototype.toJsonObjectCore=function(e,t,o){if(!e||!e.getType)return e;if(!e.isSurvey&&"function"==typeof e.getData)return e.getData();var n={};null==t||t.className||(n[JsonObject.typePropertyName]=t.getObjType(e.getType()));var r=!0===o;return o&&!0!==o||(o={}),r&&(o.storeDefaults=r),this.propertiesToJson(e,ov.getProperties(e.getType()),n,o),this.propertiesToJson(e,this.getDynamicProperties(e),n,o),n},JsonObject.prototype.getDynamicProperties=function(e){return ov.getDynamicPropertiesByObj(e)},JsonObject.prototype.addDynamicProperties=function(e,t,o){if(!e.getDynamicPropertyName&&!e.getDynamicProperties)return o;if(e.getDynamicPropertyName){var n=e.getDynamicPropertyName();if(!n)return o;n&&t[n]&&(e[n]=t[n])}var r=this.getDynamicProperties(e);return 0===r.length?o:[].concat(o).concat(r)},JsonObject.prototype.propertiesToJson=function(e,t,o,n){for(var r=0;r<t.length;r++)this.valueToJson(e,o,t[r],n)},JsonObject.prototype.valueToJson=function(e,t,o,n){n||(n={}),!1!==o.isSerializable&&(!1!==o.isLightSerializable||!this.lightSerializing)&&(!n.version||o.isAvailableInVersion(n.version))&&this.valueToJsonCore(e,t,o,n)},JsonObject.prototype.valueToJsonCore=function(e,t,o,n){var r=o.getSerializedProperty(e,n.version);if(r&&r!==o){this.valueToJsonCore(e,t,r,n);return}var i=o.getSerializableValue(e,n.storeDefaults);if(void 0!==i){if(this.isValueArray(i)){for(var s=[],a=0;a<i.length;a++)s.push(this.toJsonObjectCore(i[a],o,n));i=s.length>0?s:null}else i=this.toJsonObjectCore(i,o,n);if(null!=i){var l=o.getSerializedName(n.version),u="function"==typeof e.getPropertyValue&&null!==e.getPropertyValue(l,null);(!n.storeDefaults||!u)&&o.isDefaultValueByObj(e,i)||ov.onSerializingProperty&&ov.onSerializingProperty(e,o,i,t)||(t[l]=this.removePosOnValueToJson(o,i))}}},JsonObject.prototype.valueToObj=function(e,t,o,n,r){if(null!=e){if(this.removePos(o,e),null!=o&&o.hasToUseSetValue){o.setValue(t,e,this);return}if(o.isArray&&!Array.isArray(e)&&e){e=[e];var i=n&&o.alternativeName&&n[o.alternativeName]?o.alternativeName:o.name;this.addNewError(new og(i,t.getType()),n||e,t)}if(this.isValueArray(e)){this.valueToArray(e,t,o.name,o,r);return}var s=this.createNewObj(e,o);s.newObj&&(this.toObjectCore(e,s.newObj,r),e=s.newObj),!s.error&&(null!=o?(o.setValue(t,e,this),r&&r.validatePropertyValues&&!o.validateValue(e)&&this.addNewError(new of(o,e),n,t)):t[o.name]=e)}},JsonObject.prototype.removePosOnValueToJson=function(e,t){return e.isCustom&&t&&this.removePosFromObj(t),t},JsonObject.prototype.removePos=function(e,t){!e||!e.type||0>e.type.indexOf("value")||this.removePosFromObj(t)},JsonObject.prototype.removePosFromObj=function(e){if(e&&"function"!=typeof e.getType){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.removePosFromObj(e[t]);if("object"==typeof e)for(var o in e[JsonObject.positionPropertyName]&&delete e[JsonObject.positionPropertyName],e)this.removePosFromObj(e[o])}},JsonObject.prototype.isValueArray=function(e){return e&&Array.isArray(e)},JsonObject.prototype.createNewObj=function(e,t){var o={newObj:null,error:null},n=this.getClassNameForNewObj(e,t);return o.newObj=n?ov.createClass(n,e):null,o.error=this.checkNewObjectOnErrors(o.newObj,e,t,n),o},JsonObject.prototype.getClassNameForNewObj=function(e,t){var o=null!=t&&t.className?t.className:void 0;if(o||(o=e[JsonObject.typePropertyName]),!o)return o;o=o.toLowerCase();var n=t.classNamePart;return n&&0>o.indexOf(n)&&(o+=n),o},JsonObject.prototype.checkNewObjectOnErrors=function(e,t,o,n){var r=null;return e?r=this.getRequiredError(e,t):o.baseClassName&&(r=n?new oh(o.name,o.baseClassName):new od(o.name,o.baseClassName)),r&&this.addNewError(r,t,e),r},JsonObject.prototype.getRequiredError=function(e,t){if(!e.getType||"function"==typeof e.getData)return null;var o=ov.findClass(e.getType());if(!o)return null;var n=o.getRequiredProperties();if(!Array.isArray(n))return null;for(var r=0;r<n.length;r++){var i=n[r];if(oe.isValueEmpty(i.defaultValue)&&!t[i.name])return new om(i.name,e.getType())}return null},JsonObject.prototype.addNewError=function(e,t,o){if(e.jsonObj=t,e.element=o,this.errors.push(e),t){var n=t[JsonObject.positionPropertyName];n&&(e.at=n.start,e.end=n.end)}},JsonObject.prototype.valueToArray=function(e,t,o,n,r){if(!t[o]||this.isValueArray(t[o])){t[o]&&e.length>0&&t[o].splice(0,t[o].length);var i=t[o]?t[o]:[];this.addValuesIntoArray(e,i,n,r),t[o]||(t[o]=i)}},JsonObject.prototype.addValuesIntoArray=function(e,t,o,n){for(var r=0;r<e.length;r++){var i=this.createNewObj(e[r],o);i.newObj?(e[r].name&&(i.newObj.name=e[r].name),e[r].valueName&&(i.newObj.valueName=e[r].valueName.toString()),t.push(i.newObj),this.toObjectCore(e[r],i.newObj,n)):i.error||t.push(e[r])}},JsonObject.prototype.findProperty=function(e,t){if(!e)return null;for(var o=0;o<e.length;o++){var n=e[o];if(n.name==t||n.alternativeName==t)return n}return null},JsonObject.typePropertyName="type",JsonObject.positionPropertyName="pos",JsonObject.metaDataValue=new ol,JsonObject}(),ov=oy.metaData,ob="@survey",ox=function(){function ProcessValue(){this.values=null,this.properties=null,this.asyncValues={}}return ProcessValue.prototype.getFirstName=function(e,t){if(void 0===t&&(t=null),!e)return e;var o="";if(t&&(o=this.getFirstPropertyName(e,t)))return o;for(var n=0;n<e.length;n++){var r=e[n];if("."==r||"["==r)break;o+=r}return o},ProcessValue.prototype.hasValue=function(e,t){return void 0===t&&(t=null),t||(t=this.values),this.getValueCore(e,t).hasValue},ProcessValue.prototype.getValue=function(e,t){void 0===t&&(t=null),t||(t=this.values);var o=this.getValueCore(e,t);return o.onProcessValue?o.onProcessValue(o.value):o.value},ProcessValue.prototype.setValue=function(e,t,o){if(t){var n=this.getNonNestedObject(e,t,!0);n&&(e=n.value,t=n.text,e&&t&&(e[t]=o))}},ProcessValue.prototype.getValueInfo=function(e){if(e.path){e.value=this.getValueFromPath(e.path,this.values),e.hasValue=null!==e.value&&!oe.isValueEmpty(e.value),!e.hasValue&&e.path.length>1&&"length"==e.path[e.path.length-1]&&(e.hasValue=!0,e.value=0);return}var t=this.getValueCore(e.name,this.values);e.value=t.value,e.hasValue=t.hasValue,e.path=t.hasValue?t.path:null,e.onProcessValue=t.onProcessValue,e.sctrictCompare=t.sctrictCompare},ProcessValue.prototype.isAnyKeyChanged=function(e,t){for(var o=0;o<t.length;o++){var n=t[o];if(n){var r=n.toLowerCase();if(e.hasOwnProperty(n)||n!==r&&e.hasOwnProperty(r))return!0;var i=this.getFirstName(n);if(e.hasOwnProperty(i)){if(n===i)return!0;var s=e[i];if(void 0!=s){if(!s.hasOwnProperty("oldValue")||!s.hasOwnProperty("newValue"))return!0;var a={};a[i]=s.oldValue;var l=this.getValue(n,a);a[i]=s.newValue;var u=this.getValue(n,a);if(!oe.isTwoValueEquals(l,u,!1,!1,!1))return!0}}}}return!1},ProcessValue.prototype.getValueFromPath=function(e,t){if(2===e.length&&e[0]===ob)return this.getValueFromSurvey(e[1]);for(var o=0;t&&o<e.length;){var n=e[o];if(oe.isNumber(n)&&Array.isArray(t)&&n>=t.length)return null;t=t[n],o++}return t},ProcessValue.prototype.getValueCore=function(e,t){var o=this.getQuestionDirectly(e);if(o)return{hasValue:!0,value:o.value,onProcessValue:function(e){return o.getExpressionValue(e)},path:[e],sctrictCompare:o.requireStrictCompare};var n=this.getValueFromValues(e,t);if(e&&!n.hasValue){var r=this.getValueFromSurvey(e);void 0!==r&&(n.hasValue=!0,n.value=r,n.path=[ob,e])}return n},ProcessValue.prototype.getQuestionDirectly=function(e){if(this.properties&&this.properties.survey)return this.properties.survey.getQuestionByValueName(e)},ProcessValue.prototype.getValueFromSurvey=function(e){if(this.properties&&this.properties.survey)return this.properties.survey.getBuiltInVariableValue(e.toLocaleLowerCase())},ProcessValue.prototype.getValueFromValues=function(e,t){var o={hasValue:!1,value:null,path:null};if(!t&&0!==t&&!1!==t)return o;e&&e.lastIndexOf(".length")>-1&&e.lastIndexOf(".length")===e.length-7&&(o.value=0,o.hasValue=!0);var n=this.getNonNestedObject(t,e,!1);return n&&(o.path=n.path,o.value=n.text?this.getObjectValue(n.value,
vendor: 4,462 bytes, line 5
5n.text):n.value,o.hasValue=!oe.isValueEmpty(o.value)),o},ProcessValue.prototype.getNonNestedObject=function(e,t,o){for(var n=this.getFirstPropertyName(t,e,o),r=e,i=n?[n]:null,s=t;s!=n&&r;){if("["==s[0]){var a=this.getObjInArray(r,s);if(!a)return null;r=a.value,s=a.text,i.push(a.index)}else{if(!n&&s===this.getFirstName(s))return{value:e,text:t,path:i};if(r=this.getObjectValue(r,n),oe.isValueEmpty(r)&&!o)return null;s=s.substring(n.length)}s&&"."==s[0]&&(s=s.substring(1)),(n=this.getFirstPropertyName(s,r,o))&&i.push(n)}return{value:r,text:s,path:i}},ProcessValue.prototype.getObjInArray=function(e,t){if(!Array.isArray(e))return null;for(var o=1,n="";o<t.length&&"]"!=t[o];)n+=t[o],o++;return(t=o<t.length?t.substring(o+1):"",(o=this.getIntValue(n))<0||o>=e.length)?null:{value:e[o],text:t,index:o}},ProcessValue.prototype.getFirstPropertyName=function(e,t,o){if(void 0===o&&(o=!1),!e)return"";if(t||(t={}),t.hasOwnProperty(e))return e;var n=e.toLowerCase(),r=n[0],i=r.toUpperCase(),s="";for(var a in t){var l=a[0];if(l===i||l===r){var u=a.toLowerCase();if(u==n)return a;if(n.length<=u.length)continue;var c=n[u.length];if("."!=c&&"["!=c)continue;u==n.substring(0,u.length)&&s.length<a.length&&(s=a)}}if(s)return s;if(o&&"["!==e[0]){var p=e.indexOf(".");return p>-1&&(t[e=e.substring(0,p)]={}),e}return""},ProcessValue.prototype.getObjectValue=function(e,t){return t?e[t]:null},ProcessValue.prototype.getIntValue=function(e){return"0"==e||(0|e)>0&&e%1==0?Number(e):-1},ProcessValue}(),oC=function(){function ConsoleWarnings(){}return ConsoleWarnings.disposedObjectChangedProperty=function(e,t){ConsoleWarnings.warn('An attempt to set a property "'+e+'" of a disposed object "'+t+'"')},ConsoleWarnings.inCorrectQuestionValue=function(e,t){var o=JSON.stringify(t,null,3);ConsoleWarnings.warn("An attempt to assign an incorrect value"+o+' to the following question: "'+e+'"')},ConsoleWarnings.warn=function(e){console.warn(e)},ConsoleWarnings.error=function(e){console.error(e)},ConsoleWarnings}(),ow=function(){function FunctionFactory(){this.functionHash={},this.isAsyncHash={}}return FunctionFactory.prototype.register=function(e,t,o){void 0===o&&(o=!1),this.functionHash[e]=t,o&&(this.isAsyncHash[e]=!0)},FunctionFactory.prototype.unregister=function(e){delete this.functionHash[e],delete this.isAsyncHash[e]},FunctionFactory.prototype.hasFunction=function(e){return!!this.functionHash[e]},FunctionFactory.prototype.isAsyncFunction=function(e){return!!this.isAsyncHash[e]},FunctionFactory.prototype.clear=function(){this.functionHash={}},FunctionFactory.prototype.getAll=function(){var e=[];for(var t in this.functionHash)e.push(t);return e.sort()},FunctionFactory.prototype.run=function(e,t,o,n){void 0===o&&(o=null);var r=this.functionHash[e];if(!r)return oC.warn("Unknown function name: "+e),null;var i={func:r};if(o)for(var s in o)i[s]=o[s];return i.func(t,n)},FunctionFactory.Instance=new FunctionFactory,FunctionFactory}(),oP=ow.Instance.register;function getParamsAsArray(e,t){if(null!=e){if(Array.isArray(e))for(var o=0;o<e.length;o++)getParamsAsArray(e[o],t);else oe.isNumber(e)&&(e=oe.getNumber(e)),t.push(e)}}function sum(e){var t=[];getParamsAsArray(e,t);for(var o=0,n=0;n<t.length;n++)o=oe.correctAfterPlusMinis(o,t[n],o+t[n]);return o}function min_max(e,t){var o=[];getParamsAsArray(e,o);for(var n=void 0,r=0;r<o.length;r++)void 0===n&&(n=o[r]),t?n>o[r]&&(n=o[r]):n<o[r]&&(n=o[r]);return n}function processItemInArray(e,t,o,n,r,i){var s;return!e||oe.isValueEmpty(e[t])||i&&!i.run(e)?o:n(o,r?"string"==typeof(s=e[t])?oe.isNumber(s)?oe.getNumber(s):void 0:s:1)}function calcInArray(e,t,o,n){void 0===n&&(n=!0);var r=function(e,t){if(e.length<2||e.length>3)return null;var o=e[0];if(!o||!Array.isArray(o)&&!Array.isArray(Object.keys(o)))return null;var n=e[1];if("string"!=typeof n&&!(n instanceof String))return null;var r=e.length>2?e[2]:void 0;if("string"==typeof r||r instanceof String||(r=void 0),!r){var i=Array.isArray(t)&&t.length>2?t[2]:void 0;i&&i.toString()&&(r=i.toString())}return{data:o,name:n,expression:r}}(e,t);if(r){var i=r.expression?new oq(r.expression):void 0;i&&i.isAsync&&(i=void 0);var s=void 0;if(Array.isArray(r.data))for(var a=0;a<r.data.length;a++)s=processItemInArray(r.data[a],r.name,s,o,n,i);else for(var l in r.data)s=processItemInArray(r.data[l],r.name,s,o,n,i);return s}}function sumInArray(e,t){var o=calcInArray(e,t,function(e,t){return(void 0==e&&(e=0),void 0==t||null==t)?e:oe.correctAfterPlusMinis(e,t,e+t)}
5);return void 0!==o?o:0}function countInArray(e,t){var o=calcInArray(e,t,function(e,t){return(void 0==e&&(e=0),void 0==t||null==t)?e:e+1},!1);return void 0!==o?o:0}function dateDiffMonths(e,t,o){if("days"===o)return diffDays([e,t]);var n=createDate("function-dateDiffMonths",e),r=createDate("function-dateDiffMonths",t),i=r.getFullYear()-n.getFullYear();o=o||"years";var s=12*i+r.getMonth()-n.getMonth();return r.getDate()<n.getDate()&&(s-=1),"months"===o?s:~~(s/12)}function isContainerReadyCore(e){if(!e)return!1;for(var t=e.questions,o=0;o<t.length;o++)if(!t[o].validate(!1))return!1;return!0}function today(e){var t=createDate("function-today");return nC.localization.useLocalTimeZone?t.setHours(0,0,0,0):t.setUTCHours(0,0,0,0),Array.isArray(e)&&1==e.length&&t.setDate(t.getDate()+e[0]),t}function diffDays(e){if(!Array.isArray(e)||2!==e.length||!e[0]||!e[1])return 0;var t=createDate("function-diffDays",e[0]);return Math.ceil(Math.abs(createDate("function-diffDays",e[1])-t)/864e5)}function dateFromFirstParameterOrToday(e,t){var o=today(void 0);return t&&t[0]&&(o=createDate("function-"+e,t[0])),o}function getQuestionValueByContext(e,t){if(e&&t){for(var o=e.question;o&&o.parent;){var n=o.parent.getQuestionByName(t);if(n)return n;o=o.parentQuestion}for(var r=["row","panel","survey"],i=0;i<r.length;i++){var s=e[r[i]];if(s&&s.getQuestionByName){var n=s.getQuestionByName(t);if(n)return n}}return null}}function getDisplayValueReturnResult(e,t){return t.length>1&&!oe.isValueEmpty(t[1])?e.getDisplayValue(!0,t[1]):e.displayValue}ow.Instance.register("sum",sum),ow.Instance.register("min",function(e){return min_max(e,!0)}),ow.Instance.register("max",function(e){return min_max(e,!1)}),ow.Instance.register("count",function(e){var t=[];return getParamsAsArray(e,t),t.length}),ow.Instance.register("avg",function(e){var t=[];getParamsAsArray(e,t);var o=sum(e);return t.length>0?o/t.length:0}),ow.Instance.register("sumInArray",sumInArray),ow.Instance.register("minInArray",function(e,t){return calcInArray(e,t,function(e,t){return void 0==e?t:void 0==t||null==t?e:e<t?e:t})}),ow.Instance.register("maxInArray",function(e,t){return calcInArray(e,t,function(e,t){return void 0==e?t:void 0==t||null==t?e:e>t?e:t})}),ow.Instance.register("countInArray",countInArray),ow.Instance.register("avgInArray",function(e,t){var o=countInArray(e,t);return 0==o?0:sumInArray(e,t)/o}),ow.Instance.register("iif",function(e){return e||3===e.length?e[0]?e[1]:e[2]:""}),ow.Instance.register("getDate",function(e){return(e||!(e.length<1))&&e[0]?createDate("function-getDate",e[0]):null}),ow.Instance.register("age",function(e){return Array.isArray(e)&&!(e.length<1)&&e[0]?dateDiffMonths(e[0],void 0,(e.length>1?e[1]:"")||"years"):null}),ow.Instance.register("dateDiff",function(e){if(!Array.isArray(e)||e.length<2||!e[0]||!e[1])return null;var t=(e.length>2?e[2]:"")||"days",o="hours"===t||"minutes"===t,n=dateDiffMonths(e[0],e[1],o?"days":t);if(o){var r=createDate("function-dateDiffMonths",e[0]),i=createDate("function-dateDiffMonths",e[1]);(i.getHours()>r.getHours()||"hours"!==t&&i.getHours()===r.getHours()&&i.getMinutes()>r.getMinutes())&&(n-=1);var s=24*n+i.getHours()-r.getHours();return"hours"===t?s:(i.getMinutes()<r.getMinutes()&&(s-=1),60*s+i.getMinutes()-r.getMinutes())}return n}),ow.Instance.register("dateAdd",function(e){if(!Array.isArray(e)||e.length<2||!e[0]||!e[1])return null;var t=createDate("function-dateAdd",e[0]),o=e[1],n=e[2]||"days";return"days"===n&&t.setDate(t.getDate()+o),"months"===n&&t.setMonth(t.getMonth()+o),"years"===n&&t.setFullYear(t.getFullYear()+o),t}),ow.Instance.register("isContainerReady",function(e){if(!e&&e.length<1||!e[0]||!this.survey)return!1;var t=e[0],o=this.survey.getPageByName(t);if(o||(o=this.survey.getPanelByName(t)),!o){var n=this.survey.getQuestionByName(t);if(!n||!Array.isArray(n.panels))return!1;if(e.length>1)e[1]<n.panels.length&&(o=n.panels[e[1]]);else{for(var r=0;r<n.panels.length;r++)if(!isContainerReadyCore(n.panels[r]))return!1;return!0}}return isContainerReadyCore(o)}),ow.Instance.register("isDisplayMode",function(){return this.survey&&this.survey.isDisplayMode}),ow.Instance.register("currentDate",function(){return createDate("function-currentDate")}),ow.Instance.register("today",today),ow.Instance.register("getYear",function(e){if(1===e.length&&e[0])return createDate("function-getYear",e[0]).getFullYear()}),ow.Instance.register("currentYear",function(){return createDate("function-currentYear").getFullYear()}),ow.Instance.register("diffDays",diffDays),ow.Instance.register("year",function(e){return dateFromFirstParameterOrToday("year",e).getFullYear()}),ow.Instance.register("month",function(e){return dateFromFirstParameterOrToday("month",e).getMonth()+1}),ow.Instance.register("day",function(e){return dateFromFirstParameterOrToday("day",e).getDate()}),ow.Instance.register("weekday",function(e){return dateFromFirstParameterOrToday("weekday",e).getDay()}),ow.Instance.register("displayValue",function(e){var t=this,o=getQuestionValueByContext(this,e[0]);if(!o)return"";if(o.isReady)this.returnResult(getDisplayValueReturnResult(o,e));else{var displayValueOnReadyChanged_1=function(o,n){o.isReady&&(o.onReadyChanged.remove(displayValueOnReadyChanged_1),t.returnResult(getDisplayValueReturnResult(o,e)))};o.onReadyChanged.add(displayValueOnReadyChanged_1)}},!0),ow.Instance.register("propertyValue",function(e){if(2===e.length&&e[0]&&e[1]){var t=getQuestionValueByContext(this,e[0]);return t?t[e[1]]:void 0}}),ow.Instance.register("substring",function(e){if(e.length<2)return"";var t=e[0];if(!t||"string"!=typeof t)return"";var o=e[1];if(!oe.isNumber(o))return"";var n=e.length>2?e[2]:void 0;return oe.isNumber(n)?t.substring(o,n):t.substring(o)});var o_=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
vendor: 13,993 bytes, line 5
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),oS=function(){function Operand(){this._id=Operand.counter++}return Object.defineProperty(Operand.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Operand.prototype.toString=function(e){return void 0===e&&(e=void 0),""},Operand.prototype.hasFunction=function(){return!1},Operand.prototype.hasAsyncFunction=function(){return!1},Operand.prototype.addToAsyncList=function(e){},Operand.prototype.addOperandsToList=function(e){e.push(this),this.addChildrenToList(e)},Operand.prototype.isEqual=function(e){return!!e&&e.getType()===this.getType()&&this.isContentEqual(e)},Operand.prototype.areOperatorsEquals=function(e,t){return!e&&!t||!!e&&e.isEqual(t)},Operand.prototype.addChildrenToList=function(e){},Operand.counter=1,Operand}(),oM=function(e){function BinaryOperand(t,o,n,r){void 0===o&&(o=null),void 0===n&&(n=null),void 0===r&&(r=!1);var i=e.call(this)||this;return i.operatorName=t,i.left=o,i.right=n,i.isArithmeticValue=r,r?i.consumer=oI.binaryFunctions.arithmeticOp(t):i.consumer=oI.binaryFunctions[t],null==i.consumer&&oI.throwInvalidOperatorError(t),i}return o_(BinaryOperand,e),Object.defineProperty(BinaryOperand.prototype,"requireStrictCompare",{get:function(){return this.getIsOperandRequireStrict(this.left)||this.getIsOperandRequireStrict(this.right)},enumerable:!1,configurable:!0}),BinaryOperand.prototype.getIsOperandRequireStrict=function(e){return!!e&&e.requireStrictCompare},BinaryOperand.prototype.getType=function(){return"binary"},Object.defineProperty(BinaryOperand.prototype,"isArithmetic",{get:function(){return this.isArithmeticValue},enumerable:!1,configurable:!0}),Object.defineProperty(BinaryOperand.prototype,"isConjunction",{get:function(){return"or"==this.operatorName||"and"==this.operatorName},enumerable:!1,configurable:!0}),Object.defineProperty(BinaryOperand.prototype,"conjunction",{get:function(){return this.isConjunction?this.operatorName:""},enumerable:!1,configurable:!0}),Object.defineProperty(BinaryOperand.prototype,"operator",{get:function(){return this.operatorName},enumerable:!1,configurable:!0}),Object.defineProperty(BinaryOperand.prototype,"leftOperand",{get:function(){return this.left},enumerable:!1,configurable:!0}),Object.defineProperty(BinaryOperand.prototype,"rightOperand",{get:function(){return this.right},enumerable:!1,configurable:!0}),BinaryOperand.prototype.isContentEqual=function(e){return e.operator===this.operator&&this.areOperatorsEquals(this.left,e.left)&&this.areOperatorsEquals(this.right,e.right)},BinaryOperand.prototype.evaluateParam=function(e,t){return null==e?null:e.evaluate(t)},BinaryOperand.prototype.evaluate=function(e){return this.consumer.call(this,this.evaluateParam(this.left,e),this.evaluateParam(this.right,e),this.requireStrictCompare)},BinaryOperand.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return"("+oI.safeToString(this.left,e)+" "+oI.operatorToString(this.operatorName)+" "+oI.safeToString(this.right,e)+")"},BinaryOperand.prototype.setVariables=function(e){null!=this.left&&this.left.setVariables(e),null!=this.right&&this.right.setVariables(e)},BinaryOperand.prototype.hasFunction=function(){return!!this.left&&this.left.hasFunction()||!!this.right&&this.right.hasFunction()},BinaryOperand.prototype.addChildrenToList=function(e){this.left&&this.left.addOperandsToList(e),this.right&&this.right.addOperandsToList(e)},BinaryOperand.prototype.hasAsyncFunction=function(){return!!this.left&&this.left.hasAsyncFunction()||!!this.right&&this.right.hasAsyncFunction()},BinaryOperand.prototype.addToAsyncList=function(e){this.left&&this.left.addToAsyncList(e),this.right&&this.right.addToAsyncList(e)},BinaryOperand}(oS),oE=function(e){function UnaryOperand(t,o){var n=e.call(this)||this;return n.expressionValue=t,n.operatorName=o,n.consumer=oI.unaryFunctions[o],null==n.consumer&&oI.throwInvalidOperatorError(o),n}return o_(UnaryOperand,e),Object.defineProperty(UnaryOperand.prototype,"operator",{get:function(){return this.operatorName},enumerable:!1,configurable:!0}),Object.defineProperty(UnaryOperand.prototype,"expression",{get:function(){return this.expressionValue},enumerable:!1,configurable:!0}),UnaryOperand.prototype.getType=function(){return"unary"},UnaryOperand.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}var o=oI.operatorToString(this.operator),n=this.expression.toString(e);return this.isRigtOperator?n+" "+o:o+" "+n},Object.defineProperty(UnaryOperand.prototype,"isRigtOperator",{get:function(){var e=this.operatorName.toLowerCase();return"notempty"===e||"empty"===e},enumerable:!1,configurable:!0}),UnaryOperand.prototype.isContentEqual=function(e){return e.operator==this.operator&&this.areOperatorsEquals(this.expression,e.expression)},UnaryOperand.prototype.hasFunction=function(){return this.expression.hasFunction()},UnaryOperand.prototype.addChildrenToList=function(e){this.expression.addOperandsToList(e)},UnaryOperand.prototype.hasAsyncFunction=function(){return this.expression.hasAsyncFunction()},UnaryOperand.prototype.addToAsyncList=function(e){this.expression.addToAsyncList(e)},UnaryOperand.prototype.evaluate=function(e){var t=this.expression.evaluate(e);return this.consumer.call(this,t)},UnaryOperand.prototype.setVariables=function(e){this.expression.setVariables(e)},UnaryOperand}(oS),oT=function(e){function ArrayOperand(t){var o=e.call(this)||this;return o.values=t,o}return o_(ArrayOperand,e),ArrayOperand.prototype.getType=function(){return"array"},ArrayOperand.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return"["+this.values.map(function(t){return t.toString(e)}).join(", ")+"]"},ArrayOperand.prototype.evaluate=function(e){return this.values.map(function(t){return t.evaluate(e)})},ArrayOperand.prototype.setVariables=function(e){this.values.forEach(function(t){t.setVariables(e)})},ArrayOperand.prototype.hasFunction=function(){return this.values.some(function(e){return e.hasFunction()})},ArrayOperand.prototype.addChildrenToList=function(e){this.values.forEach(function(t){t.addOperandsToList(e)})},ArrayOperand.prototype.hasAsyncFunction=function(){return this.values.some(function(e){return e.hasAsyncFunction()})},ArrayOperand.prototype.addToAsyncList=function(e){this.values.forEach(function(t){return t.addToAsyncList(e)})},ArrayOperand.prototype.isContentEqual=function(e){if(e.values.length!==this.values.length)return!1;for(var t=0;t<this.values.length;t++)if(!e.values[t].isEqual(this.values[t]))return!1;return!0},ArrayOperand}(oS),oV=function(e){function Const(t){var o=e.call(this)||this;return o.value=t,o}return o_(Const,e),Const.prototype.getType=function(){return"const"},Const.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return this.value.toString()},Object.defineProperty(Const.prototype,"correctValue",{get:function(){return this.getCorrectValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(Const.prototype,"requireStrictCompare",{get:function(){return!1},enumerable:!1,configurable:!0}),Const.prototype.evaluate=function(){return this.getCorrectValue(this.value)},Const.prototype.setVariables=function(e){},Const.prototype.getCorrectValue=function(e){if(!e||"string"!=typeof e)return e;if(oI.isBooleanValue(e))return"true"===e.toLowerCase();if(e.length>1&&this.isQuote(e[0])&&this.isQuote(e[e.length-1]))return e.substring(1,e.length-1);if(oe.isNumber(e)){if("0"===e[0]&&0!=e.indexOf("0x")){var t=e.length,o=t>1&&("."===e[1]||","===e[1]);if(!o&&t>1||o&&t<2)return e}return oe.getNumber(e)}return e},Const.prototype.isContentEqual=function(e){return e.value==this.value},Const.prototype.isQuote=function(e){return"'"==e||'"'==e},Const}(oS),oR=function(e){function Variable(t){var o=e.call(this,t)||this;return o.variableName=t,o.valueInfo={},o.useValueAsItIs=!1,o.variableName&&o.variableName.length>1&&o.variableName[0]===Variable.DisableConversionChar&&(o.variableName=o.variableName.substring(1),o.useValueAsItIs=!0),o}return o_(Variable,e),Object.defineProperty(Variable,"DisableConversionChar",{get:function(){return nC.expressionDisableConversionChar},set:function(e){nC.expressionDisableConversionChar=e},enumerable:!1,configurable:!0}),Object.defineProperty(Variable.prototype,"requireStrictCompare",{get:function(){return!0===this.valueInfo.sctrictCompare},enumerable:!1,configurable:!0}),Variable.prototype.getType=function(){return"variable"},Variable.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return"{"+(this.useValueAsItIs?Variable.DisableConversionChar:"")+this.variableName+"}"},Object.defineProperty(Variable.prototype,"variable",{get:function(){return this.variableName},enumerable:!1,configurable:!0}),Variable.prototype.evaluate=function(e){if(this.valueInfo.name=this.variableName,e.getValueInfo(this.valueInfo),!this.valueInfo.hasValue)return null;var t=this.valueInfo.value;return this.valueInfo.onProcessValue&&(t=this.valueInfo.onProcessValue(t)),this.getCorrectValue(t)},Variable.prototype.setVariables=function(e){e.push(this.variableName)},Variable.prototype.getCorrectValue=function(t){return this.useValueAsItIs?t:e.prototype.getCorrectValue.call(this,t)},Variable.prototype.isContentEqual=function(e){return e.variable==this.variable},Variable}(oV),ok=function(e){function FunctionOperand(t,o){var n=e.call(this)||this;return n.originalValue=t,n.parameters=o,Array.isArray(o)&&0===o.length&&(n.parameters=new oT([])),n}return o_(FunctionOperand,e),FunctionOperand.prototype.getType=function(){return"function"},FunctionOperand.prototype.evaluate=function(e){var t=this.getAsynValue(e);return t?t.value:this.evaluateCore(e)},FunctionOperand.prototype.evaluateCore=function(e){var t=e.properties;if(this.isAsyncFunction){t=oe.createCopy(e.properties);var o=this.id,n=e.asyncValues,r=e.onCompleteAsyncFunc,i=this;t.returnResult=function(e){n[o]={value:e},r(i)}}return ow.Instance.run(this.originalValue,this.parameters.evaluate(e),t,this.parameters.values)},FunctionOperand.prototype.toString=function(e){if(void 0===e&&(e=void 0),e){var t=e(this);if(t)return t}return this.originalValue+"("+this.parameters.toString(e)+")"},FunctionOperand.prototype.setVariables=function(e){this.parameters.setVariables(e)},FunctionOperand.prototype.isReady=function(e){return!!this.getAsynValue(e)},FunctionOperand.prototype.getAsynValue=function(e){return e.asyncValues[this.id]},FunctionOperand.prototype.hasFunction=function(){return!0},FunctionOperand.prototype.addChildrenToList=function(e){this.parameters.addOperandsToList(e)},FunctionOperand.prototype.hasAsyncFunction=function(){return this.isAsyncFunction()||this.parameters.hasAsyncFunction()},FunctionOperand.prototype.isAsyncFunction=function(){return ow.Instance.isAsyncFunction(this.originalValue)},FunctionOperand.prototype.addToAsyncList=function(e){var t=void 0;if(this.isAsyncFunction()&&(t={operand:this}),this.parameters.hasAsyncFunction()){var o=[];this.parameters.addToAsyncList(o),o.forEach(function(e){return e.parent=t}),t||(t={}),t.children=o}t&&e.push(t)},FunctionOperand.prototype.isContentEqual=function(e){return e.originalValue==this.originalValue&&this.areOperatorsEquals(e.parameters,this.parameters)},FunctionOperand}(oS),oI=function(){function OperandMaker(){}return OperandMaker.throwInvalidOperatorError=function(e){throw Error("Invalid operator: '"+e+"'")},OperandMaker.safeToString=function(e,t){return null==e?"":e.toString(t)},OperandMaker.toOperandString=function(e){return!e||oe.isNumber(e)||OperandMaker.isBooleanValue(e)||(e="'"+e+"'"),e},OperandMaker.isBooleanValue=function(e){return!!e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())},OperandMaker.countDecimals=function(e){if(oe.isNumber(e)&&Math.floor(e)!==e){var t=e.toString().split(".");return t.length>1&&t[1].length||0}return 0},OperandMaker.plusMinus=function(e,t,o){var n=OperandMaker.countDecimals(e),r=OperandMaker.countDecimals(t);if(n>0||r>0){var i=Math.max(n,r);o=parseFloat(o.toFixed(i))}return o},OperandMaker.isTwoValueEquals=function(e,t,o){return void 0===o&&(o=!0),"undefined"===e&&(e=void 0),"undefined"===t&&(t=void 0),oe.isTwoValueEquals(e,t,o)},OperandMaker.operatorToString=function(e){var t=OperandMaker.signs[e];return null==t?e:t},OperandMaker.convertValForDateCompare=function(e,t){if(t instanceof Date&&"string"==typeof e){var o=createDate("expression-operand",e);return o.setHours(0,0,0),o}return e},OperandMaker.unaryFunctions={empty:function(e){return oe.isValueEmpty(e)},notempty:function(e){return!OperandMaker.unaryFunctions.empty(e)},negate:function(e){return!e}},OperandMaker.binaryFunctions={arithmeticOp:function(e){var convertForArithmeticOp=function(e,t){return oe.isValueEmpty(e)?"number"==typeof t?0:"string"==typeof e?e:"string"==typeof t?"":Array.isArray(t)?[]:0:e};return function(t,o){t=convertForArithmeticOp(t,o),o=convertForArithmeticOp(o,t);var n=OperandMaker.binaryFunctions[e];return null==n?null:n.call(this,t,o)}},and:function(e,t){return e&&t},or:function(e,t){return e||t},plus:function(e,t){return oe.sumAnyValues(e,t)},minus:function(e,t){return oe.correctAfterPlusMinis(e,t,e-t)},mul:function(e,t){return oe.correctAfterMultiple(e,t,e*t)},div:function(e,t){return t?e/t:null},mod:function(e,t){return t?e%t:null},power:function(e,t){return Math.pow(e,t)},greater:function(e,t){return null!=e&&null!=t&&(e=OperandMaker.convertValForDateCompare(e,t),t=OperandMaker.convertValForDateCompare(t,e),e>t)},less:function(e,t){return null!=e&&null!=t&&(e=OperandMaker.convertValForDateCompare(e,t),t=OperandMaker.convertValForDateCompare(t,e),e<t)}
5,greaterorequal:function(e,t){return!!OperandMaker.binaryFunctions.equal(e,t)||OperandMaker.binaryFunctions.greater(e,t)},lessorequal:function(e,t){return!!OperandMaker.binaryFunctions.equal(e,t)||OperandMaker.binaryFunctions.less(e,t)},equal:function(e,t,o){return e=OperandMaker.convertValForDateCompare(e,t),t=OperandMaker.convertValForDateCompare(t,e),OperandMaker.isTwoValueEquals(e,t,!0!==o)},notequal:function(e,t,o){return!OperandMaker.binaryFunctions.equal(e,t,o)},contains:function(e,t){return OperandMaker.binaryFunctions.containsCore(e,t,!0)},notcontains:function(e,t){return!(e||oe.isValueEmpty(t))||OperandMaker.binaryFunctions.containsCore(e,t,!1)},anyof:function(e,t){if(oe.isValueEmpty(e)&&oe.isValueEmpty(t))return!0;if(oe.isValueEmpty(e)||!Array.isArray(e)&&0===e.length)return!1;if(oe.isValueEmpty(t))return!0;if(!Array.isArray(e))return OperandMaker.binaryFunctions.contains(t,e);if(!Array.isArray(t))return OperandMaker.binaryFunctions.contains(e,t);for(var o=0;o<t.length;o++)if(OperandMaker.binaryFunctions.contains(e,t[o]))return!0;return!1},allof:function(e,t){if(!e&&!oe.isValueEmpty(t))return!1;if(!Array.isArray(t))return OperandMaker.binaryFunctions.contains(e,t);for(var o=0;o<t.length;o++)if(!OperandMaker.binaryFunctions.contains(e,t[o]))return!1;return!0},containsCore:function(e,t,o){if(!e&&0!==e&&!1!==e)return!1;if(!e.length&&(e=e.toString(),("string"==typeof t||t instanceof String)&&(e=e.toUpperCase(),t=t.toUpperCase())),"string"==typeof e||e instanceof String){if(!t)return!1;t=t.toString();var n=e.indexOf(t)>-1;return o?n:!n}for(var r=Array.isArray(t)?t:[t],i=0;i<r.length;i++){var s=0;for(t=r[i];s<e.length&&!OperandMaker.isTwoValueEquals(e[s],t);s++);if(s==e.length)return!o}return o}},OperandMaker.signs={less:"<",lessorequal:"<=",greater:">",greaterorequal:">=",equal:"==",notequal:"!=",plus:"+",minus:"-",mul:"*",div:"/",and:"and",or:"or",power:"^",mod:"%",negate:"!"},OperandMaker}(),oO=(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),oD=function(e){function SyntaxError(t,o,n,r){var i=e.call(this)||this;return i.message=t,i.expected=o,i.found=n,i.location=r,i.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,SyntaxError),i}return oO(SyntaxError,e),SyntaxError.buildMessage=function(e,t){function hex(e){return e.charCodeAt(0).toString(16).toUpperCase()}function literalEscape(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+hex(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+hex(e)})}function classEscape(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+hex(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+hex(e)})}function describeExpectation(e){switch(e.type){case"literal":return'"'+literalEscape(e.text)+'"';case"class":var t=e.parts.map(function(e){return Array.isArray(e)?classEscape(e[0])+"-"+classEscape(e[1]):classEscape(e)});return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,o,n=e.map(describeExpectation);if(n.sort(),n.length>0){for(t=1,o=1;t<n.length;t++)n[t-1]!==n[t]&&(n[o]=n[t],o++);n.length=o}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+(t?'"'+literalEscape(t)+'"':"end of input")+" found."},SyntaxError}(Error),parse=function(e,t){t=void 0!==t?t:{};var o,n,r,i,s,a,l,u,c={},p={Expression:peg$parseExpression},d=peg$parseExpression,peg$c0=function(e,t){return buildBinaryOperand(e,t,!0)},h=peg$literalExpectation("||",!1),m=peg$literalExpectation("or",!0),g=peg$literalExpectation("&&",!1),f=peg$literalExpectation("and",!0),peg$c11=function(e,t){return buildBinaryOperand(e,t)},y=peg$literalExpectation("<=",!1),v=peg$literalExpectation("lessorequal",!0),b=peg$literalExpectation(">=",!1),x=peg$literalExpectation("greaterorequal",!0),C=peg$literalExpectation("==",!1),w="equal",P=peg$literalExpectation("equal",!0),peg$c26=function(){return"equal"},_=peg$literalExpectation("=",!1),S=peg$literalExpectation("!=",!1),M=peg$literalExpectation("notequal",!0),E=peg$literalExpectation("<",!1),T=peg$literalExpectation("less",!0),V=peg$literalExpectation(">",!1),R=peg$literalExpectation("greater",!0),k=peg$literalExpectation("+",!1),I=peg$literalExpectation("-",!1),O=peg$literalExpectation("*",!1),D=peg$literalExpectation("/",!1),A=peg$literalExpectation("%",!1),Q=peg$literalExpectation("^",!1),j=peg$literalExpectation("power",!0),L=peg$literalExpectation("*=",!1),B=peg$literalExpectation("c
5ontains",!0),q=peg$literalExpectation("contain",!0),N=peg$literalExpectation("notcontains",!0),F=peg$literalExpectation("notcontain",!0),z=peg$literalExpectation("anyof",!0),H=peg$literalExpectation("allof",!0),U=peg$literalExpectation("(",!1),W=peg$literalExpectation(")",!1),$=peg$literalExpectation("!",!1),J=peg$literalExpectation("negate",!0),G=peg$literalExpectation("empty",!0),K=peg$literalExpectation("notempty",!0),Z="undefined",Y=peg$literalExpectation("undefined",!1),X="null",ee=peg$literalExpectation("null",!1),et=peg$literalExpectation("{",!1),eo=peg$literalExpectation("}",!1),peg$c111=function(e){return e},en=peg$literalExpectation("''",!1),peg$c114=function(){return""},er=peg$literalExpectation('""',!1),ei=peg$literalExpectation("'",!1),peg$c119=function(e){return"'"+e+"'"},es=peg$literalExpectation('"',!1),ea=peg$literalExpectation("[",!1),el=peg$literalExpectation("]",!1),eu=peg$literalExpectation(",",!1),peg$c129=function(e,t){if(null==e)return new oT([]);var o=[e];if(Array.isArray(t))for(var n=[].concat.apply([],t),r=3;r<n.length;r+=4)o.push(n[r]);return new oT(o)},ec=peg$literalExpectation("true",!0),ep=peg$literalExpectation("false",!0),ed=peg$literalExpectation("0x",!1),eh=/^[\-]/,em=peg$classExpectation(["-"],!1,!1),eg=peg$literalExpectation(".",!1),ef=peg$literalExpectation("0",!1),peg$c149=function(e){return e.join("")},ey=peg$literalExpectation("\\'",!1),ev=peg$literalExpectation('\\"',!1),eb=/^[^"']/,ex=peg$classExpectation(['"',"'"],!0,!1),peg$c158=function(){return text()},eC=/^[^{}]/,ew=peg$classExpectation(["{","}"],!0,!1),eP=/^[0-9]/,e_=peg$classExpectation([["0","9"]],!1,!1),eS=/^[1-9]/,eM=peg$classExpectation([["1","9"]],!1,!1),eE=/^[a-zA-Z_]/,eT=peg$classExpectation([["a","z"],["A","Z"],"_"],!1,!1),eV={type:"other",description:"whitespace"},eR=/^[ \t\n\r]/,ek=peg$classExpectation([" "," ","\n","\r"],!1,!1),eI=0,eO=0,eD=[{line:1,column:1}],eA=0,eQ=[],ej=0,eL={};if(void 0!==t.startRule){if(!(t.startRule in p))throw Error("Can't start parsing from rule \""+t.startRule+'".');d=p[t.startRule]}function text(){return e.substring(eO,eI)}function peg$literalExpectation(e,t){return{type:"literal",text:e,ignoreCase:t}}function peg$classExpectation(e,t,o){return{type:"class",parts:e,inverted:t,ignoreCase:o}}function peg$computePosDetails(t){var o,n=eD[t];if(n)return n;for(o=t-1;!eD[o];)o--;for(n={line:(n=eD[o]).line,column:n.column};o<t;)10===e.charCodeAt(o)?(n.line++,n.column=1):n.column++,o++;return eD[t]=n,n}function peg$fail(e){eI<eA||(eI>eA&&(eA=eI,eQ=[]),eQ.push(e))}function peg$parseExpression(){var e,t,o,n,r,i,s,a,l=34*eI+0,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,peg$parse_()!==c){if((t=peg$parseLogicOr())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parseOrSign())!==c&&(s=peg$parse_())!==c&&(a=peg$parseLogicOr())!==c?n=r=[r,i,s,a]:(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parseOrSign())!==c&&(s=peg$parse_())!==c&&(a=peg$parseLogicOr())!==c?n=r=[r,i,s,a]:(eI=n,n=c);o!==c&&(n=peg$parse_())!==c?(eO=e,e=peg$c0(t,o)):(eI=e,e=c)}else eI=e,e=c}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parseOrSign(){var t,o,n=34*eI+1,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,"||"===e.substr(eI,2)?(o="||",eI+=2):(o=c,0===ej&&peg$fail(h)),o===c&&("or"===e.substr(eI,2).toLowerCase()?(o=e.substr(eI,2),eI+=2):(o=c,0===ej&&peg$fail(m))),o!==c&&(eO=t,o="or"),t=o,eL[n]={nextPos:eI,result:t},t)}function peg$parseLogicOr(){var e,t,o,n,r,i,s,a,l=34*eI+2,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,(t=peg$parseLogicAnd())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parseAndSign())!==c&&(s=peg$parse_())!==c&&(a=peg$parseLogicAnd())!==c?n=r=[r,i,s,a]:(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parseAndSign())!==c&&(s=peg$parse_())!==c&&(a=peg$parseLogicAnd())!==c?n=r=[r,i,s,a]:(eI=n,n=c);o!==c?(eO=e,e=t=peg$c0(t,o)):(eI=e,e=c)}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parseAndSign(){var t,o,n=34*eI+3,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,"&&"===e.substr(eI,2)?(o="&&",eI+=2):(o=c,0===ej&&peg$fail(g)),o===c&&("and"===e.substr(eI,3).toLowerCase()?(o=e.substr(eI,3),eI+=3):(o=c,0===ej&&peg$fail(f))),o!==c&&(eO=t,o="and"),t=o,eL[n]={nextPos:eI,result:t},t)}function peg$parseLogicAnd(){var e,t,o,n,r,i,s,a,l=34*eI+4,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,(t=peg$parseCompOps())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parseComparableOperators())!==c&&(s=peg$parse_())!==c&&(a=peg$parseCompOps())!==c?n=r=[r,i,s,a]:(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parseComparableOperators())!==c&&(s=peg$parse_())!==c&&(a=peg$parseCompOps())!==c?n=r=[r,i,s,a]:(eI=n,n=c);o!==c?(eO=e,e=t=peg$c11(t,o)):(eI=e,e=c)}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parseComparableOperators(){var t,o,n=34*eI+5,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,"<="===e.substr(eI,2)?(o="<=",eI+=2):(o=c,0===ej&&peg$fail(y)),o===c&&("lessorequal"===e.substr(eI,11).toLowerCase()?(o=e.substr(eI,11),eI+=11):(o=c,0===ej&&peg$fail(v))),o!==c&&(eO=t,o="lessorequal"),(t=o)===c&&(t=eI,">="===e.substr(eI,2)?(o=">=",eI+=2):(o=c,0===ej&&peg$fail(b)),o===c&&("greaterorequal"===e.substr(eI,14).toLowerCase()?(o=e.substr(eI,14),eI+=14):(o=c,0===ej&&peg$fail(
5x))),o!==c&&(eO=t,o="greaterorequal"),(t=o)===c&&(t=eI,"=="===e.substr(eI,2)?(o="==",eI+=2):(o=c,0===ej&&peg$fail(C)),o===c&&(e.substr(eI,5).toLowerCase()===w?(o=e.substr(eI,5),eI+=5):(o=c,0===ej&&peg$fail(P))),o!==c&&(eO=t,o=peg$c26()),(t=o)===c&&(t=eI,61===e.charCodeAt(eI)?(o="=",eI++):(o=c,0===ej&&peg$fail(_)),o===c&&(e.substr(eI,5).toLowerCase()===w?(o=e.substr(eI,5),eI+=5):(o=c,0===ej&&peg$fail(P))),o!==c&&(eO=t,o=peg$c26()),(t=o)===c&&(t=eI,"!="===e.substr(eI,2)?(o="!=",eI+=2):(o=c,0===ej&&peg$fail(S)),o===c&&("notequal"===e.substr(eI,8).toLowerCase()?(o=e.substr(eI,8),eI+=8):(o=c,0===ej&&peg$fail(M))),o!==c&&(eO=t,o="notequal"),(t=o)===c&&(t=eI,60===e.charCodeAt(eI)?(o="<",eI++):(o=c,0===ej&&peg$fail(E)),o===c&&("less"===e.substr(eI,4).toLowerCase()?(o=e.substr(eI,4),eI+=4):(o=c,0===ej&&peg$fail(T))),o!==c&&(eO=t,o="less"),(t=o)===c&&(t=eI,62===e.charCodeAt(eI)?(o=">",eI++):(o=c,0===ej&&peg$fail(V)),o===c&&("greater"===e.substr(eI,7).toLowerCase()?(o=e.substr(eI,7),eI+=7):(o=c,0===ej&&peg$fail(R))),o!==c&&(eO=t,o="greater"),t=o)))))),eL[n]={nextPos:eI,result:t},t)}function peg$parseCompOps(){var e,t,o,n,r,i,s,a,l=34*eI+6,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,(t=peg$parsePlusMinusOps())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parsePlusMinusSigns())!==c&&(s=peg$parse_())!==c&&(a=peg$parsePlusMinusOps())!==c?n=r=[r,i,s,a]:(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parsePlusMinusSigns())!==c&&(s=peg$parse_())!==c&&(a=peg$parsePlusMinusOps())!==c?n=r=[r,i,s,a]:(eI=n,n=c);o!==c?(eO=e,e=t=peg$c0(t,o)):(eI=e,e=c)}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parsePlusMinusSigns(){var t,o,n=34*eI+7,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,43===e.charCodeAt(eI)?(o="+",eI++):(o=c,0===ej&&peg$fail(k)),o!==c&&(eO=t,o="plus"),(t=o)===c&&(t=eI,45===e.charCodeAt(eI)?(o="-",eI++):(o=c,0===ej&&peg$fail(I)),o!==c&&(eO=t,o="minus"),t=o),eL[n]={nextPos:eI,result:t},t)}function peg$parsePlusMinusOps(){var e,t,o,n,r,i,s,a,l=34*eI+8,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,(t=peg$parseMulDivOps())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parseMulDivSigns())!==c&&(s=peg$parse_())!==c&&(a=peg$parseMulDivOps())!==c?n=r=[r,i,s,a]:(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parseMulDivSigns())!==c&&(s=peg$parse_())!==c&&(a=peg$parseMulDivOps())!==c?n=r=[r,i,s,a]:(eI=n,n=c);o!==c?(eO=e,e=t=peg$c0(t,o)):(eI=e,e=c)}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parseMulDivSigns(){var t,o,n=34*eI+9,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,42===e.charCodeAt(eI)?(o="*",eI++):(o=c,0===ej&&peg$fail(O)),o!==c&&(eO=t,o="mul"),(t=o)===c&&(t=eI,47===e.charCodeAt(eI)?(o="/",eI++):(o=c,0===ej&&peg$fail(D)),o!==c&&(eO=t,o="div"),(t=o)===c&&(t=eI,37===e.charCodeAt(eI)?(o="%",eI++):(o=c,0===ej&&peg$fail(A)),o!==c&&(eO=t,o="mod"),t=o)),eL[n]={nextPos:eI,result:t},t)}function peg$parseMulDivOps(){var e,t,o,n,r,i,s,a,l=34*eI+10,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,(t=peg$parseBinaryFuncOp())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parsePowerSigns())!==c&&(s=peg$parse_())!==c&&(a=peg$parseBinaryFuncOp())!==c?n=r=[r,i,s,a]:(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parsePowerSigns())!==c&&(s=peg$parse_())!==c&&(a=peg$parseBinaryFuncOp())!==c?n=r=[r,i,s,a]:(eI=n,n=c);o!==c?(eO=e,e=t=peg$c0(t,o)):(eI=e,e=c)}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parsePowerSigns(){var t,o,n=34*eI+11,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,94===e.charCodeAt(eI)?(o="^",eI++):(o=c,0===ej&&peg$fail(Q)),o===c&&("power"===e.substr(eI,5).toLowerCase()?(o=e.substr(eI,5),eI+=5):(o=c,0===ej&&peg$fail(j))),o!==c&&(eO=t,o="power"),t=o,eL[n]={nextPos:eI,result:t},t)}function peg$parseBinaryFuncOp(){var e,t,o,n,r,i,s,a,l=34*eI+12,u=eL[l];if(u)return eI=u.nextPos,u.result;if(e=eI,(t=peg$parseFactor())!==c){for(o=[],n=eI,(r=peg$parse_())!==c&&(i=peg$parseBinFunctions())!==c&&(s=peg$parse_())!==c?((a=peg$parseFactor())===c&&(a=null),a!==c?n=r=[r,i,s,a]:(eI=n,n=c)):(eI=n,n=c);n!==c;)o.push(n),n=eI,(r=peg$parse_())!==c&&(i=peg$parseBinFunctions())!==c&&(s=peg$parse_())!==c?((a=peg$parseFactor())===c&&(a=null),a!==c?n=r=[r,i,s,a]:(eI=n,n=c)):(eI=n,n=c);o!==c?(eO=e,e=t=peg$c11(t,o)):(eI=e,e=c)}else eI=e,e=c;return eL[l]={nextPos:eI,result:e},e}function peg$parseBinFunctions(){var t,o,n=34*eI+13,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,"*="===e.substr(eI,2)?(o="*=",eI+=2):(o=c,0===ej&&peg$fail(L)),o===c&&("contains"===e.substr(eI,8).toLowerCase()?(o=e.substr(eI,8),eI+=8):(o=c,0===ej&&peg$fail(B)),o===c&&("contain"===e.substr(eI,7).toLowerCase()?(o=e.substr(eI,7),eI+=7):(o=c,0===ej&&peg$fail(q)))),o!==c&&(eO=t,o="contains"),(t=o)===c&&(t=eI,"notcontains"===e.substr(eI,11).toLowerCase()?(o=e.substr(eI,11),eI+=11):(o=c,0===ej&&peg$fail(N)),o===c&&("notcontain"===e.substr(eI,10).toLowerCase()?(o=e.substr(eI,10),eI+=10):(o=c,0===ej&&peg$fail(F))),o!==c&&(eO=t,o="notcontains"),(t=o)===c&&(t=eI,"anyof"===e.substr(eI,5).toLowerCase()?(o=e.substr(eI,5),eI+=5):(o=c,0===ej&&peg$fail(z)),o!==c&&(eO=t,o="anyof"),(t=o)===c&&(t=eI,"allof"===e.substr(eI,5).toLowerCase()?(o=e.substr(eI,5),eI+=5):(o=c,0===ej&&peg$fail(H)),o!==c&&(eO=t,o="allof"),t=o))),eL[n]={nextPos:eI,result:t},t)}function peg$parseFactor(){var t,o,n,r,i,s,a,l,u,p,d,h,m,g,f,y,v,b,x,C,w,P,_,S,M,E,T,V,R,k,I=34*eI+14,O=eL[I];if(O)return eI=O.nextPos,O.result;return(T=eI,40===e.charCodeAt(eI)?(V="(",eI++):(V=c,0===ej&&peg$fail(U)),V!==c&&peg$parse_()!==c&&(R=peg$parseExpression())!==c&&peg$parse_()!==c&&(41===e.charCodeAt(eI)?(k=")",eI++):(k=c,0===ej&&peg$fail(W)),k===c&&(k=null),k!==c))?(eO=T,T=V=R):(eI=T,T=c),T===c&&(T=(l=eL[a=34*eI+15])?(eI=l.nextPos,l.result):((o=eI,(n=peg$parseLettersAndDigits())!==c&&(40===e.charCodeAt(eI)?(r="(",eI++):(r=c,0===ej&&peg$fail(U)),r!==c&&(i=peg$parseSequence())!==c&&(41===e.charCodeAt(eI)?(s=")",eI++):(s=c,0===ej&&peg$fail(W)),s===c&&(s=null),s!==c)))?(eO=o,t=n,o=n=new ok(t,i)):(eI=o,o=c),eL[a]={nextPos:eI,result:o},o))===c&&(T=(C=eL[x=34*eI+16])?(eI=C.nextPos,C.result):((y=eI,33===e.charCodeAt(eI)?(v="!",eI++):(v=c,0===ej&&peg$fail($)),v===c&&("negate"===e.substr(eI,6).toLowerCase()?(v=e.substr(eI,6),eI+=6):(v=c,0===ej&&peg$fail(J))),v!==c&&peg$parse_()!==c&&(b=peg$parseExpression())!==c)?(eO=y,m=b,y=v=new oE(m,"negate")):(eI=y,y=c),y===c&&((y=eI,(v=peg$parseAtom())!==c&&peg$parse_()!==c&&(b=(h=eL[d=34*eI+17])?(eI=h.nextPos,h.result):(u=eI,"empty"===e.substr(eI,5).toLowerCase()?(p=e.substr(eI,5),eI+=5):(p=c,0===ej&&peg$fail(G)),p!==c&&(eO=u,p="empty"),(u=p)===c&&(u=eI,"notempty"===e.substr(eI,8).toLowerCase()?(p=e.substr(eI,8),eI+=8):(p=c,0===ej&&peg$fail(K)),p!==c&&(eO=u,p="notempty"),u=p),eL[d]={nextPos:eI,result:u},u))!==c)?(eO=y,g=v,f=b,y=v=new oE(g,f)):(eI=y,y=c)),eL[x]={nextPos:eI,result:y},y))===c&&(T=peg$parseAtom())===c&&(T=(E=eL[M=34*eI+20])?(eI=E.nextPos,E.result):((w=eI,91===e.charCodeAt(eI)?(P="[",eI++):(P=c,0===ej&&peg$fail(ea)),P!==c&&(_=peg$parseSequence())!==c&&(93===e.charCodeAt(eI)?(S="]",eI++):(S=c,0===ej&&peg$fail(el)),S!==c))?(eO=w,w=P=_):(eI=w,w=c),eL[M]={nextPos:eI,result:w},w)),eL[I]={nextPos:eI,result:T},T}function peg$parseAtom(){var t,o,n,r,i,s,a,l,u,p,d,h,m,g,f,y,v,b,x,C,w,P,_,S,M,E,T,V=34*eI+18,R=eL[V];if(R)return eI=R.nextPos,R.result;if(S=eI,peg$parse_()!==c?(e.substr(eI,9)===Z?(M=Z,eI+=9):(M=c,0===ej&&peg$fail(Y)),M===c&&(e.substr(eI,4)===X?(M=X,eI+=4):(M=c,0===ej&&peg$fail(ee))),M!==c?(eO=S,S=null):(eI=S,S=c)):(eI=S,S=c),S===c){if(S=eI,peg$parse_()!==c){if((M=(b=eL[v=34*eI+19])?(eI=b.nextPos,b.result):(m=eI,(g=(P=eL[w=34*eI+22])?(eI=P.nextPos,P.result):(x=eI,"true"===e.substr(eI,4).toLowerCase()?(C=e.substr(eI,4),eI+=4):(C=c,0===ej&&peg$fail(ec)),C!==c&&(eO=x,C=!0),(x=C)===c&&(x=eI,"false"===e.substr(eI,5).toLowerCase()?(C=e.substr(eI,5),eI+=5):(C=c,0===ej&&peg$fail(ep)),C!==c&&(eO=x,C=!1),x=C),eL[w]={nextPos:eI,result:x},x))!==c&&(eO=m,g=peg$c111(g)),(m=g)===c&&(m=eI,(g=(h=eL[d=34*eI+23])?(eI=h.nextPos,h.result):(l=eI,"0x"===e.substr(eI,2)?(u="0x",eI+=2):(u
5=c,0===ej&&peg$fail(ed)),u!==c&&(p=peg$parseDigits())!==c?(eO=l,l=u=parseInt(text(),16)):(eI=l,l=c),l===c&&((l=eI,eh.test(e.charAt(eI))?(u=e.charAt(eI),eI++):(u=c,0===ej&&peg$fail(em)),u===c&&(u=null),u!==c&&(p=(i=eL[r=34*eI+24])?(eI=i.nextPos,i.result):(t=eI,(o=peg$parseDigits())!==c?(46===e.charCodeAt(eI)?(n=".",eI++):(n=c,0===ej&&peg$fail(eg)),n!==c&&peg$parseDigits()!==c?(eO=t,t=o=parseFloat(text())):(eI=t,t=c)):(eI=t,t=c),t===c&&(t=eI,(o=function(){var t,o,n=34*eI+31,r=eL[n];if(r)return eI=r.nextPos,r.result;if(t=[],eS.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(eM)),o!==c)for(;o!==c;)t.push(o),eS.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(eM));else t=c;return eL[n]={nextPos:eI,result:t},t}())!==c?((n=peg$parseDigits())===c&&(n=null),n!==c?(eO=t,t=o=parseInt(text(),10)):(eI=t,t=c)):(eI=t,t=c),t===c&&(t=eI,48===e.charCodeAt(eI)?(o="0",eI++):(o=c,0===ej&&peg$fail(ef)),o!==c&&(eO=t,o=0),t=o)),eL[r]={nextPos:eI,result:t},t))!==c)?(eO=l,s=u,a=p,l=u=null==s?a:-a):(eI=l,l=c)),eL[d]={nextPos:eI,result:l},l))!==c&&(eO=m,g=peg$c111(g)),(m=g)===c&&(m=eI,(g=peg$parseLettersAndDigits())!==c&&(eO=m,g=peg$c111(g)),(m=g)===c&&(m=eI,"''"===e.substr(eI,2)?(g="''",eI+=2):(g=c,0===ej&&peg$fail(en)),g!==c&&(eO=m,g=peg$c114()),(m=g)===c&&(m=eI,'""'===e.substr(eI,2)?(g='""',eI+=2):(g=c,0===ej&&peg$fail(er)),g!==c&&(eO=m,g=peg$c114()),(m=g)===c&&(m=eI,39===e.charCodeAt(eI)?(g="'",eI++):(g=c,0===ej&&peg$fail(ei)),g!==c&&(f=peg$parseAnyInput())!==c?(39===e.charCodeAt(eI)?(y="'",eI++):(y=c,0===ej&&peg$fail(ei)),y!==c?(eO=m,m=g=peg$c119(f)):(eI=m,m=c)):(eI=m,m=c),m===c&&(m=eI,34===e.charCodeAt(eI)?(g='"',eI++):(g=c,0===ej&&peg$fail(es)),g!==c&&(f=peg$parseAnyInput())!==c?(34===e.charCodeAt(eI)?(y='"',eI++):(y=c,0===ej&&peg$fail(es)),y!==c?(eO=m,m=g=peg$c119(f)):(eI=m,m=c)):(eI=m,m=c))))))),eL[v]={nextPos:eI,result:m},m))!==c)eO=S,_=M,S=new oV(_);else eI=S,S=c}else eI=S,S=c;S===c&&((S=eI,peg$parse_()!==c&&(123===e.charCodeAt(eI)?(M="{",eI++):(M=c,0===ej&&peg$fail(et)),M!==c&&(E=function(){var e,t,o,n=34*eI+25,r=eL[n];if(r)return eI=r.nextPos,r.result;if(e=eI,t=[],(o=peg$parseValueCharacters())!==c)for(;o!==c;)t.push(o),o=peg$parseValueCharacters();else t=c;return t!==c&&(eO=e,t=peg$c149(t)),e=t,eL[n]={nextPos:eI,result:e},e}())!==c&&(125===e.charCodeAt(eI)?(T="}",eI++):(T=c,0===ej&&peg$fail(eo)),T!==c)))?(eO=S,S=new oR(E)):(eI=S,S=c))}return eL[V]={nextPos:eI,result:S},S}function peg$parseSequence(){var t,o,n,r,i,s,a,l,u=34*eI+21,p=eL[u];if(p)return eI=p.nextPos,p.result;if(t=eI,(o=peg$parseExpression())===c&&(o=null),o!==c){for(n=[],r=eI,(i=peg$parse_())!==c?(44===e.charCodeAt(eI)?(s=",",eI++):(s=c,0===ej&&peg$fail(eu)),s!==c&&(a=peg$parse_())!==c&&(l=peg$parseExpression())!==c?r=i=[i,s,a,l]:(eI=r,r=c)):(eI=r,r=c);r!==c;)n.push(r),r=eI,(i=peg$parse_())!==c?(44===e.charCodeAt(eI)?(s=",",eI++):(s=c,0===ej&&peg$fail(eu)),s!==c&&(a=peg$parse_())!==c&&(l=peg$parseExpression())!==c?r=i=[i,s,a,l]:(eI=r,r=c)):(eI=r,r=c);n!==c?(eO=t,t=o=peg$c129(o,n)):(eI=t,t=c)}else eI=t,t=c;return eL[u]={nextPos:eI,result:t},t}function peg$parseAnyInput(){var e,t,o,n=34*eI+26,r=eL[n];if(r)return eI=r.nextPos,r.result;if(e=eI,t=[],(o=peg$parseAnyCharacters())!==c)for(;o!==c;)t.push(o),o=peg$parseAnyCharacters();else t=c;return t!==c&&(eO=e,t=peg$c149(t)),e=t,eL[n]={nextPos:eI,result:e},e}function peg$parseAnyCharacters(){var t,o,n=34*eI+27,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,"\\'"===e.substr(eI,2)?(o="\\'",eI+=2):(o=c,0===ej&&peg$fail(ey)),o!==c&&(eO=t,o="'"),(t=o)===c&&(t=eI,'\\"'===e.substr(eI,2)?(o='\\"',eI+=2):(o=c,0===ej&&peg$fail(ev)),o!==c&&(eO=t,o='"'),(t=o)===c&&(t=eI,eb.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(ex)),o!==c&&(eO=t,o=peg$c158()),t=o)),eL[n]={nextPos:eI,result:t},t)}function peg$parseValueCharacters(){var t,o,n=34*eI+28,r=eL[n];return r?(eI=r.nextPos,r.result):(t=eI,eC.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(ew)),o!==c&&(eO=t,o=peg$c158()),t=o,eL[n]={nextPos:eI,result:t},t)}function peg$parseLettersAndDigits(){var e,t,o,n,r,i,s=34*eI+29,a=eL[s];if(a)return eI=a.nextPos,a.result;if(e=eI,peg$parseLetters()!==c){if(t=[],o=eI,(n=peg$parseDigits())!==c){for(r=[],i=peg$parseLetters();i!==c;)r.push(i),i=peg$parseLetters();r!==c?o=n=[n,r]:(eI=o,o=c)}else eI=o,o=c;for(;o!==c;)if(t.push(o),o=eI,(n=peg$parseDigits())!==c){for(r=[],i=peg$parseLetters();i!==c;)r.push(i),i=peg$parseLetters();r!==c?o=n=[n,r]:(eI=o,o=c)}else eI=o,o=c;t!==c?(eO=e,e=peg$c158()):(eI=e,e=c)}else eI=e,e=c;return eL[s]={nextPos:eI,result:e},e}function peg$parseDigits(){var t,o,n=34*eI+30,r=eL[n];if(r)return eI=r.nextPos,r.result;if(t=[],eP.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(e_)),o!==c)for(;o!==c;)t.push(o),eP.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(e_));else t=c;return eL[n]={nextPos:eI,result:t},t}function peg$parseLetters(){var t,o,n=34*eI+32,r=eL[n];if(r)return eI=r.nextPos,r.result;if(t=[],eE.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(eT)),o!==c)for(;o!==c;)t.push(o),eE.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(eT));else t=c;return eL[n]={nextPos:eI,result:t},t}function peg$parse_(){var t,o,n=34*eI+33,r=eL[n];if(r)return eI=r.nextPos,r.result;for(ej++,t=[],eR.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(ek));o!==c;)t.push(o),eR.test(e.charAt(eI))?(o=e.charAt(eI),eI++):(o=c,0===ej&&peg$fail(ek));return ej--,t===c&&(o=c,0===ej&&peg$fail(eV)),eL[n]={nextPos:eI,result:t},t}function buildBinaryOperand(e,t,o){return void 0===o&&(o=!1),t.reduce(function(e,t){return new oM(t[1],e,t[3],o)},e)}if((u=d())!==c&&eI===e.length)return u;throw u!==c&&eI<e.length&&peg$fail({type:"end"}),s=eQ,a=eA<e.length?e.charAt(eA):null,o=eA,n=eA<e.length?eA+1:eA,r=peg$computePosDetails(o),i=peg$computePosDetails(n),l={start:{offset:o,line:r.line,column:r.column},end:{offset:n,line:i.line,column:i.column}},new oD(oD.buildMessage(s,a),s,a,l)}
5,ConditionsParserError=function(e,t){this.at=e,this.code=t},oA=function(){function ConditionsParser(){}return ConditionsParser.prototype.patchExpression=function(e){return e.replace(/=>/g,">=").replace(/=</g,"<=").replace(/<>/g,"!=").replace(/equals/g,"equal ").replace(/notequals/g,"notequal ")},ConditionsParser.prototype.createCondition=function(e){return this.parseExpression(e)},ConditionsParser.prototype.parseExpression=function(e){try{return parse(this.patchExpression(e))}catch(e){e instanceof oD&&(this.conditionError=new ConditionsParserError(e.location.start.offset,e.message))}},Object.defineProperty(ConditionsParser.prototype,"error",{get:function(){return this.conditionError},enumerable:!1,configurable:!0}),ConditionsParser}(),oQ=(s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),oj=function(){function ExpressionExecutorRunner(e,t,o,n,r){this.operand=e,this.id=t,this.onComplete=o,this.processValue=new ox,this.processValue.values=n,this.processValue.properties=r}return ExpressionExecutorRunner.prototype.run=function(e){var t=this;if(!e)return this.runValues();this.processValue.values=oe.createCopy(this.processValue.values),this.processValue.onCompleteAsyncFunc=function(e){var o=t.getAsyncItemByOperand(e,t.asyncFuncList);o&&t.doAsyncFunctionReady(o)},this.asyncFuncList=[],this.operand.addToAsyncList(this.asyncFuncList);for(var o=0;o<this.asyncFuncList.length;o++)this.runAsyncItem(this.asyncFuncList[o]);return!1},ExpressionExecutorRunner.prototype.getAsyncItemByOperand=function(e,t){if(!Array.isArray(t))return null;for(var o=0;o<t.length;o++){if(t[o].operand===e)return t[o];var n=this.getAsyncItemByOperand(e,t[o].children);if(n)return n}return null},ExpressionExecutorRunner.prototype.runAsyncItem=function(e){var t=this;e.children?e.children.forEach(function(e){return t.runAsyncItem(e)}):this.runAsyncItemCore(e)},ExpressionExecutorRunner.prototype.runAsyncItemCore=function(e){e.operand?e.operand.evaluate(this.processValue):this.doAsyncFunctionReady(e)},ExpressionExecutorRunner.prototype.doAsyncFunctionReady=function(e){if(e.parent&&this.isAsyncChildrenReady(e)){this.runAsyncItemCore(e.parent);return}for(var t=0;t<this.asyncFuncList.length;t++)if(!this.isAsyncFuncReady(this.asyncFuncList[t]))return;this.runValues()},ExpressionExecutorRunner.prototype.isAsyncFuncReady=function(e){return(!e.operand||!!e.operand.isReady(this.processValue))&&this.isAsyncChildrenReady(e)},ExpressionExecutorRunner.prototype.isAsyncChildrenReady=function(e){if(e.children){for(var t=0;t<e.children.length;t++)if(!this.isAsyncFuncReady(e.children[t]))return!1}return!0},ExpressionExecutorRunner.prototype.runValues=function(){var e=this.operand.evaluate(this.processValue);return this.onComplete&&this.onComplete(e,this.id),e},ExpressionExecutorRunner}(),oL=function(){function ExpressionExecutor(e){this.parser=new oA,this.isAsyncValue=!1,this.hasFunctionValue=!1,this.setExpression(e)}return Object.defineProperty(ExpressionExecutor.prototype,"expression",{get:function(){return this.expressionValue},enumerable:!1,configurable:!0}),ExpressionExecutor.prototype.setExpression=function(e){this.expression!==e&&(this.expressionValue=e,this.operand=this.parser.parseExpression(e),this.hasFunctionValue=!!this.canRun()&&this.operand.hasFunction(),this.isAsyncValue=!!this.hasFunction()&&this.operand.hasAsyncFunction())},ExpressionExecutor.prototype.getVariables=function(){if(!this.operand)return[];var e=[];return this.operand.setVariables(e),e},ExpressionExecutor.prototype.hasFunction=function(){return this.hasFunctionValue},Object.defineProperty(ExpressionExecutor.prototype,"isAsync",{get:function(){return this.isAsyncValue},enumerable:!1,configurable:!0}),ExpressionExecutor.prototype.canRun=function(){return!!this.operand},ExpressionExecutor.prototype.run=function(e,t,o){return(void 0===t&&(t=null),this.operand)?new oj(this.operand,o,this.onComplete,e,t).run(this.isAsync):(this.expression&&oC.warn("Invalid expression: "+this.expression),null)},ExpressionExecutor.createExpressionExecutor=function(e){return new ExpressionExecutor(e)},ExpressionExecutor}(),oB=function(){function ExpressionRunnerBase(e){this.expression=e}return Object.defineProperty(ExpressionRunnerBase.prototype,"expression",{get:function(){return this.expressionExecutor?this.expressionExecutor.expression:""},set:function(e){var t=this;this.expressionExecutor&&e===this.expression||(this.expressionExecutor=oL.createExpressionExecutor(e),this.expressionExecutor.onComplete=function(e,o){t.doOnComplete(e,o)},this.variables=void 0,this.containsFunc=void 0)}
5,enumerable:!1,configurable:!0}),ExpressionRunnerBase.prototype.getVariables=function(){return void 0===this.variables&&(this.variables=this.expressionExecutor.getVariables()),this.variables},ExpressionRunnerBase.prototype.hasFunction=function(){return void 0===this.containsFunc&&(this.containsFunc=this.expressionExecutor.hasFunction()),this.containsFunc},Object.defineProperty(ExpressionRunnerBase.prototype,"isAsync",{get:function(){return this.expressionExecutor.isAsync},enumerable:!1,configurable:!0}),ExpressionRunnerBase.prototype.canRun=function(){return this.expressionExecutor.canRun()},ExpressionRunnerBase.prototype.runCore=function(e,t){void 0===t&&(t=null);var o=ExpressionRunnerBase.IdRunnerCounter++;return this.onBeforeAsyncRun&&this.isAsync&&this.onBeforeAsyncRun(o),this.expressionExecutor.run(e,t,o)},ExpressionRunnerBase.prototype.doOnComplete=function(e,t){this.onAfterAsyncRun&&this.isAsync&&this.onAfterAsyncRun(t)},ExpressionRunnerBase.IdRunnerCounter=1,ExpressionRunnerBase}(),oq=function(e){function ConditionRunner(){return null!==e&&e.apply(this,arguments)||this}return oQ(ConditionRunner,e),ConditionRunner.prototype.run=function(e,t){return void 0===t&&(t=null),!0==this.runCore(e,t)},ConditionRunner.prototype.doOnComplete=function(t,o){this.onRunComplete&&this.onRunComplete(!0==t),e.prototype.doOnComplete.call(this,t,o)},ConditionRunner}(oB),oN=function(e){function ExpressionRunner(){return null!==e&&e.apply(this,arguments)||this}return oQ(ExpressionRunner,e),ExpressionRunner.prototype.run=function(e,t){return void 0===t&&(t=null),this.runCore(e,t)},ExpressionRunner.prototype.doOnComplete=function(t,o){this.onRunComplete&&this.onRunComplete(t),e.prototype.doOnComplete.call(this,t,o)},ExpressionRunner}(oB),oF=(a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),base_spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e},oz=function(){function Bindings(e){this.obj=e,this.properties=null,this.values=null}return Bindings.prototype.getType=function(){return"bindings"},Bindings.prototype.getNames=function(){var e=[];this.fillProperties();for(var t=0;t<this.properties.length;t++)this.properties[t].isVisible("",this.obj)&&e.push(this.properties[t].name);return e},Bindings.prototype.getProperties=function(){var e=[];this.fillProperties();for(var t=0;t<this.properties.length;t++)e.push(this.properties[t]);return e},Bindings.prototype.setBinding=function(e,t){this.values||(this.values={});var o=this.getJson();o!==t&&(t?this.values[e]=t:(delete this.values[e],0==Object.keys(this.values).length&&(this.values=null)),this.onChangedJSON(o))},Bindings.prototype.clearBinding=function(e){this.setBinding(e,"")},Bindings.prototype.isEmpty=function(){if(!this.values)return!0;for(var e in this.values)return!1;return!0},Bindings.prototype.getValueNameByPropertyName=function(e){if(this.values)return this.values[e]},Bindings.prototype.getPropertiesByValueName=function(e){if(!this.values)return[];var t=[];for(var o in this.values)this.values[o]==e&&t.push(o);return t},Bindings.prototype.getJson=function(){var e=this;if(!this.isEmpty()){var t={};return this.getNames().forEach(function(o){void 0!==e.values[o]&&(t[o]=e.values[o])}),t}},Bindings.prototype.setJson=function(e,t){var o=this,n=this.getJson();this.values=null,e&&this.getNames().forEach(function(t){void 0!==e[t]&&(o.values||(o.values={}),o.values[t]=e[t])}),t||oe.isTwoValueEquals(n,this.values)||this.onChangedJSON(n)},Bindings.prototype.fillProperties=function(){if(null===this.properties){this.properties=[];for(var e=ov.getPropertiesByObj(this.obj),t=0;t<e.length;t++)e[t].isBindable&&this.properties.push(e[t])}},Bindings.prototype.onChangedJSON=function(e){this.obj&&this.obj.onBindingChanged(e,this.getJson())},Bindings}
5(),oH=function(){function Dependencies(e,t,o){this.currentDependency=e,this.target=t,this.property=o,this.dependencies=[],this.id=""+ ++Dependencies.DependenciesCount}return Dependencies.prototype.addDependency=function(e,t){(this.target!==e||this.property!==t)&&(this.dependencies.some(function(o){return o.obj===e&&o.prop===t})||(this.dependencies.push({obj:e,prop:t,id:this.id}),e.registerPropertyChangedHandlers([t],this.currentDependency,this.id)))},Dependencies.prototype.dispose=function(){this.dependencies.forEach(function(e){e.obj.unregisterPropertyChangedHandlers([e.prop],e.id)})},Dependencies.DependenciesCount=0,Dependencies}(),oU=function(){function ComputedUpdater(e){this._updater=e,this.dependencies=void 0,this.type=ComputedUpdater.ComputedUpdaterType}return Object.defineProperty(ComputedUpdater.prototype,"updater",{get:function(){return this._updater},enumerable:!1,configurable:!0}),ComputedUpdater.prototype.setDependencies=function(e){this.clearDependencies(),this.dependencies=e},ComputedUpdater.prototype.getDependencies=function(){return this.dependencies},ComputedUpdater.prototype.clearDependencies=function(){this.dependencies&&(this.dependencies.dispose(),this.dependencies=void 0)},ComputedUpdater.prototype.dispose=function(){this.clearDependencies(),this._updater=void 0},ComputedUpdater.ComputedUpdaterType="__dependency_computed",ComputedUpdater}(),oW=function(){function Base(){this.dependencies={},this.propertyHash=Base.createPropertiesHash(),this.eventList=[],this.isLoadingFromJsonValue=!1,this.loadingOwner=null,this.onPropertyChanged=this.addEvent(),this.onItemValuePropertyChanged=this.addEvent(),this.isCreating=!0,this.animationAllowedLock=0,this.supportOnElementRerenderedEvent=!0,this.onElementRerenderedEventEnabled=!1,this._onElementRerendered=new oJ,this.bindingsValue=new oz(this),os.createProperties(this),this.onBaseCreating(),this.isCreating=!1}return Base.finishCollectDependencies=function(){var e=Base.currentDependencis;return Base.currentDependencis=void 0,e},Base.startCollectDependencies=function(e,t,o){if(void 0!==Base.currentDependencis)throw Error("Attempt to collect nested dependencies. Nested dependencies are not supported.");Base.currentDependencis=new oH(e,t,o)},Base.collectDependency=function(e,t){void 0!==Base.currentDependencis&&Base.currentDependencis.addDependency(e,t)},Object.defineProperty(Base,"commentSuffix",{get:function(){return nC.commentSuffix},set:function(e){nC.commentSuffix=e},enumerable:!1,configurable:!0}),Object.defineProperty(Base,"commentPrefix",{get:function(){return Base.commentSuffix},set:function(e){Base.commentSuffix=e},enumerable:!1,configurable:!0}),Base.prototype.isValueEmpty=function(e,t){return void 0===t&&(t=!0),t&&(e=this.trimValue(e)),oe.isValueEmpty(e)},Base.prototype.equals=function(e){return!!e&&!this.isDisposed&&!e.isDisposed&&this.getType()==e.getType()&&this.equalsCore(e)},Base.prototype.equalsCore=function(e){return this.name===e.name&&oe.isTwoValueEquals(this.toJSON(),e.toJSON(),!1,!0,!1)},Base.prototype.trimValue=function(e){return e&&("string"==typeof e||e instanceof String)?e.trim():e},Base.createPropertiesHash=function(){return{}},Base.prototype.dispose=function(){for(var e=this,t=0;t<this.eventList.length;t++)this.eventList[t].clear();this.onPropertyValueChangedCallback=void 0,this.isDisposedValue=!0,Object.keys(this.dependencies).forEach(function(t){return e.dependencies[t].dispose()}),Object.keys(this.propertyHash).forEach(function(t){var o=e.getPropertyValueCore(e.propertyHash,t);o&&o.type==oU.ComputedUpdaterType&&o.dispose()})},Object.defineProperty(Base.prototype,"isDisposed",{get:function(){return!0===this.isDisposedValue},enumerable:!1,configurable:!0}),Base.prototype.addEvent=function(){var e=new oJ;return this.eventList.push(e),e},Base.prototype.onBaseCreating=function(){},Base.prototype.getType=function(){return"base"},Base.prototype.isDescendantOf=function(e){return ov.isDescendantOf(this.getType(),e)},Base.prototype.getSurvey=function(e){return void 0===e&&(e=!1),null},Object.defineProperty(Base.prototype,"isDesignMode",{get:function(){var e=this.getSurvey();return!!e&&e.isDesignMode}
5,enumerable:!1,configurable:!0}),Object.defineProperty(Base.prototype,"isDesignModeV2",{get:function(){return nC.supportCreatorV2&&this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(Base.prototype,"inSurvey",{get:function(){return!!this.getSurvey(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(Base.prototype,"bindings",{get:function(){return this.bindingsValue},enumerable:!1,configurable:!0}),Base.prototype.checkBindings=function(e,t){},Base.prototype.updateBindings=function(e,t){var o=this.bindings.getValueNameByPropertyName(e);o&&this.updateBindingValue(o,t)},Base.prototype.updateBindingValue=function(e,t){},Base.prototype.getTemplate=function(){return this.getType()},Object.defineProperty(Base.prototype,"isLoadingFromJson",{get:function(){return this.isLoadingFromJsonValue||this.getIsLoadingFromJson()},enumerable:!1,configurable:!0}),Base.prototype.getIsLoadingFromJson=function(){return!!this.loadingOwner&&!!this.loadingOwner.isLoadingFromJson||this.isLoadingFromJsonValue},Base.prototype.startLoadingFromJson=function(e){this.isLoadingFromJsonValue=!0,this.jsonObj=e},Base.prototype.endLoadingFromJson=function(){this.isLoadingFromJsonValue=!1},Base.prototype.toJSON=function(e){return new oy().toJsonObject(this,e)},Base.prototype.fromJSON=function(e,t){new oy().toObject(e,this,t),this.onSurveyLoad()},Base.prototype.onSurveyLoad=function(){},Base.prototype.clone=function(){var e=ov.createClass(this.getType());return e.fromJSON(this.toJSON()),e},Base.prototype.getPropertyByName=function(e){var t=this.getType();return this.classMetaData&&this.classMetaData.name===t||(this.classMetaData=ov.findClass(t)),this.classMetaData?this.classMetaData.findProperty(e):null},Base.prototype.isPropertyVisible=function(e){var t=this.getPropertyByName(e);return!!t&&t.isVisible("",this)},Base.createProgressInfo=function(){return{questionCount:0,answeredQuestionCount:0,requiredQuestionCount:0,requiredAnsweredQuestionCount:0}},Base.prototype.getProgressInfo=function(){return Base.createProgressInfo()},Base.prototype.localeChanged=function(){},Base.prototype.locStrsChanged=function(){if(this.arraysInfo)for(var e in this.arraysInfo){var t=this.arraysInfo[e];if(t&&t.isItemValues){var o=this.getPropertyValue(e);o&&Base.itemValueLocStrChanged&&Base.itemValueLocStrChanged(o)}}if(this.localizableStrings)for(var e in this.localizableStrings){var t=this.getLocalizableString(e);t&&t.strChanged()}},Base.prototype.getPropertyValue=function(e,t,o){var n=this.getPropertyValueWithoutDefault(e);if(this.isValueUndefined(n)){var r=this.localizableStrings?this.localizableStrings[e]:void 0;if(r)return r.text;if(!this.isValueUndefined(t))return t;if(o){var i=o();if(void 0!==i){if(!Array.isArray(i))return this.setPropertyValueDirectly(e,i),i;var s=this.createNewArray(e);return s.splice.apply(s,base_spreadArray([0,0],i)),s}}var a=this.getDefaultPropertyValue(e);if(void 0!==a)return a}return n},Base.prototype.isValueUndefined=function(e){return oe.isValueUndefined(e)},Base.prototype.getDefaultPropertyValue=function(e){var t=this.getPropertyByName(e);if(t&&(!t.isCustom||!this.isCreating)){if(t.defaultValueFunc)return t.defaultValueFunc(this);var o=t.getDefaultValue(this);if(!this.isValueUndefined(o)&&!Array.isArray(o))return o;var n=this.localizableStrings?this.localizableStrings[e]:void 0;if(n&&n.localizationName)return this.getLocalizationString(n.localizationName);if("boolean"==t.type||"switch"==t.type)return!1;if(t.isCustom&&t.onGetValue)return t.onGetValue(this)}},Base.prototype.hasDefaultPropertyValue=function(e){return void 0!==this.getDefaultPropertyValue(e)},Base.prototype.resetPropertyValue=function(e){var t=this.localizableStrings?this.localizableStrings[e]:void 0;t?(this.setLocalizableStringText(e,void 0),t.clear()):this.setPropertyValue(e,void 0)},Base.prototype.getPropertyValueWithoutDefault=function(e){return this.getPropertyValueCore(this.propertyHash,e)},Base.prototype.getPropertyValueCore=function(e,t){return(this.isLoadingFromJson||Base.collectDependency(this,t),this.getPropertyValueCoreHandler)?this.getPropertyValueCoreHandler(e,t):e[t]},Base.prototype.geValueFromHash=function(){return this.propertyHash.value},Base.prototype.setPropertyValueCore=function(e,t,o){this.setPropertyValueCoreHandler?this.isDisposedValue?oC.disposedObjectChangedProperty(t,this.getType()):this.setPropertyValueCoreHandler(e,t,o):e[t]=o},Object.defineProperty(Base.prototype,"isEditingSurveyElement",{get:function(){var e=this.getSurvey();return!!e&&e.isEditingSurveyElement}
5,enumerable:!1,configurable:!0}),Base.prototype.iteratePropertiesHash=function(e){var t=this,o=[];for(var n in this.propertyHash)"value"===n&&this.isEditingSurveyElement&&Array.isArray(this.value)||o.push(n);o.forEach(function(o){return e(t.propertyHash,o)})},Base.prototype.setPropertyValue=function(e,t){if(!this.isDisposedValue){if(!this.isLoadingFromJson){var o=this.getPropertyByName(e);o&&(t=o.settingValue(this,t))}var n=this.getPropertyValue(e);n&&Array.isArray(n)&&this.arraysInfo&&(!t||Array.isArray(t))?this.isTwoValueEquals(n,t)||this.setArrayPropertyDirectly(e,t):t===n||(this.setPropertyValueDirectly(e,t),this.isTwoValueEquals(n,t)||this.propertyValueChanged(e,n,t))}},Base.prototype.setArrayPropertyDirectly=function(e,t,o){void 0===o&&(o=!0);var n=this.arraysInfo[e];this.setArray(e,this.getPropertyValue(e),t,!!n&&n.isItemValues,n?o&&n.onPush:null)},Base.prototype.setPropertyValueDirectly=function(e,t){this.setPropertyValueCore(this.propertyHash,e,t)},Base.prototype.clearPropertyValue=function(e){this.setPropertyValueCore(this.propertyHash,e,null),delete this.propertyHash[e]},Base.prototype.onPropertyValueChangedCallback=function(e,t,o,n,r){},Base.prototype.itemValuePropertyChanged=function(e,t,o,n){this.onItemValuePropertyChanged.fire(this,{obj:e,name:t,oldValue:o,newValue:n,propertyName:e.ownerPropertyName})},Base.prototype.onPropertyValueChanged=function(e,t,o){},Base.prototype.propertyValueChanged=function(e,t,o,n,r){if(!this.isLoadingFromJson&&(this.updateBindings(e,o),this.onPropertyValueChanged(e,t,o),this.onPropertyChanged.fire(this,{name:e,oldValue:t,newValue:o,arrayChanges:n,target:r}),this.doPropertyValueChangedCallback(e,t,o,n,this),this.checkConditionPropertyChanged(e),this.onPropChangeFunctions))for(var i=0;i<this.onPropChangeFunctions.length;i++)this.onPropChangeFunctions[i].name==e&&this.onPropChangeFunctions[i].func(o,n)},Base.prototype.onBindingChanged=function(e,t){this.isLoadingFromJson||this.doPropertyValueChangedCallback("bindings",e,t)},Object.defineProperty(Base.prototype,"isInternal",{get:function(){return!1},enumerable:!1,configurable:!0}),Base.prototype.doPropertyValueChangedCallback=function(e,t,o,n,r){var fireCallback=function(i){i&&i.onPropertyValueChangedCallback&&i.onPropertyValueChangedCallback(e,t,o,r,n)};if(this.isInternal){fireCallback(this);return}r||(r=this);var i=this.getSurvey();i||(i=this),fireCallback(i),i!==this&&fireCallback(this)},Base.prototype.addExpressionProperty=function(e,t,o){this.expressionInfo||(this.expressionInfo={}),this.expressionInfo[e]={onExecute:t,canRun:o}},Base.prototype.getDataFilteredValues=function(){return{}},Base.prototype.getDataFilteredProperties=function(){return{}},Base.prototype.runConditionCore=function(e,t){if(this.expressionInfo)for(var o in this.expressionInfo)this.runConditionItemCore(o,e,t)},Base.prototype.canRunConditions=function(){return!this.isDesignMode},Base.prototype.checkConditionPropertyChanged=function(e){this.expressionInfo&&this.expressionInfo[e]&&this.canRunConditions()&&this.runConditionItemCore(e,this.getDataFilteredValues(),this.getDataFilteredProperties())},Base.prototype.runConditionItemCore=function(e,t,o){var n=this,r=this.expressionInfo[e],i=this.getPropertyValue(e);i&&(!r.canRun||r.canRun(this))&&(r.runner||(r.runner=this.createExpressionRunner(i),r.runner.onRunComplete=function(e){r.onExecute(n,e)}),r.runner.expression=i,r.runner.run(t,o))},Base.prototype.doBeforeAsynRun=function(e){this.asynExpressionHash||(this.asynExpressionHash={});var t=!this.isAsyncExpressionRunning;this.asynExpressionHash[e]=!0,t&&this.onAsyncRunningChanged()},Base.prototype.doAfterAsynRun=function(e){this.asynExpressionHash&&(delete this.asynExpressionHash[e],this.isAsyncExpressionRunning||this.onAsyncRunningChanged())},Base.prototype.onAsyncRunningChanged=function(){},Object.defineProperty(Base.prototype,"isAsyncExpressionRunning",{get:function(){return!!this.asynExpressionHash&&Object.keys(this.asynExpressionHash).length>0},enumerable:!1,configurable:!0}),Base.prototype.createExpressionRunner=function(e){var t=this,o=new oN(e);return o.onBeforeAsyncRun=function(e){t.doBeforeAsynRun(e)},o.onAfterAsyncRun=function(e){t.doAfterAsynRun(e)},o}
vendor: 5,947 bytes, line 5
5,Base.prototype.registerPropertyChangedHandlers=function(e,t,o){void 0===o&&(o=null);for(var n=0;n<e.length;n++)this.registerFunctionOnPropertyValueChanged(e[n],t,o)},Base.prototype.unregisterPropertyChangedHandlers=function(e,t){void 0===t&&(t=null);for(var o=0;o<e.length;o++)this.unRegisterFunctionOnPropertyValueChanged(e[o],t)},Base.prototype.registerFunctionOnPropertyValueChanged=function(e,t,o){if(void 0===o&&(o=null),this.onPropChangeFunctions||(this.onPropChangeFunctions=[]),o)for(var n=0;n<this.onPropChangeFunctions.length;n++){var r=this.onPropChangeFunctions[n];if(r.name==e&&r.key==o){r.func=t;return}}this.onPropChangeFunctions.push({name:e,func:t,key:o})},Base.prototype.registerFunctionOnPropertiesValueChanged=function(e,t,o){void 0===o&&(o=null),this.registerPropertyChangedHandlers(e,t,o)},Base.prototype.unRegisterFunctionOnPropertyValueChanged=function(e,t){if(void 0===t&&(t=null),this.onPropChangeFunctions)for(var o=0;o<this.onPropChangeFunctions.length;o++){var n=this.onPropChangeFunctions[o];if(n.name==e&&n.key==t){this.onPropChangeFunctions.splice(o,1);return}}},Base.prototype.unRegisterFunctionOnPropertiesValueChanged=function(e,t){void 0===t&&(t=null),this.unregisterPropertyChangedHandlers(e,t)},Base.prototype.createCustomLocalizableObj=function(e){return this.getLocalizableString(e)||this.createLocalizableString(e,this,!1,!0)},Base.prototype.getLocale=function(){var e=this.getSurvey();return e?e.getLocale():""},Base.prototype.getLocalizationString=function(e){return getLocaleString(e,this.getLocale())},Base.prototype.getLocalizationFormatString=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=this.getLocalizationString(e);return n&&n.format?n.format.apply(n,t):""},Base.prototype.createLocalizableString=function(e,t,o,n){var r=this;void 0===o&&(o=!1),void 0===n&&(n=!1);var i=void 0;n&&(i=!0===n?e:n);var s=new nf(t,o,e,i);s.onStrChanged=function(t,o){r.propertyValueChanged(e,t,o)},this.localizableStrings||(this.localizableStrings={}),this.localizableStrings[e]=s;var a=this.getPropertyByName(e);return s.disableLocalization=a&&!1===a.isLocalizable,s},Base.prototype.getLocalizableString=function(e){return this.localizableStrings?this.localizableStrings[e]:null},Base.prototype.getLocalizableStringText=function(e,t){void 0===t&&(t=""),Base.collectDependency(this,e);var o=this.getLocalizableString(e);return o?o.text||t:""},Base.prototype.setLocalizableStringText=function(e,t){var o=this.getLocalizableString(e);o&&o.text!=t&&(o.text=t)},Base.prototype.addUsedLocales=function(e){if(this.localizableStrings)for(var t in this.localizableStrings){var o=this.getLocalizableString(t);o&&this.AddLocStringToUsedLocales(o,e)}if(this.arraysInfo)for(var t in this.arraysInfo){var n=this.getPropertyByName(t);if(n&&n.isSerializable){var r=this.getPropertyValue(t);if(r&&r.length)for(var i=0;i<r.length;i++){var o=r[i];o&&o.addUsedLocales&&o.addUsedLocales(e)}}}},Base.prototype.searchText=function(e,t){var o=[];this.getSearchableLocalizedStrings(o);for(var n=0;n<o.length;n++)o[n].setFindText(e)&&t.push({element:this,str:o[n]})},Base.prototype.getSearchableLocalizedStrings=function(e){if(this.localizableStrings){var t=[];this.getSearchableLocKeys(t);for(var o=0;o<t.length;o++){var n=this.getLocalizableString(t[o]);n&&e.push(n)}}if(this.arraysInfo){var r=[];this.getSearchableItemValueKeys(r);for(var o=0;o<r.length;o++){var i=this.getPropertyValue(r[o]);if(i)for(var s=0;s<i.length;s++)e.push(i[s].locText)}}},Base.prototype.getSearchableLocKeys=function(e){},Base.prototype.getSearchableItemValueKeys=function(e){},Base.prototype.AddLocStringToUsedLocales=function(e,t){for(var o=e.getLocales(),n=0;n<o.length;n++)0>t.indexOf(o[n])&&t.push(o[n])},Base.prototype.createItemValues=function(e){var t=this,o=this.createNewArray(e,function(o){if(o.locOwner=t,o.ownerPropertyName=e,"function"==typeof o.getSurvey){var n=o.getSurvey();n&&"function"==typeof n.makeReactive&&n.makeReactive(o)}});return this.arraysInfo[e].isItemValues=!0,o},Base.prototype.notifyArrayChanged=function(e,t){e.onArrayChanged&&e.onArrayChanged(t)},Base.prototype.createNewArrayCore=function(e){var t=null;return this.createArrayCoreHandler&&(t=this.createArrayCoreHandler(this.propertyHash,e)),t||(t=[],this.setPropertyValueCore(this.propertyHash,e,t)),t},Base.prototype.ensureArray=function(e,t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),!this.arraysInfo||!this.arraysInfo[e])return this.createNewArray(e,t,o)},Base.prototype.createNewArray=function(e,t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=this.createNewArrayCore(e);this.arraysInfo||(this.arraysInfo={}),this.arraysInfo[e]={onPush:t,isItemValues:!1};var r=this;return n.push=function(o){var i=Object.getPrototypeOf(n).push.call(n,o);if(!r.isDisposedValue){t&&t(o,n.length-1);var s=new ArrayChanges(n.length-1,0,[o],[]);r.propertyValueChanged(e,n,n,s),r.notifyArrayChanged(n,s)}return i},n.shift=function(){var t=Object.getPrototypeOf(n).shift.call(n);if(!r.isDisposedValue&&t){o&&o(t);var i=new ArrayChanges(n.length-1,1,[],[]);r.propertyValueChanged(e,n,n,i),r.notifyArrayChanged(n,i)}return t},n.unshift=function(o){var i=Object.getPrototypeOf(n).unshift.call(n,o);if(!r.isDisposedValue){t&&t(o,n.length-1);var s=new ArrayChanges(0,0,[o],[]);r.propertyValueChanged(e,n,n,s),r.notifyArrayChanged(n,s)}return i},n.pop=function(){var t=Object.getPrototypeOf(n).pop.call(n);if(!r.isDisposedValue){o&&o(t);var i=new ArrayChanges(n.length-1,1,[],[]);r.propertyValueChanged(e,n,n,i),r.notifyArrayChanged(n,i)}return t},n.splice=function(i,s){for(var a,l=[],u=2;u<arguments.length;u++)l[u-2]=arguments[u];i||(i=0),s||(s=0);var c=(a=Object.getPrototypeOf(n).splice).call.apply(a,base_spreadArray([n,i,s],l));if(l||(l=[]),!r.isDisposedValue){if(o&&c)for(var p=0;p<c.length;p++)o(c[p]);if(t)for(var p=0;p<l.length;p++)t(l[p],i+p);var d=new ArrayChanges(i,s,l,c);r.propertyValueChanged(e,n,n,d),r.notifyArrayChanged(n,d)}return c},n}
5,Base.prototype.getItemValueType=function(){},Base.prototype.setArray=function(e,t,o,n,r){var i=[].concat(t);if(Object.getPrototypeOf(t).splice.call(t,0,t.length),o)for(var s=0;s<o.length;s++){var a=o[s];n&&Base.createItemValue&&(a=Base.createItemValue(a,this.getItemValueType())),Object.getPrototypeOf(t).push.call(t,a),r&&r(t[s])}var l=new ArrayChanges(0,i.length,t,i);this.propertyValueChanged(e,i,t,l),this.notifyArrayChanged(t,l)},Base.prototype.isTwoValueEquals=function(e,t,o,n){return void 0===o&&(o=!1),void 0===n&&(n=!1),oe.checkIfValuesEqual(e,t,{ignoreOrder:!1,caseSensitive:!o,trimStrings:n,doNotConvertNumbers:!0})},Base.copyObject=function(e,t){for(var o in t){var n=t[o];"object"==typeof n&&(n={},this.copyObject(n,t[o])),e[o]=n}},Base.prototype.copyCssClasses=function(e,t){t&&("string"==typeof t||t instanceof String?e.root=t:Base.copyObject(e,t))},Base.prototype.getValueInLowCase=function(e){return e&&"string"==typeof e?e.toLowerCase():e},Base.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),[]},Object.defineProperty(Base.prototype,"animationAllowed",{get:function(){return this.getIsAnimationAllowed()},enumerable:!1,configurable:!0}),Base.prototype.getIsAnimationAllowed=function(){return nC.animationEnabled&&this.animationAllowedLock>=0&&!this.isLoadingFromJson&&!this.isDisposed&&(!!this.onElementRerendered||!this.supportOnElementRerenderedEvent)},Base.prototype.blockAnimations=function(){this.animationAllowedLock--},Base.prototype.releaseAnimations=function(){this.animationAllowedLock++},Base.prototype.enableOnElementRerenderedEvent=function(){this.onElementRerenderedEventEnabled=!0},Base.prototype.disableOnElementRerenderedEvent=function(){var e;null===(e=this.onElementRerendered)||void 0===e||e.fire(this,{isCancel:!0}),this.onElementRerenderedEventEnabled=!1},Object.defineProperty(Base.prototype,"onElementRerendered",{get:function(){return this.supportOnElementRerenderedEvent&&this.onElementRerenderedEventEnabled?this._onElementRerendered:void 0},enumerable:!1,configurable:!0}),Base.prototype.afterRerender=function(){var e;null===(e=this.onElementRerendered)||void 0===e||e.fire(this,{isCancel:!1})},Base.currentDependencis=void 0,Base}(),ArrayChanges=function(e,t,o,n){this.index=e,this.deleteCount=t,this.itemsToAdd=o,this.deletedItems=n},o$=function(){function Event(){}return Object.defineProperty(Event.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),Object.defineProperty(Event.prototype,"length",{get:function(){return this.callbacks?this.callbacks.length:0},enumerable:!1,configurable:!0}),Event.prototype.fireByCreatingOptions=function(e,t){if(this.callbacks){for(var o=0;o<this.callbacks.length;o++)if(this.callbacks[o](e,t()),!this.callbacks)return}},Event.prototype.fire=function(e,t){if(this.callbacks){for(var o=[].concat(this.callbacks),n=0;n<o.length;n++)if(o[n](e,t),!this.callbacks)return}},Event.prototype.clear=function(){this.callbacks=void 0},Event.prototype.add=function(e){this.hasFunc(e)||(this.callbacks||(this.callbacks=[]),this.callbacks.push(e),this.fireCallbackChanged())},Event.prototype.remove=function(e){if(this.hasFunc(e)){var t=this.callbacks.indexOf(e,0);this.callbacks.splice(t,1),this.fireCallbackChanged()}},Event.prototype.hasFunc=function(e){return null!=this.callbacks&&this.callbacks.indexOf(e,0)>-1},Event.prototype.fireCallbackChanged=function(){this.onCallbacksChanged&&this.onCallbacksChanged()},Event}(),oJ=function(e){function EventBase(){return null!==e&&e.apply(this,arguments)||this}return oF(EventBase,e),EventBase}(o$),oG=(l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),oK=function(){function ResponsivityManager(e,t,o,n,r){var i=this;void 0===n&&(n=null),void 0===r&&(r=function(e){queueMicrotask?queueMicrotask(e):e()}),this.container=e,this.model=t,this.itemsSelector=o,this.dotsItemSize=n,this.delayedUpdateFunction=r,this.resizeObserver=void 0,this.isInitialized=!1,this.minDimensionConst=56,this.separatorSize=17,this.separatorAddConst=1,this.paddingSizeConst=8,this.dotsSizeConst=48,this.dotsIconClass=".sv-dots",this.iconClass=".sv-svg-icon",this.recalcMinDimensionConst=!0,this.getComputedStyle=function(e){return t8.getComputedStyle(e)},this.model.updateCallback=function(e){e&&(i.isInitialized=!1),setTimeout(function(){i.process()},1)},"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver(function(e){t6.requestAnimationFrame(function(){i.process()})}),this.resizeObserver.observe(this.container.parentElement))}return ResponsivityManager.prototype.getDimensions=function(e){return{scroll:e.scrollWidth,offset:e.offsetWidth}},ResponsivityManager.prototype.getAvailableSpace=function(){var e=this.getComputedStyle(this.container),t=this.container.offsetWidth;return"border-box"===e.boxSizing&&(t-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)),t},ResponsivityManager.prototype.calcItemSize=function(e){return e.offsetWidth||e.getBoundingClientRect().width},ResponsivityManager.prototype.calcMinDimension=function(e,t){if(t&&(!e.iconSize||"auto"===e.iconSize)){var o,n=t.querySelector(this.iconClass);o=n&&this.calcItemSize(n)}else e.iconSize&&"number"==typeof e.iconSize&&this.recalcMinDimensionConst&&(o=e.iconSize);var r=o?o+2*this.paddingSizeConst:this.minDimensionConst;return e.canShrink?r+(e.needSeparator?this.separatorSize:0):e.maxDimension},ResponsivityManager.prototype.calcItemsSizes=function(){var e=this;if(this.container&&!this.isInitialized){var t=this.model.actions;(this.container.querySelectorAll(this.itemsSelector)||[]).forEac
vendor: 4,866 bytes, line 5
5h(function(o,n){var r=t[n];r&&e.calcActionDimensions(r,o)})}},ResponsivityManager.prototype.calcActionDimensions=function(e,t){e.maxDimension=this.calcItemSize(t),e.minDimension=this.calcMinDimension(e,t)},Object.defineProperty(ResponsivityManager.prototype,"isContainerVisible",{get:function(){return!!this.container&&isContainerVisible(this.container)},enumerable:!1,configurable:!0}),ResponsivityManager.prototype.process=function(){var e=this;if(this.isContainerVisible&&!this.model.isResponsivenessDisabled){this.isInitialized||this.model.setActionsMode("large");var processResponsiveness_1=function(){var t,o=e.dotsItemSize;if(!e.dotsItemSize){var n=null===(t=e.container)||void 0===t?void 0:t.querySelector(e.dotsIconClass);o=n&&e.calcItemSize(n)||e.dotsSizeConst}e.model.fit(e.getAvailableSpace(),o)};if(this.isInitialized)processResponsiveness_1();else{var callback=function(){e.container&&(e.calcItemsSizes(),e.isInitialized=!0,processResponsiveness_1())};this.delayedUpdateFunction?this.delayedUpdateFunction(callback):callback()}}},ResponsivityManager.prototype.dispose=function(){this.model.updateCallback=void 0,this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.container=void 0},ResponsivityManager}(),oZ=function(e){function VerticalResponsivityManager(t,o,n,r,i,s){void 0===i&&(i=40);var a=e.call(this,t,o,n,r,s)||this;return a.minDimensionConst=i,a.recalcMinDimensionConst=!1,a}return oG(VerticalResponsivityManager,e),VerticalResponsivityManager.prototype.getDimensions=function(){return{scroll:this.container.scrollHeight,offset:this.container.offsetHeight}},VerticalResponsivityManager.prototype.getAvailableSpace=function(){var e=this.getComputedStyle(this.container),t=this.container.offsetHeight;return"border-box"===e.boxSizing&&(t-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)),t},VerticalResponsivityManager.prototype.calcItemSize=function(e){return e.offsetHeight},VerticalResponsivityManager.prototype.calcActionDimensions=function(e,t){e.maxDimension=this.calcItemSize(t),e.minDimension=this.calcItemSize(t)},VerticalResponsivityManager}(oK),oY=function(){function CssClassBuilder(){this.classes=[]}return CssClassBuilder.prototype.isEmpty=function(){return""===this.toString()},CssClassBuilder.prototype.append=function(e,t){return void 0===t&&(t=!0),e&&t&&("string"==typeof e&&(e=e.trim()),this.classes.push(e)),this},CssClassBuilder.prototype.toString=function(){return this.classes.join(" ")},CssClassBuilder}(),oX=(u=function(e,t){return(u=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),__decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},o1={root:"sv-action-bar",defaultSizeMode:"sv-action-bar--default-size-mode",smallSizeMode:"sv-action-bar--small-size-mode",item:"sv-action-bar-item",itemWithTitle:"",itemAsIcon:"sv-action-bar-item--icon",itemActive:"sv-action-bar-item--active",itemPressed:"sv-action-bar-item--pressed",itemIcon:"sv-action-bar-item__icon",itemTitle:"sv-action-bar-item__title",itemTitleWithIcon:"sv-action-bar-item__title--with-icon"},o0=function(e){function ActionContainer(){var t=null!==e&&e.apply(this,arguments)||this;return t.sizeMode="default",t}return oX(ActionContainer,e),ActionContainer.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},ActionContainer.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},ActionContainer.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},ActionContainer.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},ActionContainer.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},ActionContainer.prototype.getRenderedActions=function(){return this.actions},ActionContainer.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.actions.forEach(function(e){e.locTitle&&e.locTitle.strChanged(),e.locStrsChanged()})},ActionContainer.prototype.raiseUpdate=function(e){this.isEmpty=!this.actions.some(function(e){return e.visible}),this.updateCallback&&this.updateCallback(e)},ActionContainer.prototype.onSet=function(){var e=this;
5this.actions.forEach(function(t){e.setActionCssClasses(t)}),this.raiseUpdate(!0)},ActionContainer.prototype.onPush=function(e){this.setActionCssClasses(e),e.owner=this,this.raiseUpdate(!0)},ActionContainer.prototype.onRemove=function(e){e.owner=null,this.raiseUpdate(!0)},ActionContainer.prototype.setActionCssClasses=function(e){e.cssClasses=this.cssClasses},Object.defineProperty(ActionContainer.prototype,"hasActions",{get:function(){return(this.actions||[]).length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ActionContainer.prototype,"renderedActions",{get:function(){return this.getRenderedActions()},enumerable:!1,configurable:!0}),Object.defineProperty(ActionContainer.prototype,"visibleActions",{get:function(){return this.actions.filter(function(e){return!1!==e.visible})},enumerable:!1,configurable:!0}),ActionContainer.prototype.getRootCss=function(){var e="small"===this.sizeMode?this.cssClasses.smallSizeMode:this.cssClasses.defaultSizeMode;return new oY().append(this.cssClasses.root+(e?" "+e:"")+(this.containerCss?" "+this.containerCss:"")).append(this.cssClasses.root+"--empty",this.isEmpty).toString()},ActionContainer.prototype.getDefaultCssClasses=function(){return o1},Object.defineProperty(ActionContainer.prototype,"cssClasses",{get:function(){return this.cssClassesValue||(this.cssClassesValue=this.getDefaultCssClasses()),this.cssClassesValue},set:function(e){var t=this;this.cssClassesValue={},this.copyCssClasses(this.cssClassesValue,this.getDefaultCssClasses()),mergeValues(e,this.cssClasses),this.actions.forEach(function(e){t.setActionCssClasses(e)})},enumerable:!1,configurable:!0}),ActionContainer.prototype.createAction=function(e){return e instanceof o8?e:new ne(e)},ActionContainer.prototype.addAction=function(e,t){void 0===t&&(t=!0);var o=this.createAction(e);if(t&&!this.isActionVisible(o))return o;var n=[].concat(this.actions,o);return this.sortItems(n),this.actions=n,o},ActionContainer.prototype.setItems=function(e,t){var o=this;void 0===t&&(t=!0);var n=[];e.forEach(function(e){(!t||o.isActionVisible(e))&&n.push(o.createAction(e))}),t&&this.sortItems(n),this.actions=n},ActionContainer.prototype.sortItems=function(e){this.hasSetVisibleIndex(e)&&e.sort(this.compareByVisibleIndex)},ActionContainer.prototype.hasSetVisibleIndex=function(e){for(var t=0;t<e.length;t++){var o=e[t].visibleIndex;if(void 0!==o&&o>=0)return!0}return!1},ActionContainer.prototype.compareByVisibleIndex=function(e,t){return e.visibleIndex-t.visibleIndex},ActionContainer.prototype.isActionVisible=function(e){return e.visibleIndex>=0||void 0===e.visibleIndex},ActionContainer.prototype.popupAfterShowCallback=function(e){},ActionContainer.prototype.mouseOverHandler=function(e){var t=this;e.isHovered=!0,this.actions.forEach(function(o){o===e&&e.popupModel&&(e.showPopupDelayed(t.subItemsShowDelay),t.popupAfterShowCallback(e))})},ActionContainer.prototype.initResponsivityManager=function(e,t){},ActionContainer.prototype.resetResponsivityManager=function(){},ActionContainer.prototype.getActionById=function(e){for(var t=0;t<this.actions.length;t++)if(this.actions[t].id===e)return this.actions[t];return null},ActionContainer.prototype.dispose=function(){e.prototype.dispose.call(this),this.resetResponsivityManager(),this.actions.forEach(function(e){return e.dispose()}),this.actions.length=0},__decorate([propertyArray({onSet:function(e,t){t.onSet()},onPush:function(e,t,o){o.onPush(e)},onRemove:function(e,t,o){o.onRemove(e)}})],ActionContainer.prototype,"actions",void 0),__decorate([jsonobject_property({})],ActionContainer.prototype,"containerCss",void 0),__decorate([jsonobject_property({defaultValue:!1})],ActionContainer.prototype,"isEmpty",void 0),__decorate([jsonobject_property({defaultValue:300})],ActionContainer.prototype,"subItemsShowDelay",void 0),__decorate([jsonobject_property({defaultValue:300})],ActionContainer.prototype,"subItemsHideDelay",void 0),ActionContainer}(oW),o2=function(){function ElementHelper(){}return ElementHelper.focusElement=function(e){e&&e.focus()},ElementHelper.visibility=function(e){var t=t8.getComputedStyle(e);
5return"none"!==t.display&&"hidden"!==t.visibility&&(!e.parentElement||this.visibility(e.parentElement))},ElementHelper.getNextElementPreorder=function(e){var t=e.nextElementSibling?e.nextElementSibling:e.parentElement.firstElementChild;return this.visibility(t)?t:this.getNextElementPreorder(t)},ElementHelper.getNextElementPostorder=function(e){var t=e.previousElementSibling?e.previousElementSibling:e.parentElement.lastElementChild;return this.visibility(t)?t:this.getNextElementPostorder(t)},ElementHelper.hasHorizontalScroller=function(e){return!!e&&e.scrollWidth>e.offsetWidth},ElementHelper.hasVerticalScroller=function(e){return!!e&&e.scrollHeight>e.offsetHeight},ElementHelper}(),o5=(c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),list_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},o7={root:"sv-list__container",item:"sv-list__item",searchClearButtonIcon:"sv-list__filter-clear-button",loadingIndicator:"sv-list__loading-indicator",itemSelected:"sv-list__item--selected",itemGroup:"sv-list__item--group",itemGroupSelected:"sv-list__item--group-selected",itemWithIcon:"sv-list__item--with-icon",itemDisabled:"sv-list__item--disabled",itemFocused:"sv-list__item--focused",itemHovered:"sv-list__item--hovered",itemTextWrap:"sv-list__item-text--wrap",itemIcon:"sv-list__item-icon",itemMarkerIcon:"sv-list-item__marker-icon",itemSeparator:"sv-list__item-separator",itemBody:"sv-list__item-body",itemsContainer:"sv-list",itemsContainerFiltering:"sv-list--filtering",filter:"sv-list__filter",filterIcon:"sv-list__filter-icon",filterInput:"sv-list__input",emptyContainer:"sv-list__empty-container",emptyText:"sv-list__empty-text"},o4=function(e){function ListModel(t,o,n,r,i){var s=e.call(this)||this;return s.onSelectionChanged=o,s.allowSelection=n,s.elementId=i,s.onItemClick=function(e){if(!s.isItemDisabled(e)){s.isExpanded=!1,s.allowSelection&&(s.selectedItem=e),s.onSelectionChanged&&s.onSelectionChanged(e);var t=e.action;t&&t(e)}},s.onItemHover=function(e){s.mouseOverHandler(e)},s.isItemDisabled=function(e){return void 0!==e.enabled&&!e.enabled},s.isItemSelected=function(e){return s.areSameItems(s.selectedItem,e)},s.isItemFocused=function(e){return s.areSameItems(s.focusedItem,e)},s.getListClass=function(){return new oY().append(s.cssClasses.itemsContainer).append(s.cssClasses.itemsContainerFiltering,!!s.filterString&&s.visibleActions.length!==s.visibleItems.length).toString()},s.getItemClass=function(e){var t=s.isItemSelected(e);return new oY().append(s.cssClasses.item).append(s.cssClasses.itemWithIcon,!!e.iconName).append(s.cssClasses.itemDisabled,s.isItemDisabled(e)).append(s.cssClasses.itemFocused,s.isItemFocused(e)).append(s.cssClasses.itemSelected,!e.hasSubItems&&t).append(s.cssClasses.itemGroup,e.hasSubItems).append(s.cssClasses.itemGroupSelected,e.hasSubItems&&t).append(s.cssClasses.itemHovered,e.isHovered).append(s.cssClasses.itemTextWrap,s.textWrapEnabled).append(e.css).toString()},s.getItemStyle=function(e){return{"--sjs-list-item-level":(e.level||0)+1}},-1!==Object.keys(t).indexOf("items")?(Object.keys(t).forEach(function(e){switch(e){case"items":s.setItems(t.items);break;case"onFilterStringChangedCallback":s.setOnFilterStringChangedCallback(t.onFilterStringChangedCallback);break;case"onTextSearchCallback":s.setOnTextSearchCallback(t.onTextSearchCallback);break;default:s[e]=t[e]}}),s.updateActionsIds()):(s.setItems(t),s.selectedItem=r),s}return o5(ListModel,e),ListModel.prototype.hasText=function(e,t){if(!t)return!0;var o=e.title||"";if(this.onTextSearchCallback)return this.onTextSearchCallback(e,t);var n=o.toLocaleLowerCase();return(n=nC.comparator.normalizeTextCallback(n,"filter")).indexOf(t.toLocaleLowerCase())>-1},ListModel.prototype.isItemVisible=function(e){return e.visible&&(!this.shouldProcessFilter||this.hasText(e,this.filterString))},ListModel.prototype.getRenderedActions=function(){var t=e.prototype.getRenderedActions.call(this);if(this.filterString){var o=[];
5return t.forEach(function(e){o.push(e),e.items&&e.items.forEach(function(t){var n=new ne(t);n.iconName||(n.iconName=e.iconName),o.push(n)})}),o}return t},Object.defineProperty(ListModel.prototype,"visibleItems",{get:function(){var e=this;return this.visibleActions.filter(function(t){return e.isItemVisible(t)})},enumerable:!1,configurable:!0}),Object.defineProperty(ListModel.prototype,"shouldProcessFilter",{get:function(){return!this.onFilterStringChangedCallback},enumerable:!1,configurable:!0}),ListModel.prototype.onFilterStringChanged=function(e){this.onFilterStringChangedCallback&&this.onFilterStringChangedCallback(e),this.updateIsEmpty()},ListModel.prototype.updateIsEmpty=function(){var e=this;this.isEmpty=0===this.renderedActions.filter(function(t){return e.isItemVisible(t)}).length},ListModel.prototype.scrollToItem=function(e,t){var o=this;void 0===t&&(t=0),setTimeout(function(){if(o.listContainerHtmlElement){var n=o.listContainerHtmlElement.querySelector(classesToSelector(e));n&&setTimeout(function(){n.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},t)}},t)},ListModel.prototype.setOnFilterStringChangedCallback=function(e){this.onFilterStringChangedCallback=e},ListModel.prototype.setOnTextSearchCallback=function(e){this.onTextSearchCallback=e},ListModel.prototype.setItems=function(t,o){void 0===o&&(o=!0),e.prototype.setItems.call(this,t,o),this.updateActionsIds(),!this.isAllDataLoaded&&this.actions.length&&this.actions.push(this.loadingIndicator)},ListModel.prototype.updateActionsIds=function(){var e=this;this.elementId&&this.renderedActions.forEach(function(t){t.elementId=e.elementId+t.id})},ListModel.prototype.setSearchEnabled=function(e){this.searchEnabled=e,this.showSearchClearButton=e},ListModel.prototype.onSet=function(){this.showFilter=this.searchEnabled&&(this.forceShowFilter||(this.actions||[]).length>ListModel.MINELEMENTCOUNT),e.prototype.onSet.call(this)},ListModel.prototype.getDefaultCssClasses=function(){return o7},ListModel.prototype.popupAfterShowCallback=function(e){this.addScrollEventListener(function(){e.hidePopup()})},ListModel.prototype.onItemLeave=function(e){e.hidePopupDelayed(this.subItemsHideDelay)},ListModel.prototype.areSameItems=function(e,t){return this.areSameItemsCallback?this.areSameItemsCallback(e,t):!!e&&!!t&&e.id==t.id},Object.defineProperty(ListModel.prototype,"filterStringPlaceholder",{get:function(){return this.getLocalizationString("filterStringPlaceholder")},enumerable:!1,configurable:!0}),Object.defineProperty(ListModel.prototype,"emptyMessage",{get:function(){return this.isAllDataLoaded?this.getLocalizationString("emptyMessage"):this.loadingText},enumerable:!1,configurable:!0}),Object.defineProperty(ListModel.prototype,"scrollableContainer",{get:function(){return this.listContainerHtmlElement.querySelector(classesToSelector(this.cssClasses.itemsContainer))},enumerable:!1,configurable:!0}),Object.defineProperty(ListModel.prototype,"loadingText",{get:function(){return this.getLocalizationString("loadingFile")},enumerable:!1,configurable:!0}),Object.defineProperty(ListModel.prototype,"loadingIndicator",{get:function(){return this.loadingIndicatorValue||(this.loadingIndicatorValue=new ne({id:"loadingIndicator",title:this.loadingText,action:function(){},css:this.cssClasses.loadingIndicator})),this.loadingIndicatorValue},enumerable:!1,configurable:!0}),ListModel.prototype.goToItems=function(e){if("ArrowDown"===e.key||40===e.keyCode){var t=e.target.parentElement.parentElement.querySelector("ul"),o=function(e){for(var t,o=0;o<e.children.length;o++)t||"none"===getComputedStyle(e.children[o]).display||(t=e.children[o]);return t}(t);t&&o&&(o2.focusElement(o),e.preventDefault())}},ListModel.prototype.onMouseMove=function(e){this.resetFocusedItem()},ListModel.prototype.onKeyDown=function(e){var t=e.target;"ArrowDown"===e.key||40===e.keyCode?(o2.focusElement(o2.getNextElementPreorder(t)),e.preventDefault()):("ArrowUp"===e.key||38===e.keyCode)&&(o2.focusElement(o2.getNextElementPostorder(t)),e.preventDefault())},ListModel.prototype.onPointerDown=function(e,t){},ListModel.prototype.refresh=function(){""!==this.filterString?this.filterString="":this.updateIsEmpty(),this.resetFocusedItem()},ListModel.prototype.onClickSearchClearButton=function(e){e.currentTarget.parentElement.querySelector("input").focus(),this.refresh()},ListModel.prototype.resetFocusedItem=function(){this.focusedItem=void 0}
5,ListModel.prototype.focusFirstVisibleItem=function(){this.focusedItem=this.visibleItems[0]},ListModel.prototype.focusLastVisibleItem=function(){this.focusedItem=this.visibleItems[this.visibleItems.length-1]},ListModel.prototype.initFocusedItem=function(){var e=this;this.focusedItem=this.visibleItems.filter(function(t){return t.visible&&e.isItemSelected(t)})[0],this.focusedItem||this.focusFirstVisibleItem()},ListModel.prototype.focusNextVisibleItem=function(){if(this.focusedItem){var e=this.visibleItems,t=e.indexOf(this.focusedItem),o=e[t+1];o?this.focusedItem=o:this.focusFirstVisibleItem()}else this.initFocusedItem()},ListModel.prototype.focusPrevVisibleItem=function(){if(this.focusedItem){var e=this.visibleItems,t=e.indexOf(this.focusedItem),o=e[t-1];o?this.focusedItem=o:this.focusLastVisibleItem()}else this.initFocusedItem()},ListModel.prototype.selectFocusedItem=function(){this.focusedItem&&this.onItemClick(this.focusedItem)},ListModel.prototype.initListContainerHtmlElement=function(e){this.listContainerHtmlElement=e},ListModel.prototype.onLastItemRended=function(e){!this.isAllDataLoaded&&e===this.actions[this.actions.length-1]&&this.listContainerHtmlElement&&(this.hasVerticalScroller=o2.hasVerticalScroller(this.scrollableContainer))},ListModel.prototype.scrollToFocusedItem=function(){this.scrollToItem(this.cssClasses.itemFocused)},ListModel.prototype.scrollToSelectedItem=function(){this.selectedItem&&this.selectedItem.items&&this.selectedItem.items.length>0?this.scrollToItem(this.cssClasses.itemGroupSelected,110):this.scrollToItem(this.cssClasses.itemSelected,110)},ListModel.prototype.addScrollEventListener=function(e){e&&(this.removeScrollEventListener(),this.scrollHandler=e),this.scrollHandler&&this.scrollableContainer.addEventListener("scroll",this.scrollHandler)},ListModel.prototype.removeScrollEventListener=function(){this.scrollHandler&&this.scrollableContainer.removeEventListener("scroll",this.scrollHandler)},ListModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.loadingIndicatorValue&&this.loadingIndicatorValue.dispose(),this.listContainerHtmlElement=void 0},ListModel.INDENT=16,ListModel.MINELEMENTCOUNT=10,list_decorate([jsonobject_property({defaultValue:!0,onSet:function(e,t){t.onSet()}})],ListModel.prototype,"searchEnabled",void 0),list_decorate([jsonobject_property({defaultValue:!1})],ListModel.prototype,"showFilter",void 0),list_decorate([jsonobject_property({defaultValue:!1})],ListModel.prototype,"forceShowFilter",void 0),list_decorate([jsonobject_property({defaultValue:!1})],ListModel.prototype,"isExpanded",void 0),list_decorate([jsonobject_property({})],ListModel.prototype,"selectedItem",void 0),list_decorate([jsonobject_property()],ListModel.prototype,"focusedItem",void 0),list_decorate([jsonobject_property({onSet:function(e,t){t.onFilterStringChanged(t.filterString)}})],ListModel.prototype,"filterString",void 0),list_decorate([jsonobject_property({defaultValue:!1})],ListModel.prototype,"hasVerticalScroller",void 0),list_decorate([jsonobject_property({defaultValue:!0})],ListModel.prototype,"isAllDataLoaded",void 0),list_decorate([jsonobject_property({defaultValue:!1})],ListModel.prototype,"showSearchClearButton",void 0),list_decorate([jsonobject_property({defaultValue:!0})],ListModel.prototype,"renderElements",void 0),list_decorate([jsonobject_property({defaultValue:!1})],ListModel.prototype,"textWrapEnabled",void 0),list_decorate([jsonobject_property({defaultValue:"sv-list-item-content"})],ListModel.prototype,"itemComponent",void 0),ListModel}(o0),o3=(p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),popup_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
vendor: 13,697 bytes, line 5
5if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},o9=function(e){function PopupModel(t,o,n,r){var i=e.call(this)||this;if(i.focusFirstInputSelector="",i.onCancel=function(){},i.onApply=function(){return!0},i.onHide=function(){},i.onShow=function(){},i.onDispose=function(){},i.onVisibilityChanged=i.addEvent(),i.onFooterActionsCreated=i.addEvent(),i.onRecalculatePosition=i.addEvent(),i.contentComponentName=t,i.contentComponentData=o,n&&"string"==typeof n)i.verticalPosition=n,i.horizontalPosition=r;else if(n)for(var s in n)i[s]=n[s];return i}return o3(PopupModel,e),PopupModel.prototype.refreshInnerModel=function(){var e=this.contentComponentData.model;e&&e.refresh&&e.refresh()},Object.defineProperty(PopupModel.prototype,"isVisible",{get:function(){return this.getPropertyValue("isVisible",!1)},set:function(e){this.isVisible!==e&&(this.setPropertyValue("isVisible",e),this.onVisibilityChanged.fire(this,{model:this,isVisible:e}))},enumerable:!1,configurable:!0}),PopupModel.prototype.toggleVisibility=function(){this.isVisible=!this.isVisible},PopupModel.prototype.show=function(){this.isVisible||(this.isVisible=!0)},PopupModel.prototype.hide=function(){this.isVisible&&(this.isVisible=!1)},PopupModel.prototype.recalculatePosition=function(e){this.onRecalculatePosition.fire(this,{isResetHeight:e})},PopupModel.prototype.updateFooterActions=function(e){var t={actions:e};return this.onFooterActionsCreated.fire(this,t),t.actions},PopupModel.prototype.updateDisplayMode=function(e){if(this.displayMode!==e){var t="dropdown"===e;this.setWidthByTarget=t,this.isFocusedContent=!t}switch(e){case"dropdown":this.displayMode="popup";break;case"popup":this.displayMode="overlay",this.overlayDisplayMode="tablet-dropdown-overlay";break;case"overlay":this.displayMode="overlay",this.overlayDisplayMode="dropdown-overlay"}},PopupModel.prototype.onHiding=function(){this.refreshInnerModel(),this.onHide()},PopupModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.onDispose()},popup_decorate([jsonobject_property()],PopupModel.prototype,"contentComponentName",void 0),popup_decorate([jsonobject_property()],PopupModel.prototype,"contentComponentData",void 0),popup_decorate([jsonobject_property({defaultValue:"bottom"})],PopupModel.prototype,"verticalPosition",void 0),popup_decorate([jsonobject_property({defaultValue:"left"})],PopupModel.prototype,"horizontalPosition",void 0),popup_decorate([jsonobject_property({defaultValue:!0})],PopupModel.prototype,"showPointer",void 0),popup_decorate([jsonobject_property({defaultValue:!1})],PopupModel.prototype,"isModal",void 0),popup_decorate([jsonobject_property({defaultValue:!0})],PopupModel.prototype,"canShrink",void 0),popup_decorate([jsonobject_property({defaultValue:!0})],PopupModel.prototype,"isFocusedContent",void 0),popup_decorate([jsonobject_property({defaultValue:!0})],PopupModel.prototype,"isFocusedContainer",void 0),popup_decorate([jsonobject_property({defaultValue:""})],PopupModel.prototype,"cssClass",void 0),popup_decorate([jsonobject_property({defaultValue:""})],PopupModel.prototype,"title",void 0),popup_decorate([jsonobject_property({defaultValue:"auto"})],PopupModel.prototype,"overlayDisplayMode",void 0),popup_decorate([jsonobject_property({defaultValue:"popup"})],PopupModel.prototype,"displayMode",void 0),popup_decorate([jsonobject_property({defaultValue:"flex"})],PopupModel.prototype,"positionMode",void 0),PopupModel}(oW);function createDialogOptions(e,t,o,n,r,i,s,a,l){return void 0===r&&(r=function(){}),void 0===i&&(i=function(){}),void 0===l&&(l="popup"),oC.warn("The `showModal()` and `createDialogOptions()` methods are obsolete. Use the `showDialog()` method instead."),{componentName:e,data:t,onApply:o,onCancel:n,onHide:r,onShow:i,cssClass:s,title:a,displayMode:l}}var o6=(d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),action_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},action_spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e};function createDropdownActionModel(e,t,o){return t.locOwner=o,createDropdownActionModelAdvanced(e,t,t)}function createDropdownActionModelAdvanced(e,t,o){var n,r=t.onSelectionChanged;t.onSelectionChanged=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];a.hasTitle&&(a.title=e.title),r&&r(e,t)};var i=createPopupModelWithListModel(t,o);i.getTargetCallback=getActionDropdownButtonTarget;var s=Object.assign({},e,{component:"sv-action-bar-item-dropdown",popupModel:i,action:function(t,o){e.action&&e.action(),i.isFocusedContent=i.isFocusedContent||!o,i.show()}}),a=new ne(s);return a.data=null===(n=i.contentComponentData)||void 0===n?void 0:n.model,a}function createPopupModelWithListModel(e,t){var o=new o4(e);o.onSelectionChanged=function(t){e.onSelectionChanged&&e.onSelectionChanged(t),r.hide()};var n=t||{};n.onDispose=function(){o.dispose()};var r=new o9("sv-list",{model:o},n);return r.isFocusedContent=o.showFilter,r.onShow=function(){n.onShow&&n.onShow(),o.scrollToSelectedItem()},r}function getActionDropdownButtonTarget(e){return null==e?void 0:e.previousElementSibling}var o8=function(e){function BaseAction(){var t=null!==e&&e.apply(this,arguments)||this;return t.rendredIdValue=BaseAction.getNextRendredId(),t}return o6(BaseAction,e),BaseAction.getNextRendredId=function(){return BaseAction.renderedId++},Object.defineProperty(BaseAction.prototype,"renderedId",{get:function(){return this.rendredIdValue},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"owner",{get:function(){return this.ownerValue},set:function(e){e!==this.owner&&(this.ownerValue=e,this.locStrsChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"visible",{get:function(){return this.getVisible()},set:function(e){this.setVisible(e)},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"enabled",{get:function(){return this.getEnabled()},set:function(e){this.setEnabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"component",{get:function(){return this.getComponent()},set:function(e){this.setComponent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"locTitle",{get:function(){return this.getLocTitle()},set:function(e){this.setLocTitle(e)},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"title",{get:function(){return this.getTitle()},set:function(e){this.setTitle(e)},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"cssClasses",{get:function(){return this.cssClassesValue||o1},set:function(e){this.cssClassesValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"isVisible",{get:function(){return this.visible&&"popup"!==this.mode&&"removed"!==this.mode},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"disabled",{get:function(){return void 0!==this.enabled&&!this.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"canShrink",{get:function(){return!this.disableShrink&&!!this.iconName},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"hasTitle",{get:function(){return("small"!=this.mode&&(this.showTitle||void 0===this.showTitle)||!this.iconName)&&!!this.title},enumerable:!1,configurable:!0}),Object.defineProperty(BaseAction.prototype,"hasSubItems",{get:function(){return!!this.items&&this.items.length>0},enumerable:!1,configurable:!0}),BaseAction.prototype.getActionBarItemTitleCss=function(){return new oY().append(this.cssClasses.itemTitle).append(this.cssClasses.itemTitleWithIcon,!!this.iconName).toString()},BaseAction.prototype.getActionBarItemCss=function(){return new oY().append(this.cssClasses.item).append(this.cssClasses.itemWithTitle,this.hasTitle).append(this.cssClasses.itemAsIcon,!this.hasTitle).append(this.cssClasses.itemActive,!!this.active).append(this.cssClasses.itemPressed,!!this.pressed).append(this.innerCss).toString()},BaseAction.prototype.getActionRootCss=function(){return new oY().append("sv-action").append(this.css).append("sv-action--space",this.needSpace).append("sv-action--hidden",!this.isVisible).toString()},BaseAction.prototype.getTooltip=function(){return this.tooltip||this.title},BaseAction.prototype.getIsTrusted=function(e){return e.originalEvent?e.originalEvent.isTrusted:e.isTrusted},BaseAction.prototype.showPopup=function(){this.popupModel&&this.popupModel.show()},BaseAction.prototype.hidePopup=function(){this.popupModel&&this.popupModel.hide()},BaseAction.prototype.clearPopupTimeouts=function(){this.showPopupTimeout&&clearTimeout(this.showPopupTimeout),this.hidePopupTimeout&&clearTimeout(this.hidePopupTimeout)},BaseAction.prototype.showPopupDelayed=function(e){var t=this;this.clearPopupTimeouts(),this.showPopupTimeout=setTimeout(function(){t.clearPopupTimeouts(),t.showPopup()},e)},BaseAction.prototype.hidePopupDelayed=function(e){var t,o=this;(null===(t=this.popupModel)||void 0===t?void 0:t.isVisible)?(this.clearPopupTimeouts(),this.hidePopupTimeout=setTimeout(function(){o.clearPopupTimeouts(),o.hidePopup(),o.isHovered=!1},e)):(this.clearPopupTimeouts(),this.isHovered=!1)},BaseAction.renderedId=1,action_decorate([jsonobject_property()],BaseAction.prototype,"tooltip",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"showTitle",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"innerCss",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"active",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"pressed",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"popupModel",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"needSeparator",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"template",void 0),action_decorate([jsonobject_property({defaultValue:"large"})],BaseAction.prototype,"mode",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"visibleIndex",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"disableTabStop",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"disableShrink",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"disableHide",void 0),action_decorate([jsonobject_property({defaultValue:!1})],BaseAction.prototype,"needSpace",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"ariaChecked",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"ariaExpanded",void 0),action_decorate([jsonobject_property({defaultValue:"button"})],BaseAction.prototype,"ariaRole",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"iconName",void 0),action_decorate([jsonobject_property({defaultValue:24})],BaseAction.prototype,"iconSize",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"markerIconName",void 0),action_decorate([jsonobject_property()],BaseAction.prototype,"css",void 0),action_decorate([jsonobject_property({defaultValue:!1})],BaseAction.prototype,"isPressed",void 0),action_decorate([jsonobject_property({defaultValue:!1})],BaseAction.prototype,"isHovered",void 0),BaseAction}(oW),ne=function(e){function Action(t){var o=e.call(this)||this;o.locTitleChanged=function(){var e=o.locTitle.renderedHtml;o.setPropertyValue("_title",e||void 0)};var n=t instanceof Action?t.innerItem:t;if(o.innerItem=n,o.locTitle=n?n.locTitle:null,n)for(var r in n)"locTitle"===r||"title"===r&&o.locTitle&&o.title||(o[r]=n[r]);return o.locTitleName&&o.locTitleChanged(),o.registerFunctionOnPropertyValueChanged("_title",function(){o.raiseUpdate(!0)}),o.locStrChangedInPopupModel(),o}return o6(Action,e),Action.prototype.raiseUpdate=function(e){void 0===e&&(e=!1),this.updateCallback&&this.updateCallback(e)},Action.prototype.createLocTitle=function(){return this.createLocalizableString("title",this,!0)},Action.prototype.setSubItems=function(e){this.markerIconName="icon-next_16x16",this.component="sv-list-item-group",this.items=action_spreadArray([],e.items);var t=Object.assign({},e);t.searchEnabled=!1;var o=createPopupModelWithListModel(t,{horizontalPosition:"right",showPointer:!1,canShrink:!1});o.cssClass="sv-popup-inner",this.popupModel=o},Action.prototype.getLocTitle=function(){return this.locTitleValue},Action.prototype.setLocTitle=function(e){e||this.locTitleValue||(e=this.createLocTitle()),this.locTitleValue&&this.locTitleValue.onStringChanged.remove(this.locTitleChanged),this.locTitleValue=e,this.locTitleValue.onStringChanged.add(this.locTitleChanged),this.locTitleChanged()},Action.prototype.getTitle=function(){return this._title},Action.prototype.setTitle=function(e){this._title=e},Object.defineProperty(Action.prototype,"locTitleName",{get:function(){return this.locTitle.localizationName},set:function(e){this.locTitle.localizationName=e}
5,enumerable:!1,configurable:!0}),Action.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locTooltipChanged(),this.locStrChangedInPopupModel()},Action.prototype.doAction=function(e){var t=e.originalEvent?e.originalEvent:e;return this.action(this,t.isTrusted),t.preventDefault(),t.stopPropagation(),!0},Action.prototype.doMouseDown=function(e){this.isMouseDown=!0},Action.prototype.doFocus=function(e){if(this.onFocus){var t=e.originalEvent?e.originalEvent:e;this.onFocus(this.isMouseDown,t)}this.isMouseDown=!1},Action.prototype.locStrChangedInPopupModel=function(){if(this.popupModel&&this.popupModel.contentComponentData&&this.popupModel.contentComponentData.model){var e=this.popupModel.contentComponentData.model;Array.isArray(e.actions)&&e.actions.forEach(function(e){e.locStrsChanged&&e.locStrsChanged()})}},Action.prototype.locTooltipChanged=function(){this.locTooltipName&&(this.tooltip=getLocaleString(this.locTooltipName,this.locTitle.locale))},Action.prototype.getLocale=function(){return this.owner?this.owner.getLocale():""},Action.prototype.getMarkdownHtml=function(e,t){return this.owner?this.owner.getMarkdownHtml(e,t):void 0},Action.prototype.getProcessedText=function(e){return this.owner?this.owner.getProcessedText(e):e},Action.prototype.getRenderer=function(e){return this.owner?this.owner.getRenderer(e):null},Action.prototype.getRendererContext=function(e){return this.owner?this.owner.getRendererContext(e):e},Action.prototype.setVisible=function(e){this.visible!==e&&(this._visible=e)},Action.prototype.getVisible=function(){return this._visible},Action.prototype.setEnabled=function(e){this._enabled=e},Action.prototype.getEnabled=function(){return this.enabledIf?this.enabledIf():this._enabled},Action.prototype.setComponent=function(e){this._component=e},Action.prototype.getComponent=function(){return this._component},Action.prototype.dispose=function(){this.updateCallback=void 0,this.locTitleValue&&this.locTitleValue.onStringChanged.remove(this.locTitleChanged),this.locTitleChanged=void 0,this.action=void 0,e.prototype.dispose.call(this),this.popupModel&&this.popupModel.dispose()},action_decorate([jsonobject_property()],Action.prototype,"id",void 0),action_decorate([jsonobject_property({defaultValue:!0,onSet:function(e,t){t.raiseUpdate()}})],Action.prototype,"_visible",void 0),action_decorate([jsonobject_property({onSet:function(e,t){t.locTooltipChanged()}})],Action.prototype,"locTooltipName",void 0),action_decorate([jsonobject_property()],Action.prototype,"_enabled",void 0),action_decorate([jsonobject_property()],Action.prototype,"action",void 0),action_decorate([jsonobject_property()],Action.prototype,"onFocus",void 0),action_decorate([jsonobject_property()],Action.prototype,"_component",void 0),action_decorate([jsonobject_property()],Action.prototype,"items",void 0),action_decorate([jsonobject_property({onSet:function(e,t){t.locTitleValue.text!==e&&(t.locTitleValue.text=e)}})],Action.prototype,"_title",void 0),Action}(o8),nt=function(){function ActionDropdownViewModel(e){this.item=e,this.funcKey="sv-dropdown-action",this.setupPopupCallbacks()}return ActionDropdownViewModel.prototype.setupPopupCallbacks=function(){var e=this,t=this.popupModel=this.item.popupModel;t&&t.registerPropertyChangedHandlers(["isVisible"],function(){t.isVisible?e.item.pressed=!0:e.item.pressed=!1},this.funcKey)},ActionDropdownViewModel.prototype.removePopupCallbacks=function(){this.popupModel&&this.popupModel.unregisterPropertyChangedHandlers(["isVisible"],this.funcKey)},ActionDropdownViewModel.prototype.dispose=function(){this.removePopupCallbacks()},ActionDropdownViewModel}(),no=(h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),nn=function(e){function AdaptiveActionContainer(){var t=e.call(this)||this;return t.minVisibleItemsCount=0,t.isResponsivenessDisabled=!1,t.dotsItem=createDropdownActionModelAdvanced({id:"dotsItem-id"+AdaptiveActionContainer.ContainerID++,css:"sv-dots",innerCss:"sv-dots__item",iconName:"icon-more",visible:!1,tooltip:getLocaleStr
5ing("more")},{items:[],allowSelection:!1}),t}return no(AdaptiveActionContainer,e),AdaptiveActionContainer.prototype.hideItemsGreaterN=function(e){var t=this.getActionsToHide();e=Math.max(e,this.minVisibleItemsCount-(this.visibleActions.length-t.length));var o=[];t.forEach(function(t){e<=0&&(t.removePriority?t.mode="removed":(t.mode="popup",o.push(t.innerItem))),e--}),this.hiddenItemsListModel.setItems(o)},AdaptiveActionContainer.prototype.getActionsToHide=function(){return this.visibleActions.filter(function(e){return!e.disableHide}).sort(function(e,t){return e.removePriority||0-t.removePriority||0})},AdaptiveActionContainer.prototype.getVisibleItemsCount=function(e){this.visibleActions.filter(function(e){return e.disableHide}).forEach(function(t){return e-=t.minDimension});for(var t=this.getActionsToHide().map(function(e){return e.minDimension}),o=0,n=0;n<t.length&&!((o+=t[n])>e);n++);return n},AdaptiveActionContainer.prototype.updateItemMode=function(e,t){for(var o=this.visibleActions,n=o.length-1;n>=0;n--)t>e&&!o[n].disableShrink?(t-=o[n].maxDimension-o[n].minDimension,o[n].mode="small"):o[n].mode="large";if(t>e){var r=this.visibleActions.filter(function(e){return e.removePriority});r.sort(function(e,t){return e.removePriority-t.removePriority});for(var n=0;n<r.length;n++)t>e&&(t-=o[n].disableShrink?r[n].maxDimension:r[n].minDimension,r[n].mode="removed")}},Object.defineProperty(AdaptiveActionContainer.prototype,"hiddenItemsListModel",{get:function(){return this.dotsItem.data},enumerable:!1,configurable:!0}),AdaptiveActionContainer.prototype.onSet=function(){var t=this;this.actions.forEach(function(e){return e.updateCallback=function(e){return t.raiseUpdate(e)}}),e.prototype.onSet.call(this)},AdaptiveActionContainer.prototype.onPush=function(t){var o=this;t.updateCallback=function(e){return o.raiseUpdate(e)},e.prototype.onPush.call(this,t)},AdaptiveActionContainer.prototype.getRenderedActions=function(){return 1===this.actions.length&&this.actions[0].iconName?this.actions:this.actions.concat([this.dotsItem])},AdaptiveActionContainer.prototype.raiseUpdate=function(t){this.isResponsivenessDisabled||e.prototype.raiseUpdate.call(this,t)},AdaptiveActionContainer.prototype.fit=function(e,t){if(!(e<=0)){this.dotsItem.visible=!1;var o=0,n=0;this.visibleActions.forEach(function(e){o+=e.minDimension,n+=e.maxDimension}),e>=n?this.setActionsMode("large"):e<o?(this.setActionsMode("small"),this.hideItemsGreaterN(this.getVisibleItemsCount(e-t)),this.dotsItem.visible=!!this.hiddenItemsListModel.actions.length):this.updateItemMode(e,n)}},AdaptiveActionContainer.prototype.initResponsivityManager=function(e,t){if(this.responsivityManager){if(this.responsivityManager.container==e)return;this.responsivityManager.dispose()}this.responsivityManager=new oK(e,this,":scope > .sv-action:not(.sv-dots) > .sv-action__content",null,t)},AdaptiveActionContainer.prototype.resetResponsivityManager=function(){this.responsivityManager&&(this.responsivityManager.dispose(),this.responsivityManager=void 0)},AdaptiveActionContainer.prototype.setActionsMode=function(e){this.actions.forEach(function(t){"small"==e&&t.disableShrink?t.mode="large":t.mode=e})},AdaptiveActionContainer.prototype.dispose=function(){e.prototype.dispose.call(this),this.dotsItem.data.dispose(),this.dotsItem.dispose(),this.resetResponsivityManager()},AdaptiveActionContainer.ContainerID=1,AdaptiveActionContainer}(o0);(function(){function Task(e,t){var o=this;void 0===t&&(t=!1),this.func=e,this.isMultiple=t,this._isCompleted=!1,this.execute=function(){o._isCompleted||(o.func(),o._isCompleted=!o.isMultiple)}}Task.prototype.discard=function(){this._isCompleted=!0},Object.defineProperty(Task.prototype,"isCompleted",{get:function(){return this._isCompleted},enumerable:!1,configurable:!0})})(),function(){function TaskManger(e){void 0===e&&(e=100),this.interval=e,setTimeout(TaskManger.Instance().tick,e)}TaskManger.Instance=function(){return TaskManger.instance||(TaskManger.instance=new TaskManger),TaskManger.instance},TaskManger.prototype.tick=function(){try{for(var e=[],t=0;t<TaskManger.tasks.length;t++){var o=TaskManger.tasks[t];o.execute(),o.isCompleted?"function"==typeof o.dispose&&o.dispose():e.push(o)}TaskManger.tasks=e}finally{setTimeout(TaskManger.Instance().tick,this.interval)}},TaskManger.schedule=function(e){TaskManger.tasks.push(e)},TaskManger.instance=void 0,TaskManger.tasks=[]}();var nr=(m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ni=function(){function AnimationUtils(){this.cancelQueue=[]}return AnimationUtils.prototype.getMsFromRule=function(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))},AnimationUtils.prototype.reflow=function(e){return e.offsetHeight},AnimationUtils.prototype.getAnimationsCount=function(e){var t="";return getComputedStyle&&(t=getComputedStyle(e).animationName),t&&"none"!=t?t.split(", ").length:0},AnimationUtils.prototype.getAnimationDuration=function(e){for(var t=getComputedStyle(e),o=t.animationDelay.split(", "),n=t.animationDuration.split(", "),r=0,i=0;i<Math.max(n.length,o.length);i++)r=Math.max(r,this.getMsFromRule(n[i%n.length])+this.getMsFromRule(o[i%o.length]));return r},AnimationUtils.prototype.addCancelCallback=function(e){this.cancelQueue.push(e)},AnimationUtils.prototype.removeCancelCallback=function(e){this.cancelQueue.indexOf(e)>=0&&this.cancelQueue.splice(this.cancelQueue.indexOf(e),1)},AnimationUtils.prototype.onAnimationEnd=function(e,t,o){var n,r=this,i=this.getAnimationsCount(e),onEndCallback=function(o){void 0===o&&(o=!0),t(o),clearTimeout(n),r.removeCancelCallback(onEndCallback),e.removeEventListener("animationend",onAnimationEndCallback)},onAnimationEndCallback=function(e){e.target==e.currentTarget&&--i<=0&&onEndCallback(!1)};i>0?(e.addEventListener("animationend",onAnimationEndCallback),this.addCancelCallback(onEndCallback),n=setTimeout(function(){onEndCallback(!1)},this.getAnimationDuration(e)+10)):t(!0)},AnimationUtils.prototype.afterAnimationRun=function(e,t){e&&t&&t.onAfterRunAnimation&&t.onAfterRunAnimation(e)},AnimationUtils.prototype.beforeAnimationRun=function(e,t){e&&t&&t.onBeforeRunAnimation&&t.onBeforeRunAnimation(e)},AnimationUtils.prototype.getCssClasses=function(e){return e.cssClass.replace(/\s+$/,"").split(/\s+/)},AnimationUtils.prototype.runAnimation=function(e,t,o){e&&(null==t?void 0:t.cssClass)?(this.reflow(e),this.getCssClasses(t).forEach(function(t){e.classList.add(t)}),this.onAnimationEnd(e,o,t)):o(!0)},AnimationUtils.prototype.clearHtmlElement=function(e,t){e&&t.cssClass&&this.getCssClasses(t).forEach(function(t){e.classList.remove(t)}),this.afterAnimationRun(e,t)},AnimationUtils.prototype.onNextRender=function(e,t){var o=this;if(void 0===t&&(t=!1),!t&&t6.isAvailable()){var cancelCallback_1=function(){e(!0),cancelAnimationFrame(n)},n=t6.requestAnimationFrame(function(){n=t6.requestAnimationFrame(function(){e(!1),o.removeCancelCallback(cancelCallback_1)})});this.addCancelCallback(cancelCallback_1)}else e(!0)},AnimationUtils.prototype.cancel=function(){[].concat(this.cancelQueue).forEach(function(e){return e()}),this.cancelQueue=[]},AnimationUtils}(),ns=function(e){function AnimationPropertyUtils(){return null!==e&&e.apply(this,arguments)||this}return nr(AnimationPropertyUtils,e),AnimationPropertyUtils.prototype.onEnter=function(e){var t=this,o=e.getAnimatedElement(),n=e.getEnterOptions?e.getEnterOptions():{};this.beforeAnimationRun(o,n),this.runAnimation(o,n,function(){t.clearHtmlElement(o,n)})},AnimationPropertyUtils.prototype.onLeave=function(e,t){var o=this,n=e.getAnimatedElement(),r=e.getLeaveOptions?e.getLeaveOptions():{};this.beforeAnimationRun(n,r),this.runAnimation(n,r,function(e){t(),o.onNextRender(function(){o.clearHtmlElement(n,r)},e)})},AnimationPropertyUtils}(ni),na=function(e){function AnimationGroupUtils(){return null!==e&&e.apply(this,arguments)||this}return nr(AnimationGroupUtils,e),AnimationGroupUtils.prototype.runGroupAnimation=function(e,t,o,n,r){var i=this,s={isAddingRunning:t.length>0,isDeletingRunning:o.length>0,isReorderingRunning:n.length>0},a=t.map(function(t){return e.getAnimatedElement(t)}),l=t.map(function(t){return e.getEnterOptions?e.getEnterOptions(t,s):{}}),u=o.map(function(t){return e.getAnimatedElement(t)}),c=o.map(function(t){return e.getLeaveOptions?e.getLeaveOptions(t,s):{}}),p=n.map(function(t){return e.getAnimatedElement(t.item)}),d=n.map(function(t){return e.getReorderOptions?e.getReorderOptions(t.item,t.movedForward,s):{}});t.forEach(function(e,t){i.beforeAnimationRun(a[t],l[t])}),o.forEach(function(e,t){i.beforeAnimationRun(u[t],c[t])}
5),n.forEach(function(e,t){i.beforeAnimationRun(p[t],d[t])});var h=t.length+o.length+p.length,onAnimationEndCallback=function(e){--h<=0&&(r&&r(),i.onNextRender(function(){t.forEach(function(e,t){i.clearHtmlElement(a[t],l[t])}),o.forEach(function(e,t){i.clearHtmlElement(u[t],c[t])}),n.forEach(function(e,t){i.clearHtmlElement(p[t],d[t])})},e))};t.forEach(function(e,t){i.runAnimation(a[t],l[t],onAnimationEndCallback)}),o.forEach(function(e,t){i.runAnimation(u[t],c[t],onAnimationEndCallback)}),n.forEach(function(e,t){i.runAnimation(p[t],d[t],onAnimationEndCallback)})},AnimationGroupUtils}(ni),nl=function(){function AnimationProperty(e,t,o){var n=this;this.animationOptions=e,this.update=t,this.getCurrentValue=o,this._debouncedSync=function(e){var t,o=this,n=!1,r=!1;return{run:function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];r=!1,t=i,n||(n=!0,queueMicrotask(function(){r||e.apply(o,t),r=!1,n=!1}))},cancel:function(){r=!0}}}(function(e){n.cancelAnimations();try{n._sync(e)}catch(t){n.update(e)}})}return AnimationProperty.prototype.onNextRender=function(e,t){var o=this,n=this.animationOptions.getRerenderEvent();if(n){var clear_1=function(){n.remove(nextRenderCallback_1),o.cancelCallback=void 0},nextRenderCallback_1=function(o,n){n.isCancel?t&&t():e(),clear_1()};this.cancelCallback=function(){t&&t(),clear_1()},n.add(nextRenderCallback_1)}else if(t6.isAvailable()){var r=t6.requestAnimationFrame(function(){e(),o.cancelCallback=void 0});this.cancelCallback=function(){t&&t(),cancelAnimationFrame(r),o.cancelCallback=void 0}}else throw Error("Can't get next render")},AnimationProperty.prototype.sync=function(e){this.animationOptions.isAnimationEnabled()?this._debouncedSync.run(e):(this.cancel(),this.update(e))},AnimationProperty.prototype.cancel=function(){this._debouncedSync.cancel(),this.cancelAnimations()},AnimationProperty.prototype.cancelAnimations=function(){this.cancelCallback&&this.cancelCallback(),this.animation.cancel()},AnimationProperty}(),nu=function(e){function AnimationBoolean(){var t=null!==e&&e.apply(this,arguments)||this;return t.animation=new ns,t}return nr(AnimationBoolean,e),AnimationBoolean.prototype._sync=function(e){var t=this;e!==this.getCurrentValue()?e?(this.onNextRender(function(){t.animation.onEnter(t.animationOptions)}),this.update(e)):this.animation.onLeave(this.animationOptions,function(){t.update(e)}):this.update(e)},AnimationBoolean}(nl),nc=function(e){function AnimationGroup(){var t=null!==e&&e.apply(this,arguments)||this;return t.animation=new na,t}return nr(AnimationGroup,e),AnimationGroup.prototype._sync=function(e){var t,o,n=this;e=[].concat(e);var r=[].concat(this.getCurrentValue()),i=null===(t=this.animationOptions.allowSyncRemovalAddition)||void 0===t||t,s=function(e,t,o){var n=new Map,r=new Map,i=new Map,s=new Map;e.forEach(function(e){var t=o(e);if(n.has(t))throw Error("keys must be unique");n.set(o(e),e)}),t.forEach(function(e){var t=o(e);if(r.has(t))throw Error("keys must be unique");r.set(t,e)});var a=[],l=[];r.forEach(function(e,t){n.has(t)?i.set(t,i.size):a.push(e)}),n.forEach(function(e,t){r.has(t)?s.set(t,s.size):l.push(e)});var u=[];i.forEach(function(e,t){var o=s.get(t),n=r.get(t);o!==e&&u.push({item:n,movedForward:o<e})});var c=Array(e.length),p=0,d=Array.from(i.keys());e.forEach(function(e,t){i.has(o(e))?(c[t]=r.get(d[p]),p++):c[t]=e});var h=new Map,m=[];c.forEach(function(e){var t=o(e);r.has(t)?m.length>0&&(h.set(t,m),m=[]):m.push(e)});var g=[];return r.forEach(function(e,t){h.has(t)&&h.get(t).forEach(function(e){g.push(e)}),g.push(e)}),m.forEach(function(e){g.push(e)}),{reorderedItems:u,deletedItems:l,addedItems:a,mergedItems:g}}(r,e,null!==(o=this.animationOptions.getKey)&&void 0!==o?o:function(e){return e});!i&&(s.reorderedItems.length>0||s.addedItems.length>0)&&(s.deletedItems=[],s.mergedItems=e),this.animationOptions.onCompareArrays&&this.animationOptions.onCompareArrays(s);var a=s.addedItems,l=s.reorderedItems,u=s.deletedItems,c=s.mergedItems,runAnimationCallback=function(){n.animation.runGroupAnimation(n.animationOptions,a,u,l,function(){u.length>0&&n.update(e)})};[a,u,l].some(function(e){return e.length>0})?u.length<=0||l.length>0||a.length>0?(this.onNextRender(runAnimationCallback,function(){n.update(e)}),this.update(c)):runAnimationCallback():this.update(e)},AnimationGroup}(nl),np=function(e){function AnimationTab(t,o,n,r){var i=e.call(this,t,o,n)||this;return i.mergeValues=r,i.animation=new na,i}return nr(AnimationTab,e),AnimationTab.prototype._sync=function(e){var t=this,o=[].concat(this.getCurrentValue());if(o[0]!==e[0]){var n=this.mergeValues?this.mergeValues(e,o):[].concat(o,e);this.onNextRender(function(){t.animation.runGroupAnimation(t.animationOptions,e,o,[],function(){t.update(e)})},function(){return t.update(e)}),this.update(n,!0)}else this.update(e)},AnimationTab}(nl),nd=(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]}
vendor: 4,148 bytes, line 5
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),survey_element_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},nh=function(e){function SurveyElementCore(){var t=e.call(this)||this;return t.createLocTitleProperty(),t}return nd(SurveyElementCore,e),SurveyElementCore.prototype.createLocTitleProperty=function(){return this.createLocalizableString("title",this,!0)},Object.defineProperty(SurveyElementCore.prototype,"isPage",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"isPanel",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"isQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"isSurvey",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"title",{get:function(){return this.getLocalizableStringText("title",this.getDefaultTitleValue())},set:function(e){this.setTitleValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"locTitle",{get:function(){return this.getLocalizableString("title")},enumerable:!1,configurable:!0}),SurveyElementCore.prototype.getDefaultTitleValue=function(){},SurveyElementCore.prototype.setTitleValue=function(e){this.setLocalizableStringText("title",e)},SurveyElementCore.prototype.updateDescriptionVisibility=function(e){var t=!1;if(this.isDesignMode){var o=ov.findProperty(this.getType(),"description");t=!!(null==o?void 0:o.placeholder)}this.hasDescription=!!e||t&&this.isDesignMode},Object.defineProperty(SurveyElementCore.prototype,"locDescription",{get:function(){return this.getLocalizableString("description")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"titleTagName",{get:function(){var e=this.getDefaultTitleTagName(),t=this.getSurvey();return t?t.getElementTitleTagName(this,e):e},enumerable:!1,configurable:!0}),SurveyElementCore.prototype.getDefaultTitleTagName=function(){return nC.titleTags[this.getType()]},Object.defineProperty(SurveyElementCore.prototype,"hasTitle",{get:function(){return this.title.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"hasTitleActions",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"hasTitleEvents",{get:function(){return this.hasTitleActions},enumerable:!1,configurable:!0}),SurveyElementCore.prototype.getTitleToolbar=function(){return null},SurveyElementCore.prototype.getTitleOwner=function(){},Object.defineProperty(SurveyElementCore.prototype,"isTitleOwner",{get:function(){return!!this.getTitleOwner()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"isTitleRenderedAsString",{get:function(){return this.getIsTitleRenderedAsString()},enumerable:!1,configurable:!0}),SurveyElementCore.prototype.toggleState=function(){},Object.defineProperty(SurveyElementCore.prototype,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"cssTitle",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"ariaTitleId",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"ariaDescriptionId",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"titleTabIndex",{get:function(){}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"titleAriaExpanded",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"titleAriaRole",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"ariaLabel",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementCore.prototype,"titleAriaLabel",{get:function(){return this.ariaLabel},enumerable:!1,configurable:!0}),SurveyElementCore.prototype.getIsTitleRenderedAsString=function(){return!this.isTitleOwner},survey_element_decorate([jsonobject_property({})],SurveyElementCore.prototype,"hasDescription",void 0),survey_element_decorate([jsonobject_property({localizable:!0,onSet:function(e,t){t.updateDescriptionVisibility(e)}})],SurveyElementCore.prototype,"description",void 0),SurveyElementCore}(oW);(f=t4||(t4={}))[f.InsideEmptyPanel=1]="InsideEmptyPanel",f[f.MultilineRight=2]="MultilineRight",f[f.MultilineLeft=3]="MultilineLeft",f[f.Top=4]="Top",f[f.Right=5]="Right",f[f.Bottom=6]="Bottom",f[f.Left=7]="Left";var nm=function(e){function SurveyElement(t){var o=e.call(this)||this;return o.selectedElementInDesignValue=o,o.disableDesignActions=SurveyElement.CreateDisabledDesignElements,o.parentQuestionValue=null,o.isContentElement=!1,o.isEditableTemplateElement=!1,o.isInteractiveDesignElement=!0,o.isSingleInRow=!0,o._renderedIsExpanded=!0,o._isAnimatingCollapseExpand=!1,o.animationCollapsed=new nu(o.getExpandCollapseAnimationOptions(),function(e){o._renderedIsExpanded=e,o.animationAllowed&&(e?o.isAnimatingCollapseExpand=!0:o.updateElementCss(!1))},function(){return o.renderedIsExpanded}),o.onAfterRenderElement=o.addEvent(),o.name=t,o.createNewArray("errors"),o.createNewArray("titleActions"),o.registerPropertyChangedHandlers(["isReadOnly"],function(){o.onReadOnlyChanged()}),o.registerPropertyChangedHandlers(["errors"],function(){o.updateVisibleErrors()}),o.registerPropertyChangedHandlers(["isSingleInRow"],function(){o.updateElementCss(!1)}),o.registerPropertyChangedHandlers(["minWidth","maxWidth","renderWidth","allowRootStyle","parent"],function(){o.updateRootStyle()}),o}return nd(SurveyElement,e),SurveyElement.getProgressInfoByElements=function(e,t){for(var o=oW.createProgressInfo(),n=0;n<e.length;n++)if(e[n].isVisible){var r=e[n].getProgressInfo();o.questionCount+=r.questionCount,o.answeredQuestionCount+=r.answeredQuestionCount,o.requiredQuestionCount+=r.requiredQuestionCount,o.requiredAnsweredQuestionCount+=r.requiredAnsweredQuestionCount}return t&&o.questionCount>0&&(0==o.requiredQuestionCount&&(o.requiredQuestionCount=1),o.answeredQuestionCount>0&&(o.requiredAnsweredQuestionCount=1)),o},SurveyElement.IsNeedScrollIntoView=function(e,t,o){var n=o?-1:e.getBoundingClientRect().top,r=n<0,i=-1;if(!r&&t&&(r=(i=e.getBoundingClientRect().left)<0),!r&&t6.isAvailable()){var s=t6.getInnerHeight();if(!(r=s>0&&s<n)&&t){var a=t6.getInnerWidth();r=a>0&&a<i}}return r},SurveyElement.ScrollIntoView=function(e,t,o){if(e.scrollIntoView(t),"function"==typeof o){var n=null,r=0,checkPos_1=function(){var t=e.getBoundingClientRect().top;if(t===n){if(r++>2){o();return}}else n=t,r=0;requestAnimationFrame(checkPos_1)};t6.requestAnimationFrame(checkPos_1)}},SurveyElement.ScrollElementToTop=function(e,t,o,n){var r=nC.environment.root;if(!e||void 0===r)return!1;var i=r.getElementById(e);return SurveyElement.ScrollElementToViewCore(i,!1,t,o,n)},SurveyElement.ScrollElementToViewCore=function(e,t,o,n,r){if(!e||!e.scrollIntoView)return r&&r(),!1;var i=SurveyElement.IsNeedScrollIntoView(e,t,o);return i?SurveyElement.ScrollIntoView(e,n,r):r&&r(),i},SurveyElement.GetFirstNonTextElement=function(e,t){if(void 0===t&&(t=!1),!e||!e.length||0==e.length)return null;if(t){var o=e[0];"#text"===o.nodeName&&(o.data=""),"#text"===(o=e[e.length-1]).nodeName&&(o.data="")}for(var n=0;n<e.length;n++)if("#text"!=e[n].nodeName&&"#comment"!=e[n].nodeName)return e[n];return null},SurveyElement.FocusElement=function(e,t,o){if(!e||!t8.isAvailable())return!1;var n=!t&&SurveyElement.focusElementCore(e,o);return n||setTimeout(function(){SurveyElement.focusElementCore(e,o)},t?100:10),n},SurveyElement.focusElementCore=function(e,t){var o=nC.environment.root;if(!o&&!t)return!1;var n=t?t.querySelector("#"+CSS.escape(e)):o.getElementById(e);return!!n&&!n.disabled&&"none"!==n.style.display&&null!==n.offsetParent&&(SurveyElement.ScrollElementToViewCore(n,!0,
vendor: 16,955 bytes, line 5
5!1),n.focus(),!0)},Object.defineProperty(SurveyElement.prototype,"colSpan",{get:function(){return this.getPropertyValue("colSpan",1)},set:function(e){this.setPropertyValue("colSpan",e)},enumerable:!1,configurable:!0}),SurveyElement.prototype.onPropertyValueChanged=function(t,o,n){e.prototype.onPropertyValueChanged.call(this,t,o,n),"state"===t&&(this.updateElementCss(!1),this.notifyStateChanged(o),this.stateChangedCallback&&this.stateChangedCallback())},SurveyElement.prototype.getSkeletonComponentNameCore=function(){return this.survey?this.survey.getSkeletonComponentName(this):""},Object.defineProperty(SurveyElement.prototype,"parentQuestion",{get:function(){return this.parentQuestionValue},enumerable:!1,configurable:!0}),SurveyElement.prototype.setParentQuestion=function(e){this.parentQuestionValue=e,this.onParentQuestionChanged()},SurveyElement.prototype.onParentQuestionChanged=function(){},SurveyElement.prototype.updateElementVisibility=function(){this.setPropertyValue("isVisible",this.isVisible)},Object.defineProperty(SurveyElement.prototype,"skeletonComponentName",{get:function(){return this.getSkeletonComponentNameCore()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"state",{get:function(){return this.getPropertyValue("state")},set:function(e){this.setPropertyValue("state",e),this.renderedIsExpanded=!this.isCollapsed},enumerable:!1,configurable:!0}),SurveyElement.prototype.notifyStateChanged=function(e){this.survey&&this.survey.elementContentVisibilityChanged(this)},Object.defineProperty(SurveyElement.prototype,"isCollapsed",{get:function(){return"collapsed"===this.state&&!this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"isExpanded",{get:function(){return"expanded"===this.state},enumerable:!1,configurable:!0}),SurveyElement.prototype.collapse=function(){this.isDesignMode||(this.state="collapsed")},SurveyElement.prototype.expand=function(){this.state="expanded"},SurveyElement.prototype.toggleState=function(){return this.isCollapsed?(this.expand(),!0):!this.isExpanded||(this.collapse(),!1)},Object.defineProperty(SurveyElement.prototype,"hasStateButton",{get:function(){return this.isExpanded||this.isCollapsed},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"shortcutText",{get:function(){return this.title||this.name},enumerable:!1,configurable:!0}),SurveyElement.prototype.getTitleToolbar=function(){return this.titleToolbarValue||(this.titleToolbarValue=this.createActionContainer(!0),this.titleToolbarValue.locOwner=this,this.titleToolbarValue.containerCss=(this.isPanel?this.cssClasses.panel.titleBar:this.cssClasses.titleBar)||"sv-action-title-bar",this.titleToolbarValue.setItems(this.getTitleActions())),this.titleToolbarValue},SurveyElement.prototype.createActionContainer=function(e){var t=e?new nn:new o0;return this.survey&&this.survey.getCss().actionBar&&(t.cssClasses=this.survey.getCss().actionBar),t},Object.defineProperty(SurveyElement.prototype,"titleActions",{get:function(){return this.getPropertyValue("titleActions")},enumerable:!1,configurable:!0}),SurveyElement.prototype.getTitleActions=function(){return this.isTitleActionRequested||(this.updateTitleActions(),this.isTitleActionRequested=!0),this.titleActions},SurveyElement.prototype.getDefaultTitleActions=function(){return[]},SurveyElement.prototype.updateTitleActions=function(){var e=this.getDefaultTitleActions();this.survey&&(e=this.survey.getUpdatedElementTitleActions(this,e)),this.setPropertyValue("titleActions",e)},SurveyElement.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.titleToolbarValue&&this.titleToolbarValue.locStrsChanged()},Object.defineProperty(SurveyElement.prototype,"hasTitleActions",{get:function(){return this.getTitleActions().length>0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"hasTitleEvents",{get:function(){return void 0!==this.state&&"default"!==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"titleTabIndex",{get:function(){return this.isPage||"default"===this.state?void 0:0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"titleAriaExpanded",{get:function(){if(!this.isPage&&"default"!==this.state)return"expanded"===this.state?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"titleAriaRole",{get:function(){if(!this.isPage&&"default"!==this.state)return"button"},enumerable:!1,configurable:!0}),SurveyElement.prototype.setSurveyImpl=function(e,t){this.surveyImplValue=e,this.surveyImplValue?(this.surveyDataValue=this.surveyImplValue.getSurveyData(),this.setSurveyCore(this.surveyImplValue.getSurvey()),this.textProcessorValue=this.surveyImplValue.getTextProcessor(),this.onSetData()):(this.setSurveyCore(null),this.surveyDataValue=null),this.survey&&(this.updateDescriptionVisibility(this.description),this.clearCssClasses()),this.blockAnimations(),this.renderedIsExpanded=!this.isCollapsed,this.releaseAnimations()},SurveyElement.prototype.canRunConditions=function(){return e.prototype.canRunConditions.call(this)&&!!this.data},SurveyElement.prototype.getDataFilteredValues=function(){return this.data?this.data.getFilteredValues():{}},SurveyElement.prototype.getDataFilteredProperties=function(){var e=this.data?this.data.getFilteredProperties():{};return e.question=this,e},Object.defineProperty(SurveyElement.prototype,"surveyImpl",{get:function(){return this.surveyImplValue},enumerable:!1,configurable:!0}),SurveyElement.prototype.__setData=function(e){nC.supportCreatorV2&&(this.surveyDataValue=e)},Object.defineProperty(SurveyElement.prototype,"data",{get:function(){return this.surveyDataValue},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"survey",{get:function(){return this.getSurvey()},enumerable:!1,configurable:!0}),SurveyElement.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.surveyValue||this.surveyImplValue&&this.setSurveyCore(this.surveyImplValue.getSurvey()),this.surveyValue},SurveyElement.prototype.setSurveyCore=function(e){this.surveyValue=e,this.surveyChangedCallback&&this.surveyChangedCallback()},Object.defineProperty(SurveyElement.prototype,"skeletonHeight",{get:function(){var e=void 0;return this.survey&&this.survey.skeletonHeight&&(e=this.survey.skeletonHeight+"px"),e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"isInternal",{get:function(){return this.isContentElement},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"areInvisibleElementsShowing",{get:function(){return!!this.survey&&this.survey.areInvisibleElementsShowing&&!this.isContentElement},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"isVisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"isReadOnly",{get:function(){return this.readOnly},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"readOnly",{get:function(){return this.getPropertyValue("readOnly")},set:function(e){this.readOnly==e||(this.setPropertyValue("readOnly",e),this.isLoadingFromJson||this.setPropertyValue("isReadOnly",this.isReadOnly))},enumerable:!1,configurable:!0}),SurveyElement.prototype.onReadOnlyChanged=function(){this.readOnlyChangedCallback&&this.readOnlyChangedCallback()},Object.defineProperty(SurveyElement.prototype,"css",{get:function(){return this.survey?this.survey.getCss():{}},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"cssClassesValue",{get:function(){var e=this.getPropertyValueWithoutDefault("cssClassesValue");return e||this.isCssValueCalculating||(this.isCssValueCalculating=!0,e=this.createCssClassesValue(),this.isCssValueCalculating=!1),e},enumerable:!1,configurable:!0}),SurveyElement.prototype.ensureCssClassesValue=function(){this.cssClassesValue||this.createCssClassesValue()},SurveyElement.prototype.createCssClassesValue=function(){var e=this.calcCssClasses(this.css);return this.setPropertyValue("cssClassesValue",e),this.onCalcCssClasses(e),this.updateElementCssCore(this.cssClassesValue),e},SurveyElement.prototype.onCalcCssClasses=function(e){},Object.defineProperty(SurveyElement.prototype,"cssClasses",{get:function(){return(this.cssClassesValue,this.survey)?(this.ensureCssClassesValue(),this.cssClassesValue):this.calcCssClasses(this.css)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"cssTitleNumber",{get:function(){var e=this.cssClasses;return e.number?e.number:e.panel?e.panel.number:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"cssRequiredText",{get:function(){var e=this.cssClasses;return e.requiredText||e.panel&&e.panel.requiredText},enumerable:!1,configurable:!0}),SurveyElement.prototype.getCssTitleExpandableSvg=function(){return"default"===this.state?null:this.cssClasses.titleExpandableSvg},SurveyElement.prototype.calcCssClasses=function(e){},SurveyElement.prototype.updateElementCssCore=function(e){},Object.defineProperty(SurveyElement.prototype,"cssError",{get:function(){return""},enumerable:!1,configurable:!0}),SurveyElement.prototype.updateElementCss=function(e){this.clearCssClasses()},SurveyElement.prototype.clearCssClasses=function(){this.resetPropertyValue("cssClassesValue")},SurveyElement.prototype.getIsLoadingFromJson=function(){return!!e.prototype.getIsLoadingFromJson.call(this)||!!this.surveyValue&&this.surveyValue.isLoadingFromJson},Object.defineProperty(SurveyElement.prototype,"name",{get:function(){return this.getPropertyValue("name","")},set:function(e){var t=this.name;this.setPropertyValue("name",this.getValidName(e)),!this.isLoadingFromJson&&t&&this.onNameChanged(t)},enumerable:!1,configurable:!0}),SurveyElement.prototype.getValidName=function(e){return e},SurveyElement.prototype.onNameChanged=function(e){},SurveyElement.prototype.updateBindingValue=function(e,t){this.data&&!this.isTwoValueEquals(t,this.data.getValue(e))&&this.data.setValue(e,t,!1)},Object.defineProperty(SurveyElement.prototype,"errors",{get:function(){return this.getPropertyValue("errors")},set:function(e){this.setPropertyValue("errors",e)},enumerable:!1,configurable:!0}),SurveyElement.prototype.updateVisibleErrors=function(){for(var e=0,t=0;t<this.errors.length;t++)this.errors[t].visible&&e++;this.hasVisibleErrors=e>0},Object.defineProperty(SurveyElement.prototype,"containsErrors",{get:function(){return this.getPropertyValue("containsErrors",!1)},enumerable:!1,configurable:!0}),SurveyElement.prototype.updateContainsErrors=function(){this.setPropertyValue("containsErrors",this.getContainsErrors())},SurveyElement.prototype.getContainsErrors=function(){return this.errors.length>0},Object.defineProperty(SurveyElement.prototype,"selectedElementInDesign",{get:function(){return this.selectedElementInDesignValue},set:function(e){this.selectedElementInDesignValue=e},enumerable:!1,configurable:!0}),SurveyElement.prototype.updateCustomWidgets=function(){},SurveyElement.prototype.onSurveyLoad=function(){},Object.defineProperty(SurveyElement.prototype,"wasRendered",{get:function(){return!!this.wasRenderedValue},enumerable:!1,configurable:!0}),SurveyElement.prototype.onFirstRendering=function(){this.wasRendered||(this.wasRenderedValue=!0,this.onFirstRenderingCore())},SurveyElement.prototype.onFirstRenderingCore=function(){this.ensureCssClassesValue()},SurveyElement.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.survey||this.onSurveyLoad(),this.updateDescriptionVisibility(this.description)},SurveyElement.prototype.setVisibleIndex=function(e){return 0},SurveyElement.prototype.delete=function(e){},SurveyElement.prototype.getLocale=function(){return this.survey?this.survey.getLocale():this.locOwner?this.locOwner.getLocale():""},SurveyElement.prototype.getMarkdownHtml=function(e,t){return this.survey?this.survey.getSurveyMarkdownHtml(this,e,t):this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},SurveyElement.prototype.getRenderer=function(e){return this.survey&&"function"==typeof this.survey.getRendererForString?this.survey.getRendererForString(this,e):this.locOwner&&"function"==typeof this.locOwner.getRenderer?this.locOwner.getRenderer(e):null},SurveyElement.prototype.getRendererContext=function(e){return this.survey&&"function"==typeof this.survey.getRendererContextForString?this.survey.getRendererContextForString(this,e):this.locOwner&&"function"==typeof this.locOwner.getRendererContext?this.locOwner.getRendererContext(e):e},SurveyElement.prototype.getProcessedText=function(e){return this.isLoadingFromJson?e:this.textProcessor?this.textProcessor.processText(e,this.getUseDisplayValuesInDynamicTexts()):this.locOwner?this.locOwner.getProcessedText(e):e},SurveyElement.prototype.getUseDisplayValuesInDynamicTexts=function(){return!0},SurveyElement.prototype.removeSelfFromList=function(e){if(e&&Array.isArray(e)){var t=e.indexOf(this);t>-1&&e.splice(t,1)}},Object.defineProperty(SurveyElement.prototype,"textProcessor",{get:function(){return this.textProcessorValue},enumerable:!1,configurable:!0}),SurveyElement.prototype.getProcessedHtml=function(e){return e&&this.textProcessor?this.textProcessor.processText(e,!0):e},SurveyElement.prototype.onSetData=function(){},Object.defineProperty(SurveyElement.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.setPropertyValue("parent",e)},enumerable:!1,configurable:!0}),SurveyElement.prototype.getPage=function(e){for(;e&&e.parent;)e=e.parent;return e&&e.isPage?e:null},SurveyElement.prototype.moveToBase=function(e,t,o){if(void 0===o&&(o=null),!t)return!1;e.removeElement(this);var n=-1;return oe.isNumber(o)&&(n=parseInt(o)),-1==n&&o&&o.getType&&(n=t.indexOf(o)),t.addElement(this,n),!0},SurveyElement.prototype.setPage=function(e,t){var o=this.getPage(e);this.prevSurvey=this.survey,"string"==typeof t&&this.getSurvey().pages.forEach(function(e){t===e.name&&(t=e)}),o!==t&&(e&&e.removeElement(this),t&&t.addElement(this,-1),this.prevSurvey=void 0)},SurveyElement.prototype.getSearchableLocKeys=function(e){e.push("title"),e.push("description")},Object.defineProperty(SurveyElement.prototype,"isDefaultV2Theme",{get:function(){return this.survey&&-1!==this.survey.getCss().root.indexOf("sd-root-modern")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"hasParent",{get:function(){return this.parent&&!this.parent.isPage||void 0===this.parent},enumerable:!1,configurable:!0}),SurveyElement.prototype.shouldAddRunnerStyles=function(){return!this.isDesignMode&&this.isDefaultV2Theme},Object.defineProperty(SurveyElement.prototype,"isCompact",{get:function(){return this.survey&&this.survey.isCompact},enumerable:!1,configurable:!0}),SurveyElement.prototype.canHaveFrameStyles=function(){var e;return(null===(e=this.survey)||void 0===e?void 0:e.currentSingleElement)===this||void 0!==this.parent&&(!this.hasParent||this.parent&&this.parent.showPanelAsPage)},SurveyElement.prototype.getHasFrameV2=function(){return this.shouldAddRunnerStyles()&&this.canHaveFrameStyles()},SurveyElement.prototype.getIsNested=function(){return this.shouldAddRunnerStyles()&&!this.canHaveFrameStyles()},SurveyElement.prototype.getCssRoot=function(e){var t=!!this.isCollapsed||!!this.isExpanded;return new oY().append(e.withFrame,this.getHasFrameV2()&&!this.isCompact).append(e.compact,this.isCompact&&this.getHasFrameV2()).append(e.collapsed,!!this.isCollapsed).append(e.expandableAnimating,t&&this.isAnimatingCollapseExpand).append(e.expanded,!!this.isExpanded&&this.renderedIsExpanded).append(e.expandable,t).append(e.nested,this.getIsNested()).toString()},Object.defineProperty(SurveyElement.prototype,"width",{get:function(){return this.getPropertyValue("width","")},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(e){this.setPropertyValue("minWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"maxWidth",{get:function(){return this.getPropertyValue("maxWidth")},set:function(e){this.setPropertyValue("maxWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"renderWidth",{get:function(){return this.getPropertyValue("renderWidth","")},set:function(e){this.setPropertyValue("renderWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"indent",{get:function(){return this.getPropertyValue("indent")},set:function(e){this.setPropertyValue("indent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"rightIndent",{get:function(){return this.getPropertyValue("rightIndent",0)},set:function(e){this.setPropertyValue("rightIndent",e)}
5,enumerable:!1,configurable:!0}),SurveyElement.prototype.getRootStyle=function(){var e={};return this.paddingLeft&&(e["--sv-element-add-padding-left"]=this.paddingLeft),this.paddingRight&&(e["--sv-element-add-padding-right"]=this.paddingRight),e},Object.defineProperty(SurveyElement.prototype,"paddingLeft",{get:function(){var e=this;return this.getPropertyValue("paddingLeft",void 0,function(){return e.calcPaddingLeft()})},enumerable:!1,configurable:!0}),SurveyElement.prototype.calcPaddingLeft=function(){return""},Object.defineProperty(SurveyElement.prototype,"paddingRight",{get:function(){var e=this;return this.getPropertyValue("paddingRight",void 0,function(){return e.calcPaddingRight()})},set:function(e){this.setPropertyValue("paddingRight",e)},enumerable:!1,configurable:!0}),SurveyElement.prototype.calcPaddingRight=function(){return""},SurveyElement.prototype.resetIndents=function(){this.resetPropertyValue("paddingLeft"),this.resetPropertyValue("paddingRight")},SurveyElement.prototype.updateRootStyle=function(){var e,t={};if(this.parent&&(e=this.parent.getColumsForElement(this).reduce(function(e,t){return t.effectiveWidth+e},0))&&100!==e&&(t.flexGrow=1,t.flexShrink=0,t.flexBasis=e+"%",t.minWidth=void 0,t.maxWidth=this.maxWidth),0==Object.keys(t).length){var o=""+this.minWidth;
5if(o&&"auto"!=o){if(-1!=o.indexOf("px")&&this.survey){var n=parseFloat(o=o.replace("px",""));isNaN(n)||(o=""+(o=n*this.survey.widthScale/100)+"px")}o="min(100%, "+o+")"}this.allowRootStyle&&this.renderWidth&&(t.flexGrow=1,t.flexShrink=1,t.flexBasis=this.renderWidth,t.minWidth=o,t.maxWidth=this.maxWidth)}this.rootStyle=t},SurveyElement.prototype.isContainsSelection=function(e){var t=void 0,o=t8.getDocument();if(t8.isAvailable()&&o&&o.selection)t=o.selection.createRange().parentElement();else{var n=t6.getSelection();if(n&&n.rangeCount>0){var r=n.getRangeAt(0);r.startOffset!==r.endOffset&&(t=r.startContainer.parentNode)}}return t==e},Object.defineProperty(SurveyElement.prototype,"clickTitleFunction",{get:function(){var e=this;if(this.needClickTitleFunction())return function(t){if(!(t&&e.isContainsSelection(t.target)))return e.processTitleClick()}},enumerable:!1,configurable:!0}),SurveyElement.prototype.needClickTitleFunction=function(){return"default"!==this.state},SurveyElement.prototype.processTitleClick=function(){"default"!==this.state&&this.toggleState()},Object.defineProperty(SurveyElement.prototype,"hasAdditionalTitleToolbar",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"additionalTitleToolbar",{get:function(){return this.getAdditionalTitleToolbar()},enumerable:!1,configurable:!0}),SurveyElement.prototype.getAdditionalTitleToolbar=function(){return null},SurveyElement.prototype.getCssTitle=function(e){if(!e)return"";var t="default"!==this.state;return new oY().append(e.title).append(e.titleNumInline,(this.no||"").length>4||t).append(e.titleExpandable,t).append(e.titleExpanded,this.isExpanded).append(e.titleCollapsed,this.isCollapsed).append(e.titleDisabled,this.isDisabledStyle).append(e.titleReadOnly,this.isReadOnly).append(e.titleOnError,this.containsErrors).toString()},Object.defineProperty(SurveyElement.prototype,"isDisabledStyle",{get:function(){return this.getIsDisableAndReadOnlyStyles(!1)[1]},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"isReadOnlyStyle",{get:function(){return this.getIsDisableAndReadOnlyStyles(!1)[0]},enumerable:!1,configurable:!0}),SurveyElement.prototype.getIsDisableAndReadOnlyStyles=function(e){var t=this.isPreviewStyle,o=e||this.isReadOnly,n=!this.isDefaultV2Theme&&(o||t);return[o&&!t,n]},Object.defineProperty(SurveyElement.prototype,"isPreviewStyle",{get:function(){return!!this.survey&&"preview"===this.survey.state},enumerable:!1,configurable:!0}),SurveyElement.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.updateDescriptionVisibility(this.description),this.errors.length>0&&this.errors.forEach(function(e){e.updateText()})},SurveyElement.prototype.setWrapperElement=function(e){this.wrapperElement=e},SurveyElement.prototype.getWrapperElement=function(){return this.wrapperElement},Object.defineProperty(SurveyElement.prototype,"isAnimatingCollapseExpand",{get:function(){return this._isAnimatingCollapseExpand||this._renderedIsExpanded!=this.isExpanded},set:function(e){e!==this._isAnimatingCollapseExpand&&(this._isAnimatingCollapseExpand=e,this.updateElementCss(!1))},enumerable:!1,configurable:!0}),SurveyElement.prototype.onElementExpanded=function(e){},SurveyElement.prototype.getExpandCollapseAnimationOptions=function(){var e=this,beforeRunAnimation=function(t){e.isAnimatingCollapseExpand=!0,prepareElementForVerticalAnimation(t)},afterRunAnimation=function(t){e.isAnimatingCollapseExpand=!1,cleanHtmlElementAfterAnimation(t)};return{getRerenderEvent:function(){return e.onElementRerendered},getEnterOptions:function(){return{cssClass:(e.isPanel?e.cssClasses.panel:e.cssClasses).contentEnter,onBeforeRunAnimation:beforeRunAnimation,onAfterRunAnimation:function(t){afterRunAnimation(t),e.onElementExpanded(!0)}}},getLeaveOptions:function(){return{cssClass:(e.isPanel?e.cssClasses.panel:e.cssClasses).contentLeave,onBeforeRunAnimation:beforeRunAnimation,onAfterRunAnimation:afterRunAnimation}},getAnimatedElement:function(){var t,o=e.isPanel?e.cssClasses.panel:e.cssClasses;
5if(o.content){var n=classesToSelector(o.content);if(n)return null===(t=e.getWrapperElement())||void 0===t?void 0:t.querySelector(":scope "+n)}},isAnimationEnabled:function(){return e.isExpandCollapseAnimationEnabled}}},Object.defineProperty(SurveyElement.prototype,"isExpandCollapseAnimationEnabled",{get:function(){return this.animationAllowed&&!this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElement.prototype,"renderedIsExpanded",{get:function(){return!!this._renderedIsExpanded},set:function(e){var t=this._renderedIsExpanded;this.animationCollapsed.sync(e),this.isExpandCollapseAnimationEnabled||t||!this.renderedIsExpanded||this.onElementExpanded(!1)},enumerable:!1,configurable:!0}),SurveyElement.prototype.getIsAnimationAllowed=function(){return e.prototype.getIsAnimationAllowed.call(this)&&!!this.survey&&!this.survey.isEndLoadingFromJson},SurveyElement.prototype.afterRenderCore=function(e){this.onAfterRenderElement.fire(this,{htmlElement:e})},SurveyElement.prototype.dispose=function(){e.prototype.dispose.call(this),this.titleToolbarValue&&this.titleToolbarValue.dispose()},SurveyElement.CreateDisabledDesignElements=!1,survey_element_decorate([jsonobject_property({defaultValue:null})],SurveyElement.prototype,"dragTypeOverMe",void 0),survey_element_decorate([jsonobject_property({defaultValue:!1})],SurveyElement.prototype,"isDragMe",void 0),survey_element_decorate([jsonobject_property({onSet:function(e,t){t.colSpan=e}})],SurveyElement.prototype,"effectiveColSpan",void 0),survey_element_decorate([jsonobject_property({defaultValue:!1})],SurveyElement.prototype,"hasVisibleErrors",void 0),survey_element_decorate([jsonobject_property({defaultValue:!0})],SurveyElement.prototype,"isSingleInRow",void 0),survey_element_decorate([jsonobject_property({defaultValue:!0})],SurveyElement.prototype,"allowRootStyle",void 0),survey_element_decorate([jsonobject_property()],SurveyElement.prototype,"rootStyle",void 0),survey_element_decorate([jsonobject_property()],SurveyElement.prototype,"_renderedIsExpanded",void 0),SurveyElement}(nh),ng=function(){function RenderingCompletedAwaiter(e,t,o){var n=this;void 0===o&&(o=100),this._elements=e,this._renderedHandler=t,this._elementsToRenderCount=0,this._elementsToRenderTimer=void 0,this._elementRenderedHandler=function(e,t){var o;null===(o=e.onAfterRenderElement)||void 0===o||o.remove(n._elementRenderedHandler),n._elementsToRenderCount--,n._elementsToRenderCount<=0&&n.visibleElementsRendered()},this._elements.forEach(function(e){e.onAfterRenderElement&&(e.onAfterRenderElement.add(n._elementRenderedHandler),n._elementsToRenderCount++)}),this._elementsToRenderCount>0?this._elementsToRenderTimer=setTimeout(function(){n._elementsToRenderCount>0&&n.visibleElementsRendered()},o):this.visibleElementsRendered()}return RenderingCompletedAwaiter.prototype.stopWaitingForElementsRendering=function(){var e=this;this._elementsToRenderTimer&&(clearTimeout(this._elementsToRenderTimer),this._elementsToRenderTimer=void 0),this._elements.forEach(function(t){var o;null===(o=t.onAfterRenderElement)||void 0===o||o.remove(e._elementRenderedHandler)}),this._elementsToRenderCount=0},RenderingCompletedAwaiter.prototype.visibleElementsRendered=function(){var e=this._renderedHandler;this.dispose(),"function"==typeof e&&e()},RenderingCompletedAwaiter.prototype.dispose=function(){this.stopWaitingForElementsRendering(),this._elements=void 0,this._renderedHandler=void 0},RenderingCompletedAwaiter}(),nf=function(){function LocalizableString(e,t,o,n){void 0===t&&(t=!1),this.owner=e,this.useMarkdown=t,this.name=o,this.values={},this.htmlValues={},this.onStringChanged=new oJ,this._localizationName=n,this.onCreating()}return Object.defineProperty(LocalizableString,"defaultLocale",{get:function(){return nC.localization.defaultLocaleName},set:function(e){nC.localization.defaultLocaleName=e},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"localizationName",{get:function(){return this._localizationName},set:function(e){this._localizationName!=e&&(this._localizationName=e,this.strChanged())}
vendor: 4,788 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"allowLineBreaks",{get:function(){var e;return void 0===this._allowLineBreaks&&(this._allowLineBreaks=!1,this.name&&this.owner instanceof nh&&(this._allowLineBreaks=(null===(e=ov.findProperty(this.owner.getType(),this.name))||void 0===e?void 0:e.type)=="text")),this._allowLineBreaks},enumerable:!1,configurable:!0}),LocalizableString.prototype.getIsMultiple=function(){return!1},Object.defineProperty(LocalizableString.prototype,"locale",{get:function(){if(this.owner&&this.owner.getLocale){var e=this.owner.getLocale();if(e||!this.sharedData)return e}return this.sharedData?this.sharedData.locale:""},enumerable:!1,configurable:!0}),LocalizableString.prototype.strChanged=function(){this.searchableText=void 0,(void 0!==this.renderedText||!this.isEmpty||this.onGetTextCallback||this.localizationName)&&(this.calculatedTextValue=this.calcText(),this.renderedText!==this.calculatedTextValue&&(this.renderedText=void 0,this.calculatedTextValue=void 0),this.htmlValues={},this.onChanged(),this.onStringChanged.fire(this,{}))},Object.defineProperty(LocalizableString.prototype,"text",{get:function(){return this.pureText},set:function(e){this.setLocaleText(this.locale,e)},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"calculatedText",{get:function(){return this.renderedText=void 0!==this.calculatedTextValue?this.calculatedTextValue:this.calcText(),this.calculatedTextValue=void 0,this.renderedText},enumerable:!1,configurable:!0}),LocalizableString.prototype.calcText=function(){var e=this.pureText,t=e;return t&&this.owner&&this.owner.getProcessedText&&t.indexOf("{")>-1&&(t=this.owner.getProcessedText(t)),this.onGetTextCallback&&(t=this.onGetTextCallback(t,e)),t},Object.defineProperty(LocalizableString.prototype,"pureText",{get:function(){var e=this.locale;e||(e=this.defaultLoc);var t=this.getValue(e);if(this.isValueEmpty(t)&&e===this.defaultLoc&&(t=this.getValue(oo.defaultLocale)),this.isValueEmpty(t)){var o=this.getRootDialect(e);o&&(t=this.getValue(o))}return this.isValueEmpty(t)&&e!==this.defaultLoc&&(t=this.getValue(this.defaultLoc)),this.isValueEmpty(t)&&this.getLocalizationName()&&(t=this.getLocalizationStr(),this.onGetLocalizationTextCallback&&(t=this.onGetLocalizationTextCallback(t))),t||(t=this.defaultValue||""),t},enumerable:!1,configurable:!0}),LocalizableString.prototype.getRootDialect=function(e){if(!e)return e;var t=e.indexOf("-");return t>-1?e.substring(0,t):""},LocalizableString.prototype.getLocalizationName=function(){return this.sharedData?this.sharedData.localizationName:this.localizationName},LocalizableString.prototype.getLocalizationStr=function(){var e=this.getLocalizationName();return e?getLocaleString(e,this.locale):""},Object.defineProperty(LocalizableString.prototype,"hasHtml",{get:function(){return this.hasHtmlValue()},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"html",{get:function(){return this.hasHtml?this.getHtmlValue():""},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"isEmpty",{get:function(){return 0==this.getValuesKeys().length},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"textOrHtml",{get:function(){return this.hasHtml?this.getHtmlValue():this.calculatedText},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"renderedHtml",{get:function(){return this.textOrHtml},enumerable:!1,configurable:!0}),LocalizableString.prototype.getLocaleText=function(e){return this.getLocaleTextCore(e)||""},LocalizableString.prototype.getLocaleTextCore=function(e){return e||(e=this.defaultLoc),this.getValue(e)},LocalizableString.prototype.isLocaleTextEqualsWithDefault=function(e,t){var o=this.getLocaleTextCore(e);return o===t||this.isValueEmpty(o)&&this.isValueEmpty(t)},LocalizableString.prototype.clear=function(){this.setJson(void 0)},LocalizableString.prototype.clearLocale=function(e){this.setLocaleText(e,void 0)},LocalizableString.prototype.setLocaleText=function(e,t){if((e=this.getValueLoc(e))&&void 0===t){var o=this.getValue(e);void 0!==o&&(this.deleteValue(e),this.fireStrChanged(e,o));return}if(!this.storeDefaultText&&this.isLocaleTextEqualsWithDefault(e,t)){if(!this.isValueEmpty(t)||e&&e!==this.defaultLoc)return;var n=oo.defaultLocale,r=this.getValue(n);n&&!this.isValueEmpty(r)&&(this.setValue(n,t),this.fireStrChanged(n,r));return}if(nC.localization.storeDuplicatedTranslations||this.isValueEmpty(t)||!e||e==this.defaultLoc||this.getValue(e)||t!=this.getLocaleText(this.defaultLoc)){var i=this.curLocale;e||(e=this.defaultLoc);var s=this.onStrChanged&&e===i?this.pureText:void 0;delete this.htmlValues[e],this.isValueEmpty(t)?this.deleteValue(e):"str
5ing"==typeof t&&(this.canRemoveLocValue(e,t)?this.setLocaleText(e,null):(this.setValue(e,t),e==this.defaultLoc&&this.deleteValuesEqualsToDefault(t))),this.fireStrChanged(e,s)}},LocalizableString.prototype.isValueEmpty=function(e){return null==e||!this.localizationName&&""===e},Object.defineProperty(LocalizableString.prototype,"curLocale",{get:function(){return this.locale?this.locale:this.defaultLoc},enumerable:!1,configurable:!0}),LocalizableString.prototype.canRemoveLocValue=function(e,t){if(nC.localization.storeDuplicatedTranslations||e===this.defaultLoc)return!1;var o=this.getRootDialect(e);if(!o)return t==this.getLocaleText(this.defaultLoc);var n=this.getLocaleText(o);return n?n==t:this.canRemoveLocValue(o,t)},LocalizableString.prototype.fireStrChanged=function(e,t){if(this.strChanged(),this.onStrChanged){var o=this.pureText;(e!==this.curLocale||t!==o)&&this.onStrChanged(t,o)}},LocalizableString.prototype.hasNonDefaultText=function(){var e=this.getValuesKeys();return 0!=e.length&&(e.length>1||e[0]!=this.defaultLoc)},LocalizableString.prototype.getLocales=function(){var e=this.getValuesKeys();return 0==e.length?[]:e},LocalizableString.prototype.getJson=function(){if(this.sharedData)return this.sharedData.getJson();var e=this.getValuesKeys();if(0==e.length){if(this.serializeCallBackText){var t=this.calcText();if(t)return t}return null}if(1==e.length&&e[0]==nC.localization.defaultLocaleName&&!nC.serialization.localizableStringSerializeAsObject)return this.values[e[0]];var o={};for(var n in this.values)o[n]=this.values[n];return o},LocalizableString.prototype.setJson=function(e,t){if(this.sharedData){this.sharedData.setJson(e,t);return}if(this.values={},this.htmlValues={},null!=e){if(t)"string"==typeof e?this.values[nC.defaultLocaleName]=e:(this.values=e,delete this.values.pos);else{if("string"==typeof e)this.setLocaleText(null,e);else for(var o in e)this.setLocaleText(o,e[o]);this.strChanged()}}},Object.defineProperty(LocalizableString.prototype,"renderAs",{get:function(){return this.owner&&"function"==typeof this.owner.getRenderer&&this.owner.getRenderer(this.name)||LocalizableString.defaultRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableString.prototype,"renderAsData",{get:function(){return this.owner&&"function"==typeof this.owner.getRendererContext&&this.owner.getRendererContext(this)||this},enumerable:!1,configurable:!0}),LocalizableString.prototype.equals=function(e){return this.sharedData?this.sharedData.equals(e):!!e&&!!e.values&&oe.isTwoValueEquals(this.values,e.values,!1,!0,!1)},LocalizableString.prototype.setFindText=function(e){if(this.searchText!=e){if(this.searchText=e,!this.searchableText){var t=this.textOrHtml;this.searchableText=t?t.toLowerCase():""}var o=this.searchableText,n=o&&e?o.indexOf(e):void 0;return n<0&&(n=void 0),(void 0!=n||this.searchIndex!=n)&&(this.searchIndex=n,this.onSearchChanged&&this.onSearchChanged()),void 0!=this.searchIndex}},LocalizableString.prototype.onChanged=function(){},LocalizableString.prototype.onCreating=function(){},LocalizableString.prototype.hasHtmlValue=function(){if(!this.owner||!this.useMarkdown)return!1;var e=this.locale;if(e||(e=this.defaultLoc),void 0!==this.htmlValues[e])return!!this.htmlValues[e];var t=this.calculatedText;if(!t||this.getLocalizationName()&&t===this.getLocalizationStr())return this.setHtmlValue(e,""),!1;var o=this.owner.getMarkdownHtml(t,this.name);return this.setHtmlValue(e,o),!!o},LocalizableString.prototype.setHtmlValue=function(e,t){this.htmlValues[e]=t},LocalizableString.prototype.getHtmlValue=function(){var e=this.locale;return e||(e=this.defaultLoc),this.htmlValues[e]},LocalizableString.prototype.deleteValuesEqualsToDefault=function(e){if(!nC.localization.storeDuplicatedTranslations)for(var t=this.getValuesKeys(),o=0;o<t.length;o++)t[o]!=this.defaultLoc&&this.getValue(t[o])==e&&this.deleteValue(t[o])},LocalizableString.prototype.getValue=function(e){return this.sharedData?this.sharedData.getValue(e):this.values[this.getValueLoc(e)]},LocalizableString.prototype.setValue=function(e,t){this.sharedData?this.sharedData.setValue(e,t):this.values[this.getValueLoc(e)]=t},LocalizableString.prototype.deleteValue=function(e){this.sharedData?this.sharedData.deleteValue(e):delete this.values[this.getValueLoc(e)]},LocalizableString.prototype.getValueLoc=function(e){return this.disableLocalization?nC.localization.defaultLocaleName:e},LocalizableString.prototype.getValuesKeys=function(){return this.sharedData?this.sharedData.getValuesKeys():Object.keys(this.values)},Object.defineProperty(LocalizableString.prototype,"defaultLoc",{get:function(){return nC.localization.defaultLocaleName}
vendor: 4,294 bytes, line 5
5,enumerable:!1,configurable:!0}),LocalizableString.SerializeAsObject=!1,LocalizableString.defaultRenderer="sv-string-viewer",LocalizableString.editableRenderer="sv-string-editor",LocalizableString}(),ny=function(){function LocalizableStrings(e){this.owner=e,this.values={}}return LocalizableStrings.prototype.getIsMultiple=function(){return!0},Object.defineProperty(LocalizableStrings.prototype,"locale",{get:function(){return this.owner&&this.owner.getLocale?this.owner.getLocale():""},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableStrings.prototype,"value",{get:function(){return this.getValue("")},set:function(e){this.setValue("",e)},enumerable:!1,configurable:!0}),Object.defineProperty(LocalizableStrings.prototype,"text",{get:function(){return Array.isArray(this.value)?this.value.join("\n"):""},set:function(e){this.value=e?e.split("\n"):[]},enumerable:!1,configurable:!0}),LocalizableStrings.prototype.getLocaleText=function(e){var t=this.getValueCore(e,!e||e===this.locale);return t&&Array.isArray(t)&&0!=t.length?t.join("\n"):""},LocalizableStrings.prototype.setLocaleText=function(e,t){var o=t?t.split("\n"):null;this.setValue(e,o)},LocalizableStrings.prototype.getValue=function(e){return this.getValueCore(e)},LocalizableStrings.prototype.getValueCore=function(e,t){if(void 0===t&&(t=!0),e=this.getLocale(e),this.values[e])return this.values[e];if(t){var o=nC.localization.defaultLocaleName;if(e!==o&&this.values[o])return this.values[o]}return[]},LocalizableStrings.prototype.setValue=function(e,t){e=this.getLocale(e);var o=oe.createCopy(this.values);t&&0!=t.length?this.values[e]=t:delete this.values[e],this.onValueChanged&&this.onValueChanged(o,this.values)},LocalizableStrings.prototype.hasValue=function(e){return void 0===e&&(e=""),!this.isEmpty&&this.getValue(e).length>0},Object.defineProperty(LocalizableStrings.prototype,"isEmpty",{get:function(){return 0==this.getValuesKeys().length},enumerable:!1,configurable:!0}),LocalizableStrings.prototype.getLocale=function(e){return e||(e=this.locale)||nC.localization.defaultLocaleName},LocalizableStrings.prototype.getLocales=function(){var e=this.getValuesKeys();return 0==e.length?[]:e},LocalizableStrings.prototype.getJson=function(){var e=this.getValuesKeys();return 0==e.length?null:1!=e.length||e[0]!=nC.localization.defaultLocaleName||nC.serialization.localizableStringSerializeAsObject?oe.createCopy(this.values):this.values[e[0]]},LocalizableStrings.prototype.setJson=function(e){if(this.values={},e){if(Array.isArray(e))this.setValue(null,e);else for(var t in e)this.setValue(t,e[t])}},LocalizableStrings.prototype.getValuesKeys=function(){return Object.keys(this.values)},LocalizableStrings}();function confirmAction(e){return nC&&nC.confirmActionFunc?nC.confirmActionFunc(e):confirm(e)}function confirmActionAsync(e){var callbackFunc=function(t){t?e.funcOnYes():e.funcOnNo&&e.funcOnNo()};nC&&nC.confirmActionAsync&&nC.confirmActionAsync(e.message,callbackFunc,e)||callbackFunc(confirmAction(e.message))}function detectIEOrEdge(){if(void 0===detectIEOrEdge.isIEOrEdge){var e=navigator.userAgent,t=e.indexOf("MSIE "),o=e.indexOf("Trident/"),n=e.indexOf("Edge/");detectIEOrEdge.isIEOrEdge=n>0||o>0||t>0}return detectIEOrEdge.isIEOrEdge}function loadFileFromBase64(e,t){try{for(var o=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(o.length),i=new Uint8Array(r),s=0;s<o.length;s++)i[s]=o.charCodeAt(s);var a=new Blob([r],{type:n});navigator&&navigator.msSaveBlob&&navigator.msSaveOrOpenBlob(a,t)}catch(e){}}var isShadowDOM=function(e){return!!e&&!!("host"in e&&e.host)},getElement=function(e){var t=nC.environment.root;return"string"==typeof e?t.getElementById(e):e};function findScrollableParent(e){var t=nC.environment.root;return e?e.scrollHeight>e.clientHeight&&("scroll"===getComputedStyle(e).overflowY||"auto"===getComputedStyle(e).overflowY)||e.scrollWidth>e.clientWidth&&("scroll"===getComputedStyle(e).overflowX||"auto"===getComputedStyle(e).overflowX)?e:findScrollableParent(e.parentElement):isShadowDOM(t)?t.host:t.documentElement}function activateLazyRenderingChecks(e){var t=nC.environment;if(t){var o=t.root.getElementById(e);if(o){var n=findScrollableParent(o);n&&setTimeout(function(){return n.dispatchEvent(new CustomEvent("scroll"))},10)}}}
5function wrapUrlForBackgroundImage(e){return e?["url(",e,")"].join(""):""}var nv={changecamera:"flip-24x24",clear:"clear-24x24",cancel:"cancel-24x24",closecamera:"close-24x24",defaultfile:"file-72x72",choosefile:"folder-24x24",file:"toolbox-file-24x24",left:"chevronleft-16x16",modernbooleancheckchecked:"plus-32x32",modernbooleancheckunchecked:"minus-32x32",more:"more-24x24",navmenu_24x24:"navmenu-24x24",removefile:"error-24x24",takepicture:"camera-32x32",takepicture_24x24:"camera-24x24",v2check:"check-16x16",checked:"check-16x16",v2check_24x24:"check-24x24","back-to-panel_16x16":"restoredown-16x16",clear_16x16:"clear-16x16",close_16x16:"close-16x16",collapsedetail:"collapsedetails-16x16",expanddetail:"expanddetails-16x16","full-screen_16x16":"maximize-16x16",loading:"loading-48x48",minimize_16x16:"minimize-16x16",next_16x16:"chevronright-16x16",previous_16x16:"chevronleft-16x16","no-image":"noimage-48x48","ranking-dash":"rankingundefined-16x16","drag-n-drop":"drag-24x24","ranking-arrows":"reorder-24x24",restore_16x16:"fullsize-16x16",reset:"restore-24x24",search:"search-24x24",average:"smiley-rate5-24x24",excellent:"smiley-rate9-24x24",good:"smiley-rate7-24x24",normal:"smiley-rate6-24x24","not-good":"smiley-rate4-24x24",perfect:"smiley-rate10-24x24",poor:"smiley-rate3-24x24",terrible:"smiley-rate1-24x24","very-good":"smiley-rate8-24x24","very-poor":"smiley-rate2-24x24",add_16x16:"add-16x16",add_24x24:"add-24x24",alert_24x24:"warning-24x24",apply:"apply-24x24","arrow-down":"arrowdown-24x24","arrow-left":"arrowleft-24x24","arrow-left_16x16":"arrowleft-16x16",arrowleft:"arrowleft-16x16","arrow-right":"arrowright-24x24","arrow-right_16x16":"arrowright-16x16",arrowright:"arrowright-16x16","arrow-up":"arrowup-24x24",boolean:"toolbox-boolean-24x24","change-question-type_16x16":"speechbubble-16x16",checkbox:"toolbox-checkbox-24x24","collapse-detail_16x16":"minusbox-16x16","collapse-panel":"collapse-pg-24x24",collapse_16x16:"collapse-16x16","color-picker":"dropper-16x16",comment:"toolbox-longtext-24x24",config:"wrench-24x24",copy:"copy-24x24",default:"toolbox-customquestion-24x24",delete_16x16:"delete-16x16",delete_24x24:"delete-24x24",delete:"delete-24x24","description-hide":"hidehint-16x16",description:"hint-16x16","device-desktop":"desktop-24x24","device-phone":"phone-24x24","device-rotate":"rotate-24x24","device-tablet":"tablet-24x24",download:"download-24x24","drag-area-indicator":"drag-24x24","drag-area-indicator_24x16":"draghorizontal-24x16",v2dragelement_16x16:"draghorizontal-24x16","drop-down-arrow":"chevrondown-24x24","drop-down-arrow_16x16":"chevrondown-16x16",chevron_16x16:"chevrondown-16x16",dropdown:"toolbox-dropdown-24x24",duplicate_16x16:"copy-16x16",edit:"edit-24x24",edit_16x16:"edit-16x16","editing-finish":"finishedit-24x24",error:"error-16x16","expand-detail_16x16":"plusbox-16x16","expand-panel":"expand-pg-24x24",expand_16x16:"expand-16x16",expression:"toolbox-expression-24x24","fast-entry":"textedit-24x24",fix:"fix-24x24",html:"toolbox-html-24x24",image:"toolbox-image-24x24",imagepicker:"toolbox-imagepicker-24x24",import:"import-24x24","invisible-items":"invisible-24x24",language:"language-24x24",load:"import-24x24","logic-collapse":"collapse-24x24","logic-expand":"expand-24x24",logo:"image-48x48",matrix:"toolbox-matrix-24x24",matrixdropdown:"toolbox-multimatrix-24x24",matrixdynamic:"toolbox-dynamicmatrix-24x24",multipletext:"toolbox-multipletext-24x24",panel:"toolbox-panel-24x24",paneldynamic:"toolbox-dynamicpanel-24x24",preview:"preview-24x24",radiogroup:"toolbox-radiogroup-24x24",ranking:"toolbox-ranking-24x24",rating:"toolbox-rating-24x24",redo:"redo-24x24",remove_16x16:"remove-16x16",required:"required-16x16",save:"save-24x24","select-page":"selectpage-24x24",settings:"settings-24x24",settings_16x16:"settings-16x16",signaturepad:"toolbox-signature-24x24","switch-active_16x16":"switchon-16x16","switch-inactive_16x16":"switchoff-16x16",tagbox:"toolbox-tagbox-24x24",text:"toolbox-singleline-24x24",theme:"theme-24x24",toolbox:"toolbox-24x24",undo:"undo-24x24",visible:"visible-24x24",wizard:"wand-24x24",searchclear:"clear-16x16","chevron-16x16":"chevrondown-16x16",chevron:"chevrondown-24x24",progressbuttonv2:"arrowleft-16x16",right:"chevronright-16x16","add-lg":"add-24x24",add:"add-24x24"};function getIconNameFromProxy(e){var t,o;return t=e,((o=nC.customIcons[t])?getNewIconName(o):(t=getNewIconName(t),o=nC.customIcons[t])?o:null)||getNewIconName(e)}function getNewIconName(e){var t="icon-",o=e.replace(t,"");return t+(nv[o]||o)}function createSvg(e,t,o,n,r,i){if(r){"auto"!==e&&(r.style.width=(e||t||16)+"px",r.style.height=(e||o||16)+"px");var s=r.childNodes[0],a=getIconNameFromProxy(n);s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+a);var l=r.getElementsByTagName("title")[0];if(i)l||(l=t8.getDocument().createElementNS("http://www.w3.org/2000/svg","title"),r.appendChild(l));else{l&&r.removeChild(l);return}l.textContent=i}}function unwrap(e){return"function"!=typeof e?e:e()}function getRenderedSize(e){if("string"==typeof e){if(!isNaN(Number(e)))return Number(e);if(e.includes("px"))return parseFloat(e)}if("number"==typeof e)return e}function getRenderedStyleSize(e){if(void 0===getRenderedSize(e))return e}var nb="sv-focused--by-key";function doKey2ClickBlur(e){var t=e.target;t&&t.classList&&t.classList.remove(nb)}function doKey2ClickUp(e,t){if(!e.target||"true"!==e.target.contentEditable){var o=e.target;if(o){var n=e.which||e.keyCode;if(9===n){o.classList&&!o.classList.contains(nb)&&o.classList.add(nb);return}if(t){if(!t.__keyDownReceived)return;t.__keyDownReceived=!1}13===n||32===n?o.click&&o.click():(!t||t.processEsc)&&27===n&&o.blur&&o.blur()}}}function doKey2ClickDown(e,t){if(void 0===t&&(t={processEsc:!0}),t&&(t.__keyDownReceived=!0),!e.target||"true"!==e.target.contentEditable){var o=e.which||e.keyCode,n=[13,32];t.processEsc&&n.push(27),-1!==n.indexOf(o)&&e.preventDefault()}}function increaseHeightByContent(e,t){if(e){t||(t=function(e){return t8.getComputedStyle(e)});var o=t(e);e.style.height="auto",e.scrollHeight&&(e.style.height=e.scrollHeight+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth)+"px")}}function getOriginalEvent(e){return e.originalEvent||e}function preventDefaults(e){e.preventDefault(),e.stopPropagation()}function classesToSelector(e){return e?e.replace(/\s*?([\w-]+)\s*?/g,".$1"):e}function getElementWidth(e){return getComputedStyle?Number.parseFloat(getComputedStyle(e).width):e.offsetWidth}function isContainerVisible(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function sanitizeEditableContent(e,t){if(void 0===t&&(t=!0),t6.isAvailable()&&t8.isAvailable()&&e.childNodes.length>0){var o=t6.getSelection();if(0!=o.rangeCount){var n=o.getRangeAt(0);n.setStart(n.endContainer,n.endOffset),n.setEndAfter(e.lastChild),o.removeAllRanges(),o.addRange(n);var r=o.toString(),i=e.innerText;r=r.replace(/\r/g,""),t&&(r=r.replace(/\n/g,""),i=i.replace(/\n/g,""));var s=r.length;for(e.innerText=i,(n=t8.getDocument().createRange()).setStart(e.firstChild,0),n.setEnd(e.firstChild,0),o.removeAllRanges(),o.addRange(n);o.toString().length<i.length-s;){var a=o.toString().length;if(o.modify("extend","forward","character"),o.toString().length==a)break}(n=o.getRangeAt(0)).setStart(n.endContainer,n.endOffset)}}}function mergeValues(e,t){if(t&&e&&"object"==typeof t)for(var o in e){var n=e[o];!Array.isArray(n)&&n&&"object"==typeof n?(t[o]&&"object"==typeof t[o]||(t[o]={}),mergeValues(n,t[o])):t[o]=n}}function updateListCssValues(e,t){var o={};mergeValues(t.list,o),mergeValues(e.list,o),e.list=o}function chooseFiles(e,t){t6.isFileReaderAvailable()&&(e.value="",e.onchange=function(o){if
5(t6.isFileReaderAvailable()&&e&&e.files&&!(e.files.length<1)){for(var n=[],r=0;r<e.files.length;r++)n.push(e.files[r]);t(n)}},e.click())}function setPropertiesOnElementForAnimation(e,t,o){var n;void 0===o&&(o="--animation-"),e.__sv_created_properties=null!==(n=e.__sv_created_properties)&&void 0!==n?n:[],Object.keys(t).forEach(function(n){var r=""+o+n.split(/\.?(?=[A-Z])/).join("-").toLowerCase();e.style.setProperty(r,t[n]),e.__sv_created_properties.push(r)})}function prepareElementForVerticalAnimation(e){setPropertiesOnElementForAnimation(e,function(e){if(t8.isAvailable()){var t=t8.getComputedStyle(e),o=t.paddingTop,n=t.paddingBottom,r=t.borderTopWidth,i=t.borderBottomWidth,s=t.marginTop,a=t.marginBottom,l=t.boxSizing,u=e.offsetHeight+"px";if("content-box"==l){var c=e.offsetHeight;[i,r,n,o].forEach(function(e){c-=parseFloat(e)}),u=c+"px"}return{paddingTop:o,paddingBottom:n,borderTopWidth:r,borderBottomWidth:i,marginTop:s,marginBottom:a,heightFrom:"0px",heightTo:u}}}(e))}function cleanHtmlElementAfterAnimation(e){Array.isArray(e.__sv_created_properties)&&(e.__sv_created_properties.forEach(function(t){e.style.removeProperty(t)}),delete e.__sv_created_properties)}!function(){function Logger(){this._result=""}Logger.prototype.log=function(e){this._result+="->"+e},Object.defineProperty(Logger.prototype,"result",{get:function(){return this._result},enumerable:!1,configurable:!0})}();var nx="undefined"!=typeof globalThis?globalThis.document:(void 0).document,nC={version:"",designMode:{showEmptyDescriptions:!0,showEmptyTitles:!0},get allowShowEmptyDescriptionInDesignMode(){return this.designMode.showEmptyDescriptions},set allowShowEmptyDescriptionInDesignMode(val){this.designMode.showEmptyDescriptions=val},get allowShowEmptyTitleInDesignMode(){return this.designMode.showEmptyTitles},set allowShowEmptyTitleInDesignMode(val){this.designMode.showEmptyTitles=val},localization:{useLocalTimeZone:!0,storeDuplicatedTranslations:!1,defaultLocaleName:"default"},get useLocalTimeZone(){return this.localization.useLocalTimeZone},set useLocalTimeZone(val){this.localization.useLocalTimeZone=val},get storeDuplicatedTranslations(){return this.localization.storeDuplicatedTranslations},set storeDuplicatedTranslations(val){this.localization.storeDuplicatedTranslations=val},get defaultLocaleName(){return this.localization.defaultLocaleName},set defaultLocaleName(val){this.localization.defaultLocaleName=val},web:{onBeforeRequestChoices:function(e,t){},encodeUrlParams:!0,cacheLoadedChoices:!0,disableQuestionWhileLoadingChoices:!1,surveyServiceUrl:"https://api.surveyjs.io/public/v1/Survey"},get webserviceEncodeParameters(){return this.web.encodeUrlParams},set webserviceEncodeParameters(val){this.web.encodeUrlParams=val},get useCachingForChoicesRestful(){return this.web.cacheLoadedChoices},set useCachingForChoicesRestful(val){this.web.cacheLoadedChoices=val},get useCachingForChoicesRestfull(){return this.web.cacheLoadedChoices},set useCachingForChoicesRestfull(val){this.web.cacheLoadedChoices=val},get disableOnGettingChoicesFromWeb(){return this.web.disableQuestionWhileLoadingChoices},set disableOnGettingChoicesFromWeb(val){this.web.disableQuestionWhileLoadingChoices=val},get surveyServiceUrl(){return this.web.surveyServiceUrl},set surveyServiceUrl(val){this.web.surveyServiceUrl=val},triggers:{changeNavigationButtonsOnComplete:!0,executeCompleteOnValueChanged:!1,executeSkipOnValueChanged:!0},get executeCompleteTriggerOnValueChanged(){return this.triggers.executeCompleteOnValueChanged},set executeCompleteTriggerOnValueChanged(val){this.triggers.executeCompleteOnValueChanged=val},get changeNavigationButtonsOnCompleteTrigger(){return this.triggers.changeNavigationButtonsOnComplete},set changeNavigationButtonsOnCompleteTrigger(val){this.triggers.changeNavigationButtonsOnComplete=val},get executeSkipTriggerOnValueChanged(){return this.triggers.executeSkipOnValueChanged},set executeSkipTriggerOnValueChanged(val){this.triggers.executeSkipOnValueChanged=val},serialization:{itemValueSerializeAsObject:!1,itemValueSerializeDisplayText:!1,localizableStringSerializeAsObject:!1,matrixDropdownColumnSerializeTitle:!1},get itemValueAlwaysSerializeAsObject(){return this.serialization.itemValueSerializeAsObject},set itemValueAlwaysSerializeAsObject(val){this.serialization.itemValueSerializeAsObject=val},get itemValueAlwaysSerializeText(){return this.serialization.itemValueSerializeDisplayText},set itemValueAlwaysSerializeText(val){this.serialization.itemValueSerializeDisplayText=val},get serializeLocalizableStringAsObject(){return this.serialization.localizableStringSerializeAsObject}
5,set serializeLocalizableStringAsObject(val){this.serialization.localizableStringSerializeAsObject=val},lazyRender:{enabled:!1,firstBatchSize:3},get lazyRowsRendering(){return this.lazyRender.enabled},set lazyRowsRendering(val){this.lazyRender.enabled=val},get lazyRowsRenderingStartRow(){return this.lazyRender.firstBatchSize},set lazyRowsRenderingStartRow(val){this.lazyRender.firstBatchSize=val},matrix:{defaultCellType:"dropdown",defaultRowName:"default",totalsSuffix:"-total",maxRowCount:1e3,maxRowCountInCondition:1,renderRemoveAsIcon:!0,columnWidthsByType:{file:{minWidth:"240px"},comment:{minWidth:"200px"}},rateSize:"small"},get matrixDefaultRowName(){return this.matrix.defaultRowName},set matrixDefaultRowName(val){this.matrix.defaultRowName=val},get matrixDefaultCellType(){return this.matrix.defaultCellType},set matrixDefaultCellType(val){this.matrix.defaultCellType=val},get matrixTotalValuePostFix(){return this.matrix.totalsSuffix},set matrixTotalValuePostFix(val){this.matrix.totalsSuffix=val},get matrixMaximumRowCount(){return this.matrix.maxRowCount},set matrixMaximumRowCount(val){this.matrix.maxRowCount=val},get matrixMaxRowCountInCondition(){return this.matrix.maxRowCountInCondition},set matrixMaxRowCountInCondition(val){this.matrix.maxRowCountInCondition=val},get matrixRenderRemoveAsIcon(){return this.matrix.renderRemoveAsIcon},set matrixRenderRemoveAsIcon(val){this.matrix.renderRemoveAsIcon=val},panel:{maxPanelCount:100,maxPanelCountInCondition:1},get panelDynamicMaxPanelCountInCondition(){return this.panel.maxPanelCountInCondition},set panelDynamicMaxPanelCountInCondition(val){this.panel.maxPanelCountInCondition=val},get panelMaximumPanelCount(){return this.panel.maxPanelCount},set panelMaximumPanelCount(val){this.panel.maxPanelCount=val},readOnly:{enableValidation:!1,commentRenderMode:"textarea",textRenderMode:"input"},get readOnlyCommentRenderMode(){return this.readOnly.commentRenderMode},set readOnlyCommentRenderMode(val){this.readOnly.commentRenderMode=val},get readOnlyTextRenderMode(){return this.readOnly.textRenderMode},set readOnlyTextRenderMode(val){this.readOnly.textRenderMode=val},numbering:{includeQuestionsWithHiddenNumber:!1,includeQuestionsWithHiddenTitle:!1},get setQuestionVisibleIndexForHiddenTitle(){return this.numbering.includeQuestionsWithHiddenTitle},set setQuestionVisibleIndexForHiddenTitle(val){this.numbering.includeQuestionsWithHiddenTitle=val},get setQuestionVisibleIndexForHiddenNumber(){return this.numbering.includeQuestionsWithHiddenNumber},set setQuestionVisibleIndexForHiddenNumber(val){this.numbering.includeQuestionsWithHiddenNumber=val},enterKeyAction:"default",comparator:{trimStrings:!0,caseSensitive:!1,normalizeTextCallback:function(e,t){return e}},expressionDisableConversionChar:"#",get commentPrefix(){return nC.commentSuffix},set commentPrefix(val){nC.commentSuffix=val},commentSuffix:"-Comment",itemValueSeparator:"|",ratingMaximumRateValueCount:20,tagboxCloseOnSelect:!1,dropdownSearchDelay:500,confirmActionFunc:function(e){return confirm(e)},confirmActionAsync:function(e,t,o){var n,r,i,s,a,l;return void 0===(n=o)&&(n={}),r=new nf(void 0),a=(s=(i=nC.showDialog({componentName:"sv-string-viewer",data:{locStr:r,locString:r,model:r},onApply:function(){return t(!0),!0},onCancel:function(){return t(!1),!1},title:e||n.message,displayMode:"popup",isFocusedContent:!1,cssClass:n.cssClass||"sv-popup--confirm"},n.rootElement)).footerToolbar).getActionById("apply"),(l=s.getActionById("cancel")).title=getLocaleString("cancel",n.locale),l.innerCss="sv-popup__body-footer-item sv-popup__button sd-btn sd-btn--small",a.title=n.applyTitle||getLocaleString("ok",n.locale),a.innerCss="sv-popup__body-footer-item sv-popup__button sv-popup__button--danger sd-btn sd-btn--small sd-btn--danger",i.width="min-content",!0},minWidth:"300px",maxWidth:"100%",maxConditionRunCountOnValueChanged:10,notifications:{lifetime:2e3},autoAdvanceDelay:300,showItemsInOrder:"default",noneItemValue:"none",refuseItemValue:"refused",dontKnowItemValue:"dontknow",specialChoicesOrder:{selectAllItem:[-1],noneItem:[1],refuseItem:[2],dontKnowItem:[3],otherItem:[4]},choicesSeparator:", ",supportedValidators:{question:["expression"],comment:["text","regex"],text:["numeric","text","regex","email"],checkbox:["answercount"],imagepicker:["answercount"]},minDate:"",maxDate:"",showModal:void 0,showDialog:void 0,supportCreatorV2:!1,showDefaultItemsInCreatorV2:!0,customIcons:{},rankingDragHandleArea:"entireItem",environment:nx?{root:nx,_rootElement:t8.getBody(),get rootElement(){var nw;return null!==(nw=this._rootElement)&&void 0!==nw?nw:t8.getBody()},set rootElement(rootElement){this._rootElement=rootElement},_popupMountContainer:t8.getBody(),get popupMountContainer(){var nP;return null!==(nP=this._popupMountContainer)&&void 0!==nP?nP:t8.getBody()},set popupMountContainer(popupMountContainer){this._popupMountContainer=popupMountContainer},svgMountContainer:nx.head,stylesSheetsMountContainer:nx.head}:void 0,showMaxLengthIndicator:!0,animationEnabled:!0,titleTags:{survey:"h3",page:"h4",panel:"h4",question:"h5"},questions:{inputTypes:["color","date","datetime-local","email","month","number","password","range","tel","text","t
5ime","url","week"],dataList:["","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","organization-title","username","new-password","current-password","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"]},legacyProgressBarView:!1,maskSettings:{patternPlaceholderChar:"_",patternEscapeChar:"\\",patternDefinitions:{9:/[0-9]/,a:/[a-zA-Z]/,"#":/[a-zA-Z0-9]/}},storeUtcDates:!1,onDateCreated:function(e,t,o){return e},parseNumber:function(e,t){return t}},n_=function(){function SurveyError(e,t){void 0===e&&(e=null),void 0===t&&(t=null),this.text=e,this.errorOwner=t,this.visible=!0,this.onUpdateErrorTextCallback=void 0}return SurveyError.prototype.equals=function(e){return!!e&&!!e.getErrorType&&this.getErrorType()===e.getErrorType()&&this.text===e.text&&this.visible===e.visible},Object.defineProperty(SurveyError.prototype,"locText",{get:function(){return this.locTextValue||(this.locTextValue=new nf(this.errorOwner,!0),this.locTextValue.storeDefaultText=!0,this.locTextValue.text=this.getText()),this.locTextValue},enumerable:!1,configurable:!0}),SurveyError.prototype.getText=function(){var e=this.text;return e||(e=this.getDefaultText()),this.errorOwner&&(e=this.errorOwner.getErrorCustomText(e,this)),e},SurveyError.prototype.getErrorType=function(){return"base"},SurveyError.prototype.getDefaultText=function(){return""},SurveyError.prototype.getLocale=function(){return this.errorOwner?this.errorOwner.getLocale():""},SurveyError.prototype.getLocalizationString=function(e){return getLocaleString(e,this.getLocale())},SurveyError.prototype.updateText=function(){this.onUpdateErrorTextCallback&&this.onUpdateErrorTextCallback(this),this.locText.text=this.getText()},SurveyError}(),nS=(y=function(e,t){return(y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),nM=function(e){function AnswerRequiredError(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(AnswerRequiredError,e),AnswerRequiredError.prototype.getErrorType=function(){return"required"},AnswerRequiredError.prototype.getDefaultText=function(){return this.getLocalizationString("requiredError")},AnswerRequiredError}(n_),nE=function(e){function OneAnswerRequiredError(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(OneAnswerRequiredError,e),OneAnswerRequiredError.prototype.getErrorType=function(){return"requireoneanswer"},OneAnswerRequiredError.prototype.getDefaultText=function(){return this.getLocalizationString("requiredErrorInPanel")},OneAnswerRequiredError}(n_),nT=function(e){function RequreNumericError(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(RequreNumericError,e),RequreNumericError.prototype.getErrorType=function(){return"requirenumeric"},RequreNumericError.prototype.getDefaultText=function(){return this.getLocalizationString("numericError")},RequreNumericError}(n_),nV=function(e){function ExceedSizeError(t,o){void 0===o&&(o=null);var n=e.call(this,null,o)||this;return n.maxSize=t,n.locText.text=n.getText(),n}return nS(ExceedSizeError,e),ExceedSizeError.prototype.getErrorType=function(){return"exceedsize"},ExceedSizeError.prototype.getDefaultText=function(){return this.getLocalizationString("exceedMaxSize").format(this.getTextSize())},ExceedSizeError.prototype.getTextSize=function(){if(0===this.maxSize)return"0 Byte";var e=Math.floor(Math.log(this.maxSize)/Math.log(1024));return(this.maxSize/Math.pow(1024,e)).toFixed([0,0,2,3,3][e])+" "+["Bytes","KB","MB","GB","TB"][e]},ExceedSizeError}(n_),nR=function(e){function WebRequestError(t,o,n){void 0===n&&(n=null);var r=e.call(this,null,n)||this;return r.status=t,r.response=o,r}return nS(WebRequestError,e),WebRequestError.prototype.getErrorType=function(){return"webrequest"},WebRequestError.prototype.getDefaultText=function(){var e=this.getLocalizationString("urlRequestError");return e?e.format(this.status,this.response):""},WebRequestError}(n_),nk=function(e){function WebRequestEmptyError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(WebRequestEmptyError,e),WebRequestEmptyError.prototype.getErrorType=function(){return"webrequestempty"},WebRequestEmptyError.prototype.getDefaultText=function(){return this.getLocalizationString("urlGetChoicesError")},WebRequestEmptyError}(n_),nI=function(e){function OtherEmptyError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(OtherEmptyError,e),OtherEmptyError.prototype.getErrorType=function(){return"otherempty"},OtherEmptyError.prototype.getDefaultText=function(){return this.getLocalizationString("otherRequiredError")},OtherEmptyError}(n_),nO=function(e){function UploadingFileError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(UploadingFileError,e),UploadingFileError.prototype.getErrorType=function(){return"uploadingfile"},UploadingFileError.prototype.getDefaultText=function(){return this.getLocalizationString("uploadingFile")},UploadingFileError}(n_),nD=function(e){function RequiredInAllRowsError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(RequiredInAllRowsError,e),RequiredInAllRowsError.prototype.getErrorType=function(){return"requiredinallrowserror"},RequiredInAllRowsError.prototype.getDefaultText=function(){return this.getLocalizationString("requiredInAllRowsError")},RequiredInAllRowsError}(n_),nA=function(e){function EachRowUniqueError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}
vendor: 10,406 bytes, line 5
5return nS(EachRowUniqueError,e),EachRowUniqueError.prototype.getErrorType=function(){return"eachrowuniqueeerror"},EachRowUniqueError.prototype.getDefaultText=function(){return this.getLocalizationString("eachRowUniqueError")},EachRowUniqueError}(n_),nQ=function(e){function MinRowCountError(t,o){void 0===o&&(o=null);var n=e.call(this,null,o)||this;return n.minRowCount=t,n}return nS(MinRowCountError,e),MinRowCountError.prototype.getErrorType=function(){return"minrowcounterror"},MinRowCountError.prototype.getDefaultText=function(){return this.getLocalizationString("minRowCountError").format(this.minRowCount)},MinRowCountError}(n_),nj=function(e){function KeyDuplicationError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(KeyDuplicationError,e),KeyDuplicationError.prototype.getErrorType=function(){return"keyduplicationerror"},KeyDuplicationError.prototype.getDefaultText=function(){return this.getLocalizationString("keyDuplicationError")},KeyDuplicationError}(n_),nL=function(e){function CustomError(t,o){void 0===o&&(o=null);var n=e.call(this,t,o)||this;return n.text=t,n}return nS(CustomError,e),CustomError.prototype.getErrorType=function(){return"custom"},CustomError}(n_),nB=(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ValidatorResult=function(e,t){void 0===t&&(t=null),this.value=e,this.error=t},nq=function(e){function SurveyValidator(){var t=e.call(this)||this;return t.createLocalizableString("text",t,!0),t}return nB(SurveyValidator,e),Object.defineProperty(SurveyValidator.prototype,"isValidator",{get:function(){return!0},enumerable:!1,configurable:!0}),SurveyValidator.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.errorOwner&&this.errorOwner.getSurvey?this.errorOwner.getSurvey():null},Object.defineProperty(SurveyValidator.prototype,"text",{get:function(){return this.getLocalizableStringText("text")},set:function(e){this.setLocalizableStringText("text",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyValidator.prototype,"isValidateAllValues",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyValidator.prototype,"locText",{get:function(){return this.getLocalizableString("text")},enumerable:!1,configurable:!0}),SurveyValidator.prototype.getErrorText=function(e){return this.text?this.text:this.getDefaultErrorText(e)},SurveyValidator.prototype.getDefaultErrorText=function(e){return""},SurveyValidator.prototype.validate=function(e,t,o,n){return void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),null},Object.defineProperty(SurveyValidator.prototype,"isRunning",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyValidator.prototype,"isAsync",{get:function(){return!1},enumerable:!1,configurable:!0}),SurveyValidator.prototype.getLocale=function(){return this.errorOwner?this.errorOwner.getLocale():""},SurveyValidator.prototype.getMarkdownHtml=function(e,t){return this.errorOwner?this.errorOwner.getMarkdownHtml(e,t):void 0},SurveyValidator.prototype.getRenderer=function(e){return this.errorOwner?this.errorOwner.getRenderer(e):null},SurveyValidator.prototype.getRendererContext=function(e){return this.errorOwner?this.errorOwner.getRendererContext(e):e},SurveyValidator.prototype.getProcessedText=function(e){return this.errorOwner?this.errorOwner.getProcessedText(e):e},SurveyValidator.prototype.createCustomError=function(e){var t=this,o=new nL(this.getErrorText(e),this.errorOwner);return o.onUpdateErrorTextCallback=function(o){return o.text=t.getErrorText(e)},o},SurveyValidator.prototype.toString=function(){var e=this.getType().replace("validator","");return this.text&&(e+=", "+this.text),e},SurveyValidator}(oW),nN=function(){function ValidatorRunner(){}return ValidatorRunner.prototype.run=function(e){var t=this,o=[],n=null,r=null;this.prepareAsyncValidators();for(var i=[],s=e.getValidators(),a=0;a<s.length;a++){var l=s[a];!n&&l.isValidateAllValues&&(n=e.getDataFilteredValues(),r=e.getDataFilteredProperties()),l.isAsync&&(this.asyncValidators.push(l),l.onAsyncCompleted=function(e){if(e&&e.error&&i.push(e.error),t.onAsyncCompleted){for(var o=0;o<t.asyncValidators.length;o++)if(t.asyncValidators[o].isRunning)return;t.onAsyncCompleted(i)}})}s=e.getValidators();for(var a=0;a<s.length;a++){var l=s[a],u=l.validate(e.validatedValue,e.getValidatorTitle(),n,r);u&&u.error&&o.push(u.error)}return 0==this.asyncValidators.length&&this.onAsyncCompleted&&this.onAsyncCompleted([]),o},ValidatorRunner.prototype.prepareAsyncValidators=function(){if(this.asyncValidators)for(var e=0;e<this.asyncValidators.length;e++)this.asyncValidators[e].onAsyncCompleted=null;this.asyncValidators=[]},ValidatorRunner}(),nF=function(e){function NumericValidator(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this)||this;return n.minValue=t,n.maxValue=o,n}return nB(NumericValidator,e),NumericValidator.prototype.getType=function(){return"numericvalidator"},NumericValidator.prototype.validate=function(e,t,o,n){if(void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),this.isValueEmpty(e))return null;if(!oe.isNumber(e))return new ValidatorResult(null,new nT(this.text,this.errorOwner));var r=new ValidatorResult(oe.getNumber(e));return null!==this.minValue&&this.minValue>r.value||null!==this.maxValue&&this.maxValue<r.value?(r.error=this.createCustomError(t),r):"number"==typeof e?null:r},NumericValidator.prototype.getDefaultErrorText=function(e){var t=e||this.getLocalizationString("value");return null!==this.minValue&&null!==this.maxValue?this.getLocalizationFormatString("numericMinMax",t,this.minValue,this.maxValue):null!==this.minValue?this.getLocalizationFormatString("numericMin",t,this.minValue):this.getLocalizationFormatString("numericMax",t,this.maxValue)},Object.defineProperty(NumericValidator.prototype,"minValue",{get:function(){return this.getPropertyValue("minValue")},set:function(e){this.setPropertyValue("minValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(NumericValidator.prototype,"maxValue",{get:function(){return this.getPropertyValue("maxValue")},set:function(e){this.setPropertyValue("maxValue",e)},enumerable:!1,configurable:!0}),NumericValidator}(nq),nz=function(e){function TextValidator(){return e.call(this)||this}return nB(TextValidator,e),TextValidator.prototype.getType=function(){return"textvalidator"},TextValidator.prototype.validate=function(e,t,o,n){return(void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),this.isValueEmpty(e))?null:!this.allowDigits&&/\d+$/.test(e)?new ValidatorResult(null,this.createCustomError("textNoDigitsAllow")):this.minLength>0&&e.length<this.minLength||this.maxLength>0&&e.length>this.maxLength?new ValidatorResult(null,this.createCustomError(t)):null},TextValidator.prototype.getDefaultErrorText=function(e){return"textNoDigitsAllow"===e?this.getLocalizationString(e):this.minLength>0&&this.maxLength>0?this.getLocalizationFormatString("textMinMaxLength",this.minLength,this.maxLength):this.minLength>0?this.getLocalizationFormatString("textMinLength",this.minLength):this.getLocalizationFormatString("textMaxLength",this.maxLength)},Object.defineProperty(TextValidator.prototype,"minLength",{get:function(){return this.getPropertyValue("minLength")},set:function(e){this.setPropertyValue("minLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(TextValidator.prototype,"maxLength",{get:function(){return this.getPropertyValue("maxLength")},set:function(e){this.setPropertyValue("maxLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(TextValidator.prototype,"allowDigits",{get:function(){return this.getPropertyValue("allowDigits")},set:function(e){this.setPropertyValue("allowDigits",e)},enumerable:!1,configurable:!0}),TextValidator}(nq),nH=function(e){function AnswerCountValidator(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this)||this;return n.minCount=t,n.maxCount=o,n}return nB(AnswerCountValidator,e),AnswerCountValidator.prototype.getType=function(){return"answercountvalidator"},AnswerCountValidator.prototype.validate=function(e,t,o,n){if(void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),null==e||e.constructor!=Array)return null;var r=e.length;return 0==r?null:this.minCount&&r<this.minCount?new ValidatorResult(null,this.createCustomError(this.getLocalizationFormatString("minSelectError",this.minCount))):this.maxCount&&r>this.maxCount?new ValidatorResult(null,this.createCustomError(this.getLocalizationFormatString("maxSelectError",this.maxCount))):null},AnswerCountValidator.prototype.getDefaultErrorText=function(e){return e},Object.defineProperty(AnswerCountValidator.prototype,"minCount",{get:function(){return this.getPropertyValue("minCount")},set:function(e){this.setPropertyValue("minCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(AnswerCountValidator.prototype,"maxCount",{get:function(){return this.getPropertyValue("maxCount")},set:function(e){this.setPropertyValue("maxCount",e)},enumerable:!1,configurable:!0}),AnswerCountValidator}(nq),nU=function(e){function RegexValidator(t){void 0===t&&(t=null);var o=e.call(this)||this;return o.regex=t,o}return nB(RegexValidator,e),RegexValidator.prototype.getType=function(){return"regexvalidator"},RegexValidator.prototype.validate=function(e,t,o,n){if(void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),!this.regex||this.isValueEmpty(e))return null;var r=this.createRegExp();if(Array.isArray(e))for(var i=0;i<e.length;i++){var s=this.hasError(r,e[i],t);if(s)return s}return this.hasError(r,e,t)},RegexValidator.prototype.hasError=function(e,t,o){return e.test(t)?null:new ValidatorResult(t,this.createCustomError(o))},Object.defineProperty(RegexValidator.prototype,"regex",{get:function(){return this.getPropertyValue("regex")},set:function(e){this.setPropertyValue("regex",e)},enumerable:!1,configurable:!0}),Object.defineProperty(RegexValidator.prototype,"caseInsensitive",{get:function(){return this.getPropertyValue("caseInsensitive")}
5,set:function(e){this.setPropertyValue("caseInsensitive",e)},enumerable:!1,configurable:!0}),Object.defineProperty(RegexValidator.prototype,"insensitive",{get:function(){return this.caseInsensitive},set:function(e){this.caseInsensitive=e},enumerable:!1,configurable:!0}),RegexValidator.prototype.createRegExp=function(){return new RegExp(this.regex,this.caseInsensitive?"i":"")},RegexValidator}(nq),nW=function(e){function EmailValidator(){var t=e.call(this)||this;return t.re=/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()=[\]\.,;:\s@\"]+\.)+[^<>()=[\]\.,;:\s@\"]{2,})$/i,t}return nB(EmailValidator,e),EmailValidator.prototype.getType=function(){return"emailvalidator"},EmailValidator.prototype.validate=function(e,t,o,n){return(void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),!e||this.re.test(e))?null:new ValidatorResult(e,this.createCustomError(t))},EmailValidator.prototype.getDefaultErrorText=function(e){return this.getLocalizationString("invalidEmail")},EmailValidator}(nq),n$=function(e){function ExpressionValidator(t){void 0===t&&(t=null);var o=e.call(this)||this;return o.conditionRunner=null,o.isRunningValue=!1,o.expression=t,o}return nB(ExpressionValidator,e),ExpressionValidator.prototype.getType=function(){return"expressionvalidator"},Object.defineProperty(ExpressionValidator.prototype,"isValidateAllValues",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(ExpressionValidator.prototype,"isAsync",{get:function(){return!!this.ensureConditionRunner(!1)&&this.conditionRunner.isAsync},enumerable:!1,configurable:!0}),Object.defineProperty(ExpressionValidator.prototype,"isRunning",{get:function(){return this.isRunningValue},enumerable:!1,configurable:!0}),ExpressionValidator.prototype.validate=function(e,t,o,n){var r=this;if(void 0===t&&(t=null),void 0===o&&(o=null),void 0===n&&(n=null),!this.expression)return null;this.conditionRunner&&(this.conditionRunner.onRunComplete=null),this.ensureConditionRunner(!0),this.conditionRunner.onRunComplete=function(o){r.isRunningValue=!1,r.onAsyncCompleted&&r.onAsyncCompleted(r.generateError(o,e,t))},this.isRunningValue=!0;var i=this.conditionRunner.run(o,n);return this.conditionRunner.isAsync?null:(this.isRunningValue=!1,this.generateError(i,e,t))},ExpressionValidator.prototype.generateError=function(e,t,o){return e?null:new ValidatorResult(t,this.createCustomError(o))},ExpressionValidator.prototype.getDefaultErrorText=function(e){return this.getLocalizationFormatString("invalidExpression",this.expression)},ExpressionValidator.prototype.ensureConditionRunner=function(e){return!!this.expression&&(e||!this.conditionRunner?this.conditionRunner=new oq(this.expression):this.conditionRunner.expression=this.expression,!0)},Object.defineProperty(ExpressionValidator.prototype,"expression",{get:function(){return this.getPropertyValue("expression")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),ExpressionValidator}(nq);ov.addClass("surveyvalidator",[{name:"text",serializationProperty:"locText"}]),ov.addClass("numericvalidator",["minValue:number","maxValue:number"],function(){return new nF},"surveyvalidator"),ov.addClass("textvalidator",[{name:"minLength:number",default:0},{name:"maxLength:number",default:0},{name:"allowDigits:boolean",default:!0}],function(){return new nz},"surveyvalidator"),ov.addClass("answercountvalidator",["minCount:number","maxCount:number"],function(){return new nH},"surveyvalidator"),ov.addClass("regexvalidator",["regex",{name:"caseInsensitive:boolean",alternativeName:"insensitive"}],function(){return new nU},"surveyvalidator"),ov.addClass("emailvalidator",[],function(){return new nW},"surveyvalidator"),ov.addClass("expressionvalidator",["expression:condition"],function(){return new n$},"surveyvalidator");var nJ=function(){function QuestionCustomWidget(e,t){this.name=e,this.widgetJson=t,this.htmlTemplate=t.htmlTemplate?t.htmlTemplate:""}return QuestionCustomWidget.prototype.afterRender=function(e,t){var o=this;this.widgetJson.afterRender&&(e.localeChangedCallback=function(){o.widgetJson.willUnmount&&o.widgetJson.willUnmount(e,t),o.widgetJson.afterRender(e,t)},this.widgetJson.afterRender(e,t))},QuestionCustomWidget.prototype.willUnmount=function(e,t){this.widgetJson.willUnmount&&this.widgetJson.willUnmount(e,t)},QuestionCustomWidget.prototype.getDisplayValue=function(e,t){return(void 0===t&&(t=void 0),this.widgetJson.getDisplayValue)?this.widgetJson.getDisplayValue(e,t):null},QuestionCustomWidget.prototype.validate=function(e){if(this.widgetJson.validate)return this.widgetJson.validate(e)},QuestionCustomWidget.prototype.isFit=function(e){return!!this.isLibraryLoaded()&&!!this.widgetJson.isFit&&this.widgetJson.isFit(e)},Object.defineProperty(QuestionCustomWidget.prototype,"canShowInToolbox",{get:function(){return!1!==this.widgetJson.showInToolbox&&"customtype"==nG.Instance.getActivatedBy(this.name)&&(!this.widgetJson.widgetIsLoaded||this.widgetJson.widgetIsLoaded())}
vendor: 4,926 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCustomWidget.prototype,"showInToolbox",{get:function(){return!1!==this.widgetJson.showInToolbox},set:function(e){this.widgetJson.showInToolbox=e},enumerable:!1,configurable:!0}),QuestionCustomWidget.prototype.init=function(){this.widgetJson.init&&this.widgetJson.init()},QuestionCustomWidget.prototype.activatedByChanged=function(e){this.isLibraryLoaded()&&this.widgetJson.activatedByChanged&&this.widgetJson.activatedByChanged(e)},QuestionCustomWidget.prototype.isLibraryLoaded=function(){return!this.widgetJson.widgetIsLoaded||!0==this.widgetJson.widgetIsLoaded()},Object.defineProperty(QuestionCustomWidget.prototype,"isDefaultRender",{get:function(){return this.widgetJson.isDefaultRender},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCustomWidget.prototype,"pdfQuestionType",{get:function(){return this.widgetJson.pdfQuestionType},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCustomWidget.prototype,"pdfRender",{get:function(){return this.widgetJson.pdfRender},enumerable:!1,configurable:!0}),QuestionCustomWidget}(),nG=function(){function CustomWidgetCollection(){this.widgetsValues=[],this.widgetsActivatedBy={},this.onCustomWidgetAdded=new o$}return Object.defineProperty(CustomWidgetCollection.prototype,"widgets",{get:function(){return this.widgetsValues},enumerable:!1,configurable:!0}),CustomWidgetCollection.prototype.add=function(e,t){void 0===t&&(t="property"),this.addCustomWidget(e,t)},CustomWidgetCollection.prototype.addCustomWidget=function(e,t){void 0===t&&(t="property");var o=e.name;o||(o="widget_"+this.widgets.length+"1");var n=new nJ(o,e);return this.widgetsValues.push(n),n.init(),this.widgetsActivatedBy[o]=t,n.activatedByChanged(t),this.onCustomWidgetAdded.fire(n,null),n},CustomWidgetCollection.prototype.getActivatedBy=function(e){return this.widgetsActivatedBy[e]||"property"},CustomWidgetCollection.prototype.setActivatedBy=function(e,t){if(e&&t){var o=this.getCustomWidgetByName(e);o&&(this.widgetsActivatedBy[e]=t,o.activatedByChanged(t))}},CustomWidgetCollection.prototype.clear=function(){this.widgetsValues=[]},CustomWidgetCollection.prototype.getCustomWidgetByName=function(e){for(var t=0;t<this.widgets.length;t++)if(this.widgets[t].name==e)return this.widgets[t];return null},CustomWidgetCollection.prototype.getCustomWidget=function(e){for(var t=0;t<this.widgetsValues.length;t++)if(this.widgetsValues[t].isFit(e))return this.widgetsValues[t];return null},CustomWidgetCollection.Instance=new CustomWidgetCollection,CustomWidgetCollection}(),nK=function(){function RendererFactory(){this.renderersHash={},this.defaultHash={}}return RendererFactory.prototype.unregisterRenderer=function(e,t){delete this.renderersHash[e][t],this.defaultHash[e]===t&&delete this.defaultHash[e]},RendererFactory.prototype.registerRenderer=function(e,t,o,n){void 0===n&&(n=!1),this.renderersHash[e]||(this.renderersHash[e]={}),this.renderersHash[e][t]=o,n&&(this.defaultHash[e]=t)},RendererFactory.prototype.getRenderer=function(e,t){var o=this.renderersHash[e];if(o){if(t&&o[t])return o[t];var n=this.defaultHash[e];if(n&&o[n])return o[n]}return"default"},RendererFactory.prototype.getRendererByQuestion=function(e){return this.getRenderer(e.getType(),e.renderAs)},RendererFactory.prototype.clear=function(){this.renderersHash={}},RendererFactory.Instance=new RendererFactory,RendererFactory}(),nZ=function(){function TextAreaModel(e){var t=this;this.options=e,this.onPropertyChangedCallback=function(){t.element&&(t.element.value=t.getTextValue(),t.updateElement())},this.question.registerFunctionOnPropertiesValueChanged(this.options.propertyNames,this.onPropertyChangedCallback,"__textarea")}return TextAreaModel.prototype.updateElement=function(){var e=this;this.element&&this.autoGrow&&setTimeout(function(){return increaseHeightByContent(e.element)},1)},TextAreaModel.prototype.setElement=function(e){e&&(this.element=e,this.updateElement())},TextAreaModel.prototype.resetElement=function(){this.element=void 0},TextAreaModel.prototype.getTextValue=function(){return this.options.getTextValue&&this.options.getTextValue()||""},TextAreaModel.prototype.onTextAreaChange=function(e){this.options.onTextAreaChange&&this.options.onTextAreaChange(e)},TextAreaModel.prototype.onTextAreaInput=function(e){this.options.onTextAreaInput&&this.options.onTextAreaInput(e),this.element&&this.autoGrow&&increaseHeightByContent(this.element)},TextAreaModel.prototype.onTextAreaKeyDown=function(e){this.options.onTextAreaKeyDown&&this.options.onTextAreaKeyDown(e)},TextAreaModel.prototype.onTextAreaBlur=function(e){this.onTextAreaChange(e),this.options.onTextAreaBlur&&this.options.onTextAreaBlur(e)},TextAreaModel.prototype.onTextAreaFocus=function(e){this.options.onTextAreaFocus&&this.options.onTextAreaFocus(e)},Object.defineProperty(TextAreaModel.prototype,"question",{get:function(){return this.options.question}
5,enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"id",{get:function(){return this.options.id()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"placeholder",{get:function(){return this.options.placeholder()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"className",{get:function(){return this.options.className()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"maxLength",{get:function(){if(this.options.maxLength)return this.options.maxLength()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"autoGrow",{get:function(){if(this.options.autoGrow)return this.options.autoGrow()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"rows",{get:function(){if(this.options.rows)return this.options.rows()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"cols",{get:function(){if(this.options.cols)return this.options.cols()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"isDisabledAttr",{get:function(){return this.options.isDisabledAttr()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"isReadOnlyAttr",{get:function(){if(this.options.isReadOnlyAttr)return this.options.isReadOnlyAttr()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"ariaRequired",{get:function(){if(this.options.ariaRequired)return this.options.ariaRequired()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"ariaLabel",{get:function(){if(this.options.ariaLabel)return this.options.ariaLabel()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"ariaInvalid",{get:function(){if(this.options.ariaInvalid)return this.options.ariaInvalid()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"ariaLabelledBy",{get:function(){if(this.options.ariaLabelledBy)return this.options.ariaLabelledBy()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"ariaDescribedBy",{get:function(){if(this.options.ariaDescribedBy)return this.options.ariaDescribedBy()},enumerable:!1,configurable:!0}),Object.defineProperty(TextAreaModel.prototype,"ariaErrormessage",{get:function(){if(this.options.ariaErrormessage)return this.options.ariaErrormessage()},enumerable:!1,configurable:!0}),TextAreaModel.prototype.dispose=function(){this.question&&this.question.unRegisterFunctionOnPropertiesValueChanged(this.options.propertyNames,"__textarea"),this.resetElement()},TextAreaModel}(),nY=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},TriggerExpressionInfo=function(e,t,o){this.name=e,this.canRun=t,this.doComplete=o,this.getSecondRunner=function(){}},nX=function(e){function Question(t){var o=e.call(this,t)||this;return o.customWidgetData={isNeedRender:!0},o.hasCssErrorCallback=function(){return!1},o.isReadyValue=!0,o.dependedQuestions=[],o.onReadyChanged=o.addEvent(),o.triggersInfo=[],o.isRunningValidatorsValue=!1,o.isValueChangedInSurvey=!1,o.allowNotifyValueChanged=!0,o.id=Question.getQuestionId(),o.onCreating(),o.createNewArray("validators",function(e){e.errorOwner=o}),o.addExpressionProperty("visibleIf",function(e,t){o.visible=!0===t}),o.addExpressionProperty("enableIf",function(e,t){o.readOnly=!1===t}),o.addExpressionProperty("requiredIf",function(e,t){o.isRequired=!0===t}),o.createLocalizableString("commentText",o,!0,"otherItemText"),o.createLocalizableString("requiredErrorText",o),o.addTriggerInfo("resetValueIf",function(){return!o.isEmpty()}
5,function(){o.startSetValueOnExpression(),o.updateValueWithDefaultsOrClear(),o.finishSetValueOnExpression()}),o.addTriggerInfo("setValueIf",function(){return!0},function(){return o.runSetValueExpression()}).getSecondRunner=function(){return o.getSetValueExpressionRunner()},o.registerPropertyChangedHandlers(["width"],function(){o.updateQuestionCss(),o.parent&&o.parent.elementWidthChanged(o)}),o.registerPropertyChangedHandlers(["isRequired"],function(){!o.isRequired&&o.errors.length>0&&o.validate(),o.locTitle.strChanged(),o.clearCssClasses()}),o.registerPropertyChangedHandlers(["indent","rightIndent"],function(){o.resetIndents()}),o.registerPropertyChangedHandlers(["showCommentArea","showOtherItem"],function(){o.initCommentFromSurvey()}),o.registerFunctionOnPropertiesValueChanged(["no","readOnly","hasVisibleErrors","containsErrors"],function(){o.updateQuestionCss()}),o.registerPropertyChangedHandlers(["_isMobile"],function(){o.onMobileChanged()}),o.registerPropertyChangedHandlers(["colSpan"],function(){var e;null===(e=o.parent)||void 0===e||e.updateColumns()}),o}return nY(Question,e),Question.getQuestionId=function(){return"sq_"+Question.questionCounter++},Question.prototype.isReadOnlyRenderDiv=function(){return this.isReadOnly&&"div"===nC.readOnly.commentRenderMode},Question.prototype.allowMobileInDesignMode=function(){return!1},Question.prototype.updateIsMobileFromSurvey=function(){this.setIsMobile(this.survey._isMobile)},Question.prototype.setIsMobile=function(e){var t=e&&(this.allowMobileInDesignMode()||!this.isDesignMode);this.isMobile=t},Question.prototype.getIsMobile=function(){return this._isMobile},Object.defineProperty(Question.prototype,"isMobile",{get:function(){return this.getIsMobile()},set:function(e){this._isMobile=e},enumerable:!1,configurable:!0}),Question.prototype.themeChanged=function(e){},Question.prototype.getDefaultTitle=function(){return this.name},Question.prototype.createLocTitleProperty=function(){var t=this,o=e.prototype.createLocTitleProperty.call(this);return o.storeDefaultText=!0,o.onGetTextCallback=function(e,o){return(e||o||(e=t.getDefaultTitle()),t.survey)?t.survey.getUpdatedQuestionTitle(t,e):e},this.locProcessedTitle=new nf(this,!0),this.locProcessedTitle.sharedData=o,o},Object.defineProperty(Question.prototype,"commentTextAreaModel",{get:function(){return this.commentTextAreaModelValue||(this.commentTextAreaModelValue=new nZ(this.getCommentTextAreaOptions())),this.commentTextAreaModelValue},enumerable:!1,configurable:!0}),Question.prototype.getCommentTextAreaOptions=function(){var e=this;return{question:this,id:function(){return e.commentId},propertyNames:["comment"],className:function(){return e.cssClasses.comment},placeholder:function(){return e.renderedCommentPlaceholder},isDisabledAttr:function(){return e.isInputReadOnly||!1},rows:function(){return e.commentAreaRows},autoGrow:function(){return e.autoGrowComment},maxLength:function(){return e.getOthersMaxLength()},ariaRequired:function(){return e.a11y_input_ariaRequired},ariaLabel:function(){return e.a11y_input_ariaLabel},getTextValue:function(){return e.comment},onTextAreaChange:function(t){e.onCommentChange(t)},onTextAreaInput:function(t){e.onCommentInput(t)}}},Question.prototype.getSurvey=function(t){return(void 0===t&&(t=!1),t)?this.parent?this.parent.getSurvey(t):null:this.onGetSurvey?this.onGetSurvey():e.prototype.getSurvey.call(this)},Question.prototype.getValueName=function(){return this.valueName?this.valueName.toString():this.name},Object.defineProperty(Question.prototype,"valueName",{get:function(){return this.getPropertyValue("valueName","")},set:function(e){var t=this.getValueName();this.setPropertyValue("valueName",e),this.onValueNameChanged(t)},enumerable:!1,configurable:!0}),Question.prototype.onValueNameChanged=function(e){this.survey&&(this.survey.questionRenamed(this,this.name,e||this.name),this.initDataFromSurvey())},Question.prototype.onNameChanged=function(e){this.locTitle.strChanged(),this.survey&&this.survey.questionRenamed(this,e,this.valueName?this.valueName:e)},Object.defineProperty(Question.prototype,"isReady",{get:function(){return this.isReadyValue}
5,enumerable:!1,configurable:!0}),Question.prototype.onAsyncRunningChanged=function(){this.updateIsReady()},Question.prototype.updateIsReady=function(){var e=this.getIsQuestionReady();if(e){for(var t=this.getIsReadyDependsOn(),o=0;o<t.length;o++)if(!t[o].getIsQuestionReady()){e=!1;break}}this.setIsReady(e)},Question.prototype.getIsQuestionReady=function(){return!this.isAsyncExpressionRunning&&this.getAreNestedQuestionsReady()},Question.prototype.getAreNestedQuestionsReady=function(){var e=this.getIsReadyNestedQuestions();if(!Array.isArray(e))return!0;for(var t=0;t<e.length;t++)if(!e[t].isReady)return!1;return!0},Question.prototype.getIsReadyNestedQuestions=function(){return this.getNestedQuestions()},Question.prototype.setIsReady=function(e){var t=this.isReadyValue;this.isReadyValue=e,t!=e&&(this.getIsReadyDependends().forEach(function(e){return e.updateIsReady()}),this.onReadyChanged.fire(this,{question:this,isReady:e,oldIsReady:t}))},Question.prototype.getIsReadyDependsOn=function(){return this.getIsReadyDependendCore(!0)},Question.prototype.getIsReadyDependends=function(){return this.getIsReadyDependendCore(!1)},Question.prototype.getDependedQuestionsByValueName=function(e){return this.survey.questionsByValueName(this.getValueName())},Question.prototype.getIsReadyDependendCore=function(e){var t=this;if(!this.survey)return[];var o=this.getDependedQuestionsByValueName(e),n=[];return o.forEach(function(e){e!==t&&n.push(e)}),!e&&(this.parentQuestion&&n.push(this.parentQuestion),this.dependedQuestions.length>0&&this.dependedQuestions.forEach(function(e){return n.push(e)})),n},Question.prototype.choicesLoaded=function(){},Object.defineProperty(Question.prototype,"page",{get:function(){return this.parentQuestion?this.parentQuestion.page:this.getPage(this.parent)},set:function(e){this.setPage(this.parent,e)},enumerable:!1,configurable:!0}),Question.prototype.getPanel=function(){return null},Question.prototype.delete=function(e){void 0===e&&(e=!0),this.removeFromParent(),e?this.dispose():this.resetDependedQuestions()},Question.prototype.removeFromParent=function(){this.parent&&this.removeSelfFromList(this.parent.elements)},Question.prototype.addDependedQuestion=function(e){!e||this.dependedQuestions.indexOf(e)>-1||this.dependedQuestions.push(e)},Question.prototype.removeDependedQuestion=function(e){if(e){var t=this.dependedQuestions.indexOf(e);t>-1&&this.dependedQuestions.splice(t,1)}},Question.prototype.updateDependedQuestions=function(){for(var e=0;e<this.dependedQuestions.length;e++)this.dependedQuestions[e].updateDependedQuestion()},Question.prototype.updateDependedQuestion=function(){},Question.prototype.resetDependedQuestion=function(){},Object.defineProperty(Question.prototype,"isFlowLayout",{get:function(){return"flow"===this.getLayoutType()},enumerable:!1,configurable:!0}),Question.prototype.getLayoutType=function(){return this.parent?this.parent.getChildrenLayoutType():"row"},Question.prototype.isLayoutTypeSupported=function(e){return"flow"!==e},Object.defineProperty(Question.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){e!=this.visible&&(this.setPropertyValue("visible",e),this.onVisibleChangedCore(),this.notifySurveyVisibilityChanged())},enumerable:!1,configurable:!0}),Question.prototype.onVisibleChanged=function(){var e=this.getPropertyValue("isVisible");this.onVisibleChangedCore();var t=this.getPropertyValue("isVisible");void 0!==e&&e!==t&&this.notifySurveyVisibilityChanged()},Question.prototype.onVisibleChangedCore=function(){this.updateIsVisibleProp(),!this.isVisible&&this.errors&&this.errors.length>0&&(this.errors=[])},Question.prototype.notifyStateChanged=function(t){e.prototype.notifyStateChanged.call(this,t),this.isCollapsed&&this.onHidingContent()},Question.prototype.updateElementVisibility=function(){this.updateIsVisibleProp()},Question.prototype.updateIsVisibleProp=function(){var e=this.getPropertyValue("isVisible"),t=this.isVisible;e===t||(this.setPropertyValue("isVisible",t),t||this.onHidingContent()),t!==this.visible&&this.areInvisibleElementsShowing&&this.updateQuestionCss(!0)},Object.defineProperty(Question.prototype,"useDisplayValuesInDynamicTexts",{get:function(){return this.getPropertyValue("useDisplayValuesInDynamicTexts")},set:function(e){this.setPropertyValue("useDisplayValuesInDynamicTexts",e)}
vendor: 17,452 bytes, line 5
5,enumerable:!1,configurable:!0}),Question.prototype.getUseDisplayValuesInDynamicTexts=function(){return this.useDisplayValuesInDynamicTexts},Object.defineProperty(Question.prototype,"visibleIf",{get:function(){return this.getPropertyValue("visibleIf","")},set:function(e){this.setPropertyValue("visibleIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isVisible",{get:function(){return!(this.survey&&this.survey.areEmptyElementsHidden&&this.isEmpty())&&(!!this.areInvisibleElementsShowing||this.isVisibleCore())},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isVisibleInSurvey",{get:function(){return this.isVisible&&this.isParentVisible},enumerable:!1,configurable:!0}),Question.prototype.isVisibleCore=function(){return this.visible},Object.defineProperty(Question.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},enumerable:!1,configurable:!0}),Question.prototype.onHidingContent=function(){},Object.defineProperty(Question.prototype,"hideNumber",{get:function(){return this.getPropertyValue("hideNumber")},set:function(e){this.setPropertyValue("hideNumber",e),this.notifySurveyVisibilityChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isAllowTitleLeft",{get:function(){return!0},enumerable:!1,configurable:!0}),Question.prototype.getType=function(){return"question"},Object.defineProperty(Question.prototype,"isQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),Question.prototype.moveTo=function(e,t){return void 0===t&&(t=null),this.moveToBase(this.parent,e,t)},Question.prototype.getProgressInfo=function(){return this.hasInput?{questionCount:1,answeredQuestionCount:this.isEmpty()?0:1,requiredQuestionCount:this.isRequired?1:0,requiredAnsweredQuestionCount:!this.isEmpty()&&this.isRequired?1:0}:e.prototype.getProgressInfo.call(this)},Question.prototype.ensureSetValueExpressionRunner=function(){var e=this;this.setValueExpressionRunner?this.setValueExpressionRunner.expression=this.setValueExpression:(this.setValueExpressionRunner=this.createExpressionRunner(this.setValueExpression),this.setValueExpressionRunner.onRunComplete=function(t){e.runExpressionSetValue(t)})},Question.prototype.runSetValueExpression=function(){this.setValueExpression?(this.ensureSetValueExpressionRunner(),this.setValueExpressionRunner.run(this.getDataFilteredValues(),this.getDataFilteredProperties())):this.clearValue()},Question.prototype.getSetValueExpressionRunner=function(){return this.ensureSetValueExpressionRunner(),this.setValueExpressionRunner},Question.prototype.addTriggerInfo=function(e,t,o){var n=new TriggerExpressionInfo(e,t,o);return this.triggersInfo.push(n),n},Question.prototype.runTriggerInfo=function(e,t){var o=this[e.name];(o||e.getSecondRunner())&&!e.isRunning&&e.canRun()&&(e.runner?e.runner.expression=o:(e.runner=this.createExpressionRunner(o),e.runner.onRunComplete=function(t){!0===t&&e.doComplete(),e.isRunning=!1}),this.canExecuteTriggerByKeys(t,e.runner,e.getSecondRunner())&&(e.isRunning=!0,!o&&e.getSecondRunner()?(e.doComplete(),e.isRunning=!1):e.runner.run(this.getDataFilteredValues(),this.getDataFilteredProperties())))},Question.prototype.canExecuteTriggerByKeys=function(e,t,o){!t&&o&&(t=o,o=void 0);var n=this.canExecuteTriggerByKeysCore(e,t);return"var"===n||(o?""!==this.canExecuteTriggerByKeysCore(e,o):"func"===n||"const"===n)},Question.prototype.canExecuteTriggerByKeysCore=function(e,t){if(!t.expression)return"";var o=t.getVariables();return Array.isArray(o)&&0!==o.length?new ox().isAnyKeyChanged(e,o)?"var":"":t.hasFunction()?"func":"const"},Question.prototype.runTriggers=function(e,t,o){var n=this;this.isSettingQuestionValue||this.parentQuestion&&this.parentQuestion.getValueName()===e||(o||((o={})[e]=t),this.triggersInfo.forEach(function(e){n.runTriggerInfo(e,o)}))},Question.prototype.runConditions=function(){this.data&&!this.isLoadingFromJson&&(this.isDesignMode||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties()),this.locStrsChanged())},Question.prototype.setSurveyImpl=function(t,o){e.prototype.setSurveyImpl.call(this,t),this.survey&&(this.survey.questionCreated(this),!0!==o&&this.runConditions(),this.visible||this.updateIsVisibleProp(),this.updateIsMobileFromSurvey())},Object.defineProperty(Question.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.parent!==e&&(this.removeFromParent(),this.setPropertyValue("parent",e),e&&this.updateQuestionCss(),this.onParentChanged())},enumerable:!1,configurable:!0}),Question.prototype.onParentChanged=function(){},Object.defineProperty(Question.prototype,"hasTitle",{get:function(){return"hidden"!==this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"titleLocation",{get:function(){return this.getPropertyValue("titleLocation")},set:function(e){var t="hidden"==this.titleLocation||"hidden"==e;this.setPropertyValue("titleLocation",e.toLowerCase()),this.updateQuestionCss(),t&&this.notifySurveyVisibilityChanged()},enumerable:!1,configurable:!0}),Question.prototype.getTitleOwner=function(){return this},Question.prototype.getIsTitleRenderedAsString=function(){return"hidden"===this.titleLocation},Question.prototype.notifySurveyOnChildrenVisibilityChanged=function(){return!1},Question.prototype.notifySurveyVisibilityChanged=function(){if(this.survey&&!this.isLoadingFromJson){this.survey.questionVisibilityChanged(this,this.isVisible,!this.parentQuestion||this.parentQuestion.notifySurveyOnChildrenVisibilityChanged());var e=this.isClearValueOnHidden;this.visible||this.clearValueOnHidding(e),e&&this.isVisibleInSurvey&&this.updateValueWithDefaults()}},Question.prototype.clearValueOnHidding=function(e){e&&this.clearValueIfInvisible()},Object.defineProperty(Question.prototype,"titleWidth",{get:function(){if(this.parent&&"left"===this.getTitleLocation()){var e=this.parent.getColumsForElement(this),t=e.length;if(0!==t&&e[0].questionTitleWidth)return e[0].questionTitleWidth;var o=this.getPercentQuestionTitleWidth();if(!o&&this.parent){var n=this.parent.getQuestionTitleWidth();return n&&!isNaN(n)&&(n+="px"),n}return o/(t||1)+"%"}},enumerable:!1,configurable:!0}),Question.prototype.getPercentQuestionTitleWidth=function(){var e=!!this.parent&&this.parent.getQuestionTitleWidth();if(e&&"%"===e[e.length-1])return parseInt(e)},Question.prototype.getTitleLocation=function(){if(this.isFlowLayout)return"hidden";var e=this.getTitleLocationCore();return"left"!==e||this.isAllowTitleLeft||(e="top"),e},Question.prototype.getTitleLocationCore=function(){return"default"!==this.titleLocation?this.titleLocation:this.parent?this.parent.getQuestionTitleLocation():this.survey?this.survey.questionTitleLocation:"top"},Object.defineProperty(Question.prototype,"hasTitleOnLeft",{get:function(){return this.hasTitle&&"left"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasTitleOnTop",{get:function(){return this.hasTitle&&"top"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasTitleOnBottom",{get:function(){return this.hasTitle&&"bottom"===this.getTitleLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasTitleOnLeftTop",{get:function(){if(!this.hasTitle)return!1;var e=this.getTitleLocation();return"left"===e||"top"===e},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"errorLocation",{get:function(){return this.getPropertyValue("errorLocation")},set:function(e){this.setPropertyValue("errorLocation",e)},enumerable:!1,configurable:!0}),Question.prototype.getErrorLocation=function(){return"default"!==this.errorLocation?this.errorLocation:this.parentQuestion?this.parentQuestion.getChildErrorLocation(this):this.parent?this.parent.getQuestionErrorLocation():this.survey?this.survey.questionErrorLocation:"top"},Question.prototype.getChildErrorLocation=function(e){return this.getErrorLocation()},Object.defineProperty(Question.prototype,"hasInput",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasSingleInput",{get:function(){return this.hasInput},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"inputId",{get:function(){return this.id+"i"},enumerable:!1,configurable:!0}),Question.prototype.getDefaultTitleValue=function(){return this.name},Question.prototype.getDefaultTitleTagName=function(){return nC.titleTags.question},Object.defineProperty(Question.prototype,"descriptionLocation",{get:function(){return this.getPropertyValue("descriptionLocation")},set:function(e){this.setPropertyValue("descriptionLocation",e),this.updateQuestionCss()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasDescriptionUnderTitle",{get:function(){return"underTitle"==this.getDescriptionLocation()&&this.hasDescription},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasDescriptionUnderInput",{get:function(){return"underInput"==this.getDescriptionLocation()&&this.hasDescription},enumerable:!1,configurable:!0}),Question.prototype.getDescriptionLocation=function(){return"default"!==this.descriptionLocation?this.descriptionLocation:this.survey?this.survey.questionDescriptionLocation:"underTitle"},Question.prototype.needClickTitleFunction=function(){return e.prototype.needClickTitleFunction.call(this)||this.hasInput},Question.prototype.processTitleClick=function(){var t=this;if(e.prototype.processTitleClick.call(this),!this.isCollapsed)return setTimeout(function(){t.focus()},1),!0},Object.defineProperty(Question.prototype,"requiredErrorText",{get:function(){return this.getLocalizableStringText("requiredErrorText")},set:function(e){this.setLocalizableStringText("requiredErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"locRequiredErrorText",{get:function(){return this.getLocalizableString("requiredErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"commentText",{get:function(){return this.getLocalizableStringText("commentText")},set:function(e){this.setLocalizableStringText("commentText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"locCommentText",{get:function(){return this.getLocalizableString("commentText")},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"commentPlaceHolder",{get:function(){return this.commentPlaceholder},set:function(e){this.commentPlaceholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"renderedCommentPlaceholder",{get:function(){var e;return null!==(e=this.getPropertyValue("renderedCommentPlaceholder"))&&void 0!==e?e:this.isReadOnly?void 0:this.commentPlaceHolder},enumerable:!1,configurable:!0}),Question.prototype.resetRenderedCommentPlaceholder=function(){this.resetPropertyValue("renderedCommentPlaceholder")},Question.prototype.getAllErrors=function(){return this.errors.slice()},Question.prototype.getErrorByType=function(e){for(var t=0;t<this.errors.length;t++)if(this.errors[t].getErrorType()===e)return this.errors[t];return null},Object.defineProperty(Question.prototype,"customWidget",{get:function(){return this.isCustomWidgetRequested||this.customWidgetValue||(this.isCustomWidgetRequested=!0,this.updateCustomWidget()),this.customWidgetValue},enumerable:!1,configurable:!0}),Question.prototype.updateCustomWidget=function(){this.customWidgetValue=nG.Instance.getCustomWidget(this)},Question.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.resetRenderedCommentPlaceholder(),this.localeChangedCallback&&this.localeChangedCallback()},Object.defineProperty(Question.prototype,"isCompositeQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isContainer",{get:function(){return!1},enumerable:!1,configurable:!0}),Question.prototype.updateCommentElements=function(){},Question.prototype.onCommentInput=function(e){this.isInputTextUpdate?e.target&&(this.comment=e.target.value):this.updateCommentElements()},Question.prototype.onCommentChange=function(e){this.comment=e.target.value,this.comment!==e.target.value&&(e.target.value=this.comment)},Question.prototype.afterRenderQuestionElement=function(e){this.survey&&this.hasSingleInput&&this.survey.afterRenderQuestionInput(this,e)},Question.prototype.afterRender=function(e){var t=this;this.afterRenderCore(e),this.survey&&(this.survey.afterRenderQuestion(this,e),this.afterRenderQuestionCallback&&this.afterRenderQuestionCallback(this,e),(this.supportComment()||this.supportOther())&&(this.commentElements=[],this.getCommentElementsId().forEach(function(e){var o=nC.environment.root.getElementById(e);o&&t.commentElements.push(o)}),this.updateCommentElements()),this.checkForResponsiveness(e))},Question.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t)},Question.prototype.getCommentElementsId=function(){return[this.commentId]},Question.prototype.beforeDestroyQuestionElement=function(e){this.commentElements=void 0},Object.defineProperty(Question.prototype,"processedTitle",{get:function(){return this.locProcessedTitle.textOrHtml||this.name},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"fullTitle",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"titlePattern",{get:function(){return this.survey?this.survey.questionTitlePattern:"numTitleRequire"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isRequireTextOnStart",{get:function(){return this.isRequired&&"requireNumTitle"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isRequireTextBeforeTitle",{get:function(){return this.isRequired&&"numRequireTitle"==this.titlePattern&&""!==this.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isRequireTextAfterTitle",{get:function(){return this.isRequired&&"numTitleRequire"==this.titlePattern&&""!==this.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"startWithNewLine",{get:function(){return this.getPropertyValue("startWithNewLine")},set:function(e){this.startWithNewLine!=e&&this.setPropertyValue("startWithNewLine",e)},enumerable:!1,configurable:!0}),Question.prototype.calcCssClasses=function(e){var t={error:{}};return this.copyCssClasses(t,e.question),this.copyCssClasses(t.error,e.error),this.updateCssClasses(t,e),t},Question.prototype.onCalcCssClasses=function(t){e.prototype.onCalcCssClasses.call(this,t),this.survey&&this.survey.updateQuestionCssClasses(this,t),this.onUpdateCssClassesCallback&&this.onUpdateCssClassesCallback(t)},Object.defineProperty(Question.prototype,"cssRoot",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssRoot","")},enumerable:!1,configurable:!0}),Question.prototype.setCssRoot=function(e){this.setPropertyValue("cssRoot",e)},Question.prototype.getCssRoot=function(t){var o=this.hasCssError();return new oY().append(e.prototype.getCssRoot.call(this,t)).append(this.isFlowLayout&&!this.isDesignMode?t.flowRoot:t.mainRoot).append(t.titleLeftRoot,!this.isFlowLayout&&this.hasTitleOnLeft).append(t.titleTopRoot,!this.isFlowLayout&&this.hasTitleOnTop).append(t.titleBottomRoot,!this.isFlowLayout&&this.hasTitleOnBottom).append(t.descriptionUnderInputRoot,!this.isFlowLayout&&this.hasDescriptionUnderInput).append(t.hasError,o).append(t.hasErrorTop,o&&"top"==this.getErrorLocation()).append(t.hasErrorBottom,o&&"bottom"==this.getErrorLocation()).append(t.small,!this.width).append(t.answered,this.isAnswered).append(t.noPointerEventsMode,this.isReadOnlyAttr).toString()},Object.defineProperty(Question.prototype,"cssHeader",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssHeader","")},enumerable:!1,configurable:!0}),Question.prototype.setCssHeader=function(e){this.setPropertyValue("cssHeader",e)},Question.prototype.getCssHeader=function(e){return new oY().append(e.header).append(e.headerTop,this.hasTitleOnTop).append(e.headerLeft,this.hasTitleOnLeft).append(e.headerBottom,this.hasTitleOnBottom).toString()},Question.prototype.supportContainerQueries=function(){return!1},Object.defineProperty(Question.prototype,"cssContent",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssContent","")},enumerable:!1,configurable:!0}),Question.prototype.setCssContent=function(e){this.setPropertyValue("cssContent",e)},Question.prototype.getCssContent=function(e){return new oY().append(e.content).append(e.contentSupportContainerQueries,this.supportContainerQueries()).append(e.contentLeft,this.hasTitleOnLeft).toString()},Object.defineProperty(Question.prototype,"cssTitle",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssTitle","")},enumerable:!1,configurable:!0}),Question.prototype.setCssTitle=function(e){this.setPropertyValue("cssTitle",e)},Question.prototype.getCssTitle=function(t){return new oY().append(e.prototype.getCssTitle.call(this,t)).append(t.titleOnAnswer,!this.containsErrors&&this.isAnswered).append(t.titleEmpty,!this.title.trim()).toString()},Object.defineProperty(Question.prototype,"cssDescription",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssDescription","")}
5,enumerable:!1,configurable:!0}),Question.prototype.setCssDescription=function(e){this.setPropertyValue("cssDescription",e)},Question.prototype.getCssDescription=function(e){return new oY().append(e.description).append(e.descriptionUnderInput,"underInput"==this.getDescriptionLocation()).toString()},Question.prototype.showErrorOnCore=function(e){return!this.showErrorsAboveQuestion&&!this.showErrorsBelowQuestion&&this.getErrorLocation()===e},Object.defineProperty(Question.prototype,"showErrorOnTop",{get:function(){return this.showErrorOnCore("top")},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"showErrorOnBottom",{get:function(){return this.showErrorOnCore("bottom")},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"showErrorsOutsideQuestion",{get:function(){return this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"showErrorsAboveQuestion",{get:function(){return this.showErrorsOutsideQuestion&&"top"===this.getErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"showErrorsBelowQuestion",{get:function(){return this.showErrorsOutsideQuestion&&"bottom"===this.getErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"cssError",{get:function(){return this.ensureElementCss(),this.getPropertyValue("cssError","")},enumerable:!1,configurable:!0}),Question.prototype.setCssError=function(e){this.setPropertyValue("cssError",e)},Question.prototype.getCssError=function(e){return new oY().append(e.error.root).append(e.errorsContainer,this.showErrorsBelowQuestion||this.showErrorsAboveQuestion).append(e.errorsContainerTop,this.showErrorsAboveQuestion).append(e.errorsContainerBottom,this.showErrorsBelowQuestion).append(e.error.locationTop,this.showErrorOnTop).append(e.error.locationBottom,this.showErrorOnBottom).toString()},Question.prototype.hasCssError=function(){return this.errors.length>0||this.hasCssErrorCallback()},Question.prototype.getRootCss=function(){return new oY().append(this.cssRoot).append(this.cssClasses.mobile,this.isMobile).append(this.cssClasses.readOnly,this.isReadOnlyStyle).append(this.cssClasses.disabled,this.isDisabledStyle).append(this.cssClasses.preview,this.isPreviewStyle).append(this.cssClasses.invisible,!this.isDesignMode&&this.areInvisibleElementsShowing&&!this.visible).toString()},Question.prototype.getQuestionRootCss=function(){return new oY().append(this.cssClasses.root).append(this.cssClasses.rootMobile,this.isMobile).toString()},Question.prototype.updateElementCss=function(t){this.wasRendered?(e.prototype.updateElementCss.call(this,t),t&&this.updateQuestionCss(!0)):this.isRequireUpdateElements=!0,this.resetIndents()},Question.prototype.onFirstRenderingCore=function(){this.isRequireUpdateElements&&(this.isRequireUpdateElements=!1,this.updateElementCss(!0)),e.prototype.onFirstRenderingCore.call(this)},Question.prototype.updateQuestionCss=function(e){!this.isLoadingFromJson&&this.survey&&(this.wasRendered?this.updateElementCssCore(this.cssClasses):this.isRequireUpdateElements=!0)},Question.prototype.ensureElementCss=function(){this.cssClassesValue||this.updateQuestionCss(!0)},Question.prototype.updateElementCssCore=function(e){this.setCssRoot(this.getCssRoot(e)),this.setCssHeader(this.getCssHeader(e)),this.setCssContent(this.getCssContent(e)),this.setCssTitle(this.getCssTitle(e)),this.setCssDescription(this.getCssDescription(e)),this.setCssError(this.getCssError(e))},Question.prototype.updateCssClasses=function(e,t){if(t.question){var o=t[this.getCssType()],n=new oY().append(e.title).append(t.question.titleRequired,this.isRequired);e.title=n.toString();var r=new oY().append(e.root).append(o,this.isRequired&&!!t.question.required);if(null==o)e.root=r.toString();else if("string"==typeof o||o instanceof String)e.root=r.append(o.toString()).toString();else for(var i in e.root=r.toString(),o)e[i]=o[i]}},Question.prototype.getCssType=function(){return this.getType()},Object.defineProperty(Question.prototype,"renderCssRoot",{get:function(){return this.cssClasse
vendor: 9,715 bytes, line 5
5s.root||void 0},enumerable:!1,configurable:!0}),Question.prototype.calcPaddingLeft=function(){return this.getIndentSize(this.indent)},Question.prototype.calcPaddingRight=function(){return this.getIndentSize(this.rightIndent)},Question.prototype.getIndentSize=function(e){return!(e<1)&&this.getSurvey()&&this.cssClasses&&this.cssClasses.indent?e*this.cssClasses.indent+"px":""},Question.prototype.focus=function(e,t){var o=this;if(void 0===e&&(e=!1),!this.isDesignMode&&this.isVisible&&this.survey){var n=this.page;if(n&&this.survey.activePage!==n)this.survey.focusQuestionByInstance(this,e);else if(this.survey){this.expandAllParents();var r=this.survey.isSmoothScrollEnabled?{behavior:"smooth"}:void 0;this.survey.scrollElementToTop(this,this,null,this.id,t,r,void 0,function(){o.focusInputElement(e)})}else this.focusInputElement(e)}},Question.prototype.focusInputElement=function(e){var t,o=e?this.getFirstErrorInputElementId():this.getFirstInputElementId(),n=null===(t=this.survey)||void 0===t?void 0:t.rootElement;nm.FocusElement(o,!1,n)&&this.fireCallback(this.focusCallback)},Object.defineProperty(Question.prototype,"isValidateVisitedEmptyFields",{get:function(){return this.supportEmptyValidation()&&!!this.survey&&this.survey.getValidateVisitedEmptyFields()&&this.isEmpty()},enumerable:!1,configurable:!0}),Question.prototype.supportEmptyValidation=function(){return!1},Question.prototype.onBlur=function(e){this.onBlurCore(e)},Question.prototype.onFocus=function(e){this.onFocusCore(e)},Question.prototype.onBlurCore=function(e){this.isFocusEmpty&&this.isEmpty()&&this.validate(!0)},Question.prototype.onFocusCore=function(e){this.isFocusEmpty=this.isValidateVisitedEmptyFields},Question.prototype.expandAllParents=function(){this.expandAllParentsCore(this)},Question.prototype.expandAllParentsCore=function(e){e&&(e.isCollapsed&&e.expand(),this.expandAllParentsCore(e.parent),this.expandAllParentsCore(e.parentQuestion))},Question.prototype.focusIn=function(){!this.survey||this.isDisposed||this.isContainer||this.survey.whenQuestionFocusIn(this)},Question.prototype.fireCallback=function(e){e&&e()},Question.prototype.getOthersMaxLength=function(){return this.survey&&this.survey.maxOthersLength>0?this.survey.maxOthersLength:null},Question.prototype.onCreating=function(){},Question.prototype.getFirstQuestionToFocus=function(e){return this.hasInput&&(!e||this.currentErrorCount>0)?this:null},Question.prototype.getFirstInputElementId=function(){return this.inputId},Question.prototype.getFirstErrorInputElementId=function(){return this.getFirstInputElementId()},Question.prototype.getProcessedTextValue=function(e){var t=e.name.toLocaleLowerCase();e.isExists=-1!==Object.keys(Question.TextPreprocessorValuesMap).indexOf(t)||void 0!==this[e.name],e.value=this[Question.TextPreprocessorValuesMap[t]||e.name]},Question.prototype.supportComment=function(){var e=this.getPropertyByName("showCommentArea");return!e||e.visible},Question.prototype.supportOther=function(){return!1},Object.defineProperty(Question.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired")},set:function(e){this.setPropertyValue("isRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"requiredIf",{get:function(){return this.getPropertyValue("requiredIf","")},set:function(e){this.setPropertyValue("requiredIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"showCommentArea",{get:function(){return this.getPropertyValue("showCommentArea",!1)},set:function(e){this.supportComment()&&this.setPropertyValue("showCommentArea",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasComment",{get:function(){return this.showCommentArea},set:function(e){this.showCommentArea=e},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaTitleId",{get:function(){return this.id+"_ariaTitle"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaDescriptionId",{get:function(){return this.id+"_ariaDescription"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"commentId",{get:function(){return this.id+"_comment"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"showOtherItem",{get:function(){return this.getPropertyValue("showOtherItem",!1)},set:function(e){this.supportOther()&&this.showOtherItem!=e&&(this.setPropertyValue("showOtherItem",e),this.hasOtherChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasOther",{get:function(){return this.showOtherItem},set:function(e){this.showOtherItem=e},enumerable:!1,configurable:!0}),Question.prototype.hasOtherChanged=function(){},Object.defineProperty(Question.prototype,"requireUpdateCommentValue",{get:function(){return this.hasComment||this.hasOther},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isReadOnly",{get:function(){var e=!!this.parent&&this.parent.isReadOnly,t=!!this.parentQuestion&&this.parentQuestion.isReadOnly,o=!!this.survey&&this.survey.isDisplayMode,n=!!this.readOnlyCallback&&this.readOnlyCallback();return this.readOnly||e||o||t||n},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isInputReadOnly",{get:function(){return void 0!==this.forceIsInputReadOnly?this.forceIsInputReadOnly:this.isReadOnly||this.isDesignModeV2},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"renderedInputReadOnly",{get:function(){return this.isInputReadOnly?"":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"renderedInputDisabled",{get:function(){return this.isInputReadOnly?"":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isReadOnlyAttr",{get:function(){return this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isDisabledAttr",{get:function(){return this.isDesignModeV2||!!this.readOnlyCallback&&this.readOnlyCallback()},enumerable:!1,configurable:!0}),Question.prototype.onReadOnlyChanged=function(){this.setPropertyValue("isInputReadOnly",this.isInputReadOnly),e.prototype.onReadOnlyChanged.call(this),this.isReadOnly&&this.clearErrors(),this.updateQuestionCss(),this.resetRenderedCommentPlaceholder()},Object.defineProperty(Question.prototype,"enableIf",{get:function(){return this.getPropertyValue("enableIf","")},set:function(e){this.setPropertyValue("enableIf",e)},enumerable:!1,configurable:!0}),Question.prototype.surveyChoiceItemVisibilityChange=function(){},Question.prototype.runCondition=function(e,t){this.isDesignMode||(t||(t={}),t.question=this,this.runConditionCore(e,t),this.isValueChangedDirectly||this.isClearValueOnHidden&&!this.isVisibleInSurvey||(this.defaultValueRunner=this.getDefaultRunner(this.defaultValueRunner,this.defaultValueExpression),this.runDefaultValueExpression(this.defaultValueRunner,e,t)))},Object.defineProperty(Question.prototype,"isInDesignMode",{get:function(){return!this.isContentElement&&this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isInDesignModeV2",{get:function(){return!this.isContentElement&&this.isDesignModeV2},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"no",{get:function(){return this.getPropertyValue("no")},enumerable:!1,configurable:!0}),Question.prototype.calcNo=function(){if(!this.hasTitle||this.hideNumber)return"";var e,t=null===(e=this.parent)||void 0===e?void 0:e.visibleIndex,o=oe.getNumberByIndex(this.visibleIndex,this.getStartIndex(),t);return this.survey&&(o=this.survey.getUpdatedQuestionNo(this,o)),o},Question.prototype.getStartIndex=function(){return this.parent?this.parent.getQuestionStartIndex():this.survey?this.survey.questionStartIndex:""},Question.prototype.onSurveyLoad=function(){this.isCustomWidgetRequested=!1,this.fireCallback(this.surveyLoadCallback),this.updateValueWithDefaults(),this.isEmpty()&&this.initDataFromSurvey()},Question.prototype.onSetData=function(){e.prototype.onSetData.call(this),this.isDesignMode||!this.survey||this.isLoadingFromJson||(this.initDataFromSurvey(),this.onSurveyValueChanged(this.value),this.updateValueWithDefaults(),this.updateIsAnswered())},Question.prototype.initDataFromSurvey=function(){if(this.data){var e=this.data.getValue(this.getValueName());oe.isValueEmpty(e)&&this.isLoadingFromJson||this.updateValueFromSurvey(e),this.initCommentFromSurvey()}},Question.prototype.initCommentFromSurvey=function(){this.data&&this.requireUpdateCommentValue?this.updateCommentFromSurvey(this.data.getComment(this.getValueName())):this.updateCommentFromSurvey("")},Question.prototype.runExpression=function(e){if(this.survey&&e)return this.survey.runExpression(e)},Object.defineProperty(Question.prototype,"commentAreaRows",{get:function(){return this.survey&&this.survey.commentAreaRows},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"autoGrowComment",{get:function(){return this.survey&&this.survey.autoGrowComment},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"allowResizeComment",{get:function(){return this.survey&&this.survey.allowResizeComment},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"questionValue",{get:function(){return this.getPropertyValueWithoutDefault("value")},set:function(e){this.setPropertyValue("value",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"questionComment",{get:function(){return this.getPropertyValueWithoutDefault("comment")}
5,set:function(e){this.setPropertyValue("comment",e),this.fireCallback(this.commentChangedCallback)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isValueArray",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"value",{get:function(){return this.getValueCore()},set:function(e){this.setNewValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"hasFilteredValue",{get:function(){return!1},enumerable:!1,configurable:!0}),Question.prototype.getFilteredValue=function(){return this.value},Question.prototype.getFilteredName=function(){return this.getValueName()},Object.defineProperty(Question.prototype,"valueForSurvey",{get:function(){return this.valueForSurveyCore(this.value)},enumerable:!1,configurable:!0}),Question.prototype.valueForSurveyCore=function(e){return this.valueToDataCallback?this.valueToDataCallback(e):e},Question.prototype.valueFromDataCore=function(e){return this.valueFromDataCallback?this.valueFromDataCallback(e):e},Question.prototype.clearValue=function(e){void 0!==this.value&&(this.value=void 0),this.comment&&!0!==e&&(this.comment=void 0),this.setValueChangedDirectly(!1)},Question.prototype.clearValueOnly=function(){this.clearValue(!0)},Question.prototype.unbindValue=function(){this.clearValue()},Question.prototype.createValueCopy=function(){return this.getUnbindValue(this.value)},Question.prototype.initDataUI=function(){},Question.prototype.getUnbindValue=function(e){return this.isValueSurveyElement(e)?e:oe.getUnbindValue(e)},Question.prototype.isValueSurveyElement=function(e){return!!e&&(Array.isArray(e)?e.length>0&&this.isValueSurveyElement(e[0]):!!e.getType&&!!e.onPropertyChanged)},Question.prototype.canClearValueAsInvisible=function(e){return"onHiddenContainer"===e&&!this.isParentVisible||!this.isVisibleInSurvey&&(!this.page||!this.page.isStartPage)&&(!this.survey||!this.survey.hasVisibleQuestionByValueName(this))},Object.defineProperty(Question.prototype,"isParentVisible",{get:function(){if(this.parentQuestion&&!this.parentQuestion.isVisible)return!1;for(var e=this.parent;e;){if(!e.isVisible)return!1;e=e.parent}return!0},enumerable:!1,configurable:!0}),Question.prototype.clearValueIfInvisible=function(e){void 0===e&&(e="onHidden");var t=this.getClearIfInvisible();"none"!==t&&("onHidden"!==e||"onComplete"!==t)&&("onHiddenContainer"!==e||t===e)&&this.clearValueIfInvisibleCore(e)},Question.prototype.clearValueIfInvisibleCore=function(e){this.canClearValueAsInvisible(e)&&this.clearValue()},Object.defineProperty(Question.prototype,"clearIfInvisible",{get:function(){return this.getPropertyValue("clearIfInvisible")},set:function(e){this.setPropertyValue("clearIfInvisible",e)},enumerable:!1,configurable:!0}),Question.prototype.getClearIfInvisible=function(){var e=this.clearIfInvisible;return this.survey?this.survey.getQuestionClearIfInvisible(e):"default"!==e?e:"onComplete"},Object.defineProperty(Question.prototype,"displayValue",{get:function(){return this.isLoadingFromJson?"":this.getDisplayValue(!0)},enumerable:!1,configurable:!0}),Question.prototype.getDisplayValue=function(e,t){void 0===t&&(t=void 0);var o=this.calcDisplayValue(e,t);return this.survey&&(o=this.survey.getQuestionDisplayValue(this,o)),this.displayValueCallback?this.displayValueCallback(o):o},Question.prototype.calcDisplayValue=function(e,t){if(void 0===t&&(t=void 0),this.customWidget){var o=this.customWidget.getDisplayValue(this,t);if(o)return o}return(t=void 0==t?this.createValueCopy():t,this.isValueEmpty(t,!this.allowSpaceAsAnswer))?this.getDisplayValueEmpty():this.getDisplayValueCore(e,t)},Question.prototype.getDisplayValueCore=function(e,t){return t},Question.prototype.getDisplayValueEmpty=function(){return""},Object.defineProperty(Question.prototype,"defaultValue",{get:function(){return this.getPropertyValue("defaultValue")},set:function(e){if(this.isValueExpression(e)){this.defaultValueExpression=e.substring(1);return}this.setPropertyValue("defaultValue",this.convertDefaultValue(e)),this.updateValueWithDefaults()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"defaultValueExpression",{get:function(){return this.getPropertyValue("defaultValueExpression")},set:function(e){this.setPropertyValue("defaultValueExpression",e),this.defaultValueRunner=void 0,this.updateV
5alueWithDefaults()},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"resetValueIf",{get:function(){return this.getPropertyValue("resetValueIf")},set:function(e){this.setPropertyValue("resetValueIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"setValueIf",{get:function(){return this.getPropertyValue("setValueIf")},set:function(e){this.setPropertyValue("setValueIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"setValueExpression",{get:function(){return this.getPropertyValue("setValueExpression")},set:function(e){this.setPropertyValue("setValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"resizeStyle",{get:function(){return this.allowResizeComment?"both":"none"},enumerable:!1,configurable:!0}),Question.prototype.getPlainData=function(e){var t=this;if(e||(e={includeEmpty:!0,includeQuestionTypes:!1}),e.includeEmpty||!this.isEmpty()){var o={name:this.name,title:this.locTitle.renderedHtml,value:this.value,displayValue:this.displayValue,isNode:!1,getString:function(e){return"object"==typeof e?JSON.stringify(e):e}};return!0===e.includeQuestionTypes&&(o.questionType=this.getType()),(e.calculations||[]).forEach(function(e){o[e.propertyName]=t.getPlainDataCalculatedValue(e.propertyName)}),this.hasComment&&(o.isNode=!0,o.data=[{name:0,isComment:!0,title:"Comment",value:nC.commentSuffix,displayValue:this.comment,getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1}]),o}},Question.prototype.getPlainDataCalculatedValue=function(e){return this[e]},Object.defineProperty(Question.prototype,"correctAnswer",{get:function(){return this.getPropertyValue("correctAnswer")},set:function(e){this.setPropertyValue("correctAnswer",this.convertDefaultValue(e))},enumerable:!1,configurable:!0}),Question.prototype.convertDefaultValue=function(e){return e},Object.defineProperty(Question.prototype,"quizQuestionCount",{get:function(){return this.isVisible&&this.hasInput&&!this.isValueEmpty(this.correctAnswer)?this.getQuizQuestionCount():0},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"correctAnswerCount",{get:function(){return this.isEmpty()||this.isValueEmpty(this.correctAnswer)?0:this.getCorrectAnswerCount()},enumerable:!1,configurable:!0}),Question.prototype.getQuizQuestionCount=function(){return 1},Question.prototype.getCorrectAnswerCount=function(){return this.checkIfAnswerCorrect()?1:0},Question.prototype.checkIfAnswerCorrect=function(){var e=oe.isTwoValueEquals(this.value,this.correctAnswer,this.getAnswerCorrectIgnoreOrder(),nC.comparator.caseSensitive,!0),t=e?1:0,o=this.quizQuestionCount-t,n={result:e,correctAnswers:t,correctAnswerCount:t,incorrectAnswers:o,incorrectAnswerCount:o};return this.survey&&this.survey.onCorrectQuestionAnswer(this,n),n.result},Question.prototype.getAnswerCorrectIgnoreOrder=function(){return!1},Question.prototype.isAnswerCorrect=function(){return this.correctAnswerCount==this.quizQuestionCount},Question.prototype.updateValueWithDefaults=function(){!(this.isLoadingFromJson||!this.isDesignMode&&this.isDefaultValueEmpty()||!this.isDesignMode&&!this.isEmpty()||this.isEmpty()&&this.isDefaultValueEmpty())&&(!this.isClearValueOnHidden||this.isVisible)&&(this.isDesignMode&&this.isContentElement&&this.isDefaultValueEmpty()||this.setDefaultValue())},Object.defineProperty(Question.prototype,"isValueDefault",{get:function(){return!this.isEmpty()&&(this.isTwoValueEquals(this.defaultValue,this.value)||!this.isValueChangedDirectly&&!!this.defaultValueExpression)},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"isClearValueOnHidden",{get:function(){var e=this.getClearIfInvisible();return"none"!==e&&"onComplete"!==e&&("onHidden"===e||"onHiddenContainer"===e)},enumerable:!1,configurable:!0}),Question.prototype.getQuestionFromArray=function(e,t){return null},Question.prototype.getDefaultValue=function(){return this.defaultValue},Question.prototype.isDefaultValueEmpty=function(){return!this.defaultValueExpression&&this.isValueEmpty(this.defaultValue,!this.allowSpaceAsAnswer)},Question.prototype.getDefaultRunner=function(e,t){return!e&&t&&(e=this.createExpressionRunner(t)),e&&(e.expression=t),e},Question.prototype.setDefaultValue=function(){var e=this;this.setDefaultValueCore(function(t){e.isTwoValueEquals(e.value,t)||(e.value=t)})},Question.prototype.setDefaultValueCore=function(e){this.defaultValueRunner=this.getDefaultRunner(this.defaultValueRunner,this.defaultValueExpression),this.setValueAndRunExpression(this.defaultValueRunner,this.getUnbindValue(this.defaultValue),function(t){return e(t)})},Question.prototype.updateValueWithDefaultsOrClear=function(){this.isDesignMode||this.isLoadingFromJson||(this.isDefaultValueEmpty()?this.clearValue():this.setDefaultValue())},Question.prototype.isValueExpression=function(e){return!!e&&"string"==typeof e&&e.length>0&&"="==e[0]},Question.prototype.setValueAndRunExpression=function(e,t,o,n,r){var i=this;void 0===n&&(n=null),void 0===r&&(r=null);var func=function(e){i.runExpressionSetValueCore(e,o)};this.runDefaultValueExpression(e,n,r,func)||func(t)},Question.prototype.convertFuncValuetoQuestionValue=function(e){return oe.convertValToQuestionVal(e)},Question.prototype.runExpressionSetValueCore=function(e,t){t(this.convertFuncValuetoQuestionValue(e))},Question.prototype.runExpressionSetValue=function(e){var t=this;this.runExpressionSetValueCore(e,function(e){t.isTwoValueEquals(t.value,e)||(t.startSetValueOnExpression(),t.value=e,t.finishSetValueOnExpression())})},Question.prototype.startSetValueOnExpression=function(){var e;null===(e=this.survey)||void 0===e||e.startSetValueOnExpression()},Question.prototype.finishSetValueOnExpression=function(){var e;null===(e=this.survey)||void 0===e||e.finishSetValueOnExpression()},Question.prototype.runDefaultValueExpression=function(e,t,o,n){var r=this;return void 0===t&&(t=null),void 0===o&&(o=null),!!e&&!!this.data&&(n||(n=function(e){r.runExpressionSetValue(e)}),t||(t=this.defaultValueExpression?this.data.getFilteredValues():{}),o||((o=this.defaultValueExpression?this.data.getFilteredProperties():{}).question=this),e&&e.canRun&&(e.onRunComplete=function(e){void 0==e&&(e=r.defaultValue),r.isChangingViaDefaultValue=!0,n(e),r.isChangingViaDefaultValue=!1},e.run(t,o)),!0)},Object.defineProperty(Question.prototype,"comment",{get:function(){return this.getQuestionComment()},set:function(e){if(e){var t=e.toString().trim();t!==e&&(e=t)===this.comment&&this.setPropertyValueDirectly("comment",e)}this.comment!=e&&(this.setQuestionComment(e),this.updateCommentElements())}
5,enumerable:!1,configurable:!0}),Question.prototype.getCommentAreaCss=function(e){return void 0===e&&(e=!1),new oY().append("form-group",e).append(this.cssClasses.formGroup,!e).append(this.cssClasses.commentArea).toString()},Question.prototype.getQuestionComment=function(){return this.questionComment},Question.prototype.setQuestionComment=function(e){this.setNewComment(e)},Question.prototype.isEmpty=function(){return this.isValueEmpty(this.value,!this.allowSpaceAsAnswer)},Object.defineProperty(Question.prototype,"isAnswered",{get:function(){return this.getPropertyValue("isAnswered")||!1},set:function(e){this.setPropertyValue("isAnswered",e)},enumerable:!1,configurable:!0}),Question.prototype.updateIsAnswered=function(){var e=this.isAnswered;this.setPropertyValue("isAnswered",this.getIsAnswered()),e!==this.isAnswered&&this.updateQuestionCss()},Question.prototype.getIsAnswered=function(){return!this.isEmpty()},Object.defineProperty(Question.prototype,"validators",{get:function(){return this.getPropertyValue("validators")},set:function(e){this.setPropertyValue("validators",e)},enumerable:!1,configurable:!0}),Question.prototype.getValidators=function(){return this.validators},Question.prototype.getSupportedValidators=function(){for(var e=[],t=this.getType();t;){var o=nC.supportedValidators[t];if(o)for(var n=o.length-1;n>=0;n--)e.splice(0,0,o[n]);t=ov.findClass(t).parentName}return e},Question.prototype.addConditionObjectsByContext=function(e,t){e.push({name:this.getFilteredName(),text:this.processedTitle,question:this})},Question.prototype.getNestedQuestions=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var o=[];return(this.collectNestedQuestions(o,e,t),t||1!==o.length||o[0]!==this)?o:[]},Question.prototype.collectNestedQuestions=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1),(!t||this.isVisible)&&this.collectNestedQuestionsCore(e,t,o)},Question.prototype.collectNestedQuestionsCore=function(e,t,o){e.push(this)},Question.prototype.getConditionJson=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var o=new oy().toJsonObject(this);return o.type=this.getType(),o},Question.prototype.hasErrors=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=null);var o=this.checkForErrors(!!t&&!0===t.isOnValueChanged,e);return e&&(this.survey&&this.survey.beforeSettingQuestionErrors(this,o),this.errors=o,this.errors!==o&&this.errors.forEach(function(e){return e.locText.strChanged()})),this.updateContainsErrors(),this.isCollapsed&&t&&e&&o.length>0&&this.expand(),o.length>0},Question.prototype.validate=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=null),t&&t.isOnValueChanged&&this.parent&&this.parent.validateContainerOnly(),!this.hasErrors(e,t)},Object.defineProperty(Question.prototype,"currentErrorCount",{get:function(){return this.errors.length},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"requiredText",{get:function(){return null!=this.survey&&this.isRequired?this.survey.requiredText:""},enumerable:!1,configurable:!0}),Question.prototype.addError=function(e){if(e){var t=null;t="string"==typeof e||e instanceof String?this.addCustomError(e):e,this.errors.push(t)}},Question.prototype.addCustomError=function(e){return new nL(e,this.survey)},Question.prototype.removeError=function(e){if(!e)return!1;var t=this.errors,o=t.indexOf(e);return -1!==o&&t.splice(o,1),-1!==o},Question.prototype.checkForErrors=function(e,t){var o=[];return this.isVisible&&this.canCollectErrors()&&this.collectErrors(o,e,t),o},Question.prototype.canCollectErrors=function(){return!this.isReadOnly||nC.readOnly.enableValidation},Question.prototype.collectErrors=function(e,t,o){if(this.onCheckForErrors(e,t,o),!(e.length>0)&&this.canRunValidators(t)){var n=this.runValidators();if(n.length>0){e.length=0;for(var r=0;r<n.length;r++)e.push(n[r])}if(this.survey&&0==e.length){var i=this.fireSurveyValidation();i&&e.push(i)}}},Question.prototype.canRunValidators=function(e){return!0},Question.prototype.fireSurveyValidation=function(){return this.validateValueCallback?this.validateValueCallback():this.survey?this.survey.validateQuestion(this):null},Question.prototype.onCheckForErrors=function(e,t,o){var n=this;if((!t||this.isOldAnswered)&&this.hasRequiredError()){var r=new nM(this.requiredErrorText,this);r.onUpdateErrorTextCallback=function(e){e.text=n.requiredErrorText},e.push(r)}if(!this.isEmpty()&&this.customWidget){var i=this.customWidget.validate(this);i&&e.push(this.addCustomError(i))}},Question.prototype.hasRequiredError=function(){return this.isRequired&&this.isEmpty()},Object.defineProperty(Question.prototype,"isRunningValidators",{get:function(){return this.getIsRunningValidators()}
vendor: 4,952 bytes, line 5
5,enumerable:!1,configurable:!0}),Question.prototype.getIsRunningValidators=function(){return this.isRunningValidatorsValue},Question.prototype.runValidators=function(){var e=this;return this.validatorRunner&&(this.validatorRunner.onAsyncCompleted=null),this.validatorRunner=new nN,this.isRunningValidatorsValue=!0,this.validatorRunner.onAsyncCompleted=function(t){e.doOnAsyncCompleted(t)},this.validatorRunner.run(this)},Question.prototype.doOnAsyncCompleted=function(e){for(var t=0;t<e.length;t++)this.errors.push(e[t]);this.isRunningValidatorsValue=!1,this.raiseOnCompletedAsyncValidators()},Question.prototype.raiseOnCompletedAsyncValidators=function(){this.onCompletedAsyncValidators&&!this.isRunningValidators&&(this.onCompletedAsyncValidators(this.getAllErrors().length>0),this.onCompletedAsyncValidators=null)},Question.prototype.setNewValue=function(e){!this.isNewValueEqualsToValue(e)&&this.checkIsValueCorrect(e)&&(this.isOldAnswered=this.isAnswered,this.isSettingQuestionValue=!0,this.setNewValueInData(e),this.allowNotifyValueChanged&&this.onValueChanged(),this.isSettingQuestionValue=!1,this.isAnswered!==this.isOldAnswered&&this.updateQuestionCss(),this.isOldAnswered=void 0,this.parent&&this.parent.onQuestionValueChanged(this))},Question.prototype.checkIsValueCorrect=function(e){var t=this.isValueEmpty(e,!this.allowSpaceAsAnswer)||this.isNewValueCorrect(e);return t||oC.inCorrectQuestionValue(this.name,e),t},Question.prototype.isNewValueCorrect=function(e){return!0},Question.prototype.isNewValueEqualsToValue=function(e){var t=this.value;return!!this.isTwoValueEquals(e,t,!1,!1)&&!(e===t&&t&&(Array.isArray(t)||"object"==typeof t))},Question.prototype.isTextValue=function(){return!1},Question.prototype.getIsInputTextUpdate=function(){return!!this.survey&&this.survey.isUpdateValueTextOnTyping},Object.defineProperty(Question.prototype,"requireStrictCompare",{get:function(){return!1},enumerable:!1,configurable:!0}),Question.prototype.getExpressionValue=function(e){return e},Question.prototype.getDataLocNotification=function(){return!!this.isInputTextUpdate&&"text"},Object.defineProperty(Question.prototype,"isInputTextUpdate",{get:function(){return this.getIsInputTextUpdate()&&this.isTextValue()},enumerable:!1,configurable:!0}),Question.prototype.setNewValueInData=function(e){e=this.valueToData(e),this.isValueChangedInSurvey||this.setValueCore(e)},Question.prototype.getValueCore=function(){return this.questionValue},Question.prototype.setValueCore=function(e){this.setQuestionValue(e),null!=this.data&&this.canSetValueToSurvey()&&(e=this.valueForSurvey,this.data.setValue(this.getValueName(),e,this.getDataLocNotification(),this.allowNotifyValueChanged,this.name)),this.isMouseDown=!1},Question.prototype.canSetValueToSurvey=function(){return!0},Question.prototype.valueFromData=function(e){return e},Question.prototype.valueToData=function(e){return e},Question.prototype.convertToCorrectValue=function(e){return e},Question.prototype.onValueChanged=function(){},Question.prototype.onMouseDown=function(){this.isMouseDown=!0},Question.prototype.setNewComment=function(e){this.questionComment!==e&&(this.questionComment=e,this.setCommentIntoData(e))},Question.prototype.setCommentIntoData=function(e){null!=this.data&&this.data.setComment(this.getValueName(),e,!!this.getIsInputTextUpdate()&&"text")},Question.prototype.getValidName=function(e){return makeNameValid(e)},Question.prototype.updateValueFromSurvey=function(e,t){var o=this;if(void 0===t&&(t=!1),e=this.getUnbindValue(e),e=this.valueFromDataCore(e),this.checkIsValueCorrect(e)){var n=this.isValueEmpty(e);!n&&this.defaultValueExpression?this.setDefaultValueCore(function(t){o.updateValueFromSurveyCore(e,o.isTwoValueEquals(e,t))}):(this.updateValueFromSurveyCore(e,this.data!==this.getSurvey()),t&&n&&(this.isValueChangedDirectly=!1)),this.updateDependedQuestions(),this.updateIsAnswered()}},Question.prototype.updateValueFromSurveyCore=function(e,t){this.isChangingViaDefaultValue=t,this.setQuestionValue(this.valueFromData(e)),this.isChangingViaDefaultValue=!1},Question.prototype.updateCommentFromSurvey=function(e){this.questionComment=e},Question.prototype.onChangeQuestionValue=function(e){},Question.prototype.setValueChangedDirectly=function(e){this.isValueChangedDirectly=e,this.setValueChangedDirectlyCallback&&this.setValueChangedDirectlyCallback(e)},Question.prototype.setQuestionValue=function(e,t){void 0===t&&(t=!0),e=this.convertToCorrectValue(e);var o=this.isTwoValueEquals(this.questionValue,e);o||this.isChangingViaDefaultValue||this.isParentChangingViaDefaultValue||this.setValueChangedDirectly(!0),this.questionValue=e,o||this.onChangeQuestionValue(e),!o&&this.allowNotifyValueChanged&&this.fireCallback(this.valueChangedCallback),t&&this.updateIsAnswered()},Object.defineProperty(Question.prototype,"isParentChangingViaDefaultValue",{get:function(){var e;return(null===(e=this.data)||void 0===e?void 0:e.isChangingViaDefaultValue)===!0}
5,enumerable:!1,configurable:!0}),Question.prototype.onSurveyValueChanged=function(e){},Question.prototype.setVisibleIndex=function(e){return this.isVisible&&(this.hasTitle||nC.numbering.includeQuestionsWithHiddenTitle)&&(!this.hideNumber||nC.numbering.includeQuestionsWithHiddenNumber)||(e=-1),this.setPropertyValue("visibleIndex",e),this.setPropertyValue("no",this.calcNo()),e<0?0:1},Question.prototype.removeElement=function(e){return!1},Question.prototype.supportGoNextPageAutomatic=function(){return!1},Question.prototype.supportGoNextPageError=function(){return!0},Question.prototype.clearIncorrectValues=function(){},Question.prototype.clearOnDeletingContainer=function(){},Question.prototype.clearErrors=function(){this.errors=[]},Question.prototype.clearUnusedValues=function(){},Question.prototype.onAnyValueChanged=function(e,t){},Question.prototype.checkBindings=function(e,t){if(!this.bindings.isEmpty()&&this.data)for(var o=this.bindings.getPropertiesByValueName(e),n=0;n<o.length;n++){var r=o[n];this.isValueEmpty(t)&&oe.isNumber(this[r])&&(t=0),this.updateBindingProp(r,t)}},Question.prototype.updateBindingProp=function(e,t){this[e]=t},Question.prototype.getComponentName=function(){return nK.Instance.getRendererByQuestion(this)},Question.prototype.isDefaultRendering=function(){return!!this.customWidget||"default"===this.getComponentName()},Question.prototype.getErrorCustomText=function(e,t){return this.survey?this.survey.getSurveyErrorCustomText(this,e,t):e},Question.prototype.getValidatorTitle=function(){return null},Object.defineProperty(Question.prototype,"validatedValue",{get:function(){return this.value},set:function(e){this.value=e},enumerable:!1,configurable:!0}),Question.prototype.getAllValues=function(){return this.data?this.data.getAllValues():null},Question.prototype.processPopupVisiblilityChanged=function(e,t){this.survey.processPopupVisiblityChanged(this,e,t)},Question.prototype.processOpenDropdownMenu=function(e){this.survey.processOpenDropdownMenu(this,e)},Question.prototype.onTextKeyDownHandler=function(e){13===e.keyCode&&this.survey.questionEditFinishCallback(this,e)},Question.prototype.transformToMobileView=function(){},Question.prototype.transformToDesktopView=function(){},Question.prototype.needResponsiveWidth=function(){return!1},Question.prototype.supportResponsiveness=function(){return!1},Question.prototype.needResponsiveness=function(){return this.supportResponsiveness()&&this.isDefaultV2Theme&&!this.isDesignMode},Question.prototype.checkForResponsiveness=function(e){var t=this;this.needResponsiveness()&&(this.isCollapsed?this.registerPropertyChangedHandlers(["state"],function(){t.isExpanded&&(t.initResponsiveness(e),t.unregisterPropertyChangedHandlers(["state"],"for-responsiveness"))},"for-responsiveness"):this.initResponsiveness(e))},Question.prototype.getObservedElementSelector=function(){return".sd-scrollable-container"},Question.prototype.onMobileChanged=function(){this.onMobileChangedCallback&&this.onMobileChangedCallback()},Question.prototype.triggerResponsiveness=function(e){void 0===e&&(e=!0),this.triggerResponsivenessCallback&&this.triggerResponsivenessCallback(e)},Question.prototype.initResponsiveness=function(e){var t=this;if(this.destroyResizeObserver(),e&&this.isDefaultRendering()){var o=this.getObservedElementSelector();if(!o||!e.querySelector(o))return;var n=!1,r=void 0;this.triggerResponsivenessCallback=function(i){i&&(r=void 0,t.renderAs="default",n=!1);var callback=function(){var i=e.querySelector(o);!r&&t.isDefaultRendering()&&(r=i.scrollWidth),n=!n&&!!isContainerVisible(i)&&t.processResponsiveness(r,getElementWidth(i))};i?setTimeout(callback,1):callback()},this.resizeObserver=new ResizeObserver(function(e){t6.requestAnimationFrame(function(){t.triggerResponsiveness(!1)})}),this.onMobileChangedCallback=function(){setTimeout(function(){var n=e.querySelector(o);t.processResponsiveness(r,getElementWidth(n))},0)},this.resizeObserver.observe(e)}},Question.prototype.getCompactRenderAs=function(){return"default"},Question.prototype.getDesktopRenderAs=function(){return"default"},Question.prototype.onBeforeSetCompactRenderer=function(){},Question.prototype.onBeforeSetDesktopRenderer=function(){}
vendor: 10,659 bytes, line 5
5,Question.prototype.processResponsiveness=function(e,t){if(Math.abs(e-(t=Math.round(t)))>2){var o=this.renderAs;return e>t?(this.onBeforeSetCompactRenderer(),this.renderAs=this.getCompactRenderAs()):(this.onBeforeSetDesktopRenderer(),this.renderAs=this.getDesktopRenderAs()),o!==this.renderAs}return!1},Question.prototype.destroyResizeObserver=function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.onMobileChangedCallback=void 0,this.triggerResponsivenessCallback=void 0,this.renderAs=this.getDesktopRenderAs())},Question.prototype.dispose=function(){e.prototype.dispose.call(this),this.resetDependedQuestions(),this.destroyResizeObserver()},Question.prototype.resetDependedQuestions=function(){for(var e=0;e<this.dependedQuestions.length;e++)this.dependedQuestions[e].resetDependedQuestion()},Object.defineProperty(Question.prototype,"isNewA11yStructure",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaLabel",{get:function(){return this.isNewA11yStructure?null:this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaRole",{get:function(){return this.isNewA11yStructure?null:"textbox"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaRequired",{get:function(){return this.isNewA11yStructure?null:this.isRequired?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaInvalid",{get:function(){return this.isNewA11yStructure?null:this.hasCssError()?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaLabelledBy",{get:function(){return this.isNewA11yStructure?null:this.hasTitle?this.ariaTitleId:null},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaDescribedBy",{get:function(){return this.isNewA11yStructure?null:this.hasTitle&&this.hasDescription?this.ariaDescriptionId:null},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"ariaErrormessage",{get:function(){return this.isNewA11yStructure?null:this.hasCssError()?this.id+"_errors":null},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaRole",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaRequired",{get:function(){return this.isRequired?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaInvalid",{get:function(){return this.hasCssError()?"true":"false"},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaLabel",{get:function(){return this.hasTitle&&!this.parentQuestion?null:this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaLabelledBy",{get:function(){return this.hasTitle&&!this.parentQuestion?this.ariaTitleId:null},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaDescribedBy",{get:function(){return this.hasTitle&&!this.parentQuestion&&this.hasDescription?this.ariaDescriptionId:null},enumerable:!1,configurable:!0}),Object.defineProperty(Question.prototype,"a11y_input_ariaErrormessage",{get:function(){return this.hasCssError()?this.id+"_errors":null},enumerable:!1,configurable:!0}),Question.TextPreprocessorValuesMap={title:"processedTitle",require:"requiredText"},Question.questionCounter=100,question_decorate([jsonobject_property({defaultValue:!1})],Question.prototype,"_isMobile",void 0),question_decorate([jsonobject_property()],Question.prototype,"forceIsInputReadOnly",void 0),question_decorate([jsonobject_property()],Question.prototype,"ariaExpanded",void 0),question_decorate([jsonobject_property({localizable:!0,onSet:function(e,t){return t.resetRenderedCommentPlaceholder()}})],Question.prototype,"commentPlaceholder",void 0),question_decorate([jsonobject_property()],Question.prototype,"renderAs",void 0),question_decorate([jsonobject_property({defaultValue:!1})],Question.prototype,"inMatrixMode",void 0),Question}(nm);function makeNameValid(e){if(!e)return e;for(e=e.trim().replace(/[\{\}]+/g,"");e&&e[0]===nC.expressionDisableConversionChar;)e=e.substring(1);return e}ov.addClass("question",[{name:"!name",onSettingValue:function(e,t){return makeNameValid(t)}},{name:"state",default:"default",choices:["default","collapsed","expanded"]},{name:"visible:switch",default:!0,overridingProperty:"visibleIf"},{name:"useDisplayValuesInDynamicTexts:boolean",alternativeName:"useDisplayValuesInTitle",default:!0,layout:"row"},"visibleIf:condition",{name:"width"},{name:"minWidth",defaultFunc:function(){return nC.minWidth}},{name:"maxWidth",defaultFunc:function(){return nC.maxWidth}},{name:"colSpan:number",visible:!1,onSerializeValue:function(e){return e.getPropertyValue("colSpan")}},{name:"effectiveColSpan:number",minValue:1,isSerializable:!1,visibleIf:function(e){return!!e&&!!e.survey&&e.survey.gridLayoutEnabled}},{name:"startWithNewLine:boolean",default:!0,layout:"row"},{name:"indent:number",default:0,choices:[0,1,2,3],layout:"row"},{name:"page",isSerializable:!1,visibleIf:function(e){var t=e?e.survey:null;return!t||!t.pages||t.pages.length>1},choices:function(e){var t=e?e.survey:null;return t?t.pages.map(function(e){return{value:e.name,text:e.title}}):[]}},{name:"title:text",serializationProperty:"locTitle",layout:"row",dependsOn:"name",onPropertyEditorUpdate:function(e,t){e&&t&&(t.placeholder=e.getDefaultTitle())}},{name:"titleLocation",default:"default",choices:["default","top","bottom","left","hidden"],layout:"row"},{name:"description:text",serializationProperty:"locDescription",layout:"row"},{name:"descriptionLocation",default:"default",choices:["default","underInput","underTitle"]},{name:"hideNumber:boolean",dependsOn:"titleLocation",visibleIf:function(e){if(!e)return!0;if("hidden"===e.titleLocation)return!1;var t=e?e.parent:null;if(!(!t||"off"!==t.showQuestionNumbers))return!1;var o=e?e.survey:null;return!o||"off"!==o.showQuestionNumbers||!!t&&"onpanel"===t.showQuestionNumbers}},{name:"valueName",onSettingValue:function(e,t){return makeNameValid(t)}},"enableIf:condition","resetValueIf:condition","setValueIf:condition","setValueExpression:expression","defaultValue:value",{name:"defaultValueExpression:expression",category:"logic"},"correctAnswer:value",{name:"clearIfInvisible",default:"default",choices:["default","none","onComplete","onHidden","onHiddenContainer"]},{name:"isRequired:switch",overridingProperty:"requiredIf"},"requiredIf:condition",{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},{name:"errorLocation",default:"default",choices:["default","top","bottom"]},{name:"readOnly:switch",overridingProperty:"enableIf"},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"},{name:"bindings:bindings",serializationProperty:"bindings",visibleIf:function(e){return e.bindings.getNames().length>0}},{name:"renderAs",default:"default",visible:!1},{name:"showCommentArea",visible:!1,default:!1,alternativeName:"hasComment",category:"general"},{name:"commentText",dependsOn:"showCommentArea",visibleIf:function(e){return e.showCommentArea},serializationProperty:"locCommentText"},{name:"commentPlaceholder",alternativeName:"commentPlaceHolder",serializationProperty:"locCommentPlaceholder",dependsOn:"showCommentArea",visibleIf:function(e){return e.hasComment}}]),ov.addAlterNativeClassName("question","questionbase");var n1=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),itemvalue_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},n0=function(e){function ItemValue(t,o,n){void 0===o&&(o=null),void 0===n&&(n="itemvalue");var r=e.call(this)||this;return r.typeName=n,r.ownerPropertyName="",r.locTextValue=new nf(r,!0,"text"),r.locTextValue.onStrChanged=function(e,t){r.propertyValueChanged("text",e,t)},r.locTextValue.onGetTextCallback=function(e){return e||(oe.isValueEmpty(r.value)?null:r.value.toString())},o&&(r.locText.text=o),t&&"object"==typeof t?r.setData(t,!0):r.setValue(t,!0),"itemvalue"!=r.getType()&&os.createProperties(r),r.data=r,r.onCreating(),r}return n1(ItemValue,e),ItemValue.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},ItemValue.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},ItemValue.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},ItemValue.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},Object.defineProperty(ItemValue,"Separator",{get:function(){return nC.itemValueSeparator},set:function(e){nC.itemValueSeparator=e},enumerable:!1,configurable:!0}),ItemValue.setData=function(e,t,o){e.length=0;for(var n=0;n<t.length;n++){var r=t[n],i=r&&"function"==typeof r.getType?r.getType():null!=o?o:"itemvalue",s=ov.createClass(i);s.setData(r),r.originalItem&&(s.originalItem=r.originalItem),e.push(s)}},ItemValue.getData=function(e){for(var t=[],o=0;o<e.length;o++)t.push(e[o].getData());return t},ItemValue.getItemByValue=function(e,t){if(!Array.isArray(e))return null;for(var o=oe.isValueEmpty(t),n=0;n<e.length;n++)if(o&&oe.isValueEmpty(e[n].value)||oe.isTwoValueEquals(e[n].value,t,!1,!0,!1))return e[n];return null},ItemValue.getTextOrHtmlByValue=function(e,t){var o=ItemValue.getItemByValue(e,t);return null!==o?o.locText.textOrHtml:""},ItemValue.locStrsChanged=function(e){for(var t=0;t<e.length;t++)e[t].locStrsChanged()},ItemValue.runConditionsForItems=function(e,t,o,n,r,i,s){return void 0===i&&(i=!0),ItemValue.runConditionsForItemsCore(e,t,o,n,r,!0,i,s)},ItemValue.runEnabledConditionsForItems=function(e,t,o,n,r){return ItemValue.runConditionsForItemsCore(e,null,t,o,n,!1,!0,r)},ItemValue.runConditionsForItemsCore=function(e,t,o,n,r,i,s,a){void 0===s&&(s=!0),n||(n={});for(var l=n.item,u=n.choice,c=!1,p=0;p<e.length;p++){var d=e[p];
vendor: 4,111 bytes, line 5
5n.item=d.value,n.choice=d.value;var h=!!s&&!!d.getConditionRunner&&d.getConditionRunner(i);h||(h=o);var m=!0;h&&(m=h.run(n,r)),a&&(m=a(d,m)),t&&m&&t.push(d),m!=(i?d.isVisible:d.isEnabled)&&(c=!0,i?d.setIsVisible&&d.setIsVisible(m):d.setIsEnabled&&d.setIsEnabled(m))}return l?n.item=l:delete n.item,u?n.choice=u:delete n.choice,c},ItemValue.prototype.onCreating=function(){},ItemValue.prototype.getType=function(){return this.typeName?this.typeName:"itemvalue"},ItemValue.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.locOwner&&this.locOwner.getSurvey?this.locOwner.getSurvey():null},ItemValue.prototype.getLocale=function(){return this.locOwner&&this.locOwner.getLocale?this.locOwner.getLocale():""},Object.defineProperty(ItemValue.prototype,"isInternal",{get:function(){return!0===this.isGhost},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"locText",{get:function(){return this.locTextValue},enumerable:!1,configurable:!0}),ItemValue.prototype.setLocText=function(e){this.locTextValue=e},Object.defineProperty(ItemValue.prototype,"locOwner",{get:function(){return this._locOwner},set:function(e){this._locOwner=e},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"value",{get:function(){return this.getPropertyValue("value")},set:function(e){this.setValue(e,!1)},enumerable:!1,configurable:!0}),ItemValue.prototype.setValue=function(e,t){var o=void 0;if(!oe.isValueEmpty(e)){var n=e.toString(),r=n.indexOf(nC.itemValueSeparator);r>-1&&(e=n.slice(0,r),o=n.slice(r+1))}t?this.setPropertyValueDirectly("value",e):this.setPropertyValue("value",e),o&&(this.text=o),this.id=this.value},Object.defineProperty(ItemValue.prototype,"hasText",{get:function(){return!!this.locText.pureText},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"pureText",{get:function(){return this.locText.pureText},set:function(e){this.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"text",{get:function(){return this.locText.calculatedText},set:function(e){this.locText.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"calculatedText",{get:function(){return this.locText.calculatedText},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"shortcutText",{get:function(){return this.text},enumerable:!1,configurable:!0}),ItemValue.prototype.canSerializeValue=function(){var e=this.value;return null!=e&&!Array.isArray(e)&&"object"!=typeof e},ItemValue.prototype.getData=function(){var e=this.toJSON();if(e.value&&e.value.pos&&delete e.value.pos,oe.isValueEmpty(e.value))return e;var t=this.canSerializeValue();return t&&(nC.serialization.itemValueSerializeAsObject||nC.serialization.itemValueSerializeDisplayText)||1!=Object.keys(e).length?(nC.serialization.itemValueSerializeDisplayText&&void 0===e.text&&t&&(e.text=this.value.toString()),e):this.value},ItemValue.prototype.toJSON=function(){var e={},t=ov.getProperties(this.getType());t&&0!=t.length||(t=ov.getProperties("itemvalue"));for(var o=new oy,n=0;n<t.length;n++){var r=t[n];"text"===r.name&&!this.locText.hasNonDefaultText()&&oe.isTwoValueEquals(this.value,this.text,!1,!0,!1)||o.valueToJson(this,e,r)}return e},ItemValue.prototype.setData=function(e,t){if(!oe.isValueEmpty(e)){if(void 0===e.value&&void 0!==e.text&&1===Object.keys(e).length&&(e.value=e.text),void 0!==e.value){var o=void 0;o="function"==typeof e.toJSON?e.toJSON():e,new oy().toObject(o,this)}else this.setValue(e,t);t||this.locText.strChanged()}},Object.defineProperty(ItemValue.prototype,"visibleIf",{get:function(){return this.getPropertyValueWithoutDefault("visibleIf")||""},set:function(e){this.setPropertyValue("visibleIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"enableIf",{get:function(){return this.getPropertyValueWithoutDefault("enableIf")||""},set:function(e){this.setPropertyValue("enableIf",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ItemValue.prototype,"isVisible",{get:function(){var e=this.getPropertyValueWithoutDefault("isVisible");return void 0===e||e}
5,enumerable:!1,configurable:!0}),ItemValue.prototype.setIsVisible=function(e){this.setPropertyValue("isVisible",e)},Object.defineProperty(ItemValue.prototype,"isEnabled",{get:function(){var e=this.getPropertyValueWithoutDefault("isEnabled");return void 0===e||e},enumerable:!1,configurable:!0}),ItemValue.prototype.setIsEnabled=function(e){this.setPropertyValue("isEnabled",e)},ItemValue.prototype.addUsedLocales=function(e){this.AddLocStringToUsedLocales(this.locTextValue,e)},ItemValue.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locText.strChanged()},ItemValue.prototype.onPropertyValueChanged=function(e,t,o){"value"!==e||this.hasText||this.locText.strChanged();var n="itemValuePropertyChanged";this.locOwner&&this.locOwner[n]&&this.locOwner[n](this,e,t,o)},ItemValue.prototype.getConditionRunner=function(e){return e?this.getVisibleConditionRunner():this.getEnableConditionRunner()},ItemValue.prototype.getVisibleConditionRunner=function(){return this.visibleIf?(this.visibleConditionRunner||(this.visibleConditionRunner=new oq(this.visibleIf)),this.visibleConditionRunner.expression=this.visibleIf,this.visibleConditionRunner):null},ItemValue.prototype.getEnableConditionRunner=function(){return this.enableIf?(this.enableConditionRunner||(this.enableConditionRunner=new oq(this.enableIf)),this.enableConditionRunner.expression=this.enableIf,this.enableConditionRunner):null},Object.defineProperty(ItemValue.prototype,"selected",{get:function(){var e=this,t=this._locOwner;return t instanceof nX&&t.isItemSelected&&void 0===this.selectedValue&&(this.selectedValue=new oU(function(){return t.isItemSelected(e)})),this.selectedValue},enumerable:!1,configurable:!0}),ItemValue.prototype.getComponent=function(){return this._locOwner instanceof nX?this.componentValue||this._locOwner.itemComponent:this.componentValue},ItemValue.prototype.setComponent=function(e){this.componentValue=e},ItemValue.prototype.setRootElement=function(e){this._htmlElement=e},ItemValue.prototype.getRootElement=function(){return this._htmlElement},ItemValue.prototype.getEnabled=function(){return this.isEnabled},ItemValue.prototype.setEnabled=function(e){this.setIsEnabled(e)},ItemValue.prototype.getVisible=function(){var e=void 0===this.isVisible||this.isVisible,t=void 0===this._visible||this._visible;return e&&t},ItemValue.prototype.setVisible=function(e){this.visible!==e&&(this._visible=e)},ItemValue.prototype.getLocTitle=function(){return this.locText},ItemValue.prototype.getTitle=function(){return this.text},ItemValue.prototype.setLocTitle=function(e){},ItemValue.prototype.setTitle=function(e){},itemvalue_decorate([jsonobject_property({defaultValue:!0})],ItemValue.prototype,"_visible",void 0),itemvalue_decorate([jsonobject_property()],ItemValue.prototype,"selectedValue",void 0),itemvalue_decorate([jsonobject_property()],ItemValue.prototype,"icon",void 0),ItemValue}(o8);oW.createItemValue=function(e,t){var o=null;return(o=t?oy.metaData.createClass(t,{}):"function"==typeof e.getType?new n0(null,void 0,e.getType()):new n0(null)).setData(e),o},oW.itemValueLocStrChanged=function(e){n0.locStrsChanged(e)},oi.getItemValuesDefaultValue=function(e,t){var o=[];return n0.setData(o,Array.isArray(e)?e:[],t),o},ov.addClass("itemvalue",[{name:"!value",isUnique:!0},{name:"text",serializationProperty:"locText"},{name:"visibleIf:condition",showMode:"form"},{name:"enableIf:condition",showMode:"form",visibleIf:function(e){return!e||"rateValues"!==e.ownerPropertyName}}],function(e){return new n0(e)});var n2=(C=function(e,t){return(C=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),n5=function(e){function CalculatedValue(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this)||this;return n.expressionIsRunning=!1,n.isCalculated=!1,t&&(n.name=t),o&&(n.expression=o),n}return n2(CalculatedValue,e),CalculatedValue.prototype.setOwner=function(e){this.data=e,this.rerunExpression()},CalculatedValue.prototype.getType=function(){return"calculatedvalue"},CalculatedValue.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.data&&this.data.getSurvey?this.data.getSurvey():null},Object.defineProperty(CalculatedValue.prototype,"owner",{get:function(){return this.data}
5,enumerable:!1,configurable:!0}),Object.defineProperty(CalculatedValue.prototype,"name",{get:function(){return this.getPropertyValue("name")||""},set:function(e){this.setPropertyValue("name",e)},enumerable:!1,configurable:!0}),Object.defineProperty(CalculatedValue.prototype,"includeIntoResult",{get:function(){return this.getPropertyValue("includeIntoResult")},set:function(e){this.setPropertyValue("includeIntoResult",e)},enumerable:!1,configurable:!0}),Object.defineProperty(CalculatedValue.prototype,"expression",{get:function(){return this.getPropertyValue("expression")||""},set:function(e){this.setPropertyValue("expression",e),this.rerunExpression()},enumerable:!1,configurable:!0}),CalculatedValue.prototype.locCalculation=function(){this.expressionIsRunning=!0},CalculatedValue.prototype.unlocCalculation=function(){this.expressionIsRunning=!1},CalculatedValue.prototype.resetCalculation=function(){this.isCalculated=!1},CalculatedValue.prototype.doCalculation=function(e,t,o){this.isCalculated||(this.runExpressionCore(e,t,o),this.isCalculated=!0)},CalculatedValue.prototype.runExpression=function(e,t){this.runExpressionCore(null,e,t)},Object.defineProperty(CalculatedValue.prototype,"value",{get:function(){if(this.data)return this.data.getVariable(this.name)},enumerable:!1,configurable:!0}),CalculatedValue.prototype.setValue=function(e){this.data&&this.data.setVariable(this.name,e)},Object.defineProperty(CalculatedValue.prototype,"canRunExpression",{get:function(){return!!this.data&&!this.isLoadingFromJson&&!!this.expression&&!this.expressionIsRunning&&!!this.name},enumerable:!1,configurable:!0}),CalculatedValue.prototype.rerunExpression=function(){this.canRunExpression&&this.runExpression(this.data.getFilteredValues(),this.data.getFilteredProperties())},CalculatedValue.prototype.runExpressionCore=function(e,t,o){this.canRunExpression&&(this.ensureExpression(t),this.locCalculation(),e&&this.runDependentExpressions(e,t,o),this.expressionRunner.run(t,o))},CalculatedValue.prototype.runDependentExpressions=function(e,t,o){var n=this.expressionRunner.getVariables();if(n)for(var r=0;r<e.length;r++){var i=e[r];i===this||0>n.indexOf(i.name)||(i.doCalculation(e,t,o),t[i.name]=i.value)}},CalculatedValue.prototype.ensureExpression=function(e){var t=this;this.expressionRunner||(this.expressionRunner=new oN(this.expression),this.expressionRunner.onRunComplete=function(e){oe.isTwoValueEquals(e,t.value,!1,!0,!1)||t.setValue(e),t.unlocCalculation()})},CalculatedValue}(oW);ov.addClass("calculatedvalue",[{name:"!name",isUnique:!0},"expression:expression","includeIntoResult:boolean"],function(){return new n5},"base");var n7=(w=function(e,t){return(w=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),n4=function(e){function ExpressionItem(t){void 0===t&&(t=null);var o=e.call(this)||this;return o.expression=t,o}return n7(ExpressionItem,e),ExpressionItem.prototype.getType=function(){return"expressionitem"},ExpressionItem.prototype.runCondition=function(e,t){return!!this.expression&&new oq(this.expression).run(e,t)},Object.defineProperty(ExpressionItem.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ExpressionItem.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),ExpressionItem.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},ExpressionItem.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},ExpressionItem.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},ExpressionItem.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},ExpressionItem.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},ExpressionItem.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.locOwner},ExpressionItem}(oW),n3=function(e){function HtmlConditionItem(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this,t)||this;return n.createLocalizableString("html",n),n.html=o,n}return n7(HtmlConditionItem,e),HtmlConditionItem.prototype.getType=function(){return"htmlconditionitem"},Object.defineProperty(HtmlConditionItem.prototype,"html",{get:function(){return this.getLocalizableStringText("html")}
5,set:function(e){this.setLocalizableStringText("html",e)},enumerable:!1,configurable:!0}),Object.defineProperty(HtmlConditionItem.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),HtmlConditionItem}(n4),n9=function(e){function UrlConditionItem(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this,t)||this;return n.createLocalizableString("url",n),n.url=o,n}return n7(UrlConditionItem,e),UrlConditionItem.prototype.getType=function(){return"urlconditionitem"},Object.defineProperty(UrlConditionItem.prototype,"url",{get:function(){return this.getLocalizableStringText("url")},set:function(e){this.setLocalizableStringText("url",e)},enumerable:!1,configurable:!0}),Object.defineProperty(UrlConditionItem.prototype,"locUrl",{get:function(){return this.getLocalizableString("url")},enumerable:!1,configurable:!0}),UrlConditionItem}(n4);ov.addClass("expressionitem",["expression:condition"],function(){return new n4},"base"),ov.addClass("htmlconditionitem",[{name:"html:html",serializationProperty:"locHtml"}],function(){return new n3},"expressionitem"),ov.addClass("urlconditionitem",[{name:"url:string",serializationProperty:"locUrl"}],function(){return new n9},"expressionitem");var n6=(P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),n8=function(){function XmlParser(){this.parser=new DOMParser}return XmlParser.prototype.assignValue=function(e,t,o){Array.isArray(e[t])?e[t].push(o):void 0!==e[t]?e[t]=[e[t]].concat(o):"object"==typeof o&&1===Object.keys(o).length&&Object.keys(o)[0]===t?e[t]=o[t]:e[t]=o},XmlParser.prototype.xml2Json=function(e,t){if(e.children&&e.children.length>0)for(var o=0;o<e.children.length;o++){var n=e.children[o],r={};this.xml2Json(n,r),this.assignValue(t,n.nodeName,r)}else this.assignValue(t,e.nodeName,e.textContent)},XmlParser.prototype.parseXmlString=function(e){var t=this.parser.parseFromString(e,"text/xml"),o={};return this.xml2Json(t,o),o},XmlParser}(),re=function(e){function ChoicesRestful(){var t=e.call(this)||this;return t.lastObjHash="",t.isRunningValue=!1,t.processedUrl="",t.processedPath="",t.isUsingCacheFromUrl=void 0,t.error=null,t.createItemValue=function(e){return new n0(e)},t.registerPropertyChangedHandlers(["url"],function(){t.owner&&t.owner.setPropertyValue("isUsingRestful",!!t.url)}),t}return n6(ChoicesRestful,e),Object.defineProperty(ChoicesRestful,"EncodeParameters",{get:function(){return nC.web.encodeUrlParams},set:function(e){nC.web.encodeUrlParams=e},enumerable:!1,configurable:!0}),ChoicesRestful.clearCache=function(){ChoicesRestful.itemsResult={},ChoicesRestful.sendingSameRequests={}},ChoicesRestful.addSameRequest=function(e){if(!e.isUsingCache)return!1;var t=e.objHash,o=ChoicesRestful.sendingSameRequests[t];return o?(o.push(e),e.isRunningValue=!0,!0):(ChoicesRestful.sendingSameRequests[e.objHash]=[],!1)},ChoicesRestful.unregisterSameRequests=function(e,t){if(e.isUsingCache){var o=ChoicesRestful.sendingSameRequests[e.objHash];if(delete ChoicesRestful.sendingSameRequests[e.objHash],o)for(var n=0;n<o.length;n++)o[n].isRunningValue=!1,o[n].getResultCallback&&o[n].getResultCallback(t)}},Object.defineProperty(ChoicesRestful,"onBeforeSendRequest",{get:function(){return nC.web.onBeforeRequestChoices},set:function(e){nC.web.onBeforeRequestChoices=e},enumerable:!1,configurable:!0}),ChoicesRestful.getCachedItemsResult=function(e){var t=e.objHash,o=ChoicesRestful.itemsResult[t];return!!o&&(e.getResultCallback&&e.getResultCallback(o),!0)},ChoicesRestful.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.owner?this.owner.survey:null},ChoicesRestful.prototype.run=function(e){if(void 0===e&&(e=null),this.url&&this.getResultCallback){if(this.processedText(e),!this.processedUrl){this.doEmptyResultCallback({}),this.lastObjHash=this.objHash;return}this.lastObjHash!==this.objHash&&(this.lastObjHash=this.objHash,this.error=null,!this.useChangedItemsResults()&&(ChoicesRestful.addSameRequest(this)||this.sendRequest()))}},Object.defineProperty(ChoicesRestful.prototype,"isUsingCache",{get:function(){return!0===this.isUsingCacheFromUrl||!1!==this.isUsingCacheFromUrl&&nC.web.cacheLoadedChoices}
5,enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"isRunning",{get:function(){return this.getIsRunning()},enumerable:!1,configurable:!0}),ChoicesRestful.prototype.getIsRunning=function(){return this.isRunningValue},Object.defineProperty(ChoicesRestful.prototype,"isWaitingForParameters",{get:function(){return this.url&&!this.processedUrl},enumerable:!1,configurable:!0}),ChoicesRestful.prototype.useChangedItemsResults=function(){return ChoicesRestful.getCachedItemsResult(this)},ChoicesRestful.prototype.doEmptyResultCallback=function(e){var t=[];this.updateResultCallback&&(t=this.updateResultCallback(t,e)),this.getResultCallback(t)},ChoicesRestful.prototype.processedText=function(e){var t=this.url;if(t&&(t=t.replace(ChoicesRestful.cacheText,"").replace(ChoicesRestful.noCacheText,"")),e){var o=e.processTextEx({text:t,runAtDesign:!0}),n=e.processTextEx({text:this.path,runAtDesign:!0});o.hasAllValuesOnLastRun&&n.hasAllValuesOnLastRun?(this.processedUrl=o.text,this.processedPath=n.text):(this.processedUrl="",this.processedPath="")}else this.processedUrl=t,this.processedPath=this.path;this.onProcessedUrlCallback&&this.onProcessedUrlCallback(this.processedUrl,this.processedPath)},ChoicesRestful.prototype.parseResponse=function(e){var t;if(e&&"function"==typeof e.indexOf&&0===e.indexOf("<"))t=new n8().parseXmlString(e);else try{t=JSON.parse(e)}catch(o){t=(e||"").split("\n").map(function(e){return e.trim(" ")}).filter(function(e){return!!e})}return t},ChoicesRestful.prototype.sendRequest=function(){var e=new XMLHttpRequest;e.open("GET",this.processedUrl),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var t=this,o=this.objHash;e.onload=function(){t.beforeLoadRequest(),200===e.status?t.onLoad(t.parseResponse(e.response),o):t.onError(e.statusText,e.responseText)};var n={request:e};nC.web.onBeforeRequestChoices&&nC.web.onBeforeRequestChoices(this,n),this.beforeSendRequest(),n.request.send()},ChoicesRestful.prototype.getType=function(){return"choicesByUrl"},Object.defineProperty(ChoicesRestful.prototype,"isEmpty",{get:function(){return!this.url&&!this.path},enumerable:!1,configurable:!0}),ChoicesRestful.prototype.getCustomPropertiesNames=function(){for(var e=this.getCustomProperties(),t=[],o=0;o<e.length;o++)t.push(this.getCustomPropertyName(e[o].name));return t},ChoicesRestful.prototype.getCustomPropertyName=function(e){return e+"Name"},ChoicesRestful.prototype.getCustomProperties=function(){for(var e=ov.getProperties(this.itemValueType),t=[],o=0;o<e.length;o++)"value"!==e[o].name&&"text"!==e[o].name&&"visibleIf"!==e[o].name&&"enableIf"!==e[o].name&&t.push(e[o]);return t},ChoicesRestful.prototype.getAllPropertiesNames=function(){var e=[];return ov.getPropertiesByObj(this).forEach(function(t){return e.push(t.name)}),this.getCustomPropertiesNames().forEach(function(t){return e.push(t)}),e},ChoicesRestful.prototype.setData=function(e){var t=this;e||(e={}),this.getAllPropertiesNames().forEach(function(o){t[o]=e[o]})},ChoicesRestful.prototype.getData=function(){var e=this,t={},o=!1;return this.getAllPropertiesNames().forEach(function(n){var r=e[n];e.isValueEmpty(r)||r===e.getDefaultPropertyValue(n)||(t[n]=r,o=!0)}),o?t:null},Object.defineProperty(ChoicesRestful.prototype,"url",{get:function(){return this.getPropertyValue("url")||""},set:function(e){this.setPropertyValue("url",e),this.isUsingCacheFromUrl=void 0,e&&(e.indexOf(ChoicesRestful.cacheText)>-1?this.isUsingCacheFromUrl=!0:e.indexOf(ChoicesRestful.noCacheText)>-1&&(this.isUsingCacheFromUrl=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"path",{get:function(){return this.getPropertyValue("path")||""},set:function(e){this.setPropertyValue("path",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"valueName",{get:function(){return this.getPropertyValue("valueName")||""},set:function(e){this.setPropertyValue("valueName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"titleName",{get:function(){return this.getPropertyValue("titleName")||""},set:function(e){this.setPropertyValue("titleName",e)}
vendor: 10,278 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"imageLinkName",{get:function(){return this.getPropertyValue("imageLinkName")||""},set:function(e){this.setPropertyValue("imageLinkName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"allowEmptyResponse",{get:function(){return this.getPropertyValue("allowEmptyResponse")},set:function(e){this.setPropertyValue("allowEmptyResponse",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"attachOriginalItems",{get:function(){return this.getPropertyValue("attachOriginalItems")},set:function(e){this.setPropertyValue("attachOriginalItems",e)},enumerable:!1,configurable:!0}),Object.defineProperty(ChoicesRestful.prototype,"itemValueType",{get:function(){if(!this.owner)return"itemvalue";var e=ov.findProperty(this.owner.getType(),"choices");return e&&"itemvalue[]"!=e.type?e.type:"itemvalue"},enumerable:!1,configurable:!0}),ChoicesRestful.prototype.clear=function(){this.setData(void 0)},ChoicesRestful.prototype.beforeSendRequest=function(){this.isRunningValue=!0,this.beforeSendRequestCallback&&this.beforeSendRequestCallback()},ChoicesRestful.prototype.beforeLoadRequest=function(){this.isRunningValue=!1},ChoicesRestful.prototype.onLoad=function(e,t){void 0===t&&(t=null),t||(t=this.objHash);var o=[],n=this.getResultAfterPath(e);if(n&&n.length)for(var r=0;r<n.length;r++){var i=n[r];if(i){var s=this.getItemValueCallback?this.getItemValueCallback(i):this.getValue(i),a=this.createItemValue(s);this.setTitle(a,i),this.setCustomProperties(a,i),this.attachOriginalItems&&(a.originalItem=i);var l=this.getImageLink(i);l&&(a.imageLink=l),o.push(a)}}else this.allowEmptyResponse||(this.error=new nk(null,this.owner));this.updateResultCallback&&(o=this.updateResultCallback(o,e)),this.isUsingCache&&(ChoicesRestful.itemsResult[t]=o),this.callResultCallback(o,t),ChoicesRestful.unregisterSameRequests(this,o)},ChoicesRestful.prototype.callResultCallback=function(e,t){t==this.objHash&&this.getResultCallback(e)},ChoicesRestful.prototype.setCustomProperties=function(e,t){for(var o=this.getCustomProperties(),n=0;n<o.length;n++){var r=o[n],i=this.getValueCore(t,this.getPropertyBinding(r.name));this.isValueEmpty(i)||(e[r.name]=i)}},ChoicesRestful.prototype.getPropertyBinding=function(e){return this[this.getCustomPropertyName(e)]?this[this.getCustomPropertyName(e)]:this[e]?this[e]:e},ChoicesRestful.prototype.onError=function(e,t){this.error=new nR(e,t,this.owner),this.doEmptyResultCallback(t),ChoicesRestful.unregisterSameRequests(this,[])},ChoicesRestful.prototype.getResultAfterPath=function(e){if(!e||!this.processedPath)return e;for(var t=this.getPathes(),o=0;o<t.length;o++)if(!(e=e[t[o]]))return null;return e},ChoicesRestful.prototype.getPathes=function(){var e=[];return 0==(e=this.processedPath.indexOf(";")>-1?this.path.split(";"):this.processedPath.indexOf(",")>-1?this.processedPath.split(","):this.processedPath.split(".")).length&&e.push(this.processedPath),e},ChoicesRestful.prototype.getValue=function(e){return e?this.valueName?this.getValueCore(e,this.valueName):e instanceof Object?Object.keys(e).length<1?null:e[Object.keys(e)[0]]:e:null},ChoicesRestful.prototype.setTitle=function(e,t){var o=this.titleName?this.titleName:"title",n=this.getValueCore(t,o);n&&("string"==typeof n?e.text=n:e.locText.setJson(n))},ChoicesRestful.prototype.getImageLink=function(e){var t=this.imageLinkName?this.imageLinkName:"imageLink";return this.getValueCore(e,t)},ChoicesRestful.prototype.getValueCore=function(e,t){if(!e)return null;if(0>t.indexOf("."))return e[t];for(var o=t.split("."),n=0;n<o.length;n++)if(!(e=e[o[n]]))return null;return e},Object.defineProperty(ChoicesRestful.prototype,"objHash",{get:function(){return this.processedUrl+";"+this.processedPath+";"+this.valueName+";"+this.titleName+";"+this.imageLinkName},enumerable:!1,configurable:!0}),ChoicesRestful.cacheText="{CACHE}",ChoicesRestful.noCacheText="{NOCACHE}",ChoicesRestful.itemsResult={},ChoicesRestful.sendingSameRequests={},ChoicesRestful}(oW),rt=function(e){function ChoicesRestfull(){return null!==e&&e.apply(this,arguments)||this}return n6(ChoicesRestfull,e),Object.defineProperty(ChoicesRestfull,"EncodeParameters",{get:function(){return re.EncodeParameters},set:function(e){re.EncodeParameters=e},enumerable:!1,configurable:!0}),ChoicesRestfull.clearCache=function(){re.clearCache()},Object.defineProperty(ChoicesRestfull,"onBeforeSendRequest",{get:function(){return nC.web.onBeforeRequestChoices},set:function(e){nC.web.onBeforeRequestChoices=e},enumerable:!1,configurable:!0}),ChoicesRestfull}(re);ov.addClass("choicesByUrl",["url","path","valueName","titleName",{name:"imageLinkName",visibleIf:function(e){return!!e&&!!e.owner&&"imagepicker"==e.owner.getType()}},{name:"allowEmptyResponse:boolean"},{name:"attachOriginalItems:boolean",visible:!1}],function(){return new re});var ro=(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),martixBase_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},rn=function(e){function QuestionMatrixBaseModel(t){var o=e.call(this,t)||this;return o.generatedVisibleRows=null,o.generatedTotalRow=null,o.filteredRows=null,o.columns=o.createColumnValues(),o.rows=o.createItemValues("rows"),o}return ro(QuestionMatrixBaseModel,e),QuestionMatrixBaseModel.prototype.createColumnValues=function(){return this.createItemValues("columns")},QuestionMatrixBaseModel.prototype.getType=function(){return"matrixbase"},QuestionMatrixBaseModel.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.updateVisibilityBasedOnRows()},Object.defineProperty(QuestionMatrixBaseModel.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"showHeader",{get:function(){return this.getPropertyValue("showHeader")},set:function(e){this.setPropertyValue("showHeader",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"columns",{get:function(){return this.getPropertyValue("columns")},set:function(e){this.setPropertyValue("columns",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"visibleColumns",{get:function(){var e=this,t=[];return this.columns.forEach(function(o){e.isColumnVisible(o)&&t.push(o)}),t},enumerable:!1,configurable:!0}),QuestionMatrixBaseModel.prototype.isColumnVisible=function(e){return e.isVisible},Object.defineProperty(QuestionMatrixBaseModel.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},set:function(e){var t=this.processRowsOnSet(e);this.setPropertyValue("rows",t)},enumerable:!1,configurable:!0}),QuestionMatrixBaseModel.prototype.processRowsOnSet=function(e){return e},QuestionMatrixBaseModel.prototype.getVisibleRows=function(){return[]},Object.defineProperty(QuestionMatrixBaseModel.prototype,"visibleRows",{get:function(){return this.getVisibleRows()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"rowsVisibleIf",{get:function(){return this.getPropertyValue("rowsVisibleIf","")},set:function(e){this.setPropertyValue("rowsVisibleIf",e),this.isLoadingFromJsonValue||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"columnsVisibleIf",{get:function(){return this.getPropertyValue("columnsVisibleIf","")},set:function(e){this.setPropertyValue("columnsVisibleIf",e),this.isLoadingFromJson||this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())},enumerable:!1,configurable:!0}),QuestionMatrixBaseModel.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),this.runItemsCondition(t,o)},QuestionMatrixBaseModel.prototype.onColumnsChanged=function(){},QuestionMatrixBaseModel.prototype.onRowsChanged=function(){this.updateVisibilityBasedOnRows(),this.fireCallback(this.visibleRowsChangedCallback)},QuestionMatrixBaseModel.prototype.updateVisibilityBasedOnRows=function(){this.hideIfRowsEmpty&&this.onVisibleChanged()},QuestionMatrixBaseModel.prototype.isVisibleCore=function(){var t,o=e.prototype.isVisibleCore.call(this);return o&&this.hideIfRowsEmpty?(null===(t=this.visibleRows)||void 0===t?void 0:t.length)>0:o},QuestionMatrixBaseModel.prototype.shouldRunColumnExpression=function(){return!this.survey||!this.survey.areInvisibleElementsShowing},QuestionMatrixBaseModel.prototype.hasRowsAsItems=function(){return!0},QuestionMatrixBaseModel.prototype.runItemsCondition=function(e,t){var o=this.hasRowsAsItems()&&this.runConditionsForRows(e,t),n=this.runConditionsForColumns(e,t);(o=n||o)&&(this.isClearValueOnHidden&&n&&this.clearInvisibleColumnValues(),this.clearGeneratedRows(),n&&this.onColumnsChanged(),this.onRowsChanged())},QuestionMatrixBaseModel.prototype.isRowsFiltered=function(){return!!this.filteredRows},QuestionMatrixBaseModel.prototype.clearGeneratedRows=function(){this.generatedVisibleRows=null},QuestionMatrixBaseModel.prototype.createRowsVisibleIfRunner=function(){return null},QuestionMatrixBaseModel.prototype.runConditionsForRows=function(e,t){var o=!!this.survey&&this.survey.areInvisibleElementsShowing,n=o?null:this.createRowsVisibleIfRunner();this.filteredRows=[];var r=n0.runConditionsForItems(this.rows,this.filteredRows,n,e,t,!o);return n0.runEnabledConditionsForItems(this.rows,void 0,e,t),this.filteredRows.length===this.rows.length&&(this.filteredRows=null),r},QuestionMatrixBaseModel.prototype.runConditionsForColumns=function(e,t){var o=this.survey&&
5!this.survey.areInvisibleElementsShowing&&this.columnsVisibleIf?new oq(this.columnsVisibleIf):null;return n0.runConditionsForItems(this.columns,void 0,o,e,t,this.shouldRunColumnExpression())},QuestionMatrixBaseModel.prototype.clearInvisibleColumnValues=function(){},QuestionMatrixBaseModel.prototype.clearInvisibleValuesInRows=function(){},QuestionMatrixBaseModel.prototype.needResponsiveWidth=function(){return!0},Object.defineProperty(QuestionMatrixBaseModel.prototype,"columnsAutoWidth",{get:function(){return!this.isMobile&&!this.columns.some(function(e){return!!e.width})},enumerable:!1,configurable:!0}),QuestionMatrixBaseModel.prototype.getTableCss=function(){var e;return new oY().append(this.cssClasses.root).append(this.cssClasses.columnsAutoWidth,this.columnsAutoWidth).append(this.cssClasses.noHeader,!this.showHeader).append(this.cssClasses.hasFooter,!!(null===(e=this.renderedTable)||void 0===e?void 0:e.showAddRowOnBottom)).append(this.cssClasses.rootAlternateRows,this.alternateRows).append(this.cssClasses.rootVerticalAlignTop,"top"===this.verticalAlign).append(this.cssClasses.rootVerticalAlignMiddle,"middle"===this.verticalAlign).toString()},Object.defineProperty(QuestionMatrixBaseModel.prototype,"columnMinWidth",{get:function(){return this.getPropertyValue("columnMinWidth")||""},set:function(e){this.setPropertyValue("columnMinWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"rowTitleWidth",{get:function(){return this.getPropertyValue("rowTitleWidth")||""},set:function(e){this.setPropertyValue("rowTitleWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixBaseModel.prototype,"displayMode",{get:function(){return this.getPropertyValue("displayMode")},set:function(e){this.setPropertyValue("displayMode",e)},enumerable:!1,configurable:!0}),QuestionMatrixBaseModel.prototype.getCellAriaLabel=function(e,t){return(this.getLocalizationString("matrix_row")||"row").toLocaleLowerCase()+" "+e+", "+(this.getLocalizationString("matrix_column")||"column").toLocaleLowerCase()+" "+t},Object.defineProperty(QuestionMatrixBaseModel.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionMatrixBaseModel.prototype.getIsMobile=function(){return"auto"==this.displayMode?e.prototype.getIsMobile.call(this):"list"===this.displayMode},martixBase_decorate([jsonobject_property()],QuestionMatrixBaseModel.prototype,"verticalAlign",void 0),martixBase_decorate([jsonobject_property()],QuestionMatrixBaseModel.prototype,"alternateRows",void 0),QuestionMatrixBaseModel}(nX);ov.addClass("matrixbase",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},"columnsVisibleIf:condition","rowsVisibleIf:condition","columnMinWidth",{name:"showHeader:boolean",default:!0},{name:"verticalAlign",choices:["top","middle"],default:"middle"},{name:"alternateRows:boolean",default:!1},{name:"displayMode",default:"auto",choices:["auto","table","list"],visible:!1}],void 0,"question");var TextPreProcessorItem=function(){},TextPreProcessorValue=function(e,t){this.name=e,this.returnDisplayValue=t,this.isExists=!1,this.canProcess=!0},rr=function(){function TextPreProcessor(){this._unObservableValues=[void 0]}return Object.defineProperty(TextPreProcessor.prototype,"hasAllValuesOnLastRunValue",{get:function(){return this._unObservableValues[0]},set:function(e){this._unObservableValues[0]=e},enumerable:!1,configurable:!0}),TextPreProcessor.prototype.process=function(e,t,o,n){if(this.hasAllValuesOnLastRunValue=!0,!e||!this.onProcess)return e;for(var r=this.getItems(e),i=r.length-1;i>=0;i--){var s=r[i],a=this.getName(e.substring(s.start+1,s.end));if(a){var l=new TextPreProcessorValue(a,!0===t);if(this.onProcess(l),!l.isExists&&l.canProcess&&(this.hasAllValuesOnLastRunValue=!1),l.isExists||n){oe.isValueEmpty(l.value)&&(this.hasAllValuesOnLastRunValue=!1);var u=oe.isValueEmpty(l.value)?"":l.value;o&&(u=encodeURIComponent(u)),e=e.substring(0,s.start)+u+e.substring(s.end+1)}}}return e},TextPreProcessor.prototype.processValue=function(e,t){var o=new TextPreProcessorValue(e,t);return this.onProcess&&this.onProcess(o),o},Object.defineProperty(TextPreProcessor.prototype,"hasAllValuesOnLastRun",{get:function(){return!!this.hasAllValuesOnLastRunValue}
5,enumerable:!1,configurable:!0}),TextPreProcessor.prototype.processText=function(e,t){return this.process(e,t)},TextPreProcessor.prototype.processTextEx=function(e){var t={hasAllValuesOnLastRun:!0,text:e.text};return t.text=this.process(e.text,e.returnDisplayValue,e.doEncoding,e.replaceUndefinedValues),t.hasAllValuesOnLastRun=this.hasAllValuesOnLastRun,t},TextPreProcessor.prototype.getItems=function(e){for(var t=[],o=e.length,n=-1,r="",i=0;i<o;i++)if("{"==(r=e[i])&&(n=i),"}"==r){if(n>-1){var s=new TextPreProcessorItem;s.start=n,s.end=i,this.isValidItemName(e.substring(n+1,i))&&t.push(s)}n=-1}return t},TextPreProcessor.prototype.isValidItemName=function(e){return!!e&&0>e.indexOf(":")},TextPreProcessor.prototype.getName=function(e){if(e)return e.trim()},TextPreProcessor}(),ri=function(){function QuestionTextProcessor(e){var t=this;this.variableName=e,this.textPreProcessor=new rr,this.textPreProcessor.onProcess=function(e){t.getProcessedTextValue(e)}}return QuestionTextProcessor.prototype.processValue=function(e,t){return this.textPreProcessor.processValue(e,t)},Object.defineProperty(QuestionTextProcessor.prototype,"survey",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextProcessor.prototype,"panel",{get:function(){return null},enumerable:!1,configurable:!0}),QuestionTextProcessor.prototype.getValues=function(){return this.panel?this.panel.getValue():null},QuestionTextProcessor.prototype.getQuestionByName=function(e){return this.panel?this.panel.getQuestionByValueName(e):null},QuestionTextProcessor.prototype.getParentTextProcessor=function(){return null},QuestionTextProcessor.prototype.onCustomProcessText=function(e){return!1},QuestionTextProcessor.prototype.getQuestionDisplayText=function(e){return e.displayValue},QuestionTextProcessor.prototype.getProcessedTextValue=function(e){if(!(!e||this.onCustomProcessText(e))){var t=new ox().getFirstName(e.name);if(e.isExists=t==this.variableName,e.canProcess=e.isExists,e.canProcess){e.name=e.name.replace(this.variableName+".","");var t=new ox().getFirstName(e.name),o=this.getQuestionByName(t),n={};if(o)n[t]=e.returnDisplayValue?this.getQuestionDisplayText(o):o.value;else{var r=this.panel?this.getValues():null;r&&(n[t]=r[t])}e.value=new ox().getValue(e.name,n)}}},QuestionTextProcessor.prototype.processText=function(e,t){return this.processTextEx({text:e,returnDisplayValue:t}).text},QuestionTextProcessor.prototype.processTextEx=function(e){var t,o={hasAllValuesOnLastRun:!0,text:e.text};if(!e.runAtDesign&&(null===(t=this.survey)||void 0===t?void 0:t.isDesignMode))return o;var n=[];this.addTextPreProcessor(n,this.textPreProcessor),this.addTextPreProcessor(n,this.getParentTextProcessor()),this.addTextPreProcessor(n,this.survey);for(var r=0;r<n.length;r++){var i=n[r];e.text=o.text,e.doEncoding=e.doEncoding||!1;var s=i.processTextEx(e);o.text=s.text,o.hasAllValuesOnLastRun=o.hasAllValuesOnLastRun&&s.hasAllValuesOnLastRun}return o},QuestionTextProcessor.prototype.addTextPreProcessor=function(e,t){!t||e.indexOf(t)>-1||e.push(t)},QuestionTextProcessor}(),rs=(S=function(e,t){return(S=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}S(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ra=function(){function ComponentQuestionJSON(e,t){this.name=e,this.json=t;var o=this;ov.addClass(e,[],function(e){return rl.Instance.createQuestion(e?e.name:"",o)},"question"),this.onInit()}return ComponentQuestionJSON.prototype.onInit=function(){this.json.onInit&&this.json.onInit()},ComponentQuestionJSON.prototype.onCreated=function(e){this.json.onCreated&&this.json.onCreated(e)},ComponentQuestionJSON.prototype.onLoaded=function(e){this.json.onLoaded&&this.json.onLoaded(e)},ComponentQuestionJSON.prototype.onAfterRender=function(e,t){this.json.onAfterRender&&this.json.onAfterRender(e,t)},ComponentQuestionJSON.prototype.onAfterRenderContentElement=function(e,t,o){this.json.onAfterRenderContentElement&&this.json.onAfterRenderContentElement(e,t,o)}
vendor: 18,324 bytes, line 5
5,ComponentQuestionJSON.prototype.onUpdateQuestionCssClasses=function(e,t,o){this.json.onUpdateQuestionCssClasses&&this.json.onUpdateQuestionCssClasses(e,t,o)},ComponentQuestionJSON.prototype.onSetQuestionValue=function(e,t){this.json.onSetQuestionValue&&this.json.onSetQuestionValue(e,t),this.json.onValueSet&&this.json.onValueSet(e,t)},ComponentQuestionJSON.prototype.onPropertyChanged=function(e,t,o){this.json.onPropertyChanged&&this.json.onPropertyChanged(e,t,o)},ComponentQuestionJSON.prototype.onValueChanged=function(e,t,o){this.json.onValueChanged&&this.json.onValueChanged(e,t,o)},ComponentQuestionJSON.prototype.onValueChanging=function(e,t,o){return this.json.onValueChanging?this.json.onValueChanging(e,t,o):o},ComponentQuestionJSON.prototype.onGetErrorText=function(e){if(this.json.getErrorText)return this.json.getErrorText(e)},ComponentQuestionJSON.prototype.onItemValuePropertyChanged=function(e,t,o,n,r){this.json.onItemValuePropertyChanged&&this.json.onItemValuePropertyChanged(e,{obj:t,propertyName:o,name:n,newValue:r})},ComponentQuestionJSON.prototype.getDisplayValue=function(e,t,o){return this.json.getDisplayValue?this.json.getDisplayValue(o):o.getDisplayValue(e,t)},Object.defineProperty(ComponentQuestionJSON.prototype,"defaultQuestionTitle",{get:function(){return this.json.defaultQuestionTitle},enumerable:!1,configurable:!0}),ComponentQuestionJSON.prototype.setValueToQuestion=function(e){var t=this.json.valueToQuestion||this.json.setValue;return t?t(e):e},ComponentQuestionJSON.prototype.getValueFromQuestion=function(e){var t=this.json.valueFromQuestion||this.json.getValue;return t?t(e):e},Object.defineProperty(ComponentQuestionJSON.prototype,"isComposite",{get:function(){return!!this.json.elementsJSON||!!this.json.createElements},enumerable:!1,configurable:!0}),ComponentQuestionJSON.prototype.getDynamicProperties=function(){return Array.isArray(this.dynamicProperties)||(this.dynamicProperties=this.calcDynamicProperties()),this.dynamicProperties},ComponentQuestionJSON.prototype.calcDynamicProperties=function(){var e=this.json.inheritBaseProps;if(!e||!this.json.questionJSON)return[];var t=this.json.questionJSON.type;if(!t)return[];if(Array.isArray(e)){var o=[];return e.forEach(function(e){var n=ov.findProperty(t,e);n&&o.push(n)}),o}var n=[];for(var r in this.json.questionJSON)n.push(r);return ov.getDynamicPropertiesByTypes(this.name,t,n)},ComponentQuestionJSON}(),rl=function(){function ComponentCollection(){this.customQuestionValues=[]}return ComponentCollection.prototype.add=function(e){if(e){var t=e.name;if(!t)throw"Attribute name is missed";if(t=t.toLowerCase(),this.getCustomQuestionByName(t))throw"There is already registered custom question with name '"+t+"'";if(ov.findClass(t))throw"There is already class with name '"+t+"'";var o=new ra(t,e);this.onAddingJson&&this.onAddingJson(t,o.isComposite),this.customQuestionValues.push(o)}},ComponentCollection.prototype.remove=function(e){if(!e)return!1;var t=this.getCustomQuestionIndex(e.toLowerCase());return!(t<0)&&(this.removeByIndex(t),!0)},Object.defineProperty(ComponentCollection.prototype,"items",{get:function(){return this.customQuestionValues},enumerable:!1,configurable:!0}),ComponentCollection.prototype.getCustomQuestionByName=function(e){var t=this.getCustomQuestionIndex(e);return t>=0?this.customQuestionValues[t]:void 0},ComponentCollection.prototype.getCustomQuestionIndex=function(e){for(var t=0;t<this.customQuestionValues.length;t++)if(this.customQuestionValues[t].name===e)return t;return -1},ComponentCollection.prototype.removeByIndex=function(e){ov.removeClass(this.customQuestionValues[e].name),this.customQuestionValues.splice(e,1)},ComponentCollection.prototype.clear=function(e){for(var t=this.customQuestionValues.length-1;t>=0;t--)(e||!this.customQuestionValues[t].json.internal)&&this.removeByIndex(t)},ComponentCollection.prototype.createQuestion=function(e,t){return t.isComposite?this.createCompositeModel(e,t):this.createCustomModel(e,t)},ComponentCollection.prototype.createCompositeModel=function(e,t){return this.onCreateComposite?this.onCreateComposite(e,t):new rd(e,t)},ComponentCollection.prototype.createCustomModel=function(e,t){return this.onCreateCustom?this.onCreateCustom(e,t):new rc(e,t)},ComponentCollection.Instance=new ComponentCollection,ComponentCollection}(),ru=function(e){function QuestionCustomModelBase(t,o){var n=e.call(this,t)||this;return n.customQuestion=o,os.createProperties(n),nm.CreateDisabledDesignElements=!0,n.locQuestionTitle=n.createLocalizableString("questionTitle",n),n.locQuestionTitle.setJson(n.customQuestion.defaultQuestionTitle),n.createWrapper(),nm.CreateDisabledDesignElements=!1,n.customQuestion&&n.customQuestion.onCreated(n),n}return rs(QuestionCustomModelBase,e),QuestionCustomModelBase.prototype.getType=function(){return this.customQuestion?this.customQuestion.name:"custom"},QuestionCustomModelBase.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.getElement()&&this.getElement().locStrsChanged()},QuestionCustomModelBase.prototype.localeChanged=function(){e.prototype.locStrsChanged.call(this),this.getElement()&&this.getElement().localeChanged()},QuestionCustomModelBase.prototype.getDefaultTitle=function(){return this.locQuestionTitle.isEmpty?e.prototype.getDefaultTitle.call(this):this.getProcessedText(this.locQuestionTitle.textOrHtml)},QuestionCustomModelBase.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.getElement()&&this.getElement().addUsedLocales(t)},QuestionCustomModelBase.prototype.needResponsiveWidth=function(){var e=this.getElement();return!!e&&e.needResponsiveWidth()},QuestionCustomModelBase.prototype.createWrapper=function(){},QuestionCustomModelBase.prototype.onPropertyValueChanged=function(t,o,n){e.prototype.onPropertyValueChanged.call(this,t,o,n),this.customQuestion&&!this.isLoadingFromJson&&this.customQuestion.onPropertyChanged(this,t,n)},QuestionCustomModelBase.prototype.itemValuePropertyChanged=function(t,o,n,r){e.prototype.itemValuePropertyChanged.call(this,t,o,n,r),this.customQuestion&&!this.isLoadingFromJson&&this.customQuestion.onItemValuePropertyChanged(this,t,t.ownerPropertyName,o,r)},QuestionCustomModelBase.prototype.onFirstRenderingCore=function(){e.prototype.onFirstRenderingCore.call(this);var t=this.getElement();t&&t.onFirstRendering()},QuestionCustomModelBase.prototype.onHidingContent=function(){e.prototype.onHidingContent.call(this);var t=this.getElement();t&&t.onHidingContent()},QuestionCustomModelBase.prototype.getProgressInfo=function(){var t=e.prototype.getProgressInfo.call(this);return this.getElement()&&(t=this.getElement().getProgressInfo()),this.isRequired&&0==t.requiredQuestionCount&&(t.requiredQuestionCount=1,this.isEmpty()||(t.answeredQuestionCount=1)),t},QuestionCustomModelBase.prototype.initElement=function(e){e&&(e.setSurveyImpl(this),e.disableDesignActions=!0)},QuestionCustomModelBase.prototype.setSurveyImpl=function(t,o){this.isSettingValOnLoading=!0,e.prototype.setSurveyImpl.call(this,t,o),this.initElement(this.getElement()),this.isSettingValOnLoading=!1},QuestionCustomModelBase.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.getElement()&&(this.getElement().onSurveyLoad(),this.customQuestion.onLoaded(this))},QuestionCustomModelBase.prototype.afterRenderQuestionElement=function(e){},QuestionCustomModelBase.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t),this.customQuestion&&this.customQuestion.onAfterRender(this,t)},QuestionCustomModelBase.prototype.onUpdateQuestionCssClasses=function(e,t){this.customQuestion&&this.customQuestion.onUpdateQuestionCssClasses(this,e,t)},QuestionCustomModelBase.prototype.setQuestionValue=function(t,o){void 0===o&&(o=!0),e.prototype.setQuestionValue.call(this,t,o),this.updateElementCss(),this.customQuestion&&this.customQuestion.onSetQuestionValue(this,t)},QuestionCustomModelBase.prototype.setNewValue=function(t){e.prototype.setNewValue.call(this,t),this.updateElementCss()},QuestionCustomModelBase.prototype.onCheckForErrors=function(t,o,n){if(e.prototype.onCheckForErrors.call(this,t,o,n),this.customQuestion){var r=this.customQuestion.onGetErrorText(this);r&&t.push(new nL(r,this))}},QuestionCustomModelBase.prototype.getSurveyData=function(){return this},QuestionCustomModelBase.prototype.getTextProcessor=function(){return this.textProcessor},QuestionCustomModelBase.prototype.getValue=function(e){return this.value},QuestionCustomModelBase.prototype.setValue=function(e,t,o,n){if(this.data){this.customQuestion&&this.customQuestion.onValueChanged(this,e,t);var r=this.convertDataName(e),i=this.convertDataValue(e,t);this.valueToDataCallback&&(i=this.valueToDataCallback(i)),this.data.setValue(r,i,o,n),this.updateIsAnswered(),this.updateElementCss()}},QuestionCustomModelBase.prototype.getQuestionByName=function(e){},QuestionCustomModelBase.prototype.isValueChanging=function(e,t){if(this.customQuestion){var o=t;if(t=this.customQuestion.onValueChanging(this,e,t),!oe.isTwoValueEquals(t,o)){var n=this.getQuestionByName(e);if(n)return n.value=t,!0}}return!1},QuestionCustomModelBase.prototype.convertDataName=function(e){return this.getValueName()},QuestionCustomModelBase.prototype.convertDataValue=function(e,t){return t},QuestionCustomModelBase.prototype.getVariable=function(e){return this.data?this.data.getVariable(e):null},QuestionCustomModelBase.prototype.setVariable=function(e,t){this.data&&this.data.setVariable(e,t)},QuestionCustomModelBase.prototype.getComment=function(e){return this.data?this.data.getComment(this.getValueName()):""},QuestionCustomModelBase.prototype.setComment=function(e,t,o){this.data&&this.data.setComment(this.getValueName(),t,o)},QuestionCustomModelBase.prototype.getAllValues=function(){return this.data?this.data.getAllValues():{}},QuestionCustomModelBase.prototype.getFilteredValues=function(){return this.data?this.data.getFilteredValues():{}},QuestionCustomModelBase.prototype.getFilteredProperties=function(){return this.data?this.data.getFilteredProperties():{}},QuestionCustomModelBase.prototype.findQuestionByName=function(e){return this.data?this.data.findQuestionByName(e):null},QuestionCustomModelBase.prototype.getEditingSurveyElement=function(){},QuestionCustomModelBase.prototype.addElement=function(e,t){},QuestionCustomModelBase.prototype.removeElement=function(e){return!1},QuestionCustomModelBase.prototype.getQuestionTitleLocation=function(){return"left"},QuestionCustomModelBase.prototype.getQuestionTitleWidth=function(){},QuestionCustomModelBase.prototype.getColumsForElement=function(e){return[]},QuestionCustomModelBase.prototype.updateColumns=function(){},QuestionCustomModelBase.prototype.getQuestionStartIndex=function(){return this.getStartIndex()},QuestionCustomModelBase.prototype.getChildrenLayoutType=function(){return"row"},QuestionCustomModelBase.prototype.elementWidthChanged=function(e){},Object.defineProperty(QuestionCustomModelBase.prototype,"elements",{get:function(){return[]},enumerable:!1,configurable:!0}),QuestionCustomModelBase.prototype.indexOf=function(e){return -1},QuestionCustomModelBase.prototype.ensureRowsVisibility=function(){},QuestionCustomModelBase.prototype.validateContainerOnly=function(){},QuestionCustomModelBase.prototype.onQuestionValueChanged=function(e){},QuestionCustomModelBase.prototype.getQuestionErrorLocation=function(){return this.getErrorLocation()},QuestionCustomModelBase.prototype.getContentDisplayValueCore=function(t,o,n){return n?this.customQuestion.getDisplayValue(t,o,n):e.prototype.getDisplayValueCore.call(this,t,o)},QuestionCustomModelBase}(nX),rc=function(e){function QuestionCustomModel(){return null!==e&&e.apply(this,arguments)||this}return rs(QuestionCustomModel,e),QuestionCustomModel.prototype.getTemplate=function(){return"custom"},QuestionCustomModel.prototype.getDynamicProperties=function(){return this.customQuestion.getDynamicProperties()||[]},QuestionCustomModel.prototype.getDynamicType=function(){return this.questionWrapper?this.questionWrapper.getType():"question"},QuestionCustomModel.prototype.getOriginalObj=function(){return this.questionWrapper},QuestionCustomModel.prototype.createWrapper=function(){var e=this;this.questionWrapper=this.createQuestion(),this.createDynamicProperties(this.questionWrapper),this.getDynamicProperties().length>0&&(this.questionWrapper.onPropertyValueChangedCallback=function(t,o,n,r,i){e.getDynamicProperty(t)&&e.propertyValueChanged(t,o,n,i)})},QuestionCustomModel.prototype.getDynamicProperty=function(e){for(var t=this.getDynamicProperties(),o=0;o<t.length;o++)if(t[o].name===e)return t[o];return null},QuestionCustomModel.prototype.getElement=function(){return this.contentQuestion},QuestionCustomModel.prototype.supportGoNextPageAutomatic=function(){return!!this.contentQuestion&&this.contentQuestion.supportGoNextPageAutomatic()},QuestionCustomModel.prototype.onAnyValueChanged=function(t,o){e.prototype.onAnyValueChanged.call(this,t,o),this.contentQuestion&&this.contentQuestion.onAnyValueChanged(t,o)},QuestionCustomModel.prototype.getQuestionByName=function(e){return this.contentQuestion},QuestionCustomModel.prototype.getDefaultTitle=function(){return this.hasJSONTitle&&this.contentQuestion?this.getProcessedText(this.contentQuestion.title):e.prototype.getDefaultTitle.call(this)},QuestionCustomModel.prototype.setValue=function(t,o,n,r){this.isValueChanging(t,o)||e.prototype.setValue.call(this,t,o,n,r)},QuestionCustomModel.prototype.updateCommentFromSurvey=function(t){e.prototype.updateCommentFromSurvey.call(this,t);var o=this.contentQuestion;o&&o.updateCommentFromSurvey(t)},Object.defineProperty(QuestionCustomModel.prototype,"requireUpdateCommentValue",{get:function(){var e;return null===(e=this.contentQuestion)||void 0===e?void 0:e.requireUpdateCommentValue},enumerable:!1,configurable:!0}),QuestionCustomModel.prototype.onSetData=function(){e.prototype.onSetData.call(this),this.survey&&!this.isEmpty()&&this.setValue(this.name,this.value,!1,this.allowNotifyValueChanged)},QuestionCustomModel.prototype.hasErrors=function(t,o){if(void 0===t&&(t=!0),void 0===o&&(o=null),!this.contentQuestion)return!1;var n=this.contentQuestion.hasErrors(t,o);this.errors=[];for(var r=0;r<this.contentQuestion.errors.length;r++)this.errors.push(this.contentQuestion.errors[r]);return n||(n=e.prototype.hasErrors.call(this,t,o)),this.updateElementCss(),n},QuestionCustomModel.prototype.focus=function(t){void 0===t&&(t=!1),this.contentQuestion?this.contentQuestion.focus(t):e.prototype.focus.call(this,t)},QuestionCustomModel.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t),this.contentQuestion&&this.contentQuestion.afterRender(t)},Object.defineProperty(QuestionCustomModel.prototype,"contentQuestion",{get:function(){return this.questionWrapper},enumerable:!1,configurable:!0}),QuestionCustomModel.prototype.createQuestion=function(){var e=this,t=this.customQuestion.json,o=null;if(t.questionJSON){this.hasJSONTitle=!!t.questionJSON.title;var n=t.questionJSON.type;if(!n||!ov.findClass(n))throw"type attribute in questionJSON is empty or incorrect";(o=ov.createClass(n)).fromJSON(t.questionJSON),o=this.checkCreatedQuestion(o)}else t.createQuestion&&(o=this.checkCreatedQuestion(t.createQuestion()));return this.initElement(o),o&&(o.isContentElement=!0,o.name||(o.name="question"),o.onUpdateCssClassesCallback=function(t){e.onUpdateQuestionCssClasses(o,t)},o.hasCssErrorCallback=function(){return e.errors.length>0},o.setValueChangedDirectlyCallback=function(t){e.setValueChangedDirectly(t)}),o},QuestionCustomModel.prototype.checkCreatedQuestion=function(e){return e&&(e.isQuestion||(e=Array.isArray(e.questions)&&e.questions.length>0?e.questions[0]:ov.createClass("text"),oC.error("Could not create component: '"+this.getType()+"'. questionJSON should be a question."))),e},QuestionCustomModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.contentQuestion&&this.isEmpty()&&!this.contentQuestion.isEmpty()&&(this.value=this.getContentQuestionValue())},QuestionCustomModel.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),this.contentQuestion&&this.contentQuestion.runCondition(t,o)},QuestionCustomModel.prototype.convertDataName=function(t){var o=this.contentQuestion;if(!o||t===this.getValueName())return e.prototype.convertDataName.call(this,t);var n=t.replace(o.getValueName(),this.getValueName());return 0==n.indexOf(this.getValueName())?n:e.prototype.convertDataName.call(this,t)},QuestionCustomModel.prototype.convertDataValue=function(t,o){return this.convertDataName(t)==e.prototype.convertDataName.call(this,t)?this.getContentQuestionValue():o},QuestionCustomModel.prototype.getContentQuestionValue=function(){if(this.contentQuestion){var e=this.contentQuestion.value;return this.customQuestion&&(e=this.customQuestion.getValueFromQuestion(e)),e}},QuestionCustomModel.prototype.setContentQuestionValue=function(e){this.contentQuestion&&(this.customQuestion&&(e=this.customQuestion.setValueToQuestion(e)),this.contentQuestion.value=e)},QuestionCustomModel.prototype.canSetValueToSurvey=function(){return!1},QuestionCustomModel.prototype.setQuestionValue=function(t,o){void 0===o&&(o=!0),e.prototype.setQuestionValue.call(this,t,o),this.isLoadingFromJson||!this.contentQuestion||this.isTwoValueEquals(this.getContentQuestionValue(),t)||this.setContentQuestionValue(this.getUnbindValue(t))},QuestionCustomModel.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.contentQuestion&&this.contentQuestion.onSurveyValueChanged(t)},QuestionCustomModel.prototype.getValueCore=function(){return this.contentQuestion?this.getContentQuestionValue():e.prototype.getValueCore.call(this)},QuestionCustomModel.prototype.setValueChangedDirectly=function(t){this.isSettingValueChanged||(this.isSettingValueChanged=!0,e.prototype.setValueChangedDirectly.call(this,t),this.contentQuestion&&this.contentQuestion.setValueChangedDirectly(t),this.isSettingValueChanged=!1)},QuestionCustomModel.prototype.createDynamicProperties=function(e){if(e){var t=this.getDynamicProperties();Array.isArray(t)&&ov.addDynamicPropertiesIntoObj(this,e,t)}},QuestionCustomModel.prototype.initElement=function(t){var o=this;e.prototype.initElement.call(this,t),t&&(t.parent=this,t.afterRe
vendor: 4,185 bytes, line 5
5nderQuestionCallback=function(e,t){o.customQuestion&&o.customQuestion.onAfterRenderContentElement(o,e,t)})},QuestionCustomModel.prototype.updateElementCss=function(t){this.contentQuestion&&this.questionWrapper.updateElementCss(t),e.prototype.updateElementCss.call(this,t)},QuestionCustomModel.prototype.setIsMobile=function(t){e.prototype.setIsMobile.call(this,t),this.contentQuestion&&this.contentQuestion.setIsMobile(t)},QuestionCustomModel.prototype.updateElementCssCore=function(t){this.contentQuestion&&(t=this.contentQuestion.cssClasses),e.prototype.updateElementCssCore.call(this,t)},QuestionCustomModel.prototype.getDisplayValueCore=function(t,o){return e.prototype.getContentDisplayValueCore.call(this,t,o,this.contentQuestion)},QuestionCustomModel}(ru),rp=function(e){function QuestionCompositeTextProcessor(t,o){var n=e.call(this,o)||this;return n.composite=t,n.variableName=o,n}return rs(QuestionCompositeTextProcessor,e),Object.defineProperty(QuestionCompositeTextProcessor.prototype,"survey",{get:function(){return this.composite.survey},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCompositeTextProcessor.prototype,"panel",{get:function(){return this.composite.contentPanel},enumerable:!1,configurable:!0}),QuestionCompositeTextProcessor}(ri),rd=function(e){function QuestionCompositeModel(t,o){var n=e.call(this,t,o)||this;return n.customQuestion=o,n.settingNewValue=!1,n.textProcessing=new rp(n,QuestionCompositeModel.ItemVariableName),n}return rs(QuestionCompositeModel,e),QuestionCompositeModel.prototype.createWrapper=function(){this.panelWrapper=this.createPanel()},QuestionCompositeModel.prototype.getTemplate=function(){return"composite"},QuestionCompositeModel.prototype.getElement=function(){return this.contentPanel},QuestionCompositeModel.prototype.getCssRoot=function(t){return new oY().append(e.prototype.getCssRoot.call(this,t)).append(t.composite).toString()},Object.defineProperty(QuestionCompositeModel.prototype,"contentPanel",{get:function(){return this.panelWrapper},enumerable:!1,configurable:!0}),QuestionCompositeModel.prototype.hasErrors=function(t,o){void 0===t&&(t=!0),void 0===o&&(o=null);var n=e.prototype.hasErrors.call(this,t,o);return this.contentPanel&&this.contentPanel.hasErrors(t,!1,o)||n},QuestionCompositeModel.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t),this.contentPanel&&this.contentPanel.updateElementCss(t)},QuestionCompositeModel.prototype.dispose=function(){this.unConnectEditingObj(),e.prototype.dispose.call(this)},QuestionCompositeModel.prototype.updateEditingObj=function(){var e,t=this,o=null===(e=this.data)||void 0===e?void 0:e.getEditingSurveyElement();if(o){var n=o[this.getValueName()];return n&&!n.onPropertyChanged&&(n=void 0),n!==this.editingObjValue&&(this.unConnectEditingObj(),this.editingObjValue=n,n&&(this.onEditingObjPropertyChanged=function(e,o){t.setNewValueIntoQuestion(o.name,t.editingObjValue[o.name])},n.onPropertyChanged.add(this.onEditingObjPropertyChanged))),this.editingObjValue}},QuestionCompositeModel.prototype.unConnectEditingObj=function(){this.editingObjValue&&!this.editingObjValue.isDisposed&&this.editingObjValue.onPropertyChanged.remove(this.onEditingObjPropertyChanged)},QuestionCompositeModel.prototype.getEditingSurveyElement=function(){return this.editingObjValue},QuestionCompositeModel.prototype.getTextProcessor=function(){return this.textProcessing},QuestionCompositeModel.prototype.findQuestionByName=function(t){return this.getQuestionByName(t)||e.prototype.findQuestionByName.call(this,t)},QuestionCompositeModel.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t);for(var o=this.contentPanel.questions,n=0;n<o.length;n++)o[n].clearValueIfInvisible(t)},QuestionCompositeModel.prototype.onAnyValueChanged=function(t,o){e.prototype.onAnyValueChanged.call(this,t,o);for(var n=this.contentPanel.questions,r=0;r<n.length;r++)n[r].onAnyValueChanged(t,o)},Object.defineProperty(QuestionCompositeModel.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCompositeModel.prototype,"isContainer",{get:function(){return!0}
vendor: 6,466 bytes, line 5
5,enumerable:!1,configurable:!0}),QuestionCompositeModel.prototype.createPanel=function(){var e=this,t=ov.createClass("panel");t.showQuestionNumbers="off",t.renderWidth="100%";var o=this.customQuestion.json;return o.elementsJSON&&t.fromJSON({elements:o.elementsJSON}),o.createElements&&o.createElements(t,this),this.initElement(t),t.readOnly=this.isReadOnly,t.questions.forEach(function(t){t.setParentQuestion(e),t.onUpdateCssClassesCallback=function(o){e.onUpdateQuestionCssClasses(t,o)}}),this.setAfterRenderCallbacks(t),t},QuestionCompositeModel.prototype.onReadOnlyChanged=function(){this.contentPanel&&(this.contentPanel.readOnly=this.isReadOnly),e.prototype.onReadOnlyChanged.call(this)},QuestionCompositeModel.prototype.updateValueFromSurvey=function(t,o){void 0===o&&(o=!1),this.updateEditingObj(),e.prototype.updateValueFromSurvey.call(this,t,o)},QuestionCompositeModel.prototype.onSurveyLoad=function(){if(this.isSettingValOnLoading=!0,this.contentPanel&&(this.contentPanel.readOnly=this.isReadOnly,this.setIsContentElement(this.contentPanel)),e.prototype.onSurveyLoad.call(this),this.contentPanel){var t=this.getContentPanelValue();oe.isValueEmpty(t)||(this.value=t)}this.isSettingValOnLoading=!1},QuestionCompositeModel.prototype.setIsContentElement=function(e){e.isContentElement=!0;for(var t=e.elements,o=0;o<t.length;o++){var n=t[o];n.isPanel?this.setIsContentElement(n):n.isContentElement=!0}},QuestionCompositeModel.prototype.setVisibleIndex=function(t){var o=e.prototype.setVisibleIndex.call(this,t);return this.isVisible&&this.contentPanel&&(o+=this.contentPanel.setVisibleIndex(t)),o},QuestionCompositeModel.prototype.runCondition=function(t,o){if(e.prototype.runCondition.call(this,t,o),this.contentPanel){var n=t[QuestionCompositeModel.ItemVariableName];t[QuestionCompositeModel.ItemVariableName]=this.contentPanel.getValue(),this.contentPanel.runCondition(t,o),delete t[QuestionCompositeModel.ItemVariableName],n&&(t[QuestionCompositeModel.ItemVariableName]=n)}},QuestionCompositeModel.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t);var o=t||{};this.contentPanel&&this.contentPanel.questions.forEach(function(e){e.onSurveyValueChanged(o[e.getValueName()])})},QuestionCompositeModel.prototype.getValue=function(e){var t=this.value;return t?t[e]:null},QuestionCompositeModel.prototype.getQuestionByName=function(e){return this.contentPanel?this.contentPanel.getQuestionByName(e):void 0},QuestionCompositeModel.prototype.setValue=function(t,o,n,r){if(this.settingNewValue){this.setNewValueIntoQuestion(t,o);return}if(!this.isValueChanging(t,o)){if(this.settingNewValue=!0,!this.isEditingSurveyElement&&this.contentPanel)for(var i=0,s=this.contentPanel.questions.length+1;i<s&&this.updateValueCoreWithPanelValue();)i++;this.setNewValueIntoQuestion(t,o),e.prototype.setValue.call(this,t,o,n,r),this.settingNewValue=!1,this.runPanelTriggers(QuestionCompositeModel.ItemVariableName+"."+t,o)}},QuestionCompositeModel.prototype.setComment=function(e,t,o){var n=this.getUnbindValue(this.value),r=this.getCommentName(e);if((n||t)&&(!t||!n||n[r]!==t)){t?(n||(n={}),n[r]=t):delete n[r];var i=this.getQuestionByName(e);i&&i.comment!==t&&(i.comment=t),this.settingNewValue||(this.value=n)}},QuestionCompositeModel.prototype.getComment=function(e){var t=this.getQuestionByName(e);if(t)return t.comment;var o=this.value;return!!o&&o[this.getCommentName(e)]||""},QuestionCompositeModel.prototype.getCommentName=function(e){return e+nC.commentSuffix},QuestionCompositeModel.prototype.runPanelTriggers=function(e,t){this.contentPanel&&this.contentPanel.questions.forEach(function(o){o.runTriggers(e,t)})},QuestionCompositeModel.prototype.getFilteredValues=function(){var e=this.data?this.data.getFilteredValues():{};return this.contentPanel&&(e[QuestionCompositeModel.ItemVariableName]=this.contentPanel.getValue()),e},QuestionCompositeModel.prototype.updateValueCoreWithPanelValue=function(){var e=this.getContentPanelValue();return!this.isTwoValueEquals(this.getValueCore(),e)&&(this.setValueCore(e),!0)},QuestionCompositeModel.prototype.getContentPanelValue=function(e){return e||(e=this.contentPanel.getValue()),this.customQuestion.setValueToQuestion(e)},QuestionCompositeModel.prototype.getValueForContentPanel=function(e){return this.customQuestion.getValueFromQuestion(e)},QuestionCompositeModel.prototype.setNewValueIntoQuestion=function(e,t){var o=this.getQuestionByName(e);o&&!this.isTwoValueEquals(t,o.value)&&(o.value=t)},QuestionCompositeModel.prototype.addConditionObjectsByContext=function(e,t){if(this.contentPanel)for(var o=this.contentPanel.questions,n=this.name,r=this.title,i=0;i<o.length;i++)e.push({name:n+"."+o[i].name,text:r+"."+o[i].title,question:o[i]})},QuestionCompositeModel.prototype.collectNestedQuestionsCore=function(e,t,o){this.contentPanel&&(o&&e.push(this),this.contentPanel.questions.forEach(function(o){return o.collectNestedQuestions(e,t)}))},QuestionCompositeModel.prototype.convertDataValue=function(e,t){var o=this.contentPanel&&!this.isEditingSurveyElement?this.contentPanel.getValue():this.getValueForContentPanel(this.value);return o||(o={}),o.getType||(o=oe.getUnbindValue(o)),this.isValueEmpty(t)&&!this.isEditingSurveyElement?delete o[e]:o[e]=t,this.getContentPanelValue(o)},QuestionCompositeModel.prototype.setQuestionValue=function(t,o){void 0===o&&(o=!0),this.setValuesIntoQuestions(t),!this.isEditingSurveyElement&&this.contentPanel&&(t=this.getContentPanelValue()),e.prototype.setQuestionValue.call(this,t,o)},QuestionCompositeModel.prototype.setValuesIntoQuestions=function(e){if(this.contentPanel&&!this.settingNewValue){e=this.getValueForContentPanel(e);var t=this.settingNewValue;this.settingNewValue=!0;for(var o=this.contentPanel.questions,n=0;n<o.length;n++){var r=o[n],i=r.getValueName(),s=this.getCommentName(i),a=e?e[i]:void 0,l=!!e&&e[s]||"";this.isTwoValueEquals(r.value,a)||void 0===a&&r.isEmpty()||(r.value=a),r.comment!==l&&(r.comment=l)}this.settingNewValue=t}},QuestionCompositeModel.prototype.getDisplayValueCore=function(t,o){return e.prototype.getContentDisplayValueCore.call(this,t,o,this.contentPanel)},QuestionCompositeModel.prototype.setAfterRenderCallbacks=function(e){var t=this;if(e&&this.customQuestion)for(var o=e.questions,n=0;n<o.length;n++)o[n].afterRenderQuestionCallback=function(e,o){t.customQuestion.onAfterRenderContentElement(t,e,o)}},Object.defineProperty(QuestionCompositeModel.prototype,"ariaRole",{get:function(){return"group"}
5,enumerable:!1,configurable:!0}),QuestionCompositeModel.prototype.setIsMobile=function(t){e.prototype.setIsMobile.call(this,t),this.contentPanel&&this.contentPanel.questions.forEach(function(e){e.setIsMobile(t)})},QuestionCompositeModel.ItemVariableName="composite",QuestionCompositeModel}(ru),rh=function(){function QuestionFactory(){}return Object.defineProperty(QuestionFactory,"DefaultChoices",{get:function(){var e=getLocaleString("choices_Item");return[e+"1",e+"2",e+"3"]},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFactory,"DefaultColums",{get:function(){var e=getLocaleString("matrix_column")+" ";return[e+"1",e+"2",e+"3"]},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFactory,"DefaultRows",{get:function(){var e=getLocaleString("matrix_row")+" ";return[e+"1",e+"2"]},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFactory,"DefaultMutlipleTextItems",{get:function(){var e=getLocaleString("multipletext_itemname");return[e+"1",e+"2"]},enumerable:!1,configurable:!0}),QuestionFactory.prototype.registerQuestion=function(e,t,o){void 0===o&&(o=!0),rm.Instance.registerElement(e,t,o)},QuestionFactory.prototype.registerCustomQuestion=function(e){rm.Instance.registerCustomQuestion(e)},QuestionFactory.prototype.unregisterElement=function(e,t){void 0===t&&(t=!1),rm.Instance.unregisterElement(e,t)},QuestionFactory.prototype.clear=function(){rm.Instance.clear()},QuestionFactory.prototype.getAllTypes=function(){return rm.Instance.getAllTypes()},QuestionFactory.prototype.createQuestion=function(e,t){return rm.Instance.createElement(e,t)},QuestionFactory.Instance=new QuestionFactory,QuestionFactory}(),rm=function(){function ElementFactory(){var e=this;this.creatorHash={},this.registerCustomQuestion=function(t,o){void 0===o&&(o=!0),e.registerElement(t,function(e){var o=ov.createClass(t);return o&&(o.name=e),o},o)}}return ElementFactory.prototype.registerElement=function(e,t,o){void 0===o&&(o=!0),this.creatorHash[e]={showInToolbox:o,creator:t}},ElementFactory.prototype.clear=function(){this.creatorHash={}},ElementFactory.prototype.unregisterElement=function(e,t){void 0===t&&(t=!1),delete this.creatorHash[e],t&&ov.removeClass(e)},ElementFactory.prototype.getAllToolboxTypes=function(){return this.getAllTypesCore(!0)},ElementFactory.prototype.getAllTypes=function(){return this.getAllTypesCore(!1)},ElementFactory.prototype.createElement=function(e,t){var o=this.creatorHash[e];if(o&&o.creator)return o.creator(t);var n=rl.Instance.getCustomQuestionByName(e);return n?rl.Instance.createQuestion(t,n):null},ElementFactory.prototype.getAllTypesCore=function(e){var t=[];for(var o in this.creatorHash)(!e||this.creatorHash[o].showInToolbox)&&t.push(o);return t.sort()},ElementFactory.Instance=new ElementFactory,ElementFactory}(),rg=(M=function(e,t){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),rf=function(e){function QuestionExpressionModel(t){var o=e.call(this,t)||this;return o.createLocalizableString("format",o),o.registerPropertyChangedHandlers(["expression"],function(){o.expressionRunner&&(o.expressionRunner=o.createRunner())}),o.registerPropertyChangedHandlers(["format","currency","displayStyle"],function(){o.updateFormatedValue()}),o}return rg(QuestionExpressionModel,e),QuestionExpressionModel.prototype.getType=function(){return"expression"},Object.defineProperty(QuestionExpressionModel.prototype,"hasInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"format",{get:function(){return this.getLocalizableStringText("format","")},set:function(e){this.setLocalizableStringText("format",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"locFormat",{get:function(){return this.getLocalizableString("format")}
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),QuestionExpressionModel.prototype.locCalculation=function(){this.expressionIsRunning=!0},QuestionExpressionModel.prototype.unlocCalculation=function(){this.expressionIsRunning=!1},QuestionExpressionModel.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),this.expression&&!this.expressionIsRunning&&(this.runIfReadOnly||!this.isReadOnly)&&(this.locCalculation(),this.expressionRunner||(this.expressionRunner=this.createRunner()),this.expressionRunner.run(t,o))},QuestionExpressionModel.prototype.canCollectErrors=function(){return!0},QuestionExpressionModel.prototype.hasRequiredError=function(){return!1},QuestionExpressionModel.prototype.createRunner=function(){var e=this,t=this.createExpressionRunner(this.expression);return t.onRunComplete=function(t){e.value=e.roundValue(t),e.unlocCalculation()},t},Object.defineProperty(QuestionExpressionModel.prototype,"maximumFractionDigits",{get:function(){return this.getPropertyValue("maximumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("maximumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"minimumFractionDigits",{get:function(){return this.getPropertyValue("minimumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("minimumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"runIfReadOnly",{get:function(){return!0===this.runIfReadOnlyValue},set:function(e){this.runIfReadOnlyValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"formatedValue",{get:function(){return this.getPropertyValue("formatedValue","")},enumerable:!1,configurable:!0}),QuestionExpressionModel.prototype.updateFormatedValue=function(){this.setPropertyValue("formatedValue",this.getDisplayValueCore(!1,this.value))},QuestionExpressionModel.prototype.onValueChanged=function(){this.updateFormatedValue()},QuestionExpressionModel.prototype.updateValueFromSurvey=function(t,o){e.prototype.updateValueFromSurvey.call(this,t,o),this.updateFormatedValue()},QuestionExpressionModel.prototype.getDisplayValueCore=function(e,t){var o=null==t?this.defaultValue:t,n="";if(!this.isValueEmpty(o)){var r=this.getValueAsStr(o);n=this.format?this.format.format(r):r}return this.survey&&(n=this.survey.getExpressionDisplayValue(this,o,n)),n},Object.defineProperty(QuestionExpressionModel.prototype,"displayStyle",{get:function(){return this.getPropertyValue("displayStyle")},set:function(e){this.setPropertyValue("displayStyle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"currency",{get:function(){return this.getPropertyValue("currency")},set:function(e){0>getCurrecyCodes().indexOf(e)||this.setPropertyValue("currency",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"useGrouping",{get:function(){return this.getPropertyValue("useGrouping")},set:function(e){this.setPropertyValue("useGrouping",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionExpressionModel.prototype,"precision",{get:function(){return this.getPropertyValue("precision")},set:function(e){this.setPropertyValue("precision",e)},enumerable:!1,configurable:!0}),QuestionExpressionModel.prototype.roundValue=function(e){if(e!==1/0)return this.precision<0||!oe.isNumber(e)?e:parseFloat(e.toFixed(this.precision))},QuestionExpressionModel.prototype.getValueAsStr=function(e){if("date"==this.displayStyle){var t=createDate("question-expression",e);if(t&&t.toLocaleDateString)return t.toLocaleDateString()}if("none"!=this.displayStyle&&oe.isNumber(e)){var o=this.getLocale();o||(o="en");var n={style:this.displayStyle,currency:this.currency,useGrouping:this.useGrouping};return this.maximumFractionDigits>-1&&(n.maximumFractionDigits=this.maximumFractionDigits),this.minimumFractionDigits>-1&&(n.minimumFractionDigits=this.minimumFractionDigits),e.toLocaleStr
5ing(o,n)}return e.toString()},QuestionExpressionModel}(nX);function getCurrecyCodes(){return["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]}ov.addClass("expression",["expression:expression",{name:"format",serializationProperty:"locFormat"},{name:"displayStyle",default:"none",choices:["none","decimal","currency","percent","date"]},{name:"currency",choices:function(){return getCurrecyCodes()},default:"USD",visibleIf:function(e){return"currency"===e.displayStyle}},{name:"maximumFractionDigits:number",default:-1},{name:"minimumFractionDigits:number",default:-1},{name:"useGrouping:boolean",default:!0},{name:"precision:number",default:-1,category:"data"},{name:"enableIf",visible:!1,isSerializable:!1},{name:"isRequired",visible:!1,isSerializable:!1},{name:"readOnly",visible:!1,isSerializable:!1},{name:"requiredErrorText",visible:!1,isSerializable:!1},{name:"resetValueIf",visible:!1,isSerializable:!1},{name:"setValueIf",visible:!1,isSerializable:!1},{name:"setValueExpression",visible:!1,isSerializable:!1},{name:"defaultValueExpression",visible:!1,isSerializable:!1},{name:"defaultValue",visible:!1,isSerializable:!1},{name:"correctAnswer",visible:!1,isSerializable:!1},{name:"requiredIf",visible:!1,isSerializable:!1}],function(){return new rf("")},"question"),rh.Instance.registerQuestion("expression",function(e){return new rf(e)});var ry=(E=function(e,t){return(E=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)});function onUpdateSelectBaseCellQuestion(e,t,o,n){e.storeOthersAsComment=!!o&&o.storeOthersAsComment,(!e.choices||0==e.choices.length)&&e.choicesByUrl.isEmpty&&(e.choices=o.choices),e.choicesByUrl.isEmpty||e.choicesByUrl.run(n.getTextProcessor())}var rv={dropdown:{onCellQuestionUpdate:function(e,t,o,n){onUpdateSelectBaseCellQuestion(e,t,o,n),e.locPlaceholder&&e.locPlaceholder.isEmpty&&!o.locPlaceholder.isEmpty&&(e.optionsCaption=o.optionsCaption)}},checkbox:{onCellQuestionUpdate:function(e,t,o,n){onUpdateSelectBaseCellQuestion(e,t,o,n),e.colCount=t.colCount>-1?t.colCount:o.columnColCount}},radiogroup:{onCellQuestionUpdate:function(e,t,o,n){onUpdateSelectBaseCellQuestion(e,t,o,n),e.colCount=t.colCount>-1?t.colCount:o.columnColCount}},tagbox:{onCellQuestionUpdate:function(e,t,o,n){onUpdateSelectBaseCellQuestion(e,t,o,n)}},text:{},comment:{},boolean:{onCellQuestionUpdate:function(e,t,o,n){e.renderAs=t.renderAs}},expression:{},rating:{}},rb=function(e){function MatrixDropdownColumn(t,o,n){var r=e.call(this)||this;return r.indexValue=-1,r._hasVisibleCell=!0,r.isColumnsVisibleIf=!0,r.previousChoicesId=void 0,r.colOwnerValue=n,r.createLocalizableString("totalFormat",r),r.createLocalizableString("cellHint",r),r.registerPropertyChangedHandlers(["showInMultipleColumns"],function(){r.doShowInMultipleColumnsChanged()}
vendor: 4,093 bytes, line 5
5),r.registerPropertyChangedHandlers(["visible"],function(){r.doColumnVisibilityChanged()}),r.updateTemplateQuestion(void 0,t,o),r}return ry(MatrixDropdownColumn,e),MatrixDropdownColumn.getColumnTypes=function(){var e=[];for(var t in rv)e.push(t);return e},MatrixDropdownColumn.prototype.getOriginalObj=function(){return this.templateQuestion},MatrixDropdownColumn.prototype.getClassNameProperty=function(){return"cellType"},MatrixDropdownColumn.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.colOwner?this.colOwner.survey:null},MatrixDropdownColumn.prototype.endLoadingFromJson=function(){var t=this;e.prototype.endLoadingFromJson.call(this),this.templateQuestion.autoOtherMode=this.isShowInMultipleColumns,this.templateQuestion.endLoadingFromJson(),this.templateQuestion.onGetSurvey=function(){return t.getSurvey()}},MatrixDropdownColumn.prototype.getDynamicPropertyName=function(){return"cellType"},MatrixDropdownColumn.prototype.getDynamicType=function(){return"default"===this.cellType?"question":this.calcCellQuestionType(null)},Object.defineProperty(MatrixDropdownColumn.prototype,"colOwner",{get:function(){return this.colOwnerValue},set:function(e){this.colOwnerValue=e,e&&(this.updateTemplateQuestion(),this.setParentQuestionToTemplate(this.templateQuestion))},enumerable:!1,configurable:!0}),MatrixDropdownColumn.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.locTitle.strChanged()},MatrixDropdownColumn.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.templateQuestion.addUsedLocales(t)},Object.defineProperty(MatrixDropdownColumn.prototype,"index",{get:function(){return this.indexValue},enumerable:!1,configurable:!0}),MatrixDropdownColumn.prototype.setIndex=function(e){this.indexValue=e},MatrixDropdownColumn.prototype.getType=function(){return"matrixdropdowncolumn"},Object.defineProperty(MatrixDropdownColumn.prototype,"cellType",{get:function(){return this.getPropertyValue("cellType")},set:function(e){e=e.toLocaleLowerCase(),this.updateTemplateQuestion(e),this.setPropertyValue("cellType",e),this.colOwner&&this.colOwner.onColumnCellTypeChanged(this)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"templateQuestion",{get:function(){return this.templateQuestionValue},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"value",{get:function(){return this.templateQuestion.name},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isVisible",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isColumnVisible",{get:function(){return!!this.isDesignMode||this.visible&&this.hasVisibleCell},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"visible",{get:function(){return this.templateQuestion.visible},set:function(e){this.templateQuestion.visible=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"hasVisibleCell",{get:function(){return this._hasVisibleCell},set:function(e){this._hasVisibleCell=e},enumerable:!1,configurable:!0}),MatrixDropdownColumn.prototype.getVisibleMultipleChoices=function(){var e=this.templateQuestion.visibleChoices;if(!Array.isArray(e))return[];if(!Array.isArray(this._visiblechoices))return e;for(var t=[],o=0;o<e.length;o++){var n=e[o];this._visiblechoices.indexOf(n.value)>-1&&t.push(n)}return t},Object.defineProperty(MatrixDropdownColumn.prototype,"getVisibleChoicesInCell",{get:function(){if(Array.isArray(this._visiblechoices))return this._visiblechoices;var e=this.templateQuestion.visibleChoices;return Array.isArray(e)?e:[]},enumerable:!1,configurable:!0}),MatrixDropdownColumn.prototype.setVisibleChoicesInCell=function(e){this._visiblechoices=e},Object.defineProperty(MatrixDropdownColumn.prototype,"isFilteredMultipleColumns",{get:function(){if(!this.showInMultipleColumns)return!1;var e=this.templateQuestion.choices;if(!Array.isArray(e))return!1;for(var t=0;t<e.length;t++)if(e[t].visibleIf)return!0;return!1}
5,enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"name",{get:function(){return this.templateQuestion.name},set:function(e){this.templateQuestion.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"title",{get:function(){return this.templateQuestion.title},set:function(e){this.templateQuestion.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"locTitle",{get:function(){return this.templateQuestion.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"fullTitle",{get:function(){return this.locTitle.textOrHtml},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired")},set:function(e){this.setPropertyValue("isRequired",e),this.templateQuestion.isRequired=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isRenderedRequired",{get:function(){return this.getPropertyValue("isRenderedRequired",this.isRequired)},set:function(e){this.setPropertyValue("isRenderedRequired",e)},enumerable:!1,configurable:!0}),MatrixDropdownColumn.prototype.updateIsRenderedRequired=function(e){this.isRenderedRequired=e||this.isRequired},Object.defineProperty(MatrixDropdownColumn.prototype,"requiredText",{get:function(){return this.isRenderedRequired&&this.getSurvey()?this.getSurvey().requiredText:this.templateQuestion.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"requiredErrorText",{get:function(){return this.templateQuestion.requiredErrorText},set:function(e){this.templateQuestion.requiredErrorText=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"locRequiredErrorText",{get:function(){return this.templateQuestion.locRequiredErrorText},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"readOnly",{get:function(){return this.templateQuestion.readOnly},set:function(e){this.templateQuestion.readOnly=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"hasOther",{get:function(){return this.templateQuestion.hasOther},set:function(e){this.templateQuestion.hasOther=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"visibleIf",{get:function(){return this.templateQuestion.visibleIf},set:function(e){this.templateQuestion.visibleIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"enableIf",{get:function(){return this.templateQuestion.enableIf},set:function(e){this.templateQuestion.enableIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"requiredIf",{get:function(){return this.templateQuestion.requiredIf},set:function(e){this.templateQuestion.requiredIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"resetValueIf",{get:function(){return this.templateQuestion.resetValueIf},set:function(e){this.templateQuestion.resetValueIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"defaultValueExpression",{get:function(){return this.templateQuestion.defaultValueExpression},set:function(e){this.templateQuestion.defaultValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"setValueIf",{get:function(){return this.templateQuestion.setValueIf},set:function(e){this.templateQuestion.setValueIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"setValueExpression",{get:function(){return this.templateQuestion.setValueExpression},set:function(e){this.templateQuestion.setValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isUnique",{get:function(){return this.getPropertyValue("isUnique")},set:function(e){this.setPropertyValue("isUnique",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"showInMultipleColumns",{get:function(){return this.getPropertyValue("showInMultipleColumns")},set:function(e){this.setPropertyValue("showInMultipleColumns",e)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isSupportMultipleColumns",{get:function(){return["checkbox","radiogroup"].indexOf(this.cellType)>-1},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"isShowInMultipleColumns",{get:function(){return this.showInMultipleColumns&&this.isSupportMultipleColumns},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"validators",{get:function(){return this.templateQuestion.validators},set:function(e){this.templateQuestion.validators=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalType",{get:function(){return this.getPropertyValue("totalType")},set:function(e){this.setPropertyValue("totalType",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalExpression",{get:function(){return this.getPropertyValue("totalExpression")},set:function(e){this.setPropertyValue("totalExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"hasTotal",{get:function(){return"none"!=this.totalType||!!this.totalExpression},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalFormat",{get:function(){return this.getLocalizableStringText("totalFormat","")},set:function(e){this.setLocalizableStringText("totalFormat",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"locTotalFormat",{get:function(){return this.getLocalizableString("totalFormat")},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"cellHint",{get:function(){return this.getLocalizableStringText("cellHint","")},set:function(e){this.setLocalizableStringText("cellHint",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"locCellHint",{get:function(){return this.getLocalizableString("cellHint")},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"renderAs",{get:function(){return this.getPropertyValue("renderAs")},set:function(e){this.setPropertyValue("renderAs",e),this.templateQuestion&&(this.templateQuestion.renderAs=e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalMaximumFractionDigits",{get:function(){return this.getPropertyValue("totalMaximumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("totalMaximumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalMinimumFractionDigits",{get:function(){return this.getPropertyValue("totalMinimumFractionDigits")},set:function(e){e<-1||e>20||this.setPropertyValue("totalMinimumFractionDigits",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalDisplayStyle",{get:function(){return this.getPropertyValue("totalDisplayStyle")},set:function(e){this.setPropertyValue("totalDisplayStyle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalAlignment",{get:function(){return this.getPropertyValue("totalAlignment")},set:function(e){this.setPropertyValue("totalAlignment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"totalCurrency",{get:function(){return this.getPropertyValue("totalCurrency")},set:function(e){0>getCurrecyCodes().indexOf(e)||this.setPropertyValue("totalCurrency",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth","")},set:function(e){this.setPropertyValue("minWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"width",{get:function(){return this.templateQuestion.width},set:function(e){this.templateQuestion.width=e},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownColumn.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount")},set:function(e){e<-1||e>4||this.setPropertyValue("colCount",e)}
5,enumerable:!1,configurable:!0}),MatrixDropdownColumn.prototype.getLocale=function(){return this.colOwner?this.colOwner.getLocale():""},MatrixDropdownColumn.prototype.getMarkdownHtml=function(e,t){return this.colOwner?this.colOwner.getMarkdownHtml(e,t):void 0},MatrixDropdownColumn.prototype.getRenderer=function(e){return this.colOwner?this.colOwner.getRenderer(e):null},MatrixDropdownColumn.prototype.getRendererContext=function(e){return this.colOwner?this.colOwner.getRendererContext(e):e},MatrixDropdownColumn.prototype.getProcessedText=function(e){return this.colOwner?this.colOwner.getProcessedText(e):e},MatrixDropdownColumn.prototype.createCellQuestion=function(e){var t=this.calcCellQuestionType(e),o=this.createNewQuestion(t);return this.callOnCellQuestionUpdate(o,e),o},MatrixDropdownColumn.prototype.startLoadingFromJson=function(t){e.prototype.startLoadingFromJson.call(this,t),t&&!t.cellType&&t.choices&&(t.cellType=this.colOwner.getCellType())},MatrixDropdownColumn.prototype.updateCellQuestion=function(e,t,o){void 0===o&&(o=null),this.setQuestionProperties(e,o)},MatrixDropdownColumn.prototype.callOnCellQuestionUpdate=function(e,t){var o=rv[e.getType()];o&&o.onCellQuestionUpdate&&o.onCellQuestionUpdate(e,this,this.colOwner,t)},MatrixDropdownColumn.prototype.defaultCellTypeChanged=function(){this.updateTemplateQuestion()},MatrixDropdownColumn.prototype.calcCellQuestionType=function(e){var t=this.getDefaultCellQuestionType();return e&&this.colOwner&&(t=this.colOwner.getCustomCellType(this,e,t)),t},MatrixDropdownColumn.prototype.getDefaultCellQuestionType=function(e){return(e||(e=this.cellType),"default"!==e)?e:this.colOwner?this.colOwner.getCellType():nC.matrix.defaultCellType},MatrixDropdownColumn.prototype.updateTemplateQuestion=function(e,t,o){var n=this,r=this.getDefaultCellQuestionType(e),i=this.templateQuestion?this.templateQuestion.getType():"";r!==i&&(this.templateQuestion&&this.removeProperties(i),this.templateQuestionValue=this.createNewQuestion(r),this.templateQuestion.locOwner=this,this.addProperties(r),t&&(this.name=t),o?this.title=o:this.templateQuestion.locTitle.strChanged(),nC.serialization.matrixDropdownColumnSerializeTitle&&(this.templateQuestion.locTitle.serializeCallBackText=!0),this.templateQuestion.onPropertyChanged.add(function(e,t){n.propertyValueChanged(t.name,t.oldValue,t.newValue,t.arrayChanges,t.target)}),this.templateQuestion.onItemValuePropertyChanged.add(function(e,t){n.doItemValuePropertyChanged(t.propertyName,t.obj,t.name,t.newValue,t.oldValue)}),this.templateQuestion.isContentElement=!0,this.isLoadingFromJson||(this.templateQuestion.onGetSurvey=function(){return n.getSurvey()}),this.templateQuestion.locTitle.strChanged())},MatrixDropdownColumn.prototype.createNewQuestion=function(e){var t=ov.createClass(e);return t||(t=ov.createClass("text")),t.loadingOwner=this,t.isEditableTemplateElement=!0,t.autoOtherMode=this.isShowInMultipleColumns,this.setQuestionProperties(t),this.setParentQuestionToTemplate(t),t},MatrixDropdownColumn.prototype.setParentQuestionToTemplate=function(e){this.colOwner&&this.colOwner.isQuestion&&e.setParentQuestion(this.colOwner)},MatrixDropdownColumn.prototype.setQuestionProperties=function(e,t){var o=this;if(void 0===t&&(t=null),this.templateQuestion){var n=new oy().toJsonObject(this.templateQuestion,!0);if(t&&t(n),n.type=e.getType(),"default"===this.cellType&&this.colOwner&&this.colOwner.hasChoices()&&delete n.choices,delete n.itemComponent,this.jsonObj&&"rating"===n.type&&this.isLoadingFromJson&&Object.keys(this.jsonObj
5).forEach(function(e){n[e]=o.jsonObj[e]}),"random"===n.choicesOrder){n.choicesOrder="none";var r=this.templateQuestion.visibleChoices;Array.isArray(r)&&(n.choices=r)}new oy().toObject(n,e),e.isContentElement=this.templateQuestion.isContentElement,this.previousChoicesId=void 0,e.loadedChoicesFromServerCallback=function(){if(o.isShowInMultipleColumns&&(!o.previousChoicesId||o.previousChoicesId===e.id)){o.previousChoicesId=e.id;var t=e.visibleChoices;o.templateQuestion.choices=t,o.propertyValueChanged("choices",t,t)}}}},MatrixDropdownColumn.prototype.propertyValueChanged=function(t,o,n,r,i){if(e.prototype.propertyValueChanged.call(this,t,o,n,r,i),"isRequired"===t&&this.updateIsRenderedRequired(n),this.colOwner&&!this.isLoadingFromJson){if(this.isShowInMultipleColumns){if("choicesOrder"===t)return;["visibleChoices","choices"].indexOf(t)>-1&&this.colOwner.onShowInMultipleColumnsChanged(this)}ov.hasOriginalProperty(this,t)&&this.colOwner.onColumnPropertyChanged(this,t,n)}},MatrixDropdownColumn.prototype.doItemValuePropertyChanged=function(e,t,o,n,r){ov.hasOriginalProperty(t,o)&&null!=this.colOwner&&!this.isLoadingFromJson&&this.colOwner.onColumnItemValuePropertyChanged(this,e,t,o,n,r)},MatrixDropdownColumn.prototype.doShowInMultipleColumnsChanged=function(){null!=this.colOwner&&this.colOwner.onShowInMultipleColumnsChanged(this),this.templateQuestion&&(this.templateQuestion.autoOtherMode=this.isShowInMultipleColumns)},MatrixDropdownColumn.prototype.doColumnVisibilityChanged=function(){null==this.colOwner||this.isDesignMode||this.colOwner.onColumnVisibilityChanged(this)},MatrixDropdownColumn.prototype.getProperties=function(e){return ov.getDynamicPropertiesByObj(this,e)},MatrixDropdownColumn.prototype.removeProperties=function(e){for(var t=this.getProperties(e),o=0;o<t.length;o++){var n=t[o];delete this[n.name],n.serializationProperty&&delete this[n.serializationProperty]}},MatrixDropdownColumn.prototype.addProperties=function(e){var t=this.getProperties(e);ov.addDynamicPropertiesIntoObj(this,this.templateQuestion,t)},MatrixDropdownColumn}(oW);ov.addClass("matrixdropdowncolumn",[{name:"!name",isUnique:!0},{name:"title",serializationProperty:"locTitle",dependsOn:"name",onPropertyEditorUpdate:function(e,t){e&&t&&(t.placeholder=e.name)}},{name:"cellHint",serializationProperty:"locCellHint",visible:!1},{name:"cellType",default:"default",choices:function(){var e=rb.getColumnTypes();return e.splice(0,0,"default"),e}},{name:"colCount",default:-1,choices:[-1,0,1,2,3,4]},{name:"isRequired:boolean",defaultFunc:function(e){var t=null==e?void 0:e.templateQuestion;return!!t&&(ov.findProperty(t.getType(),"isRequired").getDefaultValue(t)||!1)}},"isUnique:boolean",{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},"readOnly:boolean",{name:"minWidth",onPropertyEditorUpdate:function(e,t){e&&t&&(t.value=e.minWidth)}},"width",{name:"visible:switch",default:!0,overridingProperty:"visibleIf"},"visibleIf:condition","enableIf:condition","requiredIf:condition","resetValueIf:condition","setValueIf:condition","setValueExpression:expression",{name:"showInMultipleColumns:boolean",dependsOn:"cellType",visibleIf:function(e){return e.isSupportMultipleColumns}},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"},{name:"totalType",visibleIf:function(e){return!e.isShowInMultipleColumns},default:"none",choices:["none","sum","count","min","max","avg"]},{name:"totalExpression:expression",visibleIf:function(e){return!e.isShowInMultipleColumns}},{name:"totalFormat",serializationProperty:"locTotalFormat",visibleIf:function(e){return e.hasTotal}},{name:"totalDisplayStyle",visibleIf:function(e){return e.hasTotal},default:"none",choices:["none","decimal","currency","percent"]},{name:"totalAlignment",visibleIf:function(e){return e.hasTotal},default:"auto",choices:["auto","left","center","right"]},{name:"totalCurrency",visibleIf:function(e){return e.hasTotal},choices:function(){return getCurrecyCodes()},default:"USD"},{name:"totalMaximumFractionDigits:number",default:-1,visibleIf:function(e){return e.hasTotal}},{name:"totalMinimumFractionDigits:number",default:-1,visibleIf:function(e){return e.hasTotal}},{name:"renderAs",default:"default",visible:!1}],function(){return new rb("")}
5);var rx=(T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_matrixdropdownrendered_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},question_matrixdropdownrendered_spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e};function getId(e,t,o){return e+(t?"-error":"")+(o?"-detail":"")}var rC=function(){function QuestionMatrixDropdownRenderedCell(){this.minWidth="",this.width="",this.colSpans=1,this.isActionsCell=!1,this.isErrorsCell=!1,this.isDragHandlerCell=!1,this.isDetailRowCell=!1,this.classNameValue="",this.idValue=QuestionMatrixDropdownRenderedCell.counter++}return Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"requiredText",{get:function(){return this.column&&this.column.isRenderedRequired?this.column.requiredText:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"hasQuestion",{get:function(){return!!this.question&&!this.isErrorsCell},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"hasTitle",{get:function(){return!!this.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"hasPanel",{get:function(){return!!this.panel},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"id",{get:function(){var e=this.question?this.question.id:this.idValue.toString();return this.isChoice&&(e+="-"+(Number.isInteger(this.choiceIndex)?"index"+this.choiceIndex.toString():this.item.id)),getId(e,this.isErrorsCell,this.isDetailRowCell)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"item",{get:function(){return this.itemValue},set:function(e){this.itemValue=e,e&&(e.hideCaption=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"isChoice",{get:function(){return!!this.item},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"isItemChoice",{get:function(){return this.isChoice&&!this.isOtherChoice},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"choiceValue",{get:function(){return this.isChoice?this.item.value:null},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"isCheckbox",{get:function(){return this.isItemChoice&&this.question.isDescendantOf("checkbox")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"isRadio",{get:function(){return this.isItemChoice&&this.question.isDescendantOf("radiogroup")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"isFirstChoice",{get:function(){return 0===this.choiceIndex},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"className",{get:function(){var e=new oY().append(this.classNameValue);return this.hasQuestion&&e.append(this.question.cssClasses.hasError,this.question.errors.length>0).append(this.question.cssClasses.answered,this.question.isAnswered),e.toString()},set:function(e){this.classNameValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"cellQuestionWrapperClassName",{get:function(){return this.cell.getQuestionWrapperClassName(this.matrix.cssClasse
5s.cellQuestionWrapper)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"isVisible",{get:function(){var e;return!this.hasQuestion&&!this.isErrorsCell||!(null===(e=this.matrix)||void 0===e?void 0:e.isMobile)||this.question.isVisible},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"showResponsiveTitle",{get:function(){var e;return this.hasQuestion&&(null===(e=this.matrix)||void 0===e?void 0:e.isMobile)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"responsiveTitleCss",{get:function(){return new oY().append(this.matrix.cssClasses.cellResponsiveTitle).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"responsiveLocTitle",{get:function(){return this.cell.column.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype,"headers",{get:function(){if(this.cell&&this.cell.column){if(this.matrix.IsMultiplyColumn(this.cell.column))return this.item?this.item.locText.renderedHtml:"";var e=this.cell.column.cellHint;return e?""===e.trim()?"":this.cell.column.locCellHint.renderedHtml:this.hasQuestion&&this.question.isVisible&&this.question.title?this.question.title:this.cell.column.title}return this.hasQuestion&&this.question.isVisible?this.question.locTitle.renderedHtml:this.hasTitle&&this.locTitle.renderedHtml||""},enumerable:!1,configurable:!0}),QuestionMatrixDropdownRenderedCell.prototype.getTitle=function(){return this.matrix&&this.matrix.showHeader?this.headers:""},QuestionMatrixDropdownRenderedCell.prototype.calculateFinalClassName=function(e){var t=this.cell.question.cssClasses,o=new oY().append(t.itemValue,!!t).append(t.asCell,!!t);return o.append(e.cell,o.isEmpty()&&!!e).append(e.choiceCell,this.isChoice).toString()},QuestionMatrixDropdownRenderedCell.prototype.focusIn=function(){this.question&&this.question.focusIn()},QuestionMatrixDropdownRenderedCell.counter=1,QuestionMatrixDropdownRenderedCell}(),rw=function(e){function QuestionMatrixDropdownRenderedRow(t,o){void 0===o&&(o=!1);var n=e.call(this)||this;return n.cssClasses=t,n.isDetailRow=o,n.hasEndActions=!1,n.isErrorsRow=!1,n.cells=[],n.idValue=QuestionMatrixDropdownRenderedRow.counter++,n}return rx(QuestionMatrixDropdownRenderedRow,e),Object.defineProperty(QuestionMatrixDropdownRenderedRow.prototype,"id",{get:function(){var e;return getId((null===(e=this.row)||void 0===e?void 0:e.id)||this.idValue.toString(),this.isErrorsRow,this.isDetailRow)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedRow.prototype,"attributes",{get:function(){return this.row?{"data-sv-drop-target-matrix-row":this.row.id}:{}},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedRow.prototype,"className",{get:function(){var e,t;return new oY().append(this.cssClasses.row).append(this.cssClasses.detailRow,this.isDetailRow).append(this.cssClasses.rowHasPanel,null===(e=this.row)||void 0===e?void 0:e.hasPanel).append(this.cssClasses.expandedRow,(null===(t=this.row)||void 0===t?void 0:t.isDetailPanelShowing)&&!this.isDetailRow).append(this.cssClasses.rowHasEndActions,this.hasEndActions).append(this.cssClasses.ghostRow,this.isGhostRow).append(this.cssClasses.rowAdditional,this.isAdditionalClasses).toString()},enumerable:!1,configurable:!0}),QuestionMatrixDropdownRenderedRow.prototype.setRootElement=function(e){this.rootElement=e},QuestionMatrixDropdownRenderedRow.prototype.getRootElement=function(){return this.rootElement},QuestionMatrixDropdownRenderedRow.prototype.focusCell=function(e){if(this.rootElement){var t=this.rootElement.querySelectorAll(":scope td:nth-of-type("+(e+1)+") input, :scope td:nth-of-type("+(e+1)+") button")[0];t&&t.focus()}},QuestionMatrixDropdownRenderedRow.counter=1,question_matrixdropdownrendered_decorate([jsonobject_property({defaultValue:!1})],QuestionMatrixDropdownRenderedRow.prototype,"isGhostRow",void 0),question_matrixdropdownrendered_decorate([jsonobject_property({defaultValue:!1})],QuestionMatrixDropdownRenderedRow.prototype,"isAdditionalClasses",void 0),question_matrixdropdownrendered_decorate([jsonobject_property({defaultValue:!0})],QuestionMatrixDropdownRenderedRow.prototype,"visible",void 0),QuestionMatrixDropdownRenderedRow}(oW),rP=function(e){function QuestionMatrixDropdownRenderedErrorRow(t){var o=e.call(this,t)||this;return o.isErrorsRow=!0,o}return rx(QuestionMatrixDropdownRenderedErrorRow,e),Object.defineProperty(QuestionMatrixDropdownRenderedErrorRow.prototype,"attributes",{get:function(){return{}}
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedErrorRow.prototype,"className",{get:function(){return new oY().append(this.cssClasses.row).append(this.cssClasses.errorRow).toString()},enumerable:!1,configurable:!0}),QuestionMatrixDropdownRenderedErrorRow.prototype.onAfterCreated=function(){var e=this,callback=function(){e.visible=e.cells.some(function(e){return e.question&&e.question.hasVisibleErrors})};this.cells.forEach(function(e){e.question&&e.question.registerFunctionOnPropertyValueChanged("hasVisibleErrors",callback)}),callback()},QuestionMatrixDropdownRenderedErrorRow}(rw),r_=function(e){function QuestionMatrixDropdownRenderedTable(t){var o=e.call(this)||this;return o.matrix=t,o._renderedRows=[],o.renderedRowsAnimation=new nc(o.getRenderedRowsAnimationOptions(),function(e){o._renderedRows=e},function(){return o._renderedRows}),o.hasActionCellInRowsValues={},o.build(),o}return rx(QuestionMatrixDropdownRenderedTable,e),QuestionMatrixDropdownRenderedTable.prototype.getIsAnimationAllowed=function(){return e.prototype.getIsAnimationAllowed.call(this)&&this.matrix.animationAllowed},QuestionMatrixDropdownRenderedTable.prototype.getRenderedRowsAnimationOptions=function(){var e=this,onBeforeRunAnimation=function(e){e.querySelectorAll(":scope > td > *").forEach(function(e){prepareElementForVerticalAnimation(e)})},onAfterRunAnimation=function(e){e.querySelectorAll(":scope > td > *").forEach(function(e){cleanHtmlElementAfterAnimation(e)})};return{isAnimationEnabled:function(){return e.animationAllowed},getRerenderEvent:function(){return e.onElementRerendered},getAnimatedElement:function(e){return e.getRootElement()},getLeaveOptions:function(){return{cssClass:e.cssClasses.rowLeave,onBeforeRunAnimation:onBeforeRunAnimation,onAfterRunAnimation:onAfterRunAnimation}},getEnterOptions:function(t,o){return{cssClass:e.cssClasses.rowEnter,onBeforeRunAnimation:onBeforeRunAnimation,onAfterRunAnimation:onAfterRunAnimation}},getKey:function(e){return e.id}}},QuestionMatrixDropdownRenderedTable.prototype.updateRenderedRows=function(){this.renderedRows=this.rows},Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"renderedRows",{get:function(){return this._renderedRows},set:function(e){this.renderedRowsAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showTable",{get:function(){return this.getPropertyValue("showTable",!0)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showHeader",{get:function(){return this.getPropertyValue("showHeader")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showAddRow",{get:function(){return this.getPropertyValue("showAddRow",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showAddRowOnTop",{get:function(){return this.getPropertyValue("showAddRowOnTop",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showAddRowOnBottom",{get:function(){return this.getPropertyValue("showAddRowOnBottom",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showFooter",{get:function(){return this.matrix.hasFooter&&this.matrix.isColumnLayoutHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"hasFooter",{get:function(){return!!this.footerRow},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"hasRemoveRows",{get:function(){return this.hasRemoveRowsValue},enumerable:!1,configurable:!0}),QuestionMatrixDropdownRenderedTable.prototype.isRequireReset=function(){return this.isRequireResetValue||this.hasRemoveRows!=this.matrix.canRemoveRows||!this.matrix.isColumnLayoutHorizontal},QuestionMatrixDropdownRenderedTable.prototype.requireReset=function(){this.isRequireResetValue=!0},Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"headerRow",{get:function(){return this.headerRowValue}
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"footerRow",{get:function(){return this.footerRowValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"isRowsDragAndDrop",{get:function(){return this.matrix.isRowsDragAndDrop&&this.matrix.isColumnLayoutHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showCellErrorsTop",{get:function(){return"top"===this.matrix.getErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showCellErrorsBottom",{get:function(){return"bottom"===this.matrix.getErrorLocation()},enumerable:!1,configurable:!0}),QuestionMatrixDropdownRenderedTable.prototype.build=function(){this.hasRemoveRowsValue=this.matrix.canRemoveRows,this.matrix.visibleRows,this.cssClasses=this.matrix.cssClasses,this.buildRowsActions(),this.buildHeader(),this.buildRows(),this.buildFooter(),this.updateShowTableAndAddRow()},QuestionMatrixDropdownRenderedTable.prototype.updateShowTableAndAddRow=function(){var e=this.rows.length>0||this.matrix.isDesignMode||!this.matrix.getShowColumnsIfEmpty();this.setPropertyValue("showTable",e);var t=this.matrix.canAddRow&&e,o=t,n=t;o&&(o="default"===this.matrix.getAddRowLocation()?!this.matrix.isColumnLayoutHorizontal:"bottom"!==this.matrix.getAddRowLocation()),n&&"topBottom"!==this.matrix.getAddRowLocation()&&(n=!o),this.setPropertyValue("showAddRow",this.matrix.canAddRow),this.setPropertyValue("showAddRowOnTop",o),this.setPropertyValue("showAddRowOnBottom",n)},QuestionMatrixDropdownRenderedTable.prototype.onAddedRow=function(e,t){if(!(this.getRenderedDataRowCount()>=this.matrix.visibleRows.length)){var o=this.getRenderedRowIndexByIndex(t);this.rowsActions.splice(t,0,this.buildRowActions(e)),this.addHorizontalRow(this.rows,e,o),this.updateShowTableAndAddRow()}},QuestionMatrixDropdownRenderedTable.prototype.getRenderedRowIndexByIndex=function(e){for(var t=0,o=0,n=0;n<this.rows.length;n++){if(o===e){(this.rows[n].isErrorsRow||this.rows[n].isDetailRow)&&(t++,n+1<this.rows.length&&this.rows[n+1].isDetailRow&&t++);break}t++,!this.rows[n].isErrorsRow&&!this.rows[n].isDetailRow&&o++}return o<e?this.rows.length:t},QuestionMatrixDropdownRenderedTable.prototype.getRenderedDataRowCount=function(){for(var e=0,t=0;t<this.rows.length;t++)!this.rows[t].isErrorsRow&&!this.rows[t].isDetailRow&&e++;return e},QuestionMatrixDropdownRenderedTable.prototype.onRemovedRow=function(e){var t=this.getRenderedRowIndex(e);if(!(t<0)){this.rowsActions.splice(t,1);var o=1;t<this.rows.length-1&&this.showCellErrorsBottom&&this.rows[t+1].isErrorsRow&&o++,t<this.rows.length-1&&(this.rows[t+1].isDetailRow||this.showCellErrorsBottom&&t+1<this.rows.length-1&&this.rows[t+2].isDetailRow)&&o++,t>0&&this.showCellErrorsTop&&this.rows[t-1].isErrorsRow&&(t--,o++),this.rows.splice(t,o),this.updateShowTableAndAddRow()}},QuestionMatrixDropdownRenderedTable.prototype.onDetailPanelChangeVisibility=function(e,t){var o=this.getRenderedRowIndex(e);if(!(o<0)){var n=o;this.showCellErrorsBottom&&n++;var r=n<this.rows.length-1&&this.rows[n+1].isDetailRow?n+1:-1;if((!t||!(r>-1))&&(t||!(r<0))){if(t){var i=this.createDetailPanelRow(e,this.rows[o]);this.rows.splice(n+1,0,i)}else this.rows.splice(r,1)}}},QuestionMatrixDropdownRenderedTable.prototype.focusActionCell=function(e,t){var o=this.rows[this.rows.length-1];if(this.matrix.isColumnLayoutHorizontal){var n=this.getRenderedRowIndex(e);o=this.rows[n]}null==o||o.focusCell(t)},QuestionMatrixDropdownRenderedTable.prototype.getRenderedRowIndex=function(e){for(var t=0;t<this.rows.length;t++)if(this.rows[t].row==e)return t;return -1},QuestionMatrixDropdownRenderedTable.prototype.buildRowsActions=function(){this.rowsActions=[];for(var e=this.matrix.visibleRows,t=0;t<e.length;t++)this.rowsActions.push(this.buildRowActions(e[t]))},QuestionMatrixDropdownRenderedTable.prototype.createRenderedRow=function(e,t){return void 0===t&&(t=!1),new rw(e,t)},QuestionMatrixDropdownRenderedTable.prototype.createErrorRenderedRow=function(e){return new rP(e)},QuestionMatrixDropdownRenderedTable.prototype.buildHeader=function(){var e=this.matrix.isColumnLayoutHorizontal&&this.matrix.showHeader||this.matrix.hasRowText&&!this.matrix.isColumnLayoutHorizontal;if(this.setPropertyValue("showHeader",e),e){if(this.headerRowValue=this.createRenderedRow(this.cssClasse
5s),this.isRowsDragAndDrop&&this.headerRow.cells.push(this.createHeaderCell(null,"action",this.cssClasses.actionsCellDrag)),this.hasActionCellInRows("start")&&this.headerRow.cells.push(this.createHeaderCell(null,"action")),this.matrix.hasRowText&&this.matrix.showHeader&&this.headerRow.cells.push(this.createHeaderCell(null)),this.matrix.isColumnLayoutHorizontal)for(var t=0;t<this.matrix.columns.length;t++){var o=this.matrix.columns[t];o.isColumnVisible&&(this.matrix.IsMultiplyColumn(o)?this.createMutlipleColumnsHeader(o):this.headerRow.cells.push(this.createHeaderCell(o)))}else{for(var n=this.matrix.visibleRows,t=0;t<n.length;t++){var r=this.createTextCell(n[t].locText);this.setHeaderCellCssClasses(r),r.row=n[t],this.headerRow.cells.push(r)}if(this.matrix.hasFooter){var r=this.createTextCell(this.matrix.getFooterText());this.setHeaderCellCssClasses(r),this.headerRow.cells.push(r)}}this.hasActionCellInRows("end")&&this.headerRow.cells.push(this.createHeaderCell(null,"action"))}},QuestionMatrixDropdownRenderedTable.prototype.buildFooter=function(){if(this.showFooter){if(this.footerRowValue=this.createRenderedRow(this.cssClasses),this.isRowsDragAndDrop&&this.footerRow.cells.push(this.createHeaderCell(null)),this.hasActionCellInRows("start")&&this.footerRow.cells.push(this.createHeaderCell(null,"action")),this.matrix.hasRowText){var e=this.createTextCell(this.matrix.getFooterText());e.className=new oY().append(e.className).append(this.cssClasses.footerTotalCell).toString(),this.footerRow.cells.push(e)}for(var t=this.matrix.visibleTotalRow.cells,o=0;o<t.length;o++){var n=t[o];if(n.column.isColumnVisible){if(this.matrix.IsMultiplyColumn(n.column))this.createMutlipleColumnsFooter(this.footerRow,n);else{var r=this.createEditCell(n);n.column&&this.setCellWidth(n.column,r),r.className=new oY().append(r.className).append(this.cssClasses.footerCell).toString(),this.footerRow.cells.push(r)}}}this.hasActionCellInRows("end")&&this.footerRow.cells.push(this.createHeaderCell(null,"action"))}},QuestionMatrixDropdownRenderedTable.prototype.buildRows=function(){this.blockAnimations();var e=this.matrix.isColumnLayoutHorizontal?this.buildHorizontalRows():this.buildVerticalRows();this.rows=e,this.releaseAnimations()},QuestionMatrixDropdownRenderedTable.prototype.hasActionCellInRows=function(e){return void 0===this.hasActionCellInRowsValues[e]&&(this.hasActionCellInRowsValues[e]=this.hasActionsCellInLocaltion(e)),this.hasActionCellInRowsValues[e]},QuestionMatrixDropdownRenderedTable.prototype.hasActionsCellInLocaltion=function(e){var t=this;return"end"==e&&!!this.hasRemoveRows||this.matrix.visibleRows.some(function(o,n){return!t.isValueEmpty(t.getRowActions(n,e))})},QuestionMatrixDropdownRenderedTable.prototype.canRemoveRow=function(e){return this.matrix.canRemoveRow(e)},QuestionMatrixDropdownRenderedTable.prototype.buildHorizontalRows=function(){for(var e=this.matrix.visibleRows,t=[],o=0;o<e.length;o++)this.addHorizontalRow(t,e[o]);return t},QuestionMatrixDropdownRenderedTable.prototype.addHorizontalRow=function(e,t,o){void 0===o&&(o=-1);var n=this.createHorizontalRow(t),r=this.createErrorRow(n);if(n.row=t,o<0&&(o=e.length),this.matrix.isMobile){for(var i=[],s=0;s<n.cells.length;s++)this.showCellErrorsTop&&!r.cells[s].isEmpty&&i.push(r.cells[s]),i.push(n.cells[s]),this.showCellErrorsBottom&&!r.cells[s].isEmpty&&i.push(r.cells[s]);n.cells=i,e.splice(o,0,n)}else e.splice.apply(e,question_matrixdropdownrendered_spreadArray([o,0],this.showCellErrorsTop?[r,n]:[n,r])),o++;t.isDetailPanelShowing&&e.splice(o+1,0,this.createDetailPanelRow(t,n))},QuestionMatrixDropdownRenderedTable.prototype.getRowDragCell=function(e){var t=new rC,o=this.matrix.lockedRowCount;return t.isDragHandlerCell=o<1||e>=o,t.isEmpty=!t.isDragHandlerCell,t.className=this.getActionsCellClassName(t),t.row=this.matrix.visibleRows[e],t},QuestionMatrixDropdownRenderedTable.prototype.getActionsCellClassName=function(e){var t=this;void 0===e&&(e=null);var o=new oY().append(this.cssClasses.actionsCell).append(this.cssClasses.actionsCellDrag,null==e?void 0:e.isDragHandlerCell).append(this.cssClasse
5s.detailRowCell,null==e?void 0:e.isDetailRowCell).append(this.cssClasses.verticalCell,!this.matrix.isColumnLayoutHorizontal);if(e.isActionsCell){var n=e.item.value.actions;this.cssClasses.actionsCellPrefix&&n.forEach(function(e){o.append(t.cssClasses.actionsCellPrefix+"--"+e.id)})}return o.toString()},QuestionMatrixDropdownRenderedTable.prototype.getRowActionsCell=function(e,t,o){void 0===o&&(o=!1);var n=this.getRowActions(e,t);if(!this.isValueEmpty(n)){var r=new rC,i=this.matrix.allowAdaptiveActions?new nn:new o0;this.matrix.survey&&this.matrix.survey.getCss().actionBar&&(i.cssClasses=this.matrix.survey.getCss().actionBar),i.setItems(n);var s=new n0(i);return r.item=s,r.isActionsCell=!0,r.isDragHandlerCell=!1,r.isDetailRowCell=o,r.className=this.getActionsCellClassName(r),r.row=this.matrix.visibleRows[e],r}return null},QuestionMatrixDropdownRenderedTable.prototype.getRowActions=function(e,t){var o=this.rowsActions[e];return Array.isArray(o)?o.filter(function(e){return e.location||(e.location="start"),e.location===t}):[]},QuestionMatrixDropdownRenderedTable.prototype.buildRowActions=function(e){var t=[];return this.setDefaultRowActions(e,t),this.matrix.survey&&(t=this.matrix.survey.getUpdatedMatrixRowActions(this.matrix,e,t)),t},Object.defineProperty(QuestionMatrixDropdownRenderedTable.prototype,"showRemoveButtonAsIcon",{get:function(){return nC.matrix.renderRemoveAsIcon&&this.matrix.survey&&"sd-root-modern"===this.matrix.survey.css.root},enumerable:!1,configurable:!0}),QuestionMatrixDropdownRenderedTable.prototype.setDefaultRowActions=function(e,t){var o=this,n=this.matrix;this.hasRemoveRows&&this.canRemoveRow(e)&&(this.showRemoveButtonAsIcon?t.push(new ne({id:"remove-row",iconName:"icon-delete-24x24",iconSize:"auto",component:"sv-action-bar-item",innerCss:new oY().append(this.matrix.cssClasses.button).append(this.matrix.cssClasses.buttonRemove).toString(),location:"end",showTitle:!1,title:n.removeRowText,enabled:!n.isInputReadOnly,data:{row:e,question:n},action:function(){n.removeRowUI(e)}})):t.push(new ne({id:"remove-row",location:"end",enabled:!this.matrix.isInputReadOnly,component:"sv-matrix-remove-button",data:{row:e,question:this.matrix}}))),e.hasPanel&&(this.matrix.isMobile?t.unshift(new ne({id:"show-detail-mobile",title:new oU(function(){return e.isDetailPanelShowing?o.matrix.getLocalizationString("hideDetails"):o.matrix.getLocalizationString("showDetail
5s")}),showTitle:!0,location:"end",action:function(t){e.showHideDetailPanelClick()}})):t.push(new ne({id:"show-detail",title:this.matrix.getLocalizationString("editText"),showTitle:!1,location:"start",component:"sv-matrix-detail-button",data:{row:e,question:this.matrix}})))},QuestionMatrixDropdownRenderedTable.prototype.createErrorRow=function(e){for(var t=this.createErrorRenderedRow(this.cssClasses),o=0;o<e.cells.length;o++){var n=e.cells[o];n.hasQuestion?this.matrix.IsMultiplyColumn(n.cell.column)?n.isFirstChoice?t.cells.push(this.createErrorCell(n.cell)):t.cells.push(this.createEmptyCell(!0)):t.cells.push(this.createErrorCell(n.cell)):t.cells.push(this.createEmptyCell(!0))}return t.onAfterCreated(),t},QuestionMatrixDropdownRenderedTable.prototype.createHorizontalRow=function(e){var t=this.createRenderedRow(this.cssClasses);if(this.isRowsDragAndDrop){var o=this.matrix.visibleRows.indexOf(e);t.cells.push(this.getRowDragCell(o))}if(this.addRowActionsCell(e,t,"start"),this.matrix.hasRowText){var n=this.createTextCell(e.locText);n.row=e,t.cells.push(n),this.setCellWidth(null,n),n.className=new oY().append(n.className).append(this.cssClasses.rowTextCell).append(this.cssClasses.columnTitleCell,!this.matrix.isColumnLayoutHorizontal).append(this.cssClasses.detailRowText,e.hasPanel).toString()}for(var r=0;r<e.cells.length;r++){var i=e.cells[r];if(i.column.isColumnVisible){if(this.matrix.IsMultiplyColumn(i.column))this.createMutlipleEditCells(t,i);else{i.column.isShowInMultipleColumns&&i.question.visibleChoices.map(function(e){return e.hideCaption=!1});var n=this.createEditCell(i);t.cells.push(n),this.setCellWidth(i.column,n)}}}return this.addRowActionsCell(e,t,"end"),t},QuestionMatrixDropdownRenderedTable.prototype.addRowActionsCell=function(e,t,o){var n=this.matrix.visibleRows.indexOf(e);if(this.hasActionCellInRows(o)){var r=this.getRowActionsCell(n,o,t.isDetailRow);if(r)t.cells.push(r),t.hasEndActions=!0;else{var i=new rC;i.isEmpty=!0,i.isDetailRowCell=t.isDetailRow,t.cells.push(i)}}},QuestionMatrixDropdownRenderedTable.prototype.createDetailPanelRow=function(e,t){var o=this.matrix.isDesignMode,n=this.createRenderedRow(this.cssClasses,!0);n.row=e;var r=new rC;this.matrix.hasRowText&&(r.colSpans=2),r.isEmpty=!0,o||n.cells.push(r);var i=null;this.hasActionCellInRows("end")&&((i=new rC).isEmpty=!0);var s=new rC;return s.panel=e.detailPanel,s.colSpans=t.cells.length-(o?0:r.colSpans)-(i?i.colSpans:0),s.className=this.cssClasses.detailPanelCell,n.cells.push(s),i&&(this.matrix.isMobile?this.addRowActionsCell(e,n,"end"):n.cells.push(i)),"function"==typeof this.matrix.onCreateDetailPanelRenderedRowCallback&&this.matrix.onCreateDetailPanelRenderedRowCallback(n),n},QuestionMatrixDropdownRenderedTable.prototype.buildVerticalRows=function(){for(var e=this.matrix.columns,t=[],o=0;o<e.length;o++){var n=e[o];if(n.isColumnVisible){if(this.matrix.IsMultiplyColumn(n))this.createMutlipleVerticalRows(t,n,o);else{var r=this.createVerticalRow(n,o),i=this.createErrorRow(r);this.showCellErrorsTop?(t.push(i),t.push(r)):(t.push(r),t.push(i))}}}return this.hasActionCellInRows("end")&&t.push(this.createEndVerticalActionRow()),t},QuestionMatrixDropdownRenderedTable.prototype.createMutlipleVerticalRows=function(e,t,o){var n=this.getMultipleColumnChoices(t);if(n)for(var r=0;r<n.length;r++){var i=this.createVerticalRow(t,o,n[r],r),s=this.createErrorRow(i);this.showCellErrorsTop?(e.push(s),e.push(i)):(e.push(i),e.push(s))}},QuestionMatrixDropdownRenderedTable.prototype.createVerticalRow=function(e,t,o,n){void 0===o&&(o=null),void 0===n&&(n=-1);var r=this.createRenderedRow(this.cssClasses);if(this.matrix.showHeader){var i=o?o.locText:e.locTitle,s=this.createTextCell(i);s.column=e,s.className=new oY().append(s.className).append(this.cssClasses.rowTextCell).append(this.cssClasses.columnTitleCell).toString(),r.cells.push(s)}for(var a=this.matrix.visibleRows,l=0;l<a.length;l++){var u=o,c=n>=0?n:l,p=a[l].cells[t],d=o?p.question.visibleChoices:void 0;d&&c<d.length&&(u=d[c]);var h=this.createEditCell(p,u);h.item=u,h.choiceIndex=c,r.cells.push(h)}return this.matrix.hasTotal&&r.cells.push(this.createEditCell(this.matrix.visibleTotalRow.cells[t])),r},QuestionMatrixDropdownRenderedTable.prototype.createEndVerticalActionRow=function(){var e=this.createRenderedRow(this.cssClasse
vendor: 14,424 bytes, line 5
5s);this.matrix.showHeader&&e.cells.push(this.createEmptyCell());for(var t=this.matrix.visibleRows,o=0;o<t.length;o++)e.cells.push(this.getRowActionsCell(o,"end"));return this.matrix.hasTotal&&e.cells.push(this.createEmptyCell()),e},QuestionMatrixDropdownRenderedTable.prototype.createMutlipleEditCells=function(e,t,o){void 0===o&&(o=!1);var n=o?this.getMultipleColumnChoices(t.column):t.question.visibleChoices;if(n)for(var r=0;r<n.length;r++){var i=this.createEditCell(t,o?void 0:n[r]);o||(this.setItemCellCssClasses(i),i.choiceIndex=r),e.cells.push(i)}},QuestionMatrixDropdownRenderedTable.prototype.setItemCellCssClasses=function(e){e.className=new oY().append(this.cssClasses.cell).append(this.cssClasses.itemCell).append(this.cssClasses.radioCell,e.isRadio).append(this.cssClasses.checkboxCell,e.isCheckbox).toString()},QuestionMatrixDropdownRenderedTable.prototype.createEditCell=function(e,t){void 0===t&&(t=void 0);var o=new rC;return o.cell=e,o.row=e.row,o.column=e.column,o.question=e.question,o.matrix=this.matrix,o.item=t,o.isOtherChoice=!!t&&!!e.question&&e.question.otherItem===t,o.className=o.calculateFinalClassName(this.cssClasses),o},QuestionMatrixDropdownRenderedTable.prototype.createErrorCell=function(e,t){void 0===t&&(t=void 0);var o=new rC;return o.question=e.question,o.row=e.row,o.matrix=this.matrix,o.isErrorsCell=!0,o.className=new oY().append(this.cssClasses.cell).append(this.cssClasses.errorsCell).append(this.cssClasses.errorsCellTop,this.showCellErrorsTop).append(this.cssClasses.errorsCellBottom,this.showCellErrorsBottom).toString(),o},QuestionMatrixDropdownRenderedTable.prototype.createMutlipleColumnsFooter=function(e,t){this.createMutlipleEditCells(e,t,!0)},QuestionMatrixDropdownRenderedTable.prototype.createMutlipleColumnsHeader=function(e){var t=this.getMultipleColumnChoices(e);if(t)for(var o=0;o<t.length;o++){var n=this.createTextCell(t[o].locText);this.setHeaderCell(e,n),this.setHeaderCellCssClasses(n),this.headerRow.cells.push(n)}},QuestionMatrixDropdownRenderedTable.prototype.getMultipleColumnChoices=function(e){var t=e.templateQuestion.choices;return t&&Array.isArray(t)&&0==t.length?[].concat(this.matrix.choices,e.getVisibleMultipleChoices()):(t=e.getVisibleMultipleChoices())&&Array.isArray(t)?t:null},QuestionMatrixDropdownRenderedTable.prototype.setHeaderCellCssClasses=function(e,t,o){e.className=new oY().append(this.cssClasses.headerCell).append(this.cssClasses.columnTitleCell,this.matrix.isColumnLayoutHorizontal).append(this.cssClasses.emptyCell,!!e.isEmpty).append(this.cssClasses.cell+"--"+t,!!t).append(o,!!o).toString()},QuestionMatrixDropdownRenderedTable.prototype.createHeaderCell=function(e,t,o){void 0===t&&(t=null);var n=e?this.createTextCell(e.locTitle):this.createEmptyCell();return n.column=e,this.setHeaderCell(e,n),t||(t=e&&"default"!==e.cellType?e.cellType:this.matrix.cellType),this.setHeaderCellCssClasses(n,t,o),n},QuestionMatrixDropdownRenderedTable.prototype.setHeaderCell=function(e,t){this.setCellWidth(e,t)},QuestionMatrixDropdownRenderedTable.prototype.setCellWidth=function(e,t){t.minWidth=null!=e?this.matrix.getColumnWidth(e):this.matrix.getRowTitleWidth(),t.width=null!=e?e.width:this.matrix.getRowTitleWidth()},QuestionMatrixDropdownRenderedTable.prototype.createTextCell=function(e){var t=new rC;return t.locTitle=e,this.cssClasses.cell&&(t.className=this.cssClasses.cell),t},QuestionMatrixDropdownRenderedTable.prototype.createEmptyCell=function(e){void 0===e&&(e=!1);var t=this.createTextCell(null);return t.isEmpty=!0,t.className=new oY().append(this.cssClasses.cell).append(this.cssClasses.emptyCell).append(this.cssClasses.errorsCell,e).toString(),t},question_matrixdropdownrendered_decorate([propertyArray({onPush:function(e,t,o){o.updateRenderedRows()},onRemove:function(e,t,o){o.updateRenderedRows()}})],QuestionMatrixDropdownRenderedTable.prototype,"rows",void 0),question_matrixdropdownrendered_decorate([propertyArray()],QuestionMatrixDropdownRenderedTable.prototype,"_renderedRows",void 0),QuestionMatrixDropdownRenderedTable}(oW),rS=(V=function(e,t){return(V=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}V(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),rM=function(){function MatrixDropdownCell(e,t,o){this.column=e,this.row=t,this.data=o,this.questionValue=this.createQuestion(e,t,o),this.questionValue.updateCustomWidget(),this.updateCellQuestionTitleDueToAccessebility(t)}return MatrixDropdownCell.prototype.updateCellQuestionTitleDueToAccessebility=function(e){var t=this;this.questionValue.locTitle.onGetTextCallback=function(o){if(!e||!e.getSurvey())return t.questionValue.title;var n=e.getAccessbilityText();return n?t.column.colOwner.getCellAriaLabel(n,t.questionValue.title):t.questionValue.title}},MatrixDropdownCell.prototype.locStrsChanged=function(){this.question.locStrsChanged()},MatrixDropdownCell.prototype.createQuestion=function(e,t,o){var n=this,r=o.createQuestion(this.row,this.column);return r.readOnlyCallback=function(){return!n.row.isRowEnabled()},r.validateValueCallback=function(){return o.validateCell(t,e.name,t.value)},os.getProperties(e.getType()).forEach(function(t){var o=t.name;void 0!==e[o]&&(r[o]=e[o])}),r},Object.defineProperty(MatrixDropdownCell.prototype,"question",{get:function(){return this.questionValue},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownCell.prototype,"value",{get:function(){return this.question.value},set:function(e){this.question.value=e},enumerable:!1,configurable:!0}),MatrixDropdownCell.prototype.getQuestionWrapperClassName=function(e){return e},MatrixDropdownCell.prototype.runCondition=function(e,t){this.question.runCondition(e,t)},MatrixDropdownCell}(),rE=function(e){function MatrixDropdownTotalCell(t,o,n){var r=e.call(this,t,o,n)||this;return r.column=t,r.row=o,r.data=n,r.updateCellQuestion(),r}return rS(MatrixDropdownTotalCell,e),MatrixDropdownTotalCell.prototype.createQuestion=function(e,t,o){var n=ov.createClass("expression");return n.setSurveyImpl(t),n},MatrixDropdownTotalCell.prototype.locStrsChanged=function(){this.updateCellQuestion(),e.prototype.locStrsChanged.call(this)},MatrixDropdownTotalCell.prototype.updateCellQuestion=function(){this.question.locCalculation(),this.column.updateCellQuestion(this.question,null,function(e){delete e.defaultValue}),this.question.expression=this.getTotalExpression(),this.question.format=this.column.totalFormat,this.question.currency=this.column.totalCurrency,this.question.displayStyle=this.column.totalDisplayStyle,this.question.maximumFractionDigits=this.column.totalMaximumFractionDigits,this.question.minimumFractionDigits=this.column.totalMinimumFractionDigits,this.question.unlocCalculation(),this.question.runIfReadOnly=!0},MatrixDropdownTotalCell.prototype.getQuestionWrapperClassName=function(t){var o=e.prototype.getQuestionWrapperClassName.call(this,t);if(!o)return o;this.question.expression&&"''"!=this.question.expression&&(o+=" "+t+"--expression");var n=this.column.totalAlignment;return"auto"===n&&"dropdown"===this.column.cellType&&(n="left"),o+" "+t+"--"+n},MatrixDropdownTotalCell.prototype.getTotalExpression=function(){if(this.column.totalExpression)return this.column.totalExpression;if("none"==this.column.totalType)return"''";var e=this.column.totalType+"InArray";return ow.Instance.hasFunction(e)?e+"({self}, '"+this.column.name+"')":""},MatrixDropdownTotalCell}(rM),rT=function(e){function MatrixDropdownRowTextProcessor(t,o,n){var r=e.call(this,o)||this;return r.row=t,r.variableName=o,r.parentTextProcessor=n,r}return rS(MatrixDropdownRowTextProcessor,e),MatrixDropdownRowTextProcessor.prototype.getParentTextProcessor=function(){return this.parentTextProcessor},Object.defineProperty(MatrixDropdownRowTextProcessor.prototype,"survey",{get:function(){return this.row.getSurvey()},enumerable:!1,configurable:!0}),MatrixDropdownRowTextProcessor.prototype.getValues=function(){return this.row.value},MatrixDropdownRowTextProcessor.prototype.getQuestionByName=function(e){return this.row.getQuestionByName(e)},MatrixDropdownRowTextProcessor.prototype.onCustomProcessText=function(e){return e.name==rV.IndexVariableName?(e.isExists=!0,e.value=this.row.rowIndex,!0):[rV.RowValueVariableName,rV.RowNameVariableName].indexOf(e.name)>-1&&(e.isExists=!0,e.value=this.row.rowName,!0)},MatrixDropdownRowTextProcessor}(ri),rV=function(){function MatrixDropdownRowModelBase(e,t){var o=this;this.isSettingValue=!1,this.detailPanelValue=null,this.visibleValue=!0,this.cells=[],this.isCreatingDetailPanel=!1,this.data=e,this.subscribeToChanges(t),this.textPreProcessor=new rT(this,MatrixDropdownRowModelBase.RowVariableName,e?e.getParentTextProcessor():null),this.showHideDetailPanelClick=function(){if(o.getSurvey().isDesignMode)return!0;o.showHideDetailPanel()},this.idValue=MatrixDropdownRowModelBase.getId()}return MatrixDropdownRowModelBase.getId=function(){return"srow_"+MatrixDropdownRowModelBase.idCounter++},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"rowName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"dataName",{get:function(){return this.rowName},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"text",{get:function(){return this.rowName},enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.isRowEnabled=function(){return!0},MatrixDropdownRowModelBase.prototype.isRowHasEnabledCondition=function(){return!1},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"isVisible",{get:function(){return this.visible&&this.isItemVisible()},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"visible",{get:function(){return this.visibleValue},set:function(e){var t;this.visible!==e&&(this.visibleValue=e,null===(t=this.data)||void 0===t||t.onRowVisibilityChanged(this))},enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.isItemVisible=function(){return!0},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"value",{get:function(){for(var e={},t=this.questions,o=0;o<t.length;o++){var n=t[o];n.isEmpty()||(e[n.getValueName()]=n.value),n.comment&&this.getSurvey()&&this.getSurvey().storeOthersAsComment&&(e[n.getValueName()+oW.commentSuffix]=n.comment)}return e},set:function(e){this.isSettingValue=!0,this.subscribeToChanges(e);for(var t=this.questions,o=0;o<t.length;o++){var n=t[o],r=this.getCellValue(e,n.getValueName()),i=n.comment,s=e?e[n.getValueName()+oW.commentSuffix]:"";void 0==s&&(s=""),n.updateValueFromSurvey(r),(s||this.isTwoValueEquals(i,n.comment))&&n.updateCommentFromSurvey(s),n.onSurveyValueChanged(r)}this.isSettingValue=!1},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"locText",{get:function(){return null},enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.getAccessbilityText=function(){return this.locText&&this.locText.renderedHtml},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"hasPanel",{get:function(){return!!this.data&&this.data.hasDetailPanel(this)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"detailPanel",{get:function(){return this.detailPanelValue},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"detailPanelId",{get:function(){return this.detailPanel?this.detailPanel.id:""},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModelBase.prototype,"isDetailPanelShowing",{get:function(){return!!this.data&&this.data.getIsDetailPanelShowing(this)},enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.setIsDetailPanelShowing=function(e){!e&&this.detailPanel&&this.detailPanel.onHidingContent(),this.data&&this.data.setIsDetailPanelShowing(this,e),this.onDetailPanelShowingChanged&&this.onDetailPanelShowingChanged()},MatrixDropdownRowModelBase.prototype.showHideDetailPanel=function(){this.isDetailPanelShowing?this.hideDetailPanel():this.showDetailPanel()},MatrixDropdownRowModelBase.prototype.showDetailPanel=function(){this.ensureDetailPanel(),this.detailPanelValue&&this.setIsDetailPanelShowing(!0)},MatrixDropdownRowModelBase.prototype.hideDetailPanel=function(e){void 0===e&&(e=!1),this.setIsDetailPanelShowing(!1),e&&(this.detailPanelValue=null)},MatrixDropdownRowModelBase.prototype.ensureDetailPanel=function(){if(!this.isCreatingDetailPanel&&!this.detailPanelValue&&this.hasPanel&&this.data){this.isCreatingDetailPanel=!0,this.detailPanelValue=this.data.createRowDetailPanel(this);var e=this.detailPanelValue.questions,t=this.getDataRowValue();if(!oe.isValueEmpty(t))for(var o=0;o<e.length;o++){var n=e[o].getValueName(),r=this.editingObj?ov.getObjPropertyValue(this.editingObj,n):t[n];oe.isValueEmpty(r)||(e[o].value=r)}this.detailPanelValue.setSurveyImpl(this),this.isCreatingDetailPanel=!1}},MatrixDropdownRowModelBase.prototype.getAllValues=function(){return this.value},MatrixDropdownRowModelBase.prototype.getFilteredValues=function(){var e=this.data?this.data.getDataFilteredValues():{},t=this.validationValues;if(t)for(var o in t)e[o]=t[o];if(e.row=this.getAllValues(),this.data){var n=this.getDataRowValue();if(n)for(var o in n)void 0===e.row[o]&&(e.row[o]=n[o])}return this.applyRowVariablesToValues(e,this.rowIndex),e},MatrixDropdownRowModelBase.prototype.getFilteredProperties=function(){return{survey:this.getSurvey(),row:this}},MatrixDropdownRowModelBase.prototype.getDataRowValue=function(){return this.data?this.data.getRowValue(this.data.getRowIndex(this)):null},MatrixDropdownRowModelBase.prototype.applyRowVariablesToValues=function(e,t){e[MatrixDropdownRowModelBase.IndexVariableName]=t,e[MatrixDropdownRowModelBase.RowValueVariableName]=this.rowName,e[MatrixDropdownRowModelBase.RowNameVariableName]=this.rowName},MatrixDropdownRowModelBase.prototype.runCondition=function(e,t,o){if(this.data){e[MatrixDropdownRowModelBase.OwnerVariableName]=this.data.getFilteredData();var n=this.rowIndex;
5this.applyRowVariablesToValues(e,n);var r=oe.createCopy(t);r[MatrixDropdownRowModelBase.RowVariableName]=this;var i=n>0?this.getDataRowValue():this.value;o?(e[MatrixDropdownRowModelBase.RowVariableName]=i,this.setRowsVisibleIfValues(e),this.visible=new oq(o).run(e,t)):this.visible=!0;for(var s=0;s<this.cells.length;s++)s>0&&mergeValues(this.value,i),e[MatrixDropdownRowModelBase.RowVariableName]=i,this.cells[s].runCondition(e,r);this.detailPanel&&this.detailPanel.runCondition(e,r),this.isRowHasEnabledCondition()&&this.onQuestionReadOnlyChanged()}},MatrixDropdownRowModelBase.prototype.updateElementVisibility=function(){this.cells.forEach(function(e){return e.question.updateElementVisibility()}),this.detailPanel&&this.detailPanel.updateElementVisibility()},MatrixDropdownRowModelBase.prototype.setRowsVisibleIfValues=function(e){},MatrixDropdownRowModelBase.prototype.getNamesWithDefaultValues=function(){var e=[];return this.questions.forEach(function(t){t.isValueDefault&&e.push(t.getValueName())}),e},MatrixDropdownRowModelBase.prototype.clearValue=function(e){for(var t=this.questions,o=0;o<t.length;o++)t[o].clearValue(e)},MatrixDropdownRowModelBase.prototype.onAnyValueChanged=function(e,t){for(var o=this.questions,n=0;n<o.length;n++)o[n].onAnyValueChanged(e,t)},MatrixDropdownRowModelBase.prototype.getDataValueCore=function(e,t){var o=this.getSurvey();return o?o.getDataValueCore(e,t):e[t]},MatrixDropdownRowModelBase.prototype.getValue=function(e){var t=this.getQuestionByName(e);return t?t.value:null},MatrixDropdownRowModelBase.prototype.setValue=function(e,t){this.setValueCore(e,t,!1)},MatrixDropdownRowModelBase.prototype.getVariable=function(e){},MatrixDropdownRowModelBase.prototype.setVariable=function(e,t){},MatrixDropdownRowModelBase.prototype.getComment=function(e){var t=this.getQuestionByName(e);return t?t.comment:""},MatrixDropdownRowModelBase.prototype.setComment=function(e,t,o){this.setValueCore(e,t,!0)},MatrixDropdownRowModelBase.prototype.findQuestionByName=function(e){if(e){var t=MatrixDropdownRowModelBase.RowVariableName+".";if(0===e.indexOf(t))return this.getQuestionByName(e.substring(t.length));var o=this.getSurvey();return o?o.getQuestionByName(e):null}},MatrixDropdownRowModelBase.prototype.getEditingSurveyElement=function(){},MatrixDropdownRowModelBase.prototype.setValueCore=function(e,t,o){if(!this.isSettingValue&&!this.isCreatingDetailPanel){this.updateQuestionsValue(e,t,o),o||this.updateSharedQuestionsValue(e,t);var n=this.value,r=o?e+oW.commentSuffix:e,i=this.getQuestionByName(e),s=this.data.onRowChanging(this,r,n);if(i&&!this.isTwoValueEquals(s,t)&&(this.isSettingValue=!0,o?i.comment=s:i.value=s,this.isSettingValue=!1,n=this.value),!(this.data.isValidateOnValueChanging&&this.hasQuestonError(i))){var a=null==t&&!i||o&&!t&&!!i;this.data.onRowChanged(this,r,n,a),r&&this.runTriggers(rR.RowVariableName+"."+r,n),this.onAnyValueChanged(MatrixDropdownRowModelBase.RowVariableName,"")}}},MatrixDropdownRowModelBase.prototype.updateQuestionsValue=function(e,t,o){if(this.detailPanel){var n=this.getQuestionByColumnName(e),r=this.detailPanel.getQuestionByName(e);if(n&&r){var i=this.isTwoValueEquals(t,o?n.comment:n.value)?r:n;this.isSettingValue=!0,o?i.comment=t:i.value=t,this.isSettingValue=!1}}},MatrixDropdownRowModelBase.prototype.updateSharedQuestionsValue=function(e,t){var o=this.getQuestionsByValueName(e);if(o.length>1)for(var n=0;n<o.length;n++)oe.isTwoValueEquals(o[n].value,t)||(this.isSettingValue=!0,o[n].updateValueFromSurvey(t),this.isSettingValue=!1)},MatrixDropdownRowModelBase.prototype.runTriggers=function(e,t,o){(e||o)&&this.questions.forEach(function(n){return n.runTriggers(e,t,o)})},MatrixDropdownRowModelBase.prototype.hasQuestonError=function(e){if(!e)return!1;if(e.hasErrors(!0,{isOnValueChanged:!this.data.isValidateOnValueChanging}))return!0;if(e.isEmpty())return!1;var t=this.getCellByColumnName(e.name);return!!t&&!!t.column&&!!t.column.isUnique&&this.data.checkIfValueInRowDuplicated(this,e)},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"isEmpty",{get:function(){var e=this.value;if(oe.isValueEmpty(e))return!0;for(var t in e)if(void 0!==e[t]&&null!==e[t])return!1;return!0}
vendor: 5,458 bytes, line 5
5,enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.getQuestionByColumn=function(e){var t=this.getCellByColumn(e);return t?t.question:null},MatrixDropdownRowModelBase.prototype.getCellByColumn=function(e){for(var t=0;t<this.cells.length;t++)if(this.cells[t].column==e)return this.cells[t];return null},MatrixDropdownRowModelBase.prototype.getCellByColumnName=function(e){for(var t=0;t<this.cells.length;t++)if(this.cells[t].column.name==e)return this.cells[t];return null},MatrixDropdownRowModelBase.prototype.getQuestionByColumnName=function(e){var t=this.getCellByColumnName(e);return t?t.question:null},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"questions",{get:function(){for(var e=[],t=0;t<this.cells.length;t++)e.push(this.cells[t].question);for(var o=this.detailPanel?this.detailPanel.questions:[],t=0;t<o.length;t++)e.push(o[t]);return e},enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.getQuestionByName=function(e){return this.getQuestionByColumnName(e)||(this.detailPanel?this.detailPanel.getQuestionByName(e):null)},MatrixDropdownRowModelBase.prototype.getQuestionsByName=function(e){var t=[],o=this.getQuestionByColumnName(e);return o&&t.push(o),this.detailPanel&&(o=this.detailPanel.getQuestionByName(e))&&t.push(o),t},MatrixDropdownRowModelBase.prototype.getQuestionsByValueName=function(e){for(var t=[],o=0;o<this.cells.length;o++){var n=this.cells[o];n.question&&n.question.getValueName()===e&&t.push(n.question)}return this.detailPanel&&(t=t.concat(this.detailPanel.getQuestionsByValueName(e))),t},MatrixDropdownRowModelBase.prototype.getSharedQuestionByName=function(e){return this.data?this.data.getSharedQuestionByName(e,this):null},MatrixDropdownRowModelBase.prototype.clearIncorrectValues=function(e){for(var t in e){var o=this.getQuestionByName(t);if(o){var n=o.value;o.clearIncorrectValues(),this.isTwoValueEquals(n,o.value)||this.setValue(t,o.value)}else!this.getSharedQuestionByName(t)&&0>t.indexOf(nC.matrix.totalsSuffix)&&this.setValue(t,null)}},MatrixDropdownRowModelBase.prototype.getLocale=function(){return this.data?this.data.getLocale():""},MatrixDropdownRowModelBase.prototype.getMarkdownHtml=function(e,t){return this.data?this.data.getMarkdownHtml(e,t):void 0},MatrixDropdownRowModelBase.prototype.getRenderer=function(e){return this.data?this.data.getRenderer(e):null},MatrixDropdownRowModelBase.prototype.getRendererContext=function(e){return this.data?this.data.getRendererContext(e):e},MatrixDropdownRowModelBase.prototype.getProcessedText=function(e){return this.data?this.data.getProcessedText(e):e},MatrixDropdownRowModelBase.prototype.locStrsChanged=function(){for(var e=0;e<this.cells.length;e++)this.cells[e].locStrsChanged();this.detailPanel&&this.detailPanel.locStrsChanged()},MatrixDropdownRowModelBase.prototype.updateCellQuestionOnColumnChanged=function(e,t,o){var n=this.getCellByColumn(e);n&&this.updateCellOnColumnChanged(n,t,o)},MatrixDropdownRowModelBase.prototype.updateCellQuestionOnColumnItemValueChanged=function(e,t,o,n,r,i){var s=this.getCellByColumn(e);s&&this.updateCellOnColumnItemValueChanged(s,t,o,n,r,i)},MatrixDropdownRowModelBase.prototype.onQuestionReadOnlyChanged=function(){for(var e=this.questions,t=0;t<e.length;t++){var o=e[t];o.setPropertyValue("isReadOnly",o.isReadOnly)}if(this.detailPanel){var n=!!this.data&&this.data.isMatrixReadOnly();this.detailPanel.readOnly=n||!this.isRowEnabled()}},MatrixDropdownRowModelBase.prototype.hasErrors=function(e,t,o){var n=!1,r=this.cells;if(!r)return n;this.validationValues=t.validationValues;for(var i=0;i<r.length;i++)if(r[i]){var s=r[i].question;s&&s.visible&&(s.onCompletedAsyncValidators=function(e){o()},t&&!0===t.isOnValueChanged&&s.isEmpty()||(n=s.hasErrors(e,t)||n))}if(this.hasPanel){this.ensureDetailPanel();var a=this.detailPanel.hasErrors(e,!1,t);!t.hideErroredPanel&&a&&e&&(t.isSingleDetailPanel&&(t.hideErroredPanel=!0),this.showDetailPanel()),n=a||n}return this.validationValues=void 0,n},MatrixDropdownRowModelBase.prototype.updateCellOnColumnChanged=function(e,t,o){"choices"===t&&Array.isArray(o)&&0===o.length&&this.data&&(o=this.data.choices),e.question[t]=o},MatrixDropdownRowModelBase.prototype.updateCellOnColumnItemValueChanged=function(e,t,o,n,r,i){var s=e.question[t];if(Array.isArray(s)){var a="value"===n?i:o.value,l=n0.getItemByValue(s,a);l&&(l[n]=r)}},MatrixDropdownRowModelBase.prototype.buildCells=function(e){this.isSettingValue=!0;for(var t=this.data.columns,o=0;o<t.length;o++){var n=t[o],r=this.createCell(n);this.cells.push(r);var i=this.getCellValue(e,n.name);if(!oe.isValueEmpty(i)){r.question.value=i;var s=n.name+oW.commentSuffix;e&&!oe.isValueEmpty(e[s])&&(r.question.comment=e[s])}}this.isSettingValue=!1},MatrixDropdownRowModelBase.prototype.isTwoValueEquals=function(e,t){return oe.isTwoValueEquals(e,t,!1,!0,!1)},MatrixDropdownRowModelBase.prototype.getCellValue=function(e,t){return this.editingObj?ov.getObjPropertyValue(this.editingObj,t):e?e[t]:void 0},MatrixDropdownRowModelBase.prototype.createCell=function(e){return new rM(e,this,this.data)},MatrixDropdownRowModelBase.prototype.getSurveyData=function(){return this},MatrixDropdownRowModelBase.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},MatrixDropdownRowModelBase.prototype.getTextProcessor=function(){return this.textPreProcessor},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"rowIndex",{get:function(){return this.getRowIndex()}
5,enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.getRowIndex=function(){return this.data?this.data.getRowIndex(this)+1:-1},Object.defineProperty(MatrixDropdownRowModelBase.prototype,"editingObj",{get:function(){return this.editingObjValue},enumerable:!1,configurable:!0}),MatrixDropdownRowModelBase.prototype.dispose=function(){this.editingObj&&(this.editingObj.onPropertyChanged.remove(this.onEditingObjPropertyChanged),this.editingObjValue=null)},MatrixDropdownRowModelBase.prototype.subscribeToChanges=function(e){var t=this;e&&e.getType&&e.onPropertyChanged&&e!==this.editingObj&&(this.editingObjValue=e,this.onEditingObjPropertyChanged=function(e,o){t.updateOnSetValue(o.name,o.newValue)},this.editingObj.onPropertyChanged.add(this.onEditingObjPropertyChanged))},MatrixDropdownRowModelBase.prototype.updateOnSetValue=function(e,t){this.isSettingValue=!0;for(var o=this.getQuestionsByName(e),n=0;n<o.length;n++)o[n].value=t;this.isSettingValue=!1},MatrixDropdownRowModelBase.RowVariableName="row",MatrixDropdownRowModelBase.OwnerVariableName="self",MatrixDropdownRowModelBase.IndexVariableName="rowIndex",MatrixDropdownRowModelBase.RowValueVariableName="rowValue",MatrixDropdownRowModelBase.RowNameVariableName="rowName",MatrixDropdownRowModelBase.idCounter=1,MatrixDropdownRowModelBase}(),rR=function(e){function MatrixDropdownTotalRowModel(t){var o=e.call(this,t,null)||this;return o.buildCells(null),o}return rS(MatrixDropdownTotalRowModel,e),MatrixDropdownTotalRowModel.prototype.createCell=function(e){return new rE(e,this,this.data)},MatrixDropdownTotalRowModel.prototype.setValue=function(e,t){this.data&&!this.isSettingValue&&this.data.onTotalValueChanged()},MatrixDropdownTotalRowModel.prototype.runCondition=function(t,o,n){var r,i=0;do r=oe.getUnbindValue(this.value),e.prototype.runCondition.call(this,t,o,""),i++;while(!oe.isTwoValueEquals(r,this.value)&&i<3)},MatrixDropdownTotalRowModel.prototype.updateCellOnColumnChanged=function(e,t,o){e.updateCellQuestion()},MatrixDropdownTotalRowModel}(rV),rk=function(e){function QuestionMatrixDropdownModelBase(t){var o=e.call(this,t)||this;return o.isRowChanging=!1,o.lockResetRenderedTable=!1,o.createItemValues("choices"),o.createLocalizableString("placeholder",o,!1,!0),o.createLocalizableString("keyDuplicationError",o,!1,!0),o.detailPanelValue=o.createNewDetailPanel(),o.detailPanel.selectedElementInDesign=o,o.detailPanel.renderWidth="100%",o.detailPanel.isInteractiveDesignElement=!1,o.detailPanel.showTitle=!1,o.registerPropertyChangedHandlers(["columns","cellType"],function(){o.updateColumnsAndRows()}),o.registerPropertyChangedHandlers(["placeholder","columnColCount","rowTitleWidth","choices"],function(){o.clearRowsAndResetRenderedTable()}),o.registerPropertyChangedHandlers(["transposeData","addRowLocation","hideColumnsIfEmpty","showHeader","minRowCount","isReadOnly","rowCount","hasFooter","detailPanelMode","displayMode"],function(){o.resetRenderedTable()}),o}return rS(QuestionMatrixDropdownModelBase,e),Object.defineProperty(QuestionMatrixDropdownModelBase,"defaultCellType",{get:function(){return nC.matrix.defaultCellType},set:function(e){nC.matrix.defaultCellType=e},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.addDefaultColumns=function(e){for(var t=rh.DefaultColums,o=0;o<t.length;o++)e.addColumn(t[o])},QuestionMatrixDropdownModelBase.prototype.createColumnValues=function(){var e=this;return this.createNewArray("columns",function(t){t.colOwner=e,e.onAddColumn&&e.onAddColumn(t),e.survey&&e.survey.matrixColumnAdded(e,t)},function(t){t.colOwner=null,e.onRemoveColumn&&e.onRemoveColumn(t)})},QuestionMatrixDropdownModelBase.prototype.getType=function(){return"matrixdropdownbase"},QuestionMatrixDropdownModelBase.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearGeneratedRows()},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isRowsDynamic",{get:function(){return!1}
vendor: 12,189 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isUpdateLocked",{get:function(){return this.isLoadingFromJson||this.isUpdating},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.beginUpdate=function(){this.isUpdating=!0},QuestionMatrixDropdownModelBase.prototype.endUpdate=function(){this.isUpdating=!1,this.updateColumnsAndRows()},QuestionMatrixDropdownModelBase.prototype.updateColumnsAndRows=function(){this.updateColumnsIndexes(this.columns),this.updateColumnsCellType(),this.generatedTotalRow=null,this.clearRowsAndResetRenderedTable()},QuestionMatrixDropdownModelBase.prototype.itemValuePropertyChanged=function(t,o,n,r){e.prototype.itemValuePropertyChanged.call(this,t,o,n,r),"choices"===t.ownerPropertyName&&this.clearRowsAndResetRenderedTable()},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"transposeData",{get:function(){return this.getPropertyValue("transposeData")},set:function(e){this.setPropertyValue("transposeData",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"columnLayout",{get:function(){return this.transposeData?"vertical":"horizontal"},set:function(e){this.transposeData="vertical"===e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"columnsLocation",{get:function(){return this.columnLayout},set:function(e){this.columnLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"detailErrorLocation",{get:function(){return this.getPropertyValue("detailErrorLocation")},set:function(e){this.setPropertyValue("detailErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"cellErrorLocation",{get:function(){return this.getPropertyValue("cellErrorLocation")},set:function(e){this.setPropertyValue("cellErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getChildErrorLocation=function(t){var o=t.parent?this.detailErrorLocation:this.cellErrorLocation;return"default"!==o?o:e.prototype.getChildErrorLocation.call(this,t)},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isColumnLayoutHorizontal",{get:function(){return!!this.isMobile||!this.transposeData},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isUniqueCaseSensitive",{get:function(){return void 0!==this.isUniqueCaseSensitiveValue?this.isUniqueCaseSensitiveValue:nC.comparator.caseSensitive},set:function(e){this.isUniqueCaseSensitiveValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"detailPanelMode",{get:function(){return this.getPropertyValue("detailPanelMode")},set:function(e){this.setPropertyValue("detailPanelMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"detailPanel",{get:function(){return this.detailPanelValue},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getPanel=function(){return this.detailPanel},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"detailElements",{get:function(){return this.detailPanel.elements},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.createNewDetailPanel=function(){return ov.createClass("panel")},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"hasRowText",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getFooterText=function(){return null},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"canAddRow",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"canRemoveRows",{get:function(){return!1},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.canRemoveRow=function(e){return!0},QuestionMatrixDropdownModelBase.prototype.onPointerDown=function(e,t){},QuestionMatrixDropdownModelBase.prototype.onRowsChanged=function(){this.clearVisibleRows(),this.resetRenderedTable(),e.prototype.onRowsChanged.call(this)},QuestionMatrixDropdownModelBase.prototype.onStartRowAddingRemoving=function(){this.lockResetRenderedTable=!0,this.setValueChangedDirectly(!0)},QuestionMatrixDropdownModelBase.prototype.onEndRowAdding=function(){if(this.lockResetRenderedTable=!1,this.renderedTable){if(this.renderedTable.isRequireReset())this.resetRenderedTable();else{var e=this.visibleRows.length-1;this.renderedTable.onAddedRow(this.visibleRows[e],e)}}},QuestionMatrixDropdownModelBase.prototype.onEndRowRemoving=function(e){this.lockResetRenderedTable=!1,this.renderedTable.isRequireReset()?this.resetRenderedTable():e&&this.renderedTable.onRemovedRow(e)},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"renderedTableValue",{get:function(){return this.getPropertyValue("renderedTable",null)},set:function(e){this.setPropertyValue("renderedTable",e)},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.clearRowsAndResetRenderedTable=function(){this.clearGeneratedRows(),this.resetRenderedTable(),this.fireCallback(this.columnsChangedCallback)},QuestionMatrixDropdownModelBase.prototype.resetRenderedTable=function(e){this.renderedTableValue&&(this.lockResetRenderedTable||this.isUpdateLocked?e&&this.renderedTableValue.requireReset():(this.renderedTableValue=null,this.fireCallback(this.onRenderedTableResetCallback)))},QuestionMatrixDropdownModelBase.prototype.clearGeneratedRows=function(){if(this.clearVisibleRows(),this.generatedVisibleRows){for(var t=0;t<this.generatedVisibleRows.length;t++)this.generatedVisibleRows[t].dispose();e.prototype.clearGeneratedRows.call(this)}},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isRendredTableCreated",{get:function(){return!!this.renderedTableValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"renderedTable",{get:function(){return this.renderedTableValue||this.isDisposed||(this.renderedTableValue=this.createRenderedTable(),this.onRenderedTableCreatedCallback&&this.onRenderedTableCreatedCallback(this.renderedTableValue)),this.renderedTableValue},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.createRenderedTable=function(){return new r_(this)},QuestionMatrixDropdownModelBase.prototype.onMatrixRowCreated=function(e){if(this.survey)for(var t={rowValue:e.value,row:e,column:null,columnName:null,cell:null,cellQuestion:null,value:null},o=0;o<this.columns.length;o++){t.column=this.columns[o],t.columnName=t.column.name;var n=e.cells[o];t.cell=n,t.cellQuestion=n.question,t.value=n.value,this.onCellCreatedCallback&&this.onCellCreatedCallback(t),this.survey.matrixCellCreated(this,t)}},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"cellType",{get:function(){return this.getPropertyValue("cellType",nC.matrix.defaultCellType)},set:function(e){e=e.toLowerCase(),this.setPropertyValue("cellType",e)},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.isSelectCellType=function(){return ov.isDescendantOf(this.cellType,"selectbase")},QuestionMatrixDropdownModelBase.prototype.updateColumnsCellType=function(){for(var e=0;e<this.columns.length;e++)this.columns[e].defaultCellTypeChanged()},QuestionMatrixDropdownModelBase.prototype.updateColumnsIndexes=function(e){for(var t=0;t<e.length;t++)e[t].setIndex(t)},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"columnColCount",{get:function(){return this.getPropertyValue("columnColCount")},set:function(e){e<0||e>4||this.setPropertyValue("columnColCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"horizontalScroll",{get:function(){return this.getPropertyValue("horizontalScroll")},set:function(e){this.setPropertyValue("horizontalScroll",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"allowAdaptiveActions",{get:function(){return this.getPropertyValue("allowAdaptiveActions")},set:function(e){this.setPropertyValue("allowAdaptiveActions",e),this.detailPanel&&(this.detailPanel.allowAdaptiveActions=e)},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getRequiredText=function(){return this.survey?this.survey.requiredText:""},QuestionMatrixDropdownModelBase.prototype.hasChoices=function(){return this.choices.length>0},QuestionMatrixDropdownModelBase.prototype.onColumnPropertyChanged=function(e,t,o){if(this.updateHasFooter(),this.generatedVisibleRows){for(var n=0;n<this.generatedVisibleRows.length;n++)this.generatedVisibleRows[n].updateCellQuestionOnColumnChanged(e,t,o);this.generatedTotalRow&&this.generatedTotalRow.updateCellQuestionOnColumnChanged(e,t,o),this.onColumnsChanged(),"isRequired"==t&&this.resetRenderedTable()}},QuestionMatrixDropdownModelBase.prototype.onColumnItemValuePropertyChanged=function(e,t,o,n,r,i){if(this.generatedVisibleRows)for(var s=0;s<this.generatedVisibleRows.length;s++)this.generatedVisibleRows[s].updateCellQuestionOnColumnItemValueChanged(e,t,o,n,r,i)},QuestionMatrixDropdownModelBase.prototype.onShowInMultipleColumnsChanged=function(e){this.resetTableAndRows()},QuestionMatrixDropdownModelBase.prototype.onColumnVisibilityChanged=function(e){this.resetTableAndRows()},QuestionMatrixDropdownModelBase.prototype.onColumnCellTypeChanged=function(e){this.updateDefaultRowValue(e),this.resetTableAndRows()},QuestionMatrixDropdownModelBase.prototype.updateDefaultRowValue=function(e){var t=this.defaultRowValue;t&&"file"===e.cellType&&t[e.name]&&(delete t[e.name],0===Object.keys(t).length&&(t=void 0),this.defaultRowValue=t)},QuestionMatrixDropdownModelBase.prototype.resetTableAndRows=function(){this.clearGeneratedRows(),this.resetRenderedTable()},QuestionMatrixDropdownModelBase.prototype.getRowTitleWidth=function(){return""},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"hasFooter",{get:function(){return this.getPropertyValue("hasFooter",!1)},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getAddRowLocation=function(){return"default"},QuestionMatrixDropdownModelBase.prototype.getShowColumnsIfEmpty=function(){return!1},QuestionMatrixDropdownModelBase.prototype.updateShowTableAndAddRow=function(){this.renderedTable&&this.renderedTable.updateShowTableAndAddRow()},QuestionMatrixDropdownModelBase.prototype.updateHasFooter=function(){this.setPropertyValue("hasFooter",this.hasTotal)},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"hasTotal",{get:function(){for(var e=0;e<this.columns.length;e++)if(this.columns[e].hasTotal)return!0;return!1},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getCellType=function(){return this.cellType},QuestionMatrixDropdownModelBase.prototype.getCustomCellType=function(e,t,o){if(!this.survey)return o;var n={rowValue:t.value,row:t,column:e,columnName:e.name,cellType:o};return this.survey.matrixCellCreating(this,n),n.cellType},QuestionMatrixDropdownModelBase.prototype.getConditionJson=function(t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),!o)return e.prototype.getConditionJson.call(this,t);for(var n="",r=o.length-1;r>=0&&"."!=o[r];r--)n=o[r]+n;var i=void 0,s=this.getColumnByName(n);return s?i=s.createCellQuestion(null):"none"!==this.detailPanelMode&&(i=this.detailPanel.getQuestionByName(n)),i?i.getConditionJson(t):null},QuestionMatrixDropdownModelBase.prototype.clearIncorrectValues=function(){if(Array.isArray(this.visibleRows))for(var e=this.generatedVisibleRows,t=0;t<e.length;t++)e[t].clearIncorrectValues(this.getRowValue(t))},QuestionMatrixDropdownModelBase.prototype.clearErrors=function(){e.prototype.clearErrors.call(this),this.runFuncForCellQuestions(function(e){e.clearErrors()})},QuestionMatrixDropdownModelBase.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.runFuncForCellQuestions(function(e){e.localeChanged()})},QuestionMatrixDropdownModelBase.prototype.runFuncForCellQuestions=function(e){var t=this.generatedVisibleRows;
5if(t)for(var o=0;o<t.length;o++){var n=t[o];if(n.isVisible)for(var r=0;r<n.cells.length;r++)e(n.cells[r].question)}},QuestionMatrixDropdownModelBase.prototype.runCondition=function(t,o){var n,r=t[rV.RowVariableName];e.prototype.runCondition.call(this,t,o);var i=0;do n=oe.getUnbindValue(this.totalValue),this.runCellsCondition(t,o),this.runTotalsCondition(t,o),i++;while(!oe.isTwoValueEquals(n,this.totalValue)&&i<3);this.updateVisibilityBasedOnRows(),t[rV.RowVariableName]=r},QuestionMatrixDropdownModelBase.prototype.runTriggers=function(t,o,n){e.prototype.runTriggers.call(this,t,o,n),this.runFuncForCellQuestions(function(e){e.runTriggers(t,o,n)})},QuestionMatrixDropdownModelBase.prototype.updateElementVisibility=function(){e.prototype.updateElementVisibility.call(this);var t=this.generatedVisibleRows;t&&t.forEach(function(e){return e.updateElementVisibility()}),this.updateShowTableAndAddRow()},QuestionMatrixDropdownModelBase.prototype.shouldRunColumnExpression=function(){return!1},QuestionMatrixDropdownModelBase.prototype.runCellsCondition=function(e,t){var o=this.generatedVisibleRows;
5if(o)for(var n=this.getRowConditionValues(e),r=0;r<o.length;r++)o[r].runCondition(n,t,this.rowsVisibleIf);this.checkColumnsVisibility(),this.checkColumnsRenderedRequired()},QuestionMatrixDropdownModelBase.prototype.runConditionsForColumns=function(e,t){var o=this;return this.columns.forEach(function(n){if(o.columnsVisibleIf){var r=new oq(o.columnsVisibleIf);e.item=n.name,n.isColumnsVisibleIf=!0===r.run(e,t)}else n.isColumnsVisibleIf=!0}),!1},QuestionMatrixDropdownModelBase.prototype.checkColumnsVisibility=function(){if(!this.isDesignMode){for(var e=!1,t=0;t<this.columns.length;t++){var o=this.columns[t],n=!!o.visibleIf||o.isFilteredMultipleColumns;(n||this.columnsVisibleIf||!o.isColumnVisible)&&(e=this.isColumnVisibilityChanged(o,n)||e)}e&&this.resetRenderedTable(!0)}},QuestionMatrixDropdownModelBase.prototype.checkColumnsRenderedRequired=function(){var e=this.generatedVisibleRows;if(e)for(var t=0;t<this.columns.length;t++){var o=this.columns[t];if(o.requiredIf&&o.isColumnVisible){for(var n=e.length>0,r=0;r<e.length;r++)if(!e[r].cells[t].question.isRequired){n=!1;break}o.updateIsRenderedRequired(n)}}},QuestionMatrixDropdownModelBase.prototype.isColumnVisibilityChanged=function(e,t){var o=e.isColumnVisible,n=!t,r=this.generatedVisibleRows,i=t&&r,s=i&&e.isFilteredMultipleColumns,a=s?e.getVisibleChoicesInCell:[],l=[];if(i)for(var u=0;u<r.length;u++){var c=r[u].cells[e.index],p=null==c?void 0:c.question;if(p&&p.isVisible){if(n=!0,s)this.updateNewVisibleChoices(p,l);else break}}return e.hasVisibleCell=n&&e.isColumnsVisibleIf,!!s&&(e.setVisibleChoicesInCell(l),!oe.isArraysEqual(a,l,!0,!1,!1))||o!==e.isColumnVisible},QuestionMatrixDropdownModelBase.prototype.updateNewVisibleChoices=function(e,t){var o=e.visibleChoices;if(Array.isArray(o))for(var n=0;n<o.length;n++){var r=o[n];0>t.indexOf(r.value)&&t.push(r.value)}},QuestionMatrixDropdownModelBase.prototype.runTotalsCondition=function(e,t){this.generatedTotalRow&&this.generatedTotalRow.runCondition(this.getRowConditionValues(e),t)},QuestionMatrixDropdownModelBase.prototype.getRowConditionValues=function(e){var t=e;t||(t={});var o={};return this.isValueEmpty(this.totalValue)||(o=JSON.parse(JSON.stringify(this.totalValue))),t.row={},t.totalRow=o,t},QuestionMatrixDropdownModelBase.prototype.IsMultiplyColumn=function(e){return e.isShowInMultipleColumns&&!this.isMobile},QuestionMatrixDropdownModelBase.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=this.columns,o=0;o<t.length;o++)t[o].locStrsChanged();var n=this.generatedVisibleRows;
vendor: 11,300 bytes, line 5
5if(n){for(var o=0;o<n.length;o++)n[o].locStrsChanged();this.generatedTotalRow&&this.generatedTotalRow.locStrsChanged()}},QuestionMatrixDropdownModelBase.prototype.getColumnByName=function(e){for(var t=0;t<this.columns.length;t++)if(this.columns[t].name==e)return this.columns[t];return null},QuestionMatrixDropdownModelBase.prototype.getColumnName=function(e){return this.getColumnByName(e)},QuestionMatrixDropdownModelBase.prototype.getColumnWidth=function(e){var t;return e.minWidth?e.minWidth:this.columnMinWidth?this.columnMinWidth:(null===(t=nC.matrix.columnWidthsByType[e.cellType])||void 0===t?void 0:t.minWidth)||""},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"choices",{get:function(){return this.getPropertyValue("choices")},set:function(e){this.setPropertyValue("choices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("placeholder")},set:function(e){this.setLocalizableStringText("placeholder",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("placeholder")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"optionsCaption",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"keyDuplicationError",{get:function(){return this.getLocalizableStringText("keyDuplicationError")},set:function(e){this.setLocalizableStringText("keyDuplicationError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"locKeyDuplicationError",{get:function(){return this.getLocalizableString("keyDuplicationError")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"storeOthersAsComment",{get:function(){return!!this.survey&&this.survey.storeOthersAsComment},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.addColumn=function(e,t){var o=new rb(e,t,this);return this.columns.push(o),o},QuestionMatrixDropdownModelBase.prototype.clearVisibleRows=function(){this.visibleRowsArray=null},QuestionMatrixDropdownModelBase.prototype.isColumnVisible=function(e){return e.isColumnVisible},QuestionMatrixDropdownModelBase.prototype.getVisibleRows=function(){return this.isUpdateLocked?null:this.isGenereatingRows?[]:(this.visibleRowsArray||(this.generateVisibleRowsIfNeeded(),this.visibleRowsArray=this.getVisibleFromGenerated(this.generatedVisibleRows)),this.visibleRowsArray)},QuestionMatrixDropdownModelBase.prototype.generateVisibleRowsIfNeeded=function(){var e=this;this.isUpdateLocked||this.generatedVisibleRows||this.generatedVisibleRows||(this.isGenereatingRows=!0,this.generatedVisibleRows=this.generateRows(),this.isGenereatingRows=!1,this.generatedVisibleRows.forEach(function(t){return e.onMatrixRowCreated(t)}),this.data&&(this.runCellsCondition(this.data.getFilteredValues(),this.data.getFilteredProperties()),this.isValueChangedWithoutRows&&(this.isValueChangedWithoutRows=!1,this.runTriggersOnNewRows())),this.generatedVisibleRows&&(this.updateValueOnRowsGeneration(this.generatedVisibleRows),this.updateIsAnswered()))},QuestionMatrixDropdownModelBase.prototype.runTriggersOnNewRows=function(){var e=this,t=this.value;this.generatedVisibleRows.forEach(function(o){var n=e.getRowValueCore(o,t);if(!oe.isValueEmpty(n)){var r=oe.createCopyWithPrefix(n,rV.RowVariableName+".");o.runTriggers("",void 0,r)}})},QuestionMatrixDropdownModelBase.prototype.getVisibleFromGenerated=function(e){var t=[];return e?(e.forEach(function(e){e.isVisible&&t.push(e)}),t.length===e.length?e:t):t},QuestionMatrixDropdownModelBase.prototype.updateValueOnRowsGeneration=function(e){for(var t=this.createNewValue(!0),o=this.createNewValue(),n=0;n<e.length;n++){var r=e[n];if(!r.editingObj){var i=this.getRowValue(n),s=r.value;this.isTwoValueEquals(i,s)||(o=this.getNewValueOnRowChanged(r,"",s,!1,o).value)}}this.isTwoValueEquals(t,o)||(this.isRowChanging=!0,this.setNewValue(o),this.isRowChanging=!1)},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"totalValue",{get:function(){return this.hasTotal&&this.visibleTotalRow?this.visibleTotalRow.value:{}},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getVisibleTotalRow=function(){if(this.isUpdateLocked)return null;if(this.hasTotal){if(!this.generatedTotalRow&&(this.generatedTotalRow=this.generateTotalRow(),this.data)){var e={survey:this.survey};this.runTotalsCondition(this.data.getAllValues(),e)}}else this.generatedTotalRow=null;return this.generatedTotalRow},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"visibleTotalRow",{get:function(){return this.getVisibleTotalRow()},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.updateColumnsIndexes(this.columns),this.clearGeneratedRows(),this.generatedTotalRow=null,this.updateHasFooter()},QuestionMatrixDropdownModelBase.prototype.getRowValue=function(e){if(e<0||!Array.isArray(this.visibleRows))return null;var t=this.generatedVisibleRows;if(e>=t.length)return null;var o=this.value,n=this.getRowValueCore(t[e],o);return this.isValueSurveyElement(o)?n:oe.getUnbindValue(n)},QuestionMatrixDropdownModelBase.prototype.checkIfValueInRowDuplicated=function(e,t){return!!this.generatedVisibleRows&&this.isValueInColumnDuplicated(t.name,!0,e)},QuestionMatrixDropdownModelBase.prototype.setRowValue=function(e,t){if(e<0)return null;var o=this.visibleRows;if(e>=o.length)return null;o[e].value=t,this.onRowChanged(o[e],"",t,!1)},QuestionMatrixDropdownModelBase.prototype.generateRows=function(){return null},QuestionMatrixDropdownModelBase.prototype.generateTotalRow=function(){return new rR(this)},QuestionMatrixDropdownModelBase.prototype.createNewValue=function(e){void 0===e&&(e=!1);var t=this.value?this.createValueCopy():{};return e&&this.isMatrixValueEmpty(t)?null:t},QuestionMatrixDropdownModelBase.prototype.getRowValueCore=function(e,t,o){void 0===o&&(o=!1);var n=t&&t[e.rowName]?t[e.rowName]:null;return!n&&o&&(n={},t&&(t[e.rowName]=n)),n},QuestionMatrixDropdownModelBase.prototype.getRowObj=function(e){var t=this.getRowValueCore(e,this.value);return t&&t.getType?t:null},QuestionMatrixDropdownModelBase.prototype.getRowDisplayValue=function(e,t,o){if(!o||t.editingObj)return o;for(var n=Object.keys(o),r=0;r<n.length;r++){var i=n[r],s=t.getQuestionByName(i);if(s||(s=this.getSharedQuestionByName(i,t)),s){var a=s.getDisplayValue(e,o[i]);e&&s.title&&s.title!==i?(o[s.title]=a,delete o[i]):o[i]=a}}return o},QuestionMatrixDropdownModelBase.prototype.getPlainData=function(t){var o=this;void 0===t&&(t={includeEmpty:!0});var n=e.prototype.getPlainData.call(this,t);if(n){n.isNode=!0;var r=Array.isArray(n.data)?[].concat(n.data):[];n.data=this.visibleRows.map(function(e){var n={name:e.dataName,title:e.text,value:e.value,displayValue:o.getRowDisplayValue(!1,e,e.value),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!0,data:e.cells.map(function(e){return e.question.getPlainData(t)}).filter(function(e){return!!e})};return(t.calculations||[]).forEach(function(t){n[t.propertyName]=e[t.propertyName]}),n}),n.data=n.data.concat(r)}return n},QuestionMatrixDropdownModelBase.prototype.addConditionObjectsByContext=function(e,t){var o=[].concat(this.columns);"none"!==this.detailPanelMode&&(o=o.concat(this.detailPanel.questions));var n=!!t&&o.indexOf(t)>-1,r=!0===t||n,i=this.getConditionObjectsRowIndeces();r&&i.push(-1);for(var s=0;s<i.length;s++){var a=i[s],l=a>-1?this.getConditionObjectRowName(a):"row";if(l)for(var u=a>-1?this.getConditionObjectRowText(a):"row",c=a>-1||!0===t,p=c&&-1===a?".":"",d=(c?this.getValueName():"")+p+l+".",h=(c?this.processedTitle:"")+p+u+".",m=0;m<o.length;m++){var g=o[m];if(-1!==a||t!==g){var f={name:d+g.name,text:h+g.fullTitle,question:this};-1===a&&!0===t?f.context=this:n&&d.startsWith("row.")&&(f.context=t),e.push(f)}}}},QuestionMatrixDropdownModelBase.prototype.onHidingContent=function(){if(e.prototype.onHidingContent.call(this),this.generatedVisibleRows){var t=[];this.collectNestedQuestions(t,!0),t.forEach(function(e){return e.onHidingContent()})}},QuestionMatrixDropdownModelBase.prototype.getIsReadyNestedQuestions=function(){if(!this.generatedVisibleRows)return[];var e=[];return this.collectNestedQuestonsInRows(this.generatedVisibleRows,e,!1,!1),this.generatedTotalRow&&this.collectNestedQuestonsInRows([this.generatedTotalRow],e,!1,!1),e},QuestionMatrixDropdownModelBase.prototype.collectNestedQuestionsCore=function(e,t,o){o&&e.push(this),this.collectNestedQuestonsInRows(this.visibleRows,e,t,o)},QuestionMatrixDropdownModelBase.prototype.collectNestedQuestonsInRows=function(e,t,o,n){Array.isArray(e)&&e.forEach(function(e){e.questions.forEach(function(e){return e.collectNestedQuestions(t,o,n)})})},QuestionMatrixDropdownModelBase.prototype.getConditionObjectRowName=function(e){return""},QuestionMatrixDropdownModelBase.prototype.getConditionObjectRowText=function(e){return this.getConditionObjectRowName(e)},QuestionMatrixDropdownModelBase.prototype.getConditionObjectsRowIndeces=function(){return[]},QuestionMatrixDropdownModelBase.prototype.getProgressInfo=function(){if(this.getIsRequireToGenerateRows()&&this.generateVisibleRowsIfNeeded(),this.generatedVisibleRows)return nm.getProgressInfoByElements(this.getCellQuestions(),this.isRequired);var e=oW.createProgressInfo();return this.updateProgressInfoByValues(e),0===e.requiredQuestionCount&&this.isRequired&&(e.requiredQuestionCount=1,e.requiredAnsweredQuestionCount=this.isEmpty()?0:1),e},QuestionMatrixDropdownModelBase.prototype.getIsRequireToGenerateRows=function(){return!!this.rowsVisibleIf},QuestionMatrixDropdownModelBase.prototype.updateProgressInfoByValues=function(e){},QuestionMatrixDropdownModelBase.prototype.updateProgressInfoByRow=function(e,t){for(var o=0;o<this.columns.length;o++){var n=this.columns[o];if(n.templateQuestion.hasInput){var r=!oe.isValueEmpty(t[n.name]);(r||!n.templateQuestion.visibleIf)&&(e.questionCount+=1,e.requiredQuestionCount+=n.isRequired,e.answeredQuestionCount+=r?1:0,e.requiredAnsweredQuestionCount+=r&&n.isRequired?1:0)}}},QuestionMatrixDropdownModelBase.prototype.getCellQuestions=function(){var e=[];return this.runFuncForCellQuestions(function(t){e.push(t)}),e},QuestionMatrixDropdownModelBase.prototype.onBeforeValueChanged=function(e){},QuestionMatrixDropdownModelBase.prototype.onSetQuestionValue=function(){if(!this.isRowChanging&&(this.onBeforeValueChanged(this.value),this.generatedVisibleRows&&0!=this.generatedVisibleRows.length)){this.isRowChanging=!0;for(var e=this.createNewValue(),t=0;t<this.generatedVisibleRows.length;t++){var o=this.generatedVisibleRows[t];this.generatedVisibleRows[t].value=this.getRowValueCore(o,e)}this.isRowChanging=!1}},QuestionMatrixDropdownModelBase.prototype.setQuestionValue=function(t){e.prototype.setQuestionValue.call(this,t,!1),this.onSetQuestionValue(),this.updateIsAnswered()},QuestionMatrixDropdownModelBase.prototype.supportGoNextPageAutomatic=function(){var e=this.generatedVisibleRows;
5if(e||(e=this.visibleRows),!e)return!0;for(var t=0;t<e.length;t++){var o=this.generatedVisibleRows[t].cells;if(o)for(var n=0;n<o.length;n++){var r=o[n].question;if(r&&(!r.supportGoNextPageAutomatic()||!r.value))return!1}}return!0},QuestionMatrixDropdownModelBase.prototype.getContainsErrors=function(){return e.prototype.getContainsErrors.call(this)||this.checkForAnswersOrErrors(function(e){return e.containsErrors},!1)},QuestionMatrixDropdownModelBase.prototype.getIsAnswered=function(){return e.prototype.getIsAnswered.call(this)&&this.checkForAnswersOrErrors(function(e){return e.isAnswered},!0)},QuestionMatrixDropdownModelBase.prototype.checkForAnswersOrErrors=function(e,t){void 0===t&&(t=!1);var o=this.generatedVisibleRows;if(!o)return!1;for(var n=0;n<o.length;n++){var r=o[n].cells;if(r){for(var i=0;i<r.length;i++)if(r[i]){var s=r[i].question;if(s&&s.isVisible){if(e(s)){if(!t)return!0}else if(t)return!1}}}}return!!t},QuestionMatrixDropdownModelBase.prototype.hasErrors=function(t,o){void 0===t&&(t=!0),void 0===o&&(o=null);var n=this.hasErrorInRows(t,o),r=this.isValueDuplicated();return e.prototype.hasErrors.call(this,t,o)||n||r},QuestionMatrixDropdownModelBase.prototype.getIsRunningValidators=function(){if(e.prototype.getIsRunningValidators.call(this))return!0;if(!this.generatedVisibleRows)return!1;for(var t=0;t<this.generatedVisibleRows.length;t++){var o=this.generatedVisibleRows[t].cells;if(o){for(var n=0;n<o.length;n++)if(o[n]){var r=o[n].question;if(r&&r.isRunningValidators)return!0}}}return!1},QuestionMatrixDropdownModelBase.prototype.getAllErrors=function(){var t=e.prototype.getAllErrors.call(this),o=this.generatedVisibleRows;
5if(null===o)return t;for(var n=0;n<o.length;n++)for(var r=o[n],i=0;i<r.cells.length;i++){var s=r.cells[i].question.getAllErrors();s&&s.length>0&&(t=t.concat(s))}return t},QuestionMatrixDropdownModelBase.prototype.hasErrorInRows=function(e,t){var o=this,n=this.generatedVisibleRows;this.generatedVisibleRows||(n=this.visibleRows);var r=!1;if(t||(t={}),!n)return t;t.validationValues=this.getDataFilteredValues(),t.isSingleDetailPanel="underRowSingle"===this.detailPanelMode;for(var i=0;i<n.length;i++)n[i].isVisible&&(r=n[i].hasErrors(e,t,function(){o.raiseOnCompletedAsyncValidators()})||r);return r},QuestionMatrixDropdownModelBase.prototype.isValueDuplicated=function(){if(!this.generatedVisibleRows)return!1;for(var e=this.getUniqueColumnsNames(),t=!1,o=0;o<e.length;o++)t=this.isValueInColumnDuplicated(e[o],!0)||t;return t},QuestionMatrixDropdownModelBase.prototype.getUniqueColumnsNames=function(){for(var e=[],t=0;t<this.columns.length;t++)this.columns[t].isUnique&&e.push(this.columns[t].name);return e},QuestionMatrixDropdownModelBase.prototype.isValueInColumnDuplicated=function(e,t,o){var n=this.getDuplicatedRows(e);return t&&this.showDuplicatedErrorsInRows(n,e),this.removeDuplicatedErrorsInRows(n,e),o?n.indexOf(o)>-1:n.length>0},QuestionMatrixDropdownModelBase.prototype.getDuplicatedRows=function(e){for(var t={},o=[],n=this.generatedVisibleRows,r=0;r<n.length;r++){var i=void 0,s=n[r].getQuestionByName(e);if(s)i=s.value;else{var a=this.getRowValue(r);i=a?a[e]:void 0}this.isValueEmpty(i)||(this.isUniqueCaseSensitive||"string"!=typeof i||(i=i.toLocaleLowerCase()),t[i]||(t[i]=[]),t[i].push(n[r]))}for(var l in t)t[l].length>1&&t[l].forEach(function(e){return o.push(e)});return o},QuestionMatrixDropdownModelBase.prototype.showDuplicatedErrorsInRows=function(e,t){var o=this;e.forEach(function(e){var n=e.getQuestionByName(t),r=o.detailPanel.getQuestionByName(t);!n&&r&&(e.showDetailPanel(),e.detailPanel&&(n=e.detailPanel.getQuestionByName(t))),n&&(r&&e.showDetailPanel(),o.addDuplicationError(n))})},QuestionMatrixDropdownModelBase.prototype.removeDuplicatedErrorsInRows=function(e,t){var o=this;this.generatedVisibleRows.forEach(function(n){if(0>e.indexOf(n)){var r=n.getQuestionByName(t);r&&o.removeDuplicationError(n,r)}})},QuestionMatrixDropdownModelBase.prototype.getDuplicationError=function(e){for(var t=e.errors,o=0;o<t.length;o++)if("keyduplicationerror"===t[o].getErrorType())return t[o];return null},QuestionMatrixDropdownModelBase.prototype.addDuplicationError=function(e){this.getDuplicationError(e)||e.addError(new nj(this.keyDuplicationError,this))},QuestionMatrixDropdownModelBase.prototype.removeDuplicationError=function(e,t){t.removeError(this.getDuplicationError(t))&&0===t.errors.length&&e.editingObj&&(e.editingObj[t.getValueName()]=t.value)},QuestionMatrixDropdownModelBase.prototype.getFirstQuestionToFocus=function(e){return this.getFirstCellQuestion(e)},QuestionMatrixDropdownModelBase.prototype.getFirstInputElementId=function(){var t=this.getFirstCellQuestion(!1);return t?t.inputId:e.prototype.getFirstInputElementId.call(this)},QuestionMatrixDropdownModelBase.prototype.getFirstErrorInputElementId=function(){var t=this.getFirstCellQuestion(!0);return t?t.inputId:e.prototype.getFirstErrorInputElementId.call(this)},QuestionMatrixDropdownModelBase.prototype.getFirstCellQuestion=function(e){if(!this.generatedVisibleRows)return null;for(var t=0;t<this.generatedVisibleRows.length;t++)for(var o=this.generatedVisibleRows[t].cells,n=0;n<o.length;n++)if(!e||o[n].question.currentErrorCount>0)return o[n].question;return null},QuestionMatrixDropdownModelBase.prototype.onReadOnlyChanged=function(){if(e.prototype.onReadOnlyChanged.call(this),this.generateRows)for(var t=0;t<this.visibleRows.length;t++)this.visibleRows[t].onQuestionReadOnlyChanged()},QuestionMatrixDropdownModelBase.prototype.createQuestion=function(e,t){return this.createQuestionCore(e,t)},QuestionMatrixDropdownModelBase.prototype.createQuestionCore=function(e,t){var o=t.createCellQuestion(e);return o.setSurveyImpl(e),o.setParentQuestion(this),o.inMatrixMode=!0,o},QuestionMatrixDropdownModelBase.prototype.deleteRowValue=function(e,t){return e?(delete e[t.rowName],this.isObject(e)&&0==Object.keys(e).length?null:e):e},QuestionMatrixDropdownModelBase.prototype.onAnyValueChanged=function(e,t){if(!this.isUpdateLocked&&!this.isDoingonAnyValueChanged){if(!this.generatedVisibleRows){e===this.getValueName()&&(this.isValueChangedWithoutRows=!0);return}this.isDoingonAnyValueChanged=!0;for(var o=this.generatedVisibleRows,n=0;n<o.length;n++)o[n].onAnyValueChanged(e,t);var r=this.visibleTotalRow;r&&r.onAnyValueChanged(e,t),this.isDoingonAnyValueChanged=!1}},QuestionMatrixDropdownModelBase.prototype.isObject=function(e){return null!==e&&"object"==typeof e},QuestionMatrixDropdownModelBase.prototype.getOnCellValueChangedOptions=function(e,t,o){return{row:e,columnName:t,rowValue:o,value:o?o[t]:null,getCellQuestion:function(t){return e.getQuestionByName(t)},cellQuestion:e.getQuestionByName(t),column:this.getColumnByName(t)}},QuestionMatrixDropdownModelBase.prototype.onCellValueChanged=function(e,t,o){if(this.survey){var n=this.getOnCellValueChangedOptions(e,t,o);this.onCellValueChangedCallback&&this.onCellValueChangedCallback(n),this.survey.matrixCellValueChanged(this,n)}},QuestionMatrixDropdownModelBase.prototype.validateCell=function(e,t,o){if(this.survey){var n=this.getOnCellValueChangedOptions(e,t,o);return this.survey.matrixCellValidate(this,n)}},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"isValidateOnValueChanging",{get:function(){return!!this.survey&&this.survey.isValidateOnValueChanging}
vendor: 4,104 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"hasInvisibleRows",{get:function(){var e=this.generatedVisibleRows;if(!Array.isArray(e))return!1;for(var t=0;t<e.length;t++)if(!e[t].isVisible)return!0;return!1},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getFilteredData=function(){return!this.isEmpty()&&this.generatedVisibleRows&&this.hasInvisibleRows?this.getFilteredDataCore():this.value},QuestionMatrixDropdownModelBase.prototype.getFilteredDataCore=function(){return this.value},QuestionMatrixDropdownModelBase.prototype.onRowChanging=function(e,t,o){if(!this.survey&&!this.cellValueChangingCallback)return o?o[t]:null;var n=this.getOnCellValueChangedOptions(e,t,o),r=this.getRowValueCore(e,this.createNewValue(),!0);return n.oldValue=r?r[t]:null,this.cellValueChangingCallback&&(n.value=this.cellValueChangingCallback(e,t,n.value,n.oldValue)),this.survey&&this.survey.matrixCellValueChanging(this,n),n.value},QuestionMatrixDropdownModelBase.prototype.onRowChanged=function(e,t,o,n){var r=t?this.getRowObj(e):null;if(r){var i=null;o&&!n&&(i=o[t]),this.isRowChanging=!0,ov.setObjPropertyValue(r,t,i),this.isRowChanging=!1,this.onCellValueChanged(e,t,r)}else{var s=this.createNewValue(!0),a=this.getNewValueOnRowChanged(e,t,o,n,this.createNewValue());if(this.isTwoValueEquals(s,a.value))return;this.isRowChanging=!0,this.setNewValue(a.value),this.isRowChanging=!1,t&&this.onCellValueChanged(e,t,a.rowValue)}this.getUniqueColumnsNames().indexOf(t)>-1&&this.isValueInColumnDuplicated(t,!!r)},QuestionMatrixDropdownModelBase.prototype.getNewValueOnRowChanged=function(e,t,o,n,r){var i=this.getRowValueCore(e,r,!0);if(n&&delete i[t],e.questions.forEach(function(e){delete i[e.getValueName()]}),o)for(var s in o=JSON.parse(JSON.stringify(o)))this.isValueEmpty(o[s])||(i[s]=o[s]);return this.isObject(i)&&0===Object.keys(i).length&&(r=this.deleteRowValue(r,e)),{value:r=this.correctValueForMinMaxRows(r),rowValue:i}},QuestionMatrixDropdownModelBase.prototype.correctValueForMinMaxRows=function(e){return e},QuestionMatrixDropdownModelBase.prototype.getRowIndex=function(e){return Array.isArray(this.generatedVisibleRows)?this.generatedVisibleRows.indexOf(e):-1},QuestionMatrixDropdownModelBase.prototype.getElementsInDesign=function(t){var o;return void 0===t&&(t=!1),o="none"==this.detailPanelMode?e.prototype.getElementsInDesign.call(this,t):t?[this.detailPanel]:this.detailElements,this.columns.concat(o)},QuestionMatrixDropdownModelBase.prototype.hasDetailPanel=function(e){return"none"!=this.detailPanelMode&&(!!this.isDesignMode||(this.onHasDetailPanelCallback?this.onHasDetailPanelCallback(e):this.detailElements.length>0))},QuestionMatrixDropdownModelBase.prototype.getIsDetailPanelShowing=function(e){if("none"==this.detailPanelMode)return!1;if(this.isDesignMode){var t=0==this.visibleRows.indexOf(e);return t&&!e.detailPanel&&e.showDetailPanel(),t}return this.getPropertyValue("isRowShowing"+e.id,!1)},QuestionMatrixDropdownModelBase.prototype.setIsDetailPanelShowing=function(e,t){if(t!=this.getIsDetailPanelShowing(e)&&(this.setPropertyValue("isRowShowing"+e.id,t),this.updateDetailPanelButtonCss(e),this.renderedTable&&this.renderedTable.onDetailPanelChangeVisibility(e,t),this.survey&&this.survey.matrixDetailPanelVisibleChanged(this,e.rowIndex-1,e,t),t&&"underRowSingle"===this.detailPanelMode))for(var o=this.visibleRows,n=0;n<o.length;n++)o[n].id!==e.id&&o[n].isDetailPanelShowing&&o[n].hideDetailPanel()},QuestionMatrixDropdownModelBase.prototype.getDetailPanelButtonCss=function(e){var t=new oY().append(this.getPropertyValue("detailButtonCss"+e.id));return t.append(this.cssClasses.detailButton,""===t.toString()).toString()},QuestionMatrixDropdownModelBase.prototype.getDetailPanelIconCss=function(e){var t=new oY().append(this.getPropertyValue("detailIconCss"+e.id));return t.append(this.cssClasses.detailIcon,""===t.toString()).toString()},QuestionMatrixDropdownModelBase.prototype.getDetailPanelIconId=function(e){return this.getIsDetailPanelShowing(e)?this.cssClasses.detailIconExpandedId:this.cssClasse
5s.detailIconId},QuestionMatrixDropdownModelBase.prototype.updateDetailPanelButtonCss=function(e){var t=this.cssClasses,o=this.getIsDetailPanelShowing(e),n=new oY().append(t.detailIcon).append(t.detailIconExpanded,o);this.setPropertyValue("detailIconCss"+e.id,n.toString());var r=new oY().append(t.detailButton).append(t.detailButtonExpanded,o);this.setPropertyValue("detailButtonCss"+e.id,r.toString())},QuestionMatrixDropdownModelBase.prototype.createRowDetailPanel=function(e){var t=this;if(this.isDesignMode)return this.detailPanel;var o=this.createNewDetailPanel();o.readOnly=this.isReadOnly||!e.isRowEnabled(),o.setSurveyImpl(e);var n=this.detailPanel.toJSON();return new oy().toObject(n,o),o.renderWidth="100%",o.updateCustomWidgets(),this.onCreateDetailPanelCallback&&this.onCreateDetailPanelCallback(e,o),o.questions.forEach(function(e){return e.setParentQuestion(t)}),o.onSurveyLoad(),o},QuestionMatrixDropdownModelBase.prototype.getSharedQuestionByName=function(e,t){if(!this.survey||!this.valueName)return null;var o=this.getRowIndex(t);return o<0?null:this.survey.getQuestionByValueNameFromArray(this.valueName,e,o)},QuestionMatrixDropdownModelBase.prototype.onTotalValueChanged=function(){this.data&&this.visibleTotalRow&&!this.isUpdateLocked&&!this.isSett&&this.data.setValue(this.getValueName()+nC.matrix.totalsSuffix,this.totalValue,!1)},QuestionMatrixDropdownModelBase.prototype.getDataFilteredValues=function(){return this.data?this.data.getFilteredValues():{}},QuestionMatrixDropdownModelBase.prototype.getParentTextProcessor=function(){if(!this.parentQuestion||!this.parent)return null;var e=this.parent.data;return e&&e.getTextProcessor?e.getTextProcessor():null},QuestionMatrixDropdownModelBase.prototype.isMatrixReadOnly=function(){return this.isReadOnly},QuestionMatrixDropdownModelBase.prototype.onRowVisibilityChanged=function(e){this.clearVisibleRows(),this.resetRenderedTable()},QuestionMatrixDropdownModelBase.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t),this.clearInvisibleValuesInRows()},QuestionMatrixDropdownModelBase.prototype.clearInvisibleValuesInRows=function(){if(!this.isEmpty()&&this.isRowsFiltered()){var e;((null===(e=this.survey)||void 0===e?void 0:e.questionsByValueName(this.getValueName()))||[]).length<2&&(this.value=this.getFilteredData())}},QuestionMatrixDropdownModelBase.prototype.isRowsFiltered=function(){return e.prototype.isRowsFiltered.call(this)||this.visibleRows!==this.generatedVisibleRows},QuestionMatrixDropdownModelBase.prototype.getQuestionFromArray=function(e,t){return t>=this.visibleRows.length?null:this.visibleRows[t].getQuestionByName(e)},QuestionMatrixDropdownModelBase.prototype.isMatrixValueEmpty=function(e){if(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(this.isObject(e[t])&&Object.keys(e[t]).length>0)return!1;return!0}return 0==Object.keys(e).length}},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"SurveyModel",{get:function(){return this.survey},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.getCellTemplateData=function(e){return this.SurveyModel.getMatrixCellTemplateData(e)},QuestionMatrixDropdownModelBase.prototype.getCellWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,e.row instanceof rR?"row-footer":"cell")},QuestionMatrixDropdownModelBase.prototype.getCellWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,e.row instanceof rR?"row-footer":"cell")},QuestionMatrixDropdownModelBase.prototype.getColumnHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"column-header")},QuestionMatrixDropdownModelBase.prototype.getColumnHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"column-header")},QuestionMatrixDropdownModelBase.prototype.getRowHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName(e,"row-header")},QuestionMatrixDropdownModelBase.prototype.getRowHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData(e,"row-header")},Object.defineProperty(QuestionMatrixDropdownModelBase.prototype,"showHorizontalScroll",{get:function(){return!this.isDefaultV2Theme&&this.horizontalScroll}
5,enumerable:!1,configurable:!0}),QuestionMatrixDropdownModelBase.prototype.onMobileChanged=function(){e.prototype.onMobileChanged.call(this),this.resetRenderedTable()},QuestionMatrixDropdownModelBase.prototype.getRootCss=function(){return new oY().append(e.prototype.getRootCss.call(this)).append(this.cssClasses.rootScroll,this.horizontalScroll).toString()},QuestionMatrixDropdownModelBase.prototype.afterRenderQuestionElement=function(t){e.prototype.afterRenderQuestionElement.call(this,t),this.setRootElement(null==t?void 0:t.parentElement)},QuestionMatrixDropdownModelBase.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.setRootElement(void 0)},QuestionMatrixDropdownModelBase.prototype.setRootElement=function(e){this.rootElement=e},QuestionMatrixDropdownModelBase.prototype.getRootElement=function(){return this.rootElement},QuestionMatrixDropdownModelBase}(rn);ov.addClass("matrixdropdownbase",[{name:"columns:matrixdropdowncolumns",className:"matrixdropdowncolumn",isArray:!0},{name:"columnLayout",alternativeName:"columnsLocation",choices:["horizontal","vertical"],visible:!1,isSerializable:!1},{name:"transposeData:boolean",version:"1.9.130",oldName:"columnLayout"},{name:"detailElements",baseClassName:"question",visible:!1,isLightSerializable:!1},{name:"detailPanelMode",choices:["none","underRow","underRowSingle"],default:"none"},{name:"cellErrorLocation",default:"default",choices:["default","top","bottom"]},{name:"detailErrorLocation",default:"default",choices:["default","top","bottom"],visibleIf:function(e){return!!e&&"none"!=e.detailPanelMode}},{name:"horizontalScroll:boolean",visible:!1},{name:"choices:itemvalue[]",uniqueProperty:"value",visibleIf:function(e){return e.isSelectCellType()}},{name:"placeholder",alternativeName:"optionsCaption",serializationProperty:"locPlaceholder"},{name:"keyDuplicationError",serializationProperty:"locKeyDuplicationError"},{name:"cellType",default:"dropdown",choices:function(){return rb.getColumnTypes()}},{name:"columnColCount",default:0,choices:[0,1,2,3,4]},"columnMinWidth",{name:"allowAdaptiveActions:boolean",default:!1,visible:!1}],function(){return new rk("")},"matrixbase");var rI=(R=function(e,t){return(R=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),rO=function(e){function MatrixDropdownRowModel(t,o,n,r){var i=e.call(this,n,r)||this;return i.name=t,i.item=o,i.buildCells(r),i}return rI(MatrixDropdownRowModel,e),Object.defineProperty(MatrixDropdownRowModel.prototype,"rowName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModel.prototype,"text",{get:function(){return this.item.text},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDropdownRowModel.prototype,"locText",{get:function(){return this.item.locText},enumerable:!1,configurable:!0}),MatrixDropdownRowModel.prototype.isItemVisible=function(){return this.item.isVisible},MatrixDropdownRowModel.prototype.isRowEnabled=function(){return this.item.isEnabled},MatrixDropdownRowModel.prototype.isRowHasEnabledCondition=function(){return!!this.item.enableIf},MatrixDropdownRowModel.prototype.setRowsVisibleIfValues=function(e){e.item=this.item.value,e.choice=this.item.value},MatrixDropdownRowModel}(rV),rD=function(e){function QuestionMatrixDropdownModel(t){var o=e.call(this,t)||this;return o.defaultValuesInRows={},o.createLocalizableString("totalText",o,!0),o.registerPropertyChangedHandlers(["rows"],function(){o.generatedVisibleRows&&(o.clearGeneratedRows(),o.resetRenderedTable(),o.getVisibleRows(),o.clearIncorrectValues())}),o.registerPropertyChangedHandlers(["hideIfRowsEmpty"],function(){o.updateVisibilityBasedOnRows()}),o}return rI(QuestionMatrixDropdownModel,e),QuestionMatrixDropdownModel.prototype.getType=function(){return"matrixdropdown"},Object.defineProperty(QuestionMatrixDropdownModel.prototype,"totalText",{get:function(){return this.getLocalizableStringText("totalText","")},set:function(e){this.setLocalizableStringText("totalText",e)}
vendor: 1,733 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDropdownModel.prototype,"locTotalText",{get:function(){return this.getLocalizableString("totalText")},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModel.prototype.getFooterText=function(){return this.locTotalText},QuestionMatrixDropdownModel.prototype.getRowTitleWidth=function(){return this.rowTitleWidth},Object.defineProperty(QuestionMatrixDropdownModel.prototype,"hideIfRowsEmpty",{get:function(){return this.getPropertyValue("hideIfRowsEmpty")},set:function(e){this.setPropertyValue("hideIfRowsEmpty",e)},enumerable:!1,configurable:!0}),QuestionMatrixDropdownModel.prototype.getDisplayValueCore=function(e,t){if(!t)return t;var o=this.visibleRows,n={};if(!o)return n;for(var r=0;r<o.length;r++){var i=o[r].rowName,s=t[i];if(s){if(e){var a=n0.getTextOrHtmlByValue(this.rows,i);a&&(i=a)}n[i]=this.getRowDisplayValue(e,o[r],s)}}return n},QuestionMatrixDropdownModel.prototype.getConditionObjectRowName=function(e){return"."+this.rows[e].value},QuestionMatrixDropdownModel.prototype.getConditionObjectRowText=function(e){return"."+this.rows[e].calculatedText},QuestionMatrixDropdownModel.prototype.getConditionObjectsRowIndeces=function(){for(var e=[],t=0;t<this.rows.length;t++)e.push(t);return e},QuestionMatrixDropdownModel.prototype.isNewValueCorrect=function(e){return oe.isValueObject(e,!0)},QuestionMatrixDropdownModel.prototype.clearIncorrectValues=function(){if(!this.isEmpty()){this.getVisibleRows();var t={},o=this.value;for(var n in o){var r=this.getRowByKey(n);r&&r.isVisible&&(t[n]=o[n])}this.value=t}e.prototype.clearIncorrectValues.call(this)},QuestionMatrixDropdownModel.prototype.getRowByKey=function(e){var t=this.generatedVisibleRows;
5if(!t)return null;for(var o=0;o<t.length;o++)if(t[o].rowName===e)return t[o];return null},QuestionMatrixDropdownModel.prototype.clearGeneratedRows=function(){var t=this;this.generatedVisibleRows&&(this.isDisposed||this.generatedVisibleRows.forEach(function(e){t.defaultValuesInRows[e.rowName]=e.getNamesWithDefaultValues()}),e.prototype.clearGeneratedRows.call(this))},QuestionMatrixDropdownModel.prototype.getRowValueForCreation=function(e,t){var o=e[t];if(!o)return o;var n=this.defaultValuesInRows[t];return Array.isArray(n)&&0!==n.length&&n.forEach(function(e){delete o[e]}),o},QuestionMatrixDropdownModel.prototype.generateRows=function(){var e=[],t=this.rows;if(!t||0===t.length)return e;var o=this.value;o||(o={});for(var n=0;n<t.length;n++){var r=t[n];this.isValueEmpty(r.value)||e.push(this.createMatrixRow(r,this.getRowValueForCreation(o,r.value)))}return e},QuestionMatrixDropdownModel.prototype.createMatrixRow=function(e,t){return new rO(e.value,e,this,t)},QuestionMatrixDropdownModel.prototype.getFilteredDataCore=function(){var e={},t=this.createValueCopy();return this.generatedVisibleRows.forEach(function(o){var n=t[o.rowName];o.isVisible&&!oe.isValueEmpty(n)&&(e[o.rowName]=n)}),e},QuestionMatrixDropdownModel.prototype.getSearchableItemValueKeys=function(e){e.push("rows")},QuestionMatrixDropdownModel.prototype.getIsRequireToGenerateRows=function(){if(e.prototype.getIsRequireToGenerateRows.call(this))return!0;for(var t=0;t<this.rows.length;t++)if(this.rows[t].visibleIf)return!0;return!1},QuestionMatrixDropdownModel.prototype.updateProgressInfoByValues=function(e){var t=this.value;t||(t={});for(var o=0;o<this.rows.length;o++){var n=t[this.rows[o].value];this.updateProgressInfoByRow(e,n||{})}},QuestionMatrixDropdownModel}(rk);ov.addClass("matrixdropdown",[{name:"rows:itemvalue[]",uniqueProperty:"value"},"rowsVisibleIf:condition","rowTitleWidth",{name:"totalText",serializationProperty:"locTotalText"},"hideIfRowsEmpty:boolean"],function(){return new rD("")},"matrixdropdownbase"),rh.Instance.registerQuestion("matrixdropdown",function(e){var t=new rD(e);return t.choices=[1,2,3,4,5],t.rows=rh.DefaultRows,rk.addDefaultColumns(t),t});var rA=!1,rQ=null;"undefined"!=typeof navigator&&navigator&&t6.isAvailable()&&(rQ=navigator.userAgent||navigator.vendor||t6.hasOwn("opera")),(k=rQ)&&("MacIntel"===navigator.platform&&navigator.maxTouchPoints>0||"iPad"===navigator.platform?rA=!0:(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(k)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(k.substring(0,4)))&&(rA=!0));
5var rj=rA||!1,rL={get isTouch(){return!this.hasMouse&&this.hasTouchEvent},get hasTouchEvent(){return t6.isAvailable()&&(t6.hasOwn("ontouchstart")||navigator.maxTouchPoints>0)},hasMouse:!0},rB=t6.matchMedia;rL.hasMouse=function(e){if(!e||rj)return!1;var t=e("(pointer:fine)"),o=e("(any-hover:hover)");return!!t&&t.matches||!!o&&o.matches}(rB);var rq=rL.isTouch;function _setIsTouch(e){rq=e}var dom_adapter_spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e};"undefined"!=typeof window&&window.addEventListener("touchmove",function(e){rN.PreventScrolling&&e.preventDefault()},{passive:!1});var rN=function(){function DragDropDOMAdapter(e,t,o){var n=this;void 0===t&&(t=!0),void 0===o&&(o=!1),this.dd=e,this.longTap=t,this.fitToContainer=o,this.scrollIntervalId=null,this.stopLongTapIfMoveEnough=function(e){e.preventDefault(),n.currentX=e.pageX,n.currentY=e.pageY,n.isMicroMovement||(n.returnUserSelectBack(),n.stopLongTap())},this.stopLongTap=function(e){clearTimeout(n.timeoutID),n.timeoutID=null,document.removeEventListener("pointerup",n.stopLongTap),document.removeEventListener("pointermove",n.stopLongTapIfMoveEnough)},this.handlePointerCancel=function(e){n.clear()},this.handleEscapeButton=function(e){27==e.keyCode&&n.clear()},this.onContextMenu=function(e){e.preventDefault(),e.stopPropagation()},this.dragOver=function(e){n.moveShortcutElement(e),n.draggedElementShortcut.style.cursor="grabbing",n.dd.dragOver(e)},this.clear=function(){cancelAnimationFrame(n.scrollIntervalId),document.removeEventListener("pointermove",n.dragOver),document.removeEventListener("pointercancel",n.handlePointerCancel),document.removeEventListener("keydown",n.handleEscapeButton),document.removeEventListener("pointerup",n.drop),n.draggedElementShortcut.removeEventListener("pointerup",n.drop),rq&&n.draggedElementShortcut.removeEventListener("contextmenu",n.onContextMenu),n.draggedElementShortcut.parentElement.removeChild(n.draggedElementShortcut),n.dd.clear(),n.draggedElementShortcut=null,n.scrollIntervalId=null,rq&&(n.savedTargetNode.style.cssText=null,n.savedTargetNode&&n.savedTargetNode.parentElement.removeChild(n.savedTargetNode),n.insertNodeToParentAtIndex(n.savedTargetNodeParent,n.savedTargetNode,n.savedTargetNodeIndex),DragDropDOMAdapter.PreventScrolling=!1),n.savedTargetNode=null,n.savedTargetNodeParent=null,n.savedTargetNodeIndex=null,n.returnUserSelectBack()},this.drop=function(){n.dd.drop(),n.clear()},this.draggedElementShortcut=null}return Object.defineProperty(DragDropDOMAdapter.prototype,"documentOrShadowRoot",{get:function(){return nC.environment.root},enumerable:!1,configurable:!0}),Object.defineProperty(DragDropDOMAdapter.prototype,"rootElement",{get:function(){return isShadowDOM(nC.environment.root)?this.rootContainer||nC.environment.root.host:this.rootContainer||nC.environment.root.documentElement||document.body},enumerable:!1,configurable:!0}),Object.defineProperty(DragDropDOMAdapter.prototype,"isMicroMovement",{get:function(){var e=Math.abs(this.currentX-this.startX),t=Math.abs(this.currentY-this.startY);return e<5&&t<5},enumerable:!1,configurable:!0}),DragDropDOMAdapter.prototype.startLongTapProcessing=function(e,t,o,n,r){var i=this;void 0===r&&(r=!1),this.startX=e.pageX,this.startY=e.pageY,document.body.style.setProperty("touch-action","none","important"),this.timeoutID=setTimeout(function(){i.doStartDrag(e,t,o,n),r||(i.savedTargetNode=e.target,i.savedTargetNode.style.cssText="\n position: absolute;\n height: 1px!important;\n width: 1px!important;\n overflow: hidden;\n clip: rect(1px 1px 1px 1px);\n clip: rect(1px, 1px, 1px, 1px);\n ",i.savedTargetNodeParent=i.savedTargetNode.parentElement,i.savedTargetNodeIndex=i.getNodeIndexInParent(i.savedTargetNode),i.rootElement.appendChild(i.savedTargetNode)),i.stopLongTap()},this.longTap?500:0),document.addEventListener("pointerup",this.stopLongTap),document.addEventListener("pointermove",this.stopLongTapIfMoveEnough)},DragDropDOMAdapter.prototype.moveShortcutElement=function(e){var t=this.rootElement.getBoundingClientRect().x,o=this.rootElement.getBoundingClientRect().y,n=this.rootElement.scrollLeft,r=this.rootElement.scrollTop;this.doScroll(e.clientY,e.clientX);var i=this.draggedElementShortcut.offsetHeight,s=this.draggedElementShortcut.offsetWidth,a=this.draggedElementShortcut.shortcutXOffset||s/2,l=this.draggedElementShortcut.shortcutYOffset||i/2;0!==document.querySelectorAll("[dir='rtl']").length&&(a=s/2,l=i/2);var u=document.documentElement.clientHeight,c=document.documentElement.clientWidth,p=e.pageX,d=e.pageY,h=e.clientX,m=e.clientY;t-=n,o-=r;var g=this.getShortcutBottomCoordinate(m,i,l);if(this.getShortcutRightCoordinate(h,s,a)>=c){this.draggedElementShortcut.style.left=c-s-t+"px",this.draggedElementShortcut.style.top=m-l-o+"px";return}
5if(h-a<=0){this.draggedElementShortcut.style.left=p-h-t+"px",this.draggedElementShortcut.style.top=m-o-l+"px";return}if(g>=u){this.draggedElementShortcut.style.left=h-a-t+"px",this.draggedElementShortcut.style.top=u-i-o+"px";return}if(m-l<=0){this.draggedElementShortcut.style.left=h-a-t+"px",this.draggedElementShortcut.style.top=d-m-o+"px";return}this.draggedElementShortcut.style.left=h-t-a+"px",this.draggedElementShortcut.style.top=m-o-l+"px"},DragDropDOMAdapter.prototype.getShortcutBottomCoordinate=function(e,t,o){return e+t-o},DragDropDOMAdapter.prototype.getShortcutRightCoordinate=function(e,t,o){return e+t-o},DragDropDOMAdapter.prototype.requestAnimationFrame=function(e){return requestAnimationFrame(e)},DragDropDOMAdapter.prototype.scrollByDrag=function(e,t,o){var n,r,i,s,a=this;"HTML"===e.tagName?(n=0,r=document.documentElement.clientHeight,i=0,s=document.documentElement.clientWidth):(n=e.getBoundingClientRect().top,r=e.getBoundingClientRect().bottom,i=e.getBoundingClientRect().left,s=e.getBoundingClientRect().right);var repeat=function(){var l=t-n<=100,u=r-t<=100,c=o-i<=100,p=s-o<=100;!l||c||p?!u||c||p?!p||l||u?!c||l||u||(e.scrollLeft-=15):e.scrollLeft+=15:e.scrollTop+=15:e.scrollTop-=15,a.scrollIntervalId=a.requestAnimationFrame(repeat)};this.scrollIntervalId=this.requestAnimationFrame(repeat)},DragDropDOMAdapter.prototype.doScroll=function(e,t){cancelAnimationFrame(this.scrollIntervalId);var o=this.draggedElementShortcut.style.display;this.draggedElementShortcut.style.display="none";var n=this.documentOrShadowRoot.elementFromPoint(t,e);this.draggedElementShortcut.style.display=o||"block";var r=findScrollableParent(n);this.scrollByDrag(r,e,t)},DragDropDOMAdapter.prototype.doStartDrag=function(e,t,o,n){rq&&(DragDropDOMAdapter.PreventScrolling=!0),3!==e.which&&(this.dd.dragInit(e,t,o,n),this.rootElement.append(this.draggedElementShortcut),this.moveShortcutElement(e),document.addEventListener("pointermove",this.dragOver),document.addEventListener("pointercancel",this.handlePointerCancel),document.addEventListener("keydown",this.handleEscapeButton),document.addEventListener("pointerup",this.drop),rq?this.draggedElementShortcut.addEventListener("contextmenu",this.onContextMenu):this.draggedElementShortcut.addEventListener("pointerup",this.drop))},DragDropDOMAdapter.prototype.returnUserSelectBack=function(){document.body.style.setProperty("touch-action","auto"),document.body.style.setProperty("user-select","auto"),document.body.style.setProperty("-webkit-user-select","auto")},DragDropDOMAdapter.prototype.startDrag=function(e,t,o,n,r){if(void 0===r&&(r=!1),document.body.style.setProperty("user-select","none","important"),document.body.style.setProperty("-webkit-user-select","none","important"),rq){this.startLongTapProcessing(e,t,o,n,r);return}this.doStartDrag(e,t,o,n)},DragDropDOMAdapter.prototype.getNodeIndexInParent=function(e){return dom_adapter_spreadArray([],e.parentElement.childNodes).indexOf(e)},DragDropDOMAdapter.prototype.insertNodeToParentAtIndex=function(e,t,o){e.insertBefore(t,e.childNodes[o])},DragDropDOMAdapter.PreventScrolling=!1,DragDropDOMAdapter}(),rF=function(){function DragDropCore(e,t,o,n){var r,i=this;this.surveyValue=e,this.creator=t,this._isBottom=null,this.onGhostPositionChanged=new oJ,this.onDragStart=new oJ,this.onDragEnd=new oJ,this.onDragClear=new oJ,this.onBeforeDrop=this.onDragStart,this.onAfterDrop=this.onDragEnd,this.draggedElement=null,this.dropTarget=null,this.prevDropTarget=null,this.allowDropHere=!1,this.banDropHere=function(){i.allowDropHere=!1,i.doBanDropHere(),i.dropTarget=null,i.domAdapter.draggedElementShortcut.style.cursor="not-allowed",i.isBottom=null},this.doBanDropHere=function(){},this.domAdapter=n||new rN(this,o,null===(r=this.survey)||void 0===r?void 0:r.fitToContainer)}return Object.defineProperty(DragDropCore.prototype,"isBottom",{get:function(){return!!this._isBottom},set:function(e){this._isBottom=e,this.ghostPositionChanged()},enumerable:!1,configurable:!0}),DragDropCore.prototype.ghostPositionChanged=function(){this.onGhostPositionChanged.fire({},{})},Object.defineProperty(DragDropCore.prototype,"dropTargetDataAttributeName",{get:function(){return"[data-sv-drop-target-"+this.draggedElementType+"]"}
5,enumerable:!1,configurable:!0}),Object.defineProperty(DragDropCore.prototype,"survey",{get:function(){var e;return this.surveyValue||(null===(e=this.creator)||void 0===e?void 0:e.survey)},enumerable:!1,configurable:!0}),DragDropCore.prototype.startDrag=function(e,t,o,n,r){void 0===r&&(r=!1),this.domAdapter.rootContainer=this.getRootElement(this.survey,this.creator),this.domAdapter.startDrag(e,t,o,n,r)},DragDropCore.prototype.getRootElement=function(e,t){return t?t.rootElement:e.rootElement},DragDropCore.prototype.dragInit=function(e,t,o,n){this.draggedElement=t,this.parentElement=o;var r=this.getShortcutText(this.draggedElement);this.domAdapter.draggedElementShortcut=this.createDraggedElementShortcut(r,n,e),this.onStartDrag(e);var i=this.draggedElement&&this.draggedElement.parent;this.onDragStart.fire(this,{fromElement:i,draggedElement:this.draggedElement})},DragDropCore.prototype.onStartDrag=function(e){},DragDropCore.prototype.isDropTargetDoesntChanged=function(e){return this.dropTarget===this.prevDropTarget&&e===this.isBottom},DragDropCore.prototype.getShortcutText=function(e){return null==e?void 0:e.shortcutText},DragDropCore.prototype.createDraggedElementShortcut=function(e,t,o){var n=t8.createElement("div");return n&&(n.innerText=e,n.className=this.getDraggedElementClass()),n},DragDropCore.prototype.getDraggedElementClass=function(){return"sv-dragged-element-shortcut"},DragDropCore.prototype.doDragOver=function(){},DragDropCore.prototype.afterDragOver=function(e){},DragDropCore.prototype.findDropTargetNodeFromPoint=function(e,t){var o=this.domAdapter.draggedElementShortcut.style.display;if(this.domAdapter.draggedElementShortcut.style.display="none",!t8.isAvailable())return null;var n=this.domAdapter.documentOrShadowRoot.elementsFromPoint(e,t);this.domAdapter.draggedElementShortcut.style.display=o||"block";for(var r=0,i=n[0];i&&i.className&&"function"==typeof i.className.indexOf&&-1!=i.className.indexOf("sv-drag-target-skipped");)i=n[++r];return i?this.findDropTargetNodeByDragOverNode(i):null},DragDropCore.prototype.getDataAttributeValueByNode=function(e){var t=this,o="svDropTarget";return this.draggedElementType.split("-").forEach(function(e){o+=t.capitalizeFirstLetter(e)}),e.dataset[o]},DragDropCore.prototype.getDropTargetByNode=function(e,t){var o=this.getDataAttributeValueByNode(e);return this.getDropTargetByDataAttributeValue(o,e,t)},DragDropCore.prototype.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},DragDropCore.prototype.calculateVerticalMiddleOfHTMLElement=function(e){var t=e.getBoundingClientRect();return t.y+t.height/2},DragDropCore.prototype.calculateHorizontalMiddleOfHTMLElement=function(e){var t=e.getBoundingClientRect();return t.x+t.width/2},DragDropCore.prototype.calculateIsBottom=function(e,t){return!1},DragDropCore.prototype.findDropTargetNodeByDragOverNode=function(e){return e.closest(this.dropTargetDataAttributeName)},DragDropCore.prototype.dragOver=function(e){var t=this.findDropTargetNodeFromPoint(e.clientX,e.clientY);if(!t){this.banDropHere();return}this.dropTarget=this.getDropTargetByNode(t,e);var o=this.isDropTargetValid(this.dropTarget,t);if(this.doDragOver(),!o){this.banDropHere();return}var n=this.calculateIsBottom(e.clientY,t);this.allowDropHere=!0,this.isDropTargetDoesntChanged(n)||(this.isBottom=null,this.isBottom=n,this.draggedElement!=this.dropTarget&&this.afterDragOver(t),this.prevDropTarget=this.dropTarget)},DragDropCore.prototype.drop=function(){if(this.allowDropHere){var e=this.draggedElement.parent,t=this.doDrop();this.onDragEnd.fire(this,{fromElement:e,draggedElement:t,toElement:this.dropTarget})}},DragDropCore.prototype.clear=function(){this.dropTarget=null,this.prevDropTarget=null,this.draggedElement=null,this.isBottom=null,this.parentElement=null,this.onDragClear.fire(this,{})},DragDropCore}(),rz=(I=function(e,t){return(I=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}I(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),rH=function(e){function DragDropMatrixRows(){var t=null!==e&&e.apply(this,arguments)||this;return t.fromIndex=null,t.toIndex=null,t.doDrop=function(){return t.parentElement.moveRowByIndex(t.fromIndex,t.toIndex),t.parentElement},t}return rz(DragDropMatrixRows,e),Object.defineProperty(DragDropMatrixRows.prototype,"draggedElementType",{get:function(){return"matrix-row"}
5,enumerable:!1,configurable:!0}),DragDropMatrixRows.prototype.onStartDrag=function(){var e=t8.getBody();e&&(this.restoreUserSelectValue=e.style.userSelect,e.style.userSelect="none")},Object.defineProperty(DragDropMatrixRows.prototype,"shortcutClass",{get:function(){return new oY().append(this.parentElement.cssClasses.draggedRow).toString()},enumerable:!1,configurable:!0}),DragDropMatrixRows.prototype.createDraggedElementShortcut=function(e,t,o){var n=this,r=t8.createElement("div");if(r){if(r.className=this.shortcutClass,t){var i=t.closest("[data-sv-drop-target-matrix-row]"),s=i.cloneNode(!0);s.style.cssText="\n width: "+i.offsetWidth+"px;\n ",s.classList.remove("sv-matrix__drag-drop--moveup"),s.classList.remove("sv-matrix__drag-drop--movedown"),this.draggedElement.isDragDropMoveDown=!1,this.draggedElement.isDragDropMoveUp=!1,r.appendChild(s);var a=t.getBoundingClientRect();r.shortcutXOffset=o.clientX-a.x,r.shortcutYOffset=o.clientY-a.y}return this.parentElement.renderedTable.rows.forEach(function(e,t){e.row===n.draggedElement&&(e.isGhostRow=!0)}),this.fromIndex=this.parentElement.visibleRows.indexOf(this.draggedElement),r}},DragDropMatrixRows.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.renderedTable.rows.filter(function(t){return t.row&&t.row.id===e})[0].row},DragDropMatrixRows.prototype.canInsertIntoThisRow=function(e){var t=this.parentElement.lockedRowCount;return t<=0||e.rowIndex>t},DragDropMatrixRows.prototype.isDropTargetValid=function(e,t){return this.canInsertIntoThisRow(e)},DragDropMatrixRows.prototype.calculateIsBottom=function(e){var t=this.parentElement.renderedTable.rows.map(function(e){return e.row});return t.indexOf(this.dropTarget)-t.indexOf(this.draggedElement)>0},DragDropMatrixRows.prototype.afterDragOver=function(t){var o,n,r,i=this;if(!this.isDropTargetDoesntChanged(this.isBottom)){var s=this.parentElement.renderedTable.rows;s.forEach(function(e,t){e.row===i.dropTarget&&(o=t),e.row===i.draggedElement&&(r=e,n=t,r.isGhostRow=!0)}),s.splice(n,1),s.splice(o,0,r),this.toIndex=this.parentElement.visibleRows.indexOf(this.dropTarget),e.prototype.ghostPositionChanged.call(this)}},DragDropMatrixRows.prototype.clear=function(){this.parentElement.renderedTable.rows.forEach(function(e){e.isGhostRow=!1}),this.parentElement.clearOnDrop(),this.fromIndex=null,this.toIndex=null;var t=t8.getBody();t&&(t.style.userSelect=this.restoreUserSelectValue||"initial"),e.prototype.clear.call(this)},DragDropMatrixRows}(rF),rU=function(){function DragOrClickHelper(e){var t=this;this.dragHandler=e,this.onPointerUp=function(e){t.clearListeners()},this.tryToStartDrag=function(e){if(t.currentX=e.pageX,t.currentY=e.pageY,!t.isMicroMovement)return t.clearListeners(),t.dragHandler(t.pointerDownEvent,t.currentTarget,t.itemModel),!0}}return DragOrClickHelper.prototype.onPointerDown=function(e,t){if(rq){this.dragHandler(e,e.currentTarget,t);return}this.pointerDownEvent=e,this.currentTarget=e.currentTarget,this.startX=e.pageX,this.startY=e.pageY,t8.addEventListener("pointermove",this.tryToStartDrag),this.currentTarget.addEventListener("pointerup",this.onPointerUp),this.itemModel=t},Object.defineProperty(DragOrClickHelper.prototype,"isMicroMovement",{get:function(){var e=Math.abs(this.currentX-this.startX),t=Math.abs(this.currentY-this.startY);return e<10&&t<10},enumerable:!1,configurable:!0}),DragOrClickHelper.prototype.clearListeners=function(){this.pointerDownEvent&&(t8.removeEventListener("pointermove",this.tryToStartDrag),this.currentTarget.removeEventListener("pointerup",this.onPointerUp))},DragOrClickHelper}(),rW=(O=function(e,t){return(O=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r$=function(e){function MatrixDynamicRowModel(t,o,n){var r=e.call(this,o,n)||this;return r.index=t,r.buildCells(n),r}return rW(MatrixDynamicRowModel,e),MatrixDynamicRowModel.prototype.getRowIndex=function(){var t=e.prototype.getRowIndex.call(this);return t>0?t:this.index+1},Object.defineProperty(MatrixDynamicRowModel.prototype,"rowName",{get:function(){return this.id}
5,enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDynamicRowModel.prototype,"dataName",{get:function(){return"row"+(this.index+1)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixDynamicRowModel.prototype,"text",{get:function(){return"row "+(this.index+1)},enumerable:!1,configurable:!0}),MatrixDynamicRowModel.prototype.getAccessbilityText=function(){return(this.index+1).toString()},Object.defineProperty(MatrixDynamicRowModel.prototype,"shortcutText",{get:function(){var e=this.data.visibleRows.indexOf(this)+1,t=this.cells.length>1?this.cells[1].questionValue:void 0,o=this.cells.length>0?this.cells[0].questionValue:void 0;return t&&t.value||o&&o.value||""+e},enumerable:!1,configurable:!0}),MatrixDynamicRowModel}(rV),rJ=function(e){function QuestionMatrixDynamicModel(t){var o=e.call(this,t)||this;return o.rowCounter=0,o.setRowCountValueFromData=!1,o.startDragMatrixRow=function(e,t){o.dragDropMatrixRows.startDrag(e,o.draggedRow,o,e.target)},o.initialRowCount=o.getDefaultPropertyValue("rowCount"),o.createLocalizableString("confirmDeleteText",o,!1,"confirmDelete"),o.createLocalizableString("addRowText",o).onGetTextCallback=function(e){return e||o.defaultAddRowText},o.createLocalizableString("removeRowText",o,!1,"removeRow"),o.createLocalizableString("emptyRowsText",o,!1,!0),o.registerPropertyChangedHandlers(["hideColumnsIfEmpty","allowAddRows"],function(){o.updateShowTableAndAddRow()}),o.registerPropertyChangedHandlers(["allowRowsDragAndDrop","isReadOnly","lockedRowCount"],function(){o.resetRenderedTable()}),o.registerPropertyChangedHandlers(["minRowCount"],function(){o.onMinRowCountChanged()}),o.registerPropertyChangedHandlers(["maxRowCount"],function(){o.onMaxRowCountChanged()}),o.dragOrClickHelper=new rU(o.startDragMatrixRow),o}return rW(QuestionMatrixDynamicModel,e),QuestionMatrixDynamicModel.prototype.setSurveyImpl=function(t,o){e.prototype.setSurveyImpl.call(this,t,o),this.dragDropMatrixRows=new rH(this.survey,null,!0)},QuestionMatrixDynamicModel.prototype.isBanStartDrag=function(e){var t=e.target;return"true"===t.getAttribute("contenteditable")||"INPUT"===t.nodeName||!this.isDragHandleAreaValid(t)},QuestionMatrixDynamicModel.prototype.isDragHandleAreaValid=function(e){return"icon"!==this.survey.matrixDragHandleArea||e.classList.contains(this.cssClasses.dragElementDecorator)},QuestionMatrixDynamicModel.prototype.onPointerDown=function(e,t){!(!t||!this.isRowsDragAndDrop||this.isDesignMode||this.isBanStartDrag(e))&&(t.isDetailPanelShowing||(this.draggedRow=t,this.dragOrClickHelper.onPointerDown(e)))},QuestionMatrixDynamicModel.prototype.getType=function(){return"matrixdynamic"},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"isRowsDynamic",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"confirmDelete",{get:function(){return this.getPropertyValue("confirmDelete")},set:function(e){this.setPropertyValue("confirmDelete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"isValueArray",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"keyName",{get:function(){return this.getPropertyValue("keyName","")},set:function(e){this.setPropertyValue("keyName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"defaultRowValue",{get:function(){return this.getPropertyValue("defaultRowValue")},set:function(e){this.setPropertyValue("defaultRowValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"defaultValueFromLastRow",{get:function(){return this.getPropertyValue("defaultValueFromLastRow")},set:function(e){this.setPropertyValue("defaultValueFromLastRow",e)},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.isDefaultValueEmpty=function(){return e.prototype.isDefaultValueEmpty.call(this)&&this.isValueEmpty(this.defaultRowValue)},QuestionMatrixDynamicModel.prototype.valueFromData=function(t){return this.minRowCount<1||this.isEmpty()?e.prototype.valueFromData.call(this,t):this.correctValueForMinMaxRows(t)},QuestionMatrixDynamicModel.prototype.correctValueForMinMaxRows=function(e){Array.isArray(e)||(e=[]);for(var t=e.length;t<this.minRowCount;t++)e.push({});return e},QuestionMatrixDynamicModel.prototype.isNewValueCorrect=function(e){return Array.isArray(e)},QuestionMatrixDynamicModel.prototype.setDefaultValue=function(){if(this.isValueEmpty(this.defaultRowValue)||!this.isValueEmpty(this.defaultValue)){e.prototype.setDefaultValue.call(this);return}if(this.isEmpty()&&0!=this.rowCount){for(var t=[],o=0;o<this.rowCount;o++)t.push(this.defaultRowValue);this.value=t}},QuestionMatrixDynamicModel.prototype.moveRowByIndex=function(e,t){var o=this.createNewValue();if(!(!Array.isArray(o)&&Math.max(e,t)>=o.length)){var n=o[e];o.splice(e,1),o.splice(t,0,n),this.value=o}},QuestionMatrixDynamicModel.prototype.clearOnDrop=function(){this.isEditingSurveyElement||this.resetRenderedTable()},QuestionMatrixDynamicModel.prototype.initDataUI=function(){this.generatedVisibleRows||this.getVisibleRows()},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"rowCount",{get:function(){return this.rowCountValue},set:function(e){if(!((e=oe.getNumber(e))<0)&&!(e>nC.matrix.maxRowCount)){this.setRowCountValueFromData=!1;var t=this.rowCountValue;if(this.rowCountValue=e,this.value&&this.value.length>e){var o=this.value;o.splice(e),this.value=o}if(this.isUpdateLocked){this.initialRowCount=e;return}if(this.generatedVisibleRows||0==t){this.generatedVisibleRows||(this.clearGeneratedRows(),this.generatedVisibleRows=[]),this.generatedVisibleRows.splice(e);for(var n=t;n<e;n++){var r=this.createMatrixRow(this.getValueForNewRow());this.generatedVisibleRows.push(r),this.onMatrixRowCreated(r)}this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())}this.onRowsChanged()}}
vendor: 5,893 bytes, line 5
5,enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.updateBindingProp=function(t,o){e.prototype.updateBindingProp.call(this,t,o);var n=this.generatedVisibleRows;if("rowCount"===t&&Array.isArray(n)){var r=this.getUnbindValue(this.value)||[];if(r.length<n.length){for(var i=!1,s=r.length;s<n.length;s++)i||(i=!n[s].isEmpty),r.push(n[s].value||{});i&&(this.value=r)}}},QuestionMatrixDynamicModel.prototype.updateProgressInfoByValues=function(e){var t=this.value;Array.isArray(t)||(t=[]);for(var o=0;o<this.rowCount;o++){var n=o<t.length?t[o]:{};this.updateProgressInfoByRow(e,n)}},QuestionMatrixDynamicModel.prototype.getValueForNewRow=function(){var e=null;return this.onGetValueForNewRowCallBack&&(e=this.onGetValueForNewRowCallBack(this)),e},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"allowRowsDragAndDrop",{get:function(){return this.getPropertyValue("allowRowsDragAndDrop")},set:function(e){this.setPropertyValue("allowRowsDragAndDrop",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"isRowsDragAndDrop",{get:function(){return this.allowRowsDragAndDrop&&!this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"lockedRowCount",{get:function(){return this.getPropertyValue("lockedRowCount",0)},set:function(e){this.setPropertyValue("lockedRowCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"iconDragElement",{get:function(){return this.cssClasses.iconDragElement},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.createRenderedTable=function(){return new rG(this)},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"rowCountValue",{get:function(){return this.getPropertyValue("rowCount")},set:function(e){this.setPropertyValue("rowCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"minRowCount",{get:function(){return this.getPropertyValue("minRowCount")},set:function(e){e<0&&(e=0),this.setPropertyValue("minRowCount",e)},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.onMinRowCountChanged=function(){var e=this.minRowCount;e>this.maxRowCount&&(this.maxRowCount=e),this.initialRowCount<e&&(this.initialRowCount=e),this.rowCount<e&&(this.rowCount=e)},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"maxRowCount",{get:function(){return this.getPropertyValue("maxRowCount")},set:function(e){e<=0||(e>nC.matrix.maxRowCount&&(e=nC.matrix.maxRowCount),e!=this.maxRowCount&&this.setPropertyValue("maxRowCount",e))},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.onMaxRowCountChanged=function(){var e=this.maxRowCount;e<this.minRowCount&&(this.minRowCount=e),this.rowCount>e&&(this.rowCount=e)},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"allowAddRows",{get:function(){return this.getPropertyValue("allowAddRows")},set:function(e){this.setPropertyValue("allowAddRows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"allowRemoveRows",{get:function(){return this.getPropertyValue("allowRemoveRows")},set:function(e){this.setPropertyValue("allowRemoveRows",e),this.isUpdateLocked||this.resetRenderedTable()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"canAddRow",{get:function(){return this.allowAddRows&&!this.isReadOnly&&this.rowCount<this.maxRowCount},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"canRemoveRows",{get:function(){var e=this.allowRemoveRows&&!this.isReadOnly&&this.rowCount>this.minRowCount;return this.canRemoveRowsCallback?this.canRemoveRowsCallback(e):e},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.canRemoveRow=function(e){if(!this.survey)return!0;var t=e.rowIndex-1;return(!(this.lockedRowCount>0)||!(t<this.lockedRowCount))&&this.survey.matrixAllowRemoveRow(this,t,e)},QuestionMatrixDynamicModel.prototype.addRowUI=function(){this.addRow(!0)},QuestionMatrixDynamicModel.prototype.getQuestionToFocusOnAddingRow=function(){if(0===this.visibleRows.length)return null;for(var e=this.visibleRows[this.visibleRows.length-1],t=0;t<e.cells.length;t++){var o=e.cells[t].question;if(o&&o.isVisible&&!o.isReadOnly)return o}return null},QuestionMatrixDynamicModel.prototype.addRow=function(e){var t=this.rowCount,o=this.canAddRow,n={question:this,canAddRow:o,allow:o};if(this.survey&&this.survey.matrixBeforeRowAdded(n),(o!==n.allow?n.allow:o!==n.canAddRow?n.canAddRow:o)&&(this.onStartRowAddingRemoving(),this.addRowCore(),this.onEndRowAdding(),this.detailPanelShowOnAdding&&this.visibleRows.length>0&&this.visibleRows[this.visibleRows.length-1].showDetailPanel(),e&&t!==this.rowCount)){var r=this.getQuestionToFocusOnAddingRow();r&&r.focus()}},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"detailPanelShowOnAdding",{get:function(){return this.getPropertyValue("detailPanelShowOnAdding")},set:function(e){this.setPropertyValue("detailPanelShowOnAdding",e)},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.hasRowsAsItems=function(){return!1},QuestionMatrixDynamicModel.prototype.unbindValue=function(){this.clearGeneratedRows(),this.clearPropertyValue("value"),this.rowCountValue=0,e.prototype.unbindValue.call(this)},QuestionMatrixDynamicModel.prototype.isValueSurveyElement=function(t){return this.isEditingSurveyElement||e.prototype.isValueSurveyElement.call(this,t)},QuestionMatrixDynamicModel.prototype.addRowCore=function(){var e=this.rowCount;this.rowCount=this.rowCount+1;var t=this.getDefaultRowValue(!0),o=null;if(this.isValueEmpty(t)||(o=this.createNewValue()).length!=this.rowCount||(o[o.length-1]=t,this.value=o),this.data){this.runCellsCondition(this.getDataFilteredValues(),this.getDataFilteredProperties());var n=this.visibleRows;
5if(this.isValueEmpty(t)&&n.length>0){var r=n[n.length-1];this.isValueEmpty(r.value)||(o||(o=this.createNewValue()),this.isValueSurveyElement(o)||this.isTwoValueEquals(o[o.length-1],r.value)||(o[o.length-1]=r.value,this.value=o))}}if(this.survey){var n=this.visibleRows;if(e+1==this.rowCount&&n.length>0){var r=n[n.length-1];this.survey.matrixRowAdded(this,r),this.onRowsChanged()}}},QuestionMatrixDynamicModel.prototype.getDefaultRowValue=function(e){for(var t=null,o=0;o<this.columns.length;o++){var n=this.columns[o].templateQuestion;n&&!this.isValueEmpty(n.getDefaultValue())&&((t=t||{})[this.columns[o].name]=n.getDefaultValue())}if(!this.isValueEmpty(this.defaultRowValue))for(var r in this.defaultRowValue)(t=t||{})[r]=this.defaultRowValue[r];if(e&&this.defaultValueFromLastRow){var i=this.value;if(i&&Array.isArray(i)&&i.length>=this.rowCount-1){var s=i[this.rowCount-2];for(var r in s)(t=t||{})[r]=s[r]}}return t},QuestionMatrixDynamicModel.prototype.focusAddBUtton=function(){var e=this.getRootElement();if(e&&this.cssClasses.buttonAdd){var t=e.querySelectorAll("."+this.cssClasses.buttonAdd)[0];t&&t.focus()}},QuestionMatrixDynamicModel.prototype.getActionCellIndex=function(e){var t=this.showHeader?1:0;return this.isColumnLayoutHorizontal?e.cells.length-1+t:this.visibleRows.indexOf(e)+t},QuestionMatrixDynamicModel.prototype.removeRowUI=function(e){var t=this;if(e&&e.rowName){var o=this.visibleRows.indexOf(e);if(o<0)return;e=o}this.removeRow(e,void 0,function(){var e=t.visibleRows.length,n=o>=e?e-1:o,r=n>-1?t.visibleRows[n]:void 0;setTimeout(function(){r?t.renderedTable.focusActionCell(r,t.getActionCellIndex(r)):t.focusAddBUtton()},10)})},QuestionMatrixDynamicModel.prototype.isRequireConfirmOnRowDelete=function(e){if(!this.confirmDelete||e<0||e>=this.rowCount)return!1;var t=this.createNewValue();return!this.isValueEmpty(t)&&!!Array.isArray(t)&&!(e>=t.length)&&!this.isValueEmpty(t[e])},QuestionMatrixDynamicModel.prototype.removeRow=function(e,t,o){var n=this;if(this.canRemoveRows&&!(e<0)&&!(e>=this.rowCount)){var r=this.visibleRows&&e<this.visibleRows.length?this.visibleRows[e]:null;if(void 0===t&&(t=this.isRequireConfirmOnRowDelete(e)),t){confirmActionAsync({message:this.confirmDeleteText,funcOnYes:function(){n.removeRowAsync(e,r),o&&o()},locale:this.getLocale(),rootElement:this.survey.rootElement,cssClass:this.cssClasses.confirmDialog});return}this.removeRowAsync(e,r),o&&o()}},QuestionMatrixDynamicModel.prototype.removeRowAsync=function(e,t){(!t||!this.survey||this.survey.matrixRowRemoving(this,e,t))&&(this.onStartRowAddingRemoving(),this.removeRowCore(e),this.onEndRowRemoving(t))},QuestionMatrixDynamicModel.prototype.removeRowCore=function(e){var t=this.generatedVisibleRows?this.generatedVisibleRows[e]:null;if(this.generatedVisibleRows&&e<this.generatedVisibleRows.length&&this.generatedVisibleRows.splice(e,1),this.rowCountValue--,this.value){var o=[];(o=Array.isArray(this.value)&&e<this.value.length?this.createValueCopy():this.createNewValue()).splice(e,1),o=this.deleteRowValue(o,null),this.isRowChanging=!0,this.value=o,this.isRowChanging=!1}this.onRowsChanged(),this.survey&&this.survey.matrixRowRemoved(this,e,t)},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"confirmDeleteText",{get:function(){return this.getLocalizableStringText("confirmDeleteText")},set:function(e){this.setLocalizableStringText("confirmDeleteText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"locConfirmDeleteText",{get:function(){return this.getLocalizableString("confirmDeleteText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"addRowText",{get:function(){return this.getLocalizableStringText("addRowText",this.defaultAddRowText)},set:function(e){this.setLocalizableStringText("addRowText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"locAddRowText",{get:function(){return this.getLocalizableString("addRowText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"defaultAddRowText",{get:function(){return this.getLocalizationString(this.isColumnLayoutHorizontal?"addRow":"addColumn")}
vendor: 7,961 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"addRowLocation",{get:function(){return this.getPropertyValue("addRowLocation")},set:function(e){this.setPropertyValue("addRowLocation",e)},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.getAddRowLocation=function(){return this.addRowLocation},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"hideColumnsIfEmpty",{get:function(){return this.getPropertyValue("hideColumnsIfEmpty")},set:function(e){this.setPropertyValue("hideColumnsIfEmpty",e)},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.getShowColumnsIfEmpty=function(){return this.hideColumnsIfEmpty},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"removeRowText",{get:function(){return this.getLocalizableStringText("removeRowText")},set:function(e){this.setLocalizableStringText("removeRowText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"locRemoveRowText",{get:function(){return this.getLocalizableString("removeRowText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"emptyRowsText",{get:function(){return this.getLocalizableStringText("emptyRowsText")},set:function(e){this.setLocalizableStringText("emptyRowsText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixDynamicModel.prototype,"locEmptyRowsText",{get:function(){return this.getLocalizableString("emptyRowsText")},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.getDisplayValueCore=function(e,t){if(!t||!Array.isArray(t))return t;for(var o=this.getUnbindValue(t),n=this.visibleRows,r=0;r<n.length&&r<o.length;r++){var i=o[r];i&&(o[r]=this.getRowDisplayValue(e,n[r],i))}return o},QuestionMatrixDynamicModel.prototype.getConditionObjectRowName=function(e){return"["+e.toString()+"]"},QuestionMatrixDynamicModel.prototype.getConditionObjectsRowIndeces=function(){for(var e=[],t=Math.max(this.rowCount,1),o=0;o<Math.min(nC.matrix.maxRowCountInCondition,t);o++)e.push(o);return e},QuestionMatrixDynamicModel.prototype.supportGoNextPageAutomatic=function(){return!1},Object.defineProperty(QuestionMatrixDynamicModel.prototype,"hasRowText",{get:function(){return!1},enumerable:!1,configurable:!0}),QuestionMatrixDynamicModel.prototype.onCheckForErrors=function(t,o,n){e.prototype.onCheckForErrors.call(this,t,o,n),!o&&this.hasErrorInMinRows()&&t.push(new nQ(this.minRowCount,this))},QuestionMatrixDynamicModel.prototype.hasErrorInMinRows=function(){if(this.minRowCount<=0||!this.isRequired||!this.generatedVisibleRows)return!1;for(var e=0,t=0;t<this.generatedVisibleRows.length;t++)!this.generatedVisibleRows[t].isEmpty&&e++;return e<this.minRowCount},QuestionMatrixDynamicModel.prototype.getUniqueColumnsNames=function(){var t=e.prototype.getUniqueColumnsNames.call(this),o=this.keyName;return o&&0>t.indexOf(o)&&t.push(o),t},QuestionMatrixDynamicModel.prototype.generateRows=function(){var e=[];if(0===this.rowCount)return e;for(var t=this.createNewValue(),o=0;o<this.rowCount;o++)e.push(this.createMatrixRow(this.getRowValueByIndex(t,o)));return this.isValueEmpty(this.getDefaultRowValue(!1))||(this.value=t),e},QuestionMatrixDynamicModel.prototype.createMatrixRow=function(e){return new r$(this.rowCounter++,this,e)},QuestionMatrixDynamicModel.prototype.getInsertedDeletedIndex=function(e,t){for(var o=Math.min(e.length,t.length),n=0;n<o;n++)if(t[n]!==e[n].editingObj)return n;return o},QuestionMatrixDynamicModel.prototype.isEditingObjectValueChanged=function(){var e=this.value;if(!this.generatedVisibleRows||!this.isValueSurveyElement(e))return!1;var t=this.lastDeletedRow;this.lastDeletedRow=void 0;var o=this.generatedVisibleRows;if(!Array.isArray(e)||Math.abs(o.length-e.length)>1||o.length===e.length)return!1;var n=this.getInsertedDeletedIndex(o,e);if(o.length>e.length){this.lastDeletedRow=o[n];var r=o[n];o.splice(n,1),this.isRendredTableCreated&&this.renderedTable.onRemovedRow(r)}else{var i=void 0;t&&t.editingObj===e[n]?i=t:(t=void 0,i=this.createMatrixRow(e[n])),o.splice(n,0,i),t||this.onMatrixRowCreated(i),this.isRendredTableCreated&&this.renderedTable.onAddedRow(i,n)}return this.setPropertyValueDirectly("rowCount",e.length),!0},QuestionMatrixDynamicModel.prototype.updateValueFromSurvey=function(t,o){if(void 0===o&&(o=!1),this.setRowCountValueFromData=!0,this.minRowCount>0&&oe.isValueEmpty(t)&&!oe.isValueEmpty(this.defaultRowValue)){t=[];for(var n=0;n<this.minRowCount;n++)t.push(oe.createCopy(this.defaultRowValue))}e.prototype.updateValueFromSurvey.call(this,t,o),this.setRowCountValueFromData=!1},QuestionMatrixDynamicModel.prototype.getFilteredDataCore=function(){var e=[],t=this.createValueCopy();if(!Array.isArray(t))return e;for(var o=this.generatedVisibleRows,n=0;n<o.length&&n<t.length;n++){var r=t[n];o[n].isVisible&&!oe.isValueEmpty(r)&&e.push(r)}return e},QuestionMatrixDynamicModel.prototype.onBeforeValueChanged=function(e){if(e&&Array.isArray(e)){var t=e.length;if(!(t==this.rowCount||!this.setRowCountValueFromData&&t<this.initialRowCount||this.isEditingObjectValueChanged())&&(this.setRowCountValueFromData=!0,this.rowCountValue=t,this.generatedVisibleRows)){if(t==this.generatedVisibleRows.length+1){this.onStartRowAddingRemoving();var o=this.getRowValueByIndex(e,t-1),n=this.createMatrixRow(o);this.generatedVisibleRows.push(n),this.onMatrixRowCreated(n),this.onEndRowAdding()}else this.clearGeneratedRows(),this.getVisibleRows(),this.onRowsChanged();this.setRowCountValueFromData=!1}}},QuestionMatrixDynamicModel.prototype.createNewValue=function(){var e=this.createValueCopy();e&&Array.isArray(e)||(e=[]),e.length>this.rowCount&&e.splice(this.rowCount);var t=this.getDefaultRowValue(!1);t=t||{};for(var o=e.length;o<this.rowCount;o++)e.push(this.getUnbindValue(t));return e},QuestionMatrixDynamicModel.prototype.deleteRowValue=function(e,t){if(!Array.isArray(e))return e;for(var o=!0,n=0;n<e.length;n++)if(this.isObject(e[n])&&Object.keys(e[n]).length>0){o=!1;break}return o?null:e},QuestionMatrixDynamicModel.prototype.getRowValueByIndex=function(e,t){return Array.isArray(e)&&t>=0&&t<e.length?e[t]:null},QuestionMatrixDynamicModel.prototype.getRowValueCore=function(e,t,o){if(void 0===o&&(o=!1),!this.generatedVisibleRows)return{};var n=this.getRowValueByIndex(t,this.generatedVisibleRows.indexOf(e));return!n&&o&&(n={}),n},QuestionMatrixDynamicModel.prototype.getAddRowButtonCss=function(e){return void 0===e&&(e=!1),new oY().append(this.cssClasses.button).append(this.cssClasses.buttonAdd).append(this.cssClasses.emptyRowsButton,e).toString()},QuestionMatrixDynamicModel.prototype.getRemoveRowButtonCss=function(){return new oY().append(this.cssClasses.button).append(this.cssClasses.buttonRemove).toString()},QuestionMatrixDynamicModel.prototype.getRootCss=function(){var t;return new oY().append(e.prototype.getRootCss.call(this)).append(this.cssClasses.empty,!(null===(t=this.renderedTable)||void 0===t?void 0:t.showTable)).toString()},QuestionMatrixDynamicModel}(rk),rG=function(e){function QuestionMatrixDynamicRenderedTable(){return null!==e&&e.apply(this,arguments)||this}return rW(QuestionMatrixDynamicRenderedTable,e),QuestionMatrixDynamicRenderedTable.prototype.setDefaultRowActions=function(t,o){e.prototype.setDefaultRowActions.call(this,t,o)},QuestionMatrixDynamicRenderedTable}(r_);ov.addClass("matrixdynamic",[{name:"allowAddRows:boolean",default:!0},{name:"allowRemoveRows:boolean",default:!0},{name:"rowCount:number",default:2,minValue:0,isBindable:!0},{name:"minRowCount:number",default:0,minValue:0},{name:"maxRowCount:number",default:nC.matrix.maxRowCount},{name:"keyName"},"defaultRowValue:rowvalue","defaultValueFromLastRow:boolean",{name:"confirmDelete:boolean"},{name:"confirmDeleteText",dependsOn:"confirmDelete",visibleIf:function(e){return!e||e.confirmDelete},serializationProperty:"locConfirmDeleteText"},{name:"addRowLocation",default:"default",choices:["default","to
5p","bottom","topBottom"]},{name:"addRowText",serializationProperty:"locAddRowText"},{name:"removeRowText",serializationProperty:"locRemoveRowText"},"hideColumnsIfEmpty:boolean",{name:"emptyRowsText:text",serializationProperty:"locEmptyRowsText",dependsOn:"hideColumnsIfEmpty",visibleIf:function(e){return!e||e.hideColumnsIfEmpty}},{name:"detailPanelShowOnAdding:boolean",dependsOn:"detailPanelMode",visibleIf:function(e){return"none"!==e.detailPanelMode}},"allowRowsDragAndDrop:switch"],function(){return new rJ("")},"matrixdropdownbase"),rh.Instance.registerQuestion("matrixdynamic",function(e){var t=new rJ(e);return t.choices=[1,2,3,4,5],rk.addDefaultColumns(t),t});var rK={currentType:"",getCss:function(){var e=this.currentType?this[this.currentType]:rZ;return e||(e=rZ),e},getAvailableThemes:function(){return Object.keys(this).filter(function(e){return -1===["currentType","getCss","getAvailableThemes"].indexOf(e)})}},rZ
vendor: 34,695 bytes, line 5
5={root:"sd-root-modern",rootProgress:"sd-progress",rootMobile:"sd-root-modern--mobile",rootAnimationDisabled:"sd-root-modern--animation-disabled",rootReadOnly:"sd-root--readonly",rootCompact:"sd-root--compact",rootFitToContainer:"sd-root-modern--full-container",rootWrapper:"sd-root-modern__wrapper",rootWrapperFixed:"sd-root-modern__wrapper--fixed",rootWrapperHasImage:"sd-root-modern__wrapper--has-image",rootBackgroundImage:"sd-root_background-image",container:"sd-container-modern",header:"sd-title sd-container-modern__title",bodyContainer:"sv-components-row",body:"sd-body",bodyWithTimer:"sd-body--with-timer",clockTimerRoot:"sd-timer",clockTimerRootTop:"sd-timer--top",clockTimerRootBottom:"sd-timer--bottom",clockTimerProgress:"sd-timer__progress",clockTimerProgressAnimation:"sd-timer__progress--animation",clockTimerTextContainer:"sd-timer__text-container",clockTimerMinorText:"sd-timer__text--minor",clockTimerMajorText:"sd-timer__text--major",bodyEmpty:"sd-body sd-body--empty",bodyLoading:"sd-body--loading",footer:"sd-footer sd-body__navigation sd-clearfix",title:"sd-title",description:"sd-description",logo:"sd-logo",logoImage:"sd-logo__image",headerText:"sd-header__text",headerClose:"sd-hidden",navigationButton:"",bodyNavigationButton:"sd-btn",completedPage:"sd-completedpage",completedBeforePage:"sd-completed-before-page",timerRoot:"sd-body__timer",navigation:{complete:"sd-btn--action sd-navigation__complete-btn",prev:"sd-navigation__prev-btn",next:"sd-navigation__next-btn",start:"sd-navigation__start-btn",preview:"sd-navigation__preview-btn",edit:"sd-btn sd-btn--small"},panel:{contentEnter:"sd-element__content--enter",contentLeave:"sd-element__content--leave",enter:"sd-element-wrapper--enter",leave:"sd-element-wrapper--leave",asPage:"sd-panel--as-page",number:"sd-element__num",title:"sd-title sd-element__title sd-panel__title",titleExpandable:"sd-element__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleNumInline:"sd-element__title--num-inline",titleExpanded:"sd-element__title--expanded",titleCollapsed:"sd-element__title--collapsed",titleDisabled:"sd-element__title--disabled",titleOnExpand:"sd-panel__title--expanded",titleOnError:"sd-panel__title--error",titleBar:"sd-action-title-bar",description:"sd-description sd-panel__description",container:"sd-element sd-element--complex sd-panel sd-row__panel",withFrame:"sd-element--with-frame",content:"sd-element__content sd-panel__content",icon:"sd-panel__icon",iconExpanded:"sd-panel__icon--expanded",footer:"sd-panel__footer",requiredText:"sd-panel__required-text",header:"sd-panel__header sd-element__header sd-element__header--location-top",collapsed:"sd-element--collapsed",expanded:"sd-element--expanded",expandable:"sd-element--expandable",expandableAnimating:"sd-elemenet--expandable--animating",nested:"sd-element--nested sd-element--nested-with-borders",invisible:"sd-element--invisible",navigationButton:"",compact:"sd-element--with-frame sd-element--compact",errorsContainer:"sd-panel__errbox sd-element__erbox sd-element__erbox--above-element"},paneldynamic:{mainRoot:"sd-element sd-question sd-question--paneldynamic sd-element--complex sd-question--complex sd-row__question",empty:"sd-question--empty",root:"sd-paneldynamic",iconRemove:"sd-hidden",navigation:"sd-paneldynamic__navigation",title:"sd-title sd-element__title sd-question__title",header:"sd-paneldynamic__header sd-element__header",headerTab:"sd-paneldynamic__header-tab",button:"sd-action sd-paneldynamic__btn",buttonRemove:"sd-action--negative sd-paneldynamic__remove-btn",buttonAdd:"sd-paneldynamic__add-btn",buttonPrev:"sd-paneldynamic__prev-btn sd-action--icon sd-action",buttonPrevDisabled:"sd-action--disabled",buttonNextDisabled:"sd-action--disabled",buttonNext:"sd-paneldynamic__next-btn sd-action--icon sd-action",progressContainer:"sd-paneldynamic__progress-container",progress:"sd-progress",progressBar:"sd-progress__bar",nested:"sd-element--nested sd-element--nested-with-borders",progressText:"sd-paneldynamic__progress-text",separator:"sd-paneldynamic__separator",panelWrapper:"sd-paneldynamic__panel-wrapper",footer:"sd-paneldynamic__footer",panelFooter:"sd-paneldynamic__panel-footer",footerButtonsContainer:"sd-paneldynamic__buttons-container",panelsContainer:"sd-paneldynamic__panels-container",panelWrapperInRow:"sd-paneldynamic__panel-wrapper--in-row",panelWrapperEnter:"sd-paneldynamic__panel-wrapper--enter",panelWrapperLeave:"sd-paneldynamic__panel-wrapper--leave",panelWrapperList:"sd-paneldynamic__panel-wrapper--list",progressBtnIcon:"icon-progressbuttonv2",noEntriesPlaceholder:"sd-paneldynamic__placeholder sd-question__placeholder",compact:"sd-element--with-frame sd-element--compact",tabsContainer:"sd-paneldynamic__tabs-container",tabsContainerWithHeader:"sd-paneldynamic__tabs-container--with-header",tabsRoot:"sd-tabs-toolbar",tabsLeft:"sd-tabs-toolbar--left",tabsRight:"sd-tabs-toolbar--right",tabsCenter:"sd-tabs-toolbar--center",tabs:{item:"sd-tab-item",itemPressed:"sd-tab-item--pressed",itemAsIcon:"sd-tab-item--icon",itemIcon:"sd-tab-item__icon",itemTitle:"sd-tab-item__title"}},progress:"sd-progress sd-body__progress",progressTop:"sd-body__progress--top",progressBottom:"sd-body__progress--bottom",progressBar:"sd-progress__bar",progressText:"sd-progress__text",progressButtonsRoot:"sd-progress-buttons",progressButtonsNumbered:"sd-progress-buttons--numbered",progressButtonsFitSurveyWidth:"sd-progress-buttons--fit-survey-width",progressButtonsContainerCenter:"sd-progress-buttons__container-center",progressButtonsContainer:"sd-progress-buttons__container",progressButtonsConnector:"sd-progress-buttons__connector",progressButtonsButton:"sd-progress-buttons__button",progressButtonsButtonBackground:"sd-progress-buttons__button-background",progressButtonsButtonContent:"sd-progress-buttons__button-content",progressButtonsHeader:"sd-progress-buttons__header",progressButtonsFooter:"sd-progress-buttons__footer",progressButtonsImageButtonLeft:"sd-progress-buttons__image-button-left",progressButtonsImageButtonRight:"sd-progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sd-progress-buttons__image-button--hidden",progressButtonsListContainer:"sd-progress-buttons__list-container",progressButtonsList:"sd-progress-buttons__list",progressButtonsListElementPassed:"sd-progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sd-progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sd-progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sd-progress-buttons__page-title",progressButtonsPageDescription:"sd-progress-buttons__page-description",progressTextInBar:"sd-hidden",page:{root:"sd-page sd-body__page",emptyHeaderRoot:"sd-page__empty-header",title:"sd-title sd-page__title",description:"sd-description sd-page__description",number:"sd-page__num",errorsContainer:"sd-page__errbox"},pageTitle:"sd-title sd-page__title",pageDescription:"sd-description sd-page__description",row:"sd-row sd-clearfix",rowMultiple:"sd-row--multiple",rowCompact:"sd-row--compact",rowEnter:"sd-row--enter",rowDelayedEnter:"sd-row--delayed-enter",rowLeave:"sd-row--leave",rowReplace:"sd-row--replace",pageRow:"sd-page__row",question:{contentEnter:"sd-element__content--enter",contentLeave:"sd-element__content--leave",enter:"sd-element-wrapper--enter",leave:"sd-element-wrapper--leave",mobile:"sd-question--mobile",mainRoot:"sd-element sd-question sd-row__question",flowRoot:"sd-element sd-question sd-row__question sd-row__question--flow",withFrame:"sd-element--with-frame",asCell:"sd-table__cell",answered:"sd-question--answered",header:"sd-question__header sd-element__header",headerLeft:"sd-question__header--location--left",headerTop:"sd-question__header--location-top sd-element__header--location-top",headerBottom:"sd-question__header--location--bottom",content:"sd-element__content sd-question__content",contentSupportContainerQueries:"sd-question__content--support-container-queries",contentLeft:"sd-question__content--left",titleNumInline:"sd-element__title--num-inline",titleLeftRoot:"sd-question--left",titleTopRoot:"sd-question--title-top",descriptionUnderInputRoot:"sd-question--description-under-input",titleBottomRoot:"sd-question--title-bottom",titleOnAnswer:"sd-question__title--answer",titleEmpty:"sd-question__title--empty",titleOnError:"sd-question__title--error",title:"sd-title sd-element__title sd-question__title",titleExpandable:"sd-element__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sd-element__title--expanded",titleCollapsed:"sd-element__title--collapsed",titleDisabled:"sd-element__title--disabled",titleReadOnly:"sd-element__title--readonly",titleBar:"sd-action-title-bar",requiredText:"sd-question__required-text",number:"sd-element__num",description:"sd-description sd-question__description",descriptionUnderInput:"sd-question__description--under-input",comment:"sd-input sd-comment",other:"sd-input sd-comment",required:"sd-question--required",titleRequired:"sd-question__title--required",indent:20,footer:"sd-question__footer",commentArea:"sd-question__comment-area",formGroup:"sd-question__form-group",hasError:"sd-question--error",hasErrorTop:"sd-question--error-top",hasErrorBottom:"sd-question--error-bottom",collapsed:"sd-element--collapsed",expandable:"sd-element--expandable",expandableAnimating:"sd-elemenet--expandable--animating",expanded:"sd-element--expanded",nested:"sd-element--nested",invisible:"sd-element--invisible",composite:"sd-element--complex sd-composite",disabled:"sd-question--disabled",readOnly:"sd-question--readonly",preview:"sd-question--preview",noPointerEventsMode:"sd-question--no-pointer-events",errorsContainer:"sd-element__erbox sd-question__erbox",errorsContainerTop:"sd-element__erbox--above-element sd-question__erbox--above-question",errorsContainerBottom:"sd-question__erbox--below-question",confirmDialog:"sd-popup--confirm sv-popup--confirm"},image:{mainRoot:"sd-question sd-question--image",root:"sd-image",image:"sd-image__image",adaptive:"sd-image__image--adaptive",noImage:"sd-image__no-image",noImageSvgIconId:"icon-no-image",withFrame:""},html:{mainRoot:"sd-question sd-row__question sd-question--html",root:"sd-html",withFrame:"",nested:"sd-element--nested sd-html--nested"},error:{root:"sd-error",icon:"",item:"",locationTop:"",locationBottom:""},checkbox:{root:"sd-selectbase",rootMobile:"sd-selectbase--mobile",rootRow:"sd-selectbase--row",rootMultiColumn:"sd-selectbase--multi-column",item:"sd-item sd-checkbox sd-selectbase__item",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",itemOnError:"sd-item--error",itemSelectAll:"sd-checkbox--selectall",itemNone:"sd-checkbox--none",itemDisabled:"sd-item--disabled sd-checkbox--disabled",itemReadOnly:"sd-item--readonly sd-checkbox--readonly",itemPreview:"sd-item--preview sd-checkbox--preview",itemPreviewSvgIconId:"#icon-check-16x16",itemChecked:"sd-item--checked sd-checkbox--checked",itemHover:"sd-item--allowhover sd-checkbox--allowhover",itemInline:"sd-selectbase__item--inline",label:"sd-selectbase__label",labelChecked:"",itemControl:"sd-visuallyhidden sd-item__control sd-checkbox__control",itemDecorator:"sd-item__svg sd-checkbox__svg",itemSvgIconId:"#icon-check-16x16",controlLabel:"sd-item__control-label",materialDecorator:"sd-item__decorator sd-checkbox__decorator",other:"sd-input sd-comment sd-selectbase__other",column:"sd-selectbase__column"},radiogroup:{root:"sd-selectbase",rootMobile:"sd-selectbase--mobile",rootRow:"sd-selectbase--row",rootMultiColumn:"sd-selectbase--multi-column",item:"sd-item sd-radio sd-selectbase__item",itemOnError:"sd-item--error",itemInline:"sd-selectbase__item--inline",label:"sd-selectbase__label",labelChecked:"",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",itemDisabled:"sd-item--disabled sd-radio--disabled",itemReadOnly:"sd-item--readonly sd-radio--readonly",itemPreview:"sd-item--preview sd-radio--preview",itemPreviewSvgIconId:"#icon-check-16x16",itemChecked:"sd-item--checked sd-radio--checked",itemHover:"sd-item--allowhover sd-radio--allowhover",itemControl:"sd-visuallyhidden sd-item__control sd-radio__control",itemDecorator:"sd-item__svg sd-radio__svg",controlLabel:"sd-item__control-label",materialDecorator:"sd-item__decorator sd-radio__decorator",other:"sd-input sd-comment sd-selectbase__other",clearButton:"",column:"sd-selectbase__column"},boolean:{mainRoot:"sd-element sd-question sd-row__question sd-question--boolean",root:"sv_qcbc sv_qbln sd-scrollable-container sd-boolean-root",rootRadio:"sv_qcbc sv_qbln sd-scrollable-container sd-scrollable-container--compact",item:"sd-boolean",itemOnError:"sd-boolean--error",control:"sd-boolean__control sd-visuallyhidden",itemChecked:"sd-boolean--checked",itemExchanged:"sd-boolean--exchanged",itemIndeterminate:"sd-boolean--indeterminate",itemDisabled:"sd-boolean--disabled",itemReadOnly:"sd-boolean--readonly",itemPreview:"sd-boolean--preview",itemHover:"sd-boolean--allowhover",label:"sd-boolean__label",labelTrue:"sd-boolean__label--true",labelFalse:"sd-boolean__label--false",switch:"sd-boolean__switch",disabledLabel:"sd-checkbox__label--disabled",labelReadOnly:"sd-checkbox__label--readonly",labelPreview:"sd-checkbox__label--preview",sliderText:"sd-boolean__thumb-text",slider:"sd-boolean__thumb",sliderGhost:"sd-boolean__thumb-ghost",radioItem:"sd-item",radioItemChecked:"sd-item--checked sd-radio--checked",radioItemDisabled:"sd-item--disabled sd-radio--disabled",radioItemReadOnly:"sd-item--readonly sd-radio--readonly",radioItemPreview:"sd-item--preview sd-radio--preview",itemPreviewSvgIconId:"#icon-check-16x16",radioLabel:"sd-selectbase__label",radioControlLabel:"sd-item__control-label",radioFieldset:"sd-selectbase",itemRadioDecorator:"sd-item__svg sd-radio__svg",materialRadioDecorator:"sd-item__decorator sd-radio__decorator",itemRadioControl:"sd-visuallyhidden sd-item__control sd-radio__control",rootCheckbox:"sd-selectbase",checkboxItem:"sd-item sd-selectbase__item sd-checkbox",checkboxLabel:"sd-selectbase__label",checkboxItemOnError:"sd-item--error",checkboxItemIndeterminate:"sd-checkbox--intermediate",checkboxItemChecked:"sd-item--checked sd-checkbox--checked",checkboxItemDecorator:"sd-item__svg sd-checkbox__svg",checkboxItemDisabled:"sd-item--disabled sd-checkbox--disabled",checkboxItemReadOnly:"sd-item--readonly sd-checkbox--readonly",checkboxItemPreview:"sd-item--preview sd-checkbox--preview",controlCheckbox:"sd-visuallyhidden sd-item__control sd-checkbox__control",checkboxMaterialDecorator:"sd-item__decorator sd-checkbox__decorator",checkboxControlLabel:"sd-item__control-label",svgIconCheckedId:"#icon-check-16x16"},text:{root:"sd-input sd-text",small:"sd-row__question--small",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",constrolWithCharacterCounter:"sd-text__character-counter",characterCounterBig:"sd-text__character-counter--big",content:"sd-text__content sd-question__content",remainingCharacterCounter:"sd-remaining-character-counter",onError:"sd-input--error"},multipletext:{root:"sd-multipletext",rootMobile:"sd-multipletext--mobile",itemLabel:"sd-multipletext__item-container sd-input",itemLabelReadOnly:"sd-input--readonly",itemLabelDisabled:"sd-input--disabled",itemLabelPreview:"sd-input--preview",itemLabelOnError:"sd-multipletext__item-container--error",itemLabelAllowFocus:"sd-multipletext__item-container--allow-focus",itemLabelAnswered:"sd-multipletext__item-container--answered",itemWithCharacterCounter:"sd-multipletext-item__character-counter",item:"sd-multipletext__item",itemTitle:"sd-multipletext__item-title",content:"sd-multipletext__content sd-question__content",row:"sd-multipletext__row",cell:"sd-multipletext__cell",cellError:"sd-multipletext__cell--error",cellErrorTop:"sd-multipletext__cell--error-top",cellErrorBottom:"sd-multipletext__cell--error-bottom"},dropdown:{root:"sd-selectbase",popup:"sv-dropdown-popup",small:"sd-row__question--small",selectWrapper:"sv-dropdown_select-wrapper",other:"sd-input sd-comment sd-selectbase__other",onError:"sd-input--error",label:"sd-selectbase__label",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",item:"sd-item sd-radio sd-selectbase__item",itemDisabled:"sd-item--disabled sd-radio--disabled",itemChecked:"sd-item--checked sd-radio--checked",itemHover:"sd-item--allowhover sd-radio--allowhover",itemControl:"sd-visuallyhidden sd-item__control sd-radio__control",itemDecorator:"sd-item__svg sd-radio__svg",cleanButton:"sd-dropdown_clean-button",cleanButtonSvg:"sd-dropdown_clean-button-svg",cleanButtonIconId:"icon-cancel",chevronButton:"sd-dropdown_chevron-button",chevronButtonSvg:"sd-dropdown_chevron-button-svg",chevronButtonIconId:"icon-chevron",control:"sd-input sd-dropdown",controlInputFieldComponent:"sd-dropdown__input-field-component",controlValue:"sd-dropdown__value",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",controlEmpty:"sd-dropdown--empty",controlLabel:"sd-item__control-label",filterStringInput:"sd-dropdown__filter-string-input",materialDecorator:"sd-item__decorator sd-radio__decorator",hintPrefix:"sd-dropdown__hint-prefix",hintSuffix:"sd-dropdown__hint-suffix"},imagepicker:{mainRoot:"sd-element sd-question sd-row__question",root:"sd-selectbase sd-imagepicker",rootResponsive:"sd-imagepicker--responsive",rootStatic:"sd-imagepicker--static",rootColumn:"sd-imagepicker--column",item:"sd-imagepicker__item",itemOnError:"sd-imagepicker__item--error",itemInline:"sd-imagepicker__item--inline",itemChecked:"sd-imagepicker__item--checked",itemDisabled:"sd-imagepicker__item--disabled",itemReadOnly:"sd-imagepicker__item--readonly",itemPreview:"sd-imagepicker__item--preview",itemHover:"sd-imagepicker__item--allowhover",label:"sd-imagepicker__label",itemDecorator:"sd-imagepicker__item-decorator",imageContainer:"sd-imagepicker__image-container",itemControl:"sd-imagepicker__control sd-visuallyhidden",image:"sd-imagepicker__image",itemText:"sd-imagepicker__text",other:"sd-input sd-comment",itemNoImage:"sd-imagepicker__no-image",itemNoImageSvgIcon:"sd-imagepicker__no-image-svg",itemNoImageSvgIconId:"icon-no-image",column:"sd-selectbase__column sd-imagepicker__column",checkedItemDecorator:"sd-imagepicker__check-decorator",checkedItemSvgIcon:"sd-imagepicker__check-icon",checkedItemSvgIconId:"icon-check-24x24"},matrix:{mainRoot:"sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",tableWrapper:"sd-matrix sd-table-wrapper",root:"sd-table sd-matrix__table",columnsAutoWidth:"sd-table--columnsautowidth",noHeader:"sd-table--no-header",rootVerticalAlignTop:"sd-table--align-top",rootVerticalAlignMiddle:"sd-table--align-middle",rootAlternateRows:"sd-table--alternate-rows",rowError:"sd-matrix__row--error",cell:"sd-table__cell sd-matrix__cell",row:"sd-table__row",rowDisabled:"sd-table__row-disabled",rowReadOnly:"sd-table__row-readonly",headerCell:"sd-table__cell sd-table__cell--header",rowTextCell:"sd-table__cell sd-matrix__cell sd-table__cell--row-text",label:"sd-item sd-radio sd-matrix__label",itemOnError:"sd-item--error",itemValue:"sd-visuallyhidden sd-item__control sd-radio__control",itemChecked:"sd-item--checked sd-radio--checked",itemDisabled:"sd-item--disabled sd-radio--disabled",itemReadOnly:"sd-item--readonly sd-radio--readonly",itemPreview:"sd-item--preview sd-radio--preview",itemPreviewSvgIconId:"#icon-check-16x16",itemHover:"sd-radio--allowhover",materialDecorator:"sd-item__decorator sd-radio__decorator",itemDecorator:"sd-item__svg sd-radio__svg",cellText:"sd-matrix__text",cellTextSelected:"sd-matrix__text--checked",cellTextDisabled:"sd-matrix__text--disabled",cellResponsiveTitle:"sd-matrix__responsive-title",compact:"sd-element--with-frame sd-element--compact"},matrixdropdown:{mainRoot:"sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",rootScroll:"sd-question--scroll",root:"sd-table sd-matrixdropdown",columnsAutoWidth:"sd-table--columnsautowidth",noHeader:"sd-table--no-header",hasFooter:"sd-table--has-footer",rootVerticalAlignTop:"sd-table--align-top",rootVerticalAlignMiddle:"sd-table--align-middle",tableWrapper:"sd-table-wrapper",rootAlternateRows:"sd-table--alternate-rows",cell:"sd-table__cell",cellResponsiveTitle:"sd-table__responsive-title",errorsCell:"sd-table__cell--error",errorsCellTop:"sd-table__cell--error-top",errorsCellBottom:"sd-table__cell--error-bottom",itemCell:"sd-table__cell--item",row:"sd-table__row",rowDelayedEnter:"sd-table__row--delayed-enter",rowEnter:"sd-table__row--enter",rowLeave:"sd-table__row--leave",expandedRow:"sd-table__row--expanded",rowHasPanel:"sd-table__row--has-panel",rowHasEndActions:"sd-table__row--has-end-actions",headerCell:"sd-table__cell sd-table__cell--header",rowTextCell:"sd-table__cell sd-table__cell--row-text",footerCell:"sd-table__cell sd-table__cell--footer",footerTotalCell:"sd-table__cell sd-table__cell--footer-total",columnTitleCell:"sd-table__cell--column-title",cellRequiredText:"sd-question__required-text",detailButton:"sd-table__cell--detail-button",detailButtonExpanded:"sd-table__cell--detail-button--expanded",detailIcon:"sd-detail-panel__icon",detailIconExpanded:"sd-detail-panel__icon--expanded",detailIconId:"icon-expanddetail",detailIconExpandedId:"icon-collapsedetail",detailPanelCell:"sd-table__cell--detail-panel",detailRowCell:"sd-table__cell--detail",actionsCellPrefix:"sd-table__cell-action",actionsCell:"sd-table__cell sd-table__cell--actions",actionsCellDrag:"sd-table__cell--drag",emptyCell:"sd-table__cell--empty",verticalCell:"sd-table__cell--vertical",cellQuestionWrapper:"sd-matrix__question-wrapper sd-table__question-wrapper",compact:"sd-element--with-frame sd-element--compact"},matrixdynamic:{mainRoot:"sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",rootScroll:"sd-question--scroll",empty:"sd-question--empty",root:"sd-table sd-matrixdynamic",columnsAutoWidth:"sd-table--columnsautowidth",noHeader:"sd-table--no-header",hasFooter:"sd-table--has-footer",tableWrapper:"sd-table-wrapper",rootAlternateRows:"sd-table--alternate-rows",content:"sd-matrixdynamic__content sd-question__content",cell:"sd-table__cell",cellResponsiveTitle:"sd-table__responsive-title",row:"sd-table__row",rowDelayedEnter:"sd-table__row--delayed-enter",rowEnter:"sd-table__row--enter",rowLeave:"sd-table__row--leave",rowHasPanel:"sd-table__row--has-panel",rowHasEndActions:"sd-table__row--has-end-actions",expandedRow:"sd-table__row--expanded",itemCell:"sd-table__cell--item",headerCell:"sd-table__cell sd-table__cell--header",rowTextCell:"sd-table__cell sd-table__cell--row-text",footerCell:"sd-table__cell sd-table__cell--footer",columnTitleCell:"sd-table__cell--column-title",cellRequiredText:"sd-question__required-text",button:"sd-action sd-matrixdynamic__btn",detailRow:"sd-table__row sd-table__row--detail",detailButton:"sd-table__cell--detail-button",detailButtonExpanded:"sd-table__cell--detail-button--expanded",detailIcon:"sd-detail-panel__icon",detailIconExpanded:"sd-detail-panel__icon--expanded",detailIconId:"icon-expanddetail",detailIconExpandedId:"icon-collapsedetail",detailPanelCell:"sd-table__cell--detail-panel",detailRowCell:"sd-table__cell--detail",actionsCellPrefix:"sd-table__cell-action",actionsCell:"sd-table__cell sd-table__cell--actions",actionsCellDrag:"sd-table__cell--drag",buttonAdd:"sd-matrixdynamic__add-btn",buttonRemove:"sd-action--negative sd-matrixdynamic__remove-btn",iconAdd:"sd-hidden",iconRemove:"",dragElementDecorator:"sd-drag-element__svg",iconDragElement:"#icon-drag-24x24",footer:"sd-matrixdynamic__footer",footerTotalCell:"sd-table__cell sd-table__cell--footer-total",emptyRowsSection:"sd-matrixdynamic__placeholder sd-question__placeholder",iconDrag:"sv-matrixdynamic__drag-icon",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row",emptyCell:"sd-table__cell--empty",verticalCell:"sd-table__cell--vertical",cellQuestionWrapper:"sd-matrix__question-wrapper sd-table__question-wrapper",errorsCell:"sd-table__cell--error",errorsCellTop:"sd-table__cell--error-top",errorsCellBottom:"sd-table__cell--error-bottom",compact:"sd-element--with-frame sd-element--compact"},rating:{rootDropdown:"sd-scrollable-container sd-scrollable-container--compact sd-selectbase",root:"sd-scrollable-container sd-rating",rootWrappable:"sd-rating--wrappable",rootLabelsTop:"sd-rating--labels-top",rootLabelsBottom:"sd-rating--labels-bottom",rootLabelsDiagonal:"sd-rating--labels-diagonal",item:"sd-rating__item",itemOnError:"sd-rating__item--error",itemHover:"sd-rating__item--allowhover",selected:"sd-rating__item--selected",itemStar:"sd-rating__item-star",itemStarOnError:"sd-rating__item-star--error",itemStarHover:"sd-rating__item-star--allowhover",itemStarSelected:"sd-rating__item-star--selected",itemStarDisabled:"sd-rating__item-star--disabled",itemStarReadOnly:"sd-rating__item-star--readonly",itemStarPreview:"sd-rating__item-star--preview",itemStarHighlighted:"sd-rating__item-star--highlighted",itemStarUnhighlighted:"sd-rating__item-star--unhighlighted",itemStarSmall:"sd-rating__item-star--small",itemSmiley:"sd-rating__item-smiley",itemSmileyOnError:"sd-rating__item-smiley--error",itemSmileyHover:"sd-rating__item-smiley--allowhover",itemSmileySelected:"sd-rating__item-smiley--selected",itemSmileyDisabled:"sd-rating__item-smiley--disabled",itemSmileyReadOnly:"sd-rating__item-smiley--readonly",itemSmileyPreview:"sd-rating__item-smiley--preview",itemSmileyHighlighted:"sd-rating__item-star--highlighted",itemSmileyScaleColored:"sd-rating__item-smiley--scale-colored",itemSmileyRateColored:"sd-rating__item-smiley--rate-colored",itemSmileySmall:"sd-rating__item-smiley--small",minText:"sd-rating__item-text sd-rating__min-text",itemText:"sd-rating__item-text",maxText:"sd-rating__item-text sd-rating__max-text",itemDisabled:"sd-rating__item--disabled",itemReadOnly:"sd-rating__item--readonly",itemPreview:"sd-rating__item--preview",itemFixedSize:"sd-rating__item--fixed-size",control:"sd-input sd-dropdown",itemSmall:"sd-rating--small",selectWrapper:"sv-dropdown_select-wrapper",controlValue:"sd-dropdown__value",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",controlEmpty:"sd-dropdown--empty",filterStringInput:"sd-dropdown__filter-string-input",chevronButton:"sd-dropdown_chevron-button",chevronButtonSvg:"sd-dropdown_chevron-button-svg",chevronButtonIconId:"icon-chevron",popup:"sv-dropdown-popup",onError:"sd-input--error"},comment:{root:"sd-input sd-comment",small:"sd-row__question--small",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",content:"sd-comment__content sd-question__content",remainingCharacterCounter:"sd-remaining-character-counter",onError:"sd-input--error"},expression:"sd-expression",file:{root:"sd-file",rootDragging:"sd-file--dragging",rootAnswered:"sd-file--answered",rootDisabled:"sd-file--disabled",rootReadOnly:"sd-file--readonly",rootPreview:"sd-file--preview",other:"sd-input sd-comment",placeholderInput:"sd-visuallyhidden",previewItem:"sd-file__preview-item",fileSign:"",fileList:"sd-file__list",fileSignBottom:"sd-file__sign",dragArea:"sd-file__drag-area",dragAreaActive:"sd-file__drag-area--active",fileDecorator:"sd-file__decorator",onError:"sd-file__decorator--error",fileDecoratorDrag:"sd-file__decorator--drag",fileInput:"sd-visuallyhidden",noFileChosen:"sd-description sd-file__no-file-chosen",chooseFile:"sd-file__choose-btn",chooseFileAsText:"sd-action sd-file__choose-btn--text",chooseFileAsTextDisabled:"sd-action--disabled",chooseFileAsIcon:"sd-file__choose-btn--icon",chooseFileIconId:"icon-choosefile",disabled:"sd-file__choose-btn--disabled",controlDisabled:"sd-file__choose-file-btn--disabled",removeButton:"sd-context-btn--negative",removeButtonBottom:"",removeButtonIconId:"icon-clear",removeFile:"sd-hidden",removeFileSvg:"",removeFileSvgIconId:"icon-close_16x16",wrapper:"sd-file__wrapper",defaultImage:"sd-file__default-image",defaultImageIconId:"icon-defaultfile",leftIconId:"icon-arrowleft",rightIconId:"icon-arrowright",removeFileButton:"sd-context-btn--small sd-context-btn--with-border sd-context-btn--colorful sd-context-btn--negative sd-file__remove-file-button",dragAreaPlaceholder:"sd-file__drag-area-placeholder",imageWrapper:"sd-file__image-wrapper",imageWrapperDefaultImage:"sd-file__image-wrapper--default-image",single:"sd-file--single",singleImage:"sd-file--single-image",mobile:"sd-file--mobile",videoContainer:"sd-file__video-container",contextButton:"sd-context-btn",video:"sd-file__video",actionsContainer:"sd-file__actions-container",closeCameraButton:"sd-file__close-camera-button",changeCameraButton:"sd-file__change-camera-button",takePictureButton:"sd-file__take-picture-button",loadingIndicator:"sd-file__loading-indicator",page:"sd-file__page"},signaturepad:{mainRoot:"sd-element sd-question sd-question--signature sd-row__question",root:"sd-signaturepad sjs_sp_container",small:"sd-row__question--small",controls:"sjs_sp_controls sd-signaturepad__controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas sd-signaturepad__canvas",backgroundImage:"sjs_sp__background-image sd-signaturepad__background-image",clearButton:"sjs_sp_clear sd-context-btn sd-context-btn--negative sd-signaturepad__clear",clearButtonIconId:"icon-clear",loadingIndicator:"sd-signaturepad__loading-indicator"},saveData:{root:"sv-save-data_root",rootWithButtons:"sv-save-data_root--with-buttons",info:"sv-save-data_info",error:"sv-save-data_error",success:"sv-save-data_success",button:"sv-save-data_button",shown:"sv-save-data_root--shown"},window:{root:"sv_window",rootCollapsedMod:"sv_window--collapsed",rootFullScreenMode:"sv_window--full-screen",rootContent:"sv_window_root-content",body:"sv_window_content",header:{root:"sv_window_header",titleCollapsed:"sv_window_header_title_collapsed",buttonsContainer:"sv_window_buttons_container",button:"sv_window_button",buttonExpanded:"",buttonCollapsed:"",collapseButton:"sv_window_button sv_window_button_collapse",closeButton:"sv_window_button sv_window_button_close",fullScreenButton:"sv_window_button sv_window_button_full_screen"}},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sd-ranking--disabled",rootReadOnly:"sd-ranking--readonly",rootPreview:"sd-ranking--preview",rootDesignMode:"sv-ranking--design-mode",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankEmptyValueMod:"sv-ranking--select-to-rank-empty-value",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content sd-ranking-item__content",itemIndex:"sv-ranking-item__index sd-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty sd-ranking-item__index--empty",itemDisabled:"sv-ranking-item--disabled",itemReadOnly:"sv-ranking-item--readonly",itemPreview:"sv-ranking-item--preview",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking--drag",itemOnError:"sv-ranking-item--error",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemHover:"sv-button-group__item--hover",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},list:{root:"sv-list__container sd-list",item:"sv-list__item sd-list__item",itemBody:"sv-list__item-body sd-list__item-body",itemSelected:"sv-list__item--selected sd-list__item--selected",itemFocused:"sv-list__item--focused sd-list__item--focused",itemHovered:"sv-list__item--hovered sd-list__item--hovered"},actionBar:{root:"sd-action-bar",item:"sd-action",defaultSizeMode:"",smallSizeMode:"",itemPressed:"sd-action--pressed",itemAsIcon:"sd-action--icon",itemIcon:"sd-action__icon",itemTitle:"sd-action__title"},variables:{mobileWidth:"--sd-mobile-width",themeMark:"--sv-defaultV2-mark"},tagbox:{root:"sd-selectbase",popup:"sv-dropdown-popup",small:"sd-row__question--small",selectWrapper:"sv-dropdown_select-wrapper",other:"sd-input sd-comment sd-selectbase__other",onError:"sd-input--error",label:"sd-selectbase__label",itemSvgIconId:"#icon-check-16x16",item:"sd-item sd-checkbox sd-selectbase__item",itemDisabled:"sd-item--disabled sd-checkbox--disabled",itemChecked:"sd-item--checked sd-checkbox--checked",itemHover:"sd-item--allowhover sd-checkbox--allowhover",itemControl:"sd-visuallyhidden sd-item__control sd-checkbox__control",itemDecorator:"sd-item__svg sd-checkbox__svg",itemEnter:"sd-item--enter",itemLeave:"sd-item--leave",cleanButton:"sd-tagbox_clean-button sd-dropdown_clean-button",cleanButtonSvg:"sd-tagbox_clean-button-svg sd-dropdown_clean-button-svg",cleanButtonIconId:"icon-cancel-24x24",cleanItemButton:"sd-tagbox-item_clean-button",cleanItemButtonSvg:"sd-tagbox-item_clean-button-svg",cleanItemButtonIconId:"icon-clear_16x16",chevronButton:"sd-dropdown_chevron-button",chevronButtonSvg:"sd-dropdown_chevron-button-svg",chevronButtonIconId:"icon-chevron",control:"sd-input sd-tagbox sd-dropdown",controlValue:"sd-tagbox__value sd-dropdown__value",controlValueItems:"sd-tagbox__value-items",placeholderInput:"sd-tagbox__placeholder",controlEditable:"sd-input--editable",controlDisabled:"sd-input--disabled",controlReadOnly:"sd-input--readonly",controlPreview:"sd-input--preview",controlEmpty:"sd-dropdown--empty sd-tagbox--empty",controlLabel:"sd-item__control-label",filterStringInput:"sd-tagbox__filter-string-input sd-dropdown__filter-string-input",materialDecorator:"sd-item__decorator sd-checkbox__decorator",hint:"sd-tagbox__hint",hintPrefix:"sd-dropdown__hint-prefix sd-tagbox__hint-prefix",hintSuffix:"sd-dropdown__hint-suffix sd-tagbox__hint-suffix",hintSuffixWrapper:"sd-tagbox__hint-suffix-wrapper"}},
vendor: 4,407 bytes, line 5
5rY="defaultV2";rK[rY]=rZ;var rX=function(){function dxSurveyService(){}return Object.defineProperty(dxSurveyService,"serviceUrl",{get:function(){return nC.web.surveyServiceUrl},set:function(e){nC.web.surveyServiceUrl=e},enumerable:!1,configurable:!0}),dxSurveyService.prototype.loadSurvey=function(e,t){var o=new XMLHttpRequest;o.open("GET",this.serviceUrl+"/getSurvey?surveyId="+e),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.onload=function(){var e=JSON.parse(o.response);t(200==o.status,e,o.response)},o.send()},dxSurveyService.prototype.getSurveyJsonAndIsCompleted=function(e,t,o){var n=new XMLHttpRequest;n.open("GET",this.serviceUrl+"/getSurveyAndIsCompleted?surveyId="+e+"&clientId="+t),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.onload=function(){var e=JSON.parse(n.response),t=e?e.survey:null,r=e?e.isCompleted:null;o(200==n.status,t,r,n.response)},n.send()},dxSurveyService.prototype.canSendResult=function(e){return!this.isSurveJSIOService||JSON.stringify(e).length<65536},Object.defineProperty(dxSurveyService.prototype,"isSurveJSIOService",{get:function(){return this.serviceUrl.indexOf("surveyjs.io")>=0},enumerable:!1,configurable:!0}),dxSurveyService.prototype.sendResult=function(e,t,o,n,r){void 0===n&&(n=null),void 0===r&&(r=!1),this.canSendResult(t)?this.sendResultCore(e,t,o,n,r):o(!1,getLocaleString("savingExceedSize",this.locale),void 0)},dxSurveyService.prototype.sendResultCore=function(e,t,o,n,r){void 0===n&&(n=null),void 0===r&&(r=!1);var i=new XMLHttpRequest;i.open("POST",this.serviceUrl+"/post/"),i.setRequestHeader("Content-Type","application/json; charset=utf-8");var s={postId:e,surveyResult:JSON.stringify(t)};n&&(s.clientId=n),r&&(s.isPartialCompleted=!0);var a=JSON.stringify(s);i.onload=i.onerror=function(){o&&o(200===i.status,i.response,i)},i.send(a)},dxSurveyService.prototype.sendFile=function(e,t,o){var n=new XMLHttpRequest;n.onload=n.onerror=function(){o&&o(200==n.status,JSON.parse(n.response))},n.open("POST",this.serviceUrl+"/upload/",!0);var r=new FormData;r.append("file",t),r.append("postId",e),n.send(r)},dxSurveyService.prototype.getResult=function(e,t,o){var n=new XMLHttpRequest;n.open("GET",this.serviceUrl+"/getResult?resultId="+e+"&name="+t),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.onload=function(){var e=null,t=null;if(200==n.status)for(var r in e=JSON.parse(n.response),t=[],e.QuestionResult){var i={name:r,value:e.QuestionResult[r]};t.push(i)}o(200==n.status,e,t,n.response)},n.send()},dxSurveyService.prototype.isCompleted=function(e,t,o){var n=new XMLHttpRequest;n.open("GET",this.serviceUrl+"/isCompleted?resultId="+e+"&clientId="+t),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.onload=function(){var e=null;200==n.status&&(e=JSON.parse(n.response)),o(200==n.status,e,n.response)},n.send()},Object.defineProperty(dxSurveyService.prototype,"serviceUrl",{get:function(){return dxSurveyService.serviceUrl||""},enumerable:!1,configurable:!0}),dxSurveyService}(),r1={setTimeout:function(e){return r1.safeTimeOut(e,1e3)},clearTimeout:function(e){clearTimeout(e)},safeTimeOut:function(e,t){return t<=0?(e(),0):setTimeout(e,t)},now:function(){return Date.now()}},r0=function(){function SurveyTimer(){this.listenerCounter=0,this.timerId=-1,this.onTimerTick=new oJ,this.onTimer=this.onTimerTick}return Object.defineProperty(SurveyTimer,"instance",{get:function(){return SurveyTimer.instanceValue||(SurveyTimer.instanceValue=new SurveyTimer),SurveyTimer.instanceValue},enumerable:!1,configurable:!0}),SurveyTimer.prototype.start=function(e){var t=this;void 0===e&&(e=null),e&&this.onTimerTick.add(e),this.prevTimeInMs=r1.now(),this.timerId<0&&(this.timerId=r1.setTimeout(function(){t.doTimer()})),this.listenerCounter++},SurveyTimer.prototype.stop=function(e){void 0===e&&(e=null),e&&this.onTimerTick.remove(e),this.listenerCounter--,0==this.listenerCounter&&this.timerId>-1&&(r1.clearTimeout(this.timerId),this.timerId=-1)},SurveyTimer.prototype.doTimer=function(){var e=this;if((this.onTimerTick.isEmpty||0==this.listenerCounter)&&(this.timerId=-1),!(this.timerId<0)){var t=r1.now(),o=Math.floor((t-this.prevTimeInMs)/1e3);this.prevTimeInMs=t,o<0&&(o=1);var n=this.timerId;this.onTimerTick.fire(this,{seconds:o}),n===this.timerId&&(this.timerId=r1.setTimeout(function(){e.doTimer()}))}},SurveyTimer.instanceValue=null,SurveyTimer}
5(),r2=(D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),surveyTimerModel_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},r5=function(e){function SurveyTimerModel(t){var o=e.call(this)||this;return o.timerFunc=null,o.surveyValue=t,o.onCreating(),o}return r2(SurveyTimerModel,e),Object.defineProperty(SurveyTimerModel.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),SurveyTimerModel.prototype.onCreating=function(){},SurveyTimerModel.prototype.start=function(){var e=this;this.survey&&(this.isRunning||this.isDesignMode||(this.survey.onCurrentPageChanged.add(function(){e.update()}),this.timerFunc=function(t,o){e.doTimer(o.seconds)},this.setIsRunning(!0),this.update(),r0.instance.start(this.timerFunc)))},SurveyTimerModel.prototype.stop=function(){this.isRunning&&(this.setIsRunning(!1),r0.instance.stop(this.timerFunc))},Object.defineProperty(SurveyTimerModel.prototype,"isRunning",{get:function(){return this.getPropertyValue("isRunning",!1)},enumerable:!1,configurable:!0}),SurveyTimerModel.prototype.setIsRunning=function(e){this.setPropertyValue("isRunning",e)},SurveyTimerModel.prototype.update=function(){this.updateText(),this.updateProgress()},SurveyTimerModel.prototype.doTimer=function(e){var t=this.survey.currentPage;if(t){var o=t.getMaxTimeToFinish();o>0&&o<t.timeSpent+e&&(e=o-t.timeSpent),t.timeSpent=t.timeSpent+e}this.spent=this.spent+e,this.update(),this.onTimerTick&&this.onTimerTick(t)},SurveyTimerModel.prototype.updateProgress=function(){var e=this,t=this.survey.timerInfo,o=t.spent,n=t.limit;n?(0==o?(this.progress=0,setTimeout(function(){e.progress=Math.floor((o+1)/n*100)/100},0)):o<=n&&(this.progress=Math.floor((o+1)/n*100)/100),this.progress>1&&(this.progress=void 0)):this.progress=void 0},SurveyTimerModel.prototype.updateText=function(){var e=this.survey.timerClock;this.clockMajorText=e.majorText,this.clockMinorText=e.minorText,this.text=this.survey.timerInfoText},Object.defineProperty(SurveyTimerModel.prototype,"showProgress",{get:function(){return void 0!==this.progress},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTimerModel.prototype,"showTimerAsClock",{get:function(){return!!this.survey.getCss().clockTimerRoot},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTimerModel.prototype,"rootCss",{get:function(){return new oY().append(this.survey.getCss().clockTimerRoot).append(this.survey.getCss().clockTimerRootTop,this.survey.isTimerPanelShowingOnTop).append(this.survey.getCss().clockTimerRootBottom,this.survey.isTimerPanelShowingOnBottom).toString()},enumerable:!1,configurable:!0}),SurveyTimerModel.prototype.getProgressCss=function(){return new oY().append(this.survey.getCss().clockTimerProgress).append(this.survey.getCss().clockTimerProgressAnimation,this.progress>0).toString()},Object.defineProperty(SurveyTimerModel.prototype,"textContainerCss",{get:function(){return this.survey.getCss().clockTimerTextContainer},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTimerModel.prototype,"minorTextCss",{get:function(){return this.survey.getCss().clockTimerMinorText},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTimerModel.prototype,"majorTextCss",{get:function(){return this.survey.getCss().clockTimerMajorText},enumerable:!1,configurable:!0}),surveyTimerModel_decorate([jsonobject_property()],SurveyTimerModel.prototype,"text",void 0),surveyTimerModel_decorate([jsonobject_property()],SurveyTimerModel.prototype,"progress",void 0),surveyTimerModel_decorate([jsonobject_property()],SurveyTimerModel.prototype,"clockMajorText",void 0),surveyTimerModel_decorate([jsonobject_property()],SurveyTimerModel.prototype,"clockMinorText",void 0),surveyTimerModel_decorate([jsonobject_property({defaultValue:0})],SurveyTimerModel.prototype,"spent",void 0),SurveyTimerModel}(oW),r7=(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),notifier_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},r4=function(e){function Notifier(t){var o=e.call(this)||this;return o.cssClasses=t,o.timeout=nC.notifications.lifetime,o.timer=void 0,o.actionsVisibility={},o.showActions=!0,o.actionBar=new o0,o.actionBar.updateCallback=function(e){o.actionBar.actions.forEach(function(e){return e.cssClasses={}})},o.css=o.cssClasse
5s.root,o}return r7(Notifier,e),Notifier.prototype.getCssClass=function(e){return new oY().append(this.cssClasses.root).append(this.cssClasses.rootWithButtons,this.actionBar.visibleActions.length>0).append(this.cssClasses.info,"error"!==e&&"success"!==e).append(this.cssClasses.error,"error"===e).append(this.cssClasses.success,"success"===e).append(this.cssClasses.shown,this.active).toString()},Notifier.prototype.updateActionsVisibility=function(e){var t=this;this.actionBar.actions.forEach(function(o){return o.visible=t.showActions&&t.actionsVisibility[o.id]===e})},Notifier.prototype.notify=function(e,t,o){var n=this;void 0===t&&(t="info"),void 0===o&&(o=!1),this.isDisplayed=!0,setTimeout(function(){n.updateActionsVisibility(t),n.message=e,n.active=!0,n.css=n.getCssClass(t),n.timer&&(clearTimeout(n.timer),n.timer=void 0),o||(n.timer=setTimeout(function(){n.timer=void 0,n.active=!1,n.css=n.getCssClass(t)},n.timeout))},1)},Notifier.prototype.addAction=function(e,t){e.visible=!1,e.innerCss=this.cssClasses.button;var o=this.actionBar.addAction(e);this.actionsVisibility[o.id]=t},notifier_decorate([jsonobject_property({defaultValue:!1})],Notifier.prototype,"active",void 0),notifier_decorate([jsonobject_property({defaultValue:!1})],Notifier.prototype,"isDisplayed",void 0),notifier_decorate([jsonobject_property()],Notifier.prototype,"message",void 0),notifier_decorate([jsonobject_property()],Notifier.prototype,"css",void 0),Notifier}(oW),r3=(Q=function(e,t){return(Q=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),header_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},r9=function(){function CoverCell(e,t,o){this.cover=e,this.positionX=t,this.positionY=o}return CoverCell.prototype.calcRow=function(e){return"top"===e?1:"middle"===e?2:3},CoverCell.prototype.calcColumn=function(e){return"left"===e?1:"center"===e?2:3},CoverCell.prototype.calcAlignItems=function(e){return"left"===e?"flex-start":"center"===e?"center":"flex-end"},CoverCell.prototype.calcAlignText=function(e){return"left"===e?"start":"center"===e?"center":"end"},CoverCell.prototype.calcJustifyContent=function(e){return"top"===e?"flex-start":"middle"===e?"center":"flex-end"},Object.defineProperty(CoverCell.prototype,"survey",{get:function(){return this.cover.survey},enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"css",{get:function(){return CoverCell.CLASSNAME+" "+CoverCell.CLASSNAME+"--"+this.positionX+" "+CoverCell.CLASSNAME+"--"+this.positionY},enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"style",{get:function(){var e={};return e.gridColumn=this.calcColumn(this.positionX),e.gridRow=this.calcRow(this.positionY),e},enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"contentStyle",{get:function(){var e={};return e.textAlign=this.calcAlignText(this.positionX),e.alignItems=this.calcAlignItems(this.positionX),e.justifyContent=this.calcJustifyContent(this.positionY),e},enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"showLogo",{get:function(){return this.survey.hasLogo&&this.positionX===this.cover.logoPositionX&&this.positionY===this.cover.logoPositionY},enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"showTitle",{get:function(){return this.survey.hasTitle&&this.positionX===this.cover.titlePositionX&&this.positionY===this.cover.titlePositionY},enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"showDescription",{get:function(){return this.survey.renderedHasDescription&&this.positionX===this.cover.descriptionPositionX&&this.positionY===this.cover.descriptionPositionY}
5,enumerable:!1,configurable:!0}),Object.defineProperty(CoverCell.prototype,"textAreaWidth",{get:function(){return this.cover.textAreaWidth?""+this.cover.textAreaWidth+"px":""},enumerable:!1,configurable:!0}),CoverCell.CLASSNAME="sv-header__cell",CoverCell}(),r6=function(e){function Cover(){var t=e.call(this)||this;return t.cells=[],["top","middle","bottom"].forEach(function(e){return["left","center","right"].forEach(function(o){return t.cells.push(new r9(t,o,e))})}),t.init(),t}return r3(Cover,e),Cover.prototype.calcBackgroundSize=function(e){return"fill"===e?"100% 100%":"tile"===e?"auto":e},Cover.prototype.updateHeaderClasses=function(){this.headerClasses=new oY().append("sv-header").append("sv-header__without-background","transparent"===this.backgroundColor&&!this.backgroundImage).append("sv-header__background-color--none","transparent"===this.backgroundColor&&!this.titleColor&&!this.descriptionColor).append("sv-header__background-color--accent",!this.backgroundColor&&!this.titleColor&&!this.descriptionColor).append("sv-header__background-color--custom",!!this.backgroundColor&&"transparent"!==this.backgroundColor&&!this.titleColor&&!this.descriptionColor).append("sv-header__overlap",this.overlapEnabled).toString()},Cover.prototype.updateContentClasses=function(){var e=!!this.survey&&this.survey.calculateWidthMode();this.maxWidth="survey"===this.inheritWidthFrom&&!!e&&"static"===e&&this.survey.renderedWidth,this.contentClasses=new oY().append("sv-header__content").append("sv-header__content--static","survey"===this.inheritWidthFrom&&!!e&&"static"===e).append("sv-header__content--responsive","container"===this.inheritWidthFrom||!!e&&"responsive"===e).toString()}
5,Cover.prototype.updateBackgroundImageClasses=function(){this.backgroundImageClasses=new oY().append("sv-header__background-image").append("sv-header__background-image--contain","contain"===this.backgroundImageFit).append("sv-header__background-image--tile","tile"===this.backgroundImageFit).toString()},Cover.prototype.fromTheme=function(t){e.prototype.fromJSON.call(this,t.header||{}),t.cssVariables&&(this.backgroundColor=t.cssVariables["--sjs-header-backcolor"],this.titleColor=t.cssVariables["--sjs-font-headertitle-color"],this.descriptionColor=t.cssVariables["--sjs-font-headerdescription-color"]),this.init()},Cover.prototype.init=function(){this.renderBackgroundImage=wrapUrlForBackgroundImage(this.backgroundImage),this.updateHeaderClasses(),this.updateContentClasses(),this.updateBackgroundImageClasses()},Cover.prototype.getType=function(){return"cover"},Object.defineProperty(Cover.prototype,"renderedHeight",{get:function(){return(!this.survey||this.survey.isMobile)&&this.survey?this.survey&&this.survey.isMobile&&this.mobileHeight?Math.max(this.mobileHeight,this.actualHeight)+"px":void 0:this.height?Math.max(this.height,this.actualHeight+40)+"px":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(Cover.prototype,"renderedtextAreaWidth",{get:function(){return this.textAreaWidth?this.textAreaWidth+"px":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(Cover.prototype,"survey",{get:function(){return this._survey},set:function(e){var t=this;this._survey!==e&&(this._survey=e,e&&(this.updateContentClasses(),this._survey.onPropertyChanged.add(function(e,o){("widthMode"==o.name||"width"==o.name)&&t.updateContentClasses()})))},enumerable:!1,configurable:!0}),Object.defineProperty(Cover.prototype,"backgroundImageStyle",{get:function(){return this.backgroundImage?{opacity:this.backgroundImageOpacity,backgroundImage:this.renderBackgroundImage,backgroundSize:this.calcBackgroundSize(this.backgroundImageFit)}:null},enumerable:!1,configurable:!0}),Cover.prototype.propertyValueChanged=function(t,o,n,r,i){e.prototype.propertyValueChanged.call(this,t,o,n),("backgroundColor"===t||"backgroundImage"===t||"overlapEnabled"===t)&&this.updateHeaderClasses(),"inheritWidthFrom"===t&&this.updateContentClasses(),"backgroundImageFit"===t&&this.updateBackgroun
vendor: 4,303 bytes, line 5
5dImageClasses()},Cover.prototype.calculateActualHeight=function(e,t,o){var n=["top","middle","bottom"],r=n.indexOf(this.logoPositionY),i=n.indexOf(this.titlePositionY),s=n.indexOf(this.descriptionPositionY),a=["left","center","right"],l=a.indexOf(this.logoPositionX),u=a.indexOf(this.titlePositionX),c=a.indexOf(this.descriptionPositionX),p=[[0,0,0],[0,0,0],[0,0,0]];return p[r][l]=e,p[i][u]+=t,p[s][c]+=o,p.reduce(function(e,t){return e+Math.max.apply(Math,t)},0)},Cover.prototype.processResponsiveness=function(e){if(this.survey&&this.survey.rootElement){if(this.survey.isMobile){var t=this.survey.rootElement.querySelectorAll(".sv-header > div")[0];this.actualHeight=t?t.getBoundingClientRect().height:0}else{var o=this.survey.rootElement.querySelectorAll(".sv-header__logo")[0],n=this.survey.rootElement.querySelectorAll(".sv-header__title")[0],r=this.survey.rootElement.querySelectorAll(".sv-header__description")[0],i=o?o.getBoundingClientRect().height:0,s=n?n.getBoundingClientRect().height:0,a=r?r.getBoundingClientRect().height:0;this.actualHeight=this.calculateActualHeight(i,s,a)}}},Object.defineProperty(Cover.prototype,"hasBackground",{get:function(){return!!this.backgroundImage||"transparent"!==this.backgroundColor},enumerable:!1,configurable:!0}),header_decorate([jsonobject_property({defaultValue:0})],Cover.prototype,"actualHeight",void 0),header_decorate([jsonobject_property()],Cover.prototype,"height",void 0),header_decorate([jsonobject_property()],Cover.prototype,"mobileHeight",void 0),header_decorate([jsonobject_property()],Cover.prototype,"inheritWidthFrom",void 0),header_decorate([jsonobject_property()],Cover.prototype,"textAreaWidth",void 0),header_decorate([jsonobject_property()],Cover.prototype,"textGlowEnabled",void 0),header_decorate([jsonobject_property()],Cover.prototype,"overlapEnabled",void 0),header_decorate([jsonobject_property()],Cover.prototype,"backgroundColor",void 0),header_decorate([jsonobject_property()],Cover.prototype,"titleColor",void 0),header_decorate([jsonobject_property()],Cover.prototype,"descriptionColor",void 0),header_decorate([jsonobject_property({onSet:function(e,t){t.renderBackgroundImage=wrapUrlForBackgroundImage(e)}})],Cover.prototype,"backgroundImage",void 0),header_decorate([jsonobject_property()],Cover.prototype,"renderBackgroundImage",void 0),header_decorate([jsonobject_property()],Cover.prototype,"backgroundImageFit",void 0),header_decorate([jsonobject_property()],Cover.prototype,"backgroundImageOpacity",void 0),header_decorate([jsonobject_property()],Cover.prototype,"logoPositionX",void 0),header_decorate([jsonobject_property()],Cover.prototype,"logoPositionY",void 0),header_decorate([jsonobject_property()],Cover.prototype,"titlePositionX",void 0),header_decorate([jsonobject_property()],Cover.prototype,"titlePositionY",void 0),header_decorate([jsonobject_property()],Cover.prototype,"descriptionPositionX",void 0),header_decorate([jsonobject_property()],Cover.prototype,"descriptionPositionY",void 0),header_decorate([jsonobject_property()],Cover.prototype,"logoStyle",void 0),header_decorate([jsonobject_property()],Cover.prototype,"titleStyle",void 0),header_decorate([jsonobject_property()],Cover.prototype,"descriptionStyle",void 0),header_decorate([jsonobject_property()],Cover.prototype,"headerClasses",void 0),header_decorate([jsonobject_property()],Cover.prototype,"contentClasses",void 0),header_decorate([jsonobject_property()],Cover.prototype,"maxWidth",void 0),header_decorate([jsonobject_property()],Cover.prototype,"backgroundImageClasses",void 0),Cover}(oW);ov.addClass("cover",[{name:"height:number",minValue:0,default:256},{name:"mobileHeight:number",minValue:0,default:0},{name:"inheritWidthFrom",default:"container"},{name:"textAreaWidth:number",minValue:0,default:512},{name:"textGlowEnabled:boolean"},{name:"overlapEnabled:boolean"},{name:"backgroundImage:file"},{name:"backgroundImageOpacity:number",minValue:0,maxValue:1,default:1},{name:"backgroundImageFit",default:"cover",choices:["cover","fill","contain"]},{name:"logoPositionX",default:"right"},{name:"logoPositionY",default:"top"},{name:"titlePositionX",default:"left"},{name:"titlePositionY",default:"bottom"},{name:"descriptionPositionX",default:"left"},{name:"descriptionPositionY",default:"bottom"}],function(){return new r6});
5var r8=(j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),surveyTaskManager_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},SurveyTaskModel=function(e){this.type=e,this.timestamp=new Date},ie=function(e){function SurveyTaskManagerModel(){var t=e.call(this)||this;return t.taskList=[],t.onAllTasksCompleted=t.addEvent(),t}return r8(SurveyTaskManagerModel,e),SurveyTaskManagerModel.prototype.runTask=function(e,t){var o=this,n=new SurveyTaskModel(e);return this.taskList.push(n),this.hasActiveTasks=!0,t(function(){return o.taskFinished(n)}),n},SurveyTaskManagerModel.prototype.waitAndExecute=function(e){if(!this.hasActiveTasks){e();return}this.onAllTasksCompleted.add(function(){e()})},SurveyTaskManagerModel.prototype.taskFinished=function(e){var t=this.taskList.indexOf(e);t>-1&&this.taskList.splice(t,1),this.hasActiveTasks&&0==this.taskList.length&&(this.hasActiveTasks=!1,this.onAllTasksCompleted.fire(this,{}))},surveyTaskManager_decorate([jsonobject_property({defaultValue:!1})],SurveyTaskManagerModel.prototype,"hasActiveTasks",void 0),SurveyTaskManagerModel}(oW),DragDropInfo=function(e,t,o){void 0===o&&(o=-1),this.source=e,this.target=t,this.nestedPanelDepth=o},it=function(){function DragDropPanelHelperV1(e){this.panel=e}return DragDropPanelHelperV1.prototype.dragDropAddTarget=function(e){var t=this.dragDropFindRow(e.target);this.dragDropAddTargetToRow(e,t)&&this.panel.updateRowsRemoveElementFromRow(e.target,t)},DragDropPanelHelperV1.prototype.dragDropFindRow=function(e){if(!e||e.isPage)return null;for(var t=this.panel.rows,o=0;o<t.length;o++)if(t[o].elements.indexOf(e)>-1)return t[o];for(var o=0;o<this.panel.elements.length;o++){var n=this.panel.elements[o].getPanel();if(n){var r=n.dragDropFindRow(e);if(r)return r}}return null},DragDropPanelHelperV1.prototype.dragDropMoveElement=function(e,t,o){o>e.parent.elements.indexOf(e)&&o--,this.panel.removeElement(e),this.panel.addElement(t,o)},DragDropPanelHelperV1.prototype.updateRowsOnElementAdded=function(e,t,o,n){o||((o=new DragDropInfo(null,e)).target=e,o.isEdge=this.panel.elements.length>1,this.panel.elements.length<2?o.destination=n:(o.isBottom=t>0,0==t?o.destination=this.panel.elements[1]:o.destination=this.panel.elements[t-1])),this.dragDropAddTargetToRow(o,null)},DragDropPanelHelperV1.prototype.dragDropAddTargetToRow=function(e,t){if(!e.destination||this.dragDropAddTargetToEmptyPanel(e))return!0;var o=e.destination,n=this.dragDropFindRow(o);return!n||(e.target.startWithNewLine?this.dragDropAddTargetToNewRow(e,n,t):this.dragDropAddTargetToExistingRow(e,n,t))},DragDropPanelHelperV1.prototype.dragDropAddTargetToEmptyPanel=function(e){if(e.destination.isPage)return this.dragDropAddTargetToEmptyPanelCore(this.panel.root,e.target,e.isBottom),!0;var t=e.destination;if(t.isPanel&&!e.isEdge){if(e.target.template===t)return!1;if(e.nestedPanelDepth<0||e.nestedPanelDepth>=t.depth)return this.dragDropAddTargetToEmptyPanelCore(t,e.target,e.isBottom),!0}return!1},DragDropPanelHelperV1.prototype.dragDropAddTargetToExistingRow=function(e,t,o){var n=t.elements.indexOf(e.destination);if(0==n&&!e.isBottom){if(this.panel.isDesignModeV2);else if(t.elements[0].startWithNewLine)return t.index>0?(e.isBottom=!0,t=t.panel.rows[t.index-1],e.destination=t.elements[t.elements.length-1],this.dragDropAddTargetToExistingRow(e,t,o)):this.dragDropAddTargetToNewRow(e,t,o)}var r=-1;o==t&&(r=t.elements.indexOf(e.target)),e.isBottom&&n++;var i=this.panel.findRowByElement(e.source);return(i!=t||i.elements.indexOf(e.source)!=n)&&n!=r&&(r>-1&&(t.elements.splice(r,1),r<n&&n--),t.elements.splice(n,0,e.target),t.updateVisible(),r<0)},DragDropPanelHelperV1.prototype.dragDropAddTargetToNewRow=function(e,t,o){var n=t.panel.createRowAndSetLazy(t.panel.rows.length);this.panel.isDesignModeV2&&n.setIsLazyRendering(!1),n.addElement(e.target);var r=t.index;if(e.isBottom&&r++,o&&o.panel==n.panel&&o.index==r)return!1;var i=this.panel.findRowByElement(e.source);return(!i||i.panel!=n.panel||1!=i.elements.length||i.index!=r)&&(t.panel.rows.splice(r,0,n),!0)},DragDropPanelHelperV1.prototype.dragDropAddTargetToEmptyPanelCore=function(e,t,o){var n=e.createRow();n.addElement(t),0==e.elements.length||o?e.rows.push(n):e.rows.splice(0,0,n)},DragDropPanelHelperV1}
5(),io=(L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),panel_layout_column_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ir=function(e){function PanelLayoutColumnModel(t,o){var n=e.call(this)||this;return n.effectiveWidth=t,n.questionTitleWidth=o,n}return io(PanelLayoutColumnModel,e),PanelLayoutColumnModel.prototype.getType=function(){return"panellayoutcolumn"},PanelLayoutColumnModel.prototype.isEmpty=function(){return!this.width&&!this.questionTitleWidth},panel_layout_column_decorate([jsonobject_property()],PanelLayoutColumnModel.prototype,"width",void 0),panel_layout_column_decorate([jsonobject_property({onSet:function(e,t,o){e!==o&&(t.width=e)}})],PanelLayoutColumnModel.prototype,"effectiveWidth",void 0),panel_layout_column_decorate([jsonobject_property()],PanelLayoutColumnModel.prototype,"questionTitleWidth",void 0),PanelLayoutColumnModel}(oW);ov.addClass("panellayoutcolumn",[{name:"effectiveWidth:number",isSerializable:!1,minValue:0},{name:"width:number",visible:!1},"questionTitleWidth"],function(e){return new ir});var ii=(B=function(e,t){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),panel_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},panel_spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e},is=function(e){function QuestionRowModel(t){var o=e.call(this)||this;return o.panel=t,o._scrollableParent=void 0,o._updateVisibility=void 0,o.visibleElementsAnimation=new nc(o.getVisibleElementsAnimationOptions(),function(e){o.setWidth(e),o.setPropertyValue("visibleElements",e)},function(){return o.visibleElements}),o.idValue=QuestionRowModel.getRowId(),o.visible=t.areInvisibleElementsShowing,o.createNewArray("elements"),o.createNewArray("visibleElements"),o}return ii(QuestionRowModel,e),QuestionRowModel.getRowId=function(){return"pr_"+QuestionRowModel.rowCounter++},Object.defineProperty(QuestionRowModel.prototype,"allowRendering",{get:function(){return!this.panel||!this.panel.survey||!this.panel.survey.isLazyRenderingSuspended},enumerable:!1,configurable:!0}),QuestionRowModel.prototype.startLazyRendering=function(e,t){var o=this;if(void 0===t&&(t=findScrollableParent),t8.isAvailable()){this._scrollableParent=t(e),this._scrollableParent===t8.getDocumentElement()&&(this._scrollableParent=t6.getWindow());var n=this._scrollableParent.scrollHeight>this._scrollableParent.clientHeight;this.isNeedRender=!n,n&&(this._updateVisibility=function(){if(o.allowRendering){var t=function(e,t){if(void 0===t&&(t=0),void 0===nC.environment||!e.offsetHeight)return!1;var o=nC.environment.root,n=isShadowDOM(o)?o.host.clientHeight:o.documentElement.clientHeight,r=e.getBoundingClientRect(),i=Math.max(n,t6.getInnerHeight()),s=-t,a=i+t;return Math.max(s,r.top)<=Math.min(a,r.bottom)}(e,50);!o.isNeedRender&&t&&(o.isNeedRender=!0,o.stopLazyRendering())}},this.lazyRenderingTimeout=setTimeout(function(){o._scrollableParent&&o._scrollableParent.addEventListener&&o._scrollableParent.addEventListener("scroll",o._updateVisibility),o.ensureVisibility()},10))}},QuestionRowModel.prototype.ensureVisibility=function(){this._updateVisibility&&this._updateVisibility()},QuestionRowModel.prototype.stopLazyRendering=function(){this._scrollableParent&&this._updateVisibility&&this._scrollableParent.removeEventListener&&this._scrollableParent.removeEventListener("scroll",this._updateVisibility),clearTimeout(this.lazyRenderingTimeout),this._scrollableParent=void 0,this._updateVisibility=void 0},QuestionRowModel.prototype.setIsLazyRendering=function(e){this.isLazyRenderingValue=e,this.isNeedRender=!e},QuestionRowModel.prototype.isLazyRendering=function(){return!0===this.isLazyRenderingValue},Object.defineProperty(QuestionRowModel.prototype,"id",{get:function(){return this.idValue}
5,enumerable:!1,configurable:!0}),QuestionRowModel.prototype.equalsCore=function(e){return this==e},Object.defineProperty(QuestionRowModel.prototype,"elements",{get:function(){return this.getPropertyValue("elements")},enumerable:!1,configurable:!0}),QuestionRowModel.prototype.getIsAnimationAllowed=function(){var t;return e.prototype.getIsAnimationAllowed.call(this)&&this.visible&&(null===(t=this.panel)||void 0===t?void 0:t.animationAllowed)},QuestionRowModel.prototype.getVisibleElementsAnimationOptions=function(){var e=this,beforeRunAnimation=function(e){prepareElementForVerticalAnimation(e),setPropertiesOnElementForAnimation(e,{width:getElementWidth(e)+"px"})};return{getRerenderEvent:function(){return e.onElementRerendered},isAnimationEnabled:function(){return e.animationAllowed},allowSyncRemovalAddition:!1,getAnimatedElement:function(e){return e.getWrapperElement()},getLeaveOptions:function(e){return{cssClass:(e.isPanel?e.cssClasses.panel:e.cssClasses).leave,onBeforeRunAnimation:beforeRunAnimation,onAfterRunAnimation:cleanHtmlElementAfterAnimation}},getEnterOptions:function(e){return{cssClass:(e.isPanel?e.cssClasses.panel:e.cssClasses).enter,onBeforeRunAnimation:beforeRunAnimation,onAfterRunAnimation:cleanHtmlElementAfterAnimation}}}},Object.defineProperty(QuestionRowModel.prototype,"visibleElements",{get:function(){return this.getPropertyValue("visibleElements")},set:function(e){if(e.length)this.visible=!0;else{this.visible=!1,this.visibleElementsAnimation.cancel();return}this.visibleElementsAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRowModel.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){this.setPropertyValue("visible",e),this.onVisibleChangedCallback&&this.onVisibleChangedCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRowModel.prototype,"isNeedRender",{get:function(){return this.getPropertyValue("isneedrender",!0)},set:function(e){this.setPropertyValue("isneedrender",e)},enumerable:!1,configurable:!0}),QuestionRowModel.prototype.updateVisible=function(){for(var e=[],t=0;t<this.elements.length;t++)this.elements[t].isVisible&&e.push(this.elements[t]),(this.elements[t].isPanel||"paneldynamic"===this.elements[t].getType())&&(this.setIsLazyRendering(!1),this.stopLazyRendering());this.visibleElements=e},QuestionRowModel.prototype.addElement=function(e){this.elements.push(e),this.updateVisible()},Object.defineProperty(QuestionRowModel.prototype,"index",{get:function(){return this.panel.rows.indexOf(this)},enumerable:!1,configurable:!0}),QuestionRowModel.prototype.setWidth=function(e){var t,o=e.length;if(0!=o){for(var n=1===e.length,r=0,i=[],s=0;s<this.elements.length;s++){var a=this.elements[s];if(a.isVisible){a.isSingleInRow=n;var l=this.getElementWidth(a);l&&(a.renderWidth=this.getRenderedWidthFromWidth(l),i.push(a)),r<o-1&&!(this.panel.isDefaultV2Theme||(null===(t=this.panel.parentQuestion)||void 0===t?void 0:t.isDefaultV2Theme))?a.rightIndent=1:a.rightIndent=0,r++}else a.renderWidth=""}for(var s=0;s<this.elements.length;s++){var a=this.elements[s];!a.isVisible||i.indexOf(a)>-1||(0==i.length?a.renderWidth=Number.parseFloat((100/o).toFixed(6))+"%":a.renderWidth=this.getRenderedCalcWidth(a,i,o))}}},QuestionRowModel.prototype.getRenderedCalcWidth=function(e,t,o){for(var n="100%",r=0;r<t.length;r++)n+=" - "+t[r].renderWidth;var i=o-t.length;return i>1&&(n="("+n+")/"+i.toString()),"calc("+n+")"},QuestionRowModel.prototype.getElementWidth=function(e){var t=e.width;return t&&"string"==typeof t?t.trim():""},QuestionRowModel.prototype.getRenderedWidthFromWidth=function(e){return oe.isNumber(e)?e+"px":e},QuestionRowModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.stopLazyRendering()},QuestionRowModel.prototype.getRowCss=function(){return new oY().append(this.panel.cssClasses.row).append(this.panel.cssClasses.rowCompact,this.panel.isCompact).append(this.panel.cssClasses.pageRow,this.panel.isPage||this.panel.showPanelAsPage).append(this.panel.cssClasses.rowMultiple,this.visibleElements.length>1).toString()},QuestionRowModel.prototype.setRootElement=function(e){this.rootElement=e},QuestionRowModel.prototype.getRootElement=function(){return this.rootElement},QuestionRowModel.rowCounter=100,panel_decorate([jsonobject_property({defaultValue:null})],QuestionRowModel.prototype,"dragTypeOverMe",void 0),QuestionRowModel}(oW),ia=function(e){function PanelModelBase(t){void 0===t&&(t="");var o=e.call(this,t)||this;
5return o.isQuestionsReady=!1,o.questionsValue=[],o._columns=void 0,o._columnsReady=!1,o.rowsAnimation=new nc(o.getRowsAnimationOptions(),function(e){o.setPropertyValue("visibleRows",e)},function(){return o.visibleRows}),o.isRandomizing=!1,o.onColumnPropertyValueChangedCallback=function(e,t,n,r,i){o._columnsReady&&(o.updateColumnWidth(o.gridLayoutColumns),o.updateRootStyle())},o.locCountRowUpdates=0,o.createNewArray("rows",function(e,t){o.onAddRow(e)},function(e){o.onRemoveRow(e)}),o.createNewArray("visibleRows"),o.elementsValue=o.createNewArray("elements",o.onAddElement.bind(o),o.onRemoveElement.bind(o)),o.id=PanelModelBase.getPanelId(),o.addExpressionProperty("visibleIf",function(e,t){o.visible=!0===t},function(e){return!o.areInvisibleElementsShowing}),o.addExpressionProperty("enableIf",function(e,t){o.readOnly=!1===t}),o.addExpressionProperty("requiredIf",function(e,t){o.isRequired=!0===t}),o.createLocalizableString("requiredErrorText",o),o.createLocalizableString("navigationTitle",o,!0).onGetTextCallback=function(e){return e||o.title||o.name},o.registerPropertyChangedHandlers(["questionTitleLocation"],function(){o.onVisibleChanged.bind(o),o.updateElementCss(!0)}),o.registerPropertyChangedHandlers(["questionStartIndex","showQuestionNumbers"],function(){o.updateVisibleIndexes()}),o.registerPropertyChangedHandlers(["title"],function(){o.resetHasTextInTitle()}),o.dragDropPanelHelper=new it(o),o}return ii(PanelModelBase,e),PanelModelBase.getPanelId=function(){return"sp_"+PanelModelBase.panelCounter++},PanelModelBase.prototype.onAddRow=function(e){var t=this;this.onRowVisibleChanged(),e.onVisibleChangedCallback=function(){return t.onRowVisibleChanged()}},PanelModelBase.prototype.getRowsAnimationOptions=function(){var e=this;return{getRerenderEvent:function(){return e.onElementRerendered},isAnimationEnabled:function(){return e.animationAllowed},getAnimatedElement:function(e){return e.getRootElement()},getLeaveOptions:function(t,o){return{cssClass:e.cssClasses.rowLeave,onBeforeRunAnimation:prepareElementForVerticalAnimation,onAfterRunAnimation:cleanHtmlElementAfterAnimation}},getEnterOptions:function(t,o){var n=e.cssClasses;return{cssClass:new oY().append(n.rowEnter).append(n.rowDelayedEnter,o.isDeletingRunning).toString(),onBeforeRunAnimation:prepareElementForVerticalAnimation,onAfterRunAnimation:cleanHtmlElementAfterAnimation}}}},Object.defineProperty(PanelModelBase.prototype,"visibleRows",{get:function(){return this.getPropertyValue("visibleRows")},set:function(e){this.rowsAnimation.sync(e)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.onRemoveRow=function(e){e.visibleElementsAnimation.cancel(),this.visibleRows=this.rows.filter(function(e){return e.visible}),e.onVisibleChangedCallback=void 0},PanelModelBase.prototype.onRowVisibleChanged=function(){this.visibleRows=this.rows.filter(function(e){return e.visible})},PanelModelBase.prototype.getType=function(){return"panelbase"},PanelModelBase.prototype.setSurveyImpl=function(t,o){this.blockAnimations(),e.prototype.setSurveyImpl.call(this,t,o),this.isDesignMode&&this.onVisibleChanged();for(var n=0;n<this.elements.length;n++)this.elements[n].setSurveyImpl(t,o);this.releaseAnimations()},PanelModelBase.prototype.endLoadingFromJson=function(){var t=this;e.prototype.endLoadingFromJson.call(this),this.updateDescriptionVisibility(this.description),this.markQuestionListDirty(),this.onRowsChanged(),this.gridLayoutColumns.forEach(function(e){e.onPropertyValueChangedCallback=t.onColumnPropertyValueChangedCallback})},Object.defineProperty(PanelModelBase.prototype,"hasTextInTitle",{get:function(){var e=this;return this.getPropertyValue("hasTextInTitle",void 0,function(){return!!e.title})},enumerable:!1,configurable:!0}),PanelModelBase.prototype.resetHasTextInTitle=function(){this.resetPropertyValue("hasTextInTitle")},Object.defineProperty(PanelModelBase.prototype,"hasTitle",{get:function(){return this.canShowTitle(this.survey)&&(this.hasTextInTitle||this.locTitle.textOrHtml.length>0)||this.isDesignMode&&!(nC.supportCreatorV2&&this.isPanel)&&this.showTitle&&nC.designMode.showEmptyTitles}
vendor: 8,455 bytes, line 5
5,enumerable:!1,configurable:!0}),PanelModelBase.prototype.delete=function(e){void 0===e&&(e=!0),this.deletePanel(),this.removeFromParent(),e&&this.dispose()},PanelModelBase.prototype.deletePanel=function(){for(var e=this.elements,t=0;t<e.length;t++){var o=e[t];o.isPanel&&o.deletePanel(),this.onRemoveElementNotifySurvey(o)}},PanelModelBase.prototype.removeFromParent=function(){},PanelModelBase.prototype.canShowTitle=function(e){return!0},Object.defineProperty(PanelModelBase.prototype,"_showDescription",{get:function(){return(!!this.hasTitle||!this.isDesignMode)&&(this.survey&&this.survey.showPageTitles&&this.hasDescription||this.showDescription&&this.isDesignMode&&nC.designMode.showEmptyDescriptions)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t<this.elements.length;t++)this.elements[t].localeChanged()},PanelModelBase.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=0;t<this.elements.length;t++)this.elements[t].locStrsChanged()},PanelModelBase.prototype.getMarkdownHtml=function(t,o){return"navigationTitle"===o&&this.locNavigationTitle.isEmpty?this.locTitle.renderedHtml||this.name:e.prototype.getMarkdownHtml.call(this,t,o)},Object.defineProperty(PanelModelBase.prototype,"locNavigationTitle",{get:function(){return this.getLocalizableString("navigationTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"renderedNavigationTitle",{get:function(){return this.locNavigationTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"requiredText",{get:function(){return this.survey&&this.isRequired?this.survey.requiredText:""},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"titlePattern",{get:function(){return this.survey?this.survey.questionTitlePattern:"numTitleRequire"},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"isRequireTextOnStart",{get:function(){return this.isRequired&&"requireNumTitle"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"isRequireTextBeforeTitle",{get:function(){return this.isRequired&&"numRequireTitle"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"isRequireTextAfterTitle",{get:function(){return this.isRequired&&"numTitleRequire"==this.titlePattern},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"requiredErrorText",{get:function(){return this.getLocalizableStringText("requiredErrorText")},set:function(e){this.setLocalizableStringText("requiredErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"locRequiredErrorText",{get:function(){return this.getLocalizableString("requiredErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"questionsOrder",{get:function(){return this.getPropertyValue("questionsOrder")},set:function(e){this.setPropertyValue("questionsOrder",e)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.canRandomize=function(e){return e&&"initial"!==this.questionsOrder||"random"===this.questionsOrder},PanelModelBase.prototype.randomizeElements=function(e){if(!this.canRandomize(e)||this.isRandomizing)return!1;this.isRandomizing=!0;for(var t=[],o=this.elements,n=0;n<o.length;n++)t.push(o[n]);var r=oe.randomizeArray(t);return this.setArrayPropertyDirectly("elements",r,!1),this.updateRows(),this.updateVisibleIndexes(),this.isRandomizing=!1,!0},Object.defineProperty(PanelModelBase.prototype,"areQuestionsRandomized",{get:function(){return"random"==("default"==this.questionsOrder&&this.survey?this.survey.questionsOrder:this.questionsOrder)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"parent",{get:function(){return this.getPropertyValue("parent",null)},set:function(e){this.setPropertyValue("parent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"depth",{get:function(){return null==this.parent?0:this.parent.depth+1},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"visibleIf",{get:function(){return this.getPropertyValue("visibleIf","")},set:function(e){this.setPropertyValue("visibleIf",e)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.calcCssClasses=function(e){var t={panel:{},error:{},row:"",rowEnter:"",rowLeave:"",rowDelayedEnter:"",rowMultiple:"",pageRow:"",rowCompact:""};return this.copyCssClasses(t.panel,e.panel),this.copyCssClasses(t.error,e.error),e.pageRow&&(t.pageRow=e.pageRow),e.rowCompact&&(t.rowCompact=e.rowCompact),e.row&&(t.row=e.row),e.rowEnter&&(t.rowEnter=e.rowEnter),e.rowLeave&&(t.rowLeave=e.rowLeave),e.rowDelayedEnter&&(t.rowDelayedEnter=e.rowDelayedEnter),e.rowMultiple&&(t.rowMultiple=e.rowMultiple),this.survey&&this.survey.updatePanelCssClasses(this,t),t},Object.defineProperty(PanelModelBase.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"isPanel",{get:function(){return!1},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getPanel=function(){return this},PanelModelBase.prototype.getLayoutType=function(){return"row"},PanelModelBase.prototype.isLayoutTypeSupported=function(e){return"flow"!==e},Object.defineProperty(PanelModelBase.prototype,"questions",{get:function(){if(!this.isQuestionsReady){this.questionsValue=[];for(var e=0;e<this.elements.length;e++){var t=this.elements[e];if(t.isPanel)for(var o=t.questions,n=0;n<o.length;n++)this.questionsValue.push(o[n]);else this.questionsValue.push(t)}this.isQuestionsReady=!0}return this.questionsValue},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getQuestions=function(e){var t=this.questions;if(!e)return t;var o=[];return t.forEach(function(e){o.push(e),e.getNestedQuestions().forEach(function(e){return o.push(e)})}),o},PanelModelBase.prototype.getValidName=function(e){return e?e.trim():e},PanelModelBase.prototype.getQuestionByName=function(e){for(var t=this.questions,o=0;o<t.length;o++)if(t[o].name==e)return t[o];return null},PanelModelBase.prototype.getElementByName=function(e){for(var t=this.elements,o=0;o<t.length;o++){var n=t[o];if(n.name==e)return n;var r=n.getPanel();if(r){var i=r.getElementByName(e);if(i)return i}}return null},PanelModelBase.prototype.getQuestionByValueName=function(e){var t=this.getQuestionsByValueName(e);return t.length>0?t[0]:null},PanelModelBase.prototype.getQuestionsByValueName=function(e){for(var t=[],o=this.questions,n=0;n<o.length;n++)o[n].getValueName()==e&&t.push(o[n]);return t},PanelModelBase.prototype.getValue=function(){var e={};return this.collectValues(e,0),oe.getUnbindValue(e)},PanelModelBase.prototype.collectValues=function(e,t){var o=this.elements;0===t&&(o=this.questions);for(var n=0;n<o.length;n++){var r=o[n];if(r.isPanel||r.isPage){var i={};r.collectValues(i,t-1)&&(e[r.name]=i)}else if(!r.isEmpty()){var s=r.getValueName();if(e[s]=r.value,this.data){var a=this.data.getComment(s);a&&(e[s+oW.commentSuffix]=a)}}}return!0},PanelModelBase.prototype.getDisplayValue=function(e){for(var t={},o=this.questions,n=0;n<o.length;n++){var r=o[n];r.isEmpty()||(t[e?r.title:r.getValueName()]=r.getDisplayValue(e))}return t},PanelModelBase.prototype.getComments=function(){var e={};if(!this.data)return e;for(var t=this.questions,o=0;o<t.length;o++){var n=t[o],r=this.data.getComment(n.getValueName());r&&(e[n.getValueName()]=r)}return e},PanelModelBase.prototype.clearIncorrectValues=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].clearIncorrectValues()},PanelModelBase.prototype.clearErrors=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].clearErrors();this.errors=[]},PanelModelBase.prototype.markQuestionListDirty=function(){this.isQuestionsReady=!1,this.parent&&this.parent.markQuestionListDirty()},Object.defineProperty(PanelModelBase.prototype,"elements",{get:function(){return oW.collectDependency(this,"elements"),this.elementsValue},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),this.elements},PanelModelBase.prototype.containsElement=function(e){for(var t=0;t<this.elements.length;t++){var o=this.elements[t];if(o==e)return!0;var n=o.getPanel();
5if(n&&n.containsElement(e))return!0}return!1},Object.defineProperty(PanelModelBase.prototype,"isRequired",{get:function(){return this.getPropertyValue("isRequired")},set:function(e){this.setPropertyValue("isRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"requiredIf",{get:function(){return this.getPropertyValue("requiredIf","")},set:function(e){this.setPropertyValue("requiredIf",e)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.searchText=function(t,o){e.prototype.searchText.call(this,t,o);for(var n=0;n<this.elements.length;n++)this.elements[n].searchText(t,o)},PanelModelBase.prototype.hasErrors=function(e,t,o){return void 0===e&&(e=!0),void 0===t&&(t=!1),void 0===o&&(o=null),!this.validate(e,t,o)},PanelModelBase.prototype.validate=function(e,t,o){return void 0===e&&(e=!0),void 0===t&&(t=!1),void 0===o&&(o=null),!0!==(o=o||{fireCallback:e,focusOnFirstError:t,firstErrorQuestion:null,result:!1}).result&&(o.result=!1),this.hasErrorsCore(o),!o.result},PanelModelBase.prototype.validateContainerOnly=function(){this.hasErrorsInPanels({fireCallback:!0}),this.parent&&this.parent.validateContainerOnly()},PanelModelBase.prototype.onQuestionValueChanged=function(e){var t=this.questions.indexOf(e);if(!(t<0)){for(var o=this.questions.length-1,n=t-5>0?t-5:0,r=t+5<o?t+5:o,i=n;i<=r;i++)if(i!==t){var s=this.questions[i];s.errors.length>0&&s.validate(!1)&&s.validate(!0)}}},PanelModelBase.prototype.hasErrorsInPanels=function(e){var t=[];if(this.hasRequiredError(e,t),this.isPanel&&this.survey){var o=this.survey.validatePanel(this);o&&(t.push(o),e.result=!0)}e.fireCallback&&(this.survey&&this.survey.beforeSettingPanelErrors(this,t),this.errors=t)},PanelModelBase.prototype.getErrorCustomText=function(e,t){return this.survey?this.survey.getSurveyErrorCustomText(this,e,t):e},PanelModelBase.prototype.hasRequiredError=function(e,t){if(this.isRequired){var o=[];if(this.addQuestionsToList(o,!0),0!=o.length){for(var n=0;n<o.length;n++)if(!o[n].isEmpty())return;e.result=!0,t.push(new nE(this.requiredErrorText,this)),e.focusOnFirstError&&!e.firstErrorQuestion&&(e.firstErrorQuestion=o[0])}}},PanelModelBase.prototype.hasErrorsCore=function(e){for(var t=this.elements,o=null,n=null,r=0;r<t.length;r++)if((o=t[r]).isVisible){if(o.isPanel)o.hasErrorsCore(e);else{var i=o;i.validate(e.fireCallback,e)||(n||(n=i),e.firstErrorQuestion||(e.firstErrorQuestion=i),e.result=!0)}}this.hasErrorsInPanels(e),this.updateContainsErrors(),n||!(this.errors.length>0)||(n=this.getFirstQuestionToFocus(!1,!0),e.firstErrorQuestion||(e.firstErrorQuestion=n)),e.fireCallback&&n&&(n===e.firstErrorQuestion&&e.focusOnFirstError?n.focus(!0):n.expandAllParents())},PanelModelBase.prototype.getContainsErrors=function(){var t=e.prototype.getContainsErrors.call(this);if(t)return t;for(var o=this.elements,n=0;n<o.length;n++)if(o[n].containsErrors)return!0;return!1},PanelModelBase.prototype.updateElementVisibility=function(){for(var t=0;t<this.elements.length;t++)this.elements[t].updateElementVisibility();e.prototype.updateElementVisibility.call(this)},PanelModelBase.prototype.getFirstQuestionToFocus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),!e&&!t&&this.isCollapsed)return null;for(var o=this.elements,n=0;n<o.length;n++){var r=o[n];if(r.isVisible&&(t||!r.isCollapsed)){if(r.isPanel){var i=r.getFirstQuestionToFocus(e,t);if(i)return i}else{var s=r.getFirstQuestionToFocus(e);if(s)return s}}}return null},PanelModelBase.prototype.getFirstVisibleQuestion=function(){for(var e=this.questions,t=0;t<e.length;t++)if(e[t].isVisible)return e[t];return null},PanelModelBase.prototype.getFirstVisibleElement=function(){for(var e=this.elements,t=0;t<e.length;t++)if(e[t].isVisible)return e[t];return null},PanelModelBase.prototype.focusFirstQuestion=function(){var e=this.getFirstQuestionToFocus();e&&e.focus()},PanelModelBase.prototype.focusFirstErrorQuestion=function(){var e=this.getFirstQuestionToFocus(!0);e&&e.focus()},PanelModelBase.prototype.addQuestionsToList=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1),this.addElementsToList(e,t,o,!1)},PanelModelBase.prototype.addPanelsIntoList=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1),this.addElementsToList(e,t,o,!0)},PanelModelBase.prototype.addElementsToList=function(e,t,o,n){(!t||this.visible)&&this.addElementsToListCore(e,this.elements,t,o,n)},PanelModelBase.prototype.addElementsToListCore=function(e,t,o,n,r){for(var i=0;i<t.length;i++){var s=t[i];(!o||s.visible)&&((r&&s.isPanel||!r&&!s.isPanel)&&e.push(s),s.isPanel?s.addElementsToListCore(e,s.elements,o,n,r):n&&this.addElementsToListCore(e,s.getElementsInDesign(!1),o,n,r))}},PanelModelBase.prototype.calcMaxRowColSpan=function(){var e=0;return this.rows.forEach(function(t){var o=0,n=!1;
5t.elements.forEach(function(e){e.width&&(n=!0),o+=e.colSpan||1}),!n&&o>e&&(e=o)}),e},PanelModelBase.prototype.updateColumnWidth=function(e){var t=0,o=0;if(e.forEach(function(e){e.width?(t+=e.width,e.setPropertyValue("effectiveWidth",e.width)):o++}),o)for(var n=Math.floor(100*((100-t)/o))/100,r=0;r<e.length;r++)e[r].width||e[r].setPropertyValue("effectiveWidth",n)},PanelModelBase.prototype.updateColumns=function(){this._columns=void 0,this.updateRootStyle()},PanelModelBase.prototype.updateRootStyle=function(){var t;e.prototype.updateRootStyle.call(this),null===(t=this.elements)||void 0===t||t.forEach(function(e){return e.updateRootStyle()})},PanelModelBase.prototype.updateCustomWidgets=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].updateCustomWidgets()},Object.defineProperty(PanelModelBase.prototype,"questionTitleLocation",{get:function(){return this.getPropertyValue("questionTitleLocation")},set:function(e){this.setPropertyValue("questionTitleLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getQuestionTitleLocation=function(){return this.onGetQuestionTitleLocation?this.onGetQuestionTitleLocation():"default"!=this.questionTitleLocation?this.questionTitleLocation:this.parent?this.parent.getQuestionTitleLocation():this.survey?this.survey.questionTitleLocation:"top"},PanelModelBase.prototype.availableQuestionTitleWidth=function(){return"left"===this.getQuestionTitleLocation()||this.hasElementWithTitleLocationLeft()},PanelModelBase.prototype.hasElementWithTitleLocationLeft=function(){return this.elements.some(function(e){return e instanceof PanelModelBase?e.hasElementWithTitleLocationLeft():e instanceof nX?"left"===e.getTitleLocation():void 0})},PanelModelBase.prototype.getQuestionTitleWidth=function(){return this.questionTitleWidth||this.parent&&this.parent.getQuestionTitleWidth()},Object.defineProperty(PanelModelBase.prototype,"columns",{get:function(){return this._columns||this.generateColumns(),this._columns||[]},enumerable:!1,configurable:!0}),PanelModelBase.prototype.generateColumns=function(){var e=this.calcMaxRowColSpan(),t=[].concat(this.gridLayoutColumns);if(e<=this.gridLayoutColumns.length)t=this.gridLayoutColumns.slice(0,e);else for(var o=this.gridLayoutColumns.length;o<e;o++){var n=new ir;n.onPropertyValueChangedCallback=this.onColumnPropertyValueChangedCallback,t.push(n)}this._columns=t;try{this._columnsReady=!1,this.updateColumnWidth(t)}finally{this._columnsReady=!0}this.gridLayoutColumns=t},PanelModelBase.prototype.updateGridColumns=function(){this.updateColumns(),this.elements.forEach(function(e){e.isPanel&&e.updateGridColumns()})},PanelModelBase.prototype.getColumsForElement=function(e){var t=this.findRowByElement(e);if(!t||!this.survey||!this.survey.gridLayoutEnabled)return[];for(var o=t.elements.length-1;o>=0&&t.elements[o].getPropertyValueWithoutDefault("colSpan");)o--;for(var n=t.elements.indexOf(e),r=0,i=0;i<n;i++)r+=t.elements[i].colSpan;var s=e.getPropertyValueWithoutDefault("colSpan");if(!s&&n===o){for(var a=0,i=0;i<t.elements.length;i++)i!==o&&(a+=t.elements[i].colSpan);s=this.columns.length-a}var l=this.columns.slice(r,r+(s||1));return e.setPropertyValue("effectiveColSpan",l.length),l},PanelModelBase.prototype.getStartIndex=function(){return this.parent?this.parent.getQuestionStartIndex():this.survey?this.survey.questionStartIndex:""},PanelModelBase.prototype.getQuestionStartIndex=function(){return this.getStartIndex()},PanelModelBase.prototype.getChildrenLayoutType=function(){return"row"},PanelModelBase.prototype.getProgressInfo=function(){return nm.getProgressInfoByElements(this.elements,this.isRequired)},Object.defineProperty(PanelModelBase.prototype,"root",{get:function(){for(var e=this;e.parent;)e=e.parent;return e},enumerable:!1,configurable:!0}),PanelModelBase.prototype.childVisibilityChanged=function(){this.isRunningConditions||this.getIsPageVisible(null)===this.getPropertyValue("isVisible",!0)||this.onVisibleChanged()},PanelModelBase.prototype.canRenderFirstRows=function(){return this.isPage},PanelModelBase.prototype.isLazyRenderInRow=function(e){return!!this.survey&&
5!!this.survey.isLazyRendering&&(e>=this.survey.lazyRenderingFirstBatchSize||!this.canRenderFirstRows())},PanelModelBase.prototype.createRowAndSetLazy=function(e){var t=this.createRow();return t.setIsLazyRendering(this.isLazyRenderInRow(e)),t},PanelModelBase.prototype.createRow=function(){return new is(this)},PanelModelBase.prototype.onSurveyLoad=function(){this.blockAnimations(),e.prototype.onSurveyLoad.call(this);for(var t=0;t<this.elements.length;t++)this.elements[t].onSurveyLoad();this.onElementVisibilityChanged(this),this.releaseAnimations()},PanelModelBase.prototype.onFirstRenderingCore=function(){e.prototype.onFirstRenderingCore.call(this),this.onRowsChanged(),this.elements.forEach(function(e){return e.onFirstRendering()})},PanelModelBase.prototype.updateRows=function(){this.isLoadingFromJson||(this.getElementsForRows().forEach(function(e){e.isPanel&&e.updateRows()}),this.onRowsChanged())},Object.defineProperty(PanelModelBase.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},enumerable:!1,configurable:!0}),PanelModelBase.prototype.ensureRowsVisibility=function(){this.rows.forEach(function(e){e.ensureVisibility()})},PanelModelBase.prototype.onRowsChanged=function(){this.isLoadingFromJson||(this.blockAnimations(),this.setArrayPropertyDirectly("rows",this.buildRows()),this.updateColumns(),this.releaseAnimations())},PanelModelBase.prototype.blockRowsUpdates=function(){this.locCountRowUpdates++},PanelModelBase.prototype.releaseRowsUpdates=function(){this.locCountRowUpdates--},PanelModelBase.prototype.updateRowsBeforeElementRemoved=function(e){var t=this,o=this.findRowByElement(e),n=this.rows.indexOf(o),r=o.elements.indexOf(e);o.elements.splice(r,1),0==o.elements.length?this.rows.splice(n,1):!o.elements[0].startWithNewLine&&this.rows[n-1]?(o.elements.forEach(function(e){return t.rows[n-1].addElement(e)}),this.rows.splice(n,1)):o.updateVisible()},PanelModelBase.prototype.updateRowsOnElementAdded=function(e){var t=this,o=this.elements.indexOf(e),n=this.elements[o+1],createRowAtIndex=function(e){var o=t.createRowAndSetLazy(e);return t.isDesignModeV2&&o.setIsLazyRendering(!1),t.rows.splice(e,0,o),o},updateRow=function(e,t,o){for(var n,r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var s=(n=e.elements).splice.apply(n,panel_spreadArray([t,o],r));return e.updateVisible(),s};if(!n){0==o||e.startWithNewLine?updateRow(createRowAtIndex(this.rows.length),0,0,e):this.rows[this.rows.length-1].addElement(e);return}var r=this.findRowByElement(n);if(r){var i=this.rows.indexOf(r),s=r.elements.indexOf(n);0==s?n.startWithNewLine?e.startWithNewLine||i<1?createRowAtIndex(i).addElement(e):this.rows[i-1].addElement(e):updateRow(r,0,0,e):e.startWithNewLine?updateRow.apply(void 0,panel_spreadArray([createRowAtIndex(i+1),0,0],[e].concat(updateRow(r,s,r.elements.length)))):updateRow(r,s,0,e)}},PanelModelBase.prototype.canFireAddRemoveNotifications=function(e){return!!this.survey&&e.prevSurvey!==this.survey},PanelModelBase.prototype.onAddElement=function(e,t){var o=this,n=this.survey,r=this.canFireAddRemoveNotifications(e);this.surveyImpl&&e.setSurveyImpl(this.surveyImpl),e.parent=this,this.markQuestionListDirty(),this.canBuildRows()&&this.updateRowsOnElementAdded(e),r&&(e.isPanel?n.panelAdded(e,t,this,this.root):n.questionAdded(e,t,this,this.root)),this.addElementCallback&&this.addElementCallback(e),e.registerPropertyChangedHandlers(["visible","isVisible"],function(){o.onElementVisibilityChanged(e)},this.id),e.registerPropertyChangedHandlers(["startWithNewLine"],function(){o.onElementStartWithNewLineChanged(e)},this.id),this.onElementVisibilityChanged(this)},PanelModelBase.prototype.onRemoveElement=function(e){e.parent=null,this.unregisterElementPropertiesChanged(e),this.markQuestionListDirty(),this.updateRowsOnElementRemoved(e),this.isRandomizing||(this.onRemoveElementNotifySurvey(e),this.removeElementCallback&&this.removeElementCallback(e),this.onElementVisibilityChanged(this))},PanelModelBase.prototype.unregisterElementPropertiesChanged=function(e){e.unregisterPropertyChangedHandlers(["visible","isVisible","startWithNewLine"],this.id)},PanelModelBase.prototype.onRemoveElementNotifySurvey=function(e){this.canFireAddRemoveNotifications(e)&&(e.isPanel?this.survey.panelRemoved(e):this.survey.questionRemoved(e))},PanelModelBase.prototype.onElementVisibilityChanged=function(e){this.isLoadingFromJson||this.isRandomizing||(this.updateRowsVisibility(e),this.childVisibilityChanged(),this.parent&&this.parent.onElementVisibilityChanged(this))},PanelModelBase.prototype.onElementStartWithNewLineChanged=function(e){this.locCountRowUpdates>0||(this.blockAnimations(),this.updateRowsBeforeElementRemoved(e),this.updateRowsOnElementAdded(e),this.releaseAnimations())},PanelModelBase.prototype.updateRowsVisibility=function(e){for(var t=this.rows,o=0;o<t.length;o++){var n=t[o];if(n.elements.indexOf(e)>-1){n.updateVisible(),n.visible&&!n.isNeedRender&&(n.isNeedRender=!0);break}}},PanelModelBase.prototype.canBuildRows=function(){return!this.isLoadingFromJson&&"row"==this.getChildrenLayoutType()},PanelModelBase.prototype.buildRows=function(){if(!this.canBuildRows())return[];for(var e=[],t=this.getElementsForRows(),o=0;o<t.length;o++){var n=t[o],r=0==o||n.startWithNewLine,i=r?this.createRowAndSetLazy(e.length):e[e.length-1];r&&e.push(i),i.addElement(n)}return e.forEach(function(e){return e.updateVisible()}),e},PanelModelBase.prototype.getElementsForRows=function(){return this.elements},PanelModelBase.prototype.getDragDropInfo=function(){var e=this.getPage(this.parent);return e?e.getDragDropInfo():void 0},PanelModelBase.prototype.updateRowsOnElementRemoved=function(e){this.canBuildRows()&&(this.updateRowsRemoveElementFromRow(e,this.findRowByElement(e)),this.updateColumns())},PanelModelBase.prototype.updateRowsRemoveElementFromRow=function(e,t){if(t&&t.panel){var o=t.elements.indexOf(e);!(o<0)&&(t.elements.splice(o,1),t.elements.length>0?(this.blockRowsUpdates(),t.elements[0].startWithNewLine=!0,this.releaseRowsUpdates(),t.updateVisible()):t.index>=0&&t.panel.rows.splice(t.index,1))}},PanelModelBase.prototype.getAllRows=function(){var e=this,t=[];return this.rows.forEach(function(o){var n=[];
5o.elements.forEach(function(t){t.isPanel?n.push.apply(n,t.getAllRows()):"paneldynamic"==t.getType()&&(e.isDesignMode?n.push.apply(n,t.template.getAllRows()):t.panels.forEach(function(e){return n.push.apply(n,e.getAllRows())}))}),t.push(o),t.push.apply(t,n)}),t},PanelModelBase.prototype.findRowAndIndexByElement=function(e,t){if(!e)return{row:void 0,index:this.rows.length-1};t=t||this.rows;for(var o=0;o<t.length;o++)if(t[o].elements.indexOf(e)>-1)return{row:t[o],index:o};return{row:null,index:-1}},PanelModelBase.prototype.forceRenderRow=function(e){e&&!e.isNeedRender&&(e.isNeedRender=!0,e.stopLazyRendering())},PanelModelBase.prototype.forceRenderElement=function(e,t,o){void 0===t&&(t=function(){}),void 0===o&&(o=0);var n=this.getAllRows(),r=this.findRowAndIndexByElement(e,n),i=r.row,s=r.index;if(s>=0&&s<n.length){var a=[];a.push(i);for(var l=s-1;l>=s-o&&l>=0;l--)a.push(n[l]);this.forceRenderRows(a,t)}},PanelModelBase.prototype.forceRenderRows=function(e,t){var o,n=this;void 0===t&&(t=function(){});var r=(o=e.length,function(){--o<=0&&t()});e.forEach(function(e){return new ng(e.visibleElements,r)}),e.forEach(function(e){return n.forceRenderRow(e)})},PanelModelBase.prototype.findRowByElement=function(e){return this.findRowAndIndexByElement(e).row},PanelModelBase.prototype.elementWidthChanged=function(e){if(!this.isLoadingFromJson){var t=this.findRowByElement(e);t&&t.updateVisible()}},Object.defineProperty(PanelModelBase.prototype,"processedTitle",{get:function(){return this.getRenderedTitle(this.locTitle.textOrHtml)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getRenderedTitle=function(e){return null!=this.textProcessor?this.textProcessor.processText(e,!0):e},Object.defineProperty(PanelModelBase.prototype,"visible",{get:function(){return this.getPropertyValue("visible",!0)},set:function(e){e===this.visible||(this.setPropertyValue("visible",e),this.setPropertyValue("isVisible",this.isVisible),this.isLoadingFromJson||this.onVisibleChanged())},enumerable:!1,configurable:!0}),PanelModelBase.prototype.onHidingContent=function(){this.questions.forEach(function(e){return e.onHidingContent()})},PanelModelBase.prototype.onVisibleChanged=function(){if(!this.isRandomizing&&(this.setPropertyValue("isVisible",this.isVisible),!this.isLoadingFromJson))for(var e=this.questions,t=this.isVisible,o=0;o<e.length;o++){var n=e[o];t?n.updateValueWithDefaults():(n.clearValueIfInvisible("onHiddenContainer"),n.onHidingContent())}},PanelModelBase.prototype.notifyStateChanged=function(t){e.prototype.notifyStateChanged.call(this,t),this.isCollapsed&&this.questions.forEach(function(e){return e.onHidingContent()})},Object.defineProperty(PanelModelBase.prototype,"isVisible",{get:function(){return this.areInvisibleElementsShowing||this.getIsPageVisible(null)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getIsContentVisible=function(e){if(this.areInvisibleElementsShowing)return!0;for(var t=0;t<this.elements.length;t++)if(this.elements[t]!=e&&this.elements[t].isVisible)return!0;return!1},PanelModelBase.prototype.getIsPageVisible=function(e){var t=this.getIsContentVisible(e);return this.visible&&t},PanelModelBase.prototype.setVisibleIndex=function(e){if(!this.isVisible||e<0)return this.resetVisibleIndexes(),0;this.lastVisibleIndex=e;var t=e;e+=this.beforeSetVisibleIndex(e);for(var o=this.getPanelStartIndex(e),n=o,r=0;r<this.elements.length;r++)n+=this.elements[r].setVisibleIndex(n);return this.isContinueNumbering()&&(e+=n-o),e-t},PanelModelBase.prototype.updateVisibleIndexes=function(){void 0!==this.lastVisibleIndex&&(this.resetVisibleIndexes(),this.setVisibleIndex(this.lastVisibleIndex))},PanelModelBase.prototype.resetVisibleIndexes=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].setVisibleIndex(-1)},PanelModelBase.prototype.beforeSetVisibleIndex=function(e){return 0},PanelModelBase.prototype.getPanelStartIndex=function(e){return e},PanelModelBase.prototype.isContinueNumbering=function(){return!0},Object.defineProperty(PanelModelBase.prototype,"isReadOnly",{get:function(){var e=!!this.parent&&this.parent.isReadOnly,t=!!this.survey&&this.survey.isDisplayMode;return this.readOnly||e||t}
vendor: 4,110 bytes, line 5
5,enumerable:!1,configurable:!0}),PanelModelBase.prototype.onReadOnlyChanged=function(){for(var t=0;t<this.elements.length;t++){var o=this.elements[t];o.setPropertyValue("isReadOnly",o.isReadOnly)}e.prototype.onReadOnlyChanged.call(this)},PanelModelBase.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t);for(var o=0;o<this.elements.length;o++)this.elements[o].updateElementCss(t)},Object.defineProperty(PanelModelBase.prototype,"enableIf",{get:function(){return this.getPropertyValue("enableIf","")},set:function(e){this.setPropertyValue("enableIf",e)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.addElement=function(e,t){return void 0===t&&(t=-1),!!this.canAddElement(e)&&(t<0||t>=this.elements.length?this.elements.push(e):this.elements.splice(t,0,e),this.wasRendered&&e.onFirstRendering(),this.updateColumns(),!0)},PanelModelBase.prototype.insertElement=function(e,t,o){if(void 0===o&&(o="bottom"),!t){this.addElement(e);return}this.blockRowsUpdates();var n=this.elements.indexOf(t),r=this.findRowByElement(t);"left"==o||"right"==o?"right"==o?(e.startWithNewLine=!1,n++):0==r.elements.indexOf(t)?(t.startWithNewLine=!1,e.startWithNewLine=!0):e.startWithNewLine=!1:(e.startWithNewLine=!0,n="top"==o?this.elements.indexOf(r.elements[0]):this.elements.indexOf(r.elements[r.elements.length-1])+1),this.releaseRowsUpdates(),this.addElement(e,n)},PanelModelBase.prototype.insertElementAfter=function(e,t){var o=this.elements.indexOf(t);o>=0&&this.addElement(e,o+1)},PanelModelBase.prototype.insertElementBefore=function(e,t){var o=this.elements.indexOf(t);o>=0&&this.addElement(e,o)},PanelModelBase.prototype.canAddElement=function(e){return!!e&&e.isLayoutTypeSupported(this.getChildrenLayoutType())},PanelModelBase.prototype.addQuestion=function(e,t){return void 0===t&&(t=-1),this.addElement(e,t)},PanelModelBase.prototype.addPanel=function(e,t){return void 0===t&&(t=-1),this.addElement(e,t)},PanelModelBase.prototype.addNewQuestion=function(e,t,o){void 0===t&&(t=null),void 0===o&&(o=-1);var n=rh.Instance.createQuestion(e,t);return this.addQuestion(n,o)?n:null},PanelModelBase.prototype.addNewPanel=function(e){void 0===e&&(e=null);var t=this.createNewPanel(e);return this.addPanel(t)?t:null},PanelModelBase.prototype.indexOf=function(e){return this.elements.indexOf(e)},PanelModelBase.prototype.createNewPanel=function(e){var t=ov.createClass("panel");return t.name=e,t},PanelModelBase.prototype.removeElement=function(e){var t=this.elements.indexOf(e);if(t<0){for(var o=0;o<this.elements.length;o++)if(this.elements[o].removeElement(e))return!0;return!1}return this.elements.splice(t,1),this.updateColumns(),!0},PanelModelBase.prototype.removeQuestion=function(e){this.removeElement(e)},PanelModelBase.prototype.runCondition=function(e,t){if(!this.isDesignMode&&!this.isLoadingFromJson){var o=this.elements.slice(),n=this.getIsPageVisible();this.isRunningConditions=!0;for(var r=0;r<o.length;r++)o[r].runCondition(e,t);this.runConditionCore(e,t);var i=this.getIsPageVisible();this.isRunningConditions=!1,n!==i&&this.childVisibilityChanged()}},PanelModelBase.prototype.onAnyValueChanged=function(e,t){for(var o=this.elements,n=0;n<o.length;n++)o[n].onAnyValueChanged(e,t)},PanelModelBase.prototype.checkBindings=function(e,t){for(var o=this.elements,n=0;n<o.length;n++)o[n].checkBindings(e,t)},PanelModelBase.prototype.dragDropAddTarget=function(e){this.dragDropPanelHelper.dragDropAddTarget(e)},PanelModelBase.prototype.dragDropFindRow=function(e){return this.dragDropPanelHelper.dragDropFindRow(e)},PanelModelBase.prototype.dragDropMoveElement=function(e,t,o){this.dragDropPanelHelper.dragDropMoveElement(e,t,o)},PanelModelBase.prototype.needResponsiveWidth=function(){var e=!1;return this.elements.forEach(function(t){t.needResponsiveWidth()&&(e=!0)}),this.rows.forEach(function(t){t.elements.length>1&&(e=!0)}),e},Object.defineProperty(PanelModelBase.prototype,"hasDescriptionUnderTitle",{get:function(){return this.hasDescription},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"cssHeader",{get:function(){return this.cssClasse
5s.panel.header},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"cssDescription",{get:function(){return this.cssClasses.panel.description},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"questionErrorLocation",{get:function(){return this.getPropertyValue("questionErrorLocation")},set:function(e){this.setPropertyValue("questionErrorLocation",e)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getQuestionErrorLocation=function(){return"default"!==this.questionErrorLocation?this.questionErrorLocation:this.parent?this.parent.getQuestionErrorLocation():this.survey?this.survey.questionErrorLocation:"top"},PanelModelBase.prototype.getTitleOwner=function(){return this},Object.defineProperty(PanelModelBase.prototype,"no",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"cssTitleNumber",{get:function(){return this.cssClasses.panel.number},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"cssRequiredText",{get:function(){return this.cssClasses.panel.requiredText},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModelBase.prototype,"cssError",{get:function(){return this.getCssError(this.cssClasses)},enumerable:!1,configurable:!0}),PanelModelBase.prototype.getCssError=function(e){return new oY().append(e.error.root).toString()},PanelModelBase.prototype.getSerializableColumnsValue=function(){for(var e=-1,t=this.gridLayoutColumns.length-1;t>=0;t--)if(!this.gridLayoutColumns[t].isEmpty()){e=t;break}return this.gridLayoutColumns.slice(0,e+1)},PanelModelBase.prototype.afterRender=function(e){this.afterRenderCore(e)},PanelModelBase.prototype.dispose=function(){if(e.prototype.dispose.call(this),this.rows){for(var t=0;t<this.rows.length;t++)this.rows[t].dispose();this.rows.splice(0,this.rows.length)}this.disposeElements(),this.elements.splice(0,this.elements.length)},PanelModelBase.prototype.disposeElements=function(){for(var e=0;e<this.elements.length;e++)this.elements[e].dispose()},PanelModelBase.panelCounter=100,panel_decorate([propertyArray()],PanelModelBase.prototype,"gridLayoutColumns",void 0),panel_decorate([jsonobject_property({defaultValue:!0})],PanelModelBase.prototype,"showTitle",void 0),panel_decorate([jsonobject_property({defaultValue:!0})],PanelModelBase.prototype,"showDescription",void 0),panel_decorate([jsonobject_property()],PanelModelBase.prototype,"questionTitleWidth",void 0),PanelModelBase}(nm),il=function(e){function PanelModel(t){void 0===t&&(t="");var o=e.call(this,t)||this;return o.forcusFirstQuestionOnExpand=!0,o.createNewArray("footerActions"),o.registerPropertyChangedHandlers(["width"],function(){o.parent&&o.parent.elementWidthChanged(o)}),o.registerPropertyChangedHandlers(["indent","innerIndent","rightIndent"],function(){o.resetIndents()}),o.registerPropertyChangedHandlers(["colSpan"],function(){var e;null===(e=o.parent)||void 0===e||e.updateColumns()}),o}return ii(PanelModel,e),PanelModel.prototype.getType=function(){return"panel"},Object.defineProperty(PanelModel.prototype,"contentId",{get:function(){return this.id+"_content"},enumerable:!1,configurable:!0}),PanelModel.prototype.getSurvey=function(t){return(void 0===t&&(t=!1),t&&this.isPanel)?this.parent?this.parent.getSurvey(t):null:e.prototype.getSurvey.call(this,t)},Object.defineProperty(PanelModel.prototype,"isPanel",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"page",{get:function(){return this.getPage(this.parent)},set:function(e){this.setPage(this.parent,e)},enumerable:!1,configurable:!0}),PanelModel.prototype.removeFromParent=function(){this.parent&&this.removeSelfFromList(this.parent.elements)},PanelModel.prototype.moveTo=function(e,t){return void 0===t&&(t=null),this.moveToBase(this.parent,e,t)},Object.defineProperty(PanelModel.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"showNumber",{get:function(){return this.getPropertyValue("showNumber")},set:function(e){this.setPropertyValue("showNumber",e),this.notifySurveyOnVisibilityChanged()}
vendor: 8,249 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){this.setPropertyValue("showQuestionNumbers",e),this.notifySurveyOnVisibilityChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"questionStartIndex",{get:function(){return this.getPropertyValue("questionStartIndex","")},set:function(e){this.setPropertyValue("questionStartIndex",e)},enumerable:!1,configurable:!0}),PanelModel.prototype.getQuestionStartIndex=function(){return this.questionStartIndex?this.questionStartIndex:e.prototype.getQuestionStartIndex.call(this)},Object.defineProperty(PanelModel.prototype,"no",{get:function(){var e=this;return this.getPropertyValue("no",void 0,function(){return e.calcNo()})},enumerable:!1,configurable:!0}),PanelModel.prototype.calcNo=function(){var e=oe.getNumberByIndex(this.visibleIndex,this.getStartIndex());return this.survey&&(e=this.survey.getUpdatedPanelNo(this,e)),e||""},PanelModel.prototype.notifyStateChanged=function(t){this.isLoadingFromJson||this.locTitle.strChanged(),e.prototype.notifyStateChanged.call(this,t)},PanelModel.prototype.createLocTitleProperty=function(){var t=this,o=e.prototype.createLocTitleProperty.call(this);return o.onGetTextCallback=function(e){return e||"default"===t.state||(e=t.name),e},o},PanelModel.prototype.beforeSetVisibleIndex=function(t){if(this.isPage)return e.prototype.beforeSetVisibleIndex.call(this,t);var o=-1;return this.showNumber&&(this.isDesignMode||!this.locTitle.isEmpty||this.hasParentInQuestionIndex())&&(o=t),this.setPropertyValue("visibleIndex",o),this.resetPropertyValue("no"),o<0?0:1},PanelModel.prototype.getPanelStartIndex=function(e){return"off"===this.showQuestionNumbers?-1:"onpanel"===this.showQuestionNumbers?0:e},PanelModel.prototype.hasParentInQuestionIndex=function(){if("onpanel"!==this.showQuestionNumbers)return!1;var e=this.questionStartIndex,t=e.indexOf(".");return t>-1&&t<e.length-1},PanelModel.prototype.isContinueNumbering=function(){return"off"!==this.showQuestionNumbers&&"onpanel"!==this.showQuestionNumbers},PanelModel.prototype.notifySurveyOnVisibilityChanged=function(){null==this.survey||this.isLoadingFromJson||this.survey.panelVisibilityChanged(this,this.isVisible)},PanelModel.prototype.getRenderedTitle=function(t){if(this.isPanel&&!t){if(this.isCollapsed||this.isExpanded)return this.name;if(this.isDesignMode)return"["+this.name+"]"}return e.prototype.getRenderedTitle.call(this,t)},Object.defineProperty(PanelModel.prototype,"innerIndent",{get:function(){return this.getPropertyValue("innerIndent")},set:function(e){this.setPropertyValue("innerIndent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"startWithNewLine",{get:function(){return this.getPropertyValue("startWithNewLine")},set:function(e){this.setPropertyValue("startWithNewLine",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"allowAdaptiveActions",{get:function(){return this.getPropertyValue("allowAdaptiveActions")},set:function(e){this.setPropertyValue("allowAdaptiveActions",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PanelModel.prototype,"innerPaddingLeft",{get:function(){var e=this;return this.getPropertyValue("innerPaddingLeft",void 0,function(){return e.getIndentSize(e.innerIndent)})},set:function(e){this.setPropertyValue("innerPaddingLeft",e)},enumerable:!1,configurable:!0}),PanelModel.prototype.calcPaddingLeft=function(){return this.getIndentSize(this.indent)},PanelModel.prototype.calcPaddingRight=function(){return this.getIndentSize(this.rightIndent)},PanelModel.prototype.resetIndents=function(){this.resetPropertyValue("innerPaddingLeft"),e.prototype.resetIndents.call(this)},PanelModel.prototype.getIndentSize=function(e){if(this.survey){if(e<1)return"";var t=this.survey.css;return t&&t.question&&t.question.indent?e*t.question.indent+"px":""}},PanelModel.prototype.clearOnDeletingContainer=function(){this.elements.forEach(function(e){(e instanceof nX||e instanceof PanelModel)&&e.clearOnDeletingContainer()})},Object.defineProperty(PanelModel.prototype,"footerActions",{get:function(){return this.getPropertyValue("footerActions")},enumerable:!1,configurable:!0}),PanelModel.prototype.getFooterToolbar=function(){var e,t,o=this;if(!this.footerToolbarValue){var n=this.footerActions;this.hasEditButton&&n.push({id:"cancel-preview",locTitle:this.survey.locEditText,innerCss:this.survey.cssNavigationEdit,component:"sv-nav-btn",action:function(){o.cancelPreview()}}),n=this.onGetFooterActionsCallback?this.onGetFooterActionsCallback():null===(e=this.survey)||void 0===e?void 0:e.getUpdatedPanelFooterActions(this,n),this.footerToolbarValue=this.createActionContainer(this.allowAdaptiveActions);var r=this.onGetFooterToolbarCssCallback?this.onGetFooterToolbarCssCallback():"";r||(r=null===(t=this.cssClasses.panel)||void 0===t?void 0:t.footer),r&&(this.footerToolbarValue.containerCss=r),this.footerToolbarValue.setItems(n)}return this.footerToolbarValue},Object.defineProperty(PanelModel.prototype,"hasEditButton",{get:function(){return!1},enumerable:!1,configurable:!0}),PanelModel.prototype.cancelPreview=function(){this.hasEditButton&&this.survey.cancelPreviewByPage(this)},Object.defineProperty(PanelModel.prototype,"cssTitle",{get:function(){return this.getCssPanelTitle()},enumerable:!1,configurable:!0}),PanelModel.prototype.getCssPanelTitle=function(){return this.getCssTitle(this.cssClasses.panel)},PanelModel.prototype.getCssTitleExpandableSvg=function(){return"default"===this.state?null:this.cssClasses.panel.titleExpandableSvg},Object.defineProperty(PanelModel.prototype,"showErrorsAbovePanel",{get:function(){return this.isDefaultV2Theme&&!this.showPanelAsPage},enumerable:!1,configurable:!0}),PanelModel.prototype.getCssError=function(t){if(this.isPage)return e.prototype.getCssError.call(this,t);var o=new oY().append(e.prototype.getCssError.call(this,t)).append(t.panel.errorsContainer);return o.append("panel-error-root",o.isEmpty()).toString()},PanelModel.prototype.onVisibleChanged=function(){e.prototype.onVisibleChanged.call(this),this.notifySurveyOnVisibilityChanged()},PanelModel.prototype.needResponsiveWidth=function(){return!this.startWithNewLine||e.prototype.needResponsiveWidth.call(this)},PanelModel.prototype.focusIn=function(){this.survey&&this.survey.whenPanelFocusIn(this)},PanelModel.prototype.getHasFrameV2=function(){return e.prototype.getHasFrameV2.call(this)&&!this.showPanelAsPage},PanelModel.prototype.getIsNested=function(){return e.prototype.getIsNested.call(this)&&void 0!==this.parent},Object.defineProperty(PanelModel.prototype,"showPanelAsPage",{get:function(){return!1},enumerable:!1,configurable:!0}),PanelModel.prototype.expand=function(t){void 0===t&&(t=!0),this.forcusFirstQuestionOnExpand=t,e.prototype.expand.call(this)},PanelModel.prototype.onElementExpanded=function(e){var t=this;if(this.forcusFirstQuestionOnExpand&&null!=this.survey&&!this.isLoadingFromJson){var o=this.getFirstQuestionToFocus(!1);o&&setTimeout(function(){!t.isDisposed&&t.survey&&t.survey.scrollElementToTop(o,o,null,o.inputId,!1,{behavior:"smooth"})},e?0:15)}},PanelModel.prototype.getCssRoot=function(t){return new oY().append(e.prototype.getCssRoot.call(this,t)).append(t.container).append(t.asPage,this.showPanelAsPage).append(t.invisible,!this.isDesignMode&&this.areInvisibleElementsShowing&&!this.visible).toString()},PanelModel.prototype.getContainerCss=function(){return this.getCssRoot(this.cssClasses.panel)},PanelModel.prototype.afterRenderCore=function(t){var o;e.prototype.afterRenderCore.call(this,t),this.isPanel&&(null===(o=this.survey)||void 0===o||o.afterRenderPanel(this,t))},PanelModel}(ia);ov.addClass("panelbase",["name",{name:"elements",alternativeName:"questions",baseClassName:"question",visible:!1,isLightSerializable:!1},{name:"visible:switch",default:!0,overridingProperty:"visibleIf"},{name:"readOnly:boolean",overridingProperty:"enableIf"},"visibleIf:condition","enableIf:condition","requiredIf:condition",{name:"questionTitleWidth",visibleIf:function(e){return!!e&&e.availableQuestionTitleWidth()}},{name:"questionTitleLocation",default:"default",choices:["default","to
5p","bottom","left","hidden"]},{name:"gridLayoutColumns:panellayoutcolumns",className:"panellayoutcolumn",isArray:!0,onSerializeValue:function(e){return e.getSerializableColumnsValue()},visibleIf:function(e){return!!e&&!!e.survey&&e.survey.gridLayoutEnabled}},{name:"title:text",serializationProperty:"locTitle"},{name:"description:text",serializationProperty:"locDescription"},{name:"questionsOrder",default:"default",choices:["default","initial","random"]},{name:"questionErrorLocation",default:"default",choices:["default","top","bottom"]}],function(){return new ia}),ov.addClass("panel",[{name:"state",default:"default",choices:["default","collapsed","expanded"]},{name:"isRequired:switch",overridingProperty:"requiredIf"},{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},{name:"startWithNewLine:boolean",default:!0},{name:"width"},{name:"minWidth",defaultFunc:function(){return"auto"}},{name:"maxWidth",defaultFunc:function(){return nC.maxWidth}},{name:"colSpan:number",visible:!1,onSerializeValue:function(e){return e.getPropertyValue("colSpan")}},{name:"effectiveColSpan:number",minValue:1,isSerializable:!1,visibleIf:function(e){return!!e.survey&&e.survey.gridLayoutEnabled}},{name:"innerIndent:number",default:0,choices:[0,1,2,3]},{name:"indent:number",default:0,choices:[0,1,2,3],visible:!1},{name:"page",isSerializable:!1,visibleIf:function(e){var t=e?e.survey:null;return!t||!t.pages||t.pages.length>1},choices:function(e){var t=e?e.survey:null;return t?t.pages.map(function(e){return{value:e.name,text:e.title}}):[]}},{name:"showNumber:boolean"},{name:"showQuestionNumbers",default:"default",choices:["default","onpanel","off"]},{name:"questionStartIndex",visibleIf:function(e){return e.isPanel}},{name:"allowAdaptiveActions:boolean",default:!0,visible:!1}],function(){return new il},"panelbase"),rm.Instance.registerElement("panel",function(e){return new il(e)});var iu=function(){function DragDropPageHelperV1(e){this.page=e}return DragDropPageHelperV1.prototype.getDragDropInfo=function(){return this.dragDropInfo},DragDropPageHelperV1.prototype.dragDropStart=function(e,t,o){void 0===o&&(o=-1),this.dragDropInfo=new DragDropInfo(e,t,o)},DragDropPageHelperV1.prototype.dragDropMoveTo=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=!1),!this.dragDropInfo||(this.dragDropInfo.destination=e,this.dragDropInfo.isBottom=t,this.dragDropInfo.isEdge=o,this.correctDragDropInfo(this.dragDropInfo),!this.dragDropCanDropTagert()))return!1;if(!this.dragDropCanDropSource()||!this.dragDropAllowFromSurvey()){if(this.dragDropInfo.source){var n=this.page.dragDropFindRow(this.dragDropInfo.target);this.page.updateRowsRemoveElementFromRow(this.dragDropInfo.target,n)}return!1}return this.page.dragDropAddTarget(this.dragDropInfo),!0},DragDropPageHelperV1.prototype.correctDragDropInfo=function(e){if(e.destination){var t=e.destination.isPanel?e.destination:null;t&&!e.target.isLayoutTypeSupported(t.getChildrenLayoutType())&&(e.isEdge=!0)}},DragDropPageHelperV1.prototype.dragDropAllowFromSurvey=function(){var e=this.dragDropInfo.destination;if(!e||!this.page.survey)return!0;var t=null,o=null,n=e.isPage||!this.dragDropInfo.isEdge&&e.isPanel?e:e.parent;if(!e.isPage){var r=e.parent;if(r){var i=r.elements,s=i.indexOf(e);s>-1&&(t=e,o=e,this.dragDropInfo.isBottom?t=s<i.length-1?i[s+1]:null:o=s>0?i[s-1]:null)}}var a={allow:!0,target:this.dragDropInfo.target,source:this.dragDropInfo.source,toElement:this.dragDropInfo.target,draggedElement:this.dragDropInfo.source,parent:n,fromElement:this.dragDropInfo.source?this.dragDropInfo.source.parent:null,insertAfter:o,insertBefore:t};return this.page.survey.dragAndDropAllow(a)},DragDropPageHelperV1.prototype.dragDropFinish=function(e){if(void 0===e&&(e=!1),this.dragDropInfo){var t=this.dragDropInfo.target,o=this.dragDropInfo.source,n=this.dragDropInfo.destination,r=this.page.dragDropFindRow(t),i=this.dragDropGetElementIndex(t,r);this.page.updateRowsRemoveElementFromRow(t,r);var s=[],a=[];if(!e&&r){if(this.page.isDesignModeV2){var l=o&&o.parent&&o.parent.dragDropFindRow(o);r.panel.elements[i]&&r.panel.elements[i].startWithNewLine&&r.elements.length>1&&r.panel.elements[i]===n&&(s.push(t),a.push(r.panel.elements[i])),t.startWithNewLine&&r.elements.length>1&&(!r.panel.elements[i]||!r.panel.elements[i].startWithNewLine)&&a.push(t),l&&l.elements[0]===o&&l.elements[1]&&s.push(l.elements[1]),r.elements.length<=1&&s.push(t),t.startWithNewLine&&r.elements.length>1&&r.elements[0]!==n&&a.push(t)}this.page.survey.startMovingQuestion(),o&&o.parent&&(r.panel==o.parent?(r.panel.dragDropMoveElement(o,t,i),i=-1):o.parent.removeElement(o)),i>-1&&r.panel.addElement(t,i),this.page.survey.stopMovingQuestion()}return s.map(function(e){e.startWithNewLine=!0}),a.map(function(e){e.startWithNewLine=!1}),this.dragDropInfo=null,e?null:t}},DragDropPageHelperV1.prototype.dragDropGetElementIndex=function(e,t){if(!t)return -1;var o=t.elements.indexOf(e);if(0==t.index)return o;var n=t.panel.rows[t.index-1],r=n.elements[n.elements.length-1];return o+t.panel.elements.indexOf(r)+1},DragDropPageHelperV1.prototype.dragDropCanDropTagert=function(){var e=this.dragDropInfo.destination;return!e||!!e.isPage||this.dragDropCanDropCore(this.dragDropInfo.target,e)},DragDropPageHelperV1.prototype.dragDropCanDropSource=function(){var e=this.dragDropInfo.source;if(!e)return!0;var t=this.dragDropInfo.destination;if(!this.dragDropCanDropCore(e,t))return!1;if(this.page.isDesignModeV2){if(this.page.dragDropFindRow(e)!==this.page.dragDropFindRow(t)&&(!e.startWithNewLine&&t.startWithNewLine||e.startWithNewLine&&!t.startWithNewLine))return!0;var o=this.page.dragDropFindRow(t);
5if(o&&1==o.elements.length)return!0}return this.dragDropCanDropNotNext(e,t,this.dragDropInfo.isEdge,this.dragDropInfo.isBottom)},DragDropPageHelperV1.prototype.dragDropCanDropCore=function(e,t){return!t||!(this.dragDropIsSameElement(t,e)||e.isPanel&&(e.containsElement(t)||e.getElementByName(t.name)))},DragDropPageHelperV1.prototype.dragDropCanDropNotNext=function(e,t,o,n){if(!t||t.isPanel&&!o||void 0===e.parent||e.parent!==t.parent)return!0;var r=e.parent,i=r.elements.indexOf(e),s=r.elements.indexOf(t);return s<i&&!n&&s--,n&&s++,i<s?s-i>1:i-s>0},DragDropPageHelperV1.prototype.dragDropIsSameElement=function(e,t){return e==t||e.name==t.name},DragDropPageHelperV1}(),ic=(q=function(e,t){return(q=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}q(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),page_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ip=function(e){function PageModel(t){void 0===t&&(t="");var o=e.call(this,t)||this;return o.hasShownValue=!1,o.timeSpent=0,o._isReadyForClean=!0,o.createLocalizableString("navigationDescription",o,!0),o.dragDropPageHelper=new iu(o),o}return ic(PageModel,e),PageModel.prototype.getType=function(){return"page"},PageModel.prototype.toString=function(){return this.name},Object.defineProperty(PageModel.prototype,"isPage",{get:function(){return!this.isPanel},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"isPanel",{get:function(){return!!this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"showPanelAsPage",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"hasEditButton",{get:function(){return this.isPanel&&this.survey&&"preview"===this.survey.state&&!!this.parent&&!this.parent.isPanel},enumerable:!1,configurable:!0}),PageModel.prototype.getElementsForRows=function(){var t;if(!this.isStartPage){var o=null===(t=this.survey)||void 0===t?void 0:t.currentSingleElement;if(o)return o.page===this?[o]:[]}return e.prototype.getElementsForRows.call(this)},PageModel.prototype.disposeElements=function(){this.isPageContainer||e.prototype.disposeElements.call(this)},PageModel.prototype.onRemoveElement=function(t){this.isPageContainer?(t.parent=null,this.unregisterElementPropertiesChanged(t)):e.prototype.onRemoveElement.call(this,t)},PageModel.prototype.getTemplate=function(){return this.isPanel?"panel":e.prototype.getTemplate.call(this)},Object.defineProperty(PageModel.prototype,"no",{get:function(){if(!this.canShowPageNumber()||!this.survey)return"";var e=this.isStartPage?"":this.num+". ";return this.survey.getUpdatedPageNo(this,e)},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"cssTitleNumber",{get:function(){return this.isPanel?this.cssClasses.panel.number:this.cssClasses.page.number},enumerable:!1,configurable:!0}),PageModel.prototype.getCssTitleExpandableSvg=function(){return null},Object.defineProperty(PageModel.prototype,"cssRequiredText",{get:function(){return""},enumerable:!1,configurable:!0}),PageModel.prototype.canShowPageNumber=function(){return this.survey&&this.survey.showPageNumbers},PageModel.prototype.canShowTitle=function(e){return!e||e.showPageTitles},PageModel.prototype.setTitleValue=function(t){e.prototype.setTitleValue.call(this,t),this.navigationLocStrChanged()},Object.defineProperty(PageModel.prototype,"navigationTitle",{get:function(){return this.getLocalizableStringText("navigationTitle")},set:function(e){this.setLocalizableStringText("navigationTitle",e)}
vendor: 4,952 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"navigationDescription",{get:function(){return this.getLocalizableStringText("navigationDescription")},set:function(e){this.setLocalizableStringText("navigationDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"locNavigationDescription",{get:function(){return this.getLocalizableString("navigationDescription")},enumerable:!1,configurable:!0}),PageModel.prototype.navigationLocStrChanged=function(){this.locNavigationTitle.isEmpty&&this.locTitle.strChanged(),this.locNavigationTitle.strChanged(),this.locNavigationDescription.strChanged()},PageModel.prototype.getMarkdownHtml=function(t,o){var n=e.prototype.getMarkdownHtml.call(this,t,o);return"navigationTitle"===o&&this.canShowPageNumber()&&n?this.num+". "+n:n},Object.defineProperty(PageModel.prototype,"passed",{get:function(){return this.getPropertyValue("passed",!1)},set:function(e){this.setPropertyValue("passed",e)},enumerable:!1,configurable:!0}),PageModel.prototype.removeFromParent=function(){this.survey&&this.removeSelfFromList(this.survey.pages)},Object.defineProperty(PageModel.prototype,"visibleIndex",{get:function(){return this.getPropertyValue("visibleIndex",-1)},set:function(e){this.setPropertyValue("visibleIndex",e)},enumerable:!1,configurable:!0}),PageModel.prototype.canRenderFirstRows=function(){return!this.isDesignMode||0==this.visibleIndex},Object.defineProperty(PageModel.prototype,"isStartPage",{get:function(){return this.survey&&this.survey.isPageStarted(this)},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"isStarted",{get:function(){return this.isStartPage},enumerable:!1,configurable:!0}),PageModel.prototype.calcCssClasses=function(t){if(this.isPanel)return e.prototype.calcCssClasses.call(this,t);var o={page:{},error:{},pageTitle:"",pageDescription:"",row:"",rowMultiple:"",pageRow:"",rowCompact:"",rowEnter:"",rowLeave:"",rowDelayedEnter:"",rowReplace:""};return this.copyCssClasses(o.page,t.page),this.copyCssClasses(o.error,t.error),t.pageTitle&&(o.pageTitle=t.pageTitle),t.pageDescription&&(o.pageDescription=t.pageDescription),t.row&&(o.row=t.row),t.pageRow&&(o.pageRow=t.pageRow),t.rowMultiple&&(o.rowMultiple=t.rowMultiple),t.rowCompact&&(o.rowCompact=t.rowCompact),t.rowEnter&&(o.rowEnter=t.rowEnter),t.rowDelayedEnter&&(o.rowDelayedEnter=t.rowDelayedEnter),t.rowLeave&&(o.rowLeave=t.rowLeave),t.rowReplace&&(o.rowReplace=t.rowReplace),this.survey&&this.survey.updatePageCssClasses(this,o),o},PageModel.prototype.getCssPanelTitle=function(){return this.isPanel?e.prototype.getCssPanelTitle.call(this):this.cssClasses.page?new oY().append(this.cssClasses.page.title).toString():""},Object.defineProperty(PageModel.prototype,"cssRoot",{get:function(){return!this.isPanel&&this.cssClasses.page&&this.survey?new oY().append(this.cssClasses.page.root).append(this.cssClasses.page.emptyHeaderRoot,!this.survey.renderedHasHeader&&!(this.survey.isShowProgressBarOnTop&&!this.survey.isStaring)).toString():""},enumerable:!1,configurable:!0}),PageModel.prototype.getCssError=function(t){return this.isPanel?e.prototype.getCssError.call(this,t):new oY().append(e.prototype.getCssError.call(this,t)).append(t.page.errorsContainer).toString()},Object.defineProperty(PageModel.prototype,"navigationButtonsVisibility",{get:function(){return this.getPropertyValue("navigationButtonsVisibility")},set:function(e){this.setPropertyValue("navigationButtonsVisibility",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"isActive",{get:function(){return!!this.survey&&this.survey.currentPage===this},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"wasShown",{get:function(){return this.hasShownValue},enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"hasShown",{get:function(){return this.wasShown},enumerable:!1,configurable:!0}),PageModel.prototype.setWasShown=function(e){if(e!=this.hasShownValue&&(this.hasShownValue=e,!this.isDesignMode&&!0===e)){for(var t,o=this.elements,n=0;n<o.length;n++)o[n].isPanel&&o[n].randomizeElements(this.areQuestionsRandomized);if(this.randomizeElements(this.areQuestionsRandomized)){var r=null===(t=this.survey)||void 0===t?void 0:t.currentSingleElement;(null==r?void 0:r.page)===this&&(this.survey.currentSingleElement=this.getFirstVisibleElement())}}},PageModel.prototype.scrollToTop=function(){this.survey&&this.survey.scrollElementToTop(this,null,this,this.id,!0,{block:"start"})},PageModel.prototype.getAllPanels=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var o=[];return this.addPanelsIntoList(o,e,t),o},PageModel.prototype.getPanels=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=!1),this.getAllPanels(e,t)},Object.defineProperty(PageModel.prototype,"timeLimit",{get:function(){return this.getPropertyValue("timeLimit",0)},set:function(e){this.setPropertyValue("timeLimit",e)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(PageModel.prototype,"maxTimeToFinish",{get:function(){return this.timeLimit},set:function(e){this.timeLimit=e},enumerable:!1,configurable:!0}),PageModel.prototype.getMaxTimeToFinish=function(){if(0!==this.timeLimit)return this.timeLimit;var e=this.survey?this.survey.timeLimitPerPage:0;return e>0?e:0},PageModel.prototype.onNumChanged=function(e){},PageModel.prototype.onVisibleChanged=function(){this.isRandomizing||(e.prototype.onVisibleChanged.call(this),null!=this.survey&&this.survey.pageVisibilityChanged(this,this.isVisible))},PageModel.prototype.getDragDropInfo=function(){return this.dragDropPageHelper.getDragDropInfo()},PageModel.prototype.dragDropStart=function(e,t,o){void 0===o&&(o=-1),this.dragDropPageHelper.dragDropStart(e,t,o)},PageModel.prototype.dragDropMoveTo=function(e,t,o){return void 0===t&&(t=!1),void 0===o&&(o=!1),this.dragDropPageHelper.dragDropMoveTo(e,t,o)},PageModel.prototype.dragDropFinish=function(e){return void 0===e&&(e=!1),this.dragDropPageHelper.dragDropFinish(e)},PageModel.prototype.ensureRowsVisibility=function(){e.prototype.ensureRowsVisibility.call(this),this.getPanels().forEach(function(e){return e.ensureRowsVisibility()})},Object.defineProperty(PageModel.prototype,"isReadyForClean",{get:function(){return this._isReadyForClean},set:function(e){var t=this._isReadyForClean;this._isReadyForClean=e,this._isReadyForClean!==t&&this.isReadyForCleanChangedCallback&&this.isReadyForCleanChangedCallback()},enumerable:!1,configurable:!0}),PageModel.prototype.enableOnElementRerenderedEvent=function(){e.prototype.enableOnElementRerenderedEvent.call(this),this.isReadyForClean=!1},PageModel.prototype.disableOnElementRerenderedEvent=function(){e.prototype.disableOnElementRerenderedEvent.call(this),this.isReadyForClean=!0},page_decorate([jsonobject_property({defaultValue:-1,onSet:function(e,t){return t.onNumChanged(e)}})],PageModel.prototype,"num",void 0),PageModel}(il);ov.addClass("page",[{name:"navigationButtonsVisibility",default:"inherit",choices:["inherit","show","hide"]},{name:"timeLimit:number",alternativeName:"maxTimeToFinish",default:0,minValue:0},{name:"navigationTitle",visibleIf:function(e){return!!e.survey&&("buttons"===e.survey.progressBarType||e.survey.showTOC)},serializationProperty:"locNavigationTitle"},{name:"navigationDescription",visibleIf:function(e){return!!e.survey&&"buttons"===e.survey.progressBarType},serializationProperty:"locNavigationDescription"},{name:"title:text",serializationProperty:"locTitle"},{name:"description:text",serializationProperty:"locDescription"},{name:"state",visible:!1},{name:"isRequired",visible:!1},{name:"startWithNewLine",visible:!1},{name:"width",visible:!1},{name:"minWidth",visible:!1},{name:"maxWidth",visible:!1},{name:"colSpan",visible:!1,isSerializable:!1},{name:"effectiveColSpan:number",visible:!1,isSerializable:!1},{name:"innerIndent",visible:!1},{name:"indent",visible:!1},{name:"page",visible:!1,isSerializable:!1},{name:"showNumber",visible:!1},{name:"showQuestionNumbers",visible:!1},{name:"questionStartIndex",visible:!1},{name:"allowAdaptiveActions",visible:!1},{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText",visible:!1}],function(){return new ip},"panel");var id=(N=function(e,t){return(N=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ih=function(e){function ProgressButtons(t){var o=e.call(this)||this;return o.survey=t,o.onResize=o.addEvent(),o}return id(ProgressButtons,e),ProgressButtons.prototype.isListElementClickable=function(e){return!this.survey.onServerValidateQuestions||!!this.survey.onServerValidateQuestions.isEmpty||"onComplete"===this.survey.checkErrorsMode||e<=this.survey.currentPageNo+1},ProgressButtons.prototype.getRootCss=function(e){void 0===e&&(e="center");var t=this.survey.css.progressButtonsContainerCenter;return this.survey.css.progressButtonsRoot&&(t+=" "+this.survey.css.progressButtonsRoot+" "+this.survey.css.progressButtonsRoot+"--"+(-1!==["footer","contentBottom"].indexOf(e)?"bottom":"top")+(" "+this.survey.css.progressButtonsRoot)+"--"+(this.showItemTitles?"with-titles":"no-titles")),this.showItemNumbers&&this.survey.css.progressButtonsNumbered&&(t+=" "+this.survey.css.progressButtonsNumbered),this.isFitToSurveyWidth&&(t+=" "+this.survey.css.progressButtonsFitSurveyWidth),t},ProgressButtons.prototype.getListElementCss=function(e){if(!(e>=this.survey.visiblePages.length))return new oY().append(this.survey.css.progressButtonsListElementPassed,this.survey.visiblePages[e].passed).append(this.survey.css.progressButtonsListElementCurrent,this.survey.currentPageNo===e).append(this.survey.css.progressButtonsListElementNonClickable,!this.isListElementClickable(e)).toString()},ProgressButtons.prototype.getScrollButtonCss=function(e,t){return new oY().append(this.survey.css.progressButtonsImageButtonLeft,t).append(this.survey.css.progressButtonsImageButtonRight,!t).append(this.survey.css.progressButtonsImageButtonHidden,!e).toString()},ProgressButtons.prototype.clickListElement=function(e){e instanceof ip||(e=this.survey.visiblePages[e]),this.survey.tryNavigateToPage(e)},ProgressButtons.prototype.isListContainerHasScroller=function(e){var t=e.querySelector("."+this.survey.css.progressButtonsListContainer);return!!t&&t.scrollWidth>t.offsetWidth},ProgressButtons.prototype.isCanShowItemTitles=function(e){var t=e.querySelector("ul");if(!t||t.children.length<2)return!0;
5if(t.clientWidth>t.parentElement.clientWidth)return!1;for(var o=t.children[0].clientWidth,n=0;n<t.children.length;n++)if(Math.abs(t.children[n].clientWidth-o)>5)return!1;return!0},ProgressButtons.prototype.clearConnectorsWidth=function(e){for(var t=e.querySelectorAll(".sd-progress-buttons__connector"),o=0;o<t.length;o++)t[o].style.width=""},ProgressButtons.prototype.adjustConnectors=function(e){var t=e.querySelector("ul");if(t)for(var o=e.querySelectorAll(".sd-progress-buttons__connector"),n=this.showItemNumbers?36:20,r=(t.clientWidth-n)/(t.children.length-1)-n,i=0;i<o.length;i++)o[i].style.width=r+"px"},Object.defineProperty(ProgressButtons.prototype,"isFitToSurveyWidth",{get:function(){return"defaultV2"===rK.currentType&&"survey"===this.survey.progressBarInheritWidthFrom&&"static"==this.survey.widthMode},enumerable:!1,configurable:!0}),Object.defineProperty(ProgressButtons.prototype,"progressWidth",{get:function(){return this.isFitToSurveyWidth?this.survey.renderedWidth:""},enumerable:!1,configurable:!0}),Object.defineProperty(ProgressButtons.prototype,"showItemNumbers",{get:function(){return"defaultV2"===rK.currentType&&this.survey.progressBarShowPageNumbers},enumerable:!1,configurable:!0}),Object.defineProperty(ProgressButtons.prototype,"showItemTitles",{get:function(){return"defaultV2"!==rK.currentType||this.survey.progressBarShowPageTitles},enumerable:!1,configurable:!0}),ProgressButtons.prototype.getItemNumber=function(e){var t="";return this.showItemNumbers&&(t+=this.survey.visiblePages.indexOf(e)+1),t},Object.defineProperty(ProgressButtons.prototype,"headerText",{get:function(){return this.survey.currentPage?this.survey.currentPage.renderedNavigationTitle:""},enumerable:!1,configurable:!0}),Object.defineProperty(ProgressButtons.prototype,"footerText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),ProgressButtons.prototype.processResponsiveness=function(e){this.onResize.fire(this,{width:e})},ProgressButtons}(oW),im=function(){function ProgressButtonsResponsivityManager(e,t,o){var n=this;this.model=e,this.element=t,this.viewModel=o,this.criticalProperties=["progressBarType","progressBarShowPageTitles"],this.canShowItemTitles=!0,this.processResponsiveness=function(e,t){if(n.viewModel.onUpdateScroller(e.isListContainerHasScroller(n.element)),n.model.clearConnectorsWidth(n.element),!e.showItemTitles){n.model.adjustConnectors(n.element);return}if(e.survey.isMobile){n.prevWidth=t.width,n.canShowItemTitles=!1,n.model.adjustConnectors(n.element),n.viewModel.onResize(n.canShowItemTitles);return}void 0!==n.timer&&clearTimeout(n.timer),n.timer=setTimeout(function(){(void 0===n.prevWidth||n.prevWidth<t.width&&!n.canShowItemTitles||n.prevWidth>t.width&&n.canShowItemTitles)&&(n.prevWidth=t.width,n.canShowItemTitles=e.isCanShowItemTitles(n.element),n.viewModel.onResize(n.canShowItemTitles),n.timer=void 0)},10)},this.model.survey.registerFunctionOnPropertiesValueChanged(this.criticalProperties,function(){return n.forceUpdate()},"ProgressButtonsResponsivityManager"+this.viewModel.container),this.model.onResize.add(this.processResponsiveness),this.forceUpdate()}return ProgressButtonsResponsivityManager.prototype.forceUpdate=function(){this.viewModel.onUpdateSettings(),this.processResponsiveness(this.model,{})},ProgressButtonsResponsivityManager.prototype.dispose=function(){clearTimeout(this.timer),this.model.onResize.remove(this.processResponsiveness),this.model.survey.unRegisterFunctionOnPropertiesValueChanged(this.criticalProperties,"ProgressButtonsResponsivityManager"+this.viewModel.container),this.element=void 0,this.model=void 0},ProgressButtonsResponsivityManager}();function tryFocusPage(e,t){return!!e.isDesignMode||(t.focusFirstQuestion(),!0)}function createTOCListModel(e,t){var o=getTOCItems(e,t),n=new o4({items:o,searchEnabled:!1,locOwner:e});n.allowSelection=!1;var updateSelectedItem=function(e,t){n.selectedItem=!!e&&n.actions.filter(function(t){return t.id===e.name})[0]||t};return updateSelectedItem(e.currentPage,o[0]),e.onCurrentPageChanged.add(function(t,o){updateSelectedItem(e.currentPage)}
5),e.onFocusInQuestion.add(function(e,t){updateSelectedItem(function getPage(e){if(e.parentQuestion)return getPage(e.parentQuestion);for(var t=e.parent;t&&"page"!==t.getType()&&t.parent;)t=t.parent;return t&&"page"===t.getType()?t:null}(t.question))}),e.registerFunctionOnPropertyValueChanged("pages",function(){n.setItems(getTOCItems(e,t))},"toc"),n}function getTOCItems(e,t){return(e.pages||[]).map(function(o){return new ne({id:o.name,locTitle:o.locNavigationTitle,action:function(){return(t8.activeElementBlur(),t&&t(),o.isPage)?e.tryNavigateToPage(o):o.isPanel?tryFocusPage(e,o):void 0},visible:new oU(function(){return o.isVisible&&!o.isStartPage})})})}function getTocRootCss(e,t){void 0===t&&(t=!1);var o=ig.RootStyle;return t?o+" "+ig.RootStyle+"--mobile":(o+=" "+ig.RootStyle+"--"+(e.tocLocation||"").toLowerCase(),ig.StickyPosition&&(o+=" "+ig.RootStyle+"--sticky"),o)}var ig=function(){function TOCModel(e){var t=this;this.survey=e,this.icon="icon-navmenu_24x24",this.togglePopup=function(){t.popupModel.toggleVisibility()},this.listModel=createTOCListModel(e,function(){t.popupModel.isVisible=!1}),this.popupModel=new o9("sv-list",{model:this.listModel}),this.popupModel.overlayDisplayMode="plain",this.popupModel.displayMode=new oU(function(){return t.isMobile?"overlay":"popup"}),TOCModel.StickyPosition&&(e.onAfterRenderSurvey.add(function(e,o){return t.initStickyTOCSubscriptions(o.htmlElement)}),this.initStickyTOCSubscriptions(e.rootElement))}return TOCModel.prototype.initStickyTOCSubscriptions=function(e){var t=this;TOCModel.StickyPosition&&e&&(e.addEventListener("scroll",function(o){t.updateStickyTOCSize(e)}),this.updateStickyTOCSize(e))},TOCModel.prototype.updateStickyTOCSize=function(e){if(e){var t=e.querySelector("."+TOCModel.RootStyle);if(t&&(t.style.height="",!this.isMobile&&TOCModel.StickyPosition&&e)){var o=e.getBoundingClientRect().height,n="advanced"===this.survey.headerView?".sv-header":".sv_custom_header+div div."+(this.survey.css.title||"sd-title"),r=e.querySelector(n),i=r?r.getBoundingClientRect().height:0,s=e.scrollTop>i?0:i-e.scrollTop;t.style.height=o-s-1+"px"}}},Object.defineProperty(TOCModel.prototype,"isMobile",{get:function(){return this.survey.isMobile},enumerable:!1,configurable:!0}),Object.defineProperty(TOCModel.prototype,"containerCss",{get:function(){return getTocRootCss(this.survey,this.isMobile)},enumerable:!1,configurable:!0}),TOCModel.prototype.dispose=function(){this.survey.unRegisterFunctionOnPropertyValueChanged("pages","toc"),this.popupModel.dispose(),this.listModel.dispose()},TOCModel.RootStyle="sv_progress-toc",TOCModel.StickyPosition=!0,TOCModel}(),iy=(F=function(e,t){return(F=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}F(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),survey_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iv=function(e){function SurveyModel(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this)||this;n.valuesHash={},n.variablesHash={},n.onTriggerExecuted=n.addEvent(),n.onCompleting=n.addEvent(),n.onComplete=n.addEvent(),n.onShowingPreview=n.addEvent(),n.onNavigateToUrl=n.addEvent(),n.onStarted=n.addEvent(),n.onPartialSend=n.addEvent(),n.onCurrentPageChanging=n.addEvent(),n.onCurrentPageChanged=n.addEvent(),n.onValueChanging=n.addEvent(),n.onValueChanged=n.addEvent(),n.onVariableChanged=n.addEvent(),n.onQuestionVisibleChanged=n.addEvent(),n.onVisibleChanged=n.onQuestionVisibleChanged,n.onPageVisibleChanged=n.addEvent(),n.onPanelVisibleChanged=n.addEvent(),n.onQuestionCreated=n.addEvent(),n.onQuestionAdded=n.addEvent(),n.onQuestionRemoved=n.addEvent(),n.onPanelAdded=n.addEvent(),n.onPanelRemoved=n.addEvent(),n.onPageAdded=n.addEvent(),n.onValidateQuestion=n.addEvent(),n.onSettingQuestionErrors=n.addEvent(),n.onServerValidateQuestions=n.addEvent(),n.onValidatePanel=n.addEvent(),n.onErrorCustomText=n.addEvent(),n.onValidatedErrorsOnCurrentPage=n.addEvent(),n.onProcessHtml=n.addEvent(),n.onGetQuestionDisplayValue=n.addEvent(),n.onGetQuestionTitle=n.addEvent(),n.onGetTitleTagName=n.addEvent(),n.onGetQuestionNumber=n.addEvent(),n.onGetQuestionNo=n.onGetQuestionNumber,n.onGetPanelNumber=n.addEvent(),n.onGetPageNumber=n.addEvent(),n.onGetProgressText=n.addEvent(),n.onProgressText=n.onGetProgressText,n.onTextMarkdown=n.addEvent(),n.onTextRenderAs=n.addEvent(),n.onSendResult=n.addEvent(),n.onGetResult=n.addEvent(),n.onOpenFileChooser=n.addEvent(),n.onUploadFiles=n.addEvent(),n.onDownloadFile=n.addEvent(),n.onClearFiles=n.addEvent(),n.onLoadChoicesFromServer=n.addEvent(),n.onLoadedSurveyFromService=n.addEvent(),n.onProcessTextValue=n.addEvent(),n.onUpdateQuestionCssClasse
5s=n.addEvent(),n.onUpdatePanelCssClasses=n.addEvent(),n.onUpdatePageCssClasses=n.addEvent(),n.onUpdateChoiceItemCss=n.addEvent(),n.onAfterRenderSurvey=n.addEvent(),n.onAfterRenderHeader=n.addEvent(),n.onAfterRenderPage=n.addEvent(),n.onAfterRenderQuestion=n.addEvent(),n.onAfterRenderQuestionInput=n.addEvent(),n.onAfterRenderPanel=n.addEvent(),n.onFocusInQuestion=n.addEvent(),n.onFocusInPanel=n.addEvent(),n.onShowingChoiceItem=n.addEvent(),n.onChoicesLazyLoad=n.addEvent(),n.onChoicesSearch=n.addEvent(),n.onGetChoiceDisplayValue=n.addEvent(),n.onMatrixRowAdded=n.addEvent(),n.onMatrixRowAdding=n.addEvent(),n.onMatrixBeforeRowAdded=n.onMatrixRowAdding,n.onMatrixRowRemoving=n.addEvent(),n.onMatrixRowRemoved=n.addEvent(),n.onMatrixRenderRemoveButton=n.addEvent(),n.onMatrixAllowRemoveRow=n.onMatrixRenderRemoveButton,n.onMatrixDetailPanelVisibleChanged=n.addEvent(),n.onMatrixCellCreating=n.addEvent(),n.onMatrixCellCreated=n.addEvent(),n.onAfterRenderMatrixCell=n.addEvent(),n.onMatrixAfterCellRender=n.onAfterRenderMatrixCell,n.onMatrixCellValueChanged=n.addEvent(),n.onMatrixCellValueChanging=n.addEvent(),n.onMatrixCellValidate=n.addEvent(),n.onMatrixColumnAdded=n.addEvent(),n.onMultipleTextItemAdded=n.addEvent(),n.onDynamicPanelAdded=n.addEvent(),n.onDynamicPanelRemoved=n.addEvent(),n.onDynamicPanelRemoving=n.addEvent(),n.onTimerTick=n.addEvent(),n.onTimer=n.onTimerTick,n.onTimerPanelInfoText=n.addEvent(),n.onDynamicPanelValueChanged=n.addEvent(),n.onDynamicPanelItemValueChanged=n.onDynamicPanelValueChanged,n.onDynamicPanelValueChanging=n.addEvent(),n.onGetDynamicPanelTabTitle=n.addEvent(),n.onDynamicPanelCurrentIndexChanged=n.addEvent(),n.onCheckAnswerCorrect=n.addEvent(),n.onIsAnswerCorrect=n.onCheckAnswerCorrect,n.onDragDropAllow=n.addEvent(),n.onScrollToTop=n.addEvent(),n.onScrollingElementToTop=n.onScrollToTop,n.onLocaleChangedEvent=n.addEvent(),n.onGetQuestionTitleActions=n.addEvent(),n.onGetPanelTitleActions=n.addEvent(),n.onGetPageTitleActions=n.addEvent(),n.onGetPanelFooterActions=n.addEvent(),n.onGetMatrixRowActions=n.addEvent(),n.onElementContentVisibilityChanged=n.addEvent(),n.onGetExpressionDisplayValue=n.addEvent(),n.onPopupVisibleChanged=n.addEvent(),n.onOpenDropdownMenu=n.addEvent(),n.onElementWrapperComponentName=n.addEvent(),n.onElementWrapperComponentData=n.addEvent(),n.jsonErrors=null,n.cssValue=null,n.showHeaderOnCompletePage="auto",n._isLazyRenderingSuspended=!1,n.hideRequiredErrors=!1,n.cssVariables={},n._isMobile=!1,n._isCompact=!1,n.setValueOnExpressionCounter=0,n._isDesignMode=!1,n.validationAllowSwitchPages=!1,n.validationAllowComplete=!1,n.isNavigationButtonPressed=!1,n.mouseDownPage=null,n.isCalculatingProgressText=!1,n.isSmoothScrollEnabled=!1,n.onResize=new oJ,n.isCurrentPageRendering=!0,n.isCurrentPageRendered=void 0,n.skeletonHeight=void 0,n.isTriggerIsRunning=!1,n.triggerValues=null,n.triggerKeys=null,n.conditionValues=null,n.isValueChangedOnRunningCondition=!1,n.conditionRunnerCounter=0,n.conditionUpdateVisibleIndexes=!1,n.conditionNotifyElementsOnAnyValueOrVariableChanged=!1,n.isEndLoadingFromJson=null,n.nofifyQuesitonHash={},n.questionHashes={names:{},namesInsensitive:{},valueNames:{},valueNamesInsensitive:{}},n.setValueFromTriggerCounter=0,n.needRenderIcons=!0,n.skippedPages=[],n.skeletonComponentName="sv-skeleton",n.taskManager=new ie,n.questionErrorComponent="sv-question-error",n.onBeforeRunConstructor();var htmlCallBack=function(e){return"<h3>"+e+"</h3>"};n.createHtmlLocString("completedHtml","completingSurvey",htmlCallBack),n.createHtmlLocString("completedBeforeHtml","completingSurveyBefore",htmlCallBack,"completed-before"),n.createHtmlLocString("loadingHtml","loadingSurvey",htmlCallBack,"loading"),n.createLocalizableString("emptySurveyText",n,!0,"emptySurvey"),n.createLocalizableString("logo",n,!1),n.createLocalizableString("startSurveyText",n,!1,!0),n.createLocalizableString("pagePrevText",n,!1,!0),n.createLocalizableString("pageNextText",n,!1,!0),n.createLocalizableString("completeText",n,!1,!0),n.createLocalizableString("previewText",n,!1,!0),n.createLocalizableString("editText",n,!1,!0),n.createLocalizableString("questionTitleTemplate",n,!0),n.timerModelValue=new r5(n),n.timerModelValue.onTimerTick=function(e){n.doTimer(e)},n.createNewArray("pages",function(e){e.isReadyForCleanChangedCallback&&e.isReadyForCleanChangedCallback(),n.doOnPageAdded(e)},function(e){e.isReadyForClean?n.doOnPageRemoved(e):e.isReadyForCleanChangedCallback=function(){n.doOnPageRemoved(e),e.isReadyForCleanChangedCallback=void 0}}),n.createNewArray("triggers",function(e){e.setOwner(n)}),n.createNewArray("calculatedValues",function(e){e.setOwner(n)}),n.createNewArray("completedHtmlOnCondition",function(e){e.locOwner=n}),n.createNewArray("navigateToUrlOnCondition",function(e){e.locOwner=n}
5),n.registerPropertyChangedHandlers(["locale"],function(){n.onSurveyLocaleChanged()}),n.registerPropertyChangedHandlers(["firstPageIsStarted"],function(){n.onFirstPageIsStartedChanged()}),n.registerPropertyChangedHandlers(["mode"],function(){n.onModeChanged()}),n.registerPropertyChangedHandlers(["progressBarType"],function(){n.updateProgressText()}),n.registerPropertyChangedHandlers(["questionStartIndex","requiredText","questionTitlePattern"],function(){n.resetVisibleIndexes()}),n.registerPropertyChangedHandlers(["isLoading","isCompleted","isCompletedBefore","mode","isStartedState","currentPage","isShowingPreview"],function(){n.updateState()}),n.registerPropertyChangedHandlers(["state","currentPage","showPreviewBeforeComplete"],function(){n.onStateAndCurrentPageChanged()}),n.registerPropertyChangedHandlers(["logo","logoPosition"],function(){n.updateHasLogo()}),n.registerPropertyChangedHandlers(["backgroundImage"],function(){n.updateRenderBackgroundImage()}),n.registerPropertyChangedHandlers(["renderBackgroundImage","backgroundOpacity","backgroundImageFit","fitToContainer","backgroundImageAttachment"],function(){n.updateBackgroun
5dImageStyle()}),n.registerPropertyChangedHandlers(["showPrevButton","showCompleteButton"],function(){n.updateButtonsVisibility()}),n.onGetQuestionNumber.onCallbacksChanged=function(){n.resetVisibleIndexes()},n.onGetPanelNumber.onCallbacksChanged=function(){n.resetVisibleIndexes()},n.onGetProgressText.onCallbacksChanged=function(){n.updateProgressText()},n.onTextMarkdown.onCallbacksChanged=function(){n.locStrsChanged()},n.onProcessHtml.onCallbacksChanged=function(){n.locStrsChanged()},n.onGetQuestionTitle.onCallbacksChanged=function(){n.locStrsChanged()},n.onUpdatePageCssClasses.onCallbacksChanged=function(){n.currentPage&&n.currentPage.updateElementCss()},n.onUpdatePanelCssClasses.onCallbacksChanged=function(){n.currentPage&&n.currentPage.updateElementCss()},n.onUpdateQuestionCssClasses.onCallbacksChanged=function(){n.currentPage&&n.currentPage.updateElementCss()},n.onShowingChoiceItem.onCallbacksChanged=function(){n.rebuildQuestionChoices()},n.navigationBarValue=n.createNavigationBar(),n.navigationBar.locOwner=n,n.onBeforeCreating(),t&&(("string"==typeof t||t instanceof String)&&(t=JSON.parse(t)),t&&t.clientId&&(n.clientId=t.clientId),n.fromJSON(t),n.surveyId&&n.loadSurveyFromService(n.surveyId,n.clientId)),n.onCreating(),o&&n.render(o),n.updateCss(),n.setCalculatedWidthModeUpdater(),n.notifier=new r4(n.css.saveData),n.notifier.addAction(n.createTryAgainAction(),"error"),n.onPopupVisibleChanged.add(function(e,t){t.visible?n.onScrollCallback=function(){t.popup.hide()}:n.onScrollCallback=void 0}),n.progressBarValue=new ih(n),n.layoutElements.push({id:"timerpanel",template:"survey-timerpanel",component:"sv-timerpanel",data:n.timerModel}),n.layoutElements.push({id:"progress-buttons",component:"sv-progress-buttons",data:n.progressBar,processResponsiveness:function(e){return n.progressBar.processResponsiveness&&n.progressBar.processResponsiveness(e)}}),n.layoutElements.push({id:"progress-questions",component:"sv-progress-questions",data:n}),n.layoutElements.push({id:"progress-pages",component:"sv-progress-pages",data:n}),n.layoutElements.push({id:"progress-correctquestions",component:"sv-progress-correctquestions",data:n}),n.layoutElements.push({id:"progress-requiredquestions",component:"sv-progress-requiredquestions",data:n});var r=new ig(n);return n.addLayoutElement({id:"toc-navigation",component:"sv-navigation-toc",data:r,processResponsiveness:function(e){return r.updateStickyTOCSize(n.rootElement)}}),n.layoutElements.push({id:"buttons-navigation",component:"sv-action-bar",data:n.navigationBar}),n.locTitle.onStringChanged.add(function(){return n.titleIsEmpty=n.locTitle.isEmpty}),n}return iy(SurveyModel,e),Object.defineProperty(SurveyModel.prototype,"platformName",{get:function(){return SurveyModel.platform},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"commentSuffix",{get:function(){return nC.commentSuffix},set:function(e){nC.commentSuffix=e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"commentPrefix",{get:function(){return this.commentSuffix},set:function(e){this.commentSuffix=e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"sjsVersion",{get:function(){return this.getPropertyValue("sjsVersion")},set:function(e){this.setPropertyValue("sjsVersion",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.processClosedPopup=function(e,t){throw Error("Method not implemented.")},SurveyModel.prototype.createTryAgainAction=function(){var e=this;return{id:"save-again",title:this.getLocalizationString("saveAgainButton"),action:function(){e.isCompleted?e.saveDataOnComplete():e.doComplete()}}},SurveyModel.prototype.createHtmlLocString=function(e,t,o,n){var r=this,i=this.createLocalizableString(e,this,!1,t);i.onGetLocalizationTextCallback=o,n&&(i.onGetTextCallback=function(e){return r.processHtml(e,n)})},SurveyModel.prototype.getType=function(){return"survey"},SurveyModel.prototype.onPropertyValueChanged=function(e,t,o){"questionsOnPageMode"===e&&this.onQuestionsOnPageModeChanged(t)},Object.defineProperty(SurveyModel.prototype,"pages",{get:function(){return this.getPropertyValue("pages")}
5,enumerable:!1,configurable:!0}),SurveyModel.prototype.render=function(e){void 0===e&&(e=null),this.renderCallback&&this.renderCallback()},SurveyModel.prototype.updateSurvey=function(e,t){var o=this;for(var n in e)!function(){if("model"!=n&&"children"!=n){if(0==n.indexOf("on")&&o[n]&&o[n].add){var t=e[n];o[n].add(function(e,o){t(e,o)})}else o[n]=e[n]}}();e&&e.data&&this.onValueChanged.add(function(t,o){e.data[o.name]=o.value})},SurveyModel.prototype.getCss=function(){return this.css},SurveyModel.prototype.updateCompletedPageCss=function(){this.containerCss=this.css.container,this.completedCss=new oY().append(this.css.body).append(this.css.completedPage).toString(),this.completedBeforeCss=new oY().append(this.css.body).append(this.css.completedBeforePage).toString(),this.loadingBodyCss=new oY().append(this.css.body).append(this.css.bodyLoading).toString()},SurveyModel.prototype.updateCss=function(){this.rootCss=this.getRootCss(),this.updateNavigationCss(),this.updateCompletedPageCss(),this.updateWrapperFormCss()},Object.defineProperty(SurveyModel.prototype,"css",{get:function(){return this.cssValue||(this.cssValue={},this.copyCssClasses(this.cssValue,rK.getCss())),this.cssValue},set:function(e){this.setCss(e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.setCss=function(e,t){void 0===t&&(t=!0),t?this.mergeValues(e,this.css):this.cssValue=e,this.updateElementCss(!1)},Object.defineProperty(SurveyModel.prototype,"cssTitle",{get:function(){return this.css.title},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssNavigationComplete",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.complete)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssNavigationPreview",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.preview)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssNavigationEdit",{get:function(){return this.getNavigationCss(this.css.navigationButton,this.css.navigation.edit)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssNavigationPrev",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.prev)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssNavigationStart",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.start)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssNavigationNext",{get:function(){return this.getNavigationCss(this.cssSurveyNavigationButton,this.css.navigation.next)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cssSurveyNavigationButton",{get:function(){return new oY().append(this.css.navigationButton).append(this.css.bodyNavigationButton).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"bodyCss",{get:function(){return new oY().append(this.css.body).append(this.css.bodyWithTimer,this.showTimer&&"running"===this.state).append(this.css.body+"--"+this.calculatedWidthMode).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"bodyContainerCss",{get:function(){return this.css.bodyContainer},enumerable:!1,configurable:!0}),SurveyModel.prototype.insertAdvancedHeader=function(e){e.survey=this,this.layoutElements.push({id:"advanced-header",container:"header",component:"sv-header",index:-100,data:e,processResponsiveness:function(t){return e.processResponsiveness(t)}})},SurveyModel.prototype.getNavigationCss=function(e,t){return new oY().append(e).append(t).toString()},Object.defineProperty(SurveyModel.prototype,"lazyRendering",{get:function(){return!0===this.lazyRenderingValue},set:function(e){if(this.lazyRendering!==e){this.lazyRenderingValue=e;var t=this.currentPage;t&&t.updateRows()}},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isLazyRendering",{get:function(){return this.lazyRendering||nC.lazyRender.enabled}
vendor: 4,131 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"lazyRenderingFirstBatchSize",{get:function(){return this.lazyRenderingFirstBatchSizeValue||nC.lazyRender.firstBatchSize},set:function(e){this.lazyRenderingFirstBatchSizeValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isLazyRenderingSuspended",{get:function(){return this._isLazyRenderingSuspended},enumerable:!1,configurable:!0}),SurveyModel.prototype.suspendLazyRendering=function(){this.isLazyRendering&&(this._isLazyRenderingSuspended=!0)},SurveyModel.prototype.releaseLazyRendering=function(){this.isLazyRendering&&(this._isLazyRenderingSuspended=!1)},SurveyModel.prototype.updateLazyRenderingRowsOnRemovingElements=function(){if(this.isLazyRendering){var e=this.currentPage;e&&activateLazyRenderingChecks(e.id)}},Object.defineProperty(SurveyModel.prototype,"triggers",{get:function(){return this.getPropertyValue("triggers")},set:function(e){this.setPropertyValue("triggers",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"calculatedValues",{get:function(){return this.getPropertyValue("calculatedValues")},set:function(e){this.setPropertyValue("calculatedValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"surveyId",{get:function(){return this.getPropertyValue("surveyId","")},set:function(e){this.setPropertyValue("surveyId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"surveyPostId",{get:function(){return this.getPropertyValue("surveyPostId","")},set:function(e){this.setPropertyValue("surveyPostId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"clientId",{get:function(){return this.getPropertyValue("clientId","")},set:function(e){this.setPropertyValue("clientId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"cookieName",{get:function(){return this.getPropertyValue("cookieName","")},set:function(e){this.setPropertyValue("cookieName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"sendResultOnPageNext",{get:function(){return this.getPropertyValue("sendResultOnPageNext")},set:function(e){this.setPropertyValue("sendResultOnPageNext",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"surveyShowDataSaving",{get:function(){return this.getPropertyValue("surveyShowDataSaving")},set:function(e){this.setPropertyValue("surveyShowDataSaving",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"focusFirstQuestionAutomatic",{get:function(){return this.getPropertyValue("focusFirstQuestionAutomatic")},set:function(e){this.setPropertyValue("focusFirstQuestionAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"focusOnFirstError",{get:function(){return this.getPropertyValue("focusOnFirstError")},set:function(e){this.setPropertyValue("focusOnFirstError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showNavigationButtons",{get:function(){return this.getPropertyValue("showNavigationButtons")},set:function(e){(!0===e||void 0===e)&&(e="bottom"),!1===e&&(e="none"),this.setPropertyValue("showNavigationButtons",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showPrevButton",{get:function(){return this.getPropertyValue("showPrevButton")},set:function(e){this.setPropertyValue("showPrevButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showCompleteButton",{get:function(){return this.getPropertyValue("showCompleteButton",!0)},set:function(e){this.setPropertyValue("showCompleteButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showTOC",{get:function(){return this.getPropertyValue("showTOC")},set:function(e){this.setPropertyValue("showTOC",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"tocLocation",{get:function(){return this.getPropertyValue("tocLocation")},set:function(e){this.setPropertyValue("tocLocation",e)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showTitle",{get:function(){return this.getPropertyValue("showTitle")},set:function(e){this.setPropertyValue("showTitle",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showPageTitles",{get:function(){return this.getPropertyValue("showPageTitles")},set:function(e){this.setPropertyValue("showPageTitles",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showCompletedPage",{get:function(){return this.getPropertyValue("showCompletedPage")},set:function(e){this.setPropertyValue("showCompletedPage",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"navigateToUrl",{get:function(){return this.getPropertyValue("navigateToUrl")},set:function(e){this.setPropertyValue("navigateToUrl",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"navigateToUrlOnCondition",{get:function(){return this.getPropertyValue("navigateToUrlOnCondition")},set:function(e){this.setPropertyValue("navigateToUrlOnCondition",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.getNavigateToUrl=function(){var e=this.getExpressionItemOnRunCondition(this.navigateToUrlOnCondition),t=e?e.url:this.navigateToUrl;return t&&(t=this.processText(t,!1)),t},SurveyModel.prototype.navigateTo=function(){var e,t,o={url:this.getNavigateToUrl(),allow:!0};this.onNavigateToUrl.fire(this,o),o.url&&o.allow&&(e=o.url,t=t6.getLocation(),e&&t&&(t.href=e&&e.toLocaleLowerCase().indexOf("javascript:")>-1?encodeURIComponent(e):e))},Object.defineProperty(SurveyModel.prototype,"requiredText",{get:function(){return this.getPropertyValue("requiredText","*")},set:function(e){this.setPropertyValue("requiredText",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.beforeSettingQuestionErrors=function(e,t){this.makeRequiredErrorsInvisible(t),this.onSettingQuestionErrors.fire(this,{question:e,errors:t})},SurveyModel.prototype.beforeSettingPanelErrors=function(e,t){this.makeRequiredErrorsInvisible(t)},SurveyModel.prototype.makeRequiredErrorsInvisible=function(e){if(this.hideRequiredErrors)for(var t=0;t<e.length;t++){var o=e[t].getErrorType();("required"==o||"requireoneanswer"==o)&&(e[t].visible=!1)}},Object.defineProperty(SurveyModel.prototype,"questionStartIndex",{get:function(){return this.getPropertyValue("questionStartIndex","")},set:function(e){this.setPropertyValue("questionStartIndex",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"storeOthersAsComment",{get:function(){return this.getPropertyValue("storeOthersAsComment")}
5,set:function(e){this.setPropertyValue("storeOthersAsComment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"maxTextLength",{get:function(){return this.getPropertyValue("maxTextLength")},set:function(e){this.setPropertyValue("maxTextLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"maxOthersLength",{get:function(){return this.getPropertyValue("maxOthersLength")},set:function(e){this.setPropertyValue("maxOthersLength",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"goNextPageAutomatic",{get:function(){return this.getPropertyValue("goNextPageAutomatic")},set:function(e){this.setPropertyValue("goNextPageAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"allowCompleteSurveyAutomatic",{get:function(){return this.getPropertyValue("allowCompleteSurveyAutomatic")},set:function(e){this.setPropertyValue("allowCompleteSurveyAutomatic",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"checkErrorsMode",{get:function(){return this.getPropertyValue("checkErrorsMode")},set:function(e){this.setPropertyValue("checkErrorsMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"validateVisitedEmptyFields",{get:function(){return this.getPropertyValue("validateVisitedEmptyFields")},set:function(e){this.setPropertyValue("validateVisitedEmptyFields",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.getValidateVisitedEmptyFields=function(){return this.validateVisitedEmptyFields&&this.isValidateOnValueChange},Object.defineProperty(SurveyModel.prototype,"autoGrowComment",{get:function(){return this.getPropertyValue("autoGrowComment")}
5,set:function(e){this.setPropertyValue("autoGrowComment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"allowResizeComment",{get:function(){return this.getPropertyValue("allowResizeComment")},set:function(e){this.setPropertyValue("allowResizeComment",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"commentAreaRows",{get:function(){return this.getPropertyValue("commentAreaRows")},set:function(e){this.setPropertyValue("commentAreaRows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"textUpdateMode",{get:function(){return this.getPropertyValue("textUpdateMode")},set:function(e){this.setPropertyValue("textUpdateMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"clearInvisibleValues",{get:function(){return this.getPropertyValue("clearInvisibleValues")},set:function(e){!0===e&&(e="onComplete"),!1===e&&(e="none"),this.setPropertyValue("clearInvisibleValues",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.clearIncorrectValues=function(e){void 0===e&&(e=!1);for(var t=0;t<this.pages.length;t++)this.pages[t].clearIncorrectValues();if(e){var o=this.data,n=!1;for(var r in o)if(!(this.getQuestionByValueName(r)||this.iscorrectValueWithPostPrefix(r,nC.commentSuffix)||this.iscorrectValueWithPostPrefix(r,nC.matrix.totalsSuffix))){var i=this.getCalculatedValueByName(r);i&&i.includeIntoResult||(n=!0,delete o[r])}n&&(this.data=o)}},SurveyModel.prototype.iscorrectValueWithPostPrefix=function(e,t){return e.indexOf(t)===e.length-t.length&&!!this.getQuestionByValueName(e.substring(0,e.indexOf(t)))},Object.defineProperty(SurveyModel.prototype,"keepIncorrectValues",{get:function(){return this.getPropertyValue("keepIncorrectValues")},set:function(e){this.setPropertyValue("keepIncorrectValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locale",{get:function(){return this.getPropertyValueWithoutDefault("locale")||oo.currentLocale},set:function(e){e!==oo.defaultLocale||oo.currentLocale||(e=""),this.setPropertyValue("locale",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.onSurveyLocaleChanged=function(){this.notifyElementsOnAnyValueOrVariableChanged("locale"),this.localeChanged(),this.onLocaleChangedEvent.fire(this,this.locale)},Object.defineProperty(SurveyModel.prototype,"localeDir",{get:function(){return oo.localeDirections[this.locale]},enumerable:!1,configurable:!0}),SurveyModel.prototype.getUsedLocales=function(){var e=[];this.addUsedLocales(e);var t=e.indexOf("default");if(t>-1){var o=oo.defaultLocale,n=e.indexOf(o);n>-1&&e.splice(n,1),t=e.indexOf("default"),e[t]=o}return e},SurveyModel.prototype.localeChanged=function(){for(var e=0;e<this.pages.length;e++)this.pages[e].localeChanged()},SurveyModel.prototype.getLocale=function(){return this.locale},SurveyModel.prototype.locStrsChanged=function(){if(!this.isClearingUnsedValues&&(e.prototype.locStrsChanged.call(this),this.currentPage)){if(this.isDesignMode)this.pages.forEach(function(e){return e.locStrsChanged()});else{var t=this.activePage;t&&t.locStrsChanged();for(var o=this.visiblePages,n=0;n<o.length;n++)o[n].navigationLocStrChanged()}this.isShowStartingPage||this.updateProgressText(),this.navigationBar.locStrsChanged()}},SurveyModel.prototype.getMarkdownHtml=function(e,t){return this.getSurveyMarkdownHtml(this,e,t)},SurveyModel.prototype.getRenderer=function(e){return this.getRendererForString(this,e)},SurveyModel.prototype.getRendererContext=function(e){return this.getRendererContextForString(this,e)},SurveyModel.prototype.getRendererForString=function(e,t){var o=this.getBuiltInRendererForString(e,t);o=this.elementWrapperComponentNameCore(o,e,"string",t);var n={element:e,name:t,renderAs:o};return this.onTextRenderAs.fire(this,n),n.renderAs},SurveyModel.prototype.getRendererContextForString=function(e,t){return this.elementWrapperDataCore(t,e,"string")},SurveyModel.prototype.getExpressionDisplayValue=function(e,t,o){var n={question:e,value:t,displayValue:o};return this.onGetExpressionDisplayValue.fire(this,n),n.displayValue},SurveyModel.prototype.getBuiltInRendererForString=function(e,t){if(this.isDesignMode)return nf.editableRenderer},SurveyModel.prototype.getProcessedText=function(e){return this.processText(e,!0)},SurveyModel.prototype.getLocString=function(e){return this.getLocalizationString(e)},SurveyModel.prototype.getErrorCustomText=function(e,t){return this.get
5SurveyErrorCustomText(this,e,t)},SurveyModel.prototype.getSurveyErrorCustomText=function(e,t,o){var n={text:t,name:o.getErrorType(),obj:e,error:o};return this.onErrorCustomText.fire(this,n),n.text},SurveyModel.prototype.getQuestionDisplayValue=function(e,t){var o={question:e,displayValue:t};return this.onGetQuestionDisplayValue.fire(this,o),o.displayValue},Object.defineProperty(SurveyModel.prototype,"emptySurveyText",{get:function(){return this.getLocalizableStringText("emptySurveyText")},set:function(e){this.setLocalizableStringText("emptySurveyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"logo",{get:function(){return this.getLocalizableStringText("logo")},set:function(e){this.setLocalizableStringText("logo",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locLogo",{get:function(){return this.getLocalizableString("logo")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"logoWidth",{get:function(){return this.getPropertyValue("logoWidth")},set:function(e){this.setPropertyValue("logoWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedLogoWidth",{get:function(){return this.logoWidth?getRenderedSize(this.logoWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedStyleLogoWidth",{get:function(){return this.logoWidth?getRenderedStyleSize(this.logoWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"logoHeight",{get:function(){return this.getPropertyValue("logoHeight")},set:function(e){this.setPropertyValue("logoHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedLogoHeight",{get:function(){return this.logoHeight?getRenderedSize(this.logoHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedStyleLogoHeight",{get:function(){return this.logoHeight?getRenderedStyleSize(this.logoHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"logoPosition",{get:function(){return this.getPropertyValue("logoPosition")},set:function(e){this.setPropertyValue("logoPosition",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"hasLogo",{get:function(){return this.getPropertyValue("hasLogo",!1)},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateHasLogo=function(){this.setPropertyValue("hasLogo",!!this.logo&&"none"!==this.logoPosition)},Object.defineProperty(SurveyModel.prototype,"isLogoBefore",{get:function(){return!this.isDesignMode&&this.renderedHasLogo&&("left"===this.logoPosition||"top"===this.logoPosition)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isLogoAfter",{get:function(){return this.isDesignMode?this.renderedHasLogo:this.renderedHasLogo&&("right"===this.logoPosition||"bottom"===this.logoPosition)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"logoClassNames",{get:function(){return new oY().append(this.css.logo).append({left:"sv-logo--left",right:"sv-logo--right",top:"sv-logo--top",bottom:"sv-logo--bottom"}[this.logoPosition]).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedHasTitle",{get:function(){return this.isDesignMode?this.isPropertyVisible("title"):!this.titleIsEmpty&&this.showTitle},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedHasDescription",{get:function(){return this.isDesignMode?this.isPropertyVisible("description"):!!this.hasDescription&&this.showTitle},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"hasTitle",{get:function(){return this.renderedHasTitle},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedHasLogo",{get:function(){return this.isDesignMode?this.isPropertyVisible("logo"):this.hasLogo},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedHasHeader",{get:function(){return this.renderedHasTitle||this.renderedHasLogo}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"logoFit",{get:function(){return this.getPropertyValue("logoFit")},set:function(e){this.setPropertyValue("logoFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"themeVariables",{get:function(){return Object.assign({},this.cssVariables)},enumerable:!1,configurable:!0}),SurveyModel.prototype.setIsMobile=function(e){void 0===e&&(e=!0),this._isMobile!==e&&(this._isMobile=e,this.updateCss(),this.getAllQuestions().forEach(function(t){return t.setIsMobile(e)}))},Object.defineProperty(SurveyModel.prototype,"isMobile",{get:function(){return this._isMobile&&!this.isDesignMode},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isCompact",{get:function(){return this._isCompact},set:function(e){e!==this._isCompact&&(this._isCompact=e,this.updateElementCss(),this.triggerResponsiveness(!0))},enumerable:!1,configurable:!0}),SurveyModel.prototype.isLogoImageChoosen=function(){return this.locLogo.renderedHtml},Object.defineProperty(SurveyModel.prototype,"titleMaxWidth",{get:function(){if(!(t6.isAvailable()&&t6.hasOwn("orientation")||this.isMobile)&&!this.isValueEmpty(this.isLogoImageChoosen())&&!nC.supportCreatorV2){var e=this.logoWidth;if("left"===this.logoPosition||"right"===this.logoPosition)return"calc(100% - 5px - 2em - "+e+")"}return""},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateRenderBackgroundImage=function(){var e=this.backgroundImage;this.renderBackgroundImage=wrapUrlForBackgroundImage(e)},Object.defineProperty(SurveyModel.prototype,"backgroundOpacity",{get:function(){return this.getPropertyValue("backgroundOpacity")},set:function(e){this.setPropertyValue("backgroundOpacity",e)},enumerable:!1,configurable:!0}
5),SurveyModel.prototype.updateBackgroundImageStyle=function(){this.backgroundImageStyle={opacity:this.backgroundOpacity,backgroundImage:this.renderBackgroundImage,backgroundSize:this.backgroundImageFit,backgroundAttachment:this.fitToContainer?void 0:this.backgroundImageAttachment}},SurveyModel.prototype.updateWrapperFormCss=function(){this.wrapperFormCss=new oY().append(this.css.rootWrapper).append(this.css.rootWrapperHasImage,!!this.backgroundImage).append(this.css.rootWrapperFixed,!!this.backgroundImage&&"fixed"===this.backgroundImageAttachment).toString()},Object.defineProperty(SurveyModel.prototype,"completedHtml",{get:function(){return this.getLocalizableStringText("completedHtml")},set:function(e){this.setLocalizableStringText("completedHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locCompletedHtml",{get:function(){return this.getLocalizableString("completedHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"completedHtmlOnCondition",{get:function(){return this.getPropertyValue("completedHtmlOnCondition")},set:function(e){this.setPropertyValue("completedHtmlOnCondition",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.runExpression=function(e,t){if(!e)return null;var o=this.getFilteredValues(),n=this.getFilteredProperties(),r=new oN(e),i=void 0;return r.onRunComplete=function(e){i=e,t&&t(e)},r.run(o,n)||i},Object.defineProperty(SurveyModel.prototype,"isSettingValueOnExpression",{get:function(){return this.setValueOnExpressionCounter>0},enumerable:!1,configurable:!0}),SurveyModel.prototype.startSetValueOnExpression=function(){this.setValueOnExpressionCounter++},SurveyModel.prototype.finishSetValueOnExpression=function(){this.setValueOnExpressionCounter--},SurveyModel.prototype.runCondition=function(e){if(!e)return!1;var t=this.getFilteredValues(),o=this.getFilteredProperties();return new oq(e).run(t,o)},SurveyModel.prototype.runTriggers=function(){this.checkTriggers(this.getFilteredValues(),!1)},Object.defineProperty(SurveyModel.prototype,"renderedCompletedHtml",{get:function(){var e=this.getExpressionItemOnRunCondition(this.completedHtmlOnCondition);return e?e.html:this.completedHtml},enumerable:!1,configurable:!0}),SurveyModel.prototype.getExpressionItemOnRunCondition=function(e){if(0==e.length)return null;for(var t=this.getFilteredValues(),o=this.getFilteredProperties(),n=0;n<e.length;n++)if(e[n].runCondition(t,o))return e[n];return null},Object.defineProperty(SurveyModel.prototype,"completedBeforeHtml",{get:function(){return this.getLocalizableStringText("completedBeforeHtml")},set:function(e){this.setLocalizableStringText("completedBeforeHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locCompletedBeforeHtml",{get:function(){return this.getLocalizableString("completedBeforeHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"loadingHtml",{get:function(){return this.getLocalizableStringText("loadingHtml")},set:function(e){this.setLocalizableStringText("loadingHtml",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locLoadingHtml",{get:function(){return this.getLocalizableString("loadingHtml")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"defaultLoadingHtml",{get:function(){return"<h3>"+this.getLocalizationString("loadingSurvey")+"</h3>"},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"navigationBar",{get:function(){return this.navigationBarValue},enumerable:!1,configurable:!0}),SurveyModel.prototype.addNavigationItem=function(e){var t=this;e.component||(e.component="sv-nav-btn"),e.innerCss||(e.innerCss=this.cssSurveyNavigationButton);var o=e.action;return e.action=function(){t.taskManager.waitAndExecute(function(){return o()})},this.navigationBar.addAction(e)},Object.defineProperty(SurveyModel.prototype,"startSurveyText",{get:function(){return this.getLocalizableStringText("startSurveyText")},set:function(e){this.setLocalizableStringText("startSurveyText",e)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locStartSurveyText",{get:function(){return this.getLocalizableString("startSurveyText")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"pagePrevText",{get:function(){return this.getLocalizableStringText("pagePrevText")},set:function(e){this.setLocalizableStringText("pagePrevText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locPagePrevText",{get:function(){return this.getLocalizableString("pagePrevText")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"pageNextText",{get:function(){return this.getLocalizableStringText("pageNextText")},set:function(e){this.setLocalizableStringText("pageNextText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locPageNextText",{get:function(){return this.getLocalizableString("pageNextText")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"completeText",{get:function(){return this.getLocalizableStringText("completeText")},set:function(e){this.setLocalizableStringText("completeText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locCompleteText",{get:function(){return this.getLocalizableString("completeText")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"previewText",{get:function(){return this.getLocalizableStringText("previewText")},set:function(e){this.setLocalizableStringText("previewText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locPreviewText",{get:function(){return this.getLocalizableString("previewText")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"editText",{get:function(){return this.getLocalizableStringText("editText")},set:function(e){this.setLocalizableStringText("editText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"locEditText",{get:function(){return this.getLocalizableString("editText")},enumerable:!1,configurable:!0}),SurveyModel.prototype.getElementTitleTagName=function(e,t){if(this.onGetTitleTagName.isEmpty)return t;var o={element:e,tagName:t};return this.onGetTitleTagName.fire(this,o),o.tagName},Object.defineProperty(SurveyModel.prototype,"questionTitlePattern",{get:function(){return this.getPropertyValue("questionTitlePattern","numTitleRequire")},set:function(e){"numRequireTitle"!==e&&"requireNumTitle"!==e&&"numTitle"!=e&&(e="numTitleRequire"),this.setPropertyValue("questionTitlePattern",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.getQuestionTitlePatternOptions=function(){var e=[],t=this.getLocalizationString("questionTitlePatternText"),o=this.questionStartIndex?this.questionStartIndex:"1.";return e.push({value:"numTitleRequire",text:o+" "+t+" "+this.requiredText}),e.push({value:"numRequireTitle",text:o+" "+this.requiredText+" "+t}),e.push({value:"numTitle",text:o+" "+t}),e},Object.defineProperty(SurveyModel.prototype,"questionTitleTemplate",{get:function(){return this.getLocalizableStringText("questionTitleTemplate")},set:function(e){this.setLocalizableStringText("questionTitleTemplate",e),this.questionTitlePattern=this.getNewTitlePattern(e),this.questionStartIndex=this.getNewQuestionTitleElement(e,"no",this.questionStartIndex,"1"),this.requiredText=this.getNewQuestionTitleElement(e,"require",this.requiredText,"*")},enumerable:!1,configurable:!0}),SurveyModel.prototype.getNewTitlePattern=function(e){if(e){for(var t=[];e.indexOf("{")>-1;){var o=(e=e.substring(e.indexOf("{")+1)).indexOf("}");if(o<0)break;t.push(e.substring(0,o)),e=e.substring(o+1)}if(t.length>1){if("require"==t[0])return"requireNumTitle";if("require"==t[1]&&3==t.length)return"numRequireTitle";if(0>t.indexOf("require"))return"numTitle"}if(1==t.length&&"title"==t[0])return"numTitle"}return"numTitleRequire"},SurveyModel.prototype.getNewQuestionTitleElement=function(e,t,o,n){if(t="{"+t+"}",!e||0>e.indexOf(t))return o;for(var r=e.indexOf(t),i="",s="",a=r-1;a>=0&&"}"!=e[a];a--);for(a<r-1&&(i=e.substring(a+1,r)),r+=t.length,a=r;a<e.length&&"{"!=e[a];a++);for(a>r&&(s=e.substring(r,a)),a=0;a<i.length&&33>i.charCodeAt(a);)a++;for(i=i.substring(a),a=s.length-1;a>=0&&33>s.charCodeAt(a);)a--;return(s=s.substring(0,a+1),i||s)?i+(o||n)+s:o},Object.defineProperty(SurveyModel.prototype,"locQuestionTitleTemplate",{get:function(){return this.getLocalizableString("questionTitleTemplate")}
vendor: 8,511 bytes, line 5
5,enumerable:!1,configurable:!0}),SurveyModel.prototype.getUpdatedQuestionTitle=function(e,t){if(this.onGetQuestionTitle.isEmpty)return t;var o={question:e,title:t};return this.onGetQuestionTitle.fire(this,o),o.title},SurveyModel.prototype.getUpdatedQuestionNo=function(e,t){if(this.onGetQuestionNumber.isEmpty)return t;var o={question:e,number:t,no:t};return this.onGetQuestionNumber.fire(this,o),o.no===t?o.number:o.no},SurveyModel.prototype.getUpdatedPanelNo=function(e,t){if(this.onGetPanelNumber.isEmpty)return t;var o={panel:e,number:t};return this.onGetPanelNumber.fire(this,o),o.number},SurveyModel.prototype.getUpdatedPageNo=function(e,t){if(this.onGetPageNumber.isEmpty)return t;var o={page:e,number:t};return this.onGetPageNumber.fire(this,o),o.number},Object.defineProperty(SurveyModel.prototype,"showPageNumbers",{get:function(){return this.getPropertyValue("showPageNumbers")},set:function(e){e!==this.showPageNumbers&&(this.setPropertyValue("showPageNumbers",e),this.updateVisibleIndexes())},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){!0===e&&(e="on"),!1===e&&(e="off"),(e="onpage"===(e=e.toLowerCase())?"onPage":e)!==this.showQuestionNumbers&&(this.setPropertyValue("showQuestionNumbers",e),this.updateVisibleIndexes())},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"progressBar",{get:function(){return this.progressBarValue},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showProgressBar",{get:function(){return this.getPropertyValue("showProgressBar")},set:function(e){!0===e&&(e="auto"),!1===e&&(e="off"),this.setPropertyValue("showProgressBar",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"progressBarType",{get:function(){return this.getPropertyValue("progressBarType")},set:function(e){"correctquestion"===e&&(e="correctQuestion"),"requiredquestion"===e&&(e="requiredQuestion"),this.setPropertyValue("progressBarType",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"progressBarComponentName",{get:function(){var e=this.progressBarType;return!nC.legacyProgressBarView&&"defaultV2"===rK.currentType&&isStrCiEqual(e,"pages")&&(e="buttons"),"progress-"+e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowProgressBarOnTop",{get:function(){return!!this.canShowProresBar()&&-1!==["auto","aboveheader","belowheader","topbottom","top","both"].indexOf(this.showProgressBar)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowProgressBarOnBottom",{get:function(){return!!this.canShowProresBar()&&("bottom"===this.showProgressBar||"both"===this.showProgressBar||"topbottom"===this.showProgressBar)},enumerable:!1,configurable:!0}),SurveyModel.prototype.getProgressTypeComponent=function(){return"sv-progress-"+this.progressBarType.toLowerCase()},SurveyModel.prototype.getProgressCssClasses=function(e){return void 0===e&&(e=""),new oY().append(this.css.progress).append(this.css.progressTop,this.isShowProgressBarOnTop&&(!e||"header"==e)).append(this.css.progressBottom,this.isShowProgressBarOnBottom&&(!e||"footer"==e)).toString()},SurveyModel.prototype.canShowProresBar=function(){return!this.isShowingPreview||"showAllQuestions"!=this.showPreviewBeforeComplete},Object.defineProperty(SurveyModel.prototype,"processedTitle",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"questionTitleLocation",{get:function(){return this.getPropertyValue("questionTitleLocation")},set:function(e){this.setPropertyValue("questionTitleLocation",e.toLowerCase()),this.isLoadingFromJson||this.updateElementCss(!0)},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateElementCss=function(e){this.startedPage&&this.startedPage.updateElementCss(e);for(var t=this.visiblePages,o=0;o<t.length;o++)t[o].updateElementCss(e);this.updateCss()},Object.defineProperty(SurveyModel.prototype,"questionErrorLocation",{get:function(){return this.getPropertyValue("questionErrorLocation")},set:function(e){this.setPropertyValue("questionErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"questionDescriptionLocation",{get:function(){return this.getPropertyValue("questionDescriptionLocation")},set:function(e){this.setPropertyValue("questionDescriptionLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"mode",{get:function(){return this.getPropertyValue("mode")},set:function(e){(e=e.toLowerCase())!=this.mode&&("edit"==e||"display"==e)&&this.setPropertyValue("mode",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.onModeChanged=function(){for(var e=0;e<this.pages.length;e++){var t=this.pages[e];t.setPropertyValue("isReadOnly",t.isReadOnly)}this.updateButtonsVisibility(),this.updateCss()},Object.defineProperty(SurveyModel.prototype,"data",{get:function(){for(var e={},t=this.getValuesKeys(),o=0;o<t.length;o++){var n=t[o],r=this.getDataValueCore(this.valuesHash,n);void 0!==r&&(e[n]=r)}return this.setCalculatedValuesIntoResult(e),e},set:function(e){this.valuesHash={},this.setDataCore(e,!e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.mergeData=function(e){if(e){var t=this.data;this.mergeValues(e,t),this.setDataCore(t)}},SurveyModel.prototype.setDataCore=function(e,t){if(void 0===t&&(t=!1),t&&(this.valuesHash={}),e)for(var o in e){var n="string"==typeof o?o.trim():o;this.setDataValueCore(this.valuesHash,n,e[o])}this.updateAllQuestionsValue(t),this.notifyAllQuestionsOnValueChanged(),this.notifyElementsOnAnyValueOrVariableChanged(""),this.runConditions(),this.updateAllQuestionsValue(t)},Object.defineProperty(SurveyModel.prototype,"isSurvey",{get:function(){return!0},enumerable:!1,configurable:!0}),SurveyModel.prototype.getData=function(e){var t=e||{includePages:!1,includePanels:!1};return t.includePages||t.includePanels?this.getStructuredData(!!t.includePages,t.includePanels?-1:t.includePages?1:0):this.data},SurveyModel.prototype.getStructuredData=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t=-1),0===t)return this.data;var o={};return this.pages.forEach(function(n){if(e){var r={};n.collectValues(r,t-1)&&(o[n.name]=r)}else n.collectValues(o,t)}),o},SurveyModel.prototype.setStructuredData=function(e,t){if(void 0===t&&(t=!1),e){var o={};for(var n in e)if(this.getQuestionByValueName(n))o[n]=e[n];else{var r=this.getPageByName(n);r||(r=this.getPanelByName(n)),r&&this.collectDataFromPanel(r,o,e[n])}t?this.mergeData(o):this.data=o}},SurveyModel.prototype.collectDataFromPanel=function(e,t,o){for(var n in o){var r=e.getElementByName(n);r&&(r.isPanel?this.collectDataFromPanel(r,t,o[n]):t[n]=o[n])}},Object.defineProperty(SurveyModel.prototype,"editingObj",{get:function(){return this.editingObjValue},set:function(e){var t=this;if(this.editingObj!=e&&(this.unConnectEditingObj(),this.editingObjValue=e,!this.isDisposed)){if(!e)for(var o=this.getAllQuestions(),n=0;n<o.length;n++)o[n].unbindValue();this.editingObj&&(this.setDataCore({}),this.onEditingObjPropertyChanged=function(e,o){ov.hasOriginalProperty(t.editingObj,o.name)&&("locale"===o.name&&t.setDataCore({}),t.updateOnSetValue(o.name,t.editingObj[o.name],o.oldValue))},this.editingObj.onPropertyChanged.add(this.onEditingObjPropertyChanged))}},enumerable:!1,configurable:!0}),SurveyModel.prototype.unConnectEditingObj=function(){this.editingObj&&!this.editingObj.isDisposed&&this.editingObj.onPropertyChanged.remove(this.onEditingObjPropertyChanged)},Object.defineProperty(SurveyModel.prototype,"isEditingSurveyElement",{get:function(){return!!this.editingObj},enumerable:!1,configurable:!0}),SurveyModel.prototype.setCalculatedValuesIntoResult=function(e){for(var t=0;t<this.calculatedValues.length;t++){var o=this.calculatedValues[t];o.includeIntoResult&&o.name&&void 0!==this.getVariable(o.name)&&(e[o.name]=this.getVariable(o.name))}},SurveyModel.prototype.getAllValues=function(){return this.data},SurveyModel.prototype.getPlainData=function(e){e||(e={includeEmpty:!0,includeQuestionTypes:!1,includeValues:!1});var t=[],o=[];if(this.getAllQuestions().forEach(function(n){var r=n.getPlainData(e);r&&(t.push(r),o.push(n.valueName||n.name))}),e.includeValues)for(var n=this.getValuesKeys(),r=0;r<n.length;r++){var i=n[r];if(-1==o.indexOf(i)){var s=this.getDataValueCore(this.valuesHash,i);
5s&&t.push({name:i,title:i,value:s,displayValue:s,isNode:!1,getString:function(e){return"object"==typeof e?JSON.stringify(e):e}})}}return t},SurveyModel.prototype.getFilteredValues=function(){var e={};for(var t in this.variablesHash)e[t]=this.variablesHash[t];if(this.addCalculatedValuesIntoFilteredValues(e),!this.isDesignMode){for(var o=this.getValuesKeys(),n=0;n<o.length;n++){var t=o[n];e[t]=this.getDataValueCore(this.valuesHash,t)}this.getAllQuestions().forEach(function(t){t.hasFilteredValue&&(e[t.getFilteredName()]=t.getFilteredValue())})}return e},SurveyModel.prototype.addCalculatedValuesIntoFilteredValues=function(e){for(var t=this.calculatedValues,o=0;o<t.length;o++)e[t[o].name]=t[o].value},SurveyModel.prototype.getFilteredProperties=function(){return{survey:this}},SurveyModel.prototype.getValuesKeys=function(){if(!this.editingObj)return Object.keys(this.valuesHash);for(var e=ov.getPropertiesByObj(this.editingObj),t=[],o=0;o<e.length;o++)t.push(e[o].name);return t},SurveyModel.prototype.getDataValueCore=function(e,t){return this.editingObj?ov.getObjPropertyValue(this.editingObj,t):this.getDataFromValueHash(e,t)},SurveyModel.prototype.setDataValueCore=function(e,t,o){this.editingObj?ov.setObjPropertyValue(this.editingObj,t,o):this.setDataToValueHash(e,t,o)},SurveyModel.prototype.deleteDataValueCore=function(e,t){this.editingObj?this.editingObj[t]=null:this.deleteDataFromValueHash(e,t)},SurveyModel.prototype.getDataFromValueHash=function(e,t){return this.valueHashGetDataCallback?this.valueHashGetDataCallback(e,t):e[t]},SurveyModel.prototype.setDataToValueHash=function(e,t,o){this.valueHashSetDataCallback?this.valueHashSetDataCallback(e,t,o):e[t]=o},SurveyModel.prototype.deleteDataFromValueHash=function(e,t){this.valueHashDeleteDataCallback?this.valueHashDeleteDataCallback(e,t):delete e[t]},Object.defineProperty(SurveyModel.prototype,"comments",{get:function(){for(var e={},t=this.getValuesKeys(),o=0;o<t.length;o++){var n=t[o];n.indexOf(this.commentSuffix)>0&&(e[n]=this.getDataValueCore(this.valuesHash,n))}return e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"visiblePages",{get:function(){if(this.isDesignMode)return this.pages;if(this.pageContainerValue&&(this.isShowingPreview||this.isSinglePage))return[this.pageContainerValue];for(var e=[],t=0;t<this.pages.length;t++)this.isPageInVisibleList(this.pages[t])&&e.push(this.pages[t]);return e},enumerable:!1,configurable:!0}),SurveyModel.prototype.isPageInVisibleList=function(e){return this.isDesignMode||e.isVisible&&!e.isStartPage},Object.defineProperty(SurveyModel.prototype,"isEmpty",{get:function(){return 0==this.pages.length},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"PageCount",{get:function(){return this.pageCount},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"pageCount",{get:function(){return this.pages.length},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"visiblePageCount",{get:function(){return this.visiblePages.length},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"startedPage",{get:function(){var e=this.firstPageIsStarted&&this.pages.length>1?this.pages[0]:null;return e&&(e.onFirstRendering(),e.setWasShown(!0)),e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"currentPage",{get:function(){return this.getPropertyValue("currentPage",null)},set:function(e){if(!this.isLoadingFromJson){var t=this.getPageByObject(e);if((!e||t)&&(t||!this.isCurrentPageAvailable)){var o=this.visiblePages;if(!(null!=t&&0>o.indexOf(t))&&t!=this.currentPage){var n=this.currentSingleElement;if(!this.isShowingPreview&&n&&t!==n.page){this.currentSingleElement=t.getFirstVisibleElement();return}var r=this.currentPage;(this.isShowingPreview||n||this.currentPageChanging(t,r))&&(this.setPropertyValue("currentPage",t),t&&(t.onFirstRendering(),t.updateCustomWidgets(),t.setWasShown(!0)),this.locStrsChanged(),this.isShowingPreview||this.currentPageChanged(t,r))}}}},enumerable:!1,configurable:!0}),SurveyModel.prototype.tryNavigateToPage=function(e){if(!this.performValidationOnPageChanging(e))return!1;var t=this.visiblePages.indexOf(e)<this.currentPageNo||!this.doServerValidation(!1,!1,e);return t&&(this.currentPage=e),t},SurveyModel.prototype.performValidationOnPageChanging=function(e){if(this.isDesignMode)return!1;if(this.canGoTroughValidation())return!0;var t=this.visiblePages.indexOf(e);if(t<0||t>=this.visiblePageCount||t===this.currentPageNo)return!1;if(t<this.currentPageNo||"onComplete"===this.checkErrorsMode||this.validationAllowSwitchPages)return!0;
vendor: 8,651 bytes, line 5
5if(!this.validateCurrentPage())return!1;for(var o=this.currentPageNo+1;o<t;o++){var n=this.visiblePages[o];if(!n.validate(!0,!0))return!1;n.passed=!0}return!0},SurveyModel.prototype.updateCurrentPage=function(){this.isCurrentPageAvailable||(this.currentPage=this.firstVisiblePage)},Object.defineProperty(SurveyModel.prototype,"isCurrentPageAvailable",{get:function(){var e=this.currentPage;return!!e&&this.isPageInVisibleList(e)&&this.isPageExistsInSurvey(e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.isPageExistsInSurvey=function(e){return this.pages.indexOf(e)>-1||!!this.onContainsPageCallback&&this.onContainsPageCallback(e)},Object.defineProperty(SurveyModel.prototype,"activePage",{get:function(){return this.getPropertyValue("activePage")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowStartingPage",{get:function(){return"starting"===this.state},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"matrixDragHandleArea",{get:function(){return this.getPropertyValue("matrixDragHandleArea","entireItem")},set:function(e){this.setPropertyValue("matrixDragHandleArea",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowingPage",{get:function(){return"running"==this.state||"preview"==this.state||this.isShowStartingPage},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateActivePage=function(){var e=this.isShowStartingPage?this.startedPage:this.currentPage;e!==this.activePage&&this.setPropertyValue("activePage",e)},SurveyModel.prototype.onStateAndCurrentPageChanged=function(){this.updateActivePage(),this.updateButtonsVisibility()},SurveyModel.prototype.getPageByObject=function(e){if(!e)return null;if(e.getType&&"page"==e.getType())return e;if("string"==typeof e||e instanceof String)return this.getPageByName(String(e));if(!isNaN(e)){var t=Number(e),o=this.visiblePages;return e<0||e>=o.length?null:o[t]}return e},Object.defineProperty(SurveyModel.prototype,"currentPageNo",{get:function(){return this.visiblePages.indexOf(this.currentPage)},set:function(e){var t=this.visiblePages;e<0||e>=t.length||(this.currentPage=t[e])},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"questionsOrder",{get:function(){return this.getPropertyValue("questionsOrder")},set:function(e){this.setPropertyValue("questionsOrder",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.focusFirstQuestion=function(){if(!this.focusingQuestionInfo){var e=this.activePage;e&&(e.scrollToTop(),e.focusFirstQuestion())}},SurveyModel.prototype.scrollToTopOnPageChange=function(e){void 0===e&&(e=!0);var t=this.activePage;t&&(e&&t.scrollToTop(),this.isCurrentPageRendering&&this.focusFirstQuestionAutomatic&&!this.focusingQuestionInfo&&(t.focusFirstQuestion(),this.isCurrentPageRendering=!1))},Object.defineProperty(SurveyModel.prototype,"state",{get:function(){return this.getPropertyValue("state","empty")},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateState=function(){this.setPropertyValue("state",this.calcState())},SurveyModel.prototype.calcState=function(){return this.isLoading?"loading":this.isCompleted?"completed":this.isCompletedBefore?"completedbefore":!this.isDesignMode&&this.isEditMode&&this.isStartedState&&this.startedPage?"starting":this.isShowingPreview?this.currentPage?"preview":"empty":this.currentPage?"running":"empty"},Object.defineProperty(SurveyModel.prototype,"isCompleted",{get:function(){return this.getPropertyValue("isCompleted",!1)},set:function(e){this.setPropertyValue("isCompleted",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowingPreview",{get:function(){return this.getPropertyValue("isShowingPreview",!1)},set:function(e){this.isShowingPreview!=e&&(this.setPropertyValue("isShowingPreview",e),this.onShowingPreviewChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isStartedState",{get:function(){return this.getPropertyValue("isStartedState",!1)},set:function(e){this.setPropertyValue("isStartedState",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isCompletedBefore",{get:function(){return this.getPropertyValue("isCompletedBefore",!1)},set:function(e){this.setPropertyValue("isCompletedBefore",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isLoading",{get:function(){return this.getPropertyValue("isLoading",!1)},set:function(e){this.setPropertyValue("isLoading",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"completedState",{get:function(){return this.getPropertyValue("completedState","")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"completedStateText",{get:function(){return this.getPropertyValue("completedStateText","")},enumerable:!1,configurable:!0}),SurveyModel.prototype.setCompletedState=function(e,t){this.setPropertyValue("completedState",e),t||("saving"==e&&(t=this.getLocalizationString("savingData")),"error"==e&&(t=this.getLocalizationString("savingDataError")),"success"==e&&(t=this.getLocalizationString("savingDataSuccess"))),this.setPropertyValue("completedStateText",t),"completed"===this.state&&this.showCompletedPage&&this.completedState&&this.notify(this.completedStateText,this.completedState,"error"===e)},SurveyModel.prototype.notify=function(e,t,o){void 0===o&&(o=!1),this.notifier.showActions=o,this.notifier.notify(e,t,o)},SurveyModel.prototype.clear=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.isCompleted=!1,this.isCompletedBefore=!1,this.isLoading=!1,this.skippedPages=[],this.completedByTriggers=void 0,e&&this.setDataCore(null,!0),this.timerModel.spent=0;for(var o=0;o<this.pages.length;o++)this.pages[o].timeSpent=0,this.pages[o].setWasShown(!1),this.pages[o].passed=!1;if(this.onFirstPageIsStartedChanged(),t&&(this.currentPage=this.firstVisiblePage,this.currentSingleElement)){var n=this.getSingleElements();this.currentSingleElement=n.length>0?n[0]:void 0}e&&this.updateValuesWithDefaults()},SurveyModel.prototype.mergeValues=function(e,t){mergeValues(e,t)},SurveyModel.prototype.updateValuesWithDefaults=function(){if(!this.isDesignMode&&!this.isLoading)for(var e=0;e<this.pages.length;e++)for(var t=this.pages[e].questions,o=0;o<t.length;o++)t[o].updateValueWithDefaults()},SurveyModel.prototype.updateCustomWidgets=function(e){e&&e.updateCustomWidgets()},SurveyModel.prototype.currentPageChanging=function(e,t,o,n){var r=this.createPageChangeEventOptions(e,t,o,n);return this.currentPageChangingFromOptions(r)},SurveyModel.prototype.currentPageChangingFromOptions=function(e){e.allow=!0,e.allowChanging=!0,this.onCurrentPageChanging.fire(this,e);var t=e.allowChanging&&e.allow;return t&&e.newCurrentPage!==e.oldCurrentPage&&(this.isCurrentPageRendering=!0),t},SurveyModel.prototype.currentPageChanged=function(e,t){if(this.notifyQuestionsOnHidingContent(t),t&&!t.isDisposed&&!t.passed&&t.validate(!1)&&(t.passed=!0),!0===this.isCurrentPageRendered&&(this.isCurrentPageRendered=!1),!this.currentSingleElement){var o=this.createPageChangeEventOptions(e,t);this.onCurrentPageChanged.fire(this,o)}},SurveyModel.prototype.notifyQuestionsOnHidingContent=function(e){e&&!e.isDisposed&&e.questions.forEach(function(e){return e.onHidingContent()})},SurveyModel.prototype.createPageChangeEventOptions=function(e,t,o,n){var r=e&&t?e.visibleIndex-t.visibleIndex:0,i=r;return 0===i&&n&&o&&(i=e.elements.indexOf(o)-e.elements.indexOf(n)),{oldCurrentQuestion:n,newCurrentQuestion:o,oldCurrentPage:t,newCurrentPage:e,isNextPage:1===r,isPrevPage:-1===r,isGoingForward:i>0,isGoingBackward:i<0,isAfterPreview:!0===this.changeCurrentPageFromPreview}},SurveyModel.prototype.getProgress=function(){if(null==this.currentPage)return 0;if("pages"!==this.progressBarType){var e=this.getProgressInfo();return"requiredQuestions"===this.progressBarType?e.requiredQuestionCount>=1?Math.ceil(100*e.requiredAnsweredQuestionCount/e.requiredQuestionCount):100:e.questionCount>=1?Math.ceil(100*e.answeredQuestionCount/e.questionCount):100}var t=this.visiblePages;return Math.ceil(100*t.indexOf(this.currentPage)/t.length)},Object.defineProperty(SurveyModel.prototype,"progressValue",{get:function(){return this.getPropertyValue("progressValue",0)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isNavigationButtonsShowing",{get:function(){if(this.isDesignMode)return"none";var e=this.activePage;return e?"show"===e.navigationButtonsVisibility?"none"===this.showNavigationButtons?"bottom":this.showNavigationButtons:"hide"===e.navigationButtonsVisibility?"none":this.showNavigationButtons:"none"}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isNavigationButtonsShowingOnTop",{get:function(){return this.getIsNavigationButtonsShowingOn("top")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isNavigationButtonsShowingOnBottom",{get:function(){return this.getIsNavigationButtonsShowingOn("bottom")},enumerable:!1,configurable:!0}),SurveyModel.prototype.getIsNavigationButtonsShowingOn=function(e){var t=this.isNavigationButtonsShowing;return"both"==t||t==e},Object.defineProperty(SurveyModel.prototype,"isEditMode",{get:function(){return"edit"==this.mode},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isDisplayMode",{get:function(){return"display"==this.mode&&!this.isDesignMode||"preview"==this.state},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isUpdateValueTextOnTyping",{get:function(){return"onTyping"==this.textUpdateMode},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isDesignMode",{get:function(){return this._isDesignMode},enumerable:!1,configurable:!0}),SurveyModel.prototype.setDesignMode=function(e){!!this._isDesignMode!=!!e&&(this._isDesignMode=!!e,this.onQuestionsOnPageModeChanged("standard"))},Object.defineProperty(SurveyModel.prototype,"showInvisibleElements",{get:function(){return this.getPropertyValue("showInvisibleElements",!1)},set:function(e){var t=this.visiblePages;this.setPropertyValue("showInvisibleElements",e),this.isLoadingFromJson||(this.runConditions(),this.updateAllElementsVisibility(t))},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateAllElementsVisibility=function(e){for(var t=0;t<this.pages.length;t++){var o=this.pages[t];o.updateElementVisibility(),e.indexOf(o)>-1!=o.isVisible&&this.onPageVisibleChanged.fire(this,{page:o,visible:o.isVisible})}},Object.defineProperty(SurveyModel.prototype,"areInvisibleElementsShowing",{get:function(){return this.isDesignMode||this.showInvisibleElements},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"areEmptyElementsHidden",{get:function(){return this.isShowingPreview&&"showAnsweredQuestions"==this.showPreviewBeforeComplete&&this.isAnyQuestionAnswered},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isAnyQuestionAnswered",{get:function(){for(var e=this.getAllQuestions(!0),t=0;t<e.length;t++)if(!e[t].isEmpty())return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"hasCookie",{get:function(){if(!this.cookieName)return!1;var e=t8.getCookie();return e&&e.indexOf(this.cookieName+"=true")>-1},enumerable:!1,configurable:!0}),SurveyModel.prototype.setCookie=function(){this.cookieName&&t8.setCookie(this.cookieName+"=true; expires=Fri, 31 Dec 9999 0:0:0 GMT")},SurveyModel.prototype.deleteCookie=function(){this.cookieName&&t8.setCookie(this.cookieName+"=;")},Object.defineProperty(SurveyModel.prototype,"ignoreValidation",{get:function(){return!this.validationEnabled},set:function(e){this.validationEnabled=!e},enumerable:!1,configurable:!0}),SurveyModel.prototype.nextPage=function(){return this.currentSingleElement?this.performNext():!this.isLastPage&&this.doCurrentPageComplete(!1)},SurveyModel.prototype.performNext=function(){var e=this.currentSingleElement;if(!e)return this.nextPage();if(this.validationEnabled&&!e.validate(!0))return!1;var t=this.getSingleElements(),o=t.indexOf(e);if(o<0||o===t.length-1)return!1;var n={};return e.isQuestion?n[e.name]=e.value:e.isPanel&&(n=e.getValue()),this.checkTriggers(n,!0,!1,!0,e.name),e===this.currentSingleElement&&(this.currentSingleElement=t[o+1]),!0},SurveyModel.prototype.performPrevious=function(){return this.prevPage()},SurveyModel.prototype.hasErrorsOnNavigate=function(e){var t=this;if(this.canGoTroughValidation())return!1;var o=e&&this.validationAllowComplete||!e&&this.validationAllowSwitchPages,func=function(n){(!n||o)&&t.doCurrentPageCompleteCore(e)};return this.isValidateOnComplete?!!this.isLastPage&&!0!==this.validate(!0,this.focusOnFirstError,func,!0)&&!o:!0!==this.validateCurrentPage(func)&&!o},SurveyModel.prototype.canGoTroughValidation=function(){return!this.isEditMode||!this.validationEnabled},SurveyModel.prototype.checkForAsyncQuestionValidation=function(e,t){var o=this;this.clearAsyncValidationQuesitons();for(var n=this,r=0;r<e.length;r++)!function(){if(e[r].isRunningValidators){var i=e[r];i.onCompletedAsyncValidators=function(e){o.onCompletedAsyncQuestionValidators(i,t,e)},n.asyncValidationQuesitons.push(e[r])}}();return this.asyncValidationQuesitons.length>0},SurveyModel.prototype.clearAsyncValidationQuesitons=function(){if(this.asyncValidationQuesitons)for(var e=this.asyncValidationQuesitons,t=0;t<e.length;t++)e[t].onCompletedAsyncValidators=null;this.asyncValidationQuesitons=[]},SurveyModel.prototype.onCompletedAsyncQuestionValidators=function(e,t,o){if(o){if(this.clearAsyncValidationQuesitons(),t(!0),this.focusOnFirstError&&e&&e.page&&e.page===this.currentPage){for(var n=this.currentPage.questions,r=0;r<n.length;r++)if(n[r]!==e&&n[r].errors.length>0)return;e.focus(!0)}return}for(var i=this.asyncValidationQuesitons,s=0;s<i.length;s++)if(i[s].isRunningValidators)return;t(!1)},Object.defineProperty(SurveyModel.prototype,"isCurrentPageHasErrors",{get:function(){return this.checkIsCurrentPageHasErrors()}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isCurrentPageValid",{get:function(){return!this.checkIsCurrentPageHasErrors()},enumerable:!1,configurable:!0}),SurveyModel.prototype.hasCurrentPageErrors=function(e){return this.hasPageErrors(void 0,e)},SurveyModel.prototype.validateCurrentPage=function(e){return this.validatePage(void 0,e)},SurveyModel.prototype.hasPageErrors=function(e,t){var o=this.validatePage(e,t);return void 0===o?o:!o},SurveyModel.prototype.validatePage=function(e,t){return e||(e=this.activePage),!e||!this.checkIsPageHasErrors(e)&&(!t||!this.checkForAsyncQuestionValidation(e.questions,function(e){return t(e)})||void 0)},SurveyModel.prototype.hasErrors=function(e,t,o){void 0===e&&(e=!0),void 0===t&&(t=!1);var n=this.validate(e,t,o);return void 0===n?n:!n},SurveyModel.prototype.validate=function(e,t,o,n){void 0===e&&(e=!0),void 0===t&&(t=!1),o&&(e=!0);for(var r=this.visiblePages,i=!0,s={fireCallback:e,focusOnFirstError:t,firstErrorQuestion:null,result:!1},a=0;a<r.length;a++)r[a].validate(e,t,s)||(i=!1);return(s.firstErrorQuestion&&(t||n)&&(t?s.firstErrorQuestion.focus(!0):this.currentPage=s.firstErrorQuestion.page),i&&o)?!this.checkForAsyncQuestionValidation(this.getAllQuestions(),function(e){return o(e)})||void 0:i},SurveyModel.prototype.ensureUniqueNames=function(e){if(void 0===e&&(e=null),null==e)for(var t=0;t<this.pages.length;t++)this.ensureUniqueName(this.pages[t]);else this.ensureUniqueName(e)},SurveyModel.prototype.ensureUniqueName=function(e){if(e.isPage&&this.ensureUniquePageName(e),e.isPanel&&this.ensureUniquePanelName(e),e.isPage||e.isPanel)for(var t=e.elements,o=0;o<t.length;o++)this.ensureUniqueNames(t[o]);else this.ensureUniqueQuestionName(e)},SurveyModel.prototype.ensureUniquePageName=function(e){var t=this;return this.ensureUniqueElementName(e,function(e){return t.getPageByName(e)})},SurveyModel.prototype.ensureUniquePanelName=function(e){var t=this;return this.ensureUniqueElementName(e,function(e){return t.getPanelByName(e)})},SurveyModel.prototype.ensureUniqueQuestionName=function(e){var t=this;return this.ensureUniqueElementName(e,function(e){return t.getQuestionByName(e)})},SurveyModel.prototype.ensureUniqueElementName=function(e,t){var o=t(e.name);if(o&&o!=e){for(var n=this.getNewName(e.name);t(n);)var n=this.getNewName(e.name);e.name=n}},SurveyModel.prototype.getNewName=function(e){for(var t=e.length;t>0&&e[t-1]>="0"&&e[t-1]<="9";)t--;var o=e.substring(0,t),n=0;return t<e.length&&(n=parseInt(e.substring(t))),o+ ++n},SurveyModel.prototype.checkIsCurrentPageHasErrors=function(e){return void 0===e&&(e=void 0),this.checkIsPageHasErrors(this.activePage,e)},SurveyModel.prototype.checkIsPageHasErrors=function(e,t){if(void 0===t&&(t=void 0),void 0===t&&(t=this.focusOnFirstError),!e)return!0;var o=!1;return o=this.currentSingleElement&&this.currentSingleElement.page===e?!this.currentSingleElement.validate(!0):!e.validate(!0,t),this.fireValidatedErrorsOnPage(e),o},SurveyModel.prototype.fireValidatedErrorsOnPage=function(e){if(!this.onValidatedErrorsOnCurrentPage.isEmpty&&e){for(var t=this.getNestedQuestionsByQuestionArray(e.questions,!0),o=[],n=[],r=0;r<t.length;r++){var i=t[r];if(i.errors.length>0){o.push(i);for(var s=0;s<i.errors.length;s++)n.push(i.errors[s])}}this.onValidatedErrorsOnCurrentPage.fire(this,{questions:o,errors:n,page:e})}},SurveyModel.prototype.prevPage=function(){if(this.isFirstPage||"starting"===this.state)return!1;this.resetNavigationButton();var e=this.currentSingleElement;if(this.doSkipOnPrevPage(e))return!0;if(e)return this.prevPageSingleElement(e);var t=this.visiblePages,o=t.indexOf(this.currentPage);return this.currentPage=t[o-1],!0},SurveyModel.prototype.doSkipOnPrevPage=function(e){var t=e||this.currentPage,o=this.skippedPages.find(function(e){return e.to===t}),n=void 0;if(o){this.skippedPages.splice(this.skippedPages.indexOf(o),1);var r=o.from;!r.isDisposed&&r.isVisible&&(n=r)}return n&&(e?this.currentSingleElement=n:this.currentPage=n),!!n},SurveyModel.prototype.prevPageSingleElement=function(e){var t=this.getSingleElements(),o=t.indexOf(e);return!(o<=0)&&(this.currentSingleElement=t[o-1],!0)},SurveyModel.prototype.tryComplete=function(){this.isValidateOnComplete&&this.cancelPreview();var e=this.doCurrentPageComplete(!0);return e&&this.cancelPreview(),e},SurveyModel.prototype.completeLastPage=function(){return this.tryComplete()},SurveyModel.prototype.navigationMouseDown=function(){return this.isNavigationButtonPressed=!0,!0},SurveyModel.prototype.resetNavigationButton=function(){this.isNavigationButtonPressed=!1},SurveyModel.prototype.nextPageUIClick=function(){return(!this.mouseDownPage||this.mouseDownPage===this.activePage)&&(this.mouseDownPage=null,this.performNext())},SurveyModel.prototype.nextPageMouseDown=function(){return this.mouseDownPage=this.activePage,this.navigationMouseDown()},SurveyModel.prototype.showPreview=function(){return this.resetNavigationButton(),!(!this.isValidateOnComplete&&(this.hasErrorsOnNavigate(!0)||this.doServerValidation(!0,!0)))&&(this.showPreviewCore(),this.isShowingPreview)},SurveyModel.prototype.showPreviewCore=function(){var e={allowShowPreview:!0,allow:!0};this.onShowingPreview.fire(this,e),this.isShowingPreview=e.allowShowPreview&&e.allow},SurveyModel.prototype.cancelPreview=function(e){if(void 0===e&&(e=null),this.isShowingPreview){this.gotoPageFromPreview=e,this.isShowingPreview=!1;var t,o=null===(t=this.currentSingleElement)||void 0===t?void 0:t.page;o&&(o.updateRows(),this.currentPage=o)}},SurveyModel.prototype.cancelPreviewByPage=function(e){this.cancelPreview(e)},SurveyModel.prototype.doCurrentPageComplete=function(e){return!this.isValidatingOnServer&&(this.resetNavigationButton(),!this.hasErrorsOnNavigate(e)&&this.doCurrentPageCompleteCore(e))},SurveyModel.prototype.doCurrentPageCompleteCore=function(e){return!this.doServerValidation(e)&&(e?(this.currentPage.passed=!0,this.doComplete(this.canBeCompletedByTrigger,this.completedTrigger)):(this.doNextPage(),!0))},Object.defineProperty(SurveyModel.prototype,"isSinglePage",{get:function(){return"singlePage"==this.questionsOnPageMode},set:function(e){this.questionsOnPageMode=e?"singlePage":"standard"}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isSingleVisibleQuestion",{get:function(){return this.isSingleVisibleQuestionVal(this.questionsOnPageMode)},enumerable:!1,configurable:!0}),SurveyModel.prototype.isSingleVisibleQuestionVal=function(e){return"questionPerPage"===e||"questionOnPage"===e},Object.defineProperty(SurveyModel.prototype,"questionsOnPageMode",{get:function(){return this.getPropertyValue("questionsOnPageMode")},set:function(e){this.setPropertyValue("questionsOnPageMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"firstPageIsStarted",{get:function(){return this.getPropertyValue("firstPageIsStarted")},set:function(e){this.setPropertyValue("firstPageIsStarted",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.isPageStarted=function(e){return this.firstPageIsStarted&&this.pages.length>1&&this.pages[0]===e},Object.defineProperty(SurveyModel.prototype,"showPreviewBeforeComplete",{get:function(){return this.getPropertyValue("showPreviewBeforeComplete")},set:function(e){this.setPropertyValue("showPreviewBeforeComplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowPreviewBeforeComplete",{get:function(){var e=this.showPreviewBeforeComplete;return"showAllQuestions"==e||"showAnsweredQuestions"==e},enumerable:!1,configurable:!0}),SurveyModel.prototype.onFirstPageIsStartedChanged=function(){this.isStartedState=this.firstPageIsStarted&&this.pages.length>1,this.pageVisibilityChanged(this.pages[0],!this.isStartedState)},SurveyModel.prototype.onShowingPreviewChanged=function(){this.updatePagesContainer()},SurveyModel.prototype.createRootPage=function(e,t){var o=ov.createClass("page");return o.name=e,o.isPageContainer=!0,t.forEach(function(e){e.isStartPage||o.addElement(e)}),o},SurveyModel.prototype.disposeContainerPage=function(){var e=this.pageContainerValue;[].concat(e.elements).forEach(function(t){return e.removeElement(t)}),e.dispose(),this.pageContainerValue=void 0},SurveyModel.prototype.updatePagesContainer=function(){if(!this.isDesignMode){this.getAllQuestions().forEach(function(e){return e.updateElementVisibility()}),this.setPropertyValue("currentPage",void 0);var e="preview-page",t=void 0;if(this.isSinglePage){var o=this.pageContainerValue;o&&o.name===e?(t=o.elements[0],this.disposeContainerPage()):t=this.createRootPage("single-page",this.pages)}if(this.isShowingPreview&&(t=this.createRootPage(e,t?[t]:this.pages)),t&&(t.setSurveyImpl(this),this.pageContainerValue=t,this.currentPage=t,this.currentSingleElementValue&&this.visiblePages.forEach(function(e){return e.updateRows()})),!this.isSinglePage&&!this.isShowingPreview){this.disposeContainerPage();var n=this.gotoPageFromPreview;this.gotoPageFromPreview=null,oe.isValueEmpty(n)&&this.visiblePageCount>0&&(n=this.visiblePages[this.visiblePageCount-1]),n&&(this.changeCurrentPageFromPreview=!0,this.currentPage=n,this.changeCurrentPageFromPreview=!1)}!this.currentPage&&this.visiblePageCount>0&&(this.currentPage=this.visiblePages[0]),this.isShowingPreview&&this.pages.forEach(function(e){e.onFirstRendering()}),this.pages.forEach(function(e){e.wasRendered&&e.updateElementCss(!0)}),this.updateButtonsVisibility()}},SurveyModel.prototype.getSingleElements=function(e){for(var t=[],o=this.pages,n=0;n<o.length;n++)!function(){var r=o[n];if(!r.isStartPage&&r.isVisible){var i=[];r.elements.forEach(function(e){return i.push(e)}),i.forEach(function(o){(o===e||o.isVisible)&&t.push(o)})}}();return t},Object.defineProperty(SurveyModel.prototype,"currentSingleElement",{get:function(){return this.isShowingPreview?void 0:this.currentSingleElementValue},set:function(e){var t=this.currentSingleElement;if(e!==t&&!this.isCompleted){var o=(null==e?void 0:e.isQuestion)?e:void 0,n=(null==t?void 0:t.isQuestion)?t:void 0,r=null==e?void 0:e.page,i=r&&t?this.createPageChangeEventOptions(r,t.page,o,n):void 0;if(i&&!this.currentPageChangingFromOptions(i))return;this.currentSingleElementValue=e,e?(r.updateRows(),r!==this.currentPage?this.currentPage=r:o&&this.focusFirstQuestionAutomatic&&o.focus(),this.updateButtonsVisibility(),i&&this.onCurrentPageChanged.fire(this,i)):this.visiblePages.forEac
vendor: 10,241 bytes, line 5
5h(function(e){return e.updateRows()})}},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"currentSingleQuestion",{get:function(){var e=this.currentSingleElement;return e&&e.isQuestion?e:void 0},set:function(e){this.currentSingleElement=e},enumerable:!1,configurable:!0}),SurveyModel.prototype.changeCurrentSingleElementOnVisibilityChanged=function(){var e=this.currentSingleElement;if(e&&!e.isVisible){var t=this.getSingleElements(e),o=t.indexOf(e),n=o>0?t[o-1]:o<t.length-1?t[o+1]:void 0;this.currentSingleElement=n}},SurveyModel.prototype.onQuestionsOnPageModeChanged=function(e){if(!this.isShowingPreview&&!this.isDesignMode&&(this.skippedPages=[],this.currentSingleElement=void 0,"singlePage"===e&&this.updatePagesContainer(),this.isSinglePage&&this.updatePagesContainer(),this.isSingleVisibleQuestion)){var t=this.getSingleElements();t.length>0&&(this.currentSingleElement=t[0])}},SurveyModel.prototype.getPageStartIndex=function(){return this.firstPageIsStarted&&this.pages.length>0?1:0},Object.defineProperty(SurveyModel.prototype,"isFirstPage",{get:function(){return this.getPropertyValue("isFirstPage")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isLastPage",{get:function(){return this.getPropertyValue("isLastPage")},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateButtonsVisibility=function(){this.updateIsFirstLastPageState(),this.setPropertyValue("isShowPrevButton",this.calcIsShowPrevButton()),this.setPropertyValue("isShowNextButton",this.calcIsShowNextButton()),this.setPropertyValue("isCompleteButtonVisible",this.calcIsCompleteButtonVisible()),this.setPropertyValue("isPreviewButtonVisible",this.calcIsPreviewButtonVisible()),this.setPropertyValue("isCancelPreviewButtonVisible",this.calcIsCancelPreviewButtonVisible())},Object.defineProperty(SurveyModel.prototype,"isShowPrevButton",{get:function(){return this.getPropertyValue("isShowPrevButton")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isShowNextButton",{get:function(){return this.getPropertyValue("isShowNextButton")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isCompleteButtonVisible",{get:function(){return this.getPropertyValue("isCompleteButtonVisible")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isPreviewButtonVisible",{get:function(){return this.getPropertyValue("isPreviewButtonVisible")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isCancelPreviewButtonVisible",{get:function(){return this.getPropertyValue("isCancelPreviewButtonVisible")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isFirstElement",{get:function(){return this.getPropertyValue("isFirstElement")},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isLastElement",{get:function(){return this.getPropertyValue("isLastElement")},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateIsFirstLastPageState=function(){var e=this.currentPage,t=void 0,o=void 0,n=this.currentSingleElement;if(n){var r=this.getSingleElements(),i=r.indexOf(n);i>=0&&(t=0===i,o=i===r.length-1)}this.setPropertyValue("isFirstPage",!!e&&e===this.firstVisiblePage&&(!n||!0===t)),this.setPropertyValue("isLastPage",!!e&&e===this.lastVisiblePage&&(!n||!0===o)),this.setPropertyValue("isFirstElement",t),this.setPropertyValue("isLastElement",o)},Object.defineProperty(SurveyModel.prototype,"isLastPageOrElement",{get:function(){return void 0!==this.isLastElement?this.isLastElement:this.isLastPage},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isFirstPageOrElement",{get:function(){return void 0!==this.isFirstElement?this.isFirstElement:this.isFirstPage},enumerable:!1,configurable:!0}),SurveyModel.prototype.calcIsShowPrevButton=function(){if(this.isFirstPageOrElement||!this.showPrevButton||"running"!==this.state)return!1;if(void 0!==this.isFirstElement)return!0;var e=this.visiblePages[this.currentPageNo-1];return e&&0>=e.getMaxTimeToFinish()},SurveyModel.prototype.calcIsShowNextButton=function(){return"running"===this.state&&!this.isLastPageOrElement&&!this.canBeCompletedByTrigger},SurveyModel.prototype.calcIsCompleteButtonVisible=function(){var e=this.state;return this.isEditMode&&("running"===this.state&&(this.isLastPageOrElement&&!this.isShowPreviewBeforeComplete||this.canBeCompletedByTrigger)||"preview"===e)&&this.showCompleteButton},SurveyModel.prototype.calcIsPreviewButtonVisible=function(){return this.isEditMode&&this.isShowPreviewBeforeComplete&&"running"==this.state&&this.isLastPageOrElement},SurveyModel.prototype.calcIsCancelPreviewButtonVisible=function(){return this.isEditMode&&this.isShowPreviewBeforeComplete&&"preview"==this.state},Object.defineProperty(SurveyModel.prototype,"firstVisiblePage",{get:function(){if(1===this.visiblePageCount)return this.visiblePages[0];for(var e=this.pages,t=0;t<e.length;t++)if(this.isPageInVisibleList(e[t]))return e[t];return null},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"lastVisiblePage",{get:function(){if(1===this.visiblePageCount)return this.visiblePages[0];for(var e=this.pages,t=e.length-1;t>=0;t--)if(this.isPageInVisibleList(e[t]))return e[t];return null},enumerable:!1,configurable:!0}),SurveyModel.prototype.doComplete=function(e,t){if(void 0===e&&(e=!1),!this.isCompleted)return this.checkOnCompletingEvent(e,t)?(this.checkOnPageTriggers(!0),this.stopTimer(),this.notifyQuestionsOnHidingContent(this.currentPage),this.isCompleted=!0,this.clearUnusedValues(),this.saveDataOnComplete(e,t),this.setCookie(),!0):(this.isCompleted=!1,!1)},SurveyModel.prototype.saveDataOnComplete=function(e,t){var o=this;void 0===e&&(e=!1);var n=this.hasCookie,showSaveInProgress=function(e){r=!0,o.setCompletedState("saving",e)},showSaveError=function(e){o.setCompletedState("error",e)},showSaveSuccess=function(e){o.setCompletedState("success",e),o.navigateTo()},clearSaveMessages=function(e){o.setCompletedState("","")},r=!1,i={isCompleteOnTrigger:e,completeTrigger:t,showSaveInProgress:showSaveInProgress,showSaveError:showSaveError,showSaveSuccess:showSaveSuccess,clearSaveMessages:clearSaveMessages,showDataSaving:showSaveInProgress,showDataSavingError:showSaveError,showDataSavingSuccess:showSaveSuccess,showDataSavingClear:clearSaveMessages};this.onComplete.fire(this,i),!n&&this.surveyPostId&&this.sendResult(),r||this.navigateTo()},SurveyModel.prototype.checkOnCompletingEvent=function(e,t){var o={allowComplete:!0,allow:!0,isCompleteOnTrigger:e,completeTrigger:t};return this.onCompleting.fire(this,o),o.allowComplete&&o.allow},SurveyModel.prototype.start=function(){return!!this.firstPageIsStarted&&(this.isCurrentPageRendering=!0,!this.checkIsPageHasErrors(this.startedPage,!0)&&(this.isStartedState=!1,this.notifyQuestionsOnHidingContent(this.pages[0]),this.startTimerFromUI(),this.onStarted.fire(this,{}),this.updateVisibleIndexes(),this.currentPageNo=0,this.currentPage&&this.currentPage.locStrsChanged(),!0))},Object.defineProperty(SurveyModel.prototype,"isValidatingOnServer",{get:function(){return this.getPropertyValue("isValidatingOnServer",!1)},enumerable:!1,configurable:!0}),SurveyModel.prototype.setIsValidatingOnServer=function(e){e!=this.isValidatingOnServer&&(this.setPropertyValue("isValidatingOnServer",e),this.onIsValidatingOnServerChanged())},SurveyModel.prototype.createServerValidationOptions=function(e,t,o){var n=this,r={data:{},errors:{},survey:this,complete:function(){n.completeServerValidation(r,t,o)}};if(e&&this.isValidateOnComplete)r.data=this.data;else for(var i=this.activePage.questions,s=0;s<i.length;s++){var a=i[s];if(a.visible){var l=this.getValue(a.getValueName());this.isValueEmpty(l)||(r.data[a.getValueName()]=l)}}return r},SurveyModel.prototype.onIsValidatingOnServerChanged=function(){},SurveyModel.prototype.doServerValidation=function(e,t,o){var n=this;if(void 0===t&&(t=!1),!this.onServerValidateQuestions||this.onServerValidateQuestions.isEmpty||!e&&this.isValidateOnComplete)return!1;this.setIsValidatingOnServer(!0);var r="function"==typeof this.onServerValidateQuestions;return this.serverValidationEventCount=r?1:this.onServerValidateQuestions.length,r?this.onServerValidateQuestions(this,this.createServerValidationOptions(e,t,o)):this.onServerValidateQuestions.fireByCreatingOptions(this,function(){return n.createServerValidationOptions(e,t,o)}),!0},SurveyModel.prototype.completeServerValidation=function(e,t,o){if((!(this.serverValidationEventCount>1)||(this.serverValidationEventCount--,!e||!e.errors||0!==Object.keys(e.errors).length))&&(this.serverValidationEventCount=0,this.setIsValidatingOnServer(!1),e||e.survey)){var n=e.survey,r=!1;if(e.errors){var i=this.focusOnFirstError;for(var s in e.errors){var a=n.getQuestionByName(s);a&&a.errors&&(r=!0,a.addError(new nL(e.errors[s],this)),i&&(i=!1,a.page&&(this.currentPage=a.page),a.focus(!0)))}this.fireValidatedErrorsOnPage(this.currentPage)}r||(t?this.showPreviewCore():o?this.currentPage=o:n.isLastPage?n.doComplete():n.doNextPage())}},SurveyModel.prototype.doNextPage=function(){var e=this.currentPage;if(this.checkOnPageTriggers(!1),this.isCompleted)this.doComplete(!0);else if(this.sendResultOnPageNext&&this.sendResult(this.surveyPostId,this.clientId,!0),e===this.currentPage){var t=this.visiblePages,o=t.indexOf(this.currentPage);this.currentPage=t[o+1]}},SurveyModel.prototype.setCompleted=function(e){this.doComplete(!0,e)},SurveyModel.prototype.canBeCompleted=function(e,t){if(nC.triggers.changeNavigationButtonsOnComplete){var o,n=this.canBeCompletedByTrigger;this.completedByTriggers||(this.completedByTriggers={}),t?this.completedByTriggers[e.id]={trigger:e,pageId:null===(o=this.currentPage)||void 0===o?void 0:o.id}:delete this.completedByTriggers[e.id],n!==this.canBeCompletedByTrigger&&this.updateButtonsVisibility()}},Object.defineProperty(SurveyModel.prototype,"canBeCompletedByTrigger",{get:function(){if(!this.completedByTriggers)return!1;var e,t=Object.keys(this.completedByTriggers);if(0===t.length)return!1;var o=null===(e=this.currentPage)||void 0===e?void 0:e.id;if(!o)return!0;for(var n=0;n<t.length;n++)if(o===this.completedByTriggers[t[n]].pageId)return!0;return!1}
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"completedTrigger",{get:function(){if(this.canBeCompletedByTrigger){var e=Object.keys(this.completedByTriggers)[0];return this.completedByTriggers[e].trigger}},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"processedCompletedHtml",{get:function(){var e=this.renderedCompletedHtml;return e?this.processHtml(e,"completed"):""},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"processedCompletedBeforeHtml",{get:function(){return this.locCompletedBeforeHtml.textOrHtml},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"processedLoadingHtml",{get:function(){return this.locLoadingHtml.textOrHtml},enumerable:!1,configurable:!0}),SurveyModel.prototype.getProgressInfo=function(){var e=this.isDesignMode?this.pages:this.visiblePages;return nm.getProgressInfoByElements(e,!1)},Object.defineProperty(SurveyModel.prototype,"progressText",{get:function(){var e=this.getPropertyValue("progressText","");return e||(this.updateProgressText(),e=this.getPropertyValue("progressText","")),e},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateProgressText=function(e){void 0===e&&(e=!1),!this.isCalculatingProgressText&&!this.isShowingPreview&&(e&&"pages"==this.progressBarType&&this.onGetProgressText.isEmpty||(this.isCalculatingProgressText=!0,this.setPropertyValue("progressText",this.getProgressText()),this.setPropertyValue("progressValue",this.getProgress()),this.isCalculatingProgressText=!1))},SurveyModel.prototype.getProgressText=function(){if(!this.isDesignMode&&null==this.currentPage)return"";var e={questionCount:0,answeredQuestionCount:0,requiredQuestionCount:0,requiredAnsweredQuestionCount:0,text:""},t=this.progressBarType.toLowerCase();if("questions"===t||"requiredquestions"===t||"correctquestions"===t||!this.onGetProgressText.isEmpty){var o=this.getProgressInfo();e.questionCount=o.questionCount,e.answeredQuestionCount=o.answeredQuestionCount,e.requiredQuestionCount=o.requiredQuestionCount,e.requiredAnsweredQuestionCount=o.requiredAnsweredQuestionCount}return e.text=this.getProgressTextCore(e),this.onGetProgressText.fire(this,e),e.text},SurveyModel.prototype.getProgressTextCore=function(e){var t=this.progressBarType.toLowerCase();if("questions"===t)return this.getLocalizationFormatString("questionsProgressText",e.answeredQuestionCount,e.questionCount);if("requiredquestions"===t)return this.getLocalizationFormatString("questionsProgressText",e.requiredAnsweredQuestionCount,e.requiredQuestionCount);if("correctquestions"===t){var o=this.getCorrectedAnswerCount();return this.getLocalizationFormatString("questionsProgressText",o,e.questionCount)}var n=this.isDesignMode?this.pages:this.visiblePages,r=n.indexOf(this.currentPage)+1;return this.getLocalizationFormatString("progressText",r,n.length)},SurveyModel.prototype.getRootCss=function(){return new oY().append(this.css.root).append(this.css.rootProgress+"--"+this.progressBarType).append(this.css.rootMobile,this.isMobile).append(this.css.rootAnimationDisabled,!nC.animationEnabled).append(this.css.rootReadOnly,"display"===this.mode&&!this.isDesignMode).append(this.css.rootCompact,this.isCompact).append(this.css.rootFitToContainer,this.fitToContainer).toString()},SurveyModel.prototype.afterRenderSurvey=function(e){var t=this;this.destroyResizeObserver(),Array.isArray(e)&&(e=nm.GetFirstNonTextElement(e));var o=e,n=this.css.variables;if(n){var r=Number.parseFloat(t8.getComputedStyle(o).getPropertyValue(n.mobileWidth));if(r){var i=!1;this.resizeObserver=new ResizeObserver(function(e){t6.requestAnimationFrame(function(){i=!i&&!!isContainerVisible(o)&&t.processResponsiveness(o.offsetWidth,r,o.offsetHeight)})}),this.resizeObserver.observe(o)}}this.onAfterRenderSurvey.fire(this,{survey:this,htmlElement:e}),this.rootElement=e,this.addScrollEventListener()},SurveyModel.prototype.beforeDestroySurveyElement=function(){this.destroyResizeObserver(),this.removeScrollEventListener(),this.rootElement=void 0},SurveyModel.prototype.processResponsiveness=function(e,t,o){var n=e<t,r=this.isMobile!==n;
5return this.setIsMobile(n),this.layoutElements.forEach(function(t){return t.processResponsiveness&&t.processResponsiveness(e)}),this.onResize.fire(this,{height:o,width:e}),r},SurveyModel.prototype.triggerResponsiveness=function(e){this.getAllQuestions().forEach(function(t){t.triggerResponsiveness(e)})},SurveyModel.prototype.destroyResizeObserver=function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0)},SurveyModel.prototype.updateQuestionCssClasses=function(e,t){this.onUpdateQuestionCssClasses.fire(this,{question:e,cssClasses:t})},SurveyModel.prototype.updatePanelCssClasses=function(e,t){this.onUpdatePanelCssClasses.fire(this,{panel:e,cssClasses:t})},SurveyModel.prototype.updatePageCssClasses=function(e,t){this.onUpdatePageCssClasses.fire(this,{page:e,cssClasses:t})},SurveyModel.prototype.updateChoiceItemCss=function(e,t){t.question=e,this.onUpdateChoiceItemCss.fire(this,t)},SurveyModel.prototype.afterRenderPage=function(e){var t=this;if(!this.isDesignMode&&!this.focusingQuestionInfo){var o=!1===this.isCurrentPageRendered;setTimeout(function(){return t.scrollToTopOnPageChange(o)},1)}this.focusQuestionInfo(),this.isCurrentPageRendered=!0,this.onAfterRenderPage.isEmpty||this.onAfterRenderPage.fire(this,{page:this.activePage,htmlElement:e})},SurveyModel.prototype.afterRenderHeader=function(e){this.onAfterRenderHeader.isEmpty||this.onAfterRenderHeader.fire(this,{htmlElement:e})},SurveyModel.prototype.afterRenderQuestion=function(e,t){this.onAfterRenderQuestion.fire(this,{question:e,htmlElement:t})},SurveyModel.prototype.afterRenderQuestionInput=function(e,t){if(!this.onAfterRenderQuestionInput.isEmpty){var o=e.inputId,n=nC.environment.root;if(o&&(!t||t.id!==o)&&void 0!==n){var r=n.getElementById(o);r&&(t=r)}this.onAfterRenderQuestionInput.fire(this,{question:e,htmlElement:t})}},SurveyModel.prototype.afterRenderPanel=function(e,t){this.onAfterRenderPanel.fire(this,{panel:e,htmlElement:t})},SurveyModel.prototype.whenQuestionFocusIn=function(e){this.onFocusInQuestion.fire(this,{question:e})},SurveyModel.prototype.whenPanelFocusIn=function(e){this.onFocusInPanel.fire(this,{panel:e})},SurveyModel.prototype.rebuildQuestionChoices=function(){this.getAllQuestions().forEach(function(e){return e.surveyChoiceItemVisibilityChange()})},SurveyModel.prototype.canChangeChoiceItemsVisibility=function(){return!this.onShowingChoiceItem.isEmpty},SurveyModel.prototype.getChoiceItemVisibility=function(e,t,o){var n={question:e,item:t,visible:o};return this.onShowingChoiceItem.fire(this,n),n.visible},SurveyModel.prototype.loadQuestionChoices=function(e){this.onChoicesLazyLoad.fire(this,e)},SurveyModel.prototype.getChoiceDisplayValue=function(e){this.onGetChoiceDisplayValue.isEmpty?e.setItems(null):this.onGetChoiceDisplayValue.fire(this,e)},SurveyModel.prototype.matrixBeforeRowAdded=function(e){this.onMatrixRowAdding.fire(this,e)},SurveyModel.prototype.matrixRowAdded=function(e,t){this.onMatrixRowAdded.fire(this,{question:e,row:t})},SurveyModel.prototype.matrixColumnAdded=function(e,t){this.onMatrixColumnAdded.fire(this,{question:e,column:t})},SurveyModel.prototype.multipleTextItemAdded=function(e,t){this.onMultipleTextItemAdded.fire(this,{question:e,item:t})},SurveyModel.prototype.getQuestionByValueNameFromArray=function(e,t,o){var n=this.getQuestionsByValueName(e);if(n){for(var r=0;r<n.length;r++){var i=n[r].getQuestionFromArray(t,o);if(i)return i}return null}},SurveyModel.prototype.matrixRowRemoved=function(e,t,o){this.onMatrixRowRemoved.fire(this,{question:e,rowIndex:t,row:o})},SurveyModel.prototype.matrixRowRemoving=function(e,t,o){var n={question:e,rowIndex:t,row:o,allow:!0};return this.onMatrixRowRemoving.fire(this,n),n.allow},SurveyModel.prototype.matrixAllowRemoveRow=function(e,t,o){var n={question:e,rowIndex:t,row:o,allow:!0};return this.onMatrixRenderRemoveButton.fire(this,n),n.allow},SurveyModel.prototype.matrixDetailPanelVisibleChanged=function(e,t,o,n){var r={question:e,rowIndex:t,row:o,visible:n,detailPanel:o.detailPanel};this.onMatrixDetailPanelVisibleChanged.fire(this,r)},SurveyModel.prototype.matrixCellCreating=function(e,t){t.question=e,this.onMatrixCellCreating.fire(this,t)},SurveyModel.prototype.matrixCellCreated=function(e,t){t.question=e,this.onMatrixCellCreated.fire(this,t)},SurveyModel.prototype.matrixAfterCellRender=function(e,t){t.question=e,this.onAfterRenderMatrixCell.fire(this,t)},SurveyModel.prototype.matrixCellValueChanged=function(e,t){t.question=e,this.onMatrixCellValueChanged.fire(this,t)},SurveyModel.prototype.matrixCellValueChanging=function(e,t){t.question=e,this.onMatrixCellValueChanging.fire(this,t)},Object.defineProperty(SurveyModel.prototype,"isValidateOnValueChanging",{get:function(){return"onValueChanging"===this.checkErrorsMode}
vendor: 7,956 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isValidateOnValueChanged",{get:function(){return"onValueChanged"===this.checkErrorsMode},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isValidateOnValueChange",{get:function(){return this.isValidateOnValueChanged||this.isValidateOnValueChanging},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isValidateOnComplete",{get:function(){return"onComplete"===this.checkErrorsMode||this.validationAllowSwitchPages&&!this.validationAllowComplete},enumerable:!1,configurable:!0}),SurveyModel.prototype.matrixCellValidate=function(e,t){return t.question=e,this.onMatrixCellValidate.fire(this,t),t.error?new nL(t.error,this):null},SurveyModel.prototype.dynamicPanelAdded=function(e,t,o,n){!this.isLoadingFromJson&&n&&this.updateVisibleIndexes(e.page),this.onDynamicPanelAdded.fire(this,{question:e,panel:o,panelIndex:t})},SurveyModel.prototype.dynamicPanelRemoved=function(e,t,o,n){for(var r=o?o.questions:[],i=0;i<r.length;i++)r[i].clearOnDeletingContainer();n&&this.updateVisibleIndexes(e.page),this.onDynamicPanelRemoved.fire(this,{question:e,panelIndex:t,panel:o})},SurveyModel.prototype.dynamicPanelRemoving=function(e,t,o){var n={question:e,panelIndex:t,panel:o,allow:!0};return this.onDynamicPanelRemoving.fire(this,n),n.allow},SurveyModel.prototype.dynamicPanelItemValueChanged=function(e,t){t.question=e,this.onDynamicPanelValueChanged.fire(this,t)},SurveyModel.prototype.dynamicPanelItemValueChanging=function(e,t){t.question=e,this.onDynamicPanelValueChanging.fire(this,t)},SurveyModel.prototype.dynamicPanelGetTabTitle=function(e,t){t.question=e,this.onGetDynamicPanelTabTitle.fire(this,t)},SurveyModel.prototype.dynamicPanelCurrentIndexChanged=function(e,t){t.question=e,this.onDynamicPanelCurrentIndexChanged.fire(this,t)},SurveyModel.prototype.dragAndDropAllow=function(e){return this.onDragDropAllow.fire(this,e),e.allow},SurveyModel.prototype.elementContentVisibilityChanged=function(e){this.currentPage&&this.currentPage.ensureRowsVisibility(),this.onElementContentVisibilityChanged.fire(this,{element:e})},SurveyModel.prototype.getUpdatedPanelFooterActions=function(e,t,o){var n={question:o,panel:e,actions:t};return this.onGetPanelFooterActions.fire(this,n),n.actions},SurveyModel.prototype.getUpdatedElementTitleActions=function(e,t){return e.isPage?this.getUpdatedPageTitleActions(e,t):e.isPanel?this.getUpdatedPanelTitleActions(e,t):this.getUpdatedQuestionTitleActions(e,t)},SurveyModel.prototype.getTitleActionsResult=function(e,t){return e!=t.actions?t.actions:e!=t.titleActions?t.titleActions:e},SurveyModel.prototype.getUpdatedQuestionTitleActions=function(e,t){var o={question:e,actions:t,titleActions:t};return this.onGetQuestionTitleActions.fire(this,o),this.getTitleActionsResult(t,o)},SurveyModel.prototype.getUpdatedPanelTitleActions=function(e,t){var o={panel:e,actions:t,titleActions:t};return this.onGetPanelTitleActions.fire(this,o),this.getTitleActionsResult(t,o)},SurveyModel.prototype.getUpdatedPageTitleActions=function(e,t){var o={page:e,actions:t,titleActions:t};return this.onGetPageTitleActions.fire(this,o),this.getTitleActionsResult(t,o)},SurveyModel.prototype.getUpdatedMatrixRowActions=function(e,t,o){var n={question:e,actions:o,row:t};return this.onGetMatrixRowActions.fire(this,n),n.actions},SurveyModel.prototype.scrollElementToTop=function(e,t,o,n,r,i,s,a){var l=this,u={element:e,question:t,page:o,elementId:n,cancel:!1,allow:!0};if(this.onScrollToTop.fire(this,u),!u.cancel&&u.allow){var c=this.getPageByElement(e);if(this.isLazyRendering&&c){var p=1,d=nC.environment.rootElement,h=this.rootElement||s||d;this.skeletonHeight&&h&&"function"==typeof h.getBoundingClientRect&&(p=h.getBoundingClientRect().height/this.skeletonHeight-1),c.forceRenderElement(e,function(){l.suspendLazyRendering(),nm.ScrollElementToTop(u.elementId,r,i,function(){l.releaseLazyRendering(),activateLazyRenderingChecks(c.id),a&&a()})},p)}else if(e.isPage&&!this.isSinglePage&&!this.isDesignMode&&this.rootElement){var m=this.rootElement.querySelector(classesToSelector(this.css.rootWrapper));nm.ScrollElementToViewCore(m,!1,r,i,a)}else nm.ScrollElementToTop(u.elementId,r,i,a)}},SurveyModel.prototype.chooseFiles=function(e,t,o){this.onOpenFileChooser.isEmpty?chooseFiles(e,t):this.onOpenFileChooser.fire(this,{input:e,element:o&&o.element||this.survey,elementType:o&&o.elementType,item:o&&o.item,propertyName:o&&o.propertyName,callback:t,context:o})},SurveyModel.prototype.uploadFiles=function(e,t,o,n){var r=this;this.onUploadFiles.isEmpty?n("error",this.getLocString("noUploadFilesHandler")):this.taskManager.runTask("file",function(i){r.onUploadFiles.fire(r,{question:e,name:t,files:o||[],callback:function(e,t){n(e,t),i()}})}),this.surveyPostId&&this.uploadFilesCore(t,o,n)},SurveyModel.prototype.downloadFile=function(e,t,o,n){this.onDownloadFile.isEmpty&&n&&n("skipped",o.content||o),this.onDownloadFile.fire(this,{question:e,name:t,content:o.content||o,fileValue:o,callback:n})},SurveyModel.prototype.clearFiles=function(e,t,o,n,r){this.onClearFiles.isEmpty&&r&&r("success",o),this.onClearFiles.fire(this,{question:e,name:t,value:o,fileName:n,callback:r})},SurveyModel.prototype.updateChoicesFromServer=function(e,t,o){var n={question:e,choices:t,serverResult:o};return this.onLoadChoicesFromServer.fire(this,n),n.choices},SurveyModel.prototype.loadedChoicesFromServer=function(e){this.locStrsChanged()},SurveyModel.prototype.createSurveyService=function(){return new rX},SurveyModel.prototype.uploadFilesCore=function(e,t,o){var n=this,r=[];t.forEach(function(e){o&&o("uploading",e),n.createSurveyService().sendFile(n.surveyPostId,e,function(n,i){n?(r.push({content:i,file:e}),r.length===t.length&&o&&o("success",r)):o&&o("error",{response:i,file:e})})})},SurveyModel.prototype.getPage=function(e){return this.pages[e]},SurveyModel.prototype.addPage=function(e,t){void 0===t&&(t=-1),null!=e&&(t<0||t>=this.pages.length?this.pages.push(e):this.pages.splice(t,0,e))},SurveyModel.prototype.addNewPage=function(e,t){void 0===e&&(e=null),void 0===t&&(t=-1);var o=this.createNewPage(e);return this.addPage(o,t),o},SurveyModel.prototype.removePage=function(e){var t=this.pages.indexOf(e);t<0||(this.pages.splice(t,1),this.currentPage!=e||(this.currentPage=this.pages.length>0?this.pages[0]:null))},SurveyModel.prototype.getQuestionByName=function(e,t){if(void 0===t&&(t=!1),!e)return null;t&&(e=e.toLowerCase());var o=(t?this.questionHashes.namesInsensitive:this.questionHashes.names)[e];return o?o[0]:null},SurveyModel.prototype.findQuestionByName=function(e){return this.getQuestionByName(e)},SurveyModel.prototype.getEditingSurveyElement=function(){return this.editingObjValue},SurveyModel.prototype.getQuestionByValueName=function(e,t){void 0===t&&(t=!1);var o=this.getQuestionsByValueName(e,t);return o?o[0]:null},SurveyModel.prototype.getQuestionsByValueName=function(e,t){return void 0===t&&(t=!1),(t?this.questionHashes.valueNamesInsensitive:this.questionHashes.valueNames)[e]||null},SurveyModel.prototype.getCalculatedValueByName=function(e){for(var t=0;t<this.calculatedValues.length;t++)if(e==this.calculatedValues[t].name)return this.calculatedValues[t];return null},SurveyModel.prototype.getQuestionsByNames=function(e,t){void 0===t&&(t=!1);var o=[];if(!e)return o;for(var n=0;n<e.length;n++)if(e[n]){var r=this.getQuestionByName(e[n],t);r&&o.push(r)}return o},SurveyModel.prototype.getPageByElement=function(e){for(var t=0;t<this.pages.length;t++){var o=this.pages[t];if(o.containsElement(e))return o}return null},SurveyModel.prototype.getPageByQuestion=function(e){return this.getPageByElement(e)},SurveyModel.prototype.getPageByName=function(e){for(var t=0;t<this.pages.length;t++)if(this.pages[t].name==e)return this.pages[t];return null},SurveyModel.prototype.getPagesByNames=function(e){var t=[];if(!e)return t;for(var o=0;o<e.length;o++)if(e[o]){var n=this.getPageByName(e[o]);
5n&&t.push(n)}return t},SurveyModel.prototype.getAllQuestions=function(e,t,o){void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===o&&(o=!1),o&&(t=!1,(e?this.visiblePages:this.pages).forEach(function(e){return e.onFirstRendering()}));for(var n=[],r=0;r<this.pages.length;r++)this.pages[r].addQuestionsToList(n,e,t);return o?this.getNestedQuestionsByQuestionArray(n,e):n},SurveyModel.prototype.getNestedQuestionsByQuestionArray=function(e,t){var o=[];return e.forEach(function(e){e.getNestedQuestions(t,!0).forEach(function(e){return o.push(e)})}),o},SurveyModel.prototype.getQuizQuestions=function(){for(var e=[],t=this.getPageStartIndex(),o=t;o<this.pages.length;o++)if(this.pages[o].isVisible)for(var n=this.pages[o].questions,r=0;r<n.length;r++){var i=n[r];i.quizQuestionCount>0&&e.push(i)}return e},SurveyModel.prototype.getPanelByName=function(e,t){void 0===t&&(t=!1);var o=this.getAllPanels();t&&(e=e.toLowerCase());for(var n=0;n<o.length;n++){var r=o[n].name;if(t&&(r=r.toLowerCase()),r==e)return o[n]}return null},SurveyModel.prototype.getAllPanels=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);for(var o=[],n=0;n<this.pages.length;n++)this.pages[n].addPanelsIntoList(o,e,t);return o},SurveyModel.prototype.createNewPage=function(e){var t=ov.createClass("page");return t.name=e,t},SurveyModel.prototype.getValueChangeReason=function(){return this.isSettingValueOnExpression?"expression":this.isSettingValueFromTrigger?"trigger":void 0},SurveyModel.prototype.questionOnValueChanging=function(e,t,o){if(this.editingObj){var n=ov.findProperty(this.editingObj.getType(),e);n&&(t=n.settingValue(this.editingObj,t))}if(this.onValueChanging.isEmpty)return t;var r={name:e,question:this.getQuestionByValueName(o||e),value:this.getUnbindValue(t),oldValue:this.getValue(e),reason:this.getValueChangeReason()};return this.onValueChanging.fire(this,r),r.value},SurveyModel.prototype.getLocNotification=function(e,t,o){return e||oe.isTwoValueEquals(t,o,!1,!0,!1)},SurveyModel.prototype.updateQuestionValue=function(e,t){if(!this.isLoadingFromJson){var o=this.getQuestionsByValueName(e);if(o)for(var n=0;n<o.length;n++){var r=o[n].value;(r===t&&Array.isArray(r)&&this.editingObj||!this.isTwoValueEquals(r,t))&&o[n].updateValueFromSurvey(t,!1)}}},SurveyModel.prototype.checkQuestionErrorOnValueChanged=function(e){!this.isNavigationButtonPressed&&(this.isValidateOnValueChanged||e.getAllErrors().length>0)&&this.checkQuestionErrorOnValueChangedCore(e)},SurveyModel.prototype.checkQuestionErrorOnValueChangedCore=function(e){var t=e.getAllErrors().length,o=!e.validate(!0,{isOnValueChanged:!this.isValidateOnValueChanging});return e.page&&this.isValidateOnValueChange&&(t>0||e.getAllErrors().length>0)&&this.fireValidatedErrorsOnPage(e.page),o},SurveyModel.prototype.checkErrorsOnValueChanging=function(e,t){if(this.isLoadingFromJson)return!1;var o=this.getQuestionsByValueName(e);if(!o)return!1;for(var n=!1,r=0;r<o.length;r++){var i=o[r];this.isTwoValueEquals(i.valueForSurvey,t)||(i.value=t),this.checkQuestionErrorOnValueChangedCore(i)&&(n=!0),n=n||i.errors.length>0}return n},SurveyModel.prototype.fireOnValueChanged=function(e,t,o){this.onValueChanged.fire(this,{name:e,question:o,value:t,reason:this.getValueChangeReason()})},SurveyModel.prototype.notifyQuestionOnValueChanged=function(e,t,o){if(!this.isLoadingFromJson){var n=this.getQuestionsByValueName(e);if(n)for(var r=0;r<n.length;r++){var i=n[r];this.checkQuestionErrorOnValueChanged(i),i.onSurveyValueChanged(t)}this.updateProgressText(!0),this.fireOnValueChanged(e,t,o?this.getQuestionByName(o):void 0),this.isDisposed||(this.checkElementsBindings(e,t),this.notifyElementsOnAnyValueOrVariableChanged(e,o))}},SurveyModel.prototype.checkElementsBindings=function(e,t){this.isRunningElementsBindings=!0;for(var o=0;o<this.pages.length;o++)this.pages[o].checkBindings(e,t);this.isRunningElementsBindings=!1,this.updateVisibleIndexAfterBindings&&(this.updateVisibleIndexes(),this.updateVisibleIndexAfterBindings=!1)},SurveyModel.prototype.notifyElementsOnAnyValueOrVariableChanged=function(e,t){if("processing"!==this.isEndLoadingFromJson){if(this.isRunningConditions){this.conditionNotifyElementsOnAnyValueOrVariableChanged=!0;return}for(var o=0;o<this.pages.length;o++)this.pages[o].onAnyValueChanged(e,t);this.isEndLoadingFromJson||this.locStrsChanged()}},SurveyModel.prototype.updateAllQuestionsValue=function(e){for(var t=this.getAllQuestions(),o=0;o<t.length;o++){var n=t[o],r=n.getValueName();
vendor: 4,133 bytes, line 5
5n.updateValueFromSurvey(this.getValue(r),e),n.requireUpdateCommentValue&&n.updateCommentFromSurvey(this.getComment(r))}},SurveyModel.prototype.notifyAllQuestionsOnValueChanged=function(){for(var e=this.getAllQuestions(),t=0;t<e.length;t++)e[t].onSurveyValueChanged(this.getValue(e[t].getValueName()))},SurveyModel.prototype.checkOnPageTriggers=function(e){for(var t=this.getCurrentPageQuestions(!0),o={},n=0;n<t.length;n++){var r=t[n].getValueName();o[r]=this.getValue(r)}this.addCalculatedValuesIntoFilteredValues(o),this.checkTriggers(o,!0,e)},SurveyModel.prototype.getCurrentPageQuestions=function(e){void 0===e&&(e=!1);var t=[],o=this.currentPage;if(!o)return t;for(var n=0;n<o.questions.length;n++){var r=o.questions[n];(e||r.visible)&&r.name&&t.push(r)}return t},SurveyModel.prototype.checkTriggers=function(e,t,o,n,r){if(void 0===o&&(o=!1),void 0===n&&(n=!1),!this.isCompleted&&0!=this.triggers.length&&!this.isDisplayMode){if(this.isTriggerIsRunning){for(var i in this.triggerValues=this.getFilteredValues(),e)this.triggerKeys[i]=e[i];return}var s=!1;if(!o&&r&&this.hasRequiredValidQuestionTrigger){var a=this.getQuestionByValueName(r);s=a&&!a.validate(!1)}this.isTriggerIsRunning=!0,this.triggerKeys=e,this.triggerValues=this.getFilteredValues();for(var l=this.getFilteredProperties(),u=this.canBeCompletedByTrigger,c=0;c<this.triggers.length;c++){var p=this.triggers[c];if(!s||!p.requireValidQuestion){var d={isOnNextPage:t,isOnComplete:o,isOnNavigation:n,keys:this.triggerKeys,values:this.triggerValues,properties:l};p.checkExpression(d)}}u!==this.canBeCompletedByTrigger&&this.updateButtonsVisibility(),this.isTriggerIsRunning=!1}},SurveyModel.prototype.checkTriggersAndRunConditions=function(e,t,o){var n={};n[e]={newValue:t,oldValue:o},this.runConditionOnValueChanged(e,t),this.checkTriggers(n,!1,!1,!1,e)},Object.defineProperty(SurveyModel.prototype,"hasRequiredValidQuestionTrigger",{get:function(){for(var e=0;e<this.triggers.length;e++)if(this.triggers[e].requireValidQuestion)return!0;return!1},enumerable:!1,configurable:!0}),SurveyModel.prototype.doElementsOnLoad=function(){for(var e=0;e<this.pages.length;e++)this.pages[e].onSurveyLoad()},Object.defineProperty(SurveyModel.prototype,"isRunningConditions",{get:function(){return!!this.conditionValues},enumerable:!1,configurable:!0}),SurveyModel.prototype.runExpressions=function(){this.runConditions()},SurveyModel.prototype.runConditions=function(){if(!this.isCompleted&&"processing"!==this.isEndLoadingFromJson&&!this.isRunningConditions){this.conditionValues=this.getFilteredValues();var e=this.getFilteredProperties(),t=this.pages.indexOf(this.currentPage);this.runConditionsCore(e),this.checkIfNewPagesBecomeVisible(t),this.conditionValues=null,this.isValueChangedOnRunningCondition&&this.conditionRunnerCounter<nC.maxConditionRunCountOnValueChanged?(this.isValueChangedOnRunningCondition=!1,this.conditionRunnerCounter++,this.runConditions()):(this.isValueChangedOnRunningCondition=!1,this.conditionRunnerCounter=0,this.conditionUpdateVisibleIndexes&&(this.conditionUpdateVisibleIndexes=!1,this.updateVisibleIndexes()),this.conditionNotifyElementsOnAnyValueOrVariableChanged&&(this.conditionNotifyElementsOnAnyValueOrVariableChanged=!1,this.notifyElementsOnAnyValueOrVariableChanged("")))}},SurveyModel.prototype.runConditionOnValueChanged=function(e,t){this.questionTriggersKeys||(this.questionTriggersKeys={}),this.questionTriggersKeys[e]=t,this.isRunningConditions?this.isValueChangedOnRunningCondition=!0:(this.runConditions(),this.runQuestionsTriggers(e,t),this.questionTriggersKeys=void 0)},SurveyModel.prototype.runConditionsCore=function(t){for(var o=this.pages,n=0;n<this.calculatedValues.length;n++)this.calculatedValues[n].resetCalculation();for(var n=0;n<this.calculatedValues.length;n++)this.calculatedValues[n].doCalculation(this.calculatedValues,this.conditionValues,t);e.prototype.runConditionCore.call(this,this.conditionValues,t);for(var r=0;r<o.length;r++)o[r].runCondition(this.conditionValues,t)},SurveyModel.prototype.runQuestionsTriggers=function(e,t){var o=this;this.isDisplayMode||this.isDesignMode||this.getAllQuestions().forEac
5h(function(n){n.runTriggers(e,t,o.questionTriggersKeys)})},SurveyModel.prototype.checkIfNewPagesBecomeVisible=function(e){var t=this.pages.indexOf(this.currentPage);if(!(t<=e+1)){for(var o=e+1;o<t;o++)if(this.pages[o].isVisible){this.currentPage=this.pages[o];break}}},SurveyModel.prototype.sendResult=function(e,t,o){var n=this;if(void 0===e&&(e=null),void 0===t&&(t=null),void 0===o&&(o=!1),this.isEditMode&&(o&&this.onPartialSend&&this.onPartialSend.fire(this,null),!e&&this.surveyPostId&&(e=this.surveyPostId),e&&(t&&(this.clientId=t),!o||this.clientId))){var r=this.createSurveyService();r.locale=this.getLocale();var i=this.surveyShowDataSaving||!o&&r.isSurveJSIOService;i&&this.setCompletedState("saving",""),r.sendResult(e,this.data,function(e,t,o){(i||r.isSurveJSIOService)&&(e?n.setCompletedState("success",""):n.setCompletedState("error",t)),n.onSendResult.fire(n,{success:e,response:t,request:o})},this.clientId,o)}},SurveyModel.prototype.getResult=function(e,t){var o=this;this.createSurveyService().getResult(e,t,function(e,t,n,r){o.onGetResult.fire(o,{success:e,data:t,dataList:n,response:r})})},SurveyModel.prototype.loadSurveyFromService=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null),e&&(this.surveyId=e),t&&(this.clientId=t);var o=this;this.isLoading=!0,this.onLoadingSurveyFromService(),t?this.createSurveyService().getSurveyJsonAndIsCompleted(this.surveyId,this.clientId,function(e,t,n,r){e&&(o.isCompletedBefore="completed"==n,o.loadSurveyFromServiceJson(t)),o.isLoading=!1}):this.createSurveyService().loadSurvey(this.surveyId,function(e,t,n){e&&o.loadSurveyFromServiceJson(t),o.isLoading=!1})},SurveyModel.prototype.loadSurveyFromServiceJson=function(e){e&&(this.fromJSON(e),this.notifyAllQuestionsOnValueChanged(),this.onLoadSurveyFromService(),this.onLoadedSurveyFromService.fire(this,{}))},SurveyModel.prototype.onLoadingSurveyFromService=function(){},SurveyModel.prototype.onLoadSurveyFromService=function(){},SurveyModel.prototype.resetVisibleIndexes=function(){for(var e=this.getAllQuestions(!0),t=0;t<e.length;t++)e[t].setVisibleIndex(-1);this.updateVisibleIndexes()},SurveyModel.prototype.updateVisibleIndexes=function(e){if(!this.isLoadingFromJson&&!this.isEndLoadingFromJson){if(this.isRunningConditions&&this.onQuestionVisibleChanged.isEmpty&&this.onPageVisibleChanged.isEmpty){this.conditionUpdateVisibleIndexes=!0;return}if(this.isRunningElementsBindings){this.updateVisibleIndexAfterBindings=!0;return}this.updatePageVisibleIndexes(),this.updatePageElementsVisibleIndexes(e),this.updateProgressText(!0)}},SurveyModel.prototype.updatePageElementsVisibleIndexes=function(e){if("onPage"==this.showQuestionNumbers)for(var t=e?[e]:this.visiblePages,o=0;o<t.length;o++)t[o].setVisibleIndex(0);else for(var n=this.getStartVisibleIndex(),r=0;r<this.pages.length;r++)n+=this.pages[r].setVisibleIndex(n)},SurveyModel.prototype.getStartVisibleIndex=function(){return"on"==this.showQuestionNumbers?0:-1},SurveyModel.prototype.updatePageVisibleIndexes=function(){this.updateButtonsVisibility();for(var e=0,t=0;t<this.pages.length;t++){var o=this.pages[t],n=o.isVisible&&(t>0||!o.isStartPage);o.visibleIndex=n?e++:-1,o.num=n?o.visibleIndex+1:-1}},SurveyModel.prototype.fromJSON=function(e,t){if(e){this.questionHashesClear(),this.jsonErrors=null,this.sjsVersion=void 0;var o=new oy;o.toObject(e,this,t),o.errors.length>0&&(this.jsonErrors=o.errors),this.onStateAndCurrentPageChanged(),this.updateState(),this.sjsVersion&&nC.version&&oe.compareVerions(this.sjsVersion,nC.version)>0&&oC.warn("The version of the survey JSON schema (v"+this.sjsVersion+") is newer than your current Form Library version ("+nC.version+"). Please update the Form Library to make sure that all survey features work as expected.")}},SurveyModel.prototype.startLoadingFromJson=function(t){e.prototype.startLoadingFromJson.call(this,t),t&&t.locale&&(this.locale=t.locale)},SurveyModel.prototype.setJsonObject=function(e){this.fromJSON(e)},SurveyModel.prototype.endLoadingFromJson=function(){this.isEndLoadingFromJson="processing",this.onFirstPageIsStartedChanged(),e.prototype.endLoadingFromJson.call(this),this.hasCookie&&(this.isCompletedBefore=!0),this.doElementsOnLoad(),this.onQuestionsOnPageModeChanged("standard"),this.isEndLoadingFromJson="conditions",this.runConditions(),this.notifyElementsOnAnyValueOrVariableChanged(""),this.isEndLoadingFromJson=null,this.updateVisibleIndexes(),this.updateHasLogo(),this.updateRenderBackgroun
5dImage(),this.updateCurrentPage(),this.hasDescription=!!this.description,this.titleIsEmpty=this.locTitle.isEmpty,this.setCalculatedWidthModeUpdater()},SurveyModel.prototype.updateNavigationCss=function(){this.navigationBar&&(this.updateNavigationBarCss(),this.updateNavigationItemCssCallback&&this.updateNavigationItemCssCallback())},SurveyModel.prototype.updateNavigationBarCss=function(){var e=this.navigationBar;e.cssClasses=this.css.actionBar,e.containerCss=this.css.footer},SurveyModel.prototype.createNavigationBar=function(){var e=new o0;return e.setItems(this.createNavigationActions()),e},SurveyModel.prototype.createNavigationActions=function(){var e=this,t="sv-nav-btn",o=new ne({id:"sv-nav-start",visible:new oU(function(){return e.isShowStartingPage}),visibleIndex:10,locTitle:this.locStartSurveyText,action:function(){return e.start()},component:t}),n=new ne({id:"sv-nav-prev",visible:new oU(function(){return e.isShowPrevButton}),visibleIndex:20,data:{mouseDown:function(){return e.navigationMouseDown()}},locTitle:this.locPagePrevText,action:function(){return e.performPrevious()},component:t}),r=new ne({id:"sv-nav-next",visible:new oU(function(){return e.isShowNextButton}),visibleIndex:30,data:{mouseDown:function(){return e.nextPageMouseDown()}},locTitle:this.locPageNextText,action:function(){return e.nextPageUIClick()},component:t}),i=new ne({id:"sv-nav-preview",visible:new oU(function(){return e.isPreviewButtonVisible}),visibleIndex:40,data:{mouseDown:function(){return e.navigationMouseDown()}},locTitle:this.locPreviewText,action:function(){return e.showPreview()},component:t}),s=new ne({id:"sv-nav-complete",visible:new oU(function(){return e.isCompleteButtonVisible}),visibleIndex:50,data:{mouseDown:function(){return e.navigationMouseDown()}},locTitle:this.locCompleteText,action:function(){return e.taskManager.waitAndExecute(function(){return e.tryComplete()})},component:t});return this.updateNavigationItemCssCallback=function(){o.innerCss=e.cssNavigationStart,n.innerCss=e.cssNavigationPrev,r.innerCss=e.cssNavigationNext,i.innerCss=e.cssNavigationPreview,s.innerCss=e.cssNavigationComplete},[o,n,r,i,s]},SurveyModel.prototype.onBeforeRunConstructor=function(){},SurveyModel.prototype.onBeforeCreating=function(){},SurveyModel.prototype.onCreating=function(){},SurveyModel.prototype.getProcessedTextValue=function(e){if(this.getProcessedTextValueCore(e),!this.onProcessTextValue.isEmpty){var t=this.isValueEmpty(e.value);this.onProcessTextValue.fire(this,e),e.isExists=e.isExists||t&&!this.isValueEmpty(e.value)}},SurveyModel.prototype.getBuiltInVariableValue=function(e){if("pageno"===e){var t=this.currentPage;return null!=t?this.visiblePages.indexOf(t)+1:0}return"pagecount"===e?this.visiblePageCount:"correctedanswers"===e||"correctanswers"===e||"correctedanswercount"===e?this.getCorrectedAnswerCount():"incorrectedanswers"===e||"incorrectanswers"===e||"incorrectedanswercount"===e?this.getInCorrectedAnswerCount():"questioncount"===e?this.getQuizQuestionCount():void 0},SurveyModel.prototype.getProcessedTextValueCore=function(e){var t=e.name.toLocaleLowerCase();if(-1===["no","require","title"].indexOf(t)){var o=this.getBuiltInVariableValue(t);if(void 0!==o){e.isExists=!0,e.value=o;return}if("locale"===t){e.isExists=!0,e.value=this.locale?this.locale:oo.defaultLocale;return}var n=this.getVariable(t);if(void 0!==n){e.isExists=!0,e.value=n;return}var r=this.getFirstName(t);if(r){var i=r.useDisplayValuesInDynamicTexts;e.isExists=!0;var s=r.getValueName().toLowerCase();t=(t=s+t.substring(s.length)).toLocaleLowerCase();var a={};a[s]=e.returnDisplayValue&&i?r.getDisplayValue(!1,void 0):r.value,e.value=new ox().getValue(t,a);return}this.getProcessedValuesWithoutQuestion(e)}},SurveyModel.prototype.getProcessedValuesWithoutQuestion=function(e){var t=this.getValue(e.name);if(void 0!==t){e.isExists=!0,e.value=t;return}var o=new ox,n=o.getFirstName(e.name);if(n!==e.name){var r={},i=this.getValue(n);oe.isValueEmpty(i)&&(i=this.getVariable(n)),oe.isValueEmpty(i)||(r[n]=i,e.value=o.getValue(e.name,r),e.isExists=o.hasValue(e.name,r))}},SurveyModel.prototype.getFirstName=function(e){var t;e=e.toLowerCase();do t=this.getQuestionByValueName(e,!0),e=this.reduceFirstName(e);while(!t&&!!e);return t},SurveyModel.prototype.reduceFirstName=function(e){var t=e.lastIndexOf("."),o=e.lastIndexOf("[");if(t<0&&o<0)return"";var n=Math.max(t,o);return e.substring(0,n)},SurveyModel.prototype.clearUnusedValues=function(){this.isClearingUnsedValues=!0;for(var e=this.getAllQuestions(),t=0;t<e.length;t++)e[t].clearUnusedValues();this.clearInvisibleQuestionValues(),this.isClearingUnsedValues=!1},SurveyModel.prototype.hasVisibleQuestionByValueName=function(e){var t=this.getQuestionsByValueName(e.getValueName());if(!Array.isArray(t)||t.length<2)return!1;for(var o=0;o<t.length;o++){var n=t[o];if(n!==e&&n.isVisible&&n.isParentVisible&&!n.parentQuestion&&n.parentQuestion===e.parentQuestion)return!0}return!1},SurveyModel.prototype.questionsByValueName=function(e){return this.getQuestionsByValueName(e)||[]},SurveyModel.prototype.clearInvisibleQuestionValues=function(){for(var e="none"===this.clearInvisibleValues?"none":"onComplete",t=this.getAllQuestions(),o=0;o<t.length;o++)t[o].clearValueIfInvisible(e)},SurveyModel.prototype.getVariable=function(e){if(!e)return null;e=e.toLowerCase();var t=this.variablesHash[e];return this.isValueEmpty(t)&&(e.indexOf(".")>-1||e.indexOf("[")>-1)&&new ox().hasValue(e,this.variablesHash)?new ox().getValue(e,this.variablesHash):t},SurveyModel.prototype.setVariable=function(e,t){if(e){var o=this.getVariable(e);this.valuesHash&&delete this.valuesHash[e],e=e.toLowerCase(),this.variablesHash[e]=t,this.notifyElementsOnAnyValueOrVariableChanged(e),oe.isTwoValueEquals(o,t)||(this.checkTriggersAndRunConditions(e,t,o),this.onVariableChanged.fire(this,{name:e,value:t}))}},SurveyModel.prototype.getVariableNames=function(){var e=[];for(var t in this.variablesHash)e.push(t);return e},SurveyModel.prototype.getUnbindValue=function(e){return this.editingObj?e:oe.getUnbindValue(e)},SurveyModel.prototype.getValue=function(e){if(!e||0==e.length)return null;var t=this.getDataValueCore(this.valuesHash,e);return this.getUnbindValue(t)},SurveyModel.prototype.setValue=function(e,t,o,n,r){void 0===o&&(o=!1),void 0===n&&(n=!0);var i=t;if(n&&(i=this.questionOnValueChanging(e,t)),!(this.isValidateOnValueChanging&&this.checkErrorsOnValueChanging(e,i))&&!(!this.editingObj&&this.isValueEqual(e,i
vendor: 9,262 bytes, line 5
5)&&this.isTwoValueEquals(i,t))){var s=this.getValue(e);this.isValueEmpyOnSetValue(e,i)?this.deleteDataValueCore(this.valuesHash,e):(i=this.getUnbindValue(i),this.setDataValueCore(this.valuesHash,e,i)),o=this.getLocNotification(o,i,s),this.updateOnSetValue(e,i,s,o,n,r)}},SurveyModel.prototype.isValueEmpyOnSetValue=function(e,t){return!!this.isValueEmpty(t,!1)&&(!this.editingObj||null==t||this.editingObj.getDefaultPropertyValue(e)===t)},SurveyModel.prototype.updateOnSetValue=function(e,t,o,n,r,i){void 0===n&&(n=!1),void 0===r&&(r=!0),this.updateQuestionValue(e,t),!0===n||this.isDisposed||this.isRunningElementsBindings||(i=i||e,this.nofifyQuesitonHash[e]=!0,this.checkTriggersAndRunConditions(e,t,o),this.nofifyQuesitonHash[e]&&(r&&this.notifyQuestionOnValueChanged(e,t,i),"text"!==n&&this.tryGoNextPageAutomatic(e),delete this.nofifyQuesitonHash[e]))},SurveyModel.prototype.isValueEqual=function(e,t){(""===t||void 0===t)&&(t=null);var o=this.getValue(e);return((""===o||void 0===o)&&(o=null),null===t||null===o)?t===o:this.isTwoValueEquals(t,o)},SurveyModel.prototype.doOnPageAdded=function(e){e.setSurveyImpl(this),e.name||(e.name=this.generateNewName(this.pages,"page")),this.questionHashesPanelAdded(e),this.updateVisibleIndexes(),this.runningPages||(this.isLoadingFromJson||(this.updateProgressText(),this.updateCurrentPage()),this.onPageAdded.fire(this,{page:e}))},SurveyModel.prototype.doOnPageRemoved=function(e){e.setSurveyImpl(null),this.runningPages||(e===this.currentPage&&this.updateCurrentPage(),this.updateVisibleIndexes(),this.updateProgressText(),this.updateLazyRenderingRowsOnRemovingElements())},SurveyModel.prototype.generateNewName=function(e,t){for(var o={},n=0;n<e.length;n++)o[e[n].name]=!0;for(var r=1;o[t+r];)r++;return t+r},SurveyModel.prototype.tryGoNextPageAutomatic=function(e){var t=this;if(!this.isEndLoadingFromJson&&this.goNextPageAutomatic&&this.currentPage){var o=this.getQuestionByValueName(e);if(o&&(!o||o.visible&&o.supportGoNextPageAutomatic())&&(o.validate(!1)||o.supportGoNextPageError())){if(this.currentSingleElement){var n=this.currentSingleElement;r1.safeTimeOut(function(){n===t.currentSingleElement&&(t.isLastElement?t.allowCompleteSurveyAutomatic&&t.tryCompleteOrShowPreview():t.performNext())},nC.autoAdvanceDelay)}var r=this.getCurrentPageQuestions();if(!(0>r.indexOf(o))){for(var i=0;i<r.length;i++)if(r[i].hasInput&&r[i].isEmpty())return;if((!this.isLastPage||!0===this.goNextPageAutomatic&&this.allowCompleteSurveyAutomatic)&&!this.checkIsCurrentPageHasErrors(!1)){var s=this.currentPage;r1.safeTimeOut(function(){s===t.currentPage&&(t.isLastPage?t.tryCompleteOrShowPreview():t.nextPage())},nC.autoAdvanceDelay)}}}}},SurveyModel.prototype.tryCompleteOrShowPreview=function(){this.isShowPreviewBeforeComplete?this.showPreview():this.tryComplete()},SurveyModel.prototype.getComment=function(e){return this.getValue(e+this.commentSuffix)||""},SurveyModel.prototype.setComment=function(e,t,o){if(void 0===o&&(o=!1),t||(t=""),!this.isTwoValueEquals(t,this.getComment(e))){var n=e+this.commentSuffix;t=this.questionOnValueChanging(n,t,e),o=this.getLocNotification(o,t,this.getComment(e)),this.isValueEmpty(t)?this.deleteDataValueCore(this.valuesHash,n):this.setDataValueCore(this.valuesHash,n,t);var r=this.getQuestionsByValueName(e);if(r)for(var i=0;i<r.length;i++)r[i].updateCommentFromSurvey(t),this.checkQuestionErrorOnValueChanged(r[i]);o||this.checkTriggersAndRunConditions(e,this.getValue(e),void 0),"text"!==o&&this.tryGoNextPageAutomatic(e);var s=this.getQuestionByValueName(e);s&&(this.fireOnValueChanged(n,t,s),s.comment=t,s.comment!=t&&(s.comment=t))}},SurveyModel.prototype.clearValue=function(e){this.setValue(e,null),this.setComment(e,null)},Object.defineProperty(SurveyModel.prototype,"clearValueOnDisableItems",{get:function(){return this.getPropertyValue("clearValueOnDisableItems",!1)},set:function(e){this.setPropertyValue("clearValueOnDisableItems",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.getQuestionClearIfInvisible=function(e){return this.isShowingPreview||this.runningPages?"none":"default"!==e?e:this.clearInvisibleValues},SurveyModel.prototype.questionVisibilityChanged=function(e,t,o){o&&this.updateVisibleIndexes(e.page),t||this.changeCurrentSingleElementOnVisibilityChanged(),this.onQuestionVisibleChanged.fire(this,{question:e,name:e.name,visible:t})},SurveyModel.prototype.pageVisibilityChanged=function(e,t){if(!this.isLoadingFromJson){(t&&!this.currentPage||e===this.currentPage)&&this.updateCurrentPage(),this.updateVisibleIndexes(),t||this.changeCurrentSingleElementOnVisibilityChanged();var o=this.currentSingleElement,n=this.currentPage;o&&n&&o.page!==n&&(this.currentSingleElement=n.getFirstVisibleElement()),this.onPageVisibleChanged.fire(this,{page:e,visible:t})}},SurveyModel.prototype.panelVisibilityChanged=function(e,t){e.page&&(this.updateVisibleIndexes(e.page),t||this.changeCurrentSingleElementOnVisibilityChanged()),this.onPanelVisibleChanged.fire(this,{panel:e,visible:t})},SurveyModel.prototype.questionCreated=function(e){this.onQuestionCreated.fire(this,{question:e})},SurveyModel.prototype.questionAdded=function(e,t,o,n){e.name||(e.name=this.generateNewName(this.getAllQuestions(!1,!0),"question")),e.page&&this.questionHashesAdded(e),this.isLoadingFromJson||(this.currentPage||this.updateCurrentPage(),this.updateVisibleIndexes(e.page),this.setCalculatedWidthModeUpdater()),this.canFireAddElement()&&this.onQuestionAdded.fire(this,{question:e,name:e.name,index:t,parent:o,page:n,parentPanel:o,rootPanel:n})},SurveyModel.prototype.canFireAddElement=function(){return!this.isMovingQuestion||this.isDesignMode&&!nC.supportCreatorV2},SurveyModel.prototype.questionRemoved=function(e){this.questionHashesRemoved(e,e.name,e.getValueName()),this.updateVisibleIndexes(e.page),this.onQuestionRemoved.fire(this,{question:e,name:e.name}),this.updateLazyRenderingRowsOnRemovingElements()},SurveyModel.prototype.questionRenamed=function(e,t,o){this.questionHashesRemoved(e,t,o),this.questionHashesAdded(e)},SurveyModel.prototype.questionHashesClear=function(){this.questionHashes.names={},this.questionHashes.namesInsensitive={},this.questionHashes.valueNames={},this.questionHashes.valueNamesInsensitive={}},SurveyModel.prototype.questionHashesPanelAdded=function(e){if(!this.isLoadingFromJson)for(var t=e.questions,o=0;o<t.length;o++)this.questionHashesAdded(t[o])},SurveyModel.prototype.questionHashesAdded=function(e){this.questionHashAddedCore(this.questionHashes.names,e,e.name),this.questionHashAddedCore(this.questionHashes.namesInsensitive,e,e.name.toLowerCase()),this.questionHashAddedCore(this.questionHashes.valueNames,e,e.getValueName()),this.questionHashAddedCore(this.questionHashes.valueNamesInsensitive,e,e.getValueName().toLowerCase())},SurveyModel.prototype.questionHashesRemoved=function(e,t,o){t&&(this.questionHashRemovedCore(this.questionHashes.names,e,t),this.questionHashRemovedCore(this.questionHashes.namesInsensitive,e,t.toLowerCase())),o&&(this.questionHashRemovedCore(this.questionHashes.valueNames,e,o),this.questionHashRemovedCore(this.questionHashes.valueNamesInsensitive,e,o.toLowerCase()))},SurveyModel.prototype.questionHashAddedCore=function(e,t,o){var n=e[o];if(n){var n=e[o];0>n.indexOf(t)&&n.push(t)}else e[o]=[t]},SurveyModel.prototype.questionHashRemovedCore=function(e,t,o){var n=e[o];if(n){var r=n.indexOf(t);r>-1&&n.splice(r,1),0==n.length&&delete e[o]}},SurveyModel.prototype.panelAdded=function(e,t,o,n){e.name||(e.name=this.generateNewName(this.getAllPanels(!1,!0),"panel")),this.questionHashesPanelAdded(e),this.updateVisibleIndexes(e.page),this.canFireAddElement()&&this.onPanelAdded.fire(this,{panel:e,name:e.name,index:t,parent:o,page:n,parentPanel:o,rootPanel:n})},SurveyModel.prototype.panelRemoved=function(e){this.updateVisibleIndexes(e.page),this.onPanelRemoved.fire(this,{panel:e,name:e.name}),this.updateLazyRenderingRowsOnRemovingElements()},SurveyModel.prototype.validateQuestion=function(e){if(this.onValidateQuestion.isEmpty)return null;var t={name:e.name,question:e,value:e.value,error:null};return this.onValidateQuestion.fire(this,t),t.error?new nL(t.error,this):null},SurveyModel.prototype.validatePanel=function(e){if(this.onValidatePanel.isEmpty)return null;var t={name:e.name,panel:e,error:null};return this.onValidatePanel.fire(this,t),t.error?new nL(t.error,this):null},SurveyModel.prototype.processHtml=function(e,t){t||(t="");var o={html:e,reason:t};return this.onProcessHtml.fire(this,o),this.processText(o.html,!0)},SurveyModel.prototype.processText=function(e,t){return this.processTextEx({text:e,returnDisplayValue:t,doEncoding:!1}).text},SurveyModel.prototype.processTextEx=function(e){var t=void 0===e.doEncoding?nC.web.encodeUrlParams:e.doEncoding,o=e.text;(e.runAtDesign||!this.isDesignMode)&&(o=this.textPreProcessor.process(o,!0===e.returnDisplayValue,t,e.replaceUndefinedValues));var n={text:o,hasAllValuesOnLastRun:!0};return n.hasAllValuesOnLastRun=this.textPreProcessor.hasAllValuesOnLastRun,n},Object.defineProperty(SurveyModel.prototype,"textPreProcessor",{get:function(){var e=this;return this.textPreProcessorValue||(this.textPreProcessorValue=new rr,this.textPreProcessorValue.onProcess=function(t){e.getProcessedTextValue(t)}),this.textPreProcessorValue}
5,enumerable:!1,configurable:!0}),SurveyModel.prototype.getSurveyMarkdownHtml=function(e,t,o){var n={element:e,text:t,name:o,html:null};return this.onTextMarkdown.fire(this,n),n.html},SurveyModel.prototype.getCorrectedAnswerCount=function(){return this.getCorrectAnswerCount()},SurveyModel.prototype.getCorrectAnswerCount=function(){return this.getCorrectedAnswerCountCore(!0)},SurveyModel.prototype.getQuizQuestionCount=function(){for(var e=this.getQuizQuestions(),t=0,o=0;o<e.length;o++)t+=e[o].quizQuestionCount;return t},SurveyModel.prototype.getInCorrectedAnswerCount=function(){return this.getIncorrectAnswerCount()},SurveyModel.prototype.getInCorrectAnswerCount=function(){return this.getIncorrectAnswerCount()},SurveyModel.prototype.getIncorrectAnswerCount=function(){return this.getCorrectedAnswerCountCore(!1)},SurveyModel.prototype.onCorrectQuestionAnswer=function(e,t){this.onIsAnswerCorrect.isEmpty||(t.question=e,this.onIsAnswerCorrect.fire(this,t))},SurveyModel.prototype.getCorrectedAnswerCountCore=function(e){for(var t=this.getQuizQuestions(),o=0,n=0;n<t.length;n++){var r=t[n],i=r.correctAnswerCount;e?o+=i:o+=r.quizQuestionCount-i}return o},SurveyModel.prototype.getCorrectedAnswers=function(){return this.getCorrectedAnswerCount()},SurveyModel.prototype.getInCorrectedAnswers=function(){return this.getInCorrectedAnswerCount()},Object.defineProperty(SurveyModel.prototype,"showTimerPanel",{get:function(){return this.showTimer?this.timerLocation:"none"},set:function(e){this.showTimer="none"!==e,this.showTimer&&(this.timerLocation=e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"showTimer",{get:function(){return this.getPropertyValue("showTimer")},set:function(e){this.setPropertyValue("showTimer",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timerLocation",{get:function(){return this.getPropertyValue("timerLocation")},set:function(e){this.setPropertyValue("timerLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isTimerPanelShowingOnTop",{get:function(){return this.showTimer&&"top"===this.timerLocation},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"isTimerPanelShowingOnBottom",{get:function(){return this.showTimer&&"bottom"===this.timerLocation},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timerInfoMode",{get:function(){return this.getTimerInfoVal(this.getPropertyValue("timerInfoMode"))},set:function(e){this.setPropertyValue("timerInfoMode",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.getTimerInfoVal=function(e){return"all"===e?"combined":e},Object.defineProperty(SurveyModel.prototype,"showTimerPanelMode",{get:function(){var e=this.timerInfoMode;return"combined"===e?"all":e},set:function(e){this.timerInfoMode=this.getTimerInfoVal(e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.updateGridColumns=function(){this.pages.forEach(function(e){return e.updateGridColumns()})},Object.defineProperty(SurveyModel.prototype,"widthMode",{get:function(){return this.getPropertyValue("widthMode")},set:function(e){this.setPropertyValue("widthMode",e)},enumerable:!1,configurable:!0}),SurveyModel.prototype.setCalculatedWidthModeUpdater=function(){var e=this;this.isLoadingFromJson||(this.calculatedWidthModeUpdater&&this.calculatedWidthModeUpdater.dispose(),this.calculatedWidthModeUpdater=new oU(function(){return e.calculateWidthMode()}),this.calculatedWidthMode=this.calculatedWidthModeUpdater)},SurveyModel.prototype.calculateWidthMode=function(){if("auto"==this.widthMode){var e=!1;return this.pages.forEach(function(t){t.needResponsiveWidth()&&(e=!0)}),e?"responsive":"static"}return this.widthMode},Object.defineProperty(SurveyModel.prototype,"width",{get:function(){return this.getPropertyValue("width")},set:function(e){this.setPropertyValue("width",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"renderedWidth",{get:function(){var e="static"==this.getPropertyValue("calculatedWidthMode"),t=this.getPropertyValue("width");if(this.isScaled&&this.responsiveStartWidth>1){var o=this.responsiveStartWidth;try{t=t||this.staticStartWidth,o=isNaN(t)?parseFloat(t.toString().replace("px","")):t}catch(e){}return(e?o:this.responsiveStartWidth)*this.widthScale/100+"px"}return t&&!isNaN(t)&&(t+="px"),e&&t||void 0}
vendor: 16,577 bytes, line 5
5,enumerable:!1,configurable:!0}),SurveyModel.prototype.setStaticStartWidth=function(e){this.staticStartWidth=e},SurveyModel.prototype.setResponsiveStartWidth=function(e){this.responsiveStartWidth=e},Object.defineProperty(SurveyModel.prototype,"isScaled",{get:function(){return Math.abs(this.widthScale-100)>.001},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timerInfo",{get:function(){return this.getTimerInfo()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timerClock",{get:function(){if(this.currentPage){var e,t,o=this.getTimerInfo(),n=o.spent,r=o.limit,i=o.minorSpent,s=o.minorLimit;e=r>0?this.getDisplayClockTime(r-n):this.getDisplayClockTime(n),void 0!==i&&(t=s>0?this.getDisplayClockTime(s-i):this.getDisplayClockTime(i))}return{majorText:e,minorText:t}},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timerInfoText",{get:function(){var e={text:this.getTimerInfoText()};this.onTimerPanelInfoText.fire(this,e);var t=new nf(this,!0);return t.text=e.text,t.textOrHtml},enumerable:!1,configurable:!0}),SurveyModel.prototype.getTimerInfo=function(){var e=this.currentPage;if(!e)return{spent:0,limit:0};var t=e.timeSpent,o=this.timeSpent,n=e.getMaxTimeToFinish(),r=this.timeLimit;return"page"==this.timerInfoMode?{spent:t,limit:n}:"survey"==this.timerInfoMode?{spent:o,limit:r}:n>0&&r>0?{spent:t,limit:n,minorSpent:o,minorLimit:r}:n>0?{spent:t,limit:n,minorSpent:o}:r>0?{spent:o,limit:r,minorSpent:t}:{spent:t,minorSpent:o}},SurveyModel.prototype.getTimerInfoText=function(){var e=this.currentPage;if(!e)return"";var t=this.getDisplayTime(e.timeSpent),o=this.getDisplayTime(this.timeSpent),n=e.getMaxTimeToFinish(),r=this.getDisplayTime(n),i=this.getDisplayTime(this.timeLimit);return"page"==this.timerInfoMode?this.getTimerInfoPageText(e,t,r):"survey"==this.timerInfoMode?this.getTimerInfoSurveyText(o,i):"combined"==this.timerInfoMode?n<=0&&this.timeLimit<=0?this.getLocalizationFormatString("timerSpentAll",t,o):n>0&&this.timeLimit>0?this.getLocalizationFormatString("timerLimitAll",t,r,o,i):this.getTimerInfoPageText(e,t,r)+" "+this.getTimerInfoSurveyText(o,i):""},SurveyModel.prototype.getTimerInfoPageText=function(e,t,o){return e&&e.getMaxTimeToFinish()>0?this.getLocalizationFormatString("timerLimitPage",t,o):this.getLocalizationFormatString("timerSpentPage",t,o)},SurveyModel.prototype.getTimerInfoSurveyText=function(e,t){var o=this.timeLimit>0?"timerLimitSurvey":"timerSpentSurvey";return this.getLocalizationFormatString(o,e,t)},SurveyModel.prototype.getDisplayClockTime=function(e){e<0&&(e=0);var t=Math.floor(e/60),o=e%60,n=o.toString();return o<10&&(n="0"+n),t+":"+n},SurveyModel.prototype.getDisplayTime=function(e){var t=Math.floor(e/60),o=e%60,n="";return(t>0&&(n+=t+" "+this.getLocalizationString("timerMin")),n&&0==o)?n:(n&&(n+=" "),n+o+" "+this.getLocalizationString("timerSec"))},Object.defineProperty(SurveyModel.prototype,"timerModel",{get:function(){return this.timerModelValue},enumerable:!1,configurable:!0}),SurveyModel.prototype.startTimer=function(){this.isEditMode&&this.timerModel.start()},SurveyModel.prototype.startTimerFromUI=function(){this.showTimer&&"running"===this.state&&this.startTimer()},SurveyModel.prototype.stopTimer=function(){this.timerModel.stop()},Object.defineProperty(SurveyModel.prototype,"timeSpent",{get:function(){return this.timerModel.spent},set:function(e){this.timerModel.spent=e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timeLimit",{get:function(){return this.getPropertyValue("timeLimit",0)},set:function(e){this.setPropertyValue("timeLimit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"maxTimeToFinish",{get:function(){return this.timeLimit},set:function(e){this.timeLimit=e},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"timeLimitPerPage",{get:function(){return this.getPropertyValue("timeLimitPerPage",0)},set:function(e){this.setPropertyValue("timeLimitPerPage",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyModel.prototype,"maxTimeToFinishPage",{get:function(){return this.timeLimitPerPage},set:function(e){this.timeLimitPerPage=e},enumerable:!1,configurable:!0}),SurveyModel.prototype.doTimer=function(e){if(this.onTimerTick.fire(this,{}),this.timeLimit>0&&this.timeLimit<=this.timeSpent&&(this.timeSpent=this.timeLimit,this.tryComplete()),e){var t=e.getMaxTimeToFinish();t>0&&t==e.timeSpent&&(this.isLastPage?this.tryComplete():this.nextPage())}},Object.defineProperty(SurveyModel.prototype,"inSurvey",{get:function(){return!0},enumerable:!1,configurable:!0}),SurveyModel.prototype.getSurveyData=function(){return this},SurveyModel.prototype.getSurvey=function(){return this},SurveyModel.prototype.getTextProcessor=function(){return this},SurveyModel.prototype.getObjects=function(e,t){var o=[];return Array.prototype.push.apply(o,this.getPagesByNames(e)),Array.prototype.push.apply(o,this.getQuestionsByNames(t)),o},SurveyModel.prototype.setTriggerValue=function(e,t,o){if(e){if(o)this.setVariable(e,t);else{var n=this.getQuestionByName(e);if(this.startSetValueFromTrigger(),n)n.value=t;else{var r=new ox,i=r.getFirstName(e);if(i==e)this.setValue(e,t);else{if(!this.getQuestionByName(i))return;var s=this.getUnbindValue(this.getFilteredValues());r.setValue(s,e,t),this.setValue(i,s[i])}}this.finishSetValueFromTrigger()}}},SurveyModel.prototype.copyTriggerValue=function(e,t,o){if(e&&t){if(o)n=this.processText("{"+t+"}",!0);else{var n;n=new ox().getValue(t,this.getFilteredValues())}this.setTriggerValue(e,oe.getUnbindValue(n),!1)}},SurveyModel.prototype.triggerExecuted=function(e){this.onTriggerExecuted.fire(this,{trigger:e})},Object.defineProperty(SurveyModel.prototype,"isSettingValueFromTrigger",{get:function(){return this.setValueFromTriggerCounter>0},enumerable:!1,configurable:!0}),SurveyModel.prototype.startSetValueFromTrigger=function(){this.setValueFromTriggerCounter++},SurveyModel.prototype.finishSetValueFromTrigger=function(){this.setValueFromTriggerCounter--},SurveyModel.prototype.startMovingQuestion=function(){this.isMovingQuestion=!0},SurveyModel.prototype.stopMovingQuestion=function(){this.isMovingQuestion=!1},Object.defineProperty(SurveyModel.prototype,"isQuestionDragging",{get:function(){return this.isMovingQuestion},enumerable:!1,configurable:!0}),SurveyModel.prototype.focusQuestion=function(e){return this.focusQuestionByInstance(this.getQuestionByName(e,!0))},SurveyModel.prototype.focusQuestionByInstance=function(e,t){if(void 0===t&&(t=!1),!e||!e.isVisible||!e.page||(null===(o=this.focusingQuestionInfo)||void 0===o?void 0:o.question)===e)return!1;this.focusingQuestionInfo={question:e,onError:t};var o,n=this.currentSingleElement;this.skippedPages.push({from:n||this.currentPage,to:n?e:e.page});var r=this.activePage!==e.page&&!e.page.isStartPage;return r&&(this.currentPage=e.page),this.isSingleVisibleQuestion&&!this.isDesignMode&&(this.currentSingleElement=e),r||this.focusQuestionInfo(),!0},SurveyModel.prototype.focusQuestionInfo=function(){var e,t=null===(e=this.focusingQuestionInfo)||void 0===e?void 0:e.question;t&&!t.isDisposed&&t.focus(this.focusingQuestionInfo.onError),this.focusingQuestionInfo=void 0},SurveyModel.prototype.questionEditFinishCallback=function(e,t){var o=this.enterKeyAction||nC.enterKeyAction;if("loseFocus"==o&&t.target.blur(),"moveToNextEditor"==o){var n=this.currentPage.questions,r=n.indexOf(e);r>-1&&r<n.length-1?n[r+1].focus():t.target.blur()}},SurveyModel.prototype.elementWrapperComponentNameCore=function(e,t,o,n,r){if(this.onElementWrapperComponentName.isEmpty)return e;var i={componentName:e,element:t,wrapperName:o,reason:n,item:r};return this.onElementWrapperComponentName.fire(this,i),i.componentName},SurveyModel.prototype.elementWrapperDataCore=function(e,t,o,n,r){if(this.onElementWrapperComponentData.isEmpty)return e;var i={data:e,element:t,wrapperName:o,reason:n,item:r};return this.onElementWrapperComponentData.fire(this,i),i.data},SurveyModel.prototype.getElementWrapperComponentName=function(e,t){var o="logo-image"===t?"sv-logo-image":SurveyModel.TemplateRendererComponentName;return this.elementWrapperComponentNameCore(o,e,"component",t)},SurveyModel.prototype.getQuestionContentWrapperComponentName=function(e){return this.elementWrapperComponentNameCore(SurveyModel.TemplateRendererComponentName,e,"content-component")},SurveyModel.prototype.getRowWrapperComponentName=function(e){return this.elementWrapperComponentNameCore(SurveyModel.TemplateRendererComponentName,e,"row")},SurveyModel.prototype.getItemValueWrapperComponentName=function(e,t){return this.elementWrapperComponentNameCore(SurveyModel.TemplateRendererComponentName,t,"itemvalue",void 0,e)},SurveyModel.prototype.getElementWrapperComponentData=function(e,t){return this.elementWrapperDataCore(e,e,"component",t)},SurveyModel.prototype.getRowWrapperComponentData=function(e){return this.elementWrapperDataCore(e,e,"row")},SurveyModel.prototype.getItemValueWrapperComponentData=function(e,t){return this.elementWrapperDataCore(e,t,"itemvalue",void 0,e)},SurveyModel.prototype.getMatrixCellTemplateData=function(e){var t=e.question;return this.elementWrapperDataCore(t,t,"cell")},SurveyModel.prototype.searchText=function(e){e&&(e=e.toLowerCase());for(var t=[],o=0;o<this.pages.length;o++)this.pages[o].searchText(e,t);return t},SurveyModel.prototype.getSkeletonComponentName=function(e){return this.skeletonComponentName},SurveyModel.prototype.addLayoutElement=function(e){var t=this.removeLayoutElement(e.id);return this.layoutElements.push(e),t},SurveyModel.prototype.findLayoutElement=function(e){return this.layoutElements.filter(function(t){return t.id===e})[0]},SurveyModel.prototype.removeLayoutElement=function(e){var t=this.findLayoutElement(e);if(t){var o=this.layoutElements.indexOf(t);this.layoutElements.splice(o,1)}return t},SurveyModel.prototype.getContainerContent=function(e){for(var t=[],o=0,n=this.layoutElements;o<n.length;o++){var r=n[o];if("display"!==this.mode&&isStrCiEqual(r.id,"timerpanel"))"header"===e&&this.isTimerPanelShowingOnTop&&!this.isShowStartingPage&&t.push(r),"footer"===e&&this.isTimerPanelShowingOnBottom&&!this.isShowStartingPage&&t.push(r);else if("running"===this.state&&isStrCiEqual(r.id,this.progressBarComponentName)){if("singlePage"!=this.questionsOnPageMode||"questions"==this.progressBarType){var i=this.findLayoutElement("advanced-header"),s=i&&i.data,a=!s||s.hasBackground;isStrCiEqual(this.showProgressBar,"aboveHeader")&&(a=!1),isStrCiEqual(this.showProgressBar,"belowHeader")&&(a=!0),"header"!==e||a||(r.index=-150,this.isShowProgressBarOnTop&&!this.isShowStartingPage&&t.push(r)),"center"===e&&a&&(r.index&&delete r.index,this.isShowProgressBarOnTop&&!this.isShowStartingPage&&t.push(r)),"footer"===e&&this.isShowProgressBarOnBottom&&!this.isShowStartingPage&&t.push(r)}}else isStrCiEqual(r.id,"buttons-navigation")?("contentTop"===e&&this.isNavigationButtonsShowingOnTop&&t.push(r),"contentBottom"===e&&this.isNavigationButtonsShowingOnBottom&&t.push(r)):"running"===this.state&&isStrCiEqual(r.id,"toc-navigation")&&this.showTOC?("left"===e&&-1!==["left","both"].indexOf(this.tocLocation)&&t.push(r),"right"===e&&-1!==["right","both"].indexOf(this.tocLocation)&&t.push(r)):isStrCiEqual(r.id,"advanced-header")?("running"===this.state||"starting"===this.state||!0===this.showHeaderOnCompletePage&&"completed"===this.state)&&r.container===e&&t.push(r):(Array.isArray(r.container)&&-1!==r.container.indexOf(e)||r.container===e)&&t.push(r)}return t.sort(function(e,t){return(e.index||0)-(t.index||0)}),t},SurveyModel.prototype.processPopupVisiblityChanged=function(e,t,o){this.onPopupVisibleChanged.fire(this,{question:e,popup:t,visible:o})},SurveyModel.prototype.processOpenDropdownMenu=function(e,t){var o=Object.assign({question:e},t);this.onOpenDropdownMenu.fire(this,o),t.menuType=o.menuType},SurveyModel.prototype.getCssTitleExpandableSvg=function(){return null},SurveyModel.prototype.applyTheme=function(e){var t=this;if(e){if(Object.keys(e).forEach(function(o){"header"!==o&&("isPanelless"===o?t.isCompact=e[o]:t[o]=e[o])}),"advanced"===this.headerView||"header"in e){this.removeLayoutElement("advanced-header");var o=new r6;o.fromTheme(e),this.insertAdvancedHeader(o)}this.themeChanged(e)}},SurveyModel.prototype.themeChanged=function(e){this.getAllQuestions().forEach(function(t){return t.themeChanged(e)})},SurveyModel.prototype.dispose=function(){if(this.unConnectEditingObj(),this.removeScrollEventListener(),this.destroyResizeObserver(),this.rootElement=void 0,this.layoutElements){for(var t=0;t<this.layoutElements.length;t++)this.layoutElements[t].data&&this.layoutElements[t].data!==this&&this.layoutElements[t].data.dispose&&this.layoutElements[t].data.dispose();this.layoutElements.splice(0,this.layoutElements.length)}if(e.prototype.dispose.call(this),this.editingObj=null,this.pages){this.currentPage=null;for(var t=0;t<this.pages.length;t++)this.pages[t].setSurveyImpl(void 0),this.pages[t].dispose();this.pages.splice(0,this.pages.length),this.disposeCallback&&this.disposeCallback()}},SurveyModel.prototype._isElementShouldBeSticky=function(e){if(!e)return!1;var t=this.rootElement.querySelector(e);return!!t&&this.rootElement.scrollTop>0&&t.getBoundingClientRect().y<=this.rootElement.getBoundingClientRect().y},SurveyModel.prototype.onScroll=function(){this.rootElement&&(this._isElementShouldBeSticky(".sv-components-container-center")?this.rootElement.classList&&this.rootElement.classList.add("sv-root--sticky-top"):this.rootElement.classList&&this.rootElement.classList.remove("sv-root--sticky-top")),this.onScrollCallback&&this.onScrollCallback()},SurveyModel.prototype.addScrollEventListener=function(){var e,t=this;this.scrollHandler=function(){t.onScroll()},this.rootElement.addEventListener("scroll",this.scrollHandler),this.rootElement.getElementsByTagName("form")[0]&&this.rootElement.getElementsByTagName("form")[0].addEventListener("scroll",this.scrollHandler),this.css.rootWrapper&&(null===(e=this.rootElement.getElementsByClassName(this.css.rootWrapper)[0])||void 0===e||e.addEventListener("scroll",this.scrollHandler))},SurveyModel.prototype.removeScrollEventListener=function(){var e;this.rootElement&&this.scrollHandler&&(this.rootElement.removeEventListener("scroll",this.scrollHandler),this.rootElement.getElementsByTagName("form")[0]&&this.rootElement.getElementsByTagName("form")[0].removeEventListener("scroll",this.scrollHandler),this.css.rootWrapper&&(null===(e=this.rootElement.getElementsByClassName(this.css.rootWrapper)[0])||void 0===e||e.removeEventListener("scroll",this.scrollHandler)))},SurveyModel.TemplateRendererComponentName="sv-template-renderer",SurveyModel.platform="unknown",survey_decorate([jsonobject_property()],SurveyModel.prototype,"completedCss",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"completedBeforeCss",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"loadingBodyCss",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"containerCss",void 0),survey_decorate([jsonobject_property({onSet:function(e,t){t.updateCss()}})],SurveyModel.prototype,"fitToContainer",void 0),survey_decorate([jsonobject_property({onSet:function(e,t){if("advanced"===e){if(!t.findLayoutElement("advanced-header")){var o=new r6;o.logoPositionX="right"===t.logoPosition?"right":"left",o.logoPositionY="middle",o.titlePositionX="right"===t.logoPosition?"left":"right",o.titlePositionY="middle",o.descriptionPositionX="right"===t.logoPosition?"left":"right",o.descriptionPositionY="middle",t.insertAdvancedHeader(o)}}else t.removeLayoutElement("advanced-header")}})],SurveyModel.prototype,"headerView",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"showBrandInfo",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"enterKeyAction",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"lazyRenderingFirstBatchSizeValue",void 0),survey_decorate([jsonobject_property({defaultValue:!0})],SurveyModel.prototype,"titleIsEmpty",void 0),survey_decorate([jsonobject_property({defaultValue:{}})],SurveyModel.prototype,"cssVariables",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"_isMobile",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"_isCompact",void 0),survey_decorate([jsonobject_property({onSet:function(e,t){t.updateCss()}})],SurveyModel.prototype,"backgroundImage",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"renderBackgroun
5dImage",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"backgroundImageFit",void 0),survey_decorate([jsonobject_property({onSet:function(e,t){t.updateCss()}})],SurveyModel.prototype,"backgroundImageAttachment",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"backgroundImageStyle",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"wrapperFormCss",void 0),survey_decorate([jsonobject_property({getDefaultValue:function(e){return"buttons"===e.progressBarType}})],SurveyModel.prototype,"progressBarShowPageTitles",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"progressBarShowPageNumbers",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"progressBarInheritWidthFrom",void 0),survey_decorate([jsonobject_property({defaultValue:!0})],SurveyModel.prototype,"validationEnabled",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"rootCss",void 0),survey_decorate([jsonobject_property({onSet:function(e,t){t.updateGridColumns()}})],SurveyModel.prototype,"gridLayoutEnabled",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"calculatedWidthMode",void 0),survey_decorate([jsonobject_property({defaultValue:100,onSet:function(e,t,o){t.pages.forEach(function(e){return e.updateRootStyle()})}})],SurveyModel.prototype,"widthScale",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"staticStartWidth",void 0),survey_decorate([jsonobject_property()],SurveyModel.prototype,"responsiveStartWidth",void 0),survey_decorate([propertyArray()],SurveyModel.prototype,"layoutElements",void 0),SurveyModel}(nh);function isStrCiEqual(e,t){return!!e&&!!t&&e.toUpperCase()===t.toUpperCase()}ov.addClass("survey",[{name:"locale",choices:function(){return oo.getLocales(!0)},onGetValue:function(e){return e.locale==oo.defaultLocale?null:e.locale}},{name:"title",serializationProperty:"locTitle",dependsOn:"locale"},{name:"description:text",serializationProperty:"locDescription",dependsOn:"locale"},{name:"logo:file",serializationProperty:"locLogo"},{name:"logoWidth",default:"300px",minValue:0},{name:"logoHeight",default:"200px",minValue:0},{name:"logoFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"logoPosition",default:"left",choices:["none","left","right","top","bottom"]},{name:"focusFirstQuestionAutomatic:boolean"},{name:"focusOnFirstError:boolean",default:!0},{name:"completedHtml:html",serializationProperty:"locCompletedHtml"},{name:"completedBeforeHtml:html",serializationProperty:"locCompletedBeforeHtml"},{name:"completedHtmlOnCondition:htmlconditions",className:"htmlconditionitem",isArray:!0},{name:"loadingHtml:html",serializationProperty:"locLoadingHtml"},{name:"pages:surveypages",className:"page",isArray:!0,onSerializeValue:function(e){return e.originalPages||e.pages}},{name:"elements",alternativeName:"questions",baseClassName:"question",visible:!1,isLightSerializable:!1,onGetValue:function(e){return null},onSetValue:function(e,t,o){e.pages.splice(0,e.pages.length);var n=e.addNewPage("");o.toObject({questions:t},n,null==o?void 0:o.options)}},{name:"triggers:triggers",baseClassName:"surveytrigger",classNamePart:"trigger"},{name:"calculatedValues:calculatedvalues",className:"calculatedvalue",isArray:!0},{name:"sjsVersion",visible:!1},{name:"surveyId",visible:!1},{name:"surveyPostId",visible:!1},{name:"surveyShowDataSaving:boolean",visible:!1},"cookieName","sendResultOnPageNext:boolean",{name:"showNavigationButtons",default:"bottom",choices:["none","top","bottom","both"]},{name:"showPrevButton:boolean",default:!0,visibleIf:function(e){return"none"!==e.showNavigationButtons}},{name:"showTitle:boolean",default:!0},{name:"showPageTitles:boolean",default:!0},{name:"showCompletedPage:boolean",default:!0},"navigateToUrl",{name:"navigateToUrlOnCondition:urlconditions",className:"urlconditionitem",isArray:!0},{name:"questionsOrder",default:"initial",choices:["initial","random"]},{name:"matrixDragHandleArea",visible:!1,default:"entireItem",choices:["entireItem","icon"]},"showPageNumbers:boolean",{name:"showQuestionNumbers",default:"on",choices:["on","onPage","off"]},{name:"questionTitleLocation",default:"top",choices:["top","bottom","left"]},{name:"questionDescriptionLocation",default:"underTitle",choices:["underInput","underTitle"]},{name:"questionErrorLocation",default:"top",choices:["top","bottom"]},{name:"showProgressBar",default:"off",choices:["off","auto","aboveheader","belowheader","bottom","topbottom"]},{name:"progressBarType",default:"pages",choices:["pages","questions","requiredQuestions","correctQuestions"],visibleIf:function(e){return"off"!==e.showProgressBar}},{name:"progressBarShowPageTitles:switch",category:"navigation",visibleIf:function(e){return"off"!==e.showProgressBar&&"pages"===e.progressBarType}},{name:"progressBarShowPageNumbers:switch",default:!1,category:"navigation",visibleIf:function(e){return"off"!==e.showProgressBar&&"pages"===e.progressBarType}},{name:"progressBarInheritWidthFrom",default:"container",choices:["container","survey"],category:"navigation",visibleIf:function(e){return"off"!==e.showProgressBar&&"pages"===e.progressBarType}},{name:"showTOC:switch",default:!1},{name:"tocLocation",default:"left",choices:["left","right"],dependsOn:["showTOC"],visibleIf:function(e){return!!e&&e.showTOC}},{name:"mode",default:"edit",choices:["edit","display"]},{name:"storeOthersAsComment:boolean",default:!0},{name:"maxTextLength:number",default:0,minValue:0},{name:"maxOthersLength:number",default:0,minValue:0},{name:"goNextPageAutomatic:boolean",onSetValue:function(e,t){"autogonext"!==t&&(t=oe.isTwoValueEquals(t,!0)),e.setPropertyValue("goNextPageAutomatic",t)}},{name:"allowCompleteSurveyAutomatic:boolean",default:!0,visibleIf:function(e){return!0===e.goNextPageAutomatic}},{name:"clearInvisibleValues",default:"onComplete",choices:["none","onComplete","onHidden","onHiddenContainer"]},{name:"checkErrorsMode",default:"onNextPage",choices:["onNextPage","onValueChanged","onComplete"]},{name:"validateVisitedEmptyFields:boolean",dependsOn:"checkErrorsMode",visibleIf:function(e){return"onValueChanged"===e.checkErrorsMode}},{name:"textUpdateMode",default:"onBlur",choices:["onBlur","onTyping"]},{name:"autoGrowComment:boolean",default:!1},{name:"allowResizeComment:boolean",default:!0},{name:"commentAreaRows:number",minValue:1},{name:"startSurveyText",serializationProperty:"locStartSurveyText",visibleIf:function(e){return e.firstPageIsStarted}},{name:"pagePrevText",serializationProperty:"locPagePrevText",visibleIf:function(e){return"none"!==e.showNavigationButtons&&e.showPrevButton}},{name:"pageNextText",serializationProperty:"locPageNextText",visibleIf:function(e){return"none"!==e.showNavigationButtons}},{name:"completeText",serializationProperty:"locCompleteText",visibleIf:function(e){return"none"!==e.showNavigationButtons}},{name:"previewText",serializationProperty:"locPreviewText",visibleIf:function(e){return"noPreview"!==e.showPreviewBeforeComplete}},{name:"editText",serializationProperty:"locEditText",visibleIf:function(e){return"noPreview"!==e.showPreviewBeforeComplete}},{name:"requiredText",default:"*"},{name:"questionStartIndex",dependsOn:["showQuestionNumbers"],visibleIf:function(e){return!e||"off"!==e.showQuestionNumbers}},{name:"questionTitlePattern",default:"numTitleRequire",dependsOn:["questionStartIndex","requiredText"],choices:function(e){return e?e.getQuestionTitlePatternOptions():[]}},{name:"questionTitleTemplate",visible:!1,isSerializable:!1,serializationProperty:"locQuestionTitleTemplate"},{name:"firstPageIsStarted:boolean",default:!1},{name:"isSinglePage:boolean",default:!1,visible:!1,isSerializable:!1},{name:"questionsOnPageMode",default:"standard",choices:["standard","singlePage","questionPerPage"]},{name:"showPreviewBeforeComplete",default:"noPreview",choices:["noPreview","showAllQuestions","showAnsweredQuestions"]},{name:"showTimer:boolean"},{name:"timeLimit:number",alternativeName:"maxTimeToFinish",default:0,minValue:0,enableIf:function(e){return e.showTimer}},{name:"timeLimitPerPage:number",alternativeName:"maxTimeToFinishPage",default:0,minValue:0,enableIf:function(e){return e.showTimer}},{name:"timerLocation",default:"top",choices:["top","bottom"],enableIf:function(e){return e.showTimer}},{name:"timerInfoMode",alternativeName:"showTimerPanelMode",default:"combined",choices:["page","survey","combined"],enableIf:function(e){return e.showTimer}},{name:"showTimerPanel",visible:!1,isSerializable:!1},{name:"widthMode",default:"auto",choices:["auto","static","responsive"]},{name:"gridLayoutEnabled:boolean",default:!1},{name:"width",visibleIf:function(e){return"static"===e.widthMode}},{name:"fitToContainer:boolean",default:!0,visible:!1},{name:"headerView",default:"basic",choices:["basic","advanced"],visible:!1},{name:"backgroundImage:file",visible:!1},{name:"backgroundImageFit",default:"cover",choices:["auto","contain","cover"],visible:!1},{name:"backgroundImageAttachment",default:"scroll",choices:["scroll","fixed"],visible:!1},{name:"backgroundOpacity:number",minValue:0,maxValue:1,default:1,visible:!1},{name:"showBrandInfo:boolean",default:!1,visible:!1}]);var ib=(z=function(e,t){return(z=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_baseselect_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ix=function(e){function QuestionSelectBase(t){var o=e.call(this,t)||this;o.otherItemValue=new n0("other"),o.isSettingDefaultValue=!1,o.isSettingComment=!1,o.isRunningChoices=!1,o.isFirstLoadChoicesFromUrl=!0,o.isUpdatingChoicesDependedQuestions=!1,o._renderedChoices=[],o.renderedChoicesAnimation=new nc(o.getRenderedChoicesAnimationOptions(),function(e){o._renderedChoices=e,o.renderedChoicesChangedCallback&&o.renderedChoicesChangedCallback()},function(){return o._renderedChoices}),o.headItemsCount=0,o.footItemsCount=0,o.noneItemValue=o.createDefaultItem(nC.noneItemValue,"noneText","noneItemText"),o.refuseItemValue=o.createDefaultItem(nC.refuseItemValue,"refuseText","refuseItemText"),o.dontKnowItemValue=o.createDefaultItem(nC.dontKnowItemValue,"dontKnowText","dontKnowItemText"),o.createItemValues("choices"),o.registerPropertyChangedHandlers(["choices"],function(){o.filterItems()||o.onVisibleChoicesChanged()}),o.registerPropertyChangedHandlers(["choicesFromQuestion","choicesFromQuestionMode","choiceValuesFromQuestion","choiceTextsFromQuestion","showNoneItem","showRefuseItem","showDontKnowItem","isUsingRestful","isMessagePanelVisible"],function(){o.onVisibleChoicesChanged()}),o.registerPropertyChangedHandlers(["hideIfChoicesEmpty"],function(){o.onVisibleChanged()}),o.createNewArray("visibleChoices",function(){return o.updateRenderedChoices()},function(){return o.updateRenderedChoices()}),o.setNewRestfulProperty();var n=o.createLocalizableString("otherText",o.otherItemValue,!0,"otherItemText");return o.createLocalizableString("otherErrorText",o,!0,"otherRequiredError"),o.otherItemValue.locOwner=o,o.otherItemValue.setLocText(n),o.choicesByUrl.createItemValue=function(e){return o.createItemValue(e)},o.choicesByUrl.beforeSendRequestCallback=function(){o.onBeforeSendRequest()},o.choicesByUrl.getResultCallback=function(e){o.onLoadChoicesFromUrl(e)},o.choicesByUrl.updateResultCallback=function(e,t){return o.survey?o.survey.updateChoicesFromServer(o,e,t):e},o}return ib(QuestionSelectBase,e),Object.defineProperty(QuestionSelectBase.prototype,"waitingChoicesByURL",{get:function(){return!this.isChoicesLoaded&&this.hasChoicesUrl},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getType=function(){return"selectbase"},QuestionSelectBase.prototype.dispose=function(){e.prototype.dispose.call(this);var t=this.getQuestionWithChoices();t&&t.removeDependedQuestion(this)},Object.defineProperty(QuestionSelectBase.prototype,"otherTextAreaModel",{get:function(){return this.otherTextAreaModelValue||(this.otherTextAreaModelValue=new nZ(this.getOtherTextAreaOptions())),this.otherTextAreaModelValue},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getOtherTextAreaOptions=function(){var e=this;return{question:this,id:function(){return e.otherId},propertyNames:["otherValue","comment"],className:function(){return e.cssClasses.other},placeholder:function(){return e.otherPlaceholder},isDisabledAttr:function(){return e.isInputReadOnly||!1},rows:function(){return e.commentAreaRows},maxLength:function(){return e.getOthersMaxLength()},autoGrow:function(){return e.survey&&e.survey.autoGrowComment},ariaRequired:function(){return e.ariaRequired||e.a11y_input_ariaRequired},ariaLabel:function(){return e.ariaLabel||e.a11y_input_ariaLabel},getTextValue:function(){return e.otherValue},onTextAreaChange:function(t){e.onOtherValueChange(t)}
vendor: 12,939 bytes, line 5
5,onTextAreaInput:function(t){e.onOtherValueInput(t)}}},QuestionSelectBase.prototype.resetDependedQuestion=function(){this.choicesFromQuestion=""},Object.defineProperty(QuestionSelectBase.prototype,"otherId",{get:function(){return this.id+"_other"},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getCommentElementsId=function(){return[this.commentId,this.otherId]},QuestionSelectBase.prototype.getItemValueType=function(){return"itemvalue"},QuestionSelectBase.prototype.createItemValue=function(e,t){var o=ov.createClass(this.getItemValueType(),{value:e});return o.locOwner=this,t&&(o.text=t),o},QuestionSelectBase.prototype.hasErrors=function(t,o){return void 0===t&&(t=!0),void 0===o&&(o=null),o&&!0===o.isOnValueChanged||this.clearIncorrectValues(),e.prototype.hasErrors.call(this,t,o)},Object.defineProperty(QuestionSelectBase.prototype,"isUsingCarryForward",{get:function(){return!!this.carryForwardQuestionType},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"carryForwardQuestionType",{get:function(){return this.getPropertyValue("carryForwardQuestionType")},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.setCarryForwardQuestionType=function(e,t){this.setPropertyValue("carryForwardQuestionType",e?"select":t?"array":void 0)},Object.defineProperty(QuestionSelectBase.prototype,"isUsingRestful",{get:function(){return this.getPropertyValueWithoutDefault("isUsingRestful")||!1},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.updateIsUsingRestful=function(){this.setPropertyValueDirectly("isUsingRestful",this.hasChoicesUrl)},QuestionSelectBase.prototype.supportGoNextPageError=function(){return!this.isOtherSelected||!!this.otherValue},QuestionSelectBase.prototype.isLayoutTypeSupported=function(e){return!0},QuestionSelectBase.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),"none"!==this.choicesOrder&&(this.updateVisibleChoices(),this.onVisibleChoicesChanged())},QuestionSelectBase.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.choicesFromUrl&&(n0.locStrsChanged(this.choicesFromUrl),n0.locStrsChanged(this.visibleChoices)),this.isUsingCarryForward&&n0.locStrsChanged(this.visibleChoices)},QuestionSelectBase.prototype.updatePrevOtherErrorValue=function(e){var t=this.otherValue;e!==t&&(this.prevOtherErrorValue=t)},Object.defineProperty(QuestionSelectBase.prototype,"otherValue",{get:function(){return this.showCommentArea?this.otherValueCore:this.comment},set:function(e){this.updatePrevOtherErrorValue(e),this.showCommentArea?this.setOtherValueInternally(e):this.comment=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"otherValueCore",{get:function(){return this.getPropertyValue("otherValue")},set:function(e){this.setPropertyValue("otherValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"otherItem",{get:function(){return this.otherItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"isOtherSelected",{get:function(){return this.hasOther&&this.getHasOther(this.renderedValue)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"isNoneSelected",{get:function(){return this.showNoneItem&&this.getIsItemValue(this.renderedValue,this.noneItem)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"showNoneItem",{get:function(){return this.getPropertyValue("showNoneItem")},set:function(e){this.setPropertyValue("showNoneItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"hasNone",{get:function(){return this.showNoneItem},set:function(e){this.showNoneItem=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"noneItem",{get:function(){return this.noneItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"noneText",{get:function(){return this.getLocalizableStringText("noneText")},set:function(e){this.setLocalizableStringText("noneText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"locNoneText",{get:function(){return this.getLocalizableString("noneText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"showRefuseItem",{get:function(){return this.getPropertyValue("showRefuseItem")},set:function(e){this.setPropertyValue("showRefuseItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"refuseItem",{get:function(){return this.refuseItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"refuseText",{get:function(){return this.getLocalizableStringText("refuseText")},set:function(e){this.setLocalizableStringText("refuseText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"locRefuseText",{get:function(){return this.getLocalizableString("refuseText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"showDontKnowItem",{get:function(){return this.getPropertyValue("showDontKnowItem")},set:function(e){this.setPropertyValue("showDontKnowItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"dontKnowItem",{get:function(){return this.dontKnowItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"dontKnowText",{get:function(){return this.getLocalizableStringText("dontKnowText")},set:function(e){this.setLocalizableStringText("dontKnowText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"locDontKnowText",{get:function(){return this.getLocalizableString("dontKnowText")},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.createDefaultItem=function(e,t,o){var n=new n0(e),r=this.createLocalizableString(t,n,!0,o);return n.locOwner=this,n.setLocText(r),n},Object.defineProperty(QuestionSelectBase.prototype,"choicesVisibleIf",{get:function(){return this.getPropertyValue("choicesVisibleIf","")},set:function(e){this.setPropertyValue("choicesVisibleIf",e),this.filterItems()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"choicesEnableIf",{get:function(){return this.getPropertyValue("choicesEnableIf","")},set:function(e){this.setPropertyValue("choicesEnableIf",e),this.filterItems()},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.surveyChoiceItemVisibilityChange=function(){this.filterItems()},QuestionSelectBase.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),this.runItemsEnableCondition(t,o),this.runItemsCondition(t,o),this.choices.forEach(function(e){e.runConditionCore(t,o)})},QuestionSelectBase.prototype.isTextValue=function(){return!0},QuestionSelectBase.prototype.setDefaultValue=function(){this.isSettingDefaultValue=!this.isValueEmpty(this.defaultValue)&&this.hasUnknownValue(this.defaultValue),this.prevOtherValue=void 0;var t=this.comment;e.prototype.setDefaultValue.call(this),this.isSettingDefaultValue=!1,this.comment&&this.getStoreOthersAsComment()&&t!==this.comment&&(this.setValueCore(this.setOtherValueIntoValue(this.value)),this.setCommentIntoData(this.comment))},QuestionSelectBase.prototype.getIsMultipleValue=function(){return!1},QuestionSelectBase.prototype.convertDefaultValue=function(e){if(null==e||void 0==e)return e;if(this.getIsMultipleValue()){if(!Array.isArray(e))return[e]}else if(Array.isArray(e)&&e.length>0)return e[0];return e},QuestionSelectBase.prototype.filterItems=function(){if(this.isLoadingFromJson||!this.data||this.areInvisibleElementsShowing)return!1;var e=this.getDataFilteredValues(),t=this.getDataFilteredProperties();return this.runItemsEnableCondition(e,t),this.runItemsCondition(e,t)},QuestionSelectBase.prototype.runItemsCondition=function(e,t){this.setConditionalChoicesRunner();var o=this.runConditionsForItems(e,t);return this.filteredChoicesValue&&this.filteredChoicesValue.length===this.activeChoices.length&&(this.filteredChoicesValue=void 0),o&&(this.onVisibleChoicesChanged(),this.clearIncorrectValues()),o},QuestionSelectBase.prototype.runItemsEnableCondition=function(e,t){var o=this;this.setConditionalEnableChoicesRunner(),n0.runEnabledConditionsForItems(this.activeChoices,this.conditionChoicesEnableIfRunner,e,t,function(e,t){return t&&o.onEnableItemCallBack(e)})&&this.clearDisabledValues(),this.onAfterRunItemsEnableCondition()},QuestionSelectBase.prototype.onAfterRunItemsEnableCondition=function(){},QuestionSelectBase.prototype.onEnableItemCallBack=function(e){return!0},QuestionSelectBase.prototype.onSelectedItemValuesChangedHandler=function(e){var t;null===(t=this.survey)||void 0===t||t.loadedChoicesFromServer(this)},QuestionSelectBase.prototype.getItemIfChoicesNotContainThisValue=function(e,t){return this.waitingChoicesByURL?this.createItemValue(e,t):null},QuestionSelectBase.prototype.getSingleSelectedItem=function(){var e=this.selectedItemValues;if(this.isEmpty())return null;var t=n0.getItemByValue(this.visibleChoices,this.value);return this.onGetSingleSelectedItem(t),t||e&&this.value==e.id||this.updateSelectedItemValues(),t||e||(this.isOtherSelected?this.otherItem:this.getItemIfChoicesNotContainThisValue(this.value))},QuestionSelectBase.prototype.onGetSingleSelectedItem=function(e){},QuestionSelectBase.prototype.getMultipleSelectedItems=function(){return[]},QuestionSelectBase.prototype.setConditionalChoicesRunner=function(){this.choicesVisibleIf?(this.conditionChoicesVisibleIfRunner||(this.conditionChoicesVisibleIfRunner=new oq(this.choicesVisibleIf)),this.conditionChoicesVisibleIfRunner.expression=this.choicesVisibleIf):this.conditionChoicesVisibleIfRunner=null},QuestionSelectBase.prototype.setConditionalEnableChoicesRunner=function(){this.choicesEnableIf?(this.conditionChoicesEnableIfRunner||(this.conditionChoicesEnableIfRunner=new oq(this.choicesEnableIf)),this.conditionChoicesEnableIfRunner.expression=this.choicesEnableIf):this.conditionChoicesEnableIfRunner=null},QuestionSelectBase.prototype.canSurveyChangeItemVisibility=function(){return!!this.survey&&this.survey.canChangeChoiceItemsVisibility()},QuestionSelectBase.prototype.changeItemVisibility=function(){var e=this;return this.canSurveyChangeItemVisibility()?function(t,o){return e.survey.getChoiceItemVisibility(e,t,o)}:null},QuestionSelectBase.prototype.runConditionsForItems=function(e,t){this.filteredChoicesValue=[];var o=this.changeItemVisibility();return n0.runConditionsForItems(this.activeChoices,this.getFilteredChoices(),this.areInvisibleElementsShowing?null:this.conditionChoicesVisibleIfRunner,e,t,!this.survey||!this.survey.areInvisibleElementsShowing,function(e,t){return o?o(e,t):t})},QuestionSelectBase.prototype.getHasOther=function(e){return this.getIsItemValue(e,this.otherItem)},QuestionSelectBase.prototype.getIsItemValue=function(e,t){return e===t.value},Object.defineProperty(QuestionSelectBase.prototype,"validatedValue",{get:function(){return this.rendredValueToDataCore(this.value)},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.createRestful=function(){return new re},QuestionSelectBase.prototype.setNewRestfulProperty=function(){this.setPropertyValue("choicesByUrl",this.createRestful()),this.choicesByUrl.owner=this,this.choicesByUrl.loadingOwner=this},Object.defineProperty(QuestionSelectBase.prototype,"autoOtherMode",{get:function(){return this.getPropertyValue("autoOtherMode")},set:function(e){this.setPropertyValue("autoOtherMode",e)},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getQuestionComment=function(){return this.showCommentArea?e.prototype.getQuestionComment.call(this):this.otherValueCore?this.otherValueCore:this.hasComment||this.getStoreOthersAsComment()?e.prototype.getQuestionComment.call(this):this.otherValueCore},QuestionSelectBase.prototype.selectOtherValueFromComment=function(e){this.value=e?this.otherItem.value:void 0},QuestionSelectBase.prototype.setQuestionComment=function(t){if(this.updatePrevOtherErrorValue(t),this.showCommentArea){e.prototype.setQuestionComment.call(this,t);return}this.onUpdateCommentOnAutoOtherMode(t),this.getStoreOthersAsComment()?e.prototype.setQuestionComment.call(this,t):this.setOtherValueInternally(t),this.updateChoicesDependedQuestions()},QuestionSelectBase.prototype.onUpdateCommentOnAutoOtherMode=function(e){if(this.autoOtherMode){this.prevOtherValue=void 0;var t=this.isOtherSelected;(!t&&e||t&&!e)&&this.selectOtherValueFromComment(!!e)}},QuestionSelectBase.prototype.setOtherValueInternally=function(e){this.isSettingComment||e==this.otherValueCore||(this.isSettingComment=!0,this.otherValueCore=e,this.isOtherSelected&&!this.isRenderedValueSetting&&(this.value=this.getValueOnSettingOther(e)),this.isSettingComment=!1)},QuestionSelectBase.prototype.getValueOnSettingOther=function(e){var t=this.rendredValueToData(this.renderedValue);
5if(this.showCommentArea||this.getStoreOthersAsComment())return t;var o=n0.getItemByValue(this.visibleChoices,e);if(!o||o===this.otherItem)return t;if(this.otherValueCore="",!Array.isArray(t))return e;var n=t.indexOf(this.otherItem.value);return n>-1&&t.splice(n,1),0>t.indexOf(e)&&t.push(e),t},QuestionSelectBase.prototype.clearValue=function(t){e.prototype.clearValue.call(this,t),this.prevOtherValue=void 0,this.selectedItemValues=void 0},QuestionSelectBase.prototype.updateCommentFromSurvey=function(t){e.prototype.updateCommentFromSurvey.call(this,t),this.prevOtherValue=void 0},Object.defineProperty(QuestionSelectBase.prototype,"renderedValue",{get:function(){return this.getPropertyValue("renderedValue",null)},set:function(e){if(!this.isReadOnlyAttr){this.setPropertyValue("renderedValue",e);var e=this.rendredValueToData(e);this.isTwoValueEquals(e,this.value)||(this.value=e)}},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.setQuestionValue=function(t,o,n){if(void 0===o&&(o=!0),void 0===n&&(n=!0),!(this.isLoadingFromJson||this.isTwoValueEquals(this.value,t))&&(e.prototype.setQuestionValue.call(this,t,o),this.setPropertyValue("renderedValue",this.rendredValueFromData(t)),this.updateChoicesDependedQuestions(),!this.hasComment&&n)){var r=this.isOtherSelected;if(r&&this.prevOtherValue){var i=this.prevOtherValue;this.prevOtherValue=void 0,this.otherValue=i}!r&&this.otherValue&&(this.getStoreOthersAsComment()&&!this.autoOtherMode&&(this.prevOtherValue=this.otherValue),this.makeCommentEmpty=!0,this.otherValueCore="",this.setPropertyValue("comment",""))}},QuestionSelectBase.prototype.setValueCore=function(t){e.prototype.setValueCore.call(this,t),this.makeCommentEmpty&&(this.setCommentIntoData(""),this.makeCommentEmpty=!1)},QuestionSelectBase.prototype.setNewValue=function(t){t=this.valueFromData(t),(this.choicesByUrl.isRunning||this.choicesByUrl.isWaitingForParameters)&&this.isValueEmpty(t)||(this.cachedValueForUrlRequests=t),e.prototype.setNewValue.call(this,t)},QuestionSelectBase.prototype.valueFromData=function(t){var o=n0.getItemByValue(this.activeChoices,t);return o?o.value:e.prototype.valueFromData.call(this,t)},QuestionSelectBase.prototype.rendredValueFromData=function(e){return this.getStoreOthersAsComment()?e:this.renderedValueFromDataCore(e)},QuestionSelectBase.prototype.rendredValueToData=function(e){return this.getStoreOthersAsComment()?e:this.rendredValueToDataCore(e)},QuestionSelectBase.prototype.renderedValueFromDataCore=function(e){return this.hasUnknownValue(e,!0,!1)?(this.otherValue=e,this.otherItem.value):this.valueFromData(e)},QuestionSelectBase.prototype.rendredValueToDataCore=function(e){return e==this.otherItem.value&&this.needConvertRenderedOtherToDataValue()&&(e=this.otherValue),e},QuestionSelectBase.prototype.needConvertRenderedOtherToDataValue=function(){var e=this.otherValue;return!!(e&&(e=e.trim()))&&this.hasUnknownValue(e,!0,!1)},QuestionSelectBase.prototype.getIsQuestionReady=function(){return e.prototype.getIsQuestionReady.call(this)&&!this.waitingChoicesByURL&&!this.waitingGetChoiceDisplayValueResponse},QuestionSelectBase.prototype.updateSelectedItemValues=function(){var e=this;if(!(this.waitingGetChoiceDisplayValueResponse||!this.survey||this.isEmpty())){var t=this.value,o=Array.isArray(t)?t:[t];o.some(function(t){return!n0.getItemByValue(e.choices,t)})&&(this.choicesLazyLoadEnabled||this.hasChoicesUrl)&&(this.waitingGetChoiceDisplayValueResponse=!0,this.updateIsReady(),this.survey.getChoiceDisplayValue({question:this,values:o,setItems:function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(e.waitingGetChoiceDisplayValueResponse=!1,!n||!n.length){e.updateIsReady();return}var s=n.map(function(t,n){return e.createItemValue(o[n],t)});e.setCustomValuesIntoItems(s,r),Array.isArray(t)?e.selectedItemValues=s:e.selectedItemValues=s[0],e.updateIsReady()}}))}},QuestionSelectBase.prototype.setCustomValuesIntoItems=function(e,t){Array.isArray(t)&&0!==t.length&&t.forEach(function(t){var o=t.values,n=t.propertyName;if(Array.isArray(o))for(var r=0;r<e.length&&r<o.length;r++)e[r][n]=o[r]})},QuestionSelectBase.prototype.hasUnknownValue=function(e,t,o,n){if(void 0===t&&(t=!1),void 0===o&&(o=!0),void 0===n&&(n=!1),!Array.isArray(e))return this.hasUnknownValueItem(e,t,o,n);for(var r=0;r<e.length;r++)if(this.hasUnknownValueItem(e,t,o,n))return!0;return!1},QuestionSelectBase.prototype.hasUnknownValueItem=function(e,t,o,n){if(void 0===t&&(t=!1),void 0===o&&(o=!0),void 0===n&&(n=!1),!n&&this.isValueEmpty(e)||t&&e==this.otherItem.value||this.showNoneItem&&e==this.noneItem.value||this.showRefuseItem&&e==this.refuseItem.value||this.showDontKnowItem&&e==this.dontKnowItem.value)return!1;var r=o?this.getFilteredChoices():this.activeChoices;return null==n0.getItemByValue(r,e)},QuestionSelectBase.prototype.isValueDisabled=function(e){var t=n0.getItemByValue(this.getFilteredChoices(),e);return!!t&&!t.isEnabled},QuestionSelectBase.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.updateVisibleChoices()},Object.defineProperty(QuestionSelectBase.prototype,"choicesByUrl",{get:function(){return this.getPropertyValue("choicesByUrl")}
vendor: 2,191 bytes, line 5
5,set:function(e){e&&(this.setNewRestfulProperty(),this.choicesByUrl.fromJSON(e.toJSON()))},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"choices",{get:function(){return this.getPropertyValue("choices")},set:function(e){this.setPropertyValue("choices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"choicesFromQuestion",{get:function(){return this.getPropertyValue("choicesFromQuestion")},set:function(e){var t=this.getQuestionWithChoices();this.isLockVisibleChoices=!!t&&t.name===e,t&&t.name!==e&&(t.removeDependedQuestion(this),this.isInDesignMode&&!this.isLoadingFromJson&&e&&this.setPropertyValue("choicesFromQuestion",void 0)),this.setPropertyValue("choicesFromQuestion",e),this.isLockVisibleChoices=!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"choicesFromQuestionMode",{get:function(){return this.getPropertyValue("choicesFromQuestionMode")},set:function(e){this.setPropertyValue("choicesFromQuestionMode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"choiceValuesFromQuestion",{get:function(){return this.getPropertyValue("choiceValuesFromQuestion")},set:function(e){this.setPropertyValue("choiceValuesFromQuestion",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"choiceTextsFromQuestion",{get:function(){return this.getPropertyValue("choiceTextsFromQuestion")},set:function(e){this.setPropertyValue("choiceTextsFromQuestion",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"hideIfChoicesEmpty",{get:function(){return this.getPropertyValue("hideIfChoicesEmpty")},set:function(e){this.setPropertyValue("hideIfChoicesEmpty",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"keepIncorrectValues",{get:function(){return this.getPropertyValue("keepIncorrectValues",!1)},set:function(e){this.setPropertyValue("keepIncorrectValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"storeOthersAsComment",{get:function(){return this.getPropertyValue("storeOthersAsComment")}
5,set:function(e){this.setPropertyValue("storeOthersAsComment",e)},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.hasOtherChanged=function(){this.onVisibleChoicesChanged()},Object.defineProperty(QuestionSelectBase.prototype,"choicesOrder",{get:function(){return this.getPropertyValue("choicesOrder")},set:function(e){(e=e.toLowerCase())!=this.choicesOrder&&(this.setPropertyValue("choicesOrder",e),this.onVisibleChoicesChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"otherText",{get:function(){return this.getLocalizableStringText("otherText")},set:function(e){this.setLocalizableStringText("otherText",e),this.onVisibleChoicesChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"locOtherText",{get:function(){return this.getLocalizableString("otherText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"otherPlaceHolder",{get:function(){return this.otherPlaceholder},set:function(e){this.otherPlaceholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"otherErrorText",{get:function(){return this.getLocalizableStringText("otherErrorText")},set:function(e){this.setLocalizableStringText("otherErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"locOtherErrorText",{get:function(){return this.getLocalizableString("otherErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"visibleChoices",{get:function(){return this.getPropertyValue("visibleChoices")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"enabledChoices",{get:function(){for(var e=[],t=this.visibleChoices,o=0;o<t.length;o++)t[o].isEnabled&&e.push(t[o]);return e},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.updateVisibleChoices=function(){if(!this.isLoadingFromJson&&!this.isDisposed){var e=[],t=this.calcVisibleChoices();t||(t=[]);for(var o=0;o<t.length;o++)e.push(t[o]);var n=this.visibleChoices;(!this.isTwoValueEquals(n,e)||this.choicesLazyLoadEnabled)&&(this.setArrayPropertyDirectly("visibleChoices",e),this.updateRenderedChoices())}},QuestionSelectBase.prototype.calcVisibleChoices=function(){if(this.canUseFilteredChoices())return this.getFilteredChoices();var e=this.sortVisibleChoices(this.getFilteredChoices().slice());return this.addToVisibleChoices(e,this.isAddDefaultItems),e},QuestionSelectBase.prototype.canUseFilteredChoices=function(){return!this.isAddDefaultItems&&!this.showNoneItem&&!this.showRefuseItem&&!this.showDontKnowItem&&!this.hasOther&&"none"==this.choicesOrder},QuestionSelectBase.prototype.setCanShowOptionItemCallback=function(e){this.canShowOptionItemCallback=e,e&&this.onVisibleChoicesChanged()},Object.defineProperty(QuestionSelectBase.prototype,"newItem",{get:function(){return this.newItemValue},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.addToVisibleChoices=function(e,t){this.headItemsCount=0,this.footItemsCount=0,this.isEmptyActiveChoicesInDesign||this.addNewItemToVisibleChoices(e,t);var o=[];this.addNonChoicesItems(o,t),o.sort(function(e,t){return e.index===t.index?0:e.index<t.index?-1:1});for(var n=0;n<o.length;n++){var r=o[n];r.index<0?(e.splice(n,0,r.item),this.headItemsCount++):(e.push(r.item),this.footItemsCount++)}},QuestionSelectBase.prototype.addNewItemToVisibleChoices=function(e,t){var o=this;t&&(this.newItemValue||(this.newItemValue=this.createItemValue("newitem"),this.newItemValue.isGhost=!0,this.newItemValue.registerFunctionOnPropertyValueChanged("isVisible",function(){o.updateVisibleChoices()})),this.newItemValue.isVisible&&!this.isUsingCarryForward&&this.canShowOptionItem(this.newItemValue,t,!1)&&(this.footItemsCount=1,e.push(this.newItemValue)))},QuestionSelectBase.prototype.addNonChoicesItems=function(e,t){this.supportNone()&&this.addNonChoiceItem(e,this.noneItem,t,this.showNoneItem,nC.specialChoicesOrder.noneItem),this.supportRefuse()&&this.addNonChoiceItem(e,this.refuseItem,t,this.showRefuseItem,nC.specialChoicesOrder.refuseItem),this.supportDontKnow()&&this.addNonChoiceItem(e,this.dontKnowItem,t,this.showDontKnowItem,nC.specialChoicesOrder.dontKnowItem),this.supportOther()&&this.addNonChoiceItem(e,this.otherItem,t,this.hasOther,nC.specialChoicesOrder.otherItem)},QuestionSelectBase.prototype.addNonChoiceItem=function(e,t,o,n,r){this.canShowOptionItem(t,o,n)&&r.forEach(function(o){return e.push({index:o,item:t})})},QuestionSelectBase.prototype.canShowOptionItem=function(e,t,o){var n=t&&(!this.canShowOptionItemCallback||this.canShowOptionItemCallback(e))||o;return this.canSurveyChangeItemVisibility()?this.changeItemVisibility()(e,n):n},QuestionSelectBase.prototype.isItemInList=function(e){return e===this.otherItem?this.hasOther:e===this.noneItem?this.showNoneItem:e===this.refuseItem?this.showRefuseItem:e===this.dontKnowItem?this.showDontKnowItem:e!==this.newItemValue},Object.defineProperty(QuestionSelectBase.prototype,"isAddDefaultItems",{get:function(){return nC.showDefaultItemsInCreatorV2&&this.isInDesignModeV2&&!this.customWidget}
5,enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getPlainData=function(t){var o=this;void 0===t&&(t={includeEmpty:!0,includeQuestionTypes:!1});var n=e.prototype.getPlainData.call(this,t);if(n){var r=Array.isArray(this.value)?this.value:[this.value];n.isNode=!0,n.data=(n.data||[]).concat(r.map(function(e,n){var r=n0.getItemByValue(o.visibleChoices,e),i={name:n,title:"Choice",value:e,displayValue:o.getChoicesDisplayValue(o.visibleChoices,e),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1};return r&&(t.calculations||[]).forEach(function(e){i[e.propertyName]=r[e.propertyName]}),o.isOtherSelected&&o.otherItemValue===r&&(i.isOther=!0,i.displayValue=o.otherValue),i}))}return n},QuestionSelectBase.prototype.getDisplayValueCore=function(e,t){return this.useDisplayValuesInDynamicTexts?this.getChoicesDisplayValue(this.visibleChoices,t):t},QuestionSelectBase.prototype.getDisplayValueEmpty=function(){return n0.getTextOrHtmlByValue(this.visibleChoices,void 0)},QuestionSelectBase.prototype.getChoicesDisplayValue=function(e,t){if(t==this.otherItemValue.value)return this.otherValue?this.otherValue:this.locOtherText.textOrHtml;var o=this.getSingleSelectedItem();if(o&&this.isTwoValueEquals(o.value,t))return o.locText.textOrHtml;var n=n0.getTextOrHtmlByValue(e,t);return""==n&&t?t:n},QuestionSelectBase.prototype.getDisplayArrayValue=function(e,t,o){for(var n=this,r=this.visibleChoices,i=[],s=[],a=0;a<t.length;a++)s.push(o?o(a):t[a]);if(oe.isTwoValueEquals(this.value,s)&&this.getMultipleSelectedItems().forEac
vendor: 9,328 bytes, line 5
5h(function(e,t){return i.push(n.getItemDisplayValue(e,s[t]))}),0===i.length)for(var a=0;a<s.length;a++){var l=this.getChoicesDisplayValue(r,s[a]);l&&i.push(l)}return i.join(nC.choicesSeparator)},QuestionSelectBase.prototype.getItemDisplayValue=function(e,t){if(e===this.otherItem){if(this.hasOther&&this.showCommentArea&&t)return t;if(this.comment)return this.comment}return e.locText.textOrHtml},QuestionSelectBase.prototype.getFilteredChoices=function(){return this.filteredChoicesValue?this.filteredChoicesValue:this.activeChoices},Object.defineProperty(QuestionSelectBase.prototype,"activeChoices",{get:function(){var e=this.getCarryForwardQuestion();return"select"===this.carryForwardQuestionType?(e.addDependedQuestion(this),this.getChoicesFromSelectQuestion(e)):"array"===this.carryForwardQuestionType?(e.addDependedQuestion(this),this.getChoicesFromArrayQuestion(e)):this.isEmptyActiveChoicesInDesign?[]:this.choicesFromUrl?this.choicesFromUrl:this.getChoices()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"isMessagePanelVisible",{get:function(){return this.getPropertyValue("isMessagePanelVisible",!1)},set:function(e){this.setPropertyValue("isMessagePanelVisible",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"isEmptyActiveChoicesInDesign",{get:function(){return this.isInDesignModeV2&&(this.hasChoicesUrl||this.isMessagePanelVisible)},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getCarryForwardQuestion=function(e){var t=this.findCarryForwardQuestion(e),o=this.getQuestionWithChoicesCore(t),n=o?null:this.getQuestionWithArrayValue(t);return this.setCarryForwardQuestionType(!!o,!!n),o||n?t:null},QuestionSelectBase.prototype.getIsReadyDependsOn=function(){var t=e.prototype.getIsReadyDependsOn.call(this);return this.carryForwardQuestion&&t.push(this.carryForwardQuestion),t},QuestionSelectBase.prototype.getQuestionWithChoices=function(){return this.getQuestionWithChoicesCore(this.findCarryForwardQuestion())},QuestionSelectBase.prototype.findCarryForwardQuestion=function(e){var t;return e||(e=this.data||(null===(t=this.parentQuestion)||void 0===t?void 0:t.data)),this.carryForwardQuestion=null,this.choicesFromQuestion&&e&&(this.carryForwardQuestion=e.findQuestionByName(this.choicesFromQuestion)),this.carryForwardQuestion},QuestionSelectBase.prototype.getQuestionWithChoicesCore=function(e){return e&&e.visibleChoices&&ov.isDescendantOf(e.getType(),"selectbase")&&e!==this?e:null},QuestionSelectBase.prototype.getQuestionWithArrayValue=function(e){return e&&e.isValueArray?e:null},QuestionSelectBase.prototype.getChoicesFromArrayQuestion=function(e){if(this.isInDesignMode)return[];var t=e.value;if(!Array.isArray(t))return[];for(var o=[],n=0;n<t.length;n++){var r=t[n];if(oe.isValueObject(r)){var i=this.getValueKeyName(r);if(i&&!this.isValueEmpty(r[i])){var s=this.choiceTextsFromQuestion?r[this.choiceTextsFromQuestion]:void 0;o.push(this.createItemValue(r[i],s))}}}return o},QuestionSelectBase.prototype.getValueKeyName=function(e){if(this.choiceValuesFromQuestion)return this.choiceValuesFromQuestion;var t=Object.keys(e);return t.length>0?t[0]:void 0},QuestionSelectBase.prototype.getChoicesFromSelectQuestion=function(e){if(this.isInDesignMode)return[];for(var t=[],o="selected"==this.choicesFromQuestionMode||"unselected"!=this.choicesFromQuestionMode&&void 0,n=e.visibleChoices,r=0;r<n.length;r++)if(!e.isBuiltInChoice(n[r])){if(void 0===o){t.push(this.copyChoiceItem(n[r]));continue}var i=e.isItemSelected(n[r]);(i&&o||!i&&!o)&&t.push(this.copyChoiceItem(n[r]))}return"selected"===this.choicesFromQuestionMode&&!this.showOtherItem&&e.isOtherSelected&&e.comment&&t.push(this.createItemValue(e.otherItem.value,e.comment)),t},QuestionSelectBase.prototype.copyChoiceItem=function(e){var t=this.createItemValue(e.value);return t.setData(e),t},Object.defineProperty(QuestionSelectBase.prototype,"hasActiveChoices",{get:function(){var e=this.visibleChoices;e&&0!=e.length||(this.onVisibleChoicesChanged(),e=this.visibleChoices);for(var t=0;t<e.length;t++)if(!this.isBuiltInChoice(e[t]))return!0;return!1},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.isBuiltInChoice=function(e){return this.isNoneItem(e)||e===this.otherItem||e===this.newItemValue},QuestionSelectBase.prototype.isNoneItem=function(e){return this.getNoneItems().indexOf(e)>-1},QuestionSelectBase.prototype.getNoneItems=function(){return[this.noneItem,this.refuseItem,this.dontKnowItem]},QuestionSelectBase.prototype.getChoices=function(){return this.choices},QuestionSelectBase.prototype.supportOther=function(){return this.isSupportProperty("showOtherItem")},QuestionSelectBase.prototype.supportNone=function(){return this.isSupportProperty("showNoneItem")},QuestionSelectBase.prototype.supportRefuse=function(){return this.isSupportProperty("showRefuseItem")},QuestionSelectBase.prototype.supportDontKnow=function(){return this.isSupportProperty("showDontKnowItem")},QuestionSelectBase.prototype.isSupportProperty=function(e){return!this.isDesignMode||this.getPropertyByName(e).visible},QuestionSelectBase.prototype.onCheckForErrors=function(t,o,n){var r=this;if(e.prototype.onCheckForErrors.call(this,t,o,n),this.hasOther&&this.isOtherSelected&&!this.otherValue&&(!o||this.prevOtherErrorValue)){var i=new nI(this.otherErrorText,this);i.onUpdateErrorTextCallback=function(e){e.text=r.otherErrorText},t.push(i)}},QuestionSelectBase.prototype.setSurveyImpl=function(t,o){this.isRunningChoices=!0,e.prototype.setSurveyImpl.call(this,t,o),this.isRunningChoices=!1,this.runChoicesByUrl(),this.isAddDefaultItems&&this.updateVisibleChoices()},QuestionSelectBase.prototype.setSurveyCore=function(t){e.prototype.setSurveyCore.call(this,t),t&&this.choicesFromQuestion&&this.onVisibleChoicesChanged()},QuestionSelectBase.prototype.getStoreOthersAsComment=function(){return!this.isSettingDefaultValue&&!this.showCommentArea&&(!0===this.storeOthersAsComment||"default"==this.storeOthersAsComment&&(null==this.survey||this.survey.storeOthersAsComment)||this.hasChoicesUrl&&!this.choicesFromUrl)},QuestionSelectBase.prototype.onSurveyLoad=function(){this.runChoicesByUrl(),this.onVisibleChoicesChanged(),e.prototype.onSurveyLoad.call(this)},QuestionSelectBase.prototype.onAnyValueChanged=function(t,o){e.prototype.onAnyValueChanged.call(this,t,o),t!=this.getValueName()&&this.runChoicesByUrl();var n=this.choicesFromQuestion;t&&n&&(t===n||o===n)&&(this.onVisibleChoicesChanged(),this.clearIncorrectValues())},QuestionSelectBase.prototype.updateValueFromSurvey=function(t,o){var n="";this.hasOther&&this.activeChoices.length>0&&!this.isRunningChoices&&!this.choicesByUrl.isRunning&&this.getStoreOthersAsComment()&&(this.hasUnknownValue(t)&&!this.getHasOther(t)?(n=this.getCommentFromValue(t),t=this.setOtherValueIntoValue(t)):this.data&&(n=this.data.getComment(this.getValueName()))),e.prototype.updateValueFromSurvey.call(this,t,o),(this.isRunningChoices||this.choicesByUrl.isRunning)&&!this.isEmpty()&&(this.cachedValueForUrlRequests=this.value),n&&this.setNewComment(n)},QuestionSelectBase.prototype.getCommentFromValue=function(e){return e},QuestionSelectBase.prototype.setOtherValueIntoValue=function(e){return this.otherItem.value},QuestionSelectBase.prototype.onOtherValueInput=function(e){this.isInputTextUpdate?e.target&&(this.otherValue=e.target.value):this.updateCommentElements()},QuestionSelectBase.prototype.onOtherValueChange=function(e){this.otherValue=e.target.value,this.otherValue!==e.target.value&&(e.target.value=this.otherValue)},QuestionSelectBase.prototype.runChoicesByUrl=function(){if(this.updateIsUsingRestful(),this.choicesByUrl&&!this.isLoadingFromJson&&!this.isRunningChoices&&!this.isInDesignModeV2){var e=this.surveyImpl?this.surveyImpl.getTextProcessor():this.textProcessor;e||(e=this.survey),e&&(this.updateIsReady(),this.isRunningChoices=!0,this.choicesByUrl.run(e),this.isRunningChoices=!1)}},QuestionSelectBase.prototype.onBeforeSendRequest=function(){!0!==nC.web.disableQuestionWhileLoadingChoices||this.isReadOnly||(this.enableOnLoadingChoices=!0,this.readOnly=!0)},QuestionSelectBase.prototype.onLoadChoicesFromUrl=function(e){this.enableOnLoadingChoices&&(this.readOnly=!1);var t=[];!this.isReadOnly&&this.choicesByUrl&&this.choicesByUrl.error&&t.push(this.choicesByUrl.error);var o=null,n=!0;this.isFirstLoadChoicesFromUrl&&!this.cachedValueForUrlRequests&&this.defaultValue&&(this.cachedValueForUrlRequests=this.defaultValue,n=!1),this.isValueEmpty(this.cachedValueForUrlRequests)&&(this.cachedValueForUrlRequests=this.value);var r=this.createCachedValueForUrlRequests(this.cachedValueForUrlRequests,n);if(e&&(e.length>0||this.choicesByUrl.allowEmptyResponse)&&(o=[],n0.setData(o,e)),o)for(var i=0;i<o.length;i++)o[i].locOwner=this;this.setChoicesFromUrl(o,t,r)},QuestionSelectBase.prototype.canAvoidSettChoicesFromUrl=function(e){return!(this.isFirstLoadChoicesFromUrl||(!e||Array.isArray(e)&&0===e.length)&&!this.isEmpty())&&oe.isTwoValueEquals(this.choicesFromUrl,e)},QuestionSelectBase.prototype.setChoicesFromUrl=function(e,t,o){if(!this.canAvoidSettChoicesFromUrl(e)){if(this.isFirstLoadChoicesFromUrl=!1,this.choicesFromUrl=e,this.filterItems(),this.onVisibleChoicesChanged(),e){var n=this.updateCachedValueForUrlRequests(o,e);if(n&&!this.isReadOnly){var r=!this.isTwoValueEquals(this.value,
5n.value);try{this.isValueEmpty(n.value)||(this.allowNotifyValueChanged=!1,this.setQuestionValue(void 0,!0,!1)),this.allowNotifyValueChanged=r,r?this.value=n.value:this.setQuestionValue(n.value)}finally{this.allowNotifyValueChanged=!0}}}this.isReadOnly||e||this.isFirstLoadChoicesFromUrl||(this.value=null),this.errors=t,this.choicesLoaded()}},QuestionSelectBase.prototype.createCachedValueForUrlRequests=function(e,t){if(this.isValueEmpty(e))return null;if(Array.isArray(e)){for(var o=[],n=0;n<e.length;n++)o.push(this.createCachedValueForUrlRequests(e[n],!0));return o}var r=!t||!this.hasUnknownValue(e);return{value:e,isExists:r}},QuestionSelectBase.prototype.updateCachedValueForUrlRequests=function(e,t){if(this.isValueEmpty(e))return null;if(Array.isArray(e)){for(var o=[],n=0;n<e.length;n++){var r=this.updateCachedValueForUrlRequests(e[n],t);if(r&&!this.isValueEmpty(r.value)){var i=r.value,s=n0.getItemByValue(t,r.value);s&&(i=s.value),o.push(i)}}return{value:o}}var a=e.isExists&&this.hasUnknownValue(e.value)?null:e.value,s=n0.getItemByValue(t,a);return s&&(a=s.value),{value:a}},QuestionSelectBase.prototype.updateChoicesDependedQuestions=function(){this.isLoadingFromJson||this.isUpdatingChoicesDependedQuestions||!this.allowNotifyValueChanged||this.choicesByUrl.isRunning||(this.isUpdatingChoicesDependedQuestions=!0,this.updateDependedQuestions(),this.isUpdatingChoicesDependedQuestions=!1)},QuestionSelectBase.prototype.updateDependedQuestion=function(){this.onVisibleChoicesChanged(),this.clearIncorrectValues()},QuestionSelectBase.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.updateChoicesDependedQuestions()},QuestionSelectBase.prototype.onVisibleChoicesChanged=function(){this.isLoadingFromJson||this.isLockVisibleChoices||(this.updateVisibleChoices(),this.onVisibleChanged(),this.visibleChoicesChangedCallback&&this.visibleChoicesChangedCallback(),this.updateChoicesDependedQuestions())},QuestionSelectBase.prototype.isVisibleCore=function(){var t=e.prototype.isVisibleCore.call(this);if(!this.hideIfChoicesEmpty||!t)return t;var o=this.isUsingCarryForward?this.visibleChoices:this.getFilteredChoices();return!o||o.length>0},QuestionSelectBase.prototype.sortVisibleChoices=function(e){if(this.isInDesignMode)return e;var t=this.choicesOrder.toLowerCase();return"asc"==t?this.sortArray(e,1):"desc"==t?this.sortArray(e,-1):"random"==t?this.randomizeArray(e):e},QuestionSelectBase.prototype.sortArray=function(e,t){return e.sort(function(e,o){return oe.compareStrings(e.calculatedText,o.calculatedText)*t})},QuestionSelectBase.prototype.randomizeArray=function(e){return oe.randomizeArray(e)},Object.defineProperty(QuestionSelectBase.prototype,"hasChoicesUrl",{get:function(){return this.choicesByUrl&&!!this.choicesByUrl.url},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.clearIncorrectValues=function(){this.hasValueToClearIncorrectValues()&&this.canClearIncorrectValues()&&(this.clearIncorrectValuesCallback?this.clearIncorrectValuesCallback():this.clearIncorrectValuesCore())},QuestionSelectBase.prototype.canClearIncorrectValues=function(){return(!this.carryForwardQuestion||!!this.carryForwardQuestion.isReady)&&(!this.survey||!(this.survey.questionsByValueName(this.getValueName()).length>1))&&(!this.hasChoicesUrl||!!this.choicesFromUrl&&0!=this.choicesFromUrl.length)},QuestionSelectBase.prototype.hasValueToClearIncorrectValues=function(){return(!this.survey||!this.survey.keepIncorrectValues)&&!this.keepIncorrectValues&&!this.isEmpty()},QuestionSelectBase.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t),this.clearIncorrectValues()},QuestionSelectBase.prototype.isItemSelected=function(e){return e===this.otherItem?this.isOtherSelected:this.isItemSelectedCore(e)},QuestionSelectBase.prototype.isItemSelectedCore=function(e){return e.value===this.value},QuestionSelectBase.prototype.clearDisabledValues=function(){this.survey&&this.survey.clearValueOnDisableItems&&this.clearDisabledValuesCore()},QuestionSelectBase.prototype.clearIncorrectValuesCore=function(){var e=this.value;this.canClearValueAnUnknown(e)&&this.clearValue(!0)},QuestionSelectBase.prototype.canClearValueAnUnknown=function(e){return(!!this.getStoreOthersAsComment()||!this.isOtherSelected)&&this.hasUnknownValue(e,!0,!0,!0)},QuestionSelectBase.prototype.clearDisabledValuesCore=function(){this.isValueDisabled(this.value)&&this.clearValue(!0)},QuestionSelectBase.prototype.clearUnusedValues=function(){e.prototype.clearUnusedValues.call(this),this.isOtherSelected||(this.otherValue=""),this.showCommentArea||this.get
5StoreOthersAsComment()||this.isOtherSelected||(this.comment="")},QuestionSelectBase.prototype.getColumnClass=function(){return new oY().append(this.cssClasses.column).append("sv-q-column-"+this.colCount,this.hasColumns).toString()},QuestionSelectBase.prototype.getItemIndex=function(e){return this.visibleChoices.indexOf(e)},QuestionSelectBase.prototype.getItemClass=function(e){var t={item:e},o=this.getItemClassCore(e,t);return t.css=o,this.survey&&this.survey.updateChoiceItemCss(this,t),t.css},QuestionSelectBase.prototype.getCurrentColCount=function(){return this.colCount},QuestionSelectBase.prototype.getItemClassCore=function(e,t){var o=new oY().append(this.cssClasses.item).append(this.cssClasses.itemInline,!this.hasColumns&&0===this.colCount).append("sv-q-col-"+this.getCurrentColCount(),!this.hasColumns&&0!==this.colCount).append(this.cssClasses.itemOnError,this.hasCssError()),n=this.getIsDisableAndReadOnlyStyles(!e.isEnabled),r=n[0],i=n[1],s=this.isItemSelected(e)||this.isOtherSelected&&this.otherItem.value===e.value,a=!i&&!s&&!(this.survey&&this.survey.isDesignMode),l=e===this.noneItem;return t.isDisabled=i||r,t.isChecked=s,t.isNone=l,o.append(this.cssClasses.itemDisabled,i).append(this.cssClasses.itemReadOnly,r).append(this.cssClasses.itemPreview,this.isPreviewStyle).append(this.cssClasses.itemChecked,s).append(this.cssClasses.itemHover,a).append(this.cssClasses.itemNone,l).toString()},QuestionSelectBase.prototype.getLabelClass=function(e){return new oY().append(this.cssClasses.label).append(this.cssClasses.labelChecked,this.isItemSelected(e)).toString()},QuestionSelectBase.prototype.getControlLabelClass=function(e){return new oY().append(this.cssClasses.controlLabel).append(this.cssClasses.controlLabelChecked,this.isItemSelected(e)).toString()||void 0},QuestionSelectBase.prototype.updateRenderedChoices=function(){this.renderedChoices=this.onGetRenderedChoicesCallback?this.onGetRenderedChoicesCallback(this.visibleChoices):this.visibleChoices},QuestionSelectBase.prototype.getRenderedChoicesAnimationOptions=function(){var e=this;return{isAnimationEnabled:function(){return e.animationAllowed},getRerenderEvent:function(){return e.onElementRerendered},getKey:function(t){return t!=e.newItemValue?t.value:e.newItemValue},getLeaveOptions:function(t){var o=e.cssClasses.itemLeave;if(e.hasColumns){var n=e.bodyItems.indexOf(t);-1!==n&&n!==e.bodyItems.length-1&&(o="")}return{cssClass:o,onBeforeRunAnimation:prepareElementForVerticalAnimation,onAfterRunAnimation:cleanHtmlElementAfterAnimation}},getAnimatedElement:function(e){return e.getRootElement()},getEnterOptions:function(t){var o=e.cssClasses.itemEnter;if(e.hasColumns){var n=e.bodyItems.indexOf(t);-1!==n&&n!==e.bodyItems.length-1&&(o="")}return{cssClass:o,onBeforeRunAnimation:function(o){if(0==e.getCurrentColCount()&&e.bodyItems.indexOf(t)>=0){var n=o.parentElement.firstElementChild.offsetLeft;o.offsetLeft>n&&setPropertiesOnElementForAnimation(o,{moveAnimationDuration:"0s",fadeAnimationDelay:"0s"},"--")}prepareElementForVerticalAnimation(o)},onAfterRunAnimation:cleanHtmlElementAfterAnimation}}}},Object.defineProperty(QuestionSelectBase.prototype,"renderedChoices",{get:function(){return this._renderedChoices},set:function(e){this.renderedChoicesAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"headItems",{get:function(){for(var e=this.separateSpecialChoices||this.isInDesignMode?this.headItemsCount:0,t=[],o=0;o<e;o++)this.renderedChoices[o]&&t.push(this.renderedChoices[o]);return t},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"footItems",{get:function(){for(var e=this.separateSpecialChoices||this.isInDesignMode?this.footItemsCount:0,t=[],o=this.renderedChoices,n=0;n<e;n++)this.renderedChoices[o.length-e+n]&&t.push(this.renderedChoices[o.length-e+n]);return t},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"dataChoices",{get:function(){var e=this;return this.renderedChoices.filter(function(t){return!e.isBuiltInChoice(t)})},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"bodyItems",{get:function(){return this.hasHeadItems||this.hasFootItems?this.dataChoices:this.renderedCh
5oices},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"hasHeadItems",{get:function(){return this.headItems.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"hasFootItems",{get:function(){return this.footItems.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"columns",{get:function(){var e=[],t=this.getCurrentColCount();if(this.hasColumns&&this.renderedChoices.length>0){var o=this.separateSpecialChoices||this.isInDesignMode?this.dataChoices:this.renderedChoices;if("column"==nC.showItemsInOrder)for(var n=0,r=o.length%t,i=0;i<t;i++){for(var s=[],a=n;a<n+Math.floor(o.length/t);a++)s.push(o[a]);r>0&&(r--,s.push(o[a]),a++),n=a,e.push(s)}else for(var i=0;i<t;i++){for(var s=[],a=i;a<o.length;a+=t)s.push(o[a]);e.push(s)}}return e},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getItemsColumnKey=function(e){return(e||[]).map(function(e){return e.value||""}).join("")},Object.defineProperty(QuestionSelectBase.prototype,"hasColumns",{get:function(){return!this.isMobile&&this.getCurrentColCount()>1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"rowLayout",{get:function(){return 0==this.getCurrentColCount()&&!(this.hasFootItems||this.hasHeadItems)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSelectBase.prototype,"blockedRow",{get:function(){return 0==this.getCurrentColCount()&&(this.hasFootItems||this.hasHeadItems)},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.choicesLoaded=function(){this.isChoicesLoaded=!0,this.updateIsReady(),this.survey&&this.survey.loadedChoicesFromServer(this),this.loadedChoicesFromServerCallback&&this.loadedChoicesFromServerCallback()}
vendor: 9,688 bytes, line 5
5,QuestionSelectBase.prototype.getItemValueWrapperComponentName=function(e){var t=this.survey;return t?t.getItemValueWrapperComponentName(e,this):iv.TemplateRendererComponentName},QuestionSelectBase.prototype.getItemValueWrapperComponentData=function(e){var t=this.survey;return t?t.getItemValueWrapperComponentData(e,this):e},QuestionSelectBase.prototype.ariaItemChecked=function(e){return this.renderedValue===e.value?"true":"false"},QuestionSelectBase.prototype.isOtherItem=function(e){return this.hasOther&&e.value==this.otherItem.value},Object.defineProperty(QuestionSelectBase.prototype,"itemSvgIcon",{get:function(){return this.isPreviewStyle&&this.cssClasses.itemPreviewSvgIconId?this.cssClasses.itemPreviewSvgIconId:this.cssClasses.itemSvgIconId},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getSelectBaseRootCss=function(){return new oY().append(this.getQuestionRootCss()).append(this.cssClasses.rootRow,this.rowLayout).toString()},QuestionSelectBase.prototype.allowMobileInDesignMode=function(){return!0},QuestionSelectBase.prototype.getAriaItemLabel=function(e){return e.locText.renderedHtml},QuestionSelectBase.prototype.getItemId=function(e){return this.inputId+"_"+this.getItemIndex(e)},Object.defineProperty(QuestionSelectBase.prototype,"questionName",{get:function(){return this.name+"_"+this.id},enumerable:!1,configurable:!0}),QuestionSelectBase.prototype.getItemEnabled=function(e){return!this.isDisabledAttr&&e.isEnabled},QuestionSelectBase.prototype.focusOtherComment=function(){var e;nm.FocusElement(this.otherId,!1,null===(e=this.survey)||void 0===e?void 0:e.rootElement)},QuestionSelectBase.prototype.onItemSelected=function(e){this.isOtherItem(e)&&this.focusOtherComment()},QuestionSelectBase.prototype.getDefaultItemComponent=function(){return""},Object.defineProperty(QuestionSelectBase.prototype,"itemComponent",{get:function(){return this.getPropertyValue("itemComponent",this.getDefaultItemComponent())},set:function(e){this.setPropertyValue("itemComponent",e)},enumerable:!1,configurable:!0}),question_baseselect_decorate([jsonobject_property({onSet:function(e,t){t.onSelectedItemValuesChangedHandler(e)}})],QuestionSelectBase.prototype,"selectedItemValues",void 0),question_baseselect_decorate([jsonobject_property()],QuestionSelectBase.prototype,"separateSpecialChoices",void 0),question_baseselect_decorate([jsonobject_property({localizable:!0})],QuestionSelectBase.prototype,"otherPlaceholder",void 0),question_baseselect_decorate([propertyArray()],QuestionSelectBase.prototype,"_renderedChoices",void 0),QuestionSelectBase}(nX),iC=function(e){function QuestionCheckboxBase(t){return e.call(this,t)||this}return ib(QuestionCheckboxBase,e),Object.defineProperty(QuestionCheckboxBase.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount",this.isFlowLayout?0:void 0)},set:function(e){e<0||e>5||this.isFlowLayout||(this.setPropertyValue("colCount",e),this.fireCallback(this.colCountChangedCallback))},enumerable:!1,configurable:!0}),QuestionCheckboxBase.prototype.onParentChanged=function(){e.prototype.onParentChanged.call(this),this.isFlowLayout&&this.setPropertyValue("colCount",null)},QuestionCheckboxBase.prototype.onParentQuestionChanged=function(){this.onVisibleChoicesChanged()},QuestionCheckboxBase.prototype.getSearchableItemValueKeys=function(e){e.push("choices")},QuestionCheckboxBase}(ix);function checkCopyPropVisibility(e,t){var o;if(!e)return!1;if(e.templateQuestion){var n=null===(o=e.colOwner)||void 0===o?void 0:o.data;if(!(e=e.templateQuestion).getCarryForwardQuestion(n))return!1}return e.carryForwardQuestionType===t}ov.addClass("selectbase",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},"choicesFromQuestion:question_carryforward",{name:"choices:itemvalue[]",uniqueProperty:"value",baseValue:function(){return getLocaleString("choices_Item")},dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesFromQuestionMode",default:"all",choices:["all","selected","unselected"],dependsOn:"choicesFromQuestion",visibleIf:function(e){return checkCopyPropVisibility(e,"select")}},{name:"choiceValuesFromQuestion",dependsOn:"choicesFromQuestion",visibleIf:function(e){return checkCopyPropVisibility(e,"array")}},{name:"choiceTextsFromQuestion",dependsOn:"choicesFromQuestion",visibleIf:function(e){return checkCopyPropVisibility(e,"array")}},{name:"choicesOrder",default:"none",choices:["none","asc","desc","random"],dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"choicesByUrl:restfull",className:"choicesByUrl",onGetValue:function(e){return e.choicesByUrl.getData()},onSetValue:function(e,t){e.choicesByUrl.setData(t)}},"hideIfChoicesEmpty:boolean","choicesVisibleIf:condition",{name:"choicesEnableIf:condition",dependsOn:"choicesFromQuestion",visibleIf:function(e){return!e.choicesFromQuestion}},{name:"defaultValue:value",visibleIf:function(e){return!e.choicesFromQuestion},dependsOn:"choicesFromQuestion"},{name:"correctAnswer:value",visibleIf:function(e){return!e.choicesFromQuestion},dependsOn:"choicesFromQuestion"},{name:"separateSpecialChoices:boolean",visible:!1},{name:"showOtherItem:boolean",alternativeName:"hasOther"},{name:"showNoneItem:boolean",alternativeName:"hasNone"},{name:"showRefuseItem:boolean",visible:!1,version:"1.9.128"},{name:"showDontKnowItem:boolean",visible:!1,version:"1.9.128"},{name:"otherPlaceholder",alternativeName:"otherPlaceHolder",serializationProperty:"locOtherPlaceholder",dependsOn:"showOtherItem",visibleIf:function(e){return e.hasOther}},{name:"noneText",serializationProperty:"locNoneText",dependsOn:"showNoneItem",visibleIf:function(e){return e.showNoneItem}},{name:"refuseText",serializationProperty:"locRefuseText",dependsOn:"showRefuseItem",visibleIf:function(e){return e.showRefuseItem}},{name:"dontKnowText",serializationProperty:"locDontKnowText",dependsOn:"showDontKnowItem",visibleIf:function(e){return e.showDontKnowItem}},{name:"otherText",serializationProperty:"locOtherText",dependsOn:"showOtherItem",visibleIf:function(e){return e.hasOther}},{name:"otherErrorText",serializationProperty:"locOtherErrorText",dependsOn:"showOtherItem",visibleIf:function(e){return e.hasOther}},{name:"storeOthersAsComment",default:"default",choices:["default",!0,!1],visible:!1}],null,"question"),ov.addClass("checkboxbase",[{name:"colCount:number",default:1,choices:[0,1,2,3,4,5],layout:"row"}],null,"selectbase");var iw=function(){function Rect(e,t,o,n){this.x=e,this.y=t,this.width=o,this.height=n}return Object.defineProperty(Rect.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(Rect.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(Rect.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(Rect.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Rect}(),iP=function(){function PopupUtils(){}return PopupUtils.calculatePosition=function(e,t,o,n,r,i){void 0===i&&(i="flex");var s=e.left,a=e.top;return"flex"===i&&(s="center"==r?(e.left+e.right-o)/2:"left"==r?e.left-o:e.right),a="middle"==n?(e.top+e.bottom-t)/2:"top"==n?e.top-t:e.bottom,"center"!=r&&"middle"!=n&&("top"==n?a+=e.height:a-=e.height),{left:Math.round(s),top:Math.round(a)}},PopupUtils.getCorrectedVerticalDimensions=function(e,t,o,n,r,i){void 0===r&&(r=!0),void 0===i&&(i={top:0,bottom:0});var s,a=o-PopupUtils.bottomIndent;if("top"===n&&(s={height:t,top:e}),e<-i.top)s={height:r?t+e:t,top:-i.top};else if(t+e>o){var l=Math.min(t,a-e);s={height:r?l:t,top:r?e:e-(t-l)}}return s&&(s.height=Math.min(s.height,a),s.top=Math.max(s.top,-i.top)),s},PopupUtils.updateHorizontalDimensions=function(e,t,o,n,r,i){void 0===r&&(r="flex"),void 0===i&&(i={left:0,right:0}),t+=i.left+i.right;var s=void 0,a=e;return"center"===n&&("fixed"===r?(e+t>o&&(s=o-e),a-=i.left):e<0?(a=i.left,s=Math.min(t,o)):t+e>o&&(a=Math.max(a=o-t,i.left),s=Math.min(t,o))),"left"===n&&e<0&&(a=i.left,s=Math.min(t,o)),"right"===n&&t+e>o&&(s=o-e),{width:s-i.left-i.right,left:a}},PopupUtils.updateVerticalPosition=function(e,t,o,n,r){if("middle"===n)return n;var i=t-(e.top+("center"!==o?e.height:0)),s=t+e.bottom-("center"!==o?e.height:0)-r;return i>0&&s<=0&&"top"==n?n="bottom":s>0&&i<=0&&"bottom"==n?n="top":s>0&&i>0&&(n=i<s?"top":"bottom"),n},PopupUtils.updateHorizontalPosition=function(e,t,o,n){if("center"===o)return o;var r=t-e.left,i=t+e.right-n;return r>0&&i<=0&&"left"==o?o="right":i>0&&r<=0&&"right"==o?o="left":i>0&&r>0&&(o=r<i?"left":"right"),o},PopupUtils.calculatePopupDirection=function(e,t){var o;return"center"==t&&"middle"!=e?o=e:"center"!=t&&(o=t),o},PopupUtils.calculatePointerTarget=function(e,t,o,n,r,i,s){void 0===i&&(i=0),void 0===s&&(s=0);var a={};return"center"!=r?(a.top=e.top+e.height/2,a.left=e[r]):"middle"!=n&&(a.top=e[n],a.left=e.left+e.width/2),a.left=Math.round(a.left-o),a.top=Math.round(a.top-t),"left"==r&&(a.left-=i+s),"center"===r&&(a.left-=i),a},PopupUtils.bottomIndent=16,PopupUtils}(),i_=(H=function(e,t){return(H=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}H(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),popup_view_model_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
5if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iS='input:not(:disabled):not([readonly]):not([type=hidden]),select:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]), button:not(:disabled):not([readonly]), [tabindex]:not([tabindex^="-"])',iM=function(e){function PopupBaseViewModel(t){var o=e.call(this)||this;return o.popupSelector=".sv-popup",o.fixedPopupContainer=".sv-popup",o.containerSelector=".sv-popup__container",o.scrollingContentSelector=".sv-popup__scrolling-content",o.visibilityAnimation=new nu(o,function(e){o._isVisible!==e&&(e?(o.updateBeforeShowing(),o.updateIsVisible(e)):(o.updateOnHiding(),o.updateIsVisible(e),o.updateAfterHiding(),o._isPositionSetValue=!1))},function(){return o._isVisible}),o.onVisibilityChanged=new oJ,o.onModelIsVisibleChangedCallback=function(){o.isVisible=o.model.isVisible},o._isPositionSetValue=!1,o.model=t,o.locale=o.model.locale,o}return i_(PopupBaseViewModel,e),PopupBaseViewModel.prototype.updateIsVisible=function(e){this._isVisible=e,this.onVisibilityChanged.fire(this,{isVisible:e})},PopupBaseViewModel.prototype.updateBeforeShowing=function(){this.model.onShow()},PopupBaseViewModel.prototype.updateAfterHiding=function(){this.model.onHiding()},PopupBaseViewModel.prototype.getLeaveOptions=function(){return{cssClass:"sv-popup--leave",onBeforeRunAnimation:function(e){e.setAttribute("inert","")},onAfterRunAnimation:function(e){return e.removeAttribute("inert")}}},PopupBaseViewModel.prototype.getEnterOptions=function(){return{cssClass:"sv-popup--enter"}},PopupBaseViewModel.prototype.getAnimatedElement=function(){return this.getAnimationContainer()},PopupBaseViewModel.prototype.isAnimationEnabled=function(){return"overlay"!==this.model.displayMode&&nC.animationEnabled},PopupBaseViewModel.prototype.getRerenderEvent=function(){return this.onElementRerendered},PopupBaseViewModel.prototype.getAnimationContainer=function(){var e;return null===(e=this.container)||void 0===e?void 0:e.querySelector(this.fixedPopupContainer)},Object.defineProperty(PopupBaseViewModel.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this.visibilityAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"container",{get:function(){return this.containerElement||this.createdContainer},enumerable:!1,configurable:!0}),PopupBaseViewModel.prototype.getLocale=function(){return this.locale?this.locale:e.prototype.getLocale.call(this)},PopupBaseViewModel.prototype.hidePopup=function(){this.model.isVisible=!1},PopupBaseViewModel.prototype.getStyleClass=function(){return new oY().append(this.model.cssClass).append("sv-popup--"+this.model.displayMode,this.isOverlay)},PopupBaseViewModel.prototype.getShowFooter=function(){return this.isOverlay},PopupBaseViewModel.prototype.getShowHeader=function(){return!1},PopupBaseViewModel.prototype.getPopupHeaderTemplate=function(){},PopupBaseViewModel.prototype.createFooterActionBar=function(){var e=this;this.footerToolbarValue=new o0,this.footerToolbar.updateCallback=function(t){e.footerToolbarValue.actions.forEach(function(e){return e.cssClasses={item:"sv-popup__body-footer-item sv-popup__button sd-btn"}})};var t=[{id:"cancel",visibleIndex:10,title:this.cancelButtonText,innerCss:"sv-popup__button--cancel sd-btn",action:function(){e.cancel()}}];t=this.model.updateFooterActions(t),this.footerToolbarValue.setItems(t)},PopupBaseViewModel.prototype.resetDimensionsAndPositionStyleProperties=function(){this.top="",this.left="",this.height="",this.width="",this.minWidth=""},PopupBaseViewModel.prototype.onModelChanging=function(e){},PopupBaseViewModel.prototype.setupModel=function(e){this.model&&this.model.onVisibilityChanged.remove(this.onModelIsVisibleChangedCallback),this.onModelChanging(e),this._model=e,e.onVisibilityChanged.add(this.onModelIsVisibleChangedCallback),this.onModelIsVisibleChangedCallback()},Object.defineProperty(PopupBaseViewModel.prototype,"model",{get:function(){return this._model},set:function(e){this.setupModel(e)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"title",{get:function(){return this.model.title},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"contentComponentName",{get:function(){return this.model.contentComponentName},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"contentComponentData",{get:function(){return this.model.contentComponentData},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"isModal",{get:function(){return this.model.isModal},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"isFocusedContent",{get:function(){return this.model.isFocusedContent},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"isFocusedContainer",{get:function(){return this.model.isFocusedContainer},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"showFooter",{get:function(){return this.getShowFooter()},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"showHeader",{get:function(){return this.getShowHeader()},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"popupHeaderTemplate",{get:function(){return this.getPopupHeaderTemplate()},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"isOverlay",{get:function(){return"overlay"===this.model.displayMode},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"styleClass",{get:function(){return this.getStyleClass().toString()},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"cancelButtonText",{get:function(){return this.getLocalizationString("modalCancelButtonText")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupBaseViewModel.prototype,"footerToolbar",{get:function(){return this.footerToolbarValue||this.createFooterActionBar(),this.footerToolbarValue},enumerable:!1,configurable:!0}),PopupBaseViewModel.prototype.onKeyDown=function(e){"Tab"===e.key||9===e.keyCode?this.trapFocus(e):("Escape"===e.key||27===e.keyCode)&&this.hidePopup()},PopupBaseViewModel.prototype.trapFocus=function(e){var t=this.container.querySelectorAll(iS),o=t[0],n=t[t.length-1];e.shiftKey?nC.environment.root.activeElement===o&&(n.focus(),e.preventDefault()):nC.environment.root.activeElement===n&&(o.focus(),e.preventDefault())},PopupBaseViewModel.prototype.switchFocus=function(){this.isFocusedContent?this.focusFirstInput():this.isFocusedContainer&&this.focusContainer()}
5,Object.defineProperty(PopupBaseViewModel.prototype,"isPositionSet",{get:function(){return this._isPositionSetValue},enumerable:!1,configurable:!0}),PopupBaseViewModel.prototype.updateOnShowing=function(){this.prevActiveElement=nC.environment.root.activeElement,this.isOverlay&&this.resetDimensionsAndPositionStyleProperties(),this.switchFocus(),this._isPositionSetValue=!0},PopupBaseViewModel.prototype.updateOnHiding=function(){this.isFocusedContent&&this.prevActiveElement&&this.prevActiveElement.focus({preventScroll:!0})},PopupBaseViewModel.prototype.focusContainer=function(){if(this.container){var e=this.container.querySelector(this.popupSelector);null==e||e.focus()}},PopupBaseViewModel.prototype.focusFirstInput=function(){var e=this;setTimeout(function(){if(e.container){var t=e.container.querySelector(e.model.focusFirstInputSelector||iS);t?t.focus():e.focusContainer()}},100)},PopupBaseViewModel.prototype.clickOutside=function(e){this.hidePopup(),null==e||e.stopPropagation()},PopupBaseViewModel.prototype.cancel=function(){this.model.onCancel(),this.hidePopup()},PopupBaseViewModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.model&&this.model.onVisibilityChanged.remove(this.onModelIsVisibleChangedCallback),this.createdContainer&&(this.createdContainer.remove(),this.createdContainer=void 0),this.footerToolbarValue&&this.footerToolbarValue.dispose(),this.resetComponentElement()},PopupBaseViewModel.prototype.initializePopupContainer=function(){if(!this.container){var e=t8.createElement("div");this.createdContainer=e,getElement(nC.environment.popupMountContainer).appendChild(e)}},PopupBaseViewModel.prototype.setComponentElement=function(e){e&&(this.containerElement=e)},PopupBaseViewModel.prototype.resetComponentElement=function(){this.containerElement=void 0,this.prevActiveElement=void 0},PopupBaseViewModel.prototype.preventScrollOuside=function(e,t){for(var o=e.target;o!==this.container;){if("auto"===t8.getComputedStyle(o).overflowY&&o.scrollHeight!==o.offsetHeight){var n=o.scrollHeight,r=o.scrollTop,i=o.clientHeight;if(!(t>0&&1>Math.abs(n-i-r))&&!(t<0&&r<=0))return}o=o.parentElement}e.cancelable&&e.preventDefault()},popup_view_model_decorate([jsonobject_property({defaultValue:"0px"})],PopupBaseViewModel.prototype,"top",void 0),popup_view_model_decorate([jsonobject_property({defaultValue:"0px"})],PopupBaseViewModel.prototype,"left",void 0),popup_view_model_decorate([jsonobject_property({defaultValue:"auto"})],PopupBaseViewModel.prototype,"height",void 0),popup_view_model_decorate([jsonobject_property({defaultValue:"auto"})],PopupBaseViewModel.prototype,"width",void 0),popup_view_model_decorate([jsonobject_property({defaultValue:"auto"})],PopupBaseViewModel.prototype,"minWidth",void 0),popup_view_model_decorate([jsonobject_property({defaultValue:!1})],PopupBaseViewModel.prototype,"_isVisible",void 0),popup_view_model_decorate([jsonobject_property()],PopupBaseViewModel.prototype,"locale",void 0),PopupBaseViewModel}(oW),iE=(U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),popup_dropdown_view_model_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s};function calculateIsTablet(e,t){return Math.min(e||t6.getInnerWidth(),t||t6.getInnerHeight())>=iT.tabletSizeBreakpoint}var iT=function(e){function PopupDropdownViewModel(t){var o=e.call(this,t)||this;return o.scrollEventCallBack=function(e){if(o.isOverlay&&rq){e.stopPropagation(),e.preventDefault();return}o.hidePopup()},o.resizeEventCallback=function(){if(t6.isAvailable()){var e=t6.getVisualViewport(),t=t8.getDocumentElement();t&&e&&t.style.setProperty("--sv-popup-overlay-height",e.height*e.scale+"px")}},o.resizeWindowCallback=function(){o.isOverlay||o.updatePosition(!0,"vue"===iv.platform||"vue3"===iv.platform||"react"==iv.platform)},o.clientY=0,o.isTablet=!1,o.touchStartEventCallback=function(e){o.clientY=e.touches[0].clientY},o.touchMoveEventCallback=function(e){o.preventScrollOuside(e,o.clientY-e.changedTouches[0].clientY)},o.model.onRecalculatePosition.add(o.recalculatePositionHandler),o}return iE(PopupDropdownViewModel,e),PopupDropdownViewModel.prototype.calculateIsTablet=function(e,t){this.isTablet=calculateIsTablet(e,t)},PopupDropdownViewModel.prototype.getAvailableAreaRect=function(){var e=this.model.getAreaCallback?this.model.getAreaCallback(this.container):void 0;if(e){var t=e.getBoundingClientRect();return new iw(t.x,t.y,t.width,t.height)}return new iw(0,0,t6.getInnerWidth(),t6.getInnerHeight())},PopupDropdownViewModel.prototype.getTargetElementRect=function(){var e=this.container,t=this.model.getTargetCallback?this.model.getTargetCallback(e):void 0;if(e&&e.parentElement&&!this.isModal&&!t&&(t=e.parentElement),!t)return null;var o=t.getBoundingClientRect(),n=this.getAvailableAreaRect();return new iw(o.left-n.left,o.top-n.top,o.width,o.height)},PopupDropdownViewModel.prototype._updatePosition=function(){var e,t,o,n=this.getTargetElementRect();if(n){var r=this.getAvailableAreaRect(),i=null===(e=this.container)||void 0===e?void 0:e.querySelector(this.containerSelector);if(i){var s=null===(t=this.container)||void 0===t?void 0:t.querySelector(this.fixedPopupContainer),a=i.querySelector(this.scrollingContentSelector),l=t8.getComputedStyle(i),u=parseFloat(l.marginLeft)||0,c=parseFloat(l.marginRight)||0,p=parseFloat(l.marginTop)||0,d=parseFloat(l.marginBottom)||
50,h=i.offsetHeight-a.offsetHeight+a.scrollHeight,m=i.getBoundingClientRect().width;this.model.setWidthByTarget&&(this.minWidth=n.width+"px");var g=this.model.verticalPosition,f=this.getActualHorizontalPosition();if(t6.isAvailable()){var y=[h,.9*t6.getInnerHeight(),null===(o=t6.getVisualViewport())||void 0===o?void 0:o.height];h=Math.ceil(Math.min.apply(Math,y.filter(function(e){return"number"==typeof e}))),g=iP.updateVerticalPosition(n,h,this.model.horizontalPosition,this.model.verticalPosition,r.height),f=iP.updateHorizontalPosition(n,m,f,r.width)}this.popupDirection=iP.calculatePopupDirection(g,f);var v=iP.calculatePosition(n,h,m+u+c,g,f,this.model.positionMode);if(t6.isAvailable()){var b=iP.getCorrectedVerticalDimensions(v.top,h,r.height,g,this.model.canShrink,{top:p,bottom:d});if(b&&(this.height=b.height+"px",v.top=b.top),this.model.setWidthByTarget)this.width=n.width+"px",v.left=n.left;else{var x=iP.updateHorizontalDimensions(v.left,m,t6.getInnerWidth(),f,this.model.positionMode,{left:u,right:c});x&&(this.width=x.width?x.width+"px":void 0,v.left=x.left)}}if(s){var C=s.getBoundingClientRect();v.top-=C.top,v.left-=C.left}v.left+=r.left,v.top+=r.top,this.left=v.left+"px",this.top=v.top+"px",this.showHeader&&(this.pointerTarget=iP.calculatePointerTarget(n,v.top,v.left,g,f,u,c),this.pointerTarget.top+="px",this.pointerTarget.left+="px")}}},PopupDropdownViewModel.prototype.getActualHorizontalPosition=function(){var e=this.model.horizontalPosition;return t8.isAvailable()&&"rtl"==t8.getComputedStyle(t8.getBody()).direction&&("left"===this.model.horizontalPosition?e="right":"right"===this.model.horizontalPosition&&(e="left")),e},PopupDropdownViewModel.prototype.getStyleClass=function(){var t=this.model.overlayDisplayMode;return e.prototype.getStyleClass.call(this).append("sv-popup--dropdown",!this.isOverlay).append("sv-popup--dropdown-overlay",this.isOverlay&&"plain"!==t).append("sv-popup--tablet",this.isOverlay&&("tablet-dropdown-overlay"==t||"auto"==t&&this.isTablet)).append("sv-popup--show-
5pointer",!this.isOverlay&&this.showHeader).append("sv-popup--"+this.popupDirection,!this.isOverlay&&(this.showHeader||"top"==this.popupDirection||"bottom"==this.popupDirection))},PopupDropdownViewModel.prototype.getShowHeader=function(){return this.model.showPointer&&!this.isOverlay},PopupDropdownViewModel.prototype.getPopupHeaderTemplate=function(){return"popup-pointer"},PopupDropdownViewModel.prototype.setComponentElement=function(t){e.prototype.setComponentElement.call(this,t)},PopupDropdownViewModel.prototype.resetComponentElement=function(){e.prototype.resetComponentElement.call(this)},PopupDropdownViewModel.prototype.updateOnShowing=function(){var e=nC.environment.root;this.prevActiveElement=e.activeElement,this.isOverlay?this.resetDimensionsAndPositionStyleProperties():this.updatePosition(!0,!1),this.switchFocus(),t6.addEventListener("resize",this.resizeWindowCallback),this.shouldCreateResizeCallback&&(t6.getVisualViewport().addEventListener("resize",this.resizeEventCallback),this.container&&(this.container.addEventListener("touchstart",this.touchStartEventCallback),this.container.addEventListener("touchmove",this.touchMoveEventCallback)),this.calculateIsTablet(),this.resizeEventCallback()),t6.addEventListener("scroll",this.scrollEventCallBack),this._isPositionSetValue=!0},Object.defineProperty(PopupDropdownViewModel.prototype,"shouldCreateResizeCallback",{get:function(){return!!t6.getVisualViewport()&&this.isOverlay&&rq},enumerable:!1,configurable:!0}),PopupDropdownViewModel.prototype.updatePosition=function(e,t){var o=this;void 0===t&&(t=!0),e&&(this.height="auto"),t?setTimeout(function(){o._updatePosition()},1):this._updatePosition()},PopupDropdownViewModel.prototype.updateOnHiding=function(){e.prototype.updateOnHiding.call(this),t6.removeEventListener("resize",this.resizeWindowCallback),this.shouldCreateResizeCallback&&(t6.getVisualViewport().removeEventListener("resize",this.resizeEventCallback),this.container&&(this.container.removeEventListener("touchstart",this.touchStartEventCallback),this.container.removeEventListener("touchmove",this.touchMoveEventCallback))),t6.removeEventListener("scroll",this.scrollEventCallBack),this.isDisposed||(this.top=void 0,this.left=void 0,this.height=void 0,this.width=void 0,this.minWidth=void 0)},PopupDropdownViewModel.prototype.onModelChanging=function(t){var o=this;this.model&&this.model.onRecalculatePosition.remove(this.recalculatePositionHandler),this.recalculatePositionHandler||(this.recalculatePositionHandler=function(e,t){o.isOverlay||o.updatePosition(t.isResetHeight)}),e.prototype.onModelChanging.call(this,t),t.onRecalculatePosition.add(this.recalculatePositionHandler)},PopupDropdownViewModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.updateOnHiding(),this.model&&(this.model.onRecalculatePosition.remove(this.recalculatePositionHandler),this.recalculatePositionHandler=void 0),this.resetComponentElement()},PopupDropdownViewModel.tabletSizeBreakpoint=600,popup_dropdown_view_model_decorate([jsonobject_property()],PopupDropdownViewModel.prototype,"isTablet",void 0),popup_dropdown_view_model_decorate([jsonobject_property({defaultValue:"left"})],PopupDropdownViewModel.prototype,"popupDirection",void 0),popup_dropdown_view_model_decorate([jsonobject_property({defaultValue:{left:"0px",top:"0px"}})],PopupDropdownViewModel.prototype,"pointerTarget",void 0),PopupDropdownViewModel}(iM),iV=(W=function(e,t){return(W=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}W(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),dropdownListModel_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iR=function(e){function DropdownListModel(t,o){var n=e.call(this)||this;n.question=t,n.onSelectionChanged=o,n.minPageSize=25,n.loadingItemHeight=40,n.timer=void 0,n._markdownMode=!1,n.filteredItems=void 0,n.selectedItemSelector=".sv-list__item--selected",n.itemSelector=".sv-list__item",n.itemsSettings={skip:0,take:0,totalCount:0,items:[]},n.listModelFilterStringChanged=function(e){n.filterString!==e&&(n.filterString=e)}
5,n.questionPropertyChangedHandler=function(e,t){n.onPropertyChangedHandler(e,t)},n.htmlCleanerElement=t8.createElement("div"),t.onPropertyChanged.add(n.questionPropertyChangedHandler),n.showInputFieldComponent=n.question.showInputFieldComponent,n.listModel=n.createListModel(),n.updateAfterListModelCreated(n.listModel),n.setChoicesLazyLoadEnabled(n.question.choicesLazyLoadEnabled),n.setInputPlaceholder(n.question.placeholder),n.setSearchEnabled(n.question.searchEnabled),n.setTextWrapEnabled(n.question.textWrapEnabled),n.createPopup(),n.resetItemsSettings();var r=t.cssClasses;return n.updateCssClasses(r.popup,r.list),n}return iV(DropdownListModel,e),Object.defineProperty(DropdownListModel.prototype,"focusFirstInputSelector",{get:function(){return this.getFocusFirstInputSelector()},enumerable:!1,configurable:!0}),DropdownListModel.prototype.getFocusFirstInputSelector=function(){return rq?this.isValueEmpty(this.question.value)?this.itemSelector:this.selectedItemSelector:!this.listModel.showFilter&&this.question.value?this.selectedItemSelector:""},DropdownListModel.prototype.resetItemsSettings=function(){this.itemsSettings.skip=0,this.itemsSettings.take=Math.max(this.minPageSize,this.question.choicesLazyLoadPageSize),this.itemsSettings.totalCount=0,this.itemsSettings.items=[]},DropdownListModel.prototype.setItems=function(e,t){this.itemsSettings.items=[].concat(this.itemsSettings.items,e),this.itemsSettings.totalCount=t,this.listModel.isAllDataLoaded=this.question.choicesLazyLoadEnabled&&this.itemsSettings.items.length==this.itemsSettings.totalCount,this.question.choices=this.itemsSettings.items},DropdownListModel.prototype.loadQuestionChoices=function(e){var t=this;this.question.survey.loadQuestionChoices({question:this.question,filter:this.filterString,skip:this.itemsSettings.skip,take:this.itemsSettings.take,setItems:function(o,n){t.setItems(o||[],n||0),t.popupRecalculatePosition(t.itemsSettings.skip===t.itemsSettings.take),e&&e()}}),this.itemsSettings.skip+=this.itemsSettings.take},DropdownListModel.prototype.updateQuestionChoices=function(e){var t=this,o=this.itemsSettings.skip+1<this.itemsSettings.totalCount;(!this.itemsSettings.skip||o)&&(this.resetTimer(),this.filterString&&nC.dropdownSearchDelay>0?this.timer=setTimeout(function(){t.loadQuestionChoices(e)},nC.dropdownSearchDelay):this.loadQuestionChoices(e))},DropdownListModel.prototype.resetTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)},DropdownListModel.prototype.updatePopupFocusFirstInputSelector=function(){this._popupModel.focusFirstInputSelector=this.focusFirstInputSelector},DropdownListModel.prototype.getDropdownMenuOptions=function(){var e=t6.getInnerWidth(),t=t6.getInnerHeight(),o=calculateIsTablet(e,t),n="dropdown",r="desktop";return rq&&(n=o?"popup":"overlay",r=o?"tablet":"mobile"),{menuType:n,deviceType:r,hasTouchScreen:rq,screenHeight:t,screenWidth:e}},DropdownListModel.prototype.createPopup=function(){var e=this;this._popupModel=new o9("sv-list",{model:this.listModel},{verticalPosition:"bottom",horizontalPosition:"center",showPointer:!1}),this._popupModel.displayMode=rq?"overlay":"popup",this._popupModel.positionMode="fixed",this._popupModel.isFocusedContainer=!1,this._popupModel.isFocusedContent=rq,this._popupModel.setWidthByTarget=!rq,this._popupModel.locale=this.question.getLocale(),this.updatePopupFocusFirstInputSelector(),this.listModel.registerPropertyChangedHandlers(["showFilter"],function(){e.updatePopupFocusFirstInputSelector()}),this._popupModel.onVisibilityChanged.add(function(t,o){if(o.isVisible&&(e.listModel.renderElements=!0),o.isVisible&&e.question.choicesLazyLoadEnabled&&(e.listModel.actions=[],e.resetItemsSettings(),e.updateQuestionChoices()),o.isVisible){e.updatePopupFocusFirstInputSelector();var n=e.getDropdownMenuOptions(),r=n.menuType;e.question.processOpenDropdownMenu(n),r!==n.menuType&&(e._popupModel.updateDisplayMode(n.menuType),e.listModel.setSearchEnabled(e.searchEnabled&&"dropdown"!==n.menuType)),e.question.onOpenedCallBack&&e.question.onOpenedCallBack()}!o.isVisible&&(e.onHidePopup(),e.question.choicesLazyLoadEnabled&&e.resetItemsSettings()),e.question.ariaExpanded=o.isVisible?"true":"false",e.question.processPopupVisiblilityChanged(e.popupModel,o.isVisible)})},DropdownListModel.prototype.setFilterStringToListModel=function(e){var t=this;if(this.listModel.filterString=e,this.listModel.resetFocusedItem(),this.question.selectedItem&&this.question.selectedItem.text.indexOf(e)>=0){this.listModel.focusedItem=this.getAvailableItems().filter(function(e){return e.id==t.question.selectedItem.value})[0],this.listModel.filterString&&this.listModel.actions.map(function(e){return e.selectedValue=!1});return}this.listModel.focusedItem&&this.listModel.isItemVisible(this.listModel.focusedItem)||this.listModel.focusFirstVisibleItem()},DropdownListModel.prototype.setTextWrapEnabled=function(e){this.listModel.textWrapEnabled=e},DropdownListModel.prototype.popupRecalculatePosition=function(e){var t=this;setTimeout(function(){t.popupModel.recalculatePosition(e)},1)},DropdownListModel.prototype.onHidePopup=function(){this.resetFilterString(),this.question.suggestedItem=null},DropdownListModel.prototype.getAvailableItems=function(){return this.question.visibleChoices},DropdownListModel.prototype.setOnTextSearchCallbackForListModel=function(e){var t=this;e.setOnTextSearchCallback(function(e,o){if(t.filteredItems)return t.filteredItems.indexOf(e)>=0;var n=e.text.toLocaleLowerCase(),r=(n=nC.comparator.normalizeTextCallback(n,"filter")).indexOf(o.toLocaleLowerCase());return"startsWith"==t.question.searchMode?0==r:r>-1})},DropdownListModel.prototype.createListModel=function(){var e=this,t=this.getAvailableItems(),o=this.onSelectionChanged;o||(o=function(t){e.question.value=t.id,e.question.onItemSelected&&e.question.onItemSelected(t),e.question.searchEnabled&&e.applyInputString(t),e.popupModel.hide()});var n={items:t,onSelectionChanged:o,allowSelection:!1,locOwner:this.question,elementId:this.listElementId},r=new o4(n);return this.setOnTextSearchCallbackForListModel(r),r.renderElements=!1,r.forceShowFilter=!0,r.areSameItemsCallback=function(e,t){return e===t},r},DropdownListModel.prototype.updateAfterListModelCreated=function(e){var t=this;e.isItemSelected=function(e){return!!e.selected}
vendor: 8,892 bytes, line 5
5,e.onPropertyChanged.add(function(e,o){"hasVerticalScroller"==o.name&&(t.hasScroll=o.newValue)}),e.isAllDataLoaded=!this.question.choicesLazyLoadEnabled,e.actions.forEach(function(e){return e.disableTabStop=!0})},DropdownListModel.prototype.getPopupCssClasses=function(){return"sv-single-select-list"},DropdownListModel.prototype.updateCssClasses=function(e,t){this.popupModel.cssClass=new oY().append(e).append(this.getPopupCssClasses()).toString(),this.listModel.cssClasses=t},DropdownListModel.prototype.resetFilterString=function(){this.filterString&&(this.filterString=void 0)},DropdownListModel.prototype.clear=function(){this.inputString=null,this.hintString="",this.resetFilterString()},DropdownListModel.prototype.onSetFilterString=function(){var e=this;if(this.filteredItems=void 0,this.filterString||this.popupModel.isVisible){var t={question:this.question,choices:this.getAvailableItems(),filter:this.filterString,filteredChoices:void 0};this.question.survey.onChoicesSearch.fire(this.question.survey,t),this.filteredItems=t.filteredChoices,this.filterString&&!this.popupModel.isVisible&&this.popupModel.show();var updateAfterFilterStringChanged=function(){e.setFilterStringToListModel(e.filterString),e.filterString&&e.applyHintString(),e.popupRecalculatePosition(!0)};this.question.choicesLazyLoadEnabled?(this.resetItemsSettings(),this.updateQuestionChoices(updateAfterFilterStringChanged)):updateAfterFilterStringChanged()}},Object.defineProperty(DropdownListModel.prototype,"isAllDataLoaded",{get:function(){return!!this.itemsSettings.totalCount&&this.itemsSettings.items.length==this.itemsSettings.totalCount},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"canShowSelectedItem",{get:function(){return!this.focused||this._markdownMode||!this.searchEnabled},enumerable:!1,configurable:!0}),DropdownListModel.prototype.applyInputString=function(e){(null==e?void 0:e.locText.hasHtml)||this.question.inputFieldComponentName?(this._markdownMode=!0,this.inputString=this.cleanHtml(null==e?void 0:e.locText.getHtmlValue()),this.hintString=""):(this.inputString=null==e?void 0:e.title,this.hintString=null==e?void 0:e.title)},DropdownListModel.prototype.cleanHtml=function(e){return this.htmlCleanerElement?(this.htmlCleanerElement.innerHTML=e,this.htmlCleanerElement.textContent):""},DropdownListModel.prototype.fixInputCase=function(){var e=this.hintStringMiddle;e&&this.inputString!=e&&(this.inputString=e)},DropdownListModel.prototype.applyHintString=function(){var e=this.listModel.focusedItem||this.question.selectedItem;(null==e?void 0:e.locText.hasHtml)||this.question.inputFieldComponentName?(this._markdownMode=!0,this.hintString=""):this.hintString=null==e?void 0:e.title},Object.defineProperty(DropdownListModel.prototype,"inputStringRendered",{get:function(){return this.inputString||""},set:function(e){this.inputString=e,this.filterString=e,e||(this.hintString="")},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"placeholderRendered",{get:function(){return this.hintString||this.question.readOnly||!this.question.isEmpty()?"":this.inputPlaceholder},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"listElementId",{get:function(){return this.question.inputId+"_list"},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"hintStringLC",{get:function(){var e;return(null===(e=this.hintString)||void 0===e?void 0:e.toLowerCase())||""},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"inputStringLC",{get:function(){var e;return(null===(e=this.inputString)||void 0===e?void 0:e.toLowerCase())||""},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"showHintPrefix",{get:function(){return!!this.inputString&&this.hintStringLC.indexOf(this.inputStringLC)>0},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"hintStringPrefix",{get:function(){return this.inputString?this.hintString.substring(0,this.hintStringLC.indexOf(this.inputStringLC)):null},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"showHintString",{get:function(){return!!this.question.searchEnabled&&!!(this.hintStringLC||this.inputStringLC)||!this.question.searchEnabled&&this.hintStringLC&&this.question.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"hintStringSuffix",{get:function(){return this.hintStringLC.indexOf(this.inputStringLC)>=0?this.hintString.substring(this.hintStringLC.indexOf(this.inputStringLC)+this.inputStringLC.length):""},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"hintStringMiddle",{get:function(){var e=this.hintStringLC.indexOf(this.inputStringLC);return -1==e?null:this.hintString.substring(e,e+this.inputStringLC.length)},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"popupModel",{get:function(){return this._popupModel},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"noTabIndex",{get:function(){return this.question.isInputReadOnly||this.searchEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"filterReadOnly",{get:function(){return this.question.isInputReadOnly||!this.searchEnabled||!this.focused},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"filterStringEnabled",{get:function(){return!this.question.isInputReadOnly&&this.searchEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(DropdownListModel.prototype,"inputMode",{get:function(){return rq?"none":"text"},enumerable:!1,configurable:!0}),DropdownListModel.prototype.setSearchEnabled=function(e){this.listModel.setSearchEnabled(rq&&e),this.searchEnabled=e},DropdownListModel.prototype.setChoicesLazyLoadEnabled=function(e){this.listModel.setOnFilterStringChangedCallback(e?this.listModelFilterStringChanged:void 0)},DropdownListModel.prototype.setInputPlaceholder=function(e){this.inputPlaceholder=e},DropdownListModel.prototype.updateItems=function(){this.listModel.setItems(this.getAvailableItems())},DropdownListModel.prototype.onClick=function(e){this.question.readOnly||this.question.isDesignMode||this.question.isPreviewStyle||this.question.isReadOnlyAttr||(this._popupModel.toggleVisibility(),this.focusItemOnClickAndPopup(),this.question.focusInputElement(!1))},DropdownListModel.prototype.chevronPointerDown=function(e){this._popupModel.isVisible&&e.preventDefault()},DropdownListModel.prototype.onPropertyChangedHandler=function(e,t){"value"==t.name&&(this.showInputFieldComponent=this.question.showInputFieldComponent),"textWrapEnabled"==t.name&&this.setTextWrapEnabled(t.newValue)},DropdownListModel.prototype.focusItemOnClickAndPopup=function(){this._popupModel.isVisible&&this.question.value&&this.changeSelectionWithKeyboard(!1)},DropdownListModel.prototype.onClear=function(e){this.question.clearValue(!0),this._popupModel.hide(),e&&(e.preventDefault(),e.stopPropagation())},DropdownListModel.prototype.getSelectedAction=function(){return this.question.selectedItem||null},DropdownListModel.prototype.changeSelectionWithKeyboard=function(e){var t,o=this.listModel.focusedItem;!o&&this.question.selectedItem?n0.getItemByValue(this.question.visibleChoices,this.question.value)&&(this.listModel.focusedItem=this.question.selectedItem):e?this.listModel.focusPrevVisibleItem():this.listModel.focusNextVisibleItem(),this.beforeScrollToFocusedItem(o),this.scrollToFocusedItem(),this.afterScrollToFocusedItem(),this.ariaActivedescendant=null===(t=this.listModel.focusedItem)||void 0===t?void 0:t.elementId},DropdownListModel.prototype.beforeScrollToFocusedItem=function(e){this.question.value&&e&&(e.selectedValue=!1,this.listModel.focusedItem.selectedValue=!this.listModel.filterString,this.question.suggestedItem=this.listModel.focusedItem)},DropdownListModel.prototype.afterScrollToFocusedItem=function(){var e;this.question.value&&!this.listModel.filterString&&this.question.searchEnabled?this.applyInputString(this.listModel.focusedItem||this.question.selectedItem):this.applyHintString(),this.fixInputCase(),this.ariaActivedescendant=null===(e=this.listModel.focusedItem)||void 0===e?void 0:e.elementId},DropdownListModel.prototype.keyHandler=function(e){var t=e.which||e.keyCode;if(this.popupModel.isVisible&&38===e.keyCode?(this.changeSelectionWithKeyboard(!0),e.preventDefault(),e.stopPropagation()):40===e.keyCode&&(this.popupModel.show(),this.changeSelectionWithKeyboard(!1),e.preventDefault(),e.stopPropagation()),9===e.keyCode)this.popupModel.hide();else if(this.popupModel.isVisible||13!==e.keyCode&&32!==e.keyCode){if(!this.popupModel.isVisible||13!==e.keyCode&&(32!==e.keyCode||this.question.searchEnabled&&this.inputString)){if(46===t||8===t)this.searchEnabled||this.onClear(e);
5else if(27===e.keyCode)this._popupModel.hide(),this.hintString="",this.onEscape();else{if(38!==e.keyCode&&40!==e.keyCode&&(32!==e.keyCode||this.question.searchEnabled)||(e.preventDefault(),e.stopPropagation()),32===e.keyCode&&this.question.searchEnabled)return;doKey2ClickUp(e,{processEsc:!1,disableTabStop:this.question.isInputReadOnly})}}else 13===e.keyCode&&this.question.searchEnabled&&!this.inputString&&this.question instanceof iI&&!this._markdownMode&&this.question.value?(this._popupModel.hide(),this.onClear(e)):(this.listModel.selectFocusedItem(),this.onFocus(e)),e.preventDefault(),e.stopPropagation()}else 32===e.keyCode&&(this.popupModel.show(),this.changeSelectionWithKeyboard(!1)),13===e.keyCode&&this.question.survey.questionEditFinishCallback(this.question,e),e.preventDefault(),e.stopPropagation()},DropdownListModel.prototype.onEscape=function(){this.question.searchEnabled&&this.applyInputString(this.question.selectedItem)},DropdownListModel.prototype.onScroll=function(e){var t=e.target;t.scrollHeight-(t.scrollTop+t.offsetHeight)<=this.loadingItemHeight&&this.updateQuestionChoices()},DropdownListModel.prototype.onBlur=function(e){this.focused=!1,this.popupModel.isVisible&&"overlay"==this.popupModel.displayMode||(doKey2ClickBlur(e),this._popupModel.hide(),this.resetFilterString(),this.inputString=null,this.hintString="",e.stopPropagation())},DropdownListModel.prototype.onFocus=function(e){this.focused=!0,this.setInputStringFromSelectedItem(this.question.selectedItem)},DropdownListModel.prototype.setInputStringFromSelectedItem=function(e){this.focused&&(this.question.searchEnabled&&e?this.applyInputString(e):this.inputString=null)},DropdownListModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.question&&this.question.onPropertyChanged.remove(this.questionPropertyChangedHandler),this.questionPropertyChangedHandler=void 0,this.listModel&&this.listModel.dispose(),this.popupModel&&this.popupModel.dispose(),this.htmlCleanerElement=void 0},DropdownListModel.prototype.scrollToFocusedItem=function(){this.listModel.scrollToFocusedItem()},dropdownListModel_decorate([jsonobject_property({defaultValue:!1})],DropdownListModel.prototype,"focused",void 0),dropdownListModel_decorate([jsonobject_property({defaultValue:!0})],DropdownListModel.prototype,"searchEnabled",void 0),dropdownListModel_decorate([jsonobject_property({defaultValue:"",onSet:function(e,t){t.onSetFilterString()}})],DropdownListModel.prototype,"filterString",void 0),dropdownListModel_decorate([jsonobject_property({defaultValue:"",onSet:function(e,t){t.question.inputHasValue=!!e}})],DropdownListModel.prototype,"inputString",void 0),dropdownListModel_decorate([jsonobject_property({})],DropdownListModel.prototype,"showInputFieldComponent",void 0),dropdownListModel_decorate([jsonobject_property()],DropdownListModel.prototype,"ariaActivedescendant",void 0),dropdownListModel_decorate([jsonobject_property()],DropdownListModel.prototype,"inputPlaceholder",void 0),dropdownListModel_decorate([jsonobject_property({defaultValue:!1,onSet:function(e,t){e?t.listModel.addScrollEventListener(function(e){t.onScroll(e)}):t.listModel.removeScrollEventListener()}})],DropdownListModel.prototype,"hasScroll",void 0),dropdownListModel_decorate([jsonobject_property({defaultValue:""})],DropdownListModel.prototype,"hintString",void 0),DropdownListModel}(oW),ik=($=function(e,t){return($=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}$(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_dropdown_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iI=function(e){function QuestionDropdownModel(t){var o=e.call(this,t)||this;return o.lastSelectedItemValue=null,o.minMaxChoices=[],o.onOpened=o.addEvent(),o.ariaExpanded="false",o.createLocalizableString("placeholder",o,!1,!0),o.createLocalizableString("clearCaption",o,!1,!0),o.createLocalizableString("readOnlyText",o,!0),o.registerPropertyChangedH
5andlers(["choicesMin","choicesMax","choicesStep"],function(){o.onVisibleChoicesChanged()}),o.registerPropertyChangedHandlers(["value","renderAs","showOtherItem","otherText","placeholder","choices","visibleChoices"],function(){o.getSingleSelectedItem(),o.updateReadOnlyText()}),o.updateReadOnlyText(),o}return ik(QuestionDropdownModel,e),QuestionDropdownModel.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),this.updateInputPlaceholder(this.placeholder)},QuestionDropdownModel.prototype.updateReadOnlyText=function(){this.readOnlyText=this.calculateReadOnlyText()},QuestionDropdownModel.prototype.updateInputPlaceholder=function(e){this.dropdownListModelValue&&this.dropdownListModel.setInputPlaceholder(e)},Object.defineProperty(QuestionDropdownModel.prototype,"showOptionsCaption",{get:function(){return this.allowClear},set:function(e){this.allowClear=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"showClearButton",{get:function(){return this.allowClear&&!this.isEmpty()&&(!this.isDesignMode||nC.supportCreatorV2)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"optionsCaption",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("placeholder")},set:function(e){this.setLocalizableStringText("placeholder",e),this.updateInputPlaceholder(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("placeholder")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"clearCaption",{get:function(){return this.getLocalizableStringText("clearCaption")},set:function(e){this.setLocalizableStringText("clearCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"locClearCaption",{get:function(){return this.getLocalizableString("clearCaption")},enumerable:!1,configurable:!0}),QuestionDropdownModel.prototype.getType=function(){return"dropdown"},Object.defineProperty(QuestionDropdownModel.prototype,"ariaRole",{get:function(){return"combobox"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"selectedItem",{get:function(){return this.getSingleSelectedItem()},enumerable:!1,configurable:!0}),QuestionDropdownModel.prototype.onGetSingleSelectedItem=function(e){e&&(this.lastSelectedItemValue=e)},QuestionDropdownModel.prototype.supportGoNextPageAutomatic=function(){return!this.isOtherSelected},QuestionDropdownModel.prototype.getChoices=function(){var t=e.prototype.getChoices.call(this);if(this.choicesMax<=this.choicesMin)return t;for(var o=[],n=0;n<t.length;n++)o.push(t[n]);if(0===this.minMaxChoices.length||this.minMaxChoices.length!==(this.choicesMax-this.choicesMin)/this.choicesStep+1){this.minMaxChoices=[];for(var n=this.choicesMin;n<=this.choicesMax;n+=this.choicesStep)this.minMaxChoices.push(this.createItemValue(n))}return o.concat(this.minMaxChoices)},Object.defineProperty(QuestionDropdownModel.prototype,"choicesMin",{get:function(){return this.getPropertyValue("choicesMin")},set:function(e){this.setPropertyValue("choicesMin",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"choicesMax",{get:function(){return this.getPropertyValue("choicesMax")},set:function(e){this.setPropertyValue("choicesMax",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"choicesStep",{get:function(){return this.getPropertyValue("choicesStep")},set:function(e){e<1&&(e=1),this.setPropertyValue("choicesStep",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"autocomplete",{get:function(){return this.getPropertyValue("autocomplete","")},set:function(e){this.setPropertyValue("autocomplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"readOnlyText",{get:function(){return this.getLocalizableStringText("readOnlyText")}
vendor: 4,524 bytes, line 5
5,set:function(e){this.setLocalizableStringText("readOnlyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"locReadOnlyText",{get:function(){return this.getLocalizableString("readOnlyText")},enumerable:!1,configurable:!0}),QuestionDropdownModel.prototype.calculateReadOnlyText=function(){if("select"==this.renderAs){if(this.isOtherSelected)return this.otherText;if(this.isNoneSelected)return this.noneText;if(this.selectedItem)return this.selectedItemText}return this.selectedItem?this.selectedItemText:this.placeholder},QuestionDropdownModel.prototype.getControlClass=function(){return new oY().append(this.cssClasses.control).append(this.cssClasses.controlEmpty,this.isEmpty()).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle).append(this.cssClasses.controlInputFieldComponent,!!this.inputFieldComponentName).toString()},QuestionDropdownModel.prototype.updateCssClasses=function(t,o){e.prototype.updateCssClasses.call(this,t,o),this.useDropdownList&&updateListCssValues(t,o)},QuestionDropdownModel.prototype.calcCssClasses=function(t){var o=e.prototype.calcCssClasses.call(this,t);return this.dropdownListModelValue&&this.dropdownListModel.updateCssClasses(o.popup,o.list),o},Object.defineProperty(QuestionDropdownModel.prototype,"selectedItemLocText",{get:function(){var e=this.suggestedItem||this.selectedItem;return null==e?void 0:e.locText},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"inputFieldComponentName",{get:function(){return this.inputFieldComponent||this.itemComponent},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"showSelectedItemLocText",{get:function(){return!this.inputHasValue&&!this.inputFieldComponentName&&!!this.selectedItemLocText&&this.dropdownListModel.canShowSelectedItem},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"showInputFieldComponent",{get:function(){return!this.inputHasValue&&!!this.inputFieldComponentName&&!this.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"selectedItemText",{get:function(){var e=this.selectedItem;return e?e.text:""},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"useDropdownList",{get:function(){return"select"!==this.renderAs},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"dropdownListModel",{get:function(){return this.isDisposed||!this.useDropdownList||this.dropdownListModelValue||(this.dropdownListModelValue=new iR(this)),this.dropdownListModelValue},set:function(e){this.dropdownListModelValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionDropdownModel.prototype,"popupModel",{get:function(){return this.dropdownListModel.popupModel},enumerable:!1,configurable:!0}),QuestionDropdownModel.prototype.onOpenedCallBack=function(){this.onOpened.fire(this,{question:this,choices:this.choices})},QuestionDropdownModel.prototype.onSelectedItemValuesChangedHandler=function(t){var o;null===(o=this.dropdownListModelValue)||void 0===o||o.setInputStringFromSelectedItem(t),e.prototype.onSelectedItemValuesChangedHandler.call(this,t)},QuestionDropdownModel.prototype.hasUnknownValue=function(t,o,n,r){return!this.choicesLazyLoadEnabled&&e.prototype.hasUnknownValue.call(this,t,o,n,r)},QuestionDropdownModel.prototype.needConvertRenderedOtherToDataValue=function(){var t,o=null===(t=this.otherValue)||void 0===t?void 0:t.trim();return!!o&&e.prototype.hasUnknownValue.call(this,o,!0,!1)},QuestionDropdownModel.prototype.getItemIfChoicesNotContainThisValue=function(t,o){return this.choicesLazyLoadEnabled?this.createItemValue(t,o):e.prototype.getItemIfChoicesNotContainThisValue.call(this,t,o)},QuestionDropdownModel.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.dropdownListModelValue&&this.dropdownListModel.updateItems()},QuestionDropdownModel.prototype.getFirstInputElementId=function(){return this.inputId+(this.searchEnabled?"_0":"")},QuestionDropdownModel.prototype.getInputId=function(){return this.inputId+"_0"},QuestionDropdownModel.prototype.clearValue=function(t){var o;e.prototype.clearValue.call(this,t),this.lastSelectedItemValue=null,null===(o=this.dropdownListModelValue)||void 0===o||o.clear()}
5,QuestionDropdownModel.prototype.afterRenderCore=function(t){e.prototype.afterRenderCore.call(this,t),this.dropdownListModelValue&&this.dropdownListModelValue.clear()},QuestionDropdownModel.prototype.onClick=function(e){this.onOpenedCallBack&&this.onOpenedCallBack()},QuestionDropdownModel.prototype.onKeyUp=function(e){46===(e.which||e.keyCode)&&(this.clearValue(!0),e.preventDefault(),e.stopPropagation())},QuestionDropdownModel.prototype.supportEmptyValidation=function(){return!0},QuestionDropdownModel.prototype.onBlurCore=function(t){this.dropdownListModel.onBlur(t),e.prototype.onBlurCore.call(this,t)},QuestionDropdownModel.prototype.onFocusCore=function(t){this.dropdownListModel.onFocus(t),e.prototype.onFocusCore.call(this,t)},QuestionDropdownModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.dropdownListModelValue&&(this.dropdownListModelValue.dispose(),this.dropdownListModelValue=void 0)},question_dropdown_decorate([jsonobject_property()],QuestionDropdownModel.prototype,"allowClear",void 0),question_dropdown_decorate([jsonobject_property({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setSearchEnabled(e)}})],QuestionDropdownModel.prototype,"searchEnabled",void 0),question_dropdown_decorate([jsonobject_property()],QuestionDropdownModel.prototype,"searchMode",void 0),question_dropdown_decorate([jsonobject_property()],QuestionDropdownModel.prototype,"textWrapEnabled",void 0),question_dropdown_decorate([jsonobject_property({defaultValue:!1})],QuestionDropdownModel.prototype,"inputHasValue",void 0),question_dropdown_decorate([jsonobject_property({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setChoicesLazyLoadEnabled(e)}})],QuestionDropdownModel.prototype,"choicesLazyLoadEnabled",void 0),question_dropdown_decorate([jsonobject_property()],QuestionDropdownModel.prototype,"choicesLazyLoadPageSize",void 0),question_dropdown_decorate([jsonobject_property()],QuestionDropdownModel.prototype,"suggestedItem",void 0),QuestionDropdownModel}(ix);ov.addClass("dropdown",[{name:"placeholder",alternativeName:"optionsCaption",serializationProperty:"locPlaceholder"},{name:"allowClear:boolean",alternativeName:"showOptionsCaption",default:!0},{name:"choicesMin:number",default:0},{name:"choicesMax:number",default:0},{name:"choicesStep:number",default:1,minValue:1},{name:"autocomplete",alternativeName:"autoComplete",choices:nC.questions.dataList},{name:"textWrapEnabled:boolean",default:!0},{name:"renderAs",default:"default",visible:!1},{name:"searchEnabled:boolean",default:!0,visible:!1},{name:"searchMode",default:"contains",choices:["contains","startsWith"]},{name:"choicesLazyLoadEnabled:boolean",default:!1,visible:!1},{name:"choicesLazyLoadPageSize:number",default:25,visible:!1},{name:"inputFieldComponent",visible:!1},{name:"itemComponent",visible:!1,default:""}],function(){return new iI("")},"selectbase"),rh.Instance.registerQuestion("dropdown",function(e){var t=new iI(e);return t.choices=rh.DefaultChoices,t});var iO=(J=function(e,t){return(J=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}J(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),iD=function(e){function MatrixRowModel(t,o,n,r){var i=e.call(this)||this;return i.item=t,i.fullName=o,i.data=n,i.setValueDirectly(r),i.cellClick=function(e){i.value=e.value},i.registerPropertyChangedHandlers(["value"],function(){i.data&&i.data.onMatrixRowChanged(i)}),i.data&&i.data.hasErrorInRow(i)&&(i.hasError=!0),i}return iO(MatrixRowModel,e),Object.defineProperty(MatrixRowModel.prototype,"name",{get:function(){return this.item.value},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"text",{get:function(){return this.item.text},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"locText",{get:function(){return this.item.locText}
vendor: 4,238 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"value",{get:function(){return this.getPropertyValue("value")},set:function(e){this.isReadOnly||this.setValueDirectly(this.data.getCorrectedRowValue(e))},enumerable:!1,configurable:!0}),MatrixRowModel.prototype.setValueDirectly=function(e){this.setPropertyValue("value",e)},Object.defineProperty(MatrixRowModel.prototype,"isReadOnly",{get:function(){return!this.item.enabled||this.data.isInputReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"isReadOnlyAttr",{get:function(){return this.data.isReadOnlyAttr},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"isDisabledAttr",{get:function(){return!this.item.enabled||this.data.isDisabledAttr},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"rowTextClasses",{get:function(){return new oY().append(this.data.cssClasses.rowTextCell).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"hasError",{get:function(){return this.getPropertyValue("hasError",!1)},set:function(e){this.setPropertyValue("hasError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRowModel.prototype,"rowClasses",{get:function(){var e=this.data.cssClasses;return new oY().append(e.row).append(e.rowError,this.hasError).append(e.rowReadOnly,this.isReadOnly).append(e.rowDisabled,this.data.isDisabledStyle).toString()},enumerable:!1,configurable:!0}),MatrixRowModel}(oW),iA=function(e){function MatrixCells(t){var o=e.call(this)||this;return o.cellsOwner=t,o.values={},o.locs={},o}return iO(MatrixCells,e),MatrixCells.prototype.getType=function(){return"cells"},Object.defineProperty(MatrixCells.prototype,"isEmpty",{get:function(){return 0==Object.keys(this.values).length},enumerable:!1,configurable:!0}),MatrixCells.prototype.valuesChanged=function(){!this.locNotification&&this.onValuesChanged&&this.onValuesChanged()},MatrixCells.prototype.getDefaultCellLocText=function(e){return this.getCellLocCore(this.defaultRowValue,e)},MatrixCells.prototype.getCellDisplayLocText=function(e,t){return this.getCellLocCore(e,t)},MatrixCells.prototype.getCellLocCore=function(e,t){var o=this;if(e=this.getCellRowColumnValue(e,this.rows),t=this.getCellRowColumnValue(t,this.columns),oe.isValueEmpty(e)||oe.isValueEmpty(t))return null;this.locs[e]||(this.locs[e]={});var n=this.locs[e][t];return n||((n=this.createString()).setJson(this.getCellLocData(e,t)),n.onGetTextCallback=function(e){if(!e){var n=n0.getItemByValue(o.columns,t);if(n)return n.locText.getJson()||n.value}return e},n.onStrChanged=function(n,r){o.updateValues(e,t,r)},this.locs[e][t]=n),n},Object.defineProperty(MatrixCells.prototype,"defaultRowValue",{get:function(){return nC.matrix.defaultRowName},enumerable:!1,configurable:!0}),MatrixCells.prototype.getCellLocData=function(e,t){return this.getCellLocDataFromValue(e,t)||this.getCellLocDataFromValue(this.defaultRowValue,t)},MatrixCells.prototype.getCellLocDataFromValue=function(e,t){return this.values[e]&&this.values[e][t]?this.values[e][t]:null},MatrixCells.prototype.getCellText=function(e,t){var o=this.getCellLocCore(e,t);return o?o.calculatedText:null},MatrixCells.prototype.setCellText=function(e,t,o){var n=this.getCellLocCore(e,t);n&&(n.text=o)},MatrixCells.prototype.updateValues=function(e,t,o){o?(this.values[e]||(this.values[e]={}),this.values[e][t]=o,this.valuesChanged()):this.values[e]&&this.values[e][t]&&(delete this.values[e][t],0==Object.keys(this.values[e]).length&&delete this.values[e],this.valuesChanged())},MatrixCells.prototype.getDefaultCellText=function(e){var t=this.getCellLocCore(this.defaultRowValue,e);return t?t.calculatedText:null},MatrixCells.prototype.setDefaultCellText=function(e,t){this.setCellText(this.defaultRowValue,e,t)},MatrixCells.prototype.getCellDisplayText=function(e,t){var o=this.getCellDisplayLocText(e,t);return o?o.calculatedText:null},Object.defineProperty(MatrixCells.prototype,"rows",{get:function(){return this.cellsOwner?this.cellsOwner.getRows():[]},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixCells.prototype,"columns",{get:function(){return this.cellsOwner?this.cellsOwner.getColumns():[]}
5,enumerable:!1,configurable:!0}),MatrixCells.prototype.getCellRowColumnValue=function(e,t){if(null==e)return null;if("number"==typeof e){if(e<0||e>=t.length)return null;e=t[e].value}return e.value?e.value:e},MatrixCells.prototype.getJson=function(){if(this.isEmpty)return null;var e=this.values[this.defaultRowValue],t={};for(var o in this.values){var n={},r=this.values[o];for(var i in r)if(o===this.defaultRowValue||!e||e[i]!==r[i]){var s=this.getCellLocCore(o,i);n[i]=s?s.getJson():r[i]}t[o]=n}return t},MatrixCells.prototype.setJson=function(e,t){var o=this;if(this.values={},e){for(var n in e)if("pos"!=n){var r=e[n];for(var i in this.values[n]={},r)"pos"!=i&&(this.values[n][i]=r[i])}}this.locNotification=!0,this.runFuncOnLocs(function(e,t,n){return n.setJson(o.getCellLocData(e,t))}),this.locNotification=!1,this.valuesChanged()},MatrixCells.prototype.locStrsChanged=function(){this.runFuncOnLocs(function(e,t,o){return o.strChanged()})},MatrixCells.prototype.runFuncOnLocs=function(e){for(var t in this.locs){var o=this.locs[t];for(var n in o)e(t,n,o[n])}},MatrixCells.prototype.createString=function(){return new nf(this.cellsOwner,!0)},MatrixCells}(oW),iQ=function(e){function QuestionMatrixModel(t){var o=e.call(this,t)||this;return o.isRowChanging=!1,o.emptyLocalizableString=new nf(o),o.cellsValue=new iA(o),o.cellsValue.onValuesChanged=function(){o.updateHasCellText(),o.propertyValueChanged("cells",o.cells,o.cells)},o.registerPropertyChangedHandlers(["columns"],function(){o.onColumnsChanged()}),o.registerPropertyChangedHandlers(["rows"],function(){o.runCondition(o.getDataFilteredValues(),o.getDataFilteredProperties()),o.onRowsChanged()}),o.registerPropertyChangedHandlers(["hideIfRowsEmpty"],function(){o.updateVisibilityBasedOnRows()}),o}return iO(QuestionMatrixModel,e),QuestionMatrixModel.prototype.getType=function(){return"matrix"},Object.defineProperty(QuestionMatrixModel.prototype,"cellComponent",{get:function(){return this.getPropertyValue("cellComponent")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"itemComponent",{set:function(e){this.setPropertyValue("cellComponent",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"isAllRowRequired",{get:function(){return this.getPropertyValue("isAllRowRequired")},set:function(e){this.setPropertyValue("isAllRowRequired",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"eachRowUnique",{get:function(){return this.getPropertyValue("eachRowUnique")},set:function(e){this.setPropertyValue("eachRowUnique",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"hasRows",{get:function(){return this.rows.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"rowsOrder",{get:function(){return this.getPropertyValue("rowsOrder")},set:function(e){(e=e.toLowerCase())!=this.rowsOrder&&(this.setPropertyValue("rowsOrder",e),this.onRowsChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"hideIfRowsEmpty",{get:function(){return this.getPropertyValue("hideIfRowsEmpty")},set:function(e){this.setPropertyValue("hideIfRowsEmpty",e)},enumerable:!1,configurable:!0}),QuestionMatrixModel.prototype.getRows=function(){return this.rows},QuestionMatrixModel.prototype.getColumns=function(){return this.visibleColumns},QuestionMatrixModel.prototype.addColumn=function(e,t){var o=new n0(e,t);return this.columns.push(o),o},QuestionMatrixModel.prototype.getItemClass=function(e,t){var o=e.value==t.value,n=this.isReadOnly,r=!o&&!n,i=this.hasCellText,s=this.cssClasses;return new oY().append(s.cell,i).append(i?s.cellText:s.label).append(s.itemOnError,!i&&(this.isAllRowRequired||this.eachRowUnique?e.hasError:this.hasCssError())).append(i?s.cellTextSelected:s.itemChecked,o).append(i?s.cellTextDisabled:s.itemDisabled,this.isDisabledStyle).append(i?s.cellTextReadOnly:s.itemReadOnly,this.isReadOnlyStyle).append(i?s.cellTextPreview:s.itemPreview,this.isPreviewStyle).append(s.itemHover,r&&!i).toString()},Object.defineProperty(QuestionMatrixModel.prototype,"itemSvgIcon",{get:function(){return this.isPreviewStyle&&this.cssClasse
vendor: 8,949 bytes, line 5
5s.itemPreviewSvgIconId?this.cssClasses.itemPreviewSvgIconId:this.cssClasses.itemSvgIconId},enumerable:!1,configurable:!0}),QuestionMatrixModel.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.cells.locStrsChanged()},QuestionMatrixModel.prototype.getQuizQuestionCount=function(){for(var e=0,t=0;t<this.rows.length;t++)!this.isValueEmpty(this.correctAnswer[this.rows[t].value])&&e++;return e},QuestionMatrixModel.prototype.getCorrectAnswerCount=function(){for(var e=0,t=this.value,o=0;o<this.rows.length;o++){var n=this.rows[o].value;!this.isValueEmpty(t[n])&&this.isTwoValueEquals(this.correctAnswer[n],t[n])&&e++}return e},QuestionMatrixModel.prototype.runCondition=function(t,o){n0.runEnabledConditionsForItems(this.rows,void 0,t,o),e.prototype.runCondition.call(this,t,o)},QuestionMatrixModel.prototype.createRowsVisibleIfRunner=function(){return this.rowsVisibleIf?new oq(this.rowsVisibleIf):null},QuestionMatrixModel.prototype.onRowsChanged=function(){this.clearGeneratedRows(),e.prototype.onRowsChanged.call(this)},QuestionMatrixModel.prototype.getVisibleRows=function(){if(this.generatedVisibleRows)return this.generatedVisibleRows;var e=[],t=this.value;t||(t={});for(var o=this.filteredRows||this.rows,n=0;n<o.length;n++){var r=o[n];if(!this.isValueEmpty(r.value)){var i=this.id+"_"+r.value.toString().replace(/\s/g,"_");e.push(this.createMatrixRow(r,i,t[r.value]))}}return this.generatedVisibleRows=e,e},QuestionMatrixModel.prototype.sortVisibleRows=function(e){return this.survey&&this.survey.isDesignMode?e:"random"===this.rowsOrder.toLowerCase()?oe.randomizeArray(e):e},QuestionMatrixModel.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.rows=this.sortVisibleRows(this.rows),this.onRowsChanged(),this.onColumnsChanged()},QuestionMatrixModel.prototype.isNewValueCorrect=function(e){return oe.isValueObject(e,!0)},QuestionMatrixModel.prototype.processRowsOnSet=function(e){return this.sortVisibleRows(e)},Object.defineProperty(QuestionMatrixModel.prototype,"visibleRows",{get:function(){return this.getVisibleRows()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"cells",{get:function(){return this.cellsValue},set:function(e){this.cells.setJson(e&&e.getJson?e.getJson():null)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMatrixModel.prototype,"hasCellText",{get:function(){return this.getPropertyValue("hasCellText",!1)},enumerable:!1,configurable:!0}),QuestionMatrixModel.prototype.updateHasCellText=function(){this.setPropertyValue("hasCellText",!this.cells.isEmpty)},QuestionMatrixModel.prototype.setCellText=function(e,t,o){this.cells.setCellText(e,t,o)},QuestionMatrixModel.prototype.getCellText=function(e,t){return this.cells.getCellText(e,t)},QuestionMatrixModel.prototype.setDefaultCellText=function(e,t){this.cells.setDefaultCellText(e,t)},QuestionMatrixModel.prototype.getDefaultCellText=function(e){return this.cells.getDefaultCellText(e)},QuestionMatrixModel.prototype.getCellDisplayText=function(e,t){return this.cells.getCellDisplayText(e,t)},QuestionMatrixModel.prototype.getCellDisplayLocText=function(e,t){return this.cells.getCellDisplayLocText(e,t)||this.emptyLocalizableString},QuestionMatrixModel.prototype.supportGoNextPageAutomatic=function(){return!0===this.isMouseDown&&this.hasValuesInAllRows()},QuestionMatrixModel.prototype.onCheckForErrors=function(t,o,n){if(e.prototype.onCheckForErrors.call(this,t,o,n),!o||this.hasCssError()){var r={noValue:!1,isNotUnique:!1};this.checkErrorsAllRows(n,r),r.noValue&&t.push(new nD(null,this)),r.isNotUnique&&t.push(new nA(null,this))}},QuestionMatrixModel.prototype.hasValuesInAllRows=function(){var e={noValue:!1,isNotUnique:!1};return this.checkErrorsAllRows(!1,e,!0),!e.noValue},QuestionMatrixModel.prototype.checkErrorsAllRows=function(e,t,o){var n=this,r=this.generatedVisibleRows;if(r||(r=this.visibleRows),r){var i=this.isAllRowRequired||o,s=this.eachRowUnique;if(t.noValue=!1,t.isNotUnique=!1,e&&(this.errorsInRow=void 0),i||s){for(var a={},l=0;l<r.length;l++){var u=r[l].value,c=this.isValueEmpty(u),p=s&&!c&&!0===a[u];c=c&&i,e&&(c||p)&&this.addErrorIntoRow(r[l]),c||(a[u]=!0),t.noValue=t.noValue||c,t.isNotUnique=t.isNotUnique||p}e&&r.forEach(function(e){e.hasError=n.hasErrorInRow(e)})}}},QuestionMatrixModel.prototype.addErrorIntoRow=function(e){this.errorsInRow||(this.errorsInRow={}),this.errorsInRow[e.name]=!0,e.hasError=!0},QuestionMatrixModel.prototype.refreshRowsErrors=function(){this.errorsInRow&&this.checkErrorsAllRows(!0,{noValue:!1,isNotUnique:!1})},QuestionMatrixModel.prototype.getIsAnswered=function(){return e.prototype.getIsAnswered.call(this)&&this.hasValuesInAllRows()},QuestionMatrixModel.prototype.createMatrixRow=function(e,t,o){var n=new iD(e,t,this,o);return this.onMatrixRowCreated(n),n},QuestionMatrixModel.prototype.onMatrixRowCreated=function(e){},QuestionMatrixModel.prototype.setQuestionValue=function(t,o){if(void 0===o&&(o=!0),e.prototype.setQuestionValue.call(this,t,this.isRowChanging||o),this.generatedVisibleRows&&0!=this.generatedVisibleRows.length){this.isRowChanging=!0;var n=this.value;if(n||(n={}),0==this.rows.length)this.generatedVisibleRows[0].setValueDirectly(n);else for(var r=0;r<this.generatedVisibleRows.length;r++){var i=n[this.generatedVisibleRows[r].name];this.isValueEmpty(i)&&(i=null),this.generatedVisibleRows[r].setValueDirectly(i)}this.refreshRowsErrors(),this.updateIsAnswered(),this.isRowChanging=!1}},QuestionMatrixModel.prototype.getDisplayValueCore=function(e,t){var o={};for(var n in t){var r=e?n0.getTextOrHtmlByValue(this.rows,n):n;r||(r=n);var i=n0.getTextOrHtmlByValue(this.columns,t[n]);i||(i=t[n]),o[r]=i}return o},QuestionMatrixModel.prototype.getPlainData=function(t){var o=this;void 0===t&&(t={includeEmpty:!0});var n=e.prototype.getPlainData.call(this,t);if(n){var r=this.createValueCopy();n.isNode=!0,n.data=Object.keys(r||{}).map(function(e){var n=o.rows.filter(function(t){return t.value===e})[0],i={name:e,title:n?n.text:"row",value:r[e],displayValue:n0.getTextOrHtmlByValue(o.visibleColumns,r[e]),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1},s=n0.getItemByValue(o.visibleColumns,r[e]);return s&&(t.calculations||[]).forEach(function(e){i[e.propertyName]=s[e.propertyName]}),i})}return n},QuestionMatrixModel.prototype.addConditionObjectsByContext=function(e,t){for(var o=0;o<this.rows.length;o++){var n=this.rows[o];n.value&&e.push({name:this.getValueName()+"."+n.value,text:this.processedTitle+"."+n.calculatedText,question:this})}},QuestionMatrixModel.prototype.getConditionJson=function(t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),!o)return e.prototype.getConditionJson.call(this,t);var n=new iI(o);n.choices=this.columns;var r=new oy().toJsonObject(n);return r.type=n.getType(),r},QuestionMatrixModel.prototype.clearIncorrectValues=function(){this.clearInvisibleValuesInRowsAndColumns(!0,!0,!0),e.prototype.clearIncorrectValues.call(this)},QuestionMatrixModel.prototype.clearValueIfInvisibleCore=function(t){e.prototype.clearValueIfInvisibleCore.call(this,t),this.clearInvisibleValuesInRowsAndColumns(!0,!0,!1)},QuestionMatrixModel.prototype.clearInvisibleColumnValues=function(){this.clearInvisibleValuesInRowsAndColumns(!1,!0,!1)},QuestionMatrixModel.prototype.clearInvisibleValuesInRows=function(){this.clearInvisibleValuesInRowsAndColumns(!0,!1,!1)},QuestionMatrixModel.prototype.clearInvisibleValuesInRowsAndColumns=function(e,t,o){if(!this.isEmpty()){for(var n=this.getUnbindValue(this.value),r={},i=this.rows,s=0;s<i.length;s++){var a=i[s].value;n[a]&&(e&&!i[s].isVisible||t&&!this.getVisibleColumnByValue(n[a])?delete n[a]:r[a]=n[a])}o&&(n=r),this.isTwoValueEquals(n,this.value)||(this.value=n)}},QuestionMatrixModel.prototype.getVisibleColumnByValue=function(e){var t=n0.getItemByValue(this.columns,e);return t&&t.isVisible?t:null},QuestionMatrixModel.prototype.getFirstInputElementId=function(){var t=this.generatedVisibleRows;return(t||(t=this.visibleRows),t.length>0&&this.visibleColumns.length>0)?this.inputId+"_"+t[0].name+"_0":e.prototype.getFirstInputElementId.call(this)},QuestionMatrixModel.prototype.onMatrixRowChanged=function(e){if(!this.isRowChanging){if(this.isRowChanging=!0,this.hasRows){var t=this.value;t||(t={}),t[e.name]=e.value,this.setNewValue(t)}else this.setNewValue(e.value);this.isRowChanging=!1}},QuestionMatrixModel.prototype.getCorrectedRowValue=function(e){for(var t=0;t<this.columns.length;t++)if(e===this.columns[t].value)return e;for(var t=0;t<this.columns.length;t++)if(this.isTwoValueEquals(e,this.columns[t].value))return this.columns[t].value;return e},QuestionMatrixModel.prototype.hasErrorInRow=function(e){return!!this.errorsInRow&&!!this.errorsInRow[e.name]},QuestionMatrixModel.prototype.getSearchableItemValueKeys=function(e){e.push("columns"),e.push("rows")},Object.defineProperty(QuestionMatrixModel.prototype,"SurveyModel",{get:function(){return this.survey}
5,enumerable:!1,configurable:!0}),QuestionMatrixModel.prototype.getColumnHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName({column:e},"column-header")},QuestionMatrixModel.prototype.getColumnHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData({column:e},"column-header")},QuestionMatrixModel.prototype.getRowHeaderWrapperComponentName=function(e){return this.SurveyModel.getElementWrapperComponentName({row:e},"row-header")},QuestionMatrixModel.prototype.getRowHeaderWrapperComponentData=function(e){return this.SurveyModel.getElementWrapperComponentData({row:e},"row-header")},QuestionMatrixModel}(rn);ov.addClass("matrix",["rowTitleWidth",{name:"columns:itemvalue[]",uniqueProperty:"value",baseValue:function(){return getLocaleString("matrix_column")}},{name:"rows:itemvalue[]",uniqueProperty:"value",baseValue:function(){return getLocaleString("matrix_row")}},{name:"cells:cells",serializationProperty:"cells"},{name:"rowsOrder",default:"initial",choices:["initial","random"]},"isAllRowRequired:boolean",{name:"eachRowUnique:boolean",category:"validation"},"hideIfRowsEmpty:boolean",{name:"cellComponent",visible:!1,default:"survey-matrix-cell"}],function(){return new iQ("")},"matrixbase"),rh.Instance.registerQuestion("matrix",function(e){var t=new iQ(e);return t.rows=rh.DefaultRows,t.columns=rh.DefaultColums,t});var ij=(G=function(e,t){return(G=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}G(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_textbase_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iL=function(e){function CharacterCounter(){return null!==e&&e.apply(this,arguments)||this}return ij(CharacterCounter,e),CharacterCounter.prototype.updateRemainingCharacterCounter=function(e,t){this.remainingCharacterCounter=oe.getRemainingCharacterCounterText(e,t)},question_textbase_decorate([jsonobject_property()],CharacterCounter.prototype,"remainingCharacterCounter",void 0),CharacterCounter}(oW),iB=function(e){function QuestionTextBase(t){var o=e.call(this,t)||this;return o.characterCounter=new iL,o}return ij(QuestionTextBase,e),QuestionTextBase.prototype.isTextValue=function(){return!0},Object.defineProperty(QuestionTextBase.prototype,"maxLength",{get:function(){return this.getPropertyValue("maxLength")},set:function(e){this.setPropertyValue("maxLength",e),this.updateRemainingCharacterCounter(this.value)},enumerable:!1,configurable:!0}),QuestionTextBase.prototype.getMaxLength=function(){return oe.getMaxLength(this.maxLength,this.survey?this.survey.maxTextLength:-1)},QuestionTextBase.prototype.updateRemainingCharacterCounter=function(e){this.characterCounter.updateRemainingCharacterCounter(e,this.getMaxLength())},Object.defineProperty(QuestionTextBase.prototype,"placeHolder",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextBase.prototype,"locPlaceHolder",{get:function(){return this.locPlaceholder},enumerable:!1,configurable:!0}),QuestionTextBase.prototype.getType=function(){return"textbase"},QuestionTextBase.prototype.isEmpty=function(){return e.prototype.isEmpty.call(this)||""===this.value},Object.defineProperty(QuestionTextBase.prototype,"textUpdateMode",{get:function(){return this.getPropertyValue("textUpdateMode")},set:function(e){this.setPropertyValue("textUpdateMode",e)},enumerable:!1,configurable:!0}),QuestionTextBase.prototype.getIsInputTextUpdate=function(){return"default"==this.textUpdateMode?e.prototype.getIsInputTextUpdate.call(this):"onTyping"==this.textUpdateMode},Object.defineProperty(QuestionTextBase.prototype,"renderedPlaceholder",{get:function(){var e=this;return this.getPropertyValue("renderedPlaceholder",void 0,function(){return e.hasPlaceholder()?e.placeHolder:void 0})}
vendor: 4,485 bytes, line 5
5,enumerable:!1,configurable:!0}),QuestionTextBase.prototype.onReadOnlyChanged=function(){e.prototype.onReadOnlyChanged.call(this),this.resetRenderedPlaceholder()},QuestionTextBase.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.resetRenderedPlaceholder()},QuestionTextBase.prototype.supportEmptyValidation=function(){return!0},QuestionTextBase.prototype.resetRenderedPlaceholder=function(){this.resetPropertyValue("renderedPlaceholder")},QuestionTextBase.prototype.hasPlaceholder=function(){return!this.isReadOnly},QuestionTextBase.prototype.setNewValue=function(t){e.prototype.setNewValue.call(this,t),this.updateRemainingCharacterCounter(t)},QuestionTextBase.prototype.setQuestionValue=function(t,o){void 0===o&&(o=!0),e.prototype.setQuestionValue.call(this,t,o),this.updateRemainingCharacterCounter(t)},QuestionTextBase.prototype.convertToCorrectValue=function(e){return Array.isArray(e)?e.join(this.getValueSeparator()):e},QuestionTextBase.prototype.getValueSeparator=function(){return", "},QuestionTextBase.prototype.getControlCssClassBuilder=function(){return new oY().append(this.cssClasses.root).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle)},QuestionTextBase.prototype.getControlClass=function(){return this.getControlCssClassBuilder().toString()},Object.defineProperty(QuestionTextBase.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),question_textbase_decorate([jsonobject_property({localizable:!0,onSet:function(e,t){return t.resetRenderedPlaceholder()}})],QuestionTextBase.prototype,"placeholder",void 0),QuestionTextBase}(nX);ov.addClass("textbase",[],function(){return new iB("")},"question");var iq=function(){function InputElementAdapter(e,t,o){var n=this;this.inputMaskInstance=e,this.inputElement=t,this.prevUnmaskedValue=void 0,this.inputMaskInstancePropertyChangedHandler=function(e,t){if("saveMaskedValue"!==t.name){var o=n.inputMaskInstance.getMaskedValue(n.prevUnmaskedValue);n.setInputValue(o)}},this.clickHandler=function(e){n.inputElement.value==n.inputMaskInstance.getMaskedValue("")&&n.inputElement.setSelectionRange(0,0)},this.beforeInputHandler=function(e){var t=n.createArgs(e),o=n.inputMaskInstance.processInput(t);n.setInputValue(o.value),n.inputElement.setSelectionRange(o.caretPosition,o.caretPosition),o.cancelPreventDefault||e.preventDefault()},this.changeHandler=function(e){var t=n.inputMaskInstance.processInput({prevValue:"",insertedChars:e.target.value,selectionStart:0,selectionEnd:0});n.setInputValue(t.value)};var r=o;null==r&&(r=""),this.setInputValue(e.saveMaskedValue?r:e.getMaskedValue(r)),this.prevUnmaskedValue=r,e.onPropertyChanged.add(this.inputMaskInstancePropertyChangedHandler),this.addInputEventListener()}return InputElementAdapter.prototype.setInputValue=function(e){this.inputElement.maxLength>=0&&this.inputElement.maxLength<e.length&&(e=e.slice(0,this.inputElement.maxLength)),this.inputElement.value=e},InputElementAdapter.prototype.createArgs=function(e){var t={insertedChars:e.data,selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd,prevValue:e.target.value,inputDirection:"forward"};return"deleteContentBackward"===e.inputType&&(t.inputDirection="backward",t.selectionStart===t.selectionEnd&&(t.selectionStart=Math.max(t.selectionStart-1,0))),"deleteContentForward"===e.inputType&&t.selectionStart===t.selectionEnd&&(t.selectionEnd+=1),t},InputElementAdapter.prototype.addInputEventListener=function(){this.inputElement&&(this.inputElement.addEventListener("beforeinput",this.beforeInputHandler),this.inputElement.addEventListener("click",this.clickHandler),this.inputElement.addEventListener("focus",this.clickHandler),this.inputElement.addEventListener("change",this.changeHandler))},InputElementAdapter.prototype.removeInputEventListener=function(){this.inputElement&&(this.inputElement.removeEventListener("beforeinput",this.beforeInputHandler),this.inputElement.removeEventListener("click",this.clickHandler),this.inputElement.removeEventListener("focus",this.clickHandler),this.inputElement.removeEventListener("change",this.changeHandler))},InputElementAdapter.prototype.dispose=function(){this.removeInputEventListener(),this.inputElement=void 0,this.inputMaskInstance.onPropertyChanged.remove(this.inputMaskInstancePropertyChangedH
5andler)},InputElementAdapter}(),iN=/[0-9]/;function getAvailableMaskTypeChoices(){var e=(ov.getChildrenClasses("masksettings")||[]).map(function(e){var t=e.name;return -1!==e.name.indexOf("mask")&&(t=t.slice(0,t.indexOf("mask"))),t});return e.unshift("none"),e}var iF=(K=function(e,t){return(K=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}K(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_text_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iz=function(e){function QuestionTextModel(t){var o=e.call(this,t)||this;return o._isWaitingForEnter=!1,o.onCompositionUpdate=function(e){o.isInputTextUpdate&&setTimeout(function(){o.updateValueOnEvent(e)},1),o.updateRemainingCharacterCounter(e.target.value)},o.onKeyUp=function(e){o.updateDateValidationMessage(e),o.isInputTextUpdate?o._isWaitingForEnter&&13!==e.keyCode||(o.updateValueOnEvent(e),o._isWaitingForEnter=!1):13===e.keyCode&&o.updateValueOnEvent(e),o.updateRemainingCharacterCounter(e.target.value)},o.readOnlyBlocker=function(e){if(o.isReadOnlyAttr&&["color","range"].indexOf(o.inputType)>-1)return e.preventDefault(),!0},o.onKeyDown=function(e){o.readOnlyBlocker(e)||(o.onKeyDownPreprocess&&o.onKeyDownPreprocess(e),o.isInputTextUpdate&&(o._isWaitingForEnter=229===e.keyCode),o.onTextKeyDownHandler(e))},o.onChange=function(e){o.updateDateValidationMessage(e),e.target===nC.environment.root.activeElement?o.isInputTextUpdate&&o.updateValueOnEvent(e):o.updateValueOnEvent(e),o.updateRemainingCharacterCounter(e.target.value)},o.createLocalizableString("minErrorText",o,!0,"minError"),o.createLocalizableString("maxErrorText",o,!0,"maxError"),o.setNewMaskSettingsProperty(),o.locDataListValue=new ny(o),o.locDataListValue.onValueChanged=function(e,t){o.propertyValueChanged("dataList",e,t)},o.registerPropertyChangedHandlers(["min","max","inputType","minValueExpression","maxValueExpression"],function(){o.setRenderedMinMax()}),o.registerPropertyChangedHandlers(["inputType","size"],function(){o.updateInputSize(),o.resetRenderedPlaceholder()}),o}return iF(QuestionTextModel,e),QuestionTextModel.prototype.createMaskAdapter=function(){this.input&&!this.maskTypeIsEmpty&&(this.maskInputAdapter=new iq(this.maskInstance,this.input,this.value))},QuestionTextModel.prototype.deleteMaskAdapter=function(){this.maskInputAdapter&&(this.maskInputAdapter.dispose(),this.maskInputAdapter=void 0)},QuestionTextModel.prototype.updateMaskAdapter=function(){this.deleteMaskAdapter(),this.createMaskAdapter()},QuestionTextModel.prototype.onSetMaskType=function(e){this.setNewMaskSettingsProperty(),this.updateMaskAdapter()},Object.defineProperty(QuestionTextModel.prototype,"maskTypeIsEmpty",{get:function(){switch(this.inputType){case"tel":case"text":return"none"===this.maskType;default:return!0}},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"maskSettings",{get:function(){return this.getPropertyValue("maskSettings")},set:function(e){e&&(this.setNewMaskSettingsProperty(),this.maskSettings.fromJSON(e.toJSON()),this.updateMaskAdapter())},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.setNewMaskSettingsProperty=function(){this.setPropertyValue("maskSettings",this.createMaskSettings())},QuestionTextModel.prototype.createMaskSettings=function(){var e=this.maskType&&"none"!==this.maskType?this.maskType+"mask":"masksettings";ov.findClass(e)||(e="masksettings");var t=ov.createClass(e);return t.owner=this.survey,t},QuestionTextModel.prototype.isTextValue=function(){return this.isDateInputType||["text","number","password"].indexOf(this.inputType)>-1},QuestionTextModel.prototype.getType=function(){return"text"},QuestionTextModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.setRenderedMinMax(),this.updateInputSize()},Object.defineProperty(QuestionTextModel.prototype,"inputType",{get:function(){return this.getPropertyValue("inputType")},set:function(e){("datetime_local"===(e=e.toLowerCase())||"datetime"===e)&&(e="datetime-local"),this.setPropertyValue("inputType",e.toLowerCase()),this.isLoadingFromJson||(this.min=void 0,this.max=void 0,this.step=void 0),this.updateMaskAdapter()}
vendor: 12,507 bytes, line 5
5,enumerable:!1,configurable:!0}),QuestionTextModel.prototype.getMaxLength=function(){return this.isTextInput?e.prototype.getMaxLength.call(this):null},QuestionTextModel.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),(this.minValueExpression||this.maxValueExpression)&&this.setRenderedMinMax(t,o)},QuestionTextModel.prototype.getDisplayValueCore=function(t,o){return this.maskTypeIsEmpty||oe.isValueEmpty(o)?e.prototype.getDisplayValueCore.call(this,t,o):this.maskInstance.getMaskedValue(o)},QuestionTextModel.prototype.isLayoutTypeSupported=function(e){return!0},Object.defineProperty(QuestionTextModel.prototype,"size",{get:function(){return this.getPropertyValue("size")},set:function(e){this.setPropertyValue("size",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"isTextInput",{get:function(){return["text","search","tel","url","email","password"].indexOf(this.inputType)>-1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"inputSize",{get:function(){return this.getPropertyValue("inputSize",0)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"renderedInputSize",{get:function(){return this.getPropertyValue("inputSize")||null},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"inputWidth",{get:function(){return this.getPropertyValue("inputWidth")},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.updateInputSize=function(){var e=this.isTextInput&&this.size>0?this.size:0;this.isTextInput&&e<1&&this.parent&&this.parent.itemSize&&(e=this.parent.itemSize),this.setPropertyValue("inputSize",e),this.setPropertyValue("inputWidth",e>0?"auto":"")},Object.defineProperty(QuestionTextModel.prototype,"autocomplete",{get:function(){return this.getPropertyValue("autocomplete",null)},set:function(e){this.setPropertyValue("autocomplete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"min",{get:function(){return this.getPropertyValue("min")},set:function(e){if(this.isValueExpression(e)){this.minValueExpression=e.substring(1);return}this.setPropertyValue("min",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"max",{get:function(){return this.getPropertyValue("max")},set:function(e){if(this.isValueExpression(e)){this.maxValueExpression=e.substring(1);return}this.setPropertyValue("max",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"minValueExpression",{get:function(){return this.getPropertyValue("minValueExpression","")},set:function(e){this.setPropertyValue("minValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"maxValueExpression",{get:function(){return this.getPropertyValue("maxValueExpression","")},set:function(e){this.setPropertyValue("maxValueExpression",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"renderedMin",{get:function(){return this.getPropertyValue("renderedMin")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"renderedMax",{get:function(){return this.getPropertyValue("renderedMax")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"minErrorText",{get:function(){return this.getLocalizableStringText("minErrorText")},set:function(e){this.setLocalizableStringText("minErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"locMinErrorText",{get:function(){return this.getLocalizableString("minErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"maxErrorText",{get:function(){return this.getLocalizableStringText("maxErrorText")},set:function(e){this.setLocalizableStringText("maxErrorText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"locMaxErrorText",{get:function(){return this.getLocalizableString("maxErrorText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"isMinMaxType",{get:function(){return isMinMaxType(this)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"maskInstance",{get:function(){return this.maskSettings},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"inputValue",{get:function(){return this._inputValue||this.maskTypeIsEmpty?this._inputValue:this.maskInstance.getMaskedValue("")},set:function(e){var t=e;this._inputValue=e,!this.maskTypeIsEmpty&&(t=this.maskInstance.getUnmaskedValue(e),this._inputValue=this.maskInstance.getMaskedValue(t),t&&this.maskSettings.saveMaskedValue&&(t=this._inputValue)),this.value=t},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.getExpressionValue=function(e){return!this.maskTypeIsEmpty&&this.maskSettings.saveMaskedValue?this.maskInstance.getUnmaskedValue(e):e},QuestionTextModel.prototype.convertToCorrectValue=function(t){return null!=t&&"string"!=typeof t&&!this.maskTypeIsEmpty&&this.maskSettings.saveMaskedValue?this.maskInstance.getMaskedValue(t):e.prototype.convertToCorrectValue.call(this,t)},QuestionTextModel.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.updateInputValue()},QuestionTextModel.prototype.updateInputValue=function(){var e=this.value;this.maskTypeIsEmpty?this._inputValue=e:this.maskSettings.saveMaskedValue?this._inputValue=null!=e?e:this.maskInstance.getMaskedValue(""):this._inputValue=this.maskInstance.getMaskedValue(e)},QuestionTextModel.prototype.hasToConvertToUTC=function(e){return nC.storeUtcDates&&this.isDateTimeLocaleType()&&!!e},QuestionTextModel.prototype.createDate=function(e){return createDate("question-text",e)},QuestionTextModel.prototype.valueForSurveyCore=function(t){return this.hasToConvertToUTC(t)&&(t=this.createDate(t).toISOString()),e.prototype.valueForSurveyCore.call(this,t)},QuestionTextModel.prototype.valueFromDataCore=function(t){if(this.hasToConvertToUTC(t)){var o=this.createDate(t),n=this.createDate(o.getTime()-6e4*o.getTimezoneOffset()).toISOString();t=n.substring(0,n.length-2)}return e.prototype.valueFromDataCore.call(this,t)},QuestionTextModel.prototype.onCheckForErrors=function(t,o,n){var r=this;if(e.prototype.onCheckForErrors.call(this,t,o,n),!o){if(this.isValueLessMin){var i=new nL(this.getMinMaxErrorText(this.minErrorText,this.getCalculatedMinMax(this.renderedMin)),this);i.onUpdateErrorTextCallback=function(e){e.text=r.getMinMaxErrorText(r.minErrorText,r.getCalculatedMinMax(r.renderedMin))},t.push(i)}if(this.isValueGreaterMax){var s=new nL(this.getMinMaxErrorText(this.maxErrorText,this.getCalculatedMinMax(this.renderedMax)),this);s.onUpdateErrorTextCallback=function(e){e.text=r.getMinMaxErrorText(r.maxErrorText,r.getCalculatedMinMax(r.renderedMax))},t.push(s)}this.dateValidationMessage&&t.push(new nL(this.dateValidationMessage,this));var a=this.getValidatorTitle(),l=new nW;if(l.errorOwner=this,"email"===this.inputType&&!this.validators.some(function(e){return"emailvalidator"===e.getType()})){var u=l.validate(this.value,a);u&&u.error&&t.push(u.error)}}},QuestionTextModel.prototype.canSetValueToSurvey=function(){if(!this.isMinMaxType)return!0;var e=!this.isValueLessMin&&!this.isValueGreaterMax;return(!e||this.errors.length>0)&&this.survey&&(this.survey.isValidateOnValueChanging||this.survey.isValidateOnValueChanged)&&this.hasErrors(),e},QuestionTextModel.prototype.convertFuncValuetoQuestionValue=function(e){var t=this.maskTypeIsEmpty?this.inputType:this.maskSettings.getTypeForExpressions();return oe.convertValToQuestionVal(e,t)},QuestionTextModel.prototype.getMinMaxErrorText=function(e,t){if(oe.isValueEmpty(t))return e;var o=t.toString();return"date"===this.inputType&&t.toDateString&&(o=t.toDateString()),e.replace("{0}",o)},Object.defineProperty(QuestionTextModel.prototype,"isValueLessMin",{get:function(){return!this.isValueEmpty(this.renderedMin)&&!this.isEmpty()&&this.getCalculatedMinMax(this.value)<this.getCalculatedMinMax(this.renderedMin)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"isValueGreaterMax",{get:function(){return!this.isValueEmpty(this.renderedMax)&&!this.isEmpty()&&this.getCalculatedMinMax(this.value)>this.getCalculatedMinMax(this.renderedMax)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"isDateInputType",{get:function(){return"date"===this.inputType||this.isDateTimeLocaleType()},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.isDateTimeLocaleType=function(){return"datetime-local"===this.inputType},QuestionTextModel.prototype.getCalculatedMinMax=function(e){return this.isValueEmpty(e)?e:this.isDateInputType?this.createDate(e):e},QuestionTextModel.prototype.setRenderedMinMax=function(e,t){var o=this;void 0===e&&(e=null),void 0===t&&(t=null),this.minValueRunner=this.getDefaultRunner(this.minValueRunner,this.minValueExpression),this.setValueAndRunExpression(this.minValueRunner,this.min,function(e){!e&&o.isDateInputType&&nC.minDate&&(e=nC.minDate),o.setPropertyValue("renderedMin",e)},e,t),this.maxValueRunner=this.getDefaultRunner(this.maxValueRunner,this.maxValueExpression),this.setValueAndRunExpression(this.maxValueRunner,this.max,function(e){!e&&o.isDateInputType&&(e=nC.maxDate?nC.maxDate:"2999-12-31"),o.setPropertyValue("renderedMax",e)},e,t)},Object.defineProperty(QuestionTextModel.prototype,"step",{get:function(){return this.getPropertyValue("step")},set:function(e){this.setPropertyValue("step",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"renderedStep",{get:function(){return this.isValueEmpty(this.step)?"number"!==this.inputType?void 0:"any":this.step},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.getIsInputTextUpdate=function(){return!!this.maskTypeIsEmpty&&e.prototype.getIsInputTextUpdate.call(this)},QuestionTextModel.prototype.supportGoNextPageAutomatic=function(){return!this.getIsInputTextUpdate()&&!this.isDateInputType},QuestionTextModel.prototype.supportGoNextPageError=function(){return!this.isDateInputType},Object.defineProperty(QuestionTextModel.prototype,"dataList",{get:function(){return this.locDataList.value},set:function(e){this.locDataList.value=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"locDataList",{get:function(){return this.locDataListValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTextModel.prototype,"dataListId",{get:function(){return this.locDataList.hasValue()?this.id+"_datalist":void 0},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.setNewValue=function(t){(t=this.correctValueType(t))&&(this.dateValidationMessage=void 0),e.prototype.setNewValue.call(this,t)},QuestionTextModel.prototype.correctValueType=function(e){if(!e)return e;if("number"===this.inputType||"range"===this.inputType)return oe.isNumber(e)?oe.getNumber(e):"";if("month"===this.inputType){var t=this.createDate(e),o=0==t.toISOString().indexOf(e)&&-1==e.indexOf("T"),n=o?t.getUTCMonth():t.getMonth(),r=o?t.getUTCFullYear():t.getFullYear(),i=n+1;return r+"-"+(i<10?"0":"")+i}return e},QuestionTextModel.prototype.hasPlaceholder=function(){return!this.isReadOnly&&"range"!==this.inputType},QuestionTextModel.prototype.getControlCssClassBuilder=function(){var t=this.getMaxLength();return e.prototype.getControlCssClassBuilder.call(this).append(this.cssClasses.constrolWithCharacterCounter,!!t).append(this.cssClasses.characterCounterBig,t>99)},QuestionTextModel.prototype.isReadOnlyRenderDiv=function(){return this.isReadOnly&&"div"===nC.readOnly.textRenderMode},Object.defineProperty(QuestionTextModel.prototype,"inputStyle",{get:function(){var e={};return e.width=this.inputWidth,this.updateTextAlign(e),e},enumerable:!1,configurable:!0}),QuestionTextModel.prototype.updateTextAlign=function(e){"auto"!==this.inputTextAlignment?e.textAlign=this.inputTextAlignment:this.maskTypeIsEmpty||"auto"===this.maskSettings.getTextAlignment()||(e.textAlign=this.maskSettings.getTextAlignment())},QuestionTextModel.prototype.updateValueOnEvent=function(e){var t=e.target.value;this.isTwoValueEquals(this.value,t)||(this.inputValue=t)},QuestionTextModel.prototype.updateDateValidationMessage=function(e){this.dateValidationMessage=this.isDateInputType&&e.target?e.target.validationMessage:void 0},QuestionTextModel.prototype.onBlurCore=function(t){this.updateDateValidationMessage(t),this.updateV
5alueOnEvent(t),this.updateRemainingCharacterCounter(t.target.value),e.prototype.onBlurCore.call(this,t)},QuestionTextModel.prototype.onFocusCore=function(t){this.updateRemainingCharacterCounter(t.target.value),e.prototype.onFocusCore.call(this,t)},QuestionTextModel.prototype.afterRenderQuestionElement=function(t){t&&(this.input=t instanceof HTMLInputElement?t:t.querySelector("input"),this.createMaskAdapter()),e.prototype.afterRenderQuestionElement.call(this,t)},QuestionTextModel.prototype.beforeDestroyQuestionElement=function(e){this.deleteMaskAdapter(),this.input=void 0},question_text_decorate([jsonobject_property({onSet:function(e,t){t.onSetMaskType(e)}})],QuestionTextModel.prototype,"maskType",void 0),question_text_decorate([jsonobject_property()],QuestionTextModel.prototype,"inputTextAlignment",void 0),question_text_decorate([jsonobject_property()],QuestionTextModel.prototype,"_inputValue",void 0),QuestionTextModel}(iB),iH=["number","range","date","datetime-local","month","time","week"];function isMinMaxType(e){var t=e?e.inputType:"";return!!t&&iH.indexOf(t)>-1}function getWeekTimeNumber(e,t){var o=e.split(t);return 2===o.length&&oe.isNumber(o[0])&&oe.isNumber(o[1])?60*parseFloat(o[0])+parseFloat(o[1]):-1}function getCorrectMinMax(e,t,o,n){var r=n?o:t;if(!isMinMaxType(e)||oe.isValueEmpty(t)||oe.isValueEmpty(o))return r;if(0===e.inputType.indexOf("date")||"month"===e.inputType){var i="month"===e.inputType,s="question-text-minmax",a=createDate(s,i?t+"-01":t),l=createDate(s,i?o+"-01":o);if(!a||!l)return r;if(a>l)return n?t:o}if("week"===e.inputType||"time"===e.inputType){var u,c,p="week"===e.inputType?"-W":":";return(u=getWeekTimeNumber(t,p),c=getWeekTimeNumber(o,p),u<0||c<0||!(u>c))?r:n?t:o}if("number"===e.inputType){if(!oe.isNumber(t)||!oe.isNumber(o))return r;if(oe.getNumber(t)>oe.getNumber(o))return n?t:o}return"string"==typeof t||"string"==typeof o?r:t>o?n?t:o:r}function propertyEditorMinMaxUpdate(e,t){e&&e.inputType&&(t.inputType="range"!==e.inputType?e.inputType:"number",t.textUpdateMode="onBlur")}ov.addClass("text",[{name:"inputType",default:"text",choices:nC.questions.inputTypes},{name:"size:number",minValue:0,dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"textUpdateMode",default:"default",choices:["default","onBlur","onTyping"],dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"autocomplete",alternativeName:"autoComplete",choices:nC.questions.dataList},{name:"min",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)},onPropertyEditorUpdate:function(e,t){propertyEditorMinMaxUpdate(e,t)},onSettingValue:function(e,t){return getCorrectMinMax(e,t,e.max,!1)}},{name:"max",dependsOn:"inputType",nextToProperty:"*min",visibleIf:function(e){return isMinMaxType(e)},onSettingValue:function(e,t){return getCorrectMinMax(e,e.min,t,!0)},onPropertyEditorUpdate:function(e,t){propertyEditorMinMaxUpdate(e,t)}},{name:"minValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)}},{name:"maxValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)}},{name:"minErrorText",serializationProperty:"locMinErrorText",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)}},{name:"maxErrorText",serializationProperty:"locMaxErrorText",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)}},{name:"inputTextAlignment",default:"auto",choices:["left","right","auto"]},{name:"maskType",default:"none",visibleIndex:0,dependsOn:"inputType",visibleIf:function(e){return"text"===e.inputType||"tel"===e.inputType},choices:function(e){return getAvailableMaskTypeChoices()}},{name:"maskSettings:masksettings",className:"masksettings",visibleIndex:1,dependsOn:["inputType","maskType"],visibleIf:function(e){return"text"===e.inputType||"tel"===e.inputType},onGetValue:function(e){return e.maskSettings.getData()},onSetValue:function(e,t){e.maskSettings.setData(t)}},{name:"step:number",dependsOn:"inputType",visibleIf:function(e){return!!e&&("number"===e.inputType||"range"===e.inputType)}},{name:"maxLength:number",default:-1,dependsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"placeholder",alternativeName:"placeHolder",serializationProperty:"locPlaceholder",depen
5dsOn:"inputType",visibleIf:function(e){return!!e&&e.isTextInput}},{name:"dataList:string[]",serializationProperty:"locDataList",dependsOn:"inputType",visibleIf:function(e){return!!e&&"text"===e.inputType}}],function(){return new iz("")},"textbase"),rh.Instance.registerQuestion("text",function(e){return new iz(e)});var iU=(Z=function(e,t){return(Z=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Z(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_multipletext_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},iW=function(e){function MultipleTextEditorModel(){return null!==e&&e.apply(this,arguments)||this}return iU(MultipleTextEditorModel,e),Object.defineProperty(MultipleTextEditorModel.prototype,"a11y_input_ariaLabel",{get:function(){return this.locTitle.renderedHtml},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextEditorModel.prototype,"a11y_input_ariaLabelledBy",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextEditorModel.prototype,"a11y_input_ariaDescribedBy",{get:function(){return null},enumerable:!1,configurable:!0}),MultipleTextEditorModel}(iz),i$=function(e){function MultipleTextItemModel(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.call(this)||this;return n.focusIn=function(){n.editor.focusIn()},n.editorValue=n.createEditor(t),n.maskSettings=n.editorValue.maskSettings,n.editor.questionTitleTemplateCallback=function(){return""},n.editor.titleLocation="left",o&&(n.title=o),n.editor.onPropertyChanged.add(function(e,t){"maskSettings"!==t.name&&n.onPropertyChanged.fire(n,t)}),n}return iU(MultipleTextItemModel,e),MultipleTextItemModel.prototype.getType=function(){return"multipletextitem"},Object.defineProperty(MultipleTextItemModel.prototype,"id",{get:function(){return this.editor.id},enumerable:!1,configurable:!0}),MultipleTextItemModel.prototype.getOriginalObj=function(){return this.editor},Object.defineProperty(MultipleTextItemModel.prototype,"name",{get:function(){return this.editor.name},set:function(e){this.editor.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"question",{get:function(){return this.data},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"editor",{get:function(){return this.editorValue},enumerable:!1,configurable:!0}),MultipleTextItemModel.prototype.createEditor=function(e){return new iW(e)},MultipleTextItemModel.prototype.addUsedLocales=function(t){e.prototype.addUsedLocales.call(this,t),this.editor.addUsedLocales(t)},MultipleTextItemModel.prototype.localeChanged=function(){e.prototype.localeChanged.call(this),this.editor.localeChanged()},MultipleTextItemModel.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.editor.locStrsChanged()},MultipleTextItemModel.prototype.setData=function(e){this.data=e,e&&(this.editor.defaultValue=e.getItemDefaultValue(this.name),this.editor.setSurveyImpl(this),this.editor.parent=e,this.editor.setParentQuestion(e))},Object.defineProperty(MultipleTextItemModel.prototype,"isRequired",{get:function(){return this.editor.isRequired},set:function(e){this.editor.isRequired=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"inputType",{get:function(){return this.editor.inputType},set:function(e){this.editor.inputType=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"title",{get:function(){return this.editor.title},set:function(e){this.editor.title=e}
vendor: 5,384 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"locTitle",{get:function(){return this.editor.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"fullTitle",{get:function(){return this.editor.fullTitle},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"maxLength",{get:function(){return this.editor.maxLength},set:function(e){this.editor.maxLength=e},enumerable:!1,configurable:!0}),MultipleTextItemModel.prototype.getMaxLength=function(){var e=this.getSurvey();return oe.getMaxLength(this.maxLength,e?e.maxTextLength:-1)},Object.defineProperty(MultipleTextItemModel.prototype,"placeholder",{get:function(){return this.editor.placeholder},set:function(e){this.editor.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"locPlaceholder",{get:function(){return this.editor.locPlaceholder},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"placeHolder",{get:function(){return this.placeholder},set:function(e){this.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"locPlaceHolder",{get:function(){return this.locPlaceholder},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"requiredErrorText",{get:function(){return this.editor.requiredErrorText},set:function(e){this.editor.requiredErrorText=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"locRequiredErrorText",{get:function(){return this.editor.locRequiredErrorText},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"size",{get:function(){return this.editor.size},set:function(e){this.editor.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"defaultValueExpression",{get:function(){return this.editor.defaultValueExpression},set:function(e){this.editor.defaultValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"minValueExpression",{get:function(){return this.editor.minValueExpression},set:function(e){this.editor.minValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"maxValueExpression",{get:function(){return this.editor.maxValueExpression},set:function(e){this.editor.maxValueExpression=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"validators",{get:function(){return this.editor.validators},set:function(e){this.editor.validators=e},enumerable:!1,configurable:!0}),MultipleTextItemModel.prototype.getValidators=function(){return this.validators},Object.defineProperty(MultipleTextItemModel.prototype,"maskType",{get:function(){return this.editor.maskType},set:function(e){this.editor.maskType=e,this.maskSettings=this.editor.maskSettings},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"maskSettings",{get:function(){return this.getPropertyValue("maskSettings")},set:function(e){this.setPropertyValue("maskSettings",e),this.editor.maskSettings!==e&&(this.editor.maskSettings=e)},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"inputTextAlignment",{get:function(){return this.editor.inputTextAlignment},set:function(e){this.editor.inputTextAlignment=e},enumerable:!1,configurable:!0}),Object.defineProperty(MultipleTextItemModel.prototype,"value",{get:function(){return this.data?this.data.getMultipleTextValue(this.name):null},set:function(e){null!=this.data&&this.data.setMultipleTextValue(this.name,e)},enumerable:!1,configurable:!0}),MultipleTextItemModel.prototype.isEmpty=function(){return this.editor.isEmpty()},MultipleTextItemModel.prototype.onValueChanged=function(e){this.valueChangedCallback&&this.valueChangedCallback(e)},MultipleTextItemModel.prototype.getSurveyData=function(){return this},MultipleTextItemModel.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},MultipleTextItemModel.prototype.getTextProcessor=function(){return this.data?this.data.getTextProcessor():null},MultipleTextItemModel.prototype.getValue=function(e){return this.data?this.data.getMultipleTextValue(e):null},MultipleTextItemModel.prototype.setValue=function(e,t){this.data&&this.data.setMultipleTextValue(e,t)},MultipleTextItemModel.prototype.getVariable=function(e){},MultipleTextItemModel.prototype.setVariable=function(e,t){},MultipleTextItemModel.prototype.getComment=function(e){return null},MultipleTextItemModel.prototype.setComment=function(e,t){},MultipleTextItemModel.prototype.getAllValues=function(){return this.data?this.data.getAllValues():this.value},MultipleTextItemModel.prototype.getFilteredValues=function(){return this.getAllValues()},MultipleTextItemModel.prototype.getFilteredProperties=function(){return{survey:this.getSurvey()}},MultipleTextItemModel.prototype.findQuestionByName=function(e){var t=this.getSurvey();return t?t.getQuestionByName(e):null},MultipleTextItemModel.prototype.getEditingSurveyElement=function(){},MultipleTextItemModel.prototype.getValidatorTitle=function(){return this.title},Object.defineProperty(MultipleTextItemModel.prototype,"validatedValue",{get:function(){return this.value},set:function(e){this.value=e}
5,enumerable:!1,configurable:!0}),MultipleTextItemModel.prototype.getDataFilteredValues=function(){return this.getFilteredValues()},MultipleTextItemModel.prototype.getDataFilteredProperties=function(){return this.getFilteredProperties()},MultipleTextItemModel}(oW),iJ=function(e){function QuestionMultipleTextModel(t){var o=e.call(this,t)||this;return o.isMultipleItemValueChanging=!1,o.createNewArray("items",function(e){e.setData(o),o.survey&&o.survey.multipleTextItemAdded(o,e)}),o.registerPropertyChangedHandlers(["items","colCount","itemErrorLocation"],function(){o.calcVisibleRows()}),o.registerPropertyChangedHandlers(["itemSize"],function(){o.updateItemsSize()}),o}return iU(QuestionMultipleTextModel,e),QuestionMultipleTextModel.addDefaultItems=function(e){for(var t=rh.DefaultMutlipleTextItems,o=0;o<t.length;o++)e.addItem(t[o])},QuestionMultipleTextModel.prototype.getType=function(){return"multipletext"},QuestionMultipleTextModel.prototype.setSurveyImpl=function(t,o){e.prototype.setSurveyImpl.call(this,t,o);for(var n=0;n<this.items.length;n++)this.items[n].setData(this)},Object.defineProperty(QuestionMultipleTextModel.prototype,"isAllowTitleLeft",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMultipleTextModel.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMultipleTextModel.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMultipleTextModel.prototype,"id",{get:function(){return this.getPropertyValue("id")},set:function(e){var t;null===(t=this.items)||void 0===t||t.map(function(t,o){return t.editor.id=e+"_"+o}),this.setPropertyValue("id",e)},enumerable:!1,configurable:!0}),QuestionMultipleTextModel.prototype.onSurveyLoad=function(){this.editorsOnSurveyLoad(),e.prototype.onSurveyLoad.call(this),oe.isValueEmpty(this.rows)||this.calcVisibleRows()},QuestionMultipleTextModel.prototype.setQuestionValue=function(t,o){void 0===o&&(o=!0),e.prototype.setQuestionValue.call(this,t,o),this.performForEveryEditor(function(e){e.editor.updateValueFromSurvey(e.value)}),this.updateIsAnswered()},QuestionMultipleTextModel.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.performForEveryEditor(function(e){e.editor.onSurveyValueChanged(e.value)})},QuestionMultipleTextModel.prototype.updateItemsSize=function(){this.performForEveryEditor(function(e){e.editor.updateInputSize()})},QuestionMultipleTextModel.prototype.editorsOnSurveyLoad=function(){this.performForEveryEditor(function(e){e.editor.onSurveyLoad()})},QuestionMultipleTextModel.prototype.performForEveryEditor=function(e){for(var t=0;t<this.items.length;t++){var o=this.items[t];o.editor&&e(o)}},Object.defineProperty(QuestionMultipleTextModel.prototype,"items",{get:function(){return this.getPropertyValue("items")},set:function(e){this.setPropertyValue("items",e)},enumerable:!1,configurable:!0}),QuestionMultipleTextModel.prototype.addItem=function(e,t){void 0===t&&(t=null);var o=this.createTextItem(e,t);return this.items.push(o),o},QuestionMultipleTextModel.prototype.getItemByName=function(e){for(var t=0;t<this.items.length;t++)if(this.items[t].name==e)return this.items[t];return null},QuestionMultipleTextModel.prototype.getElementsInDesign=function(t){return void 0===t&&(t=!1),e.prototype.getElementsInDesign.call(this,t).concat(this.items)},QuestionMultipleTextModel.prototype.addConditionObjectsByContext=function(e,t){for(var o=0;o<this.items.length;o++){var n=this.items[o];e.push({name:this.getValueName()+"."+n.name,text:this.processedTitle+"."+n.fullTitle,question:this})}},QuestionMultipleTextModel.prototype.collectNestedQuestionsCore=function(e,t,o){o&&e.push(this),this.items.forEach(function(o){return o.editor.collectNestedQuestions(e,t)})},QuestionMultipleTextModel.prototype.getConditionJson=function(t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),!o)return e.prototype.getConditionJson.call(this,t);var n=this.getItemByName(o);if(!n)return null;var r=new oy().toJsonObject(n);return r.type="text",r},QuestionMultipleTextModel.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=0;t<this.items.length;t++)this.items[t].locStrsChanged()},QuestionMultipleTextModel.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t<this.items.length;t++)this.items[t].localeChanged()},Object.defineProperty(QuestionMultipleTextModel.prototype,"itemErrorLocation",{get:function(){return this.getPropertyValue("itemErrorLocation")},set:function(e){this.setPropertyValue("itemErrorLocation",e)}
vendor: 6,083 bytes, line 5
5,enumerable:!1,configurable:!0}),QuestionMultipleTextModel.prototype.getQuestionErrorLocation=function(){return"default"!==this.itemErrorLocation?this.itemErrorLocation:this.getErrorLocation()},Object.defineProperty(QuestionMultipleTextModel.prototype,"showItemErrorOnTop",{get:function(){return"top"==this.getQuestionErrorLocation()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMultipleTextModel.prototype,"showItemErrorOnBottom",{get:function(){return"bottom"==this.getQuestionErrorLocation()},enumerable:!1,configurable:!0}),QuestionMultipleTextModel.prototype.getChildErrorLocation=function(e){return this.getQuestionErrorLocation()},QuestionMultipleTextModel.prototype.isNewValueCorrect=function(e){return oe.isValueObject(e,!0)},QuestionMultipleTextModel.prototype.supportGoNextPageAutomatic=function(){for(var e=0;e<this.items.length;e++)if(this.items[e].isEmpty())return!1;return!0},Object.defineProperty(QuestionMultipleTextModel.prototype,"colCount",{get:function(){return this.getPropertyValue("colCount")},set:function(e){e<1||e>5||this.setPropertyValue("colCount",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMultipleTextModel.prototype,"itemSize",{get:function(){return this.getPropertyValue("itemSize")},set:function(e){this.setPropertyValue("itemSize",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionMultipleTextModel.prototype,"itemTitleWidth",{get:function(){return this.getPropertyValue("itemTitleWidth")||""},set:function(e){this.setPropertyValue("itemTitleWidth",e)},enumerable:!1,configurable:!0}),QuestionMultipleTextModel.prototype.onRowCreated=function(e){return e},QuestionMultipleTextModel.prototype.calcVisibleRows=function(){for(var e,t,o=this.colCount,n=this.items,r=0,i=[],s=0;s<n.length;s++)0==r&&(e=this.onRowCreated(new iG),t=this.onRowCreated(new iK),this.showItemErrorOnTop?(i.push(t),i.push(e)):(i.push(e),i.push(t))),e.cells.push(new iZ(n[s],this)),t.cells.push(new iY(n[s],this)),(++r>=o||s==n.length-1)&&(r=0,t.onAfterCreated());this.rows=i},QuestionMultipleTextModel.prototype.getRows=function(){return oe.isValueEmpty(this.rows)&&this.calcVisibleRows(),this.rows},QuestionMultipleTextModel.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.onItemValueChanged()},QuestionMultipleTextModel.prototype.createTextItem=function(e,t){return new i$(e,t)},QuestionMultipleTextModel.prototype.onItemValueChanged=function(){if(!this.isMultipleItemValueChanging)for(var e=0;e<this.items.length;e++){var t=null;this.value&&this.items[e].name in this.value&&(t=this.value[this.items[e].name]),this.items[e].onValueChanged(t)}},QuestionMultipleTextModel.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),this.items.forEach(function(e){return e.editor.runCondition(t,o)})},QuestionMultipleTextModel.prototype.getIsRunningValidators=function(){if(e.prototype.getIsRunningValidators.call(this))return!0;for(var t=0;t<this.items.length;t++)if(this.items[t].editor.isRunningValidators)return!0;return!1},QuestionMultipleTextModel.prototype.hasErrors=function(t,o){var n=this;void 0===t&&(t=!0),void 0===o&&(o=null);for(var r=!1,i=0;i<this.items.length;i++)this.items[i].editor.onCompletedAsyncValidators=function(e){n.raiseOnCompletedAsyncValidators()},o&&!0===o.isOnValueChanged&&this.items[i].editor.isEmpty()||(r=this.items[i].editor.hasErrors(t,o)||r);return e.prototype.hasErrors.call(this,t)||r},QuestionMultipleTextModel.prototype.getAllErrors=function(){for(var t=e.prototype.getAllErrors.call(this),o=0;o<this.items.length;o++){var n=this.items[o].editor.getAllErrors();n&&n.length>0&&(t=t.concat(n))}return t},QuestionMultipleTextModel.prototype.clearErrors=function(){e.prototype.clearErrors.call(this);for(var t=0;t<this.items.length;t++)this.items[t].editor.clearErrors()},QuestionMultipleTextModel.prototype.getContainsErrors=function(){var t=e.prototype.getContainsErrors.call(this);if(t)return t;for(var o=this.items,n=0;n<o.length;n++)if(o[n].editor.containsErrors)return!0;return!1},QuestionMultipleTextModel.prototype.getIsAnswered=function(){if(!e.prototype.getIsAnswered.call(this))return!1;for(var t=0;t<this.items.length;t++){var o=this.items[t].editor;if(o.isVisible&&!o.isAnswered)return!1}return!0},QuestionMultipleTextModel.prototype.getProgressInfo=function(){for(var e=[],t=0;t<this.items.length;t++)e.push(this.items[t].editor);return nm.getProgressInfoByElements(e,this.isRequired)},QuestionMultipleTextModel.prototype.getDisplayValueCore=function(e,t){if(!t)return t;for(var o={},n=0;n<this.items.length;n++){var r=this.items[n],i=t[r.name];if(!oe.isValueEmpty(i)){var s=r.name;e&&r.title&&(s=r.title),o[s]=r.editor.getDisplayValue(e,i)}}return o},QuestionMultipleTextModel.prototype.allowMobileInDesignMode=function(){return!0},QuestionMultipleTextModel.prototype.getMultipleTextValue=function(e){return this.value?this.value[e]:null},QuestionMultipleTextModel.prototype.setMultipleTextValue=function(e,t){this.isMultipleItemValueChanging=!0,this.isValueEmpty(t)&&(t=void 0);var o=this.value;o||(o={}),o[e]=t,this.setNewValue(o),this.isMultipleItemValueChanging=!1},QuestionMultipleTextModel.prototype.getItemDefaultValue=function(e){return this.defaultValue?this.defaultValue[e]:null},QuestionMultipleTextModel.prototype.getTextProcessor=function(){return this.textProcessor},QuestionMultipleTextModel.prototype.getAllValues=function(){return this.data?this.data.getAllValues():null},QuestionMultipleTextModel.prototype.getIsRequiredText=function(){return this.survey?this.survey.requiredText:""},QuestionMultipleTextModel.prototype.addElement=function(e,t){},QuestionMultipleTextModel.prototype.removeElement=function(e){return!1},QuestionMultipleTextModel.prototype.getQuestionTitleLocation=function(){return"left"},QuestionMultipleTextModel.prototype.getQuestionTitleWidth=function(){},QuestionMultipleTextModel.prototype.getColumsForElement=function(e){return[]},QuestionMultipleTextModel.prototype.updateColumns=function(){},QuestionMultipleTextModel.prototype.getQuestionStartIndex=function(){return this.get
5StartIndex()},QuestionMultipleTextModel.prototype.getChildrenLayoutType=function(){return"row"},QuestionMultipleTextModel.prototype.elementWidthChanged=function(e){},Object.defineProperty(QuestionMultipleTextModel.prototype,"elements",{get:function(){return[]},enumerable:!1,configurable:!0}),QuestionMultipleTextModel.prototype.indexOf=function(e){return -1},QuestionMultipleTextModel.prototype.ensureRowsVisibility=function(){},QuestionMultipleTextModel.prototype.validateContainerOnly=function(){},QuestionMultipleTextModel.prototype.onQuestionValueChanged=function(e){},QuestionMultipleTextModel.prototype.getItemLabelCss=function(e){return new oY().append(this.cssClasses.itemLabel).append(this.cssClasses.itemLabelDisabled,this.isDisabledStyle).append(this.cssClasses.itemLabelReadOnly,this.isReadOnlyStyle).append(this.cssClasses.itemLabelPreview,this.isPreviewStyle).append(this.cssClasses.itemLabelAnswered,e.editor.isAnswered).append(this.cssClasses.itemLabelAllowFocus,!this.isDesignMode).append(this.cssClasses.itemLabelOnError,e.editor.errors.length>0).append(this.cssClasses.itemWithCharacterCounter,!!e.getMaxLength()).toString()},QuestionMultipleTextModel.prototype.getItemCss=function(){return new oY().append(this.cssClasses.item).toString()},QuestionMultipleTextModel.prototype.getItemTitleCss=function(){return new oY().append(this.cssClasses.itemTitle).toString()},question_multipletext_decorate([propertyArray()],QuestionMultipleTextModel.prototype,"rows",void 0),QuestionMultipleTextModel}(nX),iG=function(e){function MutlipleTextRow(){var t=null!==e&&e.apply(this,arguments)||this;return t.isVisible=!0,t.cells=[],t}return iU(MutlipleTextRow,e),question_multipletext_decorate([jsonobject_property()],MutlipleTextRow.prototype,"isVisible",void 0),question_multipletext_decorate([propertyArray()],MutlipleTextRow.prototype,"cells",void 0),MutlipleTextRow}(oW),iK=function(e){function MutlipleTextErrorRow(){return null!==e&&e.apply(this,arguments)||this}return iU(MutlipleTextErrorRow,e),MutlipleTextErrorRow.prototype.onAfterCreated=function(){var e=this,callback=function(){e.isVisible=e.cells.some(function(e){var t,o;return(null===(t=e.item)||void 0===t?void 0:t.editor)&&(null===(o=e.item)||void 0===o?void 0:o.editor.hasVisibleErrors)})};this.cells.forEach(function(e){var t,o;(null===(t=e.item)||void 0===t?void 0:t.editor)&&(null===(o=e.item)||void 0===o||o.editor.registerFunctionOnPropertyValueChanged("hasVisibleErrors",callback))}),callback()},MutlipleTextErrorRow}(iG),iZ=function(){function MultipleTextCell(e,t){this.item=e,this.question=t,this.isErrorsCell=!1}return MultipleTextCell.prototype.getClassName=function(){return new oY().append(this.question.cssClasses.cell).toString()},Object.defineProperty(MultipleTextCell.prototype,"className",{get:function(){return this.getClassName()},enumerable:!1,configurable:!0}),MultipleTextCell}(),iY=function(e){function MultipleTextErrorCell(){var t=null!==e&&e.apply(this,arguments)||this;return t.isErrorsCell=!0,t}return iU(MultipleTextErrorCell,e),MultipleTextErrorCell.prototype.getClassName=function(){return new oY().append(e.prototype.getClassName.call(this)).append(this.question.cssClasses.cellError).append(this.question.cssClasses.cellErrorTop,this.question.showItemErrorOnTop).append(this.question.cssClasses.cellErrorBottom,this.question.showItemErrorOnBottom).toString()},MultipleTextErrorCell}(iZ);ov.addClass("multipletextitem",[{name:"!name",isUnique:!0},"isRequired:boolean",{name:"placeholder",alternativeName:"placeHolder",serializationProperty:"locPlaceholder"},{name:"inputType",default:"text",choices:nC.questions.inputTypes},{name:"maskType",default:"none",visibleIndex:0,dependsOn:"inputType",visibleIf:function(e){return"text"===e.inputType},choices:function(e){return getAvailableMaskTypeChoices()}},{name:"maskSettings:masksettings",className:"masksettings",visibleIndex:1,dependsOn:"inputType",visibleIf:function(e){return"text"===e.inputType},onGetValue:function(e){return e.maskSettings.getData()},onSetValue:function(e,t){e.maskSettings.setData(t)}},{name:"inputTextAlignment",default:"auto",choices:["left","right","auto"]},{name:"title",serializationProperty:"locTitle"},{name:"maxLength:number",default:-1},{name:"size:number",minValue:0},{name:"requiredErrorText:text",serializationProperty:"locRequiredErrorText"},{name:"defaultValueExpression:expression",visible:!1},{name:"minValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)}},{name:"maxValueExpression:expression",category:"logic",dependsOn:"inputType",visibleIf:function(e){return isMinMaxType(e)}},{name:"validators:validators",baseClassName:"surveyvalidator",classNamePart:"validator"}],function(){return new i$("")}),ov.addClass("multipletext",[{name:"!items:textitems",className:"multipletextitem",isArray:!0},{name:"itemSize:number",minValue:0,visible:!1},{name:"colCount:number",default:1,choices:[1,2,3,4,5]},{name:"itemErrorLocation",default:"default",choices:["default","to
5p","bottom"],visible:!1},{name:"itemTitleWidth",category:"layout"}],function(){return new iJ("")},"question"),rh.Instance.registerQuestion("multipletext",function(e){var t=new iJ(e);return iJ.addDefaultItems(t),t});var iX=(Y=function(e,t){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Y(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i1=function(e){function FlowPanelModel(t){void 0===t&&(t="");var o=e.call(this,t)||this;return o.createLocalizableString("content",o,!0),o.registerPropertyChangedHandlers(["content"],function(){o.onContentChanged()}),o}return iX(FlowPanelModel,e),FlowPanelModel.prototype.getType=function(){return"flowpanel"},FlowPanelModel.prototype.getChildrenLayoutType=function(){return"flow"},FlowPanelModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.onContentChanged()},Object.defineProperty(FlowPanelModel.prototype,"content",{get:function(){return this.getLocalizableStringText("content")},set:function(e){this.setLocalizableStringText("content",e)},enumerable:!1,configurable:!0}),Object.defineProperty(FlowPanelModel.prototype,"locContent",{get:function(){return this.getLocalizableString("content")},enumerable:!1,configurable:!0}),Object.defineProperty(FlowPanelModel.prototype,"html",{get:function(){return this.getPropertyValue("html","")},set:function(e){this.setPropertyValue("html",e)},enumerable:!1,configurable:!0}),FlowPanelModel.prototype.onContentChanged=function(){var e="";e=this.onCustomHtmlProducing?this.onCustomHtmlProducing():this.produceHtml(),this.html=e,this.contentChangedCallback&&this.contentChangedCallback()},FlowPanelModel.prototype.produceHtml=function(){for(var e=[],t=/{(.*?(element:)[^$].*?)}/g,o=this.content,n=0,r=null;null!==(r=t.exec(o));){r.index>n&&(e.push(o.substring(n,r.index)),n=r.index);var i=this.getQuestionFromText(r[0]);i?e.push(this.getHtmlForQuestion(i)):e.push(o.substring(n,r.index+r[0].length)),n=r.index+r[0].length}return n<o.length&&e.push(o.substring(n,o.length)),e.join("").replace(RegExp("<br>","g"),"<br/>")},FlowPanelModel.prototype.getQuestionFromText=function(e){return e=(e=e.substring(1,e.length-1)).replace(FlowPanelModel.contentElementNamePrefix,"").trim(),this.getQuestionByName(e)},FlowPanelModel.prototype.getHtmlForQuestion=function(e){return this.onGetHtmlForQuestion?this.onGetHtmlForQuestion(e):""},FlowPanelModel.prototype.getQuestionHtmlId=function(e){return this.name+"_"+e.id},FlowPanelModel.prototype.onAddElement=function(t,o){e.prototype.onAddElement.call(this,t,o),this.addElementToContent(t),t.renderWidth=""},FlowPanelModel.prototype.onRemoveElement=function(t){var o=this.getElementContentText(t);this.content=this.content.replace(o,""),e.prototype.onRemoveElement.call(this,t)},FlowPanelModel.prototype.dragDropMoveElement=function(e,t,o){},FlowPanelModel.prototype.addElementToContent=function(e){if(!this.isLoadingFromJson){var t=this.getElementContentText(e);this.insertTextAtCursor(t)||(this.content=this.content+t)}},FlowPanelModel.prototype.insertTextAtCursor=function(e,t){if(void 0===t&&(t=null),!this.isDesignMode||!t6.isAvailable())return!1;var o=t6.getSelection();if(o.getRangeAt&&o.rangeCount){var n=o.getRangeAt(0);n.deleteContents();var r=new Text(e);if(n.insertNode(r),this.getContent){var i=this.getContent(t);this.content=i}return!0}return!1},FlowPanelModel.prototype.getElementContentText=function(e){return"{"+FlowPanelModel.contentElementNamePrefix+e.name+"}"},FlowPanelModel.contentElementNamePrefix="element:",FlowPanelModel}(il);ov.addClass("flowpanel",[{name:"content:html",serializationProperty:"locContent"}],function(){return new i1},"panel");var i0=function(){function DefaultTitleModel(){}return DefaultTitleModel.getIconCss=function(e,t){return new oY().append(e.icon).append(e.iconExpanded,!t).toString()},DefaultTitleModel}
5(),i2=(X=function(e,t){return(X=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i5=function(e){function QuestionNonValue(t){return e.call(this,t)||this}return i2(QuestionNonValue,e),QuestionNonValue.prototype.getType=function(){return"nonvalue"},Object.defineProperty(QuestionNonValue.prototype,"hasInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionNonValue.prototype,"hasTitle",{get:function(){return!1},enumerable:!1,configurable:!0}),QuestionNonValue.prototype.getTitleLocation=function(){return""},Object.defineProperty(QuestionNonValue.prototype,"hasComment",{get:function(){return!1},enumerable:!1,configurable:!0}),QuestionNonValue.prototype.hasErrors=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=null),!1},QuestionNonValue.prototype.getAllErrors=function(){return[]},QuestionNonValue.prototype.supportGoNextPageAutomatic=function(){return!1},QuestionNonValue.prototype.addConditionObjectsByContext=function(e,t){},QuestionNonValue.prototype.getConditionJson=function(e,t){return void 0===e&&(e=null),void 0===t&&(t=null),null},Object.defineProperty(QuestionNonValue.prototype,"ariaRole",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionNonValue.prototype,"ariaRequired",{get:function(){return null},enumerable:!1,configurable:!0}),QuestionNonValue}(nX);ov.addClass("nonvalue",[{name:"title",visible:!1},{name:"description",visible:!1},{name:"valueName",visible:!1},{name:"enableIf",visible:!1},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"clearIfInvisible",visible:!1},{name:"isRequired",visible:!1,isSerializable:!1},{name:"requiredErrorText",visible:!1},{name:"readOnly",visible:!1},{name:"requiredIf",visible:!1},{name:"validators",visible:!1},{name:"titleLocation",visible:!1},{name:"showCommentArea",visible:!1},{name:"useDisplayValuesInDynamicTexts",alternativeName:"useDisplayValuesInTitle",visible:!1}],function(){return new i5("")},"question");var i7=(ee=function(e,t){return(ee=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ee(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i4=function(e){function QuestionEmptyModel(t){return e.call(this,t)||this}return i7(QuestionEmptyModel,e),QuestionEmptyModel.prototype.getType=function(){return"empty"},QuestionEmptyModel}(nX);ov.addClass("empty",[],function(){return new i4("")},"question");var i3=(et=function(e,t){return(et=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}et(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i9=function(e){function QuestionCheckboxModel(t){var o=e.call(this,t)||this;return o.invisibleOldValues={},o.isChangingValueOnClearIncorrect=!1,o.selectAllItemValue=new n0(""),o.selectAllItemValue.id="selectall",o.selectAllItemText=o.createLocalizableString("selectAllText",o.selectAllItem,!0,"selectAllItemText"),o.selectAllItem.locOwner=o,o.selectAllItem.setLocText(o.selectAllItemText),o.registerPropertyChangedHandlers(["showSelectAllItem","selectAllText"],function(){o.onVisibleChoicesChanged()}),o}return i3(QuestionCheckboxModel,e),QuestionCheckboxModel.prototype.getDefaultItemComponent=function(){return"survey-checkbox-item"}
vendor: 4,111 bytes, line 5
5,QuestionCheckboxModel.prototype.getType=function(){return"checkbox"},QuestionCheckboxModel.prototype.onCreating=function(){e.prototype.onCreating.call(this),this.createNewArray("renderedValue"),this.createNewArray("value")},QuestionCheckboxModel.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},Object.defineProperty(QuestionCheckboxModel.prototype,"valuePropertyName",{get:function(){return this.getPropertyValue("valuePropertyName")},set:function(e){this.setPropertyValue("valuePropertyName",e)},enumerable:!1,configurable:!0}),QuestionCheckboxModel.prototype.getQuestionFromArray=function(e,t){if(e&&e===this.valuePropertyName){var o=this.value;if(Array.isArray(o)&&t<o.length)return this}return null},QuestionCheckboxModel.prototype.getDependedQuestionsByValueName=function(t){return t&&this.valuePropertyName?[]:e.prototype.getDependedQuestionsByValueName.call(this,t)},Object.defineProperty(QuestionCheckboxModel.prototype,"selectAllItem",{get:function(){return this.selectAllItemValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"selectAllText",{get:function(){return this.getLocalizableStringText("selectAllText")},set:function(e){this.setLocalizableStringText("selectAllText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"locSelectAllText",{get:function(){return this.getLocalizableString("selectAllText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"showSelectAllItem",{get:function(){return this.getPropertyValue("showSelectAllItem")},set:function(e){this.setPropertyValue("showSelectAllItem",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"hasSelectAll",{get:function(){return this.showSelectAllItem},set:function(e){this.showSelectAllItem=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"isAllSelected",{get:function(){return this.allElementsSelected()},set:function(e){e?this.selectAll():this.clearValue(!0)},enumerable:!1,configurable:!0}),QuestionCheckboxModel.prototype.toggleSelectAll=function(){this.isAllSelected=!this.isAllSelected},QuestionCheckboxModel.prototype.allElementsSelected=function(){if(this.isNoneItemsSelected())return!1;var e=this.getVisibleEnableItems();if(0===e.length)return!1;var t=this.value;if(!t||!Array.isArray(t)||0===t.length||t.length<e.length)return!1;for(var o=[],n=0;n<t.length;n++)o.push(this.getRealValue(t[n]));for(var n=0;n<e.length;n++)if(0>o.indexOf(e[n].value))return!1;return!0},QuestionCheckboxModel.prototype.isNoneItemsSelected=function(){for(var e=this.getNoneItems(),t=0;t<e.length;t++)if(this.isItemSelected(e[t]))return!0;return!1},QuestionCheckboxModel.prototype.selectAll=function(){for(var e=[],t=this.getVisibleEnableItems(),o=0;o<t.length;o++)e.push(t[o].value);this.renderedValue=e},QuestionCheckboxModel.prototype.clickItemHandler=function(e,t){if(!this.isReadOnlyAttr){if(e===this.selectAllItem)!0===t||!1===t?this.isAllSelected=t:this.toggleSelectAll();else if(this.isNoneItem(e))this.renderedValue=t?[e.value]:[];else{var o=[].concat(this.renderedValue||[]),n=o.indexOf(e.value);t?n<0&&o.push(e.value):n>-1&&o.splice(n,1),this.renderedValue=o}t&&this.onItemSelected(e)}},QuestionCheckboxModel.prototype.isItemSelectedCore=function(e){if(e===this.selectAllItem)return this.isAllSelected;var t=this.renderedValue;if(!t||!Array.isArray(t))return!1;for(var o=0;o<t.length;o++)if(this.isTwoValueEquals(t[o],e.value))return!0;return!1},QuestionCheckboxModel.prototype.hasUnknownValueItem=function(t,o,n,r){void 0===o&&(o=!1),void 0===n&&(n=!0),void 0===r&&(r=!1);var i=this.valuePropertyName;return i&&"object"==typeof t&&void 0!==t[i]&&(t=t[i]),e.prototype.hasUnknownValueItem.call(this,t,o,n,r)},QuestionCheckboxModel.prototype.convertFuncValuetoQuestionValue=function(t){var o=this;if(this.valuePropertyName&&Array.isArray(t)&&t.length>0){var n=[];t.forEach(function(e){var t="object"==typeof e,r=t?e:{};t||(r[o.valuePropertyName]=e),n.push(r)}),t=n}return e.prototype.convertDefaultValue.call(this,t)}
5,QuestionCheckboxModel.prototype.getRealValue=function(e){return e&&this.valuePropertyName?e[this.valuePropertyName]:e},Object.defineProperty(QuestionCheckboxModel.prototype,"isValueArray",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"maxSelectedChoices",{get:function(){return this.getPropertyValue("maxSelectedChoices")},set:function(e){e<0&&(e=0),this.setPropertyValue("maxSelectedChoices",e),this.filterItems()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"minSelectedChoices",{get:function(){return this.getPropertyValue("minSelectedChoices")},set:function(e){e<0&&(e=0),this.setPropertyValue("minSelectedChoices",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"selectedChoices",{get:function(){var e=this.renderedValue,t=this.visibleChoices,o=this.selectedItemValues;if(this.isEmpty())return[];var n=this.defaultSelectedItemValues?[].concat(this.defaultSelectedItemValues,t):t,r=e.map(function(e){return n0.getItemByValue(n,e)}).filter(function(e){return!!e});return r.length||o||this.updateSelectedItemValues(),this.validateItemValues(r)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"selectedItems",{get:function(){return this.selectedChoices},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"hasFilteredValue",{get:function(){return!!this.valuePropertyName},enumerable:!1,configurable:!0}),QuestionCheckboxModel.prototype.getFilteredName=function(){var t=e.prototype.getFilteredName.call(this);return this.hasFilteredValue&&(t+="-unwrapped"),t},QuestionCheckboxModel.prototype.getFilteredValue=function(){return this.hasFilteredValue?this.renderedValue:e.prototype.getFilteredValue.call(this)},QuestionCheckboxModel.prototype.getMultipleSelectedItems=function(){return this.selectedChoices},QuestionCheckboxModel.prototype.validateItemValues=function(e){var t=this;if(e.length)return e;var o=this.selectedItemValues;return o&&o.length?(this.defaultSelectedItemValues=[].concat(o),o):this.renderedValue.map(function(e){return t.createItemValue(e)})},QuestionCheckboxModel.prototype.getAnswerCorrectIgnoreOrder=function(){return!0},QuestionCheckboxModel.prototype.onCheckForErrors=function(t,o,n){if(e.prototype.onCheckForErrors.call(this,t,o,n),!o&&this.checkMinSelectedChoicesUnreached()){var r=new nL(this.getLocalizationFormatString("minSelectError",this.minSelectedChoices),this);t.push(r)}},QuestionCheckboxModel.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.updateSelectAllItemProps()},QuestionCheckboxModel.prototype.onEnableItemCallBack=function(e){return!this.shouldCheckMaxSelectedChoices()||this.isItemSelected(e)},QuestionCheckboxModel.prototype.onAfterRunItemsEnableCondition=function(){if(this.updateSelectAllItemProps(),this.maxSelectedChoices<1){this.otherItem.setIsEnabled(!0);return}this.hasOther&&this.otherItem.setIsEnabled(!this.shouldCheckMaxSelectedChoices()||this.isOtherSelected)},QuestionCheckboxModel.prototype.updateSelectAllItemProps=function(){this.hasSelectAll&&this.selectAllItem.setIsEnabled(this.getSelectAllEnabled())},QuestionCheckboxModel.prototype.getSelectAllEnabled=function(){if(!this.hasSelectAll)return!0;var e=this.getVisibleEnableItems().length,t=this.maxSelectedChoices;return(!(t>0)||!(t<e))&&e>0},QuestionCheckboxModel.prototype.getVisibleEnableItems=function(){for(var e=[],t=this.visibleChoices,o=0;o<t.length;o++){var n=t[o];n.isEnabled&&!this.isBuiltInChoice(n)&&e.push(n)}return e},QuestionCheckboxModel.prototype.shouldCheckMaxSelectedChoices=function(){if(this.maxSelectedChoices<1)return!1;var e=this.value;return(Array.isArray(e)?e.length:0)>=this.maxSelectedChoices},QuestionCheckboxModel.prototype.checkMinSelectedChoicesUnreached=function(){if(this.minSelectedChoices<1)return!1;var e=this.value,t=Array.isArray(e)?e.length:0;return!(1===t&&this.isNoneItemsSelected())&&t<this.minSelectedChoices},QuestionCheckboxModel.prototype.getItemClassCore=function(t,o){return this.value,o.isSelectAllItem=t===this.selectAllItem,new oY().append(e.prototype.getItemClassCore.call(this,t,o)).append(this.cssClasse
vendor: 4,217 bytes, line 5
5s.itemSelectAll,o.isSelectAllItem).toString()},QuestionCheckboxModel.prototype.updateValueFromSurvey=function(t,o){e.prototype.updateValueFromSurvey.call(this,t,o),this.invisibleOldValues={}},QuestionCheckboxModel.prototype.setDefaultValue=function(){e.prototype.setDefaultValue.call(this);var t=this.defaultValue;if(Array.isArray(t))for(var o=0;o<t.length;o++){var n=this.getRealValue(t[o]);this.canClearValueAnUnknown(n)&&this.addIntoInvisibleOldValues(n)}},QuestionCheckboxModel.prototype.addIntoInvisibleOldValues=function(e){this.invisibleOldValues[e]=e},QuestionCheckboxModel.prototype.hasValueToClearIncorrectValues=function(){return e.prototype.hasValueToClearIncorrectValues.call(this)||!oe.isValueEmpty(this.invisibleOldValues)},QuestionCheckboxModel.prototype.setNewValue=function(t){this.isChangingValueOnClearIncorrect||(this.invisibleOldValues={}),t=this.valueFromData(t);var o=this.value;t||(t=[]),o||(o=[]),this.isTwoValueEquals(o,t)||(this.removeNoneItemsValues(o,t),e.prototype.setNewValue.call(this,t))},QuestionCheckboxModel.prototype.getIsMultipleValue=function(){return!0},QuestionCheckboxModel.prototype.getCommentFromValue=function(e){var t=this.getFirstUnknownIndex(e);return t<0?"":e[t]},QuestionCheckboxModel.prototype.getStoreOthersAsComment=function(){return!this.valuePropertyName&&e.prototype.getStoreOthersAsComment.call(this)},QuestionCheckboxModel.prototype.setOtherValueIntoValue=function(e){var t=this.getFirstUnknownIndex(e);if(t<0)return e;var o=this.otherItem.value,n=this.valuePropertyName;if(n){var r={};r[n]=o,o=r}return e.splice(t,1,o),e},QuestionCheckboxModel.prototype.getFirstUnknownIndex=function(e){if(!Array.isArray(e))return -1;for(var t=0;t<e.length;t++)if(this.hasUnknownValueItem(e[t],!1,!1))return t;return -1},QuestionCheckboxModel.prototype.removeNoneItemsValues=function(e,t){var o=[];if(this.showNoneItem&&o.push(this.noneItem.value),this.showRefuseItem&&o.push(this.refuseItem.value),this.showDontKnowItem&&o.push(this.dontKnowItem.value),o.length>0){var n=this.noneIndexInArray(e,o),r=this.noneIndexInArray(t,o);if(n.index>-1){if(n.val===r.val)t.length>0&&t.splice(r.index,1);else{var i=this.noneIndexInArray(t,[n.val]);i.index>-1&&i.index<t.length-1&&t.splice(i.index,1)}}else if(r.index>-1&&t.length>1){var s=this.convertValueToObject([r.val])[0];t.splice(0,t.length,s)}}},QuestionCheckboxModel.prototype.noneIndexInArray=function(e,t){if(!Array.isArray(e))return{index:-1,val:void 0};for(var o=e.length-1;o>=0;o--){var n=t.indexOf(this.getRealValue(e[o]));if(n>-1)return{index:o,val:t[n]}}return{index:-1,val:void 0}},QuestionCheckboxModel.prototype.canUseFilteredChoices=function(){return!this.hasSelectAll&&e.prototype.canUseFilteredChoices.call(this)},QuestionCheckboxModel.prototype.supportSelectAll=function(){return this.isSupportProperty("showSelectAllItem")},QuestionCheckboxModel.prototype.addNonChoicesItems=function(t,o){e.prototype.addNonChoicesItems.call(this,t,o),this.supportSelectAll()&&this.addNonChoiceItem(t,this.selectAllItem,o,this.hasSelectAll,nC.specialChoicesOrder.selectAllItem)},QuestionCheckboxModel.prototype.isBuiltInChoice=function(t){return t===this.selectAllItem||e.prototype.isBuiltInChoice.call(this,t)},QuestionCheckboxModel.prototype.isItemInList=function(t){return t==this.selectAllItem?this.hasSelectAll:e.prototype.isItemInList.call(this,t)},QuestionCheckboxModel.prototype.getDisplayValueEmpty=function(){var e=this;return n0.getTextOrHtmlByValue(this.visibleChoices.filter(function(t){return t!=e.selectAllItemValue}),void 0)},QuestionCheckboxModel.prototype.getDisplayValueCore=function(t,o){if(!Array.isArray(o))return e.prototype.getDisplayValueCore.call(this,t,o);var n=this.valuePropertyName;return this.getDisplayArrayValue(t,o,function(e){var t=o[e];return n&&t[n]&&(t=t[n]),t})},QuestionCheckboxModel.prototype.clearIncorrectValuesCore=function(){this.clearIncorrectAndDisabledValues(!1)},QuestionCheckboxModel.prototype.clearDisabledValuesCore=function(){this.clearIncorrectAndDisabledValues(!0)},QuestionCheckboxModel.prototype.clearIncorrectAndDisabledValues=function(e){var t=this.value,o=!1,n=this.restoreValuesFromInvisible();if(t||0!=n.length){if(!Array.isArray(t)||0==t.length){if(this.isChangingV
5alueOnClearIncorrect=!0,e||(this.hasComment?this.value=null:this.clearValue(!0)),this.isChangingValueOnClearIncorrect=!1,0==n.length)return;t=[]}for(var r=[],i=0;i<t.length;i++){var s=this.getRealValue(t[i]),a=this.canClearValueAnUnknown(s);(e||a)&&(!e||this.isValueDisabled(s))?(o=!0,a&&this.addIntoInvisibleOldValues(t[i])):r.push(t[i])}for(var i=0;i<n.length;i++)r.push(n[i]),o=!0;o&&(this.isChangingValueOnClearIncorrect=!0,0==r.length?this.clearValue(!0):this.value=r,this.isChangingValueOnClearIncorrect=!1)}},QuestionCheckboxModel.prototype.restoreValuesFromInvisible=function(){for(var e=[],t=this.visibleChoices,o=0;o<t.length;o++){var n=t[o];if(n!==this.selectAllItem){var r=t[o].value;oe.isTwoValueEquals(r,this.invisibleOldValues[r])&&(this.isItemSelected(n)||e.push(r),delete this.invisibleOldValues[r])}}return e},QuestionCheckboxModel.prototype.getConditionJson=function(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.prototype.getConditionJson.call(this,t,o);return("contains"==t||"notcontains"==t)&&(n.type="radiogroup"),n.maxSelectedChoices=0,n.minSelectedChoices=0,n},QuestionCheckboxModel.prototype.isAnswerCorrect=function(){return oe.isArrayContainsEqual(this.value,this.correctAnswer)},QuestionCheckboxModel.prototype.setDefaultValueWithOthers=function(){this.value=this.renderedValueFromDataCore(this.defaultValue)},QuestionCheckboxModel.prototype.getIsItemValue=function(e,t){return!!(e&&Array.isArray(e))&&e.indexOf(t.value)>=0},QuestionCheckboxModel.prototype.valueFromData=function(t){if(!t)return t;if(!Array.isArray(t))return[e.prototype.valueFromData.call(this,t)];for(var o=[],n=0;n<t.length;n++){var r=n0.getItemByValue(this.visibleChoices,t[n]);r?o.push(r.value):o.push(t[n])}return o},QuestionCheckboxModel.prototype.rendredValueFromData=function(t){return t=this.convertValueFromObject(t),e.prototype.rendredValueFromData.call(this,t)},QuestionCheckboxModel.prototype.rendredValueToData=function(t){return t=e.prototype.rendredValueToData.call(this,t),this.convertValueToObject(t)},QuestionCheckboxModel.prototype.convertValueFromObject=function(e){return this.valuePropertyName?oe.convertArrayObjectToValue(e,this.valuePropertyName):e},QuestionCheckboxModel.prototype.convertValueToObject=function(e){if(!this.valuePropertyName)return e;var t=void 0;return this.survey&&this.survey.questionsByValueName(this.getValueName()).length>1&&(t=this.data.getValue(this.getValueName())),oe.convertArrayValueToObject(e,this.valuePropertyName,t)},QuestionCheckboxModel.prototype.renderedValueFromDataCore=function(e){if(e&&Array.isArray(e)||(e=[]),!this.hasActiveChoices)return e;for(var t=0;t<e.length&&e[t]!=this.otherItem.value;t++)if(this.hasUnknownValueItem(e[t],!0,!1)){this.otherValue=e[t];var o=e.slice();return o[t]=this.otherItem.value,o}return e},QuestionCheckboxModel.prototype.rendredValueToDataCore=function(e){if(!e||!e.length)return e;for(var t=0;t<e.length;t++)if(e[t]==this.otherItem.value&&this.needConvertRenderedOtherToDataValue()){var o=e.slice();return o[t]=this.otherValue,o}return e},QuestionCheckboxModel.prototype.selectOtherValueFromComment=function(e){var t=[],o=this.renderedValue;if(Array.isArray(o))for(var n=0;n<o.length;n++)o[n]!==this.otherItem.value&&t.push(o[n]);e&&t.push(this.otherItem.value),this.value=t},Object.defineProperty(QuestionCheckboxModel.prototype,"checkBoxSvgPath",{get:function(){return"M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"a11y_input_ariaRole",{get:function(){return"group"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCheckboxModel.prototype,"a11y_input_ariaRequired",{get:function(){return null},enumerable:!1,configurable:!0}),QuestionCheckboxModel}(iC);ov.addClass("checkbox",[{name:"showSelectAllItem:boolean",alternativeName:"hasSelectAll"},{name:"separateSpecialChoices",visible:!0},{name:"maxSelectedChoices:number",default:0,onSettingValue:function(e,t){if(t<=0)return 0;var o=e.minSelectedChoices;return o>0&&t<o?o:t}},{name:"minSelectedChoices:number",default:0,onSettingValue:function(e,t){if(t<=0)return 0;var o=e.maxSelectedChoices;return o>0&&t>o?o:t}},{name:"selectAllText",serializationProperty:"locSelectAllText",dependsOn:"showSelectAllItem",visibleIf:function(e){return e.hasSelectAll}},{name:"valuePropertyName",category:"data"},{name:"itemComponent",visible:!1,default:"survey-checkbox-item"}],function(){return new i9("")},"checkboxbase"),rh.Instance.registerQuestion("checkbox",function(e){var t=new i9(e);return t.choices=rh.DefaultChoices,t});
5var i6=(eo=function(e,t){return(eo=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eo(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),multiSelectListModel_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},i8=function(e){function MultiSelectListModel(t){var o=e.call(this,t)||this;return o.onItemClick=function(e){!o.isItemDisabled(e)&&(o.isExpanded=!1,o.isItemSelected(e)?(o.selectedItems.splice(o.selectedItems.indexOf(e),1)[0],o.onSelectionChanged&&o.onSelectionChanged(e,"removed")):(o.selectedItems.push(e),o.onSelectionChanged&&o.onSelectionChanged(e,"added")))},o.isItemDisabled=function(e){return void 0!==e.enabled&&!e.enabled},o.isItemSelected=function(e){return!!o.allowSelection&&o.selectedItems.filter(function(t){return o.areSameItems(t,e)}).length>0},o.setSelectedItems(t.selectedItems||[]),o}return i6(MultiSelectListModel,e),MultiSelectListModel.prototype.updateItemState=function(){var e=this;this.actions.forEach(function(t){var o=e.isItemSelected(t);t.visible=!e.hideSelectedItems||!o})},MultiSelectListModel.prototype.updateState=function(){var e=this;this.updateItemState(),this.isEmpty=0===this.renderedActions.filter(function(t){return e.isItemVisible(t)}).length},MultiSelectListModel.prototype.setSelectedItems=function(e){this.selectedItems=e,this.updateState()},MultiSelectListModel.prototype.selectFocusedItem=function(){e.prototype.selectFocusedItem.call(this),this.hideSelectedItems&&this.focusNextVisibleItem()},multiSelectListModel_decorate([jsonobject_property()],MultiSelectListModel.prototype,"hideSelectedItems",void 0),MultiSelectListModel}(o4),se=(en=function(e,t){return(en=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}en(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),dropdownMultiSelectListModel_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},st=function(e){function DropdownMultiSelectListModel(t,o){var n=e.call(this,t,o)||this;return n.setHideSelectedItems(t.hideSelectedItems),n.syncFilterStringPlaceholder(),n.closeOnSelect=t.closeOnSelect,n}return se(DropdownMultiSelectListModel,e),DropdownMultiSelectListModel.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this),this.syncFilterStringPlaceholder()},DropdownMultiSelectListModel.prototype.updateListState=function(){this.listModel.updateState(),this.syncFilterStringPlaceholder()},DropdownMultiSelectListModel.prototype.syncFilterStringPlaceholder=function(){this.getSelectedActions().length||this.question.selectedItems.length||this.listModel.focusedItem?this.filterStringPlaceholder=void 0:this.filterStringPlaceholder=this.question.placeholder},DropdownMultiSelectListModel.prototype.getSelectedActions=function(){return this.listModel.actions.filter(function(e){return e.selected})},DropdownMultiSelectListModel.prototype.getFocusFirstInputSelector=function(){return this.listModel.hideSelectedItems&&rq&&!this.isValueEmpty(this.question.value)?this.itemSelector:e.prototype.getFocusFirstInputSelector.call(this)}
5,DropdownMultiSelectListModel.prototype.getPopupCssClasses=function(){return"sv-multi-select-list"},DropdownMultiSelectListModel.prototype.createListModel=function(){var e=this,t=this.getAvailableItems(),o=this.onSelectionChanged;o||(o=function(t,o){e.resetFilterString(),"selectall"===t.id?e.selectAllItems():"added"===o&&t.value===nC.noneItemValue?e.selectNoneItem():"added"===o?e.selectItem(t.value):"removed"===o&&e.deselectItem(t.value),e.popupRecalculatePosition(!1),e.closeOnSelect&&(e.popupModel.isVisible=!1)});var n={items:t,onSelectionChanged:o,allowSelection:!1,locOwner:this.question,elementId:this.listElementId},r=new i8(n);return this.setOnTextSearchCallbackForListModel(r),r.forceShowFilter=!0,r},DropdownMultiSelectListModel.prototype.resetFilterString=function(){e.prototype.resetFilterString.call(this),this.inputString=null,this.hintString=""},Object.defineProperty(DropdownMultiSelectListModel.prototype,"shouldResetAfterCancel",{get:function(){return rq&&!this.closeOnSelect},enumerable:!1,configurable:!0}),DropdownMultiSelectListModel.prototype.createPopup=function(){var t=this;e.prototype.createPopup.call(this),this.popupModel.onFooterActionsCreated.add(function(e,o){t.shouldResetAfterCancel&&o.actions.push({id:"sv-dropdown-done-button",title:t.doneButtonCaption,innerCss:"sv-popup__button--done",needSpace:!0,action:function(){t.popupModel.isVisible=!1},enabled:new oU(function(){return!t.isTwoValueEquals(t.question.renderedValue,t.previousValue)})})}),this.popupModel.onVisibilityChanged.add(function(e,o){t.shouldResetAfterCancel&&o.isVisible&&(t.previousValue=[].concat(t.question.renderedValue||[]))}),this.popupModel.onCancel=function(){t.shouldResetAfterCancel&&(t.question.renderedValue=t.previousValue,t.updateListState())}},DropdownMultiSelectListModel.prototype.selectAllItems=function(){this.question.toggleSelectAll(),this.question.isAllSelected&&this.question.hideSelectedItems&&this.popupModel.hide(),this.updateListState()},DropdownMultiSelectListModel.prototype.selectNoneItem=function(){this.question.renderedValue=[nC.noneItemValue],this.updateListState()},DropdownMultiSelectListModel.prototype.selectItem=function(e){var t=[].concat(this.question.renderedValue||[]);t.push(e),this.question.renderedValue=t,this.updateListState()},DropdownMultiSelectListModel.prototype.deselectItem=function(e){var t=[].concat(this.question.renderedValue||[]);t.splice(t.indexOf(e),1),this.question.renderedValue=t,this.applyHintString(),this.updateListState()},DropdownMultiSelectListModel.prototype.clear=function(){e.prototype.clear.call(this),this.syncFilterStringPlaceholder()},DropdownMultiSelectListModel.prototype.onClear=function(t){e.prototype.onClear.call(this,t),this.updateListState()},DropdownMultiSelectListModel.prototype.setHideSelectedItems=function(e){this.listModel.hideSelectedItems=e,this.updateListState()},DropdownMultiSelectListModel.prototype.removeLastSelectedItem=function(){this.deselectItem(this.question.renderedValue[this.question.renderedValue.length-1]),this.popupRecalculatePosition(!1)},DropdownMultiSelectListModel.prototype.inputKeyHandler=function(e){8!==e.keyCode||this.filterString||(this.removeLastSelectedItem(),e.preventDefault(),e.stopPropagation())},DropdownMultiSelectListModel.prototype.setInputStringFromSelectedItem=function(e){this.question.searchEnabled&&(this.inputString=null)},DropdownMultiSelectListModel.prototype.focusItemOnClickAndPopup=function(){},DropdownMultiSelectListModel.prototype.onEscape=function(){},DropdownMultiSelectListModel.prototype.beforeScrollToFocusedItem=function(e){},DropdownMultiSelectListModel.prototype.afterScrollToFocusedItem=function(){var e;(null===(e=this.listModel.focusedItem)||void 0===e?void 0:e.selected)?this.hintString="":this.applyHintString(),this.syncFilterStringPlaceholder()},DropdownMultiSelectListModel.prototype.onPropertyChangedHandler=function(t,o){e.prototype.onPropertyChangedHandler.call(this,t,o),("value"===o.name||"renderedValue"===o.name||"placeholder"===o.name)&&this.syncFilterStringPlaceholder()},dropdownMultiSelectListModel_decorate([jsonobject_property({defaultValue:""})],DropdownMultiSelectListModel.prototype,"filterStringPlaceholder",void 0),dropdownMultiSelectListModel_decorate([jsonobject_property({defaultValue:!0})],DropdownMultiSelectListModel.prototype,"closeOnSelect",void 0),dropdownMultiSelectListModel_decorate([jsonobject_property()],DropdownMultiSelectListModel.prototype,"previousValue",void 0),dropdownMultiSelectListModel_decorate([jsonobject_property({localizable:{defaultStr:"tagboxDoneButtonCaption"}})],DropdownMultiSelectListModel.prototype,"doneButtonCaption",void 0),DropdownMultiSelectListModel}(iR),so=(er=function(e,t){return(er=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}er(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_tagbox_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sn=function(e){function QuestionTagboxModel(t){var o=e.call(this,t)||this;return o.itemDisplayNameMap={},o.onOpened=o.addEvent(),o.ariaExpanded="false",o.createLocalizableString("placeholder",o,!1,!0),o.createLocalizableString("clearCaption",o,!1,!0),o.createLocalizableString("readOnlyText",o,!0),o.deselectAllItemText=o.createLocalizableString("deselectAllText",o.selectAllItem,!0,"deselectAllItemText"),o.registerPropertyChangedHandlers(["value","renderAs","showOtherItem","otherText","placeholder","choices","visibleChoices"],function(){o.updateReadOnlyText()}),o.updateReadOnlyText(),o}return so(QuestionTagboxModel,e),QuestionTagboxModel.prototype.locStrsChanged=function(){var t;e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),null===(t=this.dropdownListModelValue)||void 0===t||t.locStrsChanged()},QuestionTagboxModel.prototype.updateReadOnlyText=function(){this.readOnlyText=this.displayValue||this.placeholder},QuestionTagboxModel.prototype.getDefaultItemComponent=function(){return""},Object.defineProperty(QuestionTagboxModel.prototype,"dropdownListModel",{get:function(){return this.isDisposed||this.dropdownListModelValue||(this.dropdownListModelValue=new st(this)),this.dropdownListModelValue},set:function(e){this.dropdownListModelValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("placeholder")},set:function(e){this.setLocalizableStringText("placeholder",e),this.dropdownListModelValue&&this.dropdownListModel.setInputPlaceholder(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("placeholder")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"clearCaption",{get:function(){return this.getLocalizableStringText("clearCaption")},set:function(e){this.setLocalizableStringText("clearCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"locClearCaption",{get:function(){return this.getLocalizableString("clearCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"readOnlyText",{get:function(){return this.getLocalizableStringText("readOnlyText")},set:function(e){this.setLocalizableStringText("readOnlyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"locReadOnlyText",{get:function(){return this.getLocalizableString("readOnlyText")},enumerable:!1,configurable:!0}),QuestionTagboxModel.prototype.getType=function(){return"tagbox"},Object.defineProperty(QuestionTagboxModel.prototype,"ariaRole",{get:function(){return"combobox"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"popupModel",{get:function(){return this.dropdownListModel.popupModel},enumerable:!1,configurable:!0}),QuestionTagboxModel.prototype.getControlClass=function(){return new oY().append(this.cssClasses.control).append(this.cssClasses.controlEmpty,this.isEmpty()).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlEditable,!this.isDisabledStyle&&!this.isReadOnlyStyle&&!this.isPreviewStyle).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasse
5s.controlPreview,this.isPreviewStyle).toString()},QuestionTagboxModel.prototype.updateCssClasses=function(t,o){e.prototype.updateCssClasses.call(this,t,o),updateListCssValues(t,o)},QuestionTagboxModel.prototype.calcCssClasses=function(t){var o=e.prototype.calcCssClasses.call(this,t);return this.dropdownListModelValue&&this.dropdownListModel.updateCssClasses(o.popup,o.list),o},QuestionTagboxModel.prototype.onOpenedCallBack=function(){this.onOpened.fire(this,{question:this,choices:this.choices})},QuestionTagboxModel.prototype.hasUnknownValue=function(t,o,n,r){return void 0===o&&(o=!1),void 0===n&&(n=!0),void 0===r&&(r=!1),!this.choicesLazyLoadEnabled&&e.prototype.hasUnknownValue.call(this,t,o,n,r)},QuestionTagboxModel.prototype.needConvertRenderedOtherToDataValue=function(){var t,o=null===(t=this.otherValue)||void 0===t?void 0:t.trim();return!!o&&e.prototype.hasUnknownValue.call(this,o,!0,!1)},QuestionTagboxModel.prototype.onVisibleChoicesChanged=function(){e.prototype.onVisibleChoicesChanged.call(this),this.dropdownListModelValue&&this.dropdownListModel.updateItems()},QuestionTagboxModel.prototype.getItemIfChoicesNotContainThisValue=function(t,o){return this.choicesLazyLoadEnabled?this.createItemValue(t,o):e.prototype.getItemIfChoicesNotContainThisValue.call(this,t,o)},QuestionTagboxModel.prototype.validateItemValues=function(e){var t=this;this.updateItemDisplayNameMap();var o=this.renderedValue;if(e.length&&e.length===o.length)return e;var n=this.selectedItemValues;if(!e.length&&n&&n.length)return this.defaultSelectedItemValues=[].concat(n),n;var r=e.map(function(e){return e.value});return o.filter(function(e){return -1===r.indexOf(e)}).forEach(function(o){var n=t.getItemIfChoicesNotContainThisValue(o,t.itemDisplayNameMap[o]);n&&e.push(n)}),e.sort(function(e,t){return o.indexOf(e.value)-o.indexOf(t.value)}),e},QuestionTagboxModel.prototype.updateItemDisplayNameMap=function(){var e=this,func=function(t){e.itemDisplayNameMap[t.value]=t.text};(this.defaultSelectedItemValues||[]).forEach(func),(this.selectedItemValues||[]).forEach(func),this.visibleChoices.forEach(func)},QuestionTagboxModel.prototype.getFirstInputElementId=function(){return this.inputId+(this.searchEnabled?"_0":"")},QuestionTagboxModel.prototype.getInputId=function(){return this.inputId+"_0"},QuestionTagboxModel.prototype.supportEmptyValidation=function(){return!0},QuestionTagboxModel.prototype.onBlurCore=function(t){this.dropdownListModel.onBlur(t),e.prototype.onBlurCore.call(this,t)},QuestionTagboxModel.prototype.onFocusCore=function(t){this.dropdownListModel.onFocus(t),e.prototype.onFocusCore.call(this,t)},QuestionTagboxModel.prototype.allElementsSelected=function(){var t=e.prototype.allElementsSelected.call(this);return this.updateSelectAllItemText(t),t},QuestionTagboxModel.prototype.updateSelectAllItemText=function(e){this.selectAllItem.setLocText(e?this.deselectAllItemText:this.selectAllItemText)},QuestionTagboxModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.dropdownListModelValue&&(this.dropdownListModelValue.dispose(),this.dropdownListModelValue=void 0)},QuestionTagboxModel.prototype.clearValue=function(t){var o;e.prototype.clearValue.call(this,t),null===(o=this.dropdownListModelValue)||void 0===o||o.clear()},Object.defineProperty(QuestionTagboxModel.prototype,"showClearButton",{get:function(){return this.allowClear&&!this.isEmpty()&&(!this.isDesignMode||nC.supportCreatorV2)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionTagboxModel.prototype,"isNewA11yStructure",{get:function(){return!1},enumerable:!1,configurable:!0}),question_tagbox_decorate([jsonobject_property()],QuestionTagboxModel.prototype,"searchMode",void 0),question_tagbox_decorate([jsonobject_property()],QuestionTagboxModel.prototype,"allowClear",void 0),question_tagbox_decorate([jsonobject_property({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setSearchEnabled(e)}})],QuestionTagboxModel.prototype,"searchEnabled",void 0),question_tagbox_decorate([jsonobject_property({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setHideSelectedItems(e)}})],QuestionTagboxModel.prototype,"hideSelectedItems",void 0),question_tagbox_decorate([jsonobject_property({onSet:function(e,t){t.dropdownListModelValue&&t.dropdownListModel.setChoicesLazyLoadEnabled(e)}})],QuestionTagboxModel.prototype,"choicesLazyLoadEnabled",void 0),question_tagbox_decorate([jsonobject_property()],QuestionTagboxModel.prototype,"choicesLazyLoadPageSize",void 0),question_tagbox_decorate([jsonobject_property({getDefaultValue:function(){return nC.tagboxCloseOnSelect}})],QuestionTagboxModel.prototype,"closeOnSelect",void 0),question_tagbox_decorate([jsonobject_property()],QuestionTagboxModel.prototype,"textWrapEnabled",void 0),QuestionTagboxModel}(i9);ov.addClass("tagbox",[{name:"placeholder",serializationProperty:"locPlaceholder"},{name:"allowClear:boolean",default:!0},{name:"searchEnabled:boolean",default:!0},{name:"textWrapEnabled:boolean",default:!0},{name:"choicesLazyLoadEnabled:boolean",default:!1,visible:!1},{name:"choicesLazyLoadPageSize:number",default:25,visible:!1},{name:"hideSelectedItems:boolean",default:!1},{name:"closeOnSelect:boolean"},{name:"itemComponent",visible:!1,default:""},{name:"searchMode",default:"contains",choices:["contains","startsWith"]}],function(){return new sn("")},"checkbox"),rh.Instance.registerQuestion("tagbox",function(e){var t=new sn(e);return t.choices=rh.DefaultChoices,t});
5var sr=(ei=function(e,t){return(ei=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ei(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),si=function(e){function DragDropChoices(){var t=null!==e&&e.apply(this,arguments)||this;return t.doDragOver=function(){"imagepicker"!==t.parentElement.getType()&&(t.domAdapter.draggedElementShortcut.querySelector(".svc-item-value-controls__button").style.cursor="grabbing")},t.doBanDropHere=function(){"imagepicker"!==t.parentElement.getType()&&(t.domAdapter.draggedElementShortcut.querySelector(".svc-item-value-controls__button").style.cursor="not-allowed")},t}return sr(DragDropChoices,e),Object.defineProperty(DragDropChoices.prototype,"draggedElementType",{get:function(){return"item-value"},enumerable:!1,configurable:!0}),DragDropChoices.prototype.createDraggedElementShortcut=function(e,t,o){if("imagepicker"===this.parentElement.getType())return this.createImagePickerShortcut(this.draggedElement,e,t,o);var n=t8.createElement("div");if(n){n.className="sv-drag-drop-choices-shortcut";var r=t.closest("[data-sv-drop-target-item-value]").cloneNode(!0);r.classList.add("sv-drag-drop-choices-shortcut__content"),r.querySelector(".svc-item-value-controls__drag-icon").style.visibility="visible",r.querySelector(".svc-item-value-controls__remove").style.backgroundColor="transparent",r.classList.remove("svc-item-value--moveup"),r.classList.remove("svc-item-value--movedown"),this.draggedElement.isDragDropMoveDown=!1,this.draggedElement.isDragDropMoveUp=!1,n.appendChild(r);var i=t.getBoundingClientRect();return n.shortcutXOffset=o.clientX-i.x,n.shortcutYOffset=o.clientY-i.y,this.isBottom=null,"function"==typeof this.onShortcutCreated&&this.onShortcutCreated(n),n}},DragDropChoices.prototype.createImagePickerShortcut=function(e,t,o,n){var r=t8.createElement("div");if(r){r.style.cssText=" \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n ";var i=o.closest("[data-sv-drop-target-item-value]");this.imagepickerControlsNode=i.querySelector(".svc-image-item-value-controls");var s=i.querySelector(".sd-imagepicker__image-container"),a=i.querySelector(e.imageLink?"img":".sd-imagepicker__no-image").cloneNode(!0);return this.imagepickerControlsNode&&(this.imagepickerControlsNode.style.display="none"),s.style.width=a.width+"px",s.style.height=a.height+"px",a.style.objectFit="cover",a.style.borderRadius="4px",r.appendChild(a),r}},DragDropChoices.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.choices.filter(function(t){return""+t.value==e})[0]},DragDropChoices.prototype.getChoices=function(){var e=this.parentElement;return"ranking"===e.getType()?e.selectToRankEnabled?e.unRankingChoices:e.rankingChoices:e.visibleChoices},DragDropChoices.prototype.isDropTargetValid=function(e,t){var o=this.getChoices();if("imagepicker"!==this.parentElement.getType()){var n=o.indexOf(this.dropTarget),r=o.indexOf(this.draggedElement);if(r>n&&this.dropTarget.isDragDropMoveUp)return this.dropTarget.isDragDropMoveUp=!1,!1;if(r<n&&this.dropTarget.isDragDropMoveDown)return this.dropTarget.isDragDropMoveDown=!1,!1}return -1!==o.indexOf(e)},DragDropChoices.prototype.isDropTargetDoesntChanged=function(e){return this.dropTarget===this.prevDropTarget&&e===this.isBottom},DragDropChoices.prototype.calculateIsBottom=function(e,t){var o=t.getBoundingClientRect();return e>=o.y+o.height/2},DragDropChoices.prototype.afterDragOver=function(t){var o=this.getChoices(),n=o.indexOf(this.dropTarget),r=o.indexOf(this.draggedElement);if(r<n&&!0===this.isBottom)o.splice(r,1),o.splice(n,0,this.draggedElement);else{if(!(r>n)||!1!==this.isBottom)return;o.splice(n,1),o.splice(r,0,this.dropTarget)}"imagepicker"!==this.parentElement.getType()&&(r!==n&&(t.classList.remove("svc-item-value--moveup"),t.classList.remove("svc-item-value--movedown"),this.dropTarget.isDragDropMoveDown=!1,this.dropTarget.isDragDropMoveUp=!1),r>n&&(this.dropTarget.isDragDropMoveDown=!0),r<n&&(this.dropTarget.isDragDropMoveUp=!0),e.prototype.ghostPositionChanged.call(this))},DragDropChoices.prototype.doDrop=function(){var e=this.parentElement.choices,t=this.getChoices().filter(function(t){return -1!==e.indexOf(t)}),o=e.indexOf(this.draggedElement),n=t.indexOf(this.draggedElement);return e.splice(o,1),e.splice(n,0,this.draggedElement),this.parentElement},DragDropChoices.prototype.clear=function(){this.parentElement&&this.updateVisibleChoices(this.parentElement),this.imagepickerControlsNode&&(this.imagepickerControlsNode.style.display="flex",this.imagepickerControlsNode=null),e.prototype.clear.call(this)},DragDropChoices.prototype.updateVisibleChoices=function(e){"ranking"===e.getType()?e.updateRankingChoices():e.updateVisibleChoices()},DragDropChoices}
5(rF),ss=(es=function(e,t){return(es=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}es(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),sa=function(e){function DragDropRankingChoices(){var t=null!==e&&e.apply(this,arguments)||this;return t.isDragOverRootNode=!1,t.doDragOver=function(){t.domAdapter.draggedElementShortcut.querySelector(".sv-ranking-item").style.cursor="grabbing"},t.reorderRankedItem=function(e,o,n){if(o!=n){var r=e.rankingChoices,i=r[o];e.isValueSetByUser=!0,r.splice(o,1),r.splice(n,0,i),t.updateDraggedElementShortcut(n+1)}},t.doBanDropHere=function(){if(t.isDragOverRootNode){t.allowDropHere=!0;return}t.domAdapter.draggedElementShortcut.querySelector(".sv-ranking-item").style.cursor="not-allowed",rq&&t.parentElement.updateRankingChoices(!0)},t}return ss(DragDropRankingChoices,e),Object.defineProperty(DragDropRankingChoices.prototype,"draggedElementType",{get:function(){return"ranking-item"},enumerable:!1,configurable:!0}),DragDropRankingChoices.prototype.createDraggedElementShortcut=function(e,t,o){var n=t8.createElement("div");if(n){n.className=this.shortcutClass+" sv-ranking-shortcut";var r=t.cloneNode(!0);n.appendChild(r);var i=t.getBoundingClientRect();n.style.left=i.x,n.style.top=i.y,this.domAdapter.rootElement.append(n);var s=n.offsetHeight,a=o.clientY;return a>i.y+s&&(a=i.y+s-10),n.shortcutXOffset=o.clientX-i.x,n.shortcutYOffset=a-i.y,this.parentElement&&this.parentElement.useFullItemSizeForShortcut&&(n.style.width=t.offsetWidth+"px",n.style.height=t.offsetHeight+"px"),n}},Object.defineProperty(DragDropRankingChoices.prototype,"shortcutClass",{get:function(){return new oY().append(this.parentElement.cssClasses.root).append(this.parentElement.cssClasses.rootMobileMod,rj).toString()},enumerable:!1,configurable:!0}),DragDropRankingChoices.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.rankingChoices[e]},DragDropRankingChoices.prototype.findDropTargetNodeByDragOverNode=function(t){return this.isDragOverRootNode=this.getIsDragOverRootNode(t),e.prototype.findDropTargetNodeByDragOverNode.call(this,t)},DragDropRankingChoices.prototype.getIsDragOverRootNode=function(e){return"string"==typeof e.className&&-1!==e.className.indexOf("sv-ranking")},DragDropRankingChoices.prototype.isDropTargetValid=function(e,t){return -1!==this.parentElement.rankingChoices.indexOf(e)},DragDropRankingChoices.prototype.calculateIsBottom=function(t,o){return this.dropTarget instanceof n0&&this.draggedElement!==this.dropTarget&&e.prototype.calculateIsBottom.call(this,t,o)},DragDropRankingChoices.prototype.getIndices=function(e,t,o){var n=t.indexOf(this.draggedElement),r=o.indexOf(this.dropTarget);return n<0&&this.draggedElement&&(this.draggedElement=n0.getItemByValue(t,this.draggedElement.value)||this.draggedElement,n=t.indexOf(this.draggedElement)),-1===r?r=e.value.length:t==o?(!this.isBottom&&n<r&&r--,this.isBottom&&n>r&&r++):t!=o&&this.isBottom&&r++,{fromIndex:n,toIndex:r}},DragDropRankingChoices.prototype.afterDragOver=function(e){var t=this.getIndices(this.parentElement,this.parentElement.rankingChoices,this.parentElement.rankingChoices),o=t.fromIndex,n=t.toIndex;this.reorderRankedItem(this.parentElement,o,n)},DragDropRankingChoices.prototype.updateDraggedElementShortcut=function(e){var t;(null===(t=this.domAdapter)||void 0===t?void 0:t.draggedElementShortcut)&&(this.domAdapter.draggedElementShortcut.querySelector(".sv-ranking-item__index").innerText=null!==e?e+"":"")},DragDropRankingChoices.prototype.ghostPositionChanged=function(){this.parentElement.currentDropTarget=this.draggedElement,e.prototype.ghostPositionChanged.call(this)},DragDropRankingChoices.prototype.doDrop=function(){return this.parentElement.setValue(),this.parentElement},DragDropRankingChoices.prototype.clear=function(){this.parentElement&&(this.parentElement.dropTargetNodeMove=null,this.parentElement.updateRankingChoices(!0)),e.prototype.clear.call(this)},DragDropRankingChoices}
5(si),sl=(ea=function(e,t){return(ea=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ea(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),su=function(e){function DragDropRankingSelectToRank(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectToRank=function(e,o,n){var r=[].concat(e.rankingChoices),i=e.unRankingChoices[o];r.splice(n,0,i),t.updateChoices(e,r)},t.unselectFromRank=function(e,o,n){var r=[].concat(e.rankingChoices);r.splice(o,1),t.updateChoices(e,r)},t}return sl(DragDropRankingSelectToRank,e),DragDropRankingSelectToRank.prototype.findDropTargetNodeByDragOverNode=function(t){if("from-container"===t.dataset.ranking||"to-container"===t.dataset.ranking)return t;var o=t.closest("[data-ranking='to-container']"),n=t.closest("[data-ranking='from-container']");return 0===this.parentElement.unRankingChoices.length&&n?n:0===this.parentElement.rankingChoices.length&&o?o:e.prototype.findDropTargetNodeByDragOverNode.call(this,t)},DragDropRankingSelectToRank.prototype.getDropTargetByDataAttributeValue=function(e){return this.parentElement.rankingChoices[e]||this.parentElement.unRankingChoices[e]},DragDropRankingSelectToRank.prototype.getDropTargetByNode=function(t,o){return"to-container"===t.dataset.ranking?"to-container":"from-container"===t.dataset.ranking||t.closest("[data-ranking='from-container']")?"from-container":e.prototype.getDropTargetByNode.call(this,t,o)},DragDropRankingSelectToRank.prototype.isDropTargetValid=function(t,o){return"to-container"===t||"from-container"===t||e.prototype.isDropTargetValid.call(this,t,o)},DragDropRankingSelectToRank.prototype.afterDragOver=function(e){var t=this.parentElement,o=t.rankingChoices,n=t.unRankingChoices;if(this.isDraggedElementUnranked&&this.isDropTargetRanked){this.doRankBetween(e,n,o,this.selectToRank);return}if(this.isDraggedElementRanked&&this.isDropTargetRanked){this.doRankBetween(e,o,o,this.reorderRankedItem);return}if(this.isDraggedElementRanked&&!this.isDropTargetRanked){this.doRankBetween(e,o,n,this.unselectFromRank);return}},DragDropRankingSelectToRank.prototype.doRankBetween=function(e,t,o,n){var r=this.parentElement,i=this.getIndices(r,t,o);n(r,i.fromIndex,i.toIndex,e)},Object.defineProperty(DragDropRankingSelectToRank.prototype,"isDraggedElementRanked",{get:function(){return -1!==this.parentElement.rankingChoices.indexOf(this.draggedElement)},enumerable:!1,configurable:!0}),Object.defineProperty(DragDropRankingSelectToRank.prototype,"isDropTargetRanked",{get:function(){return"to-container"===this.dropTarget||-1!==this.parentElement.rankingChoices.indexOf(this.dropTarget)},enumerable:!1,configurable:!0}),Object.defineProperty(DragDropRankingSelectToRank.prototype,"isDraggedElementUnranked",{get:function(){return!this.isDraggedElementRanked},enumerable:!1,configurable:!0}),DragDropRankingSelectToRank.prototype.updateChoices=function(e,t){e.isValueSetByUser=!0,e.rankingChoices=t,e.updateUnRankingChoices(t)},DragDropRankingSelectToRank}(sa),sc=(el=function(e,t){return(el=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}el(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_ranking_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sp=function(e){function QuestionRankingModel(t){var o=e.call(this,t)||this;return o.domNode=null,o.onVisibleChoicesChanged=function(){if(e.prototype.onVisibleChoicesChanged.call(o),!o.carryForwardStartUnranked||o.isValueSetByUser||o.selectToRankEnabled||o.defaultValue||(o.value=[]),1===o.visibleChoices.length&&!o.selectToRankEnabled){o.value=[],o.value.push(o.visibleChoices[0].value),o.updateRankingChoices();return}if(o.isEmpty()||o.selectToRankEnabled){o.updateRankingChoices();return}o.visibleChoices.length>o.value.length&&o.addToValueByVisibleChoices(),o.visibleChoices.length<o.value.length&&o.removeFromValueByVisibleChoices(),o.updateRankingChoices()},o.localeChanged=function(){e.prototype.localeChanged.call(o),o.updateRankingChoicesSync()},o._rankingChoicesAnimation=new nc(o.getChoicesAnimationOptions(!0),function(e){o._renderedRankingChoices=e},function(){return o.renderedRankingChoices}),o._unRankingChoicesAnimation=new nc(o.getChoicesAnimationOptions(!1),function(e){o._renderedUnRankingChoices=e},function(){return o.renderedUnRankingChoices}),o.rankingChoices=[],o.unRankingChoices=[],o._renderedRankingChoices=[],o._renderedUnRankingChoices=[],o.handlePointerDown=function(e,t,n){var r=e.target;o.isDragStartNodeValid(r)&&o.isAllowStartDrag(r,t)&&(o.draggedChoiceValue=t.value,o.draggedTargetNode=n,o.dragOrClickHelper.onPointerDown(e))},o.startDrag=function(e){var t=n0.getItemByValue(o.visibleChoices,o.draggedChoiceValue);o.dragDropRankingChoices.startDrag(e,t,o,o.draggedTargetNode)},o.handlePointerUp=function(e,t,n){if(o.selectToRankEnabled){var r=e.target;o.isAllowStartDrag(r,t)&&o.handleKeydownSelectToRank(e,t," ",!1)}},o.handleKeydown=function(e,t){if(!o.isReadOnlyAttr&&!o.isDesignMode){var n=e.key,r=o.rankingChoices.indexOf(t);if(o.selectToRankEnabled){o.handleKeydownSelectToRank(e,t);return}if("ArrowUp"===n&&r||"ArrowDown"===n&&r!==o.rankingChoices.length-1){var i="ArrowUp"==n?r-1:r+1;o.dragDropRankingChoices.reorderRankedItem(o,r,i),o.setValueAfterKeydown(i,"",!0,e)}}},o.focusItem=function(e,t){if(o.domNode){if(o.selectToRankEnabled&&t){var n=o.domNo
5de.querySelectorAll("[data-ranking='"+t+"'] ."+o.cssClasses.item);n[e].focus()}else{var n=o.domNode.querySelectorAll("."+o.cssClasses.item);n[e].focus()}}},o.isValueSetByUser=!1,o.setValue=function(){var e=[];o.rankingChoices.forEach(function(t){e.push(t.value)}),o.value=e,o.isValueSetByUser=!0},o.registerFunctionOnPropertyValueChanged("selectToRankEnabled",function(){o.clearValue(!0),o.setDragDropRankingChoices(),o.updateRankingChoicesSync()}),o.dragOrClickHelper=new rU(o.startDrag),o}return sc(QuestionRankingModel,e),QuestionRankingModel.prototype.getType=function(){return"ranking"},QuestionRankingModel.prototype.getItemTabIndex=function(e){if(!this.isDesignMode&&!e.disabled)return 0},QuestionRankingModel.prototype.supportContainerQueries=function(){return this.selectToRankEnabled},Object.defineProperty(QuestionRankingModel.prototype,"rootClass",{get:function(){return new oY().append(this.cssClasses.root).append(this.cssClasses.rootMobileMod,this.isMobileMode()).append(this.cssClasses.rootDisabled,this.isDisabledStyle).append(this.cssClasses.rootReadOnly,this.isReadOnlyStyle).append(this.cssClasses.rootPreview,this.isPreviewStyle).append(this.cssClasses.rootDesignMode,!!this.isDesignMode).append(this.cssClasses.itemOnError,this.hasCssError()).append(this.cssClasses.rootDragHandleAreaIcon,"icon"===nC.rankingDragHandleArea).append(this.cssClasses.rootSelectToRankMod,this.selectToRankEnabled).append(this.cssClasses.rootSelectToRankEmptyValueMod,this.isEmpty()).append(this.cssClasses.rootSelectToRankAlignHorizontal,this.selectToRankEnabled&&"horizontal"===this.renderedSelectToRankAreasLayout).append(this.cssClasses.rootSelectToRankAlignVertical,this.selectToRankEnabled&&"vertical"===this.renderedSelectToRankAreasLayout).append(this.cssClasses.rootSelectToRankSwapAreas,this.selectToRankEnabled&&"horizontal"===this.renderedSelectToRankAreasLayout&&this.selectToRankSwapAreas).toString()},enumerable:!1,configurable:!0}),QuestionRankingModel.prototype.isItemSelectedCore=function(t){return!this.selectToRankEnabled||e.prototype.isItemSelectedCore.call(this,t)},QuestionRankingModel.prototype.getItemClassCore=function(t,o){return new oY().append(e.prototype.getItemClassCore.call(this,t,o)).append(this.cssClasses.itemGhostMod,this.currentDropTarget===t).toString()},QuestionRankingModel.prototype.getContainerClasses=function(e){var t=!1,o="to"===e,n="from"===e;return o?t=0===this.renderedRankingChoices.length:n&&(t=0===this.renderedUnRankingChoices.length),new oY().append(this.cssClasses.container).append(this.cssClasses.containerToMode,o).append(this.cssClasses.containerFromMode,n).append(this.cssClasses.containerEmptyMode,t).toString()},QuestionRankingModel.prototype.isItemCurrentDropTarget=function(e){return this.dragDropRankingChoices.dropTarget===e},Object.defineProperty(QuestionRankingModel.prototype,"ghostPositionCssClass",{get:function(){return"top"===this.ghostPosition?this.cssClasses.dragDropGhostPositionTop:"bottom"===this.ghostPosition?this.cssClasses.dragDropGhostPositionBottom:""},enumerable:!1,configurable:!0}),QuestionRankingModel.prototype.getItemIndexClasses=function(e){var t;return t=this.selectToRankEnabled?-1!==this.unRankingChoices.indexOf(e):this.isEmpty(),new oY().append(this.cssClasses.itemIndex).append(this.cssClasses.itemIndexEmptyMode,t).toString()},QuestionRankingModel.prototype.getNumberByIndex=function(e){return this.isEmpty()?"":e+1+""},QuestionRankingModel.prototype.updateRankingChoicesSync=function(){this.blockAnimations(),this.updateRankingChoices(),this.releaseAnimations()},QuestionRankingModel.prototype.setSurveyImpl=function(t,o){e.prototype.setSurveyImpl.call(this,t,o),this.setDragDropRankingChoices(),this.updateRankingChoicesSync()},QuestionRankingModel.prototype.isAnswerCorrect=function(){return oe.isArraysEqual(this.value,this.correctAnswer,!1)},Object.defineProperty(QuestionRankingModel.prototype,"requireStrictCompare",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionRankingModel.prototype.onSurveyValueChanged=function(t){e.prototype.onSurveyValueChanged.call(this,t),this.isLoadingFromJson||this.updateRankingChoices()},QuestionRankingModel.prototype.onSurveyLoad=function(){this.blockAnimations(),e.prototype.onSurveyLoad.call(this),this.updateRankingChoices(),this.releaseAnimations()},QuestionRankingModel.prototype.updateValueFromSurvey=function(t,o){e.prototype.updateValueFromSurvey.call(this,t,o),t&&(this.isValueSetByUser=!0)},QuestionRankingModel.prototype.addToValueByVisibleChoices=function(){var e=this.value.slice();
5this.visibleChoices.forEach(function(t){-1===e.indexOf(t.value)&&e.push(t.value)}),this.value=e},QuestionRankingModel.prototype.removeFromValueByVisibleChoices=function(){for(var e=this.value.slice(),t=this.visibleChoices,o=this.value.length-1;o>=0;o--)n0.getItemByValue(t,this.value[o])||e.splice(o,1);this.value=e},QuestionRankingModel.prototype.getChoicesAnimationOptions=function(e){var t=this;return{getKey:function(e){return e.value},getRerenderEvent:function(){return t.onElementRerendered},isAnimationEnabled:function(){return t.animationAllowed&&!t.isDesignMode&&t.isVisible&&!!t.domNode},getReorderOptions:function(e,o){var n="";return e!==t.currentDropTarget&&(n=o?"sv-dragdrop-movedown":"sv-dragdrop-moveup"),{cssClass:n}},getLeaveOptions:function(o){var n=e?t.renderedRankingChoices:t.renderedUnRankingChoices;return"vertical"==t.renderedSelectToRankAreasLayout&&1==n.length&&n.indexOf(o)>=0?{cssClass:"sv-ranking-item--animate-item-removing-empty"}:{cssClass:"sv-ranking-item--animate-item-removing",onBeforeRunAnimation:function(e){e.style.setProperty("--animation-height",e.offsetHeight+"px")}}},getEnterOptions:function(o){var n=e?t.renderedRankingChoices:t.renderedUnRankingChoices;return"vertical"==t.renderedSelectToRankAreasLayout&&1==n.length&&n.indexOf(o)>=0?{cssClass:"sv-ranking-item--animate-item-adding-empty"}:{cssClass:"sv-ranking-item--animate-item-adding",onBeforeRunAnimation:function(e){e.style.setProperty("--animation-height",e.offsetHeight+"px")}}},getAnimatedElement:function(o){var n,r=t.cssClasses,i="";t.selectToRankEnabled&&(!e&&r.containerFromMode?i=classesToSelector(r.containerFromMode):e&&r.containerToMode&&(i=classesToSelector(r.containerToMode)));var s=e?t.renderedRankingChoices.indexOf(o):t.renderedUnRankingChoices.indexOf(o);return null===(n=t.domNode)||void 0===n?void 0:n.querySelector(i+" [data-sv-drop-target-ranking-item='"+s+"']")},allowSyncRemovalAddition:!0}},Object.defineProperty(QuestionRankingModel.prototype,"rankingChoicesAnimation",{get:function(){return this._rankingChoicesAnimation},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"unRankingChoicesAnimation",{get:function(){return this._unRankingChoicesAnimation},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"renderedRankingChoices",{get:function(){return this._renderedRankingChoices},set:function(e){this.rankingChoicesAnimation.sync(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"renderedUnRankingChoices",{get:function(){return this._renderedUnRankingChoices},set:function(e){this.unRankingChoicesAnimation.sync(e)},enumerable:!1,configurable:!0}),QuestionRankingModel.prototype.updateRenderedRankingChoices=function(){this.renderedRankingChoices=this.rankingChoices},QuestionRankingModel.prototype.updateRenderedUnRankingChoices=function(){this.renderedUnRankingChoices=this.unRankingChoices},QuestionRankingModel.prototype.updateRankingChoices=function(e){var t=this;if(void 0===e&&(e=!1),this.selectToRankEnabled){this.updateRankingChoicesSelectToRankMode(e);return}var o=[];if(e&&(this.rankingChoices=[]),this.isEmpty()){this.rankingChoices=this.visibleChoices;return}this.value.forEach(function(e){t.visibleChoices.forEach(function(t){t.value===e&&o.push(t)})}),this.rankingChoices=o},QuestionRankingModel.prototype.updateUnRankingChoices=function(e){var t=[];this.visibleChoices.forEach(function(e){t.push(e)}),e.forEach(function(e){t.forEach(function(o,n){o.value===e.value&&t.splice(n,1)})}),this.unRankingChoices=t},QuestionRankingModel.prototype.updateRankingChoicesSelectToRankMode=function(e){var t=this,o=[];this.isEmpty()||this.value.forEach(function(e){t.visibleChoices.forEach(function(t){t.value===e&&o.push(t)})}),this.updateUnRankingChoices(o),this.rankingChoices=o},QuestionRankingModel.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.setDragDropRankingChoices()},QuestionRankingModel.prototype.setDragDropRankingChoices=function(){this.dragDropRankingChoices=this.createDragDropRankingChoices()},QuestionRankingModel.prototype.createDragDropRankingChoices=function(){return this.selectToRankEnabled?new su(this.survey,null,this.longTap):new sa(this.survey,null,this.longTap)},QuestionRankingModel.prototype.isDragStartNodeValid=function(e){return"icon"!==nC.rankingDragHandleArea||e.classList.contains(this.cssClasse
5s.itemIconHoverMod)},QuestionRankingModel.prototype.isAllowStartDrag=function(e,t){return!this.isReadOnly&&!this.isDesignMode&&this.canStartDragDueMaxSelectedChoices(e)&&this.canStartDragDueItemEnabled(t)},QuestionRankingModel.prototype.canStartDragDueMaxSelectedChoices=function(e){return!this.selectToRankEnabled||!e.closest("[data-ranking='from-container']")||this.checkMaxSelectedChoicesUnreached()},QuestionRankingModel.prototype.canStartDragDueItemEnabled=function(e){return e.enabled},QuestionRankingModel.prototype.checkMaxSelectedChoicesUnreached=function(){if(this.maxSelectedChoices<1)return!0;var e=this.value;return(Array.isArray(e)?e.length:0)<this.maxSelectedChoices},QuestionRankingModel.prototype.afterRenderQuestionElement=function(t){this.domNode=t,e.prototype.afterRenderQuestionElement.call(this,t)},QuestionRankingModel.prototype.beforeDestroyQuestionElement=function(t){this.domNode=void 0,e.prototype.beforeDestroyQuestionElement.call(this,t)},QuestionRankingModel.prototype.supportSelectAll=function(){return!1},QuestionRankingModel.prototype.supportOther=function(){return!1},QuestionRankingModel.prototype.supportNone=function(){return!1},QuestionRankingModel.prototype.supportRefuse=function(){return!1},QuestionRankingModel.prototype.supportDontKnow=function(){return!1},QuestionRankingModel.prototype.handleKeydownSelectToRank=function(e,t,o,n){if(void 0===n&&(n=!0),!this.isDesignMode){var r,i=e.key;if(o&&(i=o)," "===i||"ArrowUp"===i||"ArrowDown"===i){var s=this.dragDropRankingChoices,a=this.rankingChoices,l=-1!==a.indexOf(t),u=(l?a:this.unRankingChoices).indexOf(t);if(!(u<0)){if(" "===i&&!l){if(!this.checkMaxSelectedChoicesUnreached()||!this.canStartDragDueItemEnabled(t))return;r=this.value.length,s.selectToRank(this,u,r),this.setValueAfterKeydown(r,"to-container",n,e);return}if(l){if(" "===i){s.unselectFromRank(this,u),r=this.unRankingChoices.indexOf(t),this.setValueAfterKeydown(r,"from-container",n,e);return}var c="ArrowUp"===i?-1:"ArrowDown"===i?1:0;0!==c&&((r=u+c)<0||r>=a.length||(s.reorderRankedItem(this,u,r),this.setValueAfterKeydown(r,"to-container",n,e)))}}}}},QuestionRankingModel.prototype.setValueAfterKeydown=function(e,t,o,n){var r=this;void 0===o&&(o=!0),this.setValue(),o&&setTimeout(function(){r.focusItem(e,t)},1),n&&n.preventDefault()},QuestionRankingModel.prototype.getIconHoverCss=function(){return new oY().append(this.cssClasses.itemIcon).append(this.cssClasses.itemIconHoverMod).toString()},QuestionRankingModel.prototype.getIconFocusCss=function(){return new oY().append(this.cssClasses.itemIcon).append(this.cssClasses.itemIconFocusMod).toString()},Object.defineProperty(QuestionRankingModel.prototype,"longTap",{get:function(){return this.getPropertyValue("longTap")},set:function(e){this.setPropertyValue("longTap",e)},enumerable:!1,configurable:!0}),QuestionRankingModel.prototype.getDefaultItemComponent=function(){return"sv-ranking-item"},Object.defineProperty(QuestionRankingModel.prototype,"selectToRankEnabled",{get:function(){return this.getPropertyValue("selectToRankEnabled",!1)},set:function(e){this.setPropertyValue("selectToRankEnabled",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"selectToRankSwapAreas",{get:function(){return this.getPropertyValue("selectToRankSwapAreas",!1)},set:function(e){this.setPropertyValue("selectToRankSwapAreas",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"selectToRankAreasLayout",{get:function(){return this.getPropertyValue("selectToRankAreasLayout")},set:function(e){this.setPropertyValue("selectToRankAreasLayout",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"renderedSelectToRankAreasLayout",{get:function(){return this.isMobileMode()?"vertical":this.selectToRankAreasLayout},enumerable:!1,configurable:!0}),QuestionRankingModel.prototype.isMobileMode=function(){return rj},Object.defineProperty(QuestionRankingModel.prototype,"useFullItemSizeForShortcut",{get:function(){return this.getPropertyValue("useFullItemSizeForShortcut")},set:function(e){this.setPropertyValue("useFullItemSizeForShortcut",e)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"dragDropSvgIcon",{get:function(){return this.cssClasses.dragDropSvgIconId||"#icon-drag-24x24"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"arrowsSvgIcon",{get:function(){return this.cssClasses.arrowsSvgIconId||"#icon-reorder-24x24"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"dashSvgIcon",{get:function(){return this.cssClasses.dashSvgIconId||"#icon-rankingundefined-16x16"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRankingModel.prototype,"isNewA11yStructure",{get:function(){return!1},enumerable:!1,configurable:!0}),question_ranking_decorate([propertyArray({onSet:function(e,t){return t.updateRenderedRankingChoices()},onRemove:function(e,t,o){return o.updateRenderedRankingChoices()},onPush:function(e,t,o){return o.updateRenderedRankingChoices()}})],QuestionRankingModel.prototype,"rankingChoices",void 0),question_ranking_decorate([propertyArray({onSet:function(e,t){return t.updateRenderedUnRankingChoices()},onRemove:function(e,t,o){return o.updateRenderedUnRankingChoices()},onPush:function(e,t,o){return o.updateRenderedUnRankingChoices()}})],QuestionRankingModel.prototype,"unRankingChoices",void 0),question_ranking_decorate([propertyArray()],QuestionRankingModel.prototype,"_renderedRankingChoices",void 0),question_ranking_decorate([propertyArray()],QuestionRankingModel.prototype,"_renderedUnRankingChoices",void 0),question_ranking_decorate([jsonobject_property({defaultValue:null})],QuestionRankingModel.prototype,"currentDropTarget",void 0),question_ranking_decorate([jsonobject_property({defaultValue:!0})],QuestionRankingModel.prototype,"carryForwardStartUnranked",void 0),question_ranking_decorate([jsonobject_property({localizable:{defaultStr:"selectToRankEmptyRankedAreaText"}})],QuestionRankingModel.prototype,"selectToRankEmptyRankedAreaText",void 0),question_ranking_decorate([jsonobject_property({localizable:{defaultStr:"selectToRankEmptyUnrankedAreaText"}})],QuestionRankingModel.prototype,"selectToRankEmptyUnrankedAreaText",void 0),QuestionRankingModel}(i9);ov.addClass("ranking",[{name:"showOtherItem",visible:!1,isSerializable:!1},{name:"otherText",visible:!1,isSerializable:!1},{name:"otherErrorText",visible:!1,isSerializable:!1},{name:"storeOthersAsComment",visible:!1,isSerializable:!1},{name:"showNoneItem",visible:!1,isSerializable:!1},{name:"showRefuseItem",visible:!1,isSerializable:!1},{name:"showDontKnowItem",visible:!1,isSerializable:!1},{name:"noneText",visible:!1,isSerializable:!1},{name:"showSelectAllItem",visible:!1,isSerializable:!1},{name:"selectAllText",visible:!1,isSerializable:!1},{name:"colCount:number",visible:!1,isSerializable:!1},{name:"separateSpecialChoices",visible:!1,isSerializable:!1},{name:"longTap",default:!0,visible:!1,isSerializable:!1},{name:"selectToRankEnabled:switch",default:!1,visible:!0,isSerializable:!0},{name:"selectToRankSwapAreas:switch",default:!1,visible:!1,isSerializable:!0,dependsOn:"selectToRankEnabled"},{name:"selectToRankAreasLayout",default:"horizontal",choices:["horizontal","vertical"],dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled},visible:!0,isSerializable:!0},{name:"selectToRankEmptyRankedAreaText:text",serializationProperty:"locSelectToRankEmptyRankedAreaText",category:"general",dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled}},{name:"selectToRankEmptyUnrankedAreaText:text",serializationProperty:"locSelectToRankEmptyUnrankedAreaText",category:"general",dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled}},{name:"maxSelectedChoices:number",visible:!0,default:0,dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled},isSerializable:!0},{name:"minSelectedChoices:number",visible:!0,default:0,dependsOn:"selectToRankEnabled",visibleIf:function(e){return!!e.selectToRankEnabled},isSerializable:!0},{name:"itemComponent",visible:!1,default:"sv-ranking-item"}],function(){return new sp("")},"checkbox"),rh.Instance.registerQuestion("ranking",function(e){var t=new sp(e);return t.choices=rh.DefaultChoices,t});var sd=(eu=function(e,t){return(eu=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eu(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),sh=function(e){function QuestionCommentModel(t){return e.call(this,t)||this}return sd(QuestionCommentModel,e),Object.defineProperty(QuestionCommentModel.prototype,"textAreaModel",{get:function(){return this.textAreaModelValue||(this.textAreaModelValue=new nZ(this.getTextAreaOptions())),this.textAreaModelValue},enumerable:!1,configurable:!0}),QuestionCommentModel.prototype.getTextAreaOptions=function(){var e=this,t=this,updateQuestionValue=function(e){oe.isTwoValueEquals(t.value,e,!1,!0,!1)||(t.value=e)};return{question:this,id:function(){return e.inputId},propertyNames:["value"],className:function(){return e.className},placeholder:function(){return e.renderedPlaceholder},isDisabledAttr:function(){return e.isDisabledAttr},isReadOnlyAttr:function(){return e.isReadOnlyAttr},autoGrow:function(){return e.renderedAutoGrow},maxLength:function(){return e.getMaxLength()},rows:function(){return e.rows},cols:function(){return e.cols},ariaRequired:function(){return e.a11y_input_ariaRequired},ariaLabel:function(){return e.a11y_input_ariaLabel},ariaLabelledBy:function(){return e.a11y_input_ariaLabelledBy},ariaDescribedBy:function(){return e.a11y_input_ariaDescribedBy},ariaInvalid:function(){return e.a11y_input_ariaInvalid},ariaErrormessage:function(){return e.a11y_input_ariaErrormessage},getTextValue:function(){return e.value},onTextAreaChange:function(e){updateQuestionValue(e.target.value)},onTextAreaInput:function(t){e.onInput(t)},onTextAreaKeyDown:function(t){e.onKeyDown(t)},onTextAreaFocus:function(t){e.onFocus(t)},onTextAreaBlur:function(t){e.onBlur(t)}}},Object.defineProperty(QuestionCommentModel.prototype,"rows",{get:function(){return this.getPropertyValue("rows")},set:function(e){this.setPropertyValue("rows",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"cols",{get:function(){return this.getPropertyValue("cols")},set:function(e){this.setPropertyValue("cols",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"acceptCarriageReturn",{get:function(){return this.getPropertyValue("acceptCarriageReturn")},set:function(e){this.setPropertyValue("acceptCarriageReturn",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"autoGrow",{get:function(){return this.getPropertyValue("autoGrow")},set:function(e){this.setPropertyValue("autoGrow",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"renderedAutoGrow",{get:function(){var e=this.autoGrow;return void 0===e&&this.survey?this.survey.autoGrowComment:!!e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"allowResize",{get:function(){return this.getPropertyValue("allowResize")},set:function(e){this.setPropertyValue("allowResize",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"renderedAllowResize",{get:function(){var e=this.allowResize;return void 0===e&&this.survey?this.survey.allowResizeComment:!!e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionCommentModel.prototype,"resizeStyle",{get:function(){return this.renderedAllowResize?"both":"none"},enumerable:!1,configurable:!0}),QuestionCommentModel.prototype.getType=function(){return"comment"},QuestionCommentModel.prototype.afterRenderQuestionElement=function(t){var o=nC.environment.root;this.element=o.getElementById(this.inputId)||t,e.prototype.afterRenderQuestionElement.call(this,t)},QuestionCommentModel.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.element=void 0},QuestionCommentModel.prototype.onInput=function(e){this.isInputTextUpdate&&(this.value=e.target.value),this.updateRemainingCharacterCounter(e.target.value)},QuestionCommentModel.prototype.onBlurCore=function(t){e.prototype.onBlurCore.call(this,t)},QuestionCommentModel.prototype.onKeyDown=function(e){this.onKeyDownPreprocess&&this.onKeyDownPreprocess(e),this.acceptCarriageReturn||"Enter"!==e.key&&13!==e.keyCode||(e.preventDefault(),e.stopPropagation())},QuestionCommentModel.prototype.setNewValue=function(t){!this.acceptCarriageReturn&&t&&(t=t.replace(RegExp("(\r\n|\n|\r)","gm"),"")),e.prototype.setNewValue.call(this,t)},QuestionCommentModel.prototype.getValueSeparator=function(){return"\n"},QuestionCommentModel.prototype.notifyStateChanged=function(t){e.prototype.notifyStateChanged.call(this,t),this.isCollapsed||this.textAreaModel.updateElement()},Object.defineProperty(QuestionCommentModel.prototype,"className",{get:function(){return(this.cssClasse
5s?this.getControlClass():"panel-comment-root")||void 0},enumerable:!1,configurable:!0}),QuestionCommentModel}(iB);ov.addClass("comment",[{name:"maxLength:number",default:-1},{name:"cols:number",default:50,visible:!1,isSerializable:!1},{name:"rows:number",default:4},{name:"placeholder",alternativeName:"placeHolder",serializationProperty:"locPlaceholder"},{name:"textUpdateMode",default:"default",choices:["default","onBlur","onTyping"]},{name:"autoGrow:boolean",defaultFunc:function(){}},{name:"allowResize:boolean",defaultFunc:function(){}},{name:"acceptCarriageReturn:boolean",default:!0,visible:!1}],function(){return new sh("")},"textbase"),rh.Instance.registerQuestion("comment",function(e){return new sh(e)});var sm="environment",sg="user",sf=function(){function Camera(){this.canFlipValue=void 0}return Camera.clear=function(){Camera.cameraList=void 0,Camera.cameraIndex=-1},Camera.setCameraList=function(e){var getDeviceType=function(e){var t=e.label.toLocaleLowerCase();return t.indexOf(sg)>-1?sg:t.indexOf(sm)>-1?sm:t.indexOf("front")>-1?sg:t.indexOf("back")>-1?sm:""};Camera.clear(),Array.isArray(e)&&e.length>0&&(Camera.cameraIndex=-1,e.sort(function(t,o){if(t===o)return 0;if(t.label!==o.label){var n=getDeviceType(t),r=getDeviceType(o);if(n!==r){if(n===sg)return -1;if(r===sg)return 1;if(n===sm)return -1;if(r===sm)return 1}}return e.indexOf(t)<e.indexOf(o)?-1:1})),Camera.cameraList=e},Camera.prototype.hasCamera=function(e){var t=this;if(void 0!==Camera.cameraList){this.hasCameraCallback(e);return}if(Camera.mediaDevicesCallback){Camera.mediaDevicesCallback(function(o){t.setVideoInputs(o),t.hasCameraCallback(e)});return}"undefined"!=typeof navigator&&navigator.mediaDevices?navigator.mediaDevices.enumerateDevices().then(function(o){t.setVideoInputs(o),t.hasCameraCallback(e),t.updateCanFlipValue()}).catch(function(o){Camera.cameraList=null,t.hasCameraCallback(e)}):(Camera.cameraList=null,this.hasCameraCallback(e))},Camera.prototype.getMediaConstraints=function(e){var t=Camera.cameraList;if(Array.isArray(t)&&!(t.length<1)){Camera.cameraIndex<0&&(Camera.cameraIndex=0);var o=t[Camera.cameraIndex],n={};return o&&o.deviceId?n.deviceId={exact:o.deviceId}:n.facingMode=Camera.cameraFacingMode,e&&((null==e?void 0:e.height)&&(n.height={ideal:e.height}),(null==e?void 0:e.width)&&(n.width={ideal:e.width})),{video:n,audio:!1}}},Camera.prototype.startVideo=function(e,t,o,n){var r=this;if(!e){t(void 0);return}e.style.width="100%",e.style.height="auto",e.style.height="100%",e.style.objectFit="contain";var i=this.getMediaConstraints({width:o,height:n});navigator.mediaDevices.getUserMedia(i).then(function(o){var n;e.srcObject=o,(null===(n=Camera.cameraList[Camera.cameraIndex])||void 0===n?void 0:n.deviceId)||!o.getTracks()[0].getCapabilities().facingMode||(Camera.canSwitchFacingMode=!0,r.updateCanFlipValue()),e.play(),t(o)}).catch(function(e){t(void 0)})},Camera.prototype.getImageSize=function(e){return{width:e.videoWidth,height:e.videoHeight}},Camera.prototype.snap=function(e,t){if(!e||!t8.isAvailable())return!1;var o=t8.getDocument().createElement("canvas"),n=this.getImageSize(e);o.height=n.height,o.width=n.width;var r=o.getContext("2d");return r.clearRect(0,0,o.width,o.height),r.drawImage(e,0,0,o.width,o.height),o.toBlob(t,"image/png"),!0},Camera.prototype.updateCanFlipValue=function(){var e=Camera.cameraList;this.canFlipValue=Array.isArray(e)&&e.length>1||Camera.canSwitchFacingMode,this.onCanFlipChangedCallback&&this.onCanFlipChangedCallback(this.canFlipValue)},Camera.prototype.canFlip=function(e){return void 0===this.canFlipValue&&this.updateCanFlipValue(),e&&(this.onCanFlipChangedCallback=e),this.canFlipValue},Camera.prototype.flip=function(){this.canFlip()&&(Camera.canSwitchFacingMode?Camera.cameraFacingMode=Camera.cameraFacingMode===sg?"environment":sg:Camera.cameraIndex>=Camera.cameraList.length-1?Camera.cameraIndex=0:Camera.cameraIndex++)},Camera.prototype.hasCameraCallback=function(e){e(Array.isArray(Camera.cameraList))},Camera.prototype.setVideoInputs=function(e){var t=[];e.forEach(function(e){"videoinput"===e.kind&&t.push(e)}),Camera.setCameraList(t.length>0?t:null)}
5,Camera.cameraIndex=-1,Camera.cameraFacingMode=sg,Camera.canSwitchFacingMode=!1,Camera}(),sy=(ec=function(e,t){return(ec=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ec(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_file_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sv=function(e){function QuestionFileModelBase(){var t=null!==e&&e.apply(this,arguments)||this;return t.isUploading=!1,t.onUploadStateChanged=t.addEvent(),t.onStateChanged=t.addEvent(),t}return sy(QuestionFileModelBase,e),QuestionFileModelBase.prototype.stateChanged=function(e){this.currentState!=e&&("loading"===e&&(this.isUploading=!0),"loaded"===e&&(this.isUploading=!1),"error"===e&&(this.isUploading=!1),this.currentState=e,this.onStateChanged.fire(this,{state:e}),this.onUploadStateChanged.fire(this,{state:e}))},Object.defineProperty(QuestionFileModelBase.prototype,"showLoadingIndicator",{get:function(){return this.isUploading&&this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModelBase.prototype,"storeDataAsText",{get:function(){return this.getPropertyValue("storeDataAsText")},set:function(e){this.setPropertyValue("storeDataAsText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModelBase.prototype,"waitForUpload",{get:function(){return this.getPropertyValue("waitForUpload")},set:function(e){this.setPropertyValue("waitForUpload",e)},enumerable:!1,configurable:!0}),QuestionFileModelBase.prototype.clearValue=function(t){this.clearOnDeletingContainer(),e.prototype.clearValue.call(this,t)},QuestionFileModelBase.prototype.clearOnDeletingContainer=function(){this.survey&&this.survey.clearFiles(this,this.name,this.value,null,function(){})},QuestionFileModelBase.prototype.onCheckForErrors=function(t,o,n){e.prototype.onCheckForErrors.call(this,t,o,n),this.isUploading&&this.waitForUpload&&t.push(new nO(this.getLocalizationString("uploadingFile"),this))},QuestionFileModelBase.prototype.uploadFiles=function(e){var t=this;this.survey&&(this.errors=[],this.stateChanged("loading"),this.survey.uploadFiles(this,this.name,e,function(e,o){Array.isArray(e)&&(t.setValueFromResult(e),Array.isArray(o)&&(o.forEach(function(e){return t.errors.push(new nO(e,t))}),t.stateChanged("error"))),"success"===e&&Array.isArray(o)&&t.setValueFromResult(o),"error"===e&&("string"==typeof o&&t.errors.push(new nO(o,t)),Array.isArray(o)&&o.length>0&&o.forEach(function(e){return t.errors.push(new nO(e,t))}),t.stateChanged("error")),t.stateChanged("loaded")}))},QuestionFileModelBase.prototype.loadPreview=function(e){},QuestionFileModelBase.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.stateChanged(this.isEmpty()?"empty":"loaded")},QuestionFileModelBase.prototype.getIsQuestionReady=function(){return e.prototype.getIsQuestionReady.call(this)&&!this.isFileLoading},Object.defineProperty(QuestionFileModelBase.prototype,"isFileLoading",{get:function(){return this.isFileLoadingValue},set:function(e){this.isFileLoadingValue=e,this.updateIsReady()},enumerable:!1,configurable:!0}),question_file_decorate([jsonobject_property()],QuestionFileModelBase.prototype,"isUploading",void 0),question_file_decorate([jsonobject_property({defaultValue:"empty"})],QuestionFileModelBase.prototype,"currentState",void 0),QuestionFileModelBase}(nX),sb=function(e){function QuestionFilePage(t,o){var n=e.call(this)||this;return n.question=t,n.index=o,n.id=QuestionFilePage.getId(),n}return sy(QuestionFilePage,e),QuestionFilePage.getId=function(){return"sv_sfp_"+QuestionFilePage.pageCounter++},Object.defineProperty(QuestionFilePage.prototype,"css",{get:function(){return this.question.cssClasse
5s.page},enumerable:!1,configurable:!0}),QuestionFilePage.pageCounter=0,question_file_decorate([propertyArray({})],QuestionFilePage.prototype,"items",void 0),QuestionFilePage}(oW),sx=function(e){function QuestionFileModel(t){var o=e.call(this,t)||this;return o.isDragging=!1,o.fileNavigator=new o0,o.canFlipCameraValue=void 0,o.prevPreviewLength=0,o._renderedPages=[],o.pagesAnimation=new np(o.getPagesAnimationOptions(),function(e){o._renderedPages=e},function(){return o.renderedPages}),o.calcAvailableItemsCount=function(e,t,o){var n=Math.floor(e/(t+o));return(n+1)*(t+o)-o<=e&&n++,n},o.dragCounter=0,o.onDragEnter=function(e){o.canDragDrop()&&(e.preventDefault(),o.isDragging=!0,o.dragCounter++)},o.onDragOver=function(e){if(!o.canDragDrop())return e.returnValue=!1,!1;e.dataTransfer.dropEffect="copy",e.preventDefault()},o.onDrop=function(e){if(o.canDragDrop()){o.isDragging=!1,o.dragCounter=0,e.preventDefault();var t=e.dataTransfer;o.onChange(t)}},o.onDragLeave=function(e){o.canDragDrop()&&(o.dragCounter--,0===o.dragCounter&&(o.isDragging=!1))},o.doChange=function(e){var t=e.target||e.srcElement;o.onChange(t)},o.doClean=function(){if(o.needConfirmRemoveFile){confirmActionAsync({message:o.confirmRemoveAllMessage,funcOnYes:function(){o.clearFilesCore()},locale:o.getLocale(),rootElement:o.survey.rootElement,cssClass:o.cssClasse
vendor: 1,202 bytes, line 5
5s.confirmDialog});return}o.clearFilesCore()},o.doDownloadFileFromContainer=function(e){e.stopPropagation();var t=e.currentTarget;if(t&&t.getElementsByTagName){var o=t.getElementsByTagName("a")[0];null==o||o.click()}},o.doDownloadFile=function(e,t){e.stopPropagation(),detectIEOrEdge()&&(e.preventDefault(),loadFileFromBase64(t.content,t.name))},o.createLocalizableString("takePhotoCaption",o,!1,!0),o.createLocalizableString("clearCaption",o,!1,!0),o.actionsContainer=new o0,o.actionsContainer.locOwner=o,o.fileIndexAction=new ne({id:"fileIndex",title:o.getFileIndexCaption(),enabled:!1}),o.prevFileAction=new ne({id:"prevPage",iconSize:16,action:function(){o.navigationDirection="left",o.indexToShow=o.previewValue.length&&(o.indexToShow-1+o.pagesCount)%o.pagesCount||0,o.fileIndexAction.title=o.getFileIndexCaption()}}),o.nextFileAction=new ne({id:"nextPage",iconSize:16,action:function(){o.navigationDirection="right",o.indexToShow=o.previewValue.length&&(o.indexToShow+1)%o.pagesCount||0,o.fileIndexAction.title=o.getFileIndexCaption()}}),o.takePictureAction=new ne({iconName:"icon-takepicture",id:"sv-file-take-picture",iconSize:"auto",innerCss:new oU(function(){return new oY().append(o.cssClasse
5s.contextButton).append(o.cssClasses.takePictureButton).toString()}),locTitle:o.locTakePhotoCaption,showTitle:!1,action:function(){o.snapPicture()}}),o.closeCameraAction=new ne({iconName:"icon-closecamera",id:"sv-file-close-camera",iconSize:"auto",innerCss:new oU(function(){return new oY().append(o.cssClasses.contextButton).append(o.cssClasses.closeCameraButton).toString()}),action:function(){o.stopVideo()}}),o.changeCameraAction=new ne({iconName:"icon-changecamera",id:"sv-file-change-camera",iconSize:"auto",innerCss:new oU(function(){return new oY().append(o.cssClasses.contextButton).append(o.cssClasses.changeCameraButton).toString()}),visible:new oU(function(){return o.canFlipCamera()}),action:function(){o.flipCamera()}}),o.chooseFileAction=new ne({iconName:"icon-choosefile",id:"sv-file-choose-file",iconSize:"auto",data:{question:o},enabledIf:function(){return!o.isInputReadOnly},component:"sv-file-choose-btn"}),o.startCameraAction=new ne({iconName:"icon-takepicture_24x24",id:"sv-file-start-camera",iconSize:"auto",locTitle:o.locTakePhotoCaption,showTitle:new oU(function(){return!o.isAnswered}),enabledIf:function(){return!o.isInputReadOnly},action:function(){o.startVideo()}}),o.cleanAction=new ne({iconName:"icon-clear",id:"sv-file-clean",iconSize:"auto",locTitle:o.locClearButtonCaption,showTitle:!1,enabledIf:function(){return!o.isInputReadOnly},innerCss:new oU(function(){return o.cssClasses.removeButton}),action:function(){o.doClean()}}),[o.closeCameraAction,o.changeCameraAction,o.takePictureAction].forEach(function(e){e.cssClasses={}}),o.registerFunctionOnPropertiesValueChanged(["sourceType","currentMode","isAnswered"],function(){o.updateActionsVisibility()}),o.actionsContainer.actions=[o.chooseFileAction,o.startCameraAction,o.cleanAction],o.fileNavigator.actions=[o.prevFileAction,o.fileIndexAction,o.nextFileAction],o}return sy(QuestionFileModel,e),Object.defineProperty(QuestionFileModel.prototype,"supportFileNavigator",{get:function(){return this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"fileNavigatorVisible",{get:function(){var e=this.isUploading,t=this.isPlayingVideo,o=this.containsMultiplyFiles,n=this.pageSize<this.previewValue.length;return!e&&!t&&o&&n&&this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"pagesCount",{get:function(){return Math.ceil(this.previewValue.length/this.pageSize)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"actionsContainerVisible",{get:function(){var e=this.isUploading,t=this.isPlayingVideo,o=this.isDefaultV2Theme;return!e&&!t&&o},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"videoId",{get:function(){return this.id+"_video"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"hasVideoUI",{get:function(){return"file"!==this.currentMode},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"hasFileUI",{get:function(){return"camera"!==this.currentMode},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.startVideo=function(){var e=this;"file"===this.currentMode||this.isDesignMode||this.isPlayingVideo||(this.setIsPlayingVideo(!0),setTimeout(function(){e.startVideoInCamera()},0))},Object.defineProperty(QuestionFileModel.prototype,"videoHtmlElement",{get:function(){var e;return null===(e=this.rootElement)||void 0===e?void 0:e.querySelector("#"+this.videoId)},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.startVideoInCamera=function(){var e=this;this.camera.startVideo(this.videoHtmlElement,function(t){e.videoStream=t,t||e.stopVideo()},getRenderedSize(this.imageWidth),getRenderedSize(this.imageHeight))},QuestionFileModel.prototype.stopVideo=function(){this.setIsPlayingVideo(!1),this.closeVideoStream()},QuestionFileModel.prototype.snapPicture=function(){var e=this;this.isPlayingVideo&&(this.camera.snap(this.videoHtmlElement,function(t){if(t){var o=new File([t],"snap_picture.png",{type:"image/png"});e.loadFiles([o])}}),this.stopVideo())},QuestionFileModel.prototype.canFlipCamera=function(){var e=this;return void 0===this.canFlipCameraValue&&(this.canFlipCameraValue=this.camera.canFlip(function(t){e.canFlipCameraValue=t})),this.canFlipCameraValue},QuestionFileModel.prototype.flipCamera=function(){this.canFlipCamera()&&(this.closeVideoStream(),this.camera.flip(),this.startVideoInCamera())}
5,QuestionFileModel.prototype.closeVideoStream=function(){this.videoStream&&(this.videoStream.getTracks().forEach(function(e){e.stop()}),this.videoStream=void 0)},QuestionFileModel.prototype.onHidingContent=function(){e.prototype.onHidingContent.call(this),this.stopVideo()},QuestionFileModel.prototype.updateElementCssCore=function(t){e.prototype.updateElementCssCore.call(this,t),this.prevFileAction.iconName=this.cssClasses.leftIconId,this.nextFileAction.iconName=this.cssClasses.rightIconId,this.updateCurrentMode()},QuestionFileModel.prototype.getFileIndexCaption=function(){return this.getLocalizationFormatString("indexText",this.indexToShow+1,this.pagesCount)},QuestionFileModel.prototype.updateFileNavigator=function(){this.updatePages(),this.navigationDirection=void 0,this.indexToShow=this.previewValue.length&&(this.indexToShow+this.pagesCount)%this.pagesCount||0,this.fileIndexAction.title=this.getFileIndexCaption()},QuestionFileModel.prototype.updateRenderedPages=function(){this.pages&&this.pages[this.indexToShow]&&(this.renderedPages=[this.pages[this.indexToShow]])},QuestionFileModel.prototype.updatePages=function(){var e,t=this;this.blockAnimations(),this.pages=[],this.renderedPages=[],this.previewValue.forEach(function(o,n){n%t.pageSize==0&&(e=new sb(t,t.pages.length),t.pages.push(e)),e.items.push(o)}),this.releaseAnimations(),this.updateRenderedPages()},QuestionFileModel.prototype.previewValueChanged=function(){var e=this;this.navigationDirection=void 0,this.previewValue.length!==this.prevPreviewLength&&(this.previewValue.length>0?this.prevPreviewLength>this.previewValue.length?this.indexToShow>=this.pagesCount&&this.indexToShow>0&&(this.indexToShow=this.pagesCount-1,this.navigationDirection="left-delete"):this.indexToShow=Math.floor(this.prevPreviewLength/this.pageSize):this.indexToShow=0),this.updatePages(),this.fileIndexAction.title=this.getFileIndexCaption(),this.containsMultiplyFiles=this.previewValue.length>1,!(this.previewValue.length>0)||this.calculatedGapBetweenItems||this.calculatedItemWidth||setTimeout(function(){e.processResponsiveness(0,e._width)},1),this.prevPreviewLength=this.previewValue.length},QuestionFileModel.prototype.getType=function(){return"file"},QuestionFileModel.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.isLoadingFromJson||this.loadPreview(t)},Object.defineProperty(QuestionFileModel.prototype,"showPreview",{get:function(){return this.getPropertyValue("showPreview")},set:function(e){this.setPropertyValue("showPreview",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"allowMultiple",{get:function(){return this.getPropertyValue("allowMultiple")},set:function(e){this.setPropertyValue("allowMultiple",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"acceptedTypes",{get:function(){return this.getPropertyValue("acceptedTypes")},set:function(e){this.setPropertyValue("acceptedTypes",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"allowImagesPreview",{get:function(){return this.getPropertyValue("allowImagesPreview")},set:function(e){this.setPropertyValue("allowImagesPreview",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"maxSize",{get:function(){return this.getPropertyValue("maxSize")},set:function(e){this.setPropertyValue("maxSize",e)},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.chooseFile=function(e){var t=this;if(this.rootElement){var o=this.rootElement.querySelector("#"+this.inputId);o&&(e.preventDefault(),e.stopImmediatePropagation(),o&&(this.survey?this.survey.chooseFiles(o,function(e){return t.loadFiles(e)},{element:this,elementType:this.getType(),propertyName:this.name}):o.click()))}},Object.defineProperty(QuestionFileModel.prototype,"needConfirmRemoveFile",{get:function(){return this.getPropertyValue("needConfirmRemoveFile")}
vendor: 4,089 bytes, line 5
5,set:function(e){this.setPropertyValue("needConfirmRemoveFile",e)},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.getConfirmRemoveMessage=function(e){return this.confirmRemoveMessage.format(e)},Object.defineProperty(QuestionFileModel.prototype,"takePhotoCaption",{get:function(){return this.getLocalizableStringText("takePhotoCaption")},set:function(e){this.setLocalizableStringText("takePhotoCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"locTakePhotoCaption",{get:function(){return this.getLocalizableString("takePhotoCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"clearButtonCaption",{get:function(){return this.getLocalizableStringText("clearCaption")},set:function(e){this.setLocalizableStringText("clearCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"locClearButtonCaption",{get:function(){return this.getLocalizableString("clearCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"locRenderedPlaceholder",{get:function(){var e=this;return void 0===this.locRenderedPlaceholderValue&&(this.locRenderedPlaceholderValue=new oU(function(){var t=e.isReadOnly,o=!e.isDesignMode&&e.hasFileUI||e.isDesignMode&&"camera"!=e.sourceType,n=!e.isDesignMode&&e.hasVideoUI||e.isDesignMode&&"file"!=e.sourceType;return t?e.locNoFileChosenCaption:o&&n?e.locFileOrPhotoPlaceholder:o?e.locFilePlaceholder:e.locPhotoPlaceholder})),this.locRenderedPlaceholderValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"currentMode",{get:function(){return this.getPropertyValue("currentMode",this.sourceType)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"isPlayingVideo",{get:function(){return this.getPropertyValue("isPlayingVideo",!1)},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.setIsPlayingVideo=function(e){this.setPropertyValue("isPlayingVideo",e)},QuestionFileModel.prototype.updateCurrentMode=function(){var e=this;!this.isDesignMode&&this.survey&&("file"!==this.sourceType?this.camera.hasCamera(function(t){e.setPropertyValue("currentMode",t&&e.isDefaultV2Theme?e.sourceType:"file")}):this.setPropertyValue("currentMode",this.sourceType))},QuestionFileModel.prototype.updateActionsVisibility=function(){var e=this.isDesignMode;this.chooseFileAction.visible=!e&&this.hasFileUI||e&&"camera"!==this.sourceType,this.startCameraAction.visible=!e&&this.hasVideoUI||e&&"file"!==this.sourceType,this.cleanAction.visible=!!this.isAnswered},Object.defineProperty(QuestionFileModel.prototype,"inputTitle",{get:function(){return this.isUploading?this.loadingFileTitle:this.isEmpty()?this.chooseFileTitle:" "},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"chooseButtonText",{get:function(){return this.isEmpty()||this.allowMultiple?this.chooseButtonCaption:this.replaceButtonCaption},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.clear=function(e){var t=this;this.survey&&(this.containsMultiplyFiles=!1,this.survey.clearFiles(this,this.name,this.value,null,function(o,n){"success"===o&&(t.value=void 0,t.errors=[],e&&e(),t.indexToShow=0,t.fileIndexAction.title=t.getFileIndexCaption())}))},Object.defineProperty(QuestionFileModel.prototype,"renderCapture",{get:function(){return this.allowCameraAccess?"user":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"multipleRendered",{get:function(){return this.allowMultiple?"multiple":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showChooseButton",{get:function(){return!this.isReadOnly&&!this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showFileDecorator",{get:function(){var e=this.isPlayingVideo,t=this.showLoadingIndicator;return!e&&!t},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showDragAreaPlaceholder",{get:function(){return!this.isAnswered}
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"allowShowPreview",{get:function(){var e=this.showLoadingIndicator,t=this.isPlayingVideo;return!e&&!t},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showPreviewContainer",{get:function(){return this.previewValue&&this.previewValue.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showRemoveButtonCore",{get:function(){var e=this.showLoadingIndicator,t=this.isReadOnly,o=this.isEmpty();return!t&&!o&&!e&&!this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showRemoveButton",{get:function(){return this.showRemoveButtonCore&&this.cssClasses.removeButton},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionFileModel.prototype,"showRemoveButtonBottom",{get:function(){var e=new oY().append(this.cssClasses.removeButtonBottom).append(this.cssClasses.contextButton).toString();return this.showRemoveButtonCore&&e},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.defaultImage=function(e){return!this.canPreviewImage(e)&&!!this.cssClasses.defaultImage},QuestionFileModel.prototype.removeFile=function(e){this.removeFileByContent(this.value.filter(function(t){return t.name===e})[0])},QuestionFileModel.prototype.removeFileByContent=function(e){var t=this;this.survey&&this.survey.clearFiles(this,this.name,this.value,e.name,function(o,n){if("success"===o){var r=t.value;Array.isArray(r)?t.value=r.filter(function(t){return!oe.isTwoValueEquals(t,e,!0,!1,!1)}):t.value=void 0}})},QuestionFileModel.prototype.setValueFromResult=function(e){this.value=(this.value||[]).concat(e.map(function(e){return{name:e.file.name,type:e.file.type,content:e.content}}))},QuestionFileModel.prototype.loadFiles=function(e){var t=this;if(this.survey&&(this.errors=[],this.allFilesOk(e))){var loadFilesProc=function(){t.stateChanged("loading");var o=[];t.storeDataAsText?e.forEach(function(n){var r=new FileReader;r.onload=function(i){(o=o.concat([{name:n.name,type:n.type,content:r.result}])).length===e.length&&(t.value=(t.value||[]).concat(o))},r.readAsDataURL(n)}):t.uploadFiles(e)};this.allowMultiple?loadFilesProc():this.clear(loadFilesProc)}},Object.defineProperty(QuestionFileModel.prototype,"camera",{get:function(){return this.cameraValue||(this.cameraValue=new sf),this.cameraValue},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.canPreviewImage=function(e){return this.allowImagesPreview&&!!e&&this.isFileImage(e)},QuestionFileModel.prototype.loadPreview=function(e){var t=this;if((!this.showPreview||this.prevLoadedPreviewValue!==e)&&(this.previewValue.splice(0,this.previewValue.length),this.showPreview&&e)){this.prevLoadedPreviewValue=e;var o=Array.isArray(e)?e:e?[e]:[];this.storeDataAsText?(o.forEach(function(e){var o=e.content||e;t.previewValue.push({name:e.name,type:e.type,content:o})}),this.previewValueChanged()):(this._previewLoader&&this._previewLoader.dispose(),this.isFileLoading=!0,this._previewLoader=new sC(this,function(e,o){"error"!==e&&(o.forEach(function(e){t.previewValue.push(e)}),t.previewValueChanged()),t.isFileLoading=!1,t._previewLoader.dispose(),t._previewLoader=void 0}),this._previewLoader.load(o))}},QuestionFileModel.prototype.allFilesOk=function(e){var t=this,o=this.errors?this.errors.length:0;return(e||[]).forEach(function(e){t.maxSize>0&&e.size>t.maxSize&&t.errors.push(new nV(t.maxSize,t))}),o===this.errors.length},QuestionFileModel.prototype.isFileImage=function(e){if(!e||!e.content||!e.content.substring)return!1;var t="data:image",o=e.content&&e.content.substring(0,t.length);return(o=o&&o.toLowerCase())===t||!!e.type&&0===e.type.toLowerCase().indexOf("image/")},QuestionFileModel.prototype.getPlainData=function(t){void 0===t&&(t={includeEmpty:!0});var o=e.prototype.getPlainData.call(this,t);if(o&&!this.isEmpty()){o.isNode=!1;var n=Array.isArray(this.value)?this.value:[this.value];o.data=n.map(function(e,t){return{name:t,title:"File",value:e.content&&e.content||e,displayValue:e.name&&e.name||e,getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!1}})}return o},QuestionFileModel.prototype.getImageWrapperCss=function(e){return new oY().append(this.cssClasse
vendor: 4,530 bytes, line 5
5s.imageWrapper).append(this.cssClasses.imageWrapperDefaultImage,this.defaultImage(e)).toString()},QuestionFileModel.prototype.getActionsContainerCss=function(e){return new oY().append(e.actionsContainer).append(e.actionsContainerAnswered,this.isAnswered).toString()},QuestionFileModel.prototype.getRemoveButtonCss=function(){return new oY().append(this.cssClasses.removeFileButton).append(this.cssClasses.contextButton).toString()},QuestionFileModel.prototype.getChooseFileCss=function(){var e=this.isAnswered;return new oY().append(this.cssClasses.chooseFile).append(this.cssClasses.controlDisabled,this.isReadOnly).append(this.cssClasses.chooseFileAsText,!e).append(this.cssClasses.chooseFileAsTextDisabled,!e&&this.isInputReadOnly).append(this.cssClasses.contextButton,e).append(this.cssClasses.chooseFileAsIcon,e).toString()},QuestionFileModel.prototype.getReadOnlyFileCss=function(){return new oY().append("form-control").append(this.cssClasses.placeholderInput).toString()},Object.defineProperty(QuestionFileModel.prototype,"fileRootCss",{get:function(){return new oY().append(this.cssClasses.root).append(this.cssClasses.rootDisabled,this.isDisabledStyle).append(this.cssClasses.rootReadOnly,this.isReadOnlyStyle).append(this.cssClasses.rootPreview,this.isPreviewStyle).append(this.cssClasses.rootDragging,this.isDragging).append(this.cssClasses.rootAnswered,this.isAnswered).append(this.cssClasses.single,!this.allowMultiple).append(this.cssClasses.singleImage,!this.allowMultiple&&this.isAnswered&&this.canPreviewImage(this.value[0])).append(this.cssClasses.mobile,this.isMobile).toString()},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.getFileDecoratorCss=function(){return new oY().append(this.cssClasses.fileDecorator).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.fileDecoratorDrag,this.isDragging).toString()},QuestionFileModel.prototype.onChange=function(e){if(t6.isFileReaderAvailable()&&e&&e.files&&!(e.files.length<1)){for(var t=[],o=this.allowMultiple?e.files.length:1,n=0;n<o;n++)t.push(e.files[n]);e.value="",this.loadFiles(t)}},QuestionFileModel.prototype.calcCssClasses=function(t){var o=e.prototype.calcCssClasses.call(this,t);return this.actionsContainer.cssClasses=t.actionBar,this.actionsContainer.cssClasses.itemWithTitle=this.actionsContainer.cssClasses.item,this.actionsContainer.cssClasses.item="",this.actionsContainer.cssClasses.itemAsIcon=o.contextButton,this.actionsContainer.containerCss=o.actionsContainer,o},QuestionFileModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.updateCurrentMode(),this.updateActionsVisibility(),this.loadPreview(this.value)},QuestionFileModel.prototype.needResponsiveness=function(){return this.supportResponsiveness()&&this.isDefaultV2Theme},QuestionFileModel.prototype.supportResponsiveness=function(){return!0},QuestionFileModel.prototype.getObservedElementSelector=function(){return classesToSelector(this.cssClasses.dragArea)},QuestionFileModel.prototype.getFileListSelector=function(){return classesToSelector(this.cssClasses.fileList)},Object.defineProperty(QuestionFileModel.prototype,"renderedPages",{get:function(){return this._renderedPages},set:function(e){this.pagesAnimation.sync(e)},enumerable:!1,configurable:!0}),QuestionFileModel.prototype.getPagesAnimationOptions=function(){var e=this;return{getEnterOptions:function(t){var o=e.cssClasses.page;return{cssClass:o?new oY().append(o+"--enter-from-left","left"==e.navigationDirection||"left-delete"==e.navigationDirection).append(o+"--enter-from-right","right"==e.navigationDirection).toString():""}},getLeaveOptions:function(t){var o=e.cssClasses.page;return{cssClass:o?new oY().append(o+"--leave-to-left","right"==e.navigationDirection).append(o+"--leave-to-right","left"==e.navigationDirection).toString():""}},getAnimatedElement:function(t){var o;return null===(o=e.rootElement)||void 0===o?void 0:o.querySelector("#"+t.id)},isAnimationEnabled:function(){return e.animationAllowed&&!!e.rootElement},getRerenderEvent:function(){return e.onElementRerendered}}},QuestionFileModel.prototype.triggerResponsiveness=function(t){t&&(this.calculatedGapBetweenItems=void 0,this.calculatedItemWidth=void 0),e.prototype.triggerResponsiveness.call(this)},QuestionFileModel.prototype.processResponsiveness=function(e,t){if(this._width=t,this.rootElement&&(!this.calculatedGapBetweenItems||!this.calculatedItemWidth)&&this.allowMultiple){var o=this.getFileListSelector()?this.rootElement.querySelector(this.getFileListSelector()):void 0;
5if(o){var n=o.querySelector(classesToSelector(this.cssClasses.page));if(n){var r=n.querySelector(classesToSelector(this.cssClasses.previewItem));this.calculatedGapBetweenItems=Math.ceil(Number.parseFloat(t8.getComputedStyle(n).gap)),r&&(this.calculatedItemWidth=Math.ceil(Number.parseFloat(t8.getComputedStyle(r).width)))}}}return!!this.calculatedGapBetweenItems&&!!this.calculatedItemWidth&&(this.pageSize=Math.max(this.calcAvailableItemsCount(t,this.calculatedItemWidth,this.calculatedGapBetweenItems),1),!0)},QuestionFileModel.prototype.canDragDrop=function(){return!this.isInputReadOnly&&"camera"!==this.currentMode&&!this.isPlayingVideo},QuestionFileModel.prototype.afterRenderQuestionElement=function(t){e.prototype.afterRenderQuestionElement.call(this,t),this.rootElement=t},QuestionFileModel.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.stopVideo(),this.rootElement=void 0},QuestionFileModel.prototype.clearFilesCore=function(){if(this.rootElement){var e=this.rootElement.querySelectorAll("input")[0];e&&(e.value="")}this.clear()},QuestionFileModel.prototype.doRemoveFile=function(e,t){var o=this;if(t.stopPropagation(),this.needConfirmRemoveFile){confirmActionAsync({message:this.getConfirmRemoveMessage(e.name),funcOnYes:function(){o.removeFileCore(e)},locale:this.getLocale(),rootElement:this.survey.rootElement,cssClass:this.cssClasses.confirmDialog});return}this.removeFileCore(e)},QuestionFileModel.prototype.removeFileCore=function(e){var t=this.previewValue.indexOf(e);this.removeFileByContent(-1===t?e:this.value[t])},QuestionFileModel.prototype.dispose=function(){this.cameraValue=void 0,this.closeVideoStream(),e.prototype.dispose.call(this)},question_file_decorate([jsonobject_property()],QuestionFileModel.prototype,"isDragging",void 0),question_file_decorate([propertyArray({})],QuestionFileModel.prototype,"previewValue",void 0),question_file_decorate([propertyArray({})],QuestionFileModel.prototype,"pages",void 0),question_file_decorate([jsonobject_property({defaultValue:0,onSet:function(e,t){t.updateRenderedPages()}})],QuestionFileModel.prototype,"indexToShow",void 0),question_file_decorate([jsonobject_property({defaultValue:1,onSet:function(e,t){t.updateFileNavigator()}})],QuestionFileModel.prototype,"pageSize",void 0),question_file_decorate([jsonobject_property({defaultValue:!1})],QuestionFileModel.prototype,"containsMultiplyFiles",void 0),question_file_decorate([jsonobject_property()],QuestionFileModel.prototype,"allowCameraAccess",void 0),question_file_decorate([jsonobject_property({onSet:function(e,t){t.isLoadingFromJson||t.updateCurrentMode()}})],QuestionFileModel.prototype,"sourceType",void 0),question_file_decorate([jsonobject_property()],QuestionFileModel.prototype,"canFlipCameraValue",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"confirmRemoveFile"}})],QuestionFileModel.prototype,"confirmRemoveMessage",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"confirmRemoveAllFiles"}})],QuestionFileModel.prototype,"confirmRemoveAllMessage",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"noFileChosen"}})],QuestionFileModel.prototype,"noFileChosenCaption",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"chooseFileCaption"}})],QuestionFileModel.prototype,"chooseButtonCaption",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"replaceFileCaption"}})],QuestionFileModel.prototype,"replaceButtonCaption",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"removeFileCaption"}})],QuestionFileModel.prototype,"removeFileCaption",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"loadingFile"}})],QuestionFileModel.prototype,"loadingFileTitle",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"chooseFile"}})],QuestionFileModel.prototype,"chooseFileTitle",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"fileOrPhotoPlaceholder"}})],QuestionFileModel.prototype,"fileOrPhotoPlaceholder",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"photoPlaceholder"}})],QuestionFileModel.prototype,"photoPlaceholder",void 0),question_file_decorate([jsonobject_property({localizable:{defaultStr:"filePlaceholder"}})],QuestionFileModel.prototype,"filePlaceholder",void 0),question_file_decorate([jsonobject_property()],QuestionFileModel.prototype,"locRenderedPlaceholderValue",void 0),question_file_decorate([propertyArray()],QuestionFileModel.prototype,"_renderedPages",void 0),QuestionFileModel}(sv);ov.addClass("file",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"showPreview:boolean",default:!0,visible:!1},"allowMultiple:boolean",{name:"allowImagesPreview:boolean",default:!0,dependsOn:"showPreview",visibleIf:function(e){return!!e.showPreview}},"imageHeight","imageWidth","acceptedTypes",{name:"storeDataAsText:boolean",default:!0},{name:"waitForUpload:boolean",default:!1},{name:"maxSize:number",default:0},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"validators",visible:!1},{name:"needConfirmRemoveFile:boolean"},{name:"sourceType",choices:["file","camera","file-camera"],default:"file",category:"general",visible:!0,visibleIf:function(){return nC.supportCreatorV2}},{name:"fileOrPhotoPlaceholder:text",serializationProperty:"locFileOrPhotoPlaceholder",category:"general",visibleIf:function(){return nC.supportCreatorV2}},{name:"photoPlaceholder:text",serializationProperty:"locPhotoPlaceholder",category:"general",visibleIf:function(){return nC.supportCreatorV2}},{name:"filePlaceholder:text",serializationProperty:"locFilePlaceholder",category:"general",visibleIf:function(){return nC.supportCreatorV2}},{name:"allowCameraAccess:switch",category:"general",visible:!1}],function(){return new sx("")},"question"),rh.Instance.registerQuestion("file",function(e){return new sx(e)});var sC=function(){function FileLoader(e,t){this.fileQuestion=e,this.callback=t,this.loaded=[]}return FileLoader.prototype.load=function(e){var t=this,o=0;this.loaded=Array(e.length),e.forEach(function(n,r){t.fileQuestion.survey&&t.fileQuestion.survey.downloadFile(t.fileQuestion,t.fileQuestion.name,n,function(i,s){t.f
5ileQuestion&&t.callback&&("error"!==i?(t.loaded[r]={content:s,name:n.name,type:n.type},++o===e.length&&t.callback(i,t.loaded)):t.callback("error",t.loaded))})})},FileLoader.prototype.dispose=function(){this.fileQuestion=void 0,this.callback=void 0},FileLoader}(),sw=(ep=function(e,t){return(ep=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ep(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),sP=function(e){function QuestionHtmlModel(t){var o=e.call(this,t)||this;return o.createLocalizableString("html",o).onGetTextCallback=function(e){return o.survey&&!o.ignoreHtmlProgressing?o.processHtml(e):e},o}return sw(QuestionHtmlModel,e),QuestionHtmlModel.prototype.getType=function(){return"html"},Object.defineProperty(QuestionHtmlModel.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionHtmlModel.prototype.getProcessedText=function(t){return this.ignoreHtmlProgressing?t:e.prototype.getProcessedText.call(this,t)},Object.defineProperty(QuestionHtmlModel.prototype,"html",{get:function(){return this.getLocalizableStringText("html","")},set:function(e){this.setLocalizableStringText("html",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionHtmlModel.prototype,"locHtml",{get:function(){return this.getLocalizableString("html")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionHtmlModel.prototype,"processedHtml",{get:function(){return this.processHtml(this.html)},enumerable:!1,configurable:!0}),QuestionHtmlModel.prototype.processHtml=function(e){return this.survey?this.survey.processHtml(e,"html-question"):this.html},Object.defineProperty(QuestionHtmlModel.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionHtmlModel.prototype,"renderCssRoot",{get:function(){return new oY().append(this.cssClasses.root).append(this.cssClasses.nested,this.getIsNested()).toString()||void 0},enumerable:!1,configurable:!0}),QuestionHtmlModel}(i5);ov.addClass("html",[{name:"html:html",serializationProperty:"locHtml"},{name:"hideNumber",visible:!1},{name:"state",visible:!1},{name:"titleLocation",visible:!1},{name:"descriptionLocation",visible:!1},{name:"errorLocation",visible:!1},{name:"indent",visible:!1},{name:"width",visible:!1}],function(){return new sP("")},"nonvalue"),rh.Instance.registerQuestion("html",function(e){return new sP(e)});var s_=(ed=function(e,t){return(ed=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ed(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),sS=function(e){function QuestionRadiogroupModel(t){return e.call(this,t)||this}return s_(QuestionRadiogroupModel,e),QuestionRadiogroupModel.prototype.getDefaultItemComponent=function(){return"survey-radiogroup-item"},QuestionRadiogroupModel.prototype.getType=function(){return"radiogroup"},QuestionRadiogroupModel.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},Object.defineProperty(QuestionRadiogroupModel.prototype,"selectedItem",{get:function(){return this.getSingleSelectedItem()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRadiogroupModel.prototype,"showClearButton",{get:function(){return this.getPropertyValue("showClearButton")},set:function(e){this.setPropertyValue("showClearButton",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRadiogroupModel.prototype,"canShowClearButton",{get:function(){return this.showClearButton&&!this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRadiogroupModel.prototype,"clearButtonCaption",{get:function(){return this.getLocalizationString("clearCaption")}
5,enumerable:!1,configurable:!0}),QuestionRadiogroupModel.prototype.supportGoNextPageAutomatic=function(){return!0===this.isMouseDown&&!this.isOtherSelected},QuestionRadiogroupModel.prototype.getConditionJson=function(t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=e.prototype.getConditionJson.call(this,t,o);return delete n.showClearButton,n},QuestionRadiogroupModel.prototype.setNewComment=function(t){this.isMouseDown=!0,e.prototype.setNewComment.call(this,t),this.isMouseDown=!1},Object.defineProperty(QuestionRadiogroupModel.prototype,"showClearButtonInContent",{get:function(){return!this.isDefaultV2Theme&&this.canShowClearButton},enumerable:!1,configurable:!0}),QuestionRadiogroupModel.prototype.clickItemHandler=function(e){this.isReadOnlyAttr||(this.renderedValue=e.value,this.onItemSelected(e))},QuestionRadiogroupModel.prototype.getDefaultTitleActions=function(){var e=this,t=[];if(this.isDefaultV2Theme&&!this.isDesignMode){var o=new ne({locTitleName:"clearCaption",id:"sv-clr-btn-"+this.id,action:function(){e.clearValue(!0)},innerCss:this.cssClasses.clearButton,visible:new oU(function(){return e.canShowClearButton})});t.push(o)}return t},Object.defineProperty(QuestionRadiogroupModel.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRadiogroupModel.prototype,"a11y_input_ariaRole",{get:function(){return"radiogroup"},enumerable:!1,configurable:!0}),QuestionRadiogroupModel}(iC);ov.addClass("radiogroup",[{name:"showClearButton:boolean",default:!1},{name:"separateSpecialChoices",visible:!0},{name:"itemComponent",visible:!1,default:"survey-radiogroup-item"}],function(){return new sS("")},"checkboxbase"),rh.Instance.registerQuestion("radiogroup",function(e){var t=new sS(e);return t.choices=rh.DefaultChoices,t});var sM=(eh=function(e,t){return(eh=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eh(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_rating_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s};function getColorFromProperty(e){if("function"==typeof getComputedStyle){var t=getComputedStyle(t8.getDocumentElement());return t.getPropertyValue&&t.getPropertyValue(e)}return""}function getRGBColor(e,t,o){var n=!!e&&e[t];if(n||(n=getColorFromProperty(o)),!n)return null;var r=t8.createElement("canvas");if(!r)return null;var i=r.getContext("2d");i.fillStyle=n,"#000000"==i.fillStyle&&(i.fillStyle=getColorFromProperty(o));var s=i.fillStyle;if(s.startsWith("rgba"))return s.substring(5,s.length-1).split(",").map(function(e){return+e.trim()});var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(s);return a?[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),1]:null}var sE=function(e){function RenderedRatingItem(t,o){void 0===o&&(o=null);var n=e.call(this)||this;return n.itemValue=t,n.locString=o,n.locText.onStringChanged.add(n.onStringChangedCallback.bind(n)),n.onStringChangedCallback(),n}return sM(RenderedRatingItem,e),RenderedRatingItem.prototype.onStringChangedCallback=function(){this.text=this.itemValue.text},Object.defineProperty(RenderedRatingItem.prototype,"value",{get:function(){return this.itemValue.getPropertyValue("value")},enumerable:!1,configurable:!0}),Object.defineProperty(RenderedRatingItem.prototype,"locText",{get:function(){return this.locString||this.itemValue.locText},enumerable:!1,configurable:!0}),question_rating_decorate([jsonobject_property({defaultValue:""})],RenderedRatingItem.prototype,"highlight",void 0),question_rating_decorate([jsonobject_property({defaultValue:""})],RenderedRatingItem.prototype,"text",void 0),question_rating_decorate([jsonobject_property()],RenderedRatingItem.prototype,"style",void 0),RenderedRatingItem}(oW),sT=function(e){function RatingItemValue(t,o,n){var r=e.call(this,t,o)||this;return r.description=n,r}return sM(RatingItemValue,e),RatingItemValue}(n0),sV=function(e){function QuestionRatingModel(t){var o=e.call(this,t)||this;return o._syncPropertiesChanging=!1,o.iCounter=0,o.createItemValues("rateValues"),o.createLocalizableString("ratingOptionsCaption",o,!1,!0),o.registerFunctionOnPropertiesValueChanged(["rateMin","rateMax","minRateDescription","maxRateDescription","rateStep","displayRateDescriptionsAsExtremeItems"],function(){return o.resetRenderedItems()}),o.registerFunctionOnPropertiesValueChanged(["rateType"],function(){o.setIconsToRateV
5alues(),o.resetRenderedItems(),o.updateRateCount()}),o.registerFunctionOnPropertiesValueChanged(["rateValues"],function(){o.setIconsToRateValues(),o.resetRenderedItems()}),o.registerSychProperties(["rateValues"],function(){o.autoGenerate=0==o.rateValues.length,o.setIconsToRateValues(),o.resetRenderedItems()}),o.registerFunctionOnPropertiesValueChanged(["rateColorMode","scaleColorMode"],function(){o.updateColors(o.survey.themeVariables)}),o.registerFunctionOnPropertiesValueChanged(["displayMode"],function(){o.updateRenderAsBasedOnDisplayMode(!0)}),o.registerSychProperties(["autoGenerate"],function(){o.autoGenerate||0!==o.rateValues.length||o.setPropertyValue("rateValues",o.visibleRateValues),o.autoGenerate&&(o.rateValues.splice(0,o.rateValues.length),o.updateRateMax()),o.resetRenderedItems()}),o.createLocalizableString("minRateDescription",o,!0).onStringChanged.add(function(e,t){o.hasMinRateDescription=!e.isEmpty}),o.createLocalizableString("maxRateDescription",o,!0).onStringChanged.add(function(e,t){o.hasMaxRateDescription=!e.isEmpty}),o.createLocalizableString("readOnlyText",o,!0),o.registerPropertyChangedHandlers(["value","renderAs","placeholder","choices","visibleChoices"],function(){o.updateReadOnlyText()}),o.updateReadOnlyText(),o.initPropertyDependencies(),o}return sM(QuestionRatingModel,e),QuestionRatingModel.prototype.setIconsToRateValues=function(){var e=this;"smileys"==this.rateType&&this.rateValues.map(function(t){return t.icon=e.getItemSmiley(t)})},QuestionRatingModel.prototype.locStrsChanged=function(){var t;e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),null===(t=this.dropdownListModelValue)||void 0===t||t.locStrsChanged()},QuestionRatingModel.prototype.updateReadOnlyText=function(){this.readOnlyText=this.displayValue||this.placeholder},QuestionRatingModel.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),void 0!==this.jsonObj.rateMin&&void 0!==this.jsonObj.rateCount&&void 0===this.jsonObj.rateMax&&this.updateRateMax(),void 0!==this.jsonObj.rateMax&&void 0!==this.jsonObj.rateCount&&void 0===this.jsonObj.rateMin&&this.updateRateMin(),void 0===this.jsonObj.autoGenerate&&void 0!==this.jsonObj.rateValues&&(this.autoGenerate=!this.jsonObj.rateValues.length),this.updateRateCount(),this.setIconsToRateValues()},QuestionRatingModel.prototype.registerSychProperties=function(e,t){var o=this;this.registerFunctionOnPropertiesValueChanged(e,function(){o._syncPropertiesChanging||(o._syncPropertiesChanging=!0,t(),o._syncPropertiesChanging=!1)})},QuestionRatingModel.prototype.useRateValues=function(){return!!this.rateValues.length&&!this.autoGenerate},QuestionRatingModel.prototype.updateRateMax=function(){this.rateMax=this.rateMin+this.rateStep*(this.rateCount-1)},QuestionRatingModel.prototype.updateRateMin=function(){this.rateMin=this.rateMax-this.rateStep*(this.rateCount-1)},QuestionRatingModel.prototype.updateRateCount=function(){var e=0;(e=this.useRateValues()?this.rateValues.length:Math.trunc((this.rateMax-this.rateMin)/(this.rateStep||1))+1)>10&&"smileys"==this.rateDisplayMode&&(e=10),this.rateCount=e,this.rateValues.length>e&&this.rateValues.splice(e,this.rateValues.length-e)},QuestionRatingModel.prototype.initPropertyDependencies=function(){var e=this;this.registerSychProperties(["rateCount"],function(){if(e.useRateValues()){if(e.rateCount<e.rateValues.length)e.rateCount>=10&&"smileys"==e.rateDisplayMode||e.rateValues.splice(e.rateCount,e.rateValues.length-e.rateCount);else for(var t=e.rateValues.length;t<e.rateCount;t++)e.rateValues.push(new n0(getLocaleString("choices_Item")+(t+1)))}else e.rateMax=e.rateMin+e.rateStep*(e.rateCount-1)}),this.registerSychProperties(["rateMin","rateMax","rateStep","rateValues"],function(){e.updateRateCount()})},Object.defineProperty(QuestionRatingModel.prototype,"showSelectedItemLocText",{get:function(){return!this.readOnly&&!this.inputHasValue&&!!this.selectedItemLocText},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"selectedItemLocText",{get:function(){var e,t=this;return!this.readOnly&&(null===(e=this.visibleRateValues.filter(function(e){return e.value==t.value})[0])||void 0===e?void 0:e.locText)}
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"rateValues",{get:function(){return this.getPropertyValue("rateValues")},set:function(e){this.setPropertyValue("rateValues",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"rateMin",{get:function(){return this.getPropertyValue("rateMin")},set:function(e){this.setPropertyValue("rateMin",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"rateMax",{get:function(){return this.getPropertyValue("rateMax")},set:function(e){this.setPropertyValue("rateMax",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"rateStep",{get:function(){return this.getPropertyValue("rateStep")},set:function(e){this.setPropertyValue("rateStep",e)},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.updateColors=function(e){"monochrome"!==this.colorMode&&t8.isAvailable()&&(QuestionRatingModel.colorsCalculated||(QuestionRatingModel.badColor=getRGBColor(e,"--sjs-special-red","--sd-rating-bad-color"),QuestionRatingModel.normalColor=getRGBColor(e,"--sjs-special-yellow","--sd-rating-normal-color"),QuestionRatingModel.goodColor=getRGBColor(e,"--sjs-special-green","--sd-rating-good-color"),QuestionRatingModel.badColorLight=getRGBColor(e,"--sjs-special-red-light","--sd-rating-bad-color-light"),QuestionRatingModel.normalColorLight=getRGBColor(e,"--sjs-special-yellow-light","--sd-rating-normal-color-light"),QuestionRatingModel.goodColorLight=getRGBColor(e,"--sjs-special-green-light","--sd-rating-good-color-light"),this.colorsCalculated=!0,this.resetRenderedItems()))},QuestionRatingModel.prototype.getDisplayValueCore=function(t,o){return this.useRateValues?n0.getTextOrHtmlByValue(this.visibleRateValues,o)||o:e.prototype.getDisplayValueCore.call(this,t,o)},Object.defineProperty(QuestionRatingModel.prototype,"visibleRateValues",{get:function(){return this.renderedRateItems.map(function(e){return e.itemValue})},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.supportEmptyValidation=function(){return"dropdown"===this.renderAs},QuestionRatingModel.prototype.itemValuePropertyChanged=function(t,o,n,r){this.useRateValues()||void 0===r||(this.autoGenerate=!1),e.prototype.itemValuePropertyChanged.call(this,t,o,n,r)},QuestionRatingModel.prototype.runConditionCore=function(t,o){e.prototype.runConditionCore.call(this,t,o),this.runRateItesmCondition(t,o)},QuestionRatingModel.prototype.runRateItesmCondition=function(e,t){if(this.useRateValues()){var o,n=!1;if((null===(o=this.survey)||void 0===o?void 0:o.areInvisibleElementsShowing)?this.rateValues.forEach(function(e){n=n||!e.isVisible,e.setIsVisible(e,!0)}):n=n0.runConditionsForItems(this.rateValues,void 0,void 0,e,t,!0),n&&(this.resetRenderedItems(),!this.isEmpty()&&!this.isReadOnly)){var r=n0.getItemByValue(this.rateValues,this.value);r&&!r.isVisible&&this.clearValue()}}},QuestionRatingModel.prototype.getRateValuesCore=function(){if(!this.useRateValues())return this.createRateValues();var e=[];return this.rateValues.forEach(function(t){t.isVisible&&e.push(t)}),e},QuestionRatingModel.prototype.calculateRateValues=function(){var e=this.getRateValuesCore();return"smileys"==this.rateType&&e.length>10&&(e=e.slice(0,10)),e},QuestionRatingModel.prototype.calculateRenderedRateItems=function(){var e=this,t=this.calculateRateValues();return t.map(function(o,n){var r=null;return e.displayRateDescriptionsAsExtremeItems&&(0==n&&(r=new sE(o,e.minRateDescription&&e.locMinRateDescription||o.locText)),n==t.length-1&&(r=new sE(o,e.maxRateDescription&&e.locMaxRateDescription||o.locText))),r||(r=new sE(o)),r})},QuestionRatingModel.prototype.calculateVisibleChoices=function(){var e=this;return this.calculateRateValues().map(function(t,o){return e.getRatingItemValue(t,o)})},QuestionRatingModel.prototype.resetRenderedItems=function(){if(this.autoGenerate){var e=this.getRateValuesCore();this.rateMax=e[e.length-1].value}Array.isArray(this.getPropertyValueWithoutDefault("renderedRateItems"))&&this.setArrayPropertyDirectly("renderedRateItems",this.calculateRenderedRateItems()),Array.isArray(this.getPropertyValueWithoutDefault("visibleChoices"))&&this.setArrayPropertyDirectly("visibleChoices",this.calculateVisibleChoices)},Object.defineProperty(QuestionRatingModel.prototype,"renderedRateItems",{get:function(){var e=this;return this.getPropertyValue("renderedRateItems",void 0,function(){return e.calculateRenderedRateItems()})}
vendor: 4,482 bytes, line 5
5,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"visibleChoices",{get:function(){var e=this;return this.getPropertyValue("visibleChoices",void 0,function(){return e.calculateVisibleChoices()})},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.createRateValues=function(){for(var e=[],t=this.rateMin,o=this.rateStep;t<=this.rateMax&&e.length<nC.ratingMaximumRateValueCount;){var n=new n0(t);n.locOwner=this,n.ownerPropertyName="rateValues",e.push(n),t=this.correctValue(t+o,o)}return e},QuestionRatingModel.prototype.getRatingItemValue=function(e,t){if(!e)return null;var o,n=e.value;0===t&&(o=this.minRateDescription&&this.locMinRateDescription),t===this.rateCount-1&&(o=this.maxRateDescription&&this.locMaxRateDescription);var r=new sT(n,e.text,o);return r.locOwner=e.locOwner,r.ownerPropertyName=e.ownerPropertyName,r},QuestionRatingModel.prototype.correctValue=function(e,t){if(!e||Math.round(e)==e)return e;for(var o=0;Math.round(t)!=t;)t*=10,o++;return parseFloat(e.toFixed(o))},QuestionRatingModel.prototype.getType=function(){return"rating"},QuestionRatingModel.prototype.getFirstInputElementId=function(){return this.inputId+"_0"},QuestionRatingModel.prototype.getInputId=function(e){return this.inputId+"_"+e},Object.defineProperty(QuestionRatingModel.prototype,"questionName",{get:function(){return this.name+"_"+this.id},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.supportGoNextPageAutomatic=function(){return!0===this.isMouseDown||"dropdown"===this.renderAs},QuestionRatingModel.prototype.supportOther=function(){return!1},QuestionRatingModel.prototype.getPlainDataCalculatedValue=function(t){var o=e.prototype.getPlainDataCalculatedValue.call(this,t);if(void 0!==o||!this.useRateValues||this.isEmpty())return o;var n=n0.getItemByValue(this.visibleRateValues,this.value);return n?n[t]:void 0},Object.defineProperty(QuestionRatingModel.prototype,"minRateDescription",{get:function(){return this.getLocalizableStringText("minRateDescription")},set:function(e){this.setLocalizableStringText("minRateDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"locMinRateDescription",{get:function(){return this.getLocalizableString("minRateDescription")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"maxRateDescription",{get:function(){return this.getLocalizableStringText("maxRateDescription")},set:function(e){this.setLocalizableStringText("maxRateDescription",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"locMaxRateDescription",{get:function(){return this.getLocalizableString("maxRateDescription")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"hasMinLabel",{get:function(){return!this.displayRateDescriptionsAsExtremeItems&&!!this.hasMinRateDescription},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"hasMaxLabel",{get:function(){return!this.displayRateDescriptionsAsExtremeItems&&!!this.hasMaxRateDescription},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.updateRenderAsBasedOnDisplayMode=function(e){this.isDesignMode?(e||"dropdown"===this.renderAs)&&(this.renderAs="default"):(e||"auto"!==this.displayMode)&&(this.renderAs="dropdown"===this.displayMode?"dropdown":"default")},QuestionRatingModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),"dropdown"===this.renderAs&&"auto"===this.displayMode?this.displayMode=this.renderAs:this.updateRenderAsBasedOnDisplayMode()},Object.defineProperty(QuestionRatingModel.prototype,"rateDisplayMode",{get:function(){return this.rateType},set:function(e){this.rateType=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"isStar",{get:function(){return"stars"==this.rateType},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"isSmiley",{get:function(){return"smileys"==this.rateType},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.getDefaultItemComponent=function(){return"dropdown"==this.renderAs?"sv-rating-dropdown-item":this.isStar?"sv-rating-item-star":this.isSmiley?"sv-rating-item-smiley":"sv-rating-item"},Object.defineProperty(QuestionRatingModel.prototype,"itemComponent",{get:function(){return this.getPropertyValue("itemComponent",this.getDefaultItemComponent())},set:function(e){this.setPropertyValue("itemComponent",e)}
5,enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.valueToData=function(e){if(this.useRateValues()){var t=n0.getItemByValue(this.rateValues,e);return t?t.value:e}return isNaN(e)?e:parseFloat(e)},QuestionRatingModel.prototype.setValueFromClick=function(e){if(!this.isReadOnlyAttr){this.value===("string"==typeof this.value?e:parseFloat(e))?this.clearValue(!0):this.value=e;for(var t=0;t<this.renderedRateItems.length;t++)this.renderedRateItems[t].highlight="none"}},QuestionRatingModel.prototype.onItemMouseIn=function(e){if(!rq&&!this.isReadOnly&&e.itemValue.isEnabled&&!this.isDesignMode){var t=!0,o=null!=this.value;if("stars"!==this.rateType){e.highlight="highlighted";return}for(var n=0;n<this.renderedRateItems.length;n++)this.renderedRateItems[n].highlight=t&&!o&&"highlighted"||!t&&o&&"unhighlighted"||"none",this.renderedRateItems[n]==e&&(t=!1),this.renderedRateItems[n].itemValue.value==this.value&&(o=!1)}},QuestionRatingModel.prototype.onItemMouseOut=function(e){rq||this.renderedRateItems.forEach(function(e){return e.highlight="none"})},Object.defineProperty(QuestionRatingModel.prototype,"itemSmallMode",{get:function(){return this.inMatrixMode&&"small"==nC.matrix.rateSize},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"ratingRootCss",{get:function(){var e=this.hasMaxLabel||this.hasMinLabel;return new oY().append(this.cssClasses.root).append(this.cssClasses.rootWrappable,"buttons"==this.displayMode||!!this.survey&&this.survey.isDesignMode||"auto"==this.displayMode&&!this.supportResponsiveness()).append(this.cssClasses.rootLabelsTop,e&&"top"==this.rateDescriptionLocation).append(this.cssClasses.rootLabelsBottom,e&&"bottom"==this.rateDescriptionLocation).append(this.cssClasses.rootLabelsDiagonal,e&&"topBottom"==this.rateDescriptionLocation).append(this.cssClasses.itemSmall,this.itemSmallMode&&"labels"!=this.rateType).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"itemStarIcon",{get:function(){return this.itemSmallMode?"icon-rating-star-small":"icon-rating-star"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"itemStarIconAlt",{get:function(){return this.itemStarIcon+"-2"},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.getItemSmiley=function(e){var t=["very-good","not-good","normal","good","average","excellent","poor","perfect","very-poor","terrible"].slice(0,this.useRateValues()?this.rateValues.length:this.rateMax-this.rateMin+1),o=["terrible","very-poor","poor","not-good","average","normal","good","very-good","excellent","perfect"].filter(function(e){return -1!=t.indexOf(e)});return this.useRateValues()?o[this.rateValues.indexOf(e)]:o[e.value-this.rateMin]},QuestionRatingModel.prototype.getItemSmileyIconName=function(e){return"icon-"+this.getItemSmiley(e)},QuestionRatingModel.prototype.getItemClassByText=function(e,t){return this.getItemClass(e)},QuestionRatingModel.prototype.getRenderedItemColor=function(e,t){var o=t?QuestionRatingModel.badColorLight:QuestionRatingModel.badColor,n=t?QuestionRatingModel.goodColorLight:QuestionRatingModel.goodColor,r=(this.rateCount-1)/2,i=t?QuestionRatingModel.normalColorLight:QuestionRatingModel.normalColor;if(e<r?n=i:(o=i,e-=r),!o||!n)return null;for(var s=[0,0,0,0],a=0;a<4;a++)s[a]=o[a]+(n[a]-o[a])*e/r,a<3&&(s[a]=Math.trunc(s[a]));return"rgba("+s[0]+", "+s[1]+", "+s[2]+", "+s[3]+")"},QuestionRatingModel.prototype.getItemStyle=function(e,t){if(void 0===t&&(t="none"),"monochrome"===this.scaleColorMode&&"default"==this.rateColorMode||this.isPreviewStyle||this.isReadOnlyStyle)return{};var o=this.visibleRateValues.indexOf(e),n=this.getRenderedItemColor(o,!1),r="highlighted"==t&&"colored"===this.scaleColorMode&&this.getRenderedItemColor(o,!0);return r?{"--sd-rating-item-color":n,"--sd-rating-item-color-light":r}:{"--sd-rating-item-color":n}},QuestionRatingModel.prototype.getItemClass=function(e,t){var o=this;void 0===t&&(t="none");var n=this.value==e.value;this.isStar&&(n=this.useRateValues()?this.rateValues.indexOf(this.rateValues.filter(function(e){return e.value==o.value})[0])>=this.rateValues.indexOf(e):this.value>=e.value);var r=!(this.isReadOnly||!e.isEnabled)&&this.value!=e.value&&!(this.survey&&this.survey.isDesignMode),i=this.renderedRateItems.filter(function(t){return t.itemValue==e})[0],s=this.isStar&&(null==i?void 0:i.highlight)=="highlighted",a=this.isStar&&(null==i?void 0:i.highlight)=="unhighlighted",l=this.cssClasse
vendor: 9,462 bytes, line 5
5s.item,u=this.cssClasses.selected,c=this.cssClasses.itemDisabled,p=this.cssClasses.itemReadOnly,d=this.cssClasses.itemPreview,h=this.cssClasses.itemHover,m=this.cssClasses.itemOnError,g=null,f=null,y=null,v=null,b=null;this.isStar&&(l=this.cssClasses.itemStar,u=this.cssClasses.itemStarSelected,c=this.cssClasses.itemStarDisabled,p=this.cssClasses.itemStarReadOnly,d=this.cssClasses.itemStarPreview,h=this.cssClasses.itemStarHover,m=this.cssClasses.itemStarOnError,g=this.cssClasses.itemStarHighlighted,f=this.cssClasses.itemStarUnhighlighted,b=this.cssClasses.itemStarSmall),this.isSmiley&&(l=this.cssClasses.itemSmiley,u=this.cssClasses.itemSmileySelected,c=this.cssClasses.itemSmileyDisabled,p=this.cssClasses.itemSmileyReadOnly,d=this.cssClasses.itemSmileyPreview,h=this.cssClasses.itemSmileyHover,m=this.cssClasses.itemSmileyOnError,g=this.cssClasses.itemSmileyHighlighted,y=this.cssClasses.itemSmileyScaleColored,v=this.cssClasses.itemSmileyRateColored,b=this.cssClasses.itemSmileySmall);var x=!this.isStar&&!this.isSmiley&&(!this.displayRateDescriptionsAsExtremeItems||this.useRateValues()&&e!=this.rateValues[0]&&e!=this.rateValues[this.rateValues.length-1]||!this.useRateValues()&&e.value!=this.rateMin&&e.value!=this.rateMax)&&e.locText.calculatedText.length<=2&&Number.isInteger(Number(e.locText.calculatedText));return new oY().append(l).append(u,n).append(c,this.isDisabledStyle).append(p,this.isReadOnlyStyle).append(d,this.isPreviewStyle).append(h,r).append(g,s).append(y,"colored"==this.scaleColorMode).append(v,"scale"==this.rateColorMode&&n).append(f,a).append(m,this.hasCssError()).append(b,this.itemSmallMode).append(this.cssClasses.itemFixedSize,x).toString()},QuestionRatingModel.prototype.getControlClass=function(){return this.isEmpty(),new oY().append(this.cssClasses.control).append(this.cssClasses.controlEmpty,this.isEmpty()).append(this.cssClasses.onError,this.hasCssError()).append(this.cssClasses.controlDisabled,this.isDisabledStyle).append(this.cssClasses.controlReadOnly,this.isReadOnlyStyle).append(this.cssClasses.controlPreview,this.isPreviewStyle).toString()},Object.defineProperty(QuestionRatingModel.prototype,"placeholder",{get:function(){return this.getLocalizableStringText("ratingOptionsCaption")},set:function(e){this.setLocalizableStringText("ratingOptionsCaption",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"locPlaceholder",{get:function(){return this.getLocalizableString("ratingOptionsCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"allowClear",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"searchEnabled",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"renderedValue",{get:function(){return this.value},set:function(e){this.value=e},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.isItemSelected=function(e){return e.value==this.value},Object.defineProperty(QuestionRatingModel.prototype,"readOnlyText",{get:function(){return this.getLocalizableStringText("readOnlyText")},set:function(e){this.setLocalizableStringText("readOnlyText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionRatingModel.prototype,"locReadOnlyText",{get:function(){return this.getLocalizableString("readOnlyText")},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.needResponsiveWidth=function(){this.getPropertyValue("rateValues");var e=this.getPropertyValue("rateStep"),t=this.getPropertyValue("rateMax"),o=this.getPropertyValue("rateMin");return"dropdown"!=this.displayMode&&!!(this.hasMinRateDescription||this.hasMaxRateDescription||e&&(t-o)/e>9)},QuestionRatingModel.prototype.supportResponsiveness=function(){return!this.inMatrixMode},QuestionRatingModel.prototype.onBeforeSetCompactRenderer=function(){this.isDisposed||this.dropdownListModelValue||(this.dropdownListModelValue=new iR(this),this.ariaExpanded="false")},QuestionRatingModel.prototype.getCompactRenderAs=function(){return"buttons"==this.displayMode?"default":"dropdown"},QuestionRatingModel.prototype.getDesktopRenderAs=function(){return"dropdown"==this.displayMode?"dropdown":"default"},Object.defineProperty(QuestionRatingModel.prototype,"dropdownListModel",{get:function(){return"dropdown"===this.renderAs&&this.onBeforeSetCompactRenderer(),this.dropdownListModelValue},set:function(e){this.dropdownListModelValue=e,this.ariaExpanded=e?"false":void 0,this.updateElementCss()},enumerable:!1,configurable:!0}),QuestionRatingModel.prototype.onBlurCore=function(t){var o;null===(o=this.dropdownListModel)||void 0===o||o.onBlur(t),e.prototype.onBlurCore.call(this,t)},QuestionRatingModel.prototype.updateCssClasses=function(t,o){e.prototype.updateCssClasses.call(this,t,o),updateListCssValues(t,o)},QuestionRatingModel.prototype.calcCssClasses=function(t){var o=e.prototype.calcCssClasses.call(this,t);return this.dropdownListModelValue&&this.dropdownListModelValue.updateCssClasses(o.popup,o.list),o},QuestionRatingModel.prototype.themeChanged=function(e){this.colorsCalculated=!1,this.updateColors(e.cssVariables)},QuestionRatingModel.prototype.setSurveyImpl=function(t,o){e.prototype.setSurveyImpl.call(this,t,o),this.survey&&(this.updateColors(this.survey.themeVariables),this.updateRenderAsBasedOnDisplayMode())},QuestionRatingModel.prototype.dispose=function(){e.prototype.dispose.call(this),this.dropdownListModelValue&&(this.dropdownListModelValue.dispose(),this.dropdownListModelValue=void 0)},QuestionRatingModel.colorsCalculated=!1,question_rating_decorate([jsonobject_property({defaultValue:!1})],QuestionRatingModel.prototype,"inputHasValue",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"autoGenerate",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"rateCount",void 0),question_rating_decorate([jsonobject_property({defaultValue:!1})],QuestionRatingModel.prototype,"hasMinRateDescription",void 0),question_rating_decorate([jsonobject_property({defaultValue:!1})],QuestionRatingModel.prototype,"hasMaxRateDescription",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"displayRateDescriptionsAsExtremeItems",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"displayMode",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"rateDescriptionLocation",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"rateType",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"scaleColorMode",void 0),question_rating_decorate([jsonobject_property()],QuestionRatingModel.prototype,"rateColorMode",void 0),QuestionRatingModel}(nX);ov.addClass("rating",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"rateType",alternativeName:"rateDisplayMode",default:"labels",category:"rateValues",choices:["labels","stars","smileys"],visibleIndex:1},{name:"scaleColorMode",category:"rateValues",default:"monochrome",choices:["monochrome","colored"],visibleIf:function(e){return"smileys"==e.rateDisplayMode},visibleIndex:2},{name:"rateColorMode",category:"rateValues",default:"scale",choices:["default","scale"],visibleIf:function(e){return"smileys"==e.rateDisplayMode&&"monochrome"==e.scaleColorMode},visibleIndex:3},{name:"autoGenerate",category:"rateValues",default:!0,choices:[!0,!1],visibleIndex:5},{name:"rateCount:number",default:5,category:"rateValues",visibleIndex:4,onSettingValue:function(e,t){return t<2?2:t>nC.ratingMaximumRateValueCount&&t>e.rateValues.length?nC.ratingMaximumRateValueCount:t>10&&"smileys"==e.rateDisplayMode?10:t}},{name:"rateValues:itemvalue[]",baseValue:function(){return getLocaleString("choices_Item")},category:"rateValues",visibleIf:function(e){return!e.autoGenerate},visibleIndex:6},{name:"rateMin:number",default:1,onSettingValue:function(e,t){return t>e.rateMax-e.rateStep?e.rateMax-e.rateStep:t},visibleIf:function(e){return!!e.autoGenerate},visibleIndex:7},{name:"rateMax:number",default:5,onSettingValue:function(e,t){return t<e.rateMin+e.rateStep?e.rateMin+e.rateStep:t},visibleIf:function(e){return!!e.autoGenerate},visibleIndex:8},{name:"rateStep:number",default:1,minValue:.1,onSettingValue:function(e,t){return t<=0&&(t=1),t>e.rateMax-e.rateMin&&(t=e.rateMax-e.rateMin),t},visibleIf:function(e){return!!e.autoGenerate},visibleIndex:9},{name:"minRateDescription",alternativeName:"mininumRateDescription",serializationProperty:"locMinRateDescription",visibleIndex:18},{name:"maxRateDescription",alternativeName:"maximumRateDescription",serializationProperty:"locMaxRateDescription",visibleIndex:19},{name:"displayRateDescriptionsAsExtremeItems:boolean",default:!1,visibleIndex:21,visibleIf:function(e){return"labels"==e.rateType}},{name:"rateDescriptionLocation",default:"leftRight",choices:["leftRight","top","bottom","topBottom"],visibleIndex:20},{name:"displayMode",default:"auto",choices:["auto","buttons","dropdown"],visibleIndex:0},{name:"itemComponent",visible:!1,defaultFunc:function(e){return e?(e.getOriginalObj&&(e=e.getOriginalObj()),e.getDefaultItemComponent()):"sv-rating-item"}}],function(){return new sV("")},"question"),rh.Instance.registerQuestion("rating",function(e){return new sV(e)});var sR=(em=function(e,t){return(em=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}em(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_boolean_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sk=function(e){function QuestionBooleanModel(t){var o=e.call(this,t)||this;return o.createLocalizableString("labelFalse",o,!0,"booleanUncheckedLabel"),o.createLocalizableString("labelTrue",o,!0,"booleanCheckedLabel"),o}return sR(QuestionBooleanModel,e),QuestionBooleanModel.prototype.getType=function(){return"boolean"},QuestionBooleanModel.prototype.isLayoutTypeSupported=function(e){return!0},QuestionBooleanModel.prototype.supportGoNextPageAutomatic=function(){return"checkbox"!==this.renderAs},Object.defineProperty(QuestionBooleanModel.prototype,"isIndeterminate",{get:function(){return this.isEmpty()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"hasTitle",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"booleanValue",{get:function(){return this.isEmpty()?null:this.value==this.getValueTrue()},set:function(e){this.isReadOnly||this.isDesignMode||this.setBooleanValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"checkedValue",{get:function(){return this.booleanValue},set:function(e){this.booleanValue=e},enumerable:!1,configurable:!0}),QuestionBooleanModel.prototype.setBooleanValue=function(e){this.isValueEmpty(e)?(this.value=void 0,this.booleanValueRendered=void 0):(this.value=!0==e?this.getValueTrue():this.getValueFalse(),this.booleanValueRendered=e)},Object.defineProperty(QuestionBooleanModel.prototype,"defaultValue",{get:function(){return this.getPropertyValue("defaultValue")},set:function(e){!0===e&&(e="true"),!1===e&&(e="false"),this.setPropertyValue("defaultValue",e),this.updateValueWithDefaults()},enumerable:!1,configurable:!0}),QuestionBooleanModel.prototype.getDefaultValue=function(){var e=this.defaultValue;if("indeterminate"!==e&&null!=e)return"true"==e?this.getValueTrue():this.getValueFalse()}
vendor: 4,132 bytes, line 5
5,Object.defineProperty(QuestionBooleanModel.prototype,"locTitle",{get:function(){var e=this.getLocalizableString("title");return!this.isValueEmpty(this.locLabel.text)&&(this.isValueEmpty(e.text)||this.isLabelRendered&&!this.showTitle)?this.locLabel:e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"labelRenderedAriaID",{get:function(){return this.isLabelRendered?this.ariaTitleId:null},enumerable:!1,configurable:!0}),QuestionBooleanModel.prototype.beforeDestroyQuestionElement=function(t){e.prototype.beforeDestroyQuestionElement.call(this,t),this.leftAnswerElement=void 0},Object.defineProperty(QuestionBooleanModel.prototype,"isLabelRendered",{get:function(){return"hidden"===this.titleLocation},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"canRenderLabelDescription",{get:function(){return this.isLabelRendered&&this.hasDescription&&(this.hasDescriptionUnderTitle||this.hasDescriptionUnderInput)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"labelTrue",{get:function(){return this.getLocalizableStringText("labelTrue")},set:function(e){this.setLocalizableStringText("labelTrue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"locLabelTrue",{get:function(){return this.getLocalizableString("labelTrue")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"isDeterminated",{get:function(){return null!==this.booleanValue&&void 0!==this.booleanValue},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"locLabelLeft",{get:function(){return this.swapOrder?this.getLocalizableString("labelTrue"):this.getLocalizableString("labelFalse")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"locLabelRight",{get:function(){return this.swapOrder?this.getLocalizableString("labelFalse"):this.getLocalizableString("labelTrue")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"labelFalse",{get:function(){return this.getLocalizableStringText("labelFalse")},set:function(e){this.setLocalizableStringText("labelFalse",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"locLabelFalse",{get:function(){return this.getLocalizableString("labelFalse")},enumerable:!1,configurable:!0}),QuestionBooleanModel.prototype.getValueTrue=function(){return void 0===this.valueTrue||this.valueTrue},QuestionBooleanModel.prototype.getValueFalse=function(){return void 0!==this.valueFalse&&this.valueFalse},QuestionBooleanModel.prototype.setDefaultValue=function(){this.isDefaultValueSet("true",this.valueTrue)&&this.setBooleanValue(!0),this.isDefaultValueSet("false",this.valueFalse)&&this.setBooleanValue(!1);var e=this.defaultValue;("indeterminate"===e||null==e)&&this.setBooleanValue(void 0)},QuestionBooleanModel.prototype.isDefaultValueSet=function(e,t){return this.defaultValue==e||void 0!==t&&this.defaultValue===t},QuestionBooleanModel.prototype.getDisplayValueCore=function(e,t){return t==this.getValueTrue()?this.locLabelTrue.textOrHtml:this.locLabelFalse.textOrHtml},QuestionBooleanModel.prototype.getItemCssValue=function(e){return new oY().append(e.item).append(e.itemOnError,this.hasCssError()).append(e.itemDisabled,this.isDisabledStyle).append(e.itemReadOnly,this.isReadOnlyStyle).append(e.itemPreview,this.isPreviewStyle).append(e.itemHover,!this.isDesignMode).append(e.itemChecked,!!this.booleanValue).append(e.itemExchanged,!!this.swapOrder).append(e.itemIndeterminate,!this.isDeterminated).toString()},QuestionBooleanModel.prototype.getItemCss=function(){return this.getItemCssValue(this.cssClasses)},QuestionBooleanModel.prototype.getCheckboxItemCss=function(){return this.getItemCssValue({item:this.cssClasses.checkboxItem,itemOnError:this.cssClasses.checkboxItemOnError,itemDisabled:this.cssClasses.checkboxItemDisabled,itemDisable:this.cssClasses.checkboxItemDisabled,itemReadOnly:this.cssClasses.checkboxItemReadOnly,itemPreview:this.cssClasses.checkboxItemPreview,itemChecked:this.cssClasse
5s.checkboxItemChecked,itemIndeterminate:this.cssClasses.checkboxItemIndeterminate})},QuestionBooleanModel.prototype.getLabelCss=function(e){return new oY().append(this.cssClasses.label).append(this.cssClasses.disabledLabel,!e===this.booleanValue||this.isDisabledStyle).append(this.cssClasses.labelReadOnly,this.isReadOnlyStyle).append(this.cssClasses.labelPreview,this.isPreviewStyle).append(this.cssClasses.labelTrue,!this.isIndeterminate&&!this.swapOrder===e).append(this.cssClasses.labelFalse,!this.isIndeterminate&&e===this.swapOrder).toString()},QuestionBooleanModel.prototype.updateValueFromSurvey=function(t,o){void 0===o&&(o=!1),e.prototype.updateValueFromSurvey.call(this,t,o)},QuestionBooleanModel.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this)},Object.defineProperty(QuestionBooleanModel.prototype,"svgIcon",{get:function(){return this.booleanValue&&this.cssClasses.svgIconCheckedId?this.cssClasses.svgIconCheckedId:!this.isDeterminated&&this.cssClasses.svgIconIndId?this.cssClasses.svgIconIndId:!this.booleanValue&&this.cssClasses.svgIconUncheckedId?this.cssClasses.svgIconUncheckedId:this.cssClasses.svgIconId},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"itemSvgIcon",{get:function(){return this.isPreviewStyle&&this.cssClasses.itemPreviewSvgIconId?this.cssClasses.itemPreviewSvgIconId:this.cssClasses.itemSvgIconId},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"allowClick",{get:function(){return this.isIndeterminate&&!this.isInputReadOnly},enumerable:!1,configurable:!0}),QuestionBooleanModel.prototype.getCheckedLabel=function(){return!0===this.booleanValue?this.locLabelTrue:!1===this.booleanValue?this.locLabelFalse:void 0},QuestionBooleanModel.prototype.setQuestionValue=function(t,o){void 0===o&&(o=!0),"true"===t&&"true"!==this.valueTrue&&(t=!0),"false"===t&&"false"!==this.valueFalse&&(t=!1),("indeterminate"===t||null===t)&&(t=void 0),e.prototype.setQuestionValue.call(this,t,o)},QuestionBooleanModel.prototype.onLabelClick=function(e,t){return this.allowClick&&(preventDefaults(e),this.booleanValue=t),!0},QuestionBooleanModel.prototype.calculateBooleanValueByEvent=function(e,t){var o=!1;t8.isAvailable()&&(o="rtl"==t8.getComputedStyle(e.target).direction),this.booleanValue=o?!t:t},QuestionBooleanModel.prototype.onSwitchClickModel=function(e){if(this.allowClick){preventDefaults(e);var t=e.offsetX/e.target.offsetWidth>.5;this.calculateBooleanValueByEvent(e,t);return}return!0},QuestionBooleanModel.prototype.onKeyDownCore=function(e){return("ArrowLeft"===e.key||"ArrowRight"===e.key)&&(e.stopPropagation(),this.calculateBooleanValueByEvent(e,"ArrowRight"===e.key)),!0},QuestionBooleanModel.prototype.getRadioItemClass=function(e,t){var o=void 0;return e.radioItem&&(o=e.radioItem),e.radioItemChecked&&t===this.booleanValue&&(o=(o?o+" ":"")+e.radioItemChecked),this.isDisabledStyle&&(o+=" "+e.radioItemDisabled),this.isReadOnlyStyle&&(o+=" "+e.radioItemReadOnly),this.isPreviewStyle&&(o+=" "+e.radioItemPreview),o},QuestionBooleanModel.prototype.supportResponsiveness=function(){return!0},QuestionBooleanModel.prototype.getCompactRenderAs=function(){return"radio"},QuestionBooleanModel.prototype.createActionContainer=function(t){return e.prototype.createActionContainer.call(this,"checkbox"!==this.renderAs)},Object.defineProperty(QuestionBooleanModel.prototype,"isNewA11yStructure",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionBooleanModel.prototype,"a11y_input_ariaRole",{get:function(){return"switch"},enumerable:!1,configurable:!0}),question_boolean_decorate([jsonobject_property()],QuestionBooleanModel.prototype,"booleanValueRendered",void 0),question_boolean_decorate([jsonobject_property()],QuestionBooleanModel.prototype,"showTitle",void 0),question_boolean_decorate([jsonobject_property({localizable:!0})],QuestionBooleanModel.prototype,"label",void 0),question_boolean_decorate([jsonobject_property({defaultValue:!1})],QuestionBooleanModel.prototype,"swapOrder",void 0),question_boolean_decorate([jsonobject_property()],QuestionBooleanModel.prototype,"valueTrue",void 0),question_boolean_decorate([jsonobject_property()],QuestionBooleanModel.prototype,"valueFalse",void 0),QuestionBooleanModel}(nX);ov.addClass("boolean",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"label:text",serializationProperty:"locLabel",isSerializable:!1,visible:!1},{name:"labelTrue:text",serializationProperty:"locLabelTrue"},{name:"labelFalse:text",serializationProperty:"locLabelFalse"},"valueTrue","valueFalse",{name:"swapOrder:boolean",category:"general"},{name:"renderAs",default:"default",visible:!1}],function(){return new sk("")},"question"),rh.Instance.registerQuestion("boolean",function(e){return new sk(e)});var sI=(eg=function(e,t){return(eg=Object.setPrototypeOf||({__proto__:[]}
vendor: 3,758 bytes, line 5
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eg(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_imagepicker_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sO=function(e){function ImageItemValue(t,o,n){void 0===o&&(o=null),void 0===n&&(n="imageitemvalue");var r=e.call(this,t,o,n)||this;return r.typeName=n,r.createLocalizableString("imageLink",r,!1),r}return sI(ImageItemValue,e),ImageItemValue.prototype.getType=function(){return this.typeName?this.typeName:"itemvalue"},Object.defineProperty(ImageItemValue.prototype,"imageLink",{get:function(){return this.getLocalizableStringText("imageLink")},set:function(e){this.setLocalizableStringText("imageLink",e),this.imageNotLoaded=!1,this.videoNotLoaded=!1},enumerable:!1,configurable:!0}),Object.defineProperty(ImageItemValue.prototype,"locImageLink",{get:function(){return this.getLocalizableString("imageLink")},enumerable:!1,configurable:!0}),ImageItemValue.prototype.getLocale=function(){return this.locOwner?this.locOwner.getLocale():""},ImageItemValue.prototype.getMarkdownHtml=function(e,t){return this.locOwner?this.locOwner.getMarkdownHtml(e,t):void 0},ImageItemValue.prototype.getRenderer=function(e){return this.locOwner?this.locOwner.getRenderer(e):null},ImageItemValue.prototype.getRendererContext=function(e){return this.locOwner?this.locOwner.getRendererContext(e):e},ImageItemValue.prototype.getProcessedText=function(e){return this.locOwner?this.locOwner.getProcessedText(e):e},ImageItemValue.prototype.onErrorHandler=function(){this.contentNotLoaded=!0},Object.defineProperty(ImageItemValue.prototype,"contentNotLoaded",{get:function(){return this.locOwner instanceof sD&&"video"==this.locOwner.contentMode?this.videoNotLoaded:this.imageNotLoaded},set:function(e){this.locOwner instanceof sD&&"video"==this.locOwner.contentMode?this.videoNotLoaded=e:this.imageNotLoaded=e},enumerable:!1,configurable:!0}),question_imagepicker_decorate([jsonobject_property({defaultValue:!1})],ImageItemValue.prototype,"videoNotLoaded",void 0),question_imagepicker_decorate([jsonobject_property({defaultValue:!1})],ImageItemValue.prototype,"imageNotLoaded",void 0),ImageItemValue}(n0),sD=function(e){function QuestionImagePickerModel(t){var o=e.call(this,t)||this;return o.isResponsiveValue=!1,o.onContentLoaded=function(e,t){e.contentNotLoaded=!1;var n=t.target;"video"==o.contentMode?e.aspectRatio=n.videoWidth/n.videoHeight:e.aspectRatio=n.naturalWidth/n.naturalHeight,o._width&&o.processResponsiveness(0,o._width)},o.gridColCount=void 0,o.colCount=0,o.registerPropertyChangedHandlers(["minImageWidth","maxImageWidth","minImageHeight","maxImageHeight","visibleChoices","colCount","isResponsiveValue"],function(){o._width&&o.processResponsiveness(0,o._width)}),o.registerPropertyChangedHandlers(["imageWidth","imageHeight"],function(){o.calcIsResponsive()}),o.calcIsResponsive(),o}return sI(QuestionImagePickerModel,e),QuestionImagePickerModel.prototype.getType=function(){return"imagepicker"},QuestionImagePickerModel.prototype.supportGoNextPageAutomatic=function(){return!this.multiSelect},Object.defineProperty(QuestionImagePickerModel.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}
5),QuestionImagePickerModel.prototype.getItemValueType=function(){return"imageitemvalue"},Object.defineProperty(QuestionImagePickerModel.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionImagePickerModel.prototype.supportOther=function(){return!1},QuestionImagePickerModel.prototype.supportNone=function(){return!1},QuestionImagePickerModel.prototype.supportRefuse=function(){return!1},QuestionImagePickerModel.prototype.supportDontKnow=function(){return!1},QuestionImagePickerModel.prototype.isAnswerCorrect=function(){return this.multiSelect?oe.isArrayContainsEqual(this.value,this.correctAnswer):e.prototype.isAnswerCorrect.call(this)},Object.defineProperty(QuestionImagePickerModel.prototype,"multiSelect",{get:function(){return this.getPropertyValue("multiSelect")},set:function(e){this.setPropertyValue("multiSelect",e)},enumerable:!1,configurable:!0}),QuestionImagePickerModel.prototype.isItemSelected=function(e){var t=this.value;if(this.isValueEmpty(t)||!e.imageLink||e.contentNotLoaded)return!1;if(!this.multiSelect)return this.isTwoValueEquals(t,e.value);if(!Array.isArray(t))return!1;for(var o=0;o<t.length;o++)if(this.isTwoValueEquals(t[o],e.value))return!0;return!1},QuestionImagePickerModel.prototype.getItemEnabled=function(t){return!!t.imageLink&&!t.contentNotLoaded&&e.prototype.getItemEnabled.call(this,t)},QuestionImagePickerModel.prototype.clearIncorrectValues=function(){if(this.multiSelect){var t=this.value;if(t){if(!Array.isArray(t)||0==t.length){this.clearValue(!0);return}for(var o=[],n=0;n<t.length;n++)this.hasUnknownValue(t[n],!0)||o.push(t[n]);o.length!=t.length&&(0==o.length?this.clearValue(!0):this.value=o)}}else e.prototype.clearIncorrectValues.call(this)},QuestionImagePickerModel.prototype.getDisplayValueCore=function(t,o){return this.multiSelect||Array.isArray(o)?this.getDisplayArrayValue(t,o):e.prototype.getDisplayValueCore.call(this,t,o)},Object.defineProperty(QuestionImagePickerModel.prototype,"showLabel",{get:function(){return this.getPropertyValue("showLabel")},set:function(e){this.setPropertyValue("showLabel",e)},enumerable:!1,configurable:!0}),QuestionImagePickerModel.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),!this.isDesignMode&&this.multiSelect&&(this.createNewArray("renderedValue"),this.createNewArray("value")),this.calcIsResponsive()},QuestionImagePickerModel.prototype.getValueCore=function(){var t=e.prototype.getValueCore.call(this);return void 0!==t?t:this.multiSelect?[]:t},QuestionImagePickerModel.prototype.convertValToArrayForMultSelect=function(e){return!this.multiSelect||this.isValueEmpty(e)||Array.isArray(e)?e:[e]},QuestionImagePickerModel.prototype.renderedValueFromDataCore=function(e){return this.convertValToArrayForMultSelect(e)},QuestionImagePickerModel.prototype.rendredValueToDataCore=function(e){return this.convertValToArrayForMultSelect(e)},Object.defineProperty(QuestionImagePickerModel.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"imageScale",{get:function(){return this.survey?this.survey.widthScale/100:1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"renderedImageHeight",{get:function(){return(this.isResponsive?Math.floor(this.responsiveImageHeight):this.imageHeight*this.imageScale)||150*this.imageScale},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"renderedImageWidth",{get:function(){return(this.isResponsive?Math.floor(this.responsiveImageWidth):this.imageWidth*this.imageScale)||200*this.imageScale},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"imageFit",{get:function(){return this.getPropertyValue("imageFit")}
5,set:function(e){this.setPropertyValue("imageFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"contentMode",{get:function(){return this.getPropertyValue("contentMode")},set:function(e){this.setPropertyValue("contentMode",e),"video"===e&&(this.showLabel=!0)},enumerable:!1,configurable:!0}),QuestionImagePickerModel.prototype.convertDefaultValue=function(e){return e},Object.defineProperty(QuestionImagePickerModel.prototype,"inputType",{get:function(){return this.multiSelect?"checkbox":"radio"},enumerable:!1,configurable:!0}),QuestionImagePickerModel.prototype.isBuiltInChoice=function(e){return!1},QuestionImagePickerModel.prototype.addToVisibleChoices=function(e,t){this.addNewItemToVisibleChoices(e,t)},QuestionImagePickerModel.prototype.getSelectBaseRootCss=function(){var t=this.isResponsive;return new oY().append(e.prototype.getSelectBaseRootCss.call(this)).append(this.cssClasses.rootResponsive,t).append(this.cssClasses.rootStatic,!t).append(this.cssClasses.rootColumn,1==this.getCurrentColCount()).toString()},Object.defineProperty(QuestionImagePickerModel.prototype,"isResponsive",{get:function(){return this.isResponsiveValue&&this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImagePickerModel.prototype,"exactSizesAreEmpty",{get:function(){var e=this;return!["imageHeight","imageWidth"].some(function(t){return void 0!==e[t]&&null!==e[t]})},enumerable:!1,configurable:!0}),QuestionImagePickerModel.prototype.calcIsResponsive=function(){this.isResponsiveValue=this.exactSizesAreEmpty},QuestionImagePickerModel.prototype.getObservedElementSelector=function(){return classesToSelector(this.cssClasses.root)},QuestionImagePickerModel.prototype.supportResponsiveness=function(){return!0},QuestionImagePickerModel.prototype.needResponsiveness=function(){return this.supportResponsiveness()&&this.isDefaultV2Theme},QuestionImagePickerModel.prototype.needResponsiveWidth=function(){return this.colCount>2},QuestionImagePickerModel.prototype.getCurrentColCount=function(){return void 0===this.responsiveColCount||0===this.colCount?this.colCount:this.responsiveColCount},QuestionImagePickerModel.prototype.getContainerStyle=function(){return this.isResponsive?{gridAutoFlow:this.gridColCount?null:"column",gridTemplateColumns:this.gridColCount?"repeat("+this.gridColCount+", 1fr)":null}:{}},QuestionImagePickerModel.prototype.processResponsiveness=function(e,t){if(this._width=t=Math.floor(t),this.isResponsive){var o,n,r,i=this.choices.length+(this.isDesignMode?1:0),s=(this.gapBetweenItems||0)*this.imageScale,a=this.minImageWidth*this.imageScale,l=this.maxImageWidth*this.imageScale,u=this.maxImageHeight*this.imageScale,c=this.minImageHeight*this.imageScale,p=this.colCount,d=(((n=Math.floor((o=t)/(a+s)))+1)*(a+s)-s<=o&&n++,n);0===p?(r=(s+a)*i-s>t?Math.floor((t-s*(d-1))/d):Math.floor((t-s*(i-1))/i),this.gridColCount=Math.max(Math.min(i,d),1)):(d<p?(this.responsiveColCount=Math.max(d,1),p=this.responsiveColCount):this.responsiveColCount=p,this.gridColCount=this.responsiveColCount,r=Math.floor((t-s*(p-1))/p)),r=Math.max(a,Math.min(r,l));var h=Number.MIN_VALUE;this.choices.forEach(function(e){var t=r/e.aspectRatio;h=t>h?t:h}),h>u?h=u:h<c&&(h=c);var m=this.responsiveImageWidth,g=this.responsiveImageHeight;return this.responsiveImageWidth=r,this.responsiveImageHeight=h,m!==this.responsiveImageWidth||g!==this.responsiveImageHeight}return!1},QuestionImagePickerModel.prototype.triggerResponsiveness=function(t){void 0===t&&(t=!0),t&&this.reCalcGapBetweenItemsCallback&&this.reCalcGapBetweenItemsCallback(),e.prototype.triggerResponsiveness.call(this,t)},QuestionImagePickerModel.prototype.afterRender=function(t){var o=this;e.prototype.afterRender.call(this,t);var n=this.getObservedElementSelector(),r=t&&n?t.querySelector(n):void 0;r&&(this.reCalcGapBetweenItemsCallback=function(){o.gapBetweenItems=Math.ceil(Number.parseFloat(t8.getComputedStyle(r).gap))||16},this.reCalcGapBetweenItemsCallback())},question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"responsiveImageHeight",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"responsiveImageWidth",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"isResponsiveValue",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"maxImageWidth",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"minImageWidth",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"maxImageHeight",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"minImageHeight",void 0),question_imagepicker_decorate([jsonobject_property({})],QuestionImagePickerModel.prototype,"responsiveColCount",void 0),question_imagepicker_decorate([jsonobject_property()],QuestionImagePickerModel.prototype,"gridColCount",void 0),QuestionImagePickerModel}(iC);ov.addClass("imageitemvalue",[{name:"imageLink:file",serializationProperty:"locImageLink"}],function(e){return new sO(e)},"itemvalue"),ov.addClass("responsiveImageSize",[],void 0,"number"),ov.addClass("imagepicker",[{name:"showOtherItem",visible:!1},{name:"otherText",visible:!1},{name:"showNoneItem",visible:!1},{name:"showRefuseItem",visible:!1},{name:"showDontKnowItem",visible:!1},{name:"noneText",visible:!1},{name:"optionsCaption",visible:!1},{name:"otherErrorText",visible:!1},{name:"storeOthersAsComment",visible:!1},{name:"contentMode",default:"image",choices:["image","video"]},{name:"imageFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"imageHeight:number",minValue:0},{name:"imageWidth:number",minValue:0},{name:"minImageWidth:responsiveImageSize",default:200,minValue:0,visibleIf:function(){return nC.supportCreatorV2}},{name:"minImageHeight:responsiveImageSize",default:133,minValue:0,visibleIf:function(){return nC.supportCreatorV2}},{name:"maxImageWidth:responsiveImageSize",default:400,minValue:0,visibleIf:function(){return nC.supportCreatorV2}},{name:"maxImageHeight:responsiveImageSize",default:266,minValue:0,visibleIf:function(){return nC.supportCreatorV2}}],function(){return new sD("")},"checkboxbase"),ov.addProperty("imagepicker",{name:"showLabel:boolean",default:!1}),ov.addProperty("imagepicker",{name:"colCount:number",default:0,choices:[0,1,2,3,4,5]}),ov.addProperty("imagepicker",{name:"multiSelect:boolean",default:!1}),ov.addProperty("imagepicker",{name:"choices:imageitemvalue[]"}),rh.Instance.registerQuestion("imagepicker",function(e){return new sD(e)});var sA=(ef=function(e,t){return(ef=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ef(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_image_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sQ=[".mp4",".mov",".wmv",".flv",".avi",".mkv"],sj="embed",sL=function(e){function QuestionImageModel(t){var o=e.call(this,t)||this;return o.createLocalizableString("imageLink",o,!1).onGetTextCallback=function(e){return function(e,t){if(!e||!oe.isUrlYoutubeVideo(e))return t?"":e;if(e.toLocaleLowerCase().indexOf(sj)>-1)return e;for(var o="",n=e.length-1;n>=0&&"="!==e[n]&&"/"!==e[n];n--)o=e[n]+o;return"https://www.youtube.com/"+sj+"/"+o}(e,"youtube"==o.contentMode)},o.createLocalizableString("altText",o,!1),o.registerPropertyChangedHandlers(["contentMode","imageLink"],function(){return o.calculateRenderedMode()}),o}return sA(QuestionImageModel,e),QuestionImageModel.prototype.getType=function(){return"image"},Object.defineProperty(QuestionImageModel.prototype,"isCompositeQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),QuestionImageModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.calculateRenderedMode()},Object.defineProperty(QuestionImageModel.prototype,"imageLink",{get:function(){return this.getLocalizableStringText("imageLink")},set:function(e){this.setLocalizableStringText("imageLink",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"locImageLink",{get:function(){return this.getLocalizableString("imageLink")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"altText",{get:function(){return this.getLocalizableStringText("altText")},set:function(e){this.setLocalizableStringText("altText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"locAltText",{get:function(){return this.getLocalizableString("altText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"imageHeight",{get:function(){return this.getPropertyValue("imageHeight")},set:function(e){this.setPropertyValue("imageHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"renderedStyleHeight",{get:function(){return this.imageHeight?getRenderedStyleSize(this.imageHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"renderedHeight",{get:function(){return this.imageHeight?getRenderedSize(this.imageHeight):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"imageWidth",{get:function(){return this.getPropertyValue("imageWidth")},set:function(e){this.setPropertyValue("imageWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"renderedStyleWidth",{get:function(){return this.imageWidth?getRenderedStyleSize(this.imageWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"renderedWidth",{get:function(){return this.imageWidth?getRenderedSize(this.imageWidth):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"imageFit",{get:function(){return this.getPropertyValue("imageFit")},set:function(e){this.setPropertyValue("imageFit",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"contentMode",{get:function(){return this.getPropertyValue("contentMode")},set:function(e){this.setPropertyValue("contentMode",e),"video"===e&&(this.showLabel=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionImageModel.prototype,"renderedMode",{get:function(){return this.getPropertyValue("renderedMode","image")}
5,enumerable:!1,configurable:!0}),QuestionImageModel.prototype.getImageCss=function(){var e=this.getPropertyByName("imageHeight"),t=this.getPropertyByName("imageWidth"),o=e.isDefaultValue(this.imageHeight)&&t.isDefaultValue(this.imageWidth);return new oY().append(this.cssClasses.image).append(this.cssClasses.adaptive,o).toString()},QuestionImageModel.prototype.onLoadHandler=function(){this.contentNotLoaded=!1},QuestionImageModel.prototype.onErrorHandler=function(){this.contentNotLoaded=!0},QuestionImageModel.prototype.setRenderedMode=function(e){this.setPropertyValue("renderedMode",e)},QuestionImageModel.prototype.calculateRenderedMode=function(){"auto"!==this.contentMode?this.setRenderedMode(this.contentMode):this.isYoutubeVideo()?this.setRenderedMode("youtube"):this.isVideo()?this.setRenderedMode("video"):this.setRenderedMode("image")},QuestionImageModel.prototype.isYoutubeVideo=function(){return oe.isUrlYoutubeVideo(this.imageLink)},QuestionImageModel.prototype.isVideo=function(){var e=this.imageLink;if(!e)return!1;e=e.toLowerCase();for(var t=0;t<sQ.length;t++)if(e.endsWith(sQ[t]))return!0;return!1},question_image_decorate([jsonobject_property({defaultValue:!1})],QuestionImageModel.prototype,"contentNotLoaded",void 0),QuestionImageModel}(i5);ov.addClass("image",[{name:"imageLink:file",serializationProperty:"locImageLink"},{name:"altText",serializationProperty:"locAltText",alternativeName:"text",category:"general"},{name:"contentMode",default:"auto",choices:["auto","image","video","youtube"]},{name:"imageFit",default:"contain",choices:["none","contain","cover","fill"]},{name:"imageHeight",default:"150"},{name:"imageWidth",default:"200"}],function(){return new sL("")},"nonvalue"),rh.Instance.registerQuestion("image",function(e){return new sL(e)});/*! 6 * Signature Pad v4.2.0 | https://github.com/szimek/signature_pad 7 * (c) 2024 Szymon Nowak | Released under the MIT license 8 */let Point=class Point{constructor(e,t,o,n){if(isNaN(e)||isNaN(t))throw Error(`Point is invalid: (${e}, ${t})`);this.x=+e,this.y=+t,this.pressure=o||0,this.time=n||Date.now()}distanceTo(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}equals(e){return this.x===e.x&&this.y===e.y&&this.pressure===e.pressure&&this.time===e.time}velocityFrom(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):0}};let Bezier=class Bezier{static fromPoints(e,t){let o=this.calculateControlPoints(e[0],e[1],e[2]).c2,n=this.calculateControlPoints(e[1],e[2],e[3]).c1;return new Bezier(e[1],o,n,e[2],t.start,t.end)}static calculateControlPoints(e,t,o){let n=e.x-t.x,r=e.y-t.y,i=t.x-o.x,s=t.y-o.y,a={x:(e.x+t.x)/2,y:(e.y+t.y)/2},l={x:(t.x+o.x)/2,y:(t.y+o.y)/2},u=Math.sqrt(n*n+r*r),c=Math.sqrt(i*i+s*s),p=a.x-l.x,d=a.y-l.y,h=c/(u+c),m={x:l.x+p*h,y:l.y+d*h},g=t.x-m.x,f=t.y-m.y;return{c1:new Point(a.x+g,a.y+f),c2:new Point(l.x+g,l.y+f)}}constructor(e,t,o,n,r,i){this.startPoint=e,this.control2=t,this.control1=o,this.endPoint=n,this.startWidth=r,this.endWidth=i}length(){let e,t;let o=0;for(let n=0;n<=10;n+=1){let r=n/10,i=this.point(r,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),s=this.point(r,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(n>0){let n=i-e,r=s-t;o+=Math.sqrt(n*n+r*r)}e=i,t=s}return o}point(e,t,o,n,r){return t*(1-e)*(1-e)*(1-e)+3*o*(1-e)*(1-e)*e+3*n*(1-e)*e*e+r*e*e*e}};let SignatureEventTarget=class SignatureEventTarget{constructor(){try{this._et=new EventTarget}catch(e){this._et=document}}addEventListener(e,t,o){this._et.addEventListener(e,t,o)}dispatchEvent(e){return this._et.dispatchEvent(e)}removeEventListener(e,t,o){this._et.removeEventListener(e,t,o)}};let SignaturePad=class SignaturePad extends SignatureEventTarget{constructor(e,t={}){super(),this.canvas=e,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this._handleMouseDown=e=>{1===e.buttons&&this._strokeBegin(e)},this._handleMouseMove=e=>{this._strokeMoveUpdate(e)},this._handleMouseUp=e=>{1===e.buttons&&this._strokeEnd(e)},this._handleTouchStart=e=>{if(e.cancelable&&e.preventDefault(),1===e.targetTouches.length){let t=e.changedTouches[0];this._strokeBegin(t)}},this._handleTouchMove=e=>{e.cancelable&&e.preventDefault();let t=e.targetTouches[0];this._strokeMoveUpdate(t)},this._handleTouchEnd=e=>{let t=e.target===this.canvas;if(t){e.cancelable&&e.preventDefault();let t=e.changedTouches[0];this._strokeEnd(t)}},this._handlePointerStart=e=>{e.preventDefault(),this._strokeBegin(e)},this._handlePointerMove=e=>{this._strokeMoveUpdate(e)},this._handlePointerEnd=e=>{this._drawingStroke&&(e.preventDefault(),this._strokeEnd(e))},this.velocityFilterWeight=t.velocityFilterWeight||.7,this.minWidth=t.minWidth||.5,this.maxWidth=t.maxWidth||2.5,this.throttle="throttle"in t?t.throttle:16,this.minDistance="minDistance"in t?t.minDistance:5,this.dotSize=t.dotSize||0,this.penColor=t.penColor||"black",this.backgroundColor=t.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=t.compositeOperation||"source-over",this.canvasContextOptions="canvasContextOptions"in t?t.canvasContextOptions:{},this._strokeMoveUpdate=this.throttle?function(e,t=250){let o,n,r,i=0,s=null,later=()=>{i=Date.now(),s=null,o=e.apply(n,r),s||(n=null,r=[])};return function(...a){let l=Date.now(),u=t-(l-i);return n=this,r=a,u<=0||u>t?(s&&(clearTimeout(s),s=null),i=l,o=e.apply(n,r),s||(n=null,r=[])):s||(s=window.setTimeout(later,u)),o}}(SignaturePad.prototype._strokeUpdate,this.throttle):SignaturePad.prototype._strokeUpdate,this._ctx=e.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){let{_ctx:e,canvas:t}=this;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(e,t={}){return new Promise((o,n)=>
8{let r=new Image,i=t.ratio||window.devicePixelRatio||1,s=t.width||this.canvas.width/i,a=t.height||this.canvas.height/i,l=t.xOffset||0,u=t.yOffset||0;this._reset(this._getPointGroupOptions()),r.onload=()=>{this._ctx.drawImage(r,l,u,s,a),o()},r.onerror=e=>{n(e)},r.crossOrigin="anonymous",r.src=e,this._isEmpty=!1})}toDataURL(e="image/png",t){return"image/svg+xml"===e?("object"!=typeof t&&(t=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(t))}`):("number"!=typeof t&&(t=void 0),this.canvas.toDataURL(e,t))}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";let e=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!e?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerStart),this.canvas.removeEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.removeEventListener("pointerup",this._handlePointerEnd),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(e,{clear:t=!0}={}){t&&this.clear(),this._fromData(e,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(e)}toData(){return this._data}_getPointGroupOptions(e){return{penColor:e&&"penColor"in e?e.penColor:this.penColor,dotSize:e&&"dotSize"in e?e.dotSize:this.dotSize,minWidth:e&&"minWidth"in e?e.minWidth:this.minWidth,maxWidth:e&&"maxWidth"in e?e.maxWidth:this.maxWidth,velocityFilterWeight:e&&"velocityFilterWeight"in e?e.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:e&&"compositeOperation"in e?e.compositeOperation:this.compositeOperation}}_strokeBegin(e){let t=!this.dispatchEvent(new CustomEvent("beginStroke",{detail:e,cancelable:!0}));if(t)return;this._drawingStroke=!0;let o=this._getPointGroupOptions(),n=Object.assign(Object.assign({},o),{points:[]});this._data.push(n),this._reset(o),this._strokeUpdate(e)}_strokeUpdate(e){if(!this._drawingStroke)return;if(0===this._data.length){this._strokeBegin(e);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:e}));let t=e.clientX,o=e.clientY,n=void 0!==e.pressure?e.pressure:void 0!==e.force?e.force:0,r=this._createPoint(t,o,n),i=this._data[this._data.length-1],s=i.points,a=s.length>0&&s[s.length-1],l=!!a&&r.distanceTo(a)<=this.minDistance,u=this._getPointGroupOptions(i);if(!a||!(a&&l)){let e=this._addPoint(r,u);a?e&&this._drawCurve(e,u):this._drawDot(r,u),s.push({time:r.time,x:r.x,y:r.y,pressure:r.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:e}))}_strokeEnd(e){this._drawingStroke&&(this._strokeUpdate(e),this._drawingStroke=!1,this.dispatchEvent(new CustomEvent("endStroke",{detail:e})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerStart),this.canvas.addEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.addEventListener("pointerup",this._handlePointerEnd)}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.addEventListener("mouseup",this._handleMouseUp)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)}_reset(e){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(e.minWidth+e.maxWidth)/2,this._ctx.fillStyle=e.penColor,this._ctx.globalCompositeOperation=e.compositeOperation}_createPoint(e,t,o){let n=this.canvas.getBoundingClientRect();
8return new Point(e-n.left,t-n.top,o,new Date().getTime())}_addPoint(e,t){let{_lastPoints:o}=this;if(o.push(e),o.length>2){3===o.length&&o.unshift(o[0]);let e=this._calculateCurveWidths(o[1],o[2],t),n=Bezier.fromPoints(o,e);return o.shift(),n}return null}_calculateCurveWidths(e,t,o){let n=o.velocityFilterWeight*t.velocityFrom(e)+(1-o.velocityFilterWeight)*this._lastVelocity,r=this._strokeWidth(n,o),i={end:r,start:this._lastWidth};return this._lastVelocity=n,this._lastWidth=r,i}_strokeWidth(e,t){return Math.max(t.maxWidth/(e+1),t.minWidth)}_drawCurveSegment(e,t,o){let n=this._ctx;n.moveTo(e,t),n.arc(e,t,o,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(e,t){let o=this._ctx,n=e.endWidth-e.startWidth,r=2*Math.ceil(e.length());o.beginPath(),o.fillStyle=t.penColor;for(let o=0;o<r;o+=1){let i=o/r,s=i*i,a=s*i,l=1-i,u=l*l,c=u*l,p=c*e.startPoint.x;p+=3*u*i*e.control1.x+3*l*s*e.control2.x+a*e.endPoint.x;let d=c*e.startPoint.y;d+=3*u*i*e.control1.y+3*l*s*e.control2.y+a*e.endPoint.y;let h=Math.min(e.startWidth+a*n,t.maxWidth);this._drawCurveSegment(p,d,h)}o.closePath(),o.fill()}_drawDot(e,t){let o=this._ctx,n=t.dotSize>0?t.dotSize:(t.minWidth+t.maxWidth)/2;o.beginPath(),this._drawCurveSegment(e.x,e.y,n),o.closePath(),o.fillStyle=t.penColor,o.fill()}_fromData(e,t,o){for(let n of e){let{points:e}=n,r=this._getPointGroupOptions(n);if(e.length>1)for(let o=0;o<e.length;o+=1){let n=e[o],i=new Point(n.x,n.y,n.pressure,n.time);0===o&&this._reset(r);let s=this._addPoint(i,r);s&&t(s,r)}else this._reset(r),o(e[0],r)}}toSVG({includeBackgroundColor:e=!1}={}){let t=this._data,o=Math.max(window.devicePixelRatio||1,1),n=this.canvas.width/o,r=this.canvas.height/o,i=document.createElementNS("http://www.w3.org/2000/svg","svg");if(i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("viewBox",`0 0 ${n} ${r}`),i.setAttribute("width",n.toString()),i.setAttribute("height",r.toString()),e&&this.backgroundColor){let e=document.createElement("rect");e.setAttribute("width","100%"),e.setAttribute("height","100%"),e.setAttribute("fill",this.backgroundColor),i.appendChild(e)}return this._fromData(t,(e,{penColor:t})=>{let o=document.createElement("path");if(!isNaN(e.control1.x)&&!isNaN(e.control1.y)&&!isNaN(e.control2.x)&&!isNaN(e.control2.y)){let n=`M ${e.startPoint.x.toFixed(3)},${e.startPoint.y.toFixed(3)} C ${e.control1.x.toFixed(3)},${e.control1.y.toFixed(3)} ${e.control2.x.toFixed(3)},${e.control2.y.toFixed(3)} ${e.endPoint.x.toFixed(3)},${e.endPoint.y.toFixed(3)}`;o.setAttribute("d",n),o.setAttribute("stroke-width",(2.25*e.endWidth).toFixed(3)),o.setAttribute("stroke",t),o.setAttribute("fill","none"),o.setAttribute("stroke-linecap","round"),i.appendChild(o)}},(e,{penColor:t,dotSize:o,minWidth:n,maxWidth:r})=>{let s=document.createElement("circle");s.setAttribute("r",(o>0?o:(n+r)/2).toString()),s.setAttribute("cx",e.x.toString()),s.setAttribute("cy",e.y.toString()),s.setAttribute("fill",t),i.appendChild(s)}),i.outerHTML}};
8var sB=(ey=function(e,t){return(ey=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ey(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_signaturepad_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},sq=function(e){function QuestionSignaturePadModel(t){var o=e.call(this,t)||this;return o.valueIsUpdatingInternally=!1,o._loadedData=void 0,o.updateValueHandler=function(){o._loadedData=void 0,o.scaleCanvas(!0,!0)},o}return sB(QuestionSignaturePadModel,e),QuestionSignaturePadModel.prototype.getPenColorFromTheme=function(){var e=this.survey;return!!e&&!!e.themeVariables&&e.themeVariables["--sjs-primary-backcolor"]},QuestionSignaturePadModel.prototype.updateColors=function(e){var t=this.getPenColorFromTheme(),o=this.getPropertyByName("penColor");e.penColor=this.penColor||t||o.defaultValue||"#1ab394";var n=this.getPropertyByName("backgroundColor"),r=t?"transparent":void 0,i=this.backgroundImage?"transparent":this.backgroundColor;e.backgroundColor=i||r||n.defaultValue||"#ffffff"},QuestionSignaturePadModel.prototype.getCssRoot=function(t){return new oY().append(e.prototype.getCssRoot.call(this,t)).append(t.small,"300"===this.signatureWidth.toString()).toString()},QuestionSignaturePadModel.prototype.getFormat=function(){return"jpeg"===this.dataFormat?"image/jpeg":"svg"===this.dataFormat?"image/svg+xml":""},QuestionSignaturePadModel.prototype.updateValue=function(){if(this.signaturePad){var e=this.signaturePad.toDataURL(this.getFormat());this.valueIsUpdatingInternally=!0,this.value=e,this.valueIsUpdatingInternally=!1}},QuestionSignaturePadModel.prototype.getType=function(){return"signaturepad"},QuestionSignaturePadModel.prototype.afterRenderQuestionElement=function(t){t&&(this.isDesignMode||this.initSignaturePad(t),this.element=t),e.prototype.afterRenderQuestionElement.call(this,t)},QuestionSignaturePadModel.prototype.beforeDestroyQuestionElement=function(e){e&&this.destroySignaturePad(e)},QuestionSignaturePadModel.prototype.themeChanged=function(e){this.signaturePad&&this.updateColors(this.signaturePad)},QuestionSignaturePadModel.prototype.resizeCanvas=function(){this.canvas.width=this.containerWidth,this.canvas.height=this.containerHeight},QuestionSignaturePadModel.prototype.scaleCanvas=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!1);var o=this.canvas,n=o.offsetWidth/this.containerWidth;(this.scale!=n||t)&&(this.scale=n,o.style.width=this.renderedCanvasWidth,this.resizeCanvas(),this.signaturePad.minWidth=this.penMinWidth*n,this.signaturePad.maxWidth=this.penMaxWidth*n,o.getContext("2d").scale(1/n,1/n),e&&this.loadPreview(this.value))},QuestionSignaturePadModel.prototype.fromUrl=function(e){var t=this;if(this.isFileLoading=!0,"string"==typeof e?/^data:((?:\w+\/(?:(?!;).)+)?)((?:;[^;]+?)*),(.+)$/.test(e):null)this.fromDataUrl(e),this.isFileLoading=!1;else{var o=new Image;o.crossOrigin="anonymous",o.src=e,o.onload=function(){if(t.canvas){var e=t8.createElement("canvas");e.width=t.containerWidth,e.height=t.containerHeight,e.getContext("2d").drawImage(o,0,0);var n=e.toDataURL(t.getFormat());t.fromDataUrl(n)}t.isFileLoading=!1},o.onerror=function(){t.isFileLoading=!1}}},QuestionSignaturePadModel.prototype.fromDataUrl=function(e){if(this._loadedData=e,this.signaturePad){var t=1,o=this.scale;"svg"===this.dataFormat&&(t=t6.getDevicePixelRatio()||1,o=1);var n={width:this.canvas.width*o/t,height:this.canvas.height*o/t};this.signaturePad.fromDataURL(e,n)}},Object.defineProperty(QuestionSignaturePadModel.prototype,"loadedData",{get:function(){return this._loadedData}
8,enumerable:!1,configurable:!0}),QuestionSignaturePadModel.prototype.loadPreview=function(e){var t=this;if(!e){this.signaturePad&&this.canvas&&(this.canvas.getContext("2d").clearRect(0,0,this.canvas.width*this.scale,this.canvas.height*this.scale),this.signaturePad.clear()),this.hasDrawnStroke=!1,this.valueWasChangedFromLastUpload=!1;return}if(this.storeDataAsText)this.fromDataUrl(e);else if(this.loadedData)this.fromDataUrl(this.loadedData);else{var o=e?[e]:[];this._previewLoader&&this._previewLoader.dispose(),this.isFileLoading=!0,this._previewLoader=new sC(this,function(o,n){"success"===o&&n&&n.length>0&&n[0].content?(t.fromDataUrl(n[0].content),t.isFileLoading=!1):"skipped"===o&&t.fromUrl(e),t._previewLoader.dispose(),t._previewLoader=void 0}),this._previewLoader.load(o)}},QuestionSignaturePadModel.prototype.onChangeQuestionValue=function(t){e.prototype.onChangeQuestionValue.call(this,t),this.isLoadingFromJson||(this._loadedData=void 0,this.loadPreview(t))},QuestionSignaturePadModel.prototype.onSurveyLoad=function(){e.prototype.onSurveyLoad.call(this),this.loadPreview(this.value)},QuestionSignaturePadModel.prototype.initSignaturePad=function(e){var t=this,o=e.getElementsByTagName("canvas")[0];this.canvas=o,this.resizeCanvas();var n=new SignaturePad(o,{backgroundColor:"#ffffff"});this.signaturePad=n,this.isInputReadOnly&&n.off(),this.readOnlyChangedCallback=function(){t.isInputReadOnly?n.off():n.on()},this.updateColors(n),n.addEventListener("beginStroke",function(){t.scaleCanvas(),t.hasDrawnStroke=!0,o.focus()},{once:!1}),n.addEventListener("endStroke",function(){t.storeDataAsText?t.updateValue():t.valueWasChangedFromLastUpload=!0},{once:!1}),this.updateValueHandler(),this.readOnlyChangedCallback();var propertyChangedHandler=function(e,o){"signatureWidth"!==o.name&&"signatureHeight"!==o.name||t.valueIsUpdatingInternally||t.updateValueHandler()};this.onPropertyChanged.add(propertyChangedHandler),this.signaturePad.propertyChangedHandler=propertyChangedHandler},QuestionSignaturePadModel.prototype.destroySignaturePad=function(e){this.signaturePad&&(this.onPropertyChanged.remove(this.signaturePad.propertyChangedHandler),this.signaturePad.off()),this.readOnlyChangedCallback=null,this.signaturePad=null},Object.defineProperty(QuestionSignaturePadModel.prototype,"dataFormat",{get:function(){return this.getPropertyValue("dataFormat")},set:function(e){this.setPropertyValue("dataFormat",correctFormatData(e))},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"signatureWidth",{get:function(){return this.getPropertyValue("signatureWidth")},set:function(e){this.setPropertyValue("signatureWidth",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"signatureHeight",{get:function(){return this.getPropertyValue("signatureHeight")},set:function(e){this.setPropertyValue("signatureHeight",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"containerHeight",{get:function(){return this.signatureHeight||200},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"containerWidth",{get:function(){return this.signatureWidth||300},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"renderedCanvasWidth",{get:function(){return this.signatureAutoScaleEnabled?"100%":this.containerWidth+"px"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"height",{get:function(){return this.getPropertyValue("height")},set:function(e){this.setPropertyValue("height",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"allowClear",{get:function(){return this.getPropertyValue("allowClear")},set:function(e){this.setPropertyValue("allowClear",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"canShowClearButton",{get:function(){var e=!this.nothingIsDrawn(),t=this.isUploading;return!this.isInputReadOnly&&this.allowClear&&e&&!t},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"penColor",{get:function(){return this.getPropertyValue("penColor")}
8,set:function(e){this.setPropertyValue("penColor",e),this.signaturePad&&this.updateColors(this.signaturePad)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"backgroundColor",{get:function(){return this.getPropertyValue("backgroundColor")},set:function(e){this.setPropertyValue("backgroundColor",e),this.signaturePad&&this.updateColors(this.signaturePad)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"backgroundImage",{get:function(){return this.getPropertyValue("backgroundImage")},set:function(e){this.setPropertyValue("backgroundImage",e),this.signaturePad&&this.updateColors(this.signaturePad)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"clearButtonCaption",{get:function(){return this.getLocalizationString("clearCaption")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionSignaturePadModel.prototype,"locRenderedPlaceholder",{get:function(){return this.isReadOnly?this.locPlaceholderReadOnly:this.locPlaceholder},enumerable:!1,configurable:!0}),QuestionSignaturePadModel.prototype.nothingIsDrawn=function(){var e=this.hasDrawnStroke,t=this.isEmpty(),o=this.isUploading,n=this.valueWasChangedFromLastUpload;return!e&&t&&!o&&!n},QuestionSignaturePadModel.prototype.needShowPlaceholder=function(){return this.showPlaceholder&&this.nothingIsDrawn()},QuestionSignaturePadModel.prototype.onBlurCore=function(t){if(e.prototype.onBlurCore.call(this,t),!this.storeDataAsText&&!this.element.contains(t.relatedTarget)){var o,n,r,i,s;this.valueWasChangedFromLastUpload&&(this.uploadFiles([(o=this.signaturePad.toDataURL(this.getFormat()),n=this.name+"."+correctFormatData(this.dataFormat),r=this.getFormat(),i=atob(o.split(",")[1]),s=new Uint8Array(i.split("").map(function(e){return e.charCodeAt(0)})).buffer,new File([s],n,{type:r}))]),this.valueWasChangedFromLastUpload=!1)}},QuestionSignaturePadModel.prototype.uploadResultItemToValue=function(e){return e.content},QuestionSignaturePadModel.prototype.setValueFromResult=function(e){this.valueIsUpdatingInternally=!0,this.value=(null==e?void 0:e.length)?e.map(function(e){return e.content})[0]:void 0,this.valueIsUpdatingInternally=!1},QuestionSignaturePadModel.prototype.clearValue=function(t){this.valueWasChangedFromLastUpload=!1,e.prototype.clearValue.call(this,t),this._loadedData=void 0,this.loadPreview(this.value)},QuestionSignaturePadModel.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),300===this.signatureWidth&&this.width&&"number"==typeof this.width&&this.width&&(oC.warn("Use signatureWidth property to set width for the signature pad"),this.signatureWidth=this.width,this.width=void 0),200===this.signatureHeight&&this.height&&(oC.warn("Use signatureHeight property to set width for the signature pad"),this.signatureHeight=this.height,this.height=void 0)},question_signaturepad_decorate([jsonobject_property({defaultValue:!1})],QuestionSignaturePadModel.prototype,"hasDrawnStroke",void 0),question_signaturepad_decorate([jsonobject_property({defaultValue:!1})],QuestionSignaturePadModel.prototype,"isReadyForUpload",void 0),question_signaturepad_decorate([jsonobject_property({defaultValue:!1})],QuestionSignaturePadModel.prototype,"valueWasChangedFromLastUpload",void 0),question_signaturepad_decorate([jsonobject_property()],QuestionSignaturePadModel.prototype,"signatureAutoScaleEnabled",void 0),question_signaturepad_decorate([jsonobject_property()],QuestionSignaturePadModel.prototype,"penMinWidth",void 0),question_signaturepad_decorate([jsonobject_property()],QuestionSignaturePadModel.prototype,"penMaxWidth",void 0),question_signaturepad_decorate([jsonobject_property({})],QuestionSignaturePadModel.prototype,"showPlaceholder",void 0),question_signaturepad_decorate([jsonobject_property({localizable:{defaultStr:"signaturePlaceHolder"}})],QuestionSignaturePadModel.prototype,"placeholder",void 0),question_signaturepad_decorate([jsonobject_property({localizable:{defaultStr:"signaturePlaceHolderReadOnly"}})],QuestionSignaturePadModel.prototype,"placeholderReadOnly",void 0),QuestionSignaturePadModel}(sv);function correctFormatData(e){return e||(e="png"),"jpeg"!==(e=e.replace("image/","").replace("+xml",""))&&"svg"!==e&&(e="png"),e}ov.addClass("signaturepad",[{name:"signatureWidth:number",category:"general",default:300},{name:"signatureHeight:number",category:"general",default:200},{name:"signatureAutoScaleEnabled:boolean",category:"general",default:!1},{name:"penMinWidth:number",category:"general",default:.5},{name:"penMaxWidth:number",category:"general",default:2.5},{name:"height:number",category:"general",visible:!1},{name:"allowClear:boolean",category:"general",default:!0},{name:"showPlaceholder:boolean",category:"general",default:!0},{name:"placeholder:text",serializationProperty:"locPlaceholder",category:"general",depen
8dsOn:"showPlaceholder",visibleIf:function(e){return e.showPlaceholder}},{name:"placeholderReadOnly:text",serializationProperty:"locPlaceholderReadOnly",category:"general",dependsOn:"showPlaceholder",visibleIf:function(e){return e.showPlaceholder}},{name:"backgroundImage:file",category:"general"},{name:"penColor:color",category:"general"},{name:"backgroundColor:color",category:"general"},{name:"dataFormat",category:"general",default:"png",choices:[{value:"png",text:"PNG"},{value:"jpeg",text:"JPEG"},{value:"svg",text:"SVG"}],onSettingValue:function(e,t){return correctFormatData(t)}},{name:"defaultValue",visible:!1},{name:"correctAnswer",visible:!1},{name:"storeDataAsText:boolean",default:!0},{name:"waitForUpload:boolean",default:!1}],function(){return new sq("")},"question"),rh.Instance.registerQuestion("signaturepad",function(e){return new sq(e)});var sN=(ev=function(e,t){return(ev=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ev(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_paneldynamic_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},question_paneldynamic_spreadArray=function(e,t){for(var o=0,n=t.length,r=e.length;o<n;o++,r++)e[r]=t[o];return e},sF=function(e){function QuestionPanelDynamicItemTextProcessor(t,o,n){var r=e.call(this,n)||this;return r.data=t,r.panelItem=o,r.variableName=n,r.sharedQuestions={},r}return sN(QuestionPanelDynamicItemTextProcessor,e),Object.defineProperty(QuestionPanelDynamicItemTextProcessor.prototype,"survey",{get:function(){return this.panelItem.getSurvey()},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicItemTextProcessor.prototype,"panel",{get:function(){return this.panelItem.panel},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicItemTextProcessor.prototype,"panelIndex",{get:function(){return this.data?this.data.getItemIndex(this.panelItem):-1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicItemTextProcessor.prototype,"visiblePanelIndex",{get:function(){return this.data?this.data.getVisibleItemIndex(this.panelItem):-1},enumerable:!1,configurable:!0}),QuestionPanelDynamicItemTextProcessor.prototype.getValues=function(){return this.panelItem.getAllValues()},QuestionPanelDynamicItemTextProcessor.prototype.getQuestionByName=function(t){var o=e.prototype.getQuestionByName.call(this,t);if(o)return o;var n=this.panelIndex,r=(o=n>-1?this.data.getSharedQuestionFromArray(t,n):void 0)?o.name:t;return this.sharedQuestions[r]=t,o},QuestionPanelDynamicItemTextProcessor.prototype.getQuestionDisplayText=function(t){var o=this.sharedQuestions[t.name];if(!o)return e.prototype.getQuestionDisplayText.call(this,t);var n=this.panelItem.getValue(o);return t.getDisplayValue(!0,n)},QuestionPanelDynamicItemTextProcessor.prototype.onCustomProcessText=function(e){if(e.name==sH.IndexVariableName){var t=this.panelIndex;if(t>-1)return e.isExists=!0,e.value=t+1,!0}if(e.name==sH.VisibleIndexVariableName){var t=this.visiblePanelIndex;if(t>-1)return e.isExists=!0,e.value=t+1,!0}if(0==e.name.toLowerCase().indexOf(sH.ParentItemVariableName+".")){var o=this.data;if(o&&o.parentQuestion&&o.parent&&o.parent.data){var n=new QuestionPanelDynamicItemTextProcessor(o.parentQuestion,o.parent.data,sH.ItemVariableName),r=sH.ItemVariableName+e.name.substring(sH.ParentItemVariableName.length),i=n.processValue(r,e.returnDisplayValue);e.isExists=i.isExists,e.value=i.value}return!0}return!1},QuestionPanelDynamicItemTextProcessor}(ri),sz=function(e){function PanelDynamicTabbedMenuItem(t){return e.call(this,t)||this}return sN(PanelDynamicTabbedMenuItem,e),PanelDynamicTabbedMenuItem}(ne),sH=function(){function QuestionPanelDynamicItem(e,t){this.data=e,this.panelValue=t,this.textPreProcessor=new sF(e,this,QuestionPanelDynamicItem.ItemVariableName),this.setSurveyImpl()}return Object.defineProperty(QuestionPanelDynamicItem.prototype,"panel",{get:function(){return this.panelValue}
vendor: 3,712 bytes, line 8
8,enumerable:!1,configurable:!0}),QuestionPanelDynamicItem.prototype.setSurveyImpl=function(){this.panel.setSurveyImpl(this)},QuestionPanelDynamicItem.prototype.getValue=function(e){return this.getAllValues()[e]},QuestionPanelDynamicItem.prototype.setValue=function(e,t){var o=this.data.getPanelItemData(this),n=o?o[e]:void 0;if(!oe.isTwoValueEquals(t,n,!1,!0,!1)){this.data.setPanelItemData(this,e,oe.getUnbindValue(t));for(var r=this.panel.questions,i=0;i<r.length;i++){var s=r[i];s.getValueName()!==e&&s.checkBindings(e,t);var a=nC.commentSuffix;if(e.endsWith(a)){e=e.substring(0,e.length-a.length);var l=this.panel.getQuestionByName(e);l&&(t=l.value)}var u=QuestionPanelDynamicItem.ItemVariableName+"."+e;s.runTriggers(u,t)}}},QuestionPanelDynamicItem.prototype.getVariable=function(e){},QuestionPanelDynamicItem.prototype.setVariable=function(e,t){},QuestionPanelDynamicItem.prototype.getComment=function(e){return this.getValue(e+nC.commentSuffix)||""},QuestionPanelDynamicItem.prototype.setComment=function(e,t,o){this.setValue(e+nC.commentSuffix,t)},QuestionPanelDynamicItem.prototype.findQuestionByName=function(e){if(e){var t=QuestionPanelDynamicItem.ItemVariableName+".";if(0===e.indexOf(t))return this.panel.getQuestionByName(e.substring(t.length));var o=this.getSurvey();return o?o.getQuestionByName(e):null}},QuestionPanelDynamicItem.prototype.getEditingSurveyElement=function(){},QuestionPanelDynamicItem.prototype.getAllValues=function(){return this.data.getPanelItemData(this)},QuestionPanelDynamicItem.prototype.getFilteredValues=function(){var e={},t=this.data&&this.data.getRootData()?this.data.getRootData().getFilteredValues():{};for(var o in t)e[o]=t[o];if(e[QuestionPanelDynamicItem.ItemVariableName]=this.getAllValues(),this.data){var n=QuestionPanelDynamicItem.IndexVariableName,r=QuestionPanelDynamicItem.VisibleIndexVariableName;delete e[n],delete e[r],e[n.toLowerCase()]=this.data.getItemIndex(this),e[r.toLowerCase()]=this.data.getVisibleItemIndex(this);var i=this.data;i&&i.parentQuestion&&i.parent&&(e[QuestionPanelDynamicItem.ParentItemVariableName]=i.parent.getValue())}return e},QuestionPanelDynamicItem.prototype.getFilteredProperties=function(){return this.data&&this.data.getRootData()?this.data.getRootData().getFilteredProperties():{survey:this.getSurvey()}},QuestionPanelDynamicItem.prototype.getSurveyData=function(){return this},QuestionPanelDynamicItem.prototype.getSurvey=function(){return this.data?this.data.getSurvey():null},QuestionPanelDynamicItem.prototype.getTextProcessor=function(){return this.textPreProcessor},QuestionPanelDynamicItem.ItemVariableName="panel",QuestionPanelDynamicItem.ParentItemVariableName="parentpanel",QuestionPanelDynamicItem.IndexVariableName="panelIndex",QuestionPanelDynamicItem.VisibleIndexVariableName="visiblePanelIndex",QuestionPanelDynamicItem}(),sU=function(){function QuestionPanelDynamicTemplateSurveyImpl(e){this.data=e}return QuestionPanelDynamicTemplateSurveyImpl.prototype.getSurveyData=function(){return null},QuestionPanelDynamicTemplateSurveyImpl.prototype.getSurvey=function(){return this.data.getSurvey()},QuestionPanelDynamicTemplateSurveyImpl.prototype.getTextProcessor=function(){return null},QuestionPanelDynamicTemplateSurveyImpl}(),sW=function(e){function QuestionPanelDynamicModel(t){var o=e.call(this,t)||this;return o._renderedPanels=[],o.isPanelsAnimationRunning=!1,o.isAddingNewPanels=!1,o.isSetPanelItemData={},o.createNewArray("panels",function(e){o.onPanelAdded(e)},function(e){o.onPanelRemoved(e)}),o.createNewArray("visiblePanels"),o.templateValue=o.createAndSetupNewPanelObject(),o.template.renderWidth="100%",o.template.selectedElementInDesign=o,o.template.addElementCallback=function(e){o.addOnPro
8pertyChangedCallback(e),o.rebuildPanels()},o.template.removeElementCallback=function(){o.rebuildPanels()},o.createLocalizableString("confirmDeleteText",o,!1,"confirmDelete"),o.createLocalizableString("keyDuplicationError",o,!1,!0),o.createLocalizableString("panelAddText",o,!1,"addPanel"),o.createLocalizableString("panelRemoveText",o,!1,"removePanel"),o.createLocalizableString("panelPrevText",o,!1,"pagePrevText"),o.createLocalizableString("panelNextText",o,!1,"pageNextText"),o.createLocalizableString("noEntriesText",o,!1,"noEntriesText"),o.createLocalizableString("templateTabTitle",o,!0,"panelDynamicTabTextFormat"),o.createLocalizableString("tabTitlePlaceholder",o,!0,"tabTitlePlaceholder"),o.registerPropertyChangedHandlers(["panelsState"],function(){o.setPanelsState()}),o.registerPropertyChangedHandlers(["newPanelPosition","displayMode","showProgressBar"],function(){o.updateFooterActions()}),o.registerPropertyChangedHandlers(["allowAddPanel"],function(){o.updateNoEntriesTextDefaultLoc()}),o.registerPropertyChangedHandlers(["minPanelCount"],function(){o.onMinPanelCountChanged()}),o.registerPropertyChangedHandlers(["maxPanelCount"],function(){o.onMaxPanelCountChanged()}),o}return sN(QuestionPanelDynamicModel,e),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isCompositeQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"hasSingleInput",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getFirstQuestionToFocus=function(e){for(var t=0;t<this.visiblePanelsCore.length;t++){var o=this.visiblePanelsCore[t].getFirstQuestionToFocus(e);if(o)return o}return this.showAddPanelButton&&(!e||this.currentErrorCount>0)?this:null},QuestionPanelDynamicModel.prototype.getFirstInputElementId=function(){return this.showAddPanelButton?this.addButtonId:e.prototype.getFirstInputElementId.call(this)},QuestionPanelDynamicModel.prototype.setSurveyImpl=function(t,o){e.prototype.setSurveyImpl.call(this,t,o),this.setTemplatePanelSurveyImpl(),this.setPanelsSurveyImpl()},QuestionPanelDynamicModel.prototype.assignOnPropertyChangedToTemplate=function(){for(var e=this.template.elements,t=0;t<e.length;t++)this.addOnPropertyChangedCallback(e[t])},QuestionPanelDynamicModel.prototype.addOnPropertyChangedCallback=function(e){var t=this;e.isQuestion&&e.setParentQuestion(this),e.onPropertyChanged.add(function(e,o){t.onTemplateElementPropertyChanged(e,o)}),e.isPanel&&(e.addElementCallback=function(e){t.addOnPropertyChangedCallback(e)})},QuestionPanelDynamicModel.prototype.onTemplateElementPropertyChanged=function(e,t){if(!this.isLoadingFromJson&&!this.useTemplatePanel&&0!=this.panelsCore.length&&ov.findProperty(e.getType(),t.name))for(var o=this.panelsCore,n=0;n<o.length;n++){var r=o[n].getQuestionByName(e.name);r&&r[t.name]!==t.newValue&&(r[t.name]=t.newValue)}},Object.defineProperty(QuestionPanelDynamicModel.prototype,"useTemplatePanel",{get:function(){return this.isDesignMode&&!this.isContentElement},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getType=function(){return"paneldynamic"},QuestionPanelDynamicModel.prototype.clearOnDeletingContainer=function(){this.panelsCore.forEach(function(e){e.clearOnDeletingContainer()})},Object.defineProperty(QuestionPanelDynamicModel.prototype,"isAllowTitleLeft",{get:function(){return!1},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.removeElement=function(e){return this.template.removeElement(e)},Object.defineProperty(QuestionPanelDynamicModel.prototype,"template",{get:function(){return this.templateValue},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getPanel=function(){return this.template},Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateElements",{get:function(){return this.template.elements},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateTitle",{get:function(){return this.template.title},set:function(e){this.template.title=e}
vendor: 4,473 bytes, line 8
8,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locTemplateTitle",{get:function(){return this.template.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateTabTitle",{get:function(){return this.locTemplateTabTitle.text},set:function(e){this.locTemplateTabTitle.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locTemplateTabTitle",{get:function(){return this.getLocalizableString("templateTabTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"tabTitlePlaceholder",{get:function(){return this.locTabTitlePlaceholder.text},set:function(e){this.locTabTitlePlaceholder.text=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locTabTitlePlaceholder",{get:function(){return this.getLocalizableString("tabTitlePlaceholder")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateDescription",{get:function(){return this.template.description},set:function(e){this.template.description=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locTemplateDescription",{get:function(){return this.template.locDescription},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateVisibleIf",{get:function(){return this.getPropertyValue("templateVisibleIf")},set:function(e){this.setPropertyValue("templateVisibleIf",e),this.template.visibleIf=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"items",{get:function(){for(var e=[],t=0;t<this.panelsCore.length;t++)e.push(this.panelsCore[t].data);return e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panels",{get:function(){return this.buildPanelsFirstTime(this.canBuildPanels),this.panelsCore},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"visiblePanels",{get:function(){return this.buildPanelsFirstTime(this.canBuildPanels),this.visiblePanelsCore},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelsCore",{get:function(){return this.getPropertyValue("panels")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"visiblePanelsCore",{get:function(){return this.getPropertyValue("visiblePanels")},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.onPanelAdded=function(e){if(this.onPanelRemovedCore(e),e.visible){for(var t=0,o=this.panelsCore,n=0;n<o.length&&o[n]!==e;n++)o[n].visible&&t++;this.visiblePanelsCore.splice(t,0,e),this.addTabFromToolbar(e,t),this.currentPanel||(this.currentPanel=e),this.updateRenderedPanels()}},QuestionPanelDynamicModel.prototype.onPanelRemoved=function(e){var t=this.onPanelRemovedCore(e);if(this.currentPanel===e){var o=this.visiblePanelsCore;t>=o.length&&(t=o.length-1),this.currentPanel=t>=0?o[t]:null}this.updateRenderedPanels()},QuestionPanelDynamicModel.prototype.onPanelRemovedCore=function(e){var t=this.visiblePanelsCore,o=t.indexOf(e);return o>-1&&(t.splice(o,1),this.removeTabFromToolbar(e)),o},Object.defineProperty(QuestionPanelDynamicModel.prototype,"currentIndex",{get:function(){return this.isRenderModeList?-1:this.useTemplatePanel?0:this.visiblePanelsCore.indexOf(this.currentPanel)},set:function(e){e<0||this.visiblePanelCount<1||(e>=this.visiblePanelCount&&(e=this.visiblePanelCount-1),this.currentPanel=this.visiblePanelsCore[e])},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"currentPanel",{get:function(){if(this.isDesignMode)return this.template;if(this.isRenderModeList||this.useTemplatePanel)return null;var e=this.getPropertyValue("currentPanel",null);return!e&&this.visiblePanelCount>0&&(e=this.visiblePanelsCore[0],this.currentPanel=e),e},set:function(e){if(!this.isRenderModeList&&!this.useTemplatePanel){var t=this.getPropertyValue("currentPanel"),o=e?this.visiblePanelsCore.indexOf(e):-1;(!e||!(o<0))&&e!==t&&(t&&t.onHidingContent(),this.setPropertyValue("currentPanel",e),this.updateRenderedPanels(),this.updateFooterActions(),this.updateTabToolbarItemsPressedState(),this.fireCallback(this.currentIndexChangedCallback),o>-1&&this.survey&&this.survey.dynamicPanelCurrentIndexChanged(this,{panel:e,visiblePanelIndex:o}))}}
8,enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.updateRenderedPanels=function(){this.isRenderModeList?this.renderedPanels=[].concat(this.visiblePanels):this.currentPanel?this.renderedPanels=[this.currentPanel]:this.renderedPanels=[]},Object.defineProperty(QuestionPanelDynamicModel.prototype,"renderedPanels",{get:function(){return this._renderedPanels},set:function(e){0==this.renderedPanels.length||0==e.length?(this.blockAnimations(),this.panelsAnimation.sync(e),this.releaseAnimations()):(this.isPanelsAnimationRunning=!0,this.panelsAnimation.sync(e))},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getPanelsAnimationOptions=function(){var e=this,getDirectionCssClass=function(){if(e.isRenderModeList)return"";var t=new oY,o=!1,n=e.renderedPanels.filter(function(t){return t!==e.currentPanel})[0],r=e.visiblePanels.indexOf(n);return r<0&&(o=!0,r=e.removedPanelIndex),t.append("sv-pd-animation-adding",!!e.focusNewPanelCallback).append("sv-pd-animation-removing",o).append("sv-pd-animation-left",r<=e.currentIndex).append("sv-pd-animation-right",r>e.currentIndex).toString()};return{getRerenderEvent:function(){return e.onElementRerendered},getAnimatedElement:function(t){var o,n;if(t&&e.cssContent){var r=classesToSelector(e.cssContent);return null===(n=null===(o=e.getWrapperElement())||void 0===o?void 0:o.querySelector(":scope "+r+" #"+t.id))||void 0===n?void 0:n.parentElement}},getEnterOptions:function(){return{onBeforeRunAnimation:function(t){if(e.focusNewPanelCallback){var o=e.isRenderModeList?t:t.parentElement;nm.ScrollElementToViewCore(o,!1,!1,{behavior:"smooth"})}!e.isRenderModeList&&t.parentElement?setPropertiesOnElementForAnimation(t.parentElement,{heightTo:t.offsetHeight+"px"}):prepareElementForVerticalAnimation(t)},onAfterRunAnimation:function(e){cleanHtmlElementAfterAnimation(e),e.parentElement&&cleanHtmlElementAfterAnimation(e.parentElement)},cssClass:new oY().append(e.cssClasses.panelWrapperEnter).append(getDirectionCssClass()).toString()}},getLeaveOptions:function(){return{onBeforeRunAnimation:function(t){!e.isRenderModeList&&t.parentElement?setPropertiesOnElementForAnimation(t.parentElement,{heightFrom:t.offsetHeight+"px"}):prepareElementForVerticalAnimation(t)},onAfterRunAnimation:function(e){cleanHtmlElementAfterAnimation(e),e.parentElement&&cleanHtmlElementAfterAnimation(e.parentElement)},cssClass:new oY().append(e.cssClasses.panelWrapperLeave).append(getDirectionCssClass()).toString()}},isAnimationEnabled:function(){return e.animationAllowed&&!!e.getWrapperElement()}}},QuestionPanelDynamicModel.prototype.disablePanelsAnimations=function(){this.panelsCore.forEach(function(e){e.blockAnimations()})},QuestionPanelDynamicModel.prototype.enablePanelsAnimations=function(){this.panelsCore.forEach(function(e){e.releaseAnimations()})},QuestionPanelDynamicModel.prototype.updatePanelsAnimation=function(){var e=this;this._panelsAnimations=new(this.isRenderModeList?nc:np)(this.getPanelsAnimationOptions(),function(t,o){e._renderedPanels=t,o||(e.isPanelsAnimationRunning=!1,e.focusNewPanel())},function(){return e._renderedPanels})},Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelsAnimation",{get:function(){return this._panelsAnimations||this.updatePanelsAnimation(),this._panelsAnimations},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.onHidingContent=function(){e.prototype.onHidingContent.call(this),this.currentPanel?this.currentPanel.onHidingContent():this.visiblePanelsCore.forEach(function(e){return e.onHidingContent()})},Object.defineProperty(QuestionPanelDynamicModel.prototype,"confirmDelete",{get:function(){return this.getPropertyValue("confirmDelete")},set:function(e){this.setPropertyValue("confirmDelete",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"keyName",{get:function(){return this.getPropertyValue("keyName","")},set:function(e){this.setPropertyValue("keyName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"confirmDeleteText",{get:function(){return this.getLocalizableStringText("confirmDeleteText")}
vendor: 9,035 bytes, line 8
8,set:function(e){this.setLocalizableStringText("confirmDeleteText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locConfirmDeleteText",{get:function(){return this.getLocalizableString("confirmDeleteText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"keyDuplicationError",{get:function(){return this.getLocalizableStringText("keyDuplicationError")},set:function(e){this.setLocalizableStringText("keyDuplicationError",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locKeyDuplicationError",{get:function(){return this.getLocalizableString("keyDuplicationError")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelPrevText",{get:function(){return this.getLocalizableStringText("panelPrevText")},set:function(e){this.setLocalizableStringText("panelPrevText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locPanelPrevText",{get:function(){return this.getLocalizableString("panelPrevText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelNextText",{get:function(){return this.getLocalizableStringText("panelNextText")},set:function(e){this.setLocalizableStringText("panelNextText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locPanelNextText",{get:function(){return this.getLocalizableString("panelNextText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelAddText",{get:function(){return this.getLocalizableStringText("panelAddText")},set:function(e){this.setLocalizableStringText("panelAddText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locPanelAddText",{get:function(){return this.getLocalizableString("panelAddText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelRemoveText",{get:function(){return this.getLocalizableStringText("panelRemoveText")},set:function(e){this.setLocalizableStringText("panelRemoveText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locPanelRemoveText",{get:function(){return this.getLocalizableString("panelRemoveText")},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isProgressTopShowing",{get:function(){return"carousel"==this.displayMode&&("top"===this.progressBarLocation||"topBottom"===this.progressBarLocation)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isProgressBottomShowing",{get:function(){return"carousel"==this.displayMode&&("bottom"===this.progressBarLocation||"topBottom"===this.progressBarLocation)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isPrevButtonVisible",{get:function(){return this.currentIndex>0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isPrevButtonShowing",{get:function(){return this.isPrevButtonVisible},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isNextButtonVisible",{get:function(){return this.currentIndex>=0&&this.currentIndex<this.visiblePanelCount-1},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isNextButtonShowing",{get:function(){return this.isNextButtonVisible},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isRangeShowing",{get:function(){return this.showRangeInProgress&&this.currentIndex>=0&&this.visiblePanelCount>1},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getElementsInDesign=function(e){return void 0===e&&(e=!1),e?[this.template]:this.templateElements},QuestionPanelDynamicModel.prototype.prepareValueForPanelCreating=function(){this.addingNewPanelsValue=this.value,this.isAddingNewPanels=!0,this.isNewPanelsValueChanged=!1},QuestionPanelDynamicModel.prototype.setValueAfterPanelsCreating=function(){this.isAddingNewPanels=!1,this.isNewPanelsValueChanged&&(this.isValueChangingInternally=!0,this.value=this.addingNewPanelsValue,this.isValueChangingInternally=!1)},QuestionPanelDynamicModel.prototype.getValueCore=function(){return this.isAddingNewPanels?this.addingNewPanelsValue:e.prototype.getValueCore.call(this)},QuestionPanelDynamicModel.prototype.setValueCore=function(t){this.isAddingNewPanels?(this.isNewPanelsValueChanged=!0,this.addingNewPanelsValue=t):e.prototype.setValueCore.call(this,t)},QuestionPanelDynamicModel.prototype.setIsMobile=function(t){e.prototype.setIsMobile.call(this,t),(this.panelsCore||[]).forEach(function(e){return e.getQuestions(!0).forEach(function(e){e.setIsMobile(t)})})},QuestionPanelDynamicModel.prototype.themeChanged=function(t){e.prototype.themeChanged.call(this,t),(this.panelsCore||[]).forEach(function(e){return e.getQuestions(!0).forEach(function(e){e.themeChanged(t)})})},Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelCount",{get:function(){return!this.canBuildPanels||this.wasNotRenderedInSurvey?this.getPropertyValue("panelCount"):this.panelsCore.length},set:function(e){if(!(e<0)){if(!this.canBuildPanels||this.wasNotRenderedInSurvey){this.setPropertyValue("panelCount",e),this.updateFooterActions();return}if(e!=this.panelsCore.length&&!this.useTemplatePanel){this.updateBindings("panelCount",e),this.prepareValueForPanelCreating();for(var t=this.panelCount;t<e;t++){var o=this.createNewPanel();this.panelsCore.push(o),"list"==this.displayMode&&"default"!=this.panelsState&&("expanded"===this.panelsState?o.expand():o.title&&o.collapse())}e<this.panelCount&&this.panelsCore.splice(e,this.panelCount-e),this.disablePanelsAnimations(),this.setValueAfterPanelsCreating(),this.setValueBasedOnPanelCount(),this.reRunCondition(),this.updateFooterActions(),this.fireCallback(this.panelCountChangedCallback),this.enablePanelsAnimations()}}},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"visiblePanelCount",{get:function(){return this.visiblePanels.length},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelsState",{get:function(){return this.getPropertyValue("panelsState")},set:function(e){this.setPropertyValue("panelsState",e)},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.setTemplatePanelSurveyImpl=function(){this.template.setSurveyImpl(this.useTemplatePanel?this.surveyImpl:new sU(this))},QuestionPanelDynamicModel.prototype.setPanelsSurveyImpl=function(){for(var e=0;e<this.panelsCore.length;e++){var t=this.panelsCore[e];t!=this.template&&t.setSurveyImpl(t.data)}},QuestionPanelDynamicModel.prototype.setPanelsState=function(){if(!this.useTemplatePanel&&"list"==this.displayMode&&this.templateTitle)for(var e=0;e<this.panelsCore.length;e++){var t=this.panelsState;"firstExpanded"===t&&(t=0===e?"expanded":"collapsed"),this.panelsCore[e].state=t}},QuestionPanelDynamicModel.prototype.setValueBasedOnPanelCount=function(){var e=this.value;if(e&&Array.isArray(e)||(e=[]),e.length!=this.panelCount){for(var t=e.length;t<this.panelCount;t++){var o=this.panels[t].getValue(),n=oe.isValueEmpty(o)?{}:o;e.push(n)}e.length>this.panelCount&&e.splice(this.panelCount,e.length-this.panelCount),this.isValueChangingInternally=!0,this.value=e,this.isValueChangingInternally=!1}},Object.defineProperty(QuestionPanelDynamicModel.prototype,"minPanelCount",{get:function(){return this.getPropertyValue("minPanelCount")},set:function(e){e<0&&(e=0),this.setPropertyValue("minPanelCount",e)},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.onMinPanelCountChanged=function(){var e=this.minPanelCount;e>this.maxPanelCount&&(this.maxPanelCount=e),this.panelCount<e&&(this.panelCount=e)},Object.defineProperty(QuestionPanelDynamicModel.prototype,"maxPanelCount",{get:function(){return this.getPropertyValue("maxPanelCount")},set:function(e){e<=0||(e>nC.panel.maxPanelCount&&(e=nC.panel.maxPanelCount),this.setPropertyValue("maxPanelCount",e),this.updateFooterActions())},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.onMaxPanelCountChanged=function(){var e=this.maxPanelCount;e<this.minPanelCount&&(this.minPanelCount=e),this.panelCount>e&&(this.panelCount=e),this.updateFooterActions()},Object.defineProperty(QuestionPanelDynamicModel.prototype,"allowAddPanel",{get:function(){return this.getPropertyValue("allowAddPanel")},set:function(e){this.setPropertyValue("allowAddPanel",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"addButtonId",{get:function(){return this.id+"addPanel"},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"newPanelPosition",{get:function(){return this.getPropertyValue("newPanelPosition")},set:function(e){this.setPropertyValue("newPanelPosition",e)}
8,enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"allowRemovePanel",{get:function(){return this.getPropertyValue("allowRemovePanel")},set:function(e){this.setPropertyValue("allowRemovePanel",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateTitleLocation",{get:function(){return this.getPropertyValue("templateTitleLocation")},set:function(e){this.setPropertyValue("templateTitleLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"templateErrorLocation",{get:function(){return this.getPropertyValue("templateErrorLocation")},set:function(e){this.setPropertyValue("templateErrorLocation",e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"showQuestionNumbers",{get:function(){return this.getPropertyValue("showQuestionNumbers")},set:function(e){this.setPropertyValue("showQuestionNumbers",e),!this.isLoadingFromJson&&this.survey&&this.survey.questionVisibilityChanged(this,this.visible,!0)},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.notifySurveyOnChildrenVisibilityChanged=function(){return"onSurvey"===this.showQuestionNumbers},Object.defineProperty(QuestionPanelDynamicModel.prototype,"panelRemoveButtonLocation",{get:function(){return this.getPropertyValue("panelRemoveButtonLocation")},set:function(e){this.setPropertyValue("panelRemoveButtonLocation",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"showRangeInProgress",{get:function(){return this.showProgressBar},set:function(e){this.showProgressBar=e},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"renderMode",{get:function(){var e=this.displayMode;if("carousel"==e){var t=this.progressBarLocation;if("top"==t)return"progressTop";if("bottom"==t)return"progressBottom";if("topBottom"==t)return"progressTopBottom"}return e},set:function(e){(e||"").startsWith("progress")?("progressTop"==e?this.progressBarLocation="top":"progressBottom"==e?this.progressBarLocation="bottom":"progressTopBottom"==e&&(this.progressBarLocation="topBottom"),this.displayMode="carousel"):this.displayMode=e},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.updatePanelView=function(){this.blockAnimations(),this.updateRenderedPanels(),this.releaseAnimations(),this.updatePanelsAnimation()},Object.defineProperty(QuestionPanelDynamicModel.prototype,"tabAlign",{get:function(){return this.getPropertyValue("tabAlign")},set:function(e){this.setPropertyValue("tabAlign",e),this.isRenderModeTab&&(this.tabbedMenu.containerCss=this.getTabbedMenuCss())},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isRenderModeList",{get:function(){return"list"===this.displayMode},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"isRenderModeTab",{get:function(){return"tab"===this.displayMode},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.setVisibleIndex=function(t){if(!this.isVisible)return 0;for(var o="onSurvey"===this.showQuestionNumbers,n=o?t:0,r=this.isDesignMode?[this.template]:this.visiblePanelsCore,i=0;i<r.length;i++){var s=this.setPanelVisibleIndex(r[i],n,"off"!=this.showQuestionNumbers);o&&(n+=s)}return e.prototype.setVisibleIndex.call(this,o?-1:t),o?n-t:1},QuestionPanelDynamicModel.prototype.setPanelVisibleIndex=function(e,t,o){return o?e.setVisibleIndex(t):(e.setVisibleIndex(-1),0)},Object.defineProperty(QuestionPanelDynamicModel.prototype,"canAddPanel",{get:function(){return!this.isDesignMode&&(!this.isDefaultV2Theme||!!this.legacyNavigation||!!this.isRenderModeList||!(this.currentIndex<this.visiblePanelCount-1)||"next"===this.newPanelPosition)&&this.allowAddPanel&&!this.isReadOnly&&this.panelCount<this.maxPanelCount},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"canRemovePanel",{get:function(){return!this.isDesignMode&&this.allowRemovePanel&&!this.isReadOnly&&this.panelCount>this.minPanelCount}
vendor: 4,291 bytes, line 8
8,enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.rebuildPanels=function(){if(!this.isLoadingFromJson){this.prepareValueForPanelCreating();var e,t=[];if(this.useTemplatePanel)new sH(this,this.template),t.push(this.template);else for(var o=0;o<this.panelCount;o++)this.createNewPanel(),t.push(this.createNewPanel());(e=this.panelsCore).splice.apply(e,question_paneldynamic_spreadArray([0,this.panelsCore.length],t)),this.setValueAfterPanelsCreating(),this.setPanelsState(),this.reRunCondition(),this.updateFooterActions(),this.fireCallback(this.panelCountChangedCallback),this.updateTabToolbar()}},Object.defineProperty(QuestionPanelDynamicModel.prototype,"defaultPanelValue",{get:function(){return this.getPropertyValue("defaultPanelValue")},set:function(e){this.setPropertyValue("defaultPanelValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"defaultValueFromLastPanel",{get:function(){return this.getPropertyValue("defaultValueFromLastPanel")},set:function(e){this.setPropertyValue("defaultValueFromLastPanel",e)},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.isDefaultValueEmpty=function(){return e.prototype.isDefaultValueEmpty.call(this)&&this.isValueEmpty(this.defaultPanelValue)},QuestionPanelDynamicModel.prototype.setDefaultValue=function(){if(this.isValueEmpty(this.defaultPanelValue)||!this.isValueEmpty(this.defaultValue)){e.prototype.setDefaultValue.call(this);return}if(this.isEmpty()&&0!=this.panelCount){for(var t=[],o=0;o<this.panelCount;o++)t.push(this.defaultPanelValue);this.value=t}},Object.defineProperty(QuestionPanelDynamicModel.prototype,"isValueArray",{get:function(){return!0},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.isEmpty=function(){var e=this.value;if(!e||!Array.isArray(e))return!0;for(var t=0;t<e.length;t++)if(!this.isRowEmpty(e[t]))return!1;return!0},QuestionPanelDynamicModel.prototype.getProgressInfo=function(){return nm.getProgressInfoByElements(this.visiblePanelsCore,this.isRequired)},QuestionPanelDynamicModel.prototype.isRowEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},QuestionPanelDynamicModel.prototype.addPanelUI=function(){if(!this.canAddPanel||!this.canLeaveCurrentPanel())return null;var e=this.addPanel();return"list"===this.displayMode&&"default"!==this.panelsState&&e.expand(),this.focusNewPanelCallback=function(){e.focusFirstQuestion()},this.isPanelsAnimationRunning||this.focusNewPanel(),e},QuestionPanelDynamicModel.prototype.focusNewPanel=function(){this.focusNewPanelCallback&&(this.focusNewPanelCallback(),this.focusNewPanelCallback=void 0)},QuestionPanelDynamicModel.prototype.addPanel=function(e){var t=this.currentIndex;return void 0===e&&(e=t<0?this.panelCount:t+1),(e<0||e>this.panelCount)&&(e=this.panelCount),this.updateValueOnAddingPanel(t<0?this.panelCount-1:t,e),this.isRenderModeList||(this.currentIndex=e),this.notifyOnPanelAddedRemoved(!0,e),this.panelsCore[e]},QuestionPanelDynamicModel.prototype.updateValueOnAddingPanel=function(e,t){this.panelCount++;var o=this.value;if(Array.isArray(o)&&o.length===this.panelCount){var n=!1,r=this.panelCount-1;if(t<r){n=!0;var i=o[r];o.splice(r,1),o.splice(t,0,i)}if(this.isValueEmpty(this.defaultPanelValue)||(n=!0,this.copyValue(o[t],this.defaultPanelValue)),this.defaultValueFromLastPanel&&o.length>1){var s=e>-1&&e<=r?e:r;n=!0,this.copyValue(o[t],o[s])}n&&(this.value=o)}},QuestionPanelDynamicModel.prototype.canLeaveCurrentPanel=function(){return!("list"!==this.displayMode&&this.currentPanel&&this.currentPanel.hasErrors(!0,!0))},QuestionPanelDynamicModel.prototype.copyValue=function(e,t){for(var o in t)e[o]=t[o]},QuestionPanelDynamicModel.prototype.removePanelUI=function(e){var t=this,o=this.getVisualPanelIndex(e);if(!(o<0)&&!(o>=this.visiblePanelCount)&&this.canRemovePanel){var removePanel=function(){t.removePanel(o);var e,n=t.visiblePanelCount,r=o>=n?n-1:o,i=0===n?t.addButtonId:r>-1?t.getPanelRemoveButtonId(t.visiblePanels[r]):"";i&&nm.FocusElement(i,!0,null===(e=t.survey)||void 0===e?void 0:e.rootElement)};this.isRequireConfirmOnDelete(e)?confirmActionAsync({message:this.confirmDeleteText,funcOnYes:function(){removePanel()},locale:this.getLocale(),rootElement:this.survey.rootElement,cssClass:this.cssClasse
8s.confirmDialog}):removePanel()}},QuestionPanelDynamicModel.prototype.getPanelRemoveButtonId=function(e){return e.id+"_remove_button"},QuestionPanelDynamicModel.prototype.isRequireConfirmOnDelete=function(e){if(!this.confirmDelete)return!1;var t=this.getVisualPanelIndex(e);if(t<0||t>=this.visiblePanelCount)return!1;var o=this.visiblePanelsCore[t].getValue();return!this.isValueEmpty(o)&&(this.isValueEmpty(this.defaultPanelValue)||!this.isTwoValueEquals(o,this.defaultPanelValue))},QuestionPanelDynamicModel.prototype.goToNextPanel=function(){return!(this.currentIndex<0)&&!!this.canLeaveCurrentPanel()&&(this.currentIndex++,!0)},QuestionPanelDynamicModel.prototype.goToPrevPanel=function(){!(this.currentIndex<0)&&this.currentIndex--},QuestionPanelDynamicModel.prototype.removePanel=function(e){var t=this.getVisualPanelIndex(e);if(!(t<0)&&!(t>=this.visiblePanelCount)){this.removedPanelIndex=t;var o=this.visiblePanelsCore[t],n=this.panelsCore.indexOf(o);if(!(n<0)&&(!this.survey||this.survey.dynamicPanelRemoving(this,n,o))){this.panelsCore.splice(n,1),this.updateBindings("panelCount",this.panelCount);var e=this.value;e&&Array.isArray(e)&&!(n>=e.length)?(this.isValueChangingInternally=!0,e.splice(n,1),this.value=e,this.updateFooterActions(),this.fireCallback(this.panelCountChangedCallback),this.notifyOnPanelAddedRemoved(!1,n,o),this.isValueChangingInternally=!1):this.updateFooterActions()}}},QuestionPanelDynamicModel.prototype.notifyOnPanelAddedRemoved=function(e,t,o){if(o||(o=this.panelsCore[t]),this.survey){var n="onSurvey"===this.showQuestionNumbers;e?this.survey.dynamicPanelAdded(this,t,o,n):this.survey.dynamicPanelRemoved(this,t,o,n)}e&&o&&"onPanel"===this.showQuestionNumbers&&o.setVisibleIndex(0)},QuestionPanelDynamicModel.prototype.getVisualPanelIndex=function(e){if(oe.isNumber(e))return e;for(var t=this.visiblePanelsCore,o=0;o<t.length;o++)if(t[o]===e||t[o].data===e)return o;return -1},QuestionPanelDynamicModel.prototype.getPanelVisibleIndexById=function(e){for(var t=this.visiblePanelsCore,o=0;o<t.length;o++)if(t[o].id===e)return o;return -1},QuestionPanelDynamicModel.prototype.locStrsChanged=function(){e.prototype.locStrsChanged.call(this);for(var t=this.panelsCore,o=0;o<t.length;o++)t[o].locStrsChanged();this.tabbedMenu&&this.tabbedMenu.locStrsChanged()},QuestionPanelDynamicModel.prototype.clearIncorrectValues=function(){for(var e=0;e<this.panelsCore.length;e++)this.clearIncorrectValuesInPanel(e)},QuestionPanelDynamicModel.prototype.clearErrors=function(){e.prototype.clearErrors.call(this);for(var t=0;t<this.panelsCore.length;t++)this.panelsCore[t].clearErrors()},QuestionPanelDynamicModel.prototype.getQuestionFromArray=function(e,t){return t<0||t>=this.panelsCore.length?null:this.panelsCore[t].getQuestionByName(e)},QuestionPanelDynamicModel.prototype.clearIncorrectValuesInPanel=function(e){var t=this.panelsCore[e];t.clearIncorrectValues();var o=this.value,n=o&&e<o.length?o[e]:null;if(n){var r=!1;for(var i in n)!(this.getSharedQuestionFromArray(i,e)||t.getQuestionByValueName(i))&&(this.iscorrectValueWithPostPrefix(t,i,nC.commentSuffix)||this.iscorrectValueWithPostPrefix(t,i,nC.matrix.totalsSuffix)||(delete n[i],r=!0));r&&(o[e]=n,this.value=o)}},QuestionPanelDynamicModel.prototype.iscorrectValueWithPostPrefix=function(e,t,o){return t.indexOf(o)===t.length-o.length&&!!e.getQuestionByName(t.substring(0,t.indexOf(o)))},QuestionPanelDynamicModel.prototype.getSharedQuestionFromArray=function(e,t){return this.survey&&this.valueName?this.survey.getQuestionByValueNameFromArray(this.valueName,e,t):null},QuestionPanelDynamicModel.prototype.addConditionObjectsByContext=function(e,t){for(var o=(null==t?void 0:t.isValidator)?t.errorOwner:t,n=!!t&&(!0===t||this.template.questions.indexOf(o)>-1),r=[],i=this.template.questions,s=0;s<i.length;s++)i[s].addConditionObjectsByContext(r,t);for(var a=0;a<nC.panel.maxPanelCountInCondition;a++)for(var l="["+a+"].",u=this.getValueName()+l,c=this.processedTitle+l,s=0;s<r.length;s++)r[s].context?e.push(r[s]):e.push({name:u+r[s].name,text:c+r[s].text,question:r[s].question});if(n){for(var u=!0===t?this.getValueName()+".":"",c=!0===t?this.processedTitle+"."
vendor: 9,238 bytes, line 8
8:"",s=0;s<r.length;s++)if(r[s].question!=t){var p={name:u+sH.ItemVariableName+"."+r[s].name,text:c+sH.ItemVariableName+"."+r[s].text,question:r[s].question};p.context=this,e.push(p)}}},QuestionPanelDynamicModel.prototype.collectNestedQuestionsCore=function(e,t,o){o&&e.push(this);var n=t?this.visiblePanelsCore:this.panelsCore;Array.isArray(n)&&n.forEach(function(n){n.questions.forEach(function(n){return n.collectNestedQuestions(e,t,o)})})},QuestionPanelDynamicModel.prototype.getConditionJson=function(t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),!o)return e.prototype.getConditionJson.call(this,t);var n=o,r=o.indexOf(".");r>-1&&(n=o.substring(0,r),o=o.substring(r+1));var i=this.template.getQuestionByName(n);return i?i.getConditionJson(t,o):null},QuestionPanelDynamicModel.prototype.onReadOnlyChanged=function(){var t=this.isReadOnly;this.template.readOnly=t;for(var o=0;o<this.panelsCore.length;o++)this.panelsCore[o].readOnly=t;this.updateNoEntriesTextDefaultLoc(),this.updateFooterActions(),e.prototype.onReadOnlyChanged.call(this)},QuestionPanelDynamicModel.prototype.updateNoEntriesTextDefaultLoc=function(){var e=this.getLocalizableString("noEntriesText");e&&(e.localizationName=this.isReadOnly||!this.allowAddPanel?"noEntriesReadonlyText":"noEntriesText")},QuestionPanelDynamicModel.prototype.onSurveyLoad=function(){this.template.readOnly=this.isReadOnly,this.template.onSurveyLoad(),this.panelCount<this.minPanelCount&&(this.panelCount=this.minPanelCount),this.panelCount>this.maxPanelCount&&(this.panelCount=this.maxPanelCount),this.buildPanelsFirstTime(),e.prototype.onSurveyLoad.call(this)},QuestionPanelDynamicModel.prototype.buildPanelsFirstTime=function(e){if(void 0===e&&(e=!1),!this.hasPanelBuildFirstTime&&(e||!this.wasNotRenderedInSurvey)){if(this.blockAnimations(),this.hasPanelBuildFirstTime=!0,this.isBuildingPanelsFirstTime=!0,this.getPropertyValue("panelCount")>0&&(this.panelCount=this.getPropertyValue("panelCount")),this.useTemplatePanel&&this.rebuildPanels(),this.setPanelsSurveyImpl(),this.setPanelsState(),this.assignOnPropertyChangedToTemplate(),this.data&&this.isValueChangedWithoutPanels&&(this.isValueChangedWithoutPanels=!1,this.runTriggersOnBuildPanelsFirstTime()),this.survey)for(var t=0;t<this.panelCount;t++)this.notifyOnPanelAddedRemoved(!0,t);this.updateIsReady(),this.showAddPanelButton||this.updateNoEntriesTextDefaultLoc(),this.updateFooterActions(),this.isBuildingPanelsFirstTime=!1,this.releaseAnimations()}},QuestionPanelDynamicModel.prototype.runTriggersOnBuildPanelsFirstTime=function(){var e=this;this.value,this.visiblePanelsCore.forEach(function(t){var o=e.getPanelItemData(t.data);if(!oe.isValueEmpty(o)){var n=oe.createCopyWithPrefix(o,sH.ItemVariableName+".");t.questions.forEach(function(e){return e.runTriggers("",void 0,n)})}})},Object.defineProperty(QuestionPanelDynamicModel.prototype,"showAddPanelButton",{get:function(){return this.allowAddPanel&&!this.isReadOnly},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"wasNotRenderedInSurvey",{get:function(){return!this.hasPanelBuildFirstTime&&!this.wasRendered&&!!this.survey},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"canBuildPanels",{get:function(){return!this.isLoadingFromJson&&!this.useTemplatePanel},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.onFirstRenderingCore=function(){e.prototype.onFirstRenderingCore.call(this),this.buildPanelsFirstTime(),this.template.onFirstRendering();for(var t=0;t<this.panelsCore.length;t++)this.panelsCore[t].onFirstRendering()},QuestionPanelDynamicModel.prototype.localeChanged=function(){e.prototype.localeChanged.call(this);for(var t=0;t<this.panelsCore.length;t++)this.panelsCore[t].localeChanged()},QuestionPanelDynamicModel.prototype.runCondition=function(t,o){e.prototype.runCondition.call(this,t,o),this.runPanelsCondition(this.panelsCore,t,o)},QuestionPanelDynamicModel.prototype.runTriggers=function(t,o,n){e.prototype.runTriggers.call(this,t,o,n),this.visiblePanelsCore.forEach(function(e){e.questions.forEach(function(e){return e.runTriggers(t,o,n)})})},QuestionPanelDynamicModel.prototype.reRunCondition=function(){this.data&&this.runCondition(this.getDataFilteredValues(),this.getDataFilteredProperties())},QuestionPanelDynamicModel.prototype.runPanelsCondition=function(e,t,o){var n={};t&&t instanceof Object&&(n=JSON.parse(JSON.stringify(t))),this.parentQuestion&&this.parent&&(n[sH.ParentItemVariableName]=this.parent.getValue()),this.isValueChangingInternally=!0;for(var r=0,i=0;i<e.length;i++){var s=e[i],a=this.getPanelItemData(s.data),l=oe.createCopy(n),u=sH.ItemVariableName;l[u]=a,l[sH.IndexVariableName.toLowerCase()]=i,l[sH.VisibleIndexVariableName.toLowerCase()]=r;var c=oe.createCopy(o);c[u]=s,s.runCondition(l,c),s.isVisible&&r++}this.isValueChangingInternally=!1},QuestionPanelDynamicModel.prototype.onAnyValueChanged=function(t,o){e.prototype.onAnyValueChanged.call(this,t,o),this.hasPanelBuildFirstTime||t!==this.getValueName()||(this.isValueChangedWithoutPanels=!0);for(var n=0;n<this.panelsCore.length;n++)this.panelsCore[n].onAnyValueChanged(t,o),this.panelsCore[n].onAnyValueChanged(sH.ItemVariableName,"")},QuestionPanelDynamicModel.prototype.hasKeysDuplicated=function(e,t){void 0===t&&(t=null);for(var o,n=[],r=0;r<this.panelsCore.length;r++)o=this.isValueDuplicated(this.panelsCore[r],n,t,e)||o;return o},QuestionPanelDynamicModel.prototype.updatePanelsContainsErrors=function(){for(var e=this.changingValueQuestion.parent;e;)e.updateContainsErrors(),e=e.parent;this.updateContainsErrors()},QuestionPanelDynamicModel.prototype.hasErrors=function(t,o){if(void 0===t&&(t=!0),void 0===o&&(o=null),this.isValueChangingInternally||this.isBuildingPanelsFirstTime)return!1;var n=!1;if(this.changingValueQuestion){var n=this.changingValueQuestion.hasErrors(t,o);n=this.hasKeysDuplicated(t,o)||n,this.updatePanelsContainsErrors()}else n=this.hasErrorInPanels(t,o);return e.prototype.hasErrors.call(this,t,o)||n},QuestionPanelDynamicModel.prototype.getContainsErrors=function(){var t=e.prototype.getContainsErrors.call(this);if(t)return t;for(var o=this.panelsCore,n=0;n<o.length;n++)if(o[n].containsErrors)return!0;return!1},QuestionPanelDynamicModel.prototype.getIsAnswered=function(){if(!e.prototype.getIsAnswered.call(this))return!1;for(var t=this.visiblePanelsCore,o=0;o<t.length;o++){var n=[];t[o].addQuestionsToList(n,!0);for(var r=0;r<n.length;r++)if(!n[r].isAnswered)return!1}return!0},QuestionPanelDynamicModel.prototype.clearValueOnHidding=function(t){if(!t){if(this.survey&&"none"===this.survey.getQuestionClearIfInvisible("onHidden"))return;this.clearValueInPanelsIfInvisible("onHiddenContainer")}e.prototype.clearValueOnHidding.call(this,t)},QuestionPanelDynamicModel.prototype.clearValueIfInvisible=function(t){void 0===t&&(t="onHidden");var o="onHidden"===t?"onHiddenContainer":t;this.clearValueInPanelsIfInvisible(o),e.prototype.clearValueIfInvisible.call(this,t)},QuestionPanelDynamicModel.prototype.clearValueInPanelsIfInvisible=function(e){for(var t=0;t<this.panelsCore.length;t++){var o=this.panelsCore[t],n=o.questions;this.isSetPanelItemData={};for(var r=0;r<n.length;r++){var i=n[r];(!i.visible||o.isVisible)&&(i.clearValueIfInvisible(e),this.isSetPanelItemData[i.getValueName()]=this.maxCheckCount+1)}}this.isSetPanelItemData={}},QuestionPanelDynamicModel.prototype.getIsRunningValidators=function(){if(e.prototype.getIsRunningValidators.call(this))return!0;for(var t=0;t<this.panelsCore.length;t++)for(var o=this.panelsCore[t].questions,n=0;n<o.length;n++)if(o[n].isRunningValidators)return!0;return!1},QuestionPanelDynamicModel.prototype.getAllErrors=function(){for(var t=e.prototype.getAllErrors.call(this),o=this.visiblePanelsCore,n=0;n<o.length;n++)for(var r=o[n].questions,i=0;i<r.length;i++){var s=r[i].getAllErrors();s&&s.length>0&&(t=t.concat(s))}return t},QuestionPanelDynamicModel.prototype.getDisplayValueCore=function(e,t){var o=this.getUnbindValue(t);if(!o||!Array.isArray(o))return o;for(var n=0;n<this.panelsCore.length&&n<o.length;n++){var r=o[n];r&&(o[n]=this.getPanelDisplayValue(n,r,e))}return o},QuestionPanelDynamicModel.prototype.getPanelDisplayValue=function(e,t,o){if(!t)return t;for(var n=this.panelsCore[e],r=Object.keys(t),i=0;i<r.length;i++){var s=r[i],a=n.getQuestionByValueName(s);if(a||(a=this.getSharedQuestionFromArray(s,e)),a){var l=a.getDisplayValue(o,t[s]);t[s]=l,o&&a.title&&a.title!==s&&(t[a.title]=l,delete t[s])}}return t},QuestionPanelDynamicModel.prototype.hasErrorInPanels=function(e,t){for(var o=!1,n=this.visiblePanels,r=[],i=0;i<n.length;i++)this.setOnCompleteAsyncInPanel(n[i]);for(var s=!!t&&t.focusOnFirstError,a=0;a<n.length;a++){var l=n[a].hasErrors(e,s,t);l=this.isValueDuplicated(n[a],r,t,e)||l,!this.isRenderModeList&&l&&!o&&s&&(this.currentIndex=a),o=l||o}return o},QuestionPanelDynamicModel.prototype.setOnCompleteAsyncInPanel=function(e){for(var t=this,o=e.questions,n=0;n<o.length;n++)o[n].onCompletedAsyncValidators=function(e){t.raiseOnCompletedAsyncValidators()}},QuestionPanelDynamicModel.prototype.isValueDuplicated=function(e,t,o,n){if(!this.keyName)return!1;var r=e.getQuestionByValueName(this.keyName);if(!r||r.isEmpty())return!1;var i=r.value;
8this.changingValueQuestion&&r!=this.changingValueQuestion&&r.hasErrors(n,o);for(var s=0;s<t.length;s++)if(i==t[s])return n&&r.addError(new nj(this.keyDuplicationError,this)),o&&!o.firstErrorQuestion&&(o.firstErrorQuestion=r),!0;return t.push(i),!1},QuestionPanelDynamicModel.prototype.getPanelActions=function(e){var t=this,o=e.footerActions;return"right"!==this.panelRemoveButtonLocation&&o.push(new ne({id:"remove-panel-"+e.id,component:"sv-paneldynamic-remove-btn",visible:new oU(function(){return[t.canRemovePanel,"collapsed"!==e.state,"right"!==t.panelRemoveButtonLocation].every(function(e){return!0===e})}),data:{question:this,panel:e}})),this.survey&&(o=this.survey.getUpdatedPanelFooterActions(e,o,this)),o},QuestionPanelDynamicModel.prototype.createNewPanel=function(){var e=this,t=this.createAndSetupNewPanelObject(),o=this.template.toJSON();new oy().toObject(o,t),t.renderWidth="100%",t.updateCustomWidgets(),new sH(this,t),this.isDesignMode||this.isReadOnly||this.isValueEmpty(t.getValue())||this.runPanelsCondition([t],this.getDataFilteredValues(),this.getDataFilteredProperties());for(var n=t.questions,r=0;r<n.length;r++)n[r].setParentQuestion(this);return this.wasRendered&&(t.onFirstRendering(),t.locStrsChanged()),t.onGetFooterActionsCallback=function(){return e.getPanelActions(t)},t.onGetFooterToolbarCssCallback=function(){return e.cssClasses.panelFooter},t.registerPropertyChangedHandlers(["visible"],function(){t.visible?e.onPanelAdded(t):e.onPanelRemoved(t),e.updateFooterActions()}),t},QuestionPanelDynamicModel.prototype.createAndSetupNewPanelObject=function(){var e=this,t=this.createNewPanelObject();return t.isInteractiveDesignElement=!1,t.setParentQuestion(this),t.onGetQuestionTitleLocation=function(){return e.getTemplateQuestionTitleLocation()},t},QuestionPanelDynamicModel.prototype.getTemplateQuestionTitleLocation=function(){return"default"!=this.templateTitleLocation?this.templateTitleLocation:this.getTitleLocationCore()},QuestionPanelDynamicModel.prototype.getChildErrorLocation=function(t){return"default"!==this.templateErrorLocation?this.templateErrorLocation:e.prototype.getChildErrorLocation.call(this,t)},QuestionPanelDynamicModel.prototype.createNewPanelObject=function(){return ov.createClass("panel")},QuestionPanelDynamicModel.prototype.setPanelCountBasedOnValue=function(){if(!this.isValueChangingInternally&&!this.useTemplatePanel){var e=this.value,t=e&&Array.isArray(e)?e.length:0;0==t&&this.getPropertyValue("panelCount")>0&&(t=this.getPropertyValue("panelCount")),this.settingPanelCountBasedOnValue=!0,this.panelCount=t,this.settingPanelCountBasedOnValue=!1}},QuestionPanelDynamicModel.prototype.setQuestionValue=function(t){if(!this.settingPanelCountBasedOnValue){e.prototype.setQuestionValue.call(this,t,!1),this.setPanelCountBasedOnValue();for(var o=0;o<this.panelsCore.length;o++)this.panelUpdateValueFromSurvey(this.panelsCore[o]);this.updateIsAnswered()}},QuestionPanelDynamicModel.prototype.onSurveyValueChanged=function(t){if(!(void 0===t&&this.isAllPanelsEmpty())){e.prototype.onSurveyValueChanged.call(this,t);for(var o=0;o<this.panelsCore.length;o++)this.panelSurveyValueChanged(this.panelsCore[o]);void 0===t&&this.setValueBasedOnPanelCount(),this.updateIsReady()}},QuestionPanelDynamicModel.prototype.isAllPanelsEmpty=function(){for(var e=0;e<this.panelsCore.length;e++)if(!oe.isValueEmpty(this.panelsCore[e].getValue()))return!1;return!0},QuestionPanelDynamicModel.prototype.panelUpdateValueFromSurvey=function(e){for(var t=e.questions,o=this.getPanelItemData(e.data),n=0;n<t.length;n++){var r=t[n];r.updateValueFromSurvey(o[r.getValueName()]),r.updateCommentFromSurvey(o[r.getValueName()+nC.commentSuffix]),r.initDataUI()}},QuestionPanelDynamicModel.prototype.panelSurveyValueChanged=function(e){for(var t=e.questions,o=this.getPanelItemData(e.data),n=0;n<t.length;n++){var r=t[n];r.onSurveyValueChanged(o[r.getValueName()])}},QuestionPanelDynamicModel.prototype.onSetData=function(){e.prototype.onSetData.call(this),!this.isLoadingFromJson&&this.useTemplatePanel&&(this.setTemplatePanelSurveyImpl(),this.rebuildPanels())},QuestionPanelDynamicModel.prototype.isNewValueCorrect=function(e){return Array.isArray(e)},QuestionPanelDynamicModel.prototype.getItemIndex=function(e){var t=this.items.indexOf(e);return t>-1?t:this.items.length},QuestionPanelDynamicModel.prototype.getVisibleItemIndex=function(e){for(var t=this.visiblePanelsCore,o=0;o<t.length;o++)if(t[o].data===e)return o;return t.length},QuestionPanelDynamicModel.prototype.getPanelItemData=function(e){var t=this.items,o=t.indexOf(e),n=this.value;return(o<0&&Array.isArray(n)&&n.length>t.length&&(o=t.length),o<0||!n||!Array.isArray(n)||n.length<=o)?{}:n[o]},QuestionPanelDynamicModel.prototype.setPanelItemData=function(e,t,o){if(!(this.isSetPanelItemData[t]>this.maxCheckCount)){this.isSetPanelItemData[t]||(this.isSetPanelItemData[t]=0),this.isSetPanelItemData[t]++;var n=this.items,r=n.indexOf(e);r<0&&(r=n.length);var i=this.getUnbindValue(this.value);i&&Array.isArray(i)||(i=[]);for(var s=Math.max(r+1,n.length),a=i.length;a<s;a++)i.push({});i[r]||(i[r]={});var l=i[r][t];this.isValueEmpty(o)?delete i[r][t]:i[r][t]=o,r>
8=0&&r<this.panelsCore.length&&(this.changingValueQuestion=this.panelsCore[r].getQuestionByValueName(t));var u={panel:e.panel,name:t,panelIndex:r,panelData:i[r],value:o,oldValue:l};this.survey&&this.survey.dynamicPanelItemValueChanging(this,u),this.value=i,this.changingValueQuestion=null,this.survey&&this.survey.dynamicPanelItemValueChanged(this,u),this.isSetPanelItemData[t]--,this.isSetPanelItemData[t]-1&&delete this.isSetPanelItemData[t]}},QuestionPanelDynamicModel.prototype.getRootData=function(){return this.data},QuestionPanelDynamicModel.prototype.getPlainData=function(t){void 0===t&&(t={includeEmpty:!0});var o=e.prototype.getPlainData.call(this,t);if(o){o.isNode=!0;var n=Array.isArray(o.data)?[].concat(o.data):[];o.data=this.panels.map(function(e,o){var n={name:e.name||o,title:e.title||"Panel",value:e.getValue(),displayValue:e.getValue(),getString:function(e){return"object"==typeof e?JSON.stringify(e):e},isNode:!0,data:e.questions.map(function(e){return e.getPlainData(t)}).filter(function(e){return!!e})};return(t.calculations||[]).forEach(function(t){n[t.propertyName]=e[t.propertyName]}),n}),o.data=o.data.concat(n)}return o},QuestionPanelDynamicModel.prototype.updateElementCss=function(t){e.prototype.updateElementCss.call(this,t);for(var o=0;o<this.panelsCore.length;o++)this.panelsCore[o].updateElementCss(t)},Object.defineProperty(QuestionPanelDynamicModel.prototype,"progressText",{get:function(){var e=this.visiblePanelCount;return this.getLocalizationFormatString("panelDynamicProgressText",this.currentIndex+1,e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"progress",{get:function(){return(this.currentIndex+1)/this.visiblePanelCount*100+"%"},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getRootCss=function(){return new oY().append(e.prototype.getRootCss.call(this)).append(this.cssClasses.empty,this.get
vendor: 5,028 bytes, line 8
8ShowNoEntriesPlaceholder()).toString()},Object.defineProperty(QuestionPanelDynamicModel.prototype,"cssHeader",{get:function(){var t=this.isRenderModeTab&&!!this.visiblePanelCount;return new oY().append(e.prototype.getCssHeader.call(this,this.cssClasses)).append(this.cssClasses.headerTab,this.hasTitleOnTop&&t).toString()},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getTabsContainerCss=function(){return new oY().append(this.cssClasses.tabsContainer).append(this.cssClasses.tabsContainerWithHeader,this.hasTitleOnTop).toString()},QuestionPanelDynamicModel.prototype.getPanelWrapperCss=function(e){return new oY().append(this.cssClasses.panelWrapper,!e||e.visible).append(this.cssClasses.panelWrapperList,this.isRenderModeList).append(this.cssClasses.panelWrapperInRow,"right"===this.panelRemoveButtonLocation).toString()},QuestionPanelDynamicModel.prototype.getPanelRemoveButtonCss=function(){return new oY().append(this.cssClasses.button).append(this.cssClasses.buttonRemove).append(this.cssClasses.buttonRemoveRight,"right"===this.panelRemoveButtonLocation).toString()},QuestionPanelDynamicModel.prototype.getAddButtonCss=function(){return new oY().append(this.cssClasses.button).append(this.cssClasses.buttonAdd).append(this.cssClasses.buttonAdd+"--list-mode","list"===this.displayMode).toString()},QuestionPanelDynamicModel.prototype.getPrevButtonCss=function(){return new oY().append(this.cssClasses.buttonPrev).append(this.cssClasses.buttonPrevDisabled,!this.isPrevButtonVisible).toString()},QuestionPanelDynamicModel.prototype.getNextButtonCss=function(){return new oY().append(this.cssClasses.buttonNext).append(this.cssClasses.buttonNextDisabled,!this.isNextButtonVisible).toString()},Object.defineProperty(QuestionPanelDynamicModel.prototype,"noEntriesText",{get:function(){return this.getLocalizableStringText("noEntriesText")},set:function(e){this.setLocalizableStringText("noEntriesText",e)},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"locNoEntriesText",{get:function(){return this.getLocalizableString("noEntriesText")},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.getShowNoEntriesPlaceholder=function(){return!!this.cssClasses.noEntriesPlaceholder&&!this.isDesignMode&&0===this.visiblePanelCount},QuestionPanelDynamicModel.prototype.needResponsiveWidth=function(){var e=this.getPanel();return!!(e&&e.needResponsiveWidth())},Object.defineProperty(QuestionPanelDynamicModel.prototype,"hasTabbedMenu",{get:function(){return this.isRenderModeTab&&this.visiblePanels.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"tabbedMenu",{get:function(){return this.isRenderModeTab?(this.tabbedMenuValue||(this.tabbedMenuValue=new nn,this.tabbedMenuValue.dotsItem.popupModel.showPointer=!1,this.tabbedMenuValue.dotsItem.popupModel.verticalPosition="bottom",this.tabbedMenuValue.dotsItem.popupModel.horizontalPosition="center",this.updateElementCss(!1)),this.tabbedMenuValue):null},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"footerToolbar",{get:function(){return this.footerToolbarValue||this.initFooterToolbar(),this.footerToolbarValue},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.updateFooterActions=function(){this.updateFooterActionsCallback&&this.updateFooterActionsCallback()},QuestionPanelDynamicModel.prototype.initFooterToolbar=function(){var e=this;this.footerToolbarValue=this.createActionContainer();var t=[],o=new ne({id:"sv-pd-prev-btn",title:this.panelPrevText,action:function(){e.goToPrevPanel()}}),n=new ne({id:"sv-pd-next-btn",title:this.panelNextText,action:function(){e.goToNextPanel()}}),r=new ne({id:"sv-pd-add-btn",component:"sv-paneldynamic-add-btn",data:{question:this}}),i=new ne({id:"sv-prev-btn-icon",component:"sv-paneldynamic-prev-btn",data:{question:this}}),s=new ne({id:"sv-pd-progress-text",component:"sv-paneldynamic-progress-text",data:{question:this}}),a=new ne({id:"sv-pd-next-btn-icon",component:"sv-paneldynamic-next-btn",data:{question:this}});t.push(o,n,r,i,s,a),this.updateFooterActionsCallback=function(){var t=e.legacyNavigation,l=e.isRenderModeList,u=e.isMobile,c=!t&&!l;o.visible=c&&e.currentIndex>0,n.visible=c&&e.currentIndex<e.visiblePanelCount-1,n.needSpace=u&&n.visible&&o.visible,r.visible=e.canAddPanel,r.needSpace=e.isMobile&&!n.visible&&o.visible,s.visible=!e.isRenderModeList&&!u,s.needSpace=!t&&!e.isMobile;var p=t&&!l;i.visible=p,a.visible=p,i.needSpace=p},this.updateFooterActionsCallback(),this.footerToolbarValue.setItems(t)},QuestionPanelDynamicModel.prototype.createTabByPanel=function(e,t){var o=this;if(this.isRenderModeTab){var n=new nf(e,!0);n.onGetTextCallback=function(n){if(n||(n=o.locTabTitlePlaceholder.renderedHtml),!o.survey)return n;var r={title:n,panel:e,visiblePanelIndex:t};return o.survey.dynamicPanelGetTabTitle(o,r),r.title},n.sharedData=this.locTemplateTabTitle;var r=e.id,i=this.getPanelVisibleIndexById(r)===this.currentIndex;
8return new sz({id:this.id+"_tab_"+r,panelId:r,pressed:i,locTitle:n,disableHide:i,action:function(){o.currentIndex=o.getPanelVisibleIndexById(r)}})}},QuestionPanelDynamicModel.prototype.getTabbedMenuCss=function(e){var t=null!=e?e:this.cssClasses;return new oY().append(t.tabsRoot).append(t.tabsLeft,"left"===this.tabAlign).append(t.tabsRight,"right"===this.tabAlign).append(t.tabsCenter,"center"===this.tabAlign).toString()},QuestionPanelDynamicModel.prototype.updateTabToolbarItemsPressedState=function(){if(this.isRenderModeTab&&!(this.currentIndex<0)&&!(this.currentIndex>=this.visiblePanelCount)){var e=this.visiblePanelsCore[this.currentIndex];this.tabbedMenu.renderedActions.forEach(function(t){var o=t.panelId===e.id;t.pressed=o,t.disableHide=o,"popup"===t.mode&&t.disableHide&&t.raiseUpdate()})}},QuestionPanelDynamicModel.prototype.updateTabToolbar=function(){var e=this;if(this.isRenderModeTab){for(var t=[],o=this.visiblePanelsCore,_loop_1=function(r){n.visiblePanelsCore.forEach(function(n){return t.push(e.createTabByPanel(o[r],r))})},n=this,r=0;r<o.length;r++)_loop_1(r);this.tabbedMenu.setItems(t)}},QuestionPanelDynamicModel.prototype.addTabFromToolbar=function(e,t){if(this.isRenderModeTab){var o=this.createTabByPanel(e,t);this.tabbedMenu.actions.splice(t,0,o),this.updateTabToolbarItemsPressedState()}},QuestionPanelDynamicModel.prototype.removeTabFromToolbar=function(e){if(this.isRenderModeTab){var t=this.tabbedMenu.actions.find(function(t){return t.panelId==e.id});t&&(this.tabbedMenu.actions.splice(this.tabbedMenu.actions.indexOf(t),1),this.updateTabToolbarItemsPressedState())}},Object.defineProperty(QuestionPanelDynamicModel.prototype,"showLegacyNavigation",{get:function(){return!this.isDefaultV2Theme},enumerable:!1,configurable:!0}),Object.defineProperty(QuestionPanelDynamicModel.prototype,"showNavigation",{get:function(){return(!this.isReadOnly||1!=this.visiblePanelCount)&&this.visiblePanelCount>0&&!this.showLegacyNavigation&&!!this.cssClasses.footer},enumerable:!1,configurable:!0}),QuestionPanelDynamicModel.prototype.showSeparator=function(e){return this.isRenderModeList&&e<this.renderedPanels.length-1},QuestionPanelDynamicModel.prototype.calcCssClasses=function(t){var o=e.prototype.calcCssClasses.call(this,t),n=this.tabbedMenu;
8return n&&(n.containerCss=this.getTabbedMenuCss(o),n.cssClasses=o.tabs,n.dotsItem.cssClasses=o.tabs,n.dotsItem.popupModel.contentComponentData.model.cssClasses=t.list),o},QuestionPanelDynamicModel.prototype.onMobileChanged=function(){e.prototype.onMobileChanged.call(this),this.updateFooterActions()},QuestionPanelDynamicModel.maxCheckCount=3,question_paneldynamic_decorate([propertyArray({})],QuestionPanelDynamicModel.prototype,"_renderedPanels",void 0),question_paneldynamic_decorate([jsonobject_property({onSet:function(e,t){t.fireCallback(t.renderModeChangedCallback),t.updatePanelView()}})],QuestionPanelDynamicModel.prototype,"displayMode",void 0),question_paneldynamic_decorate([jsonobject_property({onSet:function(e,t){t.fireCallback(t.currentIndexChangedCallback)}})],QuestionPanelDynamicModel.prototype,"showProgressBar",void 0),question_paneldynamic_decorate([jsonobject_property({onSet:function(e,t){}})],QuestionPanelDynamicModel.prototype,"progressBarLocation",void 0),question_paneldynamic_decorate([jsonobject_property({defaultValue:!1,onSet:function(e,t){t.updateFooterActions()}})],QuestionPanelDynamicModel.prototype,"legacyNavigation",void 0),QuestionPanelDynamicModel}(nX);ov.addClass("paneldynamic",[{name:"showCommentArea:switch",layout:"row",visible:!0,category:"general"},{name:"templateElements",alternativeName:"questions",baseClassName:"question",visible:!1,isLightSerializable:!1},{name:"templateTitle:text",serializationProperty:"locTemplateTitle"},{name:"templateTabTitle",serializationProperty:"locTemplateTabTitle",visibleIf:function(e){return"tab"===e.displayMode}},{name:"tabTitlePlaceholder",serializationProperty:"locTabTitlePlaceholder",visibleIf:function(e){return"tab"===e.displayMode}},{name:"templateDescription:text",serializationProperty:"locTemplateDescription"},{name:"minWidth",defaultFunc:function(){return"auto"}},{name:"noEntriesText:text",serializationProperty:"locNoEntriesText"},{name:"allowAddPanel:boolean",default:!0},{name:"allowRemovePanel:boolean",default:!0},{name:"newPanelPosition",choices:["next","last"],default:"last",category:"layout"},{name:"panelCount:number",isBindable:!0,default:0,choices:[0,1,2,3,4,5,6,7,8,9,10]},{name:"minPanelCount:number",default:0,minValue:0},{name:"maxPanelCount:number",defaultFunc:function(){return nC.panel.maxPanelCount}},"defaultPanelValue:panelvalue","defaultValueFromLastPanel:boolean",{name:"panelsState",default:"default",choices:["default","collapsed","expanded","firstExpanded"],visibleIf:function(e){return"list"===e.displayMode}},{name:"keyName"},{name:"keyDuplicationError",serializationProperty:"locKeyDuplicationError"},{name:"confirmDelete:boolean"},{name:"confirmDeleteText",serializationProperty:"locConfirmDeleteText",visibleIf:function(e){return e.confirmDelete}},{name:"panelAddText",serializationProperty:"locPanelAddText",visibleIf:function(e){return e.allowAddPanel}},{name:"panelRemoveText",serializationProperty:"locPanelRemoveText",visibleIf:function(e){return e.allowRemovePanel}},{name:"panelPrevText",serializationProperty:"locPanelPrevText",visibleIf:function(e){return"list"!==e.displayMode}},{name:"panelNextText",serializationProperty:"locPanelNextText",visibleIf:function(e){return"list"!==e.displayMode}},{name:"showQuestionNumbers",default:"off",choices:["off","onPanel","onSurvey"]},{name:"renderMode",visible:!1,isSerializable:!1},{name:"displayMode",default:"list",choices:["list","carousel","tab"]},{name:"showProgressBar:boolean",alternativeName:"showRangeInProgress",default:!0,visibleIf:function(e){return"carousel"===e.displayMode}},{name:"progressBarLocation",default:"top",choices:["top","bottom","topBottom"],visibleIf:function(e){return e.showProgressBar}},{name:"tabAlign",default:"center",choices:["left","center","right"],visibleIf:function(e){return"tab"===e.displayMode}},{name:"templateTitleLocation",default:"default",choices:["default","top","bottom","left"]},{name:"templateErrorLocation",default:"default",choices:["default","top","bottom"]},{name:"templateVisibleIf:expression",category:"logic"},{name:"panelRemoveButtonLocation",default:"bottom",choices:["bottom","right"],visibleIf:function(e){return e.allowRemovePanel}}],function(){return new sW("")},"question"),rh.Instance.registerQuestion("paneldynamic",function(e){return new sW(e)});var s$=function(){function SurveyProgressModel(){}return SurveyProgressModel.getProgressTextInBarCss=function(e){return new oY().append(e.progressText).append(e.progressTextInBar).toString()},SurveyProgressModel.getProgressTextUnderBarCss=function(e){return new oY().append(e.progressText).append(e.progressTextUnderBar).toString()},SurveyProgressModel}(),sJ=(eb=function(e,t){return(eb=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eb(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),sG=function(e){function Trigger(){var t=e.call(this)||this;return t.idValue=Trigger.idCounter++,t.registerPropertyChangedHandlers(["operator","value","name"],function(){t.oldPropertiesChanged()}),t.registerPropertyChangedHandlers(["expression"],function(){t.onExpressionChanged()}),t}return sJ(Trigger,e),Object.defineProperty(Trigger,"operators",{get:function(){return null!=Trigger.operatorsValue||(Trigger.operatorsValue={empty:function(e,t){return!e},notempty:function(e,t){return!!e},equal:function(e,t){return e==t},notequal:function(e,t){return e!=t},contains:function(e,t){return e&&e.indexOf&&e.indexOf(t)>-1},notcontains:function(e,t){return!e||!e.indexOf||-1==e.indexOf(t)},greater:function(e,t){return e>t},less:function(e,t){return e<t},greaterorequal:function(e,t){return e>=t},lessorequal:function(e,t){return e<=t}}),Trigger.operatorsValue},enumerable:!1,configurable:!0}),Object.defineProperty(Trigger.prototype,"id",{get:function(){return this.idValue},enumerable:!1,configurable:!0}),Trigger.prototype.getType=function(){return"triggerbase"},Trigger.prototype.toString=function(){var e=this.getType().replace("trigger",""),t=this.expression?this.expression:this.buildExpression();return t&&(e+=", "+t),e},Object.defineProperty(Trigger.prototype,"isInternal",{get:function(){return!0===this.isGhost},enumerable:!1,configurable:!0}),Object.defineProperty(Trigger.prototype,"operator",{get:function(){return this.getPropertyValue("operator","equal")},set:function(e){e&&(e=e.toLowerCase(),Trigger.operators[e]&&this.setPropertyValue("operator",e))},enumerable:!1,configurable:!0}),Object.defineProperty(Trigger.prototype,"value",{get:function(){return this.getPropertyValue("value",null)},set:function(e){this.setPropertyValue("value",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Trigger.prototype,"name",{get:function(){return this.getPropertyValue("name","")},set:function(e){this.setPropertyValue("name",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Trigger.prototype,"expression",{get:function(){return this.getPropertyValue("expression","")},set:function(e){this.setPropertyValue("expression",e)},enumerable:!1,configurable:!0}),Trigger.prototype.canBeExecuted=function(e){return!0},Trigger.prototype.canBeExecutedOnComplete=function(){return!1},Trigger.prototype.checkExpression=function(e){if(this.isExecutingOnNextPage=e.isOnNextPage,this.isExecutingOnNavigation=e.isOnNavigation||e.isOnNextPage,this.canBeExecuted(e.isOnNextPage)&&(!e.isOnComplete||this.canBeExecutedOnComplete())&&this.isCheckRequired(e.keys)){var t=Object.keys(e.keys);(!Array.isArray(t)||this.canBeExecuteOnKeysChange(t))&&(this.conditionRunner?this.perform(e.values,e.properties||null):this.canSuccessOnEmptyExpression()&&this.triggerResult(!0,e.values,e.properties||null))}},Trigger.prototype.canBeExecuteOnKeysChange=function(e){return!0},Trigger.prototype.canSuccessOnEmptyExpression=function(){return!1},Trigger.prototype.check=function(e){Trigger.operators[this.operator](e,this.value)?this.onSuccess({},null):this.onFailure()},Object.defineProperty(Trigger.prototype,"requireValidQuestion",{get:function(){return!1},enumerable:!1,configurable:!0}),Trigger.prototype.perform=function(e,t){var o=this;this.conditionRunner.onRunComplete=function(n){o.triggerResult(n,e,t)},this.conditionRunner.run(e,t)},Trigger.prototype.triggerResult=function(e,t,o){e?(this.onSuccess(t,o),this.onSuccessExecuted()):this.onFailure()},Trigger.prototype.onSuccess=function(e,t){},Trigger.prototype.onFailure=function(){},Trigger.prototype.onSuccessExecuted=function(){},Trigger.prototype.endLoadingFromJson=function(){e.prototype.endLoadingFromJson.call(this),this.oldPropertiesChanged()},Trigger.prototype.oldPropertiesChanged=function(){this.onExpressionChanged()},Trigger.prototype.onExpressionChanged=function(){this.conditionRunner=null},Trigger.prototype.buildExpression=function(){return!this.name||this.isValueEmpty(this.value)&&this.isRequireValue?"":"{"+this.name+"} "+this.operator+" "+oI.toOperandString(this.value)},Trigger.prototype.isCheckRequired=function(e){return!!e&&(this.createConditionRunner(),!!this.conditionRunner&&!0===this.conditionRunner.hasFunction()||new ox().isAnyKeyChanged(e,this.getUsedVariables()))},Trigger.prototype.getUsedVariables=function(){if(!this.conditionRunner)return[];var e=this.conditionRunner.getVariables();if(Array.isArray(e))for(var t="-unwrapped",o=e.length-1;o>=0;o--){var n=e[o];n.endsWith(t)&&e.push(n.substring(0,n.length-t.length))}return e},Trigger.prototype.createConditionRunner=function(){if(!this.conditionRunner){var e=this.expression;e||(e=this.buildExpression()),e&&(this.conditionRunner=new oq(e))}},Object.defineProperty(Trigger.prototype,"isRequireValue",{get:function(){return"empty"!==this.operator&&"notempty"!=this.operator}
vendor: 4,194 bytes, line 8
8,enumerable:!1,configurable:!0}),Trigger.idCounter=1,Trigger.operatorsValue=null,Trigger}(oW),sK=function(e){function SurveyTrigger(){var t=e.call(this)||this;return t.ownerValue=null,t}return sJ(SurveyTrigger,e),Object.defineProperty(SurveyTrigger.prototype,"owner",{get:function(){return this.ownerValue},enumerable:!1,configurable:!0}),SurveyTrigger.prototype.setOwner=function(e){this.ownerValue=e},SurveyTrigger.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.owner&&this.owner.getSurvey?this.owner.getSurvey():null},SurveyTrigger.prototype.isRealExecution=function(){return!0},SurveyTrigger.prototype.onSuccessExecuted=function(){this.owner&&this.isRealExecution()&&this.owner.triggerExecuted(this)},SurveyTrigger}(sG),sZ=function(e){function SurveyTriggerVisible(){var t=e.call(this)||this;return t.pages=[],t.questions=[],t}return sJ(SurveyTriggerVisible,e),SurveyTriggerVisible.prototype.getType=function(){return"visibletrigger"},SurveyTriggerVisible.prototype.onSuccess=function(e,t){this.onTrigger(this.onItemSuccess)},SurveyTriggerVisible.prototype.onFailure=function(){this.onTrigger(this.onItemFailure)},SurveyTriggerVisible.prototype.onTrigger=function(e){if(this.owner)for(var t=this.owner.getObjects(this.pages,this.questions),o=0;o<t.length;o++)e(t[o])},SurveyTriggerVisible.prototype.onItemSuccess=function(e){e.visible=!0},SurveyTriggerVisible.prototype.onItemFailure=function(e){e.visible=!1},SurveyTriggerVisible}(sK),sY=function(e){function SurveyTriggerComplete(){return e.call(this)||this}return sJ(SurveyTriggerComplete,e),SurveyTriggerComplete.prototype.getType=function(){return"completetrigger"},Object.defineProperty(SurveyTriggerComplete.prototype,"requireValidQuestion",{get:function(){return!0},enumerable:!1,configurable:!0}),SurveyTriggerComplete.prototype.isRealExecution=function(){return!nC.triggers.executeCompleteOnValueChanged===this.isExecutingOnNavigation},SurveyTriggerComplete.prototype.onSuccess=function(e,t){this.owner&&(this.isRealExecution()?this.owner.setCompleted(this):this.owner.canBeCompleted(this,!0))},SurveyTriggerComplete.prototype.onFailure=function(){this.owner.canBeCompleted(this,!1)},SurveyTriggerComplete}(sK),sX=function(e){function SurveyTriggerSetValue(){return e.call(this)||this}return sJ(SurveyTriggerSetValue,e),SurveyTriggerSetValue.prototype.getType=function(){return"setvaluetrigger"},SurveyTriggerSetValue.prototype.canBeExecuted=function(e){return!e&&!!this.setToName},SurveyTriggerSetValue.prototype.canBeExecuteOnKeysChange=function(t){return(1!==t.length||t[0]!==this.setToName)&&e.prototype.canBeExecuteOnKeysChange.call(this,t)},SurveyTriggerSetValue.prototype.onPropertyValueChanged=function(t,o,n){if(e.prototype.onPropertyValueChanged.call(this,t,o,n),"setToName"===t){var r=this.getSurvey();r&&!r.isLoadingFromJson&&r.isDesignMode&&(this.setValue=void 0)}},Object.defineProperty(SurveyTriggerSetValue.prototype,"setToName",{get:function(){return this.getPropertyValue("setToName","")},set:function(e){this.setPropertyValue("setToName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTriggerSetValue.prototype,"setValue",{get:function(){return this.getPropertyValue("setValue")},set:function(e){this.setPropertyValue("setValue",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTriggerSetValue.prototype,"isVariable",{get:function(){return this.getPropertyValue("isVariable")},set:function(e){this.setPropertyValue("isVariable",e)},enumerable:!1,configurable:!0}),SurveyTriggerSetValue.prototype.onSuccess=function(e,t){this.setToName&&this.owner&&this.owner.setTriggerValue(this.setToName,oe.getUnbindValue(this.setValue),this.isVariable)},SurveyTriggerSetValue}(sK),s1=function(e){function SurveyTriggerSkip(){return e.call(this)||this}return sJ(SurveyTriggerSkip,e),SurveyTriggerSkip.prototype.getType=function(){return"skiptrigger"},Object.defineProperty(SurveyTriggerSkip.prototype,"requireValidQuestion",{get:function(){return this.canBeExecuted(!1)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTriggerSkip.prototype,"gotoName",{get:function(){return this.getPropertyValue("gotoName","")},set:function(e){this.setPropertyValue("gotoName",e)}
8,enumerable:!1,configurable:!0}),SurveyTriggerSkip.prototype.canBeExecuted=function(e){return!nC.triggers.executeSkipOnValueChanged===e},SurveyTriggerSkip.prototype.onSuccess=function(e,t){this.gotoName&&this.owner&&this.owner.focusQuestion(this.gotoName)},SurveyTriggerSkip}(sK),s0=function(e){function SurveyTriggerRunExpression(){return e.call(this)||this}return sJ(SurveyTriggerRunExpression,e),SurveyTriggerRunExpression.prototype.getType=function(){return"runexpressiontrigger"},Object.defineProperty(SurveyTriggerRunExpression.prototype,"setToName",{get:function(){return this.getPropertyValue("setToName","")},set:function(e){this.setPropertyValue("setToName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTriggerRunExpression.prototype,"runExpression",{get:function(){return this.getPropertyValue("runExpression","")},set:function(e){this.setPropertyValue("runExpression",e)},enumerable:!1,configurable:!0}),SurveyTriggerRunExpression.prototype.canBeExecuted=function(e){return!e},SurveyTriggerRunExpression.prototype.onSuccess=function(e,t){var o=this;if(this.owner&&this.runExpression){var n=new oN(this.runExpression);n.canRun&&(n.onRunComplete=function(e){o.onCompleteRunExpression(e)},n.run(e,t))}},SurveyTriggerRunExpression.prototype.onCompleteRunExpression=function(e){this.setToName&&void 0!==e&&this.owner.setTriggerValue(this.setToName,oe.convertValToQuestionVal(e),!1)},SurveyTriggerRunExpression}(sK),s2=function(e){function SurveyTriggerCopyValue(){return e.call(this)||this}return sJ(SurveyTriggerCopyValue,e),SurveyTriggerCopyValue.prototype.canBeExecuted=function(e){return!e&&!!this.setToName&&!!this.fromName},Object.defineProperty(SurveyTriggerCopyValue.prototype,"setToName",{get:function(){return this.getPropertyValue("setToName","")},set:function(e){this.setPropertyValue("setToName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTriggerCopyValue.prototype,"fromName",{get:function(){return this.getPropertyValue("fromName","")},set:function(e){this.setPropertyValue("fromName",e)},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTriggerCopyValue.prototype,"copyDisplayValue",{get:function(){return this.getPropertyValue("copyDisplayValue")},set:function(e){this.setPropertyValue("copyDisplayValue",e)},enumerable:!1,configurable:!0}),SurveyTriggerCopyValue.prototype.getType=function(){return"copyvaluetrigger"},SurveyTriggerCopyValue.prototype.canBeExecuteOnKeysChange=function(t){return(1!==t.length||t[0]!==this.setToName)&&e.prototype.canBeExecuteOnKeysChange.call(this,t)},SurveyTriggerCopyValue.prototype.onSuccess=function(e,t){this.setToName&&this.owner&&this.owner.copyTriggerValue(this.setToName,this.fromName,this.copyDisplayValue)},SurveyTriggerCopyValue.prototype.canSuccessOnEmptyExpression=function(){return!0},SurveyTriggerCopyValue.prototype.getUsedVariables=function(){var t=e.prototype.getUsedVariables.call(this);return 0===t.length&&this.fromName&&t.push(this.fromName),t},SurveyTriggerCopyValue}(sK);ov.addClass("trigger",[{name:"operator",default:"equal",visible:!1},{name:"value",visible:!1},"expression:condition"]),ov.addClass("surveytrigger",[{name:"name",visible:!1}],null,"trigger"),ov.addClass("visibletrigger",["pages:pages","questions:questions"],function(){return new sZ},"surveytrigger"),ov.addClass("completetrigger",[],function(){return new sY},"surveytrigger"),ov.addClass("setvaluetrigger",[{name:"!setToName:questionvalue"},{name:"setValue:triggervalue",dependsOn:"setToName",visibleIf:function(e){return!!e&&!!e.setToName}},{name:"isVariable:boolean",visible:!1}],function(){return new sX},"surveytrigger"),ov.addClass("copyvaluetrigger",[{name:"!fromName:questionvalue"},{name:"!setToName:questionvalue"},{name:"copyDisplayValue:boolean",visible:!1}],function(){return new s2},"surveytrigger"),ov.addClass("skiptrigger",[{name:"!gotoName:question"}],function(){return new s1},"surveytrigger"),ov.addClass("runexpressiontrigger",[{name:"setToName:questionvalue"},"runExpression:expression"],function(){return new s0},"surveytrigger");
8var s5=(ex=function(e,t){return(ex=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ex(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),popup_survey_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},s7=function(e){function PopupSurveyModel(t,o){void 0===o&&(o=null);var n=e.call(this)||this;return n.closeOnCompleteTimeout=0,o?n.surveyValue=o:n.surveyValue=n.createSurvey(t),n.surveyValue.fitToContainer=!0,n.windowElement=t8.createElement("div"),n.survey.onComplete.add(function(e,t){n.onSurveyComplete()}),n.registerPropertyChangedHandlers(["isShowing"],function(){n.showingChangedCallback&&n.showingChangedCallback()}),n.registerPropertyChangedHandlers(["isExpanded"],function(){n.onExpandedChanged()}),n.width=new oU(function(){return n.survey.width}),n.width=n.survey.width,n.updateCss(),n.onCreating(),n}return s5(PopupSurveyModel,e),PopupSurveyModel.prototype.onCreating=function(){},PopupSurveyModel.prototype.getType=function(){return"popupsurvey"},Object.defineProperty(PopupSurveyModel.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"isShowing",{get:function(){return this.getPropertyValue("isShowing",!1)},set:function(e){this.setPropertyValue("isShowing",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"isFullScreen",{get:function(){return this.getPropertyValue("isFullScreen",!1)},set:function(e){!this.isExpanded&&e&&(this.isExpanded=!0),this.setPropertyValue("isFullScreen",e),this.setCssRoot()},enumerable:!1,configurable:!0}),PopupSurveyModel.prototype.show=function(){this.isShowing=!0},PopupSurveyModel.prototype.hide=function(){this.isShowing=!1},PopupSurveyModel.prototype.toggleFullScreen=function(){this.isFullScreen=!this.isFullScreen},Object.defineProperty(PopupSurveyModel.prototype,"isExpanded",{get:function(){return this.getPropertyValue("isExpanded",!1)},set:function(e){this.isFullScreen&&!e&&(this.isFullScreen=!1),this.setPropertyValue("isExpanded",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"isCollapsed",{get:function(){return!this.isExpanded},enumerable:!1,configurable:!0}),PopupSurveyModel.prototype.onExpandedChanged=function(){this.expandedChangedCallback&&this.expandedChangedCallback(),this.updateCssButton()},Object.defineProperty(PopupSurveyModel.prototype,"title",{get:function(){return this.survey.title},set:function(e){this.survey.title=e},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"locTitle",{get:function(){return this.survey.locTitle.isEmpty?null:this.survey.locTitle},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"locDescription",{get:function(){return this.survey.locTitle.isEmpty?null:this.survey.locDescription},enumerable:!1,configurable:!0}),PopupSurveyModel.prototype.expand=function(){this.isExpanded=!0},PopupSurveyModel.prototype.collapse=function(){this.isExpanded=!1},PopupSurveyModel.prototype.changeExpandCollapse=function(){this.isExpanded=!this.isExpanded},Object.defineProperty(PopupSurveyModel.prototype,"allowClose",{get:function(){return this.getPropertyValue("allowClose",!1)},set:function(e){this.setPropertyValue("allowClose",e)},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"allowFullScreen",{get:function(){return this.getPropertyValue("allowFullScreen",!1)},set:function(e){this.setPropertyValue("allowFullScreen",e)}
8,enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssButton",{get:function(){return this.getPropertyValue("cssButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssRoot",{get:function(){var e=this.getPropertyValue("cssRoot","");return this.isCollapsed&&(e+=" "+this.getPropertyValue("cssRootCollapsedMod","")),e},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssRootCollapsedMod",{get:function(){return this.getPropertyValue("cssRootCollapsedMod")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssRootContent",{get:function(){return this.getPropertyValue("cssRootContent")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssBody",{get:function(){return this.getPropertyValue("cssBody","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssHeaderRoot",{get:function(){return this.getPropertyValue("cssHeaderRoot","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssHeaderTitleCollapsed",{get:function(){return this.getPropertyValue("cssHeaderTitleCollapsed","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssHeaderButtonsContainer",{get:function(){return this.getPropertyValue("cssHeaderButtonsContainer","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssHeaderCollapseButton",{get:function(){return this.getPropertyValue("cssHeaderCollapseButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssHeaderCloseButton",{get:function(){return this.getPropertyValue("cssHeaderCloseButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"cssHeaderFullScreenButton",{get:function(){return this.getPropertyValue("cssHeaderFullScreenButton","")},enumerable:!1,configurable:!0}),Object.defineProperty(PopupSurveyModel.prototype,"renderedWidth",{get:function(){var e=this.getPropertyValue("width","60%");return e&&!isNaN(e)&&(e+="px"),e},enumerable:!1,configurable:!0}),PopupSurveyModel.prototype.updateCss=function(){if(this.css&&this.css.window){var e=this.css.window;this.setCssRoot(),this.setPropertyValue("cssRootCollapsedMod",e.rootCollapsedMod),this.setPropertyValue("cssRootContent",e.rootContent),this.setPropertyValue("cssBody",e.body);var t=e.header;t&&(this.setPropertyValue("cssHeaderRoot",t.root),this.setPropertyValue("cssHeaderTitleCollapsed",t.titleCollapsed),this.setPropertyValue("cssHeaderButtonsContainer",t.buttonsContainer),this.setPropertyValue("cssHeaderCollapseButton",t.collapseButton),this.setPropertyValue("cssHeaderCloseButton",t.closeButton),this.setPropertyValue("cssHeaderFullScreenButton",t.fullScreenButton),this.updateCssButton())}},PopupSurveyModel.prototype.setCssRoot=function(){var e=this.css.window;this.isFullScreen?this.setPropertyValue("cssRoot",e.root+" "+e.rootFullScreenMode):this.setPropertyValue("cssRoot",e.root)},PopupSurveyModel.prototype.updateCssButton=function(){var e=this.css.window?this.css.window.header:null;e&&this.setCssButton(this.isExpanded?e.buttonExpanded:e.buttonCollapsed)},PopupSurveyModel.prototype.setCssButton=function(e){e&&this.setPropertyValue("cssButton",e)},PopupSurveyModel.prototype.createSurvey=function(e){return new iv(e)},PopupSurveyModel.prototype.onSurveyComplete=function(){if(!(this.closeOnCompleteTimeout<0)){if(0==this.closeOnCompleteTimeout)this.hide();else{var e=this,t=null;t=setInterval(function(){e.hide(),clearInterval(t)},1e3*this.closeOnCompleteTimeout)}}},PopupSurveyModel.prototype.onScroll=function(){this.survey.onScroll()},popup_survey_decorate([jsonobject_property()],PopupSurveyModel.prototype,"width",void 0),PopupSurveyModel}(oW),s4=function(e){function SurveyWindowModel(){return null!==e&&e.apply(this,arguments)||this}return s5(SurveyWindowModel,e),SurveyWindowModel}
8(s7),s3=(eC=function(e,t){return(eC=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eC(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),s9=function(e){function PopupModalViewModel(t){var o=e.call(this,t)||this;return o.onScrollOutsideCallback=function(e){o.preventScrollOuside(e,e.deltaY)},o}return s3(PopupModalViewModel,e),PopupModalViewModel.prototype.getStyleClass=function(){return e.prototype.getStyleClass.call(this).append("sv-popup--modal",!this.isOverlay)},PopupModalViewModel.prototype.getShowFooter=function(){return!0},PopupModalViewModel.prototype.createFooterActionBar=function(){var t=this;e.prototype.createFooterActionBar.call(this),this.footerToolbar.containerCss="sv-footer-action-bar",this.footerToolbarValue.addAction({id:"apply",visibleIndex:20,title:this.applyButtonText,innerCss:"sv-popup__body-footer-item sv-popup__button sv-popup__button--apply sd-btn sd-btn--action",action:function(){t.apply()}})},Object.defineProperty(PopupModalViewModel.prototype,"applyButtonText",{get:function(){return this.getLocalizationString("modalApplyButtonText")},enumerable:!1,configurable:!0}),PopupModalViewModel.prototype.apply=function(){(!this.model.onApply||this.model.onApply())&&this.hidePopup()},PopupModalViewModel.prototype.clickOutside=function(){},PopupModalViewModel.prototype.onKeyDown=function(t){("Escape"===t.key||27===t.keyCode)&&this.model.onCancel(),e.prototype.onKeyDown.call(this,t)},PopupModalViewModel.prototype.updateOnShowing=function(){this.container&&this.container.addEventListener("wheel",this.onScrollOutsideCallback,{passive:!1}),e.prototype.updateOnShowing.call(this)},PopupModalViewModel.prototype.updateOnHiding=function(){this.container&&this.container.removeEventListener("wheel",this.onScrollOutsideCallback),e.prototype.updateOnHiding.call(this)},PopupModalViewModel}(iM),__assign=function(){return(__assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function createPopupModalViewModel(e,t){var o,n=__assign({},e);n.verticalPosition="top",n.horizontalPosition="left",n.showPointer=!1,n.isModal=!0,n.displayMode=e.displayMode||"popup";var r=new o9(e.componentName,e.data,n);r.isFocusedContent=null===(o=e.isFocusedContent)||void 0===o||o;var i=new s9(r);if(t&&t.appendChild){var s=t8.createElement("div");t.appendChild(s),i.setComponentElement(s)}i.container||i.initializePopupContainer();var onVisibilityChangedCallback=function(e,t){!t.isVisible&&s&&i.resetComponentElement(),i.onVisibilityChanged.remove(onVisibilityChangedCallback)};return i.onVisibilityChanged.add(onVisibilityChangedCallback),i}function createPopupViewModel(e){return e.isModal?new s9(e):new iT(e)}var s6=(ew=function(e,t){return(ew=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ew(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),question_buttongroup_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},s8=function(e){function ButtonGroupItemValue(t,o,n){void 0===o&&(o=null),void 0===n&&(n="buttongroupitemvalue");var r=e.call(this,t,o,n)||this;return r.typeName=n,r}return s6(ButtonGroupItemValue,e),ButtonGroupItemValue.prototype.getType=function(){return this.typeName?this.typeName:"buttongroupitemvalue"},question_buttongroup_decorate([jsonobject_property()],ButtonGroupItemValue.prototype,"iconName",void 0),question_buttongroup_decorate([jsonobject_property()],ButtonGroupItemValue.prototype,"iconSize",void 0),question_buttongroup_decorate([jsonobject_property()],ButtonGroupItemValue.prototype,"showCaption",void 0),ButtonGroupItemValue}(n0),ae=function(e){function QuestionButtonGroupModel(t){var o=e.call(this,t)||this;return o.createLocalizableString("buttongroupOptionsCaption",o,!1,!0),o.createLocalizableString("readOnlyText",o,!0),o.registerPropertyChangedH
8andlers(["value","renderAs","placeholder","choices","visibleChoices"],function(){o.updateReadOnlyText()}),o.updateReadOnlyText(),o}return s6(QuestionButtonGroupModel,e),QuestionButtonGroupModel.prototype.locStrsChanged=function(){var t;e.prototype.locStrsChanged.call(this),this.updateReadOnlyText(),null===(t=this.dropdownListModelValue)||void 0===t||t.locStrsChanged()},QuestionButtonGroupModel.prototype.updateReadOnlyText=function(){this.readOnlyText=this.displayValue||this.placeholder},QuestionButtonGroupModel.prototype.getType=function(){return"buttongroup"},QuestionButtonGroupModel.prototype.getItemValueType=function(){return"buttongroupitemvalue"},QuestionButtonGroupModel.prototype.supportOther=function(){return!1},QuestionButtonGroupModel}(iC);ov.addClass("buttongroup",[{name:"choices:buttongroupitemvalue[]"}],function(){return new ae("")},"checkboxbase"),ov.addClass("buttongroupitemvalue",[{name:"showCaption:boolean",default:!0},{name:"iconName:text"},{name:"iconSize:number"}],function(e){return new s8(e)},"itemvalue");var at=function(){function ButtonGroupItemModel(e,t,o){this.question=e,this.item=t,this.index=o}return Object.defineProperty(ButtonGroupItemModel.prototype,"value",{get:function(){return this.item.value},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"iconName",{get:function(){return this.item.iconName},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"iconSize",{get:function(){return this.item.iconSize||24},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"caption",{get:function(){return this.item.locText},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"showCaption",{get:function(){return this.item.showCaption||void 0===this.item.showCaption},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"isRequired",{get:function(){return this.question.isRequired},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"selected",{get:function(){return this.question.isItemSelected(this.item)},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"readOnly",{get:function(){return this.question.isInputReadOnly||!this.item.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"name",{get:function(){return this.question.name+"_"+this.question.id},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"id",{get:function(){return this.question.inputId+"_"+this.index},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"hasErrors",{get:function(){return this.question.errors.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"describedBy",{get:function(){return this.question.errors.length>0?this.question.id+"_errors":null},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"labelClass",{get:function(){return new oY().append(this.question.cssClasses.item).append(this.question.cssClasses.itemSelected,this.selected).append(this.question.cssClasses.itemHover,!this.readOnly&&!this.selected).append(this.question.cssClasses.itemDisabled,this.question.isReadOnly||!this.item.isEnabled).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(ButtonGroupItemModel.prototype,"css",{get:function(){return{label:this.labelClass,icon:this.question.cssClasses.itemIcon,control:this.question.cssClasses.itemControl,caption:this.question.cssClasses.itemCaption,decorator:this.question.cssClasses.itemDecorator}},enumerable:!1,configurable:!0}),ButtonGroupItemModel.prototype.onChange=function(){this.question.renderedValue=this.item.value},ButtonGroupItemModel}(),ao=(eP=function(e,t){return(eP=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eP(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),mask_base_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
8if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},an=function(e){function InputMaskBase(){return null!==e&&e.apply(this,arguments)||this}return ao(InputMaskBase,e),InputMaskBase.prototype.getSurvey=function(e){return void 0===e&&(e=!1),this.owner},InputMaskBase.prototype.getType=function(){return"masksettings"},InputMaskBase.prototype.setData=function(e){var t=this;ov.getProperties(this.getType()).forEach(function(o){var n=e[o.name];t[o.name]=void 0!==n?n:o.getDefaultValue(t)})},InputMaskBase.prototype.getData=function(){var e=this,t={};return ov.getProperties(this.getType()).forEach(function(o){var n=e[o.name];o.isDefaultValue(n)||(t[o.name]=n)}),t},InputMaskBase.prototype.processInput=function(e){return{value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1}},InputMaskBase.prototype.getUnmaskedValue=function(e){return e},InputMaskBase.prototype.getMaskedValue=function(e){return e},InputMaskBase.prototype.getTextAlignment=function(){return"auto"},InputMaskBase.prototype.getTypeForExpressions=function(){return"text"},mask_base_decorate([jsonobject_property()],InputMaskBase.prototype,"saveMaskedValue",void 0),InputMaskBase}(oW);ov.addClass("masksettings",[{name:"saveMaskedValue:boolean",visibleIf:function(e){return!!e&&"masksettings"!==e.getType()}}],function(){return new an});var ar=(e_=function(e,t){return(e_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e_(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),mask_pattern_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s};function getLiterals(e){for(var t=[],o=!1,n=Object.keys(nC.maskSettings.patternDefinitions),r=0;r<e.length;r++){var i=e[r];i===nC.maskSettings.patternEscapeChar?o=!0:o?(o=!1,t.push({type:"fixed",value:i})):t.push({type:-1!==n.indexOf(i)?"regex":"const",value:i})}return t}function getUnmaskedValueByPattern(e,t,o,n){void 0===n&&(n=!1);var r="";if(!e)return r;for(var i="string"==typeof t?getLiterals(t):t,s=0;s<i.length;s++)if("fixed"!==i[s].type||n||(r+=i[s].value),"regex"===i[s].type){var a=nC.maskSettings.patternDefinitions[i[s].value];if(e[s]&&e[s].match(a))r+=e[s];else if(o){r="";break}else break}return r}var ai=function(e){function InputMaskPattern(){var t=null!==e&&e.apply(this,arguments)||this;return t.literals=[],t}return ar(InputMaskPattern,e),InputMaskPattern.prototype.updateLiterals=function(){this.literals=getLiterals(this.pattern||"")},InputMaskPattern.prototype.onPropertyValueChanged=function(e,t,o){"pattern"===e&&this.updateLiterals()},InputMaskPattern.prototype.getType=function(){return"patternmask"},InputMaskPattern.prototype.fromJSON=function(t,o){e.prototype.fromJSON.call(this,t,o),this.updateLiterals()},InputMaskPattern.prototype._getMaskedValue=function(e,t){return void 0===t&&(t=!1),function(e,t,o){for(var n=null==e?"":e,r="",i=0,s="string"==typeof t?getLiterals(t):t,a=0;a<s.length;a++)switch(s[a].type){case"regex":if(i<n.length&&(i=function(e,t,o){for(var n=nC.maskSettings.patternDefinitions[o.value];t<e.length&&!e[t].match(n);)t++;return t}(n,i,s[a])),i<n.length)r+=n[i];else{if(!o)return r;r+=nC.maskSettings.patternPlaceholderChar}i++;break;case"const":case"fixed":r+=s[a].value,s[a].value===n[i]&&i++}return r}(null==e?"":e,this.literals,t)},InputMaskPattern.prototype._getUnmaskedValue=function(e,t){return void 0===t&&(t=!1),getUnmaskedValueByPattern(null==e?"":e,this.literals,t)},InputMaskPattern.prototype.processInput=function(e){var t={value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1};if(!e.insertedChars&&e.selectionStart===e.selectionEnd)return t;var o=e.prevValue.slice(0,e.selectionStart)+(e.insertedChars||""),n=getUnmaskedValueByPattern(e.prevValue.slice(0,e.selectionStart),this.literals.slice(0,e.selectionStart),!1),r=getUnmaskedValueByPattern(e.prevValue.slice(e.selectionEnd),this.literals.slice(e.selectionEnd),!1,!0);return t.value=this._getMaskedValue(n+(e.insertedChars||"")+r,!0),e.insertedChars||"backward"!==e.inputDirection?t.caretPosition=this._getMaskedValue(o).length:t.caretPosition=e.selectionStart,t},InputMaskPattern.prototype.getMaskedValue=function(e){return this._getMaskedValue(e,!0)},InputMaskPattern.prototype.getUnmaskedValue=function(e){return this._getUnmaskedValue(e,!0)},mask_pattern_decorate([jsonobject_property()],InputMaskPattern.prototype,"pattern",void 0),InputMaskPattern}(an);ov.addClass("patternmask",[{name:"pattern"}],function(){return new ai},"masksettings");
8var as=(eS=function(e,t){return(eS=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eS(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),mask_numeric_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},aa=function(e){function InputMaskNumeric(){return null!==e&&e.apply(this,arguments)||this}return as(InputMaskNumeric,e),InputMaskNumeric.prototype.calccaretPosition=function(e,t,o){for(var n=e?this.displayNumber(this.parseNumber(e),!1).length:0,r=0,i=t.selectionStart,s=!t.insertedChars&&"forward"===t.inputDirection,a=0;a<o.length;a++)if(o[a]!==this.thousandsSeparator&&r++,r===n+(s?1:0)){i=s?a:a+1;break}return i},InputMaskNumeric.prototype.numericalCompositionIsEmpty=function(e){return!e.integralPart&&!e.fractionalPart},InputMaskNumeric.prototype.displayNumber=function(e,t,o){void 0===t&&(t=!0),void 0===o&&(o=!1);var n=e.integralPart;t&&n&&(n=(function(e,t,o){void 0===t&&(t=!0),void 0===o&&(o=3);var n=[];if(t){for(var r=e.length-o;r>-o;r-=o)n.push(e.substring(r,r+o));n=n.reverse()}else for(var r=0;r<e.length;r+=o)n.push(e.substring(r,r+o));return n})(n).join(this.thousandsSeparator));var r=e.fractionalPart,i=e.isNegative?"-":"";if(""!==r)return[i+(n=n||"0"),r=r.substring(0,this.precision)].join(this.decimalSeparator);if(o)return n&&"0"!==n?i+n:n;var s=n+(e.hasDecimalSeparator&&!o?this.decimalSeparator:"");return"0"===s?s:i+s},InputMaskNumeric.prototype.convertNumber=function(e){var t=e.isNegative?"-":"";return e.fractionalPart?parseFloat(t+(e.integralPart||"0")+"."+e.fractionalPart.substring(0,this.precision)):parseInt(t+e.integralPart||"0")},InputMaskNumeric.prototype.validateNumber=function(e,t){var o=this.min||Number.MIN_SAFE_INTEGER,n=this.max||Number.MAX_SAFE_INTEGER;if(this.numericalCompositionIsEmpty(e))return!0;if(void 0!==this.min||void 0!==this.max){var r=this.convertNumber(e);if(Number.isNaN(r)||r>=o&&r<=n)return!0;if(!t){if(e.hasDecimalSeparator||0==r){var i=Math.pow(.1,(e.fractionalPart||"").length);if(r>=0)return r+i>o&&r<=n;
vendor: 4,693 bytes, line 8
8if(r<0)return r>=o&&r-i<n}else{var s=r,a=r;if(r>0){if(r+1>o&&r<=n)return!0;for(;s=10*s+9,!((a*=10)>n);)if(s>o)return!0;return!1}if(r<0){if(r>=o&&r-1<n)return!0;for(;a=10*a-9,!((s*=10)<o);)if(a<n)return!0;return!1}}return r>=0&&r<=n||r<0&&r>=o}return!1}return!0},InputMaskNumeric.prototype.parseNumber=function(e){for(var t={integralPart:"",fractionalPart:"",hasDecimalSeparator:!1,isNegative:!1},o=null==e?"":e.toString(),n=0,r=0;r<o.length;r++){var i=o[r];switch(i){case"-":this.allowNegativeValues&&(void 0===this.min||this.min<0)&&n++;break;case this.decimalSeparator:this.precision>0&&(t.hasDecimalSeparator=!0);break;case this.thousandsSeparator:break;default:i.match(iN)&&(t.hasDecimalSeparator?t.fractionalPart+=i:t.integralPart+=i)}}return t.isNegative=n%2!=0,t.integralPart.length>1&&"0"===t.integralPart[0]&&(t.integralPart=t.integralPart.slice(1)),t},InputMaskNumeric.prototype.getNumberMaskedValue=function(e,t){void 0===t&&(t=!1);var o=this.parseNumber(e);return this.validateNumber(o,t)?this.displayNumber(o,!0,t):null},InputMaskNumeric.prototype.getNumberUnmaskedValue=function(e){var t=this.parseNumber(e);if(!this.numericalCompositionIsEmpty(t))return this.convertNumber(t)},InputMaskNumeric.prototype.getTextAlignment=function(){return"right"},InputMaskNumeric.prototype.getMaskedValue=function(e){var t=null==e?"":e.toString();return t=t.replace(".",this.decimalSeparator),this.getNumberMaskedValue(t,!0)},InputMaskNumeric.prototype.getUnmaskedValue=function(e){return this.getNumberUnmaskedValue(e)},InputMaskNumeric.prototype.processInput=function(e){var t={value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1},o=e.prevValue.slice(0,e.selectionStart)+(e.insertedChars||""),n=o+e.prevValue.slice(e.selectionEnd),r=this.parseNumber(n);if(!this.validateNumber(r,!1))return t;var i=this.getNumberMaskedValue(n),s=this.calccaretPosition(o,e,i);return t.value=i,t.caretPosition=s,t},InputMaskNumeric.prototype.getType=function(){return"numericmask"},InputMaskNumeric.prototype.isValueUndefined=function(t){return""===t||e.prototype.isValueUndefined.call(this,t)},mask_numeric_decorate([jsonobject_property()],InputMaskNumeric.prototype,"allowNegativeValues",void 0),mask_numeric_decorate([jsonobject_property()],InputMaskNumeric.prototype,"decimalSeparator",void 0),mask_numeric_decorate([jsonobject_property()],InputMaskNumeric.prototype,"precision",void 0),mask_numeric_decorate([jsonobject_property()],InputMaskNumeric.prototype,"thousandsSeparator",void 0),mask_numeric_decorate([jsonobject_property()],InputMaskNumeric.prototype,"min",void 0),mask_numeric_decorate([jsonobject_property()],InputMaskNumeric.prototype,"max",void 0),InputMaskNumeric}(an);ov.addClass("numericmask",[{name:"allowNegativeValues:boolean",default:!0},{name:"decimalSeparator",default:".",maxLength:1},{name:"thousandsSeparator",default:",",maxLength:1},{name:"precision:number",default:2,minValue:0},{name:"min:number"},{name:"max:number"}],function(){return new aa},"masksettings");var al=(eM=function(e,t){return(eM=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eM(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),mask_datetime_assign=function(){return(mask_datetime_assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},mask_datetime_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s};function getMaxCountLexem(e,t){switch(e){case"hour":case"minute":case"second":case"day":case"month":return 2;case"timeMarker":case"year":return t;default:return 1}}var au=function(e){function InputMaskDateTime(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultDate="1970-01-01T",t.turnOfTheCentury=68,t.twelve=12,t.lexems=[],t.inputDateTimeData=[],t.validBeginningOfNumbers={hour:1,hourU:2,minute:5,second:5,day:3,month:1},t}return al(InputMaskDateTime,e),Object.defineProperty(InputMaskDateTime.prototype,"hasDatePart",{get:function(){return this.lexems.some(function(e){return"day"===e.type||"month"===e.type||"year"===e.type})}
8,enumerable:!1,configurable:!0}),Object.defineProperty(InputMaskDateTime.prototype,"hasTimePart",{get:function(){return this.lexems.some(function(e){return"hour"===e.type||"minute"===e.type||"second"===e.type})},enumerable:!1,configurable:!0}),Object.defineProperty(InputMaskDateTime.prototype,"is12Hours",{get:function(){return this.lexems.filter(function(e){return"hour"===e.type&&!e.upperCase}).length>0},enumerable:!1,configurable:!0}),InputMaskDateTime.prototype.getType=function(){return"datetimemask"},InputMaskDateTime.prototype.getTypeForExpressions=function(){return this.hasTimePart?"datetime-local":"datetime"},InputMaskDateTime.prototype.updateLiterals=function(){this.lexems=function(e){for(var t,o=[],createOrUpdateLexem=function(e,n,r){if(void 0===r&&(r=!1),t&&t===e){o[o.length-1].count++;var i=getMaxCountLexem(e,o[o.length-1].count);o[o.length-1].maxCount=i}else{var i=getMaxCountLexem(e,1);o.push({type:e,value:n,count:1,maxCount:i,upperCase:r})}},n=0;n<e.length;n++){var r=e[n];switch(r){case"m":createOrUpdateLexem("month",r);break;case"d":createOrUpdateLexem("day",r);break;case"y":createOrUpdateLexem("year",r);break;case"h":createOrUpdateLexem("hour",r,!1);break;case"H":createOrUpdateLexem("hour",r,!0);break;case"M":createOrUpdateLexem("minute",r);break;case"s":createOrUpdateLexem("second",r);break;case"t":createOrUpdateLexem("timeMarker",r);break;case"T":createOrUpdateLexem("timeMarker",r,!0);break;default:o.push({type:"separator",value:r,count:1,maxCount:1,upperCase:!1})}t=o[o.length-1].type}return o}(this.pattern||"")},InputMaskDateTime.prototype.leaveOnlyNumbers=function(e){for(var t="",o=0;o<e.length;o++)e[o].match(iN)&&(t+=e[o]);return t},InputMaskDateTime.prototype.getMaskedStrFromISO=function(e){var t=this,o=new Date(e);return this.initInputDateTimeData(),this.hasTimePart||(o=new Date(e+"T00:00:00")),this.hasDatePart||(o=new Date(this.defaultDate+e)),isNaN(o)||this.lexems.forEach(function(e,n){var r=t.inputDateTimeData[n];switch(r.isCompleted=!0,e.type){case"hour":t.is12Hours?r.value=((o.getHours()-1)%t.twelve+1).toString():r.value=o.getHours().toString();break;case"minute":r.value=o.getMinutes().toString();break;case"second":r.value=o.getSeconds().toString();break;case"timeMarker":var i=o.getHours()>=t.twelve?"pm":"am";r.value=e.upperCase?i.toUpperCase():i;break;case"day":r.value=o.getDate().toString();break;case"month":r.value=(o.getMonth()+1).toString();break;case"year":var s=o.getFullYear();2==e.count&&(s%=100),r.value=s.toString()}}),this.getFormatedString(!0)},InputMaskDateTime.prototype.initInputDateTimeData=function(){var e=this;this.inputDateTimeData=[],this.lexems.forEach(function(t){e.inputDateTimeData.push({lexem:t,isCompleted:!1,value:void 0})})},InputMaskDateTime.prototype.getISO_8601Format=function(e){var t=[],o=[];if(void 0!==e.year){var n=this.getPlaceholder(4,e.year.toString(),"0")+e.year;t.push(n)}if(void 0!==e.month&&void 0!==e.year){var r=this.getPlaceholder(2,e.month.toString(),"0")+e.month;t.push(r)}if(void 0!==e.day&&void 0!==e.month&&void 0!==e.year){var i=this.getPlaceholder(2,e.day.toString(),"0")+e.day;t.push(i)}if(void 0!==e.hour){var s=this.getPlaceholder(2,e.hour.toString(),"0")+e.hour;o.push(s)}if(void 0!==e.minute&&void 0!==e.hour){var a=this.getPlaceholder(2,e.minute.toString(),"0")+e.minute;o.push(a)}if(void 0!==e.second&&void 0!==e.minute&&void 0!==e.hour){var l=this.getPlaceholder(2,e.second.toString(),"0")+e.second;o.push(l)}var u=[];return t.length>0&&u.push(t.join("-")),o.length>1&&u.push(o.join(":")),u.join("T")},InputMaskDateTime.prototype.isYearValid=function(e){if(void 0===e.min&&void 0===e.max)return!1;var t=e.year.toString(),o=e.min.toISOString().slice(0,t.length),n=e.max.toISOString().slice(0,t.length);return e.year>=parseInt(o)&&e.year<=parseInt(n)},InputMaskDateTime.prototype.createIDateTimeCompositionWithDefaults=function(e,t){var o=29==e.day&&2==e.month,n=e.min.getFullYear(),r=e.max.getFullYear();o&&(n=4*Math.ceil(n/4))>(r=4*Math.floor(r/4))&&(n=void 0,r=void 0);var i=void 0!==e.year?e.year:t?r:n,s=void 0!==e.month?e.month:t&&this.hasDatePart?12:1,a=void 0!==e.day?e.day:t&&this.hasDatePart?this.getMaxDateForMonth(i,s):1;return{year:i,month:s,day:a,hour:void 0!==e.hour?e.hour:t?23:0,minute:void 0!==e.minute?e.minute:t?59:0,second:void 0!==e.second?e.second:t?59:0}},InputMaskDateTime.prototype.getMaxDateForMonth=function(e,t){return 2==t?e%4==0&&e%100!=0||e%400==0?29:28:[31,28,31,30,31,30,31,31,30,31,30,31][t-1]}
8,InputMaskDateTime.prototype.isDateValid=function(e){var t=new Date(this.getISO_8601Format(this.createIDateTimeCompositionWithDefaults(e,!1))),o=new Date(this.getISO_8601Format(this.createIDateTimeCompositionWithDefaults(e,!0)));return!isNaN(t)&&(t.getDate()===e.day||void 0===e.day)&&(t.getMonth()===e.month-1||void 0===e.month)&&(t.getFullYear()===e.year||void 0===e.year)&&o>=e.min&&t<=e.max},InputMaskDateTime.prototype.getPlaceholder=function(e,t,o){var n=e-(t||"").length;return n>0?o.repeat(n):""},InputMaskDateTime.prototype.isDateValid12=function(e){return this.is12Hours?(!this.is12Hours||!(e.hour>this.twelve))&&(e.timeMarker?("p"===e.timeMarker[0].toLowerCase()?e.hour!==this.twelve&&(e.hour+=this.twelve):e.hour===this.twelve&&(e.hour=0),this.isDateValid(e)):!!this.isDateValid(e)||(e.hour+=this.twelve,this.isDateValid(e))):this.isDateValid(e)},InputMaskDateTime.prototype.updateTimeMarkerInputDateTimeData=function(e,t){var o=e.value;if(o){var n="timeMarker",r=mask_datetime_assign({},t);r[n]=o,this.isDateValid12(r)?e.isCompleted=!0:o=o.slice(0,o.length-1),e.value=o||void 0,t[n]=o||void 0}},InputMaskDateTime.prototype.updateInputDateTimeData=function(e,t){var o=e.value;if(o){var n=e.lexem.type,r=mask_datetime_assign({},t);if(r[n]=parseInt(this.parseTwoDigitYear(e)),o.length===e.lexem.maxCount){if(this.isDateValid12(r)){e.isCompleted=!0,e.value=o||void 0,t[n]=parseInt(o)>0?parseInt(o):void 0;return}o=o.slice(0,o.length-1)}r[n]=parseInt(o);var i=parseInt(o[0]),s=this.validBeginningOfNumbers[n+(e.lexem.upperCase?"U":"")];"year"!==n||this.isYearValid(r)?void 0!==s&&i>s?this.isDateValid12(r)?e.isCompleted=!0:o=o.slice(0,o.length-1):void 0!==s&&0!==i&&i<=s&&(this.checkValidationDateTimePart(r,n,e),e.isCompleted&&!this.isDateValid12(r)&&(o=o.slice(0,o.length-1))):(o=o.slice(0,o.length-1),e.isCompleted=!1),e.value=o||void 0,t[n]=parseInt(o)>0?parseInt(o):void 0}},InputMaskDateTime.prototype.checkValidationDateTimePart=function(e,t,o){var n=e[t],r=10*n,i=10;"month"===t&&(i=3),"hour"===t&&(i=this.is12Hours?3:5),o.isCompleted=!0;for(var s=0;s<i;s++)if(e[t]=r+s,this.isDateValid12(e)){o.isCompleted=!1;break}e[t]=n},InputMaskDateTime.prototype.getCorrectDatePartFormat=function(e,t){var o,n,r=e.lexem,i=e.value||"";return i&&"timeMarker"===r.type?t&&(i+=this.getPlaceholder(r.count,i,r.value)):(i&&e.isCompleted&&(i=parseInt(i).toString()),i&&e.isCompleted)?i=this.getPlaceholder(r.count,i,"0")+i:(n=o=i,r.count<r.maxCount&&("day"===r.type&&0===parseInt(o[0])||"month"===r.type&&0===parseInt(o[0]))&&(n=o.slice(1,o.length)),i=n,t&&(i+=this.getPlaceholder(r.count,i,r.value))),i},InputMaskDateTime.prototype.createIDateTimeComposition=function(){var e,t;return this.hasDatePart?(e=this.min||"0001-01-01",t=this.max||"9996-12-31"):(e=this.defaultDate+(this.min||"00:00:00"),t=this.defaultDate+(this.max||"23:59:59")),{hour:void 0,minute:void 0,second:void 0,day:void 0,month:void 0,year:void 0,min:new Date(e),max:new Date(t)}},InputMaskDateTime.prototype.parseTwoDigitYear=function(e){var t=e.value;return"year"!==e.lexem.type||e.lexem.count>2?t:(this.max&&this.max.length>=4&&(this.turnOfTheCentury=parseInt(this.max.slice(2,4))),(parseInt(t)>this.turnOfTheCentury?"19":"20")+t)},InputMaskDateTime.prototype.getFormatedString=function(e){var t="",o="",n=!1,r=this.inputDateTimeData.length-1;if(!e){var i=this.inputDateTimeData.filter(function(e){return!!e.value});r=this.inputDateTimeData.indexOf(i[i.length-1])}for(var s=0;s<this.inputDateTimeData.length;s++){var a=this.inputDateTimeData[s];switch(a.lexem.type){case"timeMarker":case"hour":case"minute":case"second":case"day":case"month":case"year":if(void 0===a.value&&!e)return t+(n?o:"");var l=e||r>s;t+=o+this.getCorrectDatePartFormat(a,l),n=a.isCompleted;break;case"separator":o=a.lexem.value}}return t},InputMaskDateTime.prototype.cleanTimeMarker=function(e,t){var o="";e=e.toUpperCase();for(var n=0;n<e.length;n++)(!o&&("P"==e[n]||"A"==e[n])||o&&"M"==e[n])&&(o+=e[n]);return t?o.toUpperCase():o.toLowerCase()},InputMaskDateTime.prototype.setInputDateTimeData=function(e){var t=this,o=0;
8this.initInputDateTimeData(),this.lexems.forEach(function(n,r){if(e.length>0&&o<e.length&&"separator"!==n.type){var i=t.inputDateTimeData[r],s=e[o],a=void 0;a="timeMarker"===n.type?t.cleanTimeMarker(s,n.upperCase):t.leaveOnlyNumbers(s),i.value=a.slice(0,n.maxCount),o++}})},InputMaskDateTime.prototype._getMaskedValue=function(e,t){var o=this;void 0===t&&(t=!0);var n=null==e?"":e.toString(),r=this.getParts(n);this.setInputDateTimeData(r);var i=this.createIDateTimeComposition();return this.inputDateTimeData.forEach(function(e){"timeMarker"===e.lexem.type?o.updateTimeMarkerInputDateTimeData(e,i):o.updateInputDateTimeData(e,i)}),this.getFormatedString(t)},InputMaskDateTime.prototype.getParts=function(e){for(var t=[],o=this.lexems.filter(function(e){return"separator"!==e.type}),n=this.lexems.filter(function(e){return"separator"===e.type}).map(function(e){return e.value}),r="",i=!1,s=!1,a=0;a<e.length;a++){var l=e[a];if(l.match(iN)||l===o[t.length].value?(i=!1,s=!1,r+=l):"timeMarker"===o[t.length].type?(i=!1,s=!1,r+=l):-1!==n.indexOf(l)?s||(i=!0,t.push(r),r=""):i||(s=!0,t.push(r),r=""),t.length>=o.length){i=!1;break}}return(""!=r||i)&&t.push(r),t},InputMaskDateTime.prototype.getUnmaskedValue=function(e){var t,o=this,n=null==e?"":e.toString(),r=this.getParts(n);this.setInputDateTimeData(r);var i=null===(t=this.inputDateTimeData.filter(function(e){return"timeMarker"===e.lexem.type})[0])||void 0===t?void 0:t.value.toLowerCase()[0],s=this.createIDateTimeComposition(),a=!1;return this.inputDateTimeData.forEach(function(e){var t=e.value;if("timeMarker"!=e.lexem.type&&"separator"!=e.lexem.type){if(!t||t.length<e.lexem.count){a=!0;return}var n=parseInt(o.parseTwoDigitYear(e));"hour"==e.lexem.type&&"p"===i&&n!=o.twelve&&(n+=o.twelve),s[e.lexem.type]=n}}),a?"":this.getISO_8601Format(s)},InputMaskDateTime.prototype.getMaskedValue=function(e){return this.getMaskedStrFromISO(e)},InputMaskDateTime.prototype.processInput=function(e){var t={value:e.prevValue,caretPosition:e.selectionEnd,cancelPreventDefault:!1},o=e.prevValue.slice(0,e.selectionStart),n=e.prevValue.slice(e.selectionEnd);return t.value=this._getMaskedValue(o+(e.insertedChars||"")+n),e.insertedChars||"backward"!==e.inputDirection?t.caretPosition=this._getMaskedValue(o+(e.insertedChars||""),!1).length:t.caretPosition=e.selectionStart,t},mask_datetime_decorate([jsonobject_property()],InputMaskDateTime.prototype,"min",void 0),mask_datetime_decorate([jsonobject_property()],InputMaskDateTime.prototype,"max",void 0),InputMaskDateTime}(ai);ov.addClass("datetimemask",[{name:"min",type:"datetime",enableIf:function(e){return!!e.pattern}},{name:"max",type:"datetime",enableIf:function(e){return!!e.pattern}}],function(){return new au},"patternmask");var ac=(eE=function(e,t){return(eE=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eE(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),mask_currency_decorate=function(e,t,o,n){var r,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ap=function(e){function InputMaskCurrency(){return null!==e&&e.apply(this,arguments)||this}return ac(InputMaskCurrency,e),InputMaskCurrency.prototype.getType=function(){return"currencymask"},InputMaskCurrency.prototype.wrapText=function(e){var t=this.prefix||"",o=this.suffix||"",n=e;return n&&(-1===n.indexOf(t)&&(n=t+n),-1===n.indexOf(o)&&(n+=o)),n},InputMaskCurrency.prototype.unwrapInputArgs=function(e){var t=e.prevValue;if(t){if(this.prefix&&-1!==t.indexOf(this.prefix)){t=t.slice(t.indexOf(this.prefix)+this.prefix.length);var o=(this.prefix||"").length;e.selectionStart=Math.max(e.selectionStart-o,0),e.selectionEnd-=o}
8this.suffix&&-1!==t.indexOf(this.suffix)&&(t=t.slice(0,t.indexOf(this.suffix))),e.prevValue=t}},InputMaskCurrency.prototype.processInput=function(t){this.unwrapInputArgs(t);var o=e.prototype.processInput.call(this,t),n=(this.prefix||"").length;return o.value&&(o.caretPosition+=n),o.value=this.wrapText(o.value),o},InputMaskCurrency.prototype.getMaskedValue=function(t){var o=e.prototype.getMaskedValue.call(this,t);return this.wrapText(o)},mask_currency_decorate([jsonobject_property()],InputMaskCurrency.prototype,"prefix",void 0),mask_currency_decorate([jsonobject_property()],InputMaskCurrency.prototype,"suffix",void 0),InputMaskCurrency}(aa);function checkLibraryVersion(e,t){t3!=e&&console.error("survey-core has version '"+t3+"' and "+t+" has version '"+e+"'. SurveyJS libraries should have the same versions to work correctly.")}function setLicenseKey(e){slk(e)}function slk(e){(function(e,t,o){if(e){var n=function(e){var t,o,n,r={},i=0,s=0,a="",l=String.fromCharCode,u=e.length;for(t=0;t<64;t++)r["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(o=0;o<u;o++)for(i=(i<<6)+r[e.charAt(o)],s+=6;s>=8;)((n=i>>>(s-=8)&255)||o<u-2)&&(a+=l(n));return a}(e);if(n){var r=n.indexOf(";");!(r<0)&&function(e){if(!e)return!0;var t="domains:",o=e.indexOf(t);if(o<0)return!0;var n=e.substring(o+t.length).toLowerCase().split(",");if(!Array.isArray(n)||0===n.length)return!0;var r=t6.getLocation();if(r&&r.hostname){var i=r.hostname.toLowerCase();n.push("localhost");for(var s=0;s<n.length;s++)if(i.indexOf(n[s])>-1)return!0;return!1}return!0}(n.substring(0,r))&&(n=n.substring(r+1)).split(",").forEach(function(e){var n=e.indexOf("=");if(n>0){var r=new Date(e.substring(n+1));t[e.substring(0,n)]=new Date(o)<=r||r}})}}})(e,ad,t9)}function hasLicense(e){return!0===glc(e)}function glc(e){var t=ad[e.toString()];return!!t&&t}ov.addClass("currencymask",[{name:"prefix"},{name:"suffix"}],function(){return new ap},"numericmask"),t3="1.12.62",nC.version=t3,t9="2026-03-18";var ad={},ah={"$main-color":"#1ab394","$add-button-color":"#1948b3","$remove-button-color":"#ff1800","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-slider-color":"#cfcfcf","$error-color":"#d52901","$text-color":"#404040","$light-text-color":"#fff","$checkmark-color":"#fff","$progress-buttons-color":"#8dd9ca","$inputs-background-color":"transparent","$main-hover-color":"#9f9f9f","$body-container-background-color":"#f4f4f4","$text-border-color":"#d4d4d4","$disabled-text-color":"rgba(64, 64, 64, 0.5)","$border-color":"rgb(64, 64, 64, 0.5)","$header-background-color":"#e7e7e7","$answer-background-color":"rgba(26, 179, 148, 0.2)","$error-background-color":"rgba(213, 41, 1, 0.2)","$radio-checked-color":"#404040","$clean-button-color":"#1948b3","$body-background-color":"#ffffff","$foreground-light":"#909090","$font-family":"Raleway"},am={"$header-background-color":"#e7e7e7","$body-container-background-color":"#f4f4f4","$main-color":"#1ab394","$main-hover-color":"#0aa384","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#6d7072","$text-input-color":"#6d7072","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#8dd9ca","$progress-buttons-line-color":"#d4d4d4"},ag={"$header-background-color":"#4a4a4a","$body-container-background-color":"#f8f8f8","$main-color":"#f78119","$main-hover-color":"#e77109","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#f78119","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64,
864, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#f7b781","$progress-buttons-line-color":"#d4d4d4"},af={"$header-background-color":"#d9d8dd","$body-container-background-color":"#f6f7f2","$main-color":"#3c4f6d","$main-hover-color":"#2c3f5d","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#839ec9","$progress-buttons-line-color":"#d4d4d4"},ay={"$header-background-color":"#ddd2ce","$body-container-background-color":"#f7efed","$main-color":"#68656e","$main-hover-color":"#58555e","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#4a4a4a","$text-input-color":"#4a4a4a","$header-color":"#6d7072","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#c6bed4","$progress-buttons-line-color":"#d4d4d4"},av={"$header-background-color":"#cdccd2","$body-container-background-color":"#efedf4","$main-color":"#0f0f33","$main-hover-color":"#191955","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#0f0f33","$text-input-color":"#0f0f33","$header-color":"#0f0f33","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#747491","$progress-buttons-line-color":"#d4d4d4"},ab={"$header-background-color":"#82b8da","$body-container-background-color":"#dae1e7","$main-color":"#3c3b40","$main-hover-color":"#1e1d20","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#000","$text-input-color":"#000","$header-color":"#000","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#d1c9f5","$progress-buttons-line-color":"#d4d4d4"},ax={"$header-background-color":"#323232","$body-container-background-color":"#f8f8f8","$main-color":"#5ac8fa","$main-hover-color":"#06a1e7","$body-background-color":"white","$inputs-background-color":"white","$text-color":"#000","$text-input-color":"#000","$header-color":"#000","$border-color":"#e7e7e7","$error-color":"#ed5565","$error-background-color":"#fcdfe2","$disable-color":"#dbdbdb","$progress-text-color":"#9d9d9d","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#acdcf2","$progress-buttons-line-color":"#d4d4d4"},aC=function(){function StylesManager(){StylesManager.autoApplyTheme()}return StylesManager.autoApplyTheme=function(){if("bootstrap"!==rK.currentType&&"bootstrapmaterial"!==rK.currentType){var e=StylesManager.getIncludedThemeCss();1===e.length&&StylesManager.applyTheme(e[0].name)}},StylesManager.getAvailableThemes=function(){return rK.getAvailableThemes().filter(function(e){return -1!==["defaultV2","default","modern"].indexOf(e)}).map(function(e){return{name:e,theme:rK[e]}})},StylesManager.getIncludedThemeCss=function(){if(void 0===nC.environment)return[];var e=nC.environment.rootElement,t=StylesManager.getAvailableThemes(),o=isShadowDOM(e)?e.host:e;if(o){var n=getComputedStyle(o);if(n.length)return t.filter(function(e){return e.theme.variables&&n.getPropertyValue(e.theme.variables.themeMark)})}return[]},StylesManager.findSheet=function(e){if(void 0===nC.environment)return null;for(var t=nC.environment.root.styleSheets,o=0;o<t.length;o++)if(t[o].ownerNode&&t[o].ownerNode.id===e)return t[o];return null},StylesManager.createSheet=function(e){var t=nC.environment.stylesSheetsMountContainer,o=t8.createElement("style");return o.id=e,o.appendChild(new Text("")),getElement(t).appendChild(o),StylesManager.Logger&&StylesManager.Logger.log("style sheet "+e+" created"),o.sheet},StylesManager.applyTheme=function(e,t){if(void 0===e&&(e="default"),void 0!==nC.environment){var o=nC.environment.rootElement,n=isSha
8dowDOM(o)?o.host:o;if(rK.currentType=e,StylesManager.Enabled){if("bootstrap"!==e&&"bootstrapmaterial"!==e){(function(e,t){Object.keys(e||{}).forEach(function(o){var n=o.substring(1);t.style.setProperty("--"+n,e[o])})})(StylesManager.ThemeColors[e],n),StylesManager.Logger&&StylesManager.Logger.log("apply theme "+e+" completed");return}var r=StylesManager.ThemeCss[e];if(!r){rK.currentType="defaultV2";return}StylesManager.insertStylesRulesIntoDocument();var i=t||StylesManager.ThemeSelector[e]||StylesManager.ThemeSelector.default,s=(e+i).trim(),a=StylesManager.findSheet(s);if(!a){a=StylesManager.createSheet(s);var l=StylesManager.ThemeColors[e]||StylesManager.ThemeColors.default;Object.keys(r).forEach(function(e){var t=r[e];Object.keys(l||{}).forEach(function(e){return t=t.replace(RegExp("\\"+e,"g"),l[e])});try{0===e.indexOf("body")?a.insertRule(e+" { "+t+" }",0):a.insertRule(i+e+" { "+t+" }",0)}catch(e){}})}}StylesManager.Logger&&StylesManager.Logger.log("apply theme "+e+" completed")}},StylesManager.insertStylesRulesIntoDocument=function(){if(StylesManager.Enabled){var e=StylesManager.findSheet(StylesManager.SurveyJSStylesSheetId);e||(e=StylesManager.createSheet(StylesManager.SurveyJSStylesSheetId)),Object.keys(StylesManager.Styles).length&&Object.keys(StylesManager.Styles).forEach(function(t){try{e.insertRule(t+" { "+StylesManager.Styles[t]+" }",0)}catch(e){}}),Object.keys(StylesManager.Media).length&&Object.keys(StylesManager.Media).forEach(function(t){try{e.insertRule(StylesManager.Media[t].media+" { "+t+" { "+StylesManager.Media[t].style+" } }",0)}catch(e){}})}},StylesManager.SurveyJSStylesSheetId="surveyjs-styles",StylesManager.Styles={},StylesManager.Media={},StylesManager.ThemeColors={modern:ah,default:am,orange:ag,darkblue:af,darkrose:ay,stone:av,winter:ab,winterstone:ax},StylesManager.ThemeCss={},StylesManager.ThemeSelector={default:".sv_main ",modern:".sv-root-modern "},StylesManager.Enabled=!0,StylesManager}();iv.prototype.onBeforeRunConstructor=function(){t6.isAvailable()&&aC.autoApplyTheme()};var aw={root:"sv_main sv_default_css",rootProgress:"sv_progress",container:"sv_container",header:"sv_header",bodyContainer:"sv-components-row",body:"sv_body",bodyEmpty:"sv_body sv_body_empty",footer:"sv_nav",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"sv_nav_btn",completedPage:"sv_completed_page",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"sv_progress",progressBar:"sv_progress_bar",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"sv_p_root",title:"sv_page_title",description:""},pageTitle:"sv_page_title",pageDescription:"",row:"sv_row",question:{mainRoot:"sv_q sv_qstn",flowRoot:"sv_q_flow sv_qstn",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",requiredText:"sv_q_required_text",title:"sv_q_title",titleExpandable:"sv_q_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_q_title_expanded",titleCollapsed:"sv_q_title_collapsed",number:"sv_q_num",description:"sv_q_description",comment:"",required:"",titleRequired:"",hasError:"",indent:20,footer:"sv_q_footer",formGroup:"form-group",asCell:"sv_matrix_cell",icon:"sv_question_icon",iconExpanded:"sv_expanded",disabled:"sv_q--disabled"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_p_title_expanded",titleCollapsed:"sv_p_title_collapsed",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",de
8scription:"sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"sv_q_erbox",icon:"",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qcbc sv_qbln",rootRadio:"sv_qcbc sv_qbln",item:"sv-boolean",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",rootCheckbox:"sv_qcbc sv_qbln",checkboxItem:"sv-boolean",checkboxItemChecked:"sv-boolean--checked",controlCheckbox:"sv-visuallyvisible",checkboxControlLabel:"sv-boolean__label",checkboxItemIndeterminate:"sv-boolean--indeterminate",checkboxItemDisabled:"sv-item--disabled sv-boolean--disabled",checkboxMaterialDecorator:"sv-item__decorator sv-boolean__decorator",checkboxItemDecorator:"sv-item__svg sv-boolean__svg"},checkbox:{root:"sv_qcbc sv_qcbx",item:"sv_q_checkbox",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemChecked:"checked",itemInline:"sv_q_checkbox_inline",label:"sv_q_checkbox_label",labelChecked:"",itemControl:"sv_q_checkbox_control_item",itemDecorator:"sv-hidden",controlLabel:"sv_q_checkbox_control_label",other:"sv_q_other sv_q_checkbox_other",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},comment:{remainingCharacterCounter:"sv-remaining-character-counter"},dropdown:{root:"",popup:"sv-dropdown-popup",control:"sv_q_dropdown_control",controlInputFieldComponent:"sv_q_dropdown_control__input-field-component",selectWrapper:"sv_select_wrapper",other:"sv_q_dd_other",cleanButton:"sv_q_dropdown_clean-button",cleanButtonSvg:"sv_q_dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",controlValue:"sv_q_dropdown__value",filterStringInput:"sv_q_dropdown__filter-string-input",hintPrefix:"sv_q_dropdown__hint-prefix",hintSuffix:"sv_q_dropdown__hint-suffix"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image",noImage:"sv-image__no-image",noImageSvgIconId:"icon-no-image"},matrix:{root:"sv_q_matrix",label:"sv_q_m_label",itemChecked:"checked",itemDecorator:"sv-hidden",cell:"sv_q_m_cell",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected",cellLabel:"sv_q_m_cell_label",cellResponsiveTitle:"sv_q_m_cell_responsive_title"},matrixdropdown:{root:"sv_q_matrix_dropdown",cell:"sv_matrix_cell",cellResponsiveTitle:"sv_matrix_cell_responsive_title",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",rowAdditional:"sv-matrix__row--additional",rowTextCell:"sv-table__cell--row-text",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",choiceCell:"sv-table__cell--choice",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{root:"sv_q_matrix_dynamic",button:"sv_matrix_dynamic_button",buttonAdd:"sv_matrix_dynamic_button--add",buttonRemove:"",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",cell:"sv_matrix_cell",cellResponsiveTitle:"sv_matrix_cell_responsive_title",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",choiceCell:"sv-table__cell--choice",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},paneldynamic:{root:"sv_panel_dynamic",title:"sv_p_title",header:"sv-paneldynamic__header sv_header",headerTab:"sv-paneldynamic__header-tab",button:"",buttonAdd:"sv-paneldynamic__add-btn",buttonRemove:"sv_p_remove_bt
8n",buttonRemoveRight:"sv_p_remove_btn_right",buttonPrev:"sv-paneldynamic__prev-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",buttonNext:"sv-paneldynamic__next-btn",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row",footer:"",progressBtnIcon:"icon-progressbutton"},multipletext:{root:"sv_q_mt",itemTitle:"sv_q_mt_title",item:"sv_q_mt_item",row:"sv_q_mt_row",itemLabel:"sv_q_mt_label",itemValue:"sv_q_mt_item_value sv_q_text_root"},radiogroup:{root:"sv_qcbc",item:"sv_q_radiogroup",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",itemDecorator:"sv-hidden",label:"sv_q_radiogroup_label",labelChecked:"",itemControl:"sv_q_radiogroup_control_item",controlLabel:"",other:"sv_q_other sv_q_radiogroup_other",clearButton:"sv_q_radiogroup_clear",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemHover:"sv-button-group__item--hover",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemInline:"sv_q_imagepicker_inline",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear",column:"sv_q_select_column",itemNoImage:"sv_q_imgsel__no-image",itemNoImageSvgIcon:"sv_q_imgsel__no-image-svg",itemNoImageSvgIconId:"icon-no-image"},rating:{root:"sv_q_rating",item:"sv_q_rating_item",itemFixedSize:"sv_q_rating_item_fixed",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",itemStar:"sv_q_rating__item-star",itemStarSelected:"sv_q_rating__item-star--selected",itemSmiley:"sv_q_rating__item-smiley",itemSmileySelected:"sv_q_rating__item-smiley--selected"},text:{root:"sv_q_text_root",remainingCharacterCounter:"sv-remaining-character-counter"},expression:"",file:{root:"sv_q_file",placeholderInput:"sv-visuallyhidden",previewItem:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv-visuallyhidden",removeFile:"sv_q_file_remove",fileDecorator:"sv-file__decorator",fileSign:"sv_q_file_sign",chooseFile:"sv_q_file_choose_button",noFileChosen:"sv_q_file_placeholder",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"sv-save-data_root",rootWithButtons:"sv-save-data_root--with-buttons",info:"sv-save-data_info",error:"sv-save-data_error",success:"sv-save-data_success",button:"sv-save-data_button",shown:"sv-save-data_root--shown"},window:{root:"sv_window",rootCollapsedMod:"sv_window--collapsed",rootFullScreenMode:"sv_window--full-screen",rootContent:"sv_window_root-content",body:"sv_window_content",header:{root:"sv_window_header",titleCollapsed:"sv_window_header_title_collapsed",buttonsContainer:"sv_window_buttons_container",button:"sv_window_button",buttonExpanded:"",buttonCollapsed:"",collapseButton:"sv_window_button sv_window_button_collapse",closeButton:"sv_window_button sv_window_button_close",fullScreenButton:"sv_window_button sv_window_button_full_screen"}},variables:{mobileWidth:"--sv-mobile-width",themeMark:"--sv-default-mark"},tagbox:{root:"",popup:"sv-dropdown-popup",small:"sv_q_row__question--small",selectWrapper:"sv_select_wrapper sv_q_tagbox_wrapper",other:"sv_q_input sv_q_comment sv_q_selectbase__other",cleanButton:"sv_q_tagbox_clean-button sv_q_dropdown_clean-button",cleanButtonSvg:"sv_q_tagbox_clean-button-svg sv_q_dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",cleanItemButton:"sv_q_tagbox-item_clean-button",cleanItemButtonSvg:"sv_q_tagbox-item_clean-button-svg",cleanItemButtonIconId:"icon-clear_16x16",control:"sv_q_input sv_q_tagbox sv_q_dropdown_control",controlValue:"sv_q_tagbox__value sv_q_dropdown__value",controlEmpty:"sv_q_dropdown--empty sv_q_tagbox--empty",placeholderInput:"sv_q_tagbox__placeholder",filterStringInput:"sv_q_tagbox__filter-string-input sv_q_dropdown__filter-string-input",hint:"sv_q_tagbox__hint",hintPrefix:"sv_q_dropdown__hint-prefix sv_q_tagbox__hint-prefix",hintSuffix:"sv_q_dropdown__hint-suffix sv_q_tagbox__hint-suffix",hintSuffixWrapper:"sv_q_tagbox__hint-suffix-wrapper"}};rK.default=aw,rK.orange=aw,rK.darkblue=aw,rK.darkrose=aw,rK.stone=aw,rK.winter=aw,rK.winterstone=aw;var aP
vendor: 15,826 bytes, line 8
8={root:"sv-root-modern",rootProgress:"sv-progress",timerRoot:"sv-body__timer",container:"sv-container-modern",header:"sv-title sv-container-modern__title",headerClose:"sv-container-modern__close",bodyContainer:"sv-components-row",body:"sv-body",bodyEmpty:"sv-body sv-body--empty",footer:"sv-footer sv-body__footer sv-clearfix",title:"",description:"",logo:"sv-logo",logoImage:"sv-logo__image",headerText:"sv-header__text",navigationButton:"sv-btn sv-btn--navigation",completedPage:"sv-completedpage",navigation:{complete:"sv-footer__complete-btn",prev:"sv-footer__prev-btn",next:"sv-footer__next-btn",start:"sv-footer__start-btn",preview:"sv-footer__preview-btn",edit:"sv-footer__edit-btn"},panel:{title:"sv-title sv-panel__title",titleExpandable:"sv-panel__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv-panel__title--expanded",titleCollapsed:"sv-panel__title--collapsed",titleOnError:"sv-panel__title--error",description:"sv-description sv-panel__description",container:"sv-panel sv-row__panel",content:"sv-panel__content",icon:"sv-panel__icon",iconExpanded:"sv-panel__icon--expanded",footer:"sv-panel__footer",requiredText:"sv-panel__required-text",number:"sv-question__num"},paneldynamic:{root:"sv-paneldynamic",navigation:"sv-paneldynamic__navigation",title:"sv-title sv-question__title",button:"sv-btn",buttonRemove:"sv-paneldynamic__remove-btn",buttonRemoveRight:"sv-paneldynamic__remove-btn--right",buttonAdd:"sv-paneldynamic__add-btn",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",separator:"sv-paneldynamic__separator",panelWrapper:"sv-paneldynamic__panel-wrapper",panelWrapperInRow:"sv-paneldynamic__panel-wrapper--in-row",progressBtnIcon:"icon-progressbutton",footer:""},progress:"sv-progress sv-body__progress",progressBar:"sv-progress__bar",progressText:"sv-progress__text",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"sv-page sv-body__page",title:"sv-title sv-page__title",number:"sv-page__num",description:"sv-description sv-page__description"},pageTitle:"sv-title sv-page__title",pageDescription:"sv-description sv-page__description",row:"sv-row sv-clearfix",question:{mainRoot:"sv-question sv-row__question",flowRoot:"sv-question sv-row__question sv-row__question--flow",asCell:"sv-table__cell",header:"sv-question__header",headerLeft:"sv-question__header--location--left",headerTop:"sv-question__header--location--top",headerBottom:"sv-question__header--location--bottom",content:"sv-question__content",contentLeft:"sv-question__content--left",titleLeftRoot:"",answered:"sv-question--answered",titleOnAnswer:"sv-question__title--answer",titleOnError:"sv-question__title--error",title:"sv-title sv-question__title",titleExpandable:"sv-question__title--expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv-question__title--expanded",titleCollapsed:"sv-question__title--collapsed",icon:"sv-question__icon",iconExpanded:"sv-question__icon--expanded",requiredText:"sv-question__required-text",number:"sv-question__num",description:"sv-description sv-question__description",descriptionUnderInput:"sv-description sv-question__description",comment:"sv-comment",required:"sv-question--required",titleRequired:"sv-question__title--required",indent:20,footer:"sv-question__footer",formGroup:"sv-question__form-group",hasError:"",disabled:"sv-question--disabled"},image:{root:"sv-image",image:"sv_image_image"},error:{root:"sv-question__erbox",icon:"",item:"",locationTop:"sv-question__erbox--location--top",locationBottom:"sv-question__erbox--location--bottom"},checkbox:{root:"sv-selectbase",item:"sv-item sv-checkbox sv-selectbase__item",itemSelectAll:"sv-checkbox--selectall",itemNone:"sv-checkbox--none",itemDisabled:"sv-item--disabled sv-checkbox--disabled",itemChecked:"sv-checkbox--checked",itemHover:"sv-checkbox--allowhover",itemInline:"sv-selectbase__item--inline",label:"sv-selectbase__label",labelChecked:"",itemControl:"sv-visuallyhidden sv-item__control",itemDecorator:"sv-item__svg sv-checkbox__svg",itemSvgIconId:"#icon-moderncheck",controlLabel:"sv-item__control-label",materialDecorator:"sv-item__decorator sv-selectbase__decorator sv-checkbox__decorator",other:"sv-comment sv-question__other",column:"sv-selectbase__column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},radiogroup:{root:"sv-selectbase",item:"sv-item sv-radio sv-selectbase__item",itemInline:"sv-selectbase__item--inline",label:"sv-selectbase__label",labelChecked:"",itemDisabled:"sv-item--disabled sv-radio--disabled",itemChecked:"sv-radio--checked",itemHover:"sv-radio--allowhover",itemControl:"sv-visuallyhidden sv-item__control",itemDecorator:"sv-item__svg sv-radio__svg",itemSvgIconId:"#icon-modernradio",controlLabel:"sv-item__control-label",materialDecorator:"sv-item__decorator sv-selectbase__decorator sv-radio__decorator",other:"sv-comment sv-question__other",clearButton:"sv-btn sv-selectbase__clear-btn",column:"sv-selectbase__column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemHover:"sv-button-group__item--hover",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},boolean:{root:"sv_qbln",rootRadio:"sv_qbln",small:"sv-row__question--small",item:"sv-boolean sv-item",control:"sv-visuallyhidden",itemChecked:"sv-boolean--checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-item--disabled sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",rootCheckbox:"sv_qbln",checkboxItem:"sv-boolean sv-item",checkboxItemChecked:"sv-boolean--checked",controlCheckbox:"sv-visuallyhidden",checkboxControlLabel:"sv-boolean__label",checkboxItemIndeterminate:"sv-boolean--indeterminate",checkboxItemDisabled:"sv-item--disabled sv-boolean--disabled",checkboxMaterialDecorator:"sv-item__decorator sv-boolean__decorator ",checkboxItemDecorator:"sv-item__svg sv-boolean__svg",indeterminatePath:"sv-boolean__indeterminate-path",svgIconCheckedId:"#icon-modernbooleancheckchecked",svgIconUncheckedId:"#icon-modernbooleancheckunchecked",svgIconIndId:"#icon-modernbooleancheckind"},text:{root:"sv-text",small:"sv-row__question--small",remainingCharacterCounter:"sv-remaining-character-counter",onError:"sv-text--error"},multipletext:{root:"sv-multipletext",item:"sv-multipletext__item",itemLabel:"sv-multipletext__item-label",itemTitle:"sv-multipletext__item-title",row:"sv-multipletext__row",cell:"sv-multipletext__cell"},dropdown:{root:"",popup:"sv-dropdown-popup",small:"sv-row__question--small",control:"sv-dropdown",selectWrapper:"",other:"sv-comment sv-question__other",onError:"sv-dropdown--error",cleanButton:"sv-dropdown_clean-button",cleanButtonSvg:"sv-dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv-dropdown__filter-string-input",controlValue:"sv-dropdown__value",controlInputFieldComponent:"sv_dropdown_control__input-field-component",hintPrefix:"sv-dropdown__hint-prefix",hintSuffix:"sv-dropdown__hint-suffix"},tagbox:{root:"",popup:"sv-dropdown-popup",small:"sv-row__question--small",selectWrapper:"sv_select_wrapper sv-tagbox_wrapper",other:"sv-input sv-comment sv-selectbase__other",cleanButton:"sv-tagbox_clean-button sv-dropdown_clean-button",cleanButtonSvg:"sv-tagbox_clean-button-svg sv-dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",cleanItemButton:"sv-tagbox__item_clean-button",cleanItemButtonSvg:"sv-tagbox__item_clean-button-svg",cleanItemButtonIconId:"icon-clear_16x16",control:"sv-input sv-tagbox sv-dropdown",controlValue:"sv-tagbox__value sv-dropdown__value",controlEmpty:"sv-dropdown--empty sv-tagbox--empty",placeholderInput:"sv-tagbox__placeholder",filterStringInput:"sv-tagbox__filter-string-input sv-dropdown__filter-string-input"},imagepicker:{root:"sv-selectbase sv-imagepicker",column:"sv-selectbase__column",item:"sv-imagepicker__item",itemInline:"sv-imagepicker__item--inline",itemChecked:"sv-imagepicker__item--checked",itemDisabled:"sv-imagepicker__item--disabled",itemHover:"sv-imagepicker__item--allowhover",label:"sv-imagepicker__label",itemControl:"sv-imagepicker__control sv-visuallyhidden",image:"sv-imagepicker__image",itemText:"sv-imagepicker__text",clearButton:"sv-btn",other:"sv-comment sv-question__other"},matrix:{tableWrapper:"sv-matrix",root:"sv-table sv-matrix-root",rowError:"sv-matrix__row--error",cell:"sv-table__cell sv-matrix__cell",headerCell:"sv-table__cell sv-table__cell--header",label:"sv-item sv-radio sv-matrix__label",itemValue:"sv-visuallyhidden sv-item__control sv-radio__control",itemChecked:"sv-radio--checked",itemDisabled:"sv-item--disabled sv-radio--disabled",itemHover:"sv-radio--allowhover",materialDecorator:"sv-item__decorator sv-radio__decorator",itemDecorator:"sv-item__svg sv-radio__svg",cellText:"sv-matrix__text",cellTextSelected:"sv-matrix__text--checked",cellTextDisabled:"sv-matrix__text--disabled",cellResponsiveTitle:"sv-matrix__cell-responsive-title",itemSvgIconId:"#icon-modernradio"},matrixdropdown:{root:"sv-table sv-matrixdropdown",cell:"sv-table__cell",cellResponsiveTitle:"sv-table__responsive-title",headerCell:"sv-table__cell sv-table__cell--header",row:"sv-table__row",rowTextCell:"sv-table__cell--row-text",rowAdditional:"sv-table__row--additional",detailRow:"sv-table__row--detail",detailRowText:"sv-table__cell--detail-rowtext",detailCell:"sv-table__cell--detail",choiceCell:"sv-table__cell--choice",detailButton:"sv-table__cell--detail-button",detailButtonExpanded:"sv-table__cell--detail-button--expanded",detailIcon:"sv-detail-panel__icon",detailIconExpanded:"sv-detail-panel__icon--expanded",detailPanelCell:"sv-table__cell--detail-panel",actionsCell:"sv-table__cell sv-table__cell--actions"},matrixdynamic:{root:"sv-table sv-matrixdynamic",cell:"sv-table__cell",cellResponsiveTitle:"sv-table__responsive-title",headerCell:"sv-table__cell sv-table__cell--header",button:"sv-btn",buttonAdd:"sv-matrixdynamic__add-btn",buttonRemove:"sv-matrixdynamic__remove-btn",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",row:"sv-table__row",detailRow:"sv-table__row--detail",detailCell:"sv-table__cell--detail",choiceCell:"sv-table__cell--choice",detailButton:"sv-table__cell--detail-button",detailButtonExpanded:"sv-table__cell--detail-button--expanded",detailIcon:"sv-detail-panel__icon",detailIconExpanded:"sv-detail-panel__icon--expanded",detailPanelCell:"sv-table__cell--detail-panel",actionsCell:"sv-table__cell sv-table__cell--actions",emptyRowsSection:"sv-table__empty--rows--section",emptyRowsText:"sv-table__empty--rows--text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},rating:{root:"sv-rating",item:"sv-rating__item",selected:"sv-rating__item--selected",minText:"sv-rating__min-text",itemText:"sv-rating__item-text",maxText:"sv-rating__max-text",itemDisabled:"sv-rating--disabled",filterStringInput:"sv-dropdown__filter-string-input",control:"sv-dropdown",cleanButton:"sv-dropdown_clean-button",cleanButtonSvg:"sv-dropdown_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",controlValue:"sv-dropdown__value",controlInputFieldComponent:"sv_dropdown_control__input-field-component",itemSmiley:"sv-rating__item-smiley",itemStar:"sv-rating__item-star",itemSmileySelected:"sv-rating__item-smiley--selected",itemStarSelected:"sv-rating__item-star--selected"},comment:{root:"sv-comment",small:"sv-row__question--small",remainingCharacterCounter:"sv-remaining-character-counter"},expression:"",file:{root:"sv-file",other:"sv-comment sv-question__other",placeholderInput:"sv-visuallyhidden",previewItem:"sd-file__preview-item",fileSignBottom:"sv-file__sign",fileDecorator:"sv-file__decorator",fileInput:"sv-visuallyhidden",noFileChosen:"sv-description sv-file__no-file-chosen",chooseFile:"sv-btn sv-file__choose-btn",controlDisabled:"sv-file__choose-btn--disabled",removeButton:"sv-hidden",removeButtonBottom:"sv-btn sv-file__clean-btn",removeFile:"sv-hidden",removeFileSvg:"sv-file__remove-svg",removeFileSvgIconId:"icon-removefile",wrapper:"sv-file__wrapper",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv-signaturepad sjs_sp_container",small:"sv-row__question--small",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"sv-save-data_root",rootWithButtons:"sv-save-data_root--with-buttons",info:"sv-save-data_info",error:"sv-save-data_error",success:"sv-save-data_success",button:"sv-save-data_button",shown:"sv-save-data_root--shown"},window:{root:"sv_window",rootCollapsedMod:"sv_window--collapsed",rootFullScreenMode:"sv_window--full-screen",rootContent:"sv_window_root-content",body:"sv_window_content",header:{root:"sv_window_header",titleCollapsed:"sv_window_header_title_collapsed",buttonsContainer:"sv_window_buttons_container",button:"sv_window_button",buttonExpanded:"",buttonCollapsed:"",collapseButton:"sv_window_button sv_window_button_collapse",closeButton:"sv_window_button sv_window_button_close",fullScreenButton:"sv_window_button sv_window_button_full_screen"}},variables:{mobileWidth:"--sv-mobile-width",themeMark:"--sv-modern-mark"}};
8rK.modern=aP;var a_=function(){function SvgIconRegistry(){this.icons={},this.iconPrefix="icon-",this.onIconsChanged=new oJ}return SvgIconRegistry.prototype.processId=function(e,t){return 0==e.indexOf(t)&&(e=e.substring(t.length)),e=nv[e]||e},SvgIconRegistry.prototype.registerIconFromSymbol=function(e,t){this.icons[e]=t},SvgIconRegistry.prototype.registerIconFromSvgViaElement=function(e,t,o){if(void 0===o&&(o=this.iconPrefix),t8.isAvailable()){e=this.processId(e,o);var n=t8.createElement("div");n.innerHTML=t;var r=t8.createElement("symbol"),i=n.querySelector("svg");r.innerHTML=i.innerHTML;for(var s=0;s<i.attributes.length;s++)r.setAttributeNS("http://www.w3.org/2000/svg",i.attributes[s].name,i.attributes[s].value);r.id=o+e,this.registerIconFromSymbol(e,r.outerHTML)}},SvgIconRegistry.prototype.registerIconFromSvg=function(e,t,o){void 0===o&&(o=this.iconPrefix),e=this.processId(e,o);var n="<svg ",r="</svg>",i=(t=t.trim()).toLowerCase();return i.substring(0,n.length)===n&&i.substring(i.length-r.length,i.length)===r&&(this.registerIconFromSymbol(e,'<symbol id="'+o+e+'" '+t.substring(n.length,i.length-r.length)+"</symbol>"),!0)},SvgIconRegistry.prototype.registerIconsFromFolder=function(e){var t=this;
8e.keys().forEach(function(o){t.registerIconFromSvg(o.substring(2,o.length-4).toLowerCase(),e(o))})},SvgIconRegistry.prototype.registerIcons=function(e){for(var t in e)this.registerIconFromSvg(t,e[t]);this.updateMarkup()},SvgIconRegistry.prototype.iconsRenderedHtml=function(){var e=this;return Object.keys(this.icons).map(function(t){return e.icons[t]}).join("")},SvgIconRegistry.prototype.updateMarkup=function(){this.onIconsChanged.fire(this,{})},SvgIconRegistry}(),aS=new a_,aM={};function addIconsToThemeSet(e,t){aM[e]||(aM[e]={});var o=aM[e];for(var n in t)o[n]=t[n]}var aE={root:"sv_main sv_bootstrap_css",container:"sv_container",header:"panel-heading card-header",body:"panel-body card-block mt-4",bodyEmpty:"panel-body card-block mt-4 sv_body_empty",footer:"panel-footer card-footer",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"btn sv_nav_btn",completedPage:"",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"progress center-block mx-auto mb-4",progressBar:"progress-bar",progressTextUnderBar:"sv-hidden",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"",title:"",description:"small"},pageTitle:"",pageDescription:"small",row:"sv_row",question:{mainRoot:"sv_qstn",flowRoot:"sv_q_flow sv_qstn",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",title:"",titleExpandable:"sv_q_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_q_title_expanded",titleCollapsed:"sv_q_title_collapsed",number:"sv_q_num",description:"small",descriptionUnderInput:"small",requiredText:"sv_q_required_text",comment:"form-control",required:"",titleRequired:"",hasError:"has-error",indent:20,formGroup:"form-group",disabled:"sv_q--disabled"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_p_title_expanded",titleCollapsed:"sv_p_title_collapsed",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"small sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"alert alert-danger",icon:"glyphicon glyphicon-exclamation-sign",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qbln form-inline checkbox",rootRadio:"sv_qbln form-inline checkbox",item:"sv-boolean",control:"sv-visuallyhidden",controlCheckbox:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",materialDecorator:"sv-item__decorator sv-boolean__decorator",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbc sv_qcbx form-inline",item:"checkbox",itemChecked:"checked",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemInline:"sv_q_checkbox_inline",itemControl:"",itemDecorator:"sv-hidden",label:"",labelChecked:"",controlLabel:"",materialDecorator:"checkbox-material",other:"sv_q_checkbox_other form-control",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},comment:"form-control",dropdown:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input",hintPrefix:"sv_q_dd_hint-prefix",hintSuffix:"sv_q_dd_hint-suffix"},tagbox:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"table sv_q_matrix",label:"sv_q_m_label",itemChecked:"checked",itemDecorator:"sv-hidden",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected bg-primary",cellLabel:"sv_q_m_cell_label",cellResponsiveTitle:"sv-hidden"},matrixdropdown:{root:"table",cell:"sv_matrix_cell",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",rowAdditional:"sv-matrix__row--additional",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{root:"table",button:"button",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},paneldynamic:{root:"",navigation:"sv-paneldynamic__navigation",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",title:"sv-title sv-question__title",button:"button",buttonAdd:"button sv-paneldynamic__add-btn",buttonRemove:"sv_p_remove_bt
8n",buttonRemoveRight:"button sv-paneldynamic__remove-btn--right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row",footer:"",progressBtnIcon:"icon-progressbutton"},multipletext:{root:"sv_q_mt table",itemTitle:"sv_q_mt_title",item:"sv_q_mt_item",itemLabel:"sv_q_mt_label",row:"form-group bmd-form-group",itemValue:"sv_q_mt_item_value form-control"},radiogroup:{root:"sv_qcbc form-inline",item:"radio",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",label:"",labelChecked:"",itemControl:"",itemDecorator:"sv-hidden",controlLabel:"",materialDecorator:"circle",other:"sv_q_radiogroup_other form-control",clearButton:"sv_q_radiogroup_clear button",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemHover:"sv-button-group__item--hover",itemSelected:"sv-button-group__item--selected",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",itemInline:"sv_q_imagepicker_inline",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"btn-group",item:"btn btn-default btn-secondary",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",disabled:""},text:"form-control",expression:"form-control",file:{root:"sv_q_file",placeholderInput:"sv_q_file_placeholder",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv_q_file_input",removeFile:"sv_q_file_remove",fileDecorator:"sv-hidden",fileSign:"sv_q_file_sign",removeButtonBottom:"sv-hidden",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"",info:"alert alert-info",error:"alert alert-danger",success:"alert alert-success",button:""},window:{root:"modal-content",body:"modal-body",header:{root:"modal-header panel-title",title:"pull-left",button:"glyphicon pull-right",buttonExpanded:"glyphicon pull-right glyphicon-chevron-up",buttonCollapsed:"glyphicon pull-right glyphicon-chevron-down"}}},aT
vendor: 10,733 bytes, line 8
8={root:"sv_main sv_bootstrapmaterial_css",container:"sv_container",header:"card-heading",body:"card-body",bodyEmpty:"card-body sv_body_empty",footer:"card-footer",title:"",description:"",logo:"sv_logo",logoImage:"sv_logo__image",headerText:"sv_header__text",navigationButton:"btn-primary sv_nav_btn",completedPage:"",navigation:{complete:"sv_complete_btn",prev:"sv_prev_btn",next:"sv_next_btn",start:"sv_start_btn",preview:"sv_preview_btn",edit:"sv_edit_btn"},progress:"progress center-block mx-auto mb-4",progressBar:"progress-bar",progressTextUnderBar:"sv-hidden",progressTextInBar:"sv-hidden",progressButtonsContainerCenter:"sv_progress-buttons__container-center",progressButtonsContainer:"sv_progress-buttons__container",progressButtonsImageButtonLeft:"sv_progress-buttons__image-button-left",progressButtonsImageButtonRight:"sv_progress-buttons__image-button-right",progressButtonsImageButtonHidden:"sv_progress-buttons__image-button--hidden",progressButtonsListContainer:"sv_progress-buttons__list-container",progressButtonsList:"sv_progress-buttons__list",progressButtonsListElementPassed:"sv_progress-buttons__list-element--passed",progressButtonsListElementCurrent:"sv_progress-buttons__list-element--current",progressButtonsListElementNonClickable:"sv_progress-buttons__list-element--nonclickable",progressButtonsPageTitle:"sv_progress-buttons__page-title",progressButtonsPageDescription:"sv_progress-buttons__page-description",page:{root:"",title:"",description:"small"},pageTitle:"",pageDescription:"small",row:"sv_row",question:{mainRoot:"sv_qstn form-group bmd-form-group",flowRoot:"sv_q_flow form-group bmd-form-group",header:"",headerLeft:"title-left",content:"",contentLeft:"content-left",titleLeftRoot:"sv_qstn_left",requiredText:"sv_q_required_text",title:"",titleExpandable:"sv_q_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_q_title_expanded",titleCollapsed:"sv_q_title_collapsed",number:"sv_q_num",description:"small",descriptionUnderInput:"small",comment:"form-control",required:"",titleRequired:"",hasError:"has-error",indent:20,formGroup:"form-group bmd-form-group",disabled:"sv_q--disabled"},panel:{title:"sv_p_title",titleExpandable:"sv_p_title_expandable",titleExpandableSvg:"sd-element__title-expandable-svg",titleExpanded:"sv_p_title_expanded",titleCollapsed:"sv_p_title_collapsed",titleOnError:"",icon:"sv_panel_icon",iconExpanded:"sv_expanded",description:"small sv_p_description",container:"sv_p_container",footer:"sv_p_footer",number:"sv_q_num",requiredText:"sv_q_required_text"},error:{root:"alert alert-danger",icon:"glyphicon glyphicon-exclamation-sign",item:"",locationTop:"sv_qstn_error_top",locationBottom:"sv_qstn_error_bottom"},boolean:{root:"sv_qbln checkbox",rootRadio:"sv_qbln form-inline checkbox",item:"sv-boolean",control:"sv-visuallyhidden",controlCheckbox:"sv-visuallyhidden",itemChecked:"sv-boolean--checked checked",itemIndeterminate:"sv-boolean--indeterminate",itemDisabled:"sv-boolean--disabled",switch:"sv-boolean__switch",slider:"sv-boolean__slider",label:"sv-boolean__label ",disabledLabel:"sv-boolean__label--disabled",sliderGhost:"sv-boolean__thumb-ghost",materialDecorator:"sv-item__decorator sv-boolean__decorator",itemDecorator:"sv-item__svg sv-boolean__svg",checkedPath:"sv-boolean__checked-path",uncheckedPath:"sv-boolean__unchecked-path",indeterminatePath:"sv-boolean__indeterminate-path"},checkbox:{root:"sv_qcbx",item:"checkbox",itemChecked:"checked",itemSelectAll:"sv_q_checkbox_selectall",itemNone:"sv_q_checkbox_none",itemInline:"sv_q_checkbox_inline",itemDecorator:"sv-hidden",itemControl:"",label:"",labelChecked:"",controlLabel:"",materialDecorator:"checkbox-decorator",other:"sv_q_checkbox_other form-control",column:"sv_q_select_column"},ranking:{root:"sv-ranking",rootMobileMod:"sv-ranking--mobile",rootDragMod:"sv-ranking--drag",rootDisabled:"sv-ranking--disabled",rootDragHandleAreaIcon:"sv-ranking--drag-handle-area-icon",rootSelectToRankMod:"sv-ranking--select-to-rank",rootSelectToRankAlignVertical:"sv-ranking--select-to-rank-vertical",rootSelectToRankAlignHorizontal:"sv-ranking--select-to-rank-horizontal",rootSelectToRankSwapAreas:"sv-ranking--select-to-rank-swap-areas",item:"sv-ranking-item",itemContent:"sv-ranking-item__content",itemIndex:"sv-ranking-item__index",itemIndexEmptyMode:"sv-ranking-item__index--empty",controlLabel:"sv-ranking-item__text",itemGhostNode:"sv-ranking-item__ghost",itemIconContainer:"sv-ranking-item__icon-container",itemIcon:"sv-ranking-item__icon",itemIconHoverMod:"sv-ranking-item__icon--hover",itemIconFocusMod:"sv-ranking-item__icon--focus",itemGhostMod:"sv-ranking-item--ghost",itemDragMod:"sv-ranking-item--drag",container:"sv-ranking__container",containerEmptyMode:"sv-ranking__container--empty",containerFromMode:"sv-ranking__container--from",containerToMode:"sv-ranking__container--to",containerPlaceholder:"sv-ranking__container-placeholder",containersDivider:"sv-ranking__containers-divider"},comment:"form-control",dropdown:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input"},tagbox:{root:"sv_q_dd_root",popup:"sv-dropdown-popup",selectWrapper:"sv_q_dd_select_wrapper",control:"form-control sv_q_dd_control",controlValue:"sv_q_dd_value",other:"sv_q_dd_other form-control",cleanButton:"sv_q_dd_clean-button",cleanButtonSvg:"sv_q_dd_clean-button-svg",cleanButtonIconId:"icon-clear_16x16",filterStringInput:"sv_q_dd_filter-string-input"},html:{root:""},image:{root:"sv_q_image",image:"sv_image_image"},matrix:{root:"table sv_q_matrix",row:"form-group bmd-form-group",label:"sv_q_m_label radio-inline",cellText:"sv_q_m_cell_text",cellTextSelected:"sv_q_m_cell_selected bg-primary",cellLabel:"sv_q_m_cell_label",itemValue:"form-control",itemChecked:"checked",itemDecorator:"sv-hidden",materialDecorator:"bmd-radio",cellResponsiveTitle:"sv-hidden"},matrixdropdown:{root:"table",itemValue:"form-group bmd-form-group",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",rowAdditional:"sv-matrix__row--additional",detailRow:"sv_matrix_detail_row",detailRowText:"sv_matrix_cell_detail_rowtext",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions"},matrixdynamic:{mainRoot:"sv_qstn",flowRoot:"sv_q_flow",root:"table",button:"btn btn-primary",itemValue:"form-group bmd-form-group",buttonAdd:"",buttonRemove:"",iconAdd:"",iconRemove:"",iconDrag:"sv-matrixdynamic__drag-icon",headerCell:"sv_matrix_cell_header",row:"sv_matrix_row",detailRow:"sv_matrix_detail_row",detailCell:"sv_matrix_cell_detail",detailButton:"sv_matrix_cell_detail_button",detailButtonExpanded:"sv_matrix_cell_detail_button_expanded",detailIcon:"sv_detail_panel_icon",detailIconExpanded:"sv_detail_expanded",detailPanelCell:"sv_matrix_cell_detail_panel",actionsCell:"sv_matrix_cell sv_matrix_cell_actions",emptyRowsSection:"sv_matrix_empty_rows_section",emptyRowsText:"sv_matrix_empty_rows_text",emptyRowsButton:"",ghostRow:"sv-matrix-row--drag-drop-ghost-mod",draggedRow:"sv-matrixdynamic-dragged-row"},paneldynamic:{root:"",navigation:"sv-paneldynamic__navigation",progressTop:"sv-paneldynamic__progress sv-paneldynamic__progress--top",progressBottom:"sv-paneldynamic__progress sv-paneldynamic__progress--bottom",title:"sv-title sv-question__title",button:"button",buttonAdd:"button sv-paneldynamic__add-btn btn btn-primary",buttonRemove:"button sv-paneldynamic__remove-btn btn btn-primary",buttonRemoveRight:"sv-paneldynamic__remove-btn--right",buttonPrev:"sv-paneldynamic__prev-btn",buttonNext:"sv-paneldynamic__next-btn",buttonPrevDisabled:"sv-paneldynamic__prev-btn--disabled",buttonNextDisabled:"sv-paneldynamic__next-btn--disabled",progressContainer:"sv-paneldynamic__progress-container",progress:"sv-progress",progressBar:"sv-progress__bar",progressText:"sv-paneldynamic__progress-text",panelWrapper:"sv_p_wrapper",panelWrapperInRow:"sv_p_wrapper_in_row",progressBtnIcon:"icon-progressbutton",footer:""},multipletext:{root:"sv_q_mt table",itemTitle:"sv_q_mt_title",item:"sv_q_mt_item",itemLabel:"sv_q_mt_label",row:"form-group bmd-form-group",itemValue:"sv_q_mt_item_value form-control"},radiogroup:{root:"",item:"radio",itemChecked:"checked",itemInline:"sv_q_radiogroup_inline",itemDecorator:"sv-hidden",label:"",labelChecked:"",itemControl:"",controlLabel:"sv_q_radiogroup_control_label",materialDecorator:"bmd-radio",other:"sv_q_radiogroup_other form-control",clearButton:"sv_q_radiogroup_clear button btn btn-primary",column:"sv_q_select_column"},buttongroup:{root:"sv-button-group",item:"sv-button-group__item",itemIcon:"sv-button-group__item-icon",itemDecorator:"sv-button-group__item-decorator",itemCaption:"sv-button-group__item-caption",itemSelected:"sv-button-group__item--selected",itemHover:"sv-button-group__item--hover",itemDisabled:"sv-button-group__item--disabled",itemControl:"sv-visuallyhidden"},imagepicker:{root:"sv_imgsel",item:"sv_q_imgsel",itemChecked:"checked",itemInline:"sv_q_imagepicker_inline",label:"sv_q_imgsel_label",itemControl:"sv_q_imgsel_control_item",image:"sv_q_imgsel_image",itemText:"sv_q_imgsel_text",clearButton:"sv_q_radiogroup_clear"},rating:{root:"btn-group",item:"btn btn-default btn-secondary",selected:"active",minText:"sv_q_rating_min_text",itemText:"sv_q_rating_item_text",maxText:"sv_q_rating_max_text",disabled:""},text:"form-control",expression:"form-control",file:{root:"form-group bmd-form-group is-fileinput sv_q_file",placeholderInput:"",preview:"sv_q_file_preview",removeButton:"sv_q_file_remove_button",fileInput:"sv_q_file_input",fileSign:"sv_q_file_sign",removeFile:"sv_q_file_remove",fileDecorator:"sv-hidden",removeButtonBottom:"sv-hidden",dragAreaPlaceholder:"sv-hidden",fileList:""},signaturepad:{root:"sv_q_signaturepad sjs_sp_container",controls:"sjs_sp_controls",placeholder:"sjs_sp_placeholder",canvas:"sjs_sp_canvas",backgroundImage:"sjs_sp__background-image",clearButton:"sjs_sp_clear"},saveData:{root:"",info:"alert alert-info",error:"alert alert-danger",success:"alert alert-success",button:""},window:{root:"modal-content",body:"modal-body",header:{root:"modal-header card-title",title:"pull-left",button:"glyphicon pull-right",buttonExpanded:"glyphicon pull-right glyphicon-chevron-up",buttonCollapsed:"glyphicon pull-right glyphicon-chevron-down"}}};function
8setMediaStyles(){aC.Media={".sv_qstn fieldset .sv-q-col-1":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-2":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-3":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-4":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_qstn fieldset .sv-q-col-5":{style:"width: 100%;",media:"@media only screen and (max-width: 480px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn":{style:"display: block; width: 100% !important;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .title-left":{style:"float: none;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_radiogroup_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_checkbox_inline, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .sv_q_imagepicker_inline":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table thead":{style:"display: none;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tbody, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table tr, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table td":{style:"display: block;",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.table:not(.sv_q_matrix) td:before":{style:"content: attr(data-responsive-title);",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn table.sv_q_matrix td:after":{style:"content: attr(data-responsive-title); padding-left: 1em",media:"@media (max-width: 600px)"},".sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .radio label, .sv_main .sv_container .panel-body.card-block .sv_row .sv_qstn .checkbox label":{style:"line-height: 12px; vertical-align: top;",media:"@media (max-width: 600px)"},".sv_qstn label.sv_q_m_label":{style:"display: inline;",media:"@media (max-width: 600px)"},".sv_main .sv_custom_header":{style:"display: none;",media:"@media (max-width: 1300px)"},".sv_main .sv_container .sv_header h3":{style:"font-size: 1.5em;",media:"@media (max-width: 1300px)"},".sv_main .sv_container .sv_header h3 span":{style:"font-size: 0.75em;",media:"@media (max-width: 700px)"},".sv_main.sv_bootstrap_css .sv-progress__text":{style:"margin-left: 8em;",media:"@media (min-width: 768px)"},".sv_row":{style:" display: flex; flex-wrap: wrap;",media:"@supports (display: flex)"},".sv-row > .sv-row__panel, .sv-row__question:not(:last-child)":{style:"float: left;",media:"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)"},"[dir='rtl'],[style*='direction:rtl'] .sv-row__question:not(:last-child)":{style:"float: right;",media:"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)"},".sv-row > .sv-row__panel, .sv-row__question":{style:"width: 100% !important; padding-right: 0 !important;",media:"@media only screen and (max-width: 600px)"}}}function setStyles(){aC
vendor: 34,270 bytes, line 8
8.Styles={".sv_main span":"word-break: break-word;",".sv_main legend":"border: none; margin: 0;",".sv_bootstrap_css .sv_qstn":"padding: 0.5em var(--sv-element-add-padding-right, 1em) 1.5em var(--sv-element-add-padding-left, 1em);",".sv_bootstrap_css .sv_qcbc input[type=checkbox], .sv_bootstrap_css .sv_qcbc input[type=radio]":"vertical-align: middle; margin-top: -1px",".sv_bootstrap_css .sv_qstn fieldset":"display: block;",".sv_bootstrap_css .sv_qstn .sv_q_checkbox_inline, .sv_bootstrap_css .sv_qstn .sv_q_radiogroup_inline":"display: inline-block;",".sv_bootstrap_css .sv-paneldynamic__progress-container ":"position: relative; margin-right: 250px; margin-left: 40px; margin-top: 10px;",".sv_main.sv_bootstrapmaterial_css .sv_q_radiogroup_control_label":"display: inline; position: static;",".sv_main.sv_bootstrapmaterial_css .checkbox":"margin-top:10px;margin-bottom:10px;",".sv_row":"clear: both; min-width:300px;",".sv_row .sv_qstn":"float: left",".sv_row .sv_qstn:last-child":"float: none",".sv_qstn":"display: vertical-align: top; overflow: auto; min-width:300px;",".sv_p_container":"display: vertical-align: top; min-width:300px;",".sv_q_title .sv_question_icon":"float: right; margin-right: 1em;",".sv_q_title .sv_question_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",".sv_q_title .sv_question_icon.sv_expanded::before":"transform: rotate(180deg);",".sv_qbln .checkbox-material":"margin-right: 3px;",".sv_qcbx .checkbox-material":"margin-right: 5px;",".sv_qcbx .checkbox label":"justify-content: left; display: inline-block;",".sv_qstn .radio label":"justify-content: left; display: inline-block;",".sv_qstn .sv_q_imgsel > label img":"pointer-events: none;",".sv_qstn .sv_q_imgsel.sv_q_imagepicker_inline":"display: inline-block;",".sv_qstn label.sv_q_m_label":"position: absolute; margin: 0; display: block; width: 100%;",".sv_qstn td":"position: relative;",".sv_q_mt":"table-layout: fixed;",".sv_q_mt_label":"display: flex; align-items: center; font-weight: inherit;",".sv_q_mt_title":"margin-right: 0.5em; width: 33%;",".sv_q_mt_item":"flex: 1;",".sv_q_mt_item_value":"float: left;",'[dir="rtl"] .sv_q_mt_item_value':"float: right;",".sv_qstn.sv_qstn_left":"margin-top: 0.75em;",".sv_qstn .title-left":"float: left; margin-right: 1em; max-width: 50%",'[dir="rtl"] .sv_qstn .title-left':"float: right; margin-left: 1em;",".sv_qstn .content-left":"overflow: hidden",".sv_q_radiogroup_inline .sv_q_radiogroup_other":"display: inline-block;",".sv_q_checkbox_inline .sv_q_checkbox_other":"display: inline-block;",".sv_q_checkbox_inline, .sv_q_radiogroup_inline, .sv_q_imagepicker_inline":"line-height: 2.5em;",".form-inline .sv_q_checkbox_inline:not(:last-child)":"margin-right: 1em;",".form-inline .sv_q_radiogroup_inline:not(:last-child)":"margin-right: 1em;",".sv_imgsel .sv_q_imagepicker_inline:not(:last-child)":"margin-right: 1em;",".sv_qstn fieldset":"border: none; margin: 0; padding: 0;",".sv_qstn .sv_q_file_placeholder":"display:none",".sv_p_title":"padding-left: 1em; padding-bottom: 0.3em;",".sv_p_title_expandable, .sv_q_title_expandable":"cursor: pointer; position: relative; display: flex; align-items: center; padding-right: 24px;",".sv_p_title_expandable::after, .sv_q_title_expandable::after":"content: \"\"; display: block;background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; background-size: 10px 12px; width: 24px; height: 24px; position: absolute; right: 0;",".sv_p_title_expanded::after, .sv_q_title_expanded::after":"transform: rotate(180deg);",".sv_p_title .sv_panel_icon":"float: right; margin-right: 1em;",".sv_p_title .sv_panel_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; padding: 0.5em; display: inline-block; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMCAxMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiM2RDcwNzI7fQ0KPC9zdHlsZT4NCjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMiwyIDAsNCA1LDkgMTAsNCA4LDIgNSw1ICIvPg0KPC9zdmc+DQo=);",".sv_p_title .sv_panel_icon.sv_expanded::before":"transform: rotate(180deg);",".sv_p_footer":"padding-left: 1em; padding-bottom: 1em;padding-top: 1em;",".sv_matrix_cell_detail_button":"position: relative",".sv_detail_panel_icon":"display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px;",".sv_detail_panel_icon::before":"content: ''; background-repeat: no-repeat; background-position: center; width: 14px; height: 14px; display: block; transform: rotate(270deg); background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 15 15' style='enable-background:new 0 0 15 15;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='14,5.5 12.6,4.1 7.5,9.1 2.4,4.1 1,5.5 7.5,12 '/%3E%3C/svg%3E%0A\");",".sv_detail_panel_icon.sv_detail_expanded::before":"transform: rotate(0deg)",".sv_matrix_empty_rows_section":"text-align: center; vertical-align: middle;",".sv_matrix_empty_rows_text":"padding:20px",".sv_q_file > input[type=file], .sv_q_file > button":"display: inline-block;",".sv_q_file_preview":"display: inline-block; vertical-align: top; border: 1px solid lightgray; padding: 5px; margin-top: 10px;",".sv_q_file_preview > a":"display: block; overflow: hidden; vertical-align: top; white-space: nowrap; text-overflow: ellipsis;",".sv_q_file_remove_button":"line-height: normal;",".sv_q_file_remove":"display: block; cursor: pointer;",".sv_q_m_cell_text":"cursor: pointer;",".sv_q_dd_other":"margin-top: 1em;",".sv_q_dd_other input":"width: 100%;",".sv_q_dd_clean-button":"margin: 0.15em 3em;",".sv_q_dd_clean-button-svg":"width: 1em; height: 1em;",".sv_q_dd_control":"display: flex; justify-content: space-between; appearance: none;",".sv_q_dd_value":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative;",".sv_q_dd_hint-prefix span":"white-space: pre;",".sv_q_dd_hint-suffix":"display: flex;",".sv_q_dd_root":"position: relative;",".sv_q_dd_select_wrapper":"position: relative;",".sv_q_dd_select_wrapper::after":"content: \"\"; display: block;background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; background-size: 10px 12px; width: 34px; height: 100%; position: absolute; inset-inline-end: 0; top: 0;",".sv_q_dd_filter-string-input":"outline: none; border: none; background-color: transparent; position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 100%; max-width: 100%; padding: 0;",".sv_q_dropdown_clean-button":"margin: auto 2em;",".sv_q_tagbox__placeholder":"position: absolute; top: 0; inset-inline-start: 1em; max-width: 100%; width: auto; height: 100%; text-align: start; cursor: text; pointer-events: none;",".sv_qstn .sv-q-col-1, .sv-question .sv-q-col-1":"width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-2, .sv-question .sv-q-col-2":"width: calc(50% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-3, .sv-question .sv-q-col-3":"width: calc(33.33333% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-4, .sv-question .sv-q-col-4":"width: calc(25% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-col-5, .sv-question .sv-q-col-5":"width: calc(20% - 1em); display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-1, .sv-question .sv-q-column-1":"width: 100%; max-width: 100%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-2, .sv-question .sv-q-column-2":"max-width: 50%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-3, .sv-question .sv-q-column-3":"max-width: 33.33333%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-4, .sv-question .sv-q-column-4":"max-width: 25%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv-q-column-5, .sv-question .sv-q-column-5":"max-width: 20%; display: inline-block; padding-right: 1em; box-sizing: border-box; word-break: break-word;",".sv_qstn .sv_q_file_input":"color: transparent;",".sv_qstn .sv_q_imgsel label > div":"overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px; border: 1px solid lightgray; border-radius: 4px;",".sv_qstn .sv_q_imgsel label > div > img, .sv_qstn .sv_q_imgsel label > div > embed":"display: block;",".sv_qstn table tr td .sv_q_m_cell_label":"position: absolute; left: 0; right: 0; top: 0; bottom: 0;","f-panel":"padding: 0.5em 1em; display: inline-block; line-height: 2em;",".sv_progress_bar > span":"white-space: nowrap;",".sv_progress-buttons__container-center":"text-align: center;",".sv_progress-buttons__container":"display: inline-block; font-size: 0; width: 100%; max-width: 1100px; white-space: nowrap; overflow: hidden;",".sv_progress-buttons__image-button-left":"display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iMTEsMTIgOSwxNCAzLDggOSwyIDExLDQgNyw4ICIvPg0KPC9zdmc+DQo=);",".sv_progress-buttons__image-button-right":"display: inline-block; vertical-align: top; margin-top: 22px; font-size: 14px; width: 16px; height: 16px; cursor: pointer; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMi4wLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iNSw0IDcsMiAxMyw4IDcsMTQgNSwxMiA5LDggIi8+DQo8L3N2Zz4NCg==);",".sv_progress-buttons__image-button--hidden":"visibility: hidden;",".sv_progress-buttons__list-container":"max-width: calc(100% - 36px); display: inline-block; overflow: hidden;",".sv_progress-buttons__list":"display: inline-block; width: max-content; padding-left: 28px; padding-right: 28px; margin-top: 14px; margin-bottom: 14px;",".sv_progress-buttons__list li":"width: 138px; font-size: 14px; font-family: var(--font-family, $font-family); position: relative; text-align: center; vertical-align: top; display: inline-block;",".sv_progress-buttons__list li:before":"width: 24px; height: 24px; content: ''; line-height: 30px; display: block; margin: 0 auto 10px auto; border: 3px solid; border-radius: 50%; box-sizing: content-box; cursor: pointer;",".sv_progress-buttons__list li:after":"width: 73%; height: 3px; content: ''; position: absolute; top: 15px; left: -36.5%;",".sv_progress-buttons__list li:first-child:after":"content: none;",".sv_progress-buttons__list .sv_progress-buttons__page-title":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: bold;",".sv_progress-buttons__list .sv_progress-buttons__page-description":"width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv_progress-buttons__list li.sv_progress-buttons__list-element--nonclickable:before":"cursor: not-allowed;",".sv-ranking":"outline: none; user-select: none;",".sv-ranking-item":"cursor: pointer; position: relative;",".sv-ranking-item:focus .sv-ranking-item__icon--hover":"visibility: hidden;",".sv-ranking-item:hover .sv-ranking-item__icon--hover":"visibility: visible;",".sv-question--disabled .sv-ranking-item:hover .sv-ranking-item__icon--hover":"visibility: hidden;",".sv-ranking-item:focus":"outline: none;",".sv-ranking-item:focus .sv-ranking-item__icon--focus":"visibility: visible; top: 15px;",".sv-ranking-item:focus .sv-ranking-item__index":"background: white; border: 2px solid var(--primary, #19b394);",".sv-ranking-item__content":"display: flex; align-items: center; line-height: 1em; padding: 5px 0px; border-radius: 100px;",".sv-ranking-item__icon-container":"left: 0;top: 0;bottom: 0;width: calc(3 * var(--base-unit, 8px)); flex-shrink: 0;",".sv-ranking-item__icon":"visibility: hidden;top:20px; fill: var(--primary, #19b394); position: absolute;",".sv-ranking-item__index":"display: flex; flex-shrink: 0; align-items: center; justify-content: center; background: var(--primary-light, rgba(25, 179, 148, 0.1)); color: var(--foreground); border-radius: 100%; border:2px solid transparent; width: 40px; height: 40px; line-height: 1em;",".sv-ranking-item__text":"display: inline-block; overflow:hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 calc(2 * var(--base-unit, 8px));",".sv-ranking-item__ghost":"display: none; background-color: var(--background-dim, #f3f3f3); border-radius: 100px;width: 200px;height: 55px;z-index: 1;position: absolute;left: 25px;","[dir='rtl'] .sv-ranking-item__ghost":"left: initilal; right: 25px;",".sv-ranking-item--ghost .sv-ranking-item__ghost":"display: block;",".sv-ranking-item--ghost .sv-ranking-item__content":"visibility: hidden;",".sv-ranking-item--drag .sv-ranking-item__content":"box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);border-radius: 100px;",".sv-ranking--drag .sv-ranking-item:hover .sv-ranking-item__icon":"visibility: hidden;",".sv-ranking-item--drag .sv-ranking-item__icon--hover":"visibility: visible;",".sv-ranking--mobile .sv-ranking-item__icon--hover":"visibility:visible; fill:#9f9f9f;",".sv-ranking--mobile.sv-ranking--drag .sv-ranking-item--ghost .sv-ranking-item__icon.sv-ranking-item__icon--hover":"visibility:hidden;",".sv-ranking--mobile.sv-ranking-shortcut":"max-width: 80%;",".sv-ranking--design-mode .sv-ranking-item:hover .sv-ranking-item__icon":"visibility: hidden;",".sv-ranking--disabled":"opacity: 0.8;",".sv-ranking-shortcut .sv-ranking-item__icon":"fill: var(--primary, #19b394); ",".sv-ranking--drag-handle-area-icon .sv-ranking-item":"cursor: initial",".sv-ranking--drag-handle-area-icon .sv-ranking-item__icon--hover":"cursor: pointer;",".sv-dragged-element-shortcut":"height: 24px; min-width: 100px; border-radius: 36px; background-color: white; padding: 16px; cursor: grabbing; position: absolute; z-index: 10000; box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); font-family: var(--font-family, $font-family); font-size: 16px; padding-left: 20px;line-height: 24px;",".sv-matrixdynamic__drag-icon":"padding-top:14px",".sv-matrixdynamic__drag-icon:after":"content: ' '; display: block; height: 6px; width: 20px; border: 1px solid #e7e7e7; box-sizing: border-box; border-radius: 10px; cursor: move; margin-top: 12px;",".sv-matrix-row--drag-drop-ghost-mod td":"background-color: #f3f3f3;",".sv-matrix-row--drag-drop-ghost-mod td > *":"visibility: hidden",".sv_qstn .sv_q_select_column":"display: inline-block; vertical-align: top; min-width: 10%;",".sv_qstn .sv_q_select_column > *:not(.sv_technical)":"display: block;",".sv_main .sv_container .sv_body .sv_p_root .sv_qstn .sv_q_select_column textarea":"margin-left: 0; padding-left: 0; line-height: initial;",".sv_main .sv-hidden":"display: none !important;",".sv_main .sv-visuallyhidden":"position: absolute; height: 1px !important; width: 1px !important; overflow: hidden; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);",".sv_main .sv-progress":"height: 0.19em; background-color: $header-background-color; position: relative;",".sv_main .sv-progress__bar":"background-color: $main-color; height: 100%; position: relative;",".sv_main .sv-paneldynamic__progress-container":"position: relative; display: inline-block; width: calc(100% - 250px); margin-top: 20px;",".sv_main .sv-paneldynamic__add-btn":"float: right;",".sv_main .sv-paneldynamic__add-btn--list-mode":"float: none; margin-top: 0;",".sv_main .sv-paneldynamic__remove-btn":"margin-top: 1.25em;",".sv_main .sv-paneldynamic__remove-btn--right":"margin-top: 0; margin-left: 1.25em;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"box-sizing: border-box; display: inline-block; cursor: pointer; width: 0.7em; top: -0.28em; position: absolute;",".sv_main .sv-paneldynamic__prev-btn svg, .sv_main .sv-paneldynamic__next-btn svg":"width: 0.7em; height: 0.7em; display: block;",".sv_main .sv-paneldynamic__prev-btn":"left: -1.3em; transform: rotate(90deg);",".sv_main .sv-paneldynamic__next-btn ":"right: -1.3em; transform: rotate(270deg);",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"cursor: auto;",".sv_main .sv-paneldynamic__progress-text":"font-weight: bold; font-size: 0.87em; margin-top: 0.69em; margin-left: 4em",".sv_main .sv-boolean__switch":"display: inline-block; box-sizing: border-box; width: 63px; height: 24px; margin-right: 17px; margin-left: 21px; padding: 2px 3px; vertical-align: middle; border-radius: 12px; cursor: pointer;",".sv_main .sv-boolean__slider":"display: inline-block; width: 20px; height: 20px; transition-duration: .4s; transition-property: margin-left; border: none; border-radius: 100%;",".sv_main .sv-boolean__label":"vertical-align: middle; cursor: pointer;",".sv_main .sv-boolean--indeterminate .sv-boolean__slider":"margin-left: calc(50% - 10px);",".sv_main .sv-boolean input:focus ~ .sv-boolean__switch":"outline-width: 1px; outline-style: solid; outline-offset: 1px;",".sv_main .sv-boolean--checked .sv-boolean__slider":"margin-left: calc(100% - 20px);","[dir='rtl'] .sv-boolean__label ":"float: right;","[dir='rtl'] .sv-boolean--indeterminate .sv-boolean__slider":"margin-right: calc(50% - 0.625em);","[dir='rtl'] .sv-boolean--checked .sv-boolean__slider":"margin-right: calc(100% - 1.25em);","[dir='rtl'] .sv-boolean__switch":"float: right;","[style*='direction:rtl'] .sv-boolean__label ":"float: right;","[style*='direction:rtl'] .sv-boolean--indeterminate .sv-boolean__slider":"margin-right: calc(50% - 0.625em);","[style*='direction:rtl'] .sv-boolean--checked .sv-boolean__slider":"margin-right: calc(100% - 1.25em);","[style*='direction:rtl'] .sv-boolean__switch":"float: right;",".sv_main .sv_q_num":"",".sv_main .sv_q_num + span":"",".sv_main .sjs_sp_container":"position: relative; box-sizing: content-box;",".sv_main .sjs_sp_controls":"position: absolute; left: 0; bottom: 0;",".sv_main .sjs_sp_controls > button":"user-select: none;",".sv_main .sjs_sp_container>div>canvas:focus":"outline: none;",".sv_main .sjs_sp_placeholder":"display: flex; align-items: center; justify-content: center; position: absolute; z-index: 0; user-select: none; pointer-events: none; width: 100%; height: 100%;",".sv_main .sjs_sp_canvas":"position: absolute; top: 0; left: 0;",".sv_main .sjs_sp__background-image":"position: absolute; top: 0; left: 0;",".sv_main .sv_logo":"",".sv_main .sv-logo--left":"display: inline-block; vertical-align: top; margin-right: 2em;",".sv_main .sv-logo--right":"display: inline-block; vertical-align: top; margin-left: 2em; ",".sv_main .sv-logo--top":"display: block; width: 100%; text-align: center;",".sv_main .sv-logo--bottom":"display: block; width: 100%; text-align: center;",".sv_main .sv_header__text":"display: inline-block; vertical-align: top; max-width: 100%; width: 100%",".sv_main .sv-expand-action:before":"content: \"\"; display: inline-block; background-image: url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A\"); background-repeat: no-repeat; background-position: center center; height: 10px; width: 12px; margin: auto 8px;",".sv_main .sv-expand-action--expanded:before":"transform: rotate(180deg);",".sv_main .sv-action-bar":"display: flex; position: relative; align-items: center; margin-left: auto; padding: 0 0 0 16px; overflow: hidden; white-space: nowrap;",".sv_main .sv-action-bar-separator":"display: inline-block; width: 1px; height: 24px; vertical-align: middle; margin-right: 16px; background-color: #d6d6d6;",".sv_main .sv-action-bar-item":"-webkit-appearance: none; -moz-appearance: none; appearance: none; display: flex; height: 40px; padding: 8px; box-sizing: border-box; margin-right: 16px; border: none; border-radius: 2px; background-color: transparent; cursor: pointer; line-height: 24px; font-size: 16px; overflow-x: hidden; white-space: nowrap; min-width: auto; font-weight: normal",".sv_main .sv-action-bar-item__title":"vertical-align: middle; white-space: nowrap;",".sv_main .sv-action-bar-item__title--with-icon":"margin-left: 8px;",".sv_main .sv-action__content":"display: flex; flex-direction: row; align-items: center;",".sv_main .sv-action__content > *":"flex: 0 0 auto;",".sv_main .sv-action--hidden":"width: 0px; height: 0px; overflow: hidden;",".sv_main .sv-action-bar-item__icon svg":"display: block;",".sv_main .sv-action-bar-item:active":"opacity: 0.5;",".sv_main .sv-action-bar-item:focus":"outline: none;",".sv_main .sv-title-actions":"display: flex; align-items: center; width: 100%;",".sv_main .sv-title-actions__title":"flex-wrap: wrap; max-width: 90%; min-width: 50%;",".sv_main .sv-title-actions__bar":"min-width: 56px;",".sv_main .sv-title-actions .sv-title-actions__title":"min-width: unset; max-width: unset; flex-wrap: wrap; flex: 0 0 auto;",".sv_main .sv-title-actions .sv-action-title-bar":"min-width: unset; flex: 1 1 auto; justify-content: flex-end;",".sv_main .sv_matrix_cell_actions .sv-action-bar":"margin-left: 0; padding-left: 0;",".sv_main .sv_p_wrapper_in_row":"display: flex; flex-direction: row; align-items: center;",".sv_main .sv_p_remove_btn_right":"margin-left: 1em;",".sv_main .sv-button-group":"display: flex; align-items: center; flex-direction: row; font-size: 16px; height: 48px; overflow: auto;",".sv_main .sv-button-group__item":"display: flex; box-sizing: border-box; flex-direction: row; justify-content: center; align-items: center; width: 100%; padding: 11px 16px; line-height: 24px; border-width: 1px; border-style: solid; outline: none; font-size: 16px; font-weight: 400; cursor: pointer; overflow: hidden;",".sv_main .sv-button-group__item:not(:first-of-type)":"margin-left: -1px;",".sv_main .sv-button-group__item-icon":"display: block; height: 24px;",".sv_main .sv-button-group__item--selected":"font-weight: 600;",".sv_main .sv-button-group__item-decorator":"display: flex; align-items: center; max-width: 100%;",".sv_main .sv-button-group__item-icon + .sv-button-group__item-caption":"margin-left: 8px",".sv_main .sv-button-group__item-caption":"display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv_main .sv-button-group__item--disabled":"color: cursor: default;","sv-popup":"display: block; position: absolute; z-index: -1;",".sv-popup":"position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; outline: none; z-index: 1500;",".sv-popup.sv-dropdown-popup":"height: 0;",".sv-popup__container":"box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); position: absolute; padding: 0;",".sv-popup__body-content":"background-color: var(--background, #fff); border-radius: calc(0.5 * var(--base-unit, 8px)); width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; max-height: 90vh; max-width: 100vw;",".sv-popup--modal .sv-list__filter":"padding-top: 8px;",".sv-popup--modal .sv-list__filter-icon":"top: 20px;",".sv-popup--overlay .sv-list__filter":"padding-top: 8px;",".sv-popup--overlay .sv-list__filter-icon":"top: 20px;",".sv-popup--modal":"display: flex; align-items: center; justify-content: center;",".sv-popup--modal .sv-popup__container":"position: static;",".sv-popup--modal .sv-popup__body-content":"padding: calc(4 * var(--base-unit, 8px));",".sv-popup--overlay":"width: 100%;",".sv-popup--overlay .sv-popup__container":"background: rgba(144, 144, 144, 0.5); max-width: 100vw; max-height: calc(100vh - 1 * var(--base-unit, 8px)); height: calc(100vh - 1 * var(--base-unit, 8px)); width: 100%; padding-top: calc(2 * var(--base-unit, 8px)); border: unset;",".sv-popup--overlay .sv-popup__body-content":"border-radius: calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) 0px 0px; background: var(--background, #fff); box-shadow: 0px calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) rgba(0, 0, 0, 0.1); padding: calc(3 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)); height: calc(100% - calc(1 * var(--base-unit, 8px))); max-height: 100vh; max-width: 100vw;",".sv-popup--overlay .sv-popup__scrolling-content":"height: calc(100% - (10 * var(--base-unit, 8px)));",".sv-popup--overlay .sv-popup__body-footer":"margin-top: calc(2 * var(--base-unit, 8px));",".sv-popup--overlay .sv-popup__body-footer .sv-action":"width: 100%;",".sv-popup--overlay .sv-popup__body-footer .sv-action-bar":"width: 100%;",".sv-popup--overlay .sv-popup__body-footer-item":"width: 100%;",".sv-popup--overlay .sv-popup__button":"background-color: var(--primary, #19b394); border: 2px solid var(--primary, #19b394); color: var(--primary-foreground, #fff);",".sv-popup__scrolling-content":"height: 100%; overflow: auto; display: flex; flex-direction: column;",".sv-popup__scrolling-content::-webkit-scrollbar":"height: 6px; width: 6px; background-color: var(--background-dim, #f3f3f3);",".sv-popup__scrolling-content::-webkit-scrollbar-thumb":"background: var(--primary-light, rgba(25, 179, 148, 0.1));",".sv-popup__content":"min-width: 100%; height: 100%; display: flex; flex-direction: column; min-height: 0;",".sv-popup--show-pointer.sv-popup--top .sv-popup__pointer":"transform: translate(calc(-1 * var(--base-unit, 8px))) rotate(180deg);",".sv-popup--show-pointer.sv-popup--bottom .sv-popup__pointer":"transform: translate(calc(-1 * var(--base-unit, 8px)), calc(-1 * var(--base-unit, 8px)));",".sv-popup--show-pointer.sv-popup--right":"transform: translate(calc(1 * var(--base-unit, 8px)));",".sv-popup--show-pointer.sv-popup--right .sv-popup__pointer":"transform: translate(-12px, -4px) rotate(-90deg);",".sv-popup--show-pointer.sv-popup--left":"transform: translate(calc(-1 * var(--base-unit, 8px)));",".sv-popup--show-pointer.sv-popup--left .sv-popup__pointer":"transform: translate(-4px, -4px) rotate(90deg);",".sv-popup__pointer":"display: block; position: absolute;",".sv-popup__pointer:after":"content: ' '; display: block; width: 0; height: 0; border-left: calc(1 * var(--base-unit, 8px)) solid transparent; border-right: calc(1 * var(--base-unit, 8px)) solid transparent; border-bottom: calc(1 * var(--base-unit, 8px)) solid var(--background, #fff); align-self: center;",".sv-popup__body-header":"font-family: var(--font-family, $font-family); font-size: calc(3 * var(--base-unit, 8px)); line-height: calc(4 * var(--base-unit, 8px)); font-style: normal; font-weight: 700; margin-bottom: calc(2 * var(--base-unit, 8px)); color: var(--foreground, #161616);",".sv-popup__body-footer":"display: flex; margin-top: calc(4 * var(--base-unit, 8px));",".sv-popup__body-footer .sv-action-bar":"gap: calc(1.5 * var(--base-unit, 8px));",".sv-popup__button":"padding: calc(2 * var(--base-unit, 8px)) calc(6 * var(--base-unit, 8px)); background: var(--background, #fff); box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); border-radius: 4px; margin: 2px; cursor: pointer; font-family: var(--font-family, $font-family); font-style: normal; font-weight: 600; font-size: calc(2 * var(--base-unit, 8px)); line-height: calc(3 * var(--base-unit, 8px)); text-align: center; color: var(--primary, #19b394); border: none; outline: none;",".sv-popup__button:hover":"box-shadow: 0 0 0 2px var(--primary, #19b394);",".sv-popup__button:disabled":"color: var(--foreground-disabled, rgba(#161616, 0.16)); cursor: default;",".sv-popup__button:disabled:hover":"box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);",".sv-popup__button.sv-popup__button--apply":"background-color: var(--primary, #19b394); color: var(--primary-foreground, #fff);",".sv-popup__button.sv-popup__button--apply:disabled":"background-color: var(--background-dim, #f3f3f3);",".sv-popup__button.sv-popup__button--danger":"background-color: var(--sjs-special-red, #E50A3E); color: var(--primary-foreground, #fff);",".sv-list":"padding: 0; margin: 0; background: var(--background, #fff); list-style-type: none; overflow-y: auto;",".sv-list__item--with-icon":"padding-top: 12px; padding-bottom: 12px;",".sv-list__item":"width: 100%; box-sizing: border-box; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv-list__item-body":"width: 100%; box-sizing: border-box; font-size: calc(2 * var(--base-unit, 8px)); line-height: calc(3 * var(--base-unit, 8px)); padding-top: calc(1 * var(--base-unit, 8px)); padding-bottom: calc(1 * var(--base-unit, 8px)); padding-inline-end: calc(8 * var(--base-unit, 8px)); padding-inline-start: calc(2 * var(--base-unit, 8px)); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: calc(2 * 8px);",".sv-list__item-icon":"float: left; width: calc(3 * 8px); height: calc(3 * 8px);",".sv-list__item-icon svg":"display: block;",".sv-list__item-icon use":"fill: #909090;",".sv-list__item:hover .sv-list__item-body":"background-color: var(--background-dim, #f3f3f3);",".sv-list__item.sv-list__item--focused .sv-list__item-body":"background-color: var(--background-dim, #f3f3f3);",".sv-list__loading-indicator":"pointer-events: none;",".sv-list__loading-indicator .sv-list__item-body":"background-color: transparent",".sv-list__item--selected .sv-list__item-icon use":"fill: var(--primary-foreground, #fff);",".sv-list__item.sv-list__item--disabled":"color: var(--foreground-light, #909090); cursor: default;",".sv-list__item span":"white-space: nowrap;",".sv-list__container":"position: relative; display: flex; flex-direction: column; height: 100%; display: flex; flex-direction: column; min-height: 0;",".sv-list__filter":"border-bottom: 1px solid rgba(0, 0, 0, 0.16); background: var(--background, #fff); padding-bottom: calcSize(1);",".sv-list__input":"-webkit-appearance: none; -moz-appearance: none; appearance: none; display: block; box-sizing: border-box; width: 100%; line-height: 24px; padding-left: 56px; padding-right: 24px; padding-top: 12px; padding-bottom: 12px; outline: none; font-size: 1em; border: none",".sv-list__filter-icon":"display: block; position: absolute; top: 12px; left: 16px;",".sv-list__filter-icon .sv-svg-icon":"width: 24px; height: 24px;",".sv-list__empty-container":"width: 100%; box-sizing: border-box; padding: 12px 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;",".sv-list__empty-text":"line-height: 24px; font-size: 16px; font-weight: 400; text-align: center; color: var(--foreground-light, #909090);",".sv-skeleton-element":"min-height: 50px;"}}var
8aV="bootstrap";rK[aV]=aE;var aR={"$main-color":"#18a689","$text-color":"#404040;","$text-input-color":"#404040;","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$header-background-color":"#e7e7e7","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#8dd6c7","$progress-buttons-line-color":"#d4d4d4"},ak={".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color",".sv_main .sv_p_description":"padding-left: 1.66em;",".sv_main .sv_qstn_error_bottom":"margin-top: 20px; margin-bottom: 0;",".sv_main .progress":"width: 60%;",".sv_main .progress-bar":"width: auto; margin-left: 2px; margin-right: 2px;",".sv_main .table>tbody>tr>td":"min-width: 90px;",".sv_main f-panel .sv_qstn":"padding: 0; vertical-align: middle;",".sv_main .sv_q_image":"display: inline-block;",".sv_main .sv_row .sv_qstn:first-child:last-child":"flex: none !important;",".sv_main .sv_row .sv_p_container:first-child:last-child":"flex: none !important;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main .sv_progress-buttons__list li:before":"border-color: $progress-buttons-color; background-color: $progress-buttons-color;",".sv_main .sv_progress-buttons__list li:after":"background-color: $progress-buttons-line-color;",".sv_main .sv_progress-buttons__list .sv_progress-buttons__page-title":"color: $text-color;",".sv_main .sv_progress-buttons__list .sv_progress-buttons__page-description":"color: $text-color;",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before":"border-color: $main-color; background-color: $main-color;",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after":"background-color: $progress-buttons-color",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sjs_sp_container":"border: 1px dashed $disable-color;",".sv_main .sjs_sp_placeholder":"color: $foreground-light;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;",".sv-skeleton-element":"background-color: $background-dim;"};setStyles(),setMediaStyles(),aC.ThemeColors[aV]=aR,aC.ThemeCss[aV]=ak;var aI="bootstrapmaterial";rK[aI]=aT;var aO={"$main-color":"#18a689","$text-color":"#404040;","$text-input-color":"#404040;","$progress-text-color":"#9d9d9d","$disable-color":"#dbdbdb","$header-background-color":"#e7e7e7","$disabled-label-color":"rgba(64, 64, 64, 0.5)","$slider-color":"white","$disabled-switch-color":"#9f9f9f","$disabled-slider-color":"#cfcfcf","$body-background-color":"#ffffff","$foreground-light":"#909090","$foreground-disabled":"#161616","$background-dim":"#f3f3f3","$progress-buttons-color":"#8dd6c7","$progress-buttons-line-color":"#d4d4d4"},aD={".sv_main.sv_bootstrapmaterial_css .form-group.is-focused .form-control":"linear-gradient(0deg, $main-color 2px, $main-color 0),linear-gradient(0deg, #D2D2D2 1px, transparent 0);",".sv_main.sv_bootstrapmaterial_css .sv_qstn":"margin-bottom: 1rem;",".sv_main.sv_bootstrapmaterial_css .sv_qstn label.sv_q_m_label":"height: 100%;",".sv_main.sv_bootstrapmaterial_css .sv_q_image":"display: inline-block;",".sv_main .sv_row .sv_qstn:first-child:last-child":"flex: none !important;",".sv_main .sv_row .sv_p_container:first-child:last-child":"flex: none !important;",".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .checkbox input[type=checkbox]:checked + .checkbox-material .check:before":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check:before":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .circle":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .circle":"border-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .radio input[type=radio]:checked ~ .check":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css label.radio-inline input[type=radio]:checked ~ .check":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .btn-default.active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-default:active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-secondary.active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .btn-secondary:active":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css .open>.dropdown-toggle.btn-default":"background-color: $main-color; color: $body-background-color;",".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary, .sv_main.sv_bootstrapmaterial_css button.btn-primary":"color: $body-background-color; background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css input[type='button'].btn-primary:hover, .sv_main.sv_bootstrapmaterial_css button.btn-primary:hover":"background-color: $main-hover-color;",".sv_main .sv_q_imgsel.checked label>div":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_q_file_remove:hover":"color: $main-color;",".sv_main.sv_bootstrapmaterial_css .form-group input[type=file]":"position: relative; opacity: 1;",".sv_main.sv_bootstrapmaterial_css .progress":"width: 60%; height: 1.5em;",".sv_main.sv_bootstrapmaterial_css .progress-bar":"width: auto; margin-left: 2px; margin-right: 2px;",".sv_main .sv-progress":"background-color: $header-background-color;",".sv_main .sv-progress__bar":"background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li:before":"border-color: $progress-buttons-color; background-color: $progress-buttons-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li:after":"background-color: $progress-buttons-line-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list .sv_progress-buttons__page-title":"color: $text-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list .sv_progress-buttons__page-description":"color: $text-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed:before":"border-color: $main-color; background-color: $main-color;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed + li:after":"background-color: $progress-buttons-color",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main.sv_bootstrapmaterial_css .sv_progress-buttons__list li.sv_progress-buttons__list-element--passed.sv_progress-buttons__list-element--current:before":"border-color: $main-color; background-color: white;",".sv_main .sv-paneldynamic__prev-btn.sv-paneldynamic__prev-btn--disabled, .sv_main .sv-paneldynamic__next-btn.sv-paneldynamic__next-btn--disabled":"fill: $disable-color;",".sv_main .sv-paneldynamic__progress-text":"color: $progress-text-color;",".sv_main .sv-paneldynamic__prev-btn, .sv_main .sv-paneldynamic__next-btn":"fill: $text-color",".sv_main .sv-boolean .checkbox-decorator":"display: none;",".sv_main .sv-boolean__switch":"background-color: $main-color;",".sv_main .sv-boolean__slider":"background-color: $slider-color;",".sv_main .sv-boolean__label.sv-boolean__label--disabled":"color: $disabled-label-color;",".sv_main .sv-boolean__label":"color: $text-color;",".sv_main .sv-boolean--disabled .sv-boolean__switch":"background-color: $disabled-switch-color;",".sv_main .sv-boolean--disabled .sv-boolean__slider":"background-color: $disabled-slider-color;",".sv_main .sv_matrix_detail_row":"background-color: #ededed; border-top: 1px solid $header-background-color; border-bottom: 1px solid $header-background-color;",".sv_main .sjs_sp_container":"border: 1px dashed $disable-color;",".sv_main .sjs_sp_placeholder":"color: $foreground-light;",".sv_main .sv-action-bar-item":"color: $text-color;",".sv_main .sv-action-bar-item__icon use":"fill: $foreground-light;",".sv_main .sv-action-bar-item:hover":"background-color: $background-dim;",".sv-skeleton-element":"background-color: $background-dim;"};setStyles(),setMediaStyles(),aC.ThemeColors[aI]=aO,aC.ThemeCss[aI]=aD;var aA=aE,aQ=aT;setupLocale({localeCode:"ar",strings:{pagePrevText:"Ø§ÙØ³Ø§Ø¨Ù",pageNextText:"Ø§ÙØªØ§ÙÙ",completeText:"Ø¥Ø±Ø³Ø§Ù Ø§ÙØ¨ÙØ§ÙØ§Øª",previewText:"Ù
عاÙÙØ©",editText:"تعدÙÙ",startSurveyText:"Ø¨Ø¯Ø§ÙØ©",otherItemText:"ÙØµ آخر",noneItemText:"ÙØ§ Ø´ÙØ¡",refuseItemText:"Ø±ÙØ¶ Ø§ÙØ¥Ø¬Ø§Ø¨Ø©",dontKnowItemText:"ÙØ§ أعرÙ",selectAllItemText:"اختر اÙÙÙ",deselectAllItemText:"Ø¥ÙØºØ§Ø¡ ØªØØ¯Ùد اÙÙÙ",progressText:"{1} ØµÙØØ© {0} Ù
Ù",indexText:"{0} Ù
Ù {1}",panelDynamicProgressText:"سج٠{0} Ù
Ù {1}",panelDynamicTabTextFormat:"ÙÙØØ© {باÙÙ Ø¥ÙØ¯Ùس}",questionsProgressText:"تÙ
ت Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø£Ø³Ø¦ÙØ© {0} / {1}",emptySurvey:"ÙØ§ ØªÙØ¬Ø¯ ØµÙØØ© Ù
Ø±Ø¦ÙØ© أ٠سؤا٠Ù٠اÙÙÙ
ÙØ°Ø¬",completingSurvey:"Ø´ÙØ±Ø§ ÙÙÙ
ÙØ§Ø³ØªÙÙ
ا٠اÙÙÙ
ÙØ°Ø¬!",completingSurveyBefore:"ØªØ¸ÙØ± Ø³Ø¬ÙØ§ØªÙا Ø£ÙÙ ÙØ¯ Ø£ÙÙ
ÙØª ÙØ°Ø§ Ø§ÙØ§Ø³ØªØ·Ùاع باÙÙØ¹Ù.",loadingSurvey:"...ÙØªÙ
تØÙ
Ù٠اÙÙÙ
ÙØ°Ø¬",placeholder:"...اختر",ratingOptionsCaption:"اختار...",value:"اÙÙÙÙ
Ø©",requiredError:".ÙØ±Ø¬Ù Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø§ÙØ³Ø¤Ø§Ù",requiredErrorInPanel:"Ø§ÙØ±Ø¬Ø§Ø¡ Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø³Ø¤Ø§Ù ÙØ§ØØ¯ عÙÙ Ø§ÙØ£ÙÙ.",requiredInAllRowsError:"ÙØ±Ø¬Ù Ø§ÙØ¥Ø¬Ø§Ø¨Ø© عÙÙ Ø§ÙØ£Ø³Ø¦ÙØ© Ù٠جÙ
ÙØ¹ Ø§ÙØµÙÙÙ",eachRowUniqueError:"ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ ÙÙ٠ص٠ÙÙÙ
Ø© ÙØ±Ùدة.",numericError:"ÙØ¬Ø¨ أ٠تÙÙ٠اÙÙÙÙ
Ø© رÙÙ
ÙØ©.",minError:"ÙØ¬Ø¨ Ø£ÙØ§ تÙ٠اÙÙÙÙ
Ø© ع٠{0}",maxError:"ÙØ¬Ø¨ Ø£ÙØ§ ØªØ²ÙØ¯ اÙÙÙÙ
Ø© ع٠{0}",textNoDigitsAllow:"Ø§ÙØ£Ø±ÙاÙ
ØºÙØ± Ù
سÙ
ÙØ Ø¨ÙØ§.",textMinLength:"Ø§ÙØ±Ø¬Ø§Ø¡ إدخا٠Ù
ا ÙØ§ ÙÙ٠ع٠{0} ØØ±ÙÙ",textMaxLength:"Ø§ÙØ±Ø¬Ø§Ø¡ إدخا٠أÙÙ Ù
Ù {0} ØØ±ÙÙ",textMinMaxLength:"ÙØ±Ø¬Ù Ø¥Ø¯Ø®Ø§Ù Ø£ÙØ«Ø± Ù
Ù {0} ÙØ£ÙÙ Ù
Ù {1} ØØ±ÙÙ",minRowCountError:"ÙØ±Ø¬Ù Ù
ÙØ¡ Ù
ا ÙØ§ ÙÙ٠ع٠{0} Ø§ÙØµÙÙÙ",minSelectError:"ÙØ±Ø¬Ù ØªØØ¯Ùد Ù
ا ÙØ§ ÙÙ٠ع٠{0} اÙÙ
ØªØºÙØ±Ø§Øª",maxSelectError:"ÙØ±Ø¬Ù ØªØØ¯Ùد Ù
ا ÙØ§ ÙØ²Ùد ع٠{0} اÙÙ
ØªØºÙØ±Ø§Øª",numericMinMax:"Ù'{0}' ÙØ¬Ø¨ أ٠تÙÙÙ Ù
ساÙÙØ© Ø£Ù Ø£ÙØ«Ø± Ù
Ù {1} ÙØªØ³Ø§Ù٠أ٠أÙÙ Ù
Ù {2}
8ا",numericMin:"Ù'{0}' ÙØ¬Ø¨ أ٠تÙÙÙ Ù
ساÙÙØ© Ø£Ù Ø£ÙØ«Ø± Ù
Ù {1}ا",numericMax:"Ù'{0}' ÙØ¬Ø¨ أ٠تÙÙÙ Ù
ساÙÙØ© أ٠أÙÙ Ù
Ù {1}ا",invalidEmail:"Ø§ÙØ±Ø¬Ø§Ø¡ Ø¥Ø¯Ø®Ø§Ù Ø¨Ø±ÙØ¯ اÙÙØªØ±ÙÙ٠صØÙØ",invalidExpression:"ÙØ¬Ø¨ Ø£Ù ÙØ¹Ø±Ø¶ Ø§ÙØªØ¹Ø¨Ùر: {0} 'ØµÙØ§Ø¨'.",urlRequestError:"Ø·ÙØ¨ إرجاع خطأ '{0}'. {1}ا",urlGetChoicesError:"عاد Ø·ÙØ¨ Ø§ÙØ¨ÙØ§ÙØ§Øª ÙØ§Ø±Øº Ø£Ù 'اÙÙ
سار' ØºÙØ± صØÙØ ",exceedMaxSize:"ÙÙØ¨ØºÙ Ø£ÙØ§ ÙØªØ¬Ø§Ùز ØØ¬Ù
اÙÙ
ÙÙ {0}ا",noUploadFilesHandler:'ÙØ§ ÙÙ
Ù٠تØÙ
Ù٠اÙÙ
ÙÙØ§Øª. ÙØ±Ø¬Ù Ø¥Ø¶Ø§ÙØ© Ù
Ø¹Ø§ÙØ¬ ÙØØ¯Ø« "onUploadFiles".',otherRequiredError:"Ø§ÙØ±Ø¬Ø§Ø¡ إدخا٠ÙÙÙ
Ø© أخرÙ",uploadingFile:"تØÙ
Ù٠اÙÙ
ÙÙ Ø§ÙØ®Ø§Øµ بÙ. ÙØ±Ø¬Ù Ø§ÙØ§Ùتظار عدة Ø«ÙØ§Ù ÙØ§ÙÙ
ØØ§ÙÙØ© ÙØ§ØÙÙØ§",loadingFile:"جار Ø§ÙØªØÙ
ÙÙ...",chooseFile:"اختر اÙÙ
ÙÙØ§Øª...",noFileChosen:"ÙÙ
تÙÙ
Ø¨Ø§Ø®ØªÙØ§Ø± Ù
ÙÙ",filePlaceholder:"Ø§Ø³ØØ¨ Ù
ÙÙØ§ ÙØ£ÙÙØªÙ ÙÙØ§ أ٠اÙÙØ± ÙÙÙ Ø§ÙØ²Ø± Ø£Ø¯ÙØ§Ù ÙØ§Ø®ØªØ± Ù
ÙÙØ§ ÙØªØÙ
ÙÙÙ.",confirmDelete:"ÙÙ ØªØ±ÙØ¯ ØØ°Ù Ø§ÙØ³Ø¬ÙØ",keyDuplicationError:"ÙØ¬Ø¨ أ٠تÙÙÙ ÙØ°Ù اÙÙÙÙ
Ø© ÙØ±Ùدة.",addColumn:"Ø£Ø¶Ù Ø§ÙØ¹Ù
ÙØ¯",addRow:"Ø§Ø¶Ø§ÙØ© صÙ",removeRow:"Ø¥Ø²Ø§ÙØ© صÙ",emptyRowsText:"ÙØ§ ØªÙØ¬Ø¯ صÙÙÙ.",addPanel:"Ø§Ø¶Ù Ø¬Ø¯ÙØ¯",removePanel:"Ø¥Ø²Ø§ÙØ©",showDetails:"Ø§Ø¸ÙØ± Ø§ÙØªÙاصÙÙ",hideDetails:"Ø¥Ø®ÙØ§Ø¡ Ø§ÙØªÙاصÙÙ",choices_Item:"Ø¨ÙØ¯",matrix_column:"عÙ
ÙØ¯",matrix_row:"صÙ",multipletext_itemname:"ÙØµ",savingData:"ÙØªÙ
ØÙظ اÙÙØªØ§Ø¦Ø¬ عÙÙ Ø§ÙØ®Ø§Ø¯Ù
...",savingDataError:"ØØ¯Ø« خطأ ÙÙÙ
ÙØªÙ
ÙÙ Ù
Ù ØÙظ اÙÙØªØ§Ø¦Ø¬.",savingDataSuccess:"تÙ
ØÙظ اÙÙØªØ§Ø¦Ø¬ Ø¨ÙØ¬Ø§Ø!",savingExceedSize:"Ø±Ø¯Ù ÙØªØ¬Ø§Ùز 64 ÙÙÙÙØ¨Ø§Ùت. ÙØ±Ø¬Ù تÙÙÙÙ ØØ¬Ù
اÙÙ
ÙÙ (اÙÙ
ÙÙØ§Øª) ÙØ§ÙÙ
ØØ§ÙÙØ© Ù
رة Ø£Ø®Ø±Ù Ø£Ù Ø§ÙØ§ØªØµØ§Ù بÙ
اÙÙ Ø§ÙØ§Ø³ØªØ·Ùاع.",saveAgainButton:"ØØ§ÙÙ Ù
جددا",timerMin:"دÙÙÙØ©",timerSec:"ثاÙÙØ©",timerSpentAll:"ÙÙØ¯ Ø£ÙÙÙØª {0} عÙÙ ÙØ°Ù Ø§ÙØµÙØØ© Ù {1} إجÙ
Ø§ÙØ§Ù.",timerSpentPage:"ÙÙØ¯ Ø£ÙÙÙØª {0} عÙÙ ÙØ°Ù Ø§ÙØµÙØØ©.",timerSpentSurvey:"ÙÙØ¯ Ø£ÙÙÙØª {0} إجÙ
Ø§ÙØ§Ù.",timerLimitAll:"ÙÙØ¯ Ø£ÙÙÙØª {0} Ù
Ù {1} ÙÙ ÙØ°Ù Ø§ÙØµÙØØ© Ù {2} Ù
٠إجÙ
اÙÙ {3}.",timerLimitPage:"ÙÙØ¯ Ø£ÙÙÙØª {0} Ù
Ù {1} ÙÙ ÙØ°Ù Ø§ÙØµÙØØ©.",timerLimitSurvey:"ÙÙØ¯ Ø£ÙÙÙØª {0} Ù
٠إجÙ
اÙÙ {1}.",clearCaption:"ÙØ§Ø¶Ø",signaturePlaceHolder:"ÙÙØ¹ ÙÙØ§",signaturePlaceHolderReadOnly:"ÙØ§ ÙÙØ¬Ø¯ تÙÙÙØ¹",chooseFileCaption:"اختر Ù
ÙÙ",takePhotoCaption:"Ø§ÙØªÙاط ØµÙØ±Ø©",photoPlaceholder:"اÙÙØ± ÙÙÙ Ø§ÙØ²Ø± Ø£Ø¯ÙØ§Ù ÙØ§ÙØªÙØ§Ø· ØµÙØ±Ø© باستخداÙ
اÙÙØ§Ù
ÙØ±Ø§.",fileOrPhotoPlaceholder:"ÙÙ
Ø¨Ø³ØØ¨ Ù
ÙÙ ÙØ¥ÙÙØ§ØªÙ Ø£Ù ØªØØ¯ÙØ¯Ù ÙØªØÙ
ÙÙÙ Ø£Ù Ø§ÙØªÙاط ØµÙØ±Ø© باستخداÙ
اÙÙØ§Ù
ÙØ±Ø§.",replaceFileCaption:"استبدا٠اÙÙ
ÙÙ",removeFileCaption:"ÙÙ
Ø¨Ø¥Ø²Ø§ÙØ© ÙØ°Ø§ اÙÙ
ÙÙ",booleanCheckedLabel:"ÙØ¹Ù
",booleanUncheckedLabel:"ÙØ§",confirmRemoveFile:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ Ø¥Ø²Ø§ÙØ© ÙØ°Ø§ اÙÙ
ÙÙ: {0}Ø",confirmRemoveAllFiles:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ Ø¥Ø²Ø§ÙØ© ÙØ§ÙØ© اÙÙ
ÙÙØ§ØªØ",questionTitlePatternText:"عÙÙØ§Ù Ø§ÙØ³Ø¤Ø§Ù",modalCancelButtonText:"Ø¥ÙØºØ§Ø¡ Ø§ÙØ£Ù
ر",modalApplyButtonText:"طبÙ",filterStringPlaceholder:"Ø§ÙØªØ¨ ÙÙØ¨ØØ«...",emptyMessage:"ÙØ§ ØªÙØ¬Ø¯ Ø¨ÙØ§Ùات ÙÙØ¹Ø±Ø¶",noEntriesText:"ÙØ§ ØªÙØ¬Ø¯ Ø¥Ø¯Ø®Ø§ÙØ§Øª ØØªÙ Ø§ÙØ¢Ù.\nاÙÙØ± ÙÙÙ Ø§ÙØ²Ø± Ø£Ø¯ÙØ§Ù ÙØ¥Ø¶Ø§ÙØ© Ø¥Ø¯Ø®Ø§Ù Ø¬Ø¯ÙØ¯.",noEntriesReadonlyText:"ÙØ§ ØªÙØ¬Ø¯ Ø¥Ø¯Ø®Ø§ÙØ§Øª.",tabTitlePlaceholder:"ÙÙØØ© Ø¬Ø¯ÙØ¯Ø©",more:"Ø£ÙØ«Ø±",tagboxDoneButtonCaption:"Ù
ÙØ§ÙÙ",selectToRankEmptyRankedAreaText:"ÙØªÙ
ØªØ±ØªÙØ¨ جÙ
ÙØ¹ Ø§ÙØ®Ùارات",selectToRankEmptyUnrankedAreaText:"ÙÙ
Ø¨Ø³ØØ¨ ÙØ¥Ø³Ùاط Ø§ÙØ®Ùارات ÙÙØ§ ÙØªØ±ØªÙØ¨ÙØ§",ok:"Ù
ÙØ§ÙÙ",cancel:"Ø¥ÙØºØ§Ø¡ Ø§ÙØ£Ù
ر"},nativeName:"Ø§ÙØ¹Ø±Ø¨ÙØ©",englishName:"Arabic",rtl:!0}
8),setupLocale({localeCode:"eu",strings:{pagePrevText:"Aurrekoa",pageNextText:"Hurrengoa",completeText:"Bukatu",previewText:"Aurrebista",editText:"Editatu",startSurveyText:"Hasi",otherItemText:"Beste bat (zehaztu)",noneItemText:"Bat ere ez",refuseItemText:"Erantzuteari uko egin",dontKnowItemText:"Ez dakit",selectAllItemText:"Guztia hautatu",deselectAllItemText:"Guztiaren aukeraketa bertan behera utzi",progressText:"{1}-(e)tik {0} orrialde",indexText:"{1} {0}",panelDynamicProgressText:"{0} errigistro {1}-(e)tik",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Erantzundako galderak {0}/{1}",emptySurvey:"Ez dago orrialde bistaragarririk edo ez dago galderarik.",completingSurvey:"Eskerrik asko galdetegia erantzuteagatik!",completingSurveyBefore:"Gure datuek diote dagoeneko galdetegia erantzun duzula.",loadingSurvey:"Galdetegia kargatzen...",placeholder:"Hautatu...",ratingOptionsCaption:"Aukeratu...",value:"balioa",requiredError:"Mesedez, galdera erantzun.",requiredErrorInPanel:"Mesedez, gutxienez galdera bat erantzun.",requiredInAllRowsError:"Mesedez, errenkadako galdera guztiak erantzun.",eachRowUniqueError:"Ilara bakoitzak balio bakarra izan behar du.",numericError:"Estimazioa zenbakizkoa izan behar du.",minError:"Balioa ez da {0} baino txikiagoa izan behar",maxError:"Balioa ez da {0} baino handiagoa izan behar",textNoDigitsAllow:"Ezin da zenbakirik egin.",textMinLength:"Mesedez, gutxienez {0} karaktere erabili behar dira.",textMaxLength:"Mesedez, gehienez {0} karaktere erabili behar dira.",textMinMaxLength:"Mesedez, gehienez {0} eta gutxienez {1} karaktere erabili behar dira.",minRowCountError:"Mesedez, gutxienez {0} errenkada bete.",minSelectError:"Mesedez, gutxienez {0} aukera hautatu.",maxSelectError:"Mesedez, {0} aukera baino gehiago ez hautatu.",numericMinMax:"El '{0}' debe de ser igual o m\xe1s de {1} y igual o menos de {2}",numericMin:"'{0}' {1} baino handiagoa edo berdin izan behar da",numericMax:"'{0}' {1} baino txikiago edo berdin izan behar da",invalidEmail:"Mesedez, baliozko emaila idatz ezazu.",invalidExpression:"{0} adierazpenak 'egiazkoa' itzuli beharko luke.",urlRequestError:"Eskaerak '{0}' errorea itzuli du. {1}",urlGetChoicesError:"La solicitud regres\xf3 vac\xedo de data o la propiedad 'trayectoria' no es correcta",exceedMaxSize:"Fitxategiaren tamaina ez da {0} baino handiagoa izan behar.",noUploadFilesHandler:"Artxiboak ezin dira kargatu. Gaineratu kontrolatzaile bat 'onUploadFiles' ekitaldirako.",otherRequiredError:"Mesedez, beste estimazioa gehitu.",uploadingFile:"Zure fitxategia igotzen ari da. Mesedez, segundo batzuk itxaron eta saiatu berriro.",loadingFile:"Kargatzen...",chooseFile:"Fitxategia(k) hautatu...",noFileChosen:"Ez da inolako fitxategirik hautatu",filePlaceholder:"Arrastatu eta askatu artxibo bat hemen edo klik egin beheko botoian eta aukeratu artxibo bat kargatzeko.",confirmDelete:"\xbfErregistroa borratu nahi al duzu?",keyDuplicationError:"Balio hau bakarra izan behar du.",addColumn:"Zutabe bat gehitu",addRow:"Errenkada bat gehitu",removeRow:"Errenkada bat kendu",emptyRowsText:"Ez dago errenkadarik.",addPanel:"Berria gehitu",removePanel:"Kendu",showDetails:"Xehetasunak erakutsi",hideDetails:"Xehetasunak ezkutatu",choices_Item:"artikulua",matrix_column:"Zutabea",matrix_row:"Errenkada",multipletext_itemname:"testua",savingData:"Erantzunak zerbitzarian gordetzen ari dira...",savingDataError:"Erroreren bat gertatu eta erantzunak ez dira zerbitzarian gorde ahal izan.",savingDataSuccess:"Erantzunak egoki gorde dira!",savingExceedSize:"Erantzuna 64 KB-tik gorakoa da. Murriztu artxiboaren tamaina, eta berriro saiatu edo jarri harremanetan inkesta baten jabearekin.",saveAgainButton:"Berriro saiatu.",timerMin:"min",timerSec:"seg",timerSpentAll:"{0} erabili duzu orrialde honetan eta orotara {1}.",timerSpentPage:"Zuk {0} erabili duzu.",timerSpentSurvey:"Orotara gastatu duzu.",timerLimitAll:"{0} gastatu duzu {1}-(e)tik orrialde honetan eta orotara {2} {3}-(e)tik.",timerLimitPage:"{0} gastatu duzu orrialde honetan {1}-(e)tik.",timerLimitSurvey:"Zuk orotara {0} gastatu duzu {1}-(e)tik.",clearCaption:"Hustu",signaturePlaceHolder:"Sinatu hemen",signaturePlaceHolderReadOnly:"Sinadurarik gabe",chooseFileCaption:"Fitxategia hautatu",takePhotoCaption:"Argazkia hartu",photoPlaceholder:"Egin klik beheko botoian, kamerarekin argaz
8ki bat hartzeko.",fileOrPhotoPlaceholder:"Arrastatu eta askatu artxibo bat kamerarekin argazki bat kargatzeko edo hartzeko.",replaceFileCaption:"Artxiboa ordeztu",removeFileCaption:"Fitxategi hau ezabatu",booleanCheckedLabel:"Bai",booleanUncheckedLabel:"Ez",confirmRemoveFile:"Ziur zaude hurrengo fitxategia ezabatu nahi duzula: {0}?",confirmRemoveAllFiles:"Ziur al zaude fitxategi guztiak ezabatu nahi dituzula?",questionTitlePatternText:"Galderaren izenburua",modalCancelButtonText:"Ezeztatu",modalApplyButtonText:"Ezarri",filterStringPlaceholder:"Idatzi bila...",emptyMessage:"Ez daturik erakusteko",noEntriesText:"Oraindik ez sarrerarik.\nKlik beheko botoian klik egin sarrera berri bat eransteko.",noEntriesReadonlyText:"Ez sarrerarik.",tabTitlePlaceholder:"Panel berria",more:"Gehiago",tagboxDoneButtonCaption:"Ados",selectToRankEmptyRankedAreaText:"Aukera guztiak sailkatuta daude",selectToRankEmptyUnrankedAreaText:"Arrastaka eta askatzen ditu hemen sailkatzeko",ok:"Ados",cancel:"Ezeztatu"},nativeName:"euskara",englishName:"Basque"}),setupLocale({localeCode:"bg",strings:{pagePrevText:"Ðазад",pageNextText:"ÐапÑед",completeText:"ÐÑай",previewText:"ÐизÑализаÑиÑ",editText:"ÑедакÑиÑане",startSurveyText:"ÐаÑало",otherItemText:"ÐÑÑго (опиÑеÑе)",noneItemText:"ÐиÑо един",refuseItemText:"ÐÑказва да оÑговоÑи",dontKnowItemText:"Ðе знам",selectAllItemText:"ÐÑиÑки",deselectAllItemText:"ÐÑемаÑ
ване на избоÑа на вÑиÑки",progressText:"ÑÑÑ. {0}, обÑо ÑÑÑ. {1}",indexText:"{0} на {1}",panelDynamicProgressText:"ÐÐ°Ð¿Ð¸Ñ {0} Ð¾Ñ {1}",panelDynamicTabTextFormat:"Ðанел {panelIndex}",questionsProgressText:"ÐÑговоÑени на {0} / {1} вÑпÑоÑа",emptySurvey:"ÐнкеÑаÑа не ÑÑдÑÑжа видими ÑÑÑаниÑи или вÑпÑоÑи.",completingSurvey:"ÐлагодаÑим ви за ÑÑаÑÑиеÑо в анкеÑаÑа!",completingSurveyBefore:"Ðзглежда, Ñе вие веÑе ÑÑе попÑлнили анкеÑаÑа.",loadingSurvey:"ÐаÑеждане на анкеÑаÑа...",placeholder:"ÐзбеÑеÑе...",ratingOptionsCaption:"ÐÑбÑан...",value:"value",requiredError:"ÐолÑ, оÑговоÑеÑе на ÑÐ»ÐµÐ´Ð½Ð¸Ñ Ð²ÑпÑоÑ.",requiredErrorInPanel:"ÐолÑ, оÑговоÑеÑе поне на един Ð¾Ñ Ð²ÑпÑоÑиÑе.",requiredInAllRowsError:"ÐолÑ, оÑговоÑеÑе на вÑпÑоÑиÑе на вÑиÑки Ñедове.",eachRowUniqueError:"ÐÑеки Ñед ÑÑÑбва да има Ñникална ÑÑойноÑÑ.",numericError:"СÑойноÑÑÑа Ñледва да бÑде ÑиÑло.",minError:"СÑойноÑÑÑа не ÑÑÑбва да бÑде по-малка Ð¾Ñ {0}",maxError:"СÑойноÑÑÑа не ÑÑÑбва да бÑде по-голÑма Ð¾Ñ {0}",textNoDigitsAllow:"ÐомеÑаÑа не Ñа позволени.",textMinLength:"ÐолÑ, използвайÑе поне {0} Ñимвола.",textMaxLength:"ÐолÑ, използвайÑе не повеÑе Ð¾Ñ {0} Ñимвола.",textMinMaxLength:"ÐолÑ, използвайÑе повеÑе Ð¾Ñ {0} и по-малко Ð¾Ñ {1} Ñимвола.",minRowCountError:"ÐолÑ, попÑлнеÑе поне {0} Ñеда.",minSelectError:"ÐолÑ, избеÑеÑе поне {0} ваÑианÑа.",maxSelectError:"ÐолÑ, избеÑеÑе не повеÑе Ð¾Ñ {0} ваÑианÑа.",numericMinMax:"СÑойноÑÑÑа '{0}' Ñледва да бÑде Ñавна или по-голÑма Ð¾Ñ {1} и Ñавна или по-малка Ð¾Ñ {2}",numericMin:"СÑойноÑÑÑа '{0}' Ñледва да бÑде Ñавна или по-голÑма Ð¾Ñ {1}",numericMax:"СÑойноÑÑÑа '{0}' Ñледва да бÑде Ñавна или по-малка Ð¾Ñ {1}",invalidEmail:"ÐолÑ, вÑведеÑе валиден адÑÐµÑ Ð½Ð° елекÑÑонна поÑа.",invalidExpression:"ÐзÑазÑÑ: {0} ÑÑÑбва да дава ÑезÑлÑÐ°Ñ 'true' (иÑÑина).",urlRequestError:"ÐаÑвкаÑа води до гÑеÑка '{0}'. {1}",urlGetChoicesError:"ÐаÑвкаÑа не вÑÑÑа данни или ÑаÑÑÑа 'path' (пÑÑ Ð´Ð¾ ÑÑÑÑÐµÐ½Ð¸Ñ ÑеÑÑÑÑ Ð½Ð° ÑÑÑвÑÑа) е непÑавилно зададена",exceedMaxSize:"РазмеÑÑÑ Ð½Ð° Ñайла Ñледва да не пÑевиÑава {0}.",noUploadFilesHandler:'ФайловеÑе не Ð¼Ð¾Ð³Ð°Ñ Ð´Ð° бÑÐ´Ð°Ñ ÐºÐ°Ñени. ÐолÑ, добавеÑе манипÑлаÑÐ¾Ñ Ð·Ð° ÑÑбиÑиеÑо "onUploadFiles".',otherRequiredError:"ÐолÑ, вÑведеÑе дÑÑгаÑа ÑÑойноÑÑ.",uploadingFile:"ÐаÑÐ¸Ñ Ñайл Ñе заÑежда на ÑÑÑвÑÑа. ÐолÑ, изÑакайÑе нÑколко ÑекÑнди и Ñогава опиÑвайÑе оÑново.",loadingFile:"ÐаÑеждане...",chooseFile:"ÐзбеÑеÑе Ñайл(ове)...",noFileChosen:"ÐÑма избÑан Ñайл",filePlaceholder:"ÐлÑзнеÑе и пÑÑнеÑе Ñайл ÑÑк или ÑÑакнеÑе вÑÑÑ
Ñ Ð±ÑÑона по-Ð´Ð¾Ð»Ñ Ð¸ избеÑеÑе Ñайл за каÑване.",confirmDelete:"ÐелаеÑе ли да изÑÑиеÑе запиÑа?",ke
8yDuplicationError:"СÑойноÑÑÑа Ñледва да бÑде Ñникална.",addColumn:"ÐобавÑне на колона",addRow:"ÐобавÑне на Ñед",removeRow:"ÐÑемаÑ
ване на Ñед",emptyRowsText:"ÐÑма Ñедове.",addPanel:"ÐобавÑне на панел",removePanel:"ÐÑемаÑ
ване на панел",showDetails:"Ðоказване на подÑобни данни",hideDetails:"СкÑий подÑобниÑе данни",choices_Item:"елеменÑ",matrix_column:"Ðолона",matrix_row:"Ред",multipletext_itemname:"ТекÑÑ",savingData:"РезÑлÑаÑиÑе Ñе Ð·Ð°Ð¿Ð°Ð·Ð²Ð°Ñ Ð½Ð° ÑÑÑвÑÑа...",savingDataError:"ÐоÑади вÑзникнала гÑеÑка ÑезÑлÑаÑиÑе не можаÑ
а да бÑÐ´Ð°Ñ Ð·Ð°Ð¿Ð°Ð·ÐµÐ½Ð¸.",savingDataSuccess:"РезÑлÑаÑиÑе бÑÑ
а запазени ÑÑпеÑно!",savingExceedSize:"ÐаÑиÑÑ Ð¾ÑÐ³Ð¾Ð²Ð¾Ñ Ð½Ð°Ð´Ñ
вÑÑÐ»Ñ 64KB. ÐамалеÑе ÑазмеÑа на ваÑиÑе Ñайлове и опиÑайÑе оÑново или Ñе ÑвÑÑжеÑе ÑÑÑ ÑобÑÑвеника на пÑоÑÑванеÑо.",saveAgainButton:"Ðов опиÑ",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"Ðие използваÑ
Ñе {0} на Ñази ÑÑÑаниÑа и обÑо {1}.",timerSpentPage:"Ðие използваÑ
Ñе {0} на Ñази ÑÑÑаниÑа.",timerSpentSurvey:"Ðие използваÑ
Ñе обÑо {0}.",timerLimitAll:"Ðие изпозваÑ
Ñе {0} Ð¾Ñ {1} на Ñази ÑÑÑаниÑа и обÑо {2} Ð¾Ñ {3}.",timerLimitPage:"Ðие използваÑ
Ñе {0} Ð¾Ñ {1} на Ñази ÑÑÑаниÑа.",timerLimitSurvey:"Ðие използваÑ
Ñе обÑо {0} Ð¾Ñ {1}.",clearCaption:"ÐаÑално ÑÑÑÑоÑние",signaturePlaceHolder:"ÐодпиÑеÑе ÑÑк",signaturePlaceHolderReadOnly:"ÐÑма подпиÑ",chooseFileCaption:"ÐзбеÑеÑе Ñайл",takePhotoCaption:"ÐапÑавеÑе Ñнимка",photoPlaceholder:"ÐликнеÑе вÑÑÑ
Ñ Ð±ÑÑона по-долÑ, за да напÑавиÑе Ñнимка Ñ Ð¿Ð¾Ð¼Ð¾ÑÑа на камеÑаÑа.",fileOrPhotoPlaceholder:"ÐлÑзнеÑе и пÑÑнеÑе или избеÑеÑе Ñайл за каÑване или пÑавене на Ñнимка Ñ Ð¿Ð¾Ð¼Ð¾ÑÑа на камеÑаÑа.",replaceFileCaption:"ÐамеÑÑване на Ñайл",removeFileCaption:"ÐÑемаÑ
ване на Ñайла",booleanCheckedLabel:"Ðа",booleanUncheckedLabel:"Ðе",confirmRemoveFile:"ÐаиÑÑина ли иÑкаÑе да пÑемаÑ
неÑе Ñози Ñайл: {0}?",confirmRemoveAllFiles:"ÐаиÑÑина ли иÑкаÑе да пÑемаÑ
неÑе вÑиÑки Ñайлове?",questionTitlePatternText:"Ðаглавие на вÑпÑоÑа",modalCancelButtonText:"ÐÑмени",modalApplyButtonText:"ÐÑилагам",filterStringPlaceholder:"ÐÑведеÑе за ÑÑÑÑене...",emptyMessage:"ÐÑма данни за показване",noEntriesText:"ÐÑе оÑе нÑма запиÑи.\nЩÑакнеÑе вÑÑÑ
Ñ Ð±ÑÑона по-долÑ, за да добавиÑе нов запиÑ.",noEntriesReadonlyText:"ÐÑма запиÑи.",tabTitlePlaceholder:"Ðов панел",more:"ÐÑе",tagboxDoneButtonCaption:"ÐобÑе",selectToRankEmptyRankedAreaText:"ÐÑиÑки вÑзможноÑÑи за Ð¸Ð·Ð±Ð¾Ñ Ñа клаÑиÑани",selectToRankEmptyUnrankedAreaText:"ÐлÑзнеÑе и пÑÑнеÑе опÑии ÑÑк, за да ги клаÑиÑаÑе",ok:"ÐобÑе",cancel:"ÐÑмени"},nativeName:"бÑлгаÑÑки",englishName:"Bulgarian"}),setupLocale
vendor: 6,870 bytes, line 8
8({localeCode:"mm",strings:{pagePrevText:"áá±á¬ááºááá¯á·",pageNextText:"áá¾á±á·ááá¯á·",completeText:"áá¼á®á¸áá¯á¶á¸áá«áá¼á®",previewText:"áá¼áá¯áááºáá¼áá·áºáá¾á¯áááº",editText:"áááºá¸áá¼ááºáááº",startSurveyText:"á
áááºáááº",otherItemText:"á¡áá¼á¬á¸ (áá±á¬áºáá¼áá«)",noneItemText:"áá¬áá»á¾ááá¾ááá«",refuseItemText:"áá¼á±ááá¯áááºáá¼ááºá¸áááºáááº",dontKnowItemText:"ááááá«",selectAllItemText:"á¡á¬á¸áá¯á¶á¸áá½á±á¸áá»ááºáá«",deselectAllItemText:"á¡á¬á¸áá¯á¶á¸ááá½á±á¸áá»ááºáá«",progressText:"á
á¬áá»ááºáá¾á¬ {0}/{1}",indexText:"{0}/{1}",panelDynamicProgressText:"{0}/{1}",panelDynamicTabTextFormat:"áááºá¸ááẠ{panelIndex}",questionsProgressText:"áá±á¸áá½ááºá¸áá»á¬á¸ {0}/{1} áá¼á±ááá¯áá¼á®á¸áá¼á®",emptySurvey:"áá®á
á
áºáááºá¸áá½áẠáá¼ááºáá¬áá±á¸áá½ááºá¸áá»á¬á¸ááá¾ááá«á",completingSurvey:"á
á
áºáááºá¸ááá¯áá¼á®á¸áá¼á±á¬ááºá
á½á¬áá¼á±ááá¯áá±á¸áá²á·ááá·áºá¡áá½ááºáá»á±á¸áá°á¸áááºáá«áááºá",completingSurveyBefore:"áá®á
á
áºáááºá¸ááᯠáá»á¾áá±áá¼á®á¸áá¬á¸áá¼á±ááá¯áá¬á¸áá«áááºá",loadingSurvey:"á
á
áºáááºá¸ááá¯áá¯ááºáá±á¬ááºáá±áááº...",placeholder:"áá½á±á¸áá»ááºáá«...",ratingOptionsCaption:"áá½á±á¸áá»ááºáá«...",value:"áááºááá¯á¸",requiredError:"áá¼á±ááá¯áááºááá¯á¡ááºáá«áááºá",requiredErrorInPanel:"áá¼á±ááá¯áááºááá¯á¡ááºáá«ááẠ- á¡áááºá¸áá¯á¶á¸áá
áºáá¯ááá¯áá¼á±ááá¯áá«á",requiredInAllRowsError:"á¡áááºá¸á¡á¬á¸áá¯á¶á¸áá½ááºáá¼á±ááá¯áááºááá¯á¡ááºáá«áááºá",eachRowUniqueError:"á¡áááºá¸ááá¯ááºá¸áá½ááºáááºáá°áá¼á±ááá¯áá¾á¯ááá¾áááá«á",numericError:"áááºááá¯á¸áááºááááºá¸ááááºá¸áá¼á
áºááá«áááºá",minError:"áááºááá¯á¸ááẠ{0} áááºááááºá¸ááá«á",maxError:"áááºááá¯á¸ááẠ{0} áááºááá»á±á¬áºááá«á",textNoDigitsAllow:"ááááºá¸ááááºá¸áá»á¬á¸ááá¯áá½áá·áºááá¼á¯áá«á",textMinLength:"á¡áááºá¸áá¯á¶á¸ {0} áá¯á¶á¸áá¼áá·áºá
á½ááºáá«á",textMaxLength:"á¡áá»á¬á¸áá¯á¶á¸ {0} áá¯á¶á¸áááá¬áá¼áá·áºá
á½ááºáá«á",textMinMaxLength:"á¡áááºá¸áá¯á¶á¸ {0} áá¾áá·áºá¡áá»á¬á¸áá¯á¶á¸ {1} áá¯á¶á¸áá¼áá·áºá
á½ááºáá«á",minRowCountError:"á¡áááºá¸áá¯á¶á¸ {0} á¡áááºá¸áá¼áá·áºá
á½ááºáá«á",minSelectError:"á¡áááºá¸áá¯á¶á¸ {0} áá½á±á¸áá»ááºáá»ááºáá»á¬á¸áá½á±á¸áá«á",maxSelectError:"á¡áá»á¬á¸áá¯á¶á¸ {0} áá½á±á¸áá»ááºáá»ááºáá»á¬á¸áá¬áá½á±á¸áá«á",numericMinMax:"â{0}â ááẠ{1} áá¾áá·áº {2} á¡áá¼á¬á¸áá¼á
áºááááºá",numericMin:"â{0}â ááẠ{1} áááºááááºá¸ááá«á",numericMax:"â{0}â ááẠ{1} áááºááá»á±á¬áºááá«á",invalidEmail:"ááá¬á¸áááºáá±á¬ á¡á®á¸áá±á¸ááºááááºá
á¬ááá¯ááá¯ááºááá·áºáá«á",invalidExpression:"á¡áá±á¬ááºá¡áá¬á¸ {0} ááẠ'true' áá¼ááºááá·áºáááºá",urlRequestError:"áá±á¬ááºá¸ááá¯áá¾á¯áá½áẠá¡áá¾á¬á¸ '{0}' áá¼á
áºáá²á·áááºá {1}",urlGetChoicesError:"áá±á¬ááºá¸ááá¯áá¾á¯áá½ááºáá±áá¬ááá¾ááá«á ááá¯á·ááá¯áẠ'path' ááá¯ááºááá¯ááºáá¾á¯áá¾á¬áá¾á¬á¸áá±áá«áááºá",exceedMaxSize:"ááá¯ááºá¡áá½ááºá¡á
á¬á¸ááẠ{0} áááºááá»á±á¬áºááá«á",noUploadFilesHandler:"ááá¯ááºáá»á¬á¸ááá¯á¡ááºáá¯ááºáá¯ááºáááááá¯ááºáá«á",otherRequiredError:"áá¼á±ááá¯áááºááá¯á¡ááºáá«áááºá áááºááá¯á¸áá
áºáá¯ááá¯ááºááá·áºáá«á",uploadingFile:"ááá¯ááºáááºáá±áááºá áááá
áºááá¯ááºá¸á
á±á¬ááºá·áá¼á®á¸áá¼ááºáá¼áá¯á¸á
á¬á¸áá«á",loadingFile:"áááºáá±áááº...",chooseFile:"ááá¯ááº(áá»á¬á¸) áá½á±á¸áá»ááºáá«...",noFileChosen:"ááá¯ááºááá½á±á¸ááá±á¸áá«",filePlaceholder:"ááá¯ááºáá
áºáá¯á¡á¬á¸á¤áá±áá¬áá½ááºáá½á²áá»áá¼á®á¸á¡á±á¬ááºáá½ááºáá¾ááá±á¬ááá¯ááºááá¯áá¾áááºáá«á",confirmDelete:"á¤áá¾ááºáááºá¸ááá¯áá»ááºáááºáá¾á¬ áá±áá»á¬áá«ááá¬á¸?",keyDuplicationError:"á¤áááºááá¯á¸áááºáá°á¸áá¼á¬á¸áá¼á
áºááá«áááºá",addColumn:"áá±á¬áºáá¶ááá·áºáááº",addRow:"áááºá¸ááá·áºáááº",removeRow:"áááºáá¾á¬á¸áááº",emptyRowsText:"áááºá¸áá»á¬á¸ááá¾ááá«á",addPanel:"á¡áá
áºááá·áºáá«",removePanel:"áááºáá¾á¬á¸áá«",showDetails:"á¡áá±á¸á
áááºáá¼áááº",hideDetails:"á¡áá±á¸á
áááºáá»á±á¬ááºáááº",choices_Item:"á¡áá¬",matrix_column:"áá±á¬áºáá¶",matrix_row:"áááºá¸",multipletext_itemname:"á
á¬áá¬á¸",savingData:"ááááºáá»á¬á¸ááá¯áá¬áá¬áá½ááºááááºá¸áááºá¸áá±áááº...",savingDataError:"á¡áá¾á¬á¸áá
áºáá¯áá¼á
áºáá¼á®á¸ ááááºáá»á¬á¸ááá¯ááááºá¸áááºá¸áááááá¯ááºáá«á",savingDataSuccess:"ááááºáá»á¬á¸ááá¯á¡á±á¬ááºáá¼ááºá
á½á¬ááááºá¸áááºá¸áá¼á®á¸áá«áá¼á®á",savingExceedSize:"ááá·áºáá¼á±ááá¯áá¾á¯ááẠ64KB áá»á±á¬áºáá±áá«áááºá",saveAgainButton:"áááºáá¼áá¯á¸á
á¬á¸áááº",timerMin:"áááá
áº",timerSec:"á
áá¹ááá·áº",clearCaption:"áá¾ááºá¸áááºá¸áááº",signaturePlaceHolder:"á¤áá±áá¬áá½ááºáááºáá¾ááºáá±á¸áá«",confirmRemoveFile:"á¤ááá¯ááºá¡á¬á¸áááºáá¾á¬á¸áááºáá¾á¬ áá±áá»á¬áá«ááá¬á¸: {0}?",ok:"á¡áá¯áá±",cancel:"áááºáá»ááºáá«"},nativeName:"áá¼ááºáá¬",englishName:"Burmese"})
8,setupLocale({localeCode:"ca",strings:{pagePrevText:"Anterior",pageNextText:"Seg\xfcent",completeText:"Complet",previewText:"Preestrena",editText:"Editar",startSurveyText:"Comen\xe7ar",otherItemText:"Un altre (descrigui)",noneItemText:"Cap",refuseItemText:"Negar-se a respondre",dontKnowItemText:"No s\xe9",selectAllItemText:"Selecciona-ho tot",deselectAllItemText:"Desselecciona-ho tot",progressText:"P\xe0gina {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"{0} de {1}",panelDynamicTabTextFormat:"Panell {panelIndex}",questionsProgressText:"Respostes {0}/{1} preguntes",emptySurvey:"No hi ha cap p\xe0gina visible o pregunta a l'enquesta.",completingSurvey:"Gr\xe0cies per completar l'enquesta!",completingSurveyBefore:"Els nostres registres mostren que ja heu completat aquesta enquesta.",loadingSurvey:"L'enquesta s'est\xe0 carregant ...",placeholder:"Selecciona ...",ratingOptionsCaption:"Seleccionar...",value:"valor",requiredError:"Si us plau contesti la pregunta.",requiredErrorInPanel:"Resposta necess\xe0ria: respondre almenys una pregunta.",requiredInAllRowsError:"Si us plau contesti les preguntes de cada filera.",eachRowUniqueError:"Cada fila ha de tenir un valor \xfanic.",numericError:"L'estimaci\xf3 ha de ser num\xe8rica.",minError:"El valor no ha de ser inferior a {0}",maxError:"El valor no ha de ser superior a {0}",textNoDigitsAllow:"No es permeten n\xfameros.",textMinLength:"Si us plau entre almenys {0} s\xedmbols.",textMaxLength:"Si us plau entre menys de {0} s\xedmbols.",textMinMaxLength:"Si us plau entre m\xe9s de {0} i menys de {1} s\xedmbols.",minRowCountError:"Si us plau ompli almenys {0} fileres.",minSelectError:"Si us plau seleccioni almenys {0} variants.",maxSelectError:"Si us plau seleccioni no m\xe9s de {0} variants.",numericMinMax:"El '{0}' deu ser igual o m\xe9s de {1} i igual o menys de {2}",numericMin:"El '{0}' ha de ser igual o m\xe9s de {1}",numericMax:"El '{0}' ha de ser igual o menys de {1}",invalidEmail:"Si us plau afegiu un correu electr\xf2nic v\xe0lid.",invalidExpression:"L'expressi\xf3: {0} ha de tornar 'veritable'.",urlRequestError:"La sol\xb7licitud va tornar error '{0}'. {1}",urlGetChoicesError:"La sol\xb7licitud va tornar buida de dates o la propietat 'traject\xf2ria' no \xe9s correcta",exceedMaxSize:"La mida de l'arxiu no pot excedir {0}.",noUploadFilesHandler:"No es poden carregar fitxers. Afegiu un controlador per a l'esdeveniment 'onUploadFiles'.",otherRequiredError:"Si us plau afegiu l'altra estimaci\xf3.",uploadingFile:"El seu arxiu s'est\xe0 pujant. Si us plau esperi uns segons i intenteu-ho de nou.",loadingFile:"C\xe0rrega...",chooseFile:"Trieu fitxer(s)...",noFileChosen:"No s'ha triat cap fitxer",filePlaceholder:"Arrossegueu i deixeu anar un fitxer aqu\xed o feu clic al bot\xf3 seg\xfcent i trieu un fitxer per carregar.",confirmDelete:"Vols eliminar el registre?",keyDuplicationError:"Aquest valor ha de ser \xfanic.",addColumn:"Afegeix una columna",addRow:"Afegiu una filera",removeRow:"Eliminar una filera",emptyRowsText:"No hi ha files.",addPanel:"Afegeix un nou",removePanel:"Treure",showDetails:"Mostra els detalls",hideDetails:"Amaga els detalls",choices_Item:"\xedtem",matrix_column:"Columna",matrix_row:"Filera",multipletext_itemname:"SMS",savingData:"Els resultats s'estan guardant al servidor...",savingDataError:"S'ha produ\xeft un error i no hem pogut guardar els resultats.",savingDataSuccess:"Els resultats es van salvar amb \xe8xit!",savingExceedSize:"La teva resposta supera els 64KB. Redu\xefu la mida dels fitxers i torneu-ho a provar o poseu-vos en contacte amb el propietari de l'enquesta.",saveAgainButton:"Prova una altra vegada",timerMin:"min",timerSec:"Seg",timerSpentAll:"Heu passat {0} en aquesta p\xe0gina i {1} en total.",timerSpentPage:"Has passat {0} en aquesta p\xe0gina.",timerSpentSurvey:"Has gastat {0} en total.",timerLimitAll:"Heu passat {0} de {1} en aquesta p\xe0gina i {2} de {3} en total.",timerLimitPage:"Has passat {0} de {1} en aquesta p\xe0gina.",timerLimitSurvey:"Has gastat {0} d'{1} en total.",clearCaption:"Clar",signaturePlaceHolder:"Inscriu-te aqu\xed",signaturePlaceHolderReadOnly:"Sense signatura",chooseFileCaption:"Tria un f
8itxer",takePhotoCaption:"Fer foto",photoPlaceholder:"Feu clic al bot\xf3 seg\xfcent per fer una foto amb la c\xe0mera.",fileOrPhotoPlaceholder:"Arrossegueu i deixeu anar o seleccioneu un fitxer per penjar-lo o fer-ne una foto amb la c\xe0mera.",replaceFileCaption:"Substitueix el fitxer",removeFileCaption:"Suprimeix aquest fitxer",booleanCheckedLabel:"S\xed",booleanUncheckedLabel:"No",confirmRemoveFile:"Esteu segur que voleu eliminar aquest fitxer: {0}?",confirmRemoveAllFiles:"Esteu segur que voleu eliminar tots els fitxers?",questionTitlePatternText:"T\xedtol de la pregunta",modalCancelButtonText:"Cancel\xb7lar",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Escriviu per cercar...",emptyMessage:"No hi ha dades per mostrar",noEntriesText:"Encara no hi ha entrades.\nFeu clic al bot\xf3 seg\xfcent per afegir una entrada nova.",noEntriesReadonlyText:"No hi ha entrades.",tabTitlePlaceholder:"Nou Panell",more:"M\xe9s",tagboxDoneButtonCaption:"D'ACORD",selectToRankEmptyRankedAreaText:"Totes les opcions estan classificades",selectToRankEmptyUnrankedAreaText:"Arrossegueu i deixeu anar les opcions aqu\xed per classificar-les",ok:"D'ACORD",cancel:"Cancel\xb7lar"},nativeName:"catal\xe0",englishName:"Catalan"}),setupLocale({localeCode:"hr",strings:{pagePrevText:"Prethodni",pageNextText:"SljedeÄi",completeText:"Kompletan",previewText:"Pregled",editText:"UreÄivanje",startSurveyText:"PoÄetak",otherItemText:"Ostali (opis)",noneItemText:"Nitko",refuseItemText:"Odbijte odgovoriti",dontKnowItemText:"Ne znam",selectAllItemText:"Select All",deselectAllItemText:"PoniÅ¡tite odabir svega",progressText:"Stranica {0} od {1}",indexText:"{0} {1}",panelDynamicProgressText:"Zapisa {0} od {1}",panelDynamicTabTextFormat:"PloÄa {panelIndex}",questionsProgressText:"Odgovorio na {0}/{1} pitanja",emptySurvey:"U anketi nema vidljive stranice ili pitanja.",completingSurvey:"Hvala vam Å¡to ste zavrÅ¡ili anketu!",completingSurveyBefore:"NaÅ¡i zapisi pokazuju da ste veÄ zavrÅ¡ili ovu anketu.",loadingSurvey:"Anketa o uÄitavanje...",placeholder:"Odaberite...",ratingOptionsCaption:"Odabirati...",value:"vrijednost",requiredError:"Molim vas odgovorite na pitanje.",requiredErrorInPanel:"Molim vas odgovorite na barem jedno pitanje.",requiredInAllRowsError:"Odgovorite na pitanja u svim redovima.",eachRowUniqueError:"Svaki redak mora imati jedinstvenu vrijednost.",numericError:"Vrijednost bi trebala biti brojÄana.",minError:"Vrijednost ne smije biti manja od {0}",maxError:"Vrijednost ne smije biti veÄa od {0}",textNoDigitsAllow:"Brojevi nisu dopuÅ¡teni.",textMinLength:"Unesite najmanje {0} znak(ova).",textMaxLength:"Unesite manje od {0} znak(ova).",textMinMaxLength:"Unesite viÅ¡e od {0} i manje od {1} znakova.",minRowCountError:"Molimo ispunite najmanje {0} redaka.",minSelectError:"Odaberite barem {0} varijante.",maxSelectError:"Odaberite ne viÅ¡e od {0} varijanti.",numericMinMax:"'{0}'bi trebao biti jednak ili viÅ¡e od {1} i jednak ili manji od {2}.",numericMin:"'{0}' bi trebao biti jednak ili viÅ¡e od {1}.",numericMax:"'{0}' bi trebao biti jednak ili manji od {1}",invalidEmail:"Unesite valjanu e-mail adresu.",invalidExpression:"Izraz: {0} treba vratiti 'true'.",urlRequestError:"Zahtjev vratio pogreÅ¡ku '{0}'. {1}",urlGetChoicesError:"Zahtjev je vratio prazne podatke ili je 'path' svojstvo netoÄna.",exceedMaxSize:"VeliÄina datoteke ne smije prelaziti {0}.",noUploadFilesHandler:"Datoteke se ne mogu prenijeti. Dodajte rukovatelja za dogaÄaj 'onUploadFiles'.",otherRequiredError:"Unesite drugu vrijednost.",uploadingFile:"VaÅ¡a datoteka se prenosi. PriÄekajte nekoliko sekundi i pokuÅ¡ajte ponovno.",loadingFile:"UÄitavanje...",chooseFile:"Odaberite datoteku...",noFileChosen:"Nije odabrana datoteka",filePlaceholder:"Povucite i ispustite datoteku ovdje ili kliknite donji gumb i odaberite datoteku koju želite prenijeti.",confirmDelete:"Želite li izbrisati zapis?",keyDuplicationError:"Ta bi vrijednost trebala biti jedinstvena.",addColumn:"Dodavanje stupca",addRow:"Dodavanje redaka",removeRow:"Ukloniti",emptyRowsText:"Nema redova.",addPanel:"Dodavanje novih",removePanel:"Ukloniti",showDetail
8s:"Pokaži detalje",hideDetails:"Sakrij detalje",choices_Item:"stavku",matrix_column:"Stupca",matrix_row:"Redak",multipletext_itemname:"Tekstualna poruka",savingData:"Rezultati se spremaju na poslužitelju...",savingDataError:"DoÅ¡lo je do pogreÅ¡ke i nismo mogli spremiti rezultate.",savingDataSuccess:"Rezultati su uspjeÅ¡no spremljeni!",savingExceedSize:"VaÅ¡ odgovor premaÅ¡uje 64KB. Smanjite veliÄinu datoteka i pokuÅ¡ajte ponovno ili se obratite vlasniku upitnika.",saveAgainButton:"PokuÅ¡aj ponovo",timerMin:"min",timerSec:"sec",timerSpentAll:"Vi ste proveli {0} na ovoj stranici i {1} ukupno.",timerSpentPage:"PotroÅ¡ili ste {0} na ovu stranicu.",timerSpentSurvey:"You have spent {0} in total. {0}.",timerLimitAll:"Vi ste proveli {0} od {1} na ovoj stranici i {2} od {3} ukupno.",timerLimitPage:"PotroÅ¡io si {0} od {1} na ovoj stranici.",timerLimitSurvey:"Ukupno ste potroÅ¡ili {0} od {1}.",clearCaption:"OÄistiti",signaturePlaceHolder:"PotpiÅ¡i ovdje",signaturePlaceHolderReadOnly:"Bez potpisa",chooseFileCaption:"Odaberite datoteku",takePhotoCaption:"Snimi fotografiju",photoPlaceholder:"Kliknite donji gumb da biste snimili fotografiju pomoÄu kamere.",fileOrPhotoPlaceholder:"Povucite i ispustite ili odaberite datoteku za prijenos ili snimanje fotografije pomoÄu kamere.",replaceFileCaption:"Zamijeni datoteku",removeFileCaption:"Uklonite ovu datoteku",booleanCheckedLabel:"Da",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Jeste li sigurni da želite ukloniti ovu datoteku: {0}?",confirmRemoveAllFiles:"Jeste li sigurni da želite ukloniti sve datoteke?",questionTitlePatternText:"Naslov pitanja",modalCancelButtonText:"Otkazati",modalApplyButtonText:"Primijeniti",filterStringPlaceholder:"UpiÅ¡ite za pretraživanje...",emptyMessage:"Nema podataka za prikaz",noEntriesText:"JoÅ¡ nema unosa.\nKliknite donji gumb da biste dodali novi unos.",noEntriesReadonlyText:"Nema unosa.",tabTitlePlaceholder:"Nova ploÄa",more:"ViÅ¡e",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Svi izbori su rangirani",selectToRankEmptyUnrankedAreaText:"Ovdje povucite i ispustite odabire da biste ih rangirali",ok:"OK",cancel:"Otkazati"},nativeName:"hrvatski",englishName:"Croatian"}),setupLocale({localeCode:"cs",strings:{pagePrevText:"PÅedchoz\xed",pageNextText:"DalÅ¡\xed",completeText:"DokonÄit",previewText:"N\xe1hled",editText:"Upravit",startSurveyText:"ZaÄ\xedt",otherItemText:"Jin\xe1 odpovÄÄ (napiÅ¡te)",noneItemText:"Ž\xe1dn\xfd",refuseItemText:"Odm\xedtnout odpovÄdÄt",dontKnowItemText:"Nev\xedm",selectAllItemText:"Vybrat vÅ¡e",deselectAllItemText:"ZruÅ¡it v\xfdbÄr vÅ¡ech",progressText:"Strana {0} z {1}",indexText:"{0} z {1}",panelDynamicProgressText:"Z\xe1znam {0} z {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"ZodpovÄzen\xe9 ot\xe1zky: {0} / {1}",emptySurvey:"Průzkum neobsahuje ž\xe1dn\xe9 ot\xe1zky.",completingSurvey:"DÄkujeme za vyplnÄn\xed průzkumu!",completingSurveyBefore:"NaÅ¡e z\xe1znamy ukazuj\xed, že jste tento průzkum již dokonÄil/a.",loadingSurvey:"Prob\xedh\xe1 naÄ\xedt\xe1n\xed průzkumu...",placeholder:"Vyberte...",ratingOptionsCaption:"Vybrat...",value:"hodnota",requiredError:"OdpovÄzte pros\xedm na ot\xe1zku.",requiredErrorInPanel:"OdpovÄzte pros\xedm alespoÅ jednu ot\xe1zku.",requiredInAllRowsError:"OdpovÄzte pros\xedm na vÅ¡echny ot\xe1zky.",eachRowUniqueError:"Každ\xfd Å\xe1dek mus\xed m\xedt jedineÄnou hodnotu.",numericError:"V tomto poli lze zadat pouze Ä\xedsla.",minError:"Hodnota by nemÄla b\xfdt menÅ¡\xed než {0}",maxError:"Hodnota by nemÄla b\xfdt vÄtÅ¡\xed než {0}",textNoDigitsAllow:"Ä\xedsla nejsou povolena.",textMinLength:"Zadejte pros\xedm alespoÅ {0} znaků.",textMaxLength:"Zadejte pros\xedm m\xe9nÄ než {0} znaků.",textMinMaxLength:"Zadejte pros\xedm v\xedce než {0} a m\xe9nÄ než {1} znaků.",minRowCountError:"VyplÅte pros\xedm alespoÅ {0} Å\xe1dků.",minSelectError:"Vyberte pros\xedm alespoÅ {0} varianty.",maxSelectError:"Nevyb\xedrejte pros\xedm v\xedce než {0} variant.",numericMinMax:"OdpovÄÄ '{0}' by mÄlo b\xfdt vÄtÅ¡\xed nebo rovno {1} a menÅ¡\xed nebo rovno {2}",numericMin:"OdpovÄÄ '{0}' by mÄlo b\xfdt vÄtÅ¡\xed nebo rovno {1}",numericMax:"OdpovÄÄ '{0}' by mÄlo b\xfdt menÅ¡\xed nebo rovno {1}
8",invalidEmail:"Zadejte pros\xedm platnou e-mailovou adresu.",invalidExpression:"V\xfdraz: {0} by mÄl vr\xe1tit hodnotu âtrueâ.",urlRequestError:"Požadavek vr\xe1til chybu '{0}'. {1}",urlGetChoicesError:"Požadavek nevr\xe1til data nebo je neplatn\xe1 vlastnost 'path'",exceedMaxSize:"Velikost souboru by nemÄla b\xfdt vÄtÅ¡\xed než {0}.",noUploadFilesHandler:"Soubory nelze nahr\xe1t. PÅidejte obslužnou rutinu pro ud\xe1lost 'onUploadFiles'.",otherRequiredError:"Zadejte pros\xedm jinou hodnotu.",uploadingFile:"V\xe1Å¡ soubor se nahr\xe1v\xe1. Zkuste to pros\xedm za nÄkolik sekund.",loadingFile:"NaÄ\xedt\xe1n\xed...",chooseFile:"Vyberte soubory...",noFileChosen:"Nen\xed zvolen\xfd ž\xe1dn\xfd soubor",filePlaceholder:"PÅet\xe1hnÄte sem soubor nebo kliknÄte na tlaÄ\xedtko n\xedže a vyberte soubor, kter\xfd chcete nahr\xe1t.",confirmDelete:"Chcete z\xe1znam smazat?",keyDuplicationError:"Tato hodnota by mÄla b\xfdt unik\xe1tn\xed.",addColumn:"PÅidat sloupec",addRow:"PÅidat Å\xe1dek",removeRow:"Odstranit",emptyRowsText:"Neexistuj\xed ž\xe1dn\xe9 Å\xe1dky.",addPanel:"PÅidat nov\xfd",removePanel:"Odstranit",showDetails:"Zobrazit podrobnosti",hideDetails:"Skr\xfdt podrobnosti",choices_Item:"položka",matrix_column:"Sloupec",matrix_row:"Å\xe1dek",multipletext_itemname:"Text",savingData:"V\xfdsledky se ukl\xe1daj\xed na server...",savingDataError:"DoÅ¡lo k chybÄ a v\xfdsledky jsme nemohli uložit.",savingDataSuccess:"V\xfdsledky byly \xfaspÄÅ¡nÄ uloženy!",savingExceedSize:"VaÅ¡e odpovÄÄ pÅekraÄuje 64 kB. ZmenÅ¡ete pros\xedm velikost sv\xfdch souborů a zkuste to znovu nebo kontaktujte vlastn\xedka průzkumu.",saveAgainButton:"Zkuste to znovu",timerMin:"min",timerSec:"sek",timerSpentAll:"Na t\xe9to str\xe1nce jste str\xe1vil/a celkem {0} z {1}.",timerSpentPage:"Na t\xe9to str\xe1nce jste str\xe1vil/a {0}.",timerSpentSurvey:"Celkem jste str\xe1vil/a {0}.",timerLimitAll:"Na t\xe9to str\xe1nce jste str\xe1vil/a {0} z {1} a celkem {2} z {3}.",timerLimitPage:"Na t\xe9to str\xe1nce jste str\xe1vil/a {0} z {1}.",timerLimitSurvey:"CelkovÄ jste str\xe1vil/a {0} z {1}.",clearCaption:"Vymazat",signaturePlaceHolder:"PodepiÅ¡te se zde",signaturePlaceHolderReadOnly:"Bez podpisu",chooseFileCaption:"Vyberte soubor",takePhotoCaption:"PoÅ\xeddit fotografii",photoPlaceholder:"Kliknut\xedm na tlaÄ\xedtko n\xedže poÅ\xedd\xedte fotografii pomoc\xed fotoapar\xe1tu.",fileOrPhotoPlaceholder:"PÅet\xe1hnÄte nebo vyberte soubor, kter\xfd chcete nahr\xe1t nebo poÅiÄte fotografii pomoc\xed fotoapar\xe1tu.",replaceFileCaption:"Nahradit soubor",removeFileCaption:"Odeberte tento soubor",booleanCheckedLabel:"Ano",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Opravdu chcete odebrat tento soubor: {0}?",confirmRemoveAllFiles:"Opravdu chcete odstranit vÅ¡echny soubory?",questionTitlePatternText:"N\xe1zev ot\xe1zky",modalCancelButtonText:"ZruÅ¡it",modalApplyButtonText:"Použ\xedt",filterStringPlaceholder:"Zadejte hledan\xfd text...",emptyMessage:"Ž\xe1dn\xe1 data k zobrazen\xed",noEntriesText:"Zat\xedm nejsou ž\xe1dn\xe9 z\xe1znamy.\nKliknut\xedm na tlaÄ\xedtko n\xedže pÅid\xe1te novou položku.",noEntriesReadonlyText:"Nejsou zde ž\xe1dn\xe9 položky.",tabTitlePlaceholder:"Nov\xfd panel",more:"V\xedce",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"VÅ¡echny možnosti jsou seÅazeny",selectToRankEmptyUnrankedAreaText:"PÅet\xe1hnÄte volby zde a seÅaÄte je",ok:"OK",cancel:"ZruÅ¡it"},nativeName:"ÄeÅ¡tina",englishName:"Czech"}),setupLocale({localeCode:"da",strings:{pagePrevText:"Tilbage",pageNextText:"Videre",completeText:"F\xe6rdig",previewText:"Forpremiere",editText:"Redig\xe9r",startSurveyText:"Start",otherItemText:"Valgfrit svar...",noneItemText:"Ingen",refuseItemText:"N\xe6gt at svare",dontKnowItemText:"Ved ikke",selectAllItemText:"V\xe6lg alle",deselectAllItemText:"Frav\xe6lg alle",progressText:"Side {0} af {1}",indexText:"{0} af {1}",panelDynamicProgressText:"Optag {0} af {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Besvarede {0} / {1} sp\xf8rgsm\xe5l",emptySurvey:"Der er ingen synlige sp\xf8rgsm\xe5l.",completingSurvey:"Mange tak for din besvarelse!",completingSurveyBefore:"Vores data viser at du allerede har gennemf\xf8rt dette sp\xf8rgeskema.",loadingSurvey:"Sp\xf8rgeskemaet hentes fra serveren...",placeholder:"V\xe6lg...",ratingOptionsCaption:"Markere...",value:"v\xe6rdi",requiredError:"Besvar venligst sp\xf8rgsm\xe5let.",requiredErrorInPanel:"Besvar venligst mindst \xe9t sp\xf8rgsm\xe5l.",requiredInAllRowsError:"Besvar venligst sp\xf8rgsm\xe5l i alle r\xe6kker.",eachRowUniqueError:"Hver r\xe6kke skal have en entydig v\xe6rdi.",numericError:"Angiv et tal.",minError:"V\xe6rdien b\xf8r ikke v\xe6re mindre end {0}",maxError:"V\xe6rdien b\xf8r ikke v\xe6re st\xf8rre end {0}",textNoDigitsAllow:"Numre er ikke tilladt.",textMinLength:"Angiv mindst {0} tegn.",textMaxLength:"Please enter less than {0} characters.",textMinMaxLength:"Angiv mere end {0} og mindre end {1} tegn.",minRowCountError:"Udfyld mindst {0} r\xe6kker.",minSelectError:"V\xe6lg venligst mindst {0} svarmulighed(er).",maxSelectError:"V\xe6lg venligst f\xe6rre {0} svarmuligheder(er).",numericMinMax:"'{0}' skal v\xe6re lig med eller st\xf8rre end {1} og lig med eller mindre end {2}",numericMin:"'{0}' skal v\xe6re lig med eller st\xf8rre end {1}",numericMax:"'{0}' skal v\xe6re lig med eller mindre end {1}
8",invalidEmail:"Angiv venligst en gyldig e-mail adresse.",invalidExpression:"Udtrykket: {0} skal returnere 'true'.",urlRequestError:"Foresp\xf8rgslen returnerede fejlen '{0}'. {1}",urlGetChoicesError:"Foresp\xf8rgslen returnerede ingen data eller 'path' parameteren er forkert",exceedMaxSize:"Filst\xf8rrelsen m\xe5 ikke overstige {0}.",noUploadFilesHandler:"Filer kan ikke uploades. Tilf\xf8j en handler for h\xe6ndelsen 'onUploadFiles'.",otherRequiredError:"Angiv en v\xe6rdi for dit valgfrie svar.",uploadingFile:"Din fil bliver uploadet. Vent nogle sekunder og pr\xf8v eventuelt igen.",loadingFile:"Indl\xe6ser...",chooseFile:"V\xe6lg fil(er)...",noFileChosen:"Ingen fil er valgt",filePlaceholder:"Tr\xe6k og slip en fil her, eller klik p\xe5 knappen nedenfor, og v\xe6lg en fil, der skal uploades.",confirmDelete:"Vil du fjerne den?",keyDuplicationError:"Denne v\xe6rdi skal v\xe6re unik.",addColumn:"Tilf\xf8j kolonne",addRow:"Tilf\xf8j r\xe6kke",removeRow:"Fjern",emptyRowsText:"Der er ingen r\xe6kker.",addPanel:"Tilf\xf8j ny",removePanel:"Fjern",showDetails:"Vis detaljer",hideDetails:"Skjul detaljer",choices_Item:"valg",matrix_column:"Kolonne",matrix_row:"R\xe6kke",multipletext_itemname:"Tekst",savingData:"Resultaterne bliver gemt p\xe5 serveren...",savingDataError:"Der opstod en fejl og vi kunne ikke gemme resultatet.",savingDataSuccess:"Resultatet blev gemt!",savingExceedSize:"Dit svar overstiger 64 KB. Reducer st\xf8rrelsen p\xe5 din(e) fil(er), og pr\xf8v igen, eller kontakt en unders\xf8gelsesejer.",saveAgainButton:"Pr\xf8v igen",timerMin:"min",timerSec:"sek",timerSpentAll:"Du har brugt {0} p\xe5 denne side og {1} i alt.",timerSpentPage:"Du har brugt {0} p\xe5 denne side.",timerSpentSurvey:"Du har brugt {0} i alt.",timerLimitAll:"Du har brugt {0} af {1} p\xe5 denne side og {2} af {3} i alt.",timerLimitPage:"Du har brugt {0} af {1} p\xe5 denne side.",timerLimitSurvey:"Du har brugt {0} af {1} i alt.",clearCaption:"Fjern",signaturePlaceHolder:"Tilmeld dig her",signaturePlaceHolderReadOnly:"Ingen underskrift",chooseFileCaption:"V\xe6lg fil",takePhotoCaption:"Tag billede",photoPlaceholder:"Klik p\xe5 knappen nedenfor for at tage et billede med kameraet.",fileOrPhotoPlaceholder:"Tr\xe6k og slip, eller v\xe6lg en fil, der skal uploades, eller tag et billede med kameraet.",replaceFileCaption:"Erstat fil",removeFileCaption:"Fjern denne fil",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Ingen",confirmRemoveFile:"Er du sikker p\xe5, at du vil fjerne denne fil: {0}?",confirmRemoveAllFiles:"Er du sikker p\xe5, at du vil fjerne alle filer?",questionTitlePatternText:"Sp\xf8rgsm\xe5ls titel",modalCancelButtonText:"Aflyse",modalApplyButtonText:"Anvende",filterStringPlaceholder:"Skriv for at s\xf8ge...",emptyMessage:"Ingen data at vise",noEntriesText:"Der er endnu ingen tilmeldinger.\nKlik p\xe5 knappen nedenfor for at tilf\xf8je en ny post.",noEntriesReadonlyText:"Der er ingen poster.",tabTitlePlaceholder:"Nyt panel",more:"Mere",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle valg er rangeret",selectToRankEmptyUnrankedAreaText:"Tr\xe6k og slip valg her for at rangere dem",ok:"OK",cancel:"Aflyse"},nativeName:"dansk",englishName:"Danish"});var aj={pagePrevText:"Vorige",pageNextText:"Volgende",completeText:"Verzenden",previewText:"Voorbeeld",editText:"Bewerk",startSurveyText:"Start",otherItemText:"Anders, nl.",noneItemText:"Geen",refuseItemText:"Weiger te antwoorden",dontKnowItemText:"Weet niet",selectAllItemText:"Selecteer Alles",deselectAllItemText:"Alles deselecteren",progressText:"Pagina {0} van {1}",indexText:"{0} van {1}",panelDynamicProgressText:"Record {0} of {1}",panelDynamicTabTextFormat:"Paneel {panelIndex}",questionsProgressText:"Geantwoord {0}/{1} vragen",emptySurvey:"Er is geen zichtbare pagina of vraag in deze vragenlijst",completingSurvey:"Bedankt voor het invullen van de vragenlijst",completingSurveyBefore:"Onze gegevens tonen aan dat je deze vragenlijst reeds beantwoord hebt.",loadingSurvey:"De vragenlijst is aan het laden...",placeholder:"Kies...",ratingOptionsCaption:"Selecteren...",value:"waarde",requiredError:"Dit is een vereiste vraag",requiredErrorInPanel:"Gelieve ten minste een vraag te beantwoorden.",requiredInAllRowsError:"Deze vraag vereist \xe9\xe9n antwoord per rij",eachRowUniqueError:"Elke rij moet een unieke waarde hebben.",numericError:"Het antwoord moet een getal zijn",minError:"De waarde mag niet lager zijn dan {0}",maxError:"De waarde mag niet groter zijn dan {0}",textNoDigitsAllow:"Nummers zijn niet toegestaan.",textMinLength:"Vul minstens {0} karakters in",textMaxLength:"Gelieve minder dan {0} karakters in te vullen.",textMinMaxLength:"Gelieve meer dan {0} en minder dan {1} karakters in te vullen.",minRowCountError:"Gelieve ten minste {0}
8 rijen in te vullen.",minSelectError:"Selecteer minimum {0} antwoorden",maxSelectError:"Selecteer niet meer dan {0} antwoorden",numericMinMax:"Uw antwoord '{0}' moet groter of gelijk zijn aan {1} en kleiner of gelijk aan {2}",numericMin:"Uw antwoord '{0}' moet groter of gelijk zijn aan {1}",numericMax:"Uw antwoord '{0}' moet groter of gelijk zijn aan {1}",invalidEmail:"Vul een geldig e-mailadres in",invalidExpression:"De uitdrukking: {0} moet 'waar' teruggeven.",urlRequestError:"De vraag keerde een fout terug '{0}'. {1}",urlGetChoicesError:"De vraag gaf een leeg antwoord terug of de 'pad' eigenschap is niet correct",exceedMaxSize:"De grootte van het bestand mag niet groter zijn dan {0}",noUploadFilesHandler:"Bestanden kunnen niet worden ge\xfcpload. Voeg een handler toe voor de gebeurtenis 'onUploadFiles'.",otherRequiredError:"Vul het veld 'Anders, nl.' in",uploadingFile:"Uw bestand wordt ge\xfcpload. Gelieve enkele seconden te wachten en opnieuw te proberen.",loadingFile:"Laden...",chooseFile:"Kies uw bestand(en)...",noFileChosen:"Geen bestand gekozen",filePlaceholder:"Sleep het bestand naar hier",confirmDelete:"Wilt u deze gegevens verwijderen?",keyDuplicationError:"Deze waarde moet uniek zijn.",addColumn:"Voeg kolom toe",addRow:"Voeg rij toe",removeRow:"Verwijder",emptyRowsText:"Er zijn geen rijen.",addPanel:"Nieuwe toevoegen",removePanel:"Verwijder",showDetails:"Toon details",hideDetails:"Verberg details",choices_Item:"onderwerp",matrix_column:"Kolom",matrix_row:"Rij",multipletext_itemname:"Tekst",savingData:"De resultaten worden bewaard op de server...",savingDataError:"Er was een probleem en we konden de resultaten niet bewaren.",savingDataSuccess:"De resultaten werden succesvol bewaard!",savingExceedSize:"Uw antwoord is groter dan 64 kB. Verklein de grootte van uw bestand(en) en probeer het opnieuw of neem contact op met een enqu\xeate-eigenaar.",saveAgainButton:"Probeer opnieuw",timerMin:"minimum",timerSec:"sec",timerSpentAll:"U heeft {0} gespendeerd op deze pagina en {1} in totaal.",timerSpentPage:"U heeft {0} op deze pagina gespendeerd.",timerSpentSurvey:"U heeft in totaal {0} gespendeerd.",timerLimitAll:"U heeft {0} van {1} op deze pagina gespendeerd en {2} van {3} in totaal.",timerLimitPage:"U heeft {0} van {1} gespendeerd op deze pagina.",timerLimitSurvey:"U heeft {0} van {1} in het totaal.",clearCaption:"Verwijder",signaturePlaceHolder:"Hier tekenen",signaturePlaceHolderReadOnly:"Geen handtekening",chooseFileCaption:"Gekozen bestand",takePhotoCaption:"Foto maken",photoPlaceholder:"Klik op de onderstaande knop om een foto te maken met de camera.",fileOrPhotoPlaceholder:"Sleep en zet neer of selecteer een bestand om te uploaden of maak een foto met de camera.",replaceFileCaption:"Bestand vervangen",removeFileCaption:"Verwijder dit bestand",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nee",confirmRemoveFile:"Weet u zeker dat u deze file wilt verwijderen: {0}?",confirmRemoveAllFiles:"Weet u zeker dat u al deze files wilt verwijderen?",questionTitlePatternText:"Titel van de vraag",modalCancelButtonText:"Annuleren",modalApplyButtonText:"Toepassen",filterStringPlaceholder:"Typ om te zoeken...",emptyMessage:"Geen gegevens om weer te geven",noEntriesText:"Er zijn nog geen inzendingen.\nKlik op de onderstaande knop om een nieuw item toe te voegen.",noEntriesReadonlyText:"Er zijn geen inzendingen.",tabTitlePlaceholder:"Nieuw paneel",more:"Meer",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle keuzes zijn gerangschikt",selectToRankEmptyUnrankedAreaText:"Drag en drop keuzes hier om ze te rangschikken",ok:"OK",cancel:"Annuleren"};setupLocale({localeCode:"nl",strings:aj,nativeName:"nederlands",englishName:"Dutch"}),setupLocale({localeCode:"nl-BE",strings:aj,nativeName:"vlaams",englishName:"Flemish"}),setupLocale({localeCode:"et",strings:{pagePrevText:"Tagasi",pageNextText:"Edasi",completeText:"L\xf5peta",previewText:"Eelvaade",editText:"Muuda",startSurveyText:"Alusta",otherItemText:"Muu (t\xe4psusta)",noneItemText:"Mitte midagi",refuseItemText:"Keeldu vastamast",dontKnowItemText:"Ei tea",selectAllItemText:"Vali k\xf5ik",deselectAllItemText:"K\xf5igi valiku t\xfchistamine",progressText:"Lehek\xfclg {0}/{1}",indexText:"{0} {1}",panelDynamicProgressText:"Kirje {0}/{1}",panelDynamicTabTextFormat:"Paneel {panelIndex}",questionsProgressText:"Vastatud {0} k\xfcsimust {1}-st",emptySurvey:"Selles uuringus ei ole \xfchtki n\xe4htavat lehek\xfclge v\xf5i k\xfcsimust.",completingSurvey:"Ait\xe4h, et vastasid ankeedile!",completingSurveyBefore:"Meie andmetel oled sa sellele ankeedile juba vastanud.",loadingSurvey:"Laen ankeeti...",placeholder:"Vali...",ratingOptionsCaption:"Valima...",value:"v\xe4\xe4rtus",requiredError:"Palun vasta k\xfcsimusele.",requiredErrorInPanel:"Palun vasta v\xe4hemalt \xfchele k\xfcsimusele.",requiredInAllRowsError:"Palun anna vastus igal real.",eachRowUniqueError:"Igal real peab olema kordumatu v\xe4\xe4rtus.",numericError:"See peaks olema numbriline v\xe4\xe4rtus.",minError:"V\xe4\xe4rtus ei tohiks olla v\xe4iksem kui {0}",maxError:"V\xe4\xe4rtus ei tohiks olla suurem kui {0}",textNoDigitsAllow:"Numbrid ei ole lubatud.",textMinLength:"Palun sisesta v\xe4hemalt {0} t\xe4hem\xe4rki.",textMaxLength:"Palun \xe4ra sisesta rohkem kui {0} t\xe4hem\xe4rki.",textMinMaxLength:"Sisesta palun {0} - {1} t\xe4hem\xe4rki.",minRowCountError:"Sisesta plaun v\xe4hemalt {0} rida.",minSelectError:"Palun vali v\xe4hemalt {0} varianti.",maxSelectError:"Palun vali k\xf5ige rohkem {0} varianti.",numericMinMax:"'{0}' peaks olema v\xf5rdne v\xf5i suurem kui {1} ja v\xf5rdne v\xf5i v\xe4iksem kui {2}",numericMin:"'{0}' peaks olema v\xf5rdne v\xf5i suurem kui {1}",numericMax:"'{0}' peaks olema v\xf5rnde v\xf5i v\xe4iksem kui {1}
8",invalidEmail:"Sisesta palun korrektne e-posti aadress.",invalidExpression:"Avaldis: {0} peaks tagastama t\xf5ese.",urlRequestError:"Taotlus tagastas vea â{0}â. {1}",urlGetChoicesError:"Taotlus tagastas t\xfchjad andmed v\xf5i atribuut 'path' on vale",exceedMaxSize:"Faili suurus ei tohi \xfcletada {0}.",noUploadFilesHandler:'Faile ei saa \xfcles laadida. Palun lisage s\xfcndmuse "onUploadFiles" jaoks k\xe4itleja.',otherRequiredError:"Sisesta palun muu vastus.",uploadingFile:"Sinu fail laeb \xfcles. Palun oota m\xf5ned sekundid ning proovi seej\xe4rel uuesti.",loadingFile:"Laen...",chooseFile:"Vali fail(id)...",noFileChosen:"Faili pole valitud",filePlaceholder:"Pukseerige fail siia v\xf5i kl\xf5psake allolevat nuppu ja valige \xfcleslaaditav fail.",confirmDelete:"Kas tahad kirje kustutada?",keyDuplicationError:"See v\xe4\xe4rtus peab olema unikaalne.",addColumn:"Lisa veerg",addRow:"Lisa rida",removeRow:"Eemalda",emptyRowsText:"Ridu pole.",addPanel:"Lisa uus",removePanel:"Eemalda",showDetails:"N\xe4ita detaile",hideDetails:"Peida \xfcksikasjad",choices_Item:"\xfcksus",matrix_column:"Veerg",matrix_row:"Rida",multipletext_itemname:"Tekst",savingData:"Salvestan andmed serveris...",savingDataError:"Tekkis viga ning me ei saanud vastuseid salvestada.",savingDataSuccess:"Vastuste salvestamine \xf5nnestus!",savingExceedSize:"Teie vastus \xfcletab 64 KB. V\xe4hendage faili(de) mahtu ja proovige uuesti v\xf5i v\xf5tke \xfchendust uuringu omanikuga.",saveAgainButton:"Proovi uuesti",timerMin:"min",timerSec:"sek",timerSpentAll:"Oled veetnud {0} sellel lehel ning kokku {1}.",timerSpentPage:"Oled veetnud {0} sellel lehel.",timerSpentSurvey:"Oled veetnud {0} kokku.",timerLimitAll:"Oled kulutanud {0} v\xf5imalikust {1} sellel lehel ning {2} v\xf5imalikust {3} kokku.",timerLimitPage:"Oled kulutanud {0} v\xf5imalikust {1} sellel lehel.",timerLimitSurvey:"Oled kulutanud {0} v\xf5imalikust {1} koguajast.",clearCaption:"Puhasta",signaturePlaceHolder:"Allkirjasta siin",signaturePlaceHolderReadOnly:"Allkiri puudub",chooseFileCaption:"Vali fail",takePhotoCaption:"Pildistamine",photoPlaceholder:"Kaamera abil pildistamiseks kl\xf5psake allolevat nuppu.",fileOrPhotoPlaceholder:"Pukseerige v\xf5i valige \xfcleslaaditav fail v\xf5i pildistage seda kaamera abil.",replaceFileCaption:"Asenda fail",removeFileCaption:"Eemalda see fail",booleanCheckedLabel:"Jah",booleanUncheckedLabel:"Ei",confirmRemoveFile:"Oled sa kindel, et soovid selle faili eemaldada: {0}?",confirmRemoveAllFiles:"Oled sa kindel, et soovid eemaldada k\xf5ik failid?",questionTitlePatternText:"K\xfcsimuse pealkiri",modalCancelButtonText:"T\xfchistama",modalApplyButtonText:"Kohaldata",filterStringPlaceholder:"Tippige otsimiseks...",emptyMessage:"Kuvatavaid andmeid pole",noEntriesText:"Sissekandeid veel ei ole.\nUue kirje lisamiseks kl\xf5psake allolevat nuppu.",noEntriesReadonlyText:"Kirjeid ei ole.",tabTitlePlaceholder:"Uus paneel",more:"Rohkem",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"K\xf5ik valikud on j\xe4rjestatud",selectToRankEmptyUnrankedAreaText:"Lohistage valikuid siia, et neid j\xe4rjestada",ok:"OK",cancel:"T\xfchistama"},nativeName:"eesti keel",englishName:"Estonian"}),setupLocale({localeCode:"fi",strings:{pagePrevText:"Edellinen",pageNextText:"Seuraava",completeText:"Valmis",previewText:"Esikatselu",editText:"Muokkaa",startSurveyText:"Aloita",otherItemText:"Muu (tarkenna)",noneItemText:"Ei mit\xe4\xe4n",refuseItemText:"Kielt\xe4ydy vastaamasta",dontKnowItemText:"Ei tied\xe4",selectAllItemText:"Valitse kaikki",deselectAllItemText:"Poista kaikkien valinta",progressText:"Sivu {0} / {1}",indexText:"{0} / {1}",panelDynamicProgressText:"Osio {0} / {1}",panelDynamicTabTextFormat:"Paneeli {panelIndex}",questionsProgressText:"Olet vastannut {0} / {1} kysymykseen.",emptySurvey:"T\xe4ss\xe4 kyselyss\xe4 ei ole yht\xe4\xe4n n\xe4kyvill\xe4 olevaa sivua tai kysymyst\xe4.",completingSurvey:"Kiitos kyselyyn vastaamisesta!",completingSurveyBefore:"Tietojemme mukaan olet jo suorittanut t\xe4m\xe4n kyselyn.",loadingSurvey:"Kysely\xe4 ladataan palvelimelta...",placeholder:"Valitse...",ratingOptionsCaption:"Arvioi napauttamalla t\xe4t\xe4...",value:"arvo",requiredError:"Vastaa kysymykseen, kiitos.",requiredErrorInPanel:"Vastaa ainakin yhteen kysymykseen.",requiredInAllRowsError:"Vastaa kysymyksiin kaikilla riveill\xe4.",eachRowUniqueError:"Jokaisella rivill\xe4 on oltava yksil\xf6llinen arvo.",numericError:"Arvon tulee olla numeerinen.",minError:"Arvo ei saa olla pienempi kuin {0}",maxError:"Arvo ei saa olla suurempi kuin {0}",textNoDigitsAllow:"Numerot eiv\xe4t ole sallittuja.",textMinLength:"Sy\xf6t\xe4 v\xe4hint\xe4\xe4n {0} merkki\xe4.",textMaxLength:"\xc4l\xe4 sy\xf6t\xe4 yli {0} merkki\xe4.",textMinMaxLength:"Sy\xf6t\xe4 v\xe4hint\xe4\xe4n {0} ja enint\xe4\xe4n {1} merkki\xe4.",minRowCountError:"T\xe4yt\xe4 v\xe4hint\xe4\xe4n {0} rivi\xe4.",minSelectError:"Valitse v\xe4hint\xe4\xe4n {0} vaihtoehtoa.",maxSelectError:"Valitse enint\xe4\xe4n {0} vaihtoehtoa.",numericMinMax:"Luvun '{0}' tulee olla v\xe4hint\xe4\xe4n {1} ja korkeintaan {2}.",numericMin:"Luvun '{0}' tulee olla v\xe4hint\xe4\xe4n {1}.",numericMax:"Luvun '{0}' tulee olla korkeintaan {1}.",invalidEmail:"Sy\xf6t\xe4 validi s\xe4hk\xf6postiosoite.",invalidExpression:"Lausekkeen: {0} pit\xe4isi palauttaa 'true'.",urlRequestError:"Pyynt\xf6 palautti virheen {0}. {1}",urlGetChoicesError:"Pyynt\xf6 palautti tyhj\xe4n tiedoston tai 'path'-asetus on v\xe4\xe4r\xe4",exceedMaxSize:"Tiedoston koko ei saa olla suurempi kuin {0}.",noUploadFilesHandler:"Tiedostoja ei voi ladata. Lis\xe4\xe4 k\xe4sittelij\xe4 onUploadFiles-tapahtumalle.",otherRequiredError:"Tarkenna vastaustasi tekstikentt\xe4\xe4n.",uploadingFile:"Tiedostoa l\xe4hetet\xe4\xe4n. Odota muutama sekunti ja yrit\xe4 uudelleen.",loadingFile:"Ladataan...",chooseFile:"Valitse tiedosto(t)...",noFileChosen:"Ei tiedostoa valittuna",filePlaceholder:"Pudota tiedosto t\xe4h\xe4n tai lataa tiedosto napsauttamalla alla olevaa painiketta.",confirmDelete:"Haluatko poistaa osion?",keyDuplicationError:"T\xe4m\xe4 arvo on jo k\xe4
8yt\xf6ss\xe4. Sy\xf6t\xe4 toinen arvo.",addColumn:"Lis\xe4\xe4 sarake",addRow:"Lis\xe4\xe4 rivi",removeRow:"Poista",emptyRowsText:"Ei rivej\xe4",addPanel:"Lis\xe4\xe4 uusi",removePanel:"Poista",showDetails:"N\xe4yt\xe4 tiedot",hideDetails:"Piilota tiedot",choices_Item:"kohde",matrix_column:"Sarake",matrix_row:"Rivi",multipletext_itemname:"teksti",savingData:"Tietoja tallennetaan palvelimelle...",savingDataError:"Tapahtui virhe, emmek\xe4 voineet tallentaa kyselyn tietoja.",savingDataSuccess:"Tiedot tallennettiin onnistuneesti!",savingExceedSize:"Vastauksesi ylitt\xe4\xe4 64 kt. Pienenn\xe4 tiedostojesi kokoa ja yrit\xe4 uudelleen tai ota yhteytt\xe4 kyselyn omistajaan.",saveAgainButton:"Yrit\xe4 uudelleen",timerMin:"min",timerSec:"sek",timerSpentAll:"Olet k\xe4ytt\xe4nyt {0} t\xe4ll\xe4 sivulla ja yhteens\xe4 {1}.",timerSpentPage:"Olet k\xe4ytt\xe4nyt {0} t\xe4ll\xe4 sivulla.",timerSpentSurvey:"Olet k\xe4ytt\xe4nyt yhteens\xe4 {0}.",timerLimitAll:"Olet k\xe4ytt\xe4nyt t\xe4ll\xe4 sivulla {0} / {1} ja yhteens\xe4 {2} / {3}.",timerLimitPage:"Olet k\xe4ytt\xe4nyt {0} / {1} t\xe4ll\xe4 sivulla.",timerLimitSurvey:"Olet k\xe4ytt\xe4nyt yhteens\xe4 {0} / {1}.",clearCaption:"Tyhjenn\xe4",signaturePlaceHolder:"Allekirjoita t\xe4h\xe4n",signaturePlaceHolderReadOnly:"Ei allekirjoitusta",chooseFileCaption:"Valitse tiedosto",takePhotoCaption:"Ota valokuva",photoPlaceholder:"Napsauta alla olevaa painiketta ottaaksesi valokuvan kameralla.",fileOrPhotoPlaceholder:"Ved\xe4 ja pudota tai valitse ladattava tiedosto tai ota valokuva kameralla.",replaceFileCaption:"Korvaa tiedosto",removeFileCaption:"Poista t\xe4m\xe4 tiedosto",booleanCheckedLabel:"Kyll\xe4",booleanUncheckedLabel:"Ei",confirmRemoveFile:"Haluatko varmasti poistaa t\xe4m\xe4n tiedoston: {0}?",confirmRemoveAllFiles:"Haluatko varmasti poistaa kaikki tiedostot?",questionTitlePatternText:"Kysymyksen otsikko",modalCancelButtonText:"Peruuta",modalApplyButtonText:"K\xe4yt\xe4",filterStringPlaceholder:"Hae kirjoittamalla...",emptyMessage:"Ei n\xe4ytett\xe4vi\xe4 tietoja",noEntriesText:"Merkint\xf6j\xe4 ei ole viel\xe4.\nLis\xe4\xe4 uusi merkint\xe4 napsauttamalla alla olevaa painiketta.",noEntriesReadonlyText:"Merkint\xf6j\xe4 ei ole.",tabTitlePlaceholder:"Uusi paneeli",more:"Enemm\xe4n",tagboxDoneButtonCaption:"OKEI",selectToRankEmptyRankedAreaText:"Kaikki valinnat asetetaan paremmuusj\xe4rjestykseen",selectToRankEmptyUnrankedAreaText:"Ved\xe4 ja pudota vaihtoehdot t\xe4h\xe4n luokitellaksesi ne",ok:"OKEI",cancel:"Perua"},nativeName:"suomi",englishName:"Finnish"}),setupLocale({localeCode:"fr",strings:{pagePrevText:"Pr\xe9c\xe9dent",pageNextText:"Suivant",completeText:"Terminer",previewText:"Aper\xe7u",editText:"Modifier",startSurveyText:"Commencer",otherItemText:"Autre (pr\xe9ciser)",noneItemText:"Aucun",refuseItemText:"Refuser de r\xe9pondre",dontKnowItemText:"Sais pas",selectAllItemText:"Tout s\xe9lectionner",deselectAllItemText:"D\xe9s\xe9lectionner tout",progressText:"Page {0} sur {1}",indexText:"{0} sur {1}",panelDynamicProgressText:"Enregistrement {0} sur {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} question(s) r\xe9pondue(s)",emptySurvey:"Il n'y a ni page visible ni question visible dans ce questionnaire",completingSurvey:"Merci d'avoir r\xe9pondu au questionnaire !",completingSurveyBefore:"Nos donn\xe9es indiquent que vous avez d\xe9j\xe0 rempli ce questionnaire.",loadingSurvey:"Le questionnaire est en cours de chargement...",placeholder:"Choisissez...",ratingOptionsCaption:"Appuyez ici pour noter...",value:"valeur",requiredError:"La r\xe9ponse \xe0 cette question est obligatoire.",requiredErrorInPanel:"Merci de r\xe9pondre au moins \xe0 une question.",requiredInAllRowsError:"Toutes les lignes sont obligatoires",eachRowUniqueError:"Chaque ligne doit avoir une valeur unique.",numericError:"La r\xe9ponse doit \xeatre un nombre.",minError:"La valeur ne doit pas \xeatre inf\xe9rieure \xe0 {0}",maxError:"La valeur ne doit pas \xeatre sup\xe9rieure \xe0 {0}",textNoDigitsAllow:"Les num\xe9ros ne sont pas autoris\xe9s.",textMinLength:"Merci de saisir au moins {0} caract\xe8res.",textMaxLength:"Merci de saisir moins de {0} caract\xe8res.",textMinMaxLength:"Merci de saisir entre {0} et {1} caract\xe8res.",minRowCountError:"Merci de compl\xe9ter au moins {0}
8 lignes.",minSelectError:"Merci de s\xe9lectionner au minimum {0} r\xe9ponses.",maxSelectError:"Merci de s\xe9lectionner au maximum {0} r\xe9ponses.",numericMinMax:"Votre r\xe9ponse '{0}' doit \xeatre sup\xe9rieure ou \xe9gale \xe0 {1} et inf\xe9rieure ou \xe9gale \xe0 {2}",numericMin:"Votre r\xe9ponse '{0}' doit \xeatre sup\xe9rieure ou \xe9gale \xe0 {1}",numericMax:"Votre r\xe9ponse '{0}' doit \xeatre inf\xe9rieure ou \xe9gale \xe0 {1}",invalidEmail:"Merci d'entrer une adresse mail valide.",invalidExpression:"L'expression: {0} doit retourner 'true'.",urlRequestError:"La requ\xeate a renvoy\xe9 une erreur '{0}'. {1}",urlGetChoicesError:"La requ\xeate a renvoy\xe9 des donn\xe9es vides ou la propri\xe9t\xe9 'path' est incorrecte",exceedMaxSize:"La taille du fichier ne doit pas exc\xe9der {0}.",noUploadFilesHandler:"Les fichiers ne peuvent pas \xeatre t\xe9l\xe9charg\xe9s. Veuillez ajouter un gestionnaire pour lâ\xe9v\xe9nement 'onUploadFiles'.",otherRequiredError:"Merci de pr\xe9ciser le champ 'Autre'.",uploadingFile:"Votre fichier est en cours de chargement. Merci d'attendre quelques secondes et de r\xe9essayer.",loadingFile:"Chargement...",chooseFile:"Ajouter des fichiers...",noFileChosen:"Aucun fichier ajout\xe9",filePlaceholder:"D\xe9posez un fichier ici ou cliquez sur le bouton ci-dessous pour charger le fichier.",confirmDelete:"Voulez-vous supprimer cet enregistrement ?",keyDuplicationError:"Cette valeur doit \xeatre unique.",addColumn:"Ajouter une colonne",addRow:"Ajouter une ligne",removeRow:"Supprimer",emptyRowsText:"Il n'y a pas de lignes.",addPanel:"Ajouter",removePanel:"Supprimer",showDetails:"Afficher les d\xe9tails",hideDetails:"Masquer les d\xe9tails",choices_Item:"item",matrix_column:"Colonne",matrix_row:"Ligne",multipletext_itemname:"texte",savingData:"Les r\xe9sultats sont en cours de sauvegarde sur le serveur...",savingDataError:"Une erreur est survenue et a emp\xeach\xe9 la sauvegarde des r\xe9sultats.",savingDataSuccess:"Les r\xe9sultats ont bien \xe9t\xe9 enregistr\xe9s !",savingExceedSize:"Votre r\xe9ponse d\xe9passe 64 Ko. Veuillez r\xe9duire la taille de votre ou vos fichiers et r\xe9essayer ou contacter un propri\xe9taire de sondage.",saveAgainButton:"R\xe9essayer",timerMin:"min",timerSec:"sec",timerSpentAll:"Vous avez pass\xe9 {0} sur cette page et {1} au total.",timerSpentPage:"Vous avez pass\xe9 {0} sur cette page.",timerSpentSurvey:"Vous avez pass\xe9 {0} au total.",timerLimitAll:"Vous avez pass\xe9 {0} sur {1} sur cette page et {2} sur {3} au total.",timerLimitPage:"Vous avez pass\xe9 {0} sur {1} sur cette page.",timerLimitSurvey:"Vous avez pass\xe9 {0} sur {1} au total.",clearCaption:"Vider",signaturePlaceHolder:"Signez ici",signaturePlaceHolderReadOnly:"Pas de signature",chooseFileCaption:"Ajouter un fichier",takePhotoCaption:"Prendre une photo",photoPlaceholder:"Cliquez sur le bouton ci-dessous pour prendre une photo \xe0 lâaide de lâappareil photo.",fileOrPhotoPlaceholder:"Faites glisser et d\xe9posez ou s\xe9lectionnez un fichier \xe0 t\xe9l\xe9charger ou \xe0 prendre une photo \xe0 lâaide de lâappareil photo.",replaceFileCaption:"Remplacer le fichier",removeFileCaption:"Enlever ce fichier",booleanCheckedLabel:"Oui",booleanUncheckedLabel:"Non",confirmRemoveFile:"\xcates-vous certains de vouloir supprimer ce fichier : {0}?",confirmRemoveAllFiles:"\xcates-vous certains de vouloir supprimer tous les fichiers?",questionTitlePatternText:"Titre de la question",modalCancelButtonText:"Annuler",modalApplyButtonText:"Appliquer",filterStringPlaceholder:"Tapez pour rechercher...",emptyMessage:"Aucune donn\xe9e \xe0 afficher",noEntriesText:"Il n'y a pas encore d'entr\xe9es.\nCliquez sur le bouton ci-dessous pour ajouter une nouvelle entr\xe9e.",noEntriesReadonlyText:"Il nây a pas dâentr\xe9es.",tabTitlePlaceholder:"Nouveau panneau",more:"Plus",tagboxDoneButtonCaption:"DâACCORD",selectToRankEmptyRankedAreaText:"Tous les choix sont class\xe9s",selectToRankEmptyUnrankedAreaText:"Faites glisser et d\xe9posez les choix ici pour les classer",ok:"DâACCORD",cancel:"Annuler"},nativeName:"fran\xe7ais",englishName:"French"}),setupLocale({localeCode:"ka",strings:{pagePrevText:"á£ááá",pageNextText:"á¨ááááá",completeText:"ááá¡á á£áááá",previewText:"ááááá®áááá",editText:"á áááá¥á¢áá ááá",startSurveyText:"ááá¥áá¥áá",otherItemText:"á¡á®áá (ááá®ááá ááá£ááááá)",noneItemText:"áá áªáá áá",refuseItemText:"á£áá á ááá¡á£á®áá",dontKnowItemText:"áá áááªá",selectAllItemText:"á§ááááá¡ ááááá¨áá",deselectAllItemText:"á§ááááá¡ áá á©ááá",progressText:"áááá áá {0} / {1}",indexText:"{1} {0}",panelDynamicProgressText:"{1} {0}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"á£ááá¡á£á®áá {0}/{1} áááá®áááá¡",emptySurvey:"áá áªáá áá áááá®áá áá áá áá¡.",completingSurvey:"áááááááá áááá®ááá áá¡ á¨ááá¡áááá¡áááá¡!",completingSurveyBefore:"á©áááá á©áááá¬áá ááá áá©áááááá¡, á áá áá¥ááá á£ááá áááá¡á á£ááá áá¡ áááááááá®áá.",loadingSurvey:"á©áá¢ááá ááá á¡áá ááá áááá...",placeholder:"áá á©ááá...",ratingOptionsCaption:"ááá á©ááá...",value:"á¦áá ááá£áááá",requiredError:"ááá®ááá á£ááá¡á£á®áá áááá®ááá¡.",requiredErrorInPanel:"á¡áááá áá ááá¡á£á®á: á£ááá¡á£á®áá áááááá£á áá á áááá®ááá¡.",requiredInAllRowsError:"á¡áááá áá ááá¡á£á®á: á£ááá¡á£á®áá áááá®áááá¡ á§áááá á ááá¨á.",eachRowUniqueError:"áááááá£á á ááá¡ á£ááá á°á¥ááááá¡ á£áááááá£á á áááá¨ááááááá.",numericError:"ááá¡á£á®á á£ááá áá§áá¡ á ááªá®áá.",minError:"á¦áá ááá£áááá áá á£ááá áá§áá¡ ááááááá {0}",maxError:"á¦áá ááá£áááá áá á£ááá áá§áá¡ {0}",textNoDigitsAllow:"áááá ááá áá áá áá¡ ááá¨áááá£áá.",textMinLength:"ááá®ááá á¨ááá§ááááá áá ááááááá {0} á¡áááááá.",textMaxLength:"ááá®ááá, á¨ááá§ááááá áá áá£ááá¢áá¡ {0} á¡áááááá(áá)á.",textMinMaxLength:"ááá®ááá, á¨ááá§ááááá áááááá£á {0} áá áá áá£ááá¢áá¡ {1} á¡áááááá.",minRowCountError:"ááá®ááá á¨áááá¡áá áááááá£á {0} á ááá( áá)á.",minSelectError:"ááá®ááá ááá á©ááá áá ááááááá {0} ááá áááá¢á.",maxSelectError:"ááá®ááá ááá á©ááá áá áá£ááá¢áá¡ {0} ááá áááá¢á.",numericMinMax:"'{0}' á£ááá áá§áá¡ ááá¢á áá á¢ááá, áááá á {1}, áá ááááááá áá á¢ááá áááá á {2}",numericMin:"'{0}' á£ááá áá§áá¡ ááá¢á áá á¢ááá áááá á {1}",numericMax:"'{0}' á£ááá áá§áá¡ ááááááá áá á¢ááá áááá á {1}
8",invalidEmail:"ááá®ááá á¨ááá§ááááá áá. á¤áá¡á¢áá¡ á áááá£á á ááá¡áááá áá.",invalidExpression:'áááááá¥áá: {0} á£ááá áááá á£áááá¡ "ááá¨ááá áá¢á".',urlRequestError:"áááá®áááá ááá£áá á£ááá á¨ááªááááá¡ '{0}'. {1}",urlGetChoicesError:'áááá®ááááá ááá£áá á£áá áªáá áááá áááááªááááá áá "ááááááá¡" á¥ááááá áá áá¡á¬áá áá',exceedMaxSize:"á¤ááááá¡ áááá áá á£ááá áá¦áááá¢áááááá¡ {0}.",noUploadFilesHandler:"á¤ááááááá¡ áá¢ááá ááá á¨áá£á«ááááááá. ááá®ááá, áááááá¢áá ááááá£á¨ááááááá 'onUploadFiles' á¦áááá¡á«ááááá¡áááá¡.",otherRequiredError:"á¡áááá áá ááá¡á£á®á: á¨ááá§ááááá á¡á®áá áááá¨ááááááá.",uploadingFile:"áá¥áááá á¤áááá áá¢ááá áááá. ááá®ááá áááááááá á áááááááá á¬ááá¡ áá ááááá á¡áªáááá.",loadingFile:"áá¢ááá áááá...",chooseFile:"ááá á©ááá á¤áááá...",noFileChosen:"á¤ááááá¡ áá á©ááá áá áá áá¡",filePlaceholder:"áááááá¢áááá áá á©áááááááá á¤áááá áᥠáá áááááá áá á¥ááááá áááªááá£á á¦ááááá¡ áá ááá á©ááá á¤áááá áá¡áá¢ááá ááá.",confirmDelete:"áá¡á£á á á©áááá¬áá áá¡ á¬áá¨áá?",keyDuplicationError:"áá¡ áááá¨ááááááá á£ááá áá§áá¡ á£áááááá£á á.",addColumn:"á¡ááá¢áá¡ ááááá¢ááá",addRow:"á áááá¡ ááááá¢ááá",removeRow:"á¬áá¨áá",emptyRowsText:"á ááááá áá áá áá¡.",addPanel:"áá®ááá ááááá¢ááá",removePanel:"á¬áá¨áá",showDetails:"ááá¢áááááá¡ á©áááááá",hideDetails:"ááá¢áááááá¡ ááááááá",choices_Item:"ááááá",matrix_column:"á¡ááá¢á",matrix_row:"á ááá",multipletext_itemname:"á¢áá¥á¡á¢á",savingData:"á¨ááááááá áááá®ááá á¡áá ááá áá...",savingDataError:"ááá¤áá¥á¡áá áá á¨ááªáááá áá á¨ááááá ááá á¨áááááá®ááááá.",savingDataSuccess:"á¨ááááááá á¬áá ááá¢áááá áááááá á©áááá¡!",savingExceedSize:"áá¥áááá ááá¡á£á®á áá¦áááá¢ááá 64KB. ááá®ááá, á¨ááááªáá áá áá¥áááá á¤ááá(áá)áá¡ áááá áá á¡áªáááá á®áááá®áá áá ááá£áááá¨áá ááá áááááááá®ááá¡ áá¤áááááá¡.",saveAgainButton:"ááááá á¡áªááá",timerMin:"á¬á",timerSec:"á¬á",timerSpentAll:"áá¥ááá ááá®áá á¯áá {0} áá áááá ááá áá á¯ááá¨á {1}.",timerSpentPage:"áá¥ááá {0} ááá®áá á¯áá áá áááá ááá.",timerSpentSurvey:"áá¥ááá á¡á£á {0} ááá®áá á¯áá.",timerLimitAll:"áá¥ááá ááá®áá á¯áá {1} {0} áá áááá ááá áá á¯ááá¨á {3} {2}.",timerLimitPage:"áá¥ááá áá áááá ááá {1} {0} ááá®áá á¯áá.",timerLimitSurvey:"áá¥ááá á¡á£á {1} {0} ááá®áá á¯áá.",clearCaption:"ááá¬ááááááá áªá",signaturePlaceHolder:"á¨áá¡ááá áá¥",signaturePlaceHolderReadOnly:"á®ááááá¬áá á áá áá áá¡",chooseFileCaption:"ááá£á©áá áá¡ ááá®áá",takePhotoCaption:"áááááá¦áá á¤áá¢á",photoPlaceholder:"áááááá áá á¥ááááá áááªááá£á á¦ááááá¡, á áá áááááá¦áá á¤áá¢á ááááá áá¡ ááááá§áááááá.",fileOrPhotoPlaceholder:"áááááá¢áááá áá á©áááááááá áá á¨ááá á©ááá á¤áááá ááááá áá¡ ááááá§áááááá á¤áá¢áá¡ áá¡áá¢ááá ááá áá ááááá¡áá¦áááá.",replaceFileCaption:"á¤ááááá¡ á¨ááªááá",removeFileCaption:"áá á¤ááááá¡ á¬áá¨áá",booleanCheckedLabel:"áááá®",booleanUncheckedLabel:"áá á",confirmRemoveFile:"ááá á¬áá£áááá£áá á®áá á, á áá áá¡á£á á áá á¤ááááá¡ á¬áá¨áá: {0}?",confirmRemoveAllFiles:"ááá á¬áá£áááá£áá á®áá á, á áá áá¡á£á á á§áááá á¤ááááá¡ á¬áá¨áá?",questionTitlePatternText:"áááá®ááá¡ á¡áááá£á á",modalCancelButtonText:"ááá£á¥áááá",modalApplyButtonText:"ááá¦ááá",filterStringPlaceholder:"á©áá¬áá áá á«áááá...",emptyMessage:"áááááªááááá áá áá áá¡ á¡áá©áááááááá",noEntriesText:"á¯áá áá áá áá¡ á©áááá¬áá ááá.\náááááá áá á¥ááááá áááªááá£á á¦ááááá¡, á áá áááááá¢áá áá®ááá á©áááá¬áá á.",noEntriesReadonlyText:"áá áá á¡ááááá¡ á©áááá¬áá ááá.",tabTitlePlaceholder:"áá®ááá áááááá",more:"á¡á á£ááá",tagboxDoneButtonCaption:"ááá áá",selectToRankEmptyRankedAreaText:"á§áááá áá á©ááááá á ááááá ááá£ááá",selectToRankEmptyUnrankedAreaText:"áááááá¢áááá áá á©áááááááá áá á©ááááá áá¥, á áá áááá¡áá®áááá áá¡ááá",ok:"ááá áá",cancel:"ááá£á¥áááá"},nativeName:"á¥áá áá£áá",englishName:"Georgian"}),setupLocale({localeCode:"de",strings:{pagePrevText:"Zur\xfcck",pageNextText:"Weiter",completeText:"Abschlie\xdfen",previewText:"Vorschau",editText:"Bearbeiten",startSurveyText:"Start",otherItemText:"Sonstiges (Bitte angeben)",noneItemText:"Nichts trifft zu",refuseItemText:"Antwort verweigern",dontKnowItemText:"Wei\xdf ich nicht",selectAllItemText:"Alles ausw\xe4hlen",deselectAllItemText:"Alle abw\xe4hlen",progressText:"Seite {0} von {1}",indexText:"{0} von {1}",panelDynamicProgressText:"Eintrag {0} von {1}",panelDynamicTabTextFormat:"Bereich {panelIndex}",questionsProgressText:"{0}/{1} Fragen beantwortet",emptySurvey:"Es sind keine Fragen vorhanden.",completingSurvey:"Vielen Dank, dass Sie die Umfrage abgeschlossen haben!",completingSurveyBefore:"Sie haben diese Umfrage bereits abgeschlossen.",loadingSurvey:"Umfrage wird geladen...",placeholder:"Bitte ausw\xe4hlen...",ratingOptionsCaption:"Tippen Sie hier, um zu bewerten...",value:"Wert",requiredError:"Bitte beantworten Sie diese Frage.",requiredErrorInPanel:"Bitte beantworten Sie mindestens eine Frage.",requiredInAllRowsError:"Bitte beantworten Sie alle Fragen.",eachRowUniqueError:"Jede Zeile muss einen eindeutigen Wert haben.",numericError:"Der Wert muss eine Zahl sein.",minError:"Der Wert sollte nicht kleiner als {0} sein",maxError:"Der Wert sollte nicht gr\xf6\xdfer als {0} sein",textNoDigitsAllow:"Zahlen sind nicht erlaubt.",textMinLength:"Bitte geben Sie mindestens {0} Zeichen ein.",textMaxLength:"Bitte geben Sie nicht mehr als {0} Zeichen ein.",textMinMaxLength:"Bitte geben Sie mindestens {0} und maximal {1} Zeichen ein.",minRowCountError:"Bitte machen Sie in mindestens {0} Zeilen eine Eingabe.",minSelectError:"Bitte w\xe4hlen Sie mindestens {0} Antwort(en) aus.",maxSelectError:"Bitte w\xe4hlen Sie nicht mehr als {0} Antwort(en) aus.",numericMinMax:"'{0}' muss gr\xf6\xdfer oder gleich {1} und kleiner oder gleich {2} sein",numericMin:"'{0}' muss gr\xf6\xdfer oder gleich {1} sein",numericMax:"'{0}' muss kleiner oder gleich {1}
8 sein",invalidEmail:"Bitte geben Sie eine g\xfcltige E-Mail-Adresse ein.",invalidExpression:"Der Ausdruck: {0} muss den Wert 'wahr' zur\xfcckgeben.",urlRequestError:"Ein Netzwerkdienst hat folgenden Fehler zur\xfcckgegeben '{0}'. {1}",urlGetChoicesError:"Eine Netzwerkdienst hat ung\xfcltige Daten zur\xfcckgegeben",exceedMaxSize:"Die Datei darf nicht gr\xf6\xdfer als {0} sein.",noUploadFilesHandler:"Dateien k\xf6nnen nicht hochgeladen werden. F\xfcgen Sie einen Handler f\xfcr das Ereignis 'onUploadFiles' hinzu.",otherRequiredError:"Bitte geben Sie einen Wert an.",uploadingFile:"Bitte warten Sie bis der Upload Ihrer Dateien abgeschlossen ist.",loadingFile:"Wird hochgeladen...",chooseFile:"Datei(en) ausw\xe4hlen...",noFileChosen:"Keine Datei ausgew\xe4hlt",filePlaceholder:"Legen Sie hier eine Datei ab oder klicken Sie auf die Schaltfl\xe4che unten, um die Datei zu laden.",confirmDelete:"Wollen Sie den Eintrag l\xf6schen?",keyDuplicationError:"Dieser Wert muss einmalig sein.",addColumn:"Spalte hinzuf\xfcgen",addRow:"Zeile hinzuf\xfcgen",removeRow:"Entfernen",emptyRowsText:"Es gibt keine Reihen.",addPanel:"Neu hinzuf\xfcgen",removePanel:"Entfernen",showDetails:"Details anzeigen",hideDetails:"Details ausblenden",choices_Item:"Element",matrix_column:"Spalte",matrix_row:"Zeile",multipletext_itemname:"Text",savingData:"Die Ergebnisse werden auf dem Server gespeichert...",savingDataError:"Es ist ein Fehler aufgetreten. Die Ergebnisse konnten nicht gespeichert werden.",savingDataSuccess:"Die Ergebnisse wurden gespeichert!",savingExceedSize:"Ihre Antwort \xfcberschreitet 64 KB. Reduzieren Sie die Gr\xf6\xdfe Ihrer Datei(en) und versuchen Sie es erneut, oder wenden Sie sich an den Umfragebesitzer.",saveAgainButton:"Erneut absenden",timerMin:"Min.",timerSec:"Sek.",timerSpentAll:"Sie waren {0} auf dieser Seite und brauchten insgesamt {1}.",timerSpentPage:"Sie waren {0} auf dieser Seite.",timerSpentSurvey:"Sie haben insgesamt {0} gebraucht.",timerLimitAll:"Sie waren {0} von {1} auf dieser Seite und brauchten insgesamt {2} von {3}.",timerLimitPage:"Sie waren {0} von {1} auf dieser Seite.",timerLimitSurvey:"Sie haben insgesamt {0} von {1} gebraucht.",clearCaption:"Auswahl entfernen",signaturePlaceHolder:"Hier unterschreiben",signaturePlaceHolderReadOnly:"Keine Unterschrift",chooseFileCaption:"Datei ausw\xe4hlen",takePhotoCaption:"Foto machen",photoPlaceholder:"Klicken Sie auf die Schaltfl\xe4che unten, um ein Foto mit der Kamera aufzunehmen.",fileOrPhotoPlaceholder:"Ziehen Sie eine Datei per Drag & Drop oder w\xe4hlen Sie sie aus, um sie hochzuladen oder machen Sie ein Foto mit der Kamera.",replaceFileCaption:"Datei ersetzen",removeFileCaption:"Datei l\xf6schen",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nein",confirmRemoveFile:"Sind Sie sicher, dass Sie diese Datei l\xf6schen m\xf6chten: {0}?",confirmRemoveAllFiles:"Sind Sie sicher, dass Sie alle Dateien l\xf6schen m\xf6chten?",questionTitlePatternText:"Fragentitel",modalCancelButtonText:"Abbrechen",modalApplyButtonText:"Anwenden",filterStringPlaceholder:"Tippen Sie, um zu suchen...",emptyMessage:"Es gibt noch keine Daten.",noEntriesText:"Es gibt noch keine Eintr\xe4ge.\nKlicken Sie auf die Schaltfl\xe4che unten, um einen neuen Eintrag hinzuzuf\xfcgen.",noEntriesReadonlyText:"Es gibt keine Eintr\xe4ge.",tabTitlePlaceholder:"Neues Panel",more:"Mehr",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle Auswahlm\xf6glichkeiten sind in einer Rangfolge angeordnet",selectToRankEmptyUnrankedAreaText:"Ziehen Sie die Auswahl hierher, um sie zu ordnen",ok:"OK",cancel:"Abbrechen"},nativeName:"deutsch",englishName:"German"}),setupLocale
vendor: 8,481 bytes, line 8
8({localeCode:"el",strings:{pagePrevText:"Î ÏοηγοÏμενο",pageNextText:"ÎÏÏμενο",completeText:"ÎλοκλήÏÏÏη",previewText:"Î ÏοεÏιÏκÏÏηÏη",editText:"ÎÏεξεÏγαÏία",startSurveyText:"ÎÏÏή",otherItemText:"Îλλο (ÏαÏÎ±ÎºÎ±Î»Ï Î´Î¹ÎµÏ
κÏινίÏÏε)",noneItemText:"ÎανÎναÏ",refuseItemText:"ÎÏνηθείÏε να αÏανÏήÏεÏε",dontKnowItemText:"Îεν ξÎÏÏ",selectAllItemText:"ÎÏιλογή ÏλÏν",deselectAllItemText:"ÎÏοεÏιλογή ÏλÏν",progressText:"Σελίδα {0} αÏÏ {1}",indexText:"{0} αÏÏ {1}",panelDynamicProgressText:"ÎγγÏαÏή {0} αÏÏ {1}",panelDynamicTabTextFormat:"Î Î¯Î½Î±ÎºÎ±Ï {panelIndex}",questionsProgressText:"ÎÏανÏήθηκαν {0} / {1} εÏÏÏήÏειÏ",emptySurvey:"Îεν Ï
ÏάÏÏει καμία οÏαÏή Ïελίδα ή οÏαÏή εÏÏÏηÏη Ïε αÏ
ÏÏ Ïο εÏÏÏημαÏολÏγιο.",completingSurvey:"ÎÏ
ÏαÏιÏÏοÏμε για Ïην ÏÏ
μÏλήÏÏÏη αÏ
ÏÎ¿Ï ÏοÏ
εÏÏÏημαÏολογίοÏ
!",completingSurveyBefore:"Τα αÏÏεία Î¼Î±Ï Î´ÎµÎ¯ÏνοÏ
ν ÏÏι ÎÏεÏε ήδη ολοκληÏÏÏει αÏ
Ïήν Ïην ÎÏεÏ
να.",loadingSurvey:"Το εÏÏÏημαÏολÏγιο ÏοÏÏÏνεÏαι αÏο Ïο διακομιÏÏή...",placeholder:"ÎÏιλÎξÏε...",ratingOptionsCaption:"ΠαÏήÏÏε για να βαθμολογήÏεÏε εδÏ...",value:"Ïιμή",requiredError:"ΠαÏÎ±ÎºÎ±Î»Ï Î±ÏανÏήÏÏε ÏÏην εÏÏÏηÏη.",requiredErrorInPanel:"ÎÏανÏήÏÏε Ïε ÏοÏ
λάÏιÏÏον μία εÏÏÏηÏη.",requiredInAllRowsError:"ΠαÏÎ±ÎºÎ±Î»Ï Î±ÏανÏήÏÏε ÏÎ¹Ï ÎµÏÏÏήÏÎµÎ¹Ï Ïε ÏÎ»ÎµÏ ÏÎ¹Ï Î³ÏαμμÎÏ.",eachRowUniqueError:"Îάθε γÏαμμή ÏÏÎÏει να ÎÏει μια μοναδική Ïιμή.",numericError:"Î Ïιμή ÏÏÎÏει να είναι αÏιθμηÏική.",minError:"Î Ïιμή δεν ÏÏÎÏει να είναι μικÏÏÏεÏη αÏÏ {0}",maxError:"Î Ïιμή δεν ÏÏÎÏει να είναι μεγαλÏÏεÏη αÏÏ {0}",textNoDigitsAllow:"Îι αÏιθμοί δεν εÏιÏÏÎÏονÏαι.",textMinLength:"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏ
μÏληÏÏÏÏε ÏοÏ
λάÏιÏÏον {0} ÏαÏακÏήÏεÏ.",textMaxLength:"ÎιÏαγάγεÏε λιγÏÏεÏοÏ
Ï Î±ÏÏ {0} ÏαÏακÏήÏεÏ.",textMinMaxLength:"ÎιÏαγάγεÏε ÏεÏιÏÏÏÏεÏοÏ
Ï Î±ÏÏ {0} και λιγÏÏεÏοÏ
Ï Î±ÏÏ {1} ÏαÏακÏήÏεÏ.",minRowCountError:"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏ
μÏληÏÏÏÏε ÏοÏ
λάÏιÏÏον {0} γÏαμμÎÏ.",minSelectError:"ΠαÏÎ±ÎºÎ±Î»Ï ÎµÏιλÎξÏε ÏοÏ
λάÏιÏÏον {0} ÏαÏαλλαγÎÏ.",maxSelectError:"ΠαÏÎ±ÎºÎ±Î»Ï ÎµÏιλÎξÏε ÏÏι ÏαÏαÏÎ¬Î½Ï Î±Ïο {0} ÏαÏαλλαγÎÏ.",numericMinMax:"Το '{0}' θα ÏÏÎÏει να είναι ίÏο ή μεγαλÏÏεÏο αÏο Ïο {1} και ίÏο ή μικÏÏÏεÏο αÏο Ïο {2}",numericMin:"Το '{0}' ÏÏÎÏει να είναι μεγαλÏÏεÏο ή ιÏο με Ïο {1}",numericMax:"Το '{0}' ÏÏÎÏει να είναι μικÏÏÏεÏο ή ίÏο αÏο Ïο {1}",invalidEmail:"ΠαÏÎ±ÎºÎ±Î»Ï Î´ÏÏÏε μια αÏοδεκÏή διεÏθÏ
νÏη e-mail.",invalidExpression:"Î ÎκÏÏαÏη: {0} θα ÏÏÎÏει να εÏιÏÏÏÎÏει 'true'.",urlRequestError:"ΠαίÏηÏη εÏÎÏÏÏεÏε ÏÏάλμα '{0}'. {1}",urlGetChoicesError:"ΠαίÏηÏη εÏÎÏÏÏεÏε κενά δεδομÎνα ή η ιδιÏÏηÏα 'μονοÏάÏι/path' είναι εÏÏαλμÎνη",exceedMaxSize:"Το μÎÎ³ÎµÎ¸Î¿Ï ÏοÏ
αÏÏείοÏ
δεν μÏοÏεί να Ï
ÏεÏβαίνει Ïα {0}.",noUploadFilesHandler:"Îεν είναι δÏ
ναÏή η αÏοÏÏολή αÏÏείÏν. Î ÏοÏθÎÏÏε Îνα ÏÏÏγÏαμμα ÏειÏιÏÎ¼Î¿Ï Î³Î¹Î± Ïο ÏÏ
μβάν 'onUploadFiles'.",otherRequiredError:"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏ
μÏληÏÏÏÏε Ïην Ïιμή για Ïο Ïεδίο 'άλλο'.",uploadingFile:"Το αÏÏείο ÏÎ±Ï Î±Î½ÎµÎ²Î±Î¯Î½ÎµÎ¹. ΠαÏÎ±ÎºÎ±Î»Ï ÏεÏιμÎνεÏε μεÏικά δεÏ
ÏεÏÏλεÏÏα και δοκιμάÏÏε ξανά.",loadingFile:"ΦÏÏÏÏÏη...",chooseFile:"ÎÏιλογή αÏÏείÏν ...",noFileChosen:"Îεν ÎÏει εÏιλεγεί αÏÏείο",filePlaceholder:"ÎÏοθÎÏÏε Ïο αÏÏείο ÏÎ±Ï ÎµÎ´Ï Î® κάνÏε κλικ ÏÏο κοÏ
μÏί ÏαÏακάÏÏ Î³Î¹Î± να ÏοÏÏÏÏεÏε Ïο αÏÏείο.",confirmDelete:"ÎÎλεÏε να διαγÏάÏεÏε Ïην εγγÏαÏή;",keyDuplicationError:"ÎÏ
Ïή η Ïιμή ÏÏÎÏει να είναι μοναδική.",addColumn:"Î ÏοÏθήκη ÏÏήληÏ",addRow:"Î ÏοÏθήκη γÏαμμήÏ",removeRow:"ÎÏαίÏεÏη",emptyRowsText:"Îεν Ï
ÏάÏÏοÏ
ν εγγÏαÏÎÏ.",addPanel:"Î ÏοÏθÎÏÏε νÎο",removePanel:"ÎÏαίÏεÏη",showDetails:"ÎμÏάνιÏη λεÏÏομεÏειÏν",hideDetails:"ÎÏÏκÏÏ
Ïη λεÏÏομεÏειÏν",choices_Item:"είδοÏ",matrix_column:"ΣÏήλη",matrix_row:"ÎÏαμμή",multipletext_itemname:"κείμενο",savingData:"Τα αÏοÏελÎÏμαÏα αÏοθηκεÏονÏαι ÏÏον διακομιÏÏή ...",savingDataError:"ΠαÏοÏ
ÏιάÏÏηκε ÏÏάλμα και δεν ήÏαν δÏ
ναÏή η αÏοθήκεÏ
Ïη ÏÏν αÏοÏελεÏμάÏÏν.",savingDataSuccess:"Τα αÏοÏελÎÏμαÏα αÏοθηκεÏÏηκαν με εÏιÏÏ
Ïία!",savingExceedSize:"ΠαÏάνÏηÏή ÏÎ±Ï Ï
ÏεÏβαίνει Ïα 64KB. ÎειÏÏÏε Ïο μÎÎ³ÎµÎ¸Î¿Ï ÏÏν αÏÏείÏν ÏÎ±Ï ÎºÎ±Î¹ ÏÏοÏÏαθήÏÏε ξανά ή εÏικοινÏνήÏÏε με Îναν κάÏοÏο ÎÏεÏ
ναÏ.",saveAgainButton:"Î ÏοÏÏάθηÏε ξανά",timerMin:"ελάÏ",timerSec:"δεÏ
Ï",timerSpentAll:"ÎÏεÏε δαÏανήÏει {0} Ïε αÏ
Ïήν Ïη Ïελίδα και {1} ÏÏ
νολικά.",timerSpentPage:"ÎÏεÏε ξοδÎÏει {0} Ïε αÏ
Ïήν Ïη Ïελίδα.",timerSpentSurvey:"ÎÏεÏε ξοδÎÏει ÏÏ
νολικά {0}.",timerLimitAll:"ÎÏεÏε δαÏανήÏει {0} αÏÏ {1} Ïε αÏ
Ïήν Ïη Ïελίδα και {2} αÏÏ {3} ÏÏ
νολικά.",timerLimitPage:"ÎÏεÏε ξοδÎÏει {0} αÏÏ {1} Ïε αÏ
Ïήν Ïη Ïελίδα.",timerLimitSurvey:"ÎÏεÏε ξοδÎÏει {0} αÏÏ {1} ÏÏ
νολικά.",clearCaption:"ÎκκαθάÏιÏη",signaturePlaceHolder:"Î¥ÏογÏάÏÏε εδÏ",signaturePlaceHolderReadOnly:"ΧÏÏÎ¯Ï Ï
ÏογÏαÏή",chooseFileCaption:"ÎÏιλÎξÏε αÏÏείο",takePhotoCaption:"ÎήÏη ÏÏÏογÏαÏίαÏ",photoPlaceholder:"ÎάνÏε κλικ ÏÏο ÏαÏακάÏÏ ÎºÎ¿Ï
μÏί για να ÏÏαβήξεÏε μια ÏÏÏογÏαÏία ÏÏηÏιμοÏοιÏνÏÎ±Ï Ïην κάμεÏα.",fileOrPhotoPlaceholder:"ΣÏÏεÏε και αÏοθÎÏÏε ή εÏιλÎξÏε Îνα αÏÏείο για αÏοÏÏολή ή λήÏη ÏÏÏογÏαÏÎ¯Î±Ï ÏÏηÏιμοÏοιÏνÏÎ±Ï Ïην κάμεÏα.",replaceFileCaption:"ÎνÏικαÏάÏÏαÏη αÏÏείοÏ
",removeFileCaption:"ÎιαγÏάÏÏε αÏ
ÏÏ Ïο αÏÏείο",booleanCheckedLabel:"Îαι",booleanUncheckedLabel:"ÎÏι",confirmRemoveFile:"ÎίÏÏε βÎβαιοι ÏÏι θÎλεÏε να διαγÏάÏεÏε αÏ
ÏÏ Ïο αÏÏείο: {0};",confirmRemoveAllFiles:"ÎίÏÏε βÎβαιοι ÏÏι θÎλεÏε να διαγÏάÏεÏε Ïλα Ïα αÏÏεία;",questionTitlePatternText:"ΤίÏÎ»Î¿Ï ÎµÏÏÏηÏηÏ",modalCancelButtonText:"ÎκÏ
Ïο",modalApplyButtonText:"ÎÏαÏμογή",filterStringPlaceholder:"ΠληκÏÏολογήÏÏε για αναζήÏηÏη...",emptyMessage:"Îεν Ï
ÏάÏÏοÏ
ν δεδομÎνα ÏÏÎ¿Ï ÎµÎ¼ÏάνιÏη",noEntriesText:"Îεν Ï
ÏάÏÏοÏ
ν ακÏμη εγγÏαÏÎÏ.\nÎάνÏε κλικ ÏÏο κοÏ
μÏί ÏαÏακάÏÏ Î³Î¹Î± να ÏÏοÏθÎÏεÏε μια νÎα εγγÏαÏή.",noEntriesReadonlyText:"Îεν Ï
ÏάÏÏοÏ
ν καÏαÏÏÏήÏειÏ.",tabTitlePlaceholder:"ÎÎο Ïάνελ",more:"ΠεÏιÏÏÏÏεÏα",tagboxDoneButtonCaption:"ÎÎ",selectToRankEmptyRankedAreaText:"ÎÎ»ÎµÏ Î¿Î¹ εÏιλογÎÏ ÎºÎ±ÏαÏάÏÏονÏαι",selectToRankEmptyUnrankedAreaText:"ΣÏÏεÏε και αÏοθÎÏÏε εÏιλογÎÏ ÎµÎ´Ï Î³Î¹Î± να ÏÎ¹Ï ÎºÎ±ÏαÏάξεÏε",ok:"OK",cancel:"ÎκÏ
ÏÏνÏ"},nativeName:"ελληνικά",englishName:"Greek"})
8,setupLocale({localeCode:"he",strings:{pagePrevText:"×××ר×",pageNextText:"×§××××",completeText:"ס×××",previewText:"תצ××× ××§××××",editText:"×ַעֲר×Ö¹×",startSurveyText:"×ַת×Ö¸×Ö¸×",otherItemText:"××ר (× × ×ת×ר)",noneItemText:"××£ ×××",refuseItemText:"×סר××× ××¢× ×ת",dontKnowItemText:"×× ××××¢",selectAllItemText:"××ר ×××",deselectAllItemText:"××× ×ת ×××××¨× ××××",progressText:"××£ {0} ×ת×× {1}",indexText:"{0} ×ת×× {1}",panelDynamicProgressText:"××§××× {0} ×ת×× {1}",panelDynamicTabTextFormat:"××× {panelIndex}",questionsProgressText:"×¢× × ×¢× ×©×××ת",emptySurvey:"××× ×©×××ת",completingSurvey:"ת××× ×¢× ××××× ×ש××××!",completingSurveyBefore:"×רש×××ת ש×× × ×ר××ת ש××ר ס×××ת ×ת ×סקר ×××.",loadingSurvey:"××¢×× × ××שרת...",placeholder:"××ר...",ratingOptionsCaption:"××ר...",value:"ער×",requiredError:"×× × ××©× ×¢× ×ש×××",requiredErrorInPanel:"×× × ×¢× × ×פ××ת ×¢× ×©××× ××ת.",requiredInAllRowsError:"×× × ×¢× × ×¢× ×©×××ת ××× ×ש×ר×ת.",eachRowUniqueError:"××× ×©××¨× ×××× ××××ת ×¢×¨× ××××××.",numericError:"×תש××× ×¦×¨××× ××××ת ×ספר.",minError:"××¢×¨× ×× ×¦×¨×× ××××ת ×§×× × {0}",maxError:"××¢×¨× ×× ×¦×¨×× ××××ת ×××× ×- {0}",textNoDigitsAllow:"×ספר×× ××× × ××תר××.",textMinLength:"××× ×פ××ת {0} ת××××.",textMaxLength:"××× ×¤××ת ×- {0} ת××××.",textMinMaxLength:"××× ××תר ×- {0} ×פ××ת ×- {1} ת××××.",minRowCountError:"×× × ××× ×פ××ת {0} ש×ר×ת.",minSelectError:"××ר ×פ××ת {0} ×פשר×××ת.",maxSelectError:"××ר ×¢× {0} ×פשר×××ת.",numericMinMax:"'{0}' ×××× ××××ת ש××× ×× ×××× × {1}, ×ש××× ×- {2} ×× ×¤××ת ×- {}}",numericMin:"'{0}' ×××× ××××ת ש××× ×× ×××× × {1}",numericMax:"'{0}' ×××× ××××ת ש××× ×× ×§×× × {1}",invalidEmail:'××× ×ת××ת ×××"× ×××§×ת.',invalidExpression:"××××××: {0} צר×× ×××××ר '××ת'.",urlRequestError:"×××§×©× ×××××¨× ×ת ×ש×××× '{0}'. {1}",urlGetChoicesError:"×××§×©× ×××××¨× × ×ª×× ×× ×¨××§×× ×× ×©×××פ××× '× ×ª××' ש×××",exceedMaxSize:"×××× ××§×××¥ ×× ××¢×× ×¢× {0}.",noUploadFilesHandler:"×× × ××ª× ×××¢××ת ×§×צ××. ×× × ××סף ×××¤× ×××ר××¢ 'onUploadFiles'.",otherRequiredError:'× × ××××× × ×ª×× ×× ×ש×× "××ר"',uploadingFile:"××§×××¥ ש×× × ××¢×. ×××ª× ×ספר ×©× ××ת ×× ×¡× ×©××.",loadingFile:"×××¢×...",chooseFile:"××××ר ×§×צ××...",noFileChosen:"×× × ××ר ×§×××¥",filePlaceholder:"×ר×ר ×ש×רר ×§×××¥ ×××× ×× ×××¥ ×¢× ××××¦× ×××× ×××ר ×§×××¥ ×××¢×××.",confirmDelete:"××× ××ª× ×¨××¦× ×××××§ ×ת ×רש×××?",keyDuplicationError:"×¢×¨× ×× ×¦×¨×× ××××ת ××××××.",addColumn:"××סף ×¢××××",addRow:"×××ס××£ ש×ר×",removeRow:"×Ö°×ַסִ×ר",emptyRowsText:"××× ×©×ר×ת.",addPanel:"××סף ××ש",removePanel:"×Ö°×ַסִ×ר",showDetails:"×ר×× ×¤×¨×××",hideDetails:"×סתר פר×××",choices_Item:"פר××",matrix_column:"××ר",matrix_row:"ש××ּרָ×",multipletext_itemname:"×קס×",savingData:"×ת×צ××ת × ×©×ר×ת ×שרת ...",savingDataError:"×××¨×¢× ×©×××× ××× ×צ××× × ×ש××ר ×ת ×ת×צ××ת.",savingDataSuccess:"×ת×צ××ת × ×©××¨× ××צ×××!",savingExceedSize:"ת××××ª× ×¢××× ×¢× 64KB. ××§×× ×ת ×××× ××§×צ×× ×©×× ×× ×¡× ×©×× ×× ×¤× × ×××¢××× ×©× ×¡×§×¨.",saveAgainButton:"× ×¡× ×©××",timerMin:"××§×",timerSec:"×©× ××ת",timerSpentAll:"××צ×ת {0} ×××£ ×× ×××¡× ××× {1}.",timerSpentPage:"××צ×ת {0} ×××£ ××.",timerSpentSurvey:"××צ×ת ס××× ×××× ×©× {0}.",timerLimitAll:"××צ×ת {0} ×ת×× {1} ×××£ ×× ×- {2} ×ת×× {3} ××¡× ×××.",timerLimitPage:"××צ×ת {0} ×ת×× {1} ×××£ ××.",timerLimitSurvey:"××צ×ת ס××× ×××× ×©× {0} ×ת×× {1}
8.",clearCaption:"×× ×§×ת",signaturePlaceHolder:"×ת×× ×××",signaturePlaceHolderReadOnly:"××× ×ת×××",chooseFileCaption:"××ר ×§×××¥",takePhotoCaption:"צ×× ×ª××× ×",photoPlaceholder:"×××¥ ×¢× ××××¦× ×××× ××× ×צ×× ×ª××× × ×××צע×ת ××צ×××.",fileOrPhotoPlaceholder:"×ר×ר ×ש×רר ×× ××ר ×§×××¥ ××× ×××¢××ת ×× ×צ×× ×ª××× × ×××צע×ת ××צ×××.",replaceFileCaption:"×××פת ×§×××¥",removeFileCaption:"×סר ×§×××¥ ××",booleanCheckedLabel:"××",booleanUncheckedLabel:"××",confirmRemoveFile:"××× ××ª× ×××× ×©×רצ×× × ××ס×ר ×§×××¥ ××: {0}?",confirmRemoveAllFiles:"××× ××ª× ×××× ×©×רצ×× × ××ס×ר ×ת ×× ××§×צ××?",questionTitlePatternText:"××תרת ש×××",modalCancelButtonText:"××××",modalApplyButtonText:"×××",filterStringPlaceholder:"××§×× ××× ××פש...",emptyMessage:"××× × ×ª×× ×× ××צ××",noEntriesText:"××× ×¢×××× ×¢×¨×××.\n×××¥ ×¢× ××××¦× ×××× ××× ×××ס××£ ×¢×¨× ××ש.",noEntriesReadonlyText:"××× ×¢×¨×××.",tabTitlePlaceholder:"פ×× × ××ש",more:"×¢××",tagboxDoneButtonCaption:"×××§××",selectToRankEmptyRankedAreaText:"×× ××פשר×××ת ×××ר××ת",selectToRankEmptyUnrankedAreaText:"×ר×ר ×ש×רר ×פשר×××ת ×××× ××× ×××¨× ××ת×",ok:"×××§××",cancel:"××××"},nativeName:"×¢×ר×ת",englishName:"Hebrew",rtl:!0}),setupLocale({localeCode:"hi",strings:{pagePrevText:"पिà¤à¤²à¤¾",pageNextText:"à¤
à¤à¤²à¤¾",completeText:"पà¥à¤°à¤¾",previewText:"पà¥à¤°à¥à¤µà¤¸à¤®à¥à¤à¥à¤·à¤¾",editText:"सà¤à¤ªà¤¾à¤¦à¤¿à¤¤",startSurveyText:"शà¥à¤°à¥",otherItemText:"दà¥à¤¸à¤°à¤¾ (वरà¥à¤£à¤¨ à¤à¤°à¥à¤)",noneItemText:"à¤à¥à¤ नहà¥à¤",refuseItemText:"à¤à¤µà¤¾à¤¬ दà¥à¤¨à¥ सॠà¤à¤¨à¤à¤¾à¤°",dontKnowItemText:"नहà¥à¤ मालà¥à¤®",selectAllItemText:"सà¤à¥ à¤à¤¾ à¤à¤¯à¤¨ à¤à¤°à¥à¤",deselectAllItemText:"सà¤à¥ à¤à¥ à¤
à¤à¤¯à¤¨à¤¿à¤¤ à¤à¤°à¥à¤",progressText:"पà¥à¤·à¥à¤ 1 मà¥à¤ सॠ0",indexText:"{1} à¤à¤¾ {0}",panelDynamicProgressText:" दसà¥à¤¤à¤¾à¤µà¥à¤ {1} à¤à¥ {0}",panelDynamicTabTextFormat:"पà¥à¤¨à¤² {panelIndex}",questionsProgressText:"{1} सवालà¥à¤ मà¥à¤ सॠ{0} à¤à¥ à¤à¤µà¤¾à¤¬ दिà¤",emptySurvey:"सरà¥à¤µà¥à¤à¥à¤·à¤£ मà¥à¤ à¤à¥à¤ दà¥à¤¶à¥à¤¯à¤®à¤¾à¤¨ पà¥à¤·à¥à¤ या पà¥à¤°à¤¶à¥à¤¨ नहà¥à¤ हà¥",completingSurvey:"सरà¥à¤µà¥à¤à¥à¤·à¤£ à¤à¥ पà¥à¤°à¤¾ à¤à¤°à¤¨à¥ à¤à¥ लिठधनà¥à¤¯à¤µà¤¾à¤¦",completingSurveyBefore:" हमारॠरिà¤à¥à¤°à¥à¤¡ बतातॠहà¥à¤ à¤à¤¿ à¤à¤ª पहलॠहॠà¤à¤¸ सरà¥à¤µà¥à¤à¥à¤·à¤£ à¤à¥ पà¥à¤°à¤¾ à¤à¤° à¤à¥à¤à¥ हà¥à¤",loadingSurvey:"सरà¥à¤µà¥à¤à¥à¤·à¤£ à¤à¥à¤² रहा हà¥.â¦",placeholder:"à¤à¥à¤¨à¥à¤",ratingOptionsCaption:"à¤à¥à¤¨à¤¨à¤¾à¥¤à¥¤à¥¤",value:"मà¥à¤²à¥à¤¯",requiredError:"à¤à¥à¤ªà¤¯à¤¾ पà¥à¤°à¤¶à¥à¤¨ à¤à¤¾ à¤à¤¤à¥à¤¤à¤° दà¥à¤",requiredErrorInPanel:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® à¤à¤ पà¥à¤°à¤¶à¥à¤¨ à¤à¤¾ à¤à¤¤à¥à¤¤à¤° दà¥à¤",requiredInAllRowsError:"à¤à¥à¤ªà¤¯à¤¾ सà¤à¥ पà¤à¤à¥à¤¤à¤¿à¤¯à¥à¤ मà¥à¤ सवालà¥à¤ à¤à¥ à¤à¤µà¤¾à¤¬ दà¥à¤",eachRowUniqueError:"पà¥à¤°à¤¤à¥à¤¯à¥à¤ पà¤à¤à¥à¤¤à¤¿ à¤à¤¾ à¤à¤ à¤
दà¥à¤µà¤¿à¤¤à¥à¤¯ मान हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤.",numericError:"मà¥à¤²à¥à¤¯ सà¤à¤à¥à¤¯à¤¾à¤¤à¥à¤®à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",minError:"मान {0} सॠà¤à¤® नहà¥à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",maxError:"मान {0} सॠà¤
धिठनहà¥à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",textNoDigitsAllow:"सà¤à¤à¥à¤¯à¤¾ à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ नहà¥à¤ हà¥à¥¤",textMinLength:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® {0} वरà¥à¤£ दरà¥à¤ à¤à¤°à¥à¤",textMaxLength:"à¤à¥à¤ªà¤¯à¤¾ {0} सॠà¤à¤® वरà¥à¤£ दरà¥à¤ à¤à¤°à¥à¤",textMinMaxLength:"à¤à¥à¤ªà¤¯à¤¾ {0} सॠà¤
धिठà¤à¤° {1} सॠà¤à¤® पातà¥à¤°à¥à¤ मà¥à¤ पà¥à¤°à¤µà¥à¤¶ à¤à¤°à¥à¤",minRowCountError:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® {0} पà¤à¤à¥à¤¤à¤¿à¤¯à¥à¤ à¤à¥ à¤à¤°à¥à¤",minSelectError:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤® सॠà¤à¤® {0} विà¤à¤²à¥à¤ª à¤à¤¾ à¤à¤¯à¤¨ à¤à¤°à¥à¤",maxSelectError:"à¤à¥à¤ªà¤¯à¤¾ {0} विà¤à¤²à¥à¤ªà¥à¤ सॠà¤
धिठनहà¥à¤ à¤à¥à¤¨à¥à¤",numericMinMax:"'{0}' {1} सॠबराबर या à¤
धिठà¤à¤° {2} सॠबराबर या à¤à¤® हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",numericMin:"'{0}' {1} सॠबराबर या à¤
धिठहà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",numericMax:"'{0}' {1} सॠबराबर या à¤à¤® हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",invali
8dEmail:"à¤à¥à¤ªà¤¯à¤¾ à¤à¤ वà¥à¤§ à¤à¤®à¥à¤² पता दरà¥à¤ à¤à¤°à¥à¤",invalidExpression:"à¤
à¤à¤¿à¤µà¥à¤¯à¤à¥à¤¤à¤¿: {0} à¤à¥ ' सठ' लà¥à¤à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",urlRequestError:"à¤
नà¥à¤°à¥à¤§ लà¥à¤à¤¾à¤¯à¤¾ तà¥à¤°à¥à¤à¤¿ '{0}' . {1}",urlGetChoicesError:"à¤
नà¥à¤°à¥à¤§ नॠà¤à¤¾à¤²à¥ डà¥à¤à¤¾ वापस à¤à¤° दिया हॠ",exceedMaxSize:"फ़ाà¤à¤² à¤à¤¾ à¤à¤à¤¾à¤° {0} सॠà¤
धिठनहà¥à¤ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤ या फिर 'पाथ' पà¥à¤°à¥à¤ªà¤°à¥à¤à¥ à¤à¤²à¤¤ हà¥",noUploadFilesHandler:"फ़ाà¤à¤²à¥à¤ à¤
पलà¥à¤¡ नहà¥à¤ à¤à¥ à¤à¤¾ सà¤à¤¤à¥. à¤à¥à¤ªà¤¯à¤¾ 'onloadFiles' à¤à¤µà¥à¤à¤ à¤à¥ लिठà¤à¤ हà¥à¤à¤¡à¤²à¤° à¤à¥à¤¡à¤¼à¥à¤.",otherRequiredError:"à¤à¥à¤ªà¤¯à¤¾ दà¥à¤¸à¤°à¤¾ मà¥à¤²à¥à¤¯ दरà¥à¤ à¤à¤°à¥à¤",uploadingFile:"à¤à¤ªà¤à¥ फाà¤à¤² à¤
पलà¥à¤¡ हॠरहॠहà¥à¥¤ à¤à¥à¤ªà¤¯à¤¾ à¤à¤ सà¥à¤à¤à¤¡ à¤à¤à¤¤à¤à¤¾à¤° à¤à¤°à¥à¤ à¤à¤° फिर सॠपà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤à¥¤",loadingFile:"लà¥à¤¡à¤¿à¤à¤",chooseFile:"फ़ाà¤à¤² à¤à¥à¤¨à¥à¤",noFileChosen:"à¤à¥à¤ फाà¤à¤² नहà¥à¤ à¤à¥à¤¨à¥ à¤à¤",filePlaceholder:"यहाठà¤à¤ फ़ाà¤à¤² à¤à¥à¤à¤à¥à¤ à¤à¤° à¤à¥à¤¡à¤¼à¥à¤ या नà¥à¤à¥ दिठà¤à¤ बà¤à¤¨ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤ à¤à¤° à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¤ फ़ाà¤à¤² à¤à¥à¤¨à¥à¤à¥¤",confirmDelete:"à¤à¥à¤¯à¤¾ à¤à¤ª रिà¤à¥à¤°à¥à¤¡ हà¤à¤¾à¤¨à¤¾ à¤à¤¾à¤¹à¤¤à¥ हà¥à¤",keyDuplicationError:"यह मान à¤
नà¥à¤à¤¾ हà¥à¤¨à¤¾ à¤à¤¾à¤¹à¤¿à¤",addColumn:"à¤à¥à¤²à¤® à¤à¥à¤¡à¤¼à¥à¤",addRow:"पà¤à¤à¥à¤¤à¤¿ à¤à¥à¤¡à¤¼à¥à¤",removeRow:"हà¤à¤¾à¤",emptyRowsText:"à¤à¥à¤ पà¤à¤à¥à¤¤à¤¿à¤¯à¤¾à¤ नहà¥à¤ हà¥à¤.",addPanel:"नया à¤à¥à¤¡à¤¼à¥à¤",removePanel:"हà¤à¤¾à¤",showDetails:"विवरण दिà¤à¤¾à¤à¤",hideDetails:"विवरण à¤à¥à¤ªà¤¾à¤à¤",choices_Item:"मद",matrix_column:"à¤à¥à¤²à¤®",matrix_row:"पà¤à¤à¥à¤¤à¤¿",multipletext_itemname:"à¤à¥à¤à¥à¤¸à¥à¤",savingData:"परिणाम सरà¥à¤µà¤° पर सà¥à¤µ हॠरहॠहà¥à¤",savingDataError:"à¤à¤ तà¥à¤°à¥à¤à¤¿ हà¥à¤ à¤à¤° हम परिणामà¥à¤ à¤à¥ नहà¥à¤ सà¥à¤µ à¤à¤° सà¤à¥",savingDataSuccess:"परिणाम सफलतापà¥à¤°à¥à¤µà¤ सà¥à¤µ हॠà¤à¤",savingExceedSize:"à¤à¤ªà¤à¥ पà¥à¤°à¤¤à¤¿à¤à¥à¤°à¤¿à¤¯à¤¾ 64KB सॠà¤
धिठहà¥à¥¤ à¤à¥à¤ªà¤¯à¤¾ à¤
पनॠफ़ाà¤à¤²(फ़ाà¤à¤²à¥à¤) à¤à¤¾ à¤à¤à¤¾à¤° à¤à¤à¤¾à¤à¤ à¤à¤° पà¥à¤¨: पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤ या सरà¥à¤µà¥à¤à¥à¤·à¤£ सà¥à¤µà¤¾à¤®à¥ सॠसà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤.",saveAgainButton:"फिर à¤à¥à¤¶à¤¿à¤¶ à¤à¤°à¥",timerMin:"मिनà¤",timerSec:"सà¥à¤à¤à¤¡",timerSpentAll:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {0} à¤à¤°à¥à¤ à¤à¤¿à¤ हà¥à¤ à¤à¤° à¤à¥à¤² {1}",timerSpentPage:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {0} à¤à¤°à¥à¤ à¤à¤¿à¤¯à¤¾ हà¥",timerSpentSurvey:"à¤à¤ªà¤¨à¥ à¤à¥à¤² {0} à¤à¤°à¥à¤ à¤à¤¿à¤¯à¤¾ हà¥",timerLimitAll:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {1} à¤à¥ {0} à¤à¤° à¤à¥à¤² {3} à¤à¥ {2} à¤à¤°à¥à¤ à¤à¥ हà¥à¥¤",timerLimitPage:"à¤à¤ªà¤¨à¥ à¤à¤¸ पà¥à¤·à¥à¤ पर {1} à¤à¤¾ {0} à¤à¤°à¥à¤ à¤à¤¿à¤¯à¤¾ हà¥",timerLimitSurvey:"à¤à¤ªà¤¨à¥ à¤à¥à¤² {1} à¤à¥ {0} à¤à¤°à¥à¤ à¤à¥ हà¥",clearCaption:"सà¥à¤ªà¤·à¥à¤",signaturePlaceHolder:"यहाठसाà¤à¤¨ à¤à¤°à¥à¤",signaturePlaceHolderReadOnly:"à¤à¥à¤ हसà¥à¤¤à¤¾à¤à¥à¤·à¤° नहà¥à¤",chooseFileCaption:"फ़ाà¤à¤² à¤à¥à¤¨à¥à¤",takePhotoCaption:"फà¥à¤à¥ लॠलà¥",photoPlaceholder:"à¤à¥à¤®à¤°à¥ à¤à¤¾ à¤à¤ªà¤¯à¥à¤ à¤à¤°à¤à¥ फà¥à¤à¥ लà¥à¤¨à¥ à¤à¥ लिठनà¥à¤à¥ दिठà¤à¤ बà¤à¤¨ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤à¥¤",fileOrPhotoPlaceholder:"à¤à¥à¤®à¤°à¥ à¤à¤¾ à¤à¤ªà¤¯à¥à¤ à¤à¤°à¤à¥ फ़à¥à¤à¥ à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ या फ़à¥à¤à¥ लà¥à¤¨à¥ à¤à¥ लिठà¤à¤¿à¤¸à¥ फ़ाà¤à¤² à¤à¥ à¤à¥à¤à¤à¥à¤ à¤à¤° à¤à¥à¤¡à¤¼à¥à¤ या à¤à¥à¤¨à¥à¤.",replaceFileCaption:"फ़ाà¤à¤² बदलà¥à¤",removeFileCaption:"à¤à¤¸ फाà¤à¤² à¤à¥ निà¤à¤¾à¤²à¥à¤",booleanCheckedLabel:"हाà¤",booleanUncheckedLabel:"नहà¥à¤",confirmRemoveFile:"à¤à¥à¤¯à¤¾ à¤à¤ª सà¥à¤¨à¤¿à¤¶à¥à¤à¤¿à¤¤ हà¥à¤ à¤à¤¿ à¤à¤ª à¤à¤¸ फ़ाà¤à¤² à¤à¥ हà¤à¤¾à¤¨à¤¾ à¤à¤¾à¤¹à¤¤à¥ हà¥à¤: {0}",confirmRemoveAllFiles:"à¤à¥à¤¯à¤¾ à¤à¤ª सà¥à¤¨à¤¿à¤¶à¥à¤à¤¿à¤¤ हà¥à¤ à¤à¤¿ à¤à¤ª सà¤à¥ फ़ाà¤à¤²à¥à¤ à¤à¥ हà¤à¤¾à¤¨à¤¾ à¤à¤¾à¤¹à¤¤à¥ हà¥à¤",questionTitlePatternText:"पà¥à¤°à¤¶à¥à¤¨ à¤à¤¾ शà¥à¤°à¥à¤·à¤",modalCancelButtonText:"रदà¥à¤¦ à¤à¤°à¤¨à¤¾",modalApplyButtonText:"लाà¤à¥ à¤à¤°à¤¨à¤¾",filterStringPlaceholder:"à¤à¥à¤ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¤¾à¤à¤ª à¤à¤°à¥à¤...",emptyMessage:"पà¥à¤°à¤¦à¤°à¥à¤¶à¤¿à¤¤ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¥à¤ डà¥à¤à¤¾ नहà¥à¤",noEntriesText:"à¤
à¤à¥ तठà¤à¥à¤ पà¥à¤°à¤µà¤¿à¤·à¥à¤à¤¿à¤¯à¤¾à¤ नहà¥à¤ हà¥à¤à¥¤\nनठपà¥à¤°à¤µà¤¿à¤·à¥à¤à¤¿ à¤à¥à¤¡à¤¼à¤¨à¥ à¤à¥ लिठनà¥à¤à¥ दिठà¤à¤ बà¤à¤¨ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤.",noEntriesReadonlyText:"à¤à¥à¤ पà¥à¤°à¤µà¤¿à¤·à¥à¤à¤¿à¤¯à¤¾à¤ नहà¥à¤ हà¥à¤.",tabTitlePlaceholder:"नया पà¥à¤¨à¤²",more:"à¤
धिà¤",tagboxDoneButtonCaption:"ठà¥à¤ हà¥",selectToRankEmptyRankedAreaText:"सà¤à¥ विà¤à¤²à¥à¤ªà¥à¤ à¤à¥ रà¥à¤à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾ हà¥",selectToRankEmptyUnrankedAreaText:"विà¤à¤²à¥à¤ªà¥à¤ à¤à¥ रà¥à¤à¤ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤à¤¨à¥à¤¹à¥à¤ यहाठà¤à¥à¤à¤à¥à¤ à¤à¤° à¤à¥à¤¡à¤¼ दà¥à¤",ok:"ठà¥à¤ हà¥",cancel:"रदà¥à¤¦ à¤à¤°à¤¨à¤¾"},nativeName:"hindi",englishName:"Hindi"}),setupLocale({localeCode:"hu",strings:{pagePrevText:"Vissza",pageNextText:"Tov\xe1bb",completeText:"K\xe9sz",previewText:"ElÅn\xe9zet",editText:"Szerkeszt\xe9s",startSurveyText:"Rajt",otherItemText:"Egy\xe9b (adja meg)",noneItemText:"Egyik sem",refuseItemText:"A v\xe1laszad\xe1s megtagad\xe1sa",dontKnowItemText:"Nem tudom",selectAllItemText:"Mindet kiv\xe1laszt",deselectAllItemText:"Az \xf6sszes kijel\xf6l\xe9s\xe9nek megsz\xfcntet\xe9se",progressText:"{0}./{1} oldal",indexText:"{0} {1} k\xf6z\xfcl",panelDynamicProgressText:"{0} / {1} rekord",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"V\xe1laszolt k\xe9rd\xe9sek: {0} / {1}",emptySurvey:"The survey doesn't contain any visible elements.",completingSurvey:"K\xf6sz\xf6nj\xfck, hogy kit\xf6lt\xf6tte felm\xe9r\xe9s\xfcnket!",completingSurveyBefore:"M\xe1r kit\xf6lt\xf6tte a felm\xe9r\xe9st.",loadingSurvey:"Felm\xe9r\xe9s bet\xf6lt\xe9se...",placeholder:"V\xe1lasszon...",ratingOptionsCaption:"Kiv\xe1laszt...",value:"\xe9rt\xe9k",requiredError:"K\xe9rj\xfck, v\xe1laszolja meg ezt a k\xe9rd\xe9st!",requiredErrorInPanel:"K\xe9rj\xfck, v\xe1laszoljon legal\xe1bb egy k\xe9rd\xe9sre.",requiredInAllRowsError:"K\xe9rj\xfck adjon v\xe1laszt minden sorban!",eachRowUniqueError:"Minden sornak egyedi \xe9rt\xe9kkel kell rendelkeznie.",numericError:"Az \xe9rt\xe9k sz\xe1m kell, hogy legyen!",minError:"Az \xe9rt\xe9k nem lehet kisebb, mint {0}",maxError:"Az \xe9rt\xe9k nem lehet nagyobb, mint {0}",textNoDigitsAllow:"Sz\xe1mok nem enged\xe9lyezettek.",textMinLength:"Adjon meg legal\xe1bb {0} karaktert!",textMaxLength:"Legfeljebb {0} karaktert adjon meg!",textMinMaxLength:"Adjon meg legal\xe1bb {0}, de legfeljebb {1}
8 karaktert!",minRowCountError:"T\xf6lts\xf6n ki minimum {0} sort!",minSelectError:"V\xe1lasszon ki legal\xe1bb {0} lehetÅs\xe9get!",maxSelectError:"Ne v\xe1lasszon t\xf6bbet, mint {0} lehetÅs\xe9g!",numericMinMax:"'{0}' legyen nagyobb, vagy egyenlÅ, mint {1} \xe9s kisebb, vagy egyenlÅ, mint {2}!",numericMin:"'{0}' legyen legal\xe1bb {1}!",numericMax:"The '{0}' ne legyen nagyobb, mint {1}!",invalidEmail:"Adjon meg egy val\xf3s email c\xedmet!",invalidExpression:"A k\xf6vetkezÅ kifejez\xe9s: {0} vissza kell adnia az âigazâ \xe9rt\xe9ket.",urlRequestError:"A lek\xe9rdez\xe9s hib\xe1val t\xe9rt vissza: '{0}'. {1}",urlGetChoicesError:"A lek\xe9rdez\xe9s \xfcres adattal t\xe9rt vissza, vagy a 'path' param\xe9ter helytelen.",exceedMaxSize:"A m\xe9ret nem lehet nagyobb, mint {0}.",noUploadFilesHandler:'A f\xe1jlok nem t\xf6lthetÅk fel. Adjon hozz\xe1 egy kezelÅt az "onUploadFiles" esem\xe9nyhez.',otherRequiredError:"Adja meg az egy\xe9b \xe9rt\xe9ket!",uploadingFile:"Felt\xf6lt\xe9s folyamatban. V\xe1rjon p\xe1r m\xe1sodpercet, majd pr\xf3b\xe1lja \xfajra.",loadingFile:"Bet\xf6lt\xe9s...",chooseFile:"F\xe1jlok kiv\xe1laszt\xe1sa ...",noFileChosen:"Nincs kiv\xe1lasztva f\xe1jl",filePlaceholder:"Dobjon ide egy f\xe1jlt, vagy kattintson az al\xe1bbi gombra a f\xe1jl bet\xf6lt\xe9s\xe9hez.",confirmDelete:"T\xf6rli ezt a rekordot?",keyDuplicationError:"Az \xe9rt\xe9knek egyedinek kell lennie.",addColumn:"Oszlop hozz\xe1ad\xe1sa",addRow:"Sor hozz\xe1ad\xe1sa",removeRow:"Elt\xe1vol\xedt\xe1s",emptyRowsText:"Nincsenek sorok.",addPanel:"\xdaj hozz\xe1ad\xe1sa",removePanel:"Elt\xe1vol\xedt\xe1s",showDetails:"Mutasd a r\xe9szleteket",hideDetails:"R\xe9szletek elrejt\xe9se",choices_Item:"elem",matrix_column:"Oszlop",matrix_row:"Sor",multipletext_itemname:"SMS",savingData:"Eredm\xe9ny ment\xe9se a szerverre...",savingDataError:"Egy hiba folyt\xe1n nem tudtuk elmenteni az eredm\xe9nyt.",savingDataSuccess:"Eredm\xe9ny sikeresen mentve!",savingExceedSize:"A v\xe1lasz meghaladja a 64 KB-ot. K\xe9rj\xfck, cs\xf6kkentse a f\xe1jl(ok) m\xe9ret\xe9t, \xe9s pr\xf3b\xe1lja \xfajra, vagy l\xe9pjen kapcsolatba egy felm\xe9r\xe9s tulajdonos\xe1val.",saveAgainButton:"Pr\xf3b\xe1lja \xfajra",timerMin:"min",timerSec:"sec",timerSpentAll:"\xd6n {0} \xf6sszeget k\xf6lt\xf6tt ezen az oldalon, \xe9s \xf6sszesen {1}.",timerSpentPage:"{0} \xf6sszeget k\xf6lt\xf6tt ezen az oldalon.",timerSpentSurvey:"\xd6sszesen {0} k\xf6lt\xf6tt.",timerLimitAll:"\xd6n {0} / {1} \xf6sszeget k\xf6lt\xf6tt ezen az oldalon, \xe9s \xf6sszesen {2} / {3}.",timerLimitPage:"\xd6n {0} / {1} \xf6sszeget k\xf6lt\xf6tt ezen az oldalon.",timerLimitSurvey:"\xd6sszesen {0} / {1} \xf6sszeget k\xf6lt\xf6tt el.",clearCaption:"Egy\xe9rtelmű",signaturePlaceHolder:"\xcdrja al\xe1 itt",signaturePlaceHolderReadOnly:"Nincs al\xe1\xedr\xe1s",chooseFileCaption:"V\xe1lassz f\xe1jlt",takePhotoCaption:"Fot\xf3 k\xe9sz\xedt\xe9se",photoPlaceholder:"Kattintson az al\xe1bbi gombra, hogy f\xe9nyk\xe9pet k\xe9sz\xedtsen a f\xe9nyk\xe9pezÅg\xe9ppel.",fileOrPhotoPlaceholder:"H\xfazzon \xe1t vagy v\xe1lasszon ki egy f\xe1jlt, amelyet fel szeretne t\xf6lteni vagy f\xe9nyk\xe9pet szeretne k\xe9sz\xedteni a kamer\xe1val.",replaceFileCaption:"F\xe1jl cser\xe9je",removeFileCaption:"T\xe1vol\xedtsa el ezt a f\xe1jlt",booleanCheckedLabel:"Igen",booleanUncheckedLabel:"Nem",confirmRemoveFile:"Biztosan elt\xe1vol\xedtja ezt a f\xe1jlt: {0}?",confirmRemoveAllFiles:"Biztosan el akarja t\xe1vol\xedtani az \xf6sszes f\xe1jlt?",questionTitlePatternText:"K\xe9rd\xe9s c\xedme",modalCancelButtonText:"\xc9rv\xe9nytelen\xedt",modalApplyButtonText:"Alkalmaz",filterStringPlaceholder:"\xcdrja be a keres\xe9shez...",emptyMessage:"Nincs megjelen\xedthetÅ adat",noEntriesText:"M\xe9g nincsenek bejegyz\xe9sek.\nKattintson az al\xe1bbi gombra egy \xfaj bejegyz\xe9s hozz\xe1ad\xe1s\xe1hoz.",noEntriesReadonlyText:"Nincsenek bejegyz\xe9sek.",tabTitlePlaceholder:"\xdaj panel",more:"T\xf6bb",tagboxDoneButtonCaption:"OK\xc9",selectToRankEmptyRankedAreaText:"Minden v\xe1laszt\xe1si lehetÅs\xe9g rangsorolva van",selectToRankEmptyUnrankedAreaText:"H\xfazza ide a v\xe1laszt\xe1si lehetÅs\xe9geket a rangsorol\xe1shoz",ok:"OK\xc9",cancel:"\xc9rv\xe9nytelen\xedt"},nativeName:"magyar",englishName:"Hungarian"}),setupLocale({localeCode:"is",strings:{pagePrevText:"Tilbaka",pageNextText:"\xc1fram",completeText:"Loki\xf0",previewText:"Forsko\xf0a",editText:"Breyta",startSurveyText:"Byrja\xf0u",otherItemText:"Hinn (sk\xfdring)",
8noneItemText:"Enginn",refuseItemText:"Neita a\xf0 svara",dontKnowItemText:"Veit ekki",selectAllItemText:"Velja allt",deselectAllItemText:"Afvelji\xf0 allt",progressText:"S\xed\xf0a {0} of {1}",indexText:"{0} af {1}",panelDynamicProgressText:"Taka upp {0} af {1}",panelDynamicTabTextFormat:"Pallbor\xf0 {panelIndex}",questionsProgressText:"Svara\xf0 {0} / {1} spurningum",emptySurvey:"\xdea\xf0 er enginn s\xed\xf0a e\xf0a spurningar \xed \xfeessari k\xf6nnun.",completingSurvey:"Takk fyrir a\xf0 fyllja \xfat \xfeessa k\xf6nnun!",completingSurveyBefore:"Skr\xe1r okkar s\xfdna a\xf0 \xfe\xfa hefur \xfeegar loki\xf0 \xfeessari k\xf6nnun.",loadingSurvey:"K\xf6nnunin er a\xf0 hla\xf0a...",placeholder:"Veldu...",ratingOptionsCaption:"Velja...",value:"gildi",requiredError:"Vinsamlegast svari\xf0 spurningunni.",requiredErrorInPanel:"Vinsamlegast svara\xf0u a\xf0 minnsta kosti einni spurningu.",requiredInAllRowsError:"Vinsamlegast svari\xf0 spurningum \xed \xf6llum r\xf6\xf0um.",eachRowUniqueError:"Hver l\xedna ver\xf0ur a\xf0 hafa einstakt gildi.",numericError:"\xdeetta gildi ver\xf0ur a\xf0 vera tala.",minError:"Gildi\xf0 m\xe1 ekki vera l\xe6gra en {0}",maxError:"Gildi\xf0 m\xe1 ekki vera h\xe6rra en {0}",textNoDigitsAllow:"T\xf6lur eru ekki leyf\xf0ar.",textMinLength:"\xdea\xf0 \xe6tti a\xf0 vera minnst {0} t\xe1kn.",textMaxLength:"\xdea\xf0 \xe6tti a\xf0 vera mest {0} t\xe1kn.",textMinMaxLength:"\xdea\xf0 \xe6tti a\xf0 vera fleiri en {0} og f\xe6rri en {1} t\xe1kn.",minRowCountError:"Vinsamlegast fylli\xf0 \xfar a\xf0 minnsta kosti {0} ra\xf0ir.",minSelectError:"Vinsamlegast velji\xf0 a\xf0 minnsta kosti {0} m\xf6guleika.",maxSelectError:"Vinsamlegast velji\xf0 ekki fleiri en {0} m\xf6guleika.",numericMinMax:"'{0}' \xe6tti a\xf0 vera meira en e\xf0a jafnt og {1} minna en e\xf0a jafnt og {2}",numericMin:"{0}' \xe6tti a\xf0 vera meira en e\xf0a jafnt og {1}",numericMax:"'{0}' \xe6tti a\xf0 vera minna en e\xf0a jafnt og {1}",invalidEmail:"Vinsamlegast sl\xe1i\xf0 inn gilt netfang.",invalidExpression:"Tj\xe1ningin: {0} \xe6tti a\xf0 skila 'satt'.",urlRequestError:"Bei\xf0ninn skila\xf0i eftirfaranadi villu '{0}'. {1}",urlGetChoicesError:"Bei\xf0ninng skila\xf0i engum g\xf6gnum e\xf0a sl\xf3\xf0inn var r\xf6ng",exceedMaxSize:"Skr\xe1inn skal ekki vera st\xe6rri en {0}.",noUploadFilesHandler:"Ekki er h\xe6gt a\xf0 hla\xf0a upp skr\xe1m. Vinsamlegast b\xe6ttu vi\xf0 rekli fyrir 'onUploadFiles' atviki\xf0.",otherRequiredError:"Vinamlegast fylli\xf0 \xfat hitt gildi\xf0.",uploadingFile:"Skr\xe1inn \xfe\xedn var send. Vinsamlegast b\xed\xf0i\xf0 \xed nokkrar sek\xfandur og reyni\xf0 aftur.",loadingFile:"Hle\xf0ur ...",chooseFile:"Veldu skr\xe1r ...",noFileChosen:"Engin skr\xe1 valin",filePlaceholder:"Drag\xf0u og slepptu skr\xe1 h\xe9r e\xf0a smelltu \xe1 hnappinn h\xe9r a\xf0 ne\xf0an og veldu skr\xe1 til a\xf0 hla\xf0a upp.",confirmDelete:"Viltu ey\xf0a skr\xe1nni?",keyDuplicationError:"\xdeetta gildi \xe6tti a\xf0 vera einstakt.",addColumn:"B\xe6ta vi\xf0 d\xe1lki",addRow:"B\xe6ta vi\xf0 r\xf6\xf0",removeRow:"Fjarl\xe6gja",emptyRowsText:"\xdea\xf0 eru engar ra\xf0ir.",addPanel:"B\xe6ta vi\xf0 n\xfdju",removePanel:"Fjarl\xe6g\xf0u",showDetails:"S\xfdna uppl\xfdsingar",hideDetails:"Fela uppl\xfdsingar",choices_Item:"hlutur",matrix_column:"D\xe1lkur",matrix_row:"R\xf6\xf0",multipletext_itemname:"Texti",savingData:"Ni\xf0urst\xf6\xf0urnar eru a\xf0 spara \xe1 net\xfej\xf3ninum ... ",savingDataError:"Villa kom upp og vi\xf0 g\xe1tum ekki vista\xf0 ni\xf0urst\xf6\xf0urnar.",savingDataSuccess:"\xc1rangurinn var vista\xf0ur me\xf0 g\xf3\xf0um \xe1rangri!",savingExceedSize:"Svar \xfeitt fer yfir 64KB. Vinsamlegast minnka\xf0u st\xe6r\xf0 skr\xe1a \xfeinna og reyndu aftur e\xf0a haf\xf0u samband vi\xf0 eiganda k\xf6nnunarinnar.",saveAgainButton:"Reyndu aftur",timerMin:"m\xedn",timerSec:"sek",timerSpentAll:"\xde\xfa hefur eytt {0} \xe1 \xfeessari s\xed\xf0u og {1} samtals.",timerSpentPage:"\xde\xfa hefur eytt {0} \xe1 \xfeessari s\xed\xf0u.",timerSpentSurvey:"\xde\xfa hefur eytt {0} samtals.",timerLimitAll:"\xde\xfa hefur eytt {0} af {1} \xe1 \xfeessari s\xed\xf0u og {2} af {3} samtals.",timerLimitPage:"\xde\xfa hefur eytt {0} af {1} \xe1 \xfeessari s\xed\xf0u.",timerLimitSurvey:"\xde\xfa hefur eytt {0} af {1} samtals.",clearCaption:"Hreinsa",signaturePlaceHolder:"KvittaÄu h\xe9r",signaturePlaceHolderReadOnly:"Engin undirskrift",chooseFileCaption:"Veldu skr\xe1",takePhotoCaption:"Taka mynd",photoPlaceholder:"Smelltu \xe1 hnappinn h\xe9r a\xf0 ne\xf0an til a\xf0 taka mynd me\xf0 myndav\xe9linni.",fileOrPhotoPlaceholder:"Drag\xf0u og slepptu e\xf0a veldu skr\xe1 til a\xf0 hla\xf0a upp e\xf0a taka mynd me\xf0 myndav\xe9linni.",replaceFileCaption:"Skipta \xfat skr\xe1",removeFileCaption:"Fjarl\xe6g\xf0u \xfeessa skr\xe1",booleanCheckedLabel:"J\xe1",booleanUncheckedLabel:"Nei",confirmRemoveFile:"Ertu viss um a\xf0 \xfe\xfa viljir fjarl\xe6gja \xfeessa skr\xe1: {0}?",confirmRemoveAllFiles:"Ertu viss um a\xf0 \xfe\xfa viljir fjarl\xe6gja allar skr\xe1r?",questionTitlePatternText:"Spurningartitill",modalCancelButtonText:"Afturkalla",modalApplyButtonText:"Nota",filterStringPlaceholder:"Sl\xe1\xf0u inn til a\xf0 leita...",emptyMessage:"Engin g\xf6gn til a\xf0 birta",noEntriesText:"\xdea\xf0 eru engar f\xe6rslur enn\xfe\xe1.\nSmelltu \xe1 hnappinn h\xe9r a\xf0 ne\xf0an til a\xf0 b\xe6ta vi\xf0 n\xfdrri f\xe6rslu.",noEntriesReadonlyText:"\xdea\xf0 eru engar f\xe6rslur.",tabTitlePlaceholder:"N\xfdtt spjald",more:"Fleiri",tagboxDoneButtonCaption:"\xd3KEI",selectToRankEmptyRankedAreaText:"\xd6llum valkostum er ra\xf0a\xf0",selectToRankEmptyUnrankedAreaText:"Drag\xf0u og slepptu valkostum h\xe9r til a\xf0 ra\xf0a \xfeeim",ok:"\xd3KEI",cancel:"Afturkalla"},nativeName:"\xedslenska",englishName:"Icelandic"}),setupLocale({localeCode:"id",strings:{pagePrevText:"Sebelumnya",pageNextText:"Selanjutnya",completeText:"Selesai",previewText:"Pratinjau",editText:"Sunting",startSurveyText:"Mulai",otherItemText:"Lainnya (jelaskan)",noneItemText:"Tidak Ada",refuseItemText:"Menolak untuk menjawab",dontKnowItemText:"Tidak tahu",selectAllItemText:"Pilih Semua",deselectAllItemText:"Batalkan pilihan semua",progressText:"Halaman {0} dari {1}",indexText:"{0} dari {1}",panelDynamicProgressText:"Rekam {0} dari {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Menjawab pertanyaan {0} / {1}",emptySurvey:"Tidak ada halaman atau pertanyaan dalam survei.",completingSurvey:"Terima kasih telah menyelesaikan survei!",completingSurveyBefore:"Catatan kami menunjukkan bahwa Anda telah menyelesaikan survei ini.",loadingSurvey:"Memuat survei...",placeholder:"Pilih...",ratingOptionsCaption:"Pilih...",value:"nilai",requiredError:"Silahkan jawab pertanyaan berikut.",requiredErrorInPanel:"Silahkan jawab setidaknya satu petanyaan.",requiredInAllRowsError:"Silahkan jawab pertanyaan pada semua baris.",eachRowUniqueError:"Setiap baris harus memiliki nilai unik.",numericError:"Nilai harus berupa angka.",minError:"Nilainya tidak boleh kurang dari {0}",maxError:"Nilai tidak boleh lebih besar dari {0}",textNoDigitsAllow:"Nomor tidak diperbolehkan.",textMinLength:"Silahkan masukkan setidaknya {0} karakter.",textMaxLength:"Silahkan masukkan kurang {0} karakter.",textMinMaxLength:"PSilahkan masukkan lebih dari {0} dan kurang dari {1} karakter.",minRowCountError:"Silahkan isi setidaknya {0} baris.",minSelectError:"Silahkan pilih setidaknya {0} varian.",maxSelectError:"Silahkan pilih tidak lebih dari {0} varian.",numericMinMax:"'{0}' harus sama dengan atau lebih dari {1} dan harus sama dengan atau kurang dari {2}",numericMin:"'{0}' harus sama dengan atau lebih dari {1}",numericMax:"'{0}' harus sama dengan atau kurang dari {1}
8",invalidEmail:"Silahkan masukkan e-mail yang benar.",invalidExpression:"Ekspresi: {0} harus mengembalikan 'benar'.",urlRequestError:"Permintaan mengembalikan kesalahan '{0}'. {1}",urlGetChoicesError:"Permintaan mengembalikan data kosong atau properti 'path' salah.",exceedMaxSize:"Ukuran berkas tidak boleh melebihi {0}.",noUploadFilesHandler:"File tidak dapat diunggah. Harap tambahkan handler untuk acara 'onUploadFiles'.",otherRequiredError:"Silahkan masukkan nilai lainnnya.",uploadingFile:"Berkas Anda sedang diunggah. Silahkan tunggu beberapa saat atau coba lagi.",loadingFile:"Memuat...",chooseFile:"Pilih berkas...",noFileChosen:"Tidak ada file yang dipilih",filePlaceholder:"Seret dan jatuhkan file di sini atau klik tombol di bawah ini dan pilih file yang akan diunggah.",confirmDelete:"Apakah Anda ingin menghapus catatan?",keyDuplicationError:"Nilai harus unik.",addColumn:"Tambah kolom",addRow:"Tambah baris",removeRow:"Hapus",emptyRowsText:"Tidak ada baris.",addPanel:"Tambah baru",removePanel:"Hapus",showDetails:"Tampilkan Detail",hideDetails:"Sembunyikan Detail",choices_Item:"item",matrix_column:"Kolom",matrix_row:"Baris",multipletext_itemname:"Teks",savingData:"Hasil sedang disimpan pada server...",savingDataError:"Kesalahan terjadi dan kami tidak dapat menyimpan hasil.",savingDataSuccess:"Hasil telah sukses disimpan!",savingExceedSize:"Respons Anda melebihi 64 KB. Harap kurangi ukuran file Anda dan coba lagi atau hubungi pemilik survei.",saveAgainButton:"Coba lagi",timerMin:"menit",timerSec:"detik",timerSpentAll:"Anda telah menghabiskan {0} pada halaman ini dan {1} secara keseluruhan.",timerSpentPage:"YAnda telah menghabiskan {0} pada halaman ini.",timerSpentSurvey:"Anda telah menghabiskan {0} secara keseluruhan.",timerLimitAll:"Anda telah menghabiskan {0} dari {1} pada halaman ini dan {2} dari {3} secara keseluruhan.",timerLimitPage:"Anda telah menghabiskan {0} dari {1} pada halaman ini.",timerLimitSurvey:"Anda telah menghabiskan {0} dari {1} secara keseluruhan.",clearCaption:"Bersihkan",signaturePlaceHolder:"Tanda tangan di sini",signaturePlaceHolderReadOnly:"Tidak ada tanda tangan",chooseFileCaption:"Pilih File",takePhotoCaption:"Ambil Foto",photoPlaceholder:"Klik tombol di bawah ini untuk mengambil foto menggunakan kamera.",fileOrPhotoPlaceholder:"Seret dan lepas atau pilih file untuk diunggah atau mengambil foto menggunakan kamera.",replaceFileCaption:"Ganti file",removeFileCaption:"Hapus berkas ini",booleanCheckedLabel:"Iya",booleanUncheckedLabel:"Tidak",confirmRemoveFile:"Anda yakin ingin menghapus file ini: {0}?",confirmRemoveAllFiles:"Anda yakin ingin menghapus semua file?",questionTitlePatternText:"Judul pertanyaan",modalCancelButtonText:"Membatalkan",modalApplyButtonText:"Berlaku",filterStringPlaceholder:"Ketik untuk mencari...",emptyMessage:"Tidak ada data untuk ditampilkan",noEntriesText:"Belum ada entri.\nKlik tombol di bawah ini untuk menambahkan entri baru.",noEntriesReadonlyText:"Tidak ada entri.",tabTitlePlaceholder:"Panel Baru",more:"Lebih",tagboxDoneButtonCaption:"OKE",selectToRankEmptyRankedAreaText:"Semua pilihan diberi peringkat",selectToRankEmptyUnrankedAreaText:"Seret dan lepas pilihan di sini untuk memberi peringkat",ok:"OKE",cancel:"Membatalkan"},nativeName:"bahasa indonesia",englishName:"Indonesian"}),setupLocale({localeCode:"it",strings:{pagePrevText:"Precedente",pageNextText:"Successivo",completeText:"Salva",previewText:"Anteprima",editText:"Modifica",startSurveyText:"Inizio",otherItemText:"Altro (descrivi)",noneItemText:"Nessuno",refuseItemText:"Rifiuta di rispondere",dontKnowItemText:"Non lo so",selectAllItemText:"Seleziona tutti",deselectAllItemText:"Deseleziona tutto",progressText:"Pagina {0} di {1}",indexText:"{0} da {1}",panelDynamicProgressText:"Record di {0} di {1}",panelDynamicTabTextFormat:"Pannello {panelIndex}",questionsProgressText:"Risposte a {0}/{1} domande",emptySurvey:"Non ci sono pagine o domande visibili nel questionario.",completingSurvey:"Grazie per aver completato il questionario!",completingSurveyBefore:"I nostri records mostrano che hai gi\xe0 completato questo questionario.",loadingSurvey:"Caricamento del questionario in corso...",placeholder:"Scegli...",ratingOptionsCaption:"Tocca qui per valutare...",value:"valore",requiredError:"Campo obbligatorio",requiredErrorInPanel:"Per Favore, rispondi ad almeno una domanda.",requiredInAllRowsError:"Completare tutte le righe",eachRowUniqueError:"Ogni riga deve avere un valore univoco.",numericError:"Il valore deve essere numerico",minError:"Il valore non deve essere inferiore a {0}",maxError:"Il valore non deve essere maggiore di {0}",textNoDigitsAllow:"I numeri non sono ammessi.",textMinLength:"Inserire almeno {0} caratteri",textMaxLength:"Lunghezza massima consentita {0} caratteri",textMinMaxLength:"Inserire una stringa con minimo {0} e massimo {1} caratteri",minRowCountError:"Completare almeno {0} righe.",minSelectError:"Selezionare almeno {0} varianti.",maxSelectError:"Selezionare massimo {0} varianti.",numericMinMax:"'{0}' deve essere uguale o superiore a {1} e uguale o inferiore a {2}",numericMin:"'{0}' deve essere uguale o superiore a {1}",numericMax:"'{0}' deve essere uguale o inferiore a {1}
8",invalidEmail:"Inserire indirizzo mail valido",invalidExpression:"L'espressione: {0} dovrebbe tornare 'vero'.",urlRequestError:"La richiesta ha risposto con un errore '{0}'. {1}",urlGetChoicesError:"La richiesta ha risposto null oppure il percorso non \xe8 corretto",exceedMaxSize:"Il file non pu\xf2 eccedere {0}",noUploadFilesHandler:"I file non possono essere caricati. Aggiungere un gestore per l'evento 'onUploadFiles'.",otherRequiredError:"Inserire il valore 'altro'",uploadingFile:"File in caricamento. Attendi alcuni secondi e riprova",loadingFile:"Caricamento...",chooseFile:"Selezionare file(s)...",noFileChosen:"Nessun file selezionato",filePlaceholder:"Trascina un file qui o fai clic sul pulsante in basso per caricare il file.",confirmDelete:"Sei sicuro di voler elminare il record?",keyDuplicationError:"Questo valore deve essere univoco.",addColumn:"Aggiungi colonna",addRow:"Aggiungi riga",removeRow:"Rimuovi riga",emptyRowsText:"Non ci sono righe.",addPanel:"Aggiungi riga",removePanel:"Elimina",showDetails:"Mostra dettagli",hideDetails:"Nascondi dettagli",choices_Item:"Elemento",matrix_column:"Colonna",matrix_row:"Riga",multipletext_itemname:"testo",savingData:"Salvataggio dati sul server...",savingDataError:"Si \xe8 verificato un errore e non \xe8 stato possibile salvare i risultati.",savingDataSuccess:"I risultati sono stati salvati con successo!",savingExceedSize:"La tua risposta supera i 64 KB. Riduci le dimensioni dei tuoi file e riprova o contatta il proprietario di un'indagine.",saveAgainButton:"Riprova",timerMin:"min",timerSec:"sec",timerSpentAll:"Hai impiegato {0} su questa pagina e {1} in totale.",timerSpentPage:"Hai impiegato {0} su questa pagina.",timerSpentSurvey:"Hai impiegato {0} in totale.",timerLimitAll:"Hai impiegato {0} di {1} su questa pagina e {2} di {3} in totale.",timerLimitPage:"Hai impiegato {0} di {1} su questa pagina.",timerLimitSurvey:"Hai impiegato {0} di {1} in totale.",clearCaption:"Cancella",signaturePlaceHolder:"Firmare qui",signaturePlaceHolderReadOnly:"Nessuna firma",chooseFileCaption:"Scegliere il file",takePhotoCaption:"Scatta foto",photoPlaceholder:"Fai clic sul pulsante qui sotto per scattare una foto utilizzando la fotocamera.",fileOrPhotoPlaceholder:"Trascina e rilascia o seleziona un file da caricare o scattare una foto utilizzando la fotocamera.",replaceFileCaption:"Sostituisci file",removeFileCaption:"Rimuovere questo file",booleanCheckedLabel:"S\xec",booleanUncheckedLabel:"No",confirmRemoveFile:"Sei sicuro di voler elminare questo file: {0}?",confirmRemoveAllFiles:"Sei sicuro di voler elminare tutti i files?",questionTitlePatternText:"Titolo della domanda",modalCancelButtonText:"Annulla",modalApplyButtonText:"Applicare",filterStringPlaceholder:"Digita per cercare...",emptyMessage:"Nessun dato da visualizzare",noEntriesText:"Non ci sono ancora voci.\nFai clic sul pulsante qui sotto per aggiungere una nuova voce.",noEntriesReadonlyText:"Non ci sono voci.",tabTitlePlaceholder:"Nuovo pannello",more:"Pi\xf9",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Tutte le scelte sono classificate",selectToRankEmptyUnrankedAreaText:"Trascina e rilascia le scelte qui per classificarle",ok:"OK",cancel:"Annulla"},nativeName:"italiano",englishName:"Italian"}),setupLocale({localeCode:"ja",strings:{pagePrevText:"åã¸",pageNextText:"次ã¸",completeText:"å®äº",previewText:"ãã¬ãã¥ã¼",editText:"ç·¨é",startSurveyText:"ã¹ã¿ã¼ã",otherItemText:"ãã®ä»ï¼èª¬æï¼",noneItemText:"ãªã",refuseItemText:"åçãæå¦ãã",dontKnowItemText:"ããããªã",selectAllItemText:"ãã¹ã¦é¸æ",deselectAllItemText:"ãã¹ã¦é¸æè§£é¤",progressText:"ãã¼ã¸{0}/{1}",indexText:"{1}ã®{0}",panelDynamicProgressText:"{1}ã®{0}ãè¨é²ãã",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1}ååçæ¸",emptySurvey:"ã¢ã³ã±ã¼ãã«è¡¨ç¤ºå¯è½ãªè¦ç´ ãããã¾ããã",completingSurvey:"ã¢ã³ã±ã¼ãã«ãååããã ãããããã¨ããããã¾ãã",completingSurveyBefore:"ãã®ã¢ã³ã±ã¼ãã¯ãã§ã«åçæ¸ã¿ã§ãã",loadingSurvey:"ã¢ã³ã±ã¼ããèªã¿è¾¼ãã§ãã¾ã...",placeholder:"鏿",ratingOptionsCaption:"鏿ããã",value:"å¤",requiredError:"åçãå¿
è¦ã§ã",requiredErrorInPanel:"åçãå¿
è¦ã§ãï¼å°ãªãã¨ã1ã¤ã®è³ªåã«çãã¦ãã ããã",requiredInAllRowsError:"åçãå¿
è¦ã§ãï¼ãã¹ã¦ã®è¡ã®è³ªåã«çãã¦ãã ããã",eachRowUniqueError:"åè¡ã«ä¸æã®å¤ãå
¥åãã¦ãã ããã",numericError:"æ°åã§ã
8è¨å
¥ä¸ãã",minError:"å¤ã¯ {0} 以ä¸ã§ããå¿
è¦ãããã¾ã",maxError:"å¤ã¯ {0} 以ä¸ã§ããå¿
è¦ãããã¾ã",textNoDigitsAllow:"æ°åã¯ä½¿ç¨ã§ãã¾ããã",textMinLength:"å°ãªãã¨ã {0} æåãå
¥åãã¦ãã ããã",textMaxLength:"{0} æå以å
ã§å
¥åãã¦ãã ããã",textMinMaxLength:"{0} æåä»¥ä¸ {1} æå以å
ã§å
¥åãã¦ãã ããã",minRowCountError:"å°ãªãã¨ã {0} è¡ãå
¥åãã¦ãã ããã",minSelectError:"å°ãªãã¨ã {0} åã®ãªãã·ã§ã³ã鏿ãã¦ãã ããã",maxSelectError:"{0} å以ä¸ã®é¸æè¢ã鏿ãã¦ãã ããã",numericMinMax:"'{0}' 㯠{1} ä»¥ä¸ {2} 以ä¸ã§ããå¿
è¦ãããã¾ã",numericMin:"'{0}' 㯠{1} 以ä¸ã§ããå¿
è¦ãããã¾ã",numericMax:"'{0}' 㯠{1} 以ä¸ã§ããå¿
è¦ãããã¾ã",invalidEmail:"æå¹ãªã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ããã",invalidExpression:"å¼: {0} 㯠'true' ãè¿ãå¿
è¦ãããã¾ãã",urlRequestError:"ãªã¯ã¨ã¹ãã¯ã¨ã©ã¼ '{0}' ãè¿ãã¾ããã{1}",urlGetChoicesError:"ãªã¯ã¨ã¹ãã空ã®ãã¼ã¿ãè¿ãããã'path' ããããã£ãæ£ããããã¾ããã",exceedMaxSize:"ãã¡ã¤ã«ã®ãµã¤ãºã¯{0}ãè¶
ãã¦ã¯ããã¾ãã",noUploadFilesHandler:"ãã¡ã¤ã«ã¯ã¢ãããã¼ãã§ãã¾ããããonUploadFilesãã¤ãã³ãã®ãã³ãã©ã¼ã追å ãã¦ãã ããã",otherRequiredError:"åçãå¿
è¦ã§ãï¼ä»ã®å¤ãå
¥åãã¦ãã ããã",uploadingFile:"ãã¡ã¤ã«ãã¢ãããã¼ãä¸ã§ãããã°ãããã¦ããå度ã試ãä¸ãã",loadingFile:"èªã¿è¾¼ã¿ä¸",chooseFile:"ãã¡ã¤ã«ã鏿",noFileChosen:"鏿ããããã¡ã¤ã«ã¯ããã¾ãã",filePlaceholder:"ããã«ãã¡ã¤ã«ããã©ãã°&ããããããããä¸ã®ãã¿ã³ãã¯ãªãã¯ãã¦ã¢ãããã¼ããããã¡ã¤ã«ã鏿ãã¦ãã ããã",confirmDelete:"ã¬ã³ã¼ããåé¤ãã¾ããï¼",keyDuplicationError:"ãã®
8å¤ã¯ä¸æã§ãªããã°ãªãã¾ããã",addColumn:"åã®è¿½å ",addRow:"追å è¡",removeRow:"åé¤",emptyRowsText:"è¡ãããã¾ããã",addPanel:"æ°è¦è¿½å ",removePanel:"åé¤",showDetails:"詳細ã表示",hideDetails:"詳細ãé表示",choices_Item:"é
ç®",matrix_column:"å",matrix_row:"è¡",multipletext_itemname:"ããã¹ã",savingData:"çµæãä¿åä¸...ã",savingDataError:"ã¨ã©ã¼ãçºçããçµæãä¿åã§ãã¾ããã§ããã",savingDataSuccess:"çµæãæ£å¸¸ã«ä¿åããã¾ãã",savingExceedSize:"åç㯠64 KB ãè¶
ãã¦ãã¾ãããã¡ã¤ã«ã®ãµã¤ãºãå°ãããã¦ããä¸åº¦ã試ãããã ãããã¢ã³ã±ã¼ãã®ä½æè
ã«ãåãåãããã ããã",saveAgainButton:"ããä¸åº¦è©¦ãã¦ã¿ã¦ãã ããã",timerMin:"å
å°",timerSec:"ã»ãã¯",timerSpentAll:"ããªãã¯ãã®ãã¼ã¸ã«{0}ãè²»ãããåè¨ã§{1}ãè²»ããã¾ããã",timerSpentPage:"ããªãã¯ãã®ãã¼ã¸ã«{0}ãè²»ããã¾ããã",timerSpentSurvey:"åè¨ã§{0}ã使ã£ããã¨ã«ãªãã¾ãã",timerLimitAll:"ãã®ãã¼ã¸ã«{1}ã®ãã¡{0}ãè²»ããã{3}ã®ãã¡{2}ãåè¨ã§è²»ããã¾ããã",timerLimitPage:"ãã®ãã¼ã¸ã§{1}ã®{0}ã使ã£ããã¨ãããã¾ãã",timerLimitSurvey:"åè¨ã§{1}ã®{0}ã使ã£ããã¨ãããã¾ãã",clearCaption:"空ç½",signaturePlaceHolder:"ããã«ç½²å",signaturePlaceHolderReadOnly:"ç½²åãªã",chooseFileCaption:"ãã¡ã¤ã«ã鏿",takePhotoCaption:"åçãæ®ã",photoPlaceholder:"ä¸ã®ãã¿ã³ãã¯ãªãã¯ãã¦ã«ã¡ã©ã§åçãæ®å½±ãã¦ãã ããã",fileOrPhotoPlaceholder:"ãã¡ã¤ã«ããã©ãã°ï¼ããããã¾ãã¯é¸æãã¦ã¢ãããã¼ãããããã«ã¡ã©ã§åçãæ®å½±ãã¦ãã ããã",replaceFileCaption:"ãã¡ã¤ã«ãç½®æ",removeFileCaption:"ãã®ãã¡ã¤ã«ãåé¤",booleanCheckedLabel:"ã¯ã",booleanUncheckedLabel:"ããã",confirmRemoveFile:"ãã®ãã¡ã¤ã«ãåé¤ãã¦ãããããã§ããï¼{0}?",confirmRemoveAllFiles:"ãã¹ã¦ã®ãã¡ã¤ã«ãåé¤ãã¦ãããããã§ããï¼",questionTitlePatternText:"質åã®ã¿ã¤ãã«",modalCancelButtonText:"ãã£ã³ã»ã«",modalApplyButtonText:"ç³ãè¾¼ã",filterStringPlaceholder:"æ¤ç´¢ããã¿ã¤ã...",emptyMessage:"表示ãããã¼ã¿ãããã¾ãã",noEntriesText:"ã¨ã³ããªã¯ã¾ã ããã¾ããã\nä¸ã®ãã¿ã³ãã¯ãªãã¯ãã¦ãæ°ããã¨ã³ããªã追å ãã¾ãã",noEntriesReadonlyText:"ã¨ã³ããªã¯ããã¾ããã",tabTitlePlaceholder:"æ°ããããã«",more:"ç¶ããè¦ã",tagboxDoneButtonCaption:"ãããã¾ãã",selectToRankEmptyRankedAreaText:"ãã¹ã¦ã®é¸æè¢ãã©ã³ã¯ä»ãããã¾ã",selectToRankEmptyUnrankedAreaText:"ããã«é¸æè¢ããã©ãã°ã¢ã³ããããããã¦ã©ã³ã¯ä»ããã¾ã",ok:"ãããã¾ãã",cancel:"ãã£ã³ã»ã«"},nativeName:"æ¥æ¬èª",englishName:"Japanese"}),setupLocale({localeCode:"kk",strings:{pagePrevText:"ÐÑÑÒа",pageNextText:"ÐелеÑÑ",completeText:"ÐайÑн",previewText:"ÐлдÑн ала ÒаÑаÑ",editText:"РедакÑиÑлаÑ",startSurveyText:"ÐаÑÑаÑ",otherItemText:"ÐаÑÒа (Ó©ÑÑнемÑз, жазÑÒ£Ñз)",noneItemText:"ÐоÒ",refuseItemText:"ÐаÑап беÑÑден Ð±Ð°Ñ ÑаÑÑÑ",dontKnowItemText:"ÐÑлмеймÑн",selectAllItemText:"ÐаÑлÑÒÑн ÑаңдаÑ",deselectAllItemText:"ÐаÑлÑÒÑн жоÒÒа ÑÑÒаÑÑ",progressText:"{0} ден {1} Ð±ÐµÑ ",indexText:"{1} {0}",panelDynamicProgressText:"{0} ден {1} жазба",panelDynamicTabTextFormat:"ÐÐ°Ð½ÐµÐ»Ñ {panelIndex}",questionsProgressText:"{0}/{1} ÑÒ±ÑаÒÑаÑÒа жаÑап",emptySurvey:"ÐÑÑ Ð´Ðµ бÑÑ ÑÒ±ÑÐ°Ò Ð¶Ð¾Ò.",completingSurvey:"СаÑÐ°Ð»Ð½Ð°Ð¼Ð°Ð½Ñ ÑолÑÑÑÒанÑÒ£Ñз Ò¯ÑÑн ÑаÑ
меÑ!",completingSurveyBefore:"СÑз бұл ÑаÑÐ°Ð»Ð½Ð°Ð¼Ð°Ð½Ñ Ó©ÑÑп ÒойдÑÒ£Ñз.",loadingSurvey:"СеÑвеÑден жүкÑеÑ...",placeholder:"ТаңдаÑ...",ratingOptionsCaption:"ТаңдаÑ...",value:"мÓнÑ",requiredError:"Ó¨ÑÑнемÑз, ÑÒ±ÑаÒÒа жаÑап беÑÑÒ£Ñз.",requiredErrorInPanel:"Ó¨ÑÑнемÑз, кем дегенде бÑÑ ÑÒ±ÑаÒÒа жаÑап беÑÑÒ£Ñз.",requiredInAllRowsError:"Ó¨ÑÑнемÑз, ÓÑбÑÑ Ð¶Ð¾Ð»Ð´ÑÒ£ ÑÒ±ÑаÒÐ°Ð½Ñ Ð¶Ð°Ñап беÑÑÒ£Ñз.",eachRowUniqueError:"ÓÑ Ð¶Ð¾Ð»Ð´ÑÒ£ бÑÑегей мÓÐ½Ñ Ð±Ð¾Ð»ÑÑ ÑиÑÑ.",numericError:"ÐаÑап Ñан ÑÒ¯ÑÑнде болÑÑ ÐºÐµÑек.",minError:"ÐÓÐ½Ñ {0} кем болмаÑÑ ÑиÑÑ",maxError:"ÐÓн {0} аÑÑÑÒ Ð±Ð¾Ð»Ð¼Ð°ÑÑ ÑиÑÑ",textNoDigitsAllow:"ÐөмÑÑлеÑÐ´Ñ Ð±ÐµÑÑге жол беÑÑлмейдÑ.",textMinLength:"Ó¨ÑÑнемÑз, {0} ден көп Ñаңба енгÑзÑÒ£Ñз.",textMaxLength:"Ó¨ÑÑнемÑз, {0} ден аз Ñаңба енгÑзÑÒ£Ñз.",textMinMaxLength:"Ó¨ÑÑнемÑз, {0} аз жÓне {1} көп Ñаңба енгÑзÑÒ£Ñз.",minRowCountError:"Ó¨ÑÑнемÑз, {0} ден кем ÐµÐ¼ÐµÑ Ð¶Ð¾Ð» ÑолÑÑÑÑÒ£Ñз.",minSelectError:"Ó¨ÑÑнемÑз, ÑÑм болмаÑа {0} нұÑÒа ÑаңдаңÑз.",maxSelectError:"Ó¨ÑÑнемÑз, {0} нұÑÒадан көп ÑаңдамаңÑз.",numericMinMax:"'{0}' {1} ден кем ÐµÐ¼ÐµÑ Ð¶Óне {2} ден көп ÐµÐ¼ÐµÑ Ð±Ð¾Ð»Ñ ÐºÐµÑек",numericMin:"'{0}' {1} ден кем ÐµÐ¼ÐµÑ Ð±Ð¾Ð»Ñ ÐºÐµÑек",numericMax:"'{0}' {1}
8 ден көп ÐµÐ¼ÐµÑ Ð±Ð¾Ð»Ñ ÐºÐµÑек",invalidEmail:"Ó¨ÑÑнемÑз, жаÑÐ°Ð¼Ð´Ñ ÑлекÑÑондÑÒ Ð¿Ð¾ÑÑаңÑÐ·Ð´Ñ ÐµÐ½Ð³ÑзÑÒ£Ñз.",invalidExpression:"{0} Ó©ÑÐ½ÐµÐ³Ñ 'true' ÒайÑаÑÑ ÐºÐµÑек.",urlRequestError:"СұÑаÑÑм ÒаÑелÑкÑÑ ÒайÑаÑдÑ'{0}'. {1}",urlGetChoicesError:"СұÑаÑÑмÒа жаÑап Ð±Ð¾Ñ ÐºÐµÐ»Ð´Ñ Ð½ÐµÐ¼ÐµÑе 'path' ÒаÑиеÑÑ ÒаÑе көÑÑеÑÑлген ",exceedMaxSize:"ФайлдÑÒ£ мөлÑеÑÑ {0} аÑÐ¿Ð°Ñ ÐºÐµÑек.",noUploadFilesHandler:"ФайлдаÑÐ´Ñ ÐºÐµÑÑ Ð¶Ò¯ÐºÑÐµÑ Ð¼Ò¯Ð¼ÐºÑн емеÑ. 'OnUploadFiles' оÒиÒаÑÑна өңдеÑÑÑÐ½Ñ ÒоÑÑÑÒ£ÑÐ·Ð´Ñ ÑÒ±ÑаймÑз.",otherRequiredError:"Ó¨ÑÑнемÑз, âÐаÑÒаâ жолÑна деÑекÑÑ ÐµÐ½Ð³ÑзÑÒ£Ñз",uploadingFile:"СÑздÑÒ£ ÑайлÑÒ£Ñз жүкÑелÑп жаÑÑÑ. ÐÑÑнеÑе ÑекÑнд ÑоÑÑп, ÒайÑадан байÒап көÑÑÒ£Ñз.",loadingFile:"ÐүкÑеÑ...",chooseFile:"ФайлдаÑÐ´Ñ ÑаңдаңÑз...",noFileChosen:"Файл ÑаңдалÑнбадÑ",filePlaceholder:"Ð¤Ð°Ð¹Ð»Ð´Ñ Ð¾ÑÑ Ð¶ÐµÑге апаÑÑп ÑаÑÑаңÑз немеÑе ÑÓ©Ð¼ÐµÐ½Ð´ÐµÐ³Ñ ÑÒ¯Ð¹Ð¼ÐµÐ½Ñ Ð±Ð°ÑÑÒ£Ñз жÓне кеÑÑ Ð¶Ò¯ÐºÑÐµÑ Ò¯ÑÑн ÑÐ°Ð¹Ð»Ð´Ñ ÑаңдаңÑз.",confirmDelete:"СÑз Ð¶Ð°Ð·Ð±Ð°Ð½Ñ Ð¶Ð¾ÑÑÑнÑÒ£ÑзÒа ÑенÑмдÑÑÑз бе?",keyDuplicationError:"Ðұл мÓн бÑÑегей Ð±Ð¾Ð»Ñ ÐºÐµÑек.",addColumn:"ÐаÒана ÒоÑÑ",addRow:"ÐÐ¾Ð»Ð´Ñ ÒоÑÑ",removeRow:"Ó¨ÑÑÑÑ",emptyRowsText:"ÒаÑаÑÐ»Ð°Ñ Ð¶Ð¾Ò.",addPanel:"Ðаңа ÒоÑÑ",removePanel:"Ó¨ÑÑÑÑ",showDetails:"Ðгжей-ÑегжейÑн көÑÑеÑÑ",hideDetails:"Ðгжей- ÑегжейÑн жаÑÑ",choices_Item:"ÐÒ±ÑÒа",matrix_column:"ÐаÒана",matrix_row:"Ðол",multipletext_itemname:"мÓÑÑн",savingData:"ÐÓÑÐ¸Ð¶ÐµÐ»ÐµÑ ÑеÑвеÑде ÑаÒÑаладÑ...",savingDataError:"ÒаÑелÑк ÑÑÑндадÑ, нÓÑиже ÑаÒÑалÑнбадÑ.",savingDataSuccess:"ÐÓÑиже ойдаÒÑдай ÑаÒÑалдÑ!",savingExceedSize:"СÑздÑÒ£ жаÑабÑÒ£Ñз 64ÐÐ-Ñан аÑадÑ. ФайлдÑÒ£ өлÑемÑн азайÑÑп, ÒайÑалап көÑÑÒ£Ñз немеÑе ÑаÑалнама иеÑÑне Ñ
абаÑлаÑÑÒ£Ñз.",saveAgainButton:"ÒайÑадан байÒап көÑÑ",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"СÑз бұл беÑÑе {0} кеÑÑÑдÑÒ£Ñз жÓне баÑлÑÒÑ {1}.",timerSpentPage:"СÑз бұл беÑÑе {0} кеÑÑÑдÑÒ£Ñз.",timerSpentSurvey:"СÑз ÑаÑалнама кезÑнде {0} кеÑÑÑдÑÒ£Ñз.",timerLimitAll:"СÑз бұл беÑÑе {0} ден {1} кеÑÑÑдÑÒ£Ñз жÓне {2} ден {3} бүкÑл ÑаÑалнама Ò¯ÑÑн.",timerLimitPage:"СÑз бұл беÑÑе {0} ден {1} кеÑÑÑдÑÒ£Ñз.",timerLimitSurvey:"СÑз бүкÑл ÑаÑалнама Ò¯ÑÑн {0} ден {1} кеÑÑÑдÑÒ£Ñз ",clearCaption:"ТазалаÑ",signaturePlaceHolder:"ÐÑÑнда кÑÑÑ",signaturePlaceHolderReadOnly:"ÒолдÑÒ£ No",chooseFileCaption:"Файл ÑаңдаңÑз",takePhotoCaption:"ФоÑоÑÑÑеÑке ÑÒ¯ÑÑ",photoPlaceholder:"ÐамеÑÐ°Ð½Ñ Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½Ñп ÑÑÑеÑке ÑÒ¯ÑÑ Ò¯ÑÑн ÑÓ©Ð¼ÐµÐ½Ð´ÐµÐ³Ñ ÑÒ¯Ð¹Ð¼ÐµÐ½Ñ Ð±Ð°ÑÑÒ£Ñз.",fileOrPhotoPlaceholder:"ФоÑоаппаÑаÑÑÑ Ð¿Ð°Ð¹Ð´Ð°Ð»Ð°Ð½Ñп кеÑÑ Ð¶Ò¯ÐºÑÐµÑ Ð½ÐµÐ¼ÐµÑе ÑÑÑеÑке ÑÒ¯ÑÑÑÑ Ò¯ÑÑн ÑÐ°Ð¹Ð»Ð´Ñ Ð°Ð¿Ð°ÑÑп ÑаÑÑаÑÒ£Ñз немеÑе ÑаңдаңÑз.",replaceFileCaption:"Ð¤Ð°Ð¹Ð»Ð´Ñ Ð°ÑÑÑÑÑÑÑ",removeFileCaption:"Ð¤Ð°Ð¹Ð»Ð´Ñ Ð¶Ð¾Ð¹ÑÒ£Ñз",booleanCheckedLabel:"ÐÓ",booleanUncheckedLabel:"ÐоÒ",confirmRemoveFile:"СÑз бұл ÑÐ°Ð¹Ð»Ð´Ñ Ð¶Ð¾ÑÑÑнÑÒ£ÑзÒа ÑенÑмдÑÑÑз бе: {0}?",confirmRemoveAllFiles:"СÑз баÑлÑÒ ÑайлдаÑÐ´Ñ Ð¶Ð¾ÑÑÑнÑÒ£ÑзÒа ÑенÑмдÑÑÑз бе?",questionTitlePatternText:"СұÑаÒÑÑÒ£ аÑаÑÑ",modalCancelButtonText:"ÐолдÑÑмаÑ",modalApplyButtonText:"ÒолданÑ",filterStringPlaceholder:"ÐÐ·Ð´ÐµÑ Ò¯ÑÑн ÑеÑÑÒ£Ñз...",emptyMessage:"ÐÓ©ÑÑеÑÑлеÑÑн деÑекÑÐµÑ Ð¶Ð¾Ò",noEntriesText:"ÓзÑÑге Ð¶Ð°Ð·Ð±Ð°Ð»Ð°Ñ Ð¶Ð¾Ò.\nÐаңа Ð¶Ð°Ð·Ð±Ð°Ð½Ñ ÒоÑÑ Ò¯ÑÑн ÑÓ©Ð¼ÐµÐ½Ð´ÐµÐ³Ñ ÑүймеÑÑгÑÒ£Ð´Ñ Ð±Ð°ÑÑÒ£Ñз.",noEntriesReadonlyText:"ÐÐ°Ð·Ð±Ð°Ð»Ð°Ñ Ð¶Ð¾Ò.",tabTitlePlaceholder:"Ðаңа панелÑ",more:"ÒоÑÑмÑа",tagboxDoneButtonCaption:"ÐÐÒСЫ",selectToRankEmptyRankedAreaText:"ÐаÑлÑÒ ÑаңдаÑÐ»Ð°Ñ ÑанжиÑленген",selectToRankEmptyUnrankedAreaText:"ТаңдаÑÐ´Ñ ÑангÑÐµÑ Ò¯ÑÑн оÑÑнда апаÑÑп ÑаÑÑаÑ",ok:"ÐÐÒСЫ",cancel:"ÐолдÑÑмаÑ"},nativeName:"kazakh",englishName:"Kazakh"}),setupLocale
vendor: 5,487 bytes, line 8
8({localeCode:"ko",strings:{pagePrevText:"ì´ì ",pageNextText:"ë¤ì",completeText:"ìë£",previewText:"미리보기",editText:"ìì ",startSurveyText:"ìì",otherItemText:"기í (ì¤ëª
)",noneItemText:"ìì",refuseItemText:"ëëµ ê±°ë¶",dontKnowItemText:"모르ë¤",selectAllItemText:"모ë ì í",deselectAllItemText:"모ë ì í í´ì ",progressText:"íì´ì§ {1} / {0}",indexText:"{0} / {1}",panelDynamicProgressText:"{0} / {1}",panelDynamicTabTextFormat:"í¨ë {panelIndex}",questionsProgressText:"{0} / {1} ê°ì ì§ë¬¸ì ëµë³í¨",emptySurvey:"ì¤ë¬¸ì§ì ë³´ì¬ì§ë íì´ì§ë ì§ë¬¸ì´ ììµëë¤.",completingSurvey:"ì¤ë¬¸ì¡°ì¬ë¥¼ ìë£í´ 주ì
ì ê°ì¬í©ëë¤.",completingSurveyBefore:"기ë¡ì ë°ë¥´ë©´ ì´ë¯¸ ì¤ë¬¸ ì¡°ì¬ë¥¼ ë§ì¹ì
¨ìµëë¤.",loadingSurvey:"ì¤ë¬¸ì¡°ì¬ê° ë¡ëì¤ì
ëë¤...",placeholder:"ì í...",ratingOptionsCaption:"ë±ê¸ì ë§¤ê¸°ë ¤ë©´ ë르ì¸ì.",value:"ê°",requiredError:"ì§ë¬¸ì ëµíìì¤.",requiredErrorInPanel:"íë ì´ìì ì§ë¬¸ì ëµíììì¤.",requiredInAllRowsError:"모ë íì ìë ì§ë¬¸ì ëµíììì¤.",eachRowUniqueError:"ê° íìë ê³ ì í ê°ì´ ìì´ì¼ í©ëë¤.",numericError:"ê°ì ì«ìì¬ì¼ í©ëë¤.",minError:"ê°ì {0}ë³´ë¤ ìì¼ë©´ ìë©ëë¤.",maxError:"ê°ì {0}ë³´ë¤ í´ ì ììµëë¤.",textNoDigitsAllow:"ì«ìë íì©ëì§ ììµëë¤.",textMinLength:"ëµë³ì 길ì´ë ìµì {0}ìì¬ì¼ ì
ëë¤.",textMaxLength:"ëµë³ì 길ì´ë {0}ì를 ì´ê³¼ í ì ììµëë¤.",textMinMaxLength:"ëµë³ì 길ì´ë {0} - {1}ì ì¬ì´ì¬ì¼ í©ëë¤.",minRowCountError:"ìµì {0}ê°ì íì ì±ì°ììì¤",minSelectError:"ìµì {0}ê°ì ë³ì를 ì ííììì¤.",maxSelectError:"ìµë {0}ê°ì ë³ì를 ì ííììì¤.",numericMinMax:"'{0}'ì {1}ë³´ë¤ í¬ê±°ë ê°ê³ {2}ë³´ë¤ ìê±°ë ê°ìì¼í©ëë¤.",numericMin:"'{0}'ì {1}ë³´ë¤ í¬ê±°ë ê°ìì¼í©ëë¤.",numericMax:"'{0}'ì {1}ë³´ë¤ ìê±°ë ê°ìì¼í©ëë¤.",invalidEmail:"ì¬ë°ë¥¸ ì´ë©ì¼ 주ì를 ì
ë ¥íììì¤.",invalidExpression:"ííì: {0}ì 'ì°¸'ì´ì´ì¼ í©ëë¤.",urlRequestError:"'{0}'ì¼ë¡ ì못ë ìì²ì
ëë¤. {1}",urlGetChoicesError:"ë¹ì´ìë ë°ì´í°ë¥¼ ìì²íê±°ë ì못ë ìì±ì ê²½ë¡ì
ëë¤.",exceedMaxSize:"íì¼ í¬ê¸°ê° {0}ì ì´ê³¼ í ì ììµëë¤.",noUploadFilesHandler:"íì¼ì ì
ë¡ëí ì ììµëë¤. 'onUploadFiles'ì´ë²¤í¸ì ëí í¸ë¤ë¬ë¥¼ ì¶ê°íììì¤.",otherRequiredError:"ë¤ë¥¸ ì§ë¬¸ì ìì±íììì¤.",uploadingFile:"íì¼ ì
ë¡ë ì¤ì
ëë¤. ì ì í ë¤ì ìëíììì¤.",loadingFile:"ë¡ë ì¤...",chooseFile:"íì¼ ì í...",noFileChosen:"ì íë íì¼ì´ ììµëë¤.",filePlaceholder:"íì¼ì ì¬ê¸°ì ëê±°ë ìë ë²í¼ì í´ë¦íì¬ íì¼ì ë¶ë¬ì¤ì¸ì.",confirmDelete:"기ë¡ì ìì íìê² ìµëê¹?",keyDuplicationError:" ì´ ê°ì ê³ ì í´ì¼í©ëë¤.",addColumn:"ì´ ì¶ê°",addRow:"í ì¶ê°",removeRow:"ì ê±°",emptyRowsText:"íì´ ììµëë¤.",addPanel:"ì¶ê°",removePanel:"ì ê±°",showDetails:"ì¸ë¶ ì ë³´ íì",hideDetails:"ì¸ë¶ ì ë³´ ì¨ê¸°ê¸°",choices_Item:"í목",matrix_column:"ì´",matrix_row:"í",multipletext_itemname:"í
ì¤í¸",savingData:"ê²°ê³¼ê° ìë²ì ì ì¥ ì¤ì
ëë¤...",savingDataError:"ì¤ë¥ê° ë°ìíì¬ ê²°ê³¼ë¥¼ ì ì¥í ì ììµëë¤.",savingDataSuccess:"ê²°ê³¼ê° ì±ê³µì ì¼ë¡ ì ì¥ëììµëë¤.",savingExceedSize:"ìëµì´ 64KB를 ì´ê³¼í©ëë¤. íì¼ í¬ê¸°ë¥¼ ì¤ì¸ í ë¤ì ìëíê±°ë ì¤ë¬¸ì¡°ì¬ ìì ììê² ë¬¸ìíì¸ì.",saveAgainButton:"ë¤ì ìëíì¸ì.",timerMin:"ë¶",timerSec:"ì´",timerSpentAll:"íì¬ íì´ì§ìì {0}ì ììí´ ì´ {1}ì´ ê±¸ë ¸ìµëë¤.",timerSpentPage:"íì¬ íì´ì§ìì {0}ì´ ê±¸ë ¸ìµëë¤.",timerSpentSurvey:"ì´ {0}ì´ ê±¸ë ¸ìµëë¤.",timerLimitAll:"íì¬ íì´ì§ìì {0}/{1}ì ììí´ ì´ {2}/{3}ì´ ê±¸ë ¸ìµëë¤.",timerLimitPage:"íì¬ íì´ì§ìì {0}/{1}ì´ ê±¸ë ¸ìµëë¤.",timerLimitSurvey:"ì´ {0}/{1}ì´ ê±¸ë ¸ìµëë¤.",clearCaption:"ì§ì°ê¸°",signaturePlaceHolder:"ìëª
íì¸ì.",signaturePlaceHolderReadOnly:"ìëª
ìì",chooseFileCaption:"íì¼ ì í",takePhotoCaption:"ì¬ì§ ì°ê¸°",photoPlaceholder:"ìë ë²í¼ì í´ë¦íì¬ ì¹´ë©ë¼ë¡ ì¬ì§ì ì°ìµëë¤.",fileOrPhotoPlaceholder:"ì
ë¡ëí íì¼ì ëëê·¸ ì¤ ëë¡íê±°ë ì ííê±°ë ì¹´ë©ë¼ë¥¼ ì¬ì©íì¬ ì¬ì§ì ì°ìµëë¤.",replaceFileCaption:"íì¼ ë°ê¾¸ê¸°",removeFileCaption:"íì¼ ì ê±°",booleanCheckedLabel:"ì",booleanUncheckedLabel:"ìëì¤",confirmRemoveFile:"{0} íì¼ì ì ê±° íìê² ìµëê¹?",confirmRemoveAllFiles:"모ë íì¼ì ì ê±° íìê² ìµëê¹?",questionTitlePatternText:"ì§ë¬¸ ì 목",modalCancelButtonText:"ì·¨ì",modalApplyButtonText:"ì ì©",filterStringPlaceholder:"ê²ì ì í...",emptyMessage:"íìí ë°ì´í°ê° ììµëë¤.",noEntriesText:"ìì§ íëª©ì´ ììµëë¤.\nì í목ì ì¶ê°íë ¤ë©´ ìë ë²í¼ì í´ë¦íì¸ì.",noEntriesReadonlyText:"íëª©ì´ ììµëë¤.",tabTitlePlaceholder:"ì í¨ë",more:"ë보기",tagboxDoneButtonCaption:"ê·¸ë",selectToRankEmptyRankedAreaText:"모ë ì í íëª©ì´ ììê° ë§¤ê²¨ì§ëë¤.",selectToRankEmptyUnrankedAreaText:"ì¬ê¸°ì ì í í목ì ëì´ë¤ ëì ìì를 매ê¹ëë¤.",ok:"ê·¸ë",cancel:"ì·¨ì"},nativeName:"íêµì´",englishName:"Korean"})
8,setupLocale({localeCode:"lv",strings:{pagePrevText:"IepriekÅ¡Äja lapa",pageNextText:"NÄkamÄ lapa",completeText:"Iesniegt",previewText:"PriekÅ¡skatÄ«jums",editText:"RediÄ£Ät",startSurveyText:"SÄkt",otherItemText:"Cits (lÅ«dzu, aprakstiet!)",noneItemText:"Nav",refuseItemText:"Atteikties atbildÄt",dontKnowItemText:"Es nezinu",selectAllItemText:"IzvÄlÄties visus",deselectAllItemText:"NoÅemt atlasi visiem",progressText:"{0}. lapa no {1}",indexText:"{0} no {1}",panelDynamicProgressText:"IerakstÄ«t {0} no {1}",panelDynamicTabTextFormat:"Panelis {panelIndex}",questionsProgressText:"AtbildÄts uz {0} / {1} jautÄjumiem",emptySurvey:"Nav neviena jautÄjuma.",completingSurvey:"Pateicamies Jums par anketas aizpildīšanu!",completingSurveyBefore:"MÅ«su ieraksti liecina, ka JÅ«s jau esat aizpildÄ«jis Å¡o aptauju.",loadingSurvey:"IelÄde no servera...",placeholder:"IzvÄlÄties...",ratingOptionsCaption:"Nospiediet Å¡eit, lai novÄrtÄtu...",value:"value",requiredError:"LÅ«dzu, atbildiet uz jautÄjumu!",requiredErrorInPanel:"LÅ«dzu, atbildiet uz vismaz vienu jautÄjumu.",requiredInAllRowsError:"LÅ«dzu, atbildiet uz jautÄjumiem visÄs rindÄs.",eachRowUniqueError:"Katrai rindai jÄbÅ«t unikÄlai vÄrtÄ«bai.",numericError:"Atbildei ir jÄbÅ«t skaitlim.",minError:"VÄrtÄ«ba nedrÄ«kst bÅ«t mazÄka par {0}",maxError:"VÄrtÄ«ba nedrÄ«kst bÅ«t lielÄka par {0}",textNoDigitsAllow:"Numuri nav atļauti.",textMinLength:"LÅ«dzu, ievadiet vismaz {0} simbolus.",textMaxLength:"LÅ«dzu, ievadiet mazÄk nekÄ {0} rakstzÄ«mes.",textMinMaxLength:"LÅ«dzu, ievadiet vairÄk nekÄ {0} rakstzÄ«mes un mazÄk nekÄ {1} rakstzÄ«mes.",minRowCountError:"LÅ«dzu, aizpildiet vismaz {0} rindas.",minSelectError:"LÅ«dzu, izvÄlieties vismaz {0} variantu.",maxSelectError:"LÅ«dzu, izvÄlieties ne vairak par {0} variantiem.",numericMinMax:"'{0}' jÄbÅ«t vienÄdam vai lielÄkam nekÄ {1}, un vienÄdam vai mazÄkam, nekÄ {2}",numericMin:"'{0}' jÄbÅ«t vienÄdam vai lielÄkam {1}",numericMax:"'{0}' jÄbÅ«t vienÄdam vai lielÄkam {1}",invalidEmail:"LÅ«dzu, ievadiet pareizu e-pasta adresi!",invalidExpression:"Izteicienam: {0} jÄatgriež âtrueâ.",urlRequestError:"PieprasÄ«jumÄ tika atgriezta kļūda â{0}â. {1}",urlGetChoicesError:"PieprasÄ«jums atgrieza tukÅ¡us datus vai rekvizÄ«ts âpathâ ir nepareizs",exceedMaxSize:"Faila lielums nedrÄ«kst pÄrsniegt {0}.",noUploadFilesHandler:'Failus nevar augÅ¡upielÄdÄt. LÅ«dzu, pievienojiet apdarinÄtÄju notikumam "onUploadFiles".',otherRequiredError:"LÅ«dzu, ievadiet datus laukÄ 'Cits'",uploadingFile:"JÅ«su fails tiek augÅ¡upielÄdÄts. LÅ«dzu, uzgaidiet dažas sekundes un mÄÄ£iniet vÄlreiz.",loadingFile:"Notiek ielÄde ...",chooseFile:"IzvÄlieties failus ...",noFileChosen:"Nav izvÄlÄts neviens fails",filePlaceholder:"Lai pievienotu, ievelciet failu Å¡eit vai arÄ« klikšķiniet uz zemÄk redzamÄs pogas",confirmDelete:"Vai vÄlaties izdzÄst ierakstu?",keyDuplicationError:"Å ai vÄrtÄ«bai jÄbÅ«t unikÄlai.",addColumn:"Pievienot kolonnu",addRow:"Pievienot rindu",removeRow:"NoÅemt",emptyRowsText:"Nav rindu.",addPanel:"Pievieno jaunu",removePanel:"NoÅemt",showDetails:"RÄdÄ«t detalizÄtu informÄciju",hideDetails:"SlÄpt detaļas",choices_Item:"vienums",matrix_column:"Sleja",matrix_row:"Rinda",multipletext_itemname:"teksts",savingData:"RezultÄti tiek saglabÄti serverÄ« ...",savingDataError:"RadÄs kļūda, un mÄs nevarÄjÄm saglabÄt rezultÄtus.",savingDataSuccess:"RezultÄti tika veiksmÄ«gi saglabÄti!",savingExceedSize:"JÅ«su atbilde pÄrsniedz 64 KB. LÅ«dzu, samaziniet sava(-u) faila(-u) lielumu un mÄÄ£iniet vÄlreiz vai sazinieties ar aptaujas Ä«paÅ¡nieku.",saveAgainButton:"MÄÄ£iniet vÄlreiz",timerMin:"min",timerSec:"sek",timerSpentAll:"Å ajÄ lapÄ esat iztÄrÄjis {0} un kopÄ {1}.",timerSpentPage:"Å ajÄ lapÄ esat iztÄrÄjis {0}.",timerSpentSurvey:"KopÄ esat iztÄrÄjis {0}.",timerLimitAll:"Å ajÄ lapÄ esat iztÄrÄjis {0} no {1} un kopÄ {2} no {3}.",timerLimitPage:"Å ajÄ lapÄ esat iztÄrÄjis {0} no {1}.",timerLimitSurvey:"KopÄ esat iztÄrÄjis {0} no {1}.",clearCaption:"IztÄ«rÄ«t",signaturePlaceHolder:"Parakstieties Å¡eit",signaturePlaceHolderReadOnly:"Nav paraksta",chooseFileCaption:"IzvÄlÄties failu",takePhotoCaption:"UzÅemt fotoattÄlu",photoPlaceholder:"Noklikšķiniet uz pogas zemÄk, lai uzÅemtu fotoattÄlu, izmantojot kameru.",fileOrPhotoPlaceholder:"Velciet un nometiet vai atlasiet failu, ko augÅ¡upielÄdÄt vai uzÅemt fotoattÄlu, izmantojot kameru.",replaceFileCaption:"AizstÄt failu",removeFileCaption:"NoÅemiet Å¡o failu",booleanCheckedLabel:"JÄ",booleanUncheckedLabel:"NÄ",confirmRemoveFile:"Vai tieÅ¡Äm vÄlaties noÅemt Å¡o failu: {0}?",confirmRemoveAllFiles:"Vai tieÅ¡Äm vÄlaties noÅemt visus failus?",questionTitlePatternText:"JautÄjuma nosaukums",modalCancelButtonText:"Atcelt",modalApplyButtonText:"Pielietot",filterStringPlaceholder:"Ierakstiet, lai meklÄtu...",emptyMessage:"Nav datu, ko rÄdÄ«t",noEntriesText:"VÄl nav neviena ieraksta.\nNoklikšķiniet uz zemÄk esoÅ¡Äs pogas, lai pievienotu jaunu ierakstu.",noEntriesReadonlyText:"Ierakstu nav.",tabTitlePlaceholder:"Jauns panelis",more:"VairÄk",tagboxDoneButtonCaption:"LABI",selectToRankEmptyRankedAreaText:"Visas izvÄles ir sarindotas",selectToRankEmptyUnrankedAreaText:"Velciet un nometiet izvÄles iespÄjas Å¡eit, lai tÄs sarindotu",ok:"LABI",cancel:"Atcelt"},nativeName:"latvieÅ¡u",englishName:"Latvian"}),setupLocale({localeCode:"lt",strings:{pagePrevText:"Atgal",pageNextText:"Tol
8iau",completeText:"Baigti",previewText:"PeržiÅ«ra",editText:"Redaguoti",startSurveyText:"PradÄti",otherItemText:"Kita (įvesti)",noneItemText:"NÄra",refuseItemText:"Atsisakyti atsakyti",dontKnowItemText:"Nežinau",selectAllItemText:"Pasirinkti visus",deselectAllItemText:"Panaikinkite visų žymÄjimÄ
",progressText:"Puslapis {0} iÅ¡ {1}",indexText:"{1} {0}",panelDynamicProgressText:"Ä®raÅ¡yti {0} iÅ¡ {1}",panelDynamicTabTextFormat:"Skydelis {panelIndex}",questionsProgressText:"AtsakÄ Ä¯ {0} / {1} klausimus",emptySurvey:"Apklausoje nÄra matomo puslapio ar klausimo.",completingSurvey:"DÄkojame už dalyvavimÄ
apklausoje!",completingSurveyBefore:"MÅ«sų įraÅ¡ai rodo, kad jau atlikote Å¡iÄ
apklausÄ
.",loadingSurvey:"PraÅ¡ome palaukti...",placeholder:"Pasirinkti...",ratingOptionsCaption:"ŽymÄti...",value:"reikÅ¡mÄ",requiredError:"BÅ«tina atsakyti į šį klausimÄ
.",requiredErrorInPanel:"BÅ«tina atsakyti bent į vienÄ
klausimÄ
.",requiredInAllRowsError:"PraÅ¡ome atsakyti į klausimus visose eilutÄse.",eachRowUniqueError:"Kiekviena eilutÄ turi turÄti unikaliÄ
reikÅ¡mÄ.",numericError:"Turi bÅ«ti skaiÄiai.",minError:"VertÄ neturÄtų bÅ«ti mažesnÄ nei {0}",maxError:"VertÄ neturÄtų bÅ«ti didesnÄ nei {0}",textNoDigitsAllow:"Numeriai neleidžiami.",textMinLength:"PraÅ¡ome suvesti bent {0} simbolius.",textMaxLength:"PraÅ¡ome suvesti mažiau nei {0} simbolių.",textMinMaxLength:"PraÅ¡ome suvesti daugiau nei {0} ir mažiau nei {1} simbolių.",minRowCountError:"PraÅ¡ome suvesti ne mažiau nei {0} eiluÄių.",minSelectError:"PraÅ¡ome pasirinkti bent {0} variantų.",maxSelectError:"Pasirinkite ne daugiau kaip {0} variantus.",numericMinMax:"'{0}' turi bÅ«ti lygus arba didesnis nei {1} ir lygus arba mažesnis nei {2}",numericMin:"'{0}' turÄtų bÅ«ti lygus arba didesnis nei {1}",numericMax:"'{0}' turÄtų bÅ«ti lygus ar mažesnis už {1}",invalidEmail:"PraÅ¡ome įvesti galiojantį elektroninio paÅ¡to adresÄ
.",invalidExpression:"ReikÅ¡mÄ: {0} turi grÄ
žinti 'true'.",urlRequestError:"Užklausa grÄ
žino klaidÄ
'{0}'. {1}",urlGetChoicesError:"Užklausa grÄ
žino tuÅ¡Äius duomenis arba 'path' savybÄ yra neteisinga",exceedMaxSize:"Failo dydis neturi virÅ¡yti {0}.",noUploadFilesHandler:'Failų įkelti negalima. PridÄkite įvykio "onUploadFiles" tvarkytojÄ
.',otherRequiredError:"Ä®veskite kitÄ
reikÅ¡mÄ.",uploadingFile:"JÅ«sų failas yra keliamas. Palaukite keletÄ
sekundžių ir bandykite dar kartÄ
.",loadingFile:"PraÅ¡ome palaukti...",chooseFile:"Pasirinkti failÄ
(us)...",noFileChosen:"Nepasirinktas joks failas",filePlaceholder:"Nuvilkite failÄ
Äia arba spustelÄkite žemiau esantį mygtukÄ
ir pasirinkite failÄ
, kurį norite įkelti.",confirmDelete:"Ar norite iÅ¡trinti įraÅ¡Ä
?",keyDuplicationError:"Å i reikÅ¡mÄ turÄtų bÅ«ti unikali.",addColumn:"PridÄti stulpelį",addRow:"PridÄti eilutÄ",removeRow:"IÅ¡trinti",emptyRowsText:"Eilių nÄra.",addPanel:"PridÄti naujÄ
",removePanel:"IÅ¡trinti",showDetails:"Rodyti iÅ¡samiÄ
informacijÄ
",hideDetails:"SlÄpti iÅ¡samiÄ
informacijÄ
",choices_Item:"elementas",matrix_column:"Stulpelis",matrix_row:"EilutÄ",multipletext_itemname:"SMS žinutÄ",savingData:"Rezultatai saugomi serveryje...",savingDataError:"Ä®vyko klaida ir mes negalÄjome iÅ¡saugoti rezultatų.",savingDataSuccess:"Rezultatai buvo iÅ¡saugoti sÄkmingai!",savingExceedSize:"JÅ«sų atsakymas virÅ¡ija 64 KB. Sumažinkite failo (-ų) dydį ir bandykite dar kartÄ
arba susisiekite su apklausos savininku.",saveAgainButton:"Bandyti dar kartÄ
",timerMin:"min",timerSec:"sek",timerSpentAll:"Praleidote {0} Å¡iame puslapyje ir {1} iÅ¡ viso.",timerSpentPage:"Praleidote {0} Å¡iame puslapyje.",timerSpentSurvey:"Praleidote {0} iÅ¡ viso.",timerLimitAll:"Praleidote {0} iÅ¡ {1} Å¡iame puslapyje ir {2} iÅ¡ {3} iÅ¡ viso.",timerLimitPage:"Praleidote {0} iÅ¡ {1} Å¡iame puslapyje.",timerLimitSurvey:"Praleidote {0} iÅ¡ {1} iÅ¡ viso.",clearCaption:"Valyti",signaturePlaceHolder:"PasiraÅ¡ykite Äia",signaturePlaceHolderReadOnly:"NÄra paraÅ¡o",chooseFileCaption:"Pasirinkti failÄ
",takePhotoCaption:"Fotografuoti",photoPlaceholder:"SpustelÄkite žemiau esantį mygtukÄ
, ka
8d nufotografuotumÄte fotoaparatu.",fileOrPhotoPlaceholder:"Nuvilkite arba pasirinkite failÄ
, kurį norite įkelti arba nufotografuoti naudodami fotoaparatÄ
.",replaceFileCaption:"Pakeiskite failÄ
",removeFileCaption:"IÅ¡trinti šį failÄ
",booleanCheckedLabel:"Taip",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Ar tikrai norite paÅ¡alinti šį failÄ
: {0}?",confirmRemoveAllFiles:"Ar tikrai norite paÅ¡alinti visus failus?",questionTitlePatternText:"Klausimo pavadinimas",modalCancelButtonText:"AtÅ¡aukti",modalApplyButtonText:"Vartoti",filterStringPlaceholder:"Ä®veskite, kad ieÅ¡kotumÄte...",emptyMessage:"NÄra rodomų duomenų",noEntriesText:"Ä®rašų dar nÄra.\nSpustelÄkite žemiau esantį mygtukÄ
, kad pridÄtumÄte naujÄ
įraÅ¡Ä
.",noEntriesReadonlyText:"Ä®rašų nÄra.",tabTitlePlaceholder:"Naujas skydelis",more:"Daugiau",tagboxDoneButtonCaption:"GERAI",selectToRankEmptyRankedAreaText:"Visi pasirinkimai yra reitinguojami",selectToRankEmptyUnrankedAreaText:"Nuvilkite pasirinkimus Äia, kad juos reitinguotumÄte",ok:"GERAI",cancel:"AtÅ¡aukti"},nativeName:"lietuvių",englishName:"Lithuanian"}),setupLocale({localeCode:"mk",strings:{pagePrevText:"ÐÑеÑÑ
одна",pageNextText:"Следно",completeText:"ÐавÑÑи",previewText:"ÐÑеглед",editText:"УÑедÑваÑе",startSurveyText:"ÐапоÑнеÑе",otherItemText:"ÐÑÑго (опиÑи)",noneItemText:"ÐиÑÑо",refuseItemText:"ÐÐ´Ð±Ð¸Ñ Ð´Ð° одговоÑиÑ.",dontKnowItemText:"Ðе знам",selectAllItemText:"СелекÑиÑÐ°Ñ Ñе",deselectAllItemText:"ÐÑÑÑÑанеÑе ÑелекÑиÑа на ÑиÑе",progressText:"СÑÑаниÑа {0} од {1}",indexText:"{0} на {1}",panelDynamicProgressText:"Сними {0} од {1}",panelDynamicTabTextFormat:"Ðанел {панел ÐндекÑ}",questionsProgressText:"ÐдговоÑени на {0} / {1} пÑаÑаÑа",emptySurvey:"Ðема видлива ÑÑÑаниÑа или пÑаÑаÑе во иÑÑÑажÑваÑеÑо.",completingSurvey:"Ðи благодаÑиме ÑÑо го завÑÑивÑе иÑÑÑажÑваÑеÑо!",completingSurveyBefore:"ÐаÑиÑе запиÑи покажÑÐ²Ð°Ð°Ñ Ð´ÐµÐºÐ° веÑе ÑÑе го завÑÑиле ова иÑÑÑажÑваÑе.",loadingSurvey:"ÐнкеÑаÑа Ñе вÑиÑÑва ...",placeholder:"ÐзбеÑеÑе ...",ratingOptionsCaption:"ÐзбеÑеÑе...",value:"вÑедноÑÑ",requiredError:"Ðе молам, одговоÑеÑе на пÑаÑаÑеÑо.",requiredErrorInPanel:"Ðе молам, одговоÑеÑе баÑем на едно пÑаÑаÑе.",requiredInAllRowsError:"Ðе молиме, одговоÑеÑе на пÑаÑаÑа во ÑиÑе Ñедови.",eachRowUniqueError:"Ð¡ÐµÐºÐ¾Ñ Ñед моÑа да има ÑникаÑна вÑедноÑÑ.",numericError:"ÐÑедноÑÑа ÑÑеба да биде нÑмеÑиÑка.",minError:"ÐÑедноÑÑа не ÑÑеба да биде помала од {0}",maxError:"ÐÑедноÑÑа не ÑÑеба да биде поголема од {0}",textNoDigitsAllow:"ÐÑоевиÑе не Ñе дозволени.",textMinLength:"ÐнеÑеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} знак/Ñи.",textMaxLength:"ÐнеÑеÑе не повеÑе од {0} знак/Ñи.",textMinMaxLength:"ÐнеÑеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} и не повеÑе од {1} знаÑи.",minRowCountError:"ÐополнеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} Ñед(ови).",minSelectError:"Ðе молиме избеÑеÑе наÑÐ¼Ð°Ð»ÐºÑ {0} ваÑиÑанÑа(и).",maxSelectError:"ÐзбеÑеÑе не повеÑе од {0} ваÑиÑанÑа(и).",numericMinMax:"'{0}' ÑÑеба да биде наÑÐ¼Ð°Ð»ÐºÑ {1} и наÑÐ¼Ð½Ð¾Ð³Ñ {2}",numericMin:"'{0}' ÑÑеба да биде наÑÐ¼Ð°Ð»ÐºÑ {1}",numericMax:"'{0}' ÑÑеба да биде наÑÐ¼Ð½Ð¾Ð³Ñ {1}",invalidEmail:"Ðе молиме внеÑеÑе валидна е-маил адÑеÑа.",invalidExpression:"ÐзÑазоÑ: {0} ÑÑеба да Ñе вÑаÑи 'true'.",urlRequestError:"ÐаÑаÑеÑо вÑаÑи гÑеÑка '{0}'. {1} ",urlGetChoicesError:"ÐаÑаÑеÑо вÑаÑи пÑазни подаÑоÑи или ÑвоÑÑÑвоÑо 'path' е неÑоÑно",exceedMaxSize:"ÐолеминаÑа на даÑоÑекаÑа не ÑÑеба да надминÑва {0}.",noUploadFilesHandler:"ФаÑловиÑе не Ð¼Ð¾Ð¶Ð°Ñ Ð´Ð° Ñе каÑÑвааÑ. Ðе молиме додадеÑе ÑаководиÑел за наÑÑÐ°Ð½Ð¾Ñ 'onUploadFiles'.",otherRequiredError:"ÐнеÑеÑе Ñа дÑÑгаÑа вÑедноÑÑ.",uploadingFile:"ÐаÑаÑа даÑоÑека Ñе поÑÑавÑва. Ðе молиме поÑекаÑÑе Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди и обидеÑе Ñе повÑоÑно.",loadingFile:"Се вÑиÑÑва ...",chooseFile:"ÐзбеÑеÑе даÑоÑека (и) ...",noFileChosen:"Ðе Ñе избÑани даÑоÑеки",filePlaceholder:"ÐÑÑÑеÑе даÑоÑека овде или кликнеÑе на копÑеÑо Ð¿Ð¾Ð´Ð¾Ð»Ñ Ð·Ð° да Ñа вÑиÑаÑе даÑоÑекаÑа.",confirmDelete:"Ðали ÑакаÑе да го избÑиÑеÑе запиÑоÑ?",keyDuplicationError:"Ðваа вÑедноÑÑ ÑÑеба да биде единÑÑвена.",addColumn:"ÐÐ¾Ð´Ð°Ñ ÐºÐ¾Ð»Ð¾Ð½Ð°",addRow:"Ðодади Ñед",removeRow:"ÐÑÑÑÑани",emptyRowsText:"Ðема Ñедови.",addPanel:"Ðодади ново",removePanel:"ÐÑÑÑÑани",showDetail
8s:"ÐÑикажÑваÑе на деÑалиÑе",hideDetails:"СокÑÐ¸Ñ Ð³Ð¸ деÑалиÑе.",choices_Item:"ÑÑавка",matrix_column:"Ðолона",matrix_row:"Ред",multipletext_itemname:"ÑекÑÑ.",savingData:"РезÑлÑаÑиÑе Ñе заÑÑвÑÐ²Ð°Ð°Ñ Ð½Ð° ÑеÑвеÑÐ¾Ñ ...",savingDataError:"ÐаÑÑана гÑеÑка и не можевме да ги заÑÑваме ÑезÑлÑаÑиÑе.",savingDataSuccess:"РезÑлÑаÑиÑе беа ÑÑпеÑно заÑÑвани!",savingExceedSize:"ÐаÑÐ¸Ð¾Ñ Ð¾Ð´Ð³Ð¾Ð²Ð¾Ñ Ð½Ð°Ð´Ð¼Ð¸Ð½Ñва 64KB. Ðе молиме да Ñа намалиÑе големинаÑа на ваÑаÑа(иÑе) даÑоÑека(и) и обидеÑе Ñе повÑоÑно или конÑакÑиÑаÑÑе го ÑопÑÑÐ²ÐµÐ½Ð¸ÐºÐ¾Ñ Ð½Ð° иÑÑÑажÑваÑеÑо.",saveAgainButton:"Ðбиди Ñе повÑоÑно",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"ÐоминавÑе {0} на оваа ÑÑÑаниÑа и вкÑпно {1}.",timerSpentPage:"ÐоминавÑе {0} на оваа ÑÑÑаниÑа.",timerSpentSurvey:"Ðие поÑÑоÑивÑе вкÑпно {0}.",timerLimitAll:"ÐоминавÑе {0} од {1} на оваа ÑÑÑаниÑа и {2} од {3} вкÑпно.",timerLimitPage:"ÐоминавÑе {0} од {1} на оваа ÑÑÑаниÑа.",timerLimitSurvey:"Ðие поÑÑоÑивÑе вкÑпно {0} од {1}.",clearCaption:"Ðа ÑаÑÑиÑÑи",signaturePlaceHolder:"ÐоÑпиÑи Ñе овде.",signaturePlaceHolderReadOnly:"Ðема поÑпиÑ",chooseFileCaption:"ÐзбеÑеÑе даÑоÑека",takePhotoCaption:"ФоÑогÑаÑиÑаÑÑе",photoPlaceholder:"ÐликнеÑе на копÑеÑо Ð¿Ð¾Ð´Ð¾Ð»Ñ Ð·Ð° да ÑоÑогÑаÑиÑаÑе коÑиÑÑеÑÑи Ñа камеÑаÑа.",fileOrPhotoPlaceholder:"ÐлеÑеÑе и ÑÑлаÑÑе или избеÑеÑе даÑоÑека за каÑÑваÑе или ÑоÑогÑаÑиÑаÑе коÑиÑÑеÑÑи Ñа камеÑаÑа.",replaceFileCaption:"ÐаменеÑе го ÑаÑлоÑ.",removeFileCaption:"ÐÑÑÑÑанеÑе Ñа оваа даÑоÑека",booleanCheckedLabel:"Ðа",booleanUncheckedLabel:"Ðе",confirmRemoveFile:"Ðали ÑÑе ÑигÑÑни дека ÑакаÑе да Ñа оÑÑÑÑаниÑе оваа даÑоÑека: {0}?",confirmRemoveAllFiles:"Ðали ÑÑе ÑигÑÑни дека ÑакаÑе да ги оÑÑÑÑаниÑе ÑиÑе даÑоÑеки?",questionTitlePatternText:"ÐаÑлов на пÑаÑаÑеÑо",modalCancelButtonText:"ÐÑкажи",modalApplyButtonText:"ÐплиÑиÑаÑ",filterStringPlaceholder:"Тип за пÑебаÑÑваÑе...",emptyMessage:"Ðема подаÑоÑи за пÑикажÑваÑе",noEntriesText:"СеÑÑÑе нема влезниÑи.\nÐликнеÑе на копÑеÑо Ð¿Ð¾Ð´Ð¾Ð»Ñ Ð·Ð° да додадеÑе нов влез.",noEntriesReadonlyText:"Ðема влезниÑи.",tabTitlePlaceholder:"Ðов панел",more:"ÐовеÑе",tagboxDoneButtonCaption:"ÐÐÐÐ Ð",selectToRankEmptyRankedAreaText:"СиÑе избоÑи Ñе ÑангиÑани",selectToRankEmptyUnrankedAreaText:"ÐлеÑеÑе и ÑÑлеÑе го избоÑÐ¾Ñ Ð¾Ð²Ð´Ðµ за да ги ÑангиÑаÑе",ok:"ÐÐÐÐ Ð",cancel:"ÐÑкажи"},nativeName:"македонÑки",englishName:"Macedonian"}),setupLocale({localeCode:"ms",strings:{pagePrevText:"Sebelumnya",pageNextText:"Seterusnya",completeText:"Selesai",previewText:"Pratonton",editText:"Edit",startSurveyText:"Mula",otherItemText:"Lain (terangkan)",noneItemText:"Tiada",refuseItemText:"Enggan menjawab",dontKnowItemText:"Tak tahu",selectAllItemText:"Pilih Semua",deselectAllItemText:"Nyahpilih semua",progressText:"Halaman {0} daripada {1}",indexText:"{0} {1}",panelDynamicProgressText:"Rekod {0} daripada {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} soalan telah dijawab",emptySurvey:"Tiada halaman atau soalan boleh dilihat dalam tinjauan.",completingSurvey:"Terima kasih kerana melengkapkan tinjauan!",completingSurveyBefore:"Rekod kami menunjukkan yang anda telah melengkapkan tinjauan ini.",loadingSurvey:"Memuatkan Tinjauan...",placeholder:"Pilih...",ratingOptionsCaption:"Pilih...",value:"nilai",requiredError:"Respons diperlukan.",requiredErrorInPanel:"Respons diperlukan: jawab sekurang-kurangnya satu soalan.",requiredInAllRowsError:"Respons diperlukan: jawab soalan dalam semua baris.",eachRowUniqueError:"Setiap baris mesti mempunyai nilai yang unik.",numericError:"Nilai mestilah numerik.",minError:"Nilai tidak boleh kurang daripada {0}",maxError:"Nilai tidak boleh lebih besar daripada {0}",textNoDigitsAllow:"Nombor tidak dibenarkan.",textMinLength:"Sila masukkan sekurang-kurangnya {0} aksara.",textMaxLength:"Sila masukkan tidak lebih daripada {0} aksara.",textMinMaxLength:"Sila masukkan sekurang-kurangnya {0} dan tidak lebih daripada {1} aksara.",minRowCountError:"Sila isikan sekurang-kurangnya {0} baris.",minSelectError:"Sila pilih sekurang-kurangnya {0} varian.",maxSelectError:"Sila pilih tidak lebih daripada {0} varian.",numericMinMax:"'{0}' mestilah sekurang-kurangnya {1} dan paling banyak {2}",numericMin:"'{0}' mestilah sekurang-kurangnya {1}",numericMax:"'{0}' mestilah paling banyak {1}
8",invalidEmail:"Sila masukkan alamat e-mel yang sah.",invalidExpression:"Ekspresi: {0} hendaklah mengembalikan nilai 'benar'.",urlRequestError:"Permintaan mengembalikan ralat '{0}'. {1}",urlGetChoicesError:"Permintaan mengembalikan data kosong atau ciri 'laluan' salah",exceedMaxSize:"Saiz fail hendaklah tidak melebihi {0}.",noUploadFilesHandler:"Fail tidak boleh dimuat naik. Sila tambah pengendali untuk acara 'onUploadFiles'.",otherRequiredError:"Respons diperlukan: masukkan nilai lain.",uploadingFile:"Fail anda sedang dimuat naik. Sila tunggu beberapa saat dan cuba lagi.",loadingFile:"Memuat...",chooseFile:"Pilih fail...",noFileChosen:"Tiada fail dipilih",filePlaceholder:"Letakkan fail di sini atau klik butang di bawah untuk memuatkan fail.",confirmDelete:"Adakah anda ingin memadamkan rekod?",keyDuplicationError:"Nilai ini hendaklah unik.",addColumn:"Tambahkan lajur",addRow:"Tambahkan baris",removeRow:"Alih keluar",emptyRowsText:"Tiada baris.",addPanel:"Tambah baharu",removePanel:"Alih keluar",showDetails:"Tunjukkan Butiran",hideDetails:"Sembunyikan Butiran",choices_Item:"item",matrix_column:"Lajur",matrix_row:"Baris",multipletext_itemname:"teks",savingData:"Keputusan sedang disimpan pada pelayan...",savingDataError:"Ralat berlaku dan kami tidak dapat menyimpan keputusan.",savingDataSuccess:"Keputusan berjaya disimpan!",savingExceedSize:"Jawapan anda melebihi 64KB. Sila kurangkan saiz fail anda dan cuba lagi atau hubungi pemilik tinjauan.",saveAgainButton:"Cuba lagi",timerMin:"min",timerSec:"saat",timerSpentAll:"Anda telah meluangkan {0} pada halaman ini dan {1} secara keseluruhan.",timerSpentPage:"Anda telah meluangkan {0} pada halaman ini.",timerSpentSurvey:"Anda telah meluangkan {0} secara keseluruhan.",timerLimitAll:"Anda telah meluangkan {0} daripada {1} pada halaman ini dan {2} daripada {3} secara keseluruhan.",timerLimitPage:"Anda telah meluangkan {0} daripada {1} pada halaman ini.",timerLimitSurvey:"Anda telah meluangkan {0} daripada {1} secara keseluruhan.",clearCaption:"Kosongkan",signaturePlaceHolder:"Tandatangan di sini",signaturePlaceHolderReadOnly:"Tiada tandatangan",chooseFileCaption:"Pilih fail",takePhotoCaption:"Ambil gambar",photoPlaceholder:"Klik butang di bawah untuk mengambil gambar menggunakan kamera.",fileOrPhotoPlaceholder:"Seret dan lepas atau pilih fail untuk memuat naik atau mengambil foto menggunakan kamera.",replaceFileCaption:"Gantikan fail",removeFileCaption:"Alih keluar fail ini",booleanCheckedLabel:"Ya",booleanUncheckedLabel:"Tidak",confirmRemoveFile:"Anda pasti ingin mengalih keluar fail ini: {0}?",confirmRemoveAllFiles:"Anda pasti ingin mengalih keluar semua fail?",questionTitlePatternText:"Tajuk Soalan",modalCancelButtonText:"Batal",modalApplyButtonText:"Guna",filterStringPlaceholder:"Taip untuk membuat carian...",emptyMessage:"Tiada data untuk dipaparkan",noEntriesText:"Belum ada entri.\nKlik butang di bawah untuk menambahkan entri.",noEntriesReadonlyText:"Tiada penyertaan.",tabTitlePlaceholder:"Panel Baru",more:"Lebih banyak",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Semua pilihan disenaraikan",selectToRankEmptyUnrankedAreaText:"Seret dan lepaskan pilihan di sini untuk meletakkannya",ok:"OK",cancel:"Batal"},nativeName:"melayu",englishName:"Malay"}),setupLocale({localeCode:"no",strings:{pagePrevText:"Forrige",pageNextText:"Neste",completeText:"Fullf\xf8r",previewText:"Forh\xe5ndsvisning",editText:"Redigere",startSurveyText:"Start",otherItemText:"Annet (beskriv)",noneItemText:"Ingen",refuseItemText:"Nekter \xe5 svare",dontKnowItemText:"Vet ikke",selectAllItemText:"Velg alle",deselectAllItemText:"Fjern merket for alle",progressText:"Side {0} av {1}",indexText:"{0} av {1}",panelDynamicProgressText:"Ta opp {0} av {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Besvarte {0} / {1} sp\xf8rsm\xe5l",emptySurvey:"Det er ingen synlig side eller sp\xf8rsm\xe5l i unders\xf8kelsen.",completingSurvey:"Takk for at du fullf\xf8rte unders\xf8kelsen!",completingSurveyBefore:"V\xe5re data viser at du allerede har gjennomf\xf8rt denne unders\xf8kelsen.",loadingSurvey:"Unders\xf8kelsen laster...",placeholder:"Velg...",ratingOptionsCaption:"Velge...",value:"verdi",requiredError:"Vennligst svar p\xe5 sp\xf8rsm\xe5let.",requiredErrorInPanel:"Vennligst svar p\xe5 minst ett sp\xf8rsm\xe5l.",requiredInAllRowsError:"Vennligst svar p\xe5 sp\xf8rsm\xe5l i alle rader.",eachRowUniqueError:"Hver rad m\xe5 ha en unik verdi.",numericError:"Verdien skal v\xe6re numerisk.",minError:"Verdien b\xf8r ikke v\xe6re mindre enn {0}",maxError:"Verdien b\xf8r ikke v\xe6re st\xf8rre enn {0}",textNoDigitsAllow:"Tall er ikke tillatt.",textMinLength:"Vennligst skriv inn minst {0} tegn.",textMaxLength:"Vennligst skriv inn mindre enn {0} tegn.",textMinMaxLength:"Vennligst skriv inn mer enn {0} og mindre enn {1} tegn.",minRowCountError:"Vennligst fyll inn minst {0} rader.",minSelectError:"Vennligst velg minst {0} varianter.",maxSelectError:"Vennligst ikke velg mer enn {0} varianter.",numericMinMax:"'{0}' b\xf8r v\xe6re lik eller mer enn {1} og lik eller mindre enn {2}",numericMin:"'{0}' b\xf8r v\xe6re lik eller mer enn {1}",numericMax:"'{0}' b\xf8r v\xe6re lik eller mindre enn {1}
8",invalidEmail:"Vennligst skriv inn en gyldig e-post adresse.",invalidExpression:"Uttrykket: {0} skal returnere 'sant'.",urlRequestError:"Foresp\xf8rselen returnerte feilen '{0}'. {1}",urlGetChoicesError:"Foresp\xf8rselen returnerte tomme data, eller 'sti' -egenskapen er feil",exceedMaxSize:"Filst\xf8rrelsen b\xf8r ikke overstige {0}.",noUploadFilesHandler:"Filer kan ikke lastes opp. Legg til et behandlingsprogram for onUploadFiles-hendelsen.",otherRequiredError:"Vennligst skriv inn den andre verdien.",uploadingFile:"Filen din lastes opp. Vennligst vent noen sekunder og pr\xf8v igjen.",loadingFile:"Laster inn ...",chooseFile:"Velg fil (er) ...",noFileChosen:"Ingen fil valgt",filePlaceholder:"Dra og slipp en fil her, eller klikk p\xe5 knappen nedenfor og velg en fil du vil laste opp.",confirmDelete:"\xd8nsker du \xe5 slette posten?",keyDuplicationError:"Denne verdien skal v\xe6re unik.",addColumn:"Legg til kolonne",addRow:"Legg til rad",removeRow:"Fjern",emptyRowsText:"Det er ingen rader.",addPanel:"Legg til ny",removePanel:"Fjerne",showDetails:"Vis detaljer",hideDetails:"Skjul detaljer",choices_Item:"element",matrix_column:"Kolonne",matrix_row:"Rad",multipletext_itemname:"Tekst",savingData:"Resultatene lagres p\xe5 serveren ...",savingDataError:"Det oppsto en feil, og vi kunne ikke lagre resultatene.",savingDataSuccess:"Resultatene ble lagret!",savingExceedSize:"Svaret ditt overstiger 64 kB. Reduser st\xf8rrelsen p\xe5 filen(e) din(e), og pr\xf8v p\xe5 nytt, eller kontakt eieren av en sp\xf8rreunders\xf8kelse.",saveAgainButton:"Pr\xf8v igjen",timerMin:"min",timerSec:"sek",timerSpentAll:"Du har tilbrakt {0} p\xe5 denne siden og {1} totalt.",timerSpentPage:"Du har tilbrakt {0} p\xe5 denne siden.",timerSpentSurvey:"Du har tilbrakt {0} totalt.",timerLimitAll:"Du har tilbrakt {0} av {1} p\xe5 denne siden og totalt {2} av {3}.",timerLimitPage:"Du har tilbrakt {0} av {1} p\xe5 denne siden.",timerLimitSurvey:"Du har tilbrakt {0} av {1} totalt.",clearCaption:"Klar",signaturePlaceHolder:"Logg inn her",signaturePlaceHolderReadOnly:"Ingen signatur",chooseFileCaption:"Velg Fil",takePhotoCaption:"Ta bilde",photoPlaceholder:"Klikk p\xe5 knappen nedenfor for \xe5 ta et bilde med kameraet.",fileOrPhotoPlaceholder:"Dra og slipp eller velg en fil for \xe5 laste opp eller ta et bilde med kameraet.",replaceFileCaption:"Erstatt fil",removeFileCaption:"Fjern denne filen",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nei",confirmRemoveFile:"Er du sikker p\xe5 at du vil fjerne denne filen: {0}?",confirmRemoveAllFiles:"Er du sikker p\xe5 at du vil fjerne alle filene?",questionTitlePatternText:"Sp\xf8rsm\xe5lstittel",modalCancelButtonText:"Annullere",modalApplyButtonText:"Bruke",filterStringPlaceholder:"Skriv for \xe5 s\xf8ke ...",emptyMessage:"Ingen data \xe5 vise",noEntriesText:"Det er ingen oppf\xf8ringer enn\xe5.\nKlikk p\xe5 knappen nedenfor for \xe5 legge til en ny o
8ppf\xf8ring.",noEntriesReadonlyText:"Det er ingen oppf\xf8ringer.",tabTitlePlaceholder:"Nytt panel",more:"Mer",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Alle valg er rangert",selectToRankEmptyUnrankedAreaText:"Dra og slipp valg her for \xe5 rangere dem",ok:"OK",cancel:"Annullere"},nativeName:"norsk",englishName:"Norwegian"}),setupLocale({localeCode:"fa",strings:{pagePrevText:"ÙØ¨ÙÛ",pageNextText:"بعدÛ",completeText:"تکÙ
ÛÙ",previewText:"Ù¾ÛØ´ ÙÙ
Ø§ÛØ´",editText:"ÙÛØ±Ø§ÛØ´",startSurveyText:"Ø´Ø±ÙØ¹",otherItemText:"دÛگر(ØªÙØ¶ÛØ)",noneItemText:"ÙÛÚ",refuseItemText:"اÙ
ØªÙØ§Ø¹ از پاسخ دادÙ",dontKnowItemText:"ÙÙ
Û Ø¯Ø§ÙÙ
",selectAllItemText:"Ø§ÙØªØ®Ø§Ø¨ ÙÙ
Ù",deselectAllItemText:"ÙØºÙ Ø§ÙØªØ®Ø§Ø¨ ÙÙ
Ù",progressText:"ØµÙØÙ {0} از {1}",indexText:"{0} {1}",panelDynamicProgressText:"Ù
ÙØ±Ø¯ {0} از {1}",panelDynamicTabTextFormat:"Ù¾ÙÙ {panelIndex}",questionsProgressText:"تعداد پاسخ {0}/{1} Ø³ÙØ§Ù",emptySurvey:"ØµÙØÙ Ø§Û ÛØ§ گزÛÙÙ Ø§Û Ø¨Ø±Ø§Û Ø§ÛÙ Ù¾Ø±Ø³Ø´ÙØ§Ù
Ù Ù
ÙØ¬Ùد ÙÛØ³Øª.",completingSurvey:"از Ø´Ù
ا بابت تکÙ
Û٠اÛÙ Ù¾Ø±Ø³Ø´ÙØ§Ù
Ù Ù
تشکرÛÙ
",completingSurveyBefore:"Ø¨Ù ÙØ¸Ø± Ù
Û Ø±Ø³Ø¯ ÙÙ
ÙÙ
اکÙÙÙ Ù¾Ø±Ø³Ø´ÙØ§Ù
٠را تکÙ
ÛÙ Ú©Ø±Ø¯Ù Ø§ÛØ¯.",loadingSurvey:"Ø¯Ø±ØØ§Ù Ø§ÛØ¬Ø§Ø¯ Ù¾Ø±Ø³Ø´ÙØ§Ù
Ù",placeholder:"Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯...",ratingOptionsCaption:"Ø§ÙØªØ®Ø§Ø¨...",value:"Ù
ÙØ¯Ø§Ø±",requiredError:"ÙØ·Ùا Ø¨Ù Ø³ÙØ§Ù پاسخ دÙÛØ¯",requiredErrorInPanel:"ÙØ·Ùا ØØ¯Ø§Ù٠ب٠ÛÚ© Ø³ÙØ§Ù پاسخ دÙÛØ¯.",requiredInAllRowsError:"ÙØ·Ùا Ø³ÙØ§Ùات تÙ
اÙ
Ø³Ø·Ø±ÙØ§ را پاسخ دÙÛØ¯.",eachRowUniqueError:"ÙØ± سطر Ø¨Ø§ÛØ¯ ÛÚ© Ù
ÙØ¯Ø§Ø± Ù
ÙØØµØ± Ø¨Ù ÙØ±Ø¯ داشت٠باشد.",numericError:"Ù
ÙØ¯Ø§Ø± Ø¨Ø§ÛØ¯ Ø¹Ø¯Ø¯Û Ø¨Ø§Ø´Ø¯",minError:"ارزش ÙØ¨Ø§Ûد Ú©Ù
تر از {0}",maxError:"ارزش ÙØ¨Ø§Ûد Ø¨ÛØ´ØªØ± از {0}",textNoDigitsAllow:"Ø´Ù
Ø§Ø±Ù ÙØ§ Ù
جاز ÙÛØ³ØªÙد.",textMinLength:"ÙØ·Ùا ØØ¯Ø§ÙÙ {0} ØØ±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯",textMaxLength:"ÙØ·Ùا Ú©Ù
تر از {0} ØØ±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯.",textMinMaxLength:"ÙØ·Ùا Ø¨ÛØ´ØªØ± از {0} ØØ±Ù Ù Ú©Ù
تر از {1} ØØ±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯.",minRowCountError:"ÙØ·Ùا ØØ¯Ø§ÙÙ {0} سطر ÙØ§Ø±Ø¯ Ú©ÙÛØ¯.",minSelectError:"ØØ¯Ø§ÙÙ {0} Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",maxSelectError:"ÙØ·Ùا Ø¨ÛØ´ØªØ± از {0} Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",numericMinMax:"'{0}' Ø¨Ø§ÛØ¯ بÛÙ {1} Ù {2} باشد",numericMin:"'{0}' بزرگتر Ù
ساÙÛ {1} باشد",numericMax:"'{0}' Ø¨Ø§ÛØ¯ Ú©ÙÚکتر ÛØ§ Ù
ساÙÛ {1} باشد",invalidEmail:"ÙØ·Ùا اÛÙ
Û٠صØÛØ Ø¯Ø±Ø¬ Ú©ÙÛØ¯",invalidExpression:"عبارت: {0} پاسخ Ø¨Ø§ÛØ¯ 'true' باشد.",urlRequestError:"Ø¯Ø±Ø®ÙØ§Ø³Øª با خطا Ø±ÙØ¨Ø±Ù شد: '{0}'. {1}",urlGetChoicesError:"Ø¯Ø±Ø®ÙØ§Ø³Øª Ù
Ø³ÛØ±Û خاÙÛ Ø¨Ø§Ø²Ú¯Ø´Øª Ø¯Ø§Ø¯Ù ÛØ§ Ù
Ø³ÛØ± درست ØªÙØ¸ÛÙ
ÙØ´Ø¯Ù",exceedMaxSize:"Ø¨ÛØ´ØªØ±ÛÙ ØØ¬Ù
Ù
جاز ÙØ§ÛÙ: {0}",noUploadFilesHandler:'پرÙÙØ¯ÙÙØ§ را ÙÙ
ÛØªÙØ§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û Ú©Ø±Ø¯. ÙØ·Ùا ÛÚ© گرداÙÙØ¯Ù Ø¨Ø±Ø§Û Ø±ÙÛØ¯Ø§Ø¯ "onUploadFiles" اضاÙÙ Ú©ÙÛØ¯.',otherRequiredError:"Ù
ÙØ¯Ø§Ø± 'دÛگر' را ÙØ§Ø±Ø¯ Ú©ÙÛØ¯",uploadingFile:"ÙØ§Û٠در ØØ§Ù Ø¢ÛÙÙØ¯ است. ÙØ·Ùا صبر Ú©ÙÛØ¯.",loadingFile:"Ø¨Ø§Ø±Ú¯ÛØ±Û...",chooseFile:"Ø§ÙØªØ®Ø§Ø¨ ÙØ§ÛÙ(ÙØ§)...",noFileChosen:"ÙÛÚ ÙØ§ÛÙÛ Ø§ÙØªØ®Ø§Ø¨ ÙØ´Ø¯Ù",filePlaceholder:"Ú©Ø´ÛØ¯Ù Ù Ø±ÙØ§ کرد٠ÛÚ© ÙØ§Û٠در اÛÙØ¬Ø§ Ù ÛØ§ Ú©ÙÛÚ© بر رÙÛ Ø¯Ú©Ù
Ù Ø²ÛØ± Ù ÛÚ© ÙØ§ÛÙ Ø¨Ø±Ø§Û Ø§Ù¾ÙÙØ¯ را Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯.",confirmDelete:"Ø¢ÛØ§ Ù
اÛÙ Ø¨Ù ØØ°Ù اÛ٠ردÛÙ ÙØ³ØªÛدØ",keyDuplicationError:"اÛÙ Ù
ÙØ¯Ø§Ø± Ø¨Ø§ÛØ¯ ØºÛØ± ØªÚ©Ø±Ø§Ø±Û Ø¨Ø§Ø´Ø¯",addColumn:"ستÙÙ Ø¬Ø¯ÛØ¯",addRow:"سطر Ø¬Ø¯ÛØ¯",removeRow:"ØØ°Ù",emptyRowsText:"ÙÛÚ Ø±Ø¯ÛÙÛ ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯.",addPanel:"Ø¬Ø¯ÛØ¯",removePanel:"ØØ°Ù",showDetails:"ÙÙ
Ø§ÛØ´ Ø¬Ø²Ø¦ÛØ§Øª",hideDetails:"Ù
Ø®ÙÛ Ú©Ø±Ø¯Ù Ø¬Ø²Ø¦ÛØ§Øª",choices_Item:"Ø¢ÛØªÙ
",matrix_column:"ستÙÙ",matrix_row:"سطر",multipletext_itemname:"Ù¾ÛØ§Ù
Ú©",savingData:"ÙØªØ§Ûج در ØØ§Ù Ø°Ø®ÛØ±Ù Ø³Ø§Ø²Û Ø¯Ø± Ø³Ø±ÙØ± است",savingDataError:"خطاÛÛ Ø¯Ø± Ø°Ø®ÛØ±Ù Ø³Ø§Ø²Û ÙØªØ§Ûج رخ داد٠است",savingDataSuccess:"ÙØªØ§Ûج با Ù
ÙÙÙÛØª Ø°Ø®ÛØ±Ù شد",savingExceedSize:"پاسخ Ø´Ù
ا Ø¨ÛØ´ از 64KB است. ÙØ·Ùا Ø§ÙØ¯Ø§Ø²Ù ÙØ§ÛÙ(ÙØ§Û) Ø®ÙØ¯ را Ú©Ø§ÙØ´ دÙÛØ¯ Ù Ø¯ÙØ¨Ø§Ø±Ù ØªÙØ§Ø´ Ú©ÙÛØ¯ ÛØ§ با ØµØ§ØØ¨ ÙØ¸Ø±Ø³ÙØ¬Û ØªÙ
اس بگÛ
8Ø±ÛØ¯.",saveAgainButton:"Ù
جدد ØªÙØ§Ø´ Ú©ÙÛØ¯",timerMin:"دÙÛÙÙ",timerSec:"ثاÙÛÙ",timerSpentAll:"Ø´Ù
ا Ù
دت {0} در اÛÙ ØµÙØÙ Ù Ù
دت {1} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerSpentPage:"Ø´Ù
ا Ù
دت {0} را در اÛÙ ØµÙØÙ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerSpentSurvey:"Ø´Ù
ا Ù
دت {0} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerLimitAll:"Ø´Ù
ا Ù
دت {0} از {1} در اÛÙ ØµÙØÙ Ù Ù
دت {2} از {3} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerLimitPage:"Ø´Ù
ا Ù
دت {0} از {1} را در اÛÙ ØµÙØÙ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",timerLimitSurvey:"Ø´Ù
ا Ù
دت {0} از {1} را در Ù
جÙ
ÙØ¹ Ø³Ù¾Ø±Û Ú©Ø±Ø¯Ù Ø§ÛØ¯.",clearCaption:"خاÙÛ Ú©Ø±Ø¯Ù",signaturePlaceHolder:"اÛÙØ¬Ø§ را اÙ
ضا Ú©ÙÛØ¯",signaturePlaceHolderReadOnly:"بدÙ٠اÙ
ضا",chooseFileCaption:"Ø§ÙØªØ®Ø§Ø¨ ÙØ§ÛÙ",takePhotoCaption:"Ú¯Ø±ÙØªÙ عکس",photoPlaceholder:"رÙÛ Ø¯Ú©Ù
Ù Ø²ÛØ± Ú©ÙÛÚ© Ú©ÙÛØ¯ تا با Ø§Ø³ØªÙØ§Ø¯Ù از Ø¯ÙØ±Ø¨Û٠عکس Ø¨Ú¯ÛØ±Ûد.",fileOrPhotoPlaceholder:"Ú©Ø´ÛØ¯Ù Ù Ø±ÙØ§ Ú©Ø±Ø¯Ù ÛØ§ Ø§ÙØªØ®Ø§Ø¨ ÛÚ© ÙØ§ÛÙ Ø¨Ø±Ø§Û Ø§Ù¾ÙÙØ¯ ÛØ§ Ú¯Ø±ÙØªÙ عکس با Ø§Ø³ØªÙØ§Ø¯Ù از Ø¯ÙØ±Ø¨ÛÙ.",replaceFileCaption:"جاÛگزÛÙÛ Ù¾Ø±ÙÙØ¯Ù",removeFileCaption:"ØØ°Ù اÛÙ ÙØ§ÛÙ",booleanCheckedLabel:"بÙÙ",booleanUncheckedLabel:"Ø®ÛØ±",confirmRemoveFile:"Ø¢ÛØ§ Ù
ÛØ®ÙاÙÛØ¯ اÛÙ ÙØ§Û٠را پاک Ú©ÙÛØ¯: {0}?",confirmRemoveAllFiles:"Ø¢ÛØ§ Ù
ÛØ®ÙاÙÛØ¯ تÙ
اÙ
ÙØ§ÛÙ ÙØ§ را پاک Ú©ÙÛØ¯?",questionTitlePatternText:"عÙÙØ§Ù Ø³ÙØ§Ù",modalCancelButtonText:"ÙØºÙ",modalApplyButtonText:"Ø¯Ø±Ø®ÙØ§Ø³Øª",filterStringPlaceholder:"تاÛÙ¾ Ø¨Ø±Ø§Û Ø¬Ø³ØªØ¬Ù...",emptyMessage:"Ø¯Ø§Ø¯Ù Ø§Û Ø¨Ø±Ø§Û ÙÙ
Ø§ÛØ´ ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯",noEntriesText:"ÙÙÙØ² ÙÛÚ ÙØ±ÙØ¯Û ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯.\nرÙÛ Ø¯Ú©Ù
Ù Ø²ÛØ± Ú©ÙÛÚ© Ú©ÙÛØ¯ تا ÛÚ© ÙØ±ÙØ¯Û Ø¬Ø¯ÛØ¯ اضاÙÙ Ø´ÙØ¯.",noEntriesReadonlyText:"ÙÛÚ ÙØ±ÙØ¯Û ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯.",tabTitlePlaceholder:"Ù¾ÙÙ Ø¬Ø¯ÛØ¯",more:"Ø¨ÛØ´ØªØ±",tagboxDoneButtonCaption:"باشÙ",selectToRankEmptyRankedAreaText:"ÙÙ
Ù Ø§ÙØªØ®Ø§Ø¨ ÙØ§ Ø±ØªØ¨Ù Ø¨ÙØ¯Û Ù
Û Ø´ÙÙØ¯",selectToRankEmptyUnrankedAreaText:"Ø§ÙØªØ®Ø§Ø¨ ÙØ§Û Ú©Ø´ÛØ¯Ù Ù Ø±ÙØ§ کرد٠در اÛÙØ¬Ø§ Ø¨Ø±Ø§Û Ø±ØªØ¨Ù Ø¨ÙØ¯Û اÙÙØ§",ok:"باشÙ",cancel:"ÙØºÙ"},nativeName:"ÙØ§Ø±ÙسÙÙ",englishName:"Persian",rtl:!0}),setupLocale({localeCode:"pl",strings:{pagePrevText:"Wstecz",pageNextText:"Dalej",completeText:"Gotowe",previewText:"Premiera",editText:"Edycja",startSurveyText:"Start",otherItemText:"Inna odpowiedź (wpisz)",noneItemText:"Brak",refuseItemText:"Odm\xf3w odpowiedzi",dontKnowItemText:"Nie wiem",selectAllItemText:"Wybierz wszystkie",deselectAllItemText:"Odznacz wszystko",progressText:"Strona {0} z {1}",indexText:"{0} od {1}",panelDynamicProgressText:"Zapis {0} z {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Odpowiedzi na {0}/{1} pytania",emptySurvey:"Nie ma widocznych pytaÅ.",completingSurvey:"DziÄkujemy za wypeÅnienie ankiety!",completingSurveyBefore:"Z naszych zapis\xf3w wynika, że wypeÅniÅeÅ już tÄ ankietÄ.",loadingSurvey:"Trwa wczytywanie ankiety...",placeholder:"Wybierz...",ratingOptionsCaption:"Kliknij tutaj, aby oceniÄ...",value:"WartoÅÄ",requiredError:"ProszÄ odpowiedzieÄ na to pytanie.",requiredErrorInPanel:"ProszÄ odpowiedzieÄ na co najmniej jedno pytanie.",requiredInAllRowsError:"ProszÄ odpowiedzieÄ na wszystkie pytania.",eachRowUniqueError:"Każdy wiersz musi mieÄ unikatowÄ
wartoÅÄ.",numericError:"W tym polu można wpisaÄ tylko liczby.",minError:"WartoÅÄ nie powinna byÄ mniejsza niż {0}",maxError:"WartoÅÄ nie powinna byÄ wiÄksza niż {0}",textNoDigitsAllow:"Liczby sÄ
niedozwolone.",textMinLength:"ProszÄ wpisaÄ co najmniej {0} znak\xf3w.",textMaxLength:"ProszÄ wpisaÄ mniej niż {0} znak\xf3w.",textMinMaxLength:"ProszÄ wpisaÄ wiÄcej niż {0} i mniej niż {1} znak\xf3w.",minRowCountError:"ProszÄ uzupeÅniÄ przynajmniej {0} wierszy.",minSelectError:"ProszÄ wybraÄ co najmniej {0} pozycji.",maxSelectError:"ProszÄ wybraÄ nie wiÄcej niż {0} pozycji.",numericMinMax:"Odpowiedź '{0}' powinna byÄ wiÄksza lub r\xf3wna {1} oraz mniejsza lub r\xf3wna {2}",numericMin:"Odpowiedź '{0}' powinna byÄ wiÄksza lub r\xf3wna {1}",numericMax:"Odpowiedź '{0}' powinna byÄ mniejsza lub r\xf3wna {1}
8",invalidEmail:"ProszÄ podaÄ prawidÅowy adres email.",invalidExpression:"Wyrażenie: {0} powinno wracaÄ 'prawdziwe'.",urlRequestError:"Å»Ä
danie zwr\xf3ciÅo bÅÄ
d '{0}'. {1}",urlGetChoicesError:"Å»Ä
danie nie zwr\xf3ciÅo danych albo Åcieżka jest nieprawidÅowa",exceedMaxSize:"Rozmiar przesÅanego pliku nie może przekraczaÄ {0}.",noUploadFilesHandler:'Nie można przesÅaÄ plik\xf3w. Dodaj moduÅ obsÅugi zdarzenia "onUploadFiles".',otherRequiredError:"ProszÄ podaÄ innÄ
odpowiedź.",uploadingFile:"Trwa przenoszenie Twojego pliku, proszÄ spr\xf3bowaÄ ponownie za kilka sekund.",loadingFile:"Åadowanie...",chooseFile:"Wybierz plik(i)...",noFileChosen:"Nie wybrano żadnego pliku",filePlaceholder:"UpuÅÄ plik tutaj lub kliknij przycisk poniżej, aby zaÅadowaÄ plik.",confirmDelete:"Chcesz skasowaÄ nagranie?",keyDuplicationError:"Ta wartoÅÄ powinna byÄ wyjÄ
tkowa.",addColumn:"Dodaj kolumnÄ",addRow:"Dodaj wiersz",removeRow:"UsuÅ",emptyRowsText:"Nie ma rzÄd\xf3w.",addPanel:"Dodaj panel",removePanel:"UsuÅ",showDetails:"Pokaż szczeg\xf3Åy",hideDetails:"Ukryj szczeg\xf3Åy",choices_Item:"element",matrix_column:"Kolumna",matrix_row:"Wiersz",multipletext_itemname:"tekst",savingData:"ZapisujÄ wyniki ankiety na serwerze...",savingDataError:"WystÄ
piÅ bÅÄ
d i wyniki nie mogÅy zostaÄ zapisane.",savingDataSuccess:"Wyniki zostaÅy poprawnie zapisane!",savingExceedSize:"Twoja odpowiedź przekracza 64 KB. Zmniejsz rozmiar plik\xf3w i spr\xf3buj ponownie lub skontaktuj siÄ z wÅaÅcicielem ankiety.",saveAgainButton:"Spr\xf3buj ponownie",timerMin:"min",timerSec:"sek",timerSpentAll:"SpÄdziÅeÅ {0} na tej stronie a w sumie {1}.",timerSpentPage:"SpÄdziÅeÅ {0} na tej stronie.",timerSpentSurvey:"SpÄdziÅeÅ w sumie {0}.",timerLimitAll:"SpÄdziÅeÅ {0} z {1} na tej stronie a w sumie {2} z {3}.",timerLimitPage:"SpÄdziÅeÅ {0} z {1} na tej stronie",timerLimitSurvey:"SpÄdziÅeÅ {0} z {1}.",clearCaption:"WyczyÅÄ",signaturePlaceHolder:"Podpisz tutaj",signaturePlaceHolderReadOnly:"Brak podpisu",chooseFileCaption:"Wybierz plik",takePhotoCaption:"Zr\xf3b zdjÄcie",photoPlaceholder:"Kliknij przycisk poniżej, aby zrobiÄ zdjÄcie aparatem.",fileOrPhotoPlaceholder:"PrzeciÄ
gnij i upuÅÄ lub wybierz plik, kt\xf3ry chcesz przesÅaÄ lub zrobiÄ zdjÄcie za pomocÄ
aparatu.",replaceFileCaption:"ZastÄ
p plik",removeFileCaption:"UsuÅ ten plik",booleanCheckedLabel:"Tak",booleanUncheckedLabel:"Nie",confirmRemoveFile:"JesteÅ pewien, że chcesz usunÄ
Ä ten plik: {0}?",confirmRemoveAllFiles:"JesteÅ pewien, że chcesz usunÄ
Ä wszystkie pliki?",questionTitlePatternText:"TytuÅ pytania",modalCancelButtonText:"AnulowaÄ",modalApplyButtonText:"ZastosowaÄ",filterStringPlaceholder:"Wpisz aby wyszukaÄ...",emptyMessage:"Brak danych do wyÅwietlenia",noEntriesText:"Nie ma jeszcze wpis\xf3w.\nKliknij przycisk poniżej, aby dodaÄ nowy wpis.",noEntriesReadonlyText:"Brak wpis\xf3w.",tabTitlePlaceholder:"Nowy panel",more:"WiÄcej",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Wszystkie wybory sÄ
uszeregowane",selectToRankEmptyUnrankedAreaText:"PrzeciÄ
gnij i upuÅÄ tutaj wybory, aby je uszeregowaÄ",ok:"OK",cancel:"Anuluj"},nativeName:"polski",englishName:"Polish"}),setupLocale({localeCode:"pt",strings:{pagePrevText:"Anterior",pageNextText:"Pr\xf3ximo",completeText:"Finalizar",previewText:"Pr\xe9-visualiza\xe7\xe3o",editText:"Editar",startSurveyText:"Come\xe7ar",otherItemText:"Outros (descrever)",noneItemText:"Nenhum",refuseItemText:"Recusar-se a responder",dontKnowItemText:"N\xe3o sei",selectAllItemText:"Selecionar Todos",deselectAllItemText:"Desmarcar tudo",progressText:"P\xe1gina {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"Registo {0} de {1}",panelDynamicTabTextFormat:"Painel {panelIndex}",questionsProgressText:"Respostas {0}/{1} perguntas",emptySurvey:"N\xe3o h\xe1 p\xe1gina vis\xedvel ou pergunta no question\xe1rio.",completingSurvey:"Obrigado por finalizar o question\xe1rio!",completingSurveyBefore:"Os nossos registos mostram que j\xe1 finalizou o question\xe1rio.",loadingSurvey:"O question\xe1rio est\xe1 a carregar...",placeholder:"Selecione...",ratingOptionsCaption:"Selecione aqui para avaliar...",value:"valor",requiredError:"Por favor, responda \xe0 pergunta.",requiredErrorInPanel:"Por favor, responda pelo menos a uma pergunta.",requiredInAllRowsError:"Por favor, responda \xe0s perguntas em todas as linhas.",eachRowUniqueError:"Cada linha deve ter um valor exclusivo.",numericError:"O valor deve ser num\xe9rico.",minError:"O valor n\xe3o dever\xe1 ser menor que {0}",maxError:"O valor n\xe3o dever\xe1 ser maior que {0}",textNoDigitsAllow:"N\xfameros n\xe3o s\xe3o permitidos.",textMinLength:"Por favor, insira pelo menos {0} caracteres.",textMaxLength:"Por favor, insira menos de {0} caracteres.",textMinMaxLength:"Por favor, insira mais de {0} e menos de {1} caracteres.",minRowCountError:"Preencha pelo menos {0} linhas.",minSelectError:"Selecione pelo menos {0} op\xe7\xf5es.",maxSelectError:"Por favor, selecione no m\xe1ximo {0} op\xe7\xf5es.",numericMinMax:"O '{0}' deve ser igual ou superior a {1} e igual ou menor que {2}",numericMin:"O '{0}' deve ser igual ou superior a {1}",numericMax:"O '{0}' deve ser igual ou inferior a {1}
8",invalidEmail:"Por favor, insira um e-mail v\xe1lido.",invalidExpression:"A express\xe3o: {0} deve retornar 'verdadeiro'.",urlRequestError:"O pedido retornou o erro '{0}'. {1}",urlGetChoicesError:"O pedido n\xe3o retornou dados ou o 'caminho' do pedido n\xe3o est\xe1 correto",exceedMaxSize:"O tamanho do arquivo n\xe3o deve exceder {0}.",noUploadFilesHandler:"Os arquivos n\xe3o podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'.",otherRequiredError:"Por favor, insira o outro valor.",uploadingFile:"O seu ficheiro est\xe1 a carregar. Por favor, aguarde alguns segundos e tente novamente.",loadingFile:"A carregar...",chooseFile:"Selecione o(s) arquivo(s)...",noFileChosen:"Nenhum ficheiro escolhido",filePlaceholder:"Arraste um ficheiro aqui ou clique no bot\xe3o abaixo para carregar o ficheiro.",confirmDelete:"Tem a certeza que deseja apagar?",keyDuplicationError:"Este valor deve ser \xfanico.",addColumn:"Adicionar coluna",addRow:"Adicionar linha",removeRow:"Remover linha",emptyRowsText:"N\xe3o existem linhas.",addPanel:"Adicionar novo",removePanel:"Remover",showDetails:"Mostrar detalhes",hideDetails:"Ocultar detalhes",choices_Item:"item",matrix_column:"Coluna",matrix_row:"Linha",multipletext_itemname:"texto",savingData:"Os resultados est\xe3o a ser guardados no servidor...",savingDataError:"Ocorreu um erro e n\xe3o foi poss\xedvel guardar os resultados.",savingDataSuccess:"Os resultados foram guardados com sucesso!",savingExceedSize:"Sua resposta excede 64KB. Reduza o tamanho do(s) seu(s) arquivo(s) e tente novamente ou entre em contato com o propriet\xe1rio do question\xe1rio.",saveAgainButton:"Tente novamente",timerMin:"min",timerSec:"seg",timerSpentAll:"Voc\xea gastou {0} nesta p\xe1gina e {1} no total.",timerSpentPage:"Voc\xea gastou {0} nesta p\xe1gina.",timerSpentSurvey:"Voc\xea gastou {0} no total.",timerLimitAll:"Voc\xea gastou {0} de {1} nesta p\xe1gina e {2} de {3} no total.",timerLimitPage:"Voc\xea gastou {0} de {1} nesta p\xe1gina.",timerLimitSurvey:"Voc\xea gastou {0} de {1} no total.",clearCaption:"Limpar",signaturePlaceHolder:"Assine aqui",signaturePlaceHolderReadOnly:"Sem assinatura",chooseFileCaption:"Escolher ficheiro",takePhotoCaption:"Tirar foto",photoPlaceholder:"Clique no bot\xe3o abaixo para tirar uma foto usando a c\xe2mera.",fileOrPhotoPlaceholder:"Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a c\xe2mera.",replaceFileCaption:"Substituir arquivo",removeFileCaption:"Remover este ficheiro",booleanCheckedLabel:"Sim",booleanUncheckedLabel:"N\xe3o",confirmRemoveFile:"Tem a certeza que deseja remover este ficheiro: {0}?",confirmRemoveAllFiles:"Tem a certeza que deseja remover todos os ficheiros?",questionTitlePatternText:"T\xedtulo da quest\xe3o",modalCancelButtonText:"Cancelar",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Digite para pesquisar...",emptyMessage:"N\xe3o existe informa\xe7\xe3o a mostrar",noEntriesText:"Ainda n\xe3o existem registos.\nClique no bot\xe3o abaixo para adicionar um novo registo.",noEntriesReadonlyText:"N\xe3o h\xe1 entradas.",tabTitlePlaceholder:"Novo Painel",more:"Mais",tagboxDoneButtonCaption:"Terminado",selectToRankEmptyRankedAreaText:"Todas as op\xe7\xf5es s\xe3o classificadas",selectToRankEmptyUnrankedAreaText:"Arraste e solte as op\xe7\xf5es aqui para classific\xe1-las",ok:"OKEY",cancel:"Cancelar"},nativeName:"portugu\xeas",englishName:"Portuguese"}),setupLocale({localeCode:"pt-br",strings:{pagePrevText:"Anterior",pageNextText:"Pr\xf3ximo",completeText:"Completar",previewText:"Visualizar",editText:"Editar",startSurveyText:"Come\xe7ar",otherItemText:"Outros (descrever)",noneItemText:"Nenhum",refuseItemText:"Recusar-se a responder",dontKnowItemText:"N\xe3o sei",selectAllItemText:"Selecionar tudo",deselectAllItemText:"Desmarcar tudo",progressText:"P\xe1gina {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"{0} de {1}",panelDynamicTabTextFormat:"Painel {panelIndex}",questionsProgressText:"Perguntas respondidas {0}/{1}",emptySurvey:"N\xe3o h\xe1 p\xe1gina vis\xedvel ou pergunta na pesquisa.",completingSurvey:"Obrigado por finalizar a pesquisa!",completingSurveyBefore:"Nossos registros mostram que voc\xea j\xe1 finalizou a pesquisa.",loadingSurvey:"A pesquisa est\xe1 carregando...",placeholder:"Selecionar...",ratingOptionsCaption:"Selecionar...",value:"valor",requiredError:"Por favor, responda a pergunta.",requiredErrorInPanel:"Por favor, responda pelo menos uma pergunta.",requiredInAllRowsError:"Por favor, responda as perguntas em todas as linhas.",eachRowUniqueError:"Cada linha deve ter um valor exclusivo.",numericError:"O valor deve ser num\xe9rico.",minError:"O valor n\xe3o deve ser inferior a {0}",maxError:"O valor n\xe3o deve ser maior que {0}",textNoDigitsAllow:"N\xfameros n\xe3o s\xe3o permitidos.",textMinLength:"Introduza pelo menos {0} caractere(s).",textMaxLength:"Introduza no m\xe1ximo {0} caractere(s).",textMinMaxLength:"Insira pelo menos {0} e n\xe3o mais do que {1} caracteres.",minRowCountError:"Por favor, preencha pelo menos {0} linha(s).",minSelectError:"Selecione pelo menos {0} variante(s).",maxSelectError:"Por favor, selecione n\xe3o mais do que {0} op\xe7\xf5es.",numericMinMax:'O "{0}" deve ser pelo menos {1} e no m\xe1ximo {2}',numericMin:'O "{0}" deve ser pelo menos {1}',numericMax:'O "{0}" deve ser no m\xe1ximo {1}
8',invalidEmail:"Por favor, informe um e-mail v\xe1lido.",invalidExpression:"A express\xe3o: {0} deve retornar 'verdadeiro'.",urlRequestError:"A requisi\xe7\xe3o retornou o erro '{0}'. {1}",urlGetChoicesError:"A requisi\xe7\xe3o n\xe3o retornou dados ou o 'caminho' da requisi\xe7\xe3o n\xe3o est\xe1 correto",exceedMaxSize:"O tamanho do arquivo n\xe3o deve exceder {0}.",noUploadFilesHandler:"Os arquivos n\xe3o podem ser carregados. Adicione um manipulador para o evento 'onUploadFiles'.",otherRequiredError:"Por favor, informe o outro valor.",uploadingFile:"Seu arquivo est\xe1 sendo carregado. Por favor, aguarde alguns segundos e tente novamente.",loadingFile:"Carregando...",chooseFile:"Escolha o(s) arquivo(s)...",noFileChosen:"Nenhum arquivo escolhido",filePlaceholder:"Arraste e solte um arquivo aqui ou clique no bot\xe3o abaixo e escolha um arquivo para carregar.",confirmDelete:"Tem certeza que deseja deletar?",keyDuplicationError:"Esse valor deve ser \xfanico.",addColumn:"Adicionar coluna",addRow:"Adicionar linha",removeRow:"Retirar",emptyRowsText:"N\xe3o h\xe1 filas.",addPanel:"Adicionar novo",removePanel:"Retirar",showDetails:"Mostrar detalhes",hideDetails:"Ocultar detalhes",choices_Item:"item",matrix_column:"Coluna",matrix_row:"Remar",multipletext_itemname:"Texto",savingData:"Os resultados esto sendo salvos no servidor...",savingDataError:"Ocorreu um erro e n\xe3o foi poss\xedvel salvar os resultados.",savingDataSuccess:"Os resultados foram salvos com sucesso!",savingExceedSize:"Sua resposta excede 64KB. Reduza o tamanho do(s) seu(s) arquivo(s) e tente novamente ou entre em contato com o propriet\xe1rio do question\xe1rio.",saveAgainButton:"Tentar novamente",timerMin:"Min",timerSec:"segundo",timerSpentAll:"Voc\xea gastou {0} nesta p\xe1gina e {1} no total.",timerSpentPage:"Voc\xea passou {0} nesta p\xe1gina.",timerSpentSurvey:"Gastou {0} no total.",timerLimitAll:"Voc\xea gastou {0} de {1} nesta p\xe1gina e {2} de {3} no total.",timerLimitPage:"Voc\xea gastou {0} de {1} nesta p\xe1gina.",timerLimitSurvey:"Gastou {0} de {1} no total.",clearCaption:"Claro",signaturePlaceHolder:"Assine aqui",signaturePlaceHolderReadOnly:"Sem assinatura",chooseFileCaption:"Escolher arquivo",takePhotoCaption:"Tirar foto",photoPlaceholder:"Clique no bot\xe3o abaixo para tirar uma foto usando a c\xe2mera.",fileOrPhotoPlaceholder:"Arraste e solte ou selecione um arquivo para carregar ou tirar uma foto usando a c\xe2mera.",replaceFileCaption:"Substituir arquivo",removeFileCaption:"Remover este arquivo",booleanCheckedLabel:"Sim",booleanUncheckedLabel:"N\xe3o",confirmRemoveFile:"Tem certeza que deseja remover este arquivo: {0}?",confirmRemoveAllFiles:"Tem certeza que deseja remover todos os arquivos?",questionTitlePatternText:"T\xedtulo da pergunta",modalCancelButtonText:"Cancelar",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Digite para pesquisar...",emptyMessage:"Nenhum dado a ser exibido",noEntriesText:"Ainda n\xe3o h\xe1 inscri\xe7\xf5es.\nClique no bot\xe3o abaixo para adicionar uma nova entrada.",noEntriesReadonlyText:"N\xe3o h\xe1 entradas.",tabTitlePlaceholder:"Novo Painel",more:"Mais",tagboxDoneButtonCaption:"OKEY",selectToRankEmptyRankedAreaText:"Todas as op\xe7\xf5es s\xe3o classificadas",selectToRankEmptyUnrankedAreaText:"Arraste e solte as op\xe7\xf5es aqui para classific\xe1-las",ok:"OKEY",cancel:"Cancelar"},nativeName:"portugu\xeas brasileiro",englishName:"Brazilian Portuguese"}),setupLocale({localeCode:"ro",strings:{pagePrevText:"Precedent",pageNextText:"UrmÄtor",completeText:"Finalizare",previewText:"previzualizare",editText:"EditaÈi",startSurveyText:"start",otherItemText:"Altul(precizaÅ£i)",noneItemText:"Nici unul",refuseItemText:"RefuzÄ sÄ rÄspundÄ",dontKnowItemText:"Nu Åtiu",selectAllItemText:"SelecteazÄ tot",deselectAllItemText:"DeselecteazÄ tot",progressText:"Pagina {0} din {1}",indexText:"{0} de {1}",panelDynamicProgressText:"\xcenregistrare {0} din {1}",panelDynamicTabTextFormat:"Panou {panelIndex}",questionsProgressText:"RÄspunsuri la {0} / {1} \xeentrebÄri",emptySurvey:"Nu sunt \xeentrebÄri pentru acest chestionar",completingSurvey:"VÄ mulÅ£umim pentru timpul acordat!",completingSurveyBefore:"Din \xeenregistrÄrile noastre reiese cÄ aÈi completat deja acest chestionar.",loadingSurvey:"Chestionarul se \xeencarcÄ...",placeholder:"AlegeÅ£i...",ratingOptionsCaption:"Alege...",value:"valoare",requiredError:"RÄspunsul la aceastÄ \xeentrebare este obligatoriu.",requiredErrorInPanel:"VÄ rugÄm sÄ rÄspundeÈi la cel puÈin o \xeentrebare.",requiredInAllRowsError:"Toate rÄspunsurile sunt obligatorii",eachRowUniqueError:"Fiecare r\xe2nd trebuie sÄ aibÄ o valoare unicÄ.",numericError:"RÄspunsul trebuie sÄ fie numeric.",minError:"Valoarea nu trebuie sÄ fie mai micÄ de {0}",maxError:"Valoarea nu trebuie sÄ fie mai mare de {0}",textNoDigitsAllow:"Numerele nu sunt permise.",textMinLength:"Trebuie sÄ introduceÈi minim {0} caractere.",textMaxLength:"Trebuie sÄ introduceÈi maxim {0} caractere.",textMinMaxLength:"Trebuie sÄ introduceÈi mai mult de {0} Èi mai puÈin de {1} caractere.",minRowCountError:"Trebuie sÄ completaÈi minim {0} r\xe2nduri.",minSelectError:"Trebuie sÄ selectaÈi minim {0} opÅ£iuni.",maxSelectError:"Trebuie sÄ selectaÈi maxim {0} opÅ£iuni.",numericMinMax:"RÄspunsul '{0}' trebuie sÄ fie mai mare sau egal ca {1} Å\xee mai mic sau egal cu {2}",numericMin:"RÄspunsul '{0}' trebuie sÄ fie mai mare sau egal ca {1}",numericMax:"RÄspunsul '{0}' trebuie sÄ fie mai mic sau egal ca {1}
8",invalidEmail:"Trebuie sÄ introduceÅ£i o adresa de email validÄ.",invalidExpression:"Expresia: {0} ar trebui sÄ returneze âadevÄratâ.",urlRequestError:"Request-ul a returnat eroarea '{0}'. {1}",urlGetChoicesError:"Request-ul nu a returnat date sau proprietatea 'path' este incorectÄ",exceedMaxSize:"Dimensiunea fiÅierului nu trebuie sÄ depÄÅeascÄ {0}.",noUploadFilesHandler:'FiÈierele nu pot fi \xeencÄrcate. VÄ rugÄm sÄ adÄugaÈi un handler pentru evenimentul "onUploadFiles".',otherRequiredError:"Trebuie sÄ completaÈi c\xe2mpul 'Altul'.",uploadingFile:"FiÈierul dumneavoastrÄ este \xeen curs de \xeencÄrcare. VÄ rugÄm aÈteptaÈi c\xe2teva secunde Èi reveniÈi apoi.",loadingFile:"Se \xeencarcÄ...",chooseFile:"Alege fisierele...",noFileChosen:"Niciun fiÈier ales",filePlaceholder:"GlisaÈi Èi fixaÈi un fiÈier aici sau faceÈi clic pe butonul de mai jos Èi alegeÈi un fiÈier de \xeencÄrcat.",confirmDelete:"SunteÈi sigur cÄ doriÈi sÄ ÈtergeÈi \xeenregistrarea?",keyDuplicationError:"Valoarea trebuie sÄ fie unicÄ.",addColumn:"AdÄugaÈi coloanÄ",addRow:"AdÄugare r\xe2nd",removeRow:"Ètergere",emptyRowsText:"Nu existÄ r\xe2nduri.",addPanel:"AdÄugare",removePanel:"Ètergere",showDetails:"AratÄ detalii",hideDetails:"Ascunde detalii",choices_Item:"opÈiune",matrix_column:"ColoanÄ",matrix_row:"R\xe2nd",multipletext_itemname:"Text",savingData:"Rezultatele sunt \xeen curs de salvare...",savingDataError:"A intervenit o eroare, rezultatele nu au putut fi salvate.",savingDataSuccess:"Rezultatele au fost salvate cu succes!",savingExceedSize:"RÄspunsul tÄu depÄÈeÈte 64KB. ReduceÈi dimensiunea fiÈierelor Èi \xeencercaÈi din nou sau contactaÈi un proprietar de sondaj.",saveAgainButton:"\xcencercaÈi din nou",timerMin:"min",timerSec:"sec",timerSpentAll:"AÈi petrecut {0} pe aceastÄ paginÄ Èi {1} \xeen total.",timerSpentPage:"AÈi petrecut {0} pe aceastÄ paginÄ.",timerSpentSurvey:"AÈi petrecut {0} \xeen total.",timerLimitAll:"AÈi petrecut {0} din {1} pe aceastÄ paginÄ Èi {2} din {3} \xeen total.",timerLimitPage:"AÈi petrecut {0} din {1} pe aceastÄ paginÄ.",timerLimitSurvey:"AÈi petrecut {0} din {1} \xeen total.",clearCaption:"clar",signaturePlaceHolder:"SemneazÄ aici",signaturePlaceHolderReadOnly:"FÄrÄ semnÄturÄ",chooseFileCaption:"Alege fiÈierul",takePhotoCaption:"FaceÈi o fotografie",photoPlaceholder:"FaceÈi clic pe butonul de mai jos pentru a face o fotografie folosind camera.",fileOrPhotoPlaceholder:"GlisaÈi Èi fixaÈi sau selectaÈi un fiÈier pentru a \xeencÄrca sau a face o fotografie folosind camera.",replaceFileCaption:"\xcenlocuire fiÈier",removeFileCaption:"EliminaÈi acest fiÈier",booleanCheckedLabel:"da",booleanUncheckedLabel:"Nu",confirmRemoveFile:"Sigur doriÈi sÄ eliminaÈi acest fiÈier: {0}?",confirmRemoveAllFiles:"Sigur doriÈi sÄ eliminaÈi toate fiÈierele?",questionTitlePatternText:"Titlul intrebarii",modalCancelButtonText:"Anula",modalApplyButtonText:"Aplica",filterStringPlaceholder:"TastaÈi pentru a cÄuta...",emptyMessage:"Nu existÄ date de afiÈat",noEntriesText:"Nu existÄ \xeencÄ intrÄri.\nFaceÈi clic pe butonul de mai jos pentru a adÄuga o intrare nouÄ.",noEntriesReadonlyText:"Nu existÄ intrÄri.",tabTitlePlaceholder:"Panou nou",more:"Mai mult",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Toate opÈiunile sunt clasificate",selectToRankEmptyUnrankedAreaText:"GlisaÈi Èi fixaÈi opÈiunile aici pentru a le clasifica",ok:"OK",cancel:"Anula"},nativeName:"rom\xe2nÄ",englishName:"Romanian"}),setupLocale
vendor: 7,287 bytes, line 8
8({localeCode:"ru",strings:{pagePrevText:"Ðазад",pageNextText:"Ðалее",completeText:"ÐоÑово",previewText:"ÐÑедваÑиÑелÑнÑй пÑоÑмоÑÑ",editText:"РедакÑиÑование",startSurveyText:"ÐаÑаÑÑ",otherItemText:"ÐÑÑгое (пожалÑйÑÑа, опиÑиÑе)",noneItemText:"ÐеÑ",refuseItemText:"ÐÑказÑваÑÑÑ Ð¾ÑвеÑаÑÑ",dontKnowItemText:"Ðе знаÑ",selectAllItemText:"ÐÑбÑаÑÑ Ð²ÑÑ",deselectAllItemText:"ÐÑмена вÑбоÑа вÑеÑ
",progressText:"СÑÑаниÑа {0} из {1}",indexText:"{0} из {1}",panelDynamicProgressText:"ÐапиÑÑ {0} из {1}",panelDynamicTabTextFormat:"ÐÐ°Ð½ÐµÐ»Ñ {panelIndex}",questionsProgressText:"OÑвеÑено на {0}/{1} вопÑоÑов",emptySurvey:"ÐÐµÑ Ð½Ð¸ одного вопÑоÑа.",completingSurvey:"ÐлагодаÑим ÐÐ°Ñ Ð·Ð° заполнение анкеÑÑ!",completingSurveyBefore:"ÐÑ Ñже пÑоÑ
одили ÑÑÐ¾Ñ Ð¾Ð¿ÑоÑ.",loadingSurvey:"ÐагÑÑзка Ñ ÑеÑвеÑа...",placeholder:"ÐÑбÑаÑÑ...",ratingOptionsCaption:"ÐажмиÑе здеÑÑ, ÑÑÐ¾Ð±Ñ Ð¾ÑениÑÑ...",value:"знаÑение",requiredError:"ÐожалÑйÑÑа, оÑвеÑÑÑе на вопÑоÑ.",requiredErrorInPanel:"ÐожалÑйÑÑа, оÑвеÑÑÑе по кÑайней меÑе на один вопÑоÑ.",requiredInAllRowsError:"ÐожалÑйÑÑа, оÑвеÑÑÑе на вопÑоÑÑ Ð² каждой ÑÑÑоке.",eachRowUniqueError:"ÐÐ°Ð¶Ð´Ð°Ñ ÑÑÑока должна имеÑÑ ÑникалÑное знаÑение.",numericError:"ÐÑÐ²ÐµÑ Ð´Ð¾Ð»Ð¶ÐµÐ½ бÑÑÑ ÑиÑлом.",minError:"ÐнаÑение не должно бÑÑÑ Ð¼ÐµÐ½ÑÑе {0}.",maxError:"ÐнаÑение не должно пÑевÑÑаÑÑ {0}.",textNoDigitsAllow:"ÐомеÑа не допÑÑкаÑÑÑÑ.",textMinLength:"ÐожалÑйÑÑа введиÑе болÑÑе {0} Ñимволов.",textMaxLength:"ÐожалÑйÑÑа введиÑе менÑÑе {0} Ñимволов.",textMinMaxLength:"ÐожалÑйÑÑа введиÑе болÑÑе {0} и менÑÑе {1} Ñимволов.",minRowCountError:"ÐожалÑйÑÑа, заполниÑе не менÑÑе {0} ÑÑÑок.",minSelectError:"ÐожалÑйÑÑа, вÑбеÑиÑе Ñ
оÑÑ Ð±Ñ {0} ваÑианÑов.",maxSelectError:"ÐожалÑйÑÑа, вÑбеÑиÑе не более {0} ваÑианÑов.",numericMinMax:"'{0}' должно бÑÑÑ Ð½Ðµ менÑÑе Ñем {1}, и не болÑÑе Ñем {2}",numericMin:"'{0}' должно бÑÑÑ Ð½Ðµ менÑÑе Ñем {1}",numericMax:"'{0}' должно бÑÑÑ Ð½Ðµ болÑÑе Ñем {1}",invalidEmail:"ÐожалÑйÑÑа, введиÑе дейÑÑвиÑелÑнÑй адÑÐµÑ ÑлекÑÑонной поÑÑÑ.",invalidExpression:"ÐÑÑажение {0} должно возвÑаÑаÑÑ 'true'.",urlRequestError:"ÐапÑÐ¾Ñ Ð²ÐµÑнÑл оÑÐ¸Ð±ÐºÑ '{0}'. {1}",urlGetChoicesError:"ÐÑÐ²ÐµÑ Ð½Ð° запÑÐ¾Ñ Ð¿ÑиÑел пÑÑÑой или ÑвойÑÑво 'path' Ñказано невеÑно",exceedMaxSize:"Ð Ð°Ð·Ð¼ÐµÑ Ñайла не должен пÑевÑÑаÑÑ {0}.",noUploadFilesHandler:"Ð¤Ð°Ð¹Ð»Ñ Ð½Ðµ могÑÑ Ð±ÑÑÑ Ð·Ð°Ð³ÑÑженÑ. ÐожалÑйÑÑа, добавÑÑе обÑабоÑÑик Ð´Ð»Ñ ÑобÑÑÐ¸Ñ 'onUploadFiles'.",otherRequiredError:"ÐожалÑйÑÑа, введиÑе даннÑе в поле 'ÐÑÑгое'",uploadingFile:"ÐÐ°Ñ Ñайл загÑÑжаеÑÑÑ. ÐодождиÑе неÑколÑко ÑекÑнд и попÑобÑйÑе Ñнова.",loadingFile:"ÐагÑÑзка...",chooseFile:"ÐÑбеÑиÑе Ñайл(Ñ)...",noFileChosen:"Файл не вÑбÑан",filePlaceholder:"ÐеÑеÑаÑиÑе Ñайл ÑÑда или нажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ðµ, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð³ÑÑзиÑÑ Ñайл.",confirmDelete:"ÐÑ ÑоÑно Ñ
оÑиÑе ÑдалиÑÑ Ð·Ð°Ð¿Ð¸ÑÑ?",keyDuplicationError:"ÐÑо знаÑение должно бÑÑÑ ÑникалÑнÑм.",addColumn:"ÐобавиÑÑ ÐºÐ¾Ð»Ð¾Ð½ÐºÑ",addRow:"ÐобавиÑÑ ÑÑÑокÑ",removeRow:"УдалиÑÑ",emptyRowsText:"Ð Ñдов неÑ.",addPanel:"ÐобавиÑÑ Ð½Ð¾Ð²ÑÑ",removePanel:"УдалиÑÑ",showDetails:"ÐоказаÑÑ Ð¿Ð¾Ð´ÑобноÑÑи",hideDetails:"СкÑÑÑÑ Ð¿Ð¾Ð´ÑобноÑÑи",choices_Item:"ÐаÑианÑ",matrix_column:"Ðолонка",matrix_row:"СÑÑока",multipletext_itemname:"ÑекÑÑ",savingData:"РезÑлÑÑаÑÑ ÑоÑ
ÑанÑÑÑÑÑ Ð½Ð° ÑеÑвеÑ...",savingDataError:"ÐÑоизоÑла оÑибка, ÑезÑлÑÑÐ°Ñ Ð½Ðµ бÑл ÑоÑ
ÑанÑн.",savingDataSuccess:"РезÑлÑÑÐ°Ñ ÑÑпеÑно ÑоÑ
ÑанÑн!",savingExceedSize:"ÐÐ°Ñ Ð¾ÑÐ²ÐµÑ Ð¿ÑевÑÑÐ°ÐµÑ 64 ÐÐ. УменÑÑиÑе ÑÐ°Ð·Ð¼ÐµÑ Ñайла (Ñайлов) и повÑоÑиÑе попÑÑÐºÑ Ð¸Ð»Ð¸ обÑаÑиÑеÑÑ Ðº владелÑÑÑ Ð¾Ð¿ÑоÑа.",saveAgainButton:"ÐопÑобоваÑÑ Ñнова",timerMin:"мин",timerSec:"Ñек",timerSpentAll:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} на ÑÑой ÑÑÑаниÑе и {1} вÑего.",timerSpentPage:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} на ÑÑой ÑÑÑаниÑе.",timerSpentSurvey:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} в ÑеÑение ÑеÑÑа.",timerLimitAll:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} из {1} на ÑÑой ÑÑÑаниÑе и {2} из {3} Ð´Ð»Ñ Ð²Ñего ÑеÑÑа.",timerLimitPage:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} из {1} на ÑÑой ÑÑÑаниÑе.",timerLimitSurvey:"ÐÑ Ð¿Ð¾ÑÑаÑили {0} из {1} Ð´Ð»Ñ Ð²Ñего ÑеÑÑа.",clearCaption:"ÐÑиÑÑиÑÑ",signaturePlaceHolder:"ÐодпиÑиÑе здеÑÑ",signaturePlaceHolderReadOnly:"Ðез подпиÑи",chooseFileCaption:"ÐÑбеÑиÑе Ñайл",takePhotoCaption:"СделаÑÑ ÑоÑо",photoPlaceholder:"ÐажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ðµ, ÑÑÐ¾Ð±Ñ ÑделаÑÑ Ñнимок Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ°Ð¼ÐµÑÑ.",fileOrPhotoPlaceholder:"ÐеÑеÑаÑиÑе или вÑбеÑиÑе Ñайл Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки или ÑÑемки Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ°Ð¼ÐµÑÑ.",replaceFileCaption:"ÐамениÑÑ Ñайл",removeFileCaption:"УдалиÑÑ Ñайл",booleanCheckedLabel:"Ðа",booleanUncheckedLabel:"ÐеÑ",confirmRemoveFile:"ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе ÑдалиÑÑ ÑÑÐ¾Ñ Ñайл: {0}?",confirmRemoveAllFiles:"ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе ÑдалиÑÑ Ð²Ñе ÑайлÑ?",questionTitlePatternText:"Ðазвание вопÑоÑа",modalCancelButtonText:"ÐÑмениÑÑ",modalApplyButtonText:"ÐÑименÑÑÑ",filterStringPlaceholder:"ÐведиÑе Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñка...",emptyMessage:"ÐÐµÑ Ð´Ð°Ð½Ð½ÑÑ
Ð´Ð»Ñ Ð¾ÑобÑажениÑ",noEntriesText:"Ðока Ð½ÐµÑ Ð·Ð°Ð¿Ð¸Ñей.\nÐажмиÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ðµ, ÑÑÐ¾Ð±Ñ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ Ð½Ð¾Ð²ÑÑ Ð·Ð°Ð¿Ð¸ÑÑ.",noEntriesReadonlyText:"ÐапиÑей неÑ.",tabTitlePlaceholder:"ÐÐ¾Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ",more:"ÐолÑÑе",tagboxDoneButtonCaption:"ХоÑоÑо",selectToRankEmptyRankedAreaText:"ÐÑе ваÑианÑÑ ÑанжиÑÑÑÑÑÑ",selectToRankEmptyUnrankedAreaText:"ÐеÑеÑаÑиÑе ÑÑда ваÑианÑÑ, ÑÑÐ¾Ð±Ñ ÑанжиÑоваÑÑ Ð¸Ñ
",ok:"ХоÑоÑо",cancel:"ÐÑмена"},nativeName:"ÑÑÑÑкий",englishName:"Russian"})
8,setupLocale({localeCode:"sr",strings:{pagePrevText:"Nazad",pageNextText:"Dalje",completeText:"ZavrÅ¡i",previewText:"Pregledaj",editText:"Izmeni",startSurveyText:"ZapoÄni",otherItemText:"Drugo (upiÅ¡i)",noneItemText:"NiÅ¡ta",refuseItemText:"Odbijanje odgovora",dontKnowItemText:"Ne znam",selectAllItemText:"Izaberi sve",deselectAllItemText:"PoniÅ¡ti izbor svih",progressText:"Stranica {0} od {1}",indexText:"{0} {1}",panelDynamicProgressText:"Upis {0} od {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Odgovoreno na {0}/{1} pitanja",emptySurvey:"Nema vidljivih stranica ili pitanja u anketi.",completingSurvey:"Hvala na popunjavanju ankete!",completingSurveyBefore:"Prema naÅ¡im podacima, veÄ ste popunili ovu anketu.",loadingSurvey:"UÄitavam anketu...",placeholder:"Izaberi...",ratingOptionsCaption:"Izaberite...",value:"vrednost",requiredError:"Molimo odgovorite na ovo pitanje.",requiredErrorInPanel:"Molimo odgovorite na bar jedno pitanje.",requiredInAllRowsError:"Molimo odgovorite na pitanja u svim redovima.",eachRowUniqueError:"Svaki red mora imati jedinstvenu vrednost.",numericError:"Vrednost bi trebalo da bude numeriÄka.",minError:"Vrednost ne bi trebalo da bude manja od {0}",maxError:"Vrednost ne bi trebalo da bude veÄa od {0}",textNoDigitsAllow:"Brojevi nisu dozvoljeni.",textMinLength:"Molimo unesite bar {0} znak(ov)a.",textMaxLength:"Molimo unesite najviÅ¡e {0} znak(ov)a.",textMinMaxLength:"Molimo unesite najmanje {0} i ne viÅ¡e od {1} znak(ov)a.",minRowCountError:"Molimo popunite najmanje {0} red(ova).",minSelectError:"Molimo izaberite najmanje {0} opcija/e.",maxSelectError:"Molimo izaberite najviÅ¡e {0} opcija/e.",numericMinMax:"'{0}' bi trebalo da bude najmanje {1} i najviÅ¡e {2}",numericMin:"'{0}' bi trebalo da bude najmanje {1}",numericMax:"'{0}' bi trebalo da bude najviÅ¡e {1}",invalidEmail:"Molimo unesite ispravnu e-mail adresu.",invalidExpression:"Izraz: {0} bi trebalo da bude taÄan.",urlRequestError:"Zahtev je naiÅ¡ao na greÅ¡ku '{0}'. {1}",urlGetChoicesError:"Zahtev nije pronaÅ¡ao podatke, ili je putanja netaÄna",exceedMaxSize:"VeliÄina fajla ne bi trebalo da prelazi {0}.",noUploadFilesHandler:'Nije moguÄe otpremiti datoteke. Dodajte rukovaoca za dogaÄaj "onUploadFiles".',otherRequiredError:"Molimo unesite drugu vrednost.",uploadingFile:"Fajl se Å¡alje. Molimo saÄekajte neko vreme i pokuÅ¡ajte ponovo.",loadingFile:"UÄitavanje...",chooseFile:"Izaberite fajlove...",noFileChosen:"Nije izabran nijedan fajl",filePlaceholder:"Prevucite i otpustite datoteku ovde ili kliknite na dugme ispod i odaberite datoteku za otpremanje.",confirmDelete:"Da li želite da izbriÅ¡ete unos?",keyDuplicationError:"Ova vrednost treba da bude jedinstvena.",addColumn:"Dodaj kolonu",addRow:"Dodaj red",removeRow:"Ukloni",emptyRowsText:"Nema redova.",addPanel:"Dodaj novo",removePanel:"Ukloni",showDetails:"Prikaži detalje",hideDetails:"Sakrij detalje",choices_Item:"stavka",matrix_column:"Kolona",matrix_row:"Red",multipletext_itemname:"tekst",savingData:"U toku je Äuvanje podataka na serveru...",savingDataError:"DoÅ¡lo je do greÅ¡ke i rezultati nisu saÄuvani.",savingDataSuccess:"Rezultati su uspeÅ¡no saÄuvani!",savingExceedSize:"VaÅ¡ odgovor premaÅ¡uje 64KB. Smanjite veliÄinu datoteka i pokuÅ¡ajte ponovo ili se obratite vlasniku ankete.",saveAgainButton:"PokuÅ¡ajte ponovo",timerMin:"min",timerSec:"sek",timerSpentAll:"Proveli ste {0} na ovoj stranici i {1} ukupno.",timerSpentPage:"Proveli ste {0} na ovoj stranici.",timerSpentSurvey:"Proveli ste {0} ukupno.",timerLimitAll:"Proveli ste {0} od {1} na ovoj stranici i {2} od {3} ukupno.",timerLimitPage:"Proveli ste {0} od {1} na ovoj stranici.",timerLimitSurvey:"Proveli ste {0} od {1} ukupno.",clearCaption:"PoniÅ¡ti",signaturePlaceHolder:"PotpiÅ¡ite ovde",signaturePlaceHolderReadOnly:"Bez potpisa",chooseFileCaption:"Izaberi fajl",takePhotoCaption:"Fotografisanje",photoPlaceholder:"Kliknite na dugme ispod da biste snimili fotografiju pomoÄu fotoaparata.",fileOrPhotoPlaceholder:"Prevucite i otpustite ili izaberite datoteku za otpremanje ili snimanje fotografije pomoÄu fotoaparata.",replaceFileCaption:"Zameni datoteku",removeFileCaption:"Ukloni ovaj fajl",booleanCheckedLabel:"Da",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Da li ste sigurni da želite da uklonite ovaj fajl: {0}?",confirmRemoveAllFiles:"Da li ste sigurni da želite da uklonite sve fajlove?",questionTitlePatternText:"Naslov pitanja",modalCancelButtonText:"Otkaži",modalApplyButtonText:"Primeni",filterStringPlaceholder:"Otkucajte da biste pretražili...",emptyMessage:"Nema podataka za prikazivanje",noEntriesText:"JoÅ¡ uvek nema stavki.\nKliknite na dugme isp
8od da biste dodali novu stavku.",noEntriesReadonlyText:"Nema stavki.",tabTitlePlaceholder:"Nova tabla",more:"ViÑe",tagboxDoneButtonCaption:"U redu",selectToRankEmptyRankedAreaText:"Svi izbori su rangirani",selectToRankEmptyUnrankedAreaText:"Prevucite i otpustite izbor ovde da biste ih rangirali",ok:"U redu",cancel:"Otkaži"},nativeName:"srpski",englishName:"Serbian"}),setupLocale({localeCode:"zh-cn",strings:{pagePrevText:"ä¸ä¸é¡µ",pageNextText:"ä¸ä¸é¡µ",completeText:"æäº¤é®å·",previewText:"é¢è§",editText:"ç¼è¾",startSurveyText:"å¼å§é®å·",otherItemText:"å¡«åå
¶ä»çæ¡",noneItemText:"æ ",refuseItemText:"æç»åç",dontKnowItemText:"ä¸ç¥é",selectAllItemText:"éæ©å
¨é¨",deselectAllItemText:"åæ¶å
¨é",progressText:"第 {0} 页, å
± {1} 页",indexText:"第 {0} 页ï¼å
± {1} 页",panelDynamicProgressText:"{0} of {1}",panelDynamicTabTextFormat:"颿¿ {颿¿ç´¢å¼}",questionsProgressText:"第 {0}/{1} é¢",emptySurvey:"é®å·ä¸æ²¡æé®é¢æé¡µé¢",completingSurvey:"æè°¢æ¨çåä¸!",completingSurveyBefore:"ä½ å·²å®æé®å·.",loadingSurvey:"é®å·æ£å¨å è½½ä¸...",placeholder:"è¯·éæ©...",ratingOptionsCaption:"éæ©ããã",value:"å¼",requiredError:"è¯·å¡«åæ¤é®é¢",requiredErrorInPanel:"è³å°åçä¸é¢.",requiredInAllRowsError:"è¯·å¡«åææè¡ä¸é®é¢",eachRowUniqueError:"æ¯è¡å¿
é¡»å
·æå¯ä¸å¼ã",numericError:"çæ¡å¿
é¡»æ¯ä¸ªæ°å",minError:"该å¼ä¸è½å°äº {0}",maxError:"该å¼ä¸è½å¤§äº {0}",textNoDigitsAllow:"ä¸å
è®¸ä½¿ç¨æ°åã",textMinLength:"çæ¡é¿åº¦è³å° {0} 个å符",textMaxLength:"çæ¡é¿åº¦ä¸è½è¶
è¿ {0} 个å符",textMinMaxLength:"çæ¡é¿åº¦å¿
é¡»å¨ {0} - {1} 个å符ä¹é´",minRowCountError:"æå°éè¦å¡«å {0} è¡çæ¡",minSelectError:"æå°éè¦éæ© {0} é¡¹çæ¡",maxSelectError:"æå¤åªè½éæ© {0} é¡¹çæ¡",numericMinMax:"çæ¡ '{0}' å¿
须大äºçäº {1} ä¸å°äºçäº {2}",numericMin:"çæ¡ '{0}' å¿
须大äºçäº {1}",numericMax:"çæ¡ '{0}' å¿
é¡»å°äºçäº {1}",invalidEmail:"请è¾å
¥ææç Email å°å",invalidExpression:"å
¬å¼: {0} æ æ.",urlRequestError:"è½½å
¥é项æ¶åçé误 '{0}': {1}",urlGetChoicesError:"æªè½è½½å
¥ææçé项æè¯·æ±åæ°è·¯å¾æè¯¯",exceedMaxSize:"æä»¶å¤§å°ä¸è½è¶
è¿ {0}",noUploadFilesHandler:"æ æ³ä¸ä¼ æä»¶ã请为âonUploadFilesâäºä»¶æ·»å å¤çç¨åºã",otherRequiredError:"è¯·å®æå
¶ä»é®é¢",uploadingFile:"æä»¶ä¸ä¼ ä¸... 请èå¿çå¾
å ç§åéè¯",loadingFile:"å è½½...",chooseFile:"éæ©æä»¶...",noFileChosen:"æªéæ©æä»¶",filePlaceholder:"å°æä»¶ææ¾å°æ¤å¤æåå»ä¸é¢çæé®å¹¶éæ©è¦ä¸ä¼ çæä»¶ã",confirmDelete:"å é¤è®°å½?",keyDuplicationError:"主é®ä¸è½éå¤",addColumn:"æ·»å å",addRow:"æ·»å è¡",removeRow:"å é¤çæ¡",emptyRowsText:"æ å
容",addPanel:"æ°æ·»",removePanel:"å é¤",showDetails:"æ¾ç¤ºè¯¦ç»ä¿¡æ¯",hideDetails:"éè详ç»ä¿¡æ¯",choices_Item:"é项",matrix_column:"å",matrix_row:"è¡",multipletext_itemname:"ææ¬",savingData:"æ£å¨å°ç»æä¿åå°æå¡å¨...",savingDataError:"å¨ä¿åç»æè¿ç¨ä¸åçäºé误ï¼ç»ææªè½ä¿å",savingDataSuccess:"ç»æä¿åæå!",savingExceedSize:"æ¨çåå¤è¶
è¿ 64KBã请åå°æä»¶ç大å°ï¼ç¶åéè¯æèç³»è°æ¥ææè
ã",saveAgainButton:"请éè¯",timerMin:"å",timerSec:"ç§",timerSpentAll:"æ¬é¡µç¨æ¶ {0} æ»è®¡ç¨æ¶{1} .",timerSpentPage:"æ¬é¡µç¨æ¶{0} .",timerSpentSurvey:"æ»è®¡ç¨æ¶ {0} .",timerLimitAll:"æ¬é¡µç¨æ¶ {0} å
± {1}ï¼ æ»è®¡ç¨æ¶ {2} å
± {3} .",timerLimitPage:"æ¬é¡µç¨æ¶ {0} å
± {1} .",timerLimitSurvey:"æ»è®¡ç¨æ¶ {0} å
± {1}.",clearCaption:"æ¸
é¤",signaturePlaceHolder:"卿¤ç¾å",signaturePlaceHolderReadOnly:"æ ç¾å",chooseFileCaption:"éæ©æä»¶",takePhotoCaption:"æç
§",photoPlaceholder:"åå»ä¸é¢çæé®ä½¿ç¨ç¸æºæç
§ã",fileOrPhotoPlaceholder:"ææ¾æéæ©è¦ä¸ä¼ çæä»¶æä½¿ç¨ç¸æºææç
§çã",replaceFileCaption:"æ¿æ¢æä»¶",removeFileCaption:"ç§»é¤æä»¶",booleanCheckedLabel:"æ¯",booleanUncheckedLabel:"å¦",confirmRemoveFile:"å 餿件: {0}?",confirmRemoveAllFiles:"å 餿ææä»¶?",questionTitlePatternText:"æ é¢",modalCancelButtonText:"åæ¶",modalApplyButtonText:"ç¡®å®",filterStringPlaceholder:"é®å
¥ä»¥æç´¢...",emptyMessage:"没æè¦æ¾ç¤ºçæ°æ®",noEntriesText:"å°æ æ¡ç®ã\nåå»ä¸é¢çæé®ä»¥æ·»å æ°æ¡ç®ã",noEntriesReadonlyText:"æ²¡ææ¡ç®ã",tabTitlePlaceholder:"æ°é¢æ¿",more:"æ´å¤",tagboxDoneButtonCaption:"è¿è¡",selectToRankEmptyRankedAreaText:"ææéæ©åå·²æå",selectToRankEmptyUnrankedAreaText:"å°éé¡¹ææ¾å°æ¤å¤è¿è¡æå",ok:"è¿è¡",cancel:"åæ¶"},nativeName:"ç®ä½ä¸æ",englishName:"Simplified Chinese"}),setupLocale({localeCode:"sk",strings:{pagePrevText:"Predch\xe1dzaj\xfaca",pageNextText:"Äalej",completeText:"DokonÄen\xe9",previewText:"Uk\xe1žka",editText:"Uprav
8iÅ¥",startSurveyText:"SpustiÅ¥",otherItemText:"In\xe9 (op\xedÅ¡te)",noneItemText:"Žiadne",refuseItemText:"OdmietnuÅ¥ odpovedaÅ¥",dontKnowItemText:"Neviem",selectAllItemText:"VybraÅ¥ vÅ¡etky",deselectAllItemText:"ZruÅ¡te v\xfdber vÅ¡etk\xfdch",progressText:"Strana {0} z {1}",indexText:"{0} {1}",panelDynamicProgressText:"Z\xe1znam {0} z {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Zodpovedan\xe9 ot\xe1zky {0}/{1}",emptySurvey:"V prieskume nie je žiadna vidieľn\xe1 str\xe1nka ani ot\xe1zka.",completingSurvey:"Äakujeme v\xe1m za dokonÄenie prieskumu.",completingSurveyBefore:"Podľa naÅ¡ich z\xe1znamov ste už tento prieskum dokonÄili.",loadingSurvey:"NaÄ\xedtanie prieskumu...",placeholder:"VybraÅ¥...",ratingOptionsCaption:"VybraÅ¥...",value:"hodnota",requiredError:"Požaduje sa odozva.",requiredErrorInPanel:"Požaduje sa odozva: zodpovedajte aspoÅ jednu ot\xe1zku.",requiredInAllRowsError:"Požaduje sa odozva: zodpovedajte ot\xe1zky vo vÅ¡etk\xfdch riadkoch.",eachRowUniqueError:"Každ\xfd riadok mus\xed maÅ¥ jedineÄn\xfa hodnotu.",numericError:"Hodnota m\xe1 byÅ¥ Ä\xedseln\xe1.",minError:"Hodnota nem\xe1 byÅ¥ nižšia než {0}",maxError:"Hodnota nem\xe1 byÅ¥ vyššia než {0}",textNoDigitsAllow:"Ä\xedsla nie s\xfa povolen\xe9.",textMinLength:"Zadajte aspoÅ {0} znak(-y/-ov).",textMaxLength:"Nezad\xe1vajte viac než {0} znak(-y/-ov).",textMinMaxLength:"Zadajte aspoÅ {0} a nie viac než {1} znaky(-ov).",minRowCountError:"VyplÅte aspoÅ {0} riadok(-y/-ov).",minSelectError:"Vyberte aspoÅ {0} variant(-y/-ov).",maxSelectError:"Nevyberajte viac než {0} variant(-y/-ov).",numericMinMax:"â{0}â m\xe1 byÅ¥ minim\xe1lne {1} a maxim\xe1lne {2}",numericMin:"â{0}â m\xe1 byÅ¥ minim\xe1lne {1}",numericMax:"â{0}â m\xe1 byÅ¥ maxim\xe1lne {1}",invalidEmail:"Zadajte platn\xfa e-mailov\xfa adresu.",invalidExpression:"V\xfdraz: {0} m\xe1 vr\xe1tiÅ¥ hodnotu âtrueâ.",urlRequestError:"Požiadavky vr\xe1tila hodnotu â{0}â. {1}",urlGetChoicesError:"Požiadavka vr\xe1tila pr\xe1zdne \xfadaje alebo je vlastnosÅ¥ âcestaâ nespr\xe1vna",exceedMaxSize:"VeľkosÅ¥ s\xfaboru nem\xe1 prekroÄiÅ¥ {0}.",noUploadFilesHandler:'S\xfabory nie je možn\xe9 nahraÅ¥. Pridajte obslužn\xfd program pre udalosÅ¥ "onUploadFiles".',otherRequiredError:"Požaduje sa odozva: zadajte in\xfa hodnotu.",uploadingFile:"S\xfabor sa odovzd\xe1va. PoÄkajte niekoľko sek\xfand a sk\xfaste to znova.",loadingFile:"NaÄ\xedtanie...",chooseFile:"Vyberte s\xfabor(-y)...",noFileChosen:"Žiadny vybrat\xfd s\xfabor",filePlaceholder:"PresuÅte s\xfabor sem alebo kliknite na n
8asleduj\xface tlaÄidlo a naÄ\xedtajte s\xfabor.",confirmDelete:"Chcete z\xe1znam odstr\xe1niÅ¥?",keyDuplicationError:"T\xe1to hodnota m\xe1 byÅ¥ jedineÄn\xe1.",addColumn:"PridaÅ¥ stĺpec",addRow:"PridaÅ¥ riadok",removeRow:"Odstr\xe1niÅ¥",emptyRowsText:"K dispoz\xedcii nie s\xfa žiadne riadky.",addPanel:"PridaÅ¥ nov\xe9",removePanel:"Odstr\xe1niÅ¥",showDetails:"ZobraziÅ¥ podrobnosti",hideDetails:"SkryÅ¥ podrobnosti",choices_Item:"položka",matrix_column:"Stĺpec",matrix_row:"Riadok",multipletext_itemname:"text",savingData:"V\xfdsledky sa ukladaj\xfa na server...",savingDataError:"V d\xf4sledku chyby sa nepodarilo v\xfdsledky uložiÅ¥.",savingDataSuccess:"V\xfdsledky sa \xfaspeÅ¡ne uložili.",savingExceedSize:"VaÅ¡a odpoveÄ presahuje 64 kB. ZmenÅ¡ite veľkosÅ¥ svojich s\xfaborov a sk\xfaste to znova alebo kontaktujte vlastn\xedka prieskumu.",saveAgainButton:"Sk\xfaste to znova",timerMin:"min",timerSec:"s",timerSpentAll:"Na tejto str\xe1nke ste str\xe1vili {0} a celkovo {1}.",timerSpentPage:"Na tejto str\xe1nke ste str\xe1vili {0}.",timerSpentSurvey:"Celkovo ste str\xe1vili {0}.",timerLimitAll:"Na tejto str\xe1nke ste str\xe1vili {0} z {1} a celkovo {2} z {3}.",timerLimitPage:"Na tejto str\xe1nke ste str\xe1vili {0} z {1}.",timerLimitSurvey:"Celkovo ste str\xe1vili {0} z {1}.",clearCaption:"VymazaÅ¥",signaturePlaceHolder:"Podp\xedsaÅ¥ tu",signaturePlaceHolderReadOnly:"Bez podpisu",chooseFileCaption:"VybraÅ¥ s\xfabor",takePhotoCaption:"OdfotiÅ¥",photoPlaceholder:"Kliknut\xedm na tlaÄidlo nižšie nasn\xedmate fotografiu pomocou fotoapar\xe1tu.",fileOrPhotoPlaceholder:"PresuÅte myÅ¡ou alebo vyberte s\xfabor, ktor\xfd chcete nahraÅ¥ alebo nasn\xedmaÅ¥ fotografiu pomocou fotoapar\xe1tu.",replaceFileCaption:"Nahradenie s\xfaboru",removeFileCaption:"Odstr\xe1niÅ¥ tento s\xfabor",booleanCheckedLabel:"\xc1no",booleanUncheckedLabel:"Nie",confirmRemoveFile:"Naozaj chcete odstr\xe1niÅ¥ tento s\xfabor: {0}?",confirmRemoveAllFiles:"Naozaj chcete odstr\xe1niÅ¥ vÅ¡etky s\xfabory?",questionTitlePatternText:"Titul ot\xe1zky",modalCancelButtonText:"ZruÅ¡iÅ¥",modalApplyButtonText:"PoužiÅ¥",filterStringPlaceholder:"Vyhľad\xe1vanie p\xedsan\xedm...",emptyMessage:"Žiadne \xfadaje na zobrazenie",noEntriesText:"K dispoz\xedcii eÅ¡te nie s\xfa žiadne zadania.\nKliknut\xedm na nasleduj\xface tlaÄidlo pridajte nov\xe9 zadanie.",noEntriesReadonlyText:"Nie s\xfa k dispoz\xedcii žiadne z\xe1znamy.",tabTitlePlaceholder:"Nov\xfd panel",more:"Viacej",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"VÅ¡etky možnosti s\xfa zoraden\xe9",selectToRankEmptyUnrankedAreaText:"PresuÅte sem voľby, aby ste ich zoradili",ok:"OK",cancel:"ZruÅ¡iÅ¥"},nativeName:"SlovenÄina",englishName:"Slovak"}),setupLocale({localeCode:"es",strings:{pagePrevText:"Anterior",pageNextText:"Siguiente",completeText:"Completar",previewText:"Vista previa",editText:"Edita",startSurveyText:"Comienza",otherItemText:"Otro (describa)",noneItemText:"Ninguno",refuseItemText:"Negarse a responder",dontKnowItemText:"No s\xe9",selectAllItemText:"Seleccionar todo",deselectAllItemText:"Anular la selecci\xf3n de todo",progressText:"P\xe1gina {0} de {1}",indexText:"{0} de {1}",panelDynamicProgressText:"Registro {0} de {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Respondi\xf3 a {0}/{1} preguntas",emptySurvey:"No hay p\xe1gina visible o pregunta en la encuesta.",completingSurvey:"\xa1Gracias por completar la encuesta!",completingSurveyBefore:"Nuestros registros muestran que ya ha completado esta encuesta.",loadingSurvey:"La encuesta est\xe1 cargando...",placeholder:"Seleccione...",ratingOptionsCaption:"Toca aqu\xed para calificar...",value:"valor",requiredError:"Por favor conteste la pregunta.",requiredErrorInPanel:"Por favor, responda al menos una pregunta.",requiredInAllRowsError:"Por favor conteste las preguntas en cada hilera.",eachRowUniqueError:"Cada fila debe tener un valor \xfanico.",numericError:"La estimaci\xf3n debe ser num\xe9rica.",minError:"La estimaci\xf3n no debe ser menor que {0}",maxError:"La estimaci\xf3n no debe ser mayor que {0}",textNoDigitsAllow:"No se permiten n\xfameros.",textMinLength:"Por favor entre por lo menos {0} s\xedmbolos.",textMaxLength:"Por favor entre menos de {0} s\xedmbolos.",textMinMaxLength:"Por favor entre m\xe1s de {0} y menos de {1} s\xedmbolos.",minRowCountError:"Por favor llene por lo menos {0} hileras.",minSelectError:"Por favor seleccione por lo menos {0} variantes.",maxSelectError:"Por favor seleccione no m\xe1s de {0} variantes.",numericMinMax:"El '{0}' debe de ser igual o m\xe1s de {1} y igual o menos de {2}",numericMin:"El '{0}' debe ser igual o m\xe1s de {1}",numericMax:"El '{0}' debe ser igual o menos de {1}
8",invalidEmail:"Por favor agregue un correo electr\xf3nico v\xe1lido.",invalidExpression:"La expresi\xf3n: {0} deber\xeda devolver 'verdadero'.",urlRequestError:"La solicitud regres\xf3 error '{0}'. {1}",urlGetChoicesError:"La solicitud regres\xf3 vac\xedo de data o la propiedad 'trayectoria' no es correcta",exceedMaxSize:"El tama\xf1o del archivo no debe de exceder {0}.",noUploadFilesHandler:"Los archivos no se pueden cargar. Agregue un controlador para el evento 'onUploadFiles'.",otherRequiredError:"Por favor agregue la otra estimaci\xf3n.",uploadingFile:"Su archivo se est\xe1 subiendo. Por favor espere unos segundos e intente de nuevo.",loadingFile:"Cargando...",chooseFile:"Elija archivo(s)...",noFileChosen:"No se ha elegido ning\xfan archivo",filePlaceholder:"Suelte un archivo aqu\xed o haga clic en el bot\xf3n de abajo para cargar el archivo",confirmDelete:"\xbfQuieres borrar el registro?",keyDuplicationError:"Este valor debe ser \xfanico.",addColumn:"A\xf1adir columna",addRow:"Agregue una hilera",removeRow:"Eliminar una hilera",emptyRowsText:"No hay hileras.",addPanel:"A\xf1adir nuevo",removePanel:"Retire",showDetails:"Mostrar detalles",hideDetails:"Ocultar detalles",choices_Item:"art\xedculo",matrix_column:"Columna",matrix_row:"Hilera",multipletext_itemname:"texto",savingData:"Los resultados se est\xe1n guardando en el servidor...",savingDataError:"Los resultados se est\xe1n guardando en el servidor...",savingDataSuccess:"\xa1Los resultados se guardaron con \xe9xito!",savingExceedSize:"Su respuesta supera los 64 KB. Reduzca el tama\xf1o de su(s) archivo(s) e int\xe9ntelo de nuevo o p\xf3ngase en contacto con el propietario de una encuesta.",saveAgainButton:"Int\xe9ntalo de nuevo.",timerMin:"min",timerSec:"sec",timerSpentAll:"Has gastado {0} en esta p\xe1gina y {1} en total.",timerSpentPage:"Usted ha pasado {0} en esta p\xe1gina.",timerSpentSurvey:"Has gastado en total.",timerLimitAll:"Has gastado {0} de {1} en esta p\xe1gina y {2} de {3} en total.",timerLimitPage:"Has gastado {0} de {1} en esta p\xe1gina.",timerLimitSurvey:"Usted ha gastado {0} de {1} en total.",clearCaption:"Borrar",signaturePlaceHolder:"Firma aqui",signaturePlaceHolderReadOnly:"Sin firma",chooseFileCaption:"Elija el archivo",takePhotoCaption:"Tomar foto",photoPlaceholder:"Haga clic en el bot\xf3n de abajo para tomar una foto con la c\xe1mara.",fileOrPhotoPlaceholder:"Arrastre y suelte o seleccione un archivo para cargar o tomar una foto con la c\xe1mara.",replaceFileCaption:"Reemplazar archivo",removeFileCaption:"Elimina este archivo",booleanCheckedLabel:"S\xed",booleanUncheckedLabel:"No",confirmRemoveFile:"\xbfEst\xe1s seguro de que quieres eliminar este archivo: {0}?",confirmRemoveAllFiles:"\xbfEst\xe1s seguro de que quieres eliminar todos los archivos?",questionTitlePatternText:"T\xedtulo de la pregunta",modalCancelButtonText:"Anular",modalApplyButtonText:"Aplicar",filterStringPlaceholder:"Escribe para buscar...",emptyMessage:"No hay datos para mostrar",noEntriesText:"A\xfan no hay entradas.\nHaga clic en el bot\xf3n de abajo para agregar una nueva entrada.",noEntriesReadonlyText:"No hay entradas.",tabTitlePlaceholder:"Nuevo panel",more:"M\xe1s",tagboxDoneButtonCaption:"De acuerdo",selectToRankEmptyRankedAreaText:"Todas las opciones est\xe1n clasificadas",selectToRankEmptyUnrankedAreaText:"Arrastra y suelta opciones aqu\xed para clasificarlas",ok:"De acuerdo",cancel:"Cancelar"},nativeName:"espa\xf1ol",englishName:"Spanish"}),setupLocale({localeCode:"sw",strings:{pagePrevText:"Iliyotangulia",pageNextText:"Ifuatayo",completeText:"Kamili",previewText:"Hakiki",editText:"Hariri",startSurveyText:"Anza",otherItemText:"Nyingine (eleza)",noneItemText:"Hakuna",refuseItemText:"Kukataa kujibu",dontKnowItemText:"Sijui",selectAllItemText:"Chagua Zote",deselectAllItemText:"Delete All",progressText:"Ukurasa {0} wa {1}",indexText:"{0} ya {1}",panelDynamicProgressText:"Rekodi {0} ya {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Yaliyojibiwa {0}/{1} maswali",emptySurvey:"Hakuna ukurasa unaoonekana au swali katika utafiti.",completingSurvey:"Asanti kwa kukamilish
8a utafiti!",completingSurveyBefore:"Recodi zetu zinatuonyesha tayari umekamilisha utafiti.",loadingSurvey:"Tunaandaa utafiti...",placeholder:"Chagua...",ratingOptionsCaption:"Teua...",value:"thamani",requiredError:"Tafadhali jibu hili swali.",requiredErrorInPanel:"Tafadhali jibu swali angalau moja.",requiredInAllRowsError:"Tafadhali jibu maswali katika safu zote.",eachRowUniqueError:"Kila safu lazima iwe na thamani ya kipekee.",numericError:"Thamani inapaswa kuwa ya nambari.",minError:"Thamani haipaswi kuwa chini ya {0}",maxError:"Thamani haipaswi kuwa kubwa kuliko {0}",textNoDigitsAllow:"Hesabu haziruhusiwi.",textMinLength:"Tafadhali ingiza angalau{0} husika.",textMaxLength:"Tafadhali ingiza isiozidi {0} husika.",textMinMaxLength:"Tafadhali ingiza kiwango zaidi ya {0} na kisichopungua {1} husika.",minRowCountError:"Tafadhali jaza isiopungua {0} safu.",minSelectError:"Tafadhali chagua angalau {0} lahaja.",maxSelectError:"Tafadhali changua isiozidi {0} lahaja.",numericMinMax:" '{0}' inapaswa kuwa sawa au zaidi ya {1} na sawa au chini ya {2}",numericMin:" '{0}'inapaswa kuwa sawa au zaidi ya {1}",numericMax:" '{0}'inapaswa kuwa sawa au chini ya {1}",invalidEmail:"Tafadhali ingiza anwani halali ya barua-pepe.",invalidExpression:"Usemi:{0} inapaswa kurudi 'kweli'.",urlRequestError:"Ombi lina kosa '{0}'. {1}",urlGetChoicesError:"Ombi lilirudisha data tupu au the 'path' mali ya njia sio sahihi",exceedMaxSize:"Saizi ya faili haipaswi kuzidi {0}.",noUploadFilesHandler:"Faili haziwezi kupakiwa. Tafadhali ongeza kishiko kwa tukio la 'onUploadFiles'.",otherRequiredError:"Tafadhali ingiza thamani nyingine.",uploadingFile:"Faili yako inapakia.Tafadhali subiri sekunde kadhaa na ujaribu tena.",loadingFile:"Inapakia...",chooseFile:"Chagua faili...",noFileChosen:"Hujachagua faili",filePlaceholder:"Buruta na udondoshe faili hapa au bofya kitufe hapa chini na uchague faili ya kupakia.",confirmDelete:"Je! Unataka kufuta rekodi?",keyDuplicationError:"Thamani hii inapaswa kuwa ya kipekee.",addColumn:"Ongeza Kolamu",addRow:"Ongeza safu",removeRow:"Toa",emptyRowsText:"Hakuna safu.",addPanel:"Ongeza mpya",removePanel:"Toa",showDetails:"Onyesha Maelezo",hideDetails:"Ficha Maelezo",choices_Item:"kitu",matrix_column:"Kolamu",matrix_row:"Safu",multipletext_itemname:"Ujumbe",savingData:"Matokeo yamehifadhiwa kwa seva...",savingDataError:"Kosa limetokea na hatukuweza kuhifadhi matokeo.",savingDataSuccess:"Matokeo yamehifadhiwa!",savingExceedSize:"Jibu lako ni zaidi ya 64KB. Tafadhali punguza ukubwa wa faili yako na jaribu tena au wasiliana na mmiliki wa utafiti.",saveAgainButton:"Jaribu tena",timerMin:"dakika",timerSec:"sekunde",timerSpentAll:"Umetumia {0} kwenye ukurasa huu na {1} kwa jumla.",timerSpentPage:"Umetumia {0} kwenye ukurasa huu.",timerSpentSurvey:"Umetumia {0} kwa jumla.",timerLimitAll:"Umetumia {0} ya {1} kwenye ukurasa huu {2} wa {3} kwa jumla.",timerLimitPage:"Umetumia {0} ya {1} kwenye ukurasa huu.",timerLimitSurvey:"Umetumia {0} ya {1} kwa jumla.",clearCaption:"Ondoa",signaturePlaceHolder:"Ingia hapa",signaturePlaceHolderReadOnly:"Hakuna saini",chooseFileCaption:"Chagua faili",takePhotoCaption:"Chukua Picha",photoPlaceholder:"Bonyeza kitufe hapa chini ili kupiga picha kwa kutumia kamera.",fileOrPhotoPlaceholder:"Drag na kuacha au kuchagua faili kupakia au kuchukua picha kwa kutumia kamera.",replaceFileCaption:"Badilisha faili",removeFileCaption:"Ondoa faili",booleanCheckedLabel:"Ndio",booleanUncheckedLabel:"Hapana",confirmRemoveFile:"Je! Una uhakika kuwa unataka kuondoa faili hii: {0}?",confirmRemoveAllFiles:"Je! Una uhakika kuwa unataka kuondoa faili zote?",questionTitlePatternText:"Kichwa cha Swali",modalCancelButtonText:"Katisha",modalApplyButtonText:"Tekeleza",filterStringPlaceholder:"Andika ili kutafuta...",emptyMessage:"Hakuna data ya kuonyesha",noEntriesText:"Hakuna maingizo kwa sasa.\nBofya kitufe hapa chini ili kuongeza ingizo jipya.",noEntriesReadonlyText:"Hakuna viingilio.",tabTitlePlaceholder:"Jopo Jipya",more:"Zaidi",tagboxDoneButtonCaption:"Sawa kabisa",selectToRankEmptyRankedAreaText:"Chaguzi zote zimeorodheshwa",selectToRankEmptyUnrankedAreaText:"Buruta na uache uchaguzi hapa ili kuziorodhesha",ok:"Sawa kabisa",cancel:"Katisha"},nativeName:"swahili",englishName:"Swahili"}),setupLocale({localeCode:"sv",strings:{pagePrevText:"F\xf6reg\xe5ende",pageNextText:"N\xe4sta",completeText:"Slutf\xf6r",previewText:"F\xf6rhandsvisning",editText:"Redigera",startSurveyText:"B\xf6rja",otherItemText:"Annat (beskriv)",noneItemText:"Ingen",refuseItemText:"V\xe4gra svara",dontKnowItemText:"Vet inte",selectAllItemText:"V\xe4lj alla",deselectAllItemText:"Avmarkera alla",progressText:"Sida {0} av {1}",indexText:"{0} av {1}",panelDynamicProgressText:"{0} av {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0} / {1} fr\xe5gor besvarade",emptySurvey:"Det finns ingen synlig sida eller fr\xe5ga i enk\xe4ten.",completingSurvey:"Tack f\xf6r att du genomf\xf6rt enk\xe4ten!!",completingSurveyBefore:"V\xe5ra register visar att du redan har slutf\xf6rt denna unders\xf6kning.",loadingSurvey:"Enk\xe4ten laddas...",placeholder:"V\xe4lj...",ratingOptionsCaption:"Tryck h\xe4r f\xf6r att betygs\xe4tta...",value:"v\xe4rde",requiredError:"Fr\xe5gan \xe4r obligatorisk.",requiredErrorInPanel:"V\xe4nligen svara p\xe5 minst en fr\xe5ga.",requiredInAllRowsError:"Var v\xe4nlig besvara fr\xe5gorna p\xe5 alla rader.",eachRowUniqueError:"Varje rad m\xe5ste ha ett unikt v\xe4rde.",numericError:"V\xe4rdet ska vara numeriskt.",minError:"V\xe4rdet f\xe5r inte vara mindre \xe4n {0}",maxError:"V\xe4rdet f\xe5r inte vara st\xf6rre \xe4n {0}",textNoDigitsAllow:"Nummer \xe4r inte till\xe5tna.",textMinLength:"Ange minst {0} tecken.",textMaxLength:"Ange f\xe4rre \xe4n {0} tecken.",textMinMaxLength:"Ange mer \xe4n {0} och f\xe4rre \xe4n {1} tecken.",minRowCountError:"Var v\xe4nlig fyll i minst {0} rader.",minSelectError:"Var v\xe4nlig v\xe4lj \xe5tminstone {0} varianter.",maxSelectError:"Var v\xe4nlig v\xe4lj inte fler \xe4n {0} varianter.",numericMinMax:"'{0}' ska vara lika med eller mer \xe4n {1} samt lika med eller mindre \xe4n {2}",numericMin:"'{0}' ska vara lika med eller mer \xe4n {1}",numericMax:"'{0}' ska vara lika med eller mindre \xe4n {1}
8",invalidEmail:"Var v\xe4nlig ange en korrekt e-postadress.",invalidExpression:"Uttrycket: {0} ska returnera 'true'.",urlRequestError:"F\xf6rfr\xe5gan returnerade felet '{0}'. {1}",urlGetChoicesError:"Antingen returnerade f\xf6rfr\xe5gan ingen data eller s\xe5 \xe4r egenskapen 'path' inte korrekt",exceedMaxSize:"Filstorleken f\xe5r ej \xf6verstiga {0}.",noUploadFilesHandler:"Filer kan inte laddas upp. L\xe4gg till en hanterare f\xf6r h\xe4ndelsen 'onUploadFiles'.",otherRequiredError:"Var v\xe4nlig ange det andra v\xe4rdet.",uploadingFile:"Din fil laddas upp. Var v\xe4nlig v\xe4nta n\xe5gra sekunder och f\xf6rs\xf6k sedan igen.",loadingFile:"Laddar...",chooseFile:"V\xe4lj fil(er) ...",noFileChosen:"Ingen fil vald",filePlaceholder:"Dra och sl\xe4pp en fil h\xe4r eller klicka p\xe5 knappen nedan och v\xe4lj en fil att ladda upp.",confirmDelete:"Vill du radera posten?",keyDuplicationError:"Detta v\xe4rde ska vara unikt.",addColumn:"L\xe4gg till kolumn",addRow:"L\xe4gg till rad",removeRow:"Ta bort",emptyRowsText:"Det finns inga rader.",addPanel:"L\xe4gg till ny",removePanel:"Ta bort",showDetails:"Detaljer",hideDetails:"G\xf6m detal
8jer",choices_Item:"Artikel",matrix_column:"Kolumn",matrix_row:"Rad",multipletext_itemname:"text",savingData:"Resultaten sparas p\xe5 servern ...",savingDataError:"Ett fel intr\xe4ffade och vi kunde inte spara resultaten.",savingDataSuccess:"Resultaten lyckades sparas!",savingExceedSize:"Ditt svar \xf6verskrider 64 kB. Minska storleken p\xe5 dina filer och f\xf6rs\xf6k igen eller kontakta en unders\xf6knings\xe4gare.",saveAgainButton:"F\xf6rs\xf6k igen",timerMin:"min",timerSec:"sek",timerSpentAll:"Du har spenderat {0} p\xe5 den h\xe4r sidan och {1} totalt.",timerSpentPage:"Du har spenderat {0} p\xe5 den h\xe4r sidan.",timerSpentSurvey:"Du har spenderat {0} totalt.",timerLimitAll:"Du har spenderat {0} av {1} p\xe5 den h\xe4r sidan och {2} av {3} totalt.",timerLimitPage:"Du har spenderat {0} av {1} p\xe5 den h\xe4r sidan.",timerLimitSurvey:"Du har spenderat {0} av {1} totalt.",clearCaption:"Klar",signaturePlaceHolder:"Signera h\xe4r",signaturePlaceHolderReadOnly:"Ingen signatur",chooseFileCaption:"V\xe4lj fil",takePhotoCaption:"Ta foto",photoPlaceholder:"Klicka p\xe5 knappen nedan f\xf6r att ta ett foto med kameran.",fileOrPhotoPlaceholder:"Dra och sl\xe4pp eller v\xe4lj en fil att ladda upp eller ta ett foto med kameran.",replaceFileCaption:"Ers\xe4tt fil",removeFileCaption:"Ta bort den h\xe4r filen",booleanCheckedLabel:"Ja",booleanUncheckedLabel:"Nej",confirmRemoveFile:"\xc4r du s\xe4ker p\xe5 att du vill ta bort den h\xe4r filen: {0}?",confirmRemoveAllFiles:"\xc4r du s\xe4ker p\xe5 att du vill ta bort alla filer?",questionTitlePatternText:"Fr\xe5getitel",modalCancelButtonText:"Avbryt",modalApplyButtonText:"Spara",filterStringPlaceholder:"Skriv f\xf6r att s\xf6ka...",emptyMessage:"Ingen data finns",noEntriesText:"Det finns inga v\xe4rden \xe4n.\nKlicka p\xe5 knappen nedan f\xf6r att l\xe4gga till nytt v\xe4rde.",noEntriesReadonlyText:"Det finns inga poster.",tabTitlePlaceholder:"Ny panel",more:"Mer",tagboxDoneButtonCaption:"OKEJ",selectToRankEmptyRankedAreaText:"Alla val rangordnas",selectToRankEmptyUnrankedAreaText:"Dra och sl\xe4pp val h\xe4r f\xf6r att rangordna dem",ok:"OKEJ",cancel:"Annullera"},nativeName:"svenska",englishName:"Swedish"}),setupLocale({localeCode:"tg",strings:{pagePrevText:"ÐозгаÑÑ",pageNextText:"ÐÑнда",completeText:"ÐÒ·Ñо ÑÑд",startSurveyText:"ÐÒоз",otherItemText:"ÐÐ¸Ð³Ð°Ñ (лÑÑÑан ÑавÑÐ¸Ñ ÐºÑнед)",noneItemText:"Ðе",selectAllItemText:"ҲамаÑо инÑиÑ
об каÑдан",progressText:"СаҳиÑаи {0} аз {1}",emptySurvey:"Ягон Ñавол вÑÒ·Ñд надоÑад.",completingSurvey:"ТаÑаккÑÑ Ð±Ð°Ñои пÑÑ ÐºÐ°Ñдани Ñаволнома!",completingSurveyBefore:"ШÑмо аллакай ин пÑÑÑиÑÑо анҷом додаед.",loadingSurvey:"ÐоÑгиÑÓ£ аз ÑеÑвеÑ...",placeholder:"ÐнÑиÑ
об каÑдан...",value:"ÒиммаÑ",requiredError:"ÐлÑимоÑ, ба Ñавол ҷавоб диҳед.",requiredErrorInPanel:"ÐлÑимоÑ, аÒалан ба Ñк Ñавол ҷавоб диҳед.",requiredInAllRowsError:"ÐлÑимоÑ, ба ҳамаи Ñаволҳо Ð´Ð°Ñ Ò³Ð°Ð¼Ð°Ð¸ ÑаÑÑҳо ҷавоб диҳед.",numericError:"Ҷавоб боÑд ÑаÒам боÑад.",textMinLength:"ÐлÑимоÑ, аз {0} зиÑдÑÐ°Ñ Ñамз воÑид кÑнед.",textMaxLength:"ÐлÑимоÑ, аз {0} камÑÐ°Ñ Ñамз воÑид кÑнед.",textMinMaxLength:"ÐлÑимоÑ, аз {0} зиÑдÑÐ°Ñ Ð²Ð° аз {1} камÑÐ°Ñ Ñамз воÑид кÑнед.",minRowCountError:"ÐлÑимоÑ, на камÑÐ°Ñ Ð°Ð· {0} ÑаÑÑ Ð¿ÑÑ ÐºÑнед.",minSelectError:"ÐлÑимоÑ, аÒалан {0} ваÑÐ¸Ð°Ð½Ñ Ð¸Ð½ÑиÑ
об кÑнед.",maxSelectError:"ÐлÑимоÑ, на зиÑдÑÐ°Ñ Ð°Ð· {0} ваÑÐ¸Ð°Ð½Ñ Ð¸Ð½ÑиÑ
об кÑнед.",numericMinMax:"'{0}' боÑд на кам аз {1} ва на биÑÑÑ Ð°Ð· {2} боÑад",numericMin:"'{0}' боÑд на кам аз {1} боÑад",numericMax:"'{0}' боÑд на зиÑд аз {1} боÑад",invalidEmail:"ÐлÑимоÑ, поÑÑаи ÑлекÑÑонии воÒеиÑо воÑид кÑнед.",invalidExpression:"ÐÑодаи {0} боÑд 'true' баÑгаÑдонад.",urlRequestError:"ÐаÑÑ
оÑÑ Ñ
аÑогӣ бозгаÑдонд '{0}'. {1}",urlGetChoicesError:"Ҷавоб ба даÑÑ
оÑÑ Ñ
олӣ омад Ñ Ñ
оÑиÑÑи 'path' нодÑÑÑÑÑ Ð¼ÑайÑн каÑда ÑÑдааÑÑ",exceedMaxSize:"Ðндозаи Ñайл боÑд на калон аз {0} боÑад.",otherRequiredError:"ÐлÑимоÑ, ба майдони 'ÐигаÑ' додаҳоÑо воÑид кÑнед",uploadingFile:"Файли ÑÑмо Ð±Ð¾Ñ ÑÑда иÑÑодааÑÑ. ЯкÑанд ÑÐ¾Ð½Ð¸Ñ Ð¸Ð½ÑÐ¸Ð·Ð¾Ñ Ñавед ва боÑи Ð´Ð¸Ð³Ð°Ñ ÐºÓ¯ÑÐ¸Ñ ÐºÑнед.",loadingFile:"ÐоÑкÑнӣ...",chooseFile:"Файл(ҳо)-Ñо инÑиÑ
об кÑнед...",confirmDelete:"ШÑмо мÑÑмаин ҳаÑÑед, ки меÑ
оҳед воÑидÑо Ñоза кÑнед?",keyDuplicationError:"Ðн аÑÐ·Ð¸Ñ Ð±Ð¾Ñд Ð±ÐµÐ½Ð°Ð·Ð¸Ñ Ð±Ð¾Ñад.",addColumn:"Ðловаи ÑÑÑÑн",addRow:"Ðловаи ÑаÑÑ",removeRow:"ÐеÑÑ ÐºÐ°Ñдан",addPanel:"Ðлова каÑдан",removePanel:"ÐеÑÑ ÐºÐ°Ñдан",choices_Item:"ÐаÑианÑ",matrix_column:"СÑÑÑн",matrix_row:"СаÑÑ",savingData:"ÐаÑиҷа ба ÑеÑÐ²ÐµÑ ÑÐ°Ð±Ñ ÑÑда иÑÑодаанд...",savingDataError:"ХаÑогӣ ба амал омад, наÑиҷа ÑÐ°Ð±Ñ Ð½Ð°ÑÑд.",savingDataSuccess:"ÐаÑиҷа бомÑваÑÑакиÑÑ ÑÐ°Ð±Ñ ÑÑд!",saveAgainButton:"ÐоÑи Ð´Ð¸Ð³Ð°Ñ ÐºÓ¯ÑÐ¸Ñ ÐºÐ°Ñданд",timerMin:"даÒ",timerSec:"Ñон",timerSpentAll:"ШÑмо {
80} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ва {1} Ð´Ð°Ñ ÑмÑм ÑаÑÑ ÐºÐ°Ñдед.",timerSpentPage:"ШÑмо {0} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ÑаÑÑ ÐºÐ°Ñдед.",timerSpentSurvey:"ШÑмо {0} Ð´Ð°Ñ Ð¸Ð½ ÑеÑÑ ÑаÑÑ Ð½Ð°Ð¼Ñдед.",timerLimitAll:"ШÑмо {0} аз {1} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ва {2} аз {3} Ð´Ð°Ñ ÑмÑм ÑаÑÑ ÐºÐ°Ñдед Ð´Ð°Ñ Ð´Ð¾Ñ
или ин ÑеÑÑ.",timerLimitPage:"ШÑмо {0} аз {1} Ð´Ð°Ñ Ð¸Ð½ ÑаҳиÑа ÑаÑÑ ÐºÐ°Ñдед.",timerLimitSurvey:"ШÑмо {0} аз {1} Ð´Ð°Ñ Ò³Ð°Ð¼Ð°Ð¸ ÑеÑÑ ÑаÑÑ ÐºÐ°Ñдед.",clearCaption:"Тоза каÑдан",removeFileCaption:"ФайлÑо неÑÑ ÐºÐ°Ñдан"},nativeName:"Ñоҷикӣ",englishName:"Tajik"}),setupLocale({localeCode:"th",strings:{pagePrevText:"à¸à¹à¸à¸à¸«à¸à¹à¸²",pageNextText:"à¸à¸±à¸à¹à¸",completeText:"สำà¹à¸£à¹à¸",previewText:"à¸à¸¹à¸à¸±à¸§à¸à¸¢à¹à¸²à¸",editText:"à¹à¸à¹à¹à¸",startSurveyText:"à¹à¸£à¸´à¹à¸¡",otherItemText:"à¸à¸·à¹à¸à¹ (à¹à¸à¸£à¸à¸£à¸°à¸à¸¸)",noneItemText:"à¹à¸¡à¹à¸¡à¸µ",refuseItemText:"à¸à¸à¸´à¹à¸ªà¸à¸à¸µà¹à¸à¸°à¸à¸à¸",dontKnowItemText:"à¹à¸¡à¹à¸à¸£à¸²à¸",selectAllItemText:"à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸",deselectAllItemText:"ยà¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸",progressText:"หà¸à¹à¸²à¸à¸µà¹ {0} à¸à¸²à¸ {1}",indexText:"{0} of {1}",panelDynamicProgressText:"รายà¸à¸²à¸£à¸à¸µà¹ {0} à¸à¸²à¸ {1}",panelDynamicTabTextFormat:"à¹à¸à¸ {panelIndex}",questionsProgressText:"à¸à¸³à¸à¸à¸à¸à¸µà¹ {0}/{1} à¸à¸³à¸à¸§à¸à¸à¸³à¸à¸²à¸¡",emptySurvey:"à¹à¸¡à¹à¸¡à¸µà¸«à¸à¹à¸²à¹à¸à¸à¸à¸µà¹à¸¡à¸à¸à¹à¸«à¹à¸ หรืภà¸à¸³à¸à¸²à¸¡à¹à¸ survey à¸à¸µà¹",completingSurvey:"à¸à¸à¸à¸à¸¸à¸à¸à¸µà¹à¸à¸³ survey à¸à¸à¹à¸ªà¸£à¹à¸",completingSurveyBefore:"รายà¸à¸²à¸£à¸à¸à¸à¹à¸£à¸²à¹à¸ªà¸à¸à¸§à¹à¸²à¸à¸¸à¸à¹à¸à¹à¸à¸³ survey à¹à¸ªà¸£à¹à¸à¹à¸£à¸µà¸¢à¸à¸£à¹à¸à¸¢à¹à¸¥à¹à¸§",loadingSurvey:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸ Survey...",placeholder:"à¹à¸¥à¸·à¸à¸...",ratingOptionsCaption:"à¹à¸¥à¸·à¸à¸ ",value:"à¸à¹à¸à¸¡à¸¹à¸¥",requiredError:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸à¸³à¸à¸²à¸¡",requiredErrorInPanel:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸à¸±à¹à¸à¸à¹à¸³à¸«à¸à¸¶à¹à¸à¸à¸³à¸à¸²à¸¡",requiredInAllRowsError:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸à¸³à¸à¸²à¸¡à¹à¸à¸à¸¸à¸à¹à¹à¸à¸§",eachRowUniqueError:"à¹à¸à¹à¸¥à¸°à¹à¸à¸§à¸à¹à¸à¸à¸¡à¸µà¸à¹à¸²à¸à¸µà¹à¹à¸¡à¹à¸à¹à¹à¸²à¸à¸±à¸",numericError:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¹à¸ªà¹à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸±à¸§à¹à¸¥à¸",minError:"à¸à¹à¸²à¹à¸¡à¹à¸à¸§à¸£à¸à¹à¸à¸¢à¸à¸§à¹à¸² {0}",maxError:"à¸à¹à¸²à¹à¸¡à¹à¸à¸§à¸£à¹à¸à¸´à¸{0}",textNoDigitsAllow:"à¹à¸¡à¹à¸à¸à¸¸à¸à¸²à¸à¹à¸«à¹à¹à¸à¹à¸«à¸¡à¸²à¸¢à¹à¸¥à¸",textMinLength:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸±à¹à¸à¸à¹à¸³à¸à¸³à¸à¸§à¸ {0} à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",textMaxLength:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¹à¸¡à¹à¹à¸à¸´à¸à¸à¸³à¸à¸§à¸ {0} à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",textMinMaxLength:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸±à¹à¸à¸à¹à¸³à¸à¸³à¸à¸§à¸ {0} à¹à¸¥à¸°à¹à¸¡à¹à¹à¸à¸´à¸à¸à¸³à¸à¸§à¸ {1} à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",minRowCountError:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸±à¹à¸à¸à¹à¸³à¸à¸³à¸à¸§à¸ {0} à¹à¸à¸§",minSelectError:"à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢ {0} รายà¸à¸²à¸£",maxSelectError:"à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸à¹à¸¡à¹à¹à¸à¸´à¸ {0} รายà¸à¸²à¸£",numericMinMax:"'{0}' à¸à¹à¸à¸à¸¡à¸²à¸à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {1} à¹à¸¥à¸°à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {2}",numericMin:"'{0}' à¸à¹à¸à¸à¸¡à¸²à¸à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {1}",numericMax:"'{0}' à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸à¸±à¸ {1}",invalidEmail:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¸µà¹à¸¡à¸¥à¹à¹à¸à¸à¹à¸à¸£à¸ªà¸à¸µà¹à¸à¸¹à¸à¸à¹à¸à¸",invali
8dExpression:"The expression: {0} à¸à¹à¸à¸à¸£à¸µà¹à¸à¸´à¸£à¹à¸ 'true'.",urlRequestError:"รีà¹à¸à¸§à¸ªà¸£à¸µà¹à¸à¸´à¸£à¹à¸ error '{0}'. {1}",urlGetChoicesError:"รีà¹à¸à¸§à¸ªà¸£à¸µà¹à¸à¸´à¸£à¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸§à¹à¸²à¸à¹à¸à¸¥à¹à¸² หรืภ'path' property à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",exceedMaxSize:"à¸à¸à¸²à¸à¹à¸à¸¥à¹à¸à¹à¸à¸à¹à¸¡à¹à¹à¸à¸´à¸ {0}.",noUploadFilesHandler:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¹à¸à¹ à¹à¸à¸£à¸à¹à¸à¸´à¹à¸¡à¸à¸±à¸§à¸à¸±à¸à¸à¸²à¸£à¸ªà¹à¸²à¸«à¸£à¸±à¸à¹à¸«à¸à¸¸à¸à¸²à¸£à¸à¹ 'onUploadFiles'",otherRequiredError:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸à¹à¸²à¸à¸·à¹à¸",uploadingFile:"à¹à¸à¸¥à¹à¸à¸à¸à¸à¸¸à¸à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¸à¸¢à¸¹à¹. à¸à¸£à¸¸à¸à¸²à¸£à¸à¸ªà¸±à¸à¸à¸£à¸¹à¹à¹à¸¥à¹à¸§à¸à¸³à¸à¸²à¸£à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",loadingFile:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸...",chooseFile:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹...",noFileChosen:"à¹à¸¡à¹à¹à¸à¸¥à¹à¸à¸µà¹à¹à¸¥à¸·à¸à¸",filePlaceholder:"ลาà¸à¹à¸¥à¸°à¸§à¸²à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸µà¹à¸«à¸£à¸·à¸à¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸¥à¸°à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸°à¸à¸±à¸à¹à¸«à¸¥à¸",confirmDelete:"à¸à¸¸à¸à¸à¹à¸à¸à¸à¸²à¸£à¸¥à¸à¸£à¸²à¸¢à¸à¸²à¸£à¸à¸µà¹à¸à¸£à¸´à¸à¸«à¸£à¸·à¸à¹à¸¡à¹?",keyDuplicationError:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸à¹à¸à¹à¸ unique.",addColumn:"à¹à¸à¸´à¹à¸¡à¸à¸à¸¥à¸±à¸¡à¸à¹",addRow:"à¹à¸à¸´à¹à¸¡à¹à¸à¸§",removeRow:"ลà¸",emptyRowsText:"à¹à¸¡à¹à¸¡à¸µà¹à¸à¸§",addPanel:"à¹à¸à¸´à¹à¸¡",removePanel:"ลà¸",showDetails:"à¹à¸ªà¸à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸",hideDetails:"à¸à¹à¸à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸",choices_Item:"à¸à¸´à¹à¸",matrix_column:"à¸à¸à¸¥à¸±à¸¡à¸à¹",matrix_row:"à¹à¸à¸§",multipletext_itemname:"à¸à¹à¸à¸à¸§à¸²à¸¡",savingData:"à¸à¸¥à¸¥à¸±à¸à¸à¹à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¸à¸¶à¸à¸¥à¸à¸à¸µà¹à¹à¸à¸´à¸£à¹à¸à¹à¸§à¸à¸£à¹...",savingDataError:"มีà¸à¸§à¸²à¸¡à¸à¸´à¸à¸à¸¥à¸²à¸à¹à¸à¸´à¸à¸à¸¶à¹à¸à¸ªà¹à¸à¸à¸¥à¹à¸«à¹à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¸à¸¶à¸à¸à¸¥à¹à¸à¹",savingDataSuccess:"à¸à¸±à¸à¸à¸¶à¸à¸ªà¸³à¹à¸£à¹à¸à¹à¸¥à¹à¸§",savingExceedSize:"à¸à¹à¸²à¸à¸à¸à¸à¸à¸à¸à¸¸à¸à¹à¸à¸´à¸ 64KB à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸²à¸à¹à¸à¸¥à¹à¸à¸à¸à¸à¸¸à¸à¹à¸¥à¹à¸§à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸à¸«à¸£à¸·à¸à¸à¸´à¸à¸à¹à¸à¹à¸à¹à¸²à¸à¸à¸à¹à¸à¸à¸ªà¹à¸²à¸£à¸§à¸",saveAgainButton:"รà¸à¸à¸§à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",timerMin:"à¸à¸²à¸à¸µ",timerSec:"วิà¸à¸²à¸à¸µ",timerSpentAll:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹à¹à¸¥à¸° {1} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",timerSpentPage:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹",timerSpentSurvey:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",timerLimitAll:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸ {1} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹à¹à¸¥à¸° {2} à¸à¸à¸ {3} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",timerLimitPage:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸ {1} à¸à¸à¸«à¸à¹à¸²à¸à¸µà¹",timerLimitSurvey:"à¸à¸¸à¸à¹à¸à¹à¹à¸§à¸¥à¸² {0} à¸à¸à¸ {1} รวมà¸à¸±à¹à¸à¸«à¸¡à¸",clearCaption:"à¹à¸à¸¥à¸µà¸¢à¸£à¹",signaturePlaceHolder:"ลà¸à¸à¸·à¹à¸à¸à¸µà¹à¸à¸µà¹",signaturePlaceHolderReadOnly:"à¹à¸¡à¹à¸¡à¸µà¸¥à¸²à¸¢à¹à¸à¹à¸",chooseFileCaption:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹",takePhotoCaption:"à¸à¹à¸²à¸¢à¸£à¸¹à¸",photoPlaceholder:"à¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸à¸·à¹à¸à¸à¹à¸²à¸¢à¸ าà¸à¹à¸à¸¢à¹à¸à¹à¸à¸¥à¹à¸à¸",fileOrPhotoPlaceholder:"ลาà¸à¹à¸¥à¸°à¸§à¸²à¸à¸«à¸£à¸·à¸à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸°à¸à¸±à¸à¹à¸«à¸¥à¸à¸«à¸£à¸·à¸à¸à¹à¸²à¸¢à¸ าà¸à¹à¸à¸¢à¹à¸à¹à¸à¸¥à¹à¸à¸",replaceFileCaption:"à¹à¸à¸à¸à¸µà¹à¹à¸à¸¥à¹",removeFileCaption:"à¸à¸³à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸à¸",booleanCheckedLabel:"à¹à¸à¹",booleanUncheckedLabel:"à¹à¸¡à¹à¹à¸à¹",confirmRemoveFile:"à¸à¸¸à¸à¹à¸à¹à¹à¸à¸à¸µà¹à¸à¸°à¸à¸³à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸à¸à¹à¸à¹à¸«à¸£à¸·à¸à¹à¸¡à¹: {0}?",confirmRemoveAllFiles:"à¸à¸¸à¸à¹à¸à¹à¹à¸à¸à¸µà¹à¸à¸°à¸à¸³à¹à¸à¸¥à¹à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸à¸à¹à¸à¹à¸«à¸£à¸·à¸à¹à¸¡à¹",questionTitlePatternText:"à¸à¸·à¹à¸à¸à¸³à¸à¸²à¸¡",modalCancelButtonText:"ยà¸à¹à¸¥à¸´à¸",modalApplyButtonText:"à¹à¸à¹",filterStringPlaceholder:"à¸à¸´à¸¡à¸à¹à¹à¸à¸·à¹à¸à¸à¹à¸à¸«à¸²...",emptyMessage:"à¹à¸¡à¹à¸¡à¸µà¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¸°à¹à¸ªà¸à¸",noEntriesText:"ยัà¸à¹à¸¡à¹à¸¡à¸µà¸£à¸²à¸¢à¸à¸²à¸£\nà¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸à¸·à¹à¸à¹à¸à¸´à¹à¸¡à¸£à¸²à¸¢à¸à¸²à¸£à¹à¸«à¸¡à¹",noEntriesReadonlyText:"à¹à¸¡à¹à¸¡à¸µà¸£à¸²à¸¢à¸à¸²à¸£",tabTitlePlaceholder:"à¹à¸à¸à¹à¸«à¸¡à¹",more:"à¸à¸µà¸",tagboxDoneButtonCaption:"à¸à¸à¸¥à¸, à¹à¸à¹",selectToRankEmptyRankedAreaText:"à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸°à¸à¸¹à¸à¸à¸±à¸à¸à¸±à¸à¸à¸±à¸",selectToRankEmptyUnrankedAreaText:"ลาà¸à¹à¸¥à¸°à¸§à¸²à¸à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¸à¸µà¹à¸à¸µà¹à¹à¸à¸·à¹à¸à¸à¸±à¸à¸à¸±à¸à¸à¸±à¸",ok:"à¸à¸à¸¥à¸, à¹à¸à¹",cancel:"ยà¸à¹à¸¥à¸´à¸"},nativeName:"à¹à¸à¸¢",englishName:"Thai"}),setupLocale({localeCode:"zh-tw",strings:{pagePrevText:"ä¸ä¸é ",pageNextText:"ä¸ä¸é ",completeText:"æäº¤åå·",previewText:"é 覽",editText:"編輯",startSurveyText:"éå§",otherItemText:"填寫å
¶ä»çæ¡",noneItemText:"æ²æ",refuseItemText:"æçµåç",dontKnowItemText:"ä¸ç¥é",selectAllItemText:"å
¨é¸",deselectAllItemText:"åæ¶å
8
¨é¸",progressText:"第 {0} é , å
± {1} é ",indexText:"{1}{0}",panelDynamicProgressText:"{1}{0}",panelDynamicTabTextFormat:"颿¿ {颿¿ç´¢å¼}",questionsProgressText:"åçäº{0}/{1}åé¡",emptySurvey:"åå·ä¸æ²æå顿é é¢",completingSurvey:"æè¬æ¨çåè!",completingSurveyBefore:"æåçè¨é顯示æ¨å·²ç¶å®æäºæ¤èª¿æ¥ã",loadingSurvey:"åå·è¼å
¥ä¸...",placeholder:"è«é¸æ...",ratingOptionsCaption:"鏿ããã",value:"å¹å¼",requiredError:"è«å¡«å¯«æ¤åé¡",requiredErrorInPanel:"éè¦åçï¼è³å°åçä¸ååé¡ã",requiredInAllRowsError:"è«å¡«å¯«ææè¡ä¸åé¡",eachRowUniqueError:"æ¯è¡å¿
é å
·æå¯ä¸å¼ã",numericError:"çæ¡å¿
é æ¯åæ¸å",minError:"該å¼ä¸æå°æ¼ {0}",maxError:"該å¼ä¸æå¤§æ¼ {0}",textNoDigitsAllow:"ä¸å
è¨±ä½¿ç¨æ¸ä½ã",textMinLength:"çæ¡é·åº¦è³å° {0} ååå
",textMaxLength:"çæ¡é·åº¦ä¸è½è¶
é {0} ååå
",textMinMaxLength:"çæ¡é·åº¦å¿
é å¨ {0} - {1} ååå
ä¹é",minRowCountError:"æå°éè¦å¡«å¯« {0} è¡çæ¡",minSelectError:"æå°éè¦é¸æ {0} é
çæ¡",maxSelectError:"æå¤åªè½é¸æ {0} é
çæ¡",numericMinMax:"çæ¡ '{0}' å¿
é 大æ¼çæ¼ {1} ä¸å°æ¼çæ¼ {2}",numericMin:"çæ¡ '{0}' å¿
é 大æ¼çæ¼ {1}",numericMax:"çæ¡ '{0}' å¿
é å°æ¼çæ¼ {1}",invalidEmail:"è«è¼¸å
¥ææç Email å°å",invalidExpression:"表éå¼ï¼{0}æè¿åãtrueãã",urlRequestError:"è¼å
¥é¸é
æç¼çé¯èª¤ '{0}': {1}",urlGetChoicesError:"æªè½è¼å
¥ææçé¸é
æè«æ±åæ¸è·¯å¾æèª¤",exceedMaxSize:"æä»¶å¤§å°ä¸è½è¶
é {0}",noUploadFilesHandler:"ç¡æ³ä¸å³æªãè«çºãonUploadFilesãäºä»¶æ·»å èçç¨å¼ã",otherRequiredError:"è«å®æå
¶ä»åé¡",uploadingFile:"æä»¶ä¸å³ä¸... è«èå¿çå¾
å¹¾ç§å¾é試",loadingFile:"è£è¼ããã",chooseFile:"é¸ææªæ¡...",noFileChosen:"æªé¸æä»»ä½æª",filePlaceholder:"å°æªæ¡ææ¾å°æ¤èææä¸ä¸é¢çæé䏦鏿è¦ä¸å³çæªã",confirmDelete:"æ¯å¦è¦åªé¤è¨éï¼",keyDuplicationError:"æ¤å¼æè©²æ¯å¯ä¸çã",addColumn:"æ·»å å",addRow:"æ·»å çæ¡",removeRow:"åªé¤çæ¡",emptyRowsText:"æ²æè¡ã",addPanel:"æ°å¢",removePanel:"åªé¤",showDetails:"顯示詳細è³è¨",hideDetails:"é±è詳細è³è¨",choices_Item:"é¸é
",matrix_column:"å",matrix_row:"è¡",multipletext_itemname:"ç¼ç°¡è¨",savingData:"æ£å¨å°çµæä¿åå°æåå¨...",savingDataError:"å¨ä¿åçµæéç¨ä¸ç¼çäºé¯èª¤ï¼çµææªè½ä¿å",savingDataSuccess:"çµæä¿åæå!",savingExceedSize:"æ¨çå復è¶
é 64KBãè«æ¸å°æªç大å°ï¼ç¶å¾é試æè¯ç¹«èª¿æ¥ææè
ã",saveAgainButton:"è«é試",timerMin:"æå°",timerSec:"ç§",timerSpentAll:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}ï¼ç¸½å
±{1}ã",timerSpentPage:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}ã",timerSpentSurvey:"ä½ ç¸½å
±è±äº{0}ã",timerLimitAll:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}{1}ï¼ç¸½å
±è±è²»äº{2}{3}ã",timerLimitPage:"æ¨å¨æ¤é é¢ä¸è±è²»äº{0}{1}ã",timerLimitSurvey:"æ¨ç¸½å
±è±è²»äº{1}ç{0}ã",clearCaption:"æ¸
æ¥",signaturePlaceHolder:"卿¤ç°½å",signaturePlaceHolderReadOnly:"ç¡ç°½å",chooseFileCaption:"é¸ææªæ¡",takePhotoCaption:"æç
§",photoPlaceholder:"æä¸ä¸é¢çæé使ç¨ç¸æ©æç
§ã",fileOrPhotoPlaceholder:"ææ¾æé¸æè¦ä¸å³çæªæä½¿ç¨ç¸æ©ææç
§çã",replaceFileCaption:"æ¿ææª",removeFileCaption:"åªé¤æ¤æª",booleanCheckedLabel:"æ¯ç",booleanUncheckedLabel:"ä¸",confirmRemoveFile:"æ¯å¦ç¢ºå¯¦è¦åªé¤æ¤æªï¼{0}ï¼",confirmRemoveAllFiles:"æ¯å¦ç¢ºå¯¦è¦åªé¤æææªï¼",questionTitlePatternText:"å顿¨é¡",modalCancelButtonText:"åæ¶",modalApplyButtonText:"æç¨",filterStringPlaceholder:"éµå
¥ä»¥æå°...",emptyMessage:"æ²æè¦é¡¯ç¤ºçæ¸æ",noEntriesText:"å°ç¡æ¢ç®ã\næä¸ä¸é¢çæéä»¥æ·»å æ°æ¢ç®ã",noEntriesReadonlyText:"æ²ææ¢ç®ã",tabTitlePlaceholder:"æ°é¢æ¿",more:"æ´å¤",tagboxDoneButtonCaption:"éè¡",selectToRankEmptyRankedAreaText:"ææé¸æåå·²æå",selectToRankEmptyUnrankedAreaText:"å°é¸é
ææ¾å°æ¤èé²è¡æå",ok:"éè¡",cancel:"åæ¶"},nativeName:"ç¹é«ä¸æ",englishName:"Tranditional Chinese"}),setupLocale({localeCode:"tr",strings:{pagePrevText:"\xd6nceki",pageNextText:"Sonraki",completeText:"Tamamla",previewText:"\xd6nizleme",editText:"D\xfczenle",startSurveyText:"BaÅlat",otherItemText:"DiÄer (a\xe7ıklayınız)",noneItemText:"Hi\xe7biri",refuseItemText:"Cevap vermeyi reddet",dontKnowItemText:"Bilmiyorum",selectAllItemText:"T\xfcm\xfcn\xfc Se\xe7",deselectAllItemText:"T\xfcm\xfcn\xfcn se\xe7imini kaldır",progressText:"Sayfa {0}/{1}",indexText:"{0}/{1}",panelDynamicProgressText:"{0}/{1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} soru yanıtlandı",emptySurvey:"Ankette g\xf6r\xfcnt\xfclenecek sayfa ya da s
8oru mevcut deÄil.",completingSurvey:"Anketi tamamladıÄınız i\xe7in teÅekk\xfcr ederiz",completingSurveyBefore:"Kayıtlarımız bu anketi zaten tamamladıÄınızı g\xf6steriyor.",loadingSurvey:"Anket Y\xfckleniyor...",placeholder:"Se\xe7iniz...",ratingOptionsCaption:"Se\xe7iniz...",value:"deÄer",requiredError:"L\xfctfen soruya cevap verin.",requiredErrorInPanel:"L\xfctfen en az bir soruyu yanıtlayın.",requiredInAllRowsError:"L\xfctfen t\xfcm satırlardaki soruları cevaplayın.",eachRowUniqueError:"Her satırın benzersiz bir deÄeri olmalıdır.",numericError:"DeÄer sayısal olmalıdır.",minError:"DeÄer {0}'den k\xfc\xe7\xfck olmamalıdır",maxError:"DeÄer {0}'dan b\xfcy\xfck olmamalıdır",textNoDigitsAllow:"Numaralara izin verilmez.",textMinLength:"L\xfctfen en az {0} karakter girin.",textMaxLength:"L\xfctfen en fazla {0} karakter girin.",textMinMaxLength:"L\xfctfen {0}âden fazla ve {1}âden az karakter girin.",minRowCountError:"L\xfctfen en az {0} satırı doldurun.",minSelectError:"L\xfctfen en az {0} se\xe7eneÄi se\xe7in.",maxSelectError:"L\xfctfen en fazla {0} se\xe7eneÄi se\xe7in.",numericMinMax:"'{0}', {1}'e eÅit veya daha b\xfcy\xfck ve {2}'ye eÅit veya daha k\xfc\xe7\xfck olmalıdır",numericMin:"'{0}' deÄeri {1} deÄerine eÅit veya b\xfcy\xfck olmalıdır",numericMax:"'{0}' deÄeri {1} deÄerine eÅit ya da k\xfc\xe7\xfck olmalıdır.",invalidEmail:"L\xfctfen ge\xe7erli bir e-posta adresi girin.",invalidExpression:"İfade: {0} 'true' d\xf6nd\xfcrmelidir.",urlRequestError:"İstek '{0}' hatasını d\xf6nd\xfcrd\xfc. {1}",urlGetChoicesError:"İstek boÅ veri d\xf6nd\xfcrd\xfc veya 'path' \xf6zelliÄi yanlıÅ",exceedMaxSize:"Dosya boyutu {0} deÄerini ge\xe7emez.",noUploadFilesHandler:"Dosyalar y\xfcklenemiyor. L\xfctfen 'onUploadFiles' olayı i\xe7in bir iÅleyici ekleyin.",otherRequiredError:"L\xfctfen diÄer deÄerleri girin.",uploadingFile:"Dosyanız y\xfckleniyor. L\xfctfen birka\xe7 saniye bekleyin ve tekrar deneyin.",loadingFile:"Y\xfckleniyor...",chooseFile:"Dosyaları se\xe7in...",noFileChosen:"Dosya se\xe7ili deÄil",filePlaceholder:"Buraya bir dosya bırakın veya dosyayı y\xfcklemek i\xe7in aÅaÄıdaki d\xfcÄmeyi tıklayın.",confirmDelete:"Kaydı silmek istiyor musunuz?",keyDuplicationError:"Bu deÄer benzersiz olmalıdır.",addColumn:"S\xfctun Ekle",addRow:"Satır Ekle",removeRow:"Kaldır",emptyRowsText:"Satır yok.",addPanel:"Yeni ekle",removePanel:"Kaldır",showDetails:"Detayları g\xf6ster",hideDetails:"Detayları Gizle",choices_Item:"\xf6Äe",matrix_column:"S\xfctun",matrix_row:"Satır",multipletext_itemname:"metin",savingData:"Sonu\xe7lar sunucuya kaydediliyor...",savingDataError:"Bir hata oluÅtu ve sonu\xe7lar kaydedilemedi.",savingDataSuccess:"Sonu\xe7lar baÅarıyla kaydedildi!",savingExceedSize:"Yanıtınız 64 KB'ı aÅıyor. L\xfctfen dosyalarınızın boyutunu k\xfc\xe7\xfclt\xfcn ve tekrar deneyin veya bir anket sahibiyle iletiÅime ge\xe7in.",saveAgainButton:"Tekrar deneyin",timerMin:"dakika",timerSec:"saniye",timerSpentAll:"Bu sayfada {0} ve toplamda {1} harcadınız.",timerSpentPage:"Bu sayfaya {0} harcadınız.",timerSpentSurvey:"Toplamda {0} harcadınız.",timerLimitAll:"Bu sayfaya {0}/{1} ve toplamda {2}/{3} harcadınız.",timerLimitPage:"Bu sayfaya {0}/{1} harcadınız.",timerLimitSurvey:"Toplamda {0}/{1} harcadınız.",clearCaption:"Temizle",signaturePlaceHolder:"Burayı imzalayın",signaturePlaceHolderReadOnly:"İmza yok",chooseFileCaption:"Dosya se\xe7in",takePhotoCaption:"FotoÄraf \xc7ekin",photoPlaceholder:"Kamerayı kullanarak fotoÄraf \xe7ekmek i\xe7in aÅaÄıdaki d\xfcÄmeyi tıklayın.",fileOrPhotoPlaceholder:"Kamerayı kullanarak fotoÄraf y\xfcklemek veya fotoÄraf \xe7ekmek i\xe7in bir dosyayı s\xfcr\xfckleyip bırakın veya se\xe7in.",replaceFileCaption:"Dosyayı deÄiÅtir",removeFileCaption:"Bu dosyayı kaldır",booleanCheckedLabel:"Evet",booleanUncheckedLabel:"Hayır",confirmRemoveFile:"Bu dosyayı kaldırmak istediÄinizden emin misiniz: {0}?",confirmRemoveAllFiles:"T\xfcm dosyaları kaldırmak istediÄinizden emin misiniz?",questionTitlePatternText:"Soru BaÅlıÄı",modalCancelButtonText:"İptal",modalApplyButtonText:"Uygula",filterStringPlaceholder:"Aramak i\xe7in yazın...",emptyMessage:"G\xf6r\xfcnt\xfclenecek veri yok",noEntriesText:"Hen\xfcz giriÅ yok.\nYeni bir giriÅ eklemek i\xe7in aÅaÄıdaki d\xfcÄmeyi tıklayın.",noEntriesReadonlyText:"GiriÅ yok.",tabTitlePlaceholder:"Yeni Panel",more:"Daha fazla",tagboxDoneButtonCaption:"TAMAM",selectToRankEmptyRankedAreaText:"T\xfcm se\xe7enekler sıralanmıÅtır",selectToRankEmptyUnrankedAreaText:"Se\xe7imleri sıralamak i\xe7in buraya s\xfcr\xfckleyip bırakın",ok:"TAMAM",cancel:"İptal"},nativeName:"t\xfcrk\xe7e",englishName:"Turkish"}),setupLocale
vendor: 7,356 bytes, line 8
8({localeCode:"uk",strings:{pagePrevText:"Ðазад",pageNextText:"ÐалÑ",completeText:"ÐавеÑÑиÑи",previewText:"ÐопеÑеднÑй пеÑеглÑд",editText:"РедагÑваÑи",startSurveyText:"ÐоÑаÑи",otherItemText:"ÐнÑе (бÑÐ´Ñ Ð»Ð°Ñка, опиÑÑÑÑ)",noneItemText:"Ðоден",refuseItemText:"ÐÑдмовÑеÑÑ Ð²ÑдповÑдаÑи",dontKnowItemText:"Ðе знаÑ",selectAllItemText:"ÐибÑаÑи вÑе",deselectAllItemText:"ÐнÑмÑÑÑ Ð¿Ð¾Ð·Ð½Ð°ÑÐºÑ Ð· ÑÑÑÑ
",progressText:"СÑоÑÑнка {0} з {1}",indexText:"{0} {1}",panelDynamicProgressText:"ÐÐ°Ð¿Ð¸Ñ {0} Ñз {1}",panelDynamicTabTextFormat:"ÐÐ°Ð½ÐµÐ»Ñ {panelIndex}",questionsProgressText:"ÐÑдповÑли на {0}/{1} пиÑанÑ",emptySurvey:"ÐÐµÐ¼Ð°Ñ Ð¶Ð¾Ð´Ð½Ð¾Ð³Ð¾ пиÑаннÑ.",completingSurvey:"ÐÑкÑÑмо Ðам за Ð·Ð°Ð¿Ð¾Ð²Ð½ÐµÐ½Ð½Ñ Ð°Ð½ÐºÐµÑи!",completingSurveyBefore:"Ðи вже пÑоÑ
одили Ñе опиÑÑваннÑ.",loadingSurvey:"ÐаванÑÐ°Ð¶ÐµÐ½Ð½Ñ Ð¾Ð¿Ð¸ÑÑваннÑ...",placeholder:"ÐибÑаÑи...",ratingOptionsCaption:"ÐибеÑÑÑÑ...",value:"знаÑеннÑ",requiredError:"ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе вÑдповÑдÑ.",requiredErrorInPanel:"ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе вÑдповÑÐ´Ñ Ñ
оÑа б на одне пиÑаннÑ.",requiredInAllRowsError:"ÐÑÐ´Ñ Ð»Ð°Ñка, дайÑе вÑдповÑÐ´Ñ Ð½Ð° пиÑÐ°Ð½Ð½Ñ Ð² ÐºÐ¾Ð¶Ð½Ð¾Ð¼Ñ ÑÑдкÑ.",eachRowUniqueError:"Ðожен ÑÑдок повинен маÑи ÑнÑкалÑне знаÑеннÑ.",numericError:"ÐÑдповÑÐ´Ñ Ð¿Ð¾Ð²Ð¸Ð½Ð½Ð° бÑÑи ÑиÑлом.",minError:"ÐнаÑÐµÐ½Ð½Ñ Ð½Ðµ повинно бÑÑи менÑе {0}",maxError:"ÐнаÑÐµÐ½Ð½Ñ Ð½Ðµ повинно бÑÑи бÑлÑÑе {0}",textNoDigitsAllow:"ÐомеÑи не допÑÑкаÑÑÑÑÑ.",textMinLength:"ÐÑÐ´Ñ Ð»Ð°Ñка введÑÑÑ Ð±ÑлÑÑе {0} ÑимволÑв.",textMaxLength:"ÐÑÐ´Ñ Ð»Ð°Ñка введÑÑÑ Ð¼ÐµÐ½Ñе {0} ÑимволÑв.",textMinMaxLength:"ÐÑÐ´Ñ Ð»Ð°Ñка введÑÑÑ Ð±ÑлÑÑе {0} и менÑе {1} ÑимволÑв.",minRowCountError:"ÐÑÐ´Ñ Ð»Ð°Ñка, заповнÑÑÑ Ð½Ðµ менÑе {0} ÑÑдкÑв.",minSelectError:"ÐÑÐ´Ñ Ð»Ð°Ñка, вибеÑÑÑÑ Ñ
оÑа б {0} ваÑÑанÑÑв.",maxSelectError:"ÐÑÐ´Ñ Ð»Ð°Ñка, вибеÑÑÑÑ Ð½Ðµ бÑлÑÑе {0} ваÑÑанÑÑв.",numericMinMax:"'{0}' повинно бÑÑи не менÑе нÑж {1}, Ñ Ð½Ðµ бÑлÑÑе нÑж {2}",numericMin:"'{0}' повинно бÑÑи не менÑе нÑж {1}",numericMax:"'{0}' повинно бÑÑи не бÑлÑÑе нÑж {1}",invalidEmail:"ÐÑÐ´Ñ Ð»Ð°Ñка, введÑÑÑ Ð´ÑйÑÐ½Ñ Ð°Ð´ÑеÑÑ ÐµÐ»ÐµÐºÑÑÐ¾Ð½Ð½Ð¾Ñ Ð¿Ð¾ÑÑи.",invalidExpression:"ÐиÑаз {0} повинен повеÑÑаÑи 'true'.",urlRequestError:"ÐÐ°Ð¿Ð¸Ñ Ð¿Ð¾Ð²ÐµÑнÑв Ð¿Ð¾Ð¼Ð¸Ð»ÐºÑ '{0}'. {1}",urlGetChoicesError:"ÐÑдповÑÐ´Ñ Ð½Ð° Ð·Ð°Ð¿Ð¸Ñ Ð¿Ð¾Ð²ÐµÑнÑлаÑÑ Ð¿Ð¾ÑожнÑÐ¾Ñ Ð°Ð±Ð¾ влаÑÑивÑÑÑ 'path' вказано невÑÑно",exceedMaxSize:"РозмÑÑ ÑÐ°Ð¹Ð»Ñ Ð½Ðµ повинен пеÑевиÑÑваÑи {0}.",noUploadFilesHandler:"Файли не можна заванÑажиÑи. ÐÑÐ´Ñ Ð»Ð°Ñка, додайÑе обÑобник Ð´Ð»Ñ Ð¿Ð¾Ð´ÑÑ 'onUploadFiles'.",otherRequiredError:"ÐÑÐ´Ñ Ð»Ð°Ñка, введÑÑÑ Ð´Ð°Ð½Ñ Ð² поле 'ÐнÑе'",uploadingFile:"ÐÐ°Ñ Ñайл заванÑажÑÑÑÑÑÑ. ÐаÑекайÑе декÑлÑка ÑекÑнд Ñ ÑпÑобÑйÑе зновÑ.",loadingFile:"ÐаванÑаженнÑ...",chooseFile:"ÐибеÑÑÑÑ Ñайл(и)...",noFileChosen:"Файл не вибÑано",filePlaceholder:"ÐеÑеÑÑгнÑÑÑ Ñайл ÑÑди або наÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ñе Ñа вибеÑÑÑÑ Ñайл Ð´Ð»Ñ Ð·Ð°Ð²Ð°Ð½ÑаженнÑ.",confirmDelete:"Ðи Ñ
оÑеÑе видалиÑи запиÑ?",keyDuplicationError:"Це знаÑÐµÐ½Ð½Ñ Ð¿Ð¾Ð²Ð¸Ð½Ð½Ð¾ бÑÑи ÑнÑкалÑним.",addColumn:"ÐодаÑи колонкÑ",addRow:"ÐодаÑи ÑÑдок",removeRow:"ÐидалиÑи",emptyRowsText:"Ð ÑдÑв немаÑ.",addPanel:"ÐодаÑи новÑ",removePanel:"ÐидалиÑи",showDetails:"ÐоказаÑи подÑобиÑÑ",hideDetails:"СÑ
оваÑи подÑобиÑÑ",choices_Item:"ÐаÑÑанÑ",matrix_column:"Ðолонка",matrix_row:"Ð Ñдок",multipletext_itemname:"ТекÑÑ",savingData:"РезÑлÑÑаÑи збеÑÑгаÑÑÑÑÑ Ð½Ð° ÑеÑвеÑ...",savingDataError:"ÐÑдбÑлаÑÑ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°, ÑезÑлÑÑÐ°Ñ Ð½Ðµ бÑв збеÑежений.",savingDataSuccess:"РезвÑлÑÑÐ°Ñ ÑÑпÑÑно збеÑежений!",savingExceedSize:"ÐаÑа вÑдповÑÐ´Ñ Ð¿ÐµÑевиÑÑÑ 64 ÐÐ. ÐÑÐ´Ñ Ð»Ð°Ñка, зменÑÑÑÑ ÑозмÑÑ ÑÐ°Ð¹Ð»Ñ (ÑайлÑв) Ñ Ð¿Ð¾Ð²ÑоÑÑÑÑ ÑпÑÐ¾Ð±Ñ Ð°Ð±Ð¾ зв'ÑжÑÑÑÑÑ Ð· влаÑником опиÑÑваннÑ.",saveAgainButton:"СпÑобÑваÑи зновÑ",timerMin:"Ñ
в",timerSec:"Ñек",timerSpentAll:"Ðи виÑÑаÑили {0} на ÑÑй ÑÑоÑÑнÑÑ Ñ {1} загалом.",timerSpentPage:"Ðи виÑÑаÑили {0} на ÑÑй ÑÑоÑÑнÑÑ.",timerSpentSurvey:"Ðи виÑÑаÑили {0} пÑоÑÑгом ÑеÑÑÑ.",timerLimitAll:"Ðи виÑÑаÑили {0} з {1} на ÑÑй ÑÑоÑÑнÑÑ Ñ {2} з {3} Ð´Ð»Ñ Ð²ÑÑого ÑеÑÑÑ.",timerLimitPage:"Ðи виÑÑаÑили {0} з {1} на ÑÑй ÑÑоÑÑнÑÑ.",timerLimitSurvey:"Ðи виÑÑаÑили {0} з {1} Ð´Ð»Ñ Ð²ÑÑого ÑеÑÑÑ.",clearCaption:"ÐÑиÑÑиÑи",signaturePlaceHolder:"ÐÑдпиÑÑÑÑÑÑ ÑÑÑ",signaturePlaceHolderReadOnly:"Ðез пÑдпиÑÑ",chooseFileCaption:"ÐибеÑÑÑÑ Ñайл",takePhotoCaption:"ÐÑобиÑи ÑоÑо",photoPlaceholder:"ÐаÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ñе, Ñоб зÑобиÑи ÑоÑо за Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¾Ñ ÐºÐ°Ð¼ÐµÑи.",fileOrPhotoPlaceholder:"ÐеÑеÑÑгнÑÑÑ Ð°Ð±Ð¾ вибеÑÑÑÑ Ñайл, Ñоб заванÑажиÑи або зÑобиÑи ÑоÑогÑаÑÑÑ Ð·Ð° Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¾Ñ ÐºÐ°Ð¼ÐµÑи.",replaceFileCaption:"ÐамÑниÑи Ñайл",removeFileCaption:"ÐидалиÑи Ñайл",booleanCheckedLabel:"Так",booleanUncheckedLabel:"ÐÑ",confirmRemoveFile:"Ðи впевненÑ, Ñо Ñ
оÑеÑе видалиÑи Ñей Ñайл: {0}?",confirmRemoveAllFiles:"Ðи впевненÑ, Ñо Ñ
оÑеÑе видалиÑи вÑÑ Ñайли?",questionTitlePatternText:"Ðазва запиÑаннÑ",modalCancelButtonText:"СкаÑÑваÑи",modalApplyButtonText:"ÐаÑÑоÑовÑваÑи",filterStringPlaceholder:"ÐведÑÑÑ Ð´Ð»Ñ Ð¿Ð¾ÑÑкÑ...",emptyMessage:"ÐÐµÐ¼Ð°Ñ Ð´Ð°Ð½Ð¸Ñ
Ð´Ð»Ñ Ð²ÑдобÑаженнÑ",noEntriesText:"ÐапиÑÑв поки немаÑ.\nÐаÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ð½Ð¸Ð¶Ñе, Ñоб додаÑи новий запиÑ.",noEntriesReadonlyText:"ÐапиÑÑв немаÑ.",tabTitlePlaceholder:"Ðова панелÑ",more:"ÐÑлÑÑе",tagboxDoneButtonCaption:"ÐÐÐ ÐÐÐ",selectToRankEmptyRankedAreaText:"ÐÑÑ Ð²Ð°ÑÑанÑи ÑанжÑÑÑÑÑÑ",selectToRankEmptyUnrankedAreaText:"ÐеÑеÑÑгнÑÑÑ Ð²Ð°ÑÑанÑи ÑÑÑ, Ñоб оÑÑниÑи ÑÑ
",ok:"ÐÐÐ ÐÐÐ",cancel:"СкаÑÑваÑи"},nativeName:"ÑкÑаÑнÑÑка",englishName:"Ukrainian"})
8,setupLocale({localeCode:"vi",strings:{pagePrevText:"Trá» vá»",pageNextText:"Tiếp theo",completeText:"Ho\xe0n th\xe0nh",previewText:"Xem trưá»c",editText:"Chá»nh sá»a",startSurveyText:"Bắt Äầu",otherItemText:"Kh\xe1c (m\xf4 tả)",noneItemText:"Trá»ng",refuseItemText:"Từ chá»i trả lá»i",dontKnowItemText:"Kh\xf4ng biết",selectAllItemText:"Chá»n tất cả",deselectAllItemText:"Bá» chá»n tất cả",progressText:"Trang {0} / {1}",indexText:"{0} cá»§a {1}",panelDynamicProgressText:"D\xf2ng {0} / {1}",panelDynamicTabTextFormat:"Bảng Äiá»u khiá»n {panelIndex}",questionsProgressText:"Ä\xe3 trả lá»i {0}/{1} c\xe2u há»i",emptySurvey:"Kh\xf4ng c\xf3 trang hoặc c\xe2u há»i n\xe0o ÄÆ°á»£c hiá»n thá» trong cuá»c khảo s\xe1t n\xe0y.",completingSurvey:"Cảm Æ¡n Ä\xe3 ho\xe0n th\xe0nh khảo s\xe1t!",completingSurveyBefore:"Há» sÆ¡ ch\xfang t\xf4i cho thấy rằng bạn Ä\xe3 ho\xe0n th\xe0nh cuá»c khảo s\xe1t n\xe0y.",loadingSurvey:"Äang tải khảo s\xe1t...",placeholder:"Chá»n...",ratingOptionsCaption:"Lá»±a...",value:"Gi\xe1 trá»",requiredError:"Vui l\xf2ng trả lá»i c\xe2u há»i.",requiredErrorInPanel:"Vui l\xf2ng trả lá»i \xedt nhất má»t c\xe2u há»i.",requiredInAllRowsError:"Vui l\xf2ng trả lá»i c\xe1c c\xe2u há»i tr\xean tất cả c\xe1c d\xf2ng.",eachRowUniqueError:"Má»i h\xe0ng phải c\xf3 má»t gi\xe1 trá» duy nhất.",numericError:"Gi\xe1 trá» n\xean l\xe0 kiá»u sá».",minError:"Gi\xe1 trá» kh\xf4ng ÄÆ°á»£c nhá» hÆ¡n {0}",maxError:"Gi\xe1 trá» kh\xf4ng ÄÆ°á»£c lá»n hÆ¡n {0}",textNoDigitsAllow:"Sá» kh\xf4ng ÄÆ°á»£c ph\xe9p.",textMinLength:"Vui l\xf2ng nháºp \xedt nhất {0} k\xed tá»±.",textMaxLength:"Vui l\xf2ng nháºp \xedt hÆ¡n {0} k\xed tá»±.",textMinMaxLength:"Vui l\xf2ng nháºp nhiá»u hÆ¡n {0} hoặc \xedt hÆ¡n {1} k\xed tá»±.",minRowCountError:"Vui l\xf2ng nháºp \xedt nhất {0} d\xf2ng.",minSelectError:"Vui l\xf2ng chá»n \xedt nhất {0} loại.",maxSelectError:"Vui l\xf2ng kh\xf4ng chá»n nhiá»u hÆ¡n {0} loại.",numericMinMax:"Gi\xe1 trá» '{0}' n\xean bằng hoặc lá»n hÆ¡n {1} v\xe0 bằng hoặc nhá» hÆ¡n {2}",numericMin:"Gi\xe1 trá» '{0}' n\xean bằng hoặc lá»n hÆ¡n {1}",numericMax:"Gi\xe1 trá» '{0}' n\xean bằng hoặc nhá» hÆ¡n {1}",invalidEmail:"Vui l\xf2ng Äiá»n Äá»a chá» email hợp lá».",invalidExpression:"Biá»u thức: {0} n\xean trả vá» 'true'.",urlRequestError:"Y\xeau cầu trả vá» lá»i '{0}'. {1}",urlGetChoicesError:"Y\xeau cầu trả vá» dữ liá»u trá»ng hoặc thuá»c t\xednh 'path' kh\xf4ng Ä\xfang",exceedMaxSize:"K\xedch thưá»c táºp tin kh\xf4ng n\xean vượt qu\xe1 {0}.",noUploadFilesHandler:"Kh\xf4ng thá» tải tá»p l\xean. Vui l\xf2ng th\xeam tr\xecnh xá» l\xfd cho sá»± kiá»n 'onUploadFiles'.",otherRequiredError:"Vui l\xf2ng Äiá»n gi\xe1 trá» kh\xe1c.",uploadingFile:"Táºp tin Äang ÄÆ°á»£c tải l\xean. Vui l\xf2ng chá» má»t l\xfac v\xe0 thá» lại.",loadingFile:"Äang tải...",chooseFile:"Chá»n c\xe1c táºp tin...",noFileChosen:"Kh\xf4ng c\xf3 táºp tin n\xe0o ÄÆ°á»£c chá»n",filePlaceholder:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y hoặc nhấp v\xe0o n\xfat b\xean dưá»i v\xe0 chá»n tá»p Äá» tải l\xean.",confirmDelete:"Bạn muá»n x\xf3a d\xf2ng n\xe0y?",keyDuplicationError:"Gi\xe1 trá» n\xe0y kh\xf4ng n\xean bá» tr\xf9ng lặp.",addColumn:"Th\xeam cá»t",addRow:"Th\xeam d\xf2ng",removeRow:"X\xf3a",emptyRowsText:"Kh\xf4ng c\xf3 h\xe0ng.",addPanel:"Th\xeam má»i",removePanel:"X\xf3a",showDetails:"Hiá»n thá» chi tiết",hideDetails:"Ẩn chi tiết",choices_Item:"mục",matrix_column:"Cá»t",matrix_row:"D\xf2ng",multipletext_itemname:"Nhắn tin",savingData:"Kết quả Äang lưu lại tr\xean há» thá»ng...",savingDataError:"C\xf3 lá»i xảy ra v\xe0 ch\xfang ta kh\xf4ng thá» lưu kết quả.",savingDataSuccess:"Kết quả Ä\xe3 ÄÆ°á»£c lưu th\xe0nh c\xf4ng!",savingExceedSize:"Phản há»i cá»§a bạn vượt qu\xe1 64KB. Vui l\xf2ng giảm k\xedch thưá»c (c\xe1c) tá»p cá»§a bạn v\xe0 thá» lại hoặc li\xean há» vá»i chá»§ sá» hữu khảo s\xe1t.",saveAgainButton:"Thá» lại",timerMin:"ph\xfat",timerSec:"gi\xe2y",t
8imerSpentAll:"Bạn Ä\xe3 sá» dụng {0} tr\xean trang n\xe0y v\xe0 {1} tr\xean to\xe0n bá».",timerSpentPage:"Bạn Ä\xe3 sá» dụng {0} tr\xean trang.",timerSpentSurvey:"Bạn Ä\xe3 sá» dụng {0} tr\xean to\xe0n bá».",timerLimitAll:"Bạn Ä\xe3 sá» dụng {0} / {1} tr\xean trang n\xe0y v\xe0 {2} / {3} tr\xean to\xe0n bá».",timerLimitPage:"Bạn Ä\xe3 sá» dụng {0} / {1} tr\xean trang n\xe0y.",timerLimitSurvey:"Bạn Ä\xe3 sá» dụng {0} / {1} tr\xean to\xe0n bá».",clearCaption:"X\xf3a",signaturePlaceHolder:"K\xfd t\xean tại Ä\xe2y",signaturePlaceHolderReadOnly:"Kh\xf4ng c\xf3 chữ k\xfd",chooseFileCaption:"Chá»n táºp tin",takePhotoCaption:"Chụp ảnh",photoPlaceholder:"Nhấp v\xe0o n\xfat b\xean dưá»i Äá» chụp ảnh bằng m\xe1y ảnh.",fileOrPhotoPlaceholder:"K\xe9o v\xe0 thả hoặc chá»n tá»p Äá» tải l\xean hoặc chụp ảnh bằng m\xe1y ảnh.",replaceFileCaption:"Thay thế táºp tin",removeFileCaption:"X\xf3a táºp tin",booleanCheckedLabel:"C\xf3",booleanUncheckedLabel:"Kh\xf4ng",confirmRemoveFile:"Bạn c\xf3 chắc chắn muá»n x\xf3a táºp tin n\xe0y: {0}?",confirmRemoveAllFiles:"Bạn c\xf3 chắc chắn muá»n x\xf3a to\xe0n bá» táºp tin?",questionTitlePatternText:"Ti\xeau Äá» c\xe2u há»i",modalCancelButtonText:"Há»§y",modalApplyButtonText:"\xc1p dụng",filterStringPlaceholder:"Nháºp Äá» t\xecm kiếm...",emptyMessage:"Kh\xf4ng c\xf3 dữ liá»u Äá» hiá»n thá»",noEntriesText:"Chưa c\xf3 mục n\xe0o.\nNhấp v\xe0o n\xfat b\xean dưá»i Äá» th\xeam mục nháºp má»i.",noEntriesReadonlyText:"Kh\xf4ng c\xf3 mục.",tabTitlePlaceholder:"Bảng Äiá»u khiá»n má»i",more:"Nhiá»u hÆ¡n",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Tất cả c\xe1c lá»±a chá»n ÄÆ°á»£c xếp hạng",selectToRankEmptyUnrankedAreaText:"K\xe9o v\xe0 thả c\xe1c lá»±a chá»n v\xe0o Ä\xe2y Äá» xếp hạng ch\xfang",ok:"OK",cancel:"Há»§y"},nativeName:"viá»t nam",englishName:"Vietnamese"}),setupLocale({localeCode:"cy",strings:{pagePrevText:"Blaenorol",pageNextText:"Nesaf",completeText:"Cwblhau",previewText:"Rhagolwg",editText:"Golygu",startSurveyText:"Dechrau",otherItemText:"Arall (disgrifiwch)",noneItemText:"Dim",refuseItemText:"Gwrthod ateb",dontKnowItemText:"Ddim yn gwybod",selectAllItemText:"Dewis y Cyfan ",deselectAllItemText:"Dad-ddethol yr holl",progressText:"Tudalen {0} o {1}",indexText:"{0} o {1}",panelDynamicProgressText:"Cofnod {0} o {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Wedi ateb {0}/{1} cwestiwn",emptySurvey:"Does dim modd gweld tudalen na chwestiwn yn yr arolwg.",completingSurvey:"Diolch am lenwiâr holiadur!",completingSurveyBefore:"Rydych chi wedi llenwiâr arolwg hwn yn barod yn \xf4l ein cofnodion.",loadingSurvey:"Wrthiân Llwythoâr Arolwg...",placeholder:"Dewiswch...",ratingOptionsCaption:"Dewis...",value:"gwerth",requiredError:"Atebwch y cwestiwn.",requiredErrorInPanel:"Atebwch o leiaf un cwestiwn.",requiredInAllRowsError:"Atebwch y cwestiynau ym mhob rhes.",eachRowUniqueError:"Rhaid i bob rhes fod \xe2 gwerth unigryw.",numericError:"Dylaiâr gwerth fod yn rhif.",minError:"Ni ddylai'r gwerth fod yn llai na {0}",maxError:"Ni ddylai'r gwerth fod yn fwy na {0}",textNoDigitsAllow:"Ni chaniateir rhifau.",textMinLength:"Rhowch o leiaf {0} nod.",textMaxLength:"Rhowch lai na {0} nod.",textMinMaxLength:"Rhowch o leiaf {0} nod ond dim mwy na {1}.",minRowCountError:"Llenwch o leiaf {0} rhes.",minSelectError:"Dewiswch o leiaf {0} amrywiolyn.",maxSelectError:"Peidiwch \xe2 dewis mwy na {0} amrywiolyn.",numericMinMax:"Dylaiâr '{0}' fod yr un fath \xe2 {1} neuân fwy, aâr fath \xe2 {2} neuân llai",numericMin:"Dylaiâr '{0}' fod yr un fath \xe2 {1} neuân fwy",numericMax:"Dylaiâr '{0}' fod yr un fath \xe2 {1} neuân llai",invalidEmail:"Rhowch gyfeiriad e-bost dilys.",invalidExpression:"Dylaiâr mynegiad {0} arwain at 'true'.",urlRequestError:"Roedd y cais wedi arwain at y gwall '{0}'. {1}",urlGetChoicesError:"Roedd y cais wedi arwain at ddata gwag neu mae priodwedd y âpathâ yn anghywir ",exceedMaxSize:"Ddylaiâr ffeil ddim bod yn fwy na {0}
8.",noUploadFilesHandler:"Ni ellir llwytho ffeiliau i fyny. Ychwanegwch handler ar gyfer y digwyddiad 'onUploadFiles'.",otherRequiredError:"Rhowch y gwerth arall.",uploadingFile:"Mae eich ffeil wrthiân llwytho i fyny. Arhoswch ychydig o eiliadau a rhoi cynnig arall arni.",loadingFile:"Wrthiân llwytho...",chooseFile:"Dewiswch ffeil(iau)...",noFileChosen:"Heb ddewis ffeil ",filePlaceholder:"Llusgwch a gollwng ffeil yma neu cliciwch y botwm isod a dewiswch ffeil i'w lanlwytho.",confirmDelete:"Ydych chi am ddileuâr cofnod?",keyDuplicationError:"Dylaiâr gwerth hwn fod yn unigryw.",addColumn:"Ychwanegu colofn ",addRow:"Ychwanegu rhes",removeRow:"Tynnu",emptyRowsText:"Nid oes unrhyw ffraeau.",addPanel:"Ychwanegu oâr newydd",removePanel:"Tynnu",showDetails:"Dangos manylion",hideDetails:"Manylion Cuddio",choices_Item:"eitem",matrix_column:"Colofn",matrix_row:"Rhes",multipletext_itemname:"Testun",savingData:"Maeâr canlyniadauân cael eu cadw ar y gweinydd...",savingDataError:"Roedd gwall a doedd dim modd cadwâr canlyniadau.",savingDataSuccess:"Wedi llwyddo i gadwâr canlyniadau!",savingExceedSize:"Mae eich ymateb yn fwy na 64KB. Lleihau maint eich ffeil(au) a cheisiwch eto neu cysylltwch \xe2 pherchennog yr arolwg.",saveAgainButton:"Rhowch gynnig arall arni",timerMin:"mun",timerSec:"eil",timerSpentAll:"Rydych chi wedi treulio {0} ar y dudalen hon a {1} gydaâi gilydd.",timerSpentPage:"Rydych chi wedi treulio {0} ar y dudalen hon.",timerSpentSurvey:"Rydych chi wedi treulio {0} gydaâi gilydd.",timerLimitAll:"Rydych chi wedi treulio {0} o {1} ar y dudalen hon a {2} o {3} gydaâi gilydd.",timerLimitPage:"Rydych chi wedi treulio {0} o {1} ar y dudalen hon.",timerLimitSurvey:"Rydych chi wedi treulio {0} o {1} gydaâi gilydd.",clearCaption:"Clirio",signaturePlaceHolder:"Arwydd yma",signaturePlaceHolderReadOnly:"Dim llofnod",chooseFileCaption:"Dewiswch ffeil ",takePhotoCaption:"Tynnu Llun",photoPlaceholder:"Cliciwch y botwm isod i dynnu llun gan ddefnyddio'r camera.",fileOrPhotoPlaceholder:"Llusgwch a gollwng neu dewiswch ffeil i lanlwytho neu dynnu llun gan ddefnyddio'r camera.",replaceFileCaption:"Amnewid ffeil",removeFileCaption:"Tynnuâr ffeil hon ",booleanCheckedLabel:"Iawn",booleanUncheckedLabel:"Na",confirmRemoveFile:"Ydych chiân siŵr eich bod am dynnuâr ffeil hon: {0}?",confirmRemoveAllFiles:"Ydych chiân siŵr eich bod am dynnu pob ffeil?",questionTitlePatternText:"Teitl y Cwestiwn ",modalCancelButtonText:"Canslo",modalApplyButtonText:"Cynnig",filterStringPlaceholder:"Teipiwch i chwilio...",emptyMessage:"Dim data i'w arddangos",noEntriesText:"Nid oes unrhyw gofnodion hyd yn hyn.\nCliciwch y botwm isod i ychwanegu cofnod newydd.",noEntriesReadonlyText:"Nid oes unrhyw gofnodion.",tabTitlePlaceholder:"Panel newydd",more:"Rhagor",tagboxDoneButtonCaption:"OC\xca",selectToRankEmptyRankedAreaText:"Mae'r holl ddewisiadau yn cael eu rhestru",selectToRankEmptyUnrankedAreaText:"Dewisiadau llusgo a gollwng yma i'w graddio",ok:"OC\xca",cancel:"Canslo"},nativeName:"cymraeg",englishName:"Welsh"}),setupLocale
vendor: 10,612 bytes, line 8
8({localeCode:"tel",strings:{pagePrevText:"à°µà±à°¨à°à°à°¿",pageNextText:"తరà±à°µà°¾à°¯",completeText:"à°ªà±à°°à±à°¤à°¿ à°à±à°¯à°à°¡à°¿",previewText:"à°®à±à°à°¦à±à°à°¾ à°µà±à°à±à°·à°¿à°à°à±",editText:"మారà±à°ªà±à°²à± à°à±à°¯à±à°¯à°¿",startSurveyText:"à°ªà±à°°à°¾à°°à°à°à°¿à°à°à±",otherItemText:"à°à°¤à°°à°®à±à°¨(వివరిà°à°à°à°¡à°¿)",noneItemText:"à°à°µà°°à± à°à°¾à°¦à±",refuseItemText:"సమాధానఠà°à°µà±à°µà°¡à°¾à°¨à°¿à°à°¿ నిరాà°à°°à°¿à°à°à°à°¡à°¿",dontKnowItemText:"à°¤à±à°²à°¿à°¯à°¦à±",selectAllItemText:"à°
à°¨à±à°¨à°¿ à°à°à°à±à°à±",deselectAllItemText:"Deselect all",progressText:"à°ªà±à°à±{0}/{1}",indexText:"{1} {0}[మారà±à°à±]",panelDynamicProgressText:"దాà°à°²à°¾à°²à±{0}/{1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"{0}/{1} à°ªà±à°°à°¶à±à°¨à°²à°à± à°à°µà°¾à°¬à± à°à°µà±à°µà°¡à° à°
యినది",emptySurvey:"ఠసరà±à°µà±à°²à± à°ªà±à°à±à°²à± à°à°¾à°¨à°¿ à°ªà±à°°à°¶à±à°¨à°²à± à°à°¾à°¨à°¿ à°à°¨à°¬à°¡à±à° à°²à±à°¦à±",completingSurvey:"సరà±à°µà±à°¨à± à°®à±à°à°¿à°à°à°¿ à°¨à°à°¦à±à°à± à°§à°¨à±à°¯à°µà°¾à°¦à°®à±à°²à±",completingSurveyBefore:" à°®à±à°°à± à°à°ªà±à°ªà°à°¿à°à± సరà±à°µà±à°¨à± à°®à±à°à°¿à°à°à°¿à°¨à°à±à°²à± మా à°°à°¿à°à°¾à°°à±à°¡à±à°²à± à°à±à°ªà°¿à°¸à±à°¤à±à°¨à±à°¨à°¾à°¯à°¿",loadingSurvey:"సరà±à°µà± à°²à±à°¡à± à°
à°µà±à°¤à±à°à°¦à°¿",placeholder:"à°à°¨à±à°¨à±à°à±à°à°¡à°¿",ratingOptionsCaption:"à°à°à°à±...",value:"విలà±à°µ",requiredError:"దయà°à±à°¸à°¿ à°ªà±à°°à°¶à±à°¨à°à± à°à°µà°¾à°¬à± à°à°µà±à°µà°à°¡à°¿",requiredErrorInPanel:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à° à°à°à±à° à°ªà±à°°à°¶à±à°¨à°à±à°¨à°¾ à°à°µà°¾à°¬à± à°à°µà±à°µà°à°¡à°¿",requiredInAllRowsError:"దయà°à±à°¸à°¿ à°
à°¨à±à°¨à°¿ వరà±à°¸à°²à°²à± à°à°¨à±à°¨ à°ªà±à°°à°¶à±à°¨à°²à°à± à°à°µà°¾à°¬à± à°à°µà±à°µà°à°¡à°¿",eachRowUniqueError:"à°ªà±à°°à°¤à°¿ వరà±à°¸à°à± à°à° à°ªà±à°°à°¤à±à°¯à±à°à°®à±à°¨ విలà±à°µ à°à°à°¡à°¾à°²à°¿.",numericError:"విలà±à°µà°¨à± à°¸à°à°à±à°¯à°²à°²à± à°¤à±à°²à°¿à°¯à°à±à°¯à°à°¡à°¿",minError:"విలà±à°µ {0} à°à°à°à± à°¤à°à±à°à±à°µà°à°¾ à°à°à°¡à°à±à°¡à°¦à±.",maxError:"విలà±à°µ {0} à°à°à°à± à°à°à±à°à±à°µ à°à°à°¡à°à±à°¡à°¦à±.",textNoDigitsAllow:"à°
à°à°à±à°²à± à°
à°¨à±à°®à°¤à°¿à°à°à°¬à°¡à°µà±.",textMinLength:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à° {0} à°
à°à±à°·à°°à°¾à°²à°¨à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",textMaxLength:"దయà°à±à°¸à°¿ {0} à°à°¨à±à°¨à°¾ à°¤à°à±à°à±à°µ à°
à°à±à°·à°°à°¾à°²à°¨à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",textMinMaxLength:"దయà°à±à°¸à°¿ {0} à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µ మరియà±{1} à°à°¨à±à°¨à°¾ à°¤à°à±à°à±à°µ à°
à°à±à°·à°°à°¾à°²à°¨à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",minRowCountError:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à° {0}వరà±à°¸à°²à°¨à± à°ªà±à°°à°¿à°à°à°à°¡à°¿",minSelectError:"దయà°à±à°¸à°¿ à°à°¨à±à°¸à°{0} à°°à°à°¾à°²à°¨à± à°à°¨à±à°¨à±à°à±à°à°¡à°¿",maxSelectError:"దయà°à±à°¸à°¿ {0} à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µ à°°à°à°¾à°²à°¨à± à°à°¨à±à°¨à±à°à± à°à°à°¡à°¿",numericMinMax:"'{0}' {1}తౠసమానà°à°à°¾ à°²à±à°¦à°¾ {1} à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µ à°à°¾ మరియౠ{2}à°à°¨à±à°¨à°¾ à°¤à°à±à°à±à°µ à°à°à°¡à°¾à°²à°¿ à°²à±à°¦à°¾ {2}తౠసమానà°à°à°¾ à°à°à°¡à°¾à°²à°¿",numericMin:"''{0}' {1}తౠసమానà°à°à°¾ à°²à±à°¦à°¾ {1}à°à°¨à±à°¨à°¾ à°à°à±à°à±à°µà°à°¾ à°à°à°¡à°¾à°²à°¿",numericMax:"'{0}' {1} à°¤à°à±à°à±à°µ à°²à±à°¦à°¾ సమానà°à°à°¾ à°à°à°¡à°¾à°²à°¿",invalidEmail:"దయà°à±à°¸à°¿ సరà±à°¨ à°à°®à±à°¯à°¿à°²à± నమà±à°¦à± à°à±à°¯à°à°¡à°¿",invalidExpression:"{0} 'నిà°à°' à°
ని తిరిà°à°¿à°µà±à°µà°¾à°²à°¿",urlRequestError:"వినà±à°¨à°ªà°®à± {0} ని తపà±à°ªà±à°à°¾ à°à±à°°à±à°¤à°¿à°à°à°¿à°à°¦à°¿ {1}",urlGetChoicesError:"వినà±à°¨à°ªà°®à± à°à°¾à°³à± à°¡à±à°à°¾à°¨à°¿ తిరిà°à°¿à°à±à°à°¿à°à°¦à°¿, à°²à±à°¦à°¾ path తపà±à°ªà±à°¨ ది",exceedMaxSize:"à°«à±à°²à± పరిమాణà°{0} à°à°à°à± à°ªà±à°¦à±à°¦à°¦à°¿à°à°¾ à°à°à°¡à°à±à°¡à°¦à±",noUploadFilesHandler:"à°«à±à°³à±à°²à°¨à± à°
పౠలà±à°¡à± à°à±à°¯à°²à±à°. దయà°à±à°¸à°¿ 'à°à°¨à± à°
పౠలà±à°¡à± à°«à±à°²à±à°¸à±' à°à°µà±à°à°à± à°à±à°°à°à± à°à° à°¹à±à°¯à°¾à°à°¡à±à°²à°°à± ని à°à±à°¡à°¿à°à°à°à°¡à°¿.",otherRequiredError:"దయà°à±à°¸à°¿ à°à°¤à°° విలà±à°µà°²à°¨à± నమౠదిà°à°à°à°¡à°¿",uploadingFile:"మౠఫà±à°²à± à°
à°ªà±à°²à±à°¡à± à°
à°µà±à°¤à±à°¨à±à°¨à°¦à°¿ దయà°à±à°¸à°¿ à°à±à°¨à±à°¨à°¿ à°¸à±à°à°à°¡à±à°²à± à°µà±à°à°¿ à°à°à°¡à°à°¡à°¿ మరియౠమళà±à°²à± à°ªà±à°°à°¯à°¤à±à°¨à°¿à°à°à°à°¡à°¿",loadingFile:"à°²à±à°¡à± à°
à°µà±à°¤à±à°¨à±à°¨à°¦à°¿",chooseFile:"à°«à±à°³à±à°²à°¨à± à°à°¨à±à°¨à±à°à±à°à°¡à°¿",noFileChosen:"à° à°«à±à°²à± à°à°¨à±à°¨à±à°à± à°²à±à°¦à±",filePlaceholder:"à°à°à±à°à°¡ à°à° à°«à±à°²à± నౠడà±à°°à°¾à°à± à°à±à°¸à°¿ à°¡à±à°°à°¾à°ªà± à°à±à°¯à°à°¡à°¿ à°²à±à°¦à°¾ దిà°à±à°µ à°¬à°à°¨à± à°à±à°²à°¿à°à± à°à±à°¯à°à°¡à°¿ మరియౠà°
పౠలà±à°¡à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°«à±à°²à± à°à°à°à±à°à±à°à°¡à°¿.",confirmDelete:"à°®à±à°°à± à°°à°¿à°à°¾à°°à±à°¡à±à°²à°¨à± à°¤à±à°²à°à°¿à°à°à°¾à°²à°¨à°¿ à°
à°¨à±à°à±à°à°à±à°¨à±à°¨à°¾à°°à°¾",keyDuplicationError:"విలà±à°µ à°ªà±à°°à°¤à±à°¯à±à°à°à°à°¾ à°à°à°¡à°¾à°²à°¿",addColumn:"à°à°¾à°²à° à°à±à°°à±à°ªà°¿à°à°à°à°¡à°¿",addRow:"వరà±à°¸à°²à± à°à±à°°à±à°ªà°¿à°à°à°à°¡à°¿",removeRow:"à°¤à±à°¸à±à°¯à°à°¡à°¿",emptyRowsText:"వరà±à°¸à°²à± à°²à±à°µà±.",addPanel:"à°à±à°¤à±à°¤ దానà±à°¨à°¿ à°à±à°°à±à°ªà°¿à°à°à°à°¡à°¿",removePanel:"à°¤à±à°¸à±à°¯à°à°¡à°¿",showDetails:"వివరాలౠà°à±à°ªà°¿à°à°à±",hideDetails:"వివరాలనౠదాà°à°à°¡à°¿",choices_Item:"వసà±à°¤à±à°µà±à°²à±",matrix_column:"à°à°¾à°²à° ",matrix_row:"వరà±à°¸",multipletext_itemname:"à°µà°à°¨à°",savingData:"ఫలితాà°à°¶à°¾à°²à± సరà±à°µà°°à±à°²à± à°¸à±à°µà± à°
à°µà±à°¤à±à°¨à±à°¨à°¾à°¯à°¿",savingDataError:"à°à° à°²à±à°ªà°®à± à°¸à°à°à°µà°¿à°à°à°¿à°¨à°¦à°¿ à°
à°à°¦à±à°à°¨à°¿ ఫలితాà°à°¶à°¾à°²à°¨à± à°¸à±à°µà± à°à±à°¯à°²à±à°à°ªà±à°¯à°¾à°®à± ",savingDataSuccess:"ఫలితాà°à°¶à°¾à°²à°¨à± విà°à°¯à°µà°à°¤à°à°à°¾ à°¸à±à°µà± à°à±à°¸à°¾à°®à±",savingExceedSize:"మౠపà±à°°à°¤à°¿à°¸à±à°ªà°à°¦à°¨ 64KBని మిà°à°à°¿à°ªà±à°¯à°¿à°à°¦à°¿. దయà°à±à°¸à°¿ మౠఫà±à°²à±(à°²à±) పరిమాణానà±à°¨à°¿ à°¤à°à±à°à°¿à°à°à°à°¡à°¿ మరియౠమళà±à°²à± à°ªà±à°°à°¯à°¤à±à°¨à°¿à°à°à°à°¡à°¿ à°²à±à°¦à°¾ సరà±à°µà± à°¯à°à°®à°¾à°¨à°¿à°¨à°¿ à°¸à°à°ªà±à°°à°¦à°¿à°à°à°à°¡à°¿.",saveAgainButton:"మళà±à°²à± à°ªà±à°°à°¯à°¤à±à°¨à°¿à°à°à±",timerMin:"నిమిషాలౠ",timerSec:"à°¸à±à°à°à°¡à±à°²à±",timerSpentAll:"à° à°ªà±à°à± à°ªà±à°¨ à°®à±à°°à±{0} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à± à°®à±à°¤à±à°¤à°à°à°¾ {1} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerSpentPage:"à° à°ªà±à°à± à°ªà±à°¨ à°®à±à°°à±{0} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerSpentSurvey:"à°®à±à°°à± à°®à±à°¤à±à°¤à°à°à°¾ {0} à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerLimitAll:"à° à°ªà±à°à± à°ªà±à°¨ à°®à±à°°à± {1}లౠ{0} à°à°¾à°à°¾à°¨à±à°¨à°¿ à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±. à°®à±à°¤à°à°à°¾ {3}లౠ{2} à°à°¾à°à°¾à°¨à±à°¨à°¿ à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±.",timerLimitPage:"à° à°ªà±à°à±à°²à± à°®à±à°°à± {1}à°²à±à°¨à°¿{0} ని à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à±",timerLimitSurvey:" à°®à±à°¤à±à°¤à°à°à°¾ à°®à±à°°à± {1} లౠ{0} ని à°à°ªà°¯à±à°à°¿à°à°à°¾à°°à± ",clearCaption:"à°¸à±à°ªà°·à±à°à°®à±",signaturePlaceHolder:"à°à°à±à°à°¡ à°¸à°à°¤à°à° à°à±à°¯à°à°¡à°¿",signaturePlaceHolderReadOnly:"à°¸à°à°¤à°à° à°²à±à°¦à±",chooseFileCaption:"à°«à±à°²à± à°à°à°à±à°à±à°à°¡à°¿",takePhotoCaption:"à°«à±à°à± à°¤à±à°¸à±à°à±à°à°¡à°¿",photoPlaceholder:"à°à±à°®à±à°°à°¾à°¨à± à°à°ªà°¯à±à°à°¿à°à°à°¿ à°«à±à°à± à°¤à±à°¯à°¡à°¾à°¨à°¿à°à°¿ దిà°à±à°µ à°¬à°à°¨à± à°®à±à°¦ à°à±à°²à°¿à°à± à°à±à°¯à°à°¡à°¿.",fileOrPhotoPlaceholder:"à°à±à°®à±à°°à°¾à°¨à± à°à°ªà°¯à±à°à°¿à°à°à°¿ à°«à±à°à±à°¨à± à°
పౠలà±à°¡à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°²à±à°¦à°¾ à°¤à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°«à±à°²à± నౠడà±à°°à°¾à°à± మరియౠడà±à°°à°¾à°ªà± à°à±à°¯à°à°¡à°¿ à°²à±à°¦à°¾ à°à°à°à±à°à±à°à°¡à°¿.",replaceFileCaption:"à°«à±à°²à± మారà±à°à°à°¡à°¿",removeFileCaption:"à° à°«à±à°²à± à°¤à±à°¸à±à°¯à°à°¡à°¿",booleanCheckedLabel:"à°
à°µà±à°¨à±",booleanUncheckedLabel:"à°²à±à°¦à±",confirmRemoveFile:" à° à°«à±à°²à±à°¨à°¿ à°¤à±à°¯à°¿à°à°à°¾à°²à°¨à°¿ à°®à±à°°à± à°à°à±à°à°¿à°¤à°à°à°¾ à°
à°¨à±à°à±à°à°à±à°¨à±à°¨à°¾à°°à°¾:{0} ?",confirmRemoveAllFiles:"à°
à°¨à±à°¨à°¿ à°«à±à°³à±à°²à°¨à± à°¤à±à°¸à±à°¯à°¾à°²à°¨à°¿ à°®à±à°°à± à°à°à±à°à°¿à°¤à°à°à°¾ à°
à°¨à±à°à±à°à°à±à°¨à±à°¨à°¾à°°à°¾",questionTitlePatternText:"à°ªà±à°°à°¶à±à°¨ à°¶à±à°°à±à°·à°¿à°",modalCancelButtonText:"à°°à°¦à±à°¦à±",modalApplyButtonText:"సరిపడà±",filterStringPlaceholder:"à°¶à±à°§à°¿à°à°à°¡à°¾à°¨à°¿à°à°¿ à°à±à°ªà± à°à±à°¯à°à°¡à°¿...",emptyMessage:"డిసౠపà±à°²à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°¡à±à°à°¾ à°²à±à°¦à±",noEntriesText:"à°à°à°à°¾ à°à°²à°¾à°à°à°¿ à°à°à°à±à°°à±à°²à± à°²à±à°µà±.\nà°à±à°¤à±à°¤ à°à°à°à±à°°à±à°¨à°¿ à°à±à°¡à°¿à°à°à°¡à° à°à±à°°à°à± దిà°à±à°µ à°¬à°à°¨à± à°®à±à°¦ à°à±à°²à°¿à°à± à°à±à°¯à°à°¡à°¿.",noEntriesReadonlyText:"à°à°²à°¾à°à°à°¿ à°à°à°à±à°°à±à°²à± à°²à±à°µà±.",tabTitlePlaceholder:"à°à±à°¤à±à°¤ à°ªà±à°¯à°¾à°¨à±à°²à±",more:"à°à°à±à°à±à°µ",tagboxDoneButtonCaption:"సరà±",selectToRankEmptyRankedAreaText:"à°
à°¨à±à°¨à°¿ à°à°à°ªà°¿à°à°²à± à°°à±à°¯à°¾à°à°à± à°à±à°¯à°¬à°¡à°¤à°¾à°¯à°¿",selectToRankEmptyUnrankedAreaText:"వాà°à°¿à°¨à°¿ à°°à±à°¯à°¾à°à°à± à°à±à°¯à°¡à° à°à±à°°à°à± à°à°à°ªà°¿à°à°²à°¨à± à°à°à±à°à°¡ à°¡à±à°°à°¾à°à± మరియౠడà±à°°à°¾à°ªà± à°à±à°¯à°à°¡à°¿",ok:"సరà±",cancel:"à°°à°¦à±à°¦à±"},nativeName:"telugu",englishName:"Telugu"})
8,setupLocale({localeCode:"fil",strings:{pagePrevText:"Nakaraang",pageNextText:"Susunod",completeText:"Kumpleto",previewText:"Silipin",editText:"I-edit",startSurveyText:"Magsimula",otherItemText:"Iba pa (ilarawan)",noneItemText:"wala",refuseItemText:"Tumangging sumagot",dontKnowItemText:"hindi ko alam",selectAllItemText:"Piliin lahat",deselectAllItemText:"Alisin ang pagpili ng lahat",progressText:"Pahina {0} ng {1}",indexText:"{0} ng {1}",panelDynamicProgressText:"{0} ng {1}",panelDynamicTabTextFormat:"Panel {panelIndex}",questionsProgressText:"Sinagot ang {0}/{1} mga tanong",emptySurvey:"Ang survey ay hindi naglalaman ng anumang nakikitang elemento.",completingSurvey:"Salamat sa pagkumpleto ng survey",completingSurveyBefore:"Nakumpleto mo na ang survey na ito.",loadingSurvey:"Nilo-load ang Survey...",placeholder:"Pumili...",ratingOptionsCaption:"Pumili...",value:"halaga",requiredError:"Kinakailangan ang tugon.",requiredErrorInPanel:"Kinakailangan ang tugon: sagutin ang kahit isang tanong.",requiredInAllRowsError:"Kinakailangan ang tugon: sagutin ang mga tanong sa lahat ng row.",eachRowUniqueError:"Ang bawat hilera ay dapat may natatanging halaga.",numericError:"Ang halaga ay dapat na numero.",minError:"Ang halaga ay hindi dapat mas mababa sa {0}",maxError:"Ang halaga ay hindi dapat mas malaki sa {0}",textNoDigitsAllow:"Bawal ang mga numero.",textMinLength:"Mangyaring magpasok ng hindi bababa sa {0} (mga) character.",textMaxLength:"Mangyaring magpasok ng hindi hihigit sa {0} (mga) character.",textMinMaxLength:"Mangyaring magpasok ng hindi bababa sa {0} at hindi hihigit sa {1} (na) character.",minRowCountError:"Mangyaring punan ang hindi bababa sa {0} (na) hilera.",minSelectError:"Mangyaring pumili ng hindi bababa sa {0} (mga) opsyon.",maxSelectError:"Mangyaring pumili ng hindi hihigit sa {0} (mga) opsyon.",numericMinMax:"Ang '{0}' ay dapat na hindi bababa sa {1} at hindi hihigit sa {2}",numericMin:"Ang '{0}' ay dapat na hindi bababa sa {1}",numericMax:"Ang '{0}' ay dapat na hindi hihigit sa {1}",invalidEmail:"Mangyaring magpasok ng wastong e-mail address.",invalidExpression:"Ang expression na: {0} ay dapat magbalik ng 'true'.",urlRequestError:"Ang kahilingan ay nagbalik ng error na '{0}'. {1}",urlGetChoicesError:"Ang kahilingan ay nagbalik ng walang laman na data o ang 'path' property ay hindi tama",exceedMaxSize:"Ang laki ng file ay hindi dapat lumampas sa {0}.",noUploadFilesHandler:"Hindi ma-upload ang mga file. Mangyaring magdagdag ng handler para sa kaganapang 'onUploadFiles'.",otherRequiredError:"Kinakailangan ang tugon: maglagay ng isa pang halaga.",uploadingFile:"Ina-upload ang iyong file. Mangyaring maghintay ng ilang segundo at subukang muli.",loadingFile:"Naglo-load...",chooseFile:"Pumili ng (mga) file...",noFileChosen:"Walang napiling file",filePlaceholder:"I-drag at i-drop ang isang file dito o i-click ang button sa ibaba upang pumili ng file na ia-upload.",confirmDelete:"Sigurado ka bang gusto mong tanggalin ang talang ito?",keyDuplicationError:"Ang halagang ito ay dapat na natatangi.",addColumn:"Magdagdag ng Column",addRow:"Magdagdag ng hilera",removeRow:"Alisin",emptyRowsText:"Walang mga hilera.",addPanel:"Magdagdag ng bago",removePanel:"Alisin",showDetails:"Ipakita ang mga detalye",hideDetails:"Itago ang Mga Detalye",choices_Item:"aytem",matrix_column:"Kolum",matrix_row:"hilera",multipletext_itemname:"text",savingData:"Ang mga resulta ay sini-save sa server...",savingDataError:"May naganap na error at hindi namin mai-save ang mga resulta.",savingDataSuccess:"Matagumpay na na-save ang mga resulta!",savingExceedSize:"Ang iyong tugon ay lumampas sa 64KB. Mangyaring bawasan ang laki ng iyong (mga) file at subukang muli o makipag-ugnayan sa may-ari ng survey.",saveAgainButton:"Subukan muli",timerMin:"min",timerSec:"sec",timerSpentAll:"Gumastos ka ng {0} sa pahinang ito at {1} sa kabuuan.",timerSpentPage:"Gumastos ka ng {0} sa pahinang ito.",timerSpentSurvey:"Gumastos ka ng {0} sa kabuuan.",timerLimitAll:"Gumastos ka ng {0} ng {1} sa pahinang ito at {2} ng {3} sa kabuuan.",timerLimitPage:"Gumastos ka ng {0} sa {1} sa pahinang ito.",timerLimitSurvey:"Gumastos ka ng {0} sa {1} sa kabuuan.",clearCaption:"Maaliwalas",signaturePlaceHolder:"Pumirma dito",signaturePlaceHolderReadOnly:"Walang pirma",chooseFileCaption:"Piliin ang File",takePhotoCaption:"Kunan ng litrato",photoPlaceholder:"I-click ang button sa ibaba para kumuha ng larawan gam
8it ang camera.",fileOrPhotoPlaceholder:"I-drag at i-drop o pumili ng file na ia-upload o kumuha ng larawan gamit ang camera.",replaceFileCaption:"Palitan ang file",removeFileCaption:"Alisin ang file na ito",booleanCheckedLabel:"Oo",booleanUncheckedLabel:"Hindi",confirmRemoveFile:"Sigurado ka bang gusto mong alisin ang file na ito: {0}?",confirmRemoveAllFiles:"Sigurado ka bang gusto mong alisin ang lahat ng file?",questionTitlePatternText:"Pamagat ng Tanong",modalCancelButtonText:"Kanselahin",modalApplyButtonText:"Mag-apply",filterStringPlaceholder:"I-type para maghanap...",emptyMessage:"walang maipakitang datos",noEntriesText:"Wala pang entry.\nI-click ang button sa ibaba para magdagdag ng bagong entry.",noEntriesReadonlyText:"Walang entry",tabTitlePlaceholder:"Bagong Panel",more:"Higit pa",tagboxDoneButtonCaption:"OK",selectToRankEmptyRankedAreaText:"Ang lahat ng mga pagpipilian ay pinili para sa pagraranggo",selectToRankEmptyUnrankedAreaText:"I-drag ang mga pagpipilian dito upang i-rank ang mga ito",ok:"OK",cancel:"Kanselahin"},nativeName:"filipino",englishName:"Filipino"}),setupLocale({localeCode:"sl",strings:{pagePrevText:"PrejÅ¡nja",pageNextText:"Naslednja",completeText:"ZakljuÄi",previewText:"Predogled",editText:"Uredi",startSurveyText:"ZaÄni",otherItemText:"Drugo (opiÅ¡ite)",noneItemText:"Noben",refuseItemText:"Zavrni odgovor",dontKnowItemText:"Ne vem",selectAllItemText:"Izberi vse",deselectAllItemText:"Odstrani izbiro",progressText:"Stran {0} od {1}",indexText:"{0} od {1}",panelDynamicProgressText:"{0} od {1}",panelDynamicTabTextFormat:"PloÅ¡Äa {panelIndex}",questionsProgressText:"Odgovorjeno {0}/{1} vpraÅ¡anj",emptySurvey:"Anketa ne vsebuje vidnih elementov.",completingSurvey:"Hvala, ker ste izpolnili anketo",completingSurveyBefore:"To anketo ste že izpolnili.",loadingSurvey:"Nalaganje ankete...",placeholder:"Izberite...",ratingOptionsCaption:"Izberite...",value:"vrednost",requiredError:"Odgovor je obvezen.",requiredErrorInPanel:"Obvezen odgovor: odgovorite na vsaj eno vpraÅ¡anje.",requiredInAllRowsError:"Obvezen odgovor: odgovorite na vsa vpraÅ¡anja v vrsticah.",eachRowUniqueError:"Vsaka vrstica mora imeti edinstveno vrednost.",numericError:"Vrednost mora biti Å¡tevilÄna.",minError:"Vrednost ne sme biti manjÅ¡a od {0}",maxError:"Vrednost ne sme biti veÄja od {0}",textNoDigitsAllow:"Å tevilke niso dovoljene.",textMinLength:"Vnesite vsaj {0} znakov.",textMaxLength:"Vnesite najveÄ {0} znakov.",textMinMaxLength:"Vnesite vsaj {0} in najveÄ {1} znakov.",minRowCountError:"Izpolnite vsaj {0} vrstic.",minSelectError:"Izberite vsaj {0} možnosti.",maxSelectError:"Izberite najveÄ {0} možnosti.",numericMinMax:"'{0}' mora biti vsaj {1} in najveÄ {2}",numericMin:"'{0}' mora biti vsaj {1}",numericMax:"'{0}' mora biti najveÄ {1}",invalidEmail:"Vnesite veljaven e-poÅ¡tni naslov.",invalidExpression:"Izraz: {0} mora vrniti 'true'.",urlRequestError:"Zahteva je vrnila napako '{0}'. {1}",urlGetChoicesError:"Zahteva je vrnila prazne podatke ali lastnost 'path' ni pravilna.",exceedMaxSize:"Velikost datoteke ne sme presegati {0}.",noUploadFilesHandler:"Datotek ni mogoÄe naložiti. Dodajte obravnavo za dogodek 'onUploadFiles'.",otherRequiredError:"Obvezen odgovor: vnesite drugo vrednost.",uploadingFile:"VaÅ¡a datoteka se nalaga. PoÄakajte nekaj sekund in poskusite znova.",loadingFile:"Nalaganje...",chooseFile:"Izberite datoteko...",noFileChosen:"Ni izbrane datoteke",filePlaceholder:"Povlecite in spustite datoteko tukaj ali kliknite spodnji gumb za izbiro datoteke za nalaganje.",confirmDelete:"Ste prepriÄani, da želite izbrisati ta zapis?",keyDuplicationError:"Ta vrednost mora biti edinstvena.",addColumn:"Dodaj stolpec",addRow:"Dodaj vrstico",removeRow:"Odstrani",noRowsText:"Ni vrstic.",addPanel:"Dodaj novo",removePanel:"Odstrani",showDetails:"Prikaži podrobnosti",hideDetails:"Skrij podrobnosti",choices_Item:"postavka",choices_Choice:"Možnost izbire",matrix_column:"Stolpec",matrix_row:"Vrstica",multipletext_itemname:"besedilo",savingData:"Rezultati se shranjujejo na strežnik...",savingDataError:"PriÅ¡lo je do napake in rezultatov ni bilo mogoÄe shraniti.",savingDataSuccess:"Rezultati s
8o bili uspeÅ¡no shranjeni!",savingExceedSize:"VaÅ¡ odgovor presega 64 KB. ZmanjÅ¡ajte velikost datotek in poskusite znova ali se obrnite na lastnika ankete.",saveAgainButton:"Poskusite znova",timerMin:"min",timerSec:"sek",timerSpentAll:"Na tej strani ste porabili {0}, skupno {1}.",timerSpentPage:"Na tej strani ste porabili {0}.",timerSpentSurvey:"Skupaj ste porabili {0}.",timerLimitAll:"Na tej strani ste porabili {0} od {1} in skupno {2} od {3}.",timerLimitPage:"Na tej strani ste porabili {0} od {1}.",timerLimitSurvey:"Skupaj ste porabili {0} od {1}.",clearCaption:"PoÄisti",signaturePlaceHolder:"PodpiÅ¡ite se tukaj",signaturePlaceHolderReadOnly:"Ni podpisa",chooseFileCaption:"Izberi datoteko",takePhotoCaption:"Slikaj",photoPlaceholder:"Kliknite spodnji gumb, da posnamete fotografijo s kamero.",fileOrPhotoPlaceholder:"Povlecite in spustite datoteko za nalaganje ali posnemite fotografijo s kamero.",replaceFileCaption:"Zamenjaj datoteko",removeFileCaption:"Odstrani to datoteko",booleanCheckedLabel:"Da",booleanUncheckedLabel:"Ne",confirmRemoveFile:"Ste prepriÄani, da želite odstraniti to datoteko: {0}?",confirmRemoveAllFiles:"Ste prepriÄani, da želite odstraniti vse datoteke?",questionTitlePatternText:"Naslov vpraÅ¡anja",modalCancelButtonText:"PrekliÄi",modalApplyButtonText:"Uporabi",filterStringPlaceholder:"Vnesite za iskanje...",emptyMessage:"Ni podatkov za prikaz",noEntriesText:"Ni Å¡e vnosov.\nKliknite spodnji gumb za dodajanje novega vnosa.",noEntriesReadonlyText:"Ni vnosov",tabTitlePlaceholder:"Nova ploÅ¡Äa",more:"VeÄ",tagboxDoneButtonCaption:"V redu",selectToRankEmptyRankedAreaText:"Vse možnosti so izbrane za razvrÅ¡Äanje",selectToRankEmptyUnrankedAreaText:"Povlecite izbire sem, da jih razvrstite",ok:"V redu",cancel:"PrekliÄi"},nativeName:"slovenÅ¡Äina",englishName:"Slovenian"});var aL=o("react"),aB=o.n(aL),aq=function(){function ReactElementFactory(){this.creatorHash={}}return ReactElementFactory.prototype.registerElement=function(e,t){this.creatorHash[e]=t},ReactElementFactory.prototype.getAllTypes=function(){var e=[];for(var t in this.creatorHash)e.push(t);return e.sort()},ReactElementFactory.prototype.isElementRegistered=function(e){return!!this.creatorHash[e]},ReactElementFactory.prototype.createElement=function(e,t){var o=this.creatorHash[e];return null==o?null:o(t)},ReactElementFactory.Instance=new ReactElementFactory,ReactElementFactory}(),aN=function(){function ReactSurveyElementsWrapper(){}return ReactSurveyElementsWrapper.wrapRow=function(e,t,o){var n=e.getRowWrapperComponentName(o),r=e.getRowWrapperComponentData(o);return aq.Instance.createElement(n,{element:t,row:o,componentData:r})},ReactSurveyElementsWrapper.wrapElement=function(e,t,o){var n=e.getElementWrapperComponentName(o),r=e.getElementWrapperComponentData(o);return aq.Instance.createElement(n,{element:t,question:o,componentData:r})},ReactSurveyElementsWrapper.wrapQuestionContent=function(e,t,o){var n=e.getQuestionContentWrapperComponentName(o),r=e.getElementWrapperComponentData(o);return aq.Instance.createElement(n,{element:t,question:o,componentData:r})},ReactSurveyElementsWrapper.wrapItemValue=function(e,t,o,n){var r=e.getItemValueWrapperComponentName(n,o),i=e.getItemValueWrapperComponentData(n,o);return aq.Instance.createElement(r,{key:null==t?void 0:t.key,element:t,question:o,item:n,componentData:i})},ReactSurveyElementsWrapper.wrapMatrixCell=function(e,t,o,n){void 0===n&&(n="cell");var r=e.getElementWrapperComponentName(o,n),i=e.getElementWrapperComponentData(o,n);return aq.Instance.createElement(r,{element:t,cell:o,componentData:i})},ReactSurveyElementsWrapper}();iv.platform="react";var aF=(eT=function(e,t){return(eT=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eT(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),az=function(e){function SurveyElementBase(t){var o=e.call(this,t)||this;return o._allowComponentUpdate=!0,o.prevStateElements=[],o.propertyValueChangedHandler=function(e,t,n){e[t]!==n&&(e[t]=n,o.canUsePropInState(t)&&(o.isRendering||(o.changedStatePropNameValue=t,o.setState(function(e){var o={};return o[t]=n,o}))))},o}return aF(SurveyElementBase,e),SurveyElementBase.renderLocString=function(e,t,o){return void 0===t&&(t=null),aq.Instance.createElement(e.renderAs,{locStr:e.renderAsData,style:t,key:o})},SurveyElementBase.renderQuestionDescription=function(e){var t=SurveyElementBase.renderLocString(e.locDescription);return aL.createElement("div",{style:e.hasDescription?void 0:{display:"none"},id:e.ariaDescriptionId,className:e.cssDescription},t)},SurveyElementBase.prototype.componentDidMount=function(){this.makeBaseElementsReact()},SurveyElementBase.prototype.componentWillUnmount=function(){this.unMakeBaseElementsReact(),this.disableStateElementsRerenderEvent(this.getStateElements())},SurveyElementBase.prototype.componentDidUpdate=function(e,t){this.makeBaseElementsReact();var o,n=this.getStateElements();this.disableStateElementsRerenderEvent((null!==(o=this.prevStateElements)&&void 0!==o?o:[]).filter(function(e){return!n.includes(e)}
8)),this.prevStateElements=[],this.getStateElements().forEach(function(e){e.afterRerender()})},SurveyElementBase.prototype.allowComponentUpdate=function(){this._allowComponentUpdate=!0,this.forceUpdate()},SurveyElementBase.prototype.denyComponentUpdate=function(){this._allowComponentUpdate=!1},SurveyElementBase.prototype.shouldComponentUpdate=function(e,t){return this._allowComponentUpdate&&(this.unMakeBaseElementsReact(),this.prevStateElements=this.getStateElements()),this._allowComponentUpdate},SurveyElementBase.prototype.render=function(){if(!this.canRender())return null;this.startEndRendering(1);var e=this.renderElement();return this.startEndRendering(-1),e&&(e=this.wrapElement(e)),this.changedStatePropNameValue=void 0,e},SurveyElementBase.prototype.wrapElement=function(e){return e},Object.defineProperty(SurveyElementBase.prototype,"isRendering",{get:function(){for(var e=this.getRenderedElements(),t=0;t<e.length;t++)if(e[t].reactRendering>0)return!0;return!1},enumerable:!1,configurable:!0}),SurveyElementBase.prototype.getRenderedElements=function(){return this.getStateElements()},SurveyElementBase.prototype.startEndRendering=function(e){for(var t=this.getRenderedElements(),o=0;o<t.length;o++){var n=t[o];n.reactRendering||(n.reactRendering=0),n.reactRendering+=e}},SurveyElementBase.prototype.canRender=function(){return!0},SurveyElementBase.prototype.renderElement=function(){return null},Object.defineProperty(SurveyElementBase.prototype,"changedStatePropName",{get:function(){return this.changedStatePropNameValue},enumerable:!1,configurable:!0}),SurveyElementBase.prototype.makeBaseElementsReact=function(){for(var e=this.getStateElements(),t=0;t<e.length;t++)e[t].enableOnElementRerenderedEvent(),this.makeBaseElementReact(e[t])},SurveyElementBase.prototype.unMakeBaseElementsReact=function(){var e=this.getStateElements();this.unMakeBaseElementsReactive(e)},SurveyElementBase.prototype.unMakeBaseElementsReactive=function(e){for(var t=0;t<e.length;t++)this.unMakeBaseElementReact(e[t])},SurveyElementBase.prototype.disableStateElementsRerenderEvent=function(e){e.forEach(function(e){e.disableOnElementRerenderedEvent()})},SurveyElementBase.prototype.getStateElements=function(){var e=this.getStateElement();return e?[e]:[]},SurveyElementBase.prototype.getStateElement=function(){return null},Object.defineProperty(SurveyElementBase.prototype,"isDisplayMode",{get:function(){return this.props.isDisplayMode||!1},enumerable:!1,configurable:!0}),SurveyElementBase.prototype.renderLocString=function(e,t,o){return void 0===t&&(t=null),SurveyElementBase.renderLocString(e,t,o)},SurveyElementBase.prototype.canMakeReact=function(e){return!!e&&!!e.iteratePropertiesHash},SurveyElementBase.prototype.isCurrentStateElement=function(e){return!!e&&!!e.setPropertyValueCoreHandler&&e.setPropertyValueCoreHandler===this.propertyValueChangedHandler},SurveyElementBase.prototype.makeBaseElementReact=function(e){var t=this;this.canMakeReact(e)&&(e.iteratePropertiesHash(function(e,o){if(t.canUsePropInState(o)){var n=e[o];if(Array.isArray(n)){var n=n;n.onArrayChanged=function(e){t.isRendering||(t.changedStatePropNameValue=o,t.setState(function(e){var t={};return t[o]=n,t}))}}}}),e.setPropertyValueCoreHandler=this.propertyValueChangedHandler)},SurveyElementBase.prototype.canUsePropInState=function(e){return!0},SurveyElementBase.prototype.unMakeBaseElementReact=function(e){this.canMakeReact(e)&&(this.isCurrentStateElement(e),e.setPropertyValueCoreHandler=void 0,e.iteratePropertiesHash(function(e,t){var o=e[t];if(Array.isArray(o)){var o=o;o.onArrayChanged=function(){}}}))},SurveyElementBase}(aL.Component),aH=function(e){function ReactSurveyElement(t){return e.call(this,t)||this}return aF(ReactSurveyElement,e),Object.defineProperty(ReactSurveyElement.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),ReactSurveyElement}(az),aU=function(e){function SurveyQuestionElementBase(t){return e.call(this,t)||this}return aF(SurveyQuestionElementBase,e),SurveyQuestionElementBase.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.updateDomElement()},SurveyQuestionElementBase.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.updateDomElement()},SurveyQuestionElementBase.prototype.componentWillUnmount=function(){if(e.prototype.componentWillUnmount.call(this),this.questionBase){var t=this.content||this.control;this.questionBase.beforeDestroyQuestionElement(t),t&&t.removeAttribute("data-rendered")}},SurveyQuestionElementBase.prototype.updateDomElement=function(){var e=this.content||this.control;e&&"r"!==e.getAttribute("data-rendered")&&(e.setAttribute("data-rendered","r"),this.questionBase.afterRe
8nderQuestionElement(e))},Object.defineProperty(SurveyQuestionElementBase.prototype,"questionBase",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),SurveyQuestionElementBase.prototype.getRenderedElements=function(){return[this.questionBase]},Object.defineProperty(SurveyQuestionElementBase.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),SurveyQuestionElementBase.prototype.canRender=function(){return!!this.questionBase&&!!this.creator},SurveyQuestionElementBase.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&(!this.questionBase.customWidget||!!this.questionBase.customWidgetData.isNeedRender||!!this.questionBase.customWidget.widgetJson.isDefaultRender||!!this.questionBase.customWidget.widgetJson.render)},Object.defineProperty(SurveyQuestionElementBase.prototype,"isDisplayMode",{get:function(){return this.props.isDisplayMode||!!this.questionBase&&this.questionBase.isInputReadOnly||!1},enumerable:!1,configurable:!0}),SurveyQuestionElementBase.prototype.wrapCell=function(e,t,o){if(!o)return t;var n=this.questionBase.survey,r=null;return n&&(r=aN.wrapMatrixCell(n,t,e,o)),null!=r?r:t},SurveyQuestionElementBase.prototype.setControl=function(e){e&&(this.control=e)},SurveyQuestionElementBase.prototype.setContent=function(e){e&&(this.content=e)},SurveyQuestionElementBase}(az),aW=function(e){function SurveyQuestionUncontrolledElement(t){var o=e.call(this,t)||this;return o.updateValueOnEvent=function(e){oe.isTwoValueEquals(o.questionBase.value,e.target.value,!1,!0,!1)||o.setValueCore(e.target.value)},o.updateValueOnEvent=o.updateValueOnEvent.bind(o),o}return aF(SurveyQuestionUncontrolledElement,e),Object.defineProperty(SurveyQuestionUncontrolledElement.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionUncontrolledElement.prototype.setValueCore=function(e){this.questionBase.value=e},SurveyQuestionUncontrolledElement.prototype.getValueCore=function(){return this.questionBase.value},SurveyQuestionUncontrolledElement.prototype.updateDomElement=function(){if(this.control){var t=this.control,o=this.getValueCore();oe.isTwoValueEquals(o,t.value,!1,!0,!1)||(t.value=this.getValue(o))}e.prototype.updateDomElement.call(this)},SurveyQuestionUncontrolledElement.prototype.getValue=function(e){return oe.isValueEmpty(e)?"":e},SurveyQuestionUncontrolledElement}(aU),a$=(eV=function(e,t){return(eV=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eV(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),aJ=function(e){function SurveyRowElement(t){var o=e.call(this,t)||this;return o.element.cssClasses,o.rootRef=aL.createRef(),o}return a$(SurveyRowElement,e),SurveyRowElement.prototype.getStateElement=function(){return this.element},Object.defineProperty(SurveyRowElement.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRowElement.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRowElement.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRowElement.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRowElement.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRowElement.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),SurveyRowElement.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.rootRef.current&&this.element.setWrapperElement(this.rootRef.current)},SurveyRowElement.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.element.setWrapperElement(void 0)},SurveyRowElement.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&(t.element!==this.element&&(t.element&&t.element.setWrapperElement(this.rootRef.current),this.element&&this.element.setWrapperElement(void 0)),this.element.cssClasse
8s,!0)},SurveyRowElement.prototype.renderElement=function(){var e=this.element,t=this.createElement(e,this.index),o=e.cssClassesValue;return aL.createElement("div",{className:o.questionWrapper,style:e.rootStyle,"data-key":e.name+this.index,onFocus:function(){e&&e.isQuestion&&e.focusIn()},ref:this.rootRef},t)},SurveyRowElement.prototype.createElement=function(e,t){if(!this.row.isNeedRender)return aq.Instance.createElement(e.skeletonComponentName,{element:e,css:this.css});var o=e.getTemplate();return aq.Instance.isElementRegistered(o)||(o="question"),aq.Instance.createElement(o,{element:e,creator:this.creator,survey:this.survey,css:this.css})},SurveyRowElement}(az),aG=(eR=function(e,t){return(eR=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eR(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),aK=function(e){function SurveyRow(t){var o=e.call(this,t)||this;return o.rootRef=aL.createRef(),o.recalculateCss(),o}return aG(SurveyRow,e),SurveyRow.prototype.recalculateCss=function(){this.row.visibleElements.map(function(e){return e.cssClasses})},SurveyRow.prototype.getStateElement=function(){return this.row},Object.defineProperty(SurveyRow.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRow.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRow.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyRow.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),SurveyRow.prototype.canRender=function(){return!!this.row&&!!this.survey&&!!this.creator},SurveyRow.prototype.renderElementContent=function(){var e=this,t=this.row.visibleElements.map(function(t,o){return aL.createElement(aJ,{element:t,index:o,row:e.row,survey:e.survey,creator:e.creator,css:e.css,key:t.id})});return aL.createElement("div",{ref:this.rootRef,className:this.row.getRowCss()},t)},SurveyRow.prototype.renderElement=function(){var e=this.survey,t=this.renderElementContent();return aN.wrapRow(e,t,this.row)||t},SurveyRow.prototype.componentDidMount=function(){var t=this;e.prototype.componentDidMount.call(this);var o=this.rootRef.current;this.rootRef.current&&this.row.setRootElement(this.rootRef.current),o&&!this.row.isNeedRender&&(this.lazyRenderingTimeout=setTimeout(function(){t.row.startLazyRendering(o)},10))},SurveyRow.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&(t.row!==this.row&&(t.row.isNeedRender=this.row.isNeedRender,t.row.setRootElement(this.rootRef.current),this.row.setRootElement(void 0),this.stopLazyRendering()),this.recalculateCss(),!0)},SurveyRow.prototype.stopLazyRendering=function(){clearTimeout(this.lazyRenderingTimeout),this.row.stopLazyRendering(),this.row.isNeedRender=!this.row.isLazyRendering()},SurveyRow.prototype.componentWillUnmount=function(){var t=this.isCurrentStateElement(this.getStateElement());e.prototype.componentWillUnmount.call(this),t&&(this.row.setRootElement(void 0),this.stopLazyRendering())},SurveyRow.prototype.createElement=function(e,t){var o=e.getType();return aq.Instance.isElementRegistered(o)||(o="question"),aq.Instance.createElement(o,{key:e.name+(t?"-"+t:0),element:e,creator:this.creator,survey:this.survey,css:this.css})},SurveyRow}(az),aZ=(ek=function(e,t){return(ek=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ek(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),aY=function(e){function SurveyPanelBase(t){var o=e.call(this,t)||this;return o.rootRef=aL.createRef(),o}return aZ(SurveyPanelBase,e),SurveyPanelBase.prototype.getStateElement=function(){return this.panelBase},SurveyPanelBase.prototype.canUsePropInState=function(t){return"elements"!==t&&e.prototype.canUsePropInState.call(this,t)},Object.defineProperty(SurveyPanelBase.prototype,"survey",{get:function(){return this.get
8Survey()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyPanelBase.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyPanelBase.prototype,"css",{get:function(){return this.getCss()},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyPanelBase.prototype,"panelBase",{get:function(){return this.getPanelBase()},enumerable:!1,configurable:!0}),SurveyPanelBase.prototype.getPanelBase=function(){return this.props.element||this.props.question},SurveyPanelBase.prototype.getSurvey=function(){return this.props.survey||(this.panelBase?this.panelBase.survey:null)},SurveyPanelBase.prototype.getCss=function(){return this.props.css},SurveyPanelBase.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.doAfterRender()},SurveyPanelBase.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this);var t=this.rootRef.current;t&&t.removeAttribute("data-rendered")},SurveyPanelBase.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),t.page&&this.survey&&this.survey.activePage&&t.page.id===this.survey.activePage.id||this.doAfterRender()},SurveyPanelBase.prototype.doAfterRender=function(){var e=this.rootRef.current;e&&this.survey&&(this.panelBase.isPanel?this.panelBase.afterRender(e):this.survey.afterRenderPage(e))},SurveyPanelBase.prototype.getIsVisible=function(){return this.panelBase.isVisible},SurveyPanelBase.prototype.canRender=function(){return e.prototype.canRender.call(this)&&!!this.survey&&!!this.panelBase&&!!this.panelBase.survey&&this.getIsVisible()},SurveyPanelBase.prototype.renderRows=function(e){var t=this;return this.panelBase.visibleRows.map(function(o){return t.createRow(o,e)})},SurveyPanelBase.prototype.createRow=function(e,t){return aL.createElement(aK,{key:e.id,row:e,survey:this.survey,creator:this.creator,css:t})},SurveyPanelBase}(az),aX=(eI=function(e,t){return(eI=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eI(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),a1=function(e){function SvgIcon(t){var o=e.call(this,t)||this;return o.svgIconRef=aB.a.createRef(),o}return aX(SvgIcon,e),SvgIcon.prototype.updateSvg=function(){this.props.iconName&&createSvg(this.props.size,this.props.width,this.props.height,this.props.iconName,this.svgIconRef.current,this.props.title)},SvgIcon.prototype.componentDidUpdate=function(){this.updateSvg()},SvgIcon.prototype.render=function(){var e="sv-svg-icon";return this.props.className&&(e+=" "+this.props.className),this.props.iconName?aB.a.createElement("svg",{className:e,style:this.props.style,onClick:this.props.onClick,ref:this.svgIconRef,role:"img"},aB.a.createElement("use",null)):null},SvgIcon.prototype.componentDidMount=function(){this.updateSvg()},SvgIcon}(aB.a.Component);aq.Instance.registerElement("sv-svg-icon",function(e){return aB.a.createElement(a1,e)});var a0=(eO=function(e,t){return(eO=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eO(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),a2=function(e){function SurveyActionBarSeparator(t){return e.call(this,t)||this}return a0(SurveyActionBarSeparator,e),SurveyActionBarSeparator.prototype.render=function(){var e="sv-action-bar-separator "+this.props.cssClasses;return aB.a.createElement("div",{className:e})},SurveyActionBarSeparator}(aB.a.Component);aq.Instance.registerElement("sv-action-bar-separator",function(e){return aB.a.createElement(a2,e)});
8var a5=(eD=function(e,t){return(eD=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eD(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),a7=function(e){function SurveyAction(){return null!==e&&e.apply(this,arguments)||this}return a5(SurveyAction,e),Object.defineProperty(SurveyAction.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyAction.prototype.getStateElement=function(){return this.item},SurveyAction.prototype.renderElement=function(){var e=this.item.getActionRootCss(),t=this.item.needSeparator?aB.a.createElement(a2,null):null,o=aq.Instance.createElement(this.item.component||"sv-action-bar-item",{item:this.item});return aB.a.createElement("div",{className:e,id:this.item.id},aB.a.createElement("div",{className:"sv-action__content"},t,o))},SurveyAction}(az),a4=function(e){function SurveyActionBarItem(){return null!==e&&e.apply(this,arguments)||this}return a5(SurveyActionBarItem,e),Object.defineProperty(SurveyActionBarItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyActionBarItem.prototype.getStateElement=function(){return this.item},SurveyActionBarItem.prototype.renderElement=function(){return aB.a.createElement(aB.a.Fragment,null,this.renderInnerButton())},SurveyActionBarItem.prototype.renderText=function(){if(!this.item.hasTitle)return null;var e=this.item.getActionBarItemTitleCss();return aB.a.createElement("span",{className:e},this.item.title)},SurveyActionBarItem.prototype.renderButtonContent=function(){var e=this.renderText(),t=this.item.iconName?aB.a.createElement(a1,{className:this.item.cssClasses.itemIcon,size:this.item.iconSize,iconName:this.item.iconName,title:this.item.tooltip||this.item.title}):null;return aB.a.createElement(aB.a.Fragment,null,t,e)},SurveyActionBarItem.prototype.renderInnerButton=function(){var e=this,t=this.item.getActionBarItemCss(),o=this.item.tooltip||this.item.title,n=this.renderButtonContent(),r=this.item.disableTabStop?-1:void 0;return attachKey2click(aB.a.createElement("button",{className:t,type:"button",disabled:this.item.disabled,onMouseDown:function(t){return e.item.doMouseDown(t)},onFocus:function(t){return e.item.doFocus(t)},onClick:function(t){return e.item.doAction(t)},title:o,tabIndex:r,"aria-checked":this.item.ariaChecked,"aria-expanded":this.item.ariaExpanded,role:this.item.ariaRole},n),this.item,{processEsc:!1})},SurveyActionBarItem}(az);aq.Instance.registerElement("sv-action-bar-item",function(e){return aB.a.createElement(a4,e)});var a3=(eA=function(e,t){return(eA=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eA(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),a9=function(e){function Popup(t){var o=e.call(this,t)||this;return o.containerRef=aB.a.createRef(),o.createModel(),o}return a3(Popup,e),Object.defineProperty(Popup.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Popup.prototype.getStateElement=function(){return this.model},Popup.prototype.createModel=function(){this.popup=createPopupViewModel(this.props.model)},Popup.prototype.setTargetElement=function(){var e=this.containerRef.current;this.popup.setComponentElement(e)},Popup.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.setTargetElement()},Popup.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.setTargetElement()},Popup.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.popup.resetComponentElement()},Popup.prototype.shouldComponentUpdate=function(t,o){if(!e.prototype.shouldComponentUpdate.call(this,t,o))return!1;var n,r=t.model!==this.popup.model;return r&&(null===(n=this.popup)||void 0===n||n.dispose(),this.createModel()),r},Popup.prototype.render=function(){var e;return this.popup.model=this.model,e=this.model.isModal?aB.a.createElement(a6,{model:this.popup}):aB.a.createElement(a8,{model:this.popup}),aB.a.createElement("div",{ref:this.containerRef},e)},Popup}(az);aq.Instance.registerElement("sv-popup",function(e){return aB.a.createElement(a9,e)});var a6=function(e){function PopupContainer(t){var o=e.call(this,t)||this;return o.handleKeydown=function(e){o.model.onKeyDown(e)},o.clickInside=function(e){e.stopPropagation()},o}return a3(PopupContainer,e),Object.defineProperty(PopupContainer.prototype,"model",{get:function(){return this.props.model}
8,enumerable:!1,configurable:!0}),PopupContainer.prototype.getStateElement=function(){return this.model},PopupContainer.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),!this.model.isPositionSet&&this.model.isVisible&&this.model.updateOnShowing()},PopupContainer.prototype.renderContainer=function(e){var t=this,o=e.showHeader?this.renderHeaderPopup(e):null,n=e.title?this.renderHeaderContent():null,r=this.renderContent(),i=e.showFooter?this.renderFooter(this.model):null;return aB.a.createElement("div",{className:"sv-popup__container",style:{left:e.left,top:e.top,height:e.height,width:e.width,minWidth:e.minWidth},onClick:function(e){t.clickInside(e)}},o,aB.a.createElement("div",{className:"sv-popup__body-content"},n,aB.a.createElement("div",{className:"sv-popup__scrolling-content"},r),i))},PopupContainer.prototype.renderHeaderContent=function(){return aB.a.createElement("div",{className:"sv-popup__body-header"},this.model.title)},PopupContainer.prototype.renderContent=function(){var e=aq.Instance.createElement(this.model.contentComponentName,this.model.contentComponentData);return aB.a.createElement("div",{className:"sv-popup__content"},e)},PopupContainer.prototype.renderHeaderPopup=function(e){return null},PopupContainer.prototype.renderFooter=function(e){return aB.a.createElement("div",{className:"sv-popup__body-footer"},aB.a.createElement(ln,{model:e.footerToolbar}))},PopupContainer.prototype.render=function(){var e=this,t=this.renderContainer(this.model),o=new oY().append("sv-popup").append(this.model.styleClass).toString(),n={display:this.model.isVisible?"":"none"};return aB.a.createElement("div",{tabIndex:-1,className:o,style:n,onClick:function(t){e.model.clickOutside(t)},onKeyDown:this.handleKeydown},t)},PopupContainer.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.isVisible&&this.model.updateOnShowing()},PopupContainer}(az),a8=function(e){function PopupDropdownContainer(){return null!==e&&e.apply(this,arguments)||this}return a3(PopupDropdownContainer,e),PopupDropdownContainer.prototype.renderHeaderPopup=function(e){return e?aB.a.createElement("span",{style:{left:e.pointerTarget.left,top:e.pointerTarget.top},className:"sv-popup__pointer"}):null},PopupDropdownContainer}(a6),le=(eQ=function(e,t){return(eQ=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eQ(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lt=function(e){function SurveyActionBarItemDropdown(t){return e.call(this,t)||this}return le(SurveyActionBarItemDropdown,e),SurveyActionBarItemDropdown.prototype.renderInnerButton=function(){var t=e.prototype.renderInnerButton.call(this);return aB.a.createElement(aB.a.Fragment,null,t,aB.a.createElement(a9,{model:this.item.popupModel}))},SurveyActionBarItemDropdown.prototype.componentDidMount=function(){this.viewModel=new nt(this.item)},SurveyActionBarItemDropdown.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.viewModel.dispose()},SurveyActionBarItemDropdown}(a4);aq.Instance.registerElement("sv-action-bar-item-dropdown",function(e){return aB.a.createElement(lt,e)});var lo=(ej=function(e,t){return(ej=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ej(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ln=function(e){function SurveyActionBar(t){var o=e.call(this,t)||this;return o.rootRef=aB.a.createRef(),o}return lo(SurveyActionBar,e),Object.defineProperty(SurveyActionBar.prototype,"handleClick",{get:function(){return void 0===this.props.handleClick||this.props.handleClick}
8,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyActionBar.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),SurveyActionBar.prototype.componentDidMount=function(){if(e.prototype.componentDidMount.call(this),this.model.hasActions){var t=this.rootRef.current;t&&this.model.initResponsivityManager(t,function(e){setTimeout(e,100)})}},SurveyActionBar.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model.resetResponsivityManager()},SurveyActionBar.prototype.componentDidUpdate=function(t,o){if(e.prototype.componentDidUpdate.call(this,t,o),t.model!=this.props.model&&t.model.resetResponsivityManager(),this.model.hasActions){var n=this.rootRef.current;n&&this.model.initResponsivityManager(n,function(e){setTimeout(e,100)})}},SurveyActionBar.prototype.getStateElement=function(){return this.model},SurveyActionBar.prototype.renderElement=function(){if(!this.model.hasActions)return null;var e=this.renderItems();return aB.a.createElement("div",{ref:this.rootRef,className:this.model.getRootCss(),onClick:this.handleClick?function(e){e.stopPropagation()}:void 0},e)},SurveyActionBar.prototype.renderItems=function(){return this.model.renderedActions.map(function(e,t){return aB.a.createElement(a7,{item:e,key:"item"+t})})},SurveyActionBar}(az);aq.Instance.registerElement("sv-action-bar",function(e){return aB.a.createElement(ln,e)});var lr=(eL=function(e,t){return(eL=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eL(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),li=function(e){function TitleContent(t){return e.call(this,t)||this}return lr(TitleContent,e),Object.defineProperty(TitleContent.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(TitleContent.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),TitleContent.prototype.render=function(){if(this.element.isTitleRenderedAsString)return az.renderLocString(this.element.locTitle);var e=this.renderTitleSpans(this.element.getTitleOwner(),this.cssClasses);return aB.a.createElement(aB.a.Fragment,null,e)},TitleContent.prototype.renderTitleSpans=function(e,t){var getSpaceSpan=function(e){return aB.a.createElement("span",{"data-key":e,key:e},"\xa0")},o=[];e.isRequireTextOnStart&&(o.push(this.renderRequireText(e)),o.push(getSpaceSpan("req-sp")));var n=e.no;return n&&(o.push(aB.a.createElement("span",{"data-key":"q_num",key:"q_num",className:e.cssTitleNumber,style:{position:"static"},"aria-hidden":!0},n)),o.push(getSpaceSpan("num-sp"))),e.isRequireTextBeforeTitle&&(o.push(this.renderRequireText(e)),o.push(getSpaceSpan("req-sp"))),o.push(az.renderLocString(e.locTitle,null,"q_title")),e.isRequireTextAfterTitle&&(o.push(getSpaceSpan("req-sp")),o.push(this.renderRequireText(e))),o},TitleContent.prototype.renderRequireText=function(e){return aB.a.createElement("span",{"data-key":"req-text",key:"req-text",className:e.cssRequiredText,"aria-hidden":!0},e.requiredText)},TitleContent}(aB.a.Component),ls=(eB=function(e,t){return(eB=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eB(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),la=function(e){function TitleActions(){return null!==e&&e.apply(this,arguments)||this}return ls(TitleActions,e),Object.defineProperty(TitleActions.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(TitleActions.prototype,"element",{get:function(){return this.props.element}
8,enumerable:!1,configurable:!0}),TitleActions.prototype.render=function(){var e=aB.a.createElement(li,{element:this.element,cssClasses:this.cssClasses});return this.element.hasTitleActions?aB.a.createElement("div",{className:"sv-title-actions"},aB.a.createElement("span",{className:"sv-title-actions__title"},e),aB.a.createElement(ln,{model:this.element.getTitleToolbar()})):e},TitleActions}(aB.a.Component);nK.Instance.registerRenderer("element","title-actions","sv-title-actions"),aq.Instance.registerElement("sv-title-actions",function(e){return aB.a.createElement(la,e)});var ll=(eq=function(e,t){return(eq=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eq(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lu=function(e){function TitleElement(t){return e.call(this,t)||this}return ll(TitleElement,e),Object.defineProperty(TitleElement.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),TitleElement.prototype.renderTitleExpandableSvg=function(){if(!this.element.getCssTitleExpandableSvg())return null;var e=this.element.isExpanded?"icon-collapse-16x16":"icon-expand-16x16";return aB.a.createElement(a1,{className:this.element.getCssTitleExpandableSvg(),iconName:e,size:"auto"})},TitleElement.prototype.render=function(){var e=this.element;if(!e||!e.hasTitle)return null;var t=e.titleAriaLabel||void 0,o=this.renderTitleExpandableSvg(),n=aB.a.createElement(la,{element:e,cssClasses:e.cssClasses}),r=void 0;e.hasTitleEvents&&(r=function(e){doKey2ClickUp(e.nativeEvent)});var i=e.titleTagName;return aB.a.createElement(i,{className:e.cssTitle,id:e.ariaTitleId,"aria-label":t,tabIndex:e.titleTabIndex,"aria-expanded":e.titleAriaExpanded,role:e.titleAriaRole,onClick:void 0,onKeyUp:r},o,n)},TitleElement}(aB.a.Component),lc=function(){function ReactQuestionFactory(){this.creatorHash={}}return ReactQuestionFactory.prototype.registerQuestion=function(e,t){this.creatorHash[e]=t},ReactQuestionFactory.prototype.getAllTypes=function(){var e=[];for(var t in this.creatorHash)e.push(t);return e.sort()},ReactQuestionFactory.prototype.createQuestion=function(e,t){var o=this.creatorHash[e];return null==o?null:o(t)},ReactQuestionFactory.Instance=new ReactQuestionFactory,ReactQuestionFactory}(),lp=(eN=function(e,t){return(eN=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eN(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ld=function(e){function CharacterCounterComponent(){return null!==e&&e.apply(this,arguments)||this}return lp(CharacterCounterComponent,e),CharacterCounterComponent.prototype.getStateElement=function(){return this.props.counter},CharacterCounterComponent.prototype.renderElement=function(){return aB.a.createElement("div",{className:this.props.remainingCharacterCounter},this.props.counter.remainingCharacterCounter)},CharacterCounterComponent}(az);aq.Instance.registerElement("sv-character-counter",function(e){return aB.a.createElement(ld,e)});var lh=(eF=function(e,t){return(eF=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eF(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lm=function(e){function TextAreaComponent(t){var o=e.call(this,t)||this;return o.initialValue=o.viewModel.getTextValue()||"",o.textareaRef=aB.a.createRef(),o}return lh(TextAreaComponent,e),Object.defineProperty(TextAreaComponent.prototype,"viewModel",{get:function(){return this.props.viewModel}
8,enumerable:!1,configurable:!0}),TextAreaComponent.prototype.canRender=function(){return!!this.viewModel.question},TextAreaComponent.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this);var t=this.textareaRef.current;t&&this.viewModel.setElement(t)},TextAreaComponent.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.viewModel.resetElement()},TextAreaComponent.prototype.renderElement=function(){var e=this;return aB.a.createElement("textarea",{id:this.viewModel.id,className:this.viewModel.className,ref:this.textareaRef,disabled:this.viewModel.isDisabledAttr,readOnly:this.viewModel.isReadOnlyAttr,rows:this.viewModel.rows,cols:this.viewModel.cols,placeholder:this.viewModel.placeholder,maxLength:this.viewModel.maxLength,defaultValue:this.initialValue,onChange:function(t){e.viewModel.onTextAreaInput(t)},onFocus:function(t){e.viewModel.onTextAreaFocus(t)},onBlur:function(t){e.viewModel.onTextAreaBlur(t)},onKeyDown:function(t){e.viewModel.onTextAreaKeyDown(t)},"aria-required":this.viewModel.ariaRequired,"aria-label":this.viewModel.ariaLabel,"aria-labelledby":this.viewModel.ariaLabelledBy,"aria-describedby":this.viewModel.ariaDescribedBy,"aria-invalid":this.viewModel.ariaInvalid,"aria-errormessage":this.viewModel.ariaErrormessage,style:{resize:this.viewModel.question.resizeStyle}})},TextAreaComponent}(az);aq.Instance.registerElement("sv-text-area",function(e){return aB.a.createElement(lm,e)});var lg=(ez=function(e,t){return(ez=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ez(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lf=function(e){function SurveyQuestionComment(t){return e.call(this,t)||this}return lg(SurveyQuestionComment,e),SurveyQuestionComment.prototype.renderCharacterCounter=function(){var e=null;return this.question.getMaxLength()&&(e=aL.createElement(ld,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter})),e},SurveyQuestionComment.prototype.renderElement=function(){if(this.question.isReadOnlyRenderDiv())return aL.createElement("div",null,this.question.value);var e=this.renderCharacterCounter(),t=this.props.question.textAreaModel;return aL.createElement(aL.Fragment,null,aL.createElement(lm,{viewModel:t}),e)},SurveyQuestionComment}(aW),ly=function(e){function SurveyQuestionCommentItem(t){var o=e.call(this,t)||this;return o.textAreaModel=o.getTextAreaModel(),o}return lg(SurveyQuestionCommentItem,e),SurveyQuestionCommentItem.prototype.canRender=function(){return!!this.props.question},SurveyQuestionCommentItem.prototype.getTextAreaModel=function(){return this.props.question.commentTextAreaModel},SurveyQuestionCommentItem.prototype.renderElement=function(){if(this.props.question.isReadOnlyRenderDiv()){var e=this.textAreaModel.getTextValue()||"";return aL.createElement("div",null,e)}return aL.createElement(lm,{viewModel:this.textAreaModel})},SurveyQuestionCommentItem}(aH),lv=function(e){function SurveyQuestionOtherValueItem(){return null!==e&&e.apply(this,arguments)||this}return lg(SurveyQuestionOtherValueItem,e),SurveyQuestionOtherValueItem.prototype.getTextAreaModel=function(){return this.props.question.otherTextAreaModel},SurveyQuestionOtherValueItem}(ly);lc.Instance.registerQuestion("comment",function(e){return aL.createElement(lf,e)});var lb=(eH=function(e,t){return(eH=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eH(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lx=function(e){function SurveyCustomWidget(t){var o=e.call(this,t)||this;
8return o.widgetRef=aL.createRef(),o}return lb(SurveyCustomWidget,e),SurveyCustomWidget.prototype._afterRender=function(){if(this.questionBase.customWidget){var e=this.widgetRef.current;e&&(this.questionBase.customWidget.afterRender(this.questionBase,e),this.questionBase.customWidgetData.isNeedRender=!1)}},SurveyCustomWidget.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.questionBase&&this._afterRender()},SurveyCustomWidget.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o);var n=!!this.questionBase.customWidget&&this.questionBase.customWidget.isDefaultRender;this.questionBase&&!n&&this._afterRender()},SurveyCustomWidget.prototype.componentWillUnmount=function(){if(e.prototype.componentWillUnmount.call(this),this.questionBase.customWidget){var t=this.widgetRef.current;t&&this.questionBase.customWidget.willUnmount(this.questionBase,t)}},SurveyCustomWidget.prototype.canRender=function(){return e.prototype.canRender.call(this)&&this.questionBase.visible},SurveyCustomWidget.prototype.renderElement=function(){var e=this.questionBase.customWidget;if(e.isDefaultRender)return aL.createElement("div",{ref:this.widgetRef},this.creator.createQuestionElement(this.questionBase));var t=null;if(e.widgetJson.render)t=e.widgetJson.render(this.questionBase);else if(e.htmlTemplate){var o={__html:e.htmlTemplate};return aL.createElement("div",{ref:this.widgetRef,dangerouslySetInnerHTML:o})}return aL.createElement("div",{ref:this.widgetRef},t)},SurveyCustomWidget}(aU),lC=(eU=function(e,t){return(eU=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eU(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lw=function(e){function SurveyElementHeader(){return null!==e&&e.apply(this,arguments)||this}return lC(SurveyElementHeader,e),Object.defineProperty(SurveyElementHeader.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),SurveyElementHeader.prototype.render=function(){var e=this.element,t=e.hasTitle?aB.a.createElement(lu,{element:e}):null,o=e.hasDescriptionUnderTitle?az.renderQuestionDescription(this.element):null,n=e.hasAdditionalTitleToolbar?aB.a.createElement(ln,{model:e.additionalTitleToolbar}):null,r={width:void 0};return e instanceof nX&&(r.width=e.titleWidth),aB.a.createElement("div",{className:e.cssHeader,onClick:function(t){return e.clickTitleFunction&&e.clickTitleFunction(t.nativeEvent)},style:r},t,o,n)},SurveyElementHeader}(aB.a.Component),lP=(eW=function(e,t){return(eW=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eW(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l_=function(e){function SurveyQuestion(t){var o=e.call(this,t)||this;return o.isNeedFocus=!1,o.rootRef=aL.createRef(),o}return lP(SurveyQuestion,e),SurveyQuestion.renderQuestionBody=function(e,t){return t.customWidget?aL.createElement(lx,{creator:e,question:t}):e.createQuestionElement(t)},SurveyQuestion.prototype.getStateElement=function(){return this.question},Object.defineProperty(SurveyQuestion.prototype,"question",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestion.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),SurveyQuestion.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.question&&(this.question.react=this),this.doAfterRender()},SurveyQuestion.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question&&(this.question.react=null);var t=this.rootRef.current;t&&t.removeAttribute("data-rendered")},SurveyQuestion.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.doAfterRender()},SurveyQuestion.prototype.doAfterRender=function(){if(this.isNeedFocus&&(this.question.isCollapsed||this.question.clickTitleFunction(),this.isNeedFocus=!1),this.question){var e=this.rootRef.current;e&&"r"!==e.getAttribute("data-rendered")&&(e.setAttribute("data-rendered","r"),this.question.afterRender&&this.question.afterRender(e))}},SurveyQuestion.prototype.canRender=function(){return e.prototype.canRender.call(this)&&!!this.question&&!!this.creator},SurveyQuestion.prototype.renderQuestionContent=function(){var e=this.question,t={display:this.question.renderedIsExpanded?"":"none"}
8,o=e.cssClasses,n=this.renderQuestion(),r=this.question.showErrorOnTop?this.renderErrors(o,"top"):null,i=this.question.showErrorOnBottom?this.renderErrors(o,"bottom"):null,s=e&&e.hasComment?this.renderComment(o):null,a=e.hasDescriptionUnderInput?this.renderDescription():null;return aL.createElement("div",{className:e.cssContent||void 0,style:t,role:"presentation"},r,n,s,i,a)},SurveyQuestion.prototype.renderElement=function(){var e=this.question,t=e.cssClasses,o=this.renderHeader(e),n=e.hasTitleOnLeftTop?o:null,r=e.hasTitleOnBottom?o:null,i=this.question.showErrorsAboveQuestion?this.renderErrors(t,""):null,s=this.question.showErrorsBelowQuestion?this.renderErrors(t,""):null,a=e.getRootStyle(),l=this.wrapQuestionContent(this.renderQuestionContent());return aL.createElement(aL.Fragment,null,aL.createElement("div",{ref:this.rootRef,id:e.id,className:e.getRootCss(),style:a,role:e.ariaRole,"aria-required":this.question.ariaRequired,"aria-invalid":this.question.ariaInvalid,"aria-labelledby":e.ariaLabelledBy,"aria-describedby":e.ariaDescribedBy,"aria-expanded":e.ariaExpanded,"data-name":e.name},i,n,l,r,s))},SurveyQuestion.prototype.wrapElement=function(e){var t=this.question.survey,o=null;return t&&(o=aN.wrapElement(t,e,this.question)),null!=o?o:e},SurveyQuestion.prototype.wrapQuestionContent=function(e){var t=this.question.survey,o=null;return t&&(o=aN.wrapQuestionContent(t,e,this.question)),null!=o?o:e},SurveyQuestion.prototype.renderQuestion=function(){return SurveyQuestion.renderQuestionBody(this.creator,this.question)},SurveyQuestion.prototype.renderDescription=function(){return az.renderQuestionDescription(this.question)},SurveyQuestion.prototype.renderComment=function(e){var t=az.renderLocString(this.question.locCommentText);return aL.createElement("div",{className:this.question.getCommentAreaCss()},aL.createElement("div",null,t),aL.createElement(ly,{question:this.question,cssClasses:e,otherCss:e.other,isDisplayMode:this.question.isInputReadOnly}))},SurveyQuestion.prototype.renderHeader=function(e){return aL.createElement(lw,{element:e})},SurveyQuestion.prototype.renderErrors=function(e,t){return aL.createElement(lS,{element:this.question,cssClasses:e,creator:this.creator,location:t,id:this.question.id+"_errors"})},SurveyQuestion}(az);aq.Instance.registerElement("question",function(e){return aL.createElement(l_,e)});var lS=function(e){function SurveyElementErrors(t){var o=e.call(this,t)||this;return o.state=o.getState(),o}return lP(SurveyElementErrors,e),Object.defineProperty(SurveyElementErrors.prototype,"id",{get:function(){return this.props.element.id+"_errors"},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementErrors.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementErrors.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyElementErrors.prototype,"location",{get:function(){return this.props.location},enumerable:!1,configurable:!0}),SurveyElementErrors.prototype.getState=function(e){return void 0===e&&(e=null),e?{error:e.error+1}:{error:0}},SurveyElementErrors.prototype.canRender=function(){return!!this.element&&this.element.hasVisibleErrors},SurveyElementErrors.prototype.componentWillUnmount=function(){},SurveyElementErrors.prototype.renderElement=function(){for(var e=[],t=0;t<this.element.errors.length;t++){var o="error"+t;e.push(this.creator.renderError(o,this.element.errors[t],this.cssClasses,this.element))}return aL.createElement("div",{role:"alert","aria-live":"polite",className:this.element.cssError,id:this.id},e)},SurveyElementErrors}(aH),lM=function(e){function SurveyQuestionAndErrorsWrapped(t){return e.call(this,t)||this}return lP(SurveyQuestionAndErrorsWrapped,e),SurveyQuestionAndErrorsWrapped.prototype.getStateElement=function(){return this.question},Object.defineProperty(SurveyQuestionAndErrorsWrapped.prototype,"question",{get:function(){return this.getQuestion()},enumerable:!1,configurable:!0}
8),Object.defineProperty(SurveyQuestionAndErrorsWrapped.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),SurveyQuestionAndErrorsWrapped.prototype.getQuestion=function(){return this.props.question},Object.defineProperty(SurveyQuestionAndErrorsWrapped.prototype,"itemCss",{get:function(){return this.props.itemCss},enumerable:!1,configurable:!0}),SurveyQuestionAndErrorsWrapped.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.doAfterRender()},SurveyQuestionAndErrorsWrapped.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.doAfterRender()},SurveyQuestionAndErrorsWrapped.prototype.doAfterRender=function(){},SurveyQuestionAndErrorsWrapped.prototype.canRender=function(){return!!this.question},SurveyQuestionAndErrorsWrapped.prototype.renderContent=function(){var e=this.renderQuestion();return aL.createElement(aL.Fragment,null,e)},SurveyQuestionAndErrorsWrapped.prototype.getShowErrors=function(){return this.question.isVisible},SurveyQuestionAndErrorsWrapped.prototype.renderQuestion=function(){return l_.renderQuestionBody(this.creator,this.question)},SurveyQuestionAndErrorsWrapped}(aH),lE=function(e){function SurveyQuestionAndErrorsCell(t){var o=e.call(this,t)||this;return o.cellRef=aL.createRef(),o}return lP(SurveyQuestionAndErrorsCell,e),SurveyQuestionAndErrorsCell.prototype.componentWillUnmount=function(){if(e.prototype.componentWillUnmount.call(this),this.question){var t=this.cellRef.current;t&&t.removeAttribute("data-rendered")}},SurveyQuestionAndErrorsCell.prototype.renderCellContent=function(){return aL.createElement("div",{className:this.props.cell.cellQuestionWrapperClassName},this.renderQuestion())},SurveyQuestionAndErrorsCell.prototype.renderElement=function(){var e=this.getCellStyle(),t=this.props.cell;return aL.createElement("td",{ref:this.cellRef,className:this.itemCss,colSpan:t.colSpans,title:t.getTitle(),style:e,onFocus:function(){t.focusIn()}},this.wrapCell(this.props.cell,this.renderCellContent()))},SurveyQuestionAndErrorsCell.prototype.getCellStyle=function(){return null},SurveyQuestionAndErrorsCell.prototype.getHeaderText=function(){return""},SurveyQuestionAndErrorsCell.prototype.wrapCell=function(e,t){if(!e)return t;var o=this.question.survey,n=null;return o&&(n=aN.wrapMatrixCell(o,t,e,this.props.reason)),null!=n?n:t},SurveyQuestionAndErrorsCell}(lM),lT=function(e){function SurveyQuestionErrorCell(t){var o=e.call(this,t)||this;return o.state={changed:0},o.question&&o.registerCallback(o.question),o}return lP(SurveyQuestionErrorCell,e),Object.defineProperty(SurveyQuestionErrorCell.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),SurveyQuestionErrorCell.prototype.update=function(){this.setState({changed:this.state.changed+1})},SurveyQuestionErrorCell.prototype.getQuestionPropertiesToTrack=function(){return["errors"]},SurveyQuestionErrorCell.prototype.registerCallback=function(e){var t=this;e.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),function(){t.update()},"__reactSubscription")},SurveyQuestionErrorCell.prototype.unRegisterCallback=function(e){e.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),"__reactSubscription")},SurveyQuestionErrorCell.prototype.componentDidUpdate=function(e){e.question&&e.question!==this.question&&this.unRegisterCallback(e.cell),this.question&&this.registerCallback(this.question)},SurveyQuestionErrorCell.prototype.componentWillUnmount=function(){this.question&&this.unRegisterCallback(this.question)},SurveyQuestionErrorCell.prototype.render=function(){return aL.createElement(lS,{element:this.question,creator:this.props.creator,cssClasses:this.question.cssClasses})},SurveyQuestionErrorCell}(aL.Component),lV=(e$=function(e,t){return(e$=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e$(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lR=function(e){function SurveyPage(t){return e.call(this,t)||this}return lV(SurveyPage,e),SurveyPage.prototype.getPanelBase=function(){return this.props.page},Object.defineProperty(SurveyPage.prototype,"page",{get:function(){return this.panelBase}
8,enumerable:!1,configurable:!0}),SurveyPage.prototype.renderElement=function(){var e=this.renderTitle(),t=this.renderDescription(),o=this.renderRows(this.panelBase.cssClasses),n=aL.createElement(lS,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator});return aL.createElement("div",{ref:this.rootRef,className:this.page.cssRoot},e,t,n,o)},SurveyPage.prototype.renderTitle=function(){return aL.createElement(lu,{element:this.page})},SurveyPage.prototype.renderDescription=function(){if(!this.page._showDescription)return null;var e=az.renderLocString(this.page.locDescription);return aL.createElement("div",{className:this.panelBase.cssClasses.page.description},e)},SurveyPage}(aY),lk=(eJ=function(e,t){return(eJ=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eJ(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lI=function(e){function SurveyHeader(t){var o=e.call(this,t)||this;return o.state={changed:0},o.rootRef=aB.a.createRef(),o}return lk(SurveyHeader,e),Object.defineProperty(SurveyHeader.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyHeader.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),SurveyHeader.prototype.componentDidMount=function(){var e=this;this.survey.afterRenderHeader(this.rootRef.current),this.survey.locLogo.onChanged=function(){e.setState({changed:e.state.changed+1})}},SurveyHeader.prototype.componentWillUnmount=function(){this.survey.locLogo.onChanged=function(){}},SurveyHeader.prototype.renderTitle=function(){if(!this.survey.renderedHasTitle)return null;var e=az.renderLocString(this.survey.locDescription);return aB.a.createElement("div",{className:this.css.headerText,style:{maxWidth:this.survey.titleMaxWidth}},aB.a.createElement(lu,{element:this.survey}),this.survey.renderedHasDescription?aB.a.createElement("div",{className:this.css.description},e):null)},SurveyHeader.prototype.renderLogoImage=function(e){if(!e)return null;var t=this.survey.getElementWrapperComponentName(this.survey,"logo-image"),o=this.survey.getElementWrapperComponentData(this.survey,"logo-image");return aq.Instance.createElement(t,{data:o})},SurveyHeader.prototype.render=function(){return this.survey.renderedHasHeader?aB.a.createElement("div",{className:this.css.header,ref:this.rootRef},this.renderLogoImage(this.survey.isLogoBefore),this.renderTitle(),this.renderLogoImage(this.survey.isLogoAfter),aB.a.createElement("div",{className:this.css.headerClose})):null},SurveyHeader}(aB.a.Component);aq.Instance.registerElement("survey-header",function(e){return aB.a.createElement(lI,e)});var lO=(eG=function(e,t){return(eG=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eG(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lD=function(e){function BrandInfo(){return null!==e&&e.apply(this,arguments)||this}return lO(BrandInfo,e),BrandInfo.prototype.render=function(){return aB.a.createElement("div",{className:"sv-brand-info"},aB.a.createElement("a",{className:"sv-brand-info__logo",href:"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"},aB.a.createElement("img",{src:"https://surveyjs.io/Content/Images/poweredby.svg"})),aB.a.createElement("div",{className:"sv-brand-info__text"},"Try and see how easy it is to ",aB.a.createElement("a",{href:"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey"},"create a survey")),aB.a.createElement("div",{className:"sv-brand-info__terms"},aB.a.createElement("a",{href:"https://surveyjs.io/TermsOfUse"},"Terms of Use & Privacy Statement")))},BrandInfo}
8(aB.a.Component),lA=(eK=function(e,t){return(eK=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eK(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lQ=function(e){function NotifierComponent(){return null!==e&&e.apply(this,arguments)||this}return lA(NotifierComponent,e),Object.defineProperty(NotifierComponent.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),NotifierComponent.prototype.getStateElement=function(){return this.notifier},NotifierComponent.prototype.renderElement=function(){if(!this.notifier.isDisplayed)return null;var e={visibility:this.notifier.active?"visible":"hidden"};return aB.a.createElement("div",{className:this.notifier.css,style:e,role:"alert","aria-live":"polite"},aB.a.createElement("span",null,this.notifier.message),aB.a.createElement(ln,{model:this.notifier.actionBar}))},NotifierComponent}(az);aq.Instance.registerElement("sv-notifier",function(e){return aB.a.createElement(lQ,e)});var lj=(eZ=function(e,t){return(eZ=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eZ(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lL=function(e){function ComponentsContainer(){return null!==e&&e.apply(this,arguments)||this}return lj(ComponentsContainer,e),ComponentsContainer.prototype.render=function(){var e=this,t=this.props.survey.getContainerContent(this.props.container),o=!1!==this.props.needRenderWrapper;return 0==t.length?null:o?aB.a.createElement("div",{className:"sv-components-column sv-components-container-"+this.props.container},t.map(function(t){return aq.Instance.createElement(t.component,{survey:e.props.survey,model:t.data,container:e.props.container,key:t.id})})):aB.a.createElement(aB.a.Fragment,null,t.map(function(t){return aq.Instance.createElement(t.component,{survey:e.props.survey,model:t.data,container:e.props.container,key:t.id})}))},ComponentsContainer}(aB.a.Component);aq.Instance.registerElement("sv-components-container",function(e){return aB.a.createElement(lL,e)});var lB=(eY=function(e,t){return(eY=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eY(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lq=function(e){function SvgBundleComponent(t){var o=e.call(this,t)||this;return o.onIconsChanged=function(){o.containerRef.current&&(o.containerRef.current.innerHTML=aS.iconsRenderedHtml())},o.containerRef=aB.a.createRef(),o}return lB(SvgBundleComponent,e),SvgBundleComponent.prototype.componentDidMount=function(){this.onIconsChanged(),aS.onIconsChanged.add(this.onIconsChanged)},SvgBundleComponent.prototype.componentWillUnmount=function(){aS.onIconsChanged.remove(this.onIconsChanged)},SvgBundleComponent.prototype.render=function(){return aB.a.createElement("svg",{style:{display:"none"},id:"sv-icon-holder-global-container",ref:this.containerRef})},SvgBundleComponent}(aB.a.Component),lN=o("react-dom"),lF=(eX=function(e,t){return(eX=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}eX(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lz=function(e){function PopupModal(t){var o=e.call(this,t)||this;return o.isInitialized=!1,o.init=function(){o.isInitialized||(nC.showModal=function(e,t,n,r,i,s,a){void 0===a&&(a="popup");var l=createDialogOptions(e,t,n,r,void 0,void 0,i,s,a);return o.showDialog(l)},nC.showDialog=function(e,t){return o.showDialog(e,t)},o.isInitialized=!0)},o.clean=function(){o.isInitialized&&(nC.showModal=void 0,nC.showDialog=void 0,o.isInitialized=!1)},o.state={changed:0},o.descriptor={init:o.init,clean:o.clean},o}return lF(PopupModal,e),PopupModal.addModalDescriptor=function(e){nC.showModal||e.init(
8),this.modalDescriptors.push(e)},PopupModal.removeModalDescriptor=function(e){e.clean(),this.modalDescriptors.splice(this.modalDescriptors.indexOf(e),1),!nC.showModal&&this.modalDescriptors[0]&&this.modalDescriptors[0].init()},PopupModal.prototype.renderElement=function(){return this.model?Object(lN.createPortal)(aB.a.createElement(a6,{model:this.model}),this.model.container):null},PopupModal.prototype.showDialog=function(e,t){var o=this;return this.model=createPopupModalViewModel(e,t),this.model.onVisibilityChanged.add(function(e,t){t.isVisible||(o.model.dispose(),o.model=void 0,o.setState({changed:o.state.changed+1}))}),this.model.model.isVisible=!0,this.setState({changed:this.state.changed+1}),this.model},PopupModal.prototype.componentDidMount=function(){PopupModal.addModalDescriptor(this.descriptor)},PopupModal.prototype.componentWillUnmount=function(){this.model&&(this.model.dispose(),this.model=void 0),PopupModal.removeModalDescriptor(this.descriptor)},PopupModal.modalDescriptors=[],PopupModal}(az),lH=o("./packages/survey-core/src/images-v1 sync recursive \\.svg$"),lU={};lH.keys().forEach(function(e){lU[e.substring(2,e.length-4).toLowerCase()]=lH(e)});var lW=o("./packages/survey-core/src/images-v2 sync recursive \\.svg$"),l$={};lW.keys().forEach(function(e){l$[e.substring(2,e.length-4).toLowerCase()]=lW(e)});var lJ=(e1=function(e,t){return(e1=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e1(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),reactSurvey_assign=function(){return(reactSurvey_assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};addIconsToThemeSet("v1",lU),addIconsToThemeSet("v2",l$),aS.registerIcons(lU);var lG=function(e){function Survey(t){var o=e.call(this,t)||this;return o.previousJSON={},o.isSurveyUpdated=!1,o.createSurvey(t),o.updateSurvey(t,{}),o.rootRef=aL.createRef(),o.rootNodeId=t.id||null,o.rootNodeClassName=t.className||"",o}return lJ(Survey,e),Object.defineProperty(Survey,"cssType",{get:function(){return rK.currentType},set:function(e){aC.applyTheme(e)},enumerable:!1,configurable:!0}),Survey.prototype.getStateElement=function(){return this.survey},Survey.prototype.onSurveyUpdated=function(){if(this.survey){var e=this.rootRef.current;e&&this.survey.afterRenderSurvey(e),this.survey.startTimerFromUI(),this.setSurveyEvents()}},Survey.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&(this.isModelJSONChanged(t)&&(this.destroySurvey(),this.createSurvey(t),this.updateSurvey(t,{}),this.isSurveyUpdated=!0),!0)},Survey.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.updateSurvey(this.props,t),this.isSurveyUpdated&&(this.onSurveyUpdated(),this.isSurveyUpdated=!1)},Survey.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.onSurveyUpdated()},Survey.prototype.destroySurvey=function(){this.survey&&(this.survey.renderCallback=void 0,this.survey.onPartialSend.clear(),this.survey.stopTimer(),this.survey.destroyResizeObserver())},Survey.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.destroySurvey()},Survey.prototype.doRender=function(){e="completed"==this.survey.state?this.renderCompleted():"completedbefore"==this.survey.state?this.renderCompletedBefore():"loading"==this.survey.state?this.renderLoading():"empty"==this.survey.state?this.renderEmptySurvey():this.renderSurvey();var e,t=this.survey.backgroundImage?aL.createElement("div",{className:this.css.rootBackgroundImage,style:this.survey.backgroundImageStyle}):null,o="basic"===this.survey.headerView?aL.createElement(lI,{survey:this.survey}):null,n=aL.createElement("div",{className:"sv_custom_header"});this.survey.hasLogo&&(n=null);var r=this.survey.getRootCss(),i=this.rootNodeClassName?this.rootNodeClassName+" "+r:r;return aL.createElement("div",{id:this.rootNodeId,ref:this.rootRef,className:i,style:this.survey.themeVariables,lang:this.survey.locale||"en",dir:this.survey.localeDir},this.survey.needRenderIcons?aL.createElement(lq,null):null,aL.createElement(lz,null),aL.
8createElement("div",{className:this.survey.wrapperFormCss},t,aL.createElement("form",{onSubmit:function(e){e.preventDefault()}},n,aL.createElement("div",{className:this.css.container},o,aL.createElement(lL,{survey:this.survey,container:"header",needRenderWrapper:!1}),e,aL.createElement(lL,{survey:this.survey,container:"footer",needRenderWrapper:!1}))),aL.createElement(lQ,{notifier:this.survey.notifier})))},Survey.prototype.renderElement=function(){return this.doRender()},Object.defineProperty(Survey.prototype,"css",{get:function(){return this.survey.css},set:function(e){this.survey.css=e},enumerable:!1,configurable:!0}),Survey.prototype.renderCompleted=function(){if(!this.survey.showCompletedPage)return null;var e={__html:this.survey.processedCompletedHtml};return aL.createElement(aL.Fragment,null,aL.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.completedCss}),aL.createElement(lL,{survey:this.survey,container:"completePage",needRenderWrapper:!1}))},Survey.prototype.renderCompletedBefore=function(){var e={__html:this.survey.processedCompletedBeforeHtml};return aL.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.completedBeforeCss})},Survey.prototype.renderLoading=function(){var e={__html:this.survey.processedLoadingHtml};return aL.createElement("div",{dangerouslySetInnerHTML:e,className:this.survey.loadingBodyCss})},Survey.prototype.renderSurvey=function(){var e=this.survey.activePage?this.renderPage(this.survey.activePage):null;this.survey.isShowStartingPage;var t=this.survey.activePage?this.survey.activePage.id:"",o=this.survey.bodyCss,n={};return this.survey.renderedWidth&&(n.maxWidth=this.survey.renderedWidth),aL.createElement("div",{className:this.survey.bodyContainerCss},aL.createElement(lL,{survey:this.survey,container:"left"}),aL.createElement("div",{className:"sv-components-column sv-components-column--expandable"},aL.createElement(lL,{survey:this.survey,container:"center"}),aL.createElement("div",{id:t,className:o,style:n},aL.createElement(lL,{survey:this.survey,container:"contentTop"}),e,aL.createElement(lL,{survey:this.survey,container:"contentBottom"}),this.survey.showBrandInfo?aL.createElement(lD,null):null)),aL.createElement(lL,{survey:this.survey,container:"right"}))},Survey.prototype.renderPage=function(e){return aL.createElement(lR,{survey:this.survey,page:e,css:this.css,creator:this})},Survey.prototype.renderEmptySurvey=function(){return aL.createElement("div",{className:this.css.bodyEmpty},this.survey.emptySurveyText)},Survey.prototype.createSurvey=function(e){e||(e={}),this.previousJSON={},e?e.model?this.survey=e.model:e.json&&(this.previousJSON=e.json,this.survey=new iv(e.json)):this.survey=new iv,e.css&&(this.survey.css=this.css)},Survey.prototype.isModelJSONChanged=function(e){return e.model?this.survey!==e.model:!!e.json&&!oe.isTwoValueEquals(e.json,this.previousJSON)},Survey.prototype.updateSurvey=function(e,t){if(e){for(var o in t=t||{},e)if("model"!=o&&"children"!=o&&"json"!=o){if("css"==o){this.survey.mergeValues(e.css,this.survey.getCss()),this.survey.updateNavigationCss(),this.survey.updateElementCss();continue}e[o]!==t[o]&&(0==o.indexOf("on")&&this.survey[o]&&this.survey[o].add?(t[o]&&this.survey[o].remove(t[o]),this.survey[o].add(e[o])):this.survey[o]=e[o])}}},Survey.prototype.setSurveyEvents=function(){var e=this;this.survey.renderCallback=function(){var t=e.state&&e.state.modelChanged?e.state.modelChanged:0;e.setState({modelChanged:t+1})},this.survey.onPartialSend.add(function(t){e.state&&e.setState(e.state)})},Survey.prototype.createQuestionElement=function(e){return lc.Instance.createQuestion(e.isDefaultRendering()?e.getTemplate():e.getComponentName(),{question:e,isDisplayMode:e.isInputReadOnly,creator:this})},Survey.prototype.renderError=function(e,t,o,n){return aq.Instance.createElement(this.survey.questionErrorComponent,{key:e,error:t,cssClasses:o,element:n})},Survey.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},Survey.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},Survey}(az);function attachKey2click(e,t,o){return(void 0===o&&(o={processEsc:!0,disableTabStop:!1}),t&&t.disableTabStop||o&&o.disableTabStop)?aL.cloneElement(e,{tabIndex:-1}):(o=reactSurvey_assign({},o),aL.cloneElement(e,{tabIndex:0,onKeyUp:function(e){return e.preventDefault(),e.stopPropagation(),doKey2ClickUp(e,o),!1},onKeyDown:function(e){return doKey2ClickDown(e,o)},onBlur:function(e){return doKey2ClickBlur(e)}}))}aq.Instance.registerElement("survey",function(e){return aL.createElement(lG,e)});
8var lK=(e0=function(e,t){return(e0=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e0(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lZ=function(e){function SurveyNavigationBase(t){var o=e.call(this,t)||this;return o.updateStateFunction=null,o.state={update:0},o}return lK(SurveyNavigationBase,e),Object.defineProperty(SurveyNavigationBase.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyNavigationBase.prototype,"css",{get:function(){return this.props.css||this.survey.css},enumerable:!1,configurable:!0}),SurveyNavigationBase.prototype.componentDidMount=function(){if(this.survey){var e=this;this.updateStateFunction=function(){e.setState({update:e.state.update+1})},this.survey.onPageVisibleChanged.add(this.updateStateFunction)}},SurveyNavigationBase.prototype.componentWillUnmount=function(){this.survey&&this.updateStateFunction&&(this.survey.onPageVisibleChanged.remove(this.updateStateFunction),this.updateStateFunction=null)},SurveyNavigationBase}(aL.Component),lY=(e2=function(e,t){return(e2=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e2(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),lX=function(e){function SurveyTimerPanel(t){var o=e.call(this,t)||this;return o.circleLength=440,o}return lY(SurveyTimerPanel,e),SurveyTimerPanel.prototype.getStateElement=function(){return this.timerModel},Object.defineProperty(SurveyTimerPanel.prototype,"timerModel",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyTimerPanel.prototype,"progress",{get:function(){return-this.timerModel.progress*this.circleLength},enumerable:!1,configurable:!0}),SurveyTimerPanel.prototype.render=function(){if(!this.timerModel.isRunning)return null;var e=aL.createElement("div",{className:this.timerModel.survey.getCss().timerRoot},this.timerModel.text);if(this.timerModel.showTimerAsClock){var t={strokeDasharray:this.circleLength,strokeDashoffset:this.progress},o=this.timerModel.showProgress?aL.createElement(a1,{className:this.timerModel.getProgressCss(),style:t,iconName:"icon-timercircle",size:"auto"}):null;e=aL.createElement("div",{className:this.timerModel.rootCss},o,aL.createElement("div",{className:this.timerModel.textContainerCss},aL.createElement("span",{className:this.timerModel.majorTextCss},this.timerModel.clockMajorText),this.timerModel.clockMinorText?aL.createElement("span",{className:this.timerModel.minorTextCss},this.timerModel.clockMinorText):null))}return e},SurveyTimerPanel}(aH);aq.Instance.registerElement("sv-timerpanel",function(e){return aL.createElement(lX,e)});var l1=(e5=function(e,t){return(e5=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e5(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l0=function(e){function SurveyPanel(t){var o=e.call(this,t)||this;return o.hasBeenExpanded=!1,o}return l1(SurveyPanel,e),Object.defineProperty(SurveyPanel.prototype,"panel",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),SurveyPanel.prototype.renderElement=function(){var e=this,t=this.renderHeader(),o=aL.createElement(lS,{element:this.panelBase,cssClasse
8s:this.panelBase.cssClasses,creator:this.creator}),n={paddingLeft:this.panel.innerPaddingLeft,display:this.panel.renderedIsExpanded?void 0:"none"},r=null;if(this.panel.renderedIsExpanded){var i=this.renderRows(this.panelBase.cssClasses),s=this.panelBase.cssClasses.panel.content;r=this.renderContent(n,i,s)}return aL.createElement("div",{ref:this.rootRef,className:this.panelBase.getContainerCss(),onFocus:function(){e.panelBase&&e.panelBase.focusIn()},id:this.panelBase.id},this.panel.showErrorsAbovePanel?o:null,t,this.panel.showErrorsAbovePanel?null:o,r)},SurveyPanel.prototype.renderHeader=function(){return this.panel.hasTitle||this.panel.hasDescription?aL.createElement(lw,{element:this.panel}):null},SurveyPanel.prototype.wrapElement=function(e){var t=this.panel.survey,o=null;return t&&(o=aN.wrapElement(t,e,this.panel)),null!=o?o:e},SurveyPanel.prototype.renderContent=function(e,t,o){var n=this.renderBottom();return aL.createElement("div",{style:e,className:o,id:this.panel.contentId},t,n)},SurveyPanel.prototype.renderTitle=function(){return this.panelBase.title?aL.createElement(lu,{element:this.panelBase}):null},SurveyPanel.prototype.renderDescription=function(){if(!this.panelBase.description)return null;var e=az.renderLocString(this.panelBase.locDescription);return aL.createElement("div",{className:this.panel.cssClasses.panel.description},e)},SurveyPanel.prototype.renderBottom=function(){var e=this.panel.getFooterToolbar();return e.hasActions?aL.createElement(ln,{model:e}):null},SurveyPanel.prototype.getIsVisible=function(){return this.panelBase.getIsContentVisible()},SurveyPanel}(aY);aq.Instance.registerElement("panel",function(e){return aL.createElement(l0,e)});var l2=(e7=function(e,t){return(e7=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e7(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l5=function(e){function SurveyFlowPanel(t){return e.call(this,t)||this}return l2(SurveyFlowPanel,e),Object.defineProperty(SurveyFlowPanel.prototype,"flowPanel",{get:function(){return this.panel},enumerable:!1,configurable:!0}),SurveyFlowPanel.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=function(){return""},this.flowPanel.onGetHtmlForQuestion=this.renderQuestion)},SurveyFlowPanel.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=null,this.flowPanel.onGetHtmlForQuestion=null)},SurveyFlowPanel.prototype.getQuestion=function(e){return this.flowPanel.getQuestionByName(e)},SurveyFlowPanel.prototype.renderQuestion=function(e){return"<question>"+e.name+"</question>"},SurveyFlowPanel.prototype.renderRows=function(){var e=this.renderHtml();return e?[e]:[]},SurveyFlowPanel.prototype.getNodeIndex=function(){return this.renderedIndex++},SurveyFlowPanel.prototype.renderHtml=function(){if(!this.flowPanel)return null;var e="<span>"+this.flowPanel.produceHtml()+"</span>";if(!DOMParser)return aL.createElement("div",{dangerouslySetInnerHTML:{__html:e}});var t=new DOMParser().parseFromString(e,"text/xml");return this.renderedIndex=0,this.renderParentNode(t)},SurveyFlowPanel.prototype.renderNodes=function(e){for(var t=[],o=0;o<e.length;o++){var n=this.renderNode(e[o]);n&&t.push(n)}return t},SurveyFlowPanel.prototype.getStyle=function(e){var t={};return"b"===e.toLowerCase()&&(t.fontWeight="bold"),"i"===e.toLowerCase()&&(t.fontStyle="italic"),"u"===e.toLowerCase()&&(t.textDecoration="underline"),t},SurveyFlowPanel.prototype.renderParentNode=function(e){var t=e.nodeName.toLowerCase(),o=this.renderNodes(this.getChildDomNodes(e));return"div"===t?aL.createElement("div",{key:this.getNodeIndex()},o):aL.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(t)},o)},SurveyFlowPanel.prototype.renderNode=function(e){if(!this.hasTextChildNodesOnly(e))return this.renderParentNode(e);var t=e.nodeName.toLowerCase();if("question"===t){var o=this.flowPanel.getQuestionByName(e.textContent);if(!o)return null;var n=aL.createElement(l_,{key:o.name,element:o,creator:this.creator,css:this.css});return aL.createElement("span",{key:this.getNodeIndex()},n)}return"div"===t?aL.createElement("div",{key:this.getNodeIndex()},e.textContent):aL.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(t)},e.textContent)},SurveyFlowPanel.prototype.getChildDomNodes=function(e){for(var t=[],o=0;o<e.childNodes.length;o++)t.push(e.childNodes[o]);return t},SurveyFlowPanel.prototype.hasTextChildNodesOnly=function(e){for(var t=e.childNodes,o=0;o<t.length;o++)if("#text"!==t[o].nodeName.toLowerCase())return!1;return!0},SurveyFlowPanel.prototype.renderContent=function(e,t){return aL.createElement("f-panel",{style:e},t)},SurveyFlowPanel}(l0);aq.Instance.registerElement("flowpanel",function(e){return aL.createElement(l5,e)});var l7=(e4=function(e,t){return(e4=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e4(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l4=function(e){function SurveyQuestionCheckbox(t){return e.call(this,t)||this}return l7(SurveyQuestionCheckbox,e),Object.defineProperty(SurveyQuestionCheckbox.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionCheckbox.prototype.renderElement=function(){var e=this,t=this.question.cssClasses;return aL.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(t){return e.setControl(t)},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},aL.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.getHeader(),this.question.hasColumns?this.getColumnedBody(t):this.getBody(t),this.getFooter(),this.question.isOtherSelected?this.renderOther():null)},SurveyQuestionCheckbox.prototype.getHeader=function(){var e=this;if(this.question.hasHeadItems)return this.question.headItems.map(function(t,o){return e.renderItem(t,!1,e.question.cssClasses)})},SurveyQuestionCheckbox.prototype.getFooter=function(){var e=this;if(this.question.hasFootItems)return this.question.footItems.map(function(t,o){return e.renderItem(t,!1,e.question.cssClasses)})},SurveyQuestionCheckbox.prototype.getColumnedBody=function(e){return aL.createElement("div",{className:e.rootMultiColumn},this.getColumns(e))},SurveyQuestionCheckbox.prototype.getColumns=function(e){var t=this;return this.question.columns.map(function(o,n){var r=o.map(function(o,r){return t.renderItem(o,0===n&&0===r,e,""+n+r)});return aL.createElement("div",{key:"column"+n+t.question.getItemsColumnKey(o),className:t.question.getColumnClass(),role:"presentation"},r)})},SurveyQuestionCheckbox.prototype.getBody=function(e){return this.question.blockedRow?aL.createElement("div",{className:e.rootRow},this.getItems(e,this.question.dataChoices)):aL.createElement(aL.Fragment,null,this.getItems(e,this.question.bodyItems))},SurveyQuestionCheckbox.prototype.getItems=function(e,t){for(var o=[],n=0;n<t.length;n++){var r=t[n];r.value;var i=this.renderItem(r,0==n,e,""+n);i&&o.push(i)}return o},Object.defineProperty(SurveyQuestionCheckbox.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),SurveyQuestionCheckbox.prototype.renderOther=function(){var e=this.question.cssClasses;return aL.createElement("div",{className:this.question.getCommentAreaCss(!0)},aL.createElement(lv,{question:this.question,otherCss:e.other,cssClasses:e,isDisplayMode:this.isDisplayMode}))},SurveyQuestionCheckbox.prototype.renderItem=function(e,t,o,n){var r=aq.Instance.createElement(this.question.itemComponent,{key:e.value,question:this.question,cssClasses:o,isDisplayMode:this.isDisplayMode,item:e,textStyle:this.textStyle,index:n,isFirst:t}),i=this.question.survey,s=null;return i&&r&&(s=aN.wrapItemValue(i,r,this.question,e)),null!=s?s:r},SurveyQuestionCheckbox}(aU),l3=function(e){function SurveyQuestionCheckboxItem(t){var o=e.call(this,t)||this;return o.handleOnChange=function(e){o.question.clickItemHandler(o.item,e.target.checked)},o.rootRef=aL.createRef(),o}return l7(SurveyQuestionCheckboxItem,e),SurveyQuestionCheckboxItem.prototype.getStateElement=function(){return this.item},Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"item",{get:function(){return this.props.item}
8,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"isFirst",{get:function(){return this.props.isFirst},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"hideCaption",{get:function(){return!0===this.props.hideCaption},enumerable:!1,configurable:!0}),SurveyQuestionCheckboxItem.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),t.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),t.item&&t.item.setRootElement(void 0))},SurveyQuestionCheckboxItem.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&(!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render)},SurveyQuestionCheckboxItem.prototype.canRender=function(){return!!this.item&&!!this.question},SurveyQuestionCheckboxItem.prototype.renderElement=function(){var e=this.question.isItemSelected(this.item);return this.renderCheckbox(e,null)},Object.defineProperty(SurveyQuestionCheckboxItem.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),SurveyQuestionCheckboxItem.prototype.renderCheckbox=function(e,t){var o=this.question.getItemId(this.item),n=this.question.getItemClass(this.item),r=this.question.getLabelClass(this.item),i=this.hideCaption?null:aL.createElement("span",{className:this.cssClasses.controlLabel},this.renderLocString(this.item.locText,this.textStyle));return aL.createElement("div",{className:n,role:"presentation",ref:this.rootRef},aL.createElement("label",{className:r},aL.createElement("input",{className:this.cssClasses.itemControl,type:"checkbox",name:this.question.name+this.item.id,value:this.item.value,id:o,style:this.inputStyle,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,checked:e,onChange:this.handleOnChange,required:this.question.hasRequiredError()}),this.cssClasses.materialDecorator?aL.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?aL.createElement("svg",{className:this.cssClasses.itemDecorator},aL.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,i),t)},SurveyQuestionCheckboxItem.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},SurveyQuestionCheckboxItem.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},SurveyQuestionCheckboxItem}(aH);aq.Instance.registerElement("survey-checkbox-item",function(e){return aL.createElement(l3,e)}),lc.Instance.registerQuestion("checkbox",function(e){return aL.createElement(l4,e)});var l9=(e3=function(e,t){return(e3=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e3(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),l6=function(e){function SurveyQuestionRanking(){return null!==e&&e.apply(this,arguments)||this}return l9(SurveyQuestionRanking,e),Object.defineProperty(SurveyQuestionRanking.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionRanking.prototype.renderElement=function(){var e=this;return this.question.selectToRankEnabled?aL.createElement("div",{className:this.question.rootClass,ref:function(t){return e.setControl(t)}},aL.createElement("div",{className:this.question.getContainerClasses("from"),"data-ranking":"from-container"},this.getItems(this.question.renderedUnRankingChoices,!0),0===this.question.renderedUnRankingChoices.length?aL.createElement("div",{className:this.question.cssClasse
8s.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)," "):null),aL.createElement("div",{className:this.question.cssClasses.containersDivider}),aL.createElement("div",{className:this.question.getContainerClasses("to"),"data-ranking":"to-container"},this.getItems(),0===this.question.renderedRankingChoices.length?aL.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)," "):null)):aL.createElement("div",{className:this.question.rootClass,ref:function(t){return e.setControl(t)}},this.getItems())},SurveyQuestionRanking.prototype.getItems=function(e,t){var o=this;void 0===e&&(e=this.question.renderedRankingChoices);for(var n=[],r=this,i=0;i<e.length;i++)!function(i){var s=e[i];n.push(r.renderItem(s,i,function(e){o.question.handleKeydown.call(o.question,e,s)},function(e){e.persist(),o.question.handlePointerDown.call(o.question,e,s,e.currentTarget)},function(e){e.persist(),o.question.handlePointerUp.call(o.question,e,s,e.currentTarget)},r.question.cssClasses,r.question.getItemClass(s),r.question,t))}(i);return n},SurveyQuestionRanking.prototype.renderItem=function(e,t,o,n,r,i,s,a,l){e.renderedId;var u=this.renderLocString(e.locText),c=this.question.getNumberByIndex(t),p=this.question.getItemTabIndex(e),d=aL.createElement(l8,{key:e.value,text:u,index:t,indexText:c,itemTabIndex:p,handleKeydown:o,handlePointerDown:n,handlePointerUp:r,cssClasses:i,itemClass:s,question:a,unrankedItem:l,item:e}),h=this.question.survey,m=null;return h&&(m=aN.wrapItemValue(h,d,this.question,e)),null!=m?m:d},SurveyQuestionRanking}(aU),l8=function(e){function SurveyQuestionRankingItem(){return null!==e&&e.apply(this,arguments)||this}return l9(SurveyQuestionRankingItem,e),Object.defineProperty(SurveyQuestionRankingItem.prototype,"text",{get:function(){return this.props.text},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"indexText",{get:function(){return this.props.indexText},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"handleKeydown",{get:function(){return this.props.handleKeydown},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"handlePointerDown",{get:function(){return this.props.handlePointerDown},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"handlePointerUp",{get:function(){return this.props.handlePointerUp},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"itemClass",{get:function(){return this.props.itemClass},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"itemTabIndex",{get:function(){return this.props.itemTabIndex},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"unrankedItem",{get:function(){return this.props.unrankedItem},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyQuestionRankingItem.prototype.renderEmptyIcon=function(){return aL.createElement("svg",null,aL.createElement("use",{xlinkHref:this.question.dashSvgIcon}))},SurveyQuestionRankingItem.prototype.renderElement=function(){var e=aq.Instance.createElement(this.question.itemComponent,{item:this.item,cssClasses:this.cssClasses});return aL.createElement("div",{id:this.question.getItemId(this.item),tabIndex:this.itemTabIndex,className:this.itemClass,onKeyDown:this.handleKeydown,onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,"data-sv-drop-target-ranking-item":this.index},aL.createElement("div",{tabIndex:-1,style:{outline:"none"}}
8,aL.createElement("div",{className:this.cssClasses.itemGhostNode}),aL.createElement("div",{className:this.cssClasses.itemContent},aL.createElement("div",{className:this.cssClasses.itemIconContainer},aL.createElement("svg",{className:this.question.getIconHoverCss()},aL.createElement("use",{xlinkHref:this.question.dragDropSvgIcon})),aL.createElement("svg",{className:this.question.getIconFocusCss()},aL.createElement("use",{xlinkHref:this.question.arrowsSvgIcon}))),aL.createElement("div",{className:this.question.getItemIndexClasses(this.item)},!this.unrankedItem&&this.indexText?this.indexText:this.renderEmptyIcon()),e)))},SurveyQuestionRankingItem}(aH),ue=function(e){function SurveyQuestionRankingItemContent(){return null!==e&&e.apply(this,arguments)||this}return l9(SurveyQuestionRankingItemContent,e),Object.defineProperty(SurveyQuestionRankingItemContent.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRankingItemContent.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),SurveyQuestionRankingItemContent.prototype.renderElement=function(){return aL.createElement("div",{className:this.cssClasses.controlLabel},az.renderLocString(this.item.locText))},SurveyQuestionRankingItemContent}(aH);aq.Instance.registerElement("sv-ranking-item",function(e){return aL.createElement(ue,e)}),lc.Instance.registerQuestion("ranking",function(e){return aL.createElement(l6,e)});var ut=(e9=function(e,t){return(e9=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e9(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uo=function(e){function RatingItemBase(t){var o=e.call(this,t)||this;return o.handleOnMouseDown=o.handleOnMouseDown.bind(o),o}return ut(RatingItemBase,e),Object.defineProperty(RatingItemBase.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(RatingItemBase.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(RatingItemBase.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),RatingItemBase.prototype.getStateElement=function(){return this.item},RatingItemBase.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},RatingItemBase}(az),un=function(e){function RatingItem(){return null!==e&&e.apply(this,arguments)||this}return ut(RatingItem,e),RatingItem.prototype.render=function(){var e=this.renderLocString(this.item.locText);return aB.a.createElement("label",{onMouseDown:this.handleOnMouseDown,className:this.question.getItemClassByText(this.item.itemValue,this.item.text)},aB.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),aB.a.createElement("span",{className:this.question.cssClasses.itemText,"data-text":this.item.text},e))},RatingItem.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this)},RatingItem}(uo);aq.Instance.registerElement("sv-rating-item",function(e){return aB.a.createElement(un,e)});var ur=(e6=function(e,t){return(e6=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e6(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ui=function(e){function RatingItemStar(){return null!==e&&e.apply(this,arguments)||this}return ur(RatingItemStar,e),RatingItemStar.prototype.render=function(){var e=this;return aB.a.createElement("label",{onMouseDown:this.handleOnMouseDown,className:this.question.getItemClass(this.item.itemValue),onMouseOver:function(t){return e.question.onItemMouseIn(e.item)},onMouseOut:function(t){return e.question.onItemMouseOut(e.item)}},aB.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),aB.a.createElement(a1,{className:"sv-star",size:"auto",iconName:this.question.itemStarIcon,title:this.item.text}),aB.a.createElement(a1,{className:"sv-star-2",size:"auto",iconName:this.question.itemStarIconAlt,title:this.item.text}))},RatingItemStar}(uo);aq.Instance.registerElement("sv-rating-item-star",function(e){return aB.a.createElement(ui,e)});var us=(e8=function(e,t){return(e8=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}e8(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ua=function(e){function RatingItemSmiley(){return null!==e&&e.apply(this,arguments)||this}return us(RatingItemSmiley,e),RatingItemSmiley.prototype.render=function(){var e=this;return aB.a.createElement("label",{onMouseDown:this.handleOnMouseDown,style:this.question.getItemStyle(this.item.itemValue,this.item.highlight),className:this.question.getItemClass(this.item.itemValue),onMouseOver:function(t){return e.question.onItemMouseIn(e.item)},onMouseOut:function(t){return e.question.onItemMouseOut(e.item)}},aB.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),aB.a.createElement(a1,{size:"auto",iconName:this.question.getItemSmileyIconName(this.item.itemValue),title:this.item.text}))},RatingItemSmiley}(uo);aq.Instance.registerElement("sv-rating-item-smiley",function(e){return aB.a.createElement(ua,e)});var ul=(te=function(e,t){return(te=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}te(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uu=function(e){function RatingDropdownItem(){return null!==e&&e.apply(this,arguments)||this}return ul(RatingDropdownItem,e),Object.defineProperty(RatingDropdownItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),RatingDropdownItem.prototype.getStateElement=function(){return this.item},RatingDropdownItem.prototype.render=function(){if(!this.item)return null;var e=this.props.item,t=this.renderDescription(e);return aB.a.createElement("div",{className:"sd-rating-dropdown-item"},aB.a.createElement("span",{className:"sd-rating-dropdown-item_text"},e.title),t)},RatingDropdownItem.prototype.renderDescription=function(e){return e.description?aB.a.createElement("div",{className:"sd-rating-dropdown-item_description"},this.renderLocString(e.description,void 0,"locString")):null},RatingDropdownItem}(az);aq.Instance.registerElement("sv-rating-dropdown-item",function(e){return aB.a.createElement(uu,e)});var uc=(tt=function(e,t){return(tt=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tt(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),up=function(e){function TagboxFilterString(t){return e.call(this,t)||this}return uc(TagboxFilterString,e),Object.defineProperty(TagboxFilterString.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(TagboxFilterString.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),TagboxFilterString.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.updateDomElement()},TagboxFilterString.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.updateDomElement()},TagboxFilterString.prototype.updateDomElement=function(){if(this.inputElement){var e=this.inputElement,t=this.model.inputStringRendered;oe.isTwoValueEquals(t,e.value,!1,!0,!1)||(e.value=this.model.inputStringRendered)}},TagboxFilterString.prototype.onChange=function(e){var t,o=null===(t=e.target.getRootNode())||void 0===t?void 0:t.activeElement;e.target===o&&(this.model.inputStringRendered=e.target.value)},TagboxFilterString.prototype.keyhandler=function(e){this.model.inputKeyHandler(e)},TagboxFilterString.prototype.onBlur=function(e){this.question.onBlur(e)},TagboxFilterString.prototype.onFocus=function(e){this.question.onFocus(e)},TagboxFilterString.prototype.getStateElement=function(){return this.model},TagboxFilterString.prototype.render=function(){var e=this;return aL.createElement("div",{className:this.question.cssClasse
8s.hint},this.model.showHintPrefix?aL.createElement("div",{className:this.question.cssClasses.hintPrefix},aL.createElement("span",null,this.model.hintStringPrefix)):null,aL.createElement("div",{className:this.question.cssClasses.hintSuffixWrapper},this.model.showHintString?aL.createElement("div",{className:this.question.cssClasses.hintSuffix},aL.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},this.model.inputStringRendered),aL.createElement("span",null,this.model.hintStringSuffix)):null,aL.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),inputMode:this.model.inputMode,ref:function(t){return e.inputElement=t},className:this.question.cssClasses.filterStringInput,disabled:this.question.isInputReadOnly,readOnly:!!this.model.filterReadOnly||void 0,size:this.model.inputStringRendered?void 0:1,role:this.model.filterStringEnabled?this.question.ariaRole:void 0,"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(t){e.keyhandler(t)},onChange:function(t){e.onChange(t)},onBlur:function(t){e.onBlur(t)},onFocus:function(t){e.onFocus(t)}})))},TagboxFilterString}(az);lc.Instance.registerQuestion("sv-tagbox-filter",function(e){return aL.createElement(up,e)});var ud=(to=function(e,t){return(to=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}to(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uh=function(e){function SurveyQuestionOptionItem(t){var o=e.call(this,t)||this;return o.state={changed:0},o.setupModel(),o}return ud(SurveyQuestionOptionItem,e),SurveyQuestionOptionItem.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.setupModel()},SurveyQuestionOptionItem.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.setupModel()},SurveyQuestionOptionItem.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.item&&(this.item.locText.onChanged=function(){})},SurveyQuestionOptionItem.prototype.setupModel=function(){if(this.item.locText){var e=this;this.item.locText.onChanged=function(){e.setState({changed:e.state.changed+1})}}},SurveyQuestionOptionItem.prototype.getStateElement=function(){return this.item},Object.defineProperty(SurveyQuestionOptionItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyQuestionOptionItem.prototype.canRender=function(){return!!this.item},SurveyQuestionOptionItem.prototype.renderElement=function(){return aL.createElement("option",{value:this.item.value,disabled:!this.item.isEnabled},this.item.text)},SurveyQuestionOptionItem}(aH),um=(tn=function(e,t){return(tn=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tn(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ug=function(e){function SurveyQuestionDropdownBase(){var t=null!==e&&e.apply(this,arguments)||this;return t.click=function(e){var o;null===(o=t.question.dropdownListModel)||void 0===o||o.onClick(e)},t.chevronPointerDown=function(e){var o;null===(o=t.question.dropdownListModel)||void 0===o||o.chevronPointerDown(e)},t.clear=function(e){var o;null===(o=t.question.dropdownListModel)||void 0===o||o.onClear(e)},t.keyhandler=function(e){var o;null===(o=t.question.dropdownListModel)||void 0===o||o.keyHandler(e)},t.blur=function(e){t.updateInputDomElement(),t.question.onBlur(e)},t.focus=function(e){t.question.onFocus(e)},t}return um(SurveyQuestionDropdownBase,e),SurveyQuestionDropdownBase.prototype.getStateElement=function(){return this.question.dropdownListModel},SurveyQuestionDropdownBase.prototype.setValueCore=function(e){this.questionBase.renderedValue=e},SurveyQuestionDropdownBase.prototype.getValueCore=function(){return this.questionBase.renderedValue},SurveyQuestionDropdownBase.prototype.renderReadOnlyElement=function(){return this.question.locReadOnlyText?this.renderLocString(this.question.locReadOnlyText):null},SurveyQuestionDropdownBase.prototype.renderSelect=function(e){var t,o,n=this,r=null;return r=this.question.isReadOnly?aL.createElement("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?void 0:0,className:this.question.getControlClass(),ref:function(e){return n.setControl(e)}},this.renderReadOnlyElement()):aL.createElement(aL.Fragment,null,this.renderInput(this.question.dropdownListModel),aL.createElement(a9,{model:null===(o=null===(t=this.question)||void 0===t?void 0:t.dropdownListModel)||void 0===o?void 0:o.popupModel})),aL.createElement("div",{className:e.selectWrapper,onClick:this.click},r,this.createChevronButton())},SurveyQuestionDropdownBase.prototype.renderValueElement=function(e){return this.question.showInputFieldComponent?aq.Instance.createElement(this.question.inputFieldComponentName,{item:e.getSelectedAction(),question:this.question}):this.question.showSelectedItemLocText?this.renderLocString(this.question.selectedItemLocText):null},SurveyQuestionDropdownBase.prototype.renderInput=function(e){var t=this,o=this.renderValueElement(e),onInputChange=function(t){var o,n=null===(o=t.target.getRootNode())||void 0===o?void 0:o.activeElement;t.target===n&&(e.inputStringRendered=t.target.value)};return aL.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:e.noTabIndex?void 0:0,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":e.listElementId,"aria-activedescendant":e.ariaActivedescendant,ref:function(e){return t.setControl(e)}},e.showHintPrefix?aL.createElement("div",{className:this.question.cssClasse
8s.hintPrefix},aL.createElement("span",null,e.hintStringPrefix)):null,aL.createElement("div",{className:this.question.cssClasses.controlValue},e.showHintString?aL.createElement("div",{className:this.question.cssClasses.hintSuffix},aL.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},e.inputStringRendered),aL.createElement("span",null,e.hintStringSuffix)):null,o,aL.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),ref:function(e){return t.inputElement=e},className:this.question.cssClasses.filterStringInput,role:e.filterStringEnabled?this.question.ariaRole:void 0,"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":e.listElementId,"aria-activedescendant":e.ariaActivedescendant,placeholder:e.placeholderRendered,readOnly:!!e.filterReadOnly||void 0,tabIndex:e.noTabIndex?void 0:-1,disabled:this.question.isDisabledAttr,inputMode:e.inputMode,onChange:function(e){onInputChange(e)},onBlur:this.blur,onFocus:this.focus})),this.createClearButton())},SurveyQuestionDropdownBase.prototype.createClearButton=function(){if(!this.question.allowClear||!this.question.cssClasses.cleanButtonIconId)return null;var e={display:this.question.showClearButton?"":"none"};return aL.createElement("div",{className:this.question.cssClasses.cleanButton,style:e,onClick:this.clear,"aria-hidden":"true"},aL.createElement(a1,{className:this.question.cssClasses.cleanButtonSvg,iconName:this.question.cssClasses.cleanButtonIconId,title:this.question.clearCaption,size:"auto"}))},SurveyQuestionDropdownBase.prototype.createChevronButton=function(){return this.question.cssClasses.chevronButtonIconId?aL.createElement("div",{className:this.question.cssClasses.chevronButton,"aria-hidden":"true",onPointerDown:this.chevronPointerDown},aL.createElement(a1,{className:this.question.cssClasses.chevronButtonSvg,iconName:this.question.cssClasses.chevronButtonIconId,size:"auto"})):null},SurveyQuestionDropdownBase.prototype.renderOther=function(e){return aL.createElement("div",{className:this.question.getCommentAreaCss(!0)},aL.createElement(lv,{question:this.question,otherCss:e.other,cssClasses:e,isDisplayMode:this.isDisplayMode,isOther:!0}))},SurveyQuestionDropdownBase.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.updateInputDomElement()},SurveyQuestionDropdownBase.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.updateInputDomElement()},SurveyQuestionDropdownBase.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question.dropdownListModel&&(this.question.dropdownListModel.focused=!1)},SurveyQuestionDropdownBase.prototype.updateInputDomElement=function(){if(this.inputElement){var e=this.inputElement,t=this.question.dropdownListModel.inputStringRendered;oe.isTwoValueEquals(t,e.value,!1,!0,!1)||(e.value=this.question.dropdownListModel.inputStringRendered)}},SurveyQuestionDropdownBase}(aW),uf=(tr=function(e,t){return(tr=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tr(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uy=function(e){function SurveyQuestionDropdown(t){return e.call(this,t)||this}return uf(SurveyQuestionDropdown,e),SurveyQuestionDropdown.prototype.renderElement=function(){var e=this.question.cssClasses,t=this.question.isOtherSelected?this.renderOther(e):null,o=this.renderSelect(e);return aL.createElement("div",{className:this.question.renderCssRoot},o,t)},SurveyQuestionDropdown}(ug);lc.Instance.registerQuestion("dropdown",function(e){return aL.createElement(uy,e)});
8var uv=(ti=function(e,t){return(ti=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ti(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ub=function(e){function SurveyQuestionTagboxItem(t){return e.call(this,t)||this}return uv(SurveyQuestionTagboxItem,e),Object.defineProperty(SurveyQuestionTagboxItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionTagboxItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyQuestionTagboxItem.prototype.canRender=function(){return!!this.item&&!!this.question},SurveyQuestionTagboxItem.prototype.renderElement=function(){var e=this,t=this.renderLocString(this.item.locText);return aL.createElement("div",{className:"sv-tagbox__item"},aL.createElement("div",{className:"sv-tagbox__item-text"},t),aL.createElement("div",{className:this.question.cssClasses.cleanItemButton,onClick:function(t){e.question.dropdownListModel.deselectItem(e.item.value),t.stopPropagation()}},aL.createElement(a1,{className:this.question.cssClasses.cleanItemButtonSvg,iconName:this.question.cssClasses.cleanItemButtonIconId,size:"auto"})))},SurveyQuestionTagboxItem}(aH),ux=(ts=function(e,t){return(ts=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ts(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uC=function(e){function SurveyQuestionTagbox(t){return e.call(this,t)||this}return ux(SurveyQuestionTagbox,e),SurveyQuestionTagbox.prototype.renderItem=function(e,t){return aL.createElement(ub,{key:e,question:this.question,item:t})},SurveyQuestionTagbox.prototype.renderInput=function(e){var t=this,o=this.question.selectedChoices.map(function(e,o){return t.renderItem("item"+o,e)});return aL.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:e.noTabIndex?void 0:0,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":e.listElementId,"aria-activedescendant":e.ariaActivedescendant,ref:function(e){return t.setControl(e)}},aL.createElement("div",{className:this.question.cssClasses.controlValue},o,aL.createElement(up,{model:e,question:this.question})),this.createClearButton())},SurveyQuestionTagbox.prototype.renderElement=function(){var e=this.question.cssClasses,t=this.question.isOtherSelected?this.renderOther(e):null,o=this.renderSelect(e);return aL.createElement("div",{className:this.question.renderCssRoot},o,t)},SurveyQuestionTagbox.prototype.renderReadOnlyElement=function(){return this.question.locReadOnlyText?this.renderLocString(this.question.locReadOnlyText):null},SurveyQuestionTagbox}(ug);lc.Instance.registerQuestion("tagbox",function(e){return aL.createElement(uC,e)});var uw=(ta=function(e,t){return(ta=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ta(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uP=function(e){function SurveyQuestionDropdownSelect(t){return e.call(this,t)||this}return uw(SurveyQuestionDropdownSelect,e),SurveyQuestionDropdownSelect.prototype.renderSelect=function(e){var t=this,o=this.isDisplayMode?aL.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),disabled:!0},this.question.readOnlyText):aL.createElement("select",{id:this.question.inputId,className:this.question.getControlClass(),ref:function(e){return t.setControl(e)}
8,autoComplete:this.question.autocomplete,onChange:this.updateValueOnEvent,onInput:this.updateValueOnEvent,onClick:function(e){t.question.onClick(e)},onKeyUp:function(e){t.question.onKeyUp(e)},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,required:this.question.isRequired},this.question.allowClear?aL.createElement("option",{value:""},this.question.placeholder):null,this.question.visibleChoices.map(function(e,t){return aL.createElement(uh,{key:"item"+t,item:e})}));return aL.createElement("div",{className:e.selectWrapper},o,this.createChevronButton())},SurveyQuestionDropdownSelect}(uy);lc.Instance.registerQuestion("sv-dropdown-select",function(e){return aL.createElement(uP,e)}),nK.Instance.registerRenderer("dropdown","select","sv-dropdown-select");var u_=(tl=function(e,t){return(tl=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tl(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uS=function(e){function SurveyQuestionMatrix(t){var o=e.call(this,t)||this;return o.state={rowsChanged:0},o}return u_(SurveyQuestionMatrix,e),Object.defineProperty(SurveyQuestionMatrix.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionMatrix.prototype.componentDidMount=function(){if(e.prototype.componentDidMount.call(this),this.question){var t=this;this.question.visibleRowsChangedCallback=function(){t.setState({rowsChanged:t.state.rowsChanged+1})}}},SurveyQuestionMatrix.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question&&(this.question.visibleRowsChangedCallback=null)},SurveyQuestionMatrix.prototype.renderElement=function(){for(var e=this,t=this.question.cssClasses,o=this.question.hasRows?aL.createElement("td",null):null,n=[],r=0;r<this.question.visibleColumns.length;r++){var i=this.question.visibleColumns[r],s="column"+r,a=this.renderLocString(i.locText),l={};this.question.columnMinWidth&&(l.minWidth=this.question.columnMinWidth,l.width=this.question.columnMinWidth),n.push(aL.createElement("th",{className:this.question.cssClasses.headerCell,style:l,key:s},this.wrapCell({column:i},a,"column-header")))}for(var u=[],c=this.question.visibleRows,r=0;r<c.length;r++){var p=c[r],s="row-"+p.name+"-"+r;u.push(aL.createElement(uM,{key:s,question:this.question,cssClasses:t,row:p,isFirst:0==r}))}var d=this.question.showHeader?aL.createElement("thead",null,aL.createElement("tr",null,o,n)):null;return aL.createElement("div",{className:t.tableWrapper,ref:function(t){return e.setControl(t)}},aL.createElement("fieldset",null,aL.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),aL.createElement("table",{className:this.question.getTableCss()},d,aL.createElement("tbody",null,u))))},SurveyQuestionMatrix}(aU),uM=function(e){function SurveyQuestionMatrixRow(t){return e.call(this,t)||this}return u_(SurveyQuestionMatrixRow,e),SurveyQuestionMatrixRow.prototype.getStateElement=function(){return this.row?this.row.item:e.prototype.getStateElement.call(this)},Object.defineProperty(SurveyQuestionMatrixRow.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixRow.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),SurveyQuestionMatrixRow.prototype.wrapCell=function(e,t,o){if(!o)return t;var n=this.question.survey,r=null;return n&&(r=aN.wrapMatrixCell(n,t,e,o)),null!=r?r:t},SurveyQuestionMatrixRow.prototype.canRender=function(){return!!this.row},SurveyQuestionMatrixRow.prototype.renderElement=function(){var e=null;if(this.question.hasRows){var t=this.renderLocString(this.row.locText),o={};this.question.rowTitleWidth&&(o.minWidth=this.question.rowTitleWidth,o.width=this.question.rowTitleWidth),e=aL.createElement("td",{style:o,className:this.row.rowTextClasses},this.wrapCell({row:this.row},t,"row-header"))}var n=this.generateTds();
8return aL.createElement("tr",{className:this.row.rowClasses||void 0},e,n)},SurveyQuestionMatrixRow.prototype.generateTds=function(){for(var e=this,t=[],o=this.row,n=this.question.cellComponent,r=this,i=0;i<this.question.visibleColumns.length;i++)!function(){var s=null,a=r.question.visibleColumns[i],l="value"+i,u=r.question.getItemClass(o,a);if(r.question.hasCellText){var getHandler=function(t){return function(){return e.cellClick(o,t)}};s=aL.createElement("td",{key:l,className:u,onClick:getHandler?getHandler(a):function(){}},r.renderLocString(r.question.getCellDisplayLocText(o.name,a)))}else{var c=aq.Instance.createElement(n,{question:r.question,row:r.row,column:a,columnIndex:i,cssClasses:r.cssClasses,cellChanged:function(){e.cellClick(e.row,a)}});s=aL.createElement("td",{key:l,"data-responsive-title":a.locText.renderedHtml,className:r.question.cssClasses.cell},c)}t.push(s)}();return t},SurveyQuestionMatrixRow.prototype.cellClick=function(e,t){e.value=t.value,this.setState({value:this.row.value})},SurveyQuestionMatrixRow}(aH),uE=function(e){function SurveyQuestionMatrixCell(t){var o=e.call(this,t)||this;return o.handleOnMouseDown=o.handleOnMouseDown.bind(o),o.handleOnChange=o.handleOnChange.bind(o),o}return u_(SurveyQuestionMatrixCell,e),SurveyQuestionMatrixCell.prototype.handleOnChange=function(e){this.props.cellChanged&&this.props.cellChanged()},SurveyQuestionMatrixCell.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},Object.defineProperty(SurveyQuestionMatrixCell.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixCell.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixCell.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixCell.prototype,"columnIndex",{get:function(){return this.props.columnIndex},enumerable:!1,configurable:!0}),SurveyQuestionMatrixCell.prototype.canRender=function(){return!!this.question&&!!this.row},SurveyQuestionMatrixCell.prototype.renderElement=function(){var e=this.row.value==this.column.value,t=this.question.inputId+"_"+this.row.name+"_"+this.columnIndex,o=this.question.getItemClass(this.row,this.column),n=this.question.isMobile?aL.createElement("span",{className:this.question.cssClasses.cellResponsiveTitle},this.renderLocString(this.column.locText)):void 0;return aL.createElement("label",{onMouseDown:this.handleOnMouseDown,className:o},this.renderInput(t,e),aL.createElement("span",{className:this.question.cssClasses.materialDecorator},this.question.itemSvgIcon?aL.createElement("svg",{className:this.cssClasses.itemDecorator},aL.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null),n)},SurveyQuestionMatrixCell.prototype.renderInput=function(e,t){return aL.createElement("input",{id:e,type:"radio",className:this.cssClasses.itemValue,name:this.row.fullName,value:this.column.value,disabled:this.row.isDisabledAttr,readOnly:this.row.isReadOnlyAttr,checked:t,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})},SurveyQuestionMatrixCell}(aH);aq.Instance.registerElement("survey-matrix-cell",function(e){return aL.createElement(uE,e)}),lc.Instance.registerQuestion("matrix",function(e){return aL.createElement(uS,e)});var uT=(tu=function(e,t){return(tu=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tu(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uV=function(e){function SurveyQuestionHtml(t){return e.call(this,t)||this}return uT(SurveyQuestionHtml,e),Object.defineProperty(SurveyQuestionHtml.prototype,"question",{get:function(){return this.questionBase}
8,enumerable:!1,configurable:!0}),SurveyQuestionHtml.prototype.componentDidMount=function(){this.reactOnStrChanged()},SurveyQuestionHtml.prototype.componentWillUnmount=function(){this.question.locHtml.onChanged=function(){}},SurveyQuestionHtml.prototype.componentDidUpdate=function(e,t){this.reactOnStrChanged()},SurveyQuestionHtml.prototype.reactOnStrChanged=function(){var e=this;this.question.locHtml.onChanged=function(){e.setState({changed:e.state&&e.state.changed?e.state.changed+1:1})}},SurveyQuestionHtml.prototype.canRender=function(){return e.prototype.canRender.call(this)&&!!this.question.html},SurveyQuestionHtml.prototype.renderElement=function(){var e={__html:this.question.locHtml.renderedHtml};return aL.createElement("div",{className:this.question.renderCssRoot,dangerouslySetInnerHTML:e})},SurveyQuestionHtml}(aU);lc.Instance.registerQuestion("html",function(e){return aL.createElement(uV,e)});var uR=(tc=function(e,t){return(tc=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tc(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uk=function(e){function LoadingIndicatorComponent(){return null!==e&&e.apply(this,arguments)||this}return uR(LoadingIndicatorComponent,e),LoadingIndicatorComponent.prototype.render=function(){return aL.createElement("div",{className:"sd-loading-indicator"},aL.createElement(a1,{iconName:"icon-loading",size:"auto"}))},LoadingIndicatorComponent}
8(aL.Component),uI=(tp=function(e,t){return(tp=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tp(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uO=function(e){function SurveyFileChooseButton(t){return e.call(this,t)||this}return uI(SurveyFileChooseButton,e),Object.defineProperty(SurveyFileChooseButton.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),SurveyFileChooseButton.prototype.render=function(){var e=this;return attachKey2click(aB.a.createElement("label",{tabIndex:0,className:this.question.getChooseFileCss(),htmlFor:this.question.inputId,"aria-label":this.question.chooseButtonText,onClick:function(t){return e.question.chooseFile(t.nativeEvent)}},this.question.cssClasses.chooseFileIconId?aB.a.createElement(a1,{title:this.question.chooseButtonText,iconName:this.question.cssClasses.chooseFileIconId,size:"auto"}):null,aB.a.createElement("span",null,this.question.chooseButtonText)))},SurveyFileChooseButton}(aH);aq.Instance.registerElement("sv-file-choose-btn",function(e){return aB.a.createElement(uO,e)});var uD=(td=function(e,t){return(td=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}td(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uA=function(e){function SurveyQuestionFile(t){return e.call(this,t)||this}return uD(SurveyQuestionFile,e),Object.defineProperty(SurveyQuestionFile.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionFile.prototype.renderElement=function(){var e,t=this,o=this.question.allowShowPreview?this.renderPreview():null,n=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,r=this.question.isPlayingVideo?this.renderVideo():null,i=this.question.showFileDecorator?this.renderFileDecorator():null,s=this.question.showRemoveButton?this.renderClearButton(this.question.cssClasses.removeButton):null,a=this.question.showRemoveButtonBottom?this.renderClearButton(this.question.cssClasses.removeButtonBottom):null,l=this.question.fileNavigatorVisible?aL.createElement(ln,{model:this.question.fileNavigator}):null;return e=this.question.isReadOnlyAttr?aL.createElement("input",{readOnly:!0,type:"file",className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(e){return t.setControl(e)},style:this.isDisplayMode?{color:"transparent"}:{},multiple:this.question.allowMultiple,placeholder:this.question.title,accept:this.question.acceptedTypes}):this.question.isDisabledAttr?aL.createElement("input",{disabled:!0,type:"file",className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(e){return t.setControl(e)},style:this.isDisplayMode?{color:"transparent"}:{},multiple:this.question.allowMultiple,placeholder:this.question.title,accept:this.question.acceptedTypes}):this.question.hasFileUI?aL.createElement("input",{type:"file",disabled:this.isDisplayMode,tabIndex:-1,className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(e){return t.setControl(e)},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}):null,aL.createElement("div",{className:this.question.fileRootCss,ref:function(e){return t.setContent(e)}}
8,e,aL.createElement("div",{className:this.question.cssClasses.dragArea,onDrop:this.question.onDrop,onDragOver:this.question.onDragOver,onDragLeave:this.question.onDragLeave,onDragEnter:this.question.onDragEnter},i,n,r,s,o,a,l))},SurveyQuestionFile.prototype.renderFileDecorator=function(){var e=this.question.showChooseButton?this.renderChooseButton():null,t=this.question.actionsContainerVisible?aL.createElement(ln,{model:this.question.actionsContainer}):null,o=this.question.isEmpty()?aL.createElement("span",{className:this.question.cssClasses.noFileChosen},this.question.noFileChosenCaption):null;return aL.createElement("div",{className:this.question.getFileDecoratorCss()},!!this.question.showDragAreaPlaceholder&&aL.createElement("span",{className:this.question.cssClasses.dragAreaPlaceholder},this.renderLocString(this.question.locRenderedPlaceholder)),aL.createElement("div",{className:this.question.cssClasses.wrapper},e,t,o))},SurveyQuestionFile.prototype.renderChooseButton=function(){return aL.createElement(uO,{data:{question:this.question}})},SurveyQuestionFile.prototype.renderClearButton=function(e){return this.question.isUploading?null:aL.createElement("button",{type:"button",onClick:this.question.doClean,className:e},aL.createElement("span",null,this.question.clearButtonCaption),this.question.cssClasses.removeButtonIconId?aL.createElement(a1,{iconName:this.question.cssClasses.removeButtonIconId,size:"auto",title:this.question.clearButtonCaption}):null)},SurveyQuestionFile.prototype.renderPreview=function(){return aq.Instance.createElement("sv-file-preview",{question:this.question})},SurveyQuestionFile.prototype.renderLoadingIndicator=function(){return aL.createElement("div",{className:this.question.cssClasses.loadingIndicator},aL.createElement(uk,null))},SurveyQuestionFile.prototype.renderVideo=function(){return aL.createElement("div",{className:this.question.cssClasses.videoContainer},aL.createElement(a7,{item:this.question.changeCameraAction}),aL.createElement(a7,{item:this.question.closeCameraAction}),aL.createElement("video",{autoPlay:!0,playsInline:!0,id:this.question.videoId,className:this.question.cssClasses.video}),aL.createElement(a7,{item:this.question.takePictureAction}))},SurveyQuestionFile}(aU);lc.Instance.registerQuestion("file",function(e){return aL.createElement(uA,e)});var uQ=(th=function(e,t){return(th=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}th(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uj=function(e){function SurveyFileItem(){return null!==e&&e.apply(this,arguments)||this}return uQ(SurveyFileItem,e),Object.defineProperty(SurveyFileItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyFileItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyFileItem.prototype.renderFileSign=function(e,t){var o=this;return e&&t.name?aB.a.createElement("div",{className:e},aB.a.createElement("a",{href:t.content,onClick:function(e){o.question.doDownloadFile(e,t)},title:t.name,download:t.name,style:{width:this.question.imageWidth}},t.name)):null},SurveyFileItem.prototype.renderElement=function(){var e=this,t=this.item;return aB.a.createElement("span",{className:this.question.cssClasses.previewItem,onClick:function(t){return e.question.doDownloadFileFromContainer(t)}},this.renderFileSign(this.question.cssClasses.fileSign,t),aB.a.createElement("div",{className:this.question.getImageWrapperCss(t)},this.question.canPreviewImage(t)?aB.a.createElement("img",{src:t.content,style:{height:this.question.imageHeight,width:this.question.imageWidth},alt:"File preview"}):this.question.cssClasses.defaultImage?aB.a.createElement(a1,{iconName:this.question.cssClasses.defaultImageIconId,size:"auto",className:this.question.cssClasse
8s.defaultImage}):null,t.name&&!this.question.isReadOnly?aB.a.createElement("div",{className:this.question.getRemoveButtonCss(),onClick:function(o){return e.question.doRemoveFile(t,o)}},aB.a.createElement("span",{className:this.question.cssClasses.removeFile},this.question.removeFileCaption),this.question.cssClasses.removeFileSvgIconId?aB.a.createElement(a1,{title:this.question.removeFileCaption,iconName:this.question.cssClasses.removeFileSvgIconId,size:"auto",className:this.question.cssClasses.removeFileSvg}):null):null),this.renderFileSign(this.question.cssClasses.fileSignBottom,t))},SurveyFileItem.prototype.canRender=function(){return this.question.showPreviewContainer},SurveyFileItem}(az),uL=(tm=function(e,t){return(tm=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tm(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uB=function(e){function SurveyFilePage(){return null!==e&&e.apply(this,arguments)||this}return uL(SurveyFilePage,e),Object.defineProperty(SurveyFilePage.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyFilePage.prototype,"page",{get:function(){return this.props.page},enumerable:!1,configurable:!0}),SurveyFilePage.prototype.renderElement=function(){var e=this,t=this.page.items.map(function(t,o){return aB.a.createElement(uj,{item:t,question:e.question,key:o})});return aB.a.createElement("div",{className:this.page.css,id:this.page.id},t)},SurveyFilePage}(az),uq=(tg=function(e,t){return(tg=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tg(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uN=function(e){function SurveyFilePreview(){return null!==e&&e.apply(this,arguments)||this}return uq(SurveyFilePreview,e),Object.defineProperty(SurveyFilePreview.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),SurveyFilePreview.prototype.renderFileSign=function(e,t){var o=this;return e&&t.name?aB.a.createElement("div",{className:e},aB.a.createElement("a",{href:t.content,onClick:function(e){o.question.doDownloadFile(e,t)},title:t.name,download:t.name,style:{width:this.question.imageWidth}},t.name)):null},SurveyFilePreview.prototype.renderElement=function(){var e=this,t=this.question.supportFileNavigator?this.question.renderedPages.map(function(t,o){return aB.a.createElement(uB,{page:t,question:e.question,key:t.id})}):this.question.previewValue.map(function(t,o){return aB.a.createElement(uj,{item:t,question:e.question,key:o})});return aB.a.createElement("div",{className:this.question.cssClasses.fileList||void 0},t)},SurveyFilePreview.prototype.canRender=function(){return this.question.showPreviewContainer},SurveyFilePreview}(az);aq.Instance.registerElement("sv-file-preview",function(e){return aB.a.createElement(uN,e)});var uF=(tf=function(e,t){return(tf=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tf(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uz=function(e){function SurveyQuestionMultipleText(t){return e.call(this,t)||this}return uF(SurveyQuestionMultipleText,e),Object.defineProperty(SurveyQuestionMultipleText.prototype,"question",{get:function(){return this.questionBase}
8,enumerable:!1,configurable:!0}),SurveyQuestionMultipleText.prototype.renderElement=function(){for(var e=this.question.cssClasses,t=this.question.getRows(),o=[],n=0;n<t.length;n++)t[n].isVisible&&o.push(this.renderRow(n,t[n].cells,e));return aL.createElement("table",{className:this.question.getQuestionRootCss()},aL.createElement("tbody",null,o))},SurveyQuestionMultipleText.prototype.renderCell=function(e,t,o){var n;return n=e.isErrorsCell?aL.createElement(lT,{question:e.item.editor,creator:this.creator}):aL.createElement(uH,{question:this.question,item:e.item,creator:this.creator,cssClasses:t}),aL.createElement("td",{key:"item"+o,className:e.className,onFocus:function(){e.item.focusIn()}},n)},SurveyQuestionMultipleText.prototype.renderRow=function(e,t,o){for(var n=[],r=0;r<t.length;r++){var i=t[r];n.push(this.renderCell(i,o,r))}return aL.createElement("tr",{key:"item"+e,className:o.row},n)},SurveyQuestionMultipleText}(aU),uH=function(e){function SurveyMultipleTextItem(){return null!==e&&e.apply(this,arguments)||this}return uF(SurveyMultipleTextItem,e),Object.defineProperty(SurveyMultipleTextItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyMultipleTextItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyMultipleTextItem.prototype.getStateElements=function(){return[this.item,this.item.editor]},Object.defineProperty(SurveyMultipleTextItem.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),SurveyMultipleTextItem.prototype.renderElement=function(){var e=this.item,t=this.cssClasses,o={};return this.question.itemTitleWidth&&(o.minWidth=this.question.itemTitleWidth,o.width=this.question.itemTitleWidth),aL.createElement("label",{className:this.question.getItemLabelCss(e)},aL.createElement("span",{className:t.itemTitle,style:o},aL.createElement(li,{element:e.editor,cssClasses:e.editor.cssClasses})),aL.createElement(uU,{cssClasses:t,itemCss:this.question.getItemCss(),question:e.editor,creator:this.creator}))},SurveyMultipleTextItem}(aH),uU=function(e){function SurveyMultipleTextItemEditor(){return null!==e&&e.apply(this,arguments)||this}return uF(SurveyMultipleTextItemEditor,e),SurveyMultipleTextItemEditor.prototype.renderElement=function(){return aL.createElement("div",{className:this.itemCss},this.renderContent())},SurveyMultipleTextItemEditor}(lM);lc.Instance.registerQuestion("multipletext",function(e){return aL.createElement(uz,e)});var uW=(ty=function(e,t){return(ty=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}ty(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),u$=function(e){function SurveyQuestionRadiogroup(t){return e.call(this,t)||this}return uW(SurveyQuestionRadiogroup,e),Object.defineProperty(SurveyQuestionRadiogroup.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionRadiogroup.prototype.renderElement=function(){var e=this,t=this.question.cssClasses,o=null;return this.question.showClearButtonInContent&&(o=aL.createElement("div",null,aL.createElement("input",{type:"button",className:this.question.cssClasses.clearButton,onClick:function(){return e.question.clearValue(!0)},value:this.question.clearButtonCaption}))),aL.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(t){return e.setControl(t)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},this.question.hasColumns?this.getColumnedBody(t):this.getBody(t),this.getFooter(),this.question.isOtherSelected?this.renderOther(t):null,o)},SurveyQuestionRadiogroup.prototype.getFooter=function(){var e=this;if(this.question.hasFootItems)return this.question.footItems.map(function(t,o){return e.renderItem(t,!1,e.question.cssClasse
8s)})},SurveyQuestionRadiogroup.prototype.getColumnedBody=function(e){return aL.createElement("div",{className:e.rootMultiColumn},this.getColumns(e))},SurveyQuestionRadiogroup.prototype.getColumns=function(e){var t=this,o=this.getStateValue();return this.question.columns.map(function(n,r){var i=n.map(function(n,i){return t.renderItem(n,o,e,""+r+i)});return aL.createElement("div",{key:"column"+r+t.question.getItemsColumnKey(n),className:t.question.getColumnClass(),role:"presentation"},i)})},SurveyQuestionRadiogroup.prototype.getBody=function(e){return this.question.blockedRow?aL.createElement("div",{className:e.rootRow},this.getItems(e,this.question.dataChoices)):aL.createElement(aL.Fragment,null,this.getItems(e,this.question.bodyItems))},SurveyQuestionRadiogroup.prototype.getItems=function(e,t){for(var o=[],n=this.getStateValue(),r=0;r<t.length;r++){var i=t[r],s=this.renderItem(i,n,e,""+r);o.push(s)}return o},Object.defineProperty(SurveyQuestionRadiogroup.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),SurveyQuestionRadiogroup.prototype.renderOther=function(e){return aL.createElement("div",{className:this.question.getCommentAreaCss(!0)},aL.createElement(lv,{question:this.question,otherCss:e.other,cssClasses:e,isDisplayMode:this.isDisplayMode}))},SurveyQuestionRadiogroup.prototype.renderItem=function(e,t,o,n){var r=aq.Instance.createElement(this.question.itemComponent,{key:e.value,question:this.question,cssClasses:o,isDisplayMode:this.isDisplayMode,item:e,textStyle:this.textStyle,index:n,isChecked:t===e.value}),i=this.question.survey,s=null;return i&&(s=aN.wrapItemValue(i,r,this.question,e)),null!=s?s:r},SurveyQuestionRadiogroup.prototype.getStateValue=function(){return this.question.isEmpty()?"":this.question.renderedValue},SurveyQuestionRadiogroup}(aU),uJ=function(e){function SurveyQuestionRadioItem(t){var o=e.call(this,t)||this;return o.rootRef=aL.createRef(),o.handleOnChange=o.handleOnChange.bind(o),o.handleOnMouseDown=o.handleOnMouseDown.bind(o),o}return uW(SurveyQuestionRadioItem,e),SurveyQuestionRadioItem.prototype.getStateElement=function(){return this.item},Object.defineProperty(SurveyQuestionRadioItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRadioItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRadioItem.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRadioItem.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRadioItem.prototype,"isChecked",{get:function(){return this.props.isChecked},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionRadioItem.prototype,"hideCaption",{get:function(){return!0===this.props.hideCaption},enumerable:!1,configurable:!0}),SurveyQuestionRadioItem.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&!!this.question&&(!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render)},SurveyQuestionRadioItem.prototype.handleOnChange=function(e){this.question.clickItemHandler(this.item)},SurveyQuestionRadioItem.prototype.handleOnMouseDown=function(e){this.question.onMouseDown()},SurveyQuestionRadioItem.prototype.canRender=function(){return!!this.question&&!!this.item},SurveyQuestionRadioItem.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),t.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),t.item&&t.item.setRootElement(void 0))},SurveyQuestionRadioItem.prototype.renderElement=function(){var e=this.question.getItemClass(this.item),t=this.question.getLabelClass(this.item),o=this.question.getControlLabelClass(this.item),n=this.hideCaption?null:aL.createElement("span",{className:o},this.renderLocString(this.item.locText,this.textStyle));return aL.createElement("div",{className:e,role:"presentation",ref:this.rootRef}
8,aL.createElement("label",{onMouseDown:this.handleOnMouseDown,className:t},aL.createElement("input",{"aria-errormessage":this.question.ariaErrormessage,className:this.cssClasses.itemControl,id:this.question.getItemId(this.item),type:"radio",name:this.question.questionName,checked:this.isChecked,value:this.item.value,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange}),this.cssClasses.materialDecorator?aL.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?aL.createElement("svg",{className:this.cssClasses.itemDecorator},aL.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,n))},SurveyQuestionRadioItem.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},SurveyQuestionRadioItem.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},SurveyQuestionRadioItem}(aH);aq.Instance.registerElement("survey-radiogroup-item",function(e){return aL.createElement(uJ,e)}),lc.Instance.registerQuestion("radiogroup",function(e){return aL.createElement(u$,e)});var uG=(tv=function(e,t){return(tv=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tv(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uK=function(e){function SurveyQuestionText(t){return e.call(this,t)||this}return uG(SurveyQuestionText,e),SurveyQuestionText.prototype.renderInput=function(){var e=this,t=this.question.getControlClass(),o=this.question.renderedPlaceholder;if(this.question.isReadOnlyRenderDiv())return aL.createElement("div",null,this.question.inputValue);var n=this.question.getMaxLength()?aL.createElement(ld,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter}):null;return aL.createElement(aL.Fragment,null,aL.createElement("input",{id:this.question.inputId,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:t,type:this.question.inputType,ref:function(t){return e.setControl(t)},style:this.question.inputStyle,maxLength:this.question.getMaxLength(),min:this.question.renderedMin,max:this.question.renderedMax,step:this.question.renderedStep,size:this.question.inputSize,placeholder:o,list:this.question.dataListId,autoComplete:this.question.autocomplete,onBlur:function(t){e.question.onBlur(t)},onFocus:function(t){e.question.onFocus(t)},onChange:this.question.onChange,onClick:this.question.readOnlyBlocker,onPointerDown:this.question.readOnlyBlocker,onKeyUp:this.question.onKeyUp,onKeyDown:this.question.onKeyDown,onCompositionUpdate:function(t){return e.question.onCompositionUpdate(t.nativeEvent)},"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),n)},SurveyQuestionText.prototype.renderElement=function(){return this.question.dataListId?aL.createElement("div",null,this.renderInput(),this.renderDataList()):this.renderInput()},SurveyQuestionText.prototype.setValueCore=function(e){this.question.inputValue=e},SurveyQuestionText.prototype.getValueCore=function(){return this.question.inputValue},SurveyQuestionText.prototype.renderDataList=function(){if(!this.question.dataListId)return null;var e=this.question.dataList;if(0==e.length)return null;for(var t=[],o=0;o<e.length;o++)t.push(aL.createElement("option",{key:"item"+o,value:e[o]}));return aL.createElement("datalist",{id:this.question.dataListId},t)},SurveyQuestionText}(aW);lc.Instance.registerQuestion("text",function(e){return aL.createElement(uK,e)});var uZ=(tb=function(e,t){return(tb=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tb(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),uY=function(e){function SurveyQuestionBoolean(t){var o=e.call(this,t)||this;return o.handleOnChange=o.handleOnChange.bind(o),o.handleOnClick=o.handleOnClick.bind(o),o.handleOnLabelClick=o.handleOnLabelClick.bind(o),o.handleOnSwitchClick=o.handleOnSwitchClick.bind(o),o.handleOnKeyDown=o.handleOnKeyDown.bind(o),o.checkRef=aL.createRef(),o}return uZ(SurveyQuestionBoolean,e),SurveyQuestionBoolean.prototype.getStateElement=function(){return this.question},Object.defineProperty(SurveyQuestionBoolean.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionBoolean.prototype.doCheck=function(e){this.question.booleanValue=e},SurveyQuestionBoolean.prototype.handleOnChange=function(e){this.doCheck(e.target.checked)},SurveyQuestionBoolean.prototype.handleOnClick=function(e){this.question.onLabelClick(e,!0)},SurveyQuestionBoolean.prototype.handleOnSwitchClick=function(e){this.question.onSwitchClickModel(e.nativeEvent)},SurveyQuestionBoolean.prototype.handleOnLabelClick=function(e,t){this.question.onLabelClick(e,t)},SurveyQuestionBoolean.prototype.handleOnKeyDown=function(e){this.question.onKeyDownCore(e)},SurveyQuestionBoolean.prototype.updateDomElement=function(){if(this.question){var t=this.checkRef.current;t&&(t.indeterminate=this.question.isIndeterminate),this.setControl(t),e.prototype.updateDomElement.call(this)}},SurveyQuestionBoolean.prototype.renderElement=function(){var e=this,t=this.question.cssClasses,o=this.question.getItemCss();return aL.createElement("div",{className:t.root,onKeyDown:this.handleOnKeyDown},aL.createElement("label",{className:o,onClick:this.handleOnClick},aL.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:null===this.question.booleanValue?"":this.question.booleanValue,id:this.question.inputId,className:t.control,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),aL.createElement("div",{className:t.sliderGhost,onClick:function(t){return e.handleOnLabelClick(t,e.question.swapOrder)}},aL.createElement("span",{className:this.question.getLabelCss(this.question.swapOrder)},this.renderLocString(this.question.locLabelLeft))),aL.createElement("div",{className:t.switch,onClick:this.handleOnSwitchClick},aL.createElement("span",{className:t.slider},this.question.isDeterminated&&t.sliderText?aL.createElement("span",{className:t.sliderText},this.renderLocString(this.question.getCheckedLabel())):null)),aL.createElement("div",{className:t.sliderGhost,onClick:function(t){return e.handleOnLabelClick(t,!e.question.swapOrder)}},aL.createElement("span",{className:this.question.getLabelCss(!this.question.swapOrder)},this.renderLocString(this.question.locLabelRight)))))},SurveyQuestionBoolean}(aU);lc.Instance.registerQuestion("boolean",function(e){return aL.createElement(uY,e)});var uX=(tx=function(e,t){return(tx=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tx(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),u1=function(e){function SurveyQuestionBooleanCheckbox(t){return e.call(this,t)||this}return uX(SurveyQuestionBooleanCheckbox,e),SurveyQuestionBooleanCheckbox.prototype.renderElement=function(){var e=this.question.cssClasse
8s,t=this.question.getCheckboxItemCss(),o=this.question.canRenderLabelDescription?az.renderQuestionDescription(this.question):null;return aL.createElement("div",{className:e.rootCheckbox},aL.createElement("div",{className:t},aL.createElement("label",{className:e.checkboxLabel},aL.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:null===this.question.booleanValue?"":this.question.booleanValue,id:this.question.inputId,className:e.controlCheckbox,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),aL.createElement("span",{className:e.checkboxMaterialDecorator},this.question.svgIcon?aL.createElement("svg",{className:e.checkboxItemDecorator},aL.createElement("use",{xlinkHref:this.question.svgIcon})):null,aL.createElement("span",{className:"check"})),this.question.isLabelRendered&&aL.createElement("span",{className:e.checkboxControlLabel,id:this.question.labelRenderedAriaID},aL.createElement(la,{element:this.question,cssClasses:this.question.cssClasses}))),o))},SurveyQuestionBooleanCheckbox}(uY);lc.Instance.registerQuestion("sv-boolean-checkbox",function(e){return aL.createElement(u1,e)}),nK.Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox");var u0=(tC=function(e,t){return(tC=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tC(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),u2=function(e){function SurveyQuestionBooleanRadio(t){var o=e.call(this,t)||this;return o.handleOnChange=function(e){o.question.booleanValue="true"==e.nativeEvent.target.value},o}return u0(SurveyQuestionBooleanRadio,e),SurveyQuestionBooleanRadio.prototype.renderRadioItem=function(e,t){var o=this.question.cssClasses;return aL.createElement("div",{role:"presentation",className:this.question.getRadioItemClass(o,e)},aL.createElement("label",{className:o.radioLabel},aL.createElement("input",{type:"radio",name:this.question.name,value:e,"aria-errormessage":this.question.ariaErrormessage,checked:e===this.question.booleanValueRendered,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:o.itemRadioControl,onChange:this.handleOnChange}),this.question.cssClasses.materialRadioDecorator?aL.createElement("span",{className:o.materialRadioDecorator},this.question.itemSvgIcon?aL.createElement("svg",{className:o.itemRadioDecorator},aL.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,aL.createElement("span",{className:o.radioControlLabel},this.renderLocString(t))))},SurveyQuestionBooleanRadio.prototype.renderElement=function(){var e=this.question.cssClasses;return aL.createElement("div",{className:e.rootRadio},aL.createElement("fieldset",{role:"presentation",className:e.radioFieldset},this.question.swapOrder?aL.createElement(aL.Fragment,null,this.renderRadioItem(!0,this.question.locLabelTrue),this.renderRadioItem(!1,this.question.locLabelFalse)):aL.createElement(aL.Fragment,null,this.renderRadioItem(!1,this.question.locLabelFalse),this.renderRadioItem(!0,this.question.locLabelTrue))))},SurveyQuestionBooleanRadio}(uY);lc.Instance.registerQuestion("sv-boolean-radio",function(e){return aL.createElement(u2,e)}),nK.Instance.registerRenderer("boolean","radio","sv-boolean-radio");var u5=(tw=function(e,t){return(tw=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tw(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),u7=function(e){function SurveyQuestionEmpty(t){var o=e.call(this,t)||this;return o.state={value:o.question.value},o}return u5(SurveyQuestionEmpty,e),Object.defineProperty(SurveyQuestionEmpty.prototype,"question",{get:function(){return this.questionBase}
8,enumerable:!1,configurable:!0}),SurveyQuestionEmpty.prototype.renderElement=function(){return aL.createElement("div",null)},SurveyQuestionEmpty}(aU);lc.Instance.registerQuestion("empty",function(e){return aL.createElement(u7,e)});var u4=(tP=function(e,t){return(tP=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tP(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),u3=function(e){function MatrixRow(t){var o=e.call(this,t)||this;return o.root=aB.a.createRef(),o.onPointerDownHandler=function(e){o.parentMatrix.onPointerDown(e.nativeEvent,o.model.row)},o}return u4(MatrixRow,e),Object.defineProperty(MatrixRow.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(MatrixRow.prototype,"parentMatrix",{get:function(){return this.props.parentMatrix},enumerable:!1,configurable:!0}),MatrixRow.prototype.getStateElement=function(){return this.model},MatrixRow.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.root.current&&this.model.setRootElement(this.root.current)},MatrixRow.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model.setRootElement(void 0)},MatrixRow.prototype.shouldComponentUpdate=function(t,o){return!!e.prototype.shouldComponentUpdate.call(this,t,o)&&(t.model!==this.model&&(t.element&&t.element.setRootElement(this.root.current),this.model&&this.model.setRootElement(void 0)),!0)},MatrixRow.prototype.render=function(){var e=this,t=this.model;return t.visible?aB.a.createElement("tr",{ref:this.root,className:t.className,"data-sv-drop-target-matrix-row":t.row&&t.row.id,onPointerDown:function(t){return e.onPointerDownHandler(t)}},this.props.children):null},MatrixRow}(az);aq.Instance.registerElement("sv-matrix-row",function(e){return aB.a.createElement(u3,e)});var u9=(t_=function(e,t){return(t_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t_(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),u6=function(e){function SurveyQuestionMatrixDynamicDragDropIcon(){return null!==e&&e.apply(this,arguments)||this}return u9(SurveyQuestionMatrixDynamicDragDropIcon,e),Object.defineProperty(SurveyQuestionMatrixDynamicDragDropIcon.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderElement=function(){return aB.a.createElement("div",null,this.renderIcon())},SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderIcon=function(){return this.question.iconDragElement?aB.a.createElement("svg",{className:this.question.cssClasses.dragElementDecorator},aB.a.createElement("use",{xlinkHref:this.question.iconDragElement})):aB.a.createElement("span",{className:this.question.cssClasses.iconDrag})},SurveyQuestionMatrixDynamicDragDropIcon}(aH);aq.Instance.registerElement("sv-matrix-drag-drop-icon",function(e){return aB.a.createElement(u6,e)});var u8=(tS=function(e,t){return(tS=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tS(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ce=function(e){function SurveyQuestionMatrixTable(){return null!==e&&e.apply(this,arguments)||this}return u8(SurveyQuestionMatrixTable,e),Object.defineProperty(SurveyQuestionMatrixTable.prototype,"question",{get:function(){return this.props.question}
8,enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixTable.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixTable.prototype,"table",{get:function(){return this.question.renderedTable},enumerable:!1,configurable:!0}),SurveyQuestionMatrixTable.prototype.getStateElement=function(){return this.table},SurveyQuestionMatrixTable.prototype.wrapCell=function(e,t,o){return this.props.wrapCell(e,t,o)},SurveyQuestionMatrixTable.prototype.renderHeader=function(){var e=this.question.renderedTable;if(!e.showHeader)return null;for(var t=[],o=e.headerRow.cells,n=0;n<o.length;n++){var r=o[n],i="column"+n,s={};r.width&&(s.width=r.width),r.minWidth&&(s.minWidth=r.minWidth);var a=this.renderCellContent(r,"column-header",{}),l=r.hasTitle?aL.createElement("th",{className:r.className,key:i,style:s}," ",a," "):aL.createElement("td",{className:r.className,key:i,style:s});t.push(l)}return aL.createElement("thead",null,aL.createElement("tr",null,t))},SurveyQuestionMatrixTable.prototype.renderFooter=function(){var e=this.question.renderedTable;if(!e.showFooter)return null;var t=this.renderRow("footer",e.footerRow,this.question.cssClasses,"row-footer");return aL.createElement("tfoot",null,t)},SurveyQuestionMatrixTable.prototype.renderRows=function(){for(var e=this.question.cssClasses,t=[],o=this.question.renderedTable.renderedRows,n=0;n<o.length;n++)t.push(this.renderRow(o[n].id,o[n],e));return aL.createElement("tbody",null,t)},SurveyQuestionMatrixTable.prototype.renderRow=function(e,t,o,n){for(var r=[],i=t.cells,s=0;s<i.length;s++)r.push(this.renderCell(i[s],o,n));return aL.createElement(aL.Fragment,{key:"row"+e},"row-footer"==n?aL.createElement("tr",null,r):aL.createElement(u3,{model:t,parentMatrix:this.question},r))},SurveyQuestionMatrixTable.prototype.renderCell=function(e,t,o){var n="cell"+e.id;if(e.hasQuestion)return aL.createElement(ci,{key:n,cssClasses:t,cell:e,creator:this.creator,reason:o});if(e.isErrorsCell&&e.isErrorsCell)return aL.createElement(cn,{cell:e,key:n,keyValue:n,question:e.question,creator:this.creator});var r=o;r||(r=e.hasTitle?"row-header":"");var i=this.renderCellContent(e,r,t),s=null;return(e.width||e.minWidth)&&(s={},e.width&&(s.width=e.width),e.minWidth&&(s.minWidth=e.minWidth)),aL.createElement("td",{className:e.className,key:n,style:s,colSpan:e.colSpans,title:e.getTitle()},i)},SurveyQuestionMatrixTable.prototype.renderCellContent=function(e,t,o){var n=null,r=null;if((e.width||e.minWidth)&&(r={},e.width&&(r.width=e.width),e.minWidth&&(r.minWidth=e.minWidth)),e.hasTitle){t="row-header";var i=this.renderLocString(e.locTitle),s=e.column?aL.createElement(cr,{column:e.column,question:this.question}):null;n=aL.createElement(aL.Fragment,null,i,s)}if(e.isDragHandlerCell&&(n=aL.createElement(aL.Fragment,null,aL.createElement(u6,{item:{data:{row:e.row,question:this.question}}}))),e.isActionsCell&&(n=aq.Instance.createElement("sv-matrixdynamic-actions-cell",{question:this.question,cssClasses:o,cell:e,model:e.item.getData()})),e.hasPanel&&(n=aL.createElement(l0,{key:e.panel.id,element:e.panel,survey:this.question.survey,cssClasses:o,isDisplayMode:this.isDisplayMode,creator:this.creator})),!n)return null;var a=aL.createElement(aL.Fragment,null,n);return this.wrapCell(e,a,t)},SurveyQuestionMatrixTable.prototype.renderElement=function(){var e=this.renderHeader(),t=this.renderFooter(),o=this.renderRows();return aL.createElement("table",{className:this.question.getTableCss()},e,o,t)},SurveyQuestionMatrixTable}(az),ct=function(e){function SurveyQuestionMatrixDropdownBase(t){var o=e.call(this,t)||this;return o.question.renderedTable,o.state=o.getState(),o}return u8(SurveyQuestionMatrixDropdownBase,e),Object.defineProperty(SurveyQuestionMatrixDropdownBase.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDropdownBase.prototype.getState=function(e){return void 0===e&&(e=null),{rowCounter:e?e.rowCounter+1:0}},SurveyQuestionMatrixDropdownBase.prototype.updateStateOnCallback=function(){this.isRendering||this.setState(this.getState(this.state))},SurveyQuestionMatrixDropdownBase.prototype.componentDidMount=function(){var t=this;e.prototype.componentDidMount.call(this),this.question.onRenderedTableResetCallback=function(){t.updateStateOnCallback()}},SurveyQuestionMatrixDropdownBase.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question.onRenderedTableResetCallback=function(){}},SurveyQuestionMatrixDropdownBase.prototype.renderElement=function(){return this.renderTableDiv()},SurveyQuestionMatrixDropdownBase.prototype.renderTableDiv=function(){var e=this,t=this.question.showHorizontalScroll?{overflowX:"scroll"}:{};return aL.createElement("div",{style:t,className:this.question.cssClasse
8s.tableWrapper,ref:function(t){return e.setControl(t)}},aL.createElement(ce,{question:this.question,creator:this.creator,wrapCell:function(t,o,n){return e.wrapCell(t,o,n)}}))},SurveyQuestionMatrixDropdownBase}(aU),co=function(e){function SurveyQuestionMatrixActionsCell(t){return e.call(this,t)||this}return u8(SurveyQuestionMatrixActionsCell,e),Object.defineProperty(SurveyQuestionMatrixActionsCell.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),SurveyQuestionMatrixActionsCell.prototype.renderElement=function(){return aL.createElement(ln,{model:this.model,handleClick:!1})},SurveyQuestionMatrixActionsCell}(aH),cn=function(e){function SurveyQuestionMatrixDropdownErrorsCell(t){return e.call(this,t)||this}return u8(SurveyQuestionMatrixDropdownErrorsCell,e),Object.defineProperty(SurveyQuestionMatrixDropdownErrorsCell.prototype,"key",{get:function(){return this.props.keyValue},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixDropdownErrorsCell.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDropdownErrorsCell.prototype.render=function(){return this.cell.isVisible?aL.createElement("td",{className:this.cell.className,key:this.key,colSpan:this.cell.colSpans,title:this.cell.getTitle()},e.prototype.render.call(this)):null},SurveyQuestionMatrixDropdownErrorsCell.prototype.getQuestionPropertiesToTrack=function(){return e.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"])},SurveyQuestionMatrixDropdownErrorsCell}(lT);aq.Instance.registerElement("sv-matrixdynamic-actions-cell",function(e){return aL.createElement(co,e)});var cr=function(e){function SurveyQuestionMatrixHeaderRequired(t){return e.call(this,t)||this}return u8(SurveyQuestionMatrixHeaderRequired,e),Object.defineProperty(SurveyQuestionMatrixHeaderRequired.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixHeaderRequired.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),SurveyQuestionMatrixHeaderRequired.prototype.getStateElement=function(){return this.column},SurveyQuestionMatrixHeaderRequired.prototype.renderElement=function(){return this.column.isRenderedRequired?aL.createElement(aL.Fragment,null,aL.createElement("span",null,"\xa0"),aL.createElement("span",{className:this.question.cssClasses.cellRequiredText},this.column.requiredText)):null},SurveyQuestionMatrixHeaderRequired}(aH),ci=function(e){function SurveyQuestionMatrixDropdownCell(t){return e.call(this,t)||this}return u8(SurveyQuestionMatrixDropdownCell,e),Object.defineProperty(SurveyQuestionMatrixDropdownCell.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixDropdownCell.prototype,"itemCss",{get:function(){return this.cell?this.cell.className:""},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDropdownCell.prototype.getQuestion=function(){return e.prototype.getQuestion.call(this)||(this.cell?this.cell.question:null)},SurveyQuestionMatrixDropdownCell.prototype.doAfterRender=function(){var e=this.cellRef.current;if(e&&this.cell&&this.question&&this.question.survey&&"r"!==e.getAttribute("data-rendered")){e.setAttribute("data-rendered","r");var t={cell:this.cell,cellQuestion:this.question,htmlElement:e,row:this.cell.row,column:this.cell.cell.column};this.question.survey.matrixAfterCellRender(this.question,t),this.question.afterRenderCore(e)}},SurveyQuestionMatrixDropdownCell.prototype.getShowErrors=function(){return this.question.isVisible&&(!this.cell.isChoice||this.cell.isFirstChoice)},SurveyQuestionMatrixDropdownCell.prototype.getCellStyle=function(){var t=e.prototype.getCellStyle.call(this);return(this.cell.width||this.cell.minWidth)&&(t||(t={}),this.cell.width&&(t.width=this.cell.width),this.cell.minWidth&&(t.minWidth=this.cell.minWidth)),t},SurveyQuestionMatrixDropdownCell.prototype.getHeaderText=function(){return this.cell.headers},SurveyQuestionMatrixDropdownCell.prototype.renderElement=function(){return this.cell.isVisible?e.prototype.renderElement.call(this):null},SurveyQuestionMatrixDropdownCell.prototype.renderCellContent=function(){var t=e.prototype.renderCellContent.call(this),o=this.cell.showResponsiveTitle?aL.createElement("span",{className:this.cell.responsiveTitleCss},this.renderLocString(this.cell.responsiveLocTitle),aL.createElement(cr,{column:this.cell.column,question:this.cell.matrix})):null;return aL.createElement(aL.Fragment,null,o,t)},SurveyQuestionMatrixDropdownCell.prototype.renderQuestion=function(){return this.question.isVisible?this.cell.isChoice?this.cell.isOtherChoice?this.renderOtherComment():this.cell.isCheckbox?this.renderCellCheckboxButton():this.renderCellRadiogroupButton():l_.renderQuestionBody(this.creator,this.question):aL.createElement(aL.Fragment,null)},SurveyQuestionMatrixDropdownCell.prototype.renderOtherComment=function(){var e=this.cell.question,t=e.cssClasse
8s||{};return aL.createElement(lv,{question:e,cssClasses:t,otherCss:t.other,isDisplayMode:e.isInputReadOnly})},SurveyQuestionMatrixDropdownCell.prototype.renderCellCheckboxButton=function(){var e=this.cell.question.id+"item"+this.cell.choiceIndex;return aL.createElement(l3,{key:e,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,isFirst:this.cell.isFirstChoice,index:this.cell.choiceIndex.toString(),hideCaption:!0})},SurveyQuestionMatrixDropdownCell.prototype.renderCellRadiogroupButton=function(){var e=this.cell.question.id+"item"+this.cell.choiceIndex;return aL.createElement(uJ,{key:e,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,index:this.cell.choiceIndex.toString(),isChecked:this.cell.question.value===this.cell.item.value,isDisabled:this.cell.question.isReadOnly||!this.cell.item.isEnabled,hideCaption:!0})},SurveyQuestionMatrixDropdownCell}(lE),cs=(tM=function(e,t){return(tM=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tM(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ca=function(e){function SurveyQuestionMatrixDropdown(t){return e.call(this,t)||this}return cs(SurveyQuestionMatrixDropdown,e),SurveyQuestionMatrixDropdown}(ct);lc.Instance.registerQuestion("matrixdropdown",function(e){return aL.createElement(ca,e)});var cl=(tE=function(e,t){return(tE=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tE(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cu=function(e){function SurveyQuestionMatrixDynamic(t){var o=e.call(this,t)||this;return o.handleOnRowAddClick=o.handleOnRowAddClick.bind(o),o}return cl(SurveyQuestionMatrixDynamic,e),Object.defineProperty(SurveyQuestionMatrixDynamic.prototype,"matrix",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDynamic.prototype.handleOnRowAddClick=function(e){this.matrix.addRowUI()},SurveyQuestionMatrixDynamic.prototype.renderElement=function(){var e=this.question.cssClasses,t=this.question.renderedTable.showTable?this.renderTableDiv():this.renderNoRowsContent(e);return aL.createElement("div",null,this.renderAddRowButtonOnTop(e),t,this.renderAddRowButtonOnBottom(e))},SurveyQuestionMatrixDynamic.prototype.renderAddRowButtonOnTop=function(e){return this.matrix.renderedTable.showAddRowOnTop?this.renderAddRowButton(e):null},SurveyQuestionMatrixDynamic.prototype.renderAddRowButtonOnBottom=function(e){return this.matrix.renderedTable.showAddRowOnBottom?this.renderAddRowButton(e):null},SurveyQuestionMatrixDynamic.prototype.renderNoRowsContent=function(e){var t=this.renderLocString(this.matrix.locEmptyRowsText),o=aL.createElement("div",{className:e.emptyRowsText},t),n=this.matrix.renderedTable.showAddRow?this.renderAddRowButton(e,!0):void 0;return aL.createElement("div",{className:e.emptyRowsSection},o,n)},SurveyQuestionMatrixDynamic.prototype.renderAddRowButton=function(e,t){return void 0===t&&(t=!1),aq.Instance.createElement("sv-matrixdynamic-add-btn",{question:this.question,cssClasses:e,isEmptySection:t})},SurveyQuestionMatrixDynamic}(ct);lc.Instance.registerQuestion("matrixdynamic",function(e){return aL.createElement(cu,e)});var cc=function(e){function SurveyQuestionMatrixDynamicAddButton(t){var o=e.call(this,t)||this;return o.handleOnRowAddClick=o.handleOnRowAddClick.bind(o),o}return cl(SurveyQuestionMatrixDynamicAddButton,e),Object.defineProperty(SurveyQuestionMatrixDynamicAddButton.prototype,"matrix",{get:function(){return this.props.question}
8,enumerable:!1,configurable:!0}),SurveyQuestionMatrixDynamicAddButton.prototype.handleOnRowAddClick=function(e){this.matrix.addRowUI()},SurveyQuestionMatrixDynamicAddButton.prototype.renderElement=function(){var e=this.renderLocString(this.matrix.locAddRowText),t=aL.createElement("button",{className:this.matrix.getAddRowButtonCss(this.props.isEmptySection),type:"button",disabled:this.matrix.isInputReadOnly,onClick:this.matrix.isDesignMode?void 0:this.handleOnRowAddClick},e,aL.createElement("span",{className:this.props.cssClasses.iconAdd}));return this.props.isEmptySection?t:aL.createElement("div",{className:this.props.cssClasses.footer},t)},SurveyQuestionMatrixDynamicAddButton}(aH);aq.Instance.registerElement("sv-matrixdynamic-add-btn",function(e){return aL.createElement(cc,e)});var cp=(tT=function(e,t){return(tT=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tT(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cd=function(e){function SurveyQuestionPanelDynamicAction(t){return e.call(this,t)||this}return cp(SurveyQuestionPanelDynamicAction,e),Object.defineProperty(SurveyQuestionPanelDynamicAction.prototype,"data",{get:function(){return this.props.item&&this.props.item.data||this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionPanelDynamicAction.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),SurveyQuestionPanelDynamicAction}(aH),ch=function(e){function SurveyQuestionPanelDynamicAddButton(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){t.question.addPanelUI()},t}return cp(SurveyQuestionPanelDynamicAddButton,e),SurveyQuestionPanelDynamicAddButton.prototype.renderElement=function(){if(!this.question.canAddPanel)return null;var e=this.renderLocString(this.question.locPanelAddText);return aB.a.createElement("button",{type:"button",id:this.question.addButtonId,className:this.question.getAddButtonCss(),onClick:this.handleClick},aB.a.createElement("span",{className:this.question.cssClasses.buttonAddText},e))},SurveyQuestionPanelDynamicAddButton}(cd);aq.Instance.registerElement("sv-paneldynamic-add-btn",function(e){return aB.a.createElement(ch,e)});
8var cm=(tV=function(e,t){return(tV=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tV(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cg=function(e){function SurveyQuestionPanelDynamicNextButton(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){t.question.goToNextPanel()},t}return cm(SurveyQuestionPanelDynamicNextButton,e),SurveyQuestionPanelDynamicNextButton.prototype.renderElement=function(){return aB.a.createElement("div",{title:this.question.panelNextText,onClick:this.handleClick,className:this.question.getNextButtonCss()},aB.a.createElement(a1,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},SurveyQuestionPanelDynamicNextButton}(cd);aq.Instance.registerElement("sv-paneldynamic-next-btn",function(e){return aB.a.createElement(cg,e)});var cf=(tR=function(e,t){return(tR=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tR(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cy=function(e){function SurveyQuestionPanelDynamicPrevButton(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){t.question.goToPrevPanel()},t}return cf(SurveyQuestionPanelDynamicPrevButton,e),SurveyQuestionPanelDynamicPrevButton.prototype.renderElement=function(){return aB.a.createElement("div",{title:this.question.panelPrevText,onClick:this.handleClick,className:this.question.getPrevButtonCss()},aB.a.createElement(a1,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},SurveyQuestionPanelDynamicPrevButton}(cd);aq.Instance.registerElement("sv-paneldynamic-prev-btn",function(e){return aB.a.createElement(cy,e)});var cv=(tk=function(e,t){return(tk=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tk(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cb=function(e){function SurveyQuestionPanelDynamicProgressText(){return null!==e&&e.apply(this,arguments)||this}return cv(SurveyQuestionPanelDynamicProgressText,e),SurveyQuestionPanelDynamicProgressText.prototype.renderElement=function(){return aB.a.createElement("div",{className:this.question.cssClasses.progressText},this.question.progressText)},SurveyQuestionPanelDynamicProgressText}(cd);aq.Instance.registerElement("sv-paneldynamic-progress-text",function(e){return aB.a.createElement(cb,e)});var cx=(tI=function(e,t){return(tI=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tI(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cC=function(e){function SurveyQuestionPanelDynamic(t){return e.call(this,t)||this}return cx(SurveyQuestionPanelDynamic,e),Object.defineProperty(SurveyQuestionPanelDynamic.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionPanelDynamic.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.setState({panelCounter:0});var t=this;this.question.panelCountChangedCallback=function(){t.updateQuestionRendering()},this.question.currentIndexChangedCallback=function(){t.updateQuestionRendering()},this.question.renderModeChangedCallback=function(){t.updateQuestionRendering()}},SurveyQuestionPanelDynamic.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question.panelCountChangedCallback=function(){},this.question.currentIndexChangedCallback=function(){},this.question.renderModeChangedCallback=function(){}},SurveyQuestionPanelDynamic.prototype.updateQuestionRendering=function(){this.setState({panelCounter:this.state?this.state.panelCounter+1:1})},SurveyQuestionPanelDynamic.prototype.renderElement=function(){var e=this,t=[];
8this.question.renderedPanels.forEach(function(o,n){t.push(aL.createElement(cw,{key:o.id,element:o,question:e.question,index:n,cssClasses:e.question.cssClasses,isDisplayMode:e.isDisplayMode,creator:e.creator}))});var o=this.question.isRenderModeList&&this.question.showLegacyNavigation?this.renderAddRowButton():null,n=this.question.isProgressTopShowing?this.renderNavigator():null,r=this.question.isProgressBottomShowing?this.renderNavigator():null,i=this.renderNavigatorV2(),s=this.renderPlaceholder();return aL.createElement("div",{className:this.question.cssClasses.root},this.question.hasTabbedMenu?aL.createElement("div",{className:this.question.getTabsContainerCss()},aL.createElement(ln,{model:this.question.tabbedMenu})):null,s,n,aL.createElement("div",{className:this.question.cssClasses.panelsContainer},t),r,o,i)},SurveyQuestionPanelDynamic.prototype.renderNavigator=function(){if(!this.question.showLegacyNavigation)return this.question.isRangeShowing&&this.question.isProgressTopShowing?this.renderRange():null;var e=this.question.isRangeShowing?this.renderRange():null,t=this.rendrerPrevButton(),o=this.rendrerNextButton(),n=this.renderAddRowButton(),r=this.question.isProgressTopShowing?this.question.cssClasses.progressTop:this.question.cssClasses.progressBottom;return aL.createElement("div",{className:r},aL.createElement("div",{style:{clear:"both"}},aL.createElement("div",{className:this.question.cssClasses.progressContainer},t,e,o),n,this.renderProgressText()))},SurveyQuestionPanelDynamic.prototype.renderProgressText=function(){return aL.createElement(cb,{data:{question:this.question}})},SurveyQuestionPanelDynamic.prototype.rendrerPrevButton=function(){return aL.createElement(cy,{data:{question:this.question}})},SurveyQuestionPanelDynamic.prototype.rendrerNextButton=function(){return aL.createElement(cg,{data:{question:this.question}})},SurveyQuestionPanelDynamic.prototype.renderRange=function(){return aL.createElement("div",{className:this.question.cssClasses.progress},aL.createElement("div",{className:this.question.cssClasses.progressBar,style:{width:this.question.progress},role:"progressbar"}))},SurveyQuestionPanelDynamic.prototype.renderAddRowButton=function(){return aq.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:this.question}})},SurveyQuestionPanelDynamic.prototype.renderNavigatorV2=function(){if(!this.question.showNavigation)return null;var e=this.question.isRangeShowing&&this.question.isProgressBottomShowing?this.renderRange():null;return aL.createElement("div",{className:this.question.cssClasses.footer},aL.createElement("hr",{className:this.question.cssClasses.separator}),e,this.question.footerToolbar.visibleActions.length?aL.createElement("div",{className:this.question.cssClasses.footerButtonsContainer},aL.createElement(ln,{model:this.question.footerToolbar})):null)},SurveyQuestionPanelDynamic.prototype.renderPlaceholder=function(){return this.question.getShowNoEntriesPlaceholder()?aL.createElement("div",{className:this.question.cssClasses.noEntriesPlaceholder},aL.createElement("span",null,this.renderLocString(this.question.locNoEntriesText)),this.renderAddRowButton()):null},SurveyQuestionPanelDynamic}(aU),cw=function(e){function SurveyQuestionPanelDynamicItem(){return null!==e&&e.apply(this,arguments)||this}return cx(SurveyQuestionPanelDynamicItem,e),Object.defineProperty(SurveyQuestionPanelDynamicItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionPanelDynamicItem.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),SurveyQuestionPanelDynamicItem.prototype.getSurvey=function(){return this.question?this.question.survey:null},SurveyQuestionPanelDynamicItem.prototype.getCss=function(){var e=this.getSurvey();return e?e.getCss():{}},SurveyQuestionPanelDynamicItem.prototype.render=function(){var t=e.prototype.render.call(this),o=this.renderButton(),n=this.question.showSeparator(this.index)?aL.createElement("hr",{className:this.question.cssClasses.separator}):null;return aL.createElement(aL.Fragment,null,aL.createElement("div",{className:this.question.getPanelWrapperCss(this.panel)},t,o),n)},SurveyQuestionPanelDynamicItem.prototype.renderButton=function(){return"right"!==this.question.panelRemoveButtonLocation||!this.question.canRemovePanel||this.question.isRenderModeList&&this.panel.isCollapsed?null:aq.Instance.createElement("sv-paneldynamic-remove-btn",{data:{question:this.question,panel:this.panel}})},SurveyQuestionPanelDynamicItem}(l0);lc.Instance.registerQuestion("paneldynamic",function(e){return aL.createElement(cC,e)});var cP=(tO=function(e,t){return(tO=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tO(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c_=function(e){function SurveyProgress(t){return e.call(this,t)||this}return cP(SurveyProgress,e),Object.defineProperty(SurveyProgress.prototype,"isTop",{get:function(){return this.props.isTop},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyProgress.prototype,"progress",{get:function(){return this.survey.progressValue},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyProgress.prototype,"progressText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),SurveyProgress.prototype.render=function(){var e={width:this.progress+"%"};return aL.createElement("div",{className:this.survey.getProgressCssClasses(this.props.container)},aL.createElement("div",{style:e,className:this.css.progressBar,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":"progress"},aL.createElement("span",{className:s$.getProgressTextInBarCss(this.css)},this.progressText)),aL.createElement("span",{className:s$.getProgressTextUnderBarCss(this.css)},this.progressText))},SurveyProgress}(lZ);aq.Instance.registerElement("sv-progress-pages",function(e){return aL.createElement(c_,e)}),aq.Instance.registerElement("sv-progress-questions",function(e){return aL.createElement(c_,e)}),aq.Instance.registerElement("sv-progress-correctquestions",function(e){return aL.createElement(c_,e)}),aq.Instance.registerElement("sv-progress-requiredquestions",function(e){return aL.createElement(c_,e)});var cS=(tD=function(e,t){return(tD=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tD(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cM=function(e){function SurveyProgressButtons(t){var o=e.call(this,t)||this;return o.listContainerRef=aL.createRef(),o}return cS(SurveyProgressButtons,e),Object.defineProperty(SurveyProgressButtons.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyProgressButtons.prototype,"container",{get:function(){return this.props.container},enumerable:!1,configurable:!0}),SurveyProgressButtons.prototype.onResize=function(e){this.setState({canShowItemTitles:e}),this.setState({canShowHeader:!e})},SurveyProgressButtons.prototype.onUpdateScroller=function(e){this.setState({hasScroller:e})},SurveyProgressButtons.prototype.onUpdateSettings=function(){this.setState({canShowItemTitles:this.model.showItemTitles}),this.setState({canShowFooter:!this.model.showItemTitles})},SurveyProgressButtons.prototype.render=function(){var e=this;return aL.createElement("div",{className:this.model.getRootCss(this.props.container),style:{maxWidth:this.model.progressWidth},role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":"progress"},this.state.canShowHeader?aL.createElement("div",{className:this.css.progressButtonsHeader},aL.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.headerText},this.model.headerText)):null,aL.createElement("div",{className:this.css.progressButtonsContainer},aL.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!0),role:"button",onClick:function(){return e.clickScrollButton(e.listContainerRef.current,!0)}}),aL.createElement("div",{className:this.css.progressButtonsListContainer,ref:this.listContainerRef},aL.createElement("ul",{className:this.css.progressButtonsList},this.getListElements())),aL.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!1),role:"button",onClick:function(){return e.clickScrollButton(e.listContainerRef.current,!1)}})),this.state.canShowFooter?aL.createElement("div",{className:this.css.progressButtonsFooter}
8,aL.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.footerText},this.model.footerText)):null)},SurveyProgressButtons.prototype.getListElements=function(){var e=this,t=[];return this.survey.visiblePages.forEach(function(o,n){t.push(e.renderListElement(o,n))}),t},SurveyProgressButtons.prototype.renderListElement=function(e,t){var o=this,n=az.renderLocString(e.locNavigationTitle);return aL.createElement("li",{key:"listelement"+t,className:this.model.getListElementCss(t),onClick:this.model.isListElementClickable(t)?function(){return o.model.clickListElement(e)}:void 0,"data-page-number":this.model.getItemNumber(e)},aL.createElement("div",{className:this.css.progressButtonsConnector}),this.state.canShowItemTitles?aL.createElement(aL.Fragment,null,aL.createElement("div",{className:this.css.progressButtonsPageTitle,title:e.renderedNavigationTitle},n),aL.createElement("div",{className:this.css.progressButtonsPageDescription,title:e.navigationDescription},e.navigationDescription)):null,aL.createElement("div",{className:this.css.progressButtonsButton},aL.createElement("div",{className:this.css.progressButtonsButtonBackground}),aL.createElement("div",{className:this.css.progressButtonsButtonContent}),aL.createElement("span",null,this.model.getItemNumber(e))))},SurveyProgressButtons.prototype.clickScrollButton=function(e,t){e&&(e.scrollLeft+=(t?-1:1)*70)},SurveyProgressButtons.prototype.componentDidMount=function(){var t=this;e.prototype.componentDidMount.call(this),setTimeout(function(){t.respManager=new im(t.model,t.listContainerRef.current,t)},10)},SurveyProgressButtons.prototype.componentWillUnmount=function(){this.respManager&&this.respManager.dispose(),e.prototype.componentWillUnmount.call(this)},SurveyProgressButtons}(lZ);aq.Instance.registerElement("sv-progress-buttons",function(e){return aL.createElement(cM,e)});var cE=(tA=function(e,t){return(tA=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tA(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cT=function(e){function ListItem(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleKeydown=function(e){t.model.onKeyDown(e)},t}return cE(ListItem,e),Object.defineProperty(ListItem.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(ListItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),ListItem.prototype.getStateElement=function(){return this.item},ListItem.prototype.render=function(){var e=this;if(!this.item)return null;var t=this.model.getItemClass(this.item),o=this.item.component||this.model.itemComponent,n=aq.Instance.createElement(o,{item:this.item,key:this.item.id,model:this.model}),r=aB.a.createElement("div",{style:this.model.getItemStyle(this.item),className:this.model.cssClasses.itemBody,title:this.item.getTooltip(),onMouseOver:function(t){e.model.onItemHover(e.item)},onMouseLeave:function(t){e.model.onItemLeave(e.item)}},n),i=this.item.needSeparator?aB.a.createElement("div",{className:this.model.cssClasses.itemSeparator}):null,s=this.model.isItemVisible(this.item);return attachKey2click(aB.a.createElement("li",{className:t,role:"option",style:{display:s?null:"none"},id:this.item.elementId,"aria-selected":this.model.isItemSelected(this.item),onClick:function(t){e.model.onItemClick(e.item),t.stopPropagation()},onPointerDown:function(t){return e.model.onPointerDown(t,e.item)}},i,r),this.item)},ListItem.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.model.onLastItemRended(this.item)},ListItem}(az);aq.Instance.registerElement("sv-list-item",function(e){return aB.a.createElement(cT,e)});var cV=(tQ=function(e,t){return(tQ=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tQ(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cR=function(e){function List(t){var o=e.call(this,t)||this;return o.handleKeydown=function(e){o.model.onKeyDown(e)},o.handleMouseMove=function(e){o.model.onMouseMove(e)},o.state={filterString:o.model.filterString||""}
8,o.listContainerRef=aB.a.createRef(),o}return cV(List,e),Object.defineProperty(List.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),List.prototype.getStateElement=function(){return this.model},List.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.listContainerRef&&this.listContainerRef.current&&this.model.initListContainerHtmlElement(this.listContainerRef.current)},List.prototype.componentDidUpdate=function(t,o){var n;e.prototype.componentDidUpdate.call(this,t,o),this.model!==t.model&&(this.model&&(null===(n=this.listContainerRef)||void 0===n?void 0:n.current)&&this.model.initListContainerHtmlElement(this.listContainerRef.current),t.model&&t.model.initListContainerHtmlElement(void 0))},List.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.model&&this.model.initListContainerHtmlElement(void 0)},List.prototype.renderElement=function(){return aB.a.createElement("div",{className:this.model.cssClasses.root,ref:this.listContainerRef},this.searchElementContent(),this.emptyContent(),this.renderList())},List.prototype.renderList=function(){if(!this.model.renderElements)return null;var e=this.renderItems(),t={display:this.model.isEmpty?"none":null};return aB.a.createElement("ul",{className:this.model.getListClass(),style:t,role:"listbox",id:this.model.elementId,onMouseDown:function(e){e.preventDefault()},onKeyDown:this.handleKeydown,onMouseMove:this.handleMouseMove},e)},List.prototype.renderItems=function(){var e=this;if(!this.model)return null;var t=this.model.renderedActions;return t?t.map(function(t,o){return aB.a.createElement(cT,{model:e.model,item:t,key:"item"+o})}):null},List.prototype.searchElementContent=function(){var e=this;if(!this.model.showFilter)return null;var t=this.model.showSearchClearButton&&this.model.filterString?aB.a.createElement("button",{className:this.model.cssClasses.searchClearButtonIcon,onClick:function(t){e.model.onClickSearchClearButton(t)}},aB.a.createElement(a1,{iconName:"icon-searchclear",size:"auto"})):null;return aB.a.createElement("div",{className:this.model.cssClasses.filter},aB.a.createElement("div",{className:this.model.cssClasses.filterIcon},aB.a.createElement(a1,{iconName:"icon-search",size:"auto"})),aB.a.createElement("input",{type:"text",className:this.model.cssClasses.filterInput,"aria-label":this.model.filterStringPlaceholder,placeholder:this.model.filterStringPlaceholder,value:this.state.filterString,onKeyUp:function(t){e.model.goToItems(t)},onChange:function(t){var o,n=null===(o=t.target.getRootNode())||void 0===o?void 0:o.activeElement;t.target===n&&(e.model.filterString=t.target.value)}}),t)},List.prototype.emptyContent=function(){var e={display:this.model.isEmpty?null:"none"};return aB.a.createElement("div",{className:this.model.cssClasses.emptyContainer,style:e},aB.a.createElement("div",{className:this.model.cssClasses.emptyText,"aria-label":this.model.emptyMessage},this.model.emptyMessage))},List}(az);aq.Instance.registerElement("sv-list",function(e){return aB.a.createElement(cR,e)});var ck=(tj=function(e,t){return(tj=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tj(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cI=function(e){function SurveyProgressToc(){return null!==e&&e.apply(this,arguments)||this}return ck(SurveyProgressToc,e),SurveyProgressToc.prototype.render=function(){var e,t=this.props.model;return e=t.isMobile?aL.createElement("div",{onClick:t.togglePopup},aL.createElement(a1,{iconName:t.icon,size:24}),aL.createElement(a9,{model:t.popupModel})):aL.createElement(cR,{model:t.listModel}),aL.createElement("div",{className:t.containerCss},e)},SurveyProgressToc}(lZ);aq.Instance.registerElement("sv-navigation-toc",function(e){return aL.createElement(cI,e)});
8var cO=(tL=function(e,t){return(tL=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tL(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cD=function(e){function SurveyQuestionRating(t){var o=e.call(this,t)||this;return o.handleOnClick=o.handleOnClick.bind(o),o}return cO(SurveyQuestionRating,e),Object.defineProperty(SurveyQuestionRating.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionRating.prototype.handleOnClick=function(e){this.question.setValueFromClick(e.target.value),this.setState({value:this.question.value})},SurveyQuestionRating.prototype.renderItem=function(e,t){return aq.Instance.createElement(this.question.itemComponent,{question:this.question,item:e,index:t,key:"value"+t,handleOnClick:this.handleOnClick,isDisplayMode:this.isDisplayMode})},SurveyQuestionRating.prototype.renderElement=function(){var e=this,t=this.question.cssClasses,o=this.question.minRateDescription?this.renderLocString(this.question.locMinRateDescription):null,n=this.question.maxRateDescription?this.renderLocString(this.question.locMaxRateDescription):null;return aL.createElement("div",{className:this.question.ratingRootCss,ref:function(t){return e.setControl(t)}},aL.createElement("fieldset",{role:"radiogroup"},aL.createElement("legend",{role:"presentation",className:"sv-hidden"}),this.question.hasMinLabel?aL.createElement("span",{className:t.minText},o):null,this.question.renderedRateItems.map(function(t,o){return e.renderItem(t,o)}),this.question.hasMaxLabel?aL.createElement("span",{className:t.maxText},n):null))},SurveyQuestionRating}(aU);lc.Instance.registerQuestion("rating",function(e){return aL.createElement(cD,e)});var cA=(tB=function(e,t){return(tB=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tB(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cQ=function(e){function SurveyQuestionRatingDropdown(t){return e.call(this,t)||this}return cA(SurveyQuestionRatingDropdown,e),SurveyQuestionRatingDropdown.prototype.renderElement=function(){var e=this.question.cssClasses,t=this.renderSelect(e);return aL.createElement("div",{className:this.question.cssClasses.rootDropdown},t)},SurveyQuestionRatingDropdown}(ug);lc.Instance.registerQuestion("sv-rating-dropdown",function(e){return aL.createElement(cQ,e)}),nK.Instance.registerRenderer("rating","dropdown","sv-rating-dropdown");var cj=(tq=function(e,t){return(tq=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tq(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cL=function(e){function SurveyQuestionExpression(t){return e.call(this,t)||this}return cj(SurveyQuestionExpression,e),Object.defineProperty(SurveyQuestionExpression.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionExpression.prototype.renderElement=function(){var e=this,t=this.question.cssClasses;return aL.createElement("div",{id:this.question.inputId,className:t.root,ref:function(t){return e.setControl(t)}},this.question.formatedValue)},SurveyQuestionExpression}(aU);lc.Instance.registerQuestion("expression",function(e){return aL.createElement(cL,e)});
8var cB=(tN=function(e,t){return(tN=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tN(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cq=function(e){function PopupSurvey(t){var o=e.call(this,t)||this;return o.handleOnExpanded=o.handleOnExpanded.bind(o),o}return cB(PopupSurvey,e),PopupSurvey.prototype.getStateElements=function(){return[this.popup,this.popup.survey]},PopupSurvey.prototype.handleOnExpanded=function(e){this.popup.changeExpandCollapse()},PopupSurvey.prototype.canRender=function(){return e.prototype.canRender.call(this)&&this.popup.isShowing},PopupSurvey.prototype.renderElement=function(){var e=this,t=this.renderWindowHeader(),o=this.renderBody(),n={};return this.popup.renderedWidth&&(n.width=this.popup.renderedWidth,n.maxWidth=this.popup.renderedWidth),aL.createElement("div",{className:this.popup.cssRoot,style:n,onScroll:function(){return e.popup.onScroll()}},aL.createElement("div",{className:this.popup.cssRootContent},t,o))},PopupSurvey.prototype.renderWindowHeader=function(){var e,t=this.popup,o=(t.cssHeaderRoot,null),n=null,r=null;return t.isCollapsed?(t.cssRootCollapsedMod,o=this.renderTitleCollapsed(t),e=this.renderExpandIcon()):e=this.renderCollapseIcon(),t.allowClose&&(n=this.renderCloseButton(this.popup)),t.allowFullScreen&&(r=this.renderAllowFullScreenButon(this.popup)),aL.createElement("div",{className:t.cssHeaderRoot},o,aL.createElement("div",{className:t.cssHeaderButtonsContainer},r,aL.createElement("div",{className:t.cssHeaderCollapseButton,onClick:this.handleOnExpanded},e),n))},PopupSurvey.prototype.renderTitleCollapsed=function(e){return e.locTitle?aL.createElement("div",{className:e.cssHeaderTitleCollapsed},e.locTitle.renderedHtml):null},PopupSurvey.prototype.renderExpandIcon=function(){return aL.createElement(a1,{iconName:"icon-restore_16x16",size:16})},PopupSurvey.prototype.renderCollapseIcon=function(){return aL.createElement(a1,{iconName:"icon-minimize_16x16",size:16})},PopupSurvey.prototype.renderCloseButton=function(e){var t=this;return aL.createElement("div",{className:e.cssHeaderCloseButton,onClick:function(){e.hide(),"function"==typeof t.props.onClose&&t.props.onClose()}},aL.createElement(a1,{iconName:"icon-close_16x16",size:16}))},PopupSurvey.prototype.renderAllowFullScreenButon=function(e){var t;return t=e.isFullScreen?aL.createElement(a1,{iconName:"icon-back-to-panel_16x16",size:16}):aL.createElement(a1,{iconName:"icon-full-screen_16x16",size:16}),aL.createElement("div",{className:e.cssHeaderFullScreenButton,onClick:function(){e.toggleFullScreen()}},t)},PopupSurvey.prototype.renderBody=function(){return aL.createElement("div",{className:this.popup.cssBody},this.doRender())},PopupSurvey.prototype.createSurvey=function(t){t||(t={}),e.prototype.createSurvey.call(this,t),this.popup=new s7(null,this.survey),t.closeOnCompleteTimeout&&(this.popup.closeOnCompleteTimeout=t.closeOnCompleteTimeout),this.popup.allowClose=t.allowClose,this.popup.allowFullScreen=t.allowFullScreen,this.popup.isShowing=!0,!this.popup.isExpanded&&(t.expanded||t.isExpanded)&&this.popup.expand()},PopupSurvey}(lG),cN=function(e){function SurveyWindow(){return null!==e&&e.apply(this,arguments)||this}return cB(SurveyWindow,e),SurveyWindow}(cq),cF=(tF=function(e,t){return(tF=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tF(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cz=function(e){function SurveyQuestionImagePicker(t){return e.call(this,t)||this}return cF(SurveyQuestionImagePicker,e),Object.defineProperty(SurveyQuestionImagePicker.prototype,"question",{get:function(){return this.questionBase}
8,enumerable:!1,configurable:!0}),SurveyQuestionImagePicker.prototype.renderElement=function(){var e=this.question.cssClasses;return aL.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),style:this.question.getContainerStyle()},aL.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.question.hasColumns?this.getColumns(e):this.getItems(e))},SurveyQuestionImagePicker.prototype.getColumns=function(e){var t=this;return this.question.columns.map(function(o,n){var r=o.map(function(o,n){return t.renderItem("item"+n,o,e)});return aL.createElement("div",{key:"column"+n+t.question.getItemsColumnKey(o),className:t.question.getColumnClass(),role:"presentation"},r)})},SurveyQuestionImagePicker.prototype.getItems=function(e){for(var t=[],o=0;o<this.question.visibleChoices.length;o++){var n=this.question.visibleChoices[o],r="item"+o;t.push(this.renderItem(r,n,e))}return t},Object.defineProperty(SurveyQuestionImagePicker.prototype,"textStyle",{get:function(){return{marginLeft:"3px",display:"inline",position:"static"}},enumerable:!1,configurable:!0}),SurveyQuestionImagePicker.prototype.renderItem=function(e,t,o){var n=aL.createElement(cH,{key:e,question:this.question,item:t,cssClasses:o}),r=this.question.survey,i=null;return r&&(i=aN.wrapItemValue(r,n,this.question,t)),null!=i?i:n},SurveyQuestionImagePicker}(aU),cH=function(e){function SurveyQuestionImagePickerItem(t){var o=e.call(this,t)||this;return o.handleOnChange=o.handleOnChange.bind(o),o}return cF(SurveyQuestionImagePickerItem,e),SurveyQuestionImagePickerItem.prototype.getStateElement=function(){return this.item},SurveyQuestionImagePickerItem.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.reactOnStrChanged()},SurveyQuestionImagePickerItem.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.item.locImageLink.onChanged=function(){}},SurveyQuestionImagePickerItem.prototype.componentDidUpdate=function(t,o){e.prototype.componentDidUpdate.call(this,t,o),this.reactOnStrChanged()},SurveyQuestionImagePickerItem.prototype.reactOnStrChanged=function(){var e=this;this.item.locImageLink.onChanged=function(){e.setState({locImageLinkchanged:e.state&&e.state.locImageLink?e.state.locImageLink+1:1})}},Object.defineProperty(SurveyQuestionImagePickerItem.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionImagePickerItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionImagePickerItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),SurveyQuestionImagePickerItem.prototype.handleOnChange=function(e){if(!this.question.isReadOnlyAttr){if(this.question.multiSelect){if(e.target.checked)this.question.value=this.question.value.concat(e.target.value);else{var t=this.question.value;t.splice(this.question.value.indexOf(e.target.value),1),this.question.value=t}}else this.question.value=e.target.value;this.setState({value:this.question.value})}},SurveyQuestionImagePickerItem.prototype.renderElement=function(){var e=this,t=this.item,o=this.question,n=this.cssClasses,r=o.isItemSelected(t),i=o.getItemClass(t),s=null;o.showLabel&&(s=aL.createElement("span",{className:o.cssClasses.itemText},t.text?az.renderLocString(t.locText):t.value));var a={objectFit:this.question.imageFit},l=null;if(t.locImageLink.renderedHtml&&"image"===this.question.contentMode&&(l=aL.createElement("img",{className:n.image,src:t.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,alt:t.locText.renderedHtml,style:a,onLoad:function(o){e.question.onContentLoaded(t,o.nativeEvent)},onError:function(e){t.onErrorHandler(t,e.nativeEvent)}})),t.locImageLink.renderedHtml&&"video"===this.question.contentMode&&(l=aL.createElement("video",{controls:!0,className:n.image,src:t.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,style:a,onLoadedMetadata:function(o){e.question.onContentLoaded(t,o.nativeEvent)},onError:function(e){t.onErrorHandler(t,e.nativeEvent)}})),!t.locImageLink.renderedHtml||t.contentNotLoaded){var u={width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,objectFit:this.question.imageFit};l=aL.createElement("div",{className:n.itemNoImage,style:u},n.itemNoImageSvgIcon?aL.createElement(a1,{className:n.itemNoImageSvgIcon,iconName:this.question.cssClasse
8s.itemNoImageSvgIconId,size:48}):null)}return aL.createElement("div",{className:i},aL.createElement("label",{className:n.label},aL.createElement("input",{className:n.itemControl,id:this.question.getItemId(t),type:this.question.inputType,name:this.question.questionName,checked:r,value:t.value,disabled:!this.question.getItemEnabled(t),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,"aria-required":this.question.ariaRequired,"aria-label":t.locText.renderedHtml,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),aL.createElement("div",{className:this.question.cssClasses.itemDecorator},aL.createElement("div",{className:this.question.cssClasses.imageContainer},this.question.cssClasses.checkedItemDecorator?aL.createElement("span",{className:this.question.cssClasses.checkedItemDecorator,"aria-hidden":"true"},this.question.cssClasses.checkedItemSvgIconId?aL.createElement(a1,{size:"auto",className:this.question.cssClasses.checkedItemSvgIcon,iconName:this.question.cssClasses.checkedItemSvgIconId}):null):null,l),s)))},SurveyQuestionImagePickerItem}(aH);lc.Instance.registerQuestion("imagepicker",function(e){return aL.createElement(cz,e)});var cU=(tz=function(e,t){return(tz=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tz(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cW=function(e){function SurveyQuestionImage(t){return e.call(this,t)||this}return cU(SurveyQuestionImage,e),SurveyQuestionImage.prototype.componentDidMount=function(){var t=this;e.prototype.componentDidMount.call(this),this.question.locImageLink.onChanged=function(){t.forceUpdate()}},SurveyQuestionImage.prototype.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.question.locImageLink.onChanged=function(){}},Object.defineProperty(SurveyQuestionImage.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionImage.prototype.renderElement=function(){var e=this,t=this.question.getImageCss(),o={objectFit:this.question.imageFit,width:this.question.renderedStyleWidth,height:this.question.renderedStyleHeight};(!this.question.imageLink||this.question.contentNotLoaded)&&(o.display="none");var n=null;"image"===this.question.renderedMode&&(n=aL.createElement("img",{className:t,src:this.question.locImageLink.renderedHtml||null,alt:this.question.altText||this.question.title,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,onLoad:function(t){e.question.onLoadHandler()},onError:function(t){e.question.onErrorHandler()}})),"video"===this.question.renderedMode&&(n=aL.createElement("video",{controls:!0,className:t,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o,onLoadedMetadata:function(t){e.question.onLoadHandler()},onError:function(t){e.question.onErrorHandler()}})),"youtube"===this.question.renderedMode&&(n=aL.createElement("iframe",{className:t,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:o}));var r=null;return(!this.question.imageLink||this.question.contentNotLoaded)&&(r=aL.createElement("div",{className:this.question.cssClasses.noImage},aL.createElement(a1,{iconName:this.question.cssClasses.noImageSvgIconId,size:48}))),aL.createElement("div",{className:this.question.cssClasses.root},n,r)},SurveyQuestionImage}(aU);lc.Instance.registerQuestion("image",function(e){return aL.createElement(cW,e)});var c$=(tH=function(e,t){return(tH=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tH(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cJ=function(e){function SurveyQuestionSignaturePad(t){var o=e.call(this,t)||this;return o.state={value:o.question.value},o}return c$(SurveyQuestionSignaturePad,e),Object.defineProperty(SurveyQuestionSignaturePad.prototype,"question",{get:function(){return this.questionBase}
8,enumerable:!1,configurable:!0}),SurveyQuestionSignaturePad.prototype.renderElement=function(){var e=this,t=this.question.cssClasses,o=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,n=this.renderCleanButton();return aL.createElement("div",{className:t.root,ref:function(t){return e.setControl(t)},style:{width:this.question.renderedCanvasWidth}},aL.createElement("div",{className:t.placeholder,style:{display:this.question.needShowPlaceholder()?"":"none"}},this.renderLocString(this.question.locRenderedPlaceholder)),aL.createElement("div",null,this.renderBackgroundImage(),aL.createElement("canvas",{tabIndex:-1,className:this.question.cssClasses.canvas,onBlur:function(t){e.question.onBlur(t)}})),n,o)},SurveyQuestionSignaturePad.prototype.renderBackgroundImage=function(){return this.question.backgroundImage?aL.createElement("img",{className:this.question.cssClasses.backgroundImage,src:this.question.backgroundImage,style:{width:this.question.renderedCanvasWidth}}):null},SurveyQuestionSignaturePad.prototype.renderLoadingIndicator=function(){return aL.createElement("div",{className:this.question.cssClasses.loadingIndicator},aL.createElement(uk,null))},SurveyQuestionSignaturePad.prototype.renderCleanButton=function(){var e=this;if(!this.question.canShowClearButton)return null;var t=this.question.cssClasses;return aL.createElement("div",{className:t.controls},aL.createElement("button",{type:"button",className:t.clearButton,title:this.question.clearButtonCaption,onClick:function(){return e.question.clearValue(!0)}},this.question.cssClasses.clearButtonIconId?aL.createElement(a1,{iconName:this.question.cssClasses.clearButtonIconId,size:"auto"}):aL.createElement("span",null,"â")))},SurveyQuestionSignaturePad}(aU);lc.Instance.registerQuestion("signaturepad",function(e){return aL.createElement(cJ,e)});var cG=(tU=function(e,t){return(tU=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tU(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cK=function(e){function SurveyQuestionButtonGroup(t){return e.call(this,t)||this}return cG(SurveyQuestionButtonGroup,e),Object.defineProperty(SurveyQuestionButtonGroup.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),SurveyQuestionButtonGroup.prototype.getStateElement=function(){return this.question},SurveyQuestionButtonGroup.prototype.renderElement=function(){var e=this.renderItems();return aB.a.createElement("div",{className:this.question.cssClasses.root},e)},SurveyQuestionButtonGroup.prototype.renderItems=function(){var e=this;return this.question.visibleChoices.map(function(t,o){return aB.a.createElement(cZ,{key:e.question.inputId+"_"+o,item:t,question:e.question,index:o})})},SurveyQuestionButtonGroup}(aU),cZ=function(e){function SurveyButtonGroupItem(t){return e.call(this,t)||this}return cG(SurveyButtonGroupItem,e),Object.defineProperty(SurveyButtonGroupItem.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyButtonGroupItem.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyButtonGroupItem.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyButtonGroupItem.prototype.getStateElement=function(){return this.item},SurveyButtonGroupItem.prototype.renderElement=function(){this.model=new at(this.question,this.item,this.index);var e=this.renderIcon(),t=this.renderInput(),o=this.renderCaption();return aB.a.createElement("label",{role:"radio",className:this.model.css.label,title:this.model.caption.renderedHtml},t,aB.a.createElement("div",{className:this.model.css.decorator},e,o))},SurveyButtonGroupItem.prototype.renderIcon=function(){return this.model.iconName?aB.a.createElement(a1,{className:this.model.css.icon,iconName:this.model.iconName,size:this.model.iconSize||24}):null},SurveyButtonGroupItem.prototype.renderInput=function(){var e=this;return aB.a.createElement("input",{className:this.model.css.control,id:this.model.id,type:"radio",name:this.model.name,checked:this.model.selected,value:this.model.value,disabled:this.model.readOnly,onChange:function(){e.model.onChange()},"aria-required":this.model.isRequired,"aria-label":this.model.caption.renderedHtml,"aria-invalid":this.model.hasErrors,"aria-errormessage":this.model.describedBy,role:"radio"})},SurveyButtonGroupItem.prototype.renderCaption=function(){if(!this.model.showCaption)return null;var e=this.renderLocString(this.model.caption);return aB.a.createElement("span",{className:this.model.css.caption,title:this.model.caption.renderedHtml},e)},SurveyButtonGroupItem}(az),cY=(tW=function(e,t){return(tW=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tW(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),cX=function(e){function SurveyQuestionCustom(t){return e.call(this,t)||this}return cY(SurveyQuestionCustom,e),SurveyQuestionCustom.prototype.getStateElements=function(){var t=e.prototype.getStateElements.call(this);return this.question.contentQuestion&&t.push(this.question.contentQuestion),t},SurveyQuestionCustom.prototype.renderElement=function(){return l_.renderQuestionBody(this.creator,this.question.contentQuestion)},SurveyQuestionCustom}(aW),c1=function(e){function SurveyQuestionComposite(t){return e.call(this,t)||this}return cY(SurveyQuestionComposite,e),SurveyQuestionComposite.prototype.canRender=function(){return!!this.question.contentPanel},SurveyQuestionComposite.prototype.renderElement=function(){return aL.createElement(l0,{element:this.question.contentPanel,creator:this.creator,survey:this.question.survey})},SurveyQuestionComposite}(aW);lc.Instance.registerQuestion("custom",function(e){return aL.createElement(cX,e)}),lc.Instance.registerQuestion("composite",function(e){return aL.createElement(c1,e)});var c0=(t$=function(e,t){return(t$=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t$(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c2=function(e){function ListItemContent(){return null!==e&&e.apply(this,arguments)||this}return c0(ListItemContent,e),Object.defineProperty(ListItemContent.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(ListItemContent.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),ListItemContent.prototype.getStateElement=function(){return this.item},ListItemContent.prototype.render=function(){if(!this.item)return null;var e=this.renderLocString(this.item.locTitle,void 0,"locString"),t=this.item.iconName?aB.a.createElement(a1,{className:this.model.cssClasses.itemIcon,iconName:this.item.iconName,size:this.item.iconSize,"aria-label":this.item.title}):null,o=this.item.markerIconName?aB.a.createElement(a1,{className:this.item.cssClasses.itemMarkerIcon,iconName:this.item.markerIconName,size:"auto"}):null;return aB.a.createElement(aB.a.Fragment,null,t,e,o)},ListItemContent}(az);aq.Instance.registerElement("sv-list-item-content",function(e){return aB.a.createElement(c2,e)});var c5=(tJ=function(e,t){return(tJ=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tJ(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c7=function(e){function ListItemGroup(){return null!==e&&e.apply(this,arguments)||this}return c5(ListItemGroup,e),Object.defineProperty(ListItemGroup.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(ListItemGroup.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),ListItemGroup.prototype.getStateElement=function(){return this.item},ListItemGroup.prototype.render=function(){if(!this.item)return null;var e,t=aq.Instance.createElement("sv-list-item-content",{item:this.item,key:"content"+this.item.id,model:this.model});return aB.a.createElement(aB.a.Fragment,null,t,aB.a.createElement(a9,{model:null===(e=this.item)||void 0===e?void 0:e.popupModel}))},ListItemGroup}(az);aq.Instance.registerElement("sv-list-item-group",function(e){return aB.a.createElement(c7,e)});var c4=(tG=function(e,t){return(tG=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tG(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c3=function(e){function LogoImage(t){return e.call(this,t)||this}return c4(LogoImage,e),Object.defineProperty(LogoImage.prototype,"survey",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),LogoImage.prototype.render=function(){var e=[];return e.push(aB.a.createElement("div",{key:"logo-image",className:this.survey.logoClassNames},aB.a.createElement("img",{className:this.survey.css.logoImage,src:this.survey.locLogo.renderedHtml||null,alt:this.survey.locTitle.renderedHtml,width:this.survey.renderedLogoWidth,height:this.survey.renderedLogoHeight,style:{objectFit:this.survey.logoFit,width:this.survey.renderedStyleLogoWidth,height:this.survey.renderedStyleLogoHeight}}))),aB.a.createElement(aB.a.Fragment,null,e)},LogoImage}(aB.a.Component);aq.Instance.registerElement("sv-logo-image",function(e){return aB.a.createElement(c3,e)});var c9=(tK=function(e,t){return(tK=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tK(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c6=function(e){function SurveyQuestionMatrixDynamicRemoveButton(t){var o=e.call(this,t)||this;return o.handleOnRowRemoveClick=o.handleOnRowRemoveClick.bind(o),o}return c9(SurveyQuestionMatrixDynamicRemoveButton,e),Object.defineProperty(SurveyQuestionMatrixDynamicRemoveButton.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixDynamicRemoveButton.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDynamicRemoveButton.prototype.handleOnRowRemoveClick=function(e){this.question.removeRowUI(this.row)},SurveyQuestionMatrixDynamicRemoveButton.prototype.renderElement=function(){var e=this.renderLocString(this.question.locRemoveRowText);return aB.a.createElement("button",{className:this.question.getRemoveRowButtonCss(),type:"button",onClick:this.handleOnRowRemoveClick,disabled:this.question.isInputReadOnly},e,aB.a.createElement("span",{className:this.question.cssClasses.iconRemove}))},SurveyQuestionMatrixDynamicRemoveButton}(aH);aq.Instance.registerElement("sv-matrix-remove-button",function(e){return aB.a.createElement(c6,e)});var c8=(tZ=function(e,t){return(tZ=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tZ(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),pe=function(e){function SurveyQuestionMatrixDetailButton(t){var o=e.call(this,t)||this;return o.handleOnShowHideClick=o.handleOnShowHideClick.bind(o),o}return c8(SurveyQuestionMatrixDetailButton,e),SurveyQuestionMatrixDetailButton.prototype.getStateElement=function(){return this.props.item},Object.defineProperty(SurveyQuestionMatrixDetailButton.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixDetailButton.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyQuestionMatrixDetailButton.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),SurveyQuestionMatrixDetailButton.prototype.handleOnShowHideClick=function(e){this.row.showHideDetailPanelClick()},SurveyQuestionMatrixDetailButton.prototype.renderElement=function(){var e=this.row.isDetailPanelShowing,t=e?this.row.detailPanelId:void 0;return aB.a.createElement("button",{type:"button",onClick:this.handleOnShowHideClick,className:this.question.getDetailPanelButtonCss(this.row),"aria-expanded":e,"aria-controls":t},aB.a.createElement(a1,{className:this.question.getDetailPanelIconCss(this.row),iconName:this.question.getDetailPanelIconId(this.row),size:"auto"}))},SurveyQuestionMatrixDetailButton}(aH);aq.Instance.registerElement("sv-matrix-detail-button",function(e){return aB.a.createElement(pe,e)});var pt=(tY=function(e,t){return(tY=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tY(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),po=function(e){function SurveyQuestionPanelDynamicRemoveButton(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){t.question.removePanelUI(t.data.panel)},t}return pt(SurveyQuestionPanelDynamicRemoveButton,e),SurveyQuestionPanelDynamicRemoveButton.prototype.renderElement=function(){var e=this.renderLocString(this.question.locPanelRemoveText),t=this.question.getPanelRemoveButtonId(this.data.panel);return aB.a.createElement("button",{id:t,className:this.question.getPanelRemoveButtonCss(),onClick:this.handleClick,type:"button"},aB.a.createElement("span",{className:this.question.cssClasses.buttonRemoveText},e),aB.a.createElement("span",{className:this.question.cssClasses.iconRemove}))},SurveyQuestionPanelDynamicRemoveButton}(cd);aq.Instance.registerElement("sv-paneldynamic-remove-btn",function(e){return aB.a.createElement(po,e)});var pn=(tX=function(e,t){return(tX=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}tX(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),pr=function(e){function SurveyNavigationButton(){return null!==e&&e.apply(this,arguments)||this}return pn(SurveyNavigationButton,e),Object.defineProperty(SurveyNavigationButton.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),SurveyNavigationButton.prototype.canRender=function(){return this.item.isVisible},SurveyNavigationButton.prototype.renderElement=function(){return aB.a.createElement("input",{className:this.item.innerCss,type:"button",disabled:this.item.disabled,onMouseDown:this.item.data&&this.item.data.mouseDown,onClick:this.item.action,title:this.item.getTooltip(),value:this.item.title})},SurveyNavigationButton}(aH);aq.Instance.registerElement("sv-nav-btn",function(e){return aB.a.createElement(pr,e)});var pi=(t1=function(e,t){return(t1=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t1(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ps=function(e){function SurveyLocStringViewer(t){var o=e.call(this,t)||this;return o.onChangedHandler=function(e,t){o.isRendering||o.setState({changed:o.state&&o.state.changed?o.state.changed+1:1})},o.rootRef=aB.a.createRef(),o}return pi(SurveyLocStringViewer,e),Object.defineProperty(SurveyLocStringViewer.prototype,"locStr",{get:function(){return this.props.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyLocStringViewer.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),SurveyLocStringViewer.prototype.componentDidMount=function(){this.reactOnStrChanged()},SurveyLocStringViewer.prototype.componentWillUnmount=function(){this.locStr&&this.locStr.onStringChanged.remove(this.onChangedHandler)},SurveyLocStringViewer.prototype.componentDidUpdate=function(e,t){e.locStr&&e.locStr.onStringChanged.remove(this.onChangedHandler),this.reactOnStrChanged()},SurveyLocStringViewer.prototype.reactOnStrChanged=function(){this.locStr&&this.locStr.onStringChanged.add(this.onChangedHandler)},SurveyLocStringViewer.prototype.render=function(){if(!this.locStr)return null;this.isRendering=!0;var e=this.renderString();return this.isRendering=!1,e},SurveyLocStringViewer.prototype.renderString=function(){var e=this.locStr.allowLineBreaks?"sv-string-viewer sv-string-viewer--multiline":"sv-string-viewer";if(this.locStr.hasHtml){var t={__html:this.locStr.renderedHtml};return aB.a.createElement("span",{ref:this.rootRef,className:e,style:this.style,dangerouslySetInnerHTML:t})}return aB.a.createElement("span",{ref:this.rootRef,className:e,style:this.style},this.locStr.renderedHtml)},SurveyLocStringViewer}(aB.a.Component);aq.Instance.registerElement(nf.defaultRenderer,function(e){return aB.a.createElement(ps,e)});
8var pa=(t0=function(e,t){return(t0=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t0(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),pl=function(e){function QuestionErrorComponent(){return null!==e&&e.apply(this,arguments)||this}return pa(QuestionErrorComponent,e),QuestionErrorComponent.prototype.render=function(){return aB.a.createElement("div",null,aB.a.createElement("span",{className:this.props.cssClasses.error.icon||void 0,"aria-hidden":"true"}),aB.a.createElement("span",{className:this.props.cssClasses.error.item||void 0},aB.a.createElement(ps,{locStr:this.props.error.locText})))},QuestionErrorComponent}(aB.a.Component);aq.Instance.registerElement("sv-question-error",function(e){return aB.a.createElement(pl,e)});var pu=(t2=function(e,t){return(t2=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t2(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),pc=function(e){function Skeleton(){return null!==e&&e.apply(this,arguments)||this}return pu(Skeleton,e),Skeleton.prototype.render=function(){var e,t;return aB.a.createElement("div",{className:"sv-skeleton-element",id:null===(e=this.props.element)||void 0===e?void 0:e.id,style:{height:null===(t=this.props.element)||void 0===t?void 0:t.skeletonHeight}})},Skeleton}(aB.a.Component);aq.Instance.registerElement("sv-skeleton",function(e){return aB.a.createElement(pc,e)});var pp=(t5=function(e,t){return(t5=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t5(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),pd=function(e){function HeaderMobile(){return null!==e&&e.apply(this,arguments)||this}return pp(HeaderMobile,e),Object.defineProperty(HeaderMobile.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),HeaderMobile.prototype.renderLogoImage=function(){var e=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),t=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return aq.Instance.createElement(e,{data:t})},HeaderMobile.prototype.render=function(){return aB.a.createElement("div",{className:"sv-header--mobile"},this.model.survey.hasLogo?aB.a.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.survey.hasTitle?aB.a.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},aB.a.createElement(lu,{element:this.model.survey})):null,this.model.survey.renderedHasDescription?aB.a.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},aB.a.createElement("div",{className:this.model.survey.css.description},az.renderLocString(this.model.survey.locDescription))):null)},HeaderMobile}(aB.a.Component),ph=function(e){function HeaderCell(){return null!==e&&e.apply(this,arguments)||this}return pp(HeaderCell,e),Object.defineProperty(HeaderCell.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),HeaderCell.prototype.renderLogoImage=function(){var e=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),t=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return aq.Instance.createElement(e,{data:t})},HeaderCell.prototype.render=function(){return aB.a.createElement("div",{className:this.model.css,style:this.model.style},aB.a.createElement("div",{className:"sv-header__cell-content",style:this.model.contentStyle},this.model.showLogo?aB.a.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.showTitle?aB.a.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},aB.a.createElement(lu,{element:this.model.survey})):null,this.model.showDescription?aB.a.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},aB.a.createElement("div",{className:this.model.survey.css.description},az.renderLocString(this.model.survey.locDescription))):null))},HeaderCell}(aB.a.Component),pm=function(e){function Header(){return null!==e&&e.apply(this,arguments)||this}return pp(Header,e),Object.defineProperty(Header.prototype,"model",{get:function(){return this.props.model}
8,enumerable:!1,configurable:!0}),Header.prototype.getStateElement=function(){return this.model},Header.prototype.renderElement=function(){if(this.model.survey=this.props.survey,"advanced"!==this.props.survey.headerView)return null;var e=null;return e=this.props.survey.isMobile?aB.a.createElement(pd,{model:this.model}):aB.a.createElement("div",{className:this.model.contentClasses,style:{maxWidth:this.model.maxWidth}},this.model.cells.map(function(e,t){return aB.a.createElement(ph,{key:t,model:e})})),aB.a.createElement("div",{className:this.model.headerClasses,style:{height:this.model.renderedHeight}},this.model.backgroundImage?aB.a.createElement("div",{style:this.model.backgroundImageStyle,className:this.model.backgroundImageClasses}):null,e)},Header}(az);aq.Instance.registerElement("sv-header",function(e){return aB.a.createElement(pm,e)});var pg=(t7=function(e,t){return(t7=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}t7(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),pf=function(e){function SurveyLocStringEditor(t){var o=e.call(this,t)||this;return o.onInput=function(e){o.locStr.text=e.target.innerText},o.onClick=function(e){e.preventDefault(),e.stopPropagation()},o.state={changed:0},o}return pg(SurveyLocStringEditor,e),Object.defineProperty(SurveyLocStringEditor.prototype,"locStr",{get:function(){return this.props.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(SurveyLocStringEditor.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),SurveyLocStringEditor.prototype.componentDidMount=function(){if(this.locStr){var e=this;this.locStr.onChanged=function(){e.setState({changed:e.state.changed+1})}}},SurveyLocStringEditor.prototype.componentWillUnmount=function(){this.locStr&&(this.locStr.onChanged=function(){})},SurveyLocStringEditor.prototype.render=function(){if(!this.locStr)return null;if(this.locStr.hasHtml){var e={__html:this.locStr.renderedHtml};return aB.a.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,dangerouslySetInnerHTML:e,onBlur:this.onInput,onClick:this.onClick})}return aB.a.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,onBlur:this.onInput,onClick:this.onClick},this.locStr.renderedHtml)},SurveyLocStringEditor}(aB.a.Component);aq.Instance.registerElement(nf.editableRenderer,function(e){return aB.a.createElement(pf,e)})}
8,react:function(e,t){e.exports=n},"react-dom":function(e,t){e.exports=r}}))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.